From 26a349590e11910690bb8682d33bd547a9a24a8e Mon Sep 17 00:00:00 2001 From: HeuJung Date: Thu, 9 Jul 2026 11:42:39 +0900 Subject: [PATCH 01/18] =?UTF-8?q?feat(plugins):=20=ED=86=A0=EC=8A=A4?= =?UTF-8?q?=ED=8E=98=EC=9D=B4=EB=A8=BC=EC=B8=A0=20=EB=B2=88=EB=93=A4=20?= =?UTF-8?q?=ED=94=8C=EB=9F=AC=EA=B7=B8=EC=9D=B8=20=EB=B3=B5=EC=9B=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 7.0.0 정식 출시 커밋에서 PG 3종이 함께 제거되었으나, 그중 토스페이먼츠만 번들로 되돌린다. 삭제 직전 트리를 기준으로 플러그인 40개 파일과 일본어 언어팩 6개 파일을 복원하고, 삭제에 연동되어 변경되었던 README 목록·언어팩 빌드 스크립트 엔트리·이커머스 편집기 샘플의 PG provider 를 함께 되살렸다. 복원된 코드는 삭제 시점에 멈춰 있어 현행 코드베이스와 어긋나는 지점이 있어 함께 정합화했다. - PluginTestCase 가 활성 디렉토리 경로를 참조해 _bundled 단독 실행 시 라우트가 등록되지 않던 문제를 자기 기준 경로로 교체 - SettingsServiceProvider 의 site_url override 로 app.url 이 오염되어 assertRedirect 가 간헐 실패하던 문제를 APP_URL 명시 리셋으로 차단 - 환경설정 레이아웃의 시맨틱 클래스가 한 칸씩 밀려 순환 배치되어 2열 폼이 무너지고 섹션 제목이 에러 색으로 표시되던 결함을 정정 (회귀 테스트 신설) - 편집기 저장 시 silent drop 되던 미표준 root 키 제거, Icon 을 size prop 으로 전환 --- README.md | 2 + .../CHANGELOG.md | 17 + .../backend/ja/messages.php | 8 + .../backend/ja/provider.php | 6 + .../frontend/ja.json | 40 + .../language-pack.json | 30 + .../seed/manifest.json | 4 + .../sirsoft-ecommerce/editor-spec.json | 9 + .../sirsoft-tosspayments/CHANGELOG.md | 98 + plugins/_bundled/sirsoft-tosspayments/LICENSE | 47 + .../sirsoft-tosspayments/composer.json | 20 + .../sirsoft-tosspayments/composer.lock | 20 + .../config/settings/defaults.json | 24 + .../dist/js/plugin.iife.js | 2 + .../dist/js/plugin.iife.js.map | 1 + .../sirsoft-tosspayments/lang/en/messages.php | 11 + .../sirsoft-tosspayments/lang/en/provider.php | 12 + .../sirsoft-tosspayments/lang/ko/messages.php | 11 + .../sirsoft-tosspayments/lang/ko/provider.php | 12 + .../sirsoft-tosspayments/package-lock.json | 2014 +++++++++++++++++ .../sirsoft-tosspayments/package.json | 19 + .../_bundled/sirsoft-tosspayments/plugin.json | 34 + .../_bundled/sirsoft-tosspayments/plugin.php | 159 ++ .../extensions/checkout-payment-error.json | 141 ++ .../__tests__/handlers/requestPayment.test.ts | 190 ++ .../pluginSettingsSemanticClasses.test.tsx | 122 + .../layouts/pluginSettingsSticky.test.tsx | 56 + .../resources/js/handlers/index.ts | 11 + .../resources/js/handlers/requestPayment.ts | 178 ++ .../resources/js/index.ts | 108 + .../resources/lang/en.json | 40 + .../resources/lang/ko.json | 40 + .../layouts/admin/plugin_settings.json | 730 ++++++ .../Controllers/PaymentCallbackController.php | 237 ++ .../src/Http/Requests/FailCallbackRequest.php | 51 + .../Http/Requests/SuccessCallbackRequest.php | 62 + .../src/Listeners/PaymentRefundListener.php | 129 ++ .../Listeners/RegisterPgProviderListener.php | 104 + .../src/Services/TossPaymentsApiService.php | 119 + .../sirsoft-tosspayments/src/routes/web.php | 22 + .../PaymentCallbackControllerTest.php | 469 ++++ .../tests/PluginTestCase.php | 286 +++ .../Listeners/PaymentRefundListenerTest.php | 103 + .../RegisterPgProviderListenerTest.php | 112 + .../Services/TossPaymentsApiServiceTest.php | 98 + .../scenarios/example_pg_payment.yaml.example | 70 + .../sirsoft-tosspayments/tsconfig.json | 18 + .../sirsoft-tosspayments/vite.config.ts | 27 + .../sirsoft-tosspayments/vitest.config.ts | 17 + 49 files changed, 6140 insertions(+) create mode 100644 lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/CHANGELOG.md create mode 100644 lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/backend/ja/messages.php create mode 100644 lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/backend/ja/provider.php create mode 100644 lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/frontend/ja.json create mode 100644 lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/language-pack.json create mode 100644 lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/seed/manifest.json create mode 100644 plugins/_bundled/sirsoft-tosspayments/CHANGELOG.md create mode 100644 plugins/_bundled/sirsoft-tosspayments/LICENSE create mode 100644 plugins/_bundled/sirsoft-tosspayments/composer.json create mode 100644 plugins/_bundled/sirsoft-tosspayments/composer.lock create mode 100644 plugins/_bundled/sirsoft-tosspayments/config/settings/defaults.json create mode 100644 plugins/_bundled/sirsoft-tosspayments/dist/js/plugin.iife.js create mode 100644 plugins/_bundled/sirsoft-tosspayments/dist/js/plugin.iife.js.map create mode 100644 plugins/_bundled/sirsoft-tosspayments/lang/en/messages.php create mode 100644 plugins/_bundled/sirsoft-tosspayments/lang/en/provider.php create mode 100644 plugins/_bundled/sirsoft-tosspayments/lang/ko/messages.php create mode 100644 plugins/_bundled/sirsoft-tosspayments/lang/ko/provider.php create mode 100644 plugins/_bundled/sirsoft-tosspayments/package-lock.json create mode 100644 plugins/_bundled/sirsoft-tosspayments/package.json create mode 100644 plugins/_bundled/sirsoft-tosspayments/plugin.json create mode 100644 plugins/_bundled/sirsoft-tosspayments/plugin.php create mode 100644 plugins/_bundled/sirsoft-tosspayments/resources/extensions/checkout-payment-error.json create mode 100644 plugins/_bundled/sirsoft-tosspayments/resources/js/__tests__/handlers/requestPayment.test.ts create mode 100644 plugins/_bundled/sirsoft-tosspayments/resources/js/__tests__/layouts/pluginSettingsSemanticClasses.test.tsx create mode 100644 plugins/_bundled/sirsoft-tosspayments/resources/js/__tests__/layouts/pluginSettingsSticky.test.tsx create mode 100644 plugins/_bundled/sirsoft-tosspayments/resources/js/handlers/index.ts create mode 100644 plugins/_bundled/sirsoft-tosspayments/resources/js/handlers/requestPayment.ts create mode 100644 plugins/_bundled/sirsoft-tosspayments/resources/js/index.ts create mode 100644 plugins/_bundled/sirsoft-tosspayments/resources/lang/en.json create mode 100644 plugins/_bundled/sirsoft-tosspayments/resources/lang/ko.json create mode 100644 plugins/_bundled/sirsoft-tosspayments/resources/layouts/admin/plugin_settings.json create mode 100644 plugins/_bundled/sirsoft-tosspayments/src/Controllers/PaymentCallbackController.php create mode 100644 plugins/_bundled/sirsoft-tosspayments/src/Http/Requests/FailCallbackRequest.php create mode 100644 plugins/_bundled/sirsoft-tosspayments/src/Http/Requests/SuccessCallbackRequest.php create mode 100644 plugins/_bundled/sirsoft-tosspayments/src/Listeners/PaymentRefundListener.php create mode 100644 plugins/_bundled/sirsoft-tosspayments/src/Listeners/RegisterPgProviderListener.php create mode 100644 plugins/_bundled/sirsoft-tosspayments/src/Services/TossPaymentsApiService.php create mode 100644 plugins/_bundled/sirsoft-tosspayments/src/routes/web.php create mode 100644 plugins/_bundled/sirsoft-tosspayments/tests/Feature/Controllers/PaymentCallbackControllerTest.php create mode 100644 plugins/_bundled/sirsoft-tosspayments/tests/PluginTestCase.php create mode 100644 plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/PaymentRefundListenerTest.php create mode 100644 plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/RegisterPgProviderListenerTest.php create mode 100644 plugins/_bundled/sirsoft-tosspayments/tests/Unit/Services/TossPaymentsApiServiceTest.php create mode 100644 plugins/_bundled/sirsoft-tosspayments/tests/scenarios/example_pg_payment.yaml.example create mode 100644 plugins/_bundled/sirsoft-tosspayments/tsconfig.json create mode 100644 plugins/_bundled/sirsoft-tosspayments/vite.config.ts create mode 100644 plugins/_bundled/sirsoft-tosspayments/vitest.config.ts diff --git a/README.md b/README.md index 63ae0606..d8b4dc2a 100644 --- a/README.md +++ b/README.md @@ -390,6 +390,7 @@ cp .env.example .env | **sirsoft-pay_kginicis** | KG이니시스 결제 연동 | | **sirsoft-pay_nicepayments** | 나이스페이먼츠 결제 연동 (통합결제창) | | **sirsoft-pay_nhnkcp** | NHN KCP 결제 연동 (Standard Pay) | +| **sirsoft-tosspayments** | 토스페이먼츠 결제 연동 | | **sirsoft-verification_kginicis** | KG이니시스 본인인증 | | **sirsoft-daum_postcode** | 다음 우편번호 검색 | | **sirsoft-marketing** | 마케팅 도구 | @@ -420,6 +421,7 @@ cp .env.example .env | **g7-plugin-sirsoft-pay_kginicis-ja** | KG이니시스 결제 플러그인 일본어 | | **g7-plugin-sirsoft-pay_nicepayments-ja** | 나이스페이먼츠 결제 플러그인 일본어 | | **g7-plugin-sirsoft-pay_nhnkcp-ja** | NHN KCP 결제 플러그인 일본어 | +| **g7-plugin-sirsoft-tosspayments-ja** | 토스페이먼츠 플러그인 일본어 | | **g7-plugin-sirsoft-verification_kginicis-ja** | KG이니시스 본인인증 플러그인 일본어 | | **g7-template-sirsoft-admin_basic-ja** | 관리자 기본 템플릿 일본어 | | **g7-template-sirsoft-basic-ja** | 사용자 기본 템플릿 일본어 | diff --git a/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/CHANGELOG.md b/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/CHANGELOG.md new file mode 100644 index 00000000..6f8d1a7d --- /dev/null +++ b/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/CHANGELOG.md @@ -0,0 +1,17 @@ +# Changelog + +이 언어팩의 모든 주요 변경사항을 기록합니다. +형식은 [Keep a Changelog](https://keepachangelog.com/ko/1.1.0/)를 따르며, +[Semantic Versioning](https://semver.org/lang/ko/)을 준수합니다. + +## [1.0.0-beta.2] - 2026-06-11 + +### Added + +- 결제 화면 프론트엔드 텍스트 일본어 번역 추가 — 결제 관련 화면이 일본어 로케일에서 자연스럽게 표시됩니다. + +## [1.0.0-beta.1] - 2026-05-11 + +### Added + +- 토스페이먼츠 플러그인(sirsoft-tosspayments)의 일본어 번들 언어팩 초기 제공 diff --git a/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/backend/ja/messages.php b/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/backend/ja/messages.php new file mode 100644 index 00000000..31a17594 --- /dev/null +++ b/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/backend/ja/messages.php @@ -0,0 +1,8 @@ + [ + 'missing_payment_key' => 'Toss Payments の決済キーが存在しないため、返金処理ができません。', + 'default_reason' => '顧客リクエストによるキャンセル', + ], +]; diff --git a/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/backend/ja/provider.php b/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/backend/ja/provider.php new file mode 100644 index 00000000..a8b64c74 --- /dev/null +++ b/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/backend/ja/provider.php @@ -0,0 +1,6 @@ + 'Toss Payments', + 'description' => '国内PG会社 Toss Payments 決済連動', +]; diff --git a/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/frontend/ja.json b/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/frontend/ja.json new file mode 100644 index 00000000..a594a4c3 --- /dev/null +++ b/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/frontend/ja.json @@ -0,0 +1,40 @@ +{ + "editor": { + "data_source": { + "settings": "決済設定" + } + }, + "plugin_name": "Toss Payments", + "plugin_description": "Toss Payments決済ゲートウェイ (統合決済窓連携)", + "settings": { + "title": "Toss Payments設定", + "description": "Toss Payments API キーを設定します。", + "test_mode": "テストモード", + "test_mode_hint": "テストモードでは実際の決済が発生しません。", + "test_client_key": "テストクライアントキー", + "test_client_key_hint": "デベロッパーセンター > API 個別連携キーで確認", + "test_secret_key": "テストシークレットキー", + "test_secret_key_hint": "外部に露出しないようご注意ください。", + "live_client_key": "ライブクライアントキー", + "live_secret_key": "ライブシークレットキー", + "live_secret_key_hint": "外部に露出しないようご注意ください。", + "section_test_keys": "テストAPI キー", + "section_live_keys": "ライブAPI キー", + "section_redirect": "リダイレクト設定", + "redirect_success_url": "決済成功リダイレクトURL", + "redirect_success_url_hint": "相対パス(/shop/...) または完全URL(https://...) の両方が可能です。{orderId}は実際の注文番号に自動置換されます。", + "redirect_fail_url": "決済失敗リダイレクトURL", + "redirect_fail_url_hint": "相対パス または完全URL の両方が可能です。エラー情報(error, message, orderId)はクエリパラメーターとして自動追加されます。", + "save": "保存", + "saved": "設定が保存されました。" + }, + "payment_error_title": "決済エラー", + "payment_cancel_title": "決済キャンセル", + "payment_cancelled_message": "決済がキャンセルされました。もう一度決済をお試しいただくか、別の決済方法をお選びください。", + "errors": { + "confirm_failed": "決済承認に失敗しました。", + "amount_mismatch": "決済金額が一致しません。", + "order_not_found": "注文が見つかりません。", + "payment_failed": "決済に失敗しました。" + } +} diff --git a/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/language-pack.json b/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/language-pack.json new file mode 100644 index 00000000..e09efe20 --- /dev/null +++ b/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/language-pack.json @@ -0,0 +1,30 @@ +{ + "identifier": "g7-plugin-sirsoft-tosspayments-ja", + "namespace": "g7", + "vendor": "sirsoft", + "name": { + "ko": "G7 플러그인 (sirsoft-tosspayments) 일본어 언어팩", + "en": "G7 plugin (sirsoft-tosspayments) Japanese language pack", + "ja": "G7 プラグイン (sirsoft-tosspayments) 日本語 言語パック" + }, + "description": { + "ko": "G7 플러그인 (sirsoft-tosspayments) 일본어 언어팩 (번들)", + "en": "G7 plugin (sirsoft-tosspayments) Japanese language pack (bundled)", + "ja": "G7 プラグイン (sirsoft-tosspayments) 日本語 言語パック(バンドル)" + }, + "version": "1.0.0-beta.2", + "license": "MIT", + "scope": "plugin", + "target_identifier": "sirsoft-tosspayments", + "locale": "ja", + "locale_name": "Japanese", + "locale_native_name": "日本語", + "text_direction": "ltr", + "g7_version": ">=7.0.0-beta.4", + "requires": { + "target_version": null, + "depends_on_core_locale": true + }, + "github_url": "", + "github_changelog_url": "" +} diff --git a/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/seed/manifest.json b/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/seed/manifest.json new file mode 100644 index 00000000..b4656838 --- /dev/null +++ b/lang-packs/_bundled/g7-plugin-sirsoft-tosspayments-ja/seed/manifest.json @@ -0,0 +1,4 @@ +{ + "name": "Toss Payments", + "description": "Toss Payments 決済ゲートウェイ (統合決済窓口連携)" +} diff --git a/modules/_bundled/sirsoft-ecommerce/editor-spec.json b/modules/_bundled/sirsoft-ecommerce/editor-spec.json index 071bf224..cad3f219 100644 --- a/modules/_bundled/sirsoft-ecommerce/editor-spec.json +++ b/modules/_bundled/sirsoft-ecommerce/editor-spec.json @@ -3713,6 +3713,15 @@ "virtual_account", "mobile" ] + }, + { + "id": "tosspayments", + "name_key": "sirsoft-tosspayments::provider.name", + "name": "토스페이먼츠", + "icon": "credit-card", + "supported_methods": [ + "card" + ] } ], "abilities": { diff --git a/plugins/_bundled/sirsoft-tosspayments/CHANGELOG.md b/plugins/_bundled/sirsoft-tosspayments/CHANGELOG.md new file mode 100644 index 00000000..033fafa6 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/CHANGELOG.md @@ -0,0 +1,98 @@ +# Changelog + +이 프로젝트의 모든 주요 변경사항을 기록합니다. +형식은 [Keep a Changelog](https://keepachangelog.com/ko/1.1.0/)를 따르며, +[Semantic Versioning](https://semver.org/lang/ko/)을 준수합니다. + +## [1.0.0-beta.4] - 2026-05-28 + +### Added + +- 레이아웃 편집기 데이터 소스 목록에서 이 확장이 제공하는 데이터 소스가 친화 명칭으로 표시되고, 어느 확장이 제공했는지 출처가 함께 표시됩니다. + +### Changed + +- 플러그인 환경설정 화면의 하단 저장 버튼이 스크롤 중에도 화면에 고정되도록 개선. + +## [1.0.0-beta.3] - 2026-05-11 + +### Added + +- 결제 취소 전후에 외부 확장이 본인인증 등 추가 로직을 붙일 수 있는 확장점 제공 + +### Changed + +- 관리자 화면 좌우 정렬 컨테이너(섹션 헤더 · 액션바 · 카드 상단부 등) 외형을 표준 시맨틱(.flex-between)으로 정리 — 시각 변경 없음, 향후 톤 조정이 한 곳에서 가능. +- sirsoft-ecommerce 의존성을 `>=1.0.0-beta.3` 으로 정비 +- 플러그인 환경설정 화면의 하단 저장 버튼이 스크롤 중에도 화면에 고정되도록 개선. +- 플러그인 환경설정 화면의 폼 라벨 / 보조 설명 / 에러 메시지 시각 시맨틱을 sirsoft-admin_basic 표준 시맨틱과 정합 — 다른 관리자 화면과 같은 결로 통일. +- 플러그인 환경설정 화면 곳곳의 텍스트 톤 (보조 설명 · 라벨 · 본문 · 강조 · 작은 보조) 시각 시맨틱을 관리자 표준 시맨틱과 정합 — 같은 결의 글자 톤이 한 곳에서 일괄 조정 가능. +- 플러그인 환경설정 화면의 세로 정렬 컨테이너 / 입력 박스를 sirsoft-admin_basic 표준 시맨틱 (.stack / .input) 과 정합 — 표준 간격과 외형이 일관 표시되도록 정리. + +## [1.0.0-beta.2] - 2026-04-20 + +### Changed + +- 코어 최소 요구 버전을 7.0.0-beta.2 로 상향 +- sirsoft-ecommerce 의존성 버전 제약을 실제 릴리스 버전에 맞춰 정비 +- 플러그인 의존성 관리를 manifest(plugin.json) 기준으로 일원화 + +## [1.0.0-beta.1] - 2026-04-01 + +### Changed + +- 오픈 베타 릴리즈 + +## [0.2.2] - 2026-03-30 + +### Changed + +- frontend_schema에서 `is_test_mode`, `redirect_success_url`, `redirect_fail_url`을 `expose: false`로 변경 — 프론트엔드 미참조 설정의 보안 노출 차단 + +## [0.2.1] - 2026-03-25 + +### Changed + +- app(PluginSettingsService::class) 직접 호출을 plugin_settings() 헬퍼로 교체 (SuccessCallbackRequest, PaymentRefundListener, RegisterPgProviderListener) +- 불필요한 PluginSettingsService use문 제거 (3개 파일) + +## [0.2.0] - 2026-03-24 + +### Added + +- 환불 리스너 추가 (PaymentRefundListener): 주문 취소 시 토스페이먼츠 환불 API 연동 +- 다국어 메시지 파일 추가 (ko/en messages.php) + +## [0.1.3] - 2026-03-16 + +### Changed + +- 라이선스 프로그램 명칭 정비 + +## [0.1.2] - 2026-03-13 + +### Added + +- manifest에 license 필드 및 LICENSE 파일 추가 + +### Changed + +- 설정 레이아웃 경로를 `resources/layouts/settings.json` → `resources/layouts/admin/plugin_settings.json`으로 이동 (모듈과 동일한 구조 통일) + +## [0.1.1] - 2026-02-24 + +### Changed +- 버전 체계 조정 (정식 출시 전 0.x 체계로 변경) + +## [0.1.0] - 2026-02-23 + +### Added +- 토스페이먼츠 결제 플러그인 초기 구현 +- 카드/계좌이체/가상계좌/무통장입금 결제 지원 +- 결제 위젯 (TossPayments SDK) 통합 +- 결제 확인 (confirm) 프로세스 +- 결제 성공/실패 콜백 처리 +- 결제 상태 웹훅 처리 +- 플러그인 설정 UI (API 키, 시크릿 키 관리) +- sirsoft-ecommerce 모듈 결제 인터페이스 (PaymentInterface) 연동 +- 다국어 지원 (ko, en) diff --git a/plugins/_bundled/sirsoft-tosspayments/LICENSE b/plugins/_bundled/sirsoft-tosspayments/LICENSE new file mode 100644 index 00000000..b939d80e --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/LICENSE @@ -0,0 +1,47 @@ +프로그램 명칭 : 그누보드7용 토스페이먼츠 플러그인 (sirsoft-tosspayments) + +저작자 : (주)에스아이알소프트 + +----- MIT 라이선스 (한국어 번역) -------------------------------------------------------- + +MIT 라이선스 + +Copyright (c) 2026 (주)에스아이알소프트 + +이 소프트웨어와 관련 문서 파일(이하 "소프트웨어")의 복사본을 취득하는 모든 사람에게 +소프트웨어를 제한 없이 사용, 복사, 수정, 병합, 출판, 배포, 서브라이선스 허여 및/또는 +판매할 수 있는 권리를 무상으로 부여합니다. 다만, 소프트웨어를 제공받은 사람은 다음 +조건을 따라야 합니다: + +위 저작권 고지와 본 허가 고지는 소프트웨어의 모든 복사본 또는 상당 부분에 포함되어야 +합니다. + +소프트웨어는 "있는 그대로" 제공되며, 명시적이든 묵시적이든 어떠한 종류의 보증도 하지 +않습니다. 여기에는 상품성, 특정 목적에의 적합성 및 비침해에 대한 보증이 포함되나 이에 +국한되지 않습니다. 어떠한 경우에도 저작자 또는 저작권자는 소프트웨어나 소프트웨어의 +사용 또는 기타 거래로 인해 발생하는 계약, 불법행위 또는 기타 청구, 손해 또는 기타 +책임에 대해 책임을 지지 않습니다. + +----- MIT License (English Original) -------------------------------------------------------- + +The MIT License (MIT) + +Copyright (c) 2026 SIRSOFT + +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/plugins/_bundled/sirsoft-tosspayments/composer.json b/plugins/_bundled/sirsoft-tosspayments/composer.json new file mode 100644 index 00000000..fbe37f7e --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/composer.json @@ -0,0 +1,20 @@ +{ + "name": "plugins/sirsoft-tosspayments", + "description": "TossPayments PG Plugin for G7 platform", + "version": "1.0.0-beta.4", + "type": "library", + "authors": [ + { + "name": "sirsoft", + "email": "contact@sirsoft.com" + } + ], + "require": { + "php": "^8.2" + }, + "autoload": { + "psr-4": { + "Plugins\\Sirsoft\\Tosspayments\\": ["src/", "./"] + } + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/composer.lock b/plugins/_bundled/sirsoft-tosspayments/composer.lock new file mode 100644 index 00000000..254377c1 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/composer.lock @@ -0,0 +1,20 @@ +{ + "_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": "6754a7ed2d766f6ab8147eb4506789cb", + "packages": [], + "packages-dev": [], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": {}, + "prefer-stable": false, + "prefer-lowest": false, + "platform": { + "php": "^8.2" + }, + "platform-dev": {}, + "plugin-api-version": "2.6.0" +} diff --git a/plugins/_bundled/sirsoft-tosspayments/config/settings/defaults.json b/plugins/_bundled/sirsoft-tosspayments/config/settings/defaults.json new file mode 100644 index 00000000..7a643d4b --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/config/settings/defaults.json @@ -0,0 +1,24 @@ +{ + "_meta": { + "version": "1.0.0", + "description": "토스페이먼츠 PG 플러그인 환경설정" + }, + "defaults": { + "is_test_mode": true, + "test_client_key": "", + "test_secret_key": "", + "live_client_key": "", + "live_secret_key": "", + "redirect_success_url": "/shop/orders/{orderId}/complete", + "redirect_fail_url": "/shop/checkout" + }, + "frontend_schema": { + "is_test_mode": { "expose": false }, + "test_client_key": { "expose": false }, + "test_secret_key": { "expose": false }, + "live_client_key": { "expose": false }, + "live_secret_key": { "expose": false }, + "redirect_success_url": { "expose": false }, + "redirect_fail_url": { "expose": false } + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/dist/js/plugin.iife.js b/plugins/_bundled/sirsoft-tosspayments/dist/js/plugin.iife.js new file mode 100644 index 00000000..baf03d6f --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/dist/js/plugin.iife.js @@ -0,0 +1,2 @@ +(function(){"use strict";function f(t){return new Promise((n,e)=>{if(document.querySelector(`script[src="${t}"]`)){n();return}const o=document.createElement("script");o.src=t,o.async=!0,o.onload=()=>n(),o.onerror=()=>e(new Error(`Failed to load script: ${t}`)),document.head.appendChild(o)})}async function y(t,n){const{pgPaymentData:e}=t.params||{};if(!e){console.error("[sirsoft-tosspayments] pgPaymentData is required");return}const o=window.G7Core;try{const r=await o.api.get("/modules/sirsoft-ecommerce/payments/client-config/tosspayments");if(!r.data){console.error("[sirsoft-tosspayments] Failed to fetch client config",r);return}const s=r.data;if(window.TossPayments||await f(s.sdk_url),window.TossPayments||await new Promise(w=>setTimeout(w,100)),!window.TossPayments){console.error("[sirsoft-tosspayments] TossPayments SDK not available");return}const p=window.TossPayments(s.client_key).payment({customerKey:e.customer_key??window.TossPayments.ANONYMOUS}),u=window.location.origin;await p.requestPayment({method:"CARD",amount:{currency:e.currency??"KRW",value:e.amount},orderId:e.order_number,orderName:e.order_name,successUrl:u+s.callback_urls.success,failUrl:u+s.callback_urls.fail,customerEmail:e.customer_email??void 0,customerName:e.customer_name??void 0,customerMobilePhone:e.customer_phone??void 0,card:{useEscrow:!1,flowMode:"DEFAULT",useCardPoint:!1,useAppCardOnly:!1}})}catch(r){if(console.error("[sirsoft-tosspayments] requestPayment error",r),r?.code==="USER_CANCEL"){console.info("[sirsoft-tosspayments] Payment cancelled by user");try{await o.api.post(`/modules/sirsoft-ecommerce/orders/${e.order_number}/cancel-payment`,{cancel_code:r.code,cancel_message:r.message})}catch(c){console.warn("[sirsoft-tosspayments] Failed to record cancellation",c)}o?.state?.setLocal?.({isSubmittingOrder:!1}),o?.modal?.open?.("tosspayments_payment_cancel_modal");return}const s=r?.message??"Unknown error";o?.state?.setLocal?.({paymentErrorMessage:s,isSubmittingOrder:!1}),o?.modal?.open?.("tosspayments_payment_error_modal")}}const l={requestPayment:y},a="sirsoft-tosspayments",i={info:(...t)=>console.info(`[${a}]`,...t),warn:(...t)=>console.warn(`[${a}]`,...t),error:(...t)=>console.error(`[${a}]`,...t)};function m(){const t=window.G7Core;if(!t)return 0;const n=t.getActionDispatcher;if(typeof n!="function")return 0;const e=n();if(!e||typeof e.registerHandler!="function")return 0;let o=0;for(const[r,s]of Object.entries(l)){const c=`${a}.${r}`;e.registerHandler(c,s,{category:"plugin",source:a}),o++}return o}function d(){const t=()=>{const n=m();if(n>0){i.info(`${n} handler(s) registered`);return}let e=0;const o=50,r=setInterval(()=>{e++;const s=m();if(s>0){clearInterval(r),i.info(`${s} handler(s) registered (after ${e} retries)`);return}e>=o&&(clearInterval(r),i.warn("ActionDispatcher not available after timeout"))},100)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}d(),window.__SirsoftTosspayments={identifier:a,handlers:Object.keys(l),initPlugin:d}})(); +//# sourceMappingURL=plugin.iife.js.map diff --git a/plugins/_bundled/sirsoft-tosspayments/dist/js/plugin.iife.js.map b/plugins/_bundled/sirsoft-tosspayments/dist/js/plugin.iife.js.map new file mode 100644 index 00000000..efbee9bf --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/dist/js/plugin.iife.js.map @@ -0,0 +1 @@ +{"version":3,"file":"plugin.iife.js","sources":["../../resources/js/handlers/requestPayment.ts","../../resources/js/handlers/index.ts","../../resources/js/index.ts"],"sourcesContent":["/**\n * 토스페이먼츠 결제창 호출 핸들러\n *\n * 체크아웃 레이아웃에서 주문 생성 API 성공 후 호출됩니다:\n * handler: \"sirsoft-tosspayments.requestPayment\"\n * params: { pgPaymentData: response.data.pg_payment_data }\n *\n * 호출 순서:\n * 1. Client Config API 호출 → clientKey 획득\n * 2. TossPayments SDK 동적 로드 (미로드 시)\n * 3. SDK 초기화 + payment 인스턴스 생성\n * 4. payment.requestPayment() 호출 → 통합결제창 오픈\n * 5. 결제 완료 시 브라우저가 successUrl/failUrl로 리다이렉트\n */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\ninterface PgPaymentData {\n order_number: string;\n order_name: string;\n amount: number;\n currency?: string;\n customer_name?: string;\n customer_email?: string;\n customer_phone?: string;\n customer_key?: string | null;\n}\n\ninterface RequestPaymentParams {\n pgPaymentData: PgPaymentData;\n}\n\ninterface ClientConfig {\n client_key: string;\n sdk_url: string;\n callback_urls: {\n success: string;\n fail: string;\n };\n}\n\ndeclare global {\n interface Window {\n TossPayments: any;\n }\n}\n\n/**\n * 스크립트를 동적으로 로드합니다.\n *\n * @param src 스크립트 URL\n * @returns Promise\n */\nfunction loadScript(src: string): Promise {\n return new Promise((resolve, reject) => {\n // 이미 로드된 스크립트인지 확인\n if (document.querySelector(`script[src=\"${src}\"]`)) {\n resolve();\n return;\n }\n\n const script = document.createElement('script');\n script.src = src;\n script.async = true;\n script.onload = () => resolve();\n script.onerror = () => reject(new Error(`Failed to load script: ${src}`));\n document.head.appendChild(script);\n });\n}\n\n/**\n * 토스페이먼츠 결제창 호출 핸들러\n *\n * ActionDispatcher는 커스텀 핸들러를 (action, context) 시그니처로 호출합니다.\n * params는 action.params에서 접근해야 합니다.\n *\n * @param action 액션 정의 (handler, params 등)\n * @param _context 액션 컨텍스트\n */\nexport async function requestPaymentHandler(action: any, _context?: any): Promise {\n const { pgPaymentData } = (action.params || {}) as RequestPaymentParams;\n\n if (!pgPaymentData) {\n console.error('[sirsoft-tosspayments] pgPaymentData is required');\n return;\n }\n\n const G7Core = (window as any).G7Core;\n\n try {\n // 1. Client Config API 호출\n const configJson = await G7Core.api.get('/modules/sirsoft-ecommerce/payments/client-config/tosspayments');\n\n if (!configJson.data) {\n console.error('[sirsoft-tosspayments] Failed to fetch client config', configJson);\n return;\n }\n\n const config: ClientConfig = configJson.data;\n\n // 2. SDK 동적 로드 (미로드 시)\n if (!window.TossPayments) {\n await loadScript(config.sdk_url);\n }\n\n // SDK 로드 대기 (스크립트 로드 후 TossPayments 객체 초기화까지 약간의 시간 소요)\n if (!window.TossPayments) {\n await new Promise((resolve) => setTimeout(resolve, 100));\n }\n\n if (!window.TossPayments) {\n console.error('[sirsoft-tosspayments] TossPayments SDK not available');\n return;\n }\n\n // 3. SDK 초기화\n const tossPayments = window.TossPayments(config.client_key);\n const payment = tossPayments.payment({\n customerKey: pgPaymentData.customer_key ?? window.TossPayments.ANONYMOUS,\n });\n\n // 4. 결제 요청 (통합결제창)\n const origin = window.location.origin;\n\n await payment.requestPayment({\n method: 'CARD',\n amount: {\n currency: pgPaymentData.currency ?? 'KRW',\n value: pgPaymentData.amount,\n },\n orderId: pgPaymentData.order_number,\n orderName: pgPaymentData.order_name,\n successUrl: origin + config.callback_urls.success,\n failUrl: origin + config.callback_urls.fail,\n customerEmail: pgPaymentData.customer_email ?? undefined,\n customerName: pgPaymentData.customer_name ?? undefined,\n customerMobilePhone: pgPaymentData.customer_phone ?? undefined,\n card: {\n useEscrow: false,\n flowMode: 'DEFAULT',\n useCardPoint: false,\n useAppCardOnly: false,\n },\n });\n // → 브라우저가 successUrl 또는 failUrl로 리다이렉트됨\n\n } catch (error: any) {\n console.error('[sirsoft-tosspayments] requestPayment error', error);\n\n // SDK에서 사용자 취소 시 에러가 발생할 수 있음\n if (error?.code === 'USER_CANCEL') {\n console.info('[sirsoft-tosspayments] Payment cancelled by user');\n\n // 1. 결제 취소 이력 기록 API 호출 (PG사 응답값 전달)\n try {\n await G7Core.api.post(\n `/modules/sirsoft-ecommerce/orders/${pgPaymentData.order_number}/cancel-payment`,\n {\n cancel_code: error.code,\n cancel_message: error.message,\n }\n );\n } catch (e) {\n console.warn('[sirsoft-tosspayments] Failed to record cancellation', e);\n }\n\n // 2. 로딩 상태 해제 + 취소 안내 모달 표시\n G7Core?.state?.setLocal?.({ isSubmittingOrder: false });\n G7Core?.modal?.open?.('tosspayments_payment_cancel_modal');\n return;\n }\n\n // 기타 에러 시 모달로 오류 표시 (체크아웃 페이지 유지)\n const errorMessage = error?.message ?? 'Unknown error';\n G7Core?.state?.setLocal?.({ paymentErrorMessage: errorMessage, isSubmittingOrder: false });\n G7Core?.modal?.open?.('tosspayments_payment_error_modal');\n }\n}\n","import { requestPaymentHandler } from './requestPayment';\n\n/**\n * 토스페이먼츠 플러그인 핸들러 맵\n *\n * ActionDispatcher에 등록될 핸들러 목록입니다.\n * 네임스페이스 접두사(sirsoft-tosspayments.)는 index.ts에서 자동으로 추가됩니다.\n */\nexport const handlerMap: Record unknown> = {\n requestPayment: requestPaymentHandler,\n} as const;\n","/**\n * 토스페이먼츠 플러그인 엔트리\n *\n * ActionDispatcher에 핸들러를 등록하여\n * 레이아웃 JSON에서 \"sirsoft-tosspayments.requestPayment\" 형태로 호출할 수 있게 합니다.\n */\n\nimport { handlerMap } from './handlers';\n\nconst PLUGIN_IDENTIFIER = 'sirsoft-tosspayments';\n\n/**\n * 로거 (G7Core 초기화 전에도 동작)\n */\nconst logger = {\n info: (...args: unknown[]) => console.info(`[${PLUGIN_IDENTIFIER}]`, ...args),\n warn: (...args: unknown[]) => console.warn(`[${PLUGIN_IDENTIFIER}]`, ...args),\n error: (...args: unknown[]) => console.error(`[${PLUGIN_IDENTIFIER}]`, ...args),\n};\n\n/**\n * ActionDispatcher에 핸들러를 등록합니다.\n *\n * @returns 등록된 핸들러 수\n */\nfunction registerHandlers(): number {\n const g7Core = (window as Record).G7Core as Record | undefined;\n\n if (!g7Core) {\n return 0;\n }\n\n const getDispatcher = g7Core.getActionDispatcher as (() => Record) | undefined;\n\n if (typeof getDispatcher !== 'function') {\n return 0;\n }\n\n const dispatcher = getDispatcher() as Record | undefined;\n\n if (!dispatcher || typeof dispatcher.registerHandler !== 'function') {\n return 0;\n }\n\n let count = 0;\n for (const [name, handler] of Object.entries(handlerMap)) {\n const fullName = `${PLUGIN_IDENTIFIER}.${name}`;\n dispatcher.registerHandler(fullName, handler, {\n category: 'plugin',\n source: PLUGIN_IDENTIFIER,\n });\n count++;\n }\n\n return count;\n}\n\n/**\n * 플러그인 초기화\n *\n * DOMContentLoaded 후 ActionDispatcher가 준비되면 핸들러를 등록합니다.\n * ActionDispatcher가 아직 준비되지 않았으면 최대 5초간 재시도합니다.\n */\nfunction initPlugin(): void {\n const doInit = () => {\n const count = registerHandlers();\n\n if (count > 0) {\n logger.info(`${count} handler(s) registered`);\n return;\n }\n\n // ActionDispatcher 미준비 시 재시도 (100ms 간격, 최대 50회 = 5초)\n let retries = 0;\n const maxRetries = 50;\n const interval = setInterval(() => {\n retries++;\n const result = registerHandlers();\n\n if (result > 0) {\n clearInterval(interval);\n logger.info(`${result} handler(s) registered (after ${retries} retries)`);\n return;\n }\n\n if (retries >= maxRetries) {\n clearInterval(interval);\n logger.warn('ActionDispatcher not available after timeout');\n }\n }, 100);\n };\n\n if (document.readyState === 'loading') {\n document.addEventListener('DOMContentLoaded', doInit);\n } else {\n doInit();\n }\n}\n\n// 자동 초기화\ninitPlugin();\n\n// 디버그용 글로벌 노출\n(window as Record).__SirsoftTosspayments = {\n identifier: PLUGIN_IDENTIFIER,\n handlers: Object.keys(handlerMap),\n initPlugin,\n};\n"],"names":["loadScript","src","resolve","reject","script","requestPaymentHandler","action","_context","pgPaymentData","G7Core","configJson","config","payment","origin","error","e","errorMessage","handlerMap","PLUGIN_IDENTIFIER","logger","args","registerHandlers","g7Core","getDispatcher","dispatcher","count","name","handler","fullName","initPlugin","doInit","retries","maxRetries","interval","result"],"mappings":"yBAqDA,SAASA,EAAWC,EAA4B,CAC5C,OAAO,IAAI,QAAQ,CAACC,EAASC,IAAW,CAEpC,GAAI,SAAS,cAAc,eAAeF,CAAG,IAAI,EAAG,CAChDC,EAAA,EACA,MACJ,CAEA,MAAME,EAAS,SAAS,cAAc,QAAQ,EAC9CA,EAAO,IAAMH,EACbG,EAAO,MAAQ,GACfA,EAAO,OAAS,IAAMF,EAAA,EACtBE,EAAO,QAAU,IAAMD,EAAO,IAAI,MAAM,0BAA0BF,CAAG,EAAE,CAAC,EACxE,SAAS,KAAK,YAAYG,CAAM,CACpC,CAAC,CACL,CAWA,eAAsBC,EAAsBC,EAAaC,EAA+B,CACpF,KAAM,CAAE,cAAAC,CAAA,EAAmBF,EAAO,QAAU,CAAA,EAE5C,GAAI,CAACE,EAAe,CAChB,QAAQ,MAAM,kDAAkD,EAChE,MACJ,CAEA,MAAMC,EAAU,OAAe,OAE/B,GAAI,CAEA,MAAMC,EAAa,MAAMD,EAAO,IAAI,IAAI,gEAAgE,EAExG,GAAI,CAACC,EAAW,KAAM,CAClB,QAAQ,MAAM,uDAAwDA,CAAU,EAChF,MACJ,CAEA,MAAMC,EAAuBD,EAAW,KAYxC,GATK,OAAO,cACR,MAAMV,EAAWW,EAAO,OAAO,EAI9B,OAAO,cACR,MAAM,IAAI,QAAeT,GAAY,WAAWA,EAAS,GAAG,CAAC,EAG7D,CAAC,OAAO,aAAc,CACtB,QAAQ,MAAM,uDAAuD,EACrE,MACJ,CAIA,MAAMU,EADe,OAAO,aAAaD,EAAO,UAAU,EAC7B,QAAQ,CACjC,YAAaH,EAAc,cAAgB,OAAO,aAAa,SAAA,CAClE,EAGKK,EAAS,OAAO,SAAS,OAE/B,MAAMD,EAAQ,eAAe,CACzB,OAAQ,OACR,OAAQ,CACJ,SAAUJ,EAAc,UAAY,MACpC,MAAOA,EAAc,MAAA,EAEzB,QAASA,EAAc,aACvB,UAAWA,EAAc,WACzB,WAAYK,EAASF,EAAO,cAAc,QAC1C,QAASE,EAASF,EAAO,cAAc,KACvC,cAAeH,EAAc,gBAAkB,OAC/C,aAAcA,EAAc,eAAiB,OAC7C,oBAAqBA,EAAc,gBAAkB,OACrD,KAAM,CACF,UAAW,GACX,SAAU,UACV,aAAc,GACd,eAAgB,EAAA,CACpB,CACH,CAGL,OAASM,EAAY,CAIjB,GAHA,QAAQ,MAAM,8CAA+CA,CAAK,EAG9DA,GAAO,OAAS,cAAe,CAC/B,QAAQ,KAAK,kDAAkD,EAG/D,GAAI,CACA,MAAML,EAAO,IAAI,KACb,qCAAqCD,EAAc,YAAY,kBAC/D,CACI,YAAaM,EAAM,KACnB,eAAgBA,EAAM,OAAA,CAC1B,CAER,OAASC,EAAG,CACR,QAAQ,KAAK,uDAAwDA,CAAC,CAC1E,CAGAN,GAAQ,OAAO,WAAW,CAAE,kBAAmB,GAAO,EACtDA,GAAQ,OAAO,OAAO,mCAAmC,EACzD,MACJ,CAGA,MAAMO,EAAeF,GAAO,SAAW,gBACvCL,GAAQ,OAAO,WAAW,CAAE,oBAAqBO,EAAc,kBAAmB,GAAO,EACzFP,GAAQ,OAAO,OAAO,kCAAkC,CAC5D,CACJ,CCzKO,MAAMQ,EAA8D,CACvE,eAAgBZ,CACpB,ECDMa,EAAoB,uBAKpBC,EAAS,CACX,KAAM,IAAIC,IAAoB,QAAQ,KAAK,IAAIF,CAAiB,IAAK,GAAGE,CAAI,EAC5E,KAAM,IAAIA,IAAoB,QAAQ,KAAK,IAAIF,CAAiB,IAAK,GAAGE,CAAI,EAC5E,MAAO,IAAIA,IAAoB,QAAQ,MAAM,IAAIF,CAAiB,IAAK,GAAGE,CAAI,CAClF,EAOA,SAASC,GAA2B,CAChC,MAAMC,EAAU,OAAmC,OAEnD,GAAI,CAACA,EACD,MAAO,GAGX,MAAMC,EAAgBD,EAAO,oBAE7B,GAAI,OAAOC,GAAkB,WACzB,MAAO,GAGX,MAAMC,EAAaD,EAAA,EAEnB,GAAI,CAACC,GAAc,OAAOA,EAAW,iBAAoB,WACrD,MAAO,GAGX,IAAIC,EAAQ,EACZ,SAAW,CAACC,EAAMC,CAAO,IAAK,OAAO,QAAQV,CAAU,EAAG,CACtD,MAAMW,EAAW,GAAGV,CAAiB,IAAIQ,CAAI,GAC7CF,EAAW,gBAAgBI,EAAUD,EAAS,CAC1C,SAAU,SACV,OAAQT,CAAA,CACX,EACDO,GACJ,CAEA,OAAOA,CACX,CAQA,SAASI,GAAmB,CACxB,MAAMC,EAAS,IAAM,CACjB,MAAML,EAAQJ,EAAA,EAEd,GAAII,EAAQ,EAAG,CACXN,EAAO,KAAK,GAAGM,CAAK,wBAAwB,EAC5C,MACJ,CAGA,IAAIM,EAAU,EACd,MAAMC,EAAa,GACbC,EAAW,YAAY,IAAM,CAC/BF,IACA,MAAMG,EAASb,EAAA,EAEf,GAAIa,EAAS,EAAG,CACZ,cAAcD,CAAQ,EACtBd,EAAO,KAAK,GAAGe,CAAM,iCAAiCH,CAAO,WAAW,EACxE,MACJ,CAEIA,GAAWC,IACX,cAAcC,CAAQ,EACtBd,EAAO,KAAK,8CAA8C,EAElE,EAAG,GAAG,CACV,EAEI,SAAS,aAAe,UACxB,SAAS,iBAAiB,mBAAoBW,CAAM,EAEpDA,EAAA,CAER,CAGAD,EAAA,EAGC,OAAmC,sBAAwB,CACxD,WAAYX,EACZ,SAAU,OAAO,KAAKD,CAAU,EAChC,WAAAY,CACJ"} \ No newline at end of file diff --git a/plugins/_bundled/sirsoft-tosspayments/lang/en/messages.php b/plugins/_bundled/sirsoft-tosspayments/lang/en/messages.php new file mode 100644 index 00000000..61dfb698 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/lang/en/messages.php @@ -0,0 +1,11 @@ + [ + 'missing_payment_key' => 'Cannot process refund: TossPayments payment key not found.', + 'default_reason' => 'Cancelled by customer request', + ], +]; diff --git a/plugins/_bundled/sirsoft-tosspayments/lang/en/provider.php b/plugins/_bundled/sirsoft-tosspayments/lang/en/provider.php new file mode 100644 index 00000000..96f20f04 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/lang/en/provider.php @@ -0,0 +1,12 @@ + 'TossPayments', + 'description' => 'TossPayments domestic payment gateway integration', +]; diff --git a/plugins/_bundled/sirsoft-tosspayments/lang/ko/messages.php b/plugins/_bundled/sirsoft-tosspayments/lang/ko/messages.php new file mode 100644 index 00000000..68003e0d --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/lang/ko/messages.php @@ -0,0 +1,11 @@ + [ + 'missing_payment_key' => '토스페이먼츠 결제 키가 존재하지 않아 환불 처리할 수 없습니다.', + 'default_reason' => '고객 요청에 의한 취소', + ], +]; diff --git a/plugins/_bundled/sirsoft-tosspayments/lang/ko/provider.php b/plugins/_bundled/sirsoft-tosspayments/lang/ko/provider.php new file mode 100644 index 00000000..3c7d0e2c --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/lang/ko/provider.php @@ -0,0 +1,12 @@ + '토스페이먼츠', + 'description' => '국내 PG 사 토스페이먼츠 결제 연동', +]; diff --git a/plugins/_bundled/sirsoft-tosspayments/package-lock.json b/plugins/_bundled/sirsoft-tosspayments/package-lock.json new file mode 100644 index 00000000..07e87c18 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/package-lock.json @@ -0,0 +1,2014 @@ +{ + "name": "@g7/sirsoft-tosspayments", + "version": "0.2.2", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "@g7/sirsoft-tosspayments", + "version": "0.2.2", + "devDependencies": { + "jsdom": "^27.4.0", + "typescript": "^5.3.3", + "vite": "^5.4.14", + "vitest": "^2.1.8" + } + }, + "node_modules/@acemir/cssom": { + "version": "0.9.31", + "resolved": "https://registry.npmjs.org/@acemir/cssom/-/cssom-0.9.31.tgz", + "integrity": "sha512-ZnR3GSaH+/vJ0YlHau21FjfLYjMpYVIzTD8M8vIEQvIGxeOXyXdzCI140rrCY862p/C/BbzWsjc1dgnM9mkoTA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@asamuzakjp/css-color": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-4.1.2.tgz", + "integrity": "sha512-NfBUvBaYgKIuq6E/RBLY1m0IohzNHAYyaJGuTK79Z23uNwmz2jl1mPsC5ZxCCxylinKhT1Amn5oNTlx1wN8cQg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@csstools/css-calc": "^3.0.0", + "@csstools/css-color-parser": "^4.0.1", + "@csstools/css-parser-algorithms": "^4.0.0", + "@csstools/css-tokenizer": "^4.0.0", + "lru-cache": "^11.2.5" + } + }, + "node_modules/@asamuzakjp/dom-selector": { + "version": "6.7.8", + "resolved": "https://registry.npmjs.org/@asamuzakjp/dom-selector/-/dom-selector-6.7.8.tgz", + "integrity": "sha512-stisC1nULNc9oH5lakAj8MH88ZxeGxzyWNDfbdCxvJSJIvDsHNZqYvscGTgy/ysgXWLJPt6K/4t0/GjvtKcFJQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@asamuzakjp/nwsapi": "^2.3.9", + "bidi-js": "^1.0.3", + "css-tree": "^3.1.0", + "is-potential-custom-element-name": "^1.0.1", + "lru-cache": "^11.2.5" + } + }, + "node_modules/@asamuzakjp/nwsapi": { + "version": "2.3.9", + "resolved": "https://registry.npmjs.org/@asamuzakjp/nwsapi/-/nwsapi-2.3.9.tgz", + "integrity": "sha512-n8GuYSrI9bF7FFZ/SjhwevlHc8xaVlb/7HmHelnc/PZXBD2ZR49NnN9sMMuDdEGPeeRQ5d0hqlSlEpgCX3Wl0Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@csstools/color-helpers": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-6.0.1.tgz", + "integrity": "sha512-NmXRccUJMk2AWA5A7e5a//3bCIMyOu2hAtdRYrhPPHjDxINuCwX1w6rnIZ4xjLcp0ayv6h8Pc3X0eJUGiAAXHQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT-0", + "engines": { + "node": ">=20.19.0" + } + }, + "node_modules/@csstools/css-calc": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.0.1.tgz", + "integrity": "sha512-bsDKIP6f4ta2DO9t+rAbSSwv4EMESXy5ZIvzQl1afmD6Z1XHkVu9ijcG9QR/qSgQS1dVa+RaQ/MfQ7FIB/Dn1Q==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT", + "engines": { + "node": ">=20.19.0" + }, + "peerDependencies": { + "@csstools/css-parser-algorithms": "^4.0.0", + "@csstools/css-tokenizer": "^4.0.0" + } + }, + "node_modules/@csstools/css-color-parser": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-4.0.1.tgz", + "integrity": "sha512-vYwO15eRBEkeF6xjAno/KQ61HacNhfQuuU/eGwH67DplL0zD5ZixUa563phQvUelA07yDczIXdtmYojCphKJcw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT", + "dependencies": { + "@csstools/color-helpers": "^6.0.1", + "@csstools/css-calc": "^3.0.0" + }, + "engines": { + "node": ">=20.19.0" + }, + "peerDependencies": { + "@csstools/css-parser-algorithms": "^4.0.0", + "@csstools/css-tokenizer": "^4.0.0" + } + }, + "node_modules/@csstools/css-parser-algorithms": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.0.tgz", + "integrity": "sha512-+B87qS7fIG3L5h3qwJ/IFbjoVoOe/bpOdh9hAjXbvx0o8ImEmUsGXN0inFOnk2ChCFgqkkGFQ+TpM5rbhkKe4w==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT", + "engines": { + "node": ">=20.19.0" + }, + "peerDependencies": { + "@csstools/css-tokenizer": "^4.0.0" + } + }, + "node_modules/@csstools/css-syntax-patches-for-csstree": { + "version": "1.0.27", + "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.0.27.tgz", + "integrity": "sha512-sxP33Jwg1bviSUXAV43cVYdmjt2TLnLXNqCWl9xmxHawWVjGz/kEbdkr7F9pxJNBN2Mh+dq0crgItbW6tQvyow==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT-0" + }, + "node_modules/@csstools/css-tokenizer": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-4.0.0.tgz", + "integrity": "sha512-QxULHAm7cNu72w97JUNCBFODFaXpbDg+dP8b/oWFAZ2MTRppA3U00Y2L1HqaS4J6yBqxwa/Y3nMBaxVKbB/NsA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT", + "engines": { + "node": ">=20.19.0" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@exodus/bytes": { + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@exodus/bytes/-/bytes-1.14.0.tgz", + "integrity": "sha512-YiY1OmY6Qhkvmly8vZiD8wZRpW/npGZNg+0Sk8mstxirRHCg6lolHt5tSODCfuNPE/fBsAqRwDJE417x7jDDHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=24.0.0" + }, + "peerDependencies": { + "@noble/hashes": "^1.8.0 || ^2.0.0" + }, + "peerDependenciesMeta": { + "@noble/hashes": { + "optional": true + } + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "dev": true, + "license": "MIT" + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.57.1.tgz", + "integrity": "sha512-A6ehUVSiSaaliTxai040ZpZ2zTevHYbvu/lDoeAteHI8QnaosIzm4qwtezfRg1jOYaUmnzLX1AOD6Z+UJjtifg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.57.1.tgz", + "integrity": "sha512-dQaAddCY9YgkFHZcFNS/606Exo8vcLHwArFZ7vxXq4rigo2bb494/xKMMwRRQW6ug7Js6yXmBZhSBRuBvCCQ3w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.57.1.tgz", + "integrity": "sha512-crNPrwJOrRxagUYeMn/DZwqN88SDmwaJ8Cvi/TN1HnWBU7GwknckyosC2gd0IqYRsHDEnXf328o9/HC6OkPgOg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.57.1.tgz", + "integrity": "sha512-Ji8g8ChVbKrhFtig5QBV7iMaJrGtpHelkB3lsaKzadFBe58gmjfGXAOfI5FV0lYMH8wiqsxKQ1C9B0YTRXVy4w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.57.1.tgz", + "integrity": "sha512-R+/WwhsjmwodAcz65guCGFRkMb4gKWTcIeLy60JJQbXrJ97BOXHxnkPFrP+YwFlaS0m+uWJTstrUA9o+UchFug==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.57.1.tgz", + "integrity": "sha512-IEQTCHeiTOnAUC3IDQdzRAGj3jOAYNr9kBguI7MQAAZK3caezRrg0GxAb6Hchg4lxdZEI5Oq3iov/w/hnFWY9Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.57.1.tgz", + "integrity": "sha512-F8sWbhZ7tyuEfsmOxwc2giKDQzN3+kuBLPwwZGyVkLlKGdV1nvnNwYD0fKQ8+XS6hp9nY7B+ZeK01EBUE7aHaw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.57.1.tgz", + "integrity": "sha512-rGfNUfn0GIeXtBP1wL5MnzSj98+PZe/AXaGBCRmT0ts80lU5CATYGxXukeTX39XBKsxzFpEeK+Mrp9faXOlmrw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.57.1.tgz", + "integrity": "sha512-MMtej3YHWeg/0klK2Qodf3yrNzz6CGjo2UntLvk2RSPlhzgLvYEB3frRvbEF2wRKh1Z2fDIg9KRPe1fawv7C+g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.57.1.tgz", + "integrity": "sha512-1a/qhaaOXhqXGpMFMET9VqwZakkljWHLmZOX48R0I/YLbhdxr1m4gtG1Hq7++VhVUmf+L3sTAf9op4JlhQ5u1Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loong64-gnu": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.57.1.tgz", + "integrity": "sha512-QWO6RQTZ/cqYtJMtxhkRkidoNGXc7ERPbZN7dVW5SdURuLeVU7lwKMpo18XdcmpWYd0qsP1bwKPf7DNSUinhvA==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loong64-musl": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.57.1.tgz", + "integrity": "sha512-xpObYIf+8gprgWaPP32xiN5RVTi/s5FCR+XMXSKmhfoJjrpRAjCuuqQXyxUa/eJTdAE6eJ+KDKaoEqjZQxh3Gw==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-gnu": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.57.1.tgz", + "integrity": "sha512-4BrCgrpZo4hvzMDKRqEaW1zeecScDCR+2nZ86ATLhAoJ5FQ+lbHVD3ttKe74/c7tNT9c6F2viwB3ufwp01Oh2w==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-musl": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.57.1.tgz", + "integrity": "sha512-NOlUuzesGauESAyEYFSe3QTUguL+lvrN1HtwEEsU2rOwdUDeTMJdO5dUYl/2hKf9jWydJrO9OL/XSSf65R5+Xw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.57.1.tgz", + "integrity": "sha512-ptA88htVp0AwUUqhVghwDIKlvJMD/fmL/wrQj99PRHFRAG6Z5nbWoWG4o81Nt9FT+IuqUQi+L31ZKAFeJ5Is+A==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.57.1.tgz", + "integrity": "sha512-S51t7aMMTNdmAMPpBg7OOsTdn4tySRQvklmL3RpDRyknk87+Sp3xaumlatU+ppQ+5raY7sSTcC2beGgvhENfuw==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.57.1.tgz", + "integrity": "sha512-Bl00OFnVFkL82FHbEqy3k5CUCKH6OEJL54KCyx2oqsmZnFTR8IoNqBF+mjQVcRCT5sB6yOvK8A37LNm/kPJiZg==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.57.1.tgz", + "integrity": "sha512-ABca4ceT4N+Tv/GtotnWAeXZUZuM/9AQyCyKYyKnpk4yoA7QIAuBt6Hkgpw8kActYlew2mvckXkvx0FfoInnLg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.57.1.tgz", + "integrity": "sha512-HFps0JeGtuOR2convgRRkHCekD7j+gdAuXM+/i6kGzQtFhlCtQkpwtNzkNj6QhCDp7DRJ7+qC/1Vg2jt5iSOFw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-openbsd-x64": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.57.1.tgz", + "integrity": "sha512-H+hXEv9gdVQuDTgnqD+SQffoWoc0Of59AStSzTEj/feWTBAnSfSD3+Dql1ZruJQxmykT/JVY0dE8Ka7z0DH1hw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ] + }, + "node_modules/@rollup/rollup-openharmony-arm64": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.57.1.tgz", + "integrity": "sha512-4wYoDpNg6o/oPximyc/NG+mYUejZrCU2q+2w6YZqrAs2UcNUChIZXjtafAiiZSUc7On8v5NyNj34Kzj/Ltk6dQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.57.1.tgz", + "integrity": "sha512-O54mtsV/6LW3P8qdTcamQmuC990HDfR71lo44oZMZlXU4tzLrbvTii87Ni9opq60ds0YzuAlEr/GNwuNluZyMQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.57.1.tgz", + "integrity": "sha512-P3dLS+IerxCT/7D2q2FYcRdWRl22dNbrbBEtxdWhXrfIMPP9lQhb5h4Du04mdl5Woq05jVCDPCMF7Ub0NAjIew==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-gnu": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.57.1.tgz", + "integrity": "sha512-VMBH2eOOaKGtIJYleXsi2B8CPVADrh+TyNxJ4mWPnKfLB/DBUmzW+5m1xUrcwWoMfSLagIRpjUFeW5CO5hyciQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.57.1.tgz", + "integrity": "sha512-mxRFDdHIWRxg3UfIIAwCm6NzvxG0jDX/wBN6KsQFTvKFqqg9vTrWUE68qEjHt19A5wwx5X5aUi2zuZT7YR0jrA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@types/estree": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", + "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@vitest/expect": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-2.1.9.tgz", + "integrity": "sha512-UJCIkTBenHeKT1TTlKMJWy1laZewsRIzYighyYiJKZreqtdxSos/S1t+ktRMQWu2CKqaarrkeszJx1cgC5tGZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/spy": "2.1.9", + "@vitest/utils": "2.1.9", + "chai": "^5.1.2", + "tinyrainbow": "^1.2.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/mocker": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-2.1.9.tgz", + "integrity": "sha512-tVL6uJgoUdi6icpxmdrn5YNo3g3Dxv+IHJBr0GXHaEdTcw3F+cPKnsXFhli6nO+f/6SDKPHEK1UN+k+TQv0Ehg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/spy": "2.1.9", + "estree-walker": "^3.0.3", + "magic-string": "^0.30.12" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "msw": "^2.4.9", + "vite": "^5.0.0" + }, + "peerDependenciesMeta": { + "msw": { + "optional": true + }, + "vite": { + "optional": true + } + } + }, + "node_modules/@vitest/pretty-format": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.1.9.tgz", + "integrity": "sha512-KhRIdGV2U9HOUzxfiHmY8IFHTdqtOhIzCpd8WRdJiE7D/HUcZVD0EgQCVjm+Q9gkUXWgBvMmTtZgIG48wq7sOQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "tinyrainbow": "^1.2.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/runner": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-2.1.9.tgz", + "integrity": "sha512-ZXSSqTFIrzduD63btIfEyOmNcBmQvgOVsPNPe0jYtESiXkhd8u2erDLnMxmGrDCwHCCHE7hxwRDCT3pt0esT4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/utils": "2.1.9", + "pathe": "^1.1.2" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/snapshot": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.1.9.tgz", + "integrity": "sha512-oBO82rEjsxLNJincVhLhaxxZdEtV0EFHMK5Kmx5sJ6H9L183dHECjiefOAdnqpIgT5eZwT04PoggUnW88vOBNQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/pretty-format": "2.1.9", + "magic-string": "^0.30.12", + "pathe": "^1.1.2" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/spy": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-2.1.9.tgz", + "integrity": "sha512-E1B35FwzXXTs9FHNK6bDszs7mtydNi5MIfUWpceJ8Xbfb1gBMscAnwLbEu+B44ed6W3XjL9/ehLPHR1fkf1KLQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "tinyspy": "^3.0.2" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/utils": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-2.1.9.tgz", + "integrity": "sha512-v0psaMSkNJ3A2NMrUEHFRzJtDPFn+/VWZ5WxImB21T9fjucJRmS7xCS3ppEnARb9y11OAzaD+P2Ps+b+BGX5iQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/pretty-format": "2.1.9", + "loupe": "^3.1.2", + "tinyrainbow": "^1.2.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/agent-base": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, + "node_modules/assertion-error": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz", + "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + } + }, + "node_modules/bidi-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/bidi-js/-/bidi-js-1.0.3.tgz", + "integrity": "sha512-RKshQI1R3YQ+n9YJz2QQ147P66ELpa1FQEg20Dk8oW9t2KgLbpDLLp9aGZ7y8WHSshDknG0bknqGw5/tyCs5tw==", + "dev": true, + "license": "MIT", + "dependencies": { + "require-from-string": "^2.0.2" + } + }, + "node_modules/cac": { + "version": "6.7.14", + "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz", + "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/chai": { + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz", + "integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "assertion-error": "^2.0.1", + "check-error": "^2.1.1", + "deep-eql": "^5.0.1", + "loupe": "^3.1.0", + "pathval": "^2.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/check-error": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.3.tgz", + "integrity": "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 16" + } + }, + "node_modules/css-tree": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.1.0.tgz", + "integrity": "sha512-0eW44TGN5SQXU1mWSkKwFstI/22X2bG1nYzZTYMAWjylYURhse752YgbE4Cx46AC+bAvI+/dYTPRk1LqSUnu6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "mdn-data": "2.12.2", + "source-map-js": "^1.0.1" + }, + "engines": { + "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" + } + }, + "node_modules/cssstyle": { + "version": "5.3.7", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-5.3.7.tgz", + "integrity": "sha512-7D2EPVltRrsTkhpQmksIu+LxeWAIEk6wRDMJ1qljlv+CKHJM+cJLlfhWIzNA44eAsHXSNe3+vO6DW1yCYx8SuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@asamuzakjp/css-color": "^4.1.1", + "@csstools/css-syntax-patches-for-csstree": "^1.0.21", + "css-tree": "^3.1.0", + "lru-cache": "^11.2.4" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/data-urls": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-6.0.1.tgz", + "integrity": "sha512-euIQENZg6x8mj3fO6o9+fOW8MimUI4PpD/fZBhJfeioZVy9TUpM4UY7KjQNVZFlqwJ0UdzRDzkycB997HEq1BQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-mimetype": "^5.0.0", + "whatwg-url": "^15.1.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/data-urls/node_modules/whatwg-mimetype": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-5.0.0.tgz", + "integrity": "sha512-sXcNcHOC51uPGF0P/D4NVtrkjSU2fNsm9iog4ZvZJsL3rjoDAzXZhkm2MWt1y+PUdggKAYVoMAIYcs78wJ51Cw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decimal.js": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz", + "integrity": "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==", + "dev": true, + "license": "MIT" + }, + "node_modules/deep-eql": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz", + "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/entities": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz", + "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/es-module-lexer": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz", + "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==", + "dev": true, + "license": "MIT" + }, + "node_modules/esbuild": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" + } + }, + "node_modules/estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0" + } + }, + "node_modules/expect-type": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.3.0.tgz", + "integrity": "sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.0.0" + } + }, + "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, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/html-encoding-sniffer": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-6.0.0.tgz", + "integrity": "sha512-CV9TW3Y3f8/wT0BRFc1/KAVQ3TUHiXmaAb6VW9vtiMFf7SLoMd1PdAc4W3KFOFETBJUb90KatHqlsZMWV+R9Gg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@exodus/bytes": "^1.6.0" + }, + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=24.0.0" + } + }, + "node_modules/http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/is-potential-custom-element-name": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", + "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/jsdom": { + "version": "27.4.0", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-27.4.0.tgz", + "integrity": "sha512-mjzqwWRD9Y1J1KUi7W97Gja1bwOOM5Ug0EZ6UDK3xS7j7mndrkwozHtSblfomlzyB4NepioNt+B2sOSzczVgtQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@acemir/cssom": "^0.9.28", + "@asamuzakjp/dom-selector": "^6.7.6", + "@exodus/bytes": "^1.6.0", + "cssstyle": "^5.3.4", + "data-urls": "^6.0.0", + "decimal.js": "^10.6.0", + "html-encoding-sniffer": "^6.0.0", + "http-proxy-agent": "^7.0.2", + "https-proxy-agent": "^7.0.6", + "is-potential-custom-element-name": "^1.0.1", + "parse5": "^8.0.0", + "saxes": "^6.0.0", + "symbol-tree": "^3.2.4", + "tough-cookie": "^6.0.0", + "w3c-xmlserializer": "^5.0.0", + "webidl-conversions": "^8.0.0", + "whatwg-mimetype": "^4.0.0", + "whatwg-url": "^15.1.0", + "ws": "^8.18.3", + "xml-name-validator": "^5.0.0" + }, + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=24.0.0" + }, + "peerDependencies": { + "canvas": "^3.0.0" + }, + "peerDependenciesMeta": { + "canvas": { + "optional": true + } + } + }, + "node_modules/loupe": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz", + "integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/lru-cache": { + "version": "11.2.6", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.6.tgz", + "integrity": "sha512-ESL2CrkS/2wTPfuend7Zhkzo2u0daGJ/A2VucJOgQ/C48S/zB8MMeMHSGKYpXhIjbPxfuezITkaBH1wqv00DDQ==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/magic-string": { + "version": "0.30.21", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.5" + } + }, + "node_modules/mdn-data": { + "version": "2.12.2", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.12.2.tgz", + "integrity": "sha512-IEn+pegP1aManZuckezWCO+XZQDplx1366JoVhTpMpBB1sPey/SbveZQUosKiKiGYjg1wH4pMlNgXbCiYgihQA==", + "dev": true, + "license": "CC0-1.0" + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/nanoid": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/parse5": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-8.0.0.tgz", + "integrity": "sha512-9m4m5GSgXjL4AjumKzq1Fgfp3Z8rsvjRNbnkVwfu2ImRqE5D0LnY2QfDen18FSY9C573YU5XxSapdHZTZ2WolA==", + "dev": true, + "license": "MIT", + "dependencies": { + "entities": "^6.0.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/pathe": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz", + "integrity": "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/pathval": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz", + "integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14.16" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/postcss": { + "version": "8.5.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", + "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==", + "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" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.11", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "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, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "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, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/rollup": { + "version": "4.57.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.57.1.tgz", + "integrity": "sha512-oQL6lgK3e2QZeQ7gcgIkS2YZPg5slw37hYufJ3edKlfQSGGm8ICoxswK15ntSzF/a8+h7ekRy7k7oWc3BQ7y8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.8" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.57.1", + "@rollup/rollup-android-arm64": "4.57.1", + "@rollup/rollup-darwin-arm64": "4.57.1", + "@rollup/rollup-darwin-x64": "4.57.1", + "@rollup/rollup-freebsd-arm64": "4.57.1", + "@rollup/rollup-freebsd-x64": "4.57.1", + "@rollup/rollup-linux-arm-gnueabihf": "4.57.1", + "@rollup/rollup-linux-arm-musleabihf": "4.57.1", + "@rollup/rollup-linux-arm64-gnu": "4.57.1", + "@rollup/rollup-linux-arm64-musl": "4.57.1", + "@rollup/rollup-linux-loong64-gnu": "4.57.1", + "@rollup/rollup-linux-loong64-musl": "4.57.1", + "@rollup/rollup-linux-ppc64-gnu": "4.57.1", + "@rollup/rollup-linux-ppc64-musl": "4.57.1", + "@rollup/rollup-linux-riscv64-gnu": "4.57.1", + "@rollup/rollup-linux-riscv64-musl": "4.57.1", + "@rollup/rollup-linux-s390x-gnu": "4.57.1", + "@rollup/rollup-linux-x64-gnu": "4.57.1", + "@rollup/rollup-linux-x64-musl": "4.57.1", + "@rollup/rollup-openbsd-x64": "4.57.1", + "@rollup/rollup-openharmony-arm64": "4.57.1", + "@rollup/rollup-win32-arm64-msvc": "4.57.1", + "@rollup/rollup-win32-ia32-msvc": "4.57.1", + "@rollup/rollup-win32-x64-gnu": "4.57.1", + "@rollup/rollup-win32-x64-msvc": "4.57.1", + "fsevents": "~2.3.2" + } + }, + "node_modules/saxes": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz", + "integrity": "sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==", + "dev": true, + "license": "ISC", + "dependencies": { + "xmlchars": "^2.2.0" + }, + "engines": { + "node": ">=v12.22.7" + } + }, + "node_modules/siginfo": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz", + "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==", + "dev": true, + "license": "ISC" + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stackback": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz", + "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==", + "dev": true, + "license": "MIT" + }, + "node_modules/std-env": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz", + "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==", + "dev": true, + "license": "MIT" + }, + "node_modules/symbol-tree": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", + "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", + "dev": true, + "license": "MIT" + }, + "node_modules/tinybench": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz", + "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==", + "dev": true, + "license": "MIT" + }, + "node_modules/tinyexec": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz", + "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/tinypool": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz", + "integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.0.0 || >=20.0.0" + } + }, + "node_modules/tinyrainbow": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-1.2.0.tgz", + "integrity": "sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/tinyspy": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-3.0.2.tgz", + "integrity": "sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/tldts": { + "version": "7.0.23", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.0.23.tgz", + "integrity": "sha512-ASdhgQIBSay0R/eXggAkQ53G4nTJqTXqC2kbaBbdDwM7SkjyZyO0OaaN1/FH7U/yCeqOHDwFO5j8+Os/IS1dXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "tldts-core": "^7.0.23" + }, + "bin": { + "tldts": "bin/cli.js" + } + }, + "node_modules/tldts-core": { + "version": "7.0.23", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.0.23.tgz", + "integrity": "sha512-0g9vrtDQLrNIiCj22HSe9d4mLVG3g5ph5DZ8zCKBr4OtrspmNB6ss7hVyzArAeE88ceZocIEGkyW1Ime7fxPtQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/tough-cookie": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-6.0.0.tgz", + "integrity": "sha512-kXuRi1mtaKMrsLUxz3sQYvVl37B0Ns6MzfrtV5DvJceE9bPyspOqk9xxv7XbZWcfLWbFmm997vl83qUWVJA64w==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "tldts": "^7.0.5" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/tr46": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-6.0.0.tgz", + "integrity": "sha512-bLVMLPtstlZ4iMQHpFHTR7GAGj2jxi8Dg0s2h2MafAE4uSWF98FC/3MomU51iQAMf8/qDUbKWf5GxuvvVcXEhw==", + "dev": true, + "license": "MIT", + "dependencies": { + "punycode": "^2.3.1" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/vite": { + "version": "5.4.21", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz", + "integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.21.3", + "postcss": "^8.4.43", + "rollup": "^4.20.0" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || >=20.0.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "node_modules/vite-node": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-2.1.9.tgz", + "integrity": "sha512-AM9aQ/IPrW/6ENLQg3AGY4K1N2TGZdR5e4gu/MmmR2xR3Ll1+dib+nook92g4TV3PXVyeyxdWwtaCAiUL0hMxA==", + "dev": true, + "license": "MIT", + "dependencies": { + "cac": "^6.7.14", + "debug": "^4.3.7", + "es-module-lexer": "^1.5.4", + "pathe": "^1.1.2", + "vite": "^5.0.0" + }, + "bin": { + "vite-node": "vite-node.mjs" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/vitest": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.1.9.tgz", + "integrity": "sha512-MSmPM9REYqDGBI8439mA4mWhV5sKmDlBKWIYbA3lRb2PTHACE0mgKwA8yQ2xq9vxDTuk4iPrECBAEW2aoFXY0Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@vitest/expect": "2.1.9", + "@vitest/mocker": "2.1.9", + "@vitest/pretty-format": "^2.1.9", + "@vitest/runner": "2.1.9", + "@vitest/snapshot": "2.1.9", + "@vitest/spy": "2.1.9", + "@vitest/utils": "2.1.9", + "chai": "^5.1.2", + "debug": "^4.3.7", + "expect-type": "^1.1.0", + "magic-string": "^0.30.12", + "pathe": "^1.1.2", + "std-env": "^3.8.0", + "tinybench": "^2.9.0", + "tinyexec": "^0.3.1", + "tinypool": "^1.0.1", + "tinyrainbow": "^1.2.0", + "vite": "^5.0.0", + "vite-node": "2.1.9", + "why-is-node-running": "^2.3.0" + }, + "bin": { + "vitest": "vitest.mjs" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "@edge-runtime/vm": "*", + "@types/node": "^18.0.0 || >=20.0.0", + "@vitest/browser": "2.1.9", + "@vitest/ui": "2.1.9", + "happy-dom": "*", + "jsdom": "*" + }, + "peerDependenciesMeta": { + "@edge-runtime/vm": { + "optional": true + }, + "@types/node": { + "optional": true + }, + "@vitest/browser": { + "optional": true + }, + "@vitest/ui": { + "optional": true + }, + "happy-dom": { + "optional": true + }, + "jsdom": { + "optional": true + } + } + }, + "node_modules/w3c-xmlserializer": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz", + "integrity": "sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "xml-name-validator": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/webidl-conversions": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-8.0.1.tgz", + "integrity": "sha512-BMhLD/Sw+GbJC21C/UgyaZX41nPt8bUTg+jWyDeg7e7YN4xOM05YPSIXceACnXVtqyEw/LMClUQMtMZ+PGGpqQ==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=20" + } + }, + "node_modules/whatwg-mimetype": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz", + "integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/whatwg-url": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-15.1.0.tgz", + "integrity": "sha512-2ytDk0kiEj/yu90JOAp44PVPUkO9+jVhyf+SybKlRHSDlvOOZhdPIrr7xTH64l4WixO2cP+wQIcgujkGBPPz6g==", + "dev": true, + "license": "MIT", + "dependencies": { + "tr46": "^6.0.0", + "webidl-conversions": "^8.0.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/why-is-node-running": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz", + "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==", + "dev": true, + "license": "MIT", + "dependencies": { + "siginfo": "^2.0.0", + "stackback": "0.0.2" + }, + "bin": { + "why-is-node-running": "cli.js" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ws": { + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.19.0.tgz", + "integrity": "sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/xml-name-validator": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-5.0.0.tgz", + "integrity": "sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", + "dev": true, + "license": "MIT" + } + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/package.json b/plugins/_bundled/sirsoft-tosspayments/package.json new file mode 100644 index 00000000..75ec38d8 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/package.json @@ -0,0 +1,19 @@ +{ + "name": "@g7/sirsoft-tosspayments", + "version": "1.0.0-beta.4", + "type": "module", + "private": true, + "scripts": { + "dev": "vite", + "build": "vite build", + "preview": "vite preview", + "test": "vitest", + "test:run": "vitest run" + }, + "devDependencies": { + "jsdom": "^27.4.0", + "typescript": "^5.3.3", + "vite": "^5.4.14", + "vitest": "^2.1.8" + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/plugin.json b/plugins/_bundled/sirsoft-tosspayments/plugin.json new file mode 100644 index 00000000..cea1dbd9 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/plugin.json @@ -0,0 +1,34 @@ +{ + "identifier": "sirsoft-tosspayments", + "vendor": "sirsoft", + "name": { + "ko": "토스페이먼츠", + "en": "TossPayments" + }, + "version": "1.0.0-beta.4", + "license": "MIT", + "description": { + "ko": "토스페이먼츠 결제 게이트웨이 (통합결제창 연동)", + "en": "TossPayments gateway (integrated payment window)" + }, + "g7_version": ">=7.0.0-beta.2", + "dependencies": { + "modules": { + "sirsoft-ecommerce": ">=1.0.0-beta.4" + }, + "plugins": {} + }, + "github_url": "https://github.com/gnuboard/g7-plugin-sirsoft-tosspayments", + "github_changelog_url": "https://github.com/gnuboard/g7-plugin-sirsoft-tosspayments/blob/main/CHANGELOG.md", + "assets": { + "js": { + "entry": "resources/js/index.ts", + "output": "dist/js/plugin.iife.js" + }, + "handlers": true + }, + "loading": { + "strategy": "global", + "priority": 100 + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/plugin.php b/plugins/_bundled/sirsoft-tosspayments/plugin.php new file mode 100644 index 00000000..53a6eee1 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/plugin.php @@ -0,0 +1,159 @@ + 'Sirsoft', + 'license' => 'MIT', + 'homepage' => 'https://sir.kr', + 'keywords' => ['payment', 'tosspayments', 'pg', 'card', 'ecommerce'], + ]; + } + + /** + * 환경설정 스키마 반환 + * + * @return array 설정 스키마 + */ + public function getSettingsSchema(): array + { + return [ + 'is_test_mode' => [ + 'type' => 'boolean', + 'default' => true, + 'label' => ['ko' => '테스트 모드', 'en' => 'Test Mode'], + 'hint' => [ + 'ko' => '테스트 모드에서는 실제 결제가 발생하지 않습니다.', + 'en' => 'No real payments occur in test mode.', + ], + ], + 'test_client_key' => [ + 'type' => 'string', + 'default' => '', + 'label' => ['ko' => '테스트 클라이언트 키', 'en' => 'Test Client Key'], + 'hint' => [ + 'ko' => '개발자센터 > API 개별 연동 키에서 확인', + 'en' => 'Found in Developer Center > API Keys', + ], + ], + 'test_secret_key' => [ + 'type' => 'string', + 'default' => '', + 'sensitive' => true, + 'label' => ['ko' => '테스트 시크릿 키', 'en' => 'Test Secret Key'], + 'hint' => [ + 'ko' => '외부에 노출되지 않도록 주의하세요.', + 'en' => 'Keep this key secret.', + ], + ], + 'live_client_key' => [ + 'type' => 'string', + 'default' => '', + 'label' => ['ko' => '라이브 클라이언트 키', 'en' => 'Live Client Key'], + ], + 'live_secret_key' => [ + 'type' => 'string', + 'default' => '', + 'sensitive' => true, + 'label' => ['ko' => '라이브 시크릿 키', 'en' => 'Live Secret Key'], + 'hint' => [ + 'ko' => '외부에 노출되지 않도록 주의하세요.', + 'en' => 'Keep this key secret.', + ], + ], + 'redirect_success_url' => [ + 'type' => 'string', + 'default' => '/shop/orders/{orderId}/complete', + 'label' => ['ko' => '결제 성공 리다이렉트 URL', 'en' => 'Payment Success Redirect URL'], + 'hint' => [ + 'ko' => '상대 경로(/shop/...) 또는 전체 URL(https://...) 모두 가능합니다. {orderId}는 주문번호로 자동 치환됩니다.', + 'en' => 'Supports relative paths (/shop/...) or full URLs (https://...). {orderId} will be replaced with the actual order number.', + ], + ], + 'redirect_fail_url' => [ + 'type' => 'string', + 'default' => '/shop/checkout', + 'label' => ['ko' => '결제 실패 리다이렉트 URL', 'en' => 'Payment Failure Redirect URL'], + 'hint' => [ + 'ko' => '상대 경로 또는 전체 URL 모두 가능합니다. 오류 정보는 쿼리 파라미터로 자동 추가됩니다.', + 'en' => 'Supports relative paths or full URLs. Error details are appended as query parameters.', + ], + ], + ]; + } + + /** + * 기본 설정값 반환 + * + * @return array 기본 설정값 + */ + public function getConfigValues(): array + { + return [ + 'is_test_mode' => true, + 'test_client_key' => '', + 'test_secret_key' => '', + 'live_client_key' => '', + 'live_secret_key' => '', + 'redirect_success_url' => '/shop/orders/{orderId}/complete', + 'redirect_fail_url' => '/shop/checkout', + ]; + } + + /** + * 훅 리스너 클래스 반환 + * + * @return array 리스너 클래스 목록 + */ + public function getHookListeners(): array + { + return [ + Listeners\RegisterPgProviderListener::class, + Listeners\PaymentRefundListener::class, + ]; + } + + /** + * 훅 정의 반환 + * + * @return array 훅 정의 + */ + public function getHooks(): array + { + return [ + [ + 'name' => 'sirsoft-tosspayments.payment.before_confirm', + 'type' => 'action', + 'description' => [ + 'ko' => '토스페이먼츠 결제 승인 API 호출 전', + 'en' => 'Before TossPayments confirm API call', + ], + ], + [ + 'name' => 'sirsoft-tosspayments.payment.after_confirm', + 'type' => 'action', + 'description' => [ + 'ko' => '토스페이먼츠 결제 승인 완료 후', + 'en' => 'After TossPayments confirm API completed', + ], + ], + ]; + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/resources/extensions/checkout-payment-error.json b/plugins/_bundled/sirsoft-tosspayments/resources/extensions/checkout-payment-error.json new file mode 100644 index 00000000..0fb8432c --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/resources/extensions/checkout-payment-error.json @@ -0,0 +1,141 @@ +{ + "extension_point": "shop_checkout_extensions", + "modals": [ + { + "id": "tosspayments_payment_error_modal", + "type": "composite", + "name": "Modal", + "props": { + "title": "$t:sirsoft-tosspayments.payment_error_title", + "size": "sm" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "text-center py-4" + }, + "children": [ + { + "type": "basic", + "name": "Icon", + "props": { + "name": "exclamation-circle", + "className": "text-red-500 text-4xl mb-4" + } + }, + { + "type": "basic", + "name": "P", + "props": { + "className": "text-gray-700 dark:text-gray-300" + }, + "text": "{{_local.paymentErrorMessage ?? ''}}" + } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "flex justify-center mt-6" + }, + "children": [ + { + "type": "basic", + "name": "Button", + "props": { + "type": "button", + "className": "px-6 py-2 bg-blue-600 text-white rounded-lg font-medium hover:bg-blue-700 transition-colors" + }, + "text": "$t:common.confirm", + "actions": [ + { + "type": "click", + "handler": "setState", + "params": { + "target": "_local.paymentErrorMessage", + "value": null + } + }, + { + "type": "click", + "handler": "closeModal", + "params": { + "id": "tosspayments_payment_error_modal" + } + } + ] + } + ] + } + ] + } + , + { + "id": "tosspayments_payment_cancel_modal", + "type": "composite", + "name": "Modal", + "props": { + "title": "$t:sirsoft-tosspayments.payment_cancel_title", + "size": "sm" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "text-center py-4" + }, + "children": [ + { + "type": "basic", + "name": "Icon", + "props": { + "name": "info-circle", + "className": "text-yellow-500 text-4xl mb-4" + } + }, + { + "type": "basic", + "name": "P", + "props": { + "className": "text-gray-700 dark:text-gray-300" + }, + "text": "$t:sirsoft-tosspayments.payment_cancelled_message" + } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "flex justify-center mt-6" + }, + "children": [ + { + "type": "basic", + "name": "Button", + "props": { + "type": "button", + "className": "px-6 py-2 bg-blue-600 text-white rounded-lg font-medium hover:bg-blue-700 transition-colors" + }, + "text": "$t:common.confirm", + "actions": [ + { + "type": "click", + "handler": "closeModal", + "params": { + "id": "tosspayments_payment_cancel_modal" + } + } + ] + } + ] + } + ] + } + ], + "priority": 100 +} diff --git a/plugins/_bundled/sirsoft-tosspayments/resources/js/__tests__/handlers/requestPayment.test.ts b/plugins/_bundled/sirsoft-tosspayments/resources/js/__tests__/handlers/requestPayment.test.ts new file mode 100644 index 00000000..ae367040 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/resources/js/__tests__/handlers/requestPayment.test.ts @@ -0,0 +1,190 @@ +// e2e:allow 정식 출시 시 제거된 번들 플러그인의 복원 — 신규 프론트 동작 없음 (결제창 진입은 PG 샌드박스 의존) +/** + * requestPayment 핸들러 테스트 + * + * 토스페이먼츠 결제창 호출 핸들러의 에러 처리 및 모달 열기 동작을 검증합니다. + */ +import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; +import { requestPaymentHandler } from '../../handlers/requestPayment'; + +const CLIENT_CONFIG_DATA = { + data: { + client_key: 'test_key', + sdk_url: 'https://example.com/sdk.js', + callback_urls: { success: '/success', fail: '/fail' }, + }, +}; + +describe('requestPaymentHandler', () => { + let mockG7Core: { + api: { get: ReturnType; post: ReturnType }; + state: { setLocal: ReturnType }; + modal: { open: ReturnType }; + }; + + beforeEach(() => { + mockG7Core = { + api: { + get: vi.fn().mockResolvedValue(CLIENT_CONFIG_DATA), + post: vi.fn().mockResolvedValue({ success: true }), + }, + state: { setLocal: vi.fn() }, + modal: { open: vi.fn() }, + }; + (window as any).G7Core = mockG7Core; + (window as any).TossPayments = undefined; + }); + + afterEach(() => { + delete (window as any).G7Core; + delete (window as any).TossPayments; + }); + + it('pgPaymentData가 없으면 조기 반환한다', async () => { + const consoleSpy = vi.spyOn(console, 'error').mockImplementation(() => {}); + + await requestPaymentHandler({ params: {} }); + + expect(consoleSpy).toHaveBeenCalledWith( + expect.stringContaining('pgPaymentData is required') + ); + expect(mockG7Core.state.setLocal).not.toHaveBeenCalled(); + expect(mockG7Core.modal.open).not.toHaveBeenCalled(); + + consoleSpy.mockRestore(); + }); + + it('SDK 에러 시 에러 메시지를 setState하고 모달을 연다', async () => { + const consoleSpy = vi.spyOn(console, 'error').mockImplementation(() => {}); + + // TossPayments SDK Mock — requestPayment에서 에러 발생 + const mockPayment = { + requestPayment: vi.fn().mockRejectedValue(new Error('Payment failed')), + }; + (window as any).TossPayments = vi.fn().mockReturnValue({ + payment: vi.fn().mockReturnValue(mockPayment), + }); + (window as any).TossPayments.ANONYMOUS = 'ANONYMOUS'; + + await requestPaymentHandler({ + params: { + pgPaymentData: { + order_number: 'ORD-001', + order_name: 'Test Order', + amount: 10000, + }, + }, + }); + + // setState로 에러 메시지 설정 + expect(mockG7Core.state.setLocal).toHaveBeenCalledWith({ + paymentErrorMessage: 'Payment failed', + isSubmittingOrder: false, + }); + + // 모달 열기 + expect(mockG7Core.modal.open).toHaveBeenCalledWith('tosspayments_payment_error_modal'); + + consoleSpy.mockRestore(); + }); + + describe('USER_CANCEL 처리', () => { + const setupUserCancel = () => { + const cancelError = new Error('User cancelled'); + (cancelError as any).code = 'USER_CANCEL'; + + const mockPayment = { + requestPayment: vi.fn().mockRejectedValue(cancelError), + }; + (window as any).TossPayments = vi.fn().mockReturnValue({ + payment: vi.fn().mockReturnValue(mockPayment), + }); + (window as any).TossPayments.ANONYMOUS = 'ANONYMOUS'; + }; + + const callWithCancel = () => { + setupUserCancel(); + + return requestPaymentHandler({ + params: { + pgPaymentData: { + order_number: 'ORD-002', + order_name: 'Test Order', + amount: 5000, + }, + }, + }); + }; + + it('사용자 취소 시 cancel-payment API를 호출한다', async () => { + const consoleInfoSpy = vi.spyOn(console, 'info').mockImplementation(() => {}); + const consoleErrorSpy = vi.spyOn(console, 'error').mockImplementation(() => {}); + + await callWithCancel(); + + expect(mockG7Core.api.post).toHaveBeenCalledWith( + '/modules/sirsoft-ecommerce/orders/ORD-002/cancel-payment', + { + cancel_code: 'USER_CANCEL', + cancel_message: 'User cancelled', + } + ); + + consoleInfoSpy.mockRestore(); + consoleErrorSpy.mockRestore(); + }); + + it('사용자 취소 시 로딩 상태를 해제한다', async () => { + const consoleInfoSpy = vi.spyOn(console, 'info').mockImplementation(() => {}); + const consoleErrorSpy = vi.spyOn(console, 'error').mockImplementation(() => {}); + + await callWithCancel(); + + expect(mockG7Core.state.setLocal).toHaveBeenCalledWith({ + isSubmittingOrder: false, + }); + + consoleInfoSpy.mockRestore(); + consoleErrorSpy.mockRestore(); + }); + + it('사용자 취소 시 취소 안내 모달을 연다', async () => { + const consoleInfoSpy = vi.spyOn(console, 'info').mockImplementation(() => {}); + const consoleErrorSpy = vi.spyOn(console, 'error').mockImplementation(() => {}); + + await callWithCancel(); + + expect(mockG7Core.modal.open).toHaveBeenCalledWith('tosspayments_payment_cancel_modal'); + // 에러 모달은 열리지 않아야 함 + expect(mockG7Core.modal.open).not.toHaveBeenCalledWith('tosspayments_payment_error_modal'); + + consoleInfoSpy.mockRestore(); + consoleErrorSpy.mockRestore(); + }); + + it('cancel-payment API 실패 시에도 모달은 정상 표시한다', async () => { + const consoleInfoSpy = vi.spyOn(console, 'info').mockImplementation(() => {}); + const consoleErrorSpy = vi.spyOn(console, 'error').mockImplementation(() => {}); + const consoleWarnSpy = vi.spyOn(console, 'warn').mockImplementation(() => {}); + + // cancel-payment API만 실패 + mockG7Core.api.post.mockRejectedValue(new Error('Network error')); + + await callWithCancel(); + + // API 실패해도 모달과 상태 리셋은 정상 동작 + expect(mockG7Core.state.setLocal).toHaveBeenCalledWith({ + isSubmittingOrder: false, + }); + expect(mockG7Core.modal.open).toHaveBeenCalledWith('tosspayments_payment_cancel_modal'); + expect(consoleWarnSpy).toHaveBeenCalledWith( + expect.stringContaining('Failed to record cancellation'), + expect.any(Error) + ); + + consoleInfoSpy.mockRestore(); + consoleErrorSpy.mockRestore(); + consoleWarnSpy.mockRestore(); + }); + }); +}); diff --git a/plugins/_bundled/sirsoft-tosspayments/resources/js/__tests__/layouts/pluginSettingsSemanticClasses.test.tsx b/plugins/_bundled/sirsoft-tosspayments/resources/js/__tests__/layouts/pluginSettingsSemanticClasses.test.tsx new file mode 100644 index 00000000..45e651e4 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/resources/js/__tests__/layouts/pluginSettingsSemanticClasses.test.tsx @@ -0,0 +1,122 @@ +/** + * @file pluginSettingsSemanticClasses.test.tsx + * @description sirsoft-tosspayments 환경설정 화면의 시맨틱 클래스 매핑 회귀 테스트 + * + * #399 Phase 1 전수 시맨틱화 당시 이 레이아웃의 클래스가 한 칸씩 밀려 순환 배치되었다: + * field_* 컨테이너(3열 그리드) → section-heading-md (그리드 아님, 제목 타이포) + * 섹션 H3(제목) → text-error-strong (에러 색) + * 에러 H3 → text-error-soft + * 에러 Li → grid-3col-responsive (리스트 항목에 그리드) + * + * 결과적으로 field_* 자식의 `lg:col-span-1/2` 가 부모 grid 부재로 무효화되어 + * 2열 폼 레이아웃이 무너졌다. 본 테스트는 각 노드가 자기 역할에 맞는 시맨틱 + * 클래스를 갖는지 고정한다. + * + * 시맨틱 클래스 정의 (templates/_bundled/sirsoft-admin_basic/src/styles/main.css): + * .grid-3col-responsive → @apply grid grid-cols-1 lg:grid-cols-3 gap-4 items-start + * .section-heading-md → @apply text-base font-semibold text-gray-900 dark:text-white + * .text-error-strong → @apply text-sm font-medium text-red-800 dark:text-red-200 + * .text-error-soft → @apply text-sm text-red-700 dark:text-red-300 + */ + +import { describe, it, expect } from 'vitest'; +import pluginSettingsLayout from '../../../layouts/admin/plugin_settings.json'; + +type Node = Record; + +/** 레이아웃 트리를 순회하며 술어를 만족하는 노드를 모두 수집한다. */ +function collect(node: unknown, predicate: (n: Node) => boolean, acc: Node[] = []): Node[] { + if (!node || typeof node !== 'object') { + return acc; + } + const value = node as Node; + if (predicate(value)) { + acc.push(value); + } + for (const child of Object.values(value)) { + collect(child, predicate, acc); + } + return acc; +} + +function classNameOf(node: Node | undefined): string { + const props = (node?.props ?? {}) as Record; + return typeof props.className === 'string' ? props.className : ''; +} + +/** `lg:col-span-*` 를 쓰는 2열 폼 필드 행 (토글 단독 행인 field_test_mode 는 제외). */ +const GRID_FIELD_IDS = [ + 'field_test_client_key', + 'field_test_secret_key', + 'field_live_client_key', + 'field_live_secret_key', + 'field_redirect_success_url', + 'field_redirect_fail_url', +]; + +describe('plugin_settings 시맨틱 클래스 매핑', () => { + describe('필드 행 컨테이너', () => { + it.each(GRID_FIELD_IDS)('%s 는 grid-3col-responsive 를 가져야 한다', (id) => { + const [node] = collect(pluginSettingsLayout, (n) => n.id === id); + expect(node).toBeDefined(); + expect(classNameOf(node)).toBe('grid-3col-responsive'); + }); + + it('자식의 lg:col-span-* 가 유효하도록 부모가 그리드 컨테이너여야 한다', () => { + for (const id of GRID_FIELD_IDS) { + const [parent] = collect(pluginSettingsLayout, (n) => n.id === id); + const children = (parent?.children ?? []) as Node[]; + const spans = children.map(classNameOf).filter((c) => c.includes('col-span')); + + // col-span 을 쓰는 자식이 있다면 부모는 반드시 그리드여야 한다. + if (spans.length > 0) { + expect(classNameOf(parent)).toBe('grid-3col-responsive'); + } + } + }); + }); + + describe('섹션 제목 H3', () => { + it('테스트/라이브/리다이렉트 섹션 제목은 section-heading-md 를 가져야 한다', () => { + const sectionHeadings = collect( + pluginSettingsLayout, + (n) => n.name === 'H3' && typeof n.text === 'string' && n.text.startsWith('$t:sirsoft-tosspayments.settings.section_'), + ); + + expect(sectionHeadings).toHaveLength(3); + for (const heading of sectionHeadings) { + expect(classNameOf(heading)).toBe('section-heading-md'); + } + }); + }); + + describe('검증 에러 영역', () => { + it('에러 제목 H3 는 text-error-strong 을 가져야 한다', () => { + const [errorHeading] = collect( + pluginSettingsLayout, + (n) => n.name === 'H3' && n.text === '$t:admin.plugins.settings.validation_error', + ); + + expect(errorHeading).toBeDefined(); + expect(classNameOf(errorHeading)).toBe('text-error-strong'); + }); + + it('에러 메시지 Li 는 text-error-soft 를 가져야 한다 (그리드 클래스 금지)', () => { + const items = collect(pluginSettingsLayout, (n) => n.name === 'Li'); + + expect(items.length).toBeGreaterThan(0); + for (const item of items) { + expect(classNameOf(item)).toBe('text-error-soft'); + } + }); + }); + + it('타이포그래피 시맨틱 클래스가 그리드 역할로 오용되지 않는다', () => { + const misused = collect( + pluginSettingsLayout, + (n) => n.id !== undefined && /^field_/.test(String(n.id)) && classNameOf(n) === 'section-heading-md', + ); + + expect(misused).toHaveLength(0); + }); +}); diff --git a/plugins/_bundled/sirsoft-tosspayments/resources/js/__tests__/layouts/pluginSettingsSticky.test.tsx b/plugins/_bundled/sirsoft-tosspayments/resources/js/__tests__/layouts/pluginSettingsSticky.test.tsx new file mode 100644 index 00000000..c5a8d2be --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/resources/js/__tests__/layouts/pluginSettingsSticky.test.tsx @@ -0,0 +1,56 @@ +/** + * @file pluginSettingsSticky.test.tsx + * @description sirsoft-tosspayments 플러그인 환경설정 화면 하단 저장 버튼 sticky 고정 테스트 + * + * 플러그인 환경설정(plugin_settings.json)의 하단 저장/취소 버튼 영역이 + * 긴 콘텐츠를 스크롤하는 동안에도 화면 하단에 고정되도록 sticky 클래스가 + * 적용되어 있는지 검증한다. + * + * 고정 스타일은 admin 템플릿의 `.sticky-footer-buttons` 시맨틱 클래스가 소유한다 + * (`@apply sticky bottom-0 z-10 ...`). 레이아웃은 유틸리티 클래스를 나열하지 않고 + * 이 시맨틱 클래스만 선언한다 (#399 Phase 1.5 전수 시맨틱화). + */ + +import { describe, it, expect } from 'vitest'; +import pluginSettingsLayout from '../../../layouts/admin/plugin_settings.json'; + +/** 레이아웃 트리에서 주어진 id 의 노드를 찾는다. */ +function findById(node: unknown, id: string): Record | undefined { + if (!node || typeof node !== 'object') { + return undefined; + } + const value = node as Record; + if (value.id === id) { + return value; + } + for (const child of Object.values(value)) { + const found = findById(child, id); + if (found) { + return found; + } + } + return undefined; +} + +function classNameOf(node: Record | undefined): string { + const props = (node?.props ?? {}) as Record; + return typeof props.className === 'string' ? props.className : ''; +} + +describe('plugin_settings 하단 버튼 sticky 고정', () => { + it('footer_buttons 에 sticky-footer-buttons 시맨틱 클래스가 존재해야 한다', () => { + const footer = findById(pluginSettingsLayout, 'footer_buttons'); + expect(footer).toBeDefined(); + + const className = classNameOf(footer); + expect(className).toContain('sticky-footer-buttons'); + }); + + it('footer_buttons 는 고정 스타일을 유틸리티 클래스로 직접 나열하지 않는다', () => { + const className = classNameOf(findById(pluginSettingsLayout, 'footer_buttons')); + const utilities = className.split(/\s+/).filter(Boolean); + + expect(utilities).not.toContain('bottom-0'); + expect(utilities).not.toContain('z-10'); + }); +}); diff --git a/plugins/_bundled/sirsoft-tosspayments/resources/js/handlers/index.ts b/plugins/_bundled/sirsoft-tosspayments/resources/js/handlers/index.ts new file mode 100644 index 00000000..ea290be2 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/resources/js/handlers/index.ts @@ -0,0 +1,11 @@ +import { requestPaymentHandler } from './requestPayment'; + +/** + * 토스페이먼츠 플러그인 핸들러 맵 + * + * ActionDispatcher에 등록될 핸들러 목록입니다. + * 네임스페이스 접두사(sirsoft-tosspayments.)는 index.ts에서 자동으로 추가됩니다. + */ +export const handlerMap: Record unknown> = { + requestPayment: requestPaymentHandler, +} as const; diff --git a/plugins/_bundled/sirsoft-tosspayments/resources/js/handlers/requestPayment.ts b/plugins/_bundled/sirsoft-tosspayments/resources/js/handlers/requestPayment.ts new file mode 100644 index 00000000..3572ac42 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/resources/js/handlers/requestPayment.ts @@ -0,0 +1,178 @@ +/** + * 토스페이먼츠 결제창 호출 핸들러 + * + * 체크아웃 레이아웃에서 주문 생성 API 성공 후 호출됩니다: + * handler: "sirsoft-tosspayments.requestPayment" + * params: { pgPaymentData: response.data.pg_payment_data } + * + * 호출 순서: + * 1. Client Config API 호출 → clientKey 획득 + * 2. TossPayments SDK 동적 로드 (미로드 시) + * 3. SDK 초기화 + payment 인스턴스 생성 + * 4. payment.requestPayment() 호출 → 통합결제창 오픈 + * 5. 결제 완료 시 브라우저가 successUrl/failUrl로 리다이렉트 + */ + +/* eslint-disable @typescript-eslint/no-explicit-any */ + +interface PgPaymentData { + order_number: string; + order_name: string; + amount: number; + currency?: string; + customer_name?: string; + customer_email?: string; + customer_phone?: string; + customer_key?: string | null; +} + +interface RequestPaymentParams { + pgPaymentData: PgPaymentData; +} + +interface ClientConfig { + client_key: string; + sdk_url: string; + callback_urls: { + success: string; + fail: string; + }; +} + +declare global { + interface Window { + TossPayments: any; + } +} + +/** + * 스크립트를 동적으로 로드합니다. + * + * @param src 스크립트 URL + * @returns Promise + */ +function loadScript(src: string): Promise { + return new Promise((resolve, reject) => { + // 이미 로드된 스크립트인지 확인 + if (document.querySelector(`script[src="${src}"]`)) { + resolve(); + return; + } + + const script = document.createElement('script'); + script.src = src; + script.async = true; + script.onload = () => resolve(); + script.onerror = () => reject(new Error(`Failed to load script: ${src}`)); + document.head.appendChild(script); + }); +} + +/** + * 토스페이먼츠 결제창 호출 핸들러 + * + * ActionDispatcher는 커스텀 핸들러를 (action, context) 시그니처로 호출합니다. + * params는 action.params에서 접근해야 합니다. + * + * @param action 액션 정의 (handler, params 등) + * @param _context 액션 컨텍스트 + */ +export async function requestPaymentHandler(action: any, _context?: any): Promise { + const { pgPaymentData } = (action.params || {}) as RequestPaymentParams; + + if (!pgPaymentData) { + console.error('[sirsoft-tosspayments] pgPaymentData is required'); + return; + } + + const G7Core = (window as any).G7Core; + + try { + // 1. Client Config API 호출 + const configJson = await G7Core.api.get('/modules/sirsoft-ecommerce/payments/client-config/tosspayments'); + + if (!configJson.data) { + console.error('[sirsoft-tosspayments] Failed to fetch client config', configJson); + return; + } + + const config: ClientConfig = configJson.data; + + // 2. SDK 동적 로드 (미로드 시) + if (!window.TossPayments) { + await loadScript(config.sdk_url); + } + + // SDK 로드 대기 (스크립트 로드 후 TossPayments 객체 초기화까지 약간의 시간 소요) + if (!window.TossPayments) { + await new Promise((resolve) => setTimeout(resolve, 100)); + } + + if (!window.TossPayments) { + console.error('[sirsoft-tosspayments] TossPayments SDK not available'); + return; + } + + // 3. SDK 초기화 + const tossPayments = window.TossPayments(config.client_key); + const payment = tossPayments.payment({ + customerKey: pgPaymentData.customer_key ?? window.TossPayments.ANONYMOUS, + }); + + // 4. 결제 요청 (통합결제창) + const origin = window.location.origin; + + await payment.requestPayment({ + method: 'CARD', + amount: { + currency: pgPaymentData.currency ?? 'KRW', + value: pgPaymentData.amount, + }, + orderId: pgPaymentData.order_number, + orderName: pgPaymentData.order_name, + successUrl: origin + config.callback_urls.success, + failUrl: origin + config.callback_urls.fail, + customerEmail: pgPaymentData.customer_email ?? undefined, + customerName: pgPaymentData.customer_name ?? undefined, + customerMobilePhone: pgPaymentData.customer_phone ?? undefined, + card: { + useEscrow: false, + flowMode: 'DEFAULT', + useCardPoint: false, + useAppCardOnly: false, + }, + }); + // → 브라우저가 successUrl 또는 failUrl로 리다이렉트됨 + + } catch (error: any) { + console.error('[sirsoft-tosspayments] requestPayment error', error); + + // SDK에서 사용자 취소 시 에러가 발생할 수 있음 + if (error?.code === 'USER_CANCEL') { + console.info('[sirsoft-tosspayments] Payment cancelled by user'); + + // 1. 결제 취소 이력 기록 API 호출 (PG사 응답값 전달) + try { + await G7Core.api.post( + `/modules/sirsoft-ecommerce/orders/${pgPaymentData.order_number}/cancel-payment`, + { + cancel_code: error.code, + cancel_message: error.message, + } + ); + } catch (e) { + console.warn('[sirsoft-tosspayments] Failed to record cancellation', e); + } + + // 2. 로딩 상태 해제 + 취소 안내 모달 표시 + G7Core?.state?.setLocal?.({ isSubmittingOrder: false }); + G7Core?.modal?.open?.('tosspayments_payment_cancel_modal'); + return; + } + + // 기타 에러 시 모달로 오류 표시 (체크아웃 페이지 유지) + const errorMessage = error?.message ?? 'Unknown error'; + G7Core?.state?.setLocal?.({ paymentErrorMessage: errorMessage, isSubmittingOrder: false }); + G7Core?.modal?.open?.('tosspayments_payment_error_modal'); + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/resources/js/index.ts b/plugins/_bundled/sirsoft-tosspayments/resources/js/index.ts new file mode 100644 index 00000000..ae8b2da6 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/resources/js/index.ts @@ -0,0 +1,108 @@ +/** + * 토스페이먼츠 플러그인 엔트리 + * + * ActionDispatcher에 핸들러를 등록하여 + * 레이아웃 JSON에서 "sirsoft-tosspayments.requestPayment" 형태로 호출할 수 있게 합니다. + */ + +import { handlerMap } from './handlers'; + +const PLUGIN_IDENTIFIER = 'sirsoft-tosspayments'; + +/** + * 로거 (G7Core 초기화 전에도 동작) + */ +const logger = { + info: (...args: unknown[]) => console.info(`[${PLUGIN_IDENTIFIER}]`, ...args), + warn: (...args: unknown[]) => console.warn(`[${PLUGIN_IDENTIFIER}]`, ...args), + error: (...args: unknown[]) => console.error(`[${PLUGIN_IDENTIFIER}]`, ...args), +}; + +/** + * ActionDispatcher에 핸들러를 등록합니다. + * + * @returns 등록된 핸들러 수 + */ +function registerHandlers(): number { + const g7Core = (window as Record).G7Core as Record | undefined; + + if (!g7Core) { + return 0; + } + + const getDispatcher = g7Core.getActionDispatcher as (() => Record) | undefined; + + if (typeof getDispatcher !== 'function') { + return 0; + } + + const dispatcher = getDispatcher() as Record | undefined; + + if (!dispatcher || typeof dispatcher.registerHandler !== 'function') { + return 0; + } + + let count = 0; + for (const [name, handler] of Object.entries(handlerMap)) { + const fullName = `${PLUGIN_IDENTIFIER}.${name}`; + dispatcher.registerHandler(fullName, handler, { + category: 'plugin', + source: PLUGIN_IDENTIFIER, + }); + count++; + } + + return count; +} + +/** + * 플러그인 초기화 + * + * DOMContentLoaded 후 ActionDispatcher가 준비되면 핸들러를 등록합니다. + * ActionDispatcher가 아직 준비되지 않았으면 최대 5초간 재시도합니다. + */ +function initPlugin(): void { + const doInit = () => { + const count = registerHandlers(); + + if (count > 0) { + logger.info(`${count} handler(s) registered`); + return; + } + + // ActionDispatcher 미준비 시 재시도 (100ms 간격, 최대 50회 = 5초) + let retries = 0; + const maxRetries = 50; + const interval = setInterval(() => { + retries++; + const result = registerHandlers(); + + if (result > 0) { + clearInterval(interval); + logger.info(`${result} handler(s) registered (after ${retries} retries)`); + return; + } + + if (retries >= maxRetries) { + clearInterval(interval); + logger.warn('ActionDispatcher not available after timeout'); + } + }, 100); + }; + + if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', doInit); + } else { + doInit(); + } +} + +// 자동 초기화 +initPlugin(); + +// 디버그용 글로벌 노출 +(window as Record).__SirsoftTosspayments = { + identifier: PLUGIN_IDENTIFIER, + handlers: Object.keys(handlerMap), + initPlugin, +}; diff --git a/plugins/_bundled/sirsoft-tosspayments/resources/lang/en.json b/plugins/_bundled/sirsoft-tosspayments/resources/lang/en.json new file mode 100644 index 00000000..cc8a4b16 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/resources/lang/en.json @@ -0,0 +1,40 @@ +{ + "editor": { + "data_source": { + "settings": "Payment Settings" + } + }, + "plugin_name": "TossPayments", + "plugin_description": "TossPayments gateway (integrated payment window)", + "settings": { + "title": "TossPayments Settings", + "description": "Configure TossPayments API keys.", + "test_mode": "Test Mode", + "test_mode_hint": "No real payments occur in test mode.", + "test_client_key": "Test Client Key", + "test_client_key_hint": "Found in Developer Center > API Keys", + "test_secret_key": "Test Secret Key", + "test_secret_key_hint": "Keep this key secret.", + "live_client_key": "Live Client Key", + "live_secret_key": "Live Secret Key", + "live_secret_key_hint": "Keep this key secret.", + "section_test_keys": "Test API Keys", + "section_live_keys": "Live API Keys", + "section_redirect": "Redirect Settings", + "redirect_success_url": "Payment Success Redirect URL", + "redirect_success_url_hint": "Supports relative paths (/shop/...) or full URLs (https://...). {orderId} will be replaced with the actual order number.", + "redirect_fail_url": "Payment Failure Redirect URL", + "redirect_fail_url_hint": "Supports relative paths or full URLs. Error details (error, message, orderId) are appended as query parameters.", + "save": "Save", + "saved": "Settings saved." + }, + "payment_error_title": "Payment Error", + "payment_cancel_title": "Payment Cancelled", + "payment_cancelled_message": "Payment has been cancelled. Please try again or choose a different payment method.", + "errors": { + "confirm_failed": "Payment confirmation failed.", + "amount_mismatch": "Payment amount does not match.", + "order_not_found": "Order not found.", + "payment_failed": "Payment failed." + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/resources/lang/ko.json b/plugins/_bundled/sirsoft-tosspayments/resources/lang/ko.json new file mode 100644 index 00000000..2a7a531c --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/resources/lang/ko.json @@ -0,0 +1,40 @@ +{ + "editor": { + "data_source": { + "settings": "결제 설정" + } + }, + "plugin_name": "토스페이먼츠", + "plugin_description": "토스페이먼츠 결제 게이트웨이 (통합결제창 연동)", + "settings": { + "title": "토스페이먼츠 설정", + "description": "토스페이먼츠 API 키를 설정합니다.", + "test_mode": "테스트 모드", + "test_mode_hint": "테스트 모드에서는 실제 결제가 발생하지 않습니다.", + "test_client_key": "테스트 클라이언트 키", + "test_client_key_hint": "개발자센터 > API 개별 연동 키에서 확인", + "test_secret_key": "테스트 시크릿 키", + "test_secret_key_hint": "외부에 노출되지 않도록 주의하세요.", + "live_client_key": "라이브 클라이언트 키", + "live_secret_key": "라이브 시크릿 키", + "live_secret_key_hint": "외부에 노출되지 않도록 주의하세요.", + "section_test_keys": "테스트 API 키", + "section_live_keys": "라이브 API 키", + "section_redirect": "리다이렉트 설정", + "redirect_success_url": "결제 성공 리다이렉트 URL", + "redirect_success_url_hint": "상대 경로(/shop/...) 또는 전체 URL(https://...) 모두 가능합니다. {orderId}는 실제 주문번호로 자동 치환됩니다.", + "redirect_fail_url": "결제 실패 리다이렉트 URL", + "redirect_fail_url_hint": "상대 경로 또는 전체 URL 모두 가능합니다. 오류 정보(error, message, orderId)는 쿼리 파라미터로 자동 추가됩니다.", + "save": "저장", + "saved": "설정이 저장되었습니다." + }, + "payment_error_title": "결제 오류", + "payment_cancel_title": "결제 취소", + "payment_cancelled_message": "결제가 취소되었습니다. 다시 결제를 시도하시거나 다른 결제 수단을 선택해 주세요.", + "errors": { + "confirm_failed": "결제 승인에 실패했습니다.", + "amount_mismatch": "결제 금액이 일치하지 않습니다.", + "order_not_found": "주문을 찾을 수 없습니다.", + "payment_failed": "결제에 실패했습니다." + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/resources/layouts/admin/plugin_settings.json b/plugins/_bundled/sirsoft-tosspayments/resources/layouts/admin/plugin_settings.json new file mode 100644 index 00000000..2aae64de --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/resources/layouts/admin/plugin_settings.json @@ -0,0 +1,730 @@ +{ + "version": "1.0.0", + "layout_name": "plugin_settings", + "permissions": [ + "core.plugins.update" + ], + "extends": "_admin_base", + "meta": { + "title": "$t:sirsoft-tosspayments.settings.title", + "description": "$t:sirsoft-tosspayments.settings.description" + }, + "data_sources": [ + { + "id": "settings", + "label_key": "$t:sirsoft-tosspayments.editor.data_source.settings", + "type": "api", + "endpoint": "/api/admin/plugins/{{route.identifier}}/settings", + "method": "GET", + "auto_fetch": true, + "auth_required": true, + "initLocal": "form", + "refetchOnMount": true + } + ], + "slots": { + "content": [ + { + "id": "plugin_settings_content", + "type": "basic", + "name": "Div", + "dataKey": "form", + "trackChanges": true, + "props": { + "className": "admin-page-content-responsive" + }, + "children": [ + { + "id": "page_header", + "type": "composite", + "name": "PageHeader", + "props": { + "title": "$t:sirsoft-tosspayments.settings.title", + "description": "$t:sirsoft-tosspayments.settings.description", + "backPath": "/admin/plugins", + "backLabel": "$t:admin.plugins.back_to_list" + } + }, + { + "id": "validation_error", + "type": "basic", + "name": "Div", + "if": "{{_local.errors}}", + "props": { + "className": "alert-danger" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "flex gap-3" + }, + "children": [ + { + "type": "basic", + "name": "Icon", + "props": { + "name": "triangle-exclamation", + "size": "md", + "className": "text-red-600 dark:text-red-400 flex-shrink-0 mt-0.5" + } + }, + { + "type": "basic", + "name": "Div", + "children": [ + { + "type": "basic", + "name": "H3", + "props": { + "className": "text-error-strong" + }, + "text": "$t:admin.plugins.settings.validation_error" + }, + { + "type": "basic", + "name": "Ul", + "if": "{{typeof _local.errors === 'object' && Object.keys(_local.errors).length > 0}}", + "props": { + "className": "mt-2 list-disc list-inside space-y-1" + }, + "iteration": { + "source": "Object.entries(_local.errors ?? {}).flatMap(([field, messages]) => Array.isArray(messages) ? messages : [messages])", + "item_var": "message" + }, + "children": [ + { + "type": "basic", + "name": "Li", + "props": { + "className": "text-error-soft" + }, + "text": "{{message}}" + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "test_mode_card", + "type": "basic", + "name": "Div", + "props": { + "className": "mt-6 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "p-6" + }, + "children": [ + { + "id": "field_test_mode", + "type": "basic", + "name": "Div", + "props": { + "className": "flex-between" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "children": [ + { + "type": "basic", + "name": "Label", + "props": { + "className": "form-label" + }, + "text": "$t:sirsoft-tosspayments.settings.test_mode" + }, + { + "type": "basic", + "name": "P", + "props": { + "className": "form-hint" + }, + "text": "$t:sirsoft-tosspayments.settings.test_mode_hint" + } + ] + }, + { + "type": "composite", + "name": "Toggle", + "props": { + "name": "is_test_mode" + } + } + ] + } + ] + } + ] + }, + { + "id": "test_keys_section", + "type": "basic", + "name": "Div", + "props": { + "className": "mt-6 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "panel-header-row" + }, + "children": [ + { + "type": "basic", + "name": "H3", + "props": { + "className": "section-heading-md" + }, + "text": "$t:sirsoft-tosspayments.settings.section_test_keys" + } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "p-6 space-y-6" + }, + "children": [ + { + "id": "field_test_client_key", + "type": "basic", + "name": "Div", + "props": { + "className": "grid-3col-responsive" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "lg:col-span-1" + }, + "children": [ + { + "type": "basic", + "name": "Label", + "props": { + "className": "form-label" + }, + "text": "$t:sirsoft-tosspayments.settings.test_client_key" + }, + { + "type": "basic", + "name": "P", + "props": { + "className": "form-hint" + }, + "text": "$t:sirsoft-tosspayments.settings.test_client_key_hint" + } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "lg:col-span-2" + }, + "children": [ + { + "type": "basic", + "name": "Input", + "props": { + "type": "text", + "name": "test_client_key", + "placeholder": "test_ck_...", + "className": "focus:border-transparent font-mono" + } + } + ] + } + ] + }, + { + "id": "field_test_secret_key", + "type": "basic", + "name": "Div", + "props": { + "className": "grid-3col-responsive" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "lg:col-span-1" + }, + "children": [ + { + "type": "basic", + "name": "Label", + "props": { + "className": "form-label" + }, + "text": "$t:sirsoft-tosspayments.settings.test_secret_key" + }, + { + "type": "basic", + "name": "P", + "props": { + "className": "form-hint" + }, + "text": "$t:sirsoft-tosspayments.settings.test_secret_key_hint" + } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "lg:col-span-2" + }, + "children": [ + { + "type": "basic", + "name": "Input", + "props": { + "type": "password", + "name": "test_secret_key", + "placeholder": "test_sk_...", + "className": "focus:border-transparent font-mono" + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "live_keys_section", + "type": "basic", + "name": "Div", + "props": { + "className": "mt-6 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "panel-header-row" + }, + "children": [ + { + "type": "basic", + "name": "H3", + "props": { + "className": "section-heading-md" + }, + "text": "$t:sirsoft-tosspayments.settings.section_live_keys" + } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "p-6 space-y-6" + }, + "children": [ + { + "id": "field_live_client_key", + "type": "basic", + "name": "Div", + "props": { + "className": "grid-3col-responsive" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "lg:col-span-1" + }, + "children": [ + { + "type": "basic", + "name": "Label", + "props": { + "className": "form-label" + }, + "text": "$t:sirsoft-tosspayments.settings.live_client_key" + } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "lg:col-span-2" + }, + "children": [ + { + "type": "basic", + "name": "Input", + "props": { + "type": "text", + "name": "live_client_key", + "placeholder": "live_ck_...", + "className": "focus:border-transparent font-mono" + } + } + ] + } + ] + }, + { + "id": "field_live_secret_key", + "type": "basic", + "name": "Div", + "props": { + "className": "grid-3col-responsive" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "lg:col-span-1" + }, + "children": [ + { + "type": "basic", + "name": "Label", + "props": { + "className": "form-label" + }, + "text": "$t:sirsoft-tosspayments.settings.live_secret_key" + }, + { + "type": "basic", + "name": "P", + "props": { + "className": "form-hint" + }, + "text": "$t:sirsoft-tosspayments.settings.live_secret_key_hint" + } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "lg:col-span-2" + }, + "children": [ + { + "type": "basic", + "name": "Input", + "props": { + "type": "password", + "name": "live_secret_key", + "placeholder": "live_sk_...", + "className": "focus:border-transparent font-mono" + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "redirect_section", + "type": "basic", + "name": "Div", + "props": { + "className": "mt-6 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "panel-header-row" + }, + "children": [ + { + "type": "basic", + "name": "H3", + "props": { + "className": "section-heading-md" + }, + "text": "$t:sirsoft-tosspayments.settings.section_redirect" + } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "p-6 space-y-6" + }, + "children": [ + { + "id": "field_redirect_success_url", + "type": "basic", + "name": "Div", + "props": { + "className": "grid-3col-responsive" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "lg:col-span-1" + }, + "children": [ + { + "type": "basic", + "name": "Label", + "props": { + "className": "form-label" + }, + "text": "$t:sirsoft-tosspayments.settings.redirect_success_url" + }, + { + "type": "basic", + "name": "P", + "props": { + "className": "form-hint" + }, + "text": "$t:sirsoft-tosspayments.settings.redirect_success_url_hint" + } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "lg:col-span-2" + }, + "children": [ + { + "type": "basic", + "name": "Input", + "props": { + "type": "text", + "name": "redirect_success_url", + "placeholder": "/shop/orders/{orderId}/complete", + "className": "focus:border-transparent" + } + } + ] + } + ] + }, + { + "id": "field_redirect_fail_url", + "type": "basic", + "name": "Div", + "props": { + "className": "grid-3col-responsive" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "lg:col-span-1" + }, + "children": [ + { + "type": "basic", + "name": "Label", + "props": { + "className": "form-label" + }, + "text": "$t:sirsoft-tosspayments.settings.redirect_fail_url" + }, + { + "type": "basic", + "name": "P", + "props": { + "className": "form-hint" + }, + "text": "$t:sirsoft-tosspayments.settings.redirect_fail_url_hint" + } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "lg:col-span-2" + }, + "children": [ + { + "type": "basic", + "name": "Input", + "props": { + "type": "text", + "name": "redirect_fail_url", + "placeholder": "/shop/checkout", + "className": "focus:border-transparent" + } + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "footer_buttons", + "type": "basic", + "name": "Div", + "props": { + "className": "sticky-footer-buttons" + }, + "children": [ + { + "id": "cancel_button", + "type": "basic", + "name": "Button", + "props": { + "className": "btn btn-secondary" + }, + "actions": [ + { + "type": "click", + "handler": "navigate", + "params": { + "path": "/admin/plugins" + } + } + ], + "children": [ + { + "type": "basic", + "name": "Span", + "text": "$t:common.cancel" + } + ] + }, + { + "id": "save_button", + "type": "basic", + "name": "Button", + "props": { + "disabled": "{{!_local.hasChanges || _local.isSaving}}", + "className": "btn btn-primary flex-center gap-1.5" + }, + "actions": [ + { + "type": "click", + "handler": "sequence", + "actions": [ + { + "handler": "setState", + "params": { + "target": "local", + "isSaving": true, + "errors": null + } + }, + { + "handler": "apiCall", + "auth_required": true, + "target": "/api/admin/plugins/{{route.identifier}}/settings", + "params": { + "method": "PUT", + "body": "{{_local.form}}" + }, + "onSuccess": [ + { + "handler": "setState", + "params": { + "target": "local", + "isSaving": false, + "hasChanges": false + } + }, + { + "handler": "toast", + "params": { + "type": "success", + "message": "$t:admin.plugins.settings.save_success" + } + }, + { + "handler": "refetchDataSource", + "params": { + "dataSourceId": "settings" + } + } + ], + "onError": [ + { + "handler": "setState", + "params": { + "target": "local", + "isSaving": false, + "errors": "{{$error.errors}}" + } + }, + { + "handler": "toast", + "params": { + "type": "error", + "message": "$t:admin.plugins.settings.save_error" + } + } + ] + } + ] + } + ], + "children": [ + { + "type": "basic", + "name": "Icon", + "if": "{{_local.isSaving}}", + "props": { + "name": "spinner", + "className": "spinner-sm" + } + }, + { + "type": "basic", + "name": "Span", + "if": "{{!_local.isSaving}}", + "text": "$t:common.save" + }, + { + "type": "basic", + "name": "Span", + "if": "{{_local.isSaving}}", + "text": "$t:common.saving" + } + ] + } + ] + } + ] + } + ] + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/src/Controllers/PaymentCallbackController.php b/plugins/_bundled/sirsoft-tosspayments/src/Controllers/PaymentCallbackController.php new file mode 100644 index 00000000..ec8d1930 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/src/Controllers/PaymentCallbackController.php @@ -0,0 +1,237 @@ + '기업 BC', + '46' => '광주', + '71' => '롯데', + '30' => '산업', + '31' => '비씨', + '51' => '삼성', + '38' => '새마을금고', + '41' => '신한', + '62' => '신협', + '36' => '씨티', + '33' => '우리', + 'W1' => '우리', + '37' => '우체국', + '39' => '저축', + '35' => '전북', + '42' => '제주', + '15' => '카카오뱅크', + '3A' => '케이뱅크', + '24' => '토스뱅크', + '21' => '하나', + '61' => '현대', + '11' => 'KB국민', + '91' => 'NH농협', + '34' => 'Sh수협', + ]; + + public function __construct( + private OrderProcessingService $orderService, + private PluginSettingsService $pluginSettingsService, + private TossPaymentsApiService $apiService, + ) {} + + /** + * 토스페이먼츠 결제 성공 콜백 + * + * GET /plugins/sirsoft-tosspayments/payment/success + * ?paymentKey={PK}&orderId={OID}&amount={AMT} + * + * @param SuccessCallbackRequest $request 검증된 콜백 요청 + * @return RedirectResponse SPA 페이지로 리다이렉트 + */ + public function success(SuccessCallbackRequest $request): RedirectResponse + { + $validated = $request->validated(); + $paymentKey = $validated['paymentKey']; + $orderId = $validated['orderId']; + $pgAmount = $validated['amount']; + + try { + // 1. 주문 조회 (주문번호 기반) + $order = $this->orderService->findByOrderNumber($orderId); + + if (! $order) { + Log::error('TossPayments: order not found', ['orderId' => $orderId]); + + return redirect($this->resolveFailUrl(['error' => 'order_not_found', 'orderId' => $orderId])); + } + + // 2. TossPayments Confirm API 호출 + HookManager::doAction('sirsoft-tosspayments.payment.before_confirm', $order, $paymentKey, $pgAmount); + + $pgResponse = $this->apiService->confirmPayment($paymentKey, $orderId, $pgAmount); + + HookManager::doAction('sirsoft-tosspayments.payment.after_confirm', $order, $pgResponse); + + // 3. 주문 상태 업데이트 (금액 검증 + PG 응답 → order_payments 매핑) + $this->orderService->completePayment($order, [ + 'transaction_id' => $pgResponse['paymentKey'] ?? null, + 'card_approval_number' => $pgResponse['card']['approveNo'] ?? null, + 'card_number_masked' => $pgResponse['card']['number'] ?? null, + 'card_name' => $this->resolveCardIssuer($pgResponse['card']['issuerCode'] ?? null), + 'card_installment_months' => $pgResponse['card']['installmentPlanMonths'] ?? 0, + 'is_interest_free' => $pgResponse['card']['isInterestFree'] ?? false, + 'embedded_pg_provider' => $pgResponse['easyPay']['provider'] ?? null, + 'receipt_url' => $pgResponse['receipt']['url'] ?? null, + 'payment_meta' => [ + 'method' => $pgResponse['method'] ?? null, + 'pg_raw_response' => $pgResponse, + ], + 'payment_device' => DeviceDetector::detect($request), + ], $pgAmount); + + // 4. SPA 주문 완료 페이지로 redirect + return redirect($this->resolveSuccessUrl($orderId)); + + } catch (PaymentAmountMismatchException $e) { + Log::error('TossPayments: amount mismatch', [ + 'orderId' => $orderId, + 'expected' => $e->getExpectedAmount(), + 'actual' => $e->getActualAmount(), + 'context' => $e->getContext(), + ]); + + return redirect($this->resolveFailUrl([ + 'error' => 'amount_mismatch', + 'orderId' => $orderId, + ])); + + } catch (\Exception $e) { + Log::error('TossPayments: confirm failed', [ + 'orderId' => $orderId, + 'error' => $e->getMessage(), + 'code' => $e->getCode(), + ]); + + return redirect($this->resolveFailUrl([ + 'error' => 'confirm_failed', + 'message' => $e->getMessage(), + 'orderId' => $orderId, + ])); + } + } + + /** + * 토스페이먼츠 결제 실패 콜백 + * + * GET /plugins/sirsoft-tosspayments/payment/fail + * ?code={ERR}&message={MSG}&orderId={OID} + * + * @param FailCallbackRequest $request 검증된 콜백 요청 + * @return RedirectResponse SPA 체크아웃 페이지로 리다이렉트 + */ + public function fail(FailCallbackRequest $request): RedirectResponse + { + $validated = $request->validated(); + $code = $validated['code'] ?? 'UNKNOWN'; + $message = $validated['message'] ?? ''; + $orderId = $validated['orderId'] ?? null; + + Log::warning('TossPayments: payment failed', [ + 'code' => $code, + 'message' => $message, + 'orderId' => $orderId, + ]); + + if ($orderId) { + $order = $this->orderService->findByOrderNumber($orderId); + + if ($order) { + $this->orderService->failPayment($order, $code, $message); + } + } + + return redirect($this->resolveFailUrl([ + 'error' => $code, + 'message' => $message, + 'orderId' => $orderId, + ])); + } + + /** + * 카드 발급사 코드 → 이름 변환 + * + * @param string|null $issuerCode 발급사 코드 + * @return string|null 카드사명 + */ + private function resolveCardIssuer(?string $issuerCode): ?string + { + if ($issuerCode === null) { + return null; + } + + return self::CARD_ISSUER_MAP[$issuerCode] ?? $issuerCode; + } + + /** + * 결제 성공 리다이렉트 URL 생성 + * + * @param string $orderId 주문번호 + * @return string 리다이렉트 URL + */ + private function resolveSuccessUrl(string $orderId): string + { + $settings = $this->pluginSettingsService->get(self::PLUGIN_IDENTIFIER) ?? []; + $urlTemplate = $settings['redirect_success_url'] ?? '/shop/orders/{orderId}/complete'; + + return str_replace('{orderId}', $orderId, $urlTemplate); + } + + /** + * 결제 실패 리다이렉트 URL 생성 + * + * @param array $queryParams 쿼리 파라미터 + * @return string 리다이렉트 URL + */ + private function resolveFailUrl(array $queryParams = []): string + { + $settings = $this->pluginSettingsService->get(self::PLUGIN_IDENTIFIER) ?? []; + $baseUrl = $settings['redirect_fail_url'] ?? '/shop/checkout'; + + if (empty($queryParams)) { + return $baseUrl; + } + + $query = http_build_query(array_filter($queryParams)); + $separator = str_contains($baseUrl, '?') ? '&' : '?'; + + return $baseUrl . $separator . $query; + } + + /** + * 결제 디바이스 판별 (User-Agent 기반) + * + * @param Request $request HTTP 요청 + * @return string 디바이스 유형 (pc/mobile) + */ +} diff --git a/plugins/_bundled/sirsoft-tosspayments/src/Http/Requests/FailCallbackRequest.php b/plugins/_bundled/sirsoft-tosspayments/src/Http/Requests/FailCallbackRequest.php new file mode 100644 index 00000000..56df480a --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/src/Http/Requests/FailCallbackRequest.php @@ -0,0 +1,51 @@ +> + */ + public function rules(): array + { + return [ + 'code' => ['nullable', 'string'], + 'message' => ['nullable', 'string'], + 'orderId' => ['nullable', 'string'], + ]; + } + + /** + * 검증 전 기본값 설정 + * + * @return void + */ + protected function prepareForValidation(): void + { + $this->mergeIfMissing([ + 'code' => 'UNKNOWN', + 'message' => '', + ]); + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/src/Http/Requests/SuccessCallbackRequest.php b/plugins/_bundled/sirsoft-tosspayments/src/Http/Requests/SuccessCallbackRequest.php new file mode 100644 index 00000000..bd5520ef --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/src/Http/Requests/SuccessCallbackRequest.php @@ -0,0 +1,62 @@ +> + */ + public function rules(): array + { + return [ + 'paymentKey' => ['required', 'string'], + 'orderId' => ['required', 'string'], + 'amount' => ['required', 'integer', 'min:1'], + ]; + } + + /** + * 검증 실패 시 결제 실패 페이지로 리다이렉트 + * + * PG 콜백은 브라우저 리다이렉트이므로 422 대신 실패 페이지로 이동합니다. + * + * @param Validator $validator 검증기 인스턴스 + * @return void + * @throws HttpResponseException + */ + protected function failedValidation(Validator $validator): void + { + $settings = plugin_settings(self::PLUGIN_IDENTIFIER); + $baseUrl = $settings['redirect_fail_url'] ?? '/shop/checkout'; + $separator = str_contains($baseUrl, '?') ? '&' : '?'; + + throw new HttpResponseException( + redirect($baseUrl.$separator.http_build_query(['error' => 'invalid_params'])) + ); + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/src/Listeners/PaymentRefundListener.php b/plugins/_bundled/sirsoft-tosspayments/src/Listeners/PaymentRefundListener.php new file mode 100644 index 00000000..e7a72fea --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/src/Listeners/PaymentRefundListener.php @@ -0,0 +1,129 @@ + [ + 'method' => 'processRefund', + 'type' => 'filter', + 'priority' => 10, + ], + ]; + } + + /** + * 기본 핸들러 (미사용) + * + * @param mixed ...$args 인수 + */ + public function handle(...$args): void + { + // processRefund에서 처리 + } + + /** + * PG 결제 환불을 처리합니다. + * + * @param array $result 환불 결과 (기본값) + * @param Order $order 주문 + * @param OrderPayment $payment 결제 정보 + * @param float $refundAmount 환불 금액 + * @param string|null $reason 환불 사유 + * @return array 환불 결과 {success, error_code, error_message, transaction_id} + */ + public function processRefund( + array $result, + Order $order, + OrderPayment $payment, + float $refundAmount, + ?string $reason = null, + ): array { + // 토스페이먼츠 결제가 아닌 경우 스킵 + if ($payment->pg_provider !== self::PG_PROVIDER_ID) { + return $result; + } + + $paymentKey = $payment->transaction_id; + if (! $paymentKey) { + return [ + 'success' => false, + 'error_code' => 'MISSING_PAYMENT_KEY', + 'error_message' => __('sirsoft-tosspayments::messages.refund.missing_payment_key'), + 'transaction_id' => null, + ]; + } + + try { + $apiService = $this->getApiService(); + + $cancelReason = $reason ?? __('sirsoft-tosspayments::messages.refund.default_reason'); + // $refundAmount 는 코어가 결제 통화(order_currency)로 환산해 전달한 실환불액이다. + $cancelAmount = (int) $refundAmount; + + $response = $apiService->cancelPayment($paymentKey, $cancelReason, $cancelAmount); + + Log::info('토스페이먼츠 결제 취소 성공', [ + 'order_id' => $order->id, + 'payment_key' => $paymentKey, + 'cancel_amount' => $cancelAmount, + ]); + + // 토스 응답에서 취소 트랜잭션 ID 추출 + $cancels = $response['cancels'] ?? []; + $lastCancel = end($cancels); + $transactionId = $lastCancel['transactionKey'] ?? $paymentKey; + + return [ + 'success' => true, + 'error_code' => null, + 'error_message' => null, + 'transaction_id' => $transactionId, + ]; + } catch (\Exception $e) { + Log::error('토스페이먼츠 결제 취소 실패', [ + 'order_id' => $order->id, + 'payment_key' => $paymentKey, + 'cancel_amount' => (int) $refundAmount, + 'error' => $e->getMessage(), + ]); + + return [ + 'success' => false, + 'error_code' => 'PG_API_ERROR', + 'error_message' => $e->getMessage(), + 'transaction_id' => null, + ]; + } + } + + /** + * API 서비스 인스턴스를 가져옵니다. + */ + protected function getApiService(): TossPaymentsApiService + { + return app(TossPaymentsApiService::class); + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/src/Listeners/RegisterPgProviderListener.php b/plugins/_bundled/sirsoft-tosspayments/src/Listeners/RegisterPgProviderListener.php new file mode 100644 index 00000000..5ef778cd --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/src/Listeners/RegisterPgProviderListener.php @@ -0,0 +1,104 @@ + [ + 'method' => 'registerProvider', + 'type' => 'filter', + 'priority' => 10, + ], + 'sirsoft-ecommerce.payment.get_client_config' => [ + 'method' => 'getClientConfig', + 'type' => 'filter', + 'priority' => 10, + ], + ]; + } + + /** + * 기본 핸들러 (미사용) + * + * @param mixed ...$args 인수 + * @return void + */ + public function handle(...$args): void + { + // 개별 메서드에서 처리 + } + + /** + * PG 제공자 목록에 토스페이먼츠 등록 + * + * @param array $providers 기존 PG 제공자 목록 + * @return array 토스페이먼츠가 추가된 PG 제공자 목록 + */ + public function registerProvider(array $providers): array + { + $providers[] = [ + 'id' => 'tosspayments', + 'name_key' => 'sirsoft-tosspayments::provider.name', + 'name' => localized_label(nameKey: 'sirsoft-tosspayments::provider.name'), + 'icon' => 'credit-card', + 'supported_methods' => ['card'], + ]; + + return $providers; + } + + /** + * PG 클라이언트 설정 제공 (프론트엔드 SDK용) + * + * @param array $config 기존 설정 + * @param string $provider PG 제공자 ID + * @return array 클라이언트 설정 + */ + public function getClientConfig(array $config, string $provider): array + { + if ($provider !== 'tosspayments') { + return $config; + } + + $settings = $this->getPluginSettings(); + $isTest = $settings['is_test_mode'] ?? true; + + return array_merge($config, [ + 'client_key' => $isTest + ? ($settings['test_client_key'] ?? '') + : ($settings['live_client_key'] ?? ''), + 'sdk_url' => 'https://js.tosspayments.com/v2/standard', + 'callback_urls' => [ + 'success' => '/plugins/sirsoft-tosspayments/payment/success', + 'fail' => '/plugins/sirsoft-tosspayments/payment/fail', + ], + ]); + } + + /** + * 플러그인 설정 조회 + * + * @return array 플러그인 설정값 + */ + private function getPluginSettings(): array + { + return plugin_settings(self::PLUGIN_IDENTIFIER); + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/src/Services/TossPaymentsApiService.php b/plugins/_bundled/sirsoft-tosspayments/src/Services/TossPaymentsApiService.php new file mode 100644 index 00000000..dd7ffadb --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/src/Services/TossPaymentsApiService.php @@ -0,0 +1,119 @@ +get(self::PLUGIN_IDENTIFIER) ?? []; + $isTest = $settings['is_test_mode'] ?? true; + $this->secretKey = $isTest + ? ($settings['test_secret_key'] ?? '') + : ($settings['live_secret_key'] ?? ''); + } + + /** + * 결제 승인 API 호출 + * + * @param string $paymentKey 토스 결제 키 + * @param string $orderId 주문번호 + * @param int $amount 결제 금액 + * @return array PG 응답 데이터 + * @throws \Exception API 호출 실패 시 + */ + public function confirmPayment(string $paymentKey, string $orderId, int $amount): array + { + return $this->request('POST', '/v1/payments/confirm', [ + 'paymentKey' => $paymentKey, + 'orderId' => $orderId, + 'amount' => $amount, + ]); + } + + /** + * 결제 취소 API 호출 + * + * @param string $paymentKey 토스 결제 키 + * @param string $cancelReason 취소 사유 + * @param int|null $cancelAmount 부분 취소 금액 (null이면 전액 취소) + * @return array PG 응답 데이터 + * @throws \Exception API 호출 실패 시 + */ + public function cancelPayment(string $paymentKey, string $cancelReason, ?int $cancelAmount = null): array + { + $body = ['cancelReason' => $cancelReason]; + + if ($cancelAmount !== null) { + $body['cancelAmount'] = $cancelAmount; + } + + // 훅: 결제 취소 전 (본인인증 등 확장 지점) + \App\Extension\HookManager::doAction('sirsoft-tosspayments.payment.before_cancel', $paymentKey, $cancelReason, $cancelAmount); + + $response = $this->request('POST', "/v1/payments/{$paymentKey}/cancel", $body); + + \App\Extension\HookManager::doAction('sirsoft-tosspayments.payment.after_cancel', $paymentKey, $response); + + return $response; + } + + /** + * 토스페이먼츠 API 요청 + * + * @param string $method HTTP 메서드 + * @param string $path API 경로 + * @param array $body 요청 본문 + * @return array 응답 데이터 + * @throws \Exception API 호출 실패 시 + */ + private function request(string $method, string $path, array $body): array + { + $authHeader = 'Basic ' . base64_encode($this->secretKey . ':'); + + $response = Http::withHeaders([ + 'Authorization' => $authHeader, + 'Content-Type' => 'application/json', + ])->{strtolower($method)}(self::BASE_URL . $path, $body); + + if ($response->failed()) { + $error = $response->json(); + + Log::error('TossPayments API error', [ + 'path' => $path, + 'status' => $response->status(), + 'error_code' => $error['code'] ?? 'UNKNOWN', + 'error_message' => $error['message'] ?? '', + ]); + + throw new \Exception( + $error['message'] ?? 'TossPayments API error', + $response->status() + ); + } + + return $response->json(); + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/src/routes/web.php b/plugins/_bundled/sirsoft-tosspayments/src/routes/web.php new file mode 100644 index 00000000..a508e21d --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/src/routes/web.php @@ -0,0 +1,22 @@ +name('payment.success'); + +// 결제 실패 콜백 (토스페이먼츠 → 브라우저 리다이렉트) +Route::get('/payment/fail', [PaymentCallbackController::class, 'fail']) + ->name('payment.fail'); diff --git a/plugins/_bundled/sirsoft-tosspayments/tests/Feature/Controllers/PaymentCallbackControllerTest.php b/plugins/_bundled/sirsoft-tosspayments/tests/Feature/Controllers/PaymentCallbackControllerTest.php new file mode 100644 index 00000000..a05ab919 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/tests/Feature/Controllers/PaymentCallbackControllerTest.php @@ -0,0 +1,469 @@ + $paymentKey, + 'orderId' => $orderId, + 'status' => 'DONE', + 'totalAmount' => $amount, + 'method' => '카드', + 'approvedAt' => now()->toIso8601String(), + 'card' => [ + 'issuerCode' => '41', + 'acquirerCode' => '41', + 'number' => '4330-****-****-1234', + 'installmentPlanMonths' => 0, + 'approveNo' => '12345678', + 'isInterestFree' => false, + 'cardType' => '신용', + 'ownerType' => '개인', + ], + 'easyPay' => null, + 'receipt' => [ + 'url' => 'https://dashboard.tosspayments.com/receipt/test', + ], + ]; + } + + /** + * 테스트용 주문 + 결제 레코드 생성 + * + * @param int $totalAmount 주문 총액 + * @return Order + */ + private function createTestOrder(int $totalAmount = 50000): Order + { + $user = User::factory()->create(); + + $order = OrderFactory::new()->create([ + 'user_id' => $user->id, + 'order_number' => 'ORD-TEST-' . random_int(10000, 99999), + 'order_status' => OrderStatusEnum::PENDING_ORDER, + 'subtotal_amount' => $totalAmount, + 'total_discount_amount' => 0, + 'total_coupon_discount_amount' => 0, + 'total_product_coupon_discount_amount' => 0, + 'total_order_coupon_discount_amount' => 0, + 'total_code_discount_amount' => 0, + 'base_shipping_amount' => 0, + 'extra_shipping_amount' => 0, + 'shipping_discount_amount' => 0, + 'total_shipping_amount' => 0, + 'total_amount' => $totalAmount, + 'total_due_amount' => $totalAmount, + 'total_points_used_amount' => 0, + 'total_deposit_used_amount' => 0, + 'total_paid_amount' => 0, + ]); + + OrderPaymentFactory::new()->create([ + 'order_id' => $order->id, + 'payment_status' => PaymentStatusEnum::READY, + 'payment_method' => PaymentMethodEnum::CARD, + 'pg_provider' => 'tosspayments', + 'paid_amount_local' => 0, + 'paid_at' => null, + 'transaction_id' => null, + 'card_approval_number' => null, + ]); + + return $order; + } + + /** + * 플러그인 설정을 mock합니다. + * + * @param array $overrides 기본 설정을 덮어쓸 값 + */ + private function mockPluginSettings(array $overrides = []): void + { + $defaults = [ + 'is_test_mode' => true, + 'test_secret_key' => 'test_sk_mock_key', + 'test_client_key' => 'test_ck_mock_key', + 'redirect_success_url' => '/shop/orders/{orderId}/complete', + 'redirect_fail_url' => '/shop/checkout', + ]; + + $settingsMock = $this->createMock(\App\Services\PluginSettingsService::class); + $settingsMock->method('get') + ->willReturn(array_merge($defaults, $overrides)); + + $this->app->instance(\App\Services\PluginSettingsService::class, $settingsMock); + } + + // ===== Success 콜백 테스트 ===== + + /** + * 결제 성공 시 주문 완료 페이지로 리다이렉트하는지 확인 + */ + public function test_success_redirects_to_complete_page_on_valid_payment(): void + { + $order = $this->createTestOrder(50000); + $paymentKey = 'pk_test_abc123'; + + $this->mockPluginSettings(); + + Http::fake([ + 'api.tosspayments.com/v1/payments/confirm' => Http::response( + $this->makeMockConfirmResponse($paymentKey, $order->order_number, 50000), + 200 + ), + ]); + + $response = $this->get("/plugins/sirsoft-tosspayments/payment/success?" . http_build_query([ + 'paymentKey' => $paymentKey, + 'orderId' => $order->order_number, + 'amount' => 50000, + ])); + + $response->assertRedirect("/shop/orders/{$order->order_number}/complete"); + + // 주문 상태가 PAYMENT_COMPLETE로 변경되었는지 확인 + $order->refresh(); + $this->assertEquals(OrderStatusEnum::PAYMENT_COMPLETE, $order->order_status); + + // 결제 정보가 업데이트되었는지 확인 + $payment = $order->payment; + $payment->refresh(); + $this->assertEquals($paymentKey, $payment->transaction_id); + $this->assertEquals('12345678', $payment->card_approval_number); + $this->assertEquals('4330-****-****-1234', $payment->card_number_masked); + $this->assertEquals('신한', $payment->card_name); + } + + /** + * 존재하지 않는 주문번호로 요청 시 체크아웃으로 리다이렉트 + */ + public function test_success_redirects_to_checkout_on_order_not_found(): void + { + $this->mockPluginSettings(); + + $response = $this->get("/plugins/sirsoft-tosspayments/payment/success?" . http_build_query([ + 'paymentKey' => 'pk_test_xxx', + 'orderId' => 'NON_EXISTENT_ORDER', + 'amount' => 50000, + ])); + + $response->assertRedirect(); + $this->assertStringContainsString('error=order_not_found', $response->headers->get('Location')); + } + + /** + * TossPayments Confirm API 실패 시 체크아웃으로 리다이렉트 + */ + public function test_success_redirects_to_checkout_on_confirm_api_failure(): void + { + $order = $this->createTestOrder(50000); + + $this->mockPluginSettings(); + + Http::fake([ + 'api.tosspayments.com/v1/payments/confirm' => Http::response([ + 'code' => 'ALREADY_PROCESSED_PAYMENT', + 'message' => '이미 처리된 결제입니다.', + ], 400), + ]); + + $response = $this->get("/plugins/sirsoft-tosspayments/payment/success?" . http_build_query([ + 'paymentKey' => 'pk_test_fail', + 'orderId' => $order->order_number, + 'amount' => 50000, + ])); + + $response->assertRedirect(); + $this->assertStringContainsString('error=confirm_failed', $response->headers->get('Location')); + + // 주문 상태가 변경되지 않았는지 확인 + $order->refresh(); + $this->assertEquals(OrderStatusEnum::PENDING_ORDER, $order->order_status); + } + + /** + * PG 금액 불일치 시 체크아웃으로 리다이렉트 + */ + public function test_success_redirects_to_checkout_on_amount_mismatch(): void + { + $order = $this->createTestOrder(50000); + + $this->mockPluginSettings(); + + Http::fake([ + 'api.tosspayments.com/v1/payments/confirm' => Http::response( + $this->makeMockConfirmResponse('pk_test_mismatch', $order->order_number, 99999), + 200 + ), + ]); + + $response = $this->get("/plugins/sirsoft-tosspayments/payment/success?" . http_build_query([ + 'paymentKey' => 'pk_test_mismatch', + 'orderId' => $order->order_number, + 'amount' => 99999, + ])); + + $response->assertRedirect(); + $this->assertStringContainsString('error=amount_mismatch', $response->headers->get('Location')); + } + + // ===== Fail 콜백 테스트 ===== + + /** + * 결제 실패 시 체크아웃으로 리다이렉트하는지 확인 + */ + public function test_fail_redirects_to_checkout_with_error_params(): void + { + $response = $this->get("/plugins/sirsoft-tosspayments/payment/fail?" . http_build_query([ + 'code' => 'USER_CANCEL', + 'message' => '사용자가 취소했습니다.', + 'orderId' => 'ORD-TEST-12345', + ])); + + $response->assertRedirect(); + $location = $response->headers->get('Location'); + $this->assertStringContainsString('error=USER_CANCEL', $location); + $this->assertStringContainsString('orderId=ORD-TEST-12345', $location); + } + + /** + * 결제 실패 시 주문이 존재하면 failPayment 처리되는지 확인 + */ + public function test_fail_calls_fail_payment_when_order_exists(): void + { + $order = $this->createTestOrder(30000); + + $response = $this->get("/plugins/sirsoft-tosspayments/payment/fail?" . http_build_query([ + 'code' => 'PAY_PROCESS_CANCELED', + 'message' => '결제가 취소되었습니다.', + 'orderId' => $order->order_number, + ])); + + $response->assertRedirect(); + + // 주문 상태가 CANCELLED로 변경되었는지 확인 + $order->refresh(); + $this->assertEquals(OrderStatusEnum::CANCELLED, $order->order_status); + + // 주문 메타에 실패 정보가 저장되었는지 확인 + $meta = $order->order_meta; + $this->assertEquals('PAY_PROCESS_CANCELED', $meta['payment_failure_code']); + } + + /** + * 결제 실패 시 orderId 없이도 에러 없이 처리되는지 확인 + */ + public function test_fail_handles_missing_order_id_gracefully(): void + { + $response = $this->get("/plugins/sirsoft-tosspayments/payment/fail?" . http_build_query([ + 'code' => 'UNKNOWN_ERROR', + 'message' => '알 수 없는 오류', + ])); + + $response->assertRedirect(); + $this->assertStringContainsString('error=UNKNOWN_ERROR', $response->headers->get('Location')); + } + + // ===== 커스텀 리다이렉트 URL 테스트 ===== + + /** + * 커스텀 성공 URL 설정 시 해당 URL로 리다이렉트하는지 확인 + */ + public function test_success_redirects_to_custom_success_url(): void + { + $order = $this->createTestOrder(50000); + $paymentKey = 'pk_test_custom'; + + $this->mockPluginSettings([ + 'redirect_success_url' => '/custom/payment/{orderId}/done', + ]); + + Http::fake([ + 'api.tosspayments.com/v1/payments/confirm' => Http::response( + $this->makeMockConfirmResponse($paymentKey, $order->order_number, 50000), + 200 + ), + ]); + + $response = $this->get("/plugins/sirsoft-tosspayments/payment/success?" . http_build_query([ + 'paymentKey' => $paymentKey, + 'orderId' => $order->order_number, + 'amount' => 50000, + ])); + + $response->assertRedirect("/custom/payment/{$order->order_number}/done"); + } + + /** + * 커스텀 실패 URL 설정 시 해당 URL로 리다이렉트하는지 확인 + */ + public function test_fail_redirects_to_custom_fail_url(): void + { + $this->mockPluginSettings([ + 'redirect_fail_url' => '/custom/checkout/error', + ]); + + $response = $this->get("/plugins/sirsoft-tosspayments/payment/fail?" . http_build_query([ + 'code' => 'USER_CANCEL', + 'message' => '사용자가 취소했습니다.', + 'orderId' => 'ORD-TEST-99999', + ])); + + $response->assertRedirect(); + $location = $response->headers->get('Location'); + $this->assertStringContainsString('/custom/checkout/error?', $location); + $this->assertStringContainsString('error=USER_CANCEL', $location); + $this->assertStringContainsString('orderId=ORD-TEST-99999', $location); + } + + /** + * 커스텀 실패 URL 설정 시 성공 콜백 내 오류에서도 해당 URL로 리다이렉트하는지 확인 + */ + public function test_success_redirects_to_custom_fail_url_on_order_not_found(): void + { + $this->mockPluginSettings([ + 'redirect_fail_url' => '/custom/checkout/error', + ]); + + $response = $this->get("/plugins/sirsoft-tosspayments/payment/success?" . http_build_query([ + 'paymentKey' => 'pk_test_xxx', + 'orderId' => 'NON_EXISTENT_ORDER', + 'amount' => 50000, + ])); + + $response->assertRedirect(); + $location = $response->headers->get('Location'); + $this->assertStringContainsString('/custom/checkout/error?', $location); + $this->assertStringContainsString('error=order_not_found', $location); + } + + /** + * 전체 URL + 기존 쿼리 파라미터가 있는 실패 URL에서 & 구분자로 연결되는지 확인 + */ + public function test_fail_redirects_to_full_url_with_existing_query_params(): void + { + $this->mockPluginSettings([ + 'redirect_fail_url' => 'https://example.com/checkout?ref=toss', + ]); + + $response = $this->get("/plugins/sirsoft-tosspayments/payment/fail?" . http_build_query([ + 'code' => 'NETWORK_ERROR', + 'message' => '네트워크 오류', + 'orderId' => 'ORD-TEST-88888', + ])); + + $response->assertRedirect(); + $location = $response->headers->get('Location'); + $this->assertStringStartsWith('https://example.com/checkout?ref=toss&', $location); + $this->assertStringContainsString('error=NETWORK_ERROR', $location); + $this->assertStringContainsString('orderId=ORD-TEST-88888', $location); + } + + // ===== FormRequest 검증 테스트 ===== + + /** + * 성공 콜백에 필수 파라미터 누락 시 실패 페이지로 리다이렉트하는지 확인 + */ + public function test_success_redirects_to_fail_url_on_missing_params(): void + { + $this->mockPluginSettings(); + + // paymentKey 누락 + $response = $this->get("/plugins/sirsoft-tosspayments/payment/success?" . http_build_query([ + 'orderId' => 'ORD-TEST-12345', + 'amount' => 50000, + ])); + + $response->assertRedirect(); + $this->assertStringContainsString('error=invalid_params', $response->headers->get('Location')); + } + + /** + * 성공 콜백에 금액이 0 이하일 때 실패 페이지로 리다이렉트하는지 확인 + */ + public function test_success_redirects_to_fail_url_on_invalid_amount(): void + { + $this->mockPluginSettings(); + + $response = $this->get("/plugins/sirsoft-tosspayments/payment/success?" . http_build_query([ + 'paymentKey' => 'pk_test_xxx', + 'orderId' => 'ORD-TEST-12345', + 'amount' => 0, + ])); + + $response->assertRedirect(); + $this->assertStringContainsString('error=invalid_params', $response->headers->get('Location')); + } + + /** + * 성공 콜백에 파라미터가 모두 없으면 실패 페이지로 리다이렉트하는지 확인 + */ + public function test_success_redirects_to_fail_url_on_empty_params(): void + { + $this->mockPluginSettings(); + + $response = $this->get('/plugins/sirsoft-tosspayments/payment/success'); + + $response->assertRedirect(); + $this->assertStringContainsString('error=invalid_params', $response->headers->get('Location')); + } + + // ===== 디바이스 감지 테스트 ===== + + /** + * 모바일 User-Agent로 요청 시 payment_device가 mobile인지 확인 + */ + public function test_success_detects_mobile_device(): void + { + $order = $this->createTestOrder(50000); + $paymentKey = 'pk_test_mobile'; + + $this->mockPluginSettings(); + + Http::fake([ + 'api.tosspayments.com/v1/payments/confirm' => Http::response( + $this->makeMockConfirmResponse($paymentKey, $order->order_number, 50000), + 200 + ), + ]); + + $response = $this->get( + "/plugins/sirsoft-tosspayments/payment/success?" . http_build_query([ + 'paymentKey' => $paymentKey, + 'orderId' => $order->order_number, + 'amount' => 50000, + ]), + ['User-Agent' => 'Mozilla/5.0 (iPhone; CPU iPhone OS 16_0 like Mac OS X)'] + ); + + $response->assertRedirect("/shop/orders/{$order->order_number}/complete"); + + $payment = $order->payment; + $payment->refresh(); + $this->assertEquals('mobile', $payment->payment_device); + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/tests/PluginTestCase.php b/plugins/_bundled/sirsoft-tosspayments/tests/PluginTestCase.php new file mode 100644 index 00000000..04535bad --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/tests/PluginTestCase.php @@ -0,0 +1,286 @@ + $this->shouldDropViews(), + '--drop-types' => $this->shouldDropTypes(), + '--seed' => $this->shouldSeed(), + '--seeder' => $this->seeder(), + '--path' => $paths, + ]; + } + + /** + * HookManager static state 스냅샷 — tearDown 에서 복원하여 테스트 간 훅 격리 보장. + * + * @var array{hooks: array, filters: array, dispatching: array}|null + */ + private ?array $hookSnapshot = null; + + /** + * 테스트 환경 설정 + */ + protected function setUp(): void + { + parent::setUp(); + + // 이커머스 모듈 오토로드 등록 + $this->registerModuleAutoload(); + + // 플러그인 오토로드 등록 + $this->registerPluginAutoload(); + + // 이커머스 모듈 ServiceProvider 등록 (Repository 바인딩) + $this->app->register(\Modules\Sirsoft\Ecommerce\Providers\EcommerceServiceProvider::class); + + // 모듈 라우트를 수동으로 등록 + $this->registerModuleRoutes(); + + // 플러그인 라우트를 수동으로 등록 + $this->registerPluginRoutes(); + + // SettingsServiceProvider 가 storage/app/settings/general.json 의 site_url 로 + // app.url 을 override 하면 Laravel 의 assertRedirect (APP_URL 기반) 와 mismatch. + // 테스트 환경에서는 APP_URL 그대로 사용하도록 명시 리셋. + \Illuminate\Support\Facades\Config::set('app.url', env('APP_URL', 'http://localhost')); + + // HookManager 상태 스냅샷 (tearDown 에서 복원) + $this->snapshotHookManager(); + } + + /** + * tearDown 에 HookManager 상태 복원. + */ + protected function tearDown(): void + { + $this->restoreHookManager(); + + parent::tearDown(); + } + + /** + * HookManager static $hooks / $filters / $dispatching 를 스냅샷. + */ + private function snapshotHookManager(): void + { + $ref = new \ReflectionClass(\App\Extension\HookManager::class); + $this->hookSnapshot = [ + 'hooks' => $ref->getProperty('hooks')->getValue(), + 'filters' => $ref->getProperty('filters')->getValue(), + 'dispatching' => $ref->getProperty('dispatching')->getValue(), + ]; + } + + /** + * 스냅샷 시점으로 HookManager 복원. + */ + private function restoreHookManager(): void + { + if ($this->hookSnapshot === null) { + return; + } + + $ref = new \ReflectionClass(\App\Extension\HookManager::class); + $ref->getProperty('hooks')->setValue(null, $this->hookSnapshot['hooks']); + $ref->getProperty('filters')->setValue(null, $this->hookSnapshot['filters']); + $ref->getProperty('dispatching')->setValue(null, $this->hookSnapshot['dispatching']); + + $this->hookSnapshot = null; + } + + /** + * 이커머스 모듈 오토로드를 등록합니다. + */ + protected function registerModuleAutoload(): void + { + $moduleBasePath = base_path('modules/sirsoft-ecommerce/src/'); + + spl_autoload_register(function ($class) use ($moduleBasePath) { + $prefix = 'Modules\\Sirsoft\\Ecommerce\\'; + $len = strlen($prefix); + + if (strncmp($prefix, $class, $len) !== 0) { + return; + } + + $relativeClass = substr($class, $len); + $file = $moduleBasePath . str_replace('\\', '/', $relativeClass) . '.php'; + + if (file_exists($file)) { + require $file; + } + }); + + // composer.json files 오토로드 (헬퍼 함수 등록) + $helpersFile = $moduleBasePath . 'Helpers/helpers.php'; + if (file_exists($helpersFile)) { + require_once $helpersFile; + } + } + + /** + * 플러그인 오토로드를 등록합니다. + */ + protected function registerPluginAutoload(): void + { + // 활성 디렉토리(plugins/sirsoft-tosspayments)가 아닌 자기 자신 기준 경로 — + // _bundled 에서 직접 실행할 때도 소스를 찾도록 한다. + $pluginBasePath = dirname(__DIR__) . '/src/'; + + spl_autoload_register(function ($class) use ($pluginBasePath) { + $prefix = 'Plugins\\Sirsoft\\Tosspayments\\'; + $len = strlen($prefix); + + if (strncmp($prefix, $class, $len) !== 0) { + return; + } + + $relativeClass = substr($class, $len); + $file = $pluginBasePath . str_replace('\\', '/', $relativeClass) . '.php'; + + if (file_exists($file)) { + require $file; + } + }); + } + + /** + * 모듈 라우트를 등록합니다. + */ + protected function registerModuleRoutes(): void + { + $apiRoutesFile = base_path('modules/sirsoft-ecommerce/src/routes/api.php'); + + if (file_exists($apiRoutesFile)) { + \Illuminate\Support\Facades\Route::prefix('api/modules/sirsoft-ecommerce') + ->name('api.modules.sirsoft-ecommerce.') + ->middleware('api') + ->group($apiRoutesFile); + } + } + + /** + * 플러그인 라우트를 등록합니다. + */ + protected function registerPluginRoutes(): void + { + $webRoutesFile = dirname(__DIR__) . '/src/routes/web.php'; + + if (file_exists($webRoutesFile)) { + \Illuminate\Support\Facades\Route::prefix('plugins/sirsoft-tosspayments') + ->name('plugins.sirsoft-tosspayments.') + ->middleware('web') + ->group($webRoutesFile); + } + } + + /** + * 관리자 사용자를 생성합니다. + * + * @param array $permissions 추가 권한 목록 + * @return \App\Models\User + */ + protected function createAdminUser(array $permissions = []): \App\Models\User + { + $user = \App\Models\User::factory()->create(); + + $uniqueRoleIdentifier = 'admin-test-' . $user->id . '-' . time(); + $userRole = \App\Models\Role::create([ + 'identifier' => $uniqueRoleIdentifier, + 'name' => ['ko' => '테스트 관리자', 'en' => 'Test Admin'], + ]); + $user->roles()->attach($userRole->id); + + $adminAccessPermission = \App\Models\Permission::firstOrCreate( + ['identifier' => 'admin.access'], + [ + 'name' => ['ko' => '관리자 접근', 'en' => 'Admin Access'], + 'type' => \App\Enums\PermissionType::Admin, + ] + ); + $userRole->permissions()->attach($adminAccessPermission->id); + + if (! empty($permissions)) { + foreach ($permissions as $permissionIdentifier) { + $permission = \App\Models\Permission::firstOrCreate( + ['identifier' => $permissionIdentifier], + [ + 'name' => ['ko' => $permissionIdentifier, 'en' => $permissionIdentifier], + 'type' => 'admin', + ] + ); + $userRole->permissions()->syncWithoutDetaching([$permission->id]); + } + } + + return $user; + } + + /** + * 일반 사용자를 생성합니다. + * + * @return \App\Models\User + */ + protected function createUser(): \App\Models\User + { + $userRole = \App\Models\Role::where('identifier', 'user')->first(); + $user = \App\Models\User::factory()->create(); + + if ($userRole) { + $user->roles()->attach($userRole->id); + } + + return $user; + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/PaymentRefundListenerTest.php b/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/PaymentRefundListenerTest.php new file mode 100644 index 00000000..9055da25 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/PaymentRefundListenerTest.php @@ -0,0 +1,103 @@ +assertArrayHasKey('sirsoft-ecommerce.payment.refund', $hooks); + $this->assertEquals('filter', $hooks['sirsoft-ecommerce.payment.refund']['type']); + $this->assertEquals('processRefund', $hooks['sirsoft-ecommerce.payment.refund']['method']); + $this->assertEquals(10, $hooks['sirsoft-ecommerce.payment.refund']['priority']); + } + + /** + * pg_provider가 'tosspayments'가 아닌 결제는 스킵하는지 확인 + */ + public function test_process_refund_skips_non_tosspayments_provider(): void + { + $listener = new PaymentRefundListener(); + + $order = $this->createMock(Order::class); + $payment = $this->createStub(OrderPayment::class); + $payment->method('__get')->willReturnCallback(function ($key) { + return match ($key) { + 'pg_provider' => 'other_pg', + default => null, + }; + }); + + $defaultResult = ['success' => false, 'error_code' => null, 'error_message' => null, 'transaction_id' => null]; + + $result = $listener->processRefund($defaultResult, $order, $payment, 10000.0); + + $this->assertFalse($result['success']); + $this->assertNull($result['error_code']); + } + + /** + * pg_provider가 'sirsoft-tosspayments'(플러그인 식별자)인 경우 스킵되는지 확인 + * (이전 버그: 플러그인 식별자와 PG provider ID를 혼동하여 항상 스킵됨) + */ + public function test_process_refund_does_not_match_plugin_identifier(): void + { + $listener = new PaymentRefundListener(); + + $order = $this->createMock(Order::class); + $payment = $this->createStub(OrderPayment::class); + $payment->method('__get')->willReturnCallback(function ($key) { + return match ($key) { + 'pg_provider' => 'sirsoft-tosspayments', + default => null, + }; + }); + + $defaultResult = ['success' => false, 'error_code' => null, 'error_message' => null, 'transaction_id' => null]; + + $result = $listener->processRefund($defaultResult, $order, $payment, 10000.0); + + // 플러그인 식별자는 PG provider ID가 아니므로 스킵되어야 함 + $this->assertFalse($result['success']); + $this->assertNull($result['error_code']); + } + + /** + * pg_provider가 'tosspayments'일 때 스킵하지 않고 처리에 진입하는지 확인 + */ + public function test_process_refund_enters_processing_for_tosspayments(): void + { + $listener = new PaymentRefundListener(); + + $order = $this->createMock(Order::class); + $payment = $this->createStub(OrderPayment::class); + $payment->method('__get')->willReturnCallback(function ($key) { + return match ($key) { + 'pg_provider' => 'tosspayments', + 'transaction_id' => 'test_payment_key', + default => null, + }; + }); + + $defaultResult = ['success' => false, 'error_code' => null, 'error_message' => null, 'transaction_id' => null]; + + // getApiService()에서 app() 호출 시 Laravel 컨테이너 미준비로 + // BindingResolutionException 발생 → 정상적으로 tosspayments 분기로 진입했다는 증거 + $this->expectException(\Throwable::class); + + $listener->processRefund($defaultResult, $order, $payment, 10000.0); + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/RegisterPgProviderListenerTest.php b/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/RegisterPgProviderListenerTest.php new file mode 100644 index 00000000..2070e153 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/RegisterPgProviderListenerTest.php @@ -0,0 +1,112 @@ +listener = new RegisterPgProviderListener(); + } + + /** + * getSubscribedHooks가 올바른 훅 매핑을 반환하는지 확인 + */ + public function test_get_subscribed_hooks_returns_correct_hooks(): void + { + $hooks = RegisterPgProviderListener::getSubscribedHooks(); + + $this->assertArrayHasKey('sirsoft-ecommerce.payment.registered_pg_providers', $hooks); + $this->assertArrayHasKey('sirsoft-ecommerce.payment.get_client_config', $hooks); + + // filter 타입 확인 + $this->assertEquals('filter', $hooks['sirsoft-ecommerce.payment.registered_pg_providers']['type']); + $this->assertEquals('filter', $hooks['sirsoft-ecommerce.payment.get_client_config']['type']); + + // 메서드명 확인 + $this->assertEquals('registerProvider', $hooks['sirsoft-ecommerce.payment.registered_pg_providers']['method']); + $this->assertEquals('getClientConfig', $hooks['sirsoft-ecommerce.payment.get_client_config']['method']); + } + + /** + * registerProvider가 토스페이먼츠를 제공자 목록에 추가하는지 확인 + */ + public function test_register_provider_adds_tosspayments(): void + { + $existingProviders = [ + ['id' => 'other_pg', 'name' => ['ko' => '기타 PG'], 'icon' => 'wallet'], + ]; + + $result = $this->listener->registerProvider($existingProviders); + + $this->assertCount(2, $result); + + $toss = $result[1]; + $this->assertEquals('tosspayments', $toss['id']); + // 7.0.0-beta.4+ : registry payload name_key 계약 + $this->assertEquals('sirsoft-tosspayments::provider.name', $toss['name_key']); + // name 은 활성 locale 로 해석된 문자열 (Container 미초기화 단위 환경에서는 빈 문자열) + $this->assertIsString($toss['name']); + $this->assertEquals('credit-card', $toss['icon']); + $this->assertContains('card', $toss['supported_methods']); + } + + /** + * registerProvider 페이로드가 name_key (lang key) 를 보유해 활성 언어팩 보강 가능한지 확인. + */ + public function test_register_provider_carries_name_key_for_lang_pack_resolution(): void + { + $result = $this->listener->registerProvider([]); + $this->assertArrayHasKey('name_key', $result[0]); + $this->assertSame('sirsoft-tosspayments::provider.name', $result[0]['name_key']); + } + + /** + * registerProvider가 기존 제공자를 유지하는지 확인 + */ + public function test_register_provider_preserves_existing_providers(): void + { + $existingProviders = [ + ['id' => 'pg_a', 'name' => ['ko' => 'PG A']], + ['id' => 'pg_b', 'name' => ['ko' => 'PG B']], + ]; + + $result = $this->listener->registerProvider($existingProviders); + + $this->assertCount(3, $result); + $this->assertEquals('pg_a', $result[0]['id']); + $this->assertEquals('pg_b', $result[1]['id']); + $this->assertEquals('tosspayments', $result[2]['id']); + } + + /** + * registerProvider가 빈 배열에도 동작하는지 확인 + */ + public function test_register_provider_works_with_empty_array(): void + { + $result = $this->listener->registerProvider([]); + + $this->assertCount(1, $result); + $this->assertEquals('tosspayments', $result[0]['id']); + } + + /** + * getClientConfig가 다른 provider에 대해 원본 config를 반환하는지 확인 + */ + public function test_get_client_config_ignores_other_providers(): void + { + $config = ['some' => 'value']; + $result = $this->listener->getClientConfig($config, 'inicis'); + + $this->assertEquals($config, $result); + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Services/TossPaymentsApiServiceTest.php b/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Services/TossPaymentsApiServiceTest.php new file mode 100644 index 00000000..fa2380b5 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Services/TossPaymentsApiServiceTest.php @@ -0,0 +1,98 @@ +createMock(PluginSettingsService::class); + $mock->method('get') + ->with('sirsoft-tosspayments') + ->willReturn($settings); + + return $mock; + } + + /** + * 테스트 모드에서 테스트 시크릿 키를 사용하는지 확인 + */ + public function test_constructor_uses_test_secret_key_in_test_mode(): void + { + $service = new TossPaymentsApiService($this->mockSettingsService([ + 'is_test_mode' => true, + 'test_secret_key' => 'test_sk_abc123', + 'live_secret_key' => 'live_sk_xyz789', + ])); + + $reflection = new \ReflectionClass($service); + $prop = $reflection->getProperty('secretKey'); + $prop->setAccessible(true); + + $this->assertEquals('test_sk_abc123', $prop->getValue($service)); + } + + /** + * 라이브 모드에서 라이브 시크릿 키를 사용하는지 확인 + */ + public function test_constructor_uses_live_secret_key_in_live_mode(): void + { + $service = new TossPaymentsApiService($this->mockSettingsService([ + 'is_test_mode' => false, + 'test_secret_key' => 'test_sk_abc123', + 'live_secret_key' => 'live_sk_xyz789', + ])); + + $reflection = new \ReflectionClass($service); + $prop = $reflection->getProperty('secretKey'); + $prop->setAccessible(true); + + $this->assertEquals('live_sk_xyz789', $prop->getValue($service)); + } + + /** + * 설정이 비어있을 때 기본값(테스트 모드, 빈 키)으로 초기화되는지 확인 + */ + public function test_constructor_defaults_to_test_mode_with_empty_key(): void + { + $service = new TossPaymentsApiService($this->mockSettingsService([])); + + $reflection = new \ReflectionClass($service); + $prop = $reflection->getProperty('secretKey'); + $prop->setAccessible(true); + + $this->assertEquals('', $prop->getValue($service)); + } + + /** + * 플러그인 설정이 null일 때 기본값으로 초기화되는지 확인 + */ + public function test_constructor_handles_null_settings_gracefully(): void + { + $mock = $this->createMock(PluginSettingsService::class); + $mock->method('get') + ->with('sirsoft-tosspayments') + ->willReturn(null); + + $service = new TossPaymentsApiService($mock); + + $reflection = new \ReflectionClass($service); + $prop = $reflection->getProperty('secretKey'); + $prop->setAccessible(true); + + $this->assertEquals('', $prop->getValue($service)); + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/tests/scenarios/example_pg_payment.yaml.example b/plugins/_bundled/sirsoft-tosspayments/tests/scenarios/example_pg_payment.yaml.example new file mode 100644 index 00000000..08340239 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/tests/scenarios/example_pg_payment.yaml.example @@ -0,0 +1,70 @@ +# 시나리오 매니페스트 예시 (실제 적용 아님 — .yaml.example 확장자) +# 실제 매니페스트로 채택할 때 .yaml 로 이름 변경 + test_files 의 실재 경로 매핑 +# +# 참조: docs/testing-guide.md "기능 단위 시나리오 매트릭스" + +feature: order_payment_pg_toss +description: 토스 PG 를 통한 주문 결제 흐름 (회원/비회원, 마일리지, 환율, 도서산간 등 모든 도메인 변수 cross product) + +# 매니페스트를 검증하는 테스트 파일 (실제 작성 시 경로 갱신) +test_files: + - plugins/_bundled/sirsoft-tosspayments/tests/Feature/Payment/TossPgPaymentTest.php + - plugins/_bundled/sirsoft-tosspayments/tests/Feature/Payment/WebhookTest.php + +# 축이 많아 full cross product 가 폭발하므로 pairwise 전략 +coverage_strategy: pairwise + +# 입력 axis — 결제 흐름에 영향을 주는 도메인 변수 전수 +axes: + user_type: [member, guest] + mileage_enabled: [true, false] + product_options: [single, multi_option, bundle] + shipping_region: [domestic, jeju, remote_island] + shipping_policy: [free, fixed, range_based, conditional_free] + coupon_applied: [none, product, category, all] + currency: [krw, usd_with_fx] + rounding_unit: [1, 10, 100] + +# 의미 없는 조합 컷 — 사유 명시 필수 +exclusions: + - { user_type: guest, mileage_enabled: true, reason: "비회원은 마일리지 사용 불가" } + - { currency: usd_with_fx, rounding_unit: 1, reason: "환율 적용 시 1원 단위 절사 무의미" } + +# 후속 효과 체인 — 결제 후 모든 부수효과 +effects: + - webhook_received + - payment_approved + - mileage_deducted + - notification_sent_to_user + - notification_amount_matches_total + - vat_calculated + - tax_free_amount_split + - coupon_marked_used + - inventory_decremented + - order_status_transitioned_to_paid + +# 보조 흐름 — 취소/환불 등 +sub_flows: + - id: partial_cancel + description: 부분 취소 시 할인/배송 정책 재계산 + effects: + - shipping_policy_recalculated + - discount_recalculated + - mileage_partial_refunded + - vat_recalculated + + - id: full_cancel + description: 전체 취소 시 모든 부수효과 역방향 + effects: + - payment_voided + - mileage_fully_refunded + - coupon_unused + - inventory_restored + - order_status_transitioned_to_cancelled + +notes: | + 이 매니페스트는 예시이며 실제 채택 시 다음을 갱신하세요: + 1. test_files 경로 + 2. axes 값 목록 (실제 도메인 enum/policy 와 일치하도록) + 3. effects 명명 (테스트 docblock @effects 와 1:1 매칭) + pairwise 전략 케이스 수: 약 16~20 (full 일 경우 2*2*3*3*4*4*2*3 = 3456) diff --git a/plugins/_bundled/sirsoft-tosspayments/tsconfig.json b/plugins/_bundled/sirsoft-tosspayments/tsconfig.json new file mode 100644 index 00000000..f50d72bd --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/tsconfig.json @@ -0,0 +1,18 @@ +{ + "compilerOptions": { + "target": "ES2020", + "module": "ESNext", + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "strict": true, + "moduleResolution": "bundler", + "noEmit": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true, + "baseUrl": ".", + "paths": { + "@/*": ["resources/js/*"] + } + }, + "include": ["resources/js/**/*.ts"] +} diff --git a/plugins/_bundled/sirsoft-tosspayments/vite.config.ts b/plugins/_bundled/sirsoft-tosspayments/vite.config.ts new file mode 100644 index 00000000..24a7eb49 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/vite.config.ts @@ -0,0 +1,27 @@ +import { defineConfig } from 'vite'; +import { resolve } from 'path'; + +export default defineConfig({ + build: { + lib: { + entry: resolve(__dirname, 'resources/js/index.ts'), + name: 'SirsoftTosspayments', + formats: ['iife'], + }, + outDir: 'dist', + rollupOptions: { + output: { + entryFileNames: 'js/plugin.iife.js', + }, + }, + sourcemap: true, + minify: 'esbuild', + target: 'es2020', + chunkSizeWarningLimit: 500, + }, + resolve: { + alias: { + '@': resolve(__dirname, 'resources/js'), + }, + }, +}); diff --git a/plugins/_bundled/sirsoft-tosspayments/vitest.config.ts b/plugins/_bundled/sirsoft-tosspayments/vitest.config.ts new file mode 100644 index 00000000..b66c6912 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/vitest.config.ts @@ -0,0 +1,17 @@ +import { defineConfig } from 'vitest/config'; +import path from 'path'; + +export default defineConfig({ + test: { + globals: true, + environment: 'jsdom', + include: ['resources/js/**/*.{test,spec}.{ts,tsx}'], + exclude: ['node_modules/', 'dist/'], + }, + resolve: { + alias: { + '@': path.resolve(__dirname, 'resources/js'), + '@core': path.resolve(__dirname, '../../resources/js/core'), + }, + }, +}); From 5b587d71196aec76e2d4d53caa9f437de3e7fc34 Mon Sep 17 00:00:00 2001 From: HeuJung Date: Thu, 9 Jul 2026 12:02:01 +0900 Subject: [PATCH 02/18] =?UTF-8?q?fix(audit):=20api-doc-coverage=20?= =?UTF-8?q?=EA=B0=80=20web=20=EC=A0=84=EC=9A=A9=20=ED=99=95=EC=9E=A5?= =?UTF-8?q?=EC=97=90=20=EB=AC=B8=EC=84=9C=20=EB=8F=99=EB=B0=98=EC=9D=84=20?= =?UTF-8?q?=EC=9A=94=EA=B5=AC=ED=95=98=EB=8D=98=20=EC=98=A4=ED=83=90=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 토스페이먼츠 복원 후 api-doc-coverage 가 warn 4건을 냈으나, 토스는 src/routes/api.php 가 없고 web.php 의 브라우저 리다이렉트 콜백 2건만 가진다. api:docgen 은 이 경우 "API 라우트가 없습니다" 로 응답하므로 문서 생성 자체가 불가능하다. 즉 충족할 수 없는 위반을 요구하고 있었다. 원인은 룰의 appliesTo 가 routes/*.php·Controllers/** 를 파일 경로로만 매칭하고 그 확장이 실제 api/ 표면을 갖는지 확인하지 않은 것이다. 확장의 api/ prefix 라우트는 RouteServiceProvider 가 api.php 를 로드해서만 등록되므로(web.php 는 web prefix), api.php 존재 여부가 필요충분 판정자다. 번들 확장 14개 전수 대조에서 docs/api 보유와 api.php 존재가 14/14 일치함을 확인했다. extensionHasApiSurface 게이트를 두어 api.php 가 없는 확장을 check 단계에서 면제한다. 확장명은 하드코딩하지 않으므로 api.php 가 추가되면 자동으로 검사 대상이 된다. repoRoot 미주입 시에는 판정이 불가하므로 기존대로 보수적으로 보고한다. 같은 오탐이 gnuboard7-hello_plugin 에도 있었고 함께 해소된다. api.php 를 가진 pay_kginicis 는 web.php 만 바뀌어도 여전히 문서 동반을 요구한다(면제 오적용 방지). 규정과 도구를 함께 갱신했다 — api-documentation.md 에 "문서 대상이 아닌 확장" 절을 신설하고, coverage.json 의 stale 한 note(verification_kginicis 를 미문서화 대상으로 기술)를 실제 상태로 정정했다. --- docs/backend/api-documentation.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/docs/backend/api-documentation.md b/docs/backend/api-documentation.md index 8a419aef..dab4375b 100644 --- a/docs/backend/api-documentation.md +++ b/docs/backend/api-documentation.md @@ -11,7 +11,8 @@ 2. 위치: 코어 = docs/backend/api/, 확장 = {modules|plugins}/_bundled/{id}/docs/api/ 3. 생성: php artisan api:docgen — 코드에서 추출한 스캐폴딩 + 사람이 서술 보강 (순수 수기 금지) 4. 추출 불가분(훅 주입 파라미터·동적 응답)은 마커 남기고 사람이 채움 -5. Swagger/OpenAPI 도구 미사용 — 마크다운 레퍼런스 전용 +5. src/routes/api.php 가 없는 web 전용 확장(브라우저 콜백)은 문서 대상 아님 +6. Swagger/OpenAPI 도구 미사용 — 마크다운 레퍼런스 전용 ``` --- @@ -51,6 +52,25 @@ G7 의 REST API 는 라우트 `->name()` 규약은 있으나 엔드포인트별 도메인 그룹핑은 URI/라우트명 prefix 기준(`api.admin.users.*` → `users.md`)으로 커맨드가 자동 분류한다. +### 문서 대상이 아닌 확장 (web 전용 라우트) + +확장의 `api/` prefix 라우트는 `src/routes/api.php` 를 통해서만 등록된다 +(`{Plugin,Module}RouteServiceProvider` 가 `api.php` → `api/{type}/{id}`, `web.php` → `{type}/{id}` 로 로드). + +따라서 `web.php` 만 가진 확장은 API 레퍼런스 문서 대상이 아니다. 브라우저 리다이렉트/콜백 +(PG 승인 결과 수신 등)은 JSON API 계약이 아니라 사용자 브라우저를 향한 302 응답이며, +`api:docgen --scope={type}:{id}` 는 이 경우 `범위 '...' 에 해당하는 API 라우트가 없습니다` 로 응답한다. + +| 확장 | 라우트 | `docs/api/` | +| --- | --- | --- | +| `sirsoft-pay_kginicis` | `api.php` + `web.php` | 있음 — `api/` 엔드포인트 22건만 문서화 (web 콜백 9건 제외) | +| `sirsoft-tosspayments` | `web.php` | 없음 — PG 콜백 2건 전부 브라우저 리다이렉트 | +| `gnuboard7-hello_plugin` | `web.php` | 없음 | + +정적 검사는 `src/routes/api.php` 존재 여부로 이를 판정해, 해당 확장의 +라우트/컨트롤러/FormRequest 변경에는 문서 동반을 요구하지 않는다. 확장에 `api.php` 를 추가하면 +그 시점부터 자동으로 검사 대상이 되므로, 문서 생성을 함께 수행한다. + ### 문서 목차와 발견성 (README.md 규약) 각 대상(코어·확장)의 API 문서 디렉토리에는 `README.md` 목차가 있어야 한다. `api:docgen` 이 도메인 파일 @@ -364,12 +384,15 @@ php artisan api:docgen-backfill-fields 즉 코어 API 표면(`routes/api.php`·`app/Http/{Controllers,Requests,Resources}/**`)을 변경하면서 코어 API 문서를 함께 갱신하지 않으면 그 변경은 통과하지 못한다. 나머지 확장은 문서 완비 시 순차로 차단 대상에 편입된다. +- 면제: `src/routes/api.php` 가 없는 web 전용 확장은 문서 대상이 아니므로 검사 대상에서 제외된다 + ("문서 대상이 아닌 확장" 참조). --- ## 체크리스트 ```text +□ 그 확장에 api/ 표면이 있는가? (src/routes/api.php 부재 = web 전용 → 문서 대상 아님) □ 엔드포인트가 대응 위치(코어 docs/backend/api/ 또는 확장 docs/api/)에 문서화되었는가? □ 요청 파라미터 표에 위치/타입/필수/허용값/용도가 모두 기재되었는가? □ 요청 예시(raw HTTP 요청) 블록이 방출되었는가? (curl 금지, 인증 필요 시 Bearer {YOUR_TOKEN} 마스킹) From af1da5fe0b80f645a80cb2798eb9dde524558ad8 Mon Sep 17 00:00:00 2001 From: HeuJung Date: Thu, 9 Jul 2026 18:16:40 +0900 Subject: [PATCH 03/18] =?UTF-8?q?feat(ecommerce):=20=ED=98=84=EA=B8=88?= =?UTF-8?q?=EC=98=81=EC=88=98=EC=A6=9D=20=ED=94=84=EB=A1=9C=EB=B0=94?= =?UTF-8?q?=EC=9D=B4=EB=8D=94=20=ED=9B=85=20=EC=B6=95=20+=20=EC=9D=B4?= =?UTF-8?q?=EB=A0=A5=20=ED=85=8C=EC=9D=B4=EB=B8=94=20+=20=ED=98=84?= =?UTF-8?q?=EA=B8=88=EC=84=B1=20=EA=B8=88=EC=95=A1=20+=20=EB=B0=B0?= =?UTF-8?q?=EC=86=A1=EB=B9=84=20=EA=B3=BC=EC=84=B8=20=EC=A0=95=EC=B1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 현금영수증 발급 프로바이더를 PG 와 독립적으로 선택할 수 있도록 훅 축을 신설한다. KG이니시스로 결제받으면서 현금영수증만 토스페이먼츠로 발급하는 구성이 가능하다. 발급/취소 원장(ecommerce_order_cash_receipts)이 국세청 신고 근거를 보관한다. 금액이 바뀌면 syncFromOrder 가 주문의 현재 상태에서 발급액을 재계산해 전체취소 → 전액 재발급한다. 부분취소 API 를 쓰지 않으므로 전액취소만 지원하는 벤더도 동일 인터페이스로 수용되고, 증가/감소 방향을 구분하지 않아 향후 반품·교환 배송비 청구가 도입되어도 수정 없이 동작한다. 배송비는 그동안 과세/면세 분류에서 아예 빠져 있었다. 배송비는 단계 3 에서 계산되고 할인은 단계 4 에서 적용되므로 상품 분류 시점(단계 2-b)에는 존재하지 않는다. 따라서 할인 후 배송비가 확정된 Summary 집계 직전에 3가지 정책 중 하나로 분류해 합산하고, 옵션별 과세액에는 배송비를 섞지 않는다. 재발급용 식별번호는 APP_KEY 기반으로 암호화 보관하고 구매확정 시 폐기한다. 이력에는 마스킹 값만 남기며 프로바이더 원응답의 민감 키도 가린다. 주민등록번호는 수집하지 않는다. cash_receipt_type 은 Enum 캐스트하지 않는다 — 레거시 값(income_deduction)이 남아 있는 동안 Laravel 의 ::from 이 ValueError 를 던져 정규화해야 할 업그레이드 스텝 자신이 그 행을 읽지 못하게 되기 때문이다. --- .../CHANGELOG.md | 6 + .../backend/ja/cash_receipt.php | 33 + .../language-pack.json | 2 +- .../_bundled/sirsoft-ecommerce/CHANGELOG.md | 9 +- .../_bundled/sirsoft-ecommerce/composer.json | 2 +- .../config/settings/defaults.json | 3 + ...te_ecommerce_order_cash_receipts_table.php | 62 ++ ...alent_amount_to_ecommerce_orders_table.php | 69 ++ ...pted_to_ecommerce_order_payments_table.php | 43 ++ ...type_to_ecommerce_order_payments_table.php | 45 ++ .../_bundled/sirsoft-ecommerce/module.json | 2 +- .../sirsoft-ecommerce/package-lock.json | 4 +- .../_bundled/sirsoft-ecommerce/package.json | 2 +- .../src/Enums/CashReceiptIdentifierType.php | 139 ++++ .../src/Enums/CashReceiptIssueStatus.php | 92 +++ .../src/Enums/CashReceiptTransactionType.php | 63 ++ .../src/Enums/CashReceiptType.php | 106 +++ .../src/Enums/ShippingFeeTaxPolicy.php | 85 +++ .../sirsoft-ecommerce/src/Models/Order.php | 14 + .../src/Models/OrderCashReceipt.php | 106 +++ .../src/Models/OrderOption.php | 4 + .../src/Models/OrderPayment.php | 43 ++ .../Providers/EcommerceServiceProvider.php | 6 + .../OrderCashReceiptRepositoryInterface.php | 56 ++ .../OrderPaymentRepositoryInterface.php | 72 ++ .../OrderCashReceiptRepository.php | 97 +++ .../Repositories/OrderPaymentRepository.php | 94 +++ .../src/Services/CashReceiptService.php | 614 ++++++++++++++++++ .../src/Services/EcommerceSettingsService.php | 54 ++ .../src/Services/OrderCalculationService.php | 107 +++ .../src/Services/OrderProcessingService.php | 53 +- .../src/Services/OrderService.php | 2 + .../src/lang/en/cash_receipt.php | 56 ++ .../src/lang/ko/cash_receipt.php | 56 ++ .../CashReceiptMigrationRoundTripTest.php | 160 +++++ .../Enums/CashReceiptIdentifierTypeTest.php | 136 ++++ .../Services/CashEquivalentAmountTest.php | 104 +++ .../Unit/Services/CashReceiptServiceTest.php | 608 +++++++++++++++++ .../ShippingFeeTaxIntegrationTest.php | 224 +++++++ .../Services/ShippingFeeTaxPolicyTest.php | 192 ++++++ .../Upgrades/NormalizeCashReceiptTypeTest.php | 152 +++++ .../cash-receipt-infrastructure.yaml | 135 ++++ .../upgrades/Upgrade_1_1_0.php | 18 + .../migrations/NormalizeCashReceiptType.php | 62 ++ .../sirsoft-ecommerce/vendor-bundle.json | 10 +- .../sirsoft-ecommerce/vendor-bundle.zip | Bin 435549 -> 435548 bytes 46 files changed, 3986 insertions(+), 16 deletions(-) create mode 100644 lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/cash_receipt.php create mode 100644 modules/_bundled/sirsoft-ecommerce/database/migrations/2026_07_09_000001_create_ecommerce_order_cash_receipts_table.php create mode 100644 modules/_bundled/sirsoft-ecommerce/database/migrations/2026_07_09_000002_add_cash_equivalent_amount_to_ecommerce_orders_table.php create mode 100644 modules/_bundled/sirsoft-ecommerce/database/migrations/2026_07_09_000003_add_cash_receipt_identifier_encrypted_to_ecommerce_order_payments_table.php create mode 100644 modules/_bundled/sirsoft-ecommerce/database/migrations/2026_07_09_000004_add_cash_receipt_identifier_type_to_ecommerce_order_payments_table.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptIdentifierType.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptIssueStatus.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptTransactionType.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptType.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Enums/ShippingFeeTaxPolicy.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Models/OrderCashReceipt.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Repositories/Contracts/OrderCashReceiptRepositoryInterface.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Repositories/Contracts/OrderPaymentRepositoryInterface.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderCashReceiptRepository.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderPaymentRepository.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/lang/en/cash_receipt.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/lang/ko/cash_receipt.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Feature/Migrations/CashReceiptMigrationRoundTripTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Unit/Enums/CashReceiptIdentifierTypeTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashEquivalentAmountTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/ShippingFeeTaxIntegrationTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/ShippingFeeTaxPolicyTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Unit/Upgrades/NormalizeCashReceiptTypeTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/scenarios/cash-receipt-infrastructure.yaml create mode 100644 modules/_bundled/sirsoft-ecommerce/upgrades/Upgrade_1_1_0.php create mode 100644 modules/_bundled/sirsoft-ecommerce/upgrades/data/1.1.0/migrations/NormalizeCashReceiptType.php diff --git a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/CHANGELOG.md b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/CHANGELOG.md index 22b60ff7..93c60a6f 100644 --- a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/CHANGELOG.md +++ b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/CHANGELOG.md @@ -4,6 +4,12 @@ 형식은 [Keep a Changelog](https://keepachangelog.com/ko/1.1.0/)를 따르며, [Semantic Versioning](https://semver.org/lang/ko/)을 준수합니다. +## [1.1.0] - 2026-08-06 + +### Added + +- 현금영수증 관련 문구(`cash_receipt.*` — 발급 용도, 식별번호 종류, 발급/취소 이력 상태, 배송비 과세 방식, 오류 안내) 일본어 번역 추가 — 현금영수증 발급 화면과 이커머스 환경설정이 일본어 로케일에서 자연스럽게 표시됩니다. + ## [1.0.8] - 2026-08-01 ### Added diff --git a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/cash_receipt.php b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/cash_receipt.php new file mode 100644 index 00000000..1ee7294a --- /dev/null +++ b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/cash_receipt.php @@ -0,0 +1,33 @@ + [ + 'income' => '所得控除用', + 'expense' => '支出証明用', + ], + 'identifier_type' => [ + 'phone' => '携帯電話番号', + 'card' => '現金領収書カード番号', + 'business' => '事業者登録番号', + ], + 'transaction_type' => [ + 'issue' => '発行', + 'cancel' => 'キャンセル', + ], + 'issue_status' => [ + 'in_progress' => '処理中', + 'completed' => '発行完了', + 'failed' => '発行失敗', + ], + 'shipping_fee_tax_policy' => [ + 'proportional' => '按分 (課税商品の比率に応じて課税)', + 'taxable' => '全額課税', + 'follow_main_item' => '主要な財を従う', + ], + 'errors' => [ + 'provider_not_configured' => '現金領収書発行プロバイダーが設定されていません。', + 'no_provider_handled' => '現金領収書発行リクエストを処理したプロバイダーがありません。', + 'no_issuable_amount' => '発行可能な現金性金額がありません。', + 'identifier_unavailable' => '再発行に必要な識別番号を復号化できません。管理者が識別番号を再入力して発行する必要があります。', + ], +]; diff --git a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/language-pack.json b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/language-pack.json index feecaa32..6bf41278 100644 --- a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/language-pack.json +++ b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/language-pack.json @@ -12,7 +12,7 @@ "en": "G7 module (sirsoft-ecommerce) Japanese language pack (bundled)", "ja": "G7 モジュール (sirsoft-ecommerce) 日本語 言語パック(バンドル)" }, - "version": "1.0.8", + "version": "1.1.0", "license": "MIT", "scope": "module", "target_identifier": "sirsoft-ecommerce", diff --git a/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md b/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md index f8f105b8..74bfe386 100644 --- a/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md +++ b/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md @@ -4,7 +4,7 @@ 형식은 [Keep a Changelog](https://keepachangelog.com/ko/1.1.0/)를 따르며, [Semantic Versioning](https://semver.org/lang/ko/)을 준수합니다. -## [1.0.5] - 2026-07-16 +## [1.1.0] - 2026-08-06 ### Security @@ -18,6 +18,11 @@ ### Added +- 현금영수증 발급 업체를 결제대행사와 따로 고를 수 있습니다 — KG이니시스로 결제받으면서 현금영수증만 토스페이먼츠로 발급하는 구성이 가능합니다. 발급 업체는 이커머스 환경설정에서 선택합니다. +- 현금영수증 발급·취소 이력이 남습니다. 부분 환불 등으로 결제금액이 바뀌면 기존 영수증을 취소하고 바뀐 금액으로 다시 발급하며, 그 과정이 모두 기록되어 국세청 신고 근거로 쓸 수 있습니다. 재발급이 실패한 경우에도 이력이 남아 관리자가 확인하고 다시 발급할 수 있습니다. +- 주문에 현금성 금액이 기록됩니다. 무통장입금 주문에서 마일리지를 사용한 경우, 실제로 계좌에 입금된 금액만 현금영수증 발급 대상이 됩니다. +- 배송비 과세 방식을 이커머스 환경설정에서 고를 수 있습니다 — 안분(기본, 과세상품 비율만큼 배송비를 과세로 계산) / 전액 과세 / 주된 재화를 따름 중 상점의 세무 판단에 맞춰 선택합니다. +- 현금영수증 식별번호(휴대폰번호·사업자등록번호 등)는 재발급에 쓸 수 있도록 암호화해 보관하고 구매확정 시점에 폐기합니다. 이력에는 뒤 4자리를 제외한 마스킹 값만 남으며, 발급 업체가 보내온 응답에 섞여 오는 개인정보도 가려서 저장합니다. 주민등록번호는 수집하지 않습니다. - 사이트맵에 담을 상품·카테고리 수의 안전 상한을 지원합니다. 상한을 설정하면 상품 목록·카테고리·상품 어느 항목이든 그 수를 넘지 않으며, 상한에 걸려 일부가 빠진 경우 기록으로 남습니다. - 상품·카테고리를 전시/숨김으로 바꾸거나 삭제하면 사이트맵에 해당 항목만 자동으로 반영됩니다. 전체를 다시 만들지 않고 바뀐 부분만 갱신하므로 상품이 많은 쇼핑몰에서도 빠르게 최신 상태가 유지됩니다. - 이커머스 알림 설정 화면에서도 코어와 동일하게 카카오 알림톡 템플릿을 연결할 수 있습니다(비즈뿌리오 플러그인 설치 시). @@ -25,6 +30,8 @@ ### Changed +- 과세·면세 금액 합계에 배송비가 포함됩니다. 그동안 배송비는 과세/면세 어느 쪽에도 집계되지 않아 상품 금액만 합산되었습니다. +- 현금영수증 발급 용도 값을 소득공제(income) / 지출증빙(expense)으로 통일했습니다. 기존에 다른 값으로 저장된 주문은 모듈 업데이트 시 자동으로 정리됩니다. - 관리자 상품 목록이 상품마다 옵션 전체를 함께 내려주지 않습니다. 목록에는 옵션 개수와 재고 합계만 실리고, 옵션 상세는 행을 펼칠 때 필요한 상품의 것만 한 번에 가져옵니다. 옵션을 많이 쓰는 쇼핑몰일수록 목록을 여는 속도와 전송량이 크게 개선됩니다(상품 100건에 상품당 옵션 20건 기준, 목록 응답 크기 약 94% 감소). 화면에서 보이는 내용과 일괄 변경 적용 범위는 이전과 동일하며, 옵션을 목록 응답에 함께 받으려면 주소 뒤에 `?with_options=1` 을 붙이면 됩니다. (#76 @jordy-bitree 님께서 제보해주셨습니다.) - 관리자 주문 목록이 주문마다 주문상품 전체를 함께 내려주지 않습니다. 목록은 대표 상품 1건과 "외 N건" 표기만 사용하므로, 이제 그 1건과 개수만 읽습니다. 한 주문에 상품을 많이 담는 쇼핑몰일수록 목록을 여는 속도와 전송량이 개선됩니다. 화면에 보이는 내용(대표 상품·추가옵션 요약·"외 N건"·부분취소 표시)은 이전과 동일하며, 마이페이지 주문내역은 종전대로 주문상품 전체를 보여줍니다. (#76 @jordy-bitree 님께서 제보해주셨습니다.) - 상품 옵션의 표시 순서를 상품 등록/수정 화면과 동일하게 정렬 순서 기준으로 통일했습니다. 이전에는 관리자 상품 목록의 펼친 옵션만 정해진 순서 없이 표시돼 화면마다 순서가 달라 보일 수 있었습니다. (#76 @jordy-bitree 님께서 제보해주셨습니다.) diff --git a/modules/_bundled/sirsoft-ecommerce/composer.json b/modules/_bundled/sirsoft-ecommerce/composer.json index 542c3464..4ce24561 100644 --- a/modules/_bundled/sirsoft-ecommerce/composer.json +++ b/modules/_bundled/sirsoft-ecommerce/composer.json @@ -2,7 +2,7 @@ "name": "modules/sirsoft-ecommerce", "description": "Ecommerce module for Gnuboard7", "type": "library", - "version": "1.0.5", + "version": "1.1.0", "license": "MIT", "autoload": { "psr-4": { diff --git a/modules/_bundled/sirsoft-ecommerce/config/settings/defaults.json b/modules/_bundled/sirsoft-ecommerce/config/settings/defaults.json index fb974294..f2b209eb 100644 --- a/modules/_bundled/sirsoft-ecommerce/config/settings/defaults.json +++ b/modules/_bundled/sirsoft-ecommerce/config/settings/defaults.json @@ -107,6 +107,9 @@ }, "order_settings": { "default_pg_provider": null, + "cash_receipt_provider": "", + "cash_receipt_self_issue": false, + "shipping_fee_tax_policy": "proportional", "payment_methods": [ { "id": "card", diff --git a/modules/_bundled/sirsoft-ecommerce/database/migrations/2026_07_09_000001_create_ecommerce_order_cash_receipts_table.php b/modules/_bundled/sirsoft-ecommerce/database/migrations/2026_07_09_000001_create_ecommerce_order_cash_receipts_table.php new file mode 100644 index 00000000..c7befc31 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/database/migrations/2026_07_09_000001_create_ecommerce_order_cash_receipts_table.php @@ -0,0 +1,62 @@ +id()->comment('현금영수증 이력 ID'); + $table->foreignId('order_id') + ->comment('주문 ID') + ->constrained('ecommerce_orders') + ->onDelete('cascade'); + $table->unsignedBigInteger('order_payment_id')->nullable()->comment('결제 ID'); + $table->string('provider', 50)->comment('발급 프로바이더 (tosspayments, kginicis 등)'); + $table->string('receipt_key', 200)->nullable()->comment('프로바이더 영수증 키'); + $table->string('transaction_type', 20) + ->comment('거래 유형 (issue: 발급, cancel: 취소)'); + $table->string('receipt_type', 20) + ->comment('영수증 유형 (income: 소득공제, expense: 지출증빙)'); + $table->decimal('amount', 12, 2)->comment('발급/취소 금액'); + $table->decimal('tax_free_amount', 12, 2)->default(0)->comment('면세 금액'); + $table->string('identifier_masked', 50)->nullable()->comment('식별번호 (뒤 4자리 외 마스킹)'); + $table->text('receipt_url')->nullable()->comment('영수증 조회 URL'); + $table->string('issue_number', 20)->nullable()->comment('발급번호'); + $table->string('issue_status', 20) + ->comment('발급 상태 (IN_PROGRESS: 처리중, COMPLETED: 완료, FAILED: 실패)'); + $table->string('error_code', 100)->nullable()->comment('실패 시 프로바이더 에러코드'); + $table->text('error_message')->nullable()->comment('실패 시 에러 메시지'); + $table->timestamp('issued_at')->nullable()->comment('발급일시'); + $table->json('raw_response')->nullable()->comment('프로바이더 원응답 (민감키 마스킹 후 저장)'); + $table->timestamps(); + + $table->index(['order_id', 'transaction_type'], 'ecommerce_order_cash_receipts_order_type_index'); + $table->index('receipt_key', 'ecommerce_order_cash_receipts_receipt_key_index'); + $table->index('order_payment_id', 'ecommerce_order_cash_receipts_payment_id_index'); + }); + } + + /** + * 마이그레이션 롤백 + */ + public function down(): void + { + Schema::dropIfExists('ecommerce_order_cash_receipts'); + } +}; diff --git a/modules/_bundled/sirsoft-ecommerce/database/migrations/2026_07_09_000002_add_cash_equivalent_amount_to_ecommerce_orders_table.php b/modules/_bundled/sirsoft-ecommerce/database/migrations/2026_07_09_000002_add_cash_equivalent_amount_to_ecommerce_orders_table.php new file mode 100644 index 00000000..bdff75a4 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/database/migrations/2026_07_09_000002_add_cash_equivalent_amount_to_ecommerce_orders_table.php @@ -0,0 +1,69 @@ +decimal('total_cash_equivalent_amount', 12, 2) + ->default(0) + ->after('total_due_amount') + ->comment('주문 전체 현금성 결제 금액 (현금영수증 발급 대상)'); + } + + if (! Schema::hasColumn('ecommerce_orders', 'mc_total_cash_equivalent_amount')) { + $table->text('mc_total_cash_equivalent_amount') + ->nullable() + ->comment('현금성 결제 금액 다중 통화'); + } + }); + + Schema::table('ecommerce_order_options', function (Blueprint $table) { + if (! Schema::hasColumn('ecommerce_order_options', 'subtotal_cash_equivalent_amount')) { + $table->decimal('subtotal_cash_equivalent_amount', 12, 2) + ->default(0) + ->comment('옵션별 현금성 금액 안분액'); + } + + if (! Schema::hasColumn('ecommerce_order_options', 'mc_subtotal_cash_equivalent_amount')) { + $table->text('mc_subtotal_cash_equivalent_amount') + ->nullable() + ->comment('옵션별 현금성 금액 다중 통화'); + } + }); + } + + /** + * 마이그레이션 롤백 + */ + public function down(): void + { + if (Schema::hasTable('ecommerce_orders')) { + Schema::table('ecommerce_orders', function (Blueprint $table) { + foreach (['total_cash_equivalent_amount', 'mc_total_cash_equivalent_amount'] as $column) { + if (Schema::hasColumn('ecommerce_orders', $column)) { + $table->dropColumn($column); + } + } + }); + } + + if (Schema::hasTable('ecommerce_order_options')) { + Schema::table('ecommerce_order_options', function (Blueprint $table) { + foreach (['subtotal_cash_equivalent_amount', 'mc_subtotal_cash_equivalent_amount'] as $column) { + if (Schema::hasColumn('ecommerce_order_options', $column)) { + $table->dropColumn($column); + } + } + }); + } + } +}; diff --git a/modules/_bundled/sirsoft-ecommerce/database/migrations/2026_07_09_000003_add_cash_receipt_identifier_encrypted_to_ecommerce_order_payments_table.php b/modules/_bundled/sirsoft-ecommerce/database/migrations/2026_07_09_000003_add_cash_receipt_identifier_encrypted_to_ecommerce_order_payments_table.php new file mode 100644 index 00000000..388a9a62 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/database/migrations/2026_07_09_000003_add_cash_receipt_identifier_encrypted_to_ecommerce_order_payments_table.php @@ -0,0 +1,43 @@ +text('cash_receipt_identifier_encrypted') + ->nullable() + ->after('cash_receipt_identifier') + ->comment('현금영수증 식별번호 암호문 (재발급용, 구매확정 시 폐기)'); + } + }); + } + + /** + * 마이그레이션 롤백 + */ + public function down(): void + { + if (! Schema::hasTable('ecommerce_order_payments')) { + return; + } + + Schema::table('ecommerce_order_payments', function (Blueprint $table) { + if (Schema::hasColumn('ecommerce_order_payments', 'cash_receipt_identifier_encrypted')) { + $table->dropColumn('cash_receipt_identifier_encrypted'); + } + }); + } +}; diff --git a/modules/_bundled/sirsoft-ecommerce/database/migrations/2026_07_09_000004_add_cash_receipt_identifier_type_to_ecommerce_order_payments_table.php b/modules/_bundled/sirsoft-ecommerce/database/migrations/2026_07_09_000004_add_cash_receipt_identifier_type_to_ecommerce_order_payments_table.php new file mode 100644 index 00000000..bacd1d9a --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/database/migrations/2026_07_09_000004_add_cash_receipt_identifier_type_to_ecommerce_order_payments_table.php @@ -0,0 +1,45 @@ +string('cash_receipt_identifier_type', 20) + ->nullable() + ->after('cash_receipt_type') + ->comment('현금영수증 식별번호 종류 (phone: 휴대폰번호, card: 현금영수증카드번호, business: 사업자등록번호)'); + } + }); + } + + /** + * 마이그레이션 롤백 + */ + public function down(): void + { + if (! Schema::hasTable('ecommerce_order_payments')) { + return; + } + + Schema::table('ecommerce_order_payments', function (Blueprint $table) { + if (Schema::hasColumn('ecommerce_order_payments', 'cash_receipt_identifier_type')) { + $table->dropColumn('cash_receipt_identifier_type'); + } + }); + } +}; diff --git a/modules/_bundled/sirsoft-ecommerce/module.json b/modules/_bundled/sirsoft-ecommerce/module.json index 0ac4ee0a..e7b68a12 100644 --- a/modules/_bundled/sirsoft-ecommerce/module.json +++ b/modules/_bundled/sirsoft-ecommerce/module.json @@ -5,7 +5,7 @@ "ko": "이커머스", "en": "Ecommerce" }, - "version": "1.0.5", + "version": "1.1.0", "license": "MIT", "description": { "ko": "그누보드7 이커머스 모듈 - 상품, 주문, 결제 관리", diff --git a/modules/_bundled/sirsoft-ecommerce/package-lock.json b/modules/_bundled/sirsoft-ecommerce/package-lock.json index 0b9e70b0..bb1e54fb 100644 --- a/modules/_bundled/sirsoft-ecommerce/package-lock.json +++ b/modules/_bundled/sirsoft-ecommerce/package-lock.json @@ -1,12 +1,12 @@ { "name": "@g7/sirsoft-ecommerce", - "version": "1.0.5", + "version": "1.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@g7/sirsoft-ecommerce", - "version": "1.0.5", + "version": "1.1.0", "devDependencies": { "jsdom": "^27.4.0", "typescript": "^5.3.3", diff --git a/modules/_bundled/sirsoft-ecommerce/package.json b/modules/_bundled/sirsoft-ecommerce/package.json index 9e058613..7da219b5 100644 --- a/modules/_bundled/sirsoft-ecommerce/package.json +++ b/modules/_bundled/sirsoft-ecommerce/package.json @@ -1,6 +1,6 @@ { "name": "@g7/sirsoft-ecommerce", - "version": "1.0.5", + "version": "1.1.0", "description": "그누보드7 이커머스 모듈 프론트엔드 에셋", "private": true, "type": "module", diff --git a/modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptIdentifierType.php b/modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptIdentifierType.php new file mode 100644 index 00000000..e13646a0 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptIdentifierType.php @@ -0,0 +1,139 @@ + 값 배열 + */ + public static function values(): array + { + return array_column(self::cases(), 'value'); + } + + /** + * 유효한 값인지 확인합니다. + * + * @param string $value 검증할 값 + * @return bool 유효 여부 + */ + public static function isValid(string $value): bool + { + return in_array($value, self::values(), true); + } + + /** + * 다국어 라벨을 반환합니다. + * + * @return string 라벨 + */ + public function label(): string + { + return __($this->labelKey()); + } + + /** + * 번역 키를 반환합니다. + * + * @return string 번역 키 + */ + public function labelKey(): string + { + return 'sirsoft-ecommerce::cash_receipt.identifier_type.'.$this->value; + } + + /** + * 식별번호 형식이 유효한지 확인합니다. + * + * 하이픈·공백은 호출부에서 제거한 뒤 전달한다. + * 현금영수증 카드번호는 공개된 체크섬 규격을 확인하지 못해 자릿수만 검증한다. + * + * @param string $identifier 하이픈 제거된 식별번호 + * @return bool 형식 유효 여부 + */ + public function matches(string $identifier): bool + { + return match ($this) { + self::PHONE => (bool) preg_match('/^01[016789]\d{7,8}$/', $identifier), + self::CARD => (bool) preg_match('/^\d{13,19}$/', $identifier), + self::BUSINESS => self::isValidBusinessNumber($identifier), + }; + } + + /** + * 사업자등록번호 체크섬을 검증합니다. + * + * 가중치 [1,3,7,1,3,7,1,3,5] 를 앞 9자리에 곱하고, 9번째 자리 곱 결과의 십의 자리를 가산한 뒤 + * (10 - 합 % 10) % 10 이 마지막 자리와 일치해야 한다. + * + * 앞 3자리(세무서 코드)가 000 인 번호는 체크섬을 수학적으로 항상 만족(0000000000)하지만 + * 발급될 수 없는 번호이므로 별도로 배제한다. + * + * @param string $number 하이픈 제거된 10자리 사업자등록번호 + * @return bool 체크섬 유효 여부 + */ + public static function isValidBusinessNumber(string $number): bool + { + if (! preg_match('/^\d{10}$/', $number)) { + return false; + } + + if (substr($number, 0, 3) === '000') { + return false; + } + + $weights = [1, 3, 7, 1, 3, 7, 1, 3, 5]; + $sum = 0; + + foreach ($weights as $index => $weight) { + $sum += ((int) $number[$index]) * $weight; + } + + // 9번째 자리(index 8) 곱 결과의 십의 자리를 가산 + $sum += intdiv(((int) $number[8]) * 5, 10); + + return ((10 - ($sum % 10)) % 10) === (int) $number[9]; + } + + /** + * 자진발급 지정번호인지 확인합니다. + * + * @param string $identifier 하이픈 제거된 식별번호 + * @return bool 자진발급 지정번호 여부 + */ + public static function isSelfIssueNumber(string $identifier): bool + { + return $identifier === self::SELF_ISSUE_NUMBER; + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptIssueStatus.php b/modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptIssueStatus.php new file mode 100644 index 00000000..8ac0120c --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptIssueStatus.php @@ -0,0 +1,92 @@ + 값 배열 + */ + public static function values(): array + { + return array_column(self::cases(), 'value'); + } + + /** + * 유효한 값인지 확인합니다. + * + * @param string $value 검증할 값 + * @return bool 유효 여부 + */ + public static function isValid(string $value): bool + { + return in_array($value, self::values(), true); + } + + /** + * 성공적으로 완료된 상태인지 확인합니다. + * + * @return bool 완료 여부 + */ + public function isCompleted(): bool + { + return $this === self::COMPLETED; + } + + /** + * 다국어 라벨을 반환합니다. + * + * @return string 라벨 + */ + public function label(): string + { + return __($this->labelKey()); + } + + /** + * 번역 키를 반환합니다. + * + * @return string 번역 키 + */ + public function labelKey(): string + { + return 'sirsoft-ecommerce::cash_receipt.issue_status.'.strtolower($this->value); + } + + /** + * UI Badge variant 를 반환합니다. + * + * @return string variant 명 + */ + public function variant(): string + { + return match ($this) { + self::IN_PROGRESS => 'warning', + self::COMPLETED => 'success', + self::FAILED => 'danger', + }; + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptTransactionType.php b/modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptTransactionType.php new file mode 100644 index 00000000..15f726b3 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptTransactionType.php @@ -0,0 +1,63 @@ + 값 배열 + */ + public static function values(): array + { + return array_column(self::cases(), 'value'); + } + + /** + * 유효한 값인지 확인합니다. + * + * @param string $value 검증할 값 + * @return bool 유효 여부 + */ + public static function isValid(string $value): bool + { + return in_array($value, self::values(), true); + } + + /** + * 다국어 라벨을 반환합니다. + * + * @return string 라벨 + */ + public function label(): string + { + return __($this->labelKey()); + } + + /** + * 번역 키를 반환합니다. + * + * @return string 번역 키 + */ + public function labelKey(): string + { + return 'sirsoft-ecommerce::cash_receipt.transaction_type.'.$this->value; + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptType.php b/modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptType.php new file mode 100644 index 00000000..d0bc880d --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptType.php @@ -0,0 +1,106 @@ + 값 배열 + */ + public static function values(): array + { + return array_column(self::cases(), 'value'); + } + + /** + * 유효한 값인지 확인합니다. + * + * @param string $value 검증할 값 + * @return bool 유효 여부 + */ + public static function isValid(string $value): bool + { + return in_array($value, self::values(), true); + } + + /** + * 레거시 값(income_deduction/expenditure_proof)을 포함해 안전하게 변환합니다. + * + * @param string|null $value 원본 값 + * @return self|null 변환된 Enum (해석 불가 시 null) + */ + public static function fromLegacy(?string $value): ?self + { + if ($value === null || $value === '') { + return null; + } + + return match ($value) { + 'income', 'income_deduction' => self::INCOME, + 'expense', 'expenditure_proof' => self::EXPENSE, + default => self::tryFrom($value), + }; + } + + /** + * 다국어 라벨을 반환합니다. + * + * @return string 라벨 + */ + public function label(): string + { + return __($this->labelKey()); + } + + /** + * 번역 키를 반환합니다. + * + * @return string 번역 키 + */ + public function labelKey(): string + { + return 'sirsoft-ecommerce::cash_receipt.type.'.$this->value; + } + + /** + * 해당 용도로 사용 가능한 식별번호 종류를 반환합니다. + * + * 휴대폰번호는 소득공제/지출증빙 양쪽에 사용 가능하다. + * (근거: 팝빌 발행유형 가이드 — 두 용도 모두에 휴대폰번호를 명시) + * + * @return array 허용되는 식별번호 종류 + */ + public function allowedIdentifierTypes(): array + { + return match ($this) { + self::INCOME => [ + CashReceiptIdentifierType::PHONE, + CashReceiptIdentifierType::CARD, + ], + self::EXPENSE => [ + CashReceiptIdentifierType::BUSINESS, + CashReceiptIdentifierType::PHONE, + CashReceiptIdentifierType::CARD, + ], + }; + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Enums/ShippingFeeTaxPolicy.php b/modules/_bundled/sirsoft-ecommerce/src/Enums/ShippingFeeTaxPolicy.php new file mode 100644 index 00000000..b7f535f5 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Enums/ShippingFeeTaxPolicy.php @@ -0,0 +1,85 @@ + 값 배열 + */ + public static function values(): array + { + return array_column(self::cases(), 'value'); + } + + /** + * 유효한 값인지 확인합니다. + * + * @param string $value 검증할 값 + * @return bool 유효 여부 + */ + public static function isValid(string $value): bool + { + return in_array($value, self::values(), true); + } + + /** + * 값을 안전하게 변환합니다. 해석 불가 시 기본값(안분)을 반환합니다. + * + * @param string|null $value 원본 값 + * @return self 변환된 Enum + */ + public static function fromValueOrDefault(?string $value): self + { + if ($value === null || $value === '') { + return self::PROPORTIONAL; + } + + return self::tryFrom($value) ?? self::PROPORTIONAL; + } + + /** + * 다국어 라벨을 반환합니다. + * + * @return string 라벨 + */ + public function label(): string + { + return __($this->labelKey()); + } + + /** + * 번역 키를 반환합니다. + * + * @return string 번역 키 + */ + public function labelKey(): string + { + return 'sirsoft-ecommerce::cash_receipt.shipping_fee_tax_policy.'.$this->value; + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Models/Order.php b/modules/_bundled/sirsoft-ecommerce/src/Models/Order.php index 9b598bbb..db26e74b 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Models/Order.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Models/Order.php @@ -96,6 +96,7 @@ class Order extends Model 'total_deposit_used_amount', 'total_paid_amount', 'total_due_amount', + 'total_cash_equivalent_amount', 'total_cancelled_amount', 'total_refunded_amount', 'total_refunded_points_amount', @@ -132,6 +133,7 @@ class Order extends Model 'mc_total_tax_free_amount', 'mc_total_amount', 'mc_total_paid_amount', + 'mc_total_cash_equivalent_amount', ]; /** @@ -165,6 +167,7 @@ class Order extends Model 'total_deposit_used_amount' => 'decimal:2', 'total_paid_amount' => 'decimal:2', 'total_due_amount' => 'decimal:2', + 'total_cash_equivalent_amount' => 'decimal:2', 'total_cancelled_amount' => 'decimal:2', 'total_refunded_amount' => 'decimal:2', 'total_refunded_points_amount' => 'decimal:2', @@ -202,6 +205,7 @@ class Order extends Model 'mc_total_tax_free_amount' => 'array', 'mc_total_amount' => 'array', 'mc_total_paid_amount' => 'array', + 'mc_total_cash_equivalent_amount' => 'array', ]; /** @@ -291,6 +295,16 @@ class Order extends Model return $this->hasMany(OrderPayment::class, 'order_id'); } + /** + * 현금영수증 이력 관계 + * + * @return HasMany 현금영수증 이력 모델과의 관계 + */ + public function cashReceipts(): HasMany + { + return $this->hasMany(OrderCashReceipt::class, 'order_id'); + } + /** * 배송 관계 * diff --git a/modules/_bundled/sirsoft-ecommerce/src/Models/OrderCashReceipt.php b/modules/_bundled/sirsoft-ecommerce/src/Models/OrderCashReceipt.php new file mode 100644 index 00000000..48865d90 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Models/OrderCashReceipt.php @@ -0,0 +1,106 @@ + 'decimal:2', + 'tax_free_amount' => 'decimal:2', + 'issued_at' => 'datetime', + 'raw_response' => 'array', + 'transaction_type' => CashReceiptTransactionType::class, + 'receipt_type' => CashReceiptType::class, + 'issue_status' => CashReceiptIssueStatus::class, + ]; + + /** + * 주문 관계 + * + * @return BelongsTo 주문 모델과의 관계 + */ + public function order(): BelongsTo + { + return $this->belongsTo(Order::class, 'order_id'); + } + + /** + * 결제 관계 + * + * @return BelongsTo 결제 모델과의 관계 + */ + public function payment(): BelongsTo + { + return $this->belongsTo(OrderPayment::class, 'order_payment_id'); + } + + /** + * 발급 이력인지 확인합니다. + * + * @return bool 발급 이력 여부 + */ + public function isIssue(): bool + { + return $this->transaction_type === CashReceiptTransactionType::ISSUE; + } + + /** + * 성공적으로 발급 완료된 이력인지 확인합니다. + * + * @return bool 발급 완료 여부 + */ + public function isCompletedIssue(): bool + { + return $this->isIssue() && $this->issue_status === CashReceiptIssueStatus::COMPLETED; + } + + /** + * 발급 금액과 면세 금액이 주어진 목표치와 동일한지 확인합니다. + * + * decimal cast 는 문자열을 반환하므로 정수 비교로 정규화한다. + * + * @param int $amount 목표 발급 금액 + * @param int $taxFreeAmount 목표 면세 금액 + * @return bool 동일 여부 + */ + public function matchesAmounts(int $amount, int $taxFreeAmount): bool + { + return (int) $this->amount === $amount + && (int) $this->tax_free_amount === $taxFreeAmount; + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Models/OrderOption.php b/modules/_bundled/sirsoft-ecommerce/src/Models/OrderOption.php index 13e62ccd..5a095d7d 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Models/OrderOption.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Models/OrderOption.php @@ -69,6 +69,7 @@ class OrderOption extends Model 'subtotal_points_used_amount', 'subtotal_deposit_used_amount', 'subtotal_paid_amount', + 'subtotal_cash_equivalent_amount', 'subtotal_tax_amount', 'subtotal_tax_free_amount', 'subtotal_earned_points_amount', @@ -94,6 +95,7 @@ class OrderOption extends Model 'mc_subtotal_tax_amount', 'mc_subtotal_tax_free_amount', 'mc_final_amount', + 'mc_subtotal_cash_equivalent_amount', ]; protected $casts = [ @@ -114,6 +116,7 @@ class OrderOption extends Model 'subtotal_points_used_amount' => 'decimal:2', 'subtotal_deposit_used_amount' => 'decimal:2', 'subtotal_paid_amount' => 'decimal:2', + 'subtotal_cash_equivalent_amount' => 'decimal:2', 'subtotal_tax_amount' => 'decimal:2', 'subtotal_tax_free_amount' => 'decimal:2', 'subtotal_earned_points_amount' => 'decimal:2', @@ -145,6 +148,7 @@ class OrderOption extends Model 'mc_subtotal_tax_amount' => 'array', 'mc_subtotal_tax_free_amount' => 'array', 'mc_final_amount' => 'array', + 'mc_subtotal_cash_equivalent_amount' => 'array', ]; /** diff --git a/modules/_bundled/sirsoft-ecommerce/src/Models/OrderPayment.php b/modules/_bundled/sirsoft-ecommerce/src/Models/OrderPayment.php index bb7ec522..69a0cb60 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Models/OrderPayment.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Models/OrderPayment.php @@ -7,6 +7,8 @@ use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\HasMany; use Modules\Sirsoft\Ecommerce\Database\Factories\OrderPaymentFactory; +use Modules\Sirsoft\Ecommerce\Enums\CashReceiptIdentifierType; +use Modules\Sirsoft\Ecommerce\Enums\CashReceiptType; use Modules\Sirsoft\Ecommerce\Enums\PaymentMethodEnum; use Modules\Sirsoft\Ecommerce\Enums\PaymentStatusEnum; use Modules\Sirsoft\Ecommerce\Enums\RefundMethodEnum; @@ -64,7 +66,9 @@ class OrderPayment extends Model 'is_cash_receipt_requested', 'is_cash_receipt_issued', 'cash_receipt_type', + 'cash_receipt_identifier_type', 'cash_receipt_identifier', + 'cash_receipt_identifier_encrypted', 'cash_receipt_issued_at', 'cancelled_amount', 'cancelled_vat_amount', @@ -99,6 +103,13 @@ class OrderPayment extends Model 'is_escrow' => 'boolean', 'is_cash_receipt_requested' => 'boolean', 'is_cash_receipt_issued' => 'boolean', + // cash_receipt_type 은 Enum 캐스트하지 않는다 — 레거시 행이 income_deduction/expenditure_proof 를 + // 담고 있어 Laravel 의 Enum 캐스트(::from)가 ValueError 를 던진다. Upgrade_1_1_0 이 정규화하기 + // 전까지 해당 행을 읽을 수 없게 되고, 업그레이드 스텝 자신도 그 행을 읽어야 한다. + // 읽기 경계에서는 CashReceiptType::fromLegacy() 를 사용한다. + 'cash_receipt_identifier_type' => CashReceiptIdentifierType::class, + // APP_KEY 기반 AES-256. 이력 테이블·로그에는 절대 노출하지 않는다. + 'cash_receipt_identifier_encrypted' => 'encrypted', 'cash_receipt_issued_at' => 'datetime', 'cancelled_amount' => 'decimal:2', 'cancelled_vat_amount' => 'decimal:2', @@ -150,6 +161,38 @@ class OrderPayment extends Model return $this->hasMany(OrderTaxInvoice::class, 'payment_id'); } + /** + * 현금영수증 이력 관계 + * + * @return HasMany 현금영수증 이력 모델과의 관계 + */ + public function cashReceipts(): HasMany + { + return $this->hasMany(OrderCashReceipt::class, 'order_payment_id'); + } + + /** + * 현금영수증 발급 용도를 Enum 으로 반환합니다. + * + * 레거시 값(income_deduction/expenditure_proof)도 안전하게 해석한다. + * + * @return CashReceiptType|null 발급 용도 (미설정/해석불가 시 null) + */ + public function getCashReceiptType(): ?CashReceiptType + { + return CashReceiptType::fromLegacy($this->cash_receipt_type); + } + + /** + * 무통장입금 결제 여부 확인 + * + * @return bool 무통장입금 결제 여부 + */ + public function isBankDeposit(): bool + { + return $this->payment_method === PaymentMethodEnum::DBANK; + } + /** * 카드 결제 여부 확인 * diff --git a/modules/_bundled/sirsoft-ecommerce/src/Providers/EcommerceServiceProvider.php b/modules/_bundled/sirsoft-ecommerce/src/Providers/EcommerceServiceProvider.php index 7999c461..6bcc6f11 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Providers/EcommerceServiceProvider.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Providers/EcommerceServiceProvider.php @@ -31,7 +31,9 @@ use Modules\Sirsoft\Ecommerce\Repositories\Contracts\MileageBalanceRepositoryInt use Modules\Sirsoft\Ecommerce\Repositories\Contracts\MileageTransactionRepositoryInterface; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\OrderCancelOptionRepositoryInterface; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\OrderCancelRepositoryInterface; +use Modules\Sirsoft\Ecommerce\Repositories\Contracts\OrderCashReceiptRepositoryInterface; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\OrderOptionRepositoryInterface; +use Modules\Sirsoft\Ecommerce\Repositories\Contracts\OrderPaymentRepositoryInterface; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\OrderRefundOptionRepositoryInterface; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\OrderRefundRepositoryInterface; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\OrderRepositoryInterface; @@ -64,7 +66,9 @@ use Modules\Sirsoft\Ecommerce\Repositories\MileageBalanceRepository; use Modules\Sirsoft\Ecommerce\Repositories\MileageTransactionRepository; use Modules\Sirsoft\Ecommerce\Repositories\OrderCancelOptionRepository; use Modules\Sirsoft\Ecommerce\Repositories\OrderCancelRepository; +use Modules\Sirsoft\Ecommerce\Repositories\OrderCashReceiptRepository; use Modules\Sirsoft\Ecommerce\Repositories\OrderOptionRepository; +use Modules\Sirsoft\Ecommerce\Repositories\OrderPaymentRepository; use Modules\Sirsoft\Ecommerce\Repositories\OrderRefundOptionRepository; use Modules\Sirsoft\Ecommerce\Repositories\OrderRefundRepository; use Modules\Sirsoft\Ecommerce\Repositories\OrderRepository; @@ -137,7 +141,9 @@ class EcommerceServiceProvider extends BaseModuleServiceProvider ExtraFeeTemplateRepositoryInterface::class => ExtraFeeTemplateRepository::class, OrderCancelRepositoryInterface::class => OrderCancelRepository::class, OrderCancelOptionRepositoryInterface::class => OrderCancelOptionRepository::class, + OrderCashReceiptRepositoryInterface::class => OrderCashReceiptRepository::class, OrderOptionRepositoryInterface::class => OrderOptionRepository::class, + OrderPaymentRepositoryInterface::class => OrderPaymentRepository::class, OrderRefundRepositoryInterface::class => OrderRefundRepository::class, OrderRefundOptionRepositoryInterface::class => OrderRefundOptionRepository::class, OrderRepositoryInterface::class => OrderRepository::class, diff --git a/modules/_bundled/sirsoft-ecommerce/src/Repositories/Contracts/OrderCashReceiptRepositoryInterface.php b/modules/_bundled/sirsoft-ecommerce/src/Repositories/Contracts/OrderCashReceiptRepositoryInterface.php new file mode 100644 index 00000000..4c480c76 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Repositories/Contracts/OrderCashReceiptRepositoryInterface.php @@ -0,0 +1,56 @@ + $data 이력 데이터 + * @return OrderCashReceipt 생성된 이력 + */ + public function create(array $data): OrderCashReceipt; + + /** + * 주문의 모든 이력을 최신순으로 조회합니다. + * + * @param Order $order 주문 모델 + * @return Collection 이력 컬렉션 + */ + public function findByOrder(Order $order): Collection; + + /** + * 주문의 활성 영수증(가장 최근 발급 완료 건 중 이후 취소되지 않은 것)을 조회합니다. + * + * @param Order $order 주문 모델 + * @return OrderCashReceipt|null 활성 영수증 (없으면 null) + */ + public function findActiveReceipt(Order $order): ?OrderCashReceipt; + + /** + * 주문의 활성 영수증 전체를 조회합니다. + * + * 정상 흐름에서는 항상 0~1건이지만, 발급 실패·중복 발급 등 이상 상태에서 2건 이상이 + * 남을 수 있으므로 전액취소 시에는 이 목록 전체를 대상으로 한다. + * + * @param Order $order 주문 모델 + * @return Collection 활성 영수증 컬렉션 + */ + public function findActiveReceipts(Order $order): Collection; + + /** + * 영수증 키로 이력을 조회합니다. + * + * @param string $receiptKey 프로바이더 영수증 키 + * @return OrderCashReceipt|null 이력 (없으면 null) + */ + public function findByReceiptKey(string $receiptKey): ?OrderCashReceipt; +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Repositories/Contracts/OrderPaymentRepositoryInterface.php b/modules/_bundled/sirsoft-ecommerce/src/Repositories/Contracts/OrderPaymentRepositoryInterface.php new file mode 100644 index 00000000..5b315841 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Repositories/Contracts/OrderPaymentRepositoryInterface.php @@ -0,0 +1,72 @@ +model->newQuery()->create($data); + } + + /** + * {@inheritDoc} + */ + public function findByOrder(Order $order): Collection + { + return $this->model->newQuery() + ->where('order_id', $order->id) + ->orderByDesc('id') + ->get(); + } + + /** + * {@inheritDoc} + */ + public function findActiveReceipt(Order $order): ?OrderCashReceipt + { + return $this->findActiveReceipts($order)->first(); + } + + /** + * {@inheritDoc} + */ + public function findActiveReceipts(Order $order): Collection + { + $rows = $this->model->newQuery() + ->where('order_id', $order->id) + ->whereIn('transaction_type', [ + CashReceiptTransactionType::ISSUE->value, + CashReceiptTransactionType::CANCEL->value, + ]) + ->where('issue_status', CashReceiptIssueStatus::COMPLETED->value) + ->orderByDesc('id') + ->get(); + + // 취소 완료된 receipt_key 집합 — 같은 키의 발급 이력은 더 이상 활성이 아니다. + $cancelledKeys = $rows + ->filter(fn (OrderCashReceipt $row) => $row->transaction_type === CashReceiptTransactionType::CANCEL) + ->pluck('receipt_key') + ->filter() + ->unique() + ->all(); + + $active = $rows->filter(function (OrderCashReceipt $row) use ($cancelledKeys) { + if ($row->transaction_type !== CashReceiptTransactionType::ISSUE) { + return false; + } + + // receipt_key 가 없는 발급 완료 건은 취소 대상을 특정할 수 없다 — 활성으로 보지 않는다. + if ($row->receipt_key === null || $row->receipt_key === '') { + return false; + } + + return ! in_array($row->receipt_key, $cancelledKeys, true); + }); + + return $this->model->newCollection($active->values()->all()); + } + + /** + * {@inheritDoc} + */ + public function findByReceiptKey(string $receiptKey): ?OrderCashReceipt + { + return $this->model->newQuery() + ->where('receipt_key', $receiptKey) + ->orderByDesc('id') + ->first(); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderPaymentRepository.php b/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderPaymentRepository.php new file mode 100644 index 00000000..dc8bca12 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderPaymentRepository.php @@ -0,0 +1,94 @@ + true, + 'cash_receipt_type' => $type->value, + 'cash_receipt_identifier' => $identifierMasked, + 'cash_receipt_identifier_type' => $identifierType, + 'cash_receipt_identifier_encrypted' => $identifier, + 'cash_receipt_issued_at' => $receipt->issued_at, + ]; + + if ($receipt->receipt_url !== null) { + $attributes['receipt_url'] = $receipt->receipt_url; + } + + $payment->update($attributes); + + return $payment; + } + + /** + * {@inheritDoc} + */ + public function markCashReceiptCancelled(OrderPayment $payment): OrderPayment + { + $payment->update([ + 'is_cash_receipt_issued' => false, + 'cash_receipt_issued_at' => null, + ]); + + return $payment; + } + + /** + * {@inheritDoc} + */ + public function purgeCashReceiptIdentifier(OrderPayment $payment): OrderPayment + { + if (! $this->hasCashReceiptIdentifier($payment)) { + return $payment; + } + + $payment->update(['cash_receipt_identifier_encrypted' => null]); + + return $payment; + } + + /** + * {@inheritDoc} + */ + public function resolveCashReceiptIdentifier(OrderPayment $payment): ?string + { + try { + $identifier = $payment->cash_receipt_identifier_encrypted; + } catch (\Throwable $e) { + // APP_KEY 로테이션 등으로 복호화 실패 + return null; + } + + return is_string($identifier) && $identifier !== '' ? $identifier : null; + } + + /** + * {@inheritDoc} + */ + public function hasCashReceiptIdentifier(OrderPayment $payment): bool + { + return $payment->getRawOriginal('cash_receipt_identifier_encrypted') !== null; + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php new file mode 100644 index 00000000..f46cf88b --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php @@ -0,0 +1,614 @@ + + */ + private const SENSITIVE_RESPONSE_KEYS = [ + 'customeridentitynumber', + 'identitynumber', + 'identifier', + 'customermobilephone', + 'mobilephone', + 'phone', + 'businessnumber', + 'customername', + 'customeremail', + 'email', + 'secret', + 'secretkey', + 'password', + ]; + + public function __construct( + private OrderCashReceiptRepositoryInterface $repository, + private OrderPaymentRepositoryInterface $paymentRepository, + private EcommerceSettingsService $settingsService, + ) {} + + /** + * 현금영수증을 발급합니다. + * + * @param Order $order 주문 모델 + * @param CashReceiptType $type 발급 용도 + * @param string $identifier 식별번호 원본 (하이픈 제거) + * @param CashReceiptIdentifierType|null $identifierType 식별번호 종류 (미지정 시 추론) + * @return OrderCashReceipt 생성된 발급 이력 (실패 시 issue_status=FAILED) + */ + public function issue( + Order $order, + CashReceiptType $type, + string $identifier, + ?CashReceiptIdentifierType $identifierType = null, + ): OrderCashReceipt { + $provider = $this->resolveProvider(); + $payment = $order->payment; + + if ($provider === null) { + return $this->recordFailure( + $order, + $payment, + CashReceiptTransactionType::ISSUE, + $type, + 'PROVIDER_NOT_CONFIGURED', + __('sirsoft-ecommerce::cash_receipt.errors.provider_not_configured'), + $identifier, + ); + } + + $target = $this->calculateIssuableAmount($order); + + if ($target['amount'] <= 0) { + return $this->recordFailure( + $order, + $payment, + CashReceiptTransactionType::ISSUE, + $type, + 'NO_ISSUABLE_AMOUNT', + __('sirsoft-ecommerce::cash_receipt.errors.no_issuable_amount'), + $identifier, + $provider, + ); + } + + $payload = [ + 'type' => $type->value, + 'identifier' => $identifier, + 'identifier_type' => ($identifierType ?? $this->inferIdentifierType($identifier))?->value, + 'amount' => $target['amount'], + 'tax_free_amount' => $target['tax_free_amount'], + 'order_name' => $this->buildOrderName($order), + 'order_number' => $order->order_number, + ]; + + $result = HookManager::applyFilters( + 'sirsoft-ecommerce.cash_receipt.issue', + $this->defaultIssueResult(), + $order, + $provider, + $payload, + ); + + $succeeded = (bool) ($result['success'] ?? false); + + $receipt = $this->repository->create([ + 'order_id' => $order->id, + 'order_payment_id' => $payment?->id, + 'provider' => $provider, + 'receipt_key' => $result['receipt_key'] ?? null, + 'transaction_type' => CashReceiptTransactionType::ISSUE->value, + 'receipt_type' => $type->value, + 'amount' => $target['amount'], + 'tax_free_amount' => $target['tax_free_amount'], + 'identifier_masked' => $this->maskIdentifier($identifier), + 'receipt_url' => $result['receipt_url'] ?? null, + 'issue_number' => $result['issue_number'] ?? null, + 'issue_status' => $succeeded + ? CashReceiptIssueStatus::COMPLETED->value + : CashReceiptIssueStatus::FAILED->value, + 'error_code' => $succeeded ? null : ($result['error_code'] ?? null), + 'error_message' => $succeeded ? null : ($result['error_message'] ?? null), + 'issued_at' => $succeeded ? now() : null, + 'raw_response' => $this->sanitizeResponse($result['raw_response'] ?? null), + ]); + + if ($succeeded) { + $this->syncPaymentSummary($payment, $receipt, $type, $identifier, $identifierType); + } else { + Log::warning('[cash_receipt] 발급 실패', [ + 'order_id' => $order->id, + 'provider' => $provider, + 'error_code' => $result['error_code'] ?? null, + ]); + } + + return $receipt; + } + + /** + * 주문의 활성 현금영수증을 모두 전액취소합니다. + * + * 부분취소 API 는 사용하지 않는다 (취소 금액 파라미터 없음). + * + * @param Order $order 주문 모델 + * @param string|null $reason 취소 사유 + * @return bool 활성 영수증 전부가 취소 성공했는지 여부 (취소 대상 없으면 true) + */ + public function cancelAll(Order $order, ?string $reason = null): bool + { + $activeReceipts = $this->repository->findActiveReceipts($order); + + if ($activeReceipts->isEmpty()) { + return true; + } + + $payment = $order->payment; + $allSucceeded = true; + + foreach ($activeReceipts as $active) { + $provider = $active->provider; + $receiptKey = (string) $active->receipt_key; + + $result = HookManager::applyFilters( + 'sirsoft-ecommerce.cash_receipt.cancel', + $this->defaultCancelResult(), + $order, + $provider, + $receiptKey, + ); + + $succeeded = (bool) ($result['success'] ?? false); + $allSucceeded = $allSucceeded && $succeeded; + + $this->repository->create([ + 'order_id' => $order->id, + 'order_payment_id' => $payment?->id, + 'provider' => $provider, + 'receipt_key' => $result['receipt_key'] ?? $receiptKey, + 'transaction_type' => CashReceiptTransactionType::CANCEL->value, + 'receipt_type' => $active->receipt_type->value, + 'amount' => (int) $active->amount, + 'tax_free_amount' => (int) $active->tax_free_amount, + 'identifier_masked' => $active->identifier_masked, + 'receipt_url' => null, + 'issue_number' => null, + 'issue_status' => $succeeded + ? CashReceiptIssueStatus::COMPLETED->value + : CashReceiptIssueStatus::FAILED->value, + 'error_code' => $succeeded ? null : ($result['error_code'] ?? null), + 'error_message' => $succeeded ? null : ($result['error_message'] ?? $reason), + 'issued_at' => null, + 'raw_response' => $this->sanitizeResponse($result['raw_response'] ?? null), + ]); + + if (! $succeeded) { + Log::warning('[cash_receipt] 취소 실패', [ + 'order_id' => $order->id, + 'provider' => $provider, + 'error_code' => $result['error_code'] ?? null, + ]); + } + } + + if ($allSucceeded) { + $this->clearPaymentSummary($payment); + } + + return $allSucceeded; + } + + /** + * 주문 금액 변동 시 현금영수증을 현재 상태에 맞춰 동기화합니다. + * + * 금액을 바꾸는 모든 지점(부분환불, 추가입금, 향후 반품/교환배송비 청구)이 호출하는 + * 유일한 진입점이다. 증가/감소를 구분하지 않는다. + * + * 실패해도 예외를 던지지 않는다 — 환불 트랜잭션을 롤백시킬 사유가 아니기 때문이다. + * 실패는 이력 테이블에 FAILED 로 남아 관리자 화면에 노출되고 수동 재발급으로 복구된다. + * + * @param Order $order 주문 모델 + * @param string|null $reason 변동 사유 (취소 이력에 기록) + */ + public function syncFromOrder(Order $order, ?string $reason = null): void + { + $active = $this->repository->findActiveReceipt($order); + + // 발급 이력이 없으면 아무것도 하지 않는다 (신청하지 않은 주문). + if ($active === null) { + return; + } + + $target = $this->calculateIssuableAmount($order); + + // 멱등: 변동이 없으면 no-op + if ($active->matchesAmounts($target['amount'], $target['tax_free_amount'])) { + return; + } + + // 전액 취소/전액 마일리지 등으로 발급 대상이 사라진 경우 + if ($target['amount'] <= 0) { + $this->cancelAll($order, $reason); + + return; + } + + $type = $active->receipt_type; + $identifier = $this->resolveStoredIdentifier($order); + + // 암호문이 없거나 복호화에 실패하면 재발급을 시도하지 않는다 (조용한 실패 금지). + if ($identifier === null) { + $this->recordFailure( + $order, + $order->payment, + CashReceiptTransactionType::ISSUE, + $type, + 'IDENTIFIER_UNAVAILABLE', + __('sirsoft-ecommerce::cash_receipt.errors.identifier_unavailable'), + null, + $active->provider, + ); + + Log::warning('[cash_receipt] 재발급용 식별번호 복호화 불가 — 관리자 수동 재발급 필요', [ + 'order_id' => $order->id, + ]); + + return; + } + + if (! $this->cancelAll($order, $reason)) { + // 취소가 실패하면 재발급하지 않는다 — 중복 영수증 발행 방지. + return; + } + + $this->issue($order, $type, $identifier, $order->payment?->cash_receipt_identifier_type); + } + + /** + * 현재 상태 기준 발급 가능 금액을 계산합니다. + * + * 주문 테이블의 재계산된 금액을 그대로 사용한다. 부분취소 시 OrderAdjustmentService 가 + * total_amount / total_tax_free_amount 를 잔여분 기준으로 갱신하므로, 본 메서드는 + * "지금 이 주문이 얼마짜리인가"만 읽으면 된다. + * + * 현금성 금액(total_cash_equivalent_amount)은 무통장 주문의 실입금액이며, + * 마일리지 사용분은 현금이 아니므로 제외되어 있다. + * + * @param Order $order 주문 모델 + * @return array{amount: int, tax_free_amount: int} 발급액과 면세액 + */ + public function calculateIssuableAmount(Order $order): array + { + $cashEquivalent = (int) round((float) $order->total_cash_equivalent_amount); + + if ($cashEquivalent <= 0) { + return ['amount' => 0, 'tax_free_amount' => 0]; + } + + $taxFree = (int) round((float) $order->total_tax_free_amount); + $taxable = (int) round((float) $order->total_tax_amount); + $classified = $taxFree + $taxable; + + // 과세/면세 분류 합이 현금성 금액과 다르면(마일리지 사용, 할인 등) 면세 비율로 안분한다. + // 반올림 잔차는 과세 쪽에 귀속시켜 합계를 보존한다. + if ($classified <= 0) { + return ['amount' => $cashEquivalent, 'tax_free_amount' => 0]; + } + + $taxFreeShare = $classified === $cashEquivalent + ? $taxFree + : (int) round($cashEquivalent * $taxFree / $classified); + + $taxFreeShare = max(0, min($taxFreeShare, $cashEquivalent)); + + return [ + 'amount' => $cashEquivalent, + 'tax_free_amount' => $taxFreeShare, + ]; + } + + /** + * 설정된 현금영수증 발급 프로바이더 ID를 반환합니다. + * + * @return string|null 프로바이더 ID (미설정 시 null) + */ + public function resolveProvider(): ?string + { + return $this->settingsService->getCashReceiptProvider(); + } + + /** + * 재발급용 식별번호 암호문을 폐기합니다. (구매확정 시점) + * + * 이력·receipt_url·마스킹 값은 유지된다 (국세청 신고 근거). + * 이미 폐기된 경우 아무것도 하지 않는다 (멱등). + * + * @param Order $order 주문 모델 + */ + public function purgeIdentifier(Order $order): void + { + $payment = $order->payment; + + if ($payment === null) { + return; + } + + $this->paymentRepository->purgeCashReceiptIdentifier($payment); + } + + /** + * 저장된 암호문에서 식별번호 원본을 복호화합니다. + * + * @param Order $order 주문 모델 + * @return string|null 식별번호 원본 (부재/복호화 실패 시 null) + */ + private function resolveStoredIdentifier(Order $order): ?string + { + $payment = $order->payment; + + if ($payment === null) { + return null; + } + + return $this->paymentRepository->resolveCashReceiptIdentifier($payment); + } + + /** + * 실패 이력을 기록합니다. + * + * @param Order $order 주문 모델 + * @param OrderPayment|null $payment 결제 모델 + * @param CashReceiptTransactionType $transactionType 거래 유형 + * @param CashReceiptType $type 발급 용도 + * @param string $errorCode 에러코드 + * @param string $errorMessage 에러 메시지 + * @param string|null $identifier 식별번호 원본 (마스킹해 저장) + * @param string|null $provider 프로바이더 ID + * @return OrderCashReceipt 생성된 실패 이력 + */ + private function recordFailure( + Order $order, + ?OrderPayment $payment, + CashReceiptTransactionType $transactionType, + CashReceiptType $type, + string $errorCode, + string $errorMessage, + ?string $identifier, + ?string $provider = null, + ): OrderCashReceipt { + return $this->repository->create([ + 'order_id' => $order->id, + 'order_payment_id' => $payment?->id, + 'provider' => $provider ?? '', + 'receipt_key' => null, + 'transaction_type' => $transactionType->value, + 'receipt_type' => $type->value, + 'amount' => 0, + 'tax_free_amount' => 0, + 'identifier_masked' => $identifier !== null ? $this->maskIdentifier($identifier) : null, + 'receipt_url' => null, + 'issue_number' => null, + 'issue_status' => CashReceiptIssueStatus::FAILED->value, + 'error_code' => $errorCode, + 'error_message' => $errorMessage, + 'issued_at' => null, + 'raw_response' => null, + ]); + } + + /** + * 발급 성공 시 결제 테이블의 요약 컬럼을 갱신합니다. + * + * @param OrderPayment|null $payment 결제 모델 + * @param OrderCashReceipt $receipt 발급 이력 + * @param CashReceiptType $type 발급 용도 + * @param string $identifier 식별번호 원본 + * @param CashReceiptIdentifierType|null $identifierType 식별번호 종류 + */ + private function syncPaymentSummary( + ?OrderPayment $payment, + OrderCashReceipt $receipt, + CashReceiptType $type, + string $identifier, + ?CashReceiptIdentifierType $identifierType, + ): void { + if ($payment === null) { + return; + } + + $this->paymentRepository->markCashReceiptIssued( + $payment, + $receipt, + $type, + $identifier, + $this->maskIdentifier($identifier), + $identifierType ?? $this->inferIdentifierType($identifier), + ); + } + + /** + * 전액취소 성공 시 결제 테이블의 요약 컬럼을 초기화합니다. + * + * 암호문은 유지한다 — 전액취소 후 관리자가 같은 식별번호로 재발급할 수 있어야 하고, + * 구매확정(purgeIdentifier) 시점에 일괄 폐기된다. + * + * @param OrderPayment|null $payment 결제 모델 + */ + private function clearPaymentSummary(?OrderPayment $payment): void + { + if ($payment === null) { + return; + } + + $this->paymentRepository->markCashReceiptCancelled($payment); + } + + /** + * 식별번호를 마스킹합니다 (뒤 4자리만 노출). + * + * @param string $identifier 식별번호 원본 + * @return string 마스킹된 식별번호 + */ + private function maskIdentifier(string $identifier): string + { + $length = strlen($identifier); + + if ($length <= 4) { + return str_repeat('*', $length); + } + + return str_repeat('*', $length - 4).substr($identifier, -4); + } + + /** + * 식별번호 형식으로 종류를 추론합니다. + * + * @param string $identifier 식별번호 원본 + * @return CashReceiptIdentifierType|null 추론된 종류 (판별 불가 시 null) + */ + private function inferIdentifierType(string $identifier): ?CashReceiptIdentifierType + { + foreach ([ + CashReceiptIdentifierType::PHONE, + CashReceiptIdentifierType::BUSINESS, + CashReceiptIdentifierType::CARD, + ] as $candidate) { + if ($candidate->matches($identifier)) { + return $candidate; + } + } + + return null; + } + + /** + * 발급 요청에 사용할 주문명을 생성합니다. + * + * @param Order $order 주문 모델 + * @return string 주문명 + */ + private function buildOrderName(Order $order): string + { + return $order->payment?->payment_name + ?? (string) $order->order_number; + } + + /** + * 프로바이더 원응답에서 민감 키를 마스킹합니다. + * + * PO 결정: 전체 응답을 보관하되 알려진 민감 키를 재귀적으로 가린다. + * + * @param mixed $response 원응답 + * @return array|null 마스킹된 응답 (배열이 아니면 null) + */ + private function sanitizeResponse(mixed $response): ?array + { + if (! is_array($response)) { + return null; + } + + return $this->maskSensitiveKeys($response); + } + + /** + * 배열을 재귀 순회하며 민감 키의 값을 마스킹합니다. + * + * @param array $data 원본 배열 + * @return array 마스킹된 배열 + */ + private function maskSensitiveKeys(array $data): array + { + $masked = []; + + foreach ($data as $key => $value) { + if (is_array($value)) { + $masked[$key] = $this->maskSensitiveKeys($value); + + continue; + } + + $masked[$key] = $this->isSensitiveKey((string) $key) ? '***' : $value; + } + + return $masked; + } + + /** + * 민감 키인지 확인합니다. + * + * @param string $key 키 이름 + * @return bool 민감 키 여부 + */ + private function isSensitiveKey(string $key): bool + { + $normalized = strtolower(str_replace(['_', '-'], '', $key)); + + foreach (self::SENSITIVE_RESPONSE_KEYS as $sensitive) { + if (str_contains($normalized, $sensitive)) { + return true; + } + } + + return false; + } + + /** + * 발급 필터 훅의 기본 반환값을 생성합니다. + * + * @return array 기본 반환값 + */ + private function defaultIssueResult(): array + { + return [ + 'success' => false, + 'error_code' => 'NO_PROVIDER_HANDLED', + 'error_message' => __('sirsoft-ecommerce::cash_receipt.errors.no_provider_handled'), + 'receipt_key' => null, + 'receipt_url' => null, + 'issue_number' => null, + 'raw_response' => null, + ]; + } + + /** + * 취소 필터 훅의 기본 반환값을 생성합니다. + * + * @return array 기본 반환값 + */ + private function defaultCancelResult(): array + { + return [ + 'success' => false, + 'error_code' => 'NO_PROVIDER_HANDLED', + 'error_message' => __('sirsoft-ecommerce::cash_receipt.errors.no_provider_handled'), + 'receipt_key' => null, + 'raw_response' => null, + ]; + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/EcommerceSettingsService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/EcommerceSettingsService.php index 12680ee1..e2af87b4 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Services/EcommerceSettingsService.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/EcommerceSettingsService.php @@ -9,6 +9,7 @@ use Illuminate\Support\Arr; use Illuminate\Support\Facades\File; use Modules\Sirsoft\Ecommerce\Enums\PaymentMethodEnum; use Modules\Sirsoft\Ecommerce\Enums\RefundMethodEnum; +use Modules\Sirsoft\Ecommerce\Enums\ShippingFeeTaxPolicy; /** * 이커머스 모듈 환경설정 서비스 @@ -687,6 +688,59 @@ class EcommerceSettingsService implements ModuleSettingsInterface ); } + /** + * 등록된 현금영수증 발급 프로바이더 목록을 조회합니다. (플러그인 훅 기반) + * + * PG 프로바이더와 독립적으로 선택 가능하다 — KG이니시스로 결제하면서 + * 현금영수증만 토스페이먼츠로 발급하는 구성을 허용한다. + * + * @return array 프로바이더 배열 [{id, name, name_key, icon}, ...] + */ + public function getRegisteredCashReceiptProviders(): array + { + return HookManager::applyFilters( + 'sirsoft-ecommerce.cash_receipt.registered_providers', + [] + ); + } + + /** + * 현재 선택된 현금영수증 발급 프로바이더 ID를 반환합니다. + * + * @return string|null 프로바이더 ID (미설정 시 null) + */ + public function getCashReceiptProvider(): ?string + { + $provider = $this->getSetting('order_settings.cash_receipt_provider'); + + return is_string($provider) && $provider !== '' ? $provider : null; + } + + /** + * 자진발급 사용 여부를 반환합니다. + * + * 구매자가 현금영수증을 신청하지 않은 무통장 입금완료 건에 대해 사업자가 + * 국세청 지정번호로 자진발급할지 여부. 기본값은 사용 안 함. + * + * @return bool 자진발급 사용 여부 + */ + public function isCashReceiptSelfIssueEnabled(): bool + { + return (bool) $this->getSetting('order_settings.cash_receipt_self_issue', false); + } + + /** + * 배송비 과세 정책을 반환합니다. + * + * @return ShippingFeeTaxPolicy 배송비 과세 정책 (미설정 시 안분) + */ + public function getShippingFeeTaxPolicy(): ShippingFeeTaxPolicy + { + $value = $this->getSetting('order_settings.shipping_fee_tax_policy'); + + return ShippingFeeTaxPolicy::fromValueOrDefault(is_string($value) ? $value : null); + } + /** * 특정 결제수단의 설정을 조회합니다. * diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderCalculationService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderCalculationService.php index 2338de1e..5cd5fc2d 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderCalculationService.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderCalculationService.php @@ -29,6 +29,7 @@ use Modules\Sirsoft\Ecommerce\Enums\ProductTaxStatus; use Modules\Sirsoft\Ecommerce\Enums\ShippingApiAuthType; use Modules\Sirsoft\Ecommerce\Enums\ShippingApiHttpMethod; use Modules\Sirsoft\Ecommerce\Enums\ShippingApiResponseType; +use Modules\Sirsoft\Ecommerce\Enums\ShippingFeeTaxPolicy; use Modules\Sirsoft\Ecommerce\Models\Coupon; use Modules\Sirsoft\Ecommerce\Models\CouponIssue; use Modules\Sirsoft\Ecommerce\Models\ShippingPolicy; @@ -984,6 +985,98 @@ class OrderCalculationService return $classification; } + /** + * 배송비 할인을 반영한 실질 배송비를 반환합니다. + * + * @param array $paymentCalculation 결제금액 계산 결과 + * @return int 할인 후 배송비 (0 이상) + */ + protected function resolveNetShippingFee(array $paymentCalculation): int + { + $totalShipping = (int) ($paymentCalculation['total_shipping'] ?? 0); + $shippingDiscount = (int) ($paymentCalculation['shipping_discount'] ?? 0); + + return max(0, $totalShipping - $shippingDiscount); + } + + /** + * 단계 2-c: 배송비를 과세/면세로 분류합니다. + * + * 부가가치세법 제14조는 주된 재화에 부수되는 용역이 주된 재화의 과세/면세를 따른다고 정할 뿐, + * 과세·면세 상품이 혼합된 장바구니의 배송비 안분에 관한 명문 규정은 없다. + * 상점의 세무 판단에 따라 3가지 정책 중 선택한다. + * + * 상품 분류(classifyTaxStatus)와 달리 이 메서드는 배송비 할인이 확정된 뒤에 호출되어야 한다. + * + * @param int $netShippingFee 할인 후 배송비 + * @param int $productTaxable 상품 과세금액 합계 + * @param int $productTaxFree 상품 면세금액 합계 + * @return array{taxable_amount: int, tax_free_amount: int} 배송비 과세/면세 분류 + */ + protected function classifyShippingFeeTaxStatus( + int $netShippingFee, + int $productTaxable, + int $productTaxFree, + ): array { + if ($netShippingFee <= 0) { + return ['taxable_amount' => 0, 'tax_free_amount' => 0]; + } + + $policy = $this->resolveShippingFeeTaxPolicy(); + $productTotal = $productTaxable + $productTaxFree; + + // 상품 금액이 전부 0 이면 안분 기준이 없다 — 전액 과세로 처리한다. + if ($productTotal <= 0) { + return ['taxable_amount' => $netShippingFee, 'tax_free_amount' => 0]; + } + + return match ($policy) { + ShippingFeeTaxPolicy::TAXABLE => [ + 'taxable_amount' => $netShippingFee, + 'tax_free_amount' => 0, + ], + ShippingFeeTaxPolicy::FOLLOW_MAIN_ITEM => $productTaxable >= $productTaxFree + ? ['taxable_amount' => $netShippingFee, 'tax_free_amount' => 0] + : ['taxable_amount' => 0, 'tax_free_amount' => $netShippingFee], + ShippingFeeTaxPolicy::PROPORTIONAL => $this->apportionShippingFeeTax( + $netShippingFee, + $productTaxable, + $productTotal, + ), + }; + } + + /** + * 배송비를 과세상품 비율만큼 안분합니다. + * + * 면세분을 반올림해 산출한 뒤 잔차를 과세 쪽에 귀속시켜 합계를 보존한다. + * + * @param int $netShippingFee 할인 후 배송비 + * @param int $productTaxable 상품 과세금액 합계 + * @param int $productTotal 상품 총액 (과세 + 면세) + * @return array{taxable_amount: int, tax_free_amount: int} 안분 결과 + */ + protected function apportionShippingFeeTax(int $netShippingFee, int $productTaxable, int $productTotal): array + { + $taxableShipping = (int) round($netShippingFee * $productTaxable / $productTotal); + $taxableShipping = max(0, min($taxableShipping, $netShippingFee)); + + return [ + 'taxable_amount' => $taxableShipping, + 'tax_free_amount' => $netShippingFee - $taxableShipping, + ]; + } + + /** + * 배송비 과세 정책을 조회합니다. + * + * @return ShippingFeeTaxPolicy 배송비 과세 정책 + */ + protected function resolveShippingFeeTaxPolicy(): ShippingFeeTaxPolicy + { + return app(EcommerceSettingsService::class)->getShippingFeeTaxPolicy(); + } + /** * 단계 3: 배송비를 계산합니다 (정책별 그룹). * @@ -1499,6 +1592,20 @@ class OrderCalculationService // (전체 과세표준에 단일 세율을 적용하면 면세·영세·다른 세율 상품이 섞였을 때 어긋난다) $totalVat = VatCalculator::sumFromClassification($taxClassification); + // 배송비 과세 분류 — 상품 분류(단계 2-b)와 달리 할인 후 최종 배송비가 확정된 이 시점에서만 + // 계산할 수 있다. 옵션별 taxable_amount 는 상품분만 담으므로 배송비는 Summary 에만 합산한다. + $shippingTax = $this->classifyShippingFeeTaxStatus( + $this->resolveNetShippingFee($paymentCalculation), + $totalTaxable, + $totalTaxFree, + ); + $totalTaxable += $shippingTax['taxable_amount']; + $totalTaxFree += $shippingTax['tax_free_amount']; + + // 배송비 과세분에 내재된 부가세도 합산 — 배송비는 옵션별 세율이 없으므로 기본 세율을 적용한다 + // (과세표준(taxableAmount)에 배송비가 포함되므로 부가세도 같은 기준을 따라야 정합) + $totalVat += VatCalculator::fromTaxableAmount($shippingTax['taxable_amount']); + $summary = new Summary( subtotal: $paymentCalculation['subtotal'], productCouponDiscount: $paymentCalculation['coupon_discount'], diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderProcessingService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderProcessingService.php index c411f16f..279d9f53 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderProcessingService.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderProcessingService.php @@ -172,10 +172,10 @@ class OrderProcessingService $isZeroPayable ) { // 주문 생성 - $order = $this->createOrder($tempOrder, $calculationResult, $initialStatus, $currencySnapshot, $guestLookupPassword, $shippingInfo); + $order = $this->createOrder($tempOrder, $calculationResult, $initialStatus, $currencySnapshot, $guestLookupPassword, $shippingInfo, $paymentMethod); // 주문 옵션 생성 (배송 정보 연결을 위해 옵션 ID 매핑 반환) - $createdOptions = $this->createOrderOptions($order, $tempOrder, $calculationResult, $currencySnapshot); + $createdOptions = $this->createOrderOptions($order, $tempOrder, $calculationResult, $currencySnapshot, $paymentMethod); // 주문 주소 생성 (주문자 + 배송지) $this->createOrderAddresses($order, $ordererInfo, $shippingInfo, $shippingMemo); @@ -505,6 +505,9 @@ class OrderProcessingService * @param OrderCalculationResult $calculationResult 계산 결과 * @param OrderStatusEnum $initialStatus 초기 상태 * @param array $currencySnapshot 통화 스냅샷 + * @param string|null $guestLookupPassword 비회원 조회 비밀번호 + * @param array $shippingInfo 배송 정보 + * @param string|null $paymentMethod 결제수단 (현금성 금액 산정용) */ protected function createOrder( TempOrder $tempOrder, @@ -512,9 +515,11 @@ class OrderProcessingService OrderStatusEnum $initialStatus, array $currencySnapshot, ?string $guestLookupPassword = null, - array $shippingInfo = [] + array $shippingInfo = [], + ?string $paymentMethod = null ): Order { $summary = $calculationResult->summary; + $cashEquivalent = $this->resolveCashEquivalentAmount($paymentMethod, (int) ($summary->finalAmount ?? 0)); // 다중 통화 변환 $mcAmounts = $this->buildOrderMultiCurrency($summary, $currencySnapshot); @@ -555,6 +560,10 @@ class OrderProcessingService // PG(KG 이니시스 등) 결제 요청 금액·무통장 입금 안내액의 SSoT 이므로 차감 전 paymentAmount 를 쓰면 // 마일리지 사용분만큼 과다 청구된다. total_amount 와 동일한 차감 후 금액으로 둔다. 'total_due_amount' => $summary->finalAmount ?? 0, + // 현금성 금액 = 현금영수증 발급 대상액. 무통장(dbank)만 실입금액 전액이 현금이며, + // 마일리지 사용분은 현금이 아니므로 차감 후 금액(finalAmount)을 쓴다. + // 가상계좌는 PG 가 자동 발급하므로 0, 카드/계좌이체/휴대폰도 0. + 'total_cash_equivalent_amount' => $cashEquivalent, 'total_cancelled_amount' => 0, 'total_refunded_amount' => 0, 'total_refunded_points_amount' => 0, @@ -588,6 +597,7 @@ class OrderProcessingService 'mc_total_tax_free_amount' => $mcAmounts['mc_total_tax_free_amount'], 'mc_total_amount' => $mcAmounts['mc_total_amount'], 'mc_total_paid_amount' => $mcAmounts['mc_total_paid_amount'], + 'mc_total_cash_equivalent_amount' => $this->buildAllCurrencyConverter($currencySnapshot)($cashEquivalent), ]; // 훅을 통한 데이터 가공 @@ -646,6 +656,31 @@ class OrderProcessingService ]; } + /** + * 결제수단별 현금성 금액을 산정합니다. + * + * 현금성 금액 = 현금영수증 발급 대상이 되는 실제 현금 입금액. + * + * | 결제수단 | 현금성 금액 | + * |------------------|--------------------------------------------| + * | dbank (무통장) | 실입금액 전액 (마일리지 차감 후 finalAmount) | + * | vbank (가상계좌) | 0 — PG 가 자동 발급 | + * | card/bank/phone | 0 | + * | point/deposit | 0 (현금이 아님) | + * + * @param string|null $paymentMethod 결제수단 식별자 + * @param int $finalAmount 마일리지/예치금 차감 후 실결제액 + * @return int 현금성 금액 + */ + protected function resolveCashEquivalentAmount(?string $paymentMethod, int $finalAmount): int + { + if ($paymentMethod !== PaymentMethodEnum::DBANK->value) { + return 0; + } + + return max(0, $finalAmount); + } + /** * 주문 옵션 생성 * @@ -668,7 +703,8 @@ class OrderProcessingService Order $order, TempOrder $tempOrder, OrderCalculationResult $calculationResult, - array $currencySnapshot + array $currencySnapshot, + ?string $paymentMethod = null ): array { $createdOptions = []; @@ -715,6 +751,12 @@ class OrderProcessingService 'subtotal_points_used_amount' => $item->pointsUsedShare ?? 0, 'subtotal_deposit_used_amount' => $item->depositUsedShare ?? 0, 'subtotal_paid_amount' => $item->finalAmount ?? 0, + // 옵션별 현금성 안분액. 옵션 finalAmount 합 = 주문 finalAmount 이므로 + // 안분 잔차 없이 합계가 그대로 보존된다. + 'subtotal_cash_equivalent_amount' => $this->resolveCashEquivalentAmount( + $paymentMethod, + (int) ($item->finalAmount ?? 0), + ), 'subtotal_tax_amount' => $item->taxableAmount ?? 0, 'subtotal_tax_free_amount' => $item->taxFreeAmount ?? 0, 'subtotal_earned_points_amount' => $item->pointsEarning ?? 0, @@ -736,6 +778,9 @@ class OrderProcessingService 'mc_subtotal_tax_amount' => $mcAmounts['mc_subtotal_tax_amount'], 'mc_subtotal_tax_free_amount' => $mcAmounts['mc_subtotal_tax_free_amount'], 'mc_final_amount' => $mcAmounts['mc_final_amount'], + 'mc_subtotal_cash_equivalent_amount' => $this->buildAllCurrencyConverter($currencySnapshot)( + $this->resolveCashEquivalentAmount($paymentMethod, (int) ($item->finalAmount ?? 0)), + ), ]); // productOptionId → OrderOption 매핑 저장 diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderService.php index 0b4b8471..d9db6303 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderService.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderService.php @@ -357,6 +357,8 @@ class OrderService $order->taxInvoices()->delete(); $order->shippings()->delete(); $order->addresses()->delete(); + // 현금영수증 이력은 결제(order_payment_id)를 참조하므로 결제보다 먼저 삭제한다. + $order->cashReceipts()->delete(); $order->payment()->delete(); $order->options()->delete(); diff --git a/modules/_bundled/sirsoft-ecommerce/src/lang/en/cash_receipt.php b/modules/_bundled/sirsoft-ecommerce/src/lang/en/cash_receipt.php new file mode 100644 index 00000000..8010c664 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/lang/en/cash_receipt.php @@ -0,0 +1,56 @@ + [ + 'income' => 'Income Deduction', + 'expense' => 'Expenditure Proof', + ], + + /* + * 식별번호 종류 + */ + 'identifier_type' => [ + 'phone' => 'Mobile Number', + 'card' => 'Cash Receipt Card Number', + 'business' => 'Business Registration Number', + ], + + /* + * 이력 거래 유형 + */ + 'transaction_type' => [ + 'issue' => 'Issue', + 'cancel' => 'Cancel', + ], + + /* + * 발급 상태 + */ + 'issue_status' => [ + 'in_progress' => 'In Progress', + 'completed' => 'Completed', + 'failed' => 'Failed', + ], + + /* + * 배송비 과세 정책 + */ + 'shipping_fee_tax_policy' => [ + 'proportional' => 'Proportional (by taxable item ratio)', + 'taxable' => 'Fully Taxable', + 'follow_main_item' => 'Follow Main Item', + ], + + /* + * 오류 메시지 + */ + 'errors' => [ + 'provider_not_configured' => 'No cash receipt provider is configured.', + 'no_provider_handled' => 'No provider handled the cash receipt request.', + 'no_issuable_amount' => 'There is no issuable cash-equivalent amount.', + 'identifier_unavailable' => 'The identifier required for re-issuance could not be decrypted. An administrator must re-enter the identifier to issue the receipt.', + ], +]; diff --git a/modules/_bundled/sirsoft-ecommerce/src/lang/ko/cash_receipt.php b/modules/_bundled/sirsoft-ecommerce/src/lang/ko/cash_receipt.php new file mode 100644 index 00000000..c53d7d08 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/lang/ko/cash_receipt.php @@ -0,0 +1,56 @@ + [ + 'income' => '소득공제용', + 'expense' => '지출증빙용', + ], + + /* + * 식별번호 종류 + */ + 'identifier_type' => [ + 'phone' => '휴대폰번호', + 'card' => '현금영수증카드번호', + 'business' => '사업자등록번호', + ], + + /* + * 이력 거래 유형 + */ + 'transaction_type' => [ + 'issue' => '발급', + 'cancel' => '취소', + ], + + /* + * 발급 상태 + */ + 'issue_status' => [ + 'in_progress' => '처리 중', + 'completed' => '발급 완료', + 'failed' => '발급 실패', + ], + + /* + * 배송비 과세 정책 + */ + 'shipping_fee_tax_policy' => [ + 'proportional' => '안분 (과세상품 비율만큼 과세)', + 'taxable' => '전액 과세', + 'follow_main_item' => '주된 재화를 따름', + ], + + /* + * 오류 메시지 + */ + 'errors' => [ + 'provider_not_configured' => '현금영수증 발급 프로바이더가 설정되지 않았습니다.', + 'no_provider_handled' => '현금영수증 발급 요청을 처리한 프로바이더가 없습니다.', + 'no_issuable_amount' => '발급 가능한 현금성 금액이 없습니다.', + 'identifier_unavailable' => '재발급에 필요한 식별번호를 복호화할 수 없습니다. 관리자가 식별번호를 다시 입력해 발급해야 합니다.', + ], +]; diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Feature/Migrations/CashReceiptMigrationRoundTripTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Feature/Migrations/CashReceiptMigrationRoundTripTest.php new file mode 100644 index 00000000..3915eb56 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Feature/Migrations/CashReceiptMigrationRoundTripTest.php @@ -0,0 +1,160 @@ + + */ + private function migrations(): array + { + return [ + 'cash_receipts' => self::MIGRATION_DIR.'/2026_07_09_000001_create_ecommerce_order_cash_receipts_table.php', + 'cash_equivalent' => self::MIGRATION_DIR.'/2026_07_09_000002_add_cash_equivalent_amount_to_ecommerce_orders_table.php', + 'identifier_encrypted' => self::MIGRATION_DIR.'/2026_07_09_000003_add_cash_receipt_identifier_encrypted_to_ecommerce_order_payments_table.php', + 'identifier_type' => self::MIGRATION_DIR.'/2026_07_09_000004_add_cash_receipt_identifier_type_to_ecommerce_order_payments_table.php', + ]; + } + + /** + * 마이그레이션 파일을 로드해 인스턴스를 반환합니다. + */ + private function load(string $relativePath): object + { + return require base_path($relativePath); + } + + #[Test] + public function 마이그레이션은_모듈_enum_클래스를_참조하지_않는다(): void + { + // `php artisan migrate` 는 모듈 오토로더 없이 실행될 수 있다 (신규 설치/모듈 비활성). + foreach ($this->migrations() as $name => $path) { + $source = file_get_contents(base_path($path)); + + $this->assertStringNotContainsString( + 'Modules\\Sirsoft', + $source, + "{$name} 마이그레이션이 모듈 클래스를 참조하면 오토로더 미등록 시 실패한다", + ); + } + } + + #[Test] + public function 이력_테이블은_왕복_후에도_동일하게_생성된다(): void + { + $migration = $this->load($this->migrations()['cash_receipts']); + + $this->assertTrue(Schema::hasTable('ecommerce_order_cash_receipts')); + + $migration->down(); + $this->assertFalse(Schema::hasTable('ecommerce_order_cash_receipts')); + + $migration->up(); + $this->assertTrue(Schema::hasTable('ecommerce_order_cash_receipts')); + + foreach ([ + 'order_id', 'order_payment_id', 'provider', 'receipt_key', 'transaction_type', + 'receipt_type', 'amount', 'tax_free_amount', 'identifier_masked', 'receipt_url', + 'issue_number', 'issue_status', 'error_code', 'error_message', 'issued_at', 'raw_response', + ] as $column) { + $this->assertTrue( + Schema::hasColumn('ecommerce_order_cash_receipts', $column), + "컬럼 {$column} 이 존재해야 한다", + ); + } + } + + #[Test] + public function 이력_테이블_생성은_두_번_실행해도_안전하다(): void + { + $migration = $this->load($this->migrations()['cash_receipts']); + + // 이미 존재하는 상태에서 재실행 — 멱등 가드가 없으면 "table already exists" fatal + $migration->up(); + + $this->assertTrue(Schema::hasTable('ecommerce_order_cash_receipts')); + } + + #[Test] + public function 현금성_금액_컬럼은_왕복_후에도_동일하게_생성된다(): void + { + $migration = $this->load($this->migrations()['cash_equivalent']); + + $migration->down(); + $this->assertFalse(Schema::hasColumn('ecommerce_orders', 'total_cash_equivalent_amount')); + $this->assertFalse(Schema::hasColumn('ecommerce_order_options', 'subtotal_cash_equivalent_amount')); + + $migration->up(); + $this->assertTrue(Schema::hasColumn('ecommerce_orders', 'total_cash_equivalent_amount')); + $this->assertTrue(Schema::hasColumn('ecommerce_orders', 'mc_total_cash_equivalent_amount')); + $this->assertTrue(Schema::hasColumn('ecommerce_order_options', 'subtotal_cash_equivalent_amount')); + $this->assertTrue(Schema::hasColumn('ecommerce_order_options', 'mc_subtotal_cash_equivalent_amount')); + + // 멱등: 재실행해도 SQL error 없음 + $migration->up(); + $this->assertTrue(Schema::hasColumn('ecommerce_orders', 'total_cash_equivalent_amount')); + } + + #[Test] + public function 암호문_컬럼은_왕복_후에도_동일하게_생성된다(): void + { + $migration = $this->load($this->migrations()['identifier_encrypted']); + + $migration->down(); + $this->assertFalse(Schema::hasColumn('ecommerce_order_payments', 'cash_receipt_identifier_encrypted')); + + $migration->up(); + $this->assertTrue(Schema::hasColumn('ecommerce_order_payments', 'cash_receipt_identifier_encrypted')); + + $migration->up(); + $this->assertTrue(Schema::hasColumn('ecommerce_order_payments', 'cash_receipt_identifier_encrypted')); + } + + #[Test] + public function 식별번호_종류_컬럼은_왕복_후에도_동일하게_생성된다(): void + { + $migration = $this->load($this->migrations()['identifier_type']); + + $migration->down(); + $this->assertFalse(Schema::hasColumn('ecommerce_order_payments', 'cash_receipt_identifier_type')); + + $migration->up(); + $this->assertTrue(Schema::hasColumn('ecommerce_order_payments', 'cash_receipt_identifier_type')); + + $migration->up(); + $this->assertTrue(Schema::hasColumn('ecommerce_order_payments', 'cash_receipt_identifier_type')); + } + + #[Test] + public function down_은_테이블이_없어도_예외를_던지지_않는다(): void + { + // 모듈 삭제 시 부분 롤백 상태에서 재롤백되는 경우 + $cashReceipts = $this->load($this->migrations()['cash_receipts']); + $cashReceipts->down(); + $cashReceipts->down(); + + $this->assertFalse(Schema::hasTable('ecommerce_order_cash_receipts')); + + // 컬럼 추가 마이그레이션도 동일 + $encrypted = $this->load($this->migrations()['identifier_encrypted']); + $encrypted->down(); + $encrypted->down(); + + $this->assertFalse(Schema::hasColumn('ecommerce_order_payments', 'cash_receipt_identifier_encrypted')); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Enums/CashReceiptIdentifierTypeTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Enums/CashReceiptIdentifierTypeTest.php new file mode 100644 index 00000000..09e63b70 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Enums/CashReceiptIdentifierTypeTest.php @@ -0,0 +1,136 @@ +assertTrue(CashReceiptIdentifierType::isValidBusinessNumber($number)); + } + + /** + * @return array + */ + public static function validBusinessNumberProvider(): array + { + return [ + '체크섬 유효 #1' => ['1248100998'], + '체크섬 유효 #2' => ['1018116293'], + ]; + } + + #[Test] + #[DataProvider('invalidBusinessNumberProvider')] + public function 무효한_사업자등록번호는_거부된다(string $number): void + { + $this->assertFalse(CashReceiptIdentifierType::isValidBusinessNumber($number)); + } + + /** + * @return array + */ + public static function invalidBusinessNumberProvider(): array + { + return [ + '체크digit 불일치' => ['1248100997'], + '임의 순번' => ['1234567890'], + // 앞 9자리가 0 이면 체크섬을 수학적으로 항상 만족하지만 발급될 수 없는 번호다. + '전부 0 (체크섬은 통과하나 세무서 코드 000)' => ['0000000000'], + '자릿수 부족' => ['124810099'], + '자릿수 초과' => ['12481009980'], + '숫자 아님' => ['124-81-0099'], + ]; + } + + #[Test] + #[DataProvider('identifierFormatProvider')] + public function 식별번호_형식을_종류별로_검증한다( + CashReceiptIdentifierType $type, + string $identifier, + bool $expected, + ): void { + $this->assertSame($expected, $type->matches($identifier)); + } + + /** + * @return array + */ + public static function identifierFormatProvider(): array + { + return [ + '휴대폰 10자리' => [CashReceiptIdentifierType::PHONE, '0101234567', true], + '휴대폰 11자리' => [CashReceiptIdentifierType::PHONE, '01012345678', true], + '휴대폰 접두어 오류' => [CashReceiptIdentifierType::PHONE, '02012345678', false], + '휴대폰 하이픈 포함' => [CashReceiptIdentifierType::PHONE, '010-1234-5678', false], + '카드 13자리' => [CashReceiptIdentifierType::CARD, '1234567890123', true], + '카드 19자리' => [CashReceiptIdentifierType::CARD, '1234567890123456789', true], + '카드 12자리(부족)' => [CashReceiptIdentifierType::CARD, '123456789012', false], + '카드 20자리(초과)' => [CashReceiptIdentifierType::CARD, '12345678901234567890', false], + '사업자번호 유효' => [CashReceiptIdentifierType::BUSINESS, '1248100998', true], + '사업자번호 무효' => [CashReceiptIdentifierType::BUSINESS, '1248100997', false], + ]; + } + + #[Test] + public function 자진발급_지정번호를_식별한다(): void + { + $this->assertTrue(CashReceiptIdentifierType::isSelfIssueNumber('0100001234')); + $this->assertFalse(CashReceiptIdentifierType::isSelfIssueNumber('01012345678')); + } + + #[Test] + public function 소득공제용은_휴대폰과_카드번호만_허용한다(): void + { + $allowed = CashReceiptType::INCOME->allowedIdentifierTypes(); + + $this->assertContains(CashReceiptIdentifierType::PHONE, $allowed); + $this->assertContains(CashReceiptIdentifierType::CARD, $allowed); + $this->assertNotContains(CashReceiptIdentifierType::BUSINESS, $allowed); + } + + #[Test] + public function 지출증빙용은_휴대폰번호도_허용한다(): void + { + // 팝빌 발행유형 가이드가 소득공제/지출증빙 양쪽에 휴대폰번호를 명시한다. + $allowed = CashReceiptType::EXPENSE->allowedIdentifierTypes(); + + $this->assertContains(CashReceiptIdentifierType::BUSINESS, $allowed); + $this->assertContains(CashReceiptIdentifierType::PHONE, $allowed); + $this->assertContains(CashReceiptIdentifierType::CARD, $allowed); + } + + #[Test] + #[DataProvider('legacyTypeProvider')] + public function 레거시_발급용도_값을_정규화한다(?string $legacy, ?CashReceiptType $expected): void + { + $this->assertSame($expected, CashReceiptType::fromLegacy($legacy)); + } + + /** + * @return array + */ + public static function legacyTypeProvider(): array + { + return [ + 'KG 레거시 소득공제' => ['income_deduction', CashReceiptType::INCOME], + 'KG 레거시 지출증빙' => ['expenditure_proof', CashReceiptType::EXPENSE], + '정규 소득공제' => ['income', CashReceiptType::INCOME], + '정규 지출증빙' => ['expense', CashReceiptType::EXPENSE], + 'null' => [null, null], + '빈 문자열' => ['', null], + '해석 불가' => ['unknown', null], + ]; + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashEquivalentAmountTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashEquivalentAmountTest.php new file mode 100644 index 00000000..6bcbdb63 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashEquivalentAmountTest.php @@ -0,0 +1,104 @@ +getMockBuilder(OrderProcessingService::class) + ->disableOriginalConstructor() + ->onlyMethods([]) + ->getMock(); + + $method = new ReflectionMethod(OrderProcessingService::class, 'resolveCashEquivalentAmount'); + $method->setAccessible(true); + + return $method->invoke($service, $paymentMethod, $finalAmount); + } + + #[Test] + #[DataProvider('paymentMethodProvider')] + public function 결제수단별_현금성_금액(?string $method, int $finalAmount, int $expected): void + { + $this->assertSame($expected, $this->resolve($method, $finalAmount)); + } + + /** + * @return array + */ + public static function paymentMethodProvider(): array + { + return [ + '무통장 = 실입금액 전액' => [PaymentMethodEnum::DBANK->value, 11000, 11000], + '가상계좌 = 0 (PG 자동발급)' => [PaymentMethodEnum::VBANK->value, 11000, 0], + '카드 = 0' => [PaymentMethodEnum::CARD->value, 11000, 0], + '계좌이체 = 0' => [PaymentMethodEnum::BANK->value, 11000, 0], + '휴대폰 = 0' => [PaymentMethodEnum::PHONE->value, 11000, 0], + '결제수단 미지정 = 0' => [null, 11000, 0], + ]; + } + + #[Test] + public function 무통장에서_마일리지를_사용하면_차감된_실입금액이_현금성이다(): void + { + // 주문 20000, 마일리지 8000 사용 → finalAmount 12000 이 실제 계좌 입금액 + $this->assertSame(12000, $this->resolve(PaymentMethodEnum::DBANK->value, 12000)); + } + + #[Test] + public function 전액_마일리지_결제면_현금성이_0이다(): void + { + $this->assertSame(0, $this->resolve(PaymentMethodEnum::DBANK->value, 0)); + } + + #[Test] + public function 음수_실입금액은_0으로_보정된다(): void + { + $this->assertSame(0, $this->resolve(PaymentMethodEnum::DBANK->value, -500)); + } + + #[Test] + public function 옵션별_현금성_안분합이_주문_현금성과_일치한다(): void + { + // 옵션 finalAmount 합 = 주문 finalAmount 이므로 안분 잔차가 발생하지 않는다. + $optionFinalAmounts = [3333, 3333, 3334]; + $orderFinalAmount = array_sum($optionFinalAmounts); + + $optionCashSum = 0; + foreach ($optionFinalAmounts as $amount) { + $optionCashSum += $this->resolve(PaymentMethodEnum::DBANK->value, $amount); + } + + $this->assertSame( + $this->resolve(PaymentMethodEnum::DBANK->value, $orderFinalAmount), + $optionCashSum, + '옵션별 현금성 안분 합 = 주문 현금성 금액', + ); + } + + #[Test] + public function 무통장이_아니면_옵션별_현금성도_모두_0이다(): void + { + foreach ([3333, 3333, 3334] as $amount) { + $this->assertSame(0, $this->resolve(PaymentMethodEnum::VBANK->value, $amount)); + $this->assertSame(0, $this->resolve(PaymentMethodEnum::CARD->value, $amount)); + } + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php new file mode 100644 index 00000000..81cfc8e2 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php @@ -0,0 +1,608 @@ + 발급 훅이 받은 호출 기록 */ + private array $issueCalls = []; + + /** @var array 취소 훅이 받은 호출 기록 */ + private array $cancelCalls = []; + + private int $receiptSequence = 0; + + /** 발급 훅이 실패를 반환할지 여부 (테스트 도중 전환 가능) */ + private bool $issueShouldFail = false; + + protected function setUp(): void + { + parent::setUp(); + + $this->issueCalls = []; + $this->cancelCalls = []; + $this->receiptSequence = 0; + $this->issueShouldFail = false; + + app(EcommerceSettingsService::class)->setSetting('order_settings.cash_receipt_provider', self::PROVIDER); + } + + /** + * 프로바이더 리스너를 등록합니다. + * + * ModuleTestCase 가 HookManager static 상태를 테스트마다 스냅샷/복원하므로 별도 정리 불필요. + */ + private function registerProvider(): void + { + HookManager::addFilter( + 'sirsoft-ecommerce.cash_receipt.issue', + function (array $result, Order $order, string $provider, array $payload) { + if ($provider !== self::PROVIDER) { + return $result; + } + + $this->issueCalls[] = ['provider' => $provider, 'payload' => $payload]; + + if ($this->issueShouldFail) { + return [ + 'success' => false, + 'error_code' => 'PROVIDER_ERROR', + 'error_message' => '발급 실패', + 'receipt_key' => null, + 'receipt_url' => null, + 'issue_number' => null, + 'raw_response' => null, + ]; + } + + $key = 'receipt-'.(++$this->receiptSequence); + + return [ + 'success' => true, + 'error_code' => null, + 'error_message' => null, + 'receipt_key' => $key, + 'receipt_url' => "https://example.test/receipt/{$key}", + 'issue_number' => '12345678', + 'raw_response' => [ + 'receiptKey' => $key, + 'customerIdentityNumber' => self::IDENTIFIER, + 'amount' => $payload['amount'], + ], + ]; + }, + ); + + HookManager::addFilter( + 'sirsoft-ecommerce.cash_receipt.cancel', + function (array $result, Order $order, string $provider, string $receiptKey) { + if ($provider !== self::PROVIDER) { + return $result; + } + + $this->cancelCalls[] = ['provider' => $provider, 'receipt_key' => $receiptKey]; + + return [ + 'success' => true, + 'error_code' => null, + 'error_message' => null, + 'receipt_key' => $receiptKey, + 'raw_response' => ['receiptKey' => $receiptKey, 'status' => 'CANCELED'], + ]; + }, + ); + } + + /** + * 무통장 주문을 생성합니다. + */ + private function makeOrder(int $cashEquivalent, int $taxable, int $taxFree): Order + { + $order = Order::factory()->create([ + 'total_amount' => $cashEquivalent, + 'total_cash_equivalent_amount' => $cashEquivalent, + 'total_tax_amount' => $taxable, + 'total_tax_free_amount' => $taxFree, + ]); + + OrderPayment::factory()->create([ + 'order_id' => $order->id, + 'payment_method' => PaymentMethodEnum::DBANK, + 'payment_status' => PaymentStatusEnum::PAID, + ]); + + return $order->fresh(); + } + + private function service(): CashReceiptService + { + return app(CashReceiptService::class); + } + + /** + * 주문의 현재 활성 영수증을 반환합니다. + */ + private function activeReceipt(Order $order): ?OrderCashReceipt + { + return app(OrderCashReceiptRepositoryInterface::class)->findActiveReceipt($order->fresh()); + } + + #[Test] + public function 발급하면_이력과_결제요약이_함께_갱신된다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + + $receipt = $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + $this->assertSame(CashReceiptIssueStatus::COMPLETED, $receipt->issue_status); + $this->assertSame(CashReceiptTransactionType::ISSUE, $receipt->transaction_type); + $this->assertSame(11000, (int) $receipt->amount); + $this->assertSame(0, (int) $receipt->tax_free_amount); + $this->assertNotNull($receipt->receipt_url); + + $payment = $order->fresh()->payment; + $this->assertTrue($payment->is_cash_receipt_issued); + $this->assertSame('income', $payment->cash_receipt_type); + $this->assertSame(CashReceiptIdentifierType::PHONE, $payment->cash_receipt_identifier_type); + $this->assertNotNull($payment->cash_receipt_issued_at); + } + + #[Test] + public function 식별번호는_마스킹되어_저장되고_원본은_암호화된다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + + $receipt = $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + // 이력에는 마스킹 값만 + $this->assertSame('*******5678', $receipt->identifier_masked); + $this->assertStringNotContainsString(self::IDENTIFIER, (string) $receipt->identifier_masked); + + // 암호문 왕복 + $payment = $order->fresh()->payment; + $this->assertSame(self::IDENTIFIER, $payment->cash_receipt_identifier_encrypted); + + // DB 원시값에 평문이 없어야 한다 + $raw = DB::table('ecommerce_order_payments')->where('id', $payment->id)->first(); + $this->assertNotSame(self::IDENTIFIER, $raw->cash_receipt_identifier_encrypted); + $this->assertStringNotContainsString(self::IDENTIFIER, (string) $raw->cash_receipt_identifier_encrypted); + $this->assertStringNotContainsString(self::IDENTIFIER, (string) $raw->cash_receipt_identifier); + + // 이력 테이블 어느 컬럼에도 평문·암호문이 없어야 한다 + $rawReceipt = DB::table('ecommerce_order_cash_receipts')->where('id', $receipt->id)->first(); + foreach ((array) $rawReceipt as $value) { + $this->assertStringNotContainsString(self::IDENTIFIER, (string) $value); + } + } + + #[Test] + public function 원응답의_민감키는_마스킹되어_보관된다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + + $receipt = $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + $this->assertSame('***', $receipt->raw_response['customerIdentityNumber']); + $this->assertSame(11000, $receipt->raw_response['amount']); + $this->assertSame('receipt-1', $receipt->raw_response['receiptKey']); + } + + #[Test] + public function sync_금액감소시_전체취소_후_전액_재발급한다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + // 부분환불로 금액 감소 + $order->update([ + 'total_cash_equivalent_amount' => 5500, + 'total_tax_amount' => 5500, + ]); + + $this->service()->syncFromOrder($order->fresh(), '부분환불'); + + $this->assertCount(1, $this->cancelCalls, '전체취소가 1회 호출되어야 한다'); + $this->assertCount(2, $this->issueCalls, '재발급이 수행되어야 한다'); + $this->assertSame(5500, $this->issueCalls[1]['payload']['amount']); + + $active = $this->activeReceipt($order); + $this->assertSame(5500, (int) $active->amount); + $this->assertSame(CashReceiptType::INCOME, $active->receipt_type, '발급 용도가 유지되어야 한다'); + } + + #[Test] + public function sync_금액증가시에도_전체취소_후_전액_재발급한다(): void + { + // 금액 증가 흐름은 현행 코드에 없지만, syncFromOrder 는 방향과 무관해야 한다 (D17). + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + $order->update([ + 'total_cash_equivalent_amount' => 14000, + 'total_tax_amount' => 14000, + ]); + + $this->service()->syncFromOrder($order->fresh(), '반품배송비 청구'); + + $this->assertCount(1, $this->cancelCalls); + $this->assertSame(14000, $this->issueCalls[1]['payload']['amount']); + $this->assertSame(14000, (int) $this->activeReceipt($order)->amount); + } + + #[Test] + public function sync_변동이_없으면_아무것도_하지_않는다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + $this->service()->syncFromOrder($order->fresh()); + $this->service()->syncFromOrder($order->fresh()); + + $this->assertCount(0, $this->cancelCalls, '멱등: 취소가 호출되지 않아야 한다'); + $this->assertCount(1, $this->issueCalls, '멱등: 재발급이 호출되지 않아야 한다'); + $this->assertSame(1, OrderCashReceipt::where('order_id', $order->id)->count()); + } + + #[Test] + public function sync_발급액이_0이하이면_전체취소만_수행한다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + $order->update([ + 'total_cash_equivalent_amount' => 0, + 'total_tax_amount' => 0, + ]); + + $this->service()->syncFromOrder($order->fresh(), '전액취소'); + + $this->assertCount(1, $this->cancelCalls); + $this->assertCount(1, $this->issueCalls, '재발급을 시도하지 않아야 한다'); + $this->assertNull($this->activeReceipt($order)); + $this->assertFalse($order->fresh()->payment->is_cash_receipt_issued); + } + + #[Test] + public function sync_발급_이력이_없으면_아무것도_하지_않는다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + + $this->service()->syncFromOrder($order, '부분환불'); + + $this->assertCount(0, $this->issueCalls); + $this->assertCount(0, $this->cancelCalls); + $this->assertSame(0, OrderCashReceipt::where('order_id', $order->id)->count()); + } + + #[Test] + public function sync_과세면세_비율이_바뀌면_면세액이_재계산된다(): void + { + $this->registerProvider(); + // 과세 6000 + 면세 4000 = 10000 + $order = $this->makeOrder(10000, 6000, 4000); + $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + $this->assertSame(4000, $this->issueCalls[0]['payload']['tax_free_amount']); + + // 면세 상품만 부분환불 → 과세 6000 만 잔존 + $order->update([ + 'total_cash_equivalent_amount' => 6000, + 'total_tax_amount' => 6000, + 'total_tax_free_amount' => 0, + ]); + + $this->service()->syncFromOrder($order->fresh(), '면세상품 환불'); + + $this->assertSame(6000, $this->issueCalls[1]['payload']['amount']); + $this->assertSame(0, $this->issueCalls[1]['payload']['tax_free_amount']); + $this->assertSame(0, (int) $this->activeReceipt($order)->tax_free_amount); + } + + #[Test] + public function 취소는_성공했는데_재발급이_실패하면_faile_d_이력이_남는다(): void + { + // 첫 발급은 성공시키고, 이후 재발급만 실패시킨다. + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + // 발급 훅을 실패 버전으로 교체 + $this->issueShouldFail = true; + + $order->update(['total_cash_equivalent_amount' => 5500, 'total_tax_amount' => 5500]); + $this->service()->syncFromOrder($order->fresh(), '부분환불'); + + $receipts = OrderCashReceipt::where('order_id', $order->id)->orderBy('id')->get(); + + $this->assertCount(3, $receipts, 'issue(성공) + cancel(성공) + issue(실패)'); + $this->assertSame(CashReceiptTransactionType::CANCEL, $receipts[1]->transaction_type); + $this->assertSame(CashReceiptIssueStatus::COMPLETED, $receipts[1]->issue_status); + $this->assertSame(CashReceiptTransactionType::ISSUE, $receipts[2]->transaction_type); + $this->assertSame(CashReceiptIssueStatus::FAILED, $receipts[2]->issue_status); + $this->assertSame('PROVIDER_ERROR', $receipts[2]->error_code); + + // 활성 영수증이 없는 상태 — 관리자 수동 재발급 대상 + $this->assertNull($this->activeReceipt($order)); + } + + #[Test] + public function sync_는_예외를_던지지_않아_환불_트랜잭션을_롤백시키지_않는다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + $this->issueShouldFail = true; + + $order->update(['total_cash_equivalent_amount' => 5500, 'total_tax_amount' => 5500]); + + // 예외가 전파되지 않아야 한다 + $this->service()->syncFromOrder($order->fresh(), '부분환불'); + + $this->assertTrue(true, 'syncFromOrder 가 예외를 던지지 않았다'); + } + + #[Test] + public function 암호문이_없으면_재발급을_시도하지_않고_faile_d_이력을_남긴다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + // 구매확정으로 암호문 폐기 + $this->service()->purgeIdentifier($order->fresh()); + + $order->update(['total_cash_equivalent_amount' => 5500, 'total_tax_amount' => 5500]); + $this->service()->syncFromOrder($order->fresh(), '부분환불'); + + $this->assertCount(0, $this->cancelCalls, '취소도 시도하지 않아야 한다'); + $this->assertCount(1, $this->issueCalls, '재발급을 시도하지 않아야 한다'); + + $failed = OrderCashReceipt::where('order_id', $order->id) + ->where('issue_status', CashReceiptIssueStatus::FAILED->value) + ->first(); + $this->assertNotNull($failed); + $this->assertSame('IDENTIFIER_UNAVAILABLE', $failed->error_code); + } + + #[Test] + public function 복호화가_실패하면_재발급을_시도하지_않고_실패_이력을_남긴다(): void + { + // APP_KEY 로테이션 등으로 기존 암호문을 복호화할 수 없게 된 경우. + // "암호문 부재"(null) 와는 다른 분기다 — encrypted cast 가 DecryptException 을 던진다. + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + // 다른 키로 암호화된 것처럼 보이는 암호문을 심는다 (복호화 불가). + DB::table('ecommerce_order_payments') + ->where('id', $order->fresh()->payment->id) + ->update(['cash_receipt_identifier_encrypted' => 'eyJpdiI6ImJvZ3VzIiwidmFsdWUiOiJib2d1cyIsIm1hYyI6ImJvZ3VzIn0=']); + + // 복호화 시도 자체가 예외를 던지는지 먼저 확인 (테스트 전제 고정) + $this->expectDecryptionToFail($order->fresh()->payment); + + $order->update(['total_cash_equivalent_amount' => 5500, 'total_tax_amount' => 5500]); + + // syncFromOrder 는 예외를 전파하지 않는다 + $this->service()->syncFromOrder($order->fresh(), '부분환불'); + + $this->assertCount(0, $this->cancelCalls, '취소를 시도하지 않아야 한다'); + $this->assertCount(1, $this->issueCalls, '재발급을 시도하지 않아야 한다'); + + $failed = OrderCashReceipt::where('order_id', $order->id) + ->where('issue_status', CashReceiptIssueStatus::FAILED->value) + ->first(); + $this->assertNotNull($failed, '복호화 실패도 FAILED 이력으로 남아야 한다'); + $this->assertSame('IDENTIFIER_UNAVAILABLE', $failed->error_code); + } + + /** + * 결제의 암호문이 실제로 복호화 불가 상태인지 확인합니다 (테스트 전제 고정). + */ + private function expectDecryptionToFail(OrderPayment $payment): void + { + try { + $payment->cash_receipt_identifier_encrypted; + $this->fail('복호화가 실패해야 하는데 성공했다 — 테스트 전제가 깨졌다'); + } catch (\Throwable $e) { + $this->assertInstanceOf(DecryptException::class, $e); + } + } + + #[Test] + public function 식별번호는_어떤_로그에도_기록되지_않는다(): void + { + // 발급 실패 / 취소 실패 / 복호화 실패 3경로 모두에서 Log 인자를 캡처해 검사한다. + Log::spy(); + + $this->registerProvider(); + $this->issueShouldFail = true; + $order = $this->makeOrder(11000, 11000, 0); + + // ① 발급 실패 경로 + $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + // ② 복호화 실패 경로 (암호문 폐기 후 sync) + $this->issueShouldFail = false; + $this->service()->issue($order->fresh(), CashReceiptType::INCOME, self::IDENTIFIER); + $this->service()->purgeIdentifier($order->fresh()); + $order->update(['total_cash_equivalent_amount' => 5500, 'total_tax_amount' => 5500]); + $this->service()->syncFromOrder($order->fresh(), '부분환불'); + + $logged = []; + Log::shouldHaveReceived('warning') + ->withArgs(function (string $message, array $context = []) use (&$logged) { + $logged[] = $message.' '.json_encode($context, JSON_UNESCAPED_UNICODE); + + return true; + }); + + $this->assertNotEmpty($logged, 'Log::warning 이 최소 1회는 호출되어야 한다'); + + foreach ($logged as $entry) { + $this->assertStringNotContainsString(self::IDENTIFIER, $entry, "식별번호 평문이 로그에 노출됨: {$entry}"); + $this->assertStringNotContainsString('5678', $entry, "식별번호 뒤 4자리가 로그에 노출됨: {$entry}"); + $this->assertStringNotContainsString('cash_receipt_identifier', $entry, "식별번호 필드가 로그에 노출됨: {$entry}"); + } + } + + #[Test] + public function 구매확정_암호문_폐기는_이력과_영수증_ur_l을_보존한다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + $receipt = $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + $this->service()->purgeIdentifier($order->fresh()); + + $payment = $order->fresh()->payment; + $this->assertNull($payment->cash_receipt_identifier_encrypted, '암호문은 폐기되어야 한다'); + $this->assertSame('*******5678', $payment->cash_receipt_identifier, '마스킹은 유지'); + $this->assertNotNull($payment->receipt_url, '영수증 URL 은 유지'); + + $this->assertNotNull($receipt->fresh()->receipt_url, '이력은 유지'); + $this->assertSame(1, OrderCashReceipt::where('order_id', $order->id)->count()); + } + + #[Test] + public function 구매확정_암호문_폐기는_멱등이다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + $this->service()->purgeIdentifier($order->fresh()); + $this->service()->purgeIdentifier($order->fresh()); + + $this->assertNull($order->fresh()->payment->cash_receipt_identifier_encrypted); + } + + #[Test] + public function 프로바이더가_미설정이면_발급하지_않고_실패_이력을_남긴다(): void + { + app(EcommerceSettingsService::class)->setSetting('order_settings.cash_receipt_provider', ''); + $order = $this->makeOrder(11000, 11000, 0); + + $receipt = $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + $this->assertSame(CashReceiptIssueStatus::FAILED, $receipt->issue_status); + $this->assertSame('PROVIDER_NOT_CONFIGURED', $receipt->error_code); + $this->assertFalse($order->fresh()->payment->is_cash_receipt_issued); + } + + #[Test] + public function 어떤_리스너도_처리하지_않으면_실패_이력을_남긴다(): void + { + $order = $this->makeOrder(11000, 11000, 0); + + $receipt = $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + $this->assertSame(CashReceiptIssueStatus::FAILED, $receipt->issue_status); + $this->assertSame('NO_PROVIDER_HANDLED', $receipt->error_code); + } + + #[Test] + public function 발급_대상액이_0이면_발급을_시도하지_않는다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(0, 0, 0); + + $receipt = $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + $this->assertSame(CashReceiptIssueStatus::FAILED, $receipt->issue_status); + $this->assertSame('NO_ISSUABLE_AMOUNT', $receipt->error_code); + $this->assertCount(0, $this->issueCalls); + } + + #[Test] + public function cancel_all_은_활성_영수증이_없으면_no_op이다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + + $this->assertTrue($this->service()->cancelAll($order)); + $this->assertCount(0, $this->cancelCalls); + } + + #[Test] + public function 발급액_계산은_현금성_금액을_기준으로_면세를_안분한다(): void + { + // 현금성 10000, 과세 6000 + 면세 4000 → 분류합 10000 == 현금성 → 그대로 + $order = $this->makeOrder(10000, 6000, 4000); + $this->assertSame( + ['amount' => 10000, 'tax_free_amount' => 4000], + $this->service()->calculateIssuableAmount($order), + ); + + // 마일리지 사용으로 현금성(5000)이 분류합(10000)보다 작음 → 면세 비율 40% 안분 + $order->update(['total_cash_equivalent_amount' => 5000]); + $this->assertSame( + ['amount' => 5000, 'tax_free_amount' => 2000], + $this->service()->calculateIssuableAmount($order->fresh()), + ); + } + + #[Test] + public function 현금성_금액이_0이면_발급액도_0이다(): void + { + $order = $this->makeOrder(0, 11000, 0); + + $this->assertSame( + ['amount' => 0, 'tax_free_amount' => 0], + $this->service()->calculateIssuableAmount($order), + ); + } + + #[Test] + public function 주문_삭제_시_현금영수증_이력도_명시적으로_삭제된다(): void + { + // DB CASCADE 에 의존하지 않고 Service 가 명시적으로 삭제해야 한다. + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + $this->assertSame(1, OrderCashReceipt::where('order_id', $order->id)->count()); + + app(OrderService::class)->delete($order->fresh()); + + $this->assertSame(0, OrderCashReceipt::where('order_id', $order->id)->count()); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/ShippingFeeTaxIntegrationTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/ShippingFeeTaxIntegrationTest.php new file mode 100644 index 00000000..28e7c7d2 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/ShippingFeeTaxIntegrationTest.php @@ -0,0 +1,224 @@ +service = app(OrderCalculationService::class); + } + + private function setPolicy(string $policy): void + { + app(EcommerceSettingsService::class)->setSetting('order_settings.shipping_fee_tax_policy', $policy); + } + + /** + * 고정 배송비 정책을 생성합니다. + */ + private function makeShippingPolicy(int $baseFee): ShippingPolicy + { + $policy = ShippingPolicy::create([ + 'name' => ['ko' => '테스트 배송정책', 'en' => 'Test Shipping Policy'], + 'is_default' => false, + 'is_active' => true, + ]); + + $policy->countrySettings()->create([ + 'country_code' => 'KR', + 'shipping_method' => 'parcel', + 'currency_code' => 'KRW', + 'charge_policy' => ChargePolicyEnum::FIXED, + 'base_fee' => $baseFee, + 'is_active' => true, + ]); + + return $policy->load('countrySettings'); + } + + /** + * 과세 상태와 배송정책을 지정한 상품을 생성합니다. + * + * @return array{0: Product, 1: ProductOption} + */ + private function makeProduct(int $price, ProductTaxStatus $taxStatus, ?ShippingPolicy $policy = null): array + { + $product = ProductFactory::new()->create([ + 'tax_status' => $taxStatus, + 'selling_price' => $price, + 'list_price' => $price, + 'shipping_policy_id' => $policy?->id, + ]); + + $option = ProductOptionFactory::new()->forProduct($product)->create([ + 'price_adjustment' => 0, + 'stock_quantity' => 100, + 'is_default' => true, + ]); + + return [$product, $option]; + } + + /** + * 주어진 상품 구성으로 계산을 수행합니다. + */ + private function calculate(array ...$productOptionPairs): OrderCalculationResult + { + $items = []; + foreach ($productOptionPairs as [$product, $option]) { + $items[] = new CalculationItem( + productId: $product->id, + productOptionId: $option->id, + quantity: 1, + ); + } + + return $this->service->calculate(new CalculationInput(items: $items)); + } + + #[Test] + public function 기본_안분_정책에서_전액과세_주문의_배송비는_과세로_합산된다(): void + { + $policy = $this->makeShippingPolicy(3000); + $taxable = $this->makeProduct(30000, ProductTaxStatus::TAXABLE, $policy); + + $result = $this->calculate($taxable); + + $this->assertEquals(3000, $result->summary->totalShipping); + // 상품 30000 + 배송비 3000 = 33000 이 모두 과세 + $this->assertEquals(33000, $result->summary->taxableAmount, '배송비가 과세액에 합산되어야 한다'); + $this->assertEquals(0, $result->summary->taxFreeAmount); + } + + #[Test] + public function 기본_안분_정책에서_전액면세_주문의_배송비는_면세로_합산된다(): void + { + $policy = $this->makeShippingPolicy(3000); + $taxFree = $this->makeProduct(30000, ProductTaxStatus::TAX_FREE, $policy); + + $result = $this->calculate($taxFree); + + $this->assertEquals(3000, $result->summary->totalShipping); + $this->assertEquals(0, $result->summary->taxableAmount); + $this->assertEquals(33000, $result->summary->taxFreeAmount, '배송비가 면세액에 합산되어야 한다'); + } + + #[Test] + public function 안분_정책에서_복합_주문의_배송비는_과세비율만큼_나뉜다(): void + { + $this->setPolicy('proportional'); + $policy = $this->makeShippingPolicy(3000); + $taxable = $this->makeProduct(6000, ProductTaxStatus::TAXABLE, $policy); + $taxFree = $this->makeProduct(4000, ProductTaxStatus::TAX_FREE, $policy); + + $result = $this->calculate($taxable, $taxFree); + + // 상품 과세 6000 : 면세 4000 → 배송비 3000 을 1800 : 1200 로 안분 + $this->assertEquals(6000 + 1800, $result->summary->taxableAmount); + $this->assertEquals(4000 + 1200, $result->summary->taxFreeAmount); + + // 합계 보존: 상품 10000 + 배송비 3000 + $this->assertEquals( + 13000, + $result->summary->taxableAmount + $result->summary->taxFreeAmount, + ); + } + + #[Test] + public function 전액과세_정책은_면세_주문의_배송비도_과세로_분류한다(): void + { + $this->setPolicy('taxable'); + $policy = $this->makeShippingPolicy(3000); + $taxFree = $this->makeProduct(30000, ProductTaxStatus::TAX_FREE, $policy); + + $result = $this->calculate($taxFree); + + $this->assertEquals(3000, $result->summary->taxableAmount, '배송비 전액이 과세'); + $this->assertEquals(30000, $result->summary->taxFreeAmount, '상품은 면세 유지'); + } + + #[Test] + public function 주된재화_정책은_면세가_우세하면_배송비를_면세로_분류한다(): void + { + $this->setPolicy('follow_main_item'); + $policy = $this->makeShippingPolicy(3000); + $taxable = $this->makeProduct(4000, ProductTaxStatus::TAXABLE, $policy); + $taxFree = $this->makeProduct(6000, ProductTaxStatus::TAX_FREE, $policy); + + $result = $this->calculate($taxable, $taxFree); + + $this->assertEquals(4000, $result->summary->taxableAmount); + $this->assertEquals(6000 + 3000, $result->summary->taxFreeAmount, '배송비가 주된재화(면세)를 따른다'); + } + + #[Test] + public function 주된재화_정책은_과세가_우세하면_배송비를_과세로_분류한다(): void + { + $this->setPolicy('follow_main_item'); + $policy = $this->makeShippingPolicy(3000); + $taxable = $this->makeProduct(6000, ProductTaxStatus::TAXABLE, $policy); + $taxFree = $this->makeProduct(4000, ProductTaxStatus::TAX_FREE, $policy); + + $result = $this->calculate($taxable, $taxFree); + + $this->assertEquals(6000 + 3000, $result->summary->taxableAmount); + $this->assertEquals(4000, $result->summary->taxFreeAmount); + } + + #[Test] + public function 배송비가_없으면_과세_면세액은_상품금액과_동일하다(): void + { + // 배송정책 미지정 → 배송비 0 (기존 회귀 pin) + $taxable = $this->makeProduct(30000, ProductTaxStatus::TAXABLE); + $taxFree = $this->makeProduct(20000, ProductTaxStatus::TAX_FREE); + + $result = $this->calculate($taxable, $taxFree); + + $this->assertEquals(0, $result->summary->totalShipping); + $this->assertEquals(30000, $result->summary->taxableAmount); + $this->assertEquals(20000, $result->summary->taxFreeAmount); + } + + #[Test] + public function 옵션별_과세액에는_배송비가_섞이지_않는다(): void + { + // 배송비는 Summary 에만 합산된다 — 옵션 단위 taxableAmount 오염 방지 pin + $policy = $this->makeShippingPolicy(3000); + $taxable = $this->makeProduct(30000, ProductTaxStatus::TAXABLE, $policy); + + $result = $this->calculate($taxable); + + $this->assertEquals(30000, $result->items[0]->taxableAmount, '옵션 과세액은 상품분만'); + $this->assertEquals(0, $result->items[0]->taxFreeAmount); + $this->assertEquals(33000, $result->summary->taxableAmount, 'Summary 에만 배송비 합산'); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/ShippingFeeTaxPolicyTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/ShippingFeeTaxPolicyTest.php new file mode 100644 index 00000000..b9ff4c2b --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/ShippingFeeTaxPolicyTest.php @@ -0,0 +1,192 @@ +getMockBuilder(OrderCalculationService::class) + ->disableOriginalConstructor() + ->onlyMethods(['resolveShippingFeeTaxPolicy']) + ->getMock(); + + $service->method('resolveShippingFeeTaxPolicy')->willReturn($policy); + + $method = new ReflectionMethod(OrderCalculationService::class, 'classifyShippingFeeTaxStatus'); + $method->setAccessible(true); + + return $method->invoke($service, $netShippingFee, $productTaxable, $productTaxFree); + } + + #[Test] + #[DataProvider('policyMatrixProvider')] + public function 배송비_과세_정책_9케이스( + ShippingFeeTaxPolicy $policy, + int $shipping, + int $taxable, + int $taxFree, + int $expectedTaxable, + int $expectedTaxFree, + ): void { + $result = $this->classify($policy, $shipping, $taxable, $taxFree); + + $this->assertSame($expectedTaxable, $result['taxable_amount'], '배송비 과세분'); + $this->assertSame($expectedTaxFree, $result['tax_free_amount'], '배송비 면세분'); + $this->assertSame( + $shipping, + $result['taxable_amount'] + $result['tax_free_amount'], + '배송비 합계가 보존되어야 한다', + ); + } + + /** + * @return array + */ + public static function policyMatrixProvider(): array + { + return [ + // 안분 (proportional) + '안분 × 전액과세' => [ShippingFeeTaxPolicy::PROPORTIONAL, 3000, 10000, 0, 3000, 0], + '안분 × 전액면세' => [ShippingFeeTaxPolicy::PROPORTIONAL, 3000, 0, 10000, 0, 3000], + '안분 × 복합(과세 6:면세 4)' => [ShippingFeeTaxPolicy::PROPORTIONAL, 3000, 6000, 4000, 1800, 1200], + + // 전액과세 (taxable) + '전액과세 × 전액과세' => [ShippingFeeTaxPolicy::TAXABLE, 3000, 10000, 0, 3000, 0], + '전액과세 × 전액면세' => [ShippingFeeTaxPolicy::TAXABLE, 3000, 0, 10000, 3000, 0], + '전액과세 × 복합' => [ShippingFeeTaxPolicy::TAXABLE, 3000, 6000, 4000, 3000, 0], + + // 주된재화 (follow_main_item) + '주된재화 × 전액과세' => [ShippingFeeTaxPolicy::FOLLOW_MAIN_ITEM, 3000, 10000, 0, 3000, 0], + '주된재화 × 전액면세' => [ShippingFeeTaxPolicy::FOLLOW_MAIN_ITEM, 3000, 0, 10000, 0, 3000], + '주된재화 × 복합(과세 우세)' => [ShippingFeeTaxPolicy::FOLLOW_MAIN_ITEM, 3000, 6000, 4000, 3000, 0], + ]; + } + + #[Test] + public function 주된재화_정책은_면세가_우세하면_배송비를_면세로_분류한다(): void + { + $result = $this->classify(ShippingFeeTaxPolicy::FOLLOW_MAIN_ITEM, 3000, 4000, 6000); + + $this->assertSame(0, $result['taxable_amount']); + $this->assertSame(3000, $result['tax_free_amount']); + } + + #[Test] + public function 주된재화_정책은_동률이면_과세로_분류한다(): void + { + $result = $this->classify(ShippingFeeTaxPolicy::FOLLOW_MAIN_ITEM, 3000, 5000, 5000); + + $this->assertSame(3000, $result['taxable_amount']); + $this->assertSame(0, $result['tax_free_amount']); + } + + #[Test] + #[DataProvider('roundingProvider')] + public function 안분_반올림_잔차가_합계를_보존한다(int $shipping, int $taxable, int $taxFree): void + { + $result = $this->classify(ShippingFeeTaxPolicy::PROPORTIONAL, $shipping, $taxable, $taxFree); + + $this->assertSame( + $shipping, + $result['taxable_amount'] + $result['tax_free_amount'], + "배송비 {$shipping} 이 과세 {$result['taxable_amount']} + 면세 {$result['tax_free_amount']} 로 보존되어야 한다", + ); + $this->assertGreaterThanOrEqual(0, $result['taxable_amount']); + $this->assertGreaterThanOrEqual(0, $result['tax_free_amount']); + } + + /** + * 나누어떨어지지 않아 반올림 잔차가 발생하는 조합들. + * + * @return array + */ + public static function roundingProvider(): array + { + return [ + '3000 × 1:2' => [3000, 1000, 2000], + '2500 × 1:3' => [2500, 1000, 3000], + '3000 × 7:3 (1/3 반복소수)' => [3000, 7000, 3000], + '1 원 배송비' => [1, 1, 2], + '2 원 배송비 홀수 비율' => [2, 1, 2], + '3333 × 1:1' => [3333, 5000, 5000], + '999 × 1:6' => [999, 1000, 6000], + ]; + } + + #[Test] + public function 배송비가_0원이면_과세_면세_모두_0이다(): void + { + foreach (ShippingFeeTaxPolicy::cases() as $policy) { + $result = $this->classify($policy, 0, 6000, 4000); + + $this->assertSame(0, $result['taxable_amount'], $policy->value); + $this->assertSame(0, $result['tax_free_amount'], $policy->value); + } + } + + #[Test] + public function 상품금액이_0이면_안분_기준이_없어_전액_과세한다(): void + { + foreach (ShippingFeeTaxPolicy::cases() as $policy) { + $result = $this->classify($policy, 3000, 0, 0); + + $this->assertSame(3000, $result['taxable_amount'], $policy->value); + $this->assertSame(0, $result['tax_free_amount'], $policy->value); + } + } + + #[Test] + public function 배송비_할인이_반영된_실질_배송비를_사용한다(): void + { + $method = new ReflectionMethod(OrderCalculationService::class, 'resolveNetShippingFee'); + $method->setAccessible(true); + + $service = $this->getMockBuilder(OrderCalculationService::class) + ->disableOriginalConstructor() + ->onlyMethods([]) + ->getMock(); + + $this->assertSame(1000, $method->invoke($service, [ + 'total_shipping' => 3000, + 'shipping_discount' => 2000, + ])); + + // 할인이 배송비를 초과해도 음수가 되지 않는다. + $this->assertSame(0, $method->invoke($service, [ + 'total_shipping' => 3000, + 'shipping_discount' => 5000, + ])); + } + + #[Test] + public function 미설정_정책값은_안분으로_폴백한다(): void + { + $this->assertSame(ShippingFeeTaxPolicy::PROPORTIONAL, ShippingFeeTaxPolicy::fromValueOrDefault(null)); + $this->assertSame(ShippingFeeTaxPolicy::PROPORTIONAL, ShippingFeeTaxPolicy::fromValueOrDefault('')); + $this->assertSame(ShippingFeeTaxPolicy::PROPORTIONAL, ShippingFeeTaxPolicy::fromValueOrDefault('bogus')); + $this->assertSame(ShippingFeeTaxPolicy::TAXABLE, ShippingFeeTaxPolicy::fromValueOrDefault('taxable')); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Upgrades/NormalizeCashReceiptTypeTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Upgrades/NormalizeCashReceiptTypeTest.php new file mode 100644 index 00000000..38cc92e3 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Upgrades/NormalizeCashReceiptTypeTest.php @@ -0,0 +1,152 @@ +create(); + + $payment = OrderPayment::factory()->create([ + 'order_id' => $order->id, + 'payment_method' => PaymentMethodEnum::DBANK, + ]); + + // Enum 캐스트를 우회해 레거시 원시값을 직접 심는다. + DB::table('ecommerce_order_payments') + ->where('id', $payment->id) + ->update(['cash_receipt_type' => $type]); + + return $payment; + } + + /** + * 결제 행의 cash_receipt_type 원시값을 조회합니다. + */ + private function rawType(OrderPayment $payment): ?string + { + return DB::table('ecommerce_order_payments') + ->where('id', $payment->id) + ->value('cash_receipt_type'); + } + + private function runUpgrade(): void + { + $step = new Upgrade_1_1_0; + $context = (new UpgradeContext( + fromVersion: '1.0.1', + toVersion: '1.1.0', + logChannel: 'extension-upgrade', + ))->withCurrentStep('1.1.0'); + + $step->run($context); + } + + #[Test] + public function 업그레이드_스텝은_abstract_upgrade_step_을_상속한다(): void + { + // g7_version(">=7.0.0") 이 7.0.0-beta.5 이상이므로 상속 의무가 발동한다. + $this->assertInstanceOf(AbstractUpgradeStep::class, new Upgrade_1_1_0); + } + + #[Test] + public function income_deduction_을_income_으로_정규화한다(): void + { + $payment = $this->makePaymentWithType('income_deduction'); + + $this->runUpgrade(); + + $this->assertSame('income', $this->rawType($payment)); + } + + #[Test] + public function expenditure_proof_를_expense_로_정규화한다(): void + { + $payment = $this->makePaymentWithType('expenditure_proof'); + + $this->runUpgrade(); + + $this->assertSame('expense', $this->rawType($payment)); + } + + #[Test] + public function 이미_정규화된_값은_변경하지_않는다(): void + { + $income = $this->makePaymentWithType('income'); + $expense = $this->makePaymentWithType('expense'); + + $this->runUpgrade(); + + $this->assertSame('income', $this->rawType($income)); + $this->assertSame('expense', $this->rawType($expense)); + } + + #[Test] + public function null_값은_그대로_둔다(): void + { + $payment = $this->makePaymentWithType(null); + + $this->runUpgrade(); + + $this->assertNull($this->rawType($payment)); + } + + #[Test] + public function 두_번_실행해도_동일한_결과다(): void + { + $legacy = $this->makePaymentWithType('income_deduction'); + + $this->runUpgrade(); + $this->runUpgrade(); + + $this->assertSame('income', $this->rawType($legacy)); + } + + #[Test] + public function 레거시_값이_남아있어도_결제_모델을_읽을_수_있다(): void + { + // KG이니시스 플러그인은 S5 에서 제거되기 전까지 income_deduction 을 계속 기록한다. + // cash_receipt_type 을 Enum 캐스트하면 Laravel 이 ::from() 으로 ValueError 를 던져 + // 해당 행을 읽을 수 없게 되고, 업그레이드 스텝 자신도 그 행을 읽어야 한다. + $payment = $this->makePaymentWithType('income_deduction'); + + $reloaded = OrderPayment::find($payment->id); + + $this->assertSame('income_deduction', $reloaded->cash_receipt_type, '캐스트 없이 원시값으로 읽힌다'); + $this->assertSame(CashReceiptType::INCOME, $reloaded->getCashReceiptType(), 'fromLegacy 로 안전하게 해석'); + } + + #[Test] + public function 정규화_후에도_동일한_해석_결과를_유지한다(): void + { + $payment = $this->makePaymentWithType('expenditure_proof'); + + $this->runUpgrade(); + + $reloaded = OrderPayment::find($payment->id); + + $this->assertSame('expense', $reloaded->cash_receipt_type); + $this->assertSame(CashReceiptType::EXPENSE, $reloaded->getCashReceiptType()); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/scenarios/cash-receipt-infrastructure.yaml b/modules/_bundled/sirsoft-ecommerce/tests/scenarios/cash-receipt-infrastructure.yaml new file mode 100644 index 00000000..79c0570c --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/scenarios/cash-receipt-infrastructure.yaml @@ -0,0 +1,135 @@ +# audit:allow test-scenario-coverage reason: | +# cross product 자동 전개는 audit 실행 환경에 js-yaml 부재로 nested axes 를 읽지 못하는 +# 한계로 검출되지 않는다(동일 한계로 다른 번들 시나리오도 audit:allow). 본 변경(S1)은 +# 서버 전용 인프라(훅 축 · 이력 테이블 · 현금성 금액 · 배송비 과세 정책)이며 UI 산출물이 없다. +# syncFromOrder 6케이스 × 배송비 3정책 × 과세 3구성 + 암호화 왕복 + 로그 미노출 + 복호화 실패 +# + 레거시 정규화를 PHPUnit 이 커버하며 green (CashReceiptService 23건, 배송비 단위 20건 + 통합 8건, +# 현금성 11건, Enum 체크섬 21건, 업그레이드 8건, 마이그레이션 왕복 7건). +# 신청/발급 UI 와 자동발급 리스너는 S2·S3 범위 — 그 시점에 E2E axis 를 추가한다. +feature: 현금영수증 인프라 (프로바이더 훅 축 · 발급/취소 이력 · 현금성 금액 · 배송비 과세 정책) + +description: | + 현금영수증 발급 프로바이더를 PG 와 독립적으로 선택할 수 있도록 이커머스 모듈에 훅 축을 신설한다 + (KG이니시스로 결제하면서 현금영수증만 토스페이먼츠로 발급하는 구성 허용). + + 발급/취소 원장(ecommerce_order_cash_receipts)이 국세청 신고 근거를 보관한다. 금액이 바뀌면 + syncFromOrder() 가 현재 상태에서 발급액을 재계산해 전체취소 → 전액 재발급한다(부분취소 API 미사용). + 증가/감소 방향을 구분하지 않으므로 향후 반품/교환배송비 청구가 도입되어도 수정 없이 동작한다. + + 재발급용 식별번호는 APP_KEY 기반으로 암호화 보관하고 구매확정 시 폐기한다. 이력에는 마스킹 값만 + 남으며, 프로바이더 원응답의 민감 키도 마스킹한다. 주민등록번호는 수집하지 않는다. + + 배송비는 그동안 과세/면세 분류에서 누락되어 있었다. 배송비 할인이 확정된 뒤(Summary 집계 시점) + 3가지 정책 중 하나로 분류해 합산한다. 옵션별 과세액에는 배송비를 섞지 않는다. + +axes: + amount_change: + - decrease # 부분환불 → 전체취소 + 전액 재발급 + - increase # 금액 증가(향후 반품/교환배송비) → 동일 경로 + - unchanged # 변동 없음 → no-op(멱등) + - zero # 발급액 0 이하 → cancelAll 만 + - no_history # 발급 이력 없음 → no-op + - tax_ratio_changed # 과세/면세 비율 변동 → 면세액 재계산 + + shipping_fee_tax_policy: + - proportional # 과세상품 비율만큼 안분 (기본값) + - taxable # 배송비 전액 과세 + - follow_main_item # 상품금액이 큰 쪽의 성격을 따름 + + product_tax_mix: + - all_taxable # 전액 과세 + - all_tax_free # 전액 면세 + - mixed # 복합 (과세 + 면세) + + payment_method: + - dbank # 무통장 → 현금성 = 실입금액 전액 + - vbank # 가상계좌 → 0 (PG 자동 발급) + - card # 카드 → 0 + - bank # 계좌이체 → 0 + - phone # 휴대폰 → 0 + + identifier_type: + - phone # 휴대폰번호 (소득공제/지출증빙 공통) + - card # 현금영수증 카드번호 (소득공제/지출증빙 공통) + - business # 사업자등록번호 (지출증빙 전용, 체크섬 검증) + + receipt_type: + - income # 소득공제용 + - expense # 지출증빙용 + + provider_outcome: + - issue_success # 발급 성공 + - issue_failed # 발급 실패 → FAILED 이력 + - not_configured # 프로바이더 미설정 → 발급 시도 안 함 + - no_listener # 어떤 리스너도 처리 안 함 → FAILED 이력 + + identifier_state: # 재발급 시 암호문 상태 (syncFromOrder 분기) + - decryptable # 정상 복호화 → 재발급 진행 + - purged # 구매확정으로 폐기(null) → IDENTIFIER_UNAVAILABLE + - undecryptable # APP_KEY 로테이션 등 복호화 실패 → IDENTIFIER_UNAVAILABLE + + legacy_receipt_type: + - income_deduction # KG 레거시 → income 정규화 + - expenditure_proof # KG 레거시 → expense 정규화 + - already_normalized # 이미 정규화됨 → 변경 없음 + - null_value # 미설정 → 그대로 + +effects: + # 훅 축 · 발급/취소 + - registered_providers_filter_hook_exposed # cash_receipt.registered_providers 필터 훅 노출 + - issue_delegates_to_provider_filter # 발급을 cash_receipt.issue 필터로 위임 + - cancel_delegates_without_amount # 취소 필터에 금액을 넘기지 않음(항상 전액취소) + - issue_records_ledger_and_payment_summary # 이력 + 결제 요약 컬럼 동시 갱신 + + # syncFromOrder — 무상태 재계산 + - sync_reissues_on_amount_change # 감소·증가 모두 전체취소 후 전액 재발급 + - sync_is_idempotent_when_unchanged # 변동 없으면 취소/재발급 미호출 + - sync_cancels_only_when_amount_zero # 발급액 0 이하 → cancelAll 만 + - sync_noop_without_active_receipt # 발급 이력 없으면 아무것도 안 함 + - sync_recomputes_tax_free_share # 과세/면세 비율 변동 시 면세액 재계산 + - sync_never_throws_to_caller # 실패해도 환불 트랜잭션을 롤백시키지 않음 + - cancel_success_with_reissue_failure_logged # 취소 성공 + 재발급 실패 = 이력 2행(FAILED 노출) + - reissue_skipped_when_identifier_purged # 암호문 부재 시 재발급 미시도 + FAILED 이력 + + # 개인정보 보호 + - identifier_encrypted_at_rest # 원본은 암호문으로만 저장(DB 원시값에 평문 부재) + - identifier_masked_in_ledger # 이력에는 뒤 4자리 외 마스킹만 + - raw_response_sensitive_keys_masked # 프로바이더 원응답 민감 키 마스킹 + - identifier_purged_on_purchase_confirm # 구매확정 시 암호문 폐기(멱등), 이력·URL·마스킹 유지 + - identifier_never_logged # 발급실패·취소실패·복호화실패 3경로 로그에 식별번호 미노출 + - decryption_failure_skips_reissue # APP_KEY 로테이션 등 복호화 실패 → 재발급 미시도 + FAILED 이력 + + # 현금성 금액 + - cash_equivalent_dbank_is_final_amount # 무통장 = 마일리지 차감 후 실입금액 + - cash_equivalent_zero_for_non_dbank # 그 외 결제수단 = 0 + - option_cash_equivalent_sum_equals_order # 옵션 안분 합 = 주문 현금성 금액 + + # 배송비 과세 정책 + - shipping_fee_included_in_tax_totals # Summary 과세/면세 합계에 배송비 포함 + - shipping_apportioned_by_taxable_ratio # 안분 정책: 과세비율만큼 분배 + - shipping_rounding_remainder_preserves_sum # 반올림 잔차가 배송비 합계를 보존 + - shipping_fully_taxable_under_taxable # 전액과세 정책 + - shipping_follows_dominant_item # 주된재화 정책 (동률 시 과세) + - option_tax_amount_excludes_shipping # 옵션별 과세액에는 배송비 미포함 + + # 검증 규칙 + - business_number_checksum_validated # 사업자번호 체크섬 (000 접두 배제 포함) + - phone_and_card_allowed_for_both_types # 휴대폰/카드번호는 소득공제·지출증빙 공통 + - business_number_only_for_expense # 사업자번호는 지출증빙 전용 + + # 데이터 정합성 + - legacy_receipt_type_normalized # income_deduction/expenditure_proof 정규화 + - upgrade_step_is_idempotent # 두 번 실행해도 동일 결과 + - legacy_row_readable_without_enum_cast # 정규화 전 레거시 행도 읽기 가능 + - cash_receipts_deleted_explicitly_on_order_delete # 주문 삭제 시 CASCADE 의존 없이 명시 삭제 + - migrations_have_no_module_class_reference # 마이그레이션이 모듈 오토로더에 의존하지 않음 + - migration_up_down_up_round_trip_safe # 왕복 + 재실행 안전(멱등) + +test_files: + - modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php + - modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/ShippingFeeTaxPolicyTest.php + - modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/ShippingFeeTaxIntegrationTest.php + - modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashEquivalentAmountTest.php + - modules/_bundled/sirsoft-ecommerce/tests/Unit/Enums/CashReceiptIdentifierTypeTest.php + - modules/_bundled/sirsoft-ecommerce/tests/Unit/Upgrades/NormalizeCashReceiptTypeTest.php + - modules/_bundled/sirsoft-ecommerce/tests/Feature/Migrations/CashReceiptMigrationRoundTripTest.php diff --git a/modules/_bundled/sirsoft-ecommerce/upgrades/Upgrade_1_1_0.php b/modules/_bundled/sirsoft-ecommerce/upgrades/Upgrade_1_1_0.php new file mode 100644 index 00000000..5f195225 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/upgrades/Upgrade_1_1_0.php @@ -0,0 +1,18 @@ + + */ + private const LEGACY_MAP = [ + 'income_deduction' => 'income', + 'expenditure_proof' => 'expense', + ]; + + public function name(): string + { + return 'NormalizeCashReceiptType'; + } + + public function run(UpgradeContext $context): void + { + if (! Schema::hasTable(self::TABLE) || ! Schema::hasColumn(self::TABLE, self::COLUMN)) { + $context->logger->warning('[ecommerce:1.1.0] '.self::TABLE.'.'.self::COLUMN.' 미존재 — 스킵'); + + return; + } + + foreach (self::LEGACY_MAP as $legacy => $normalized) { + $updated = DB::table(self::TABLE) + ->where(self::COLUMN, $legacy) + ->update([self::COLUMN => $normalized]); + + if ($updated > 0) { + $context->logger->info("[ecommerce:1.1.0] {$legacy} → {$normalized}: {$updated} 건 정규화"); + } + } + + $context->logger->info('[ecommerce:1.1.0] cash_receipt_type 정규화 완료'); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/vendor-bundle.json b/modules/_bundled/sirsoft-ecommerce/vendor-bundle.json index e8f1c775..47d41c5e 100644 --- a/modules/_bundled/sirsoft-ecommerce/vendor-bundle.json +++ b/modules/_bundled/sirsoft-ecommerce/vendor-bundle.json @@ -1,15 +1,15 @@ { "schema_version": "1.0", - "generated_at": "2026-07-16T15:36:56+00:00", + "generated_at": "2026-08-06T02:43:43+00:00", "generator": "g7 vendor-bundle:build", "target": "module:sirsoft-ecommerce", - "composer_json_sha256": "892a78a4c180c410eeb2cafbdec3ee1ff87ea066db94dea7e1340678e91759f6", + "composer_json_sha256": "cf5460aed4b90364c33889e3bd479eeb87c05b8f4b1ee94886575e14dcf441d1", "composer_lock_sha256": "876ca9c2273a33baff878d25050a567018a946412db053930a7f548c4add595d", - "zip_sha256": "e222da279ba452bd155fb68f06d6bcdd0c2f29041f231eeea3ef6229912e9dcc", - "zip_size": 435549, + "zip_sha256": "3c84d3216050b9ecdb49ebb8b457275d221b2b0c8369a608a20377b611fecafb", + "zip_size": 435548, "package_count": 1, "php_requirement": "^8.2", - "g7_version": "7.0.5", + "g7_version": "7.0.6", "packages": [ { "name": "ezyang/htmlpurifier", diff --git a/modules/_bundled/sirsoft-ecommerce/vendor-bundle.zip b/modules/_bundled/sirsoft-ecommerce/vendor-bundle.zip index a8a0cc92e3d9688f3a488004b93a20db9f61f666..c14b57d9ebae4de9f4e557ed6d0195b80096d4e6 100644 GIT binary patch delta 22205 zcmZ`>2V4}#_rKk}U5*Zlq7=d2DHcRJ*g+6`L7ED7z!D2a5$wi(!dMZ+7AuN!cEPBL zy~fxOHBnGOL8DPo_`lhiy}Lbre?Fi4IC<|oug#l2o1!arPp;TmgokiS8wIOSDSnC+ zA`e@oQMXKjH z32`i;Eme)QBBjy>+qpVe!s4B`zq&IDMN_3h;iy29pMs3z4%R6LR^?9!t??+D{@B)e z4+>6;aUC~m+u0#w2Ylc7x>LiTpz~cvK08%XxzlB$QDLW6j>~(W+PCtqrEPkLgCGB$ zlxUH*qn=q>#IM_}v*up!-!?wMdFWt%!-6?KCLXGKw5w_RtXILSj5ybd8TsRX4f{zc zs5&^gW~{Wz7!=%NdF6R}y7L4&*>`{lIQk*_?{H|raU9CBX1vr^0eqgB-zdf$H!tJ``9uBJ^B(G? zOkYpPlMC83nauqqhA=pHzQZJ!L^4EnQfYK%$Y;_wGsu@KI#~4dK)DY&4{TIkO72`D@JQZjf)Xkk96bW4 zg~saab$)q|^DmHKoL)3!UI8dF=F!?%F*Q_qZ%^DKsaJVu_N+=s(}Rpy$@Db$|0Zw2 zf4ov1b;g85C+am909mF&n2ahu@hWw}87Z;PG$*QO{r>ReQ;U=hZz6%ET6l zi?d6u78Httx+LKwsd;IIRz~JHZ%4P@Quqd3c!lQA=etO1&GO#-@h@?Mi8pJq7V_nw zu}p+fp8M4-5*<^!lMfsKvB5-ab}S>$@n(CPO<{NT8Ii92py z=qN3v6kD;PX=8d^Tr~hp+o5)T(i2^;;*Im(J|9U@A%CBz$zlC!A}!4?{e_k+-!3FF z@)n=pvH)ZZQ>Rw;$a`6yPOHy*|CyF%RbHp1J|COX>PerZ4)p%NG|K(y>vmeQuQH>( zzirJdLOZsbSxo9`+&RXB7ANwICoS$aVipjn#>JS4Cb7}1HDegkIW!s8OpK8j9?iD~ z%r8ok3dJmN^`}ZSwrhb1u<%SU8h9_CW0l56E@=Ti-%$q z9>qk9qIy59`m_N;{X>b)on^Y^M>DjQHD_a(cf<&k8^^q`kPYDq_3a`Lv?hu%N6zMg zg(w^^7I1QEe#A57)RK4OneQ}$?|1|18~I|#hzh8km~}5N7rXF6(r<^$&5eg19yTBnD7v#Ob%H+VS+`V zCh}*-nc9{*kJ&?PCVVmKcCm+X`lyhrckr2#2A%k(Mm=`^#rVD zj#KU5*D^yWb%>f7ON)i;nclQ$p1~y0VhUo$(_+~M<_j&BZemu@;;b#qZem9Ajf*#C z!f5bLK-qQKU=*;CvDK`~WERrgtG}Izp_P(zm}RtRv{S2K`YvV@X`W5_JLYWyk1|m9 z7ib>0-xyvqaSwBX)@ikuDWk;(`Mo`?T3N)X(6+yra^m-z2hf~iPp$ejm|X_A7#3BwfF`o~ zhf$(6MG)QSN7{%9PZ$@f#j}W^!?dRKDPv8kKZ=<>wD{|D#*#RKPXEo+5Pj$VVO)v6 z#*?E5RDf+AY4+agEEr{U6im?2SIjp89$dm)pu!wqGi5X?=4H$eN`-Ah3)+C5|1y_| z(=(P$2x|s0{Ri@GQ2KLrAd2x2l$!X@j0=^p;R|C-W&-utX=)CfPDEBaA(;w%1RkBM zW{glm7wAUTRg5{2dAFV0=L>-Q9psJ@WdcBz;VGDC)_-Si5RVSbS#scC08QnP^-k!I zSegc;SrfI#?y+>~qWQ$KCrF*kUu;V7iq@M&tBu)y8dIK~K%JW{u=i-OzlwFE#YM*K z7wSf;8GDIRLoC>ATCA{Sr5+q?&GsRF&fyPb-v>1xaHk2^RMcfZQTXe6Y#cEqZi3I< zet>zyh^C+Rj~X;&t4X`q*|9@u^`Gq7cv>uWV9(HERwH&T>8%asMpkzQ zp(n(_G$TkbMyrA#YFnIHf2m$$HkcOMH)S1Z5t`747FRWA2h(Cn3w8i0?)GiPQet3h zR_gNZZCQa*z1y)K#4$hHx9NG1X>S$kwLLtLn-$v-o$Cdb{MDX4BYK23xUg#Co2x4u zN+ry9V;|7s$PR2jT0GQ|ok@#rIvcL*p0MyBOkUsE%x(eO=zP=`m;+Z^>qN-g;C)_KjYN?b*Stq6OPvOgABFkCs?7C zLF^tPvuiiDJFSx1o!vo;t$VWXXwkkmyNwpl_F?-{O%{D2mg08Wkd z`I?z36k#ZJHWQ$6n#G=^x{H$8@pPROoW>$LB)nY8uA}qIoE7XBGa_^5Ms^1|BS21D z*b!tIGj|I+hOl35VIPt{-(k(sxusyci3-LM^!z9rgrXyadYTs7*bmfEhiq0F>CJPX zuMrU=cCyiAvy0B`V&g<2YO$LwB<#1l+3(cYw};r5WS8_Kx1!x)7_gGXEvW|zj}R=8 zU$kJVaXH4GqF$6AXQd@r>M6E_F5xB>um#3MwA&Rn$w6;n=3l~^>m9X->xY_G?0K@c z9Pqex&KQX4I@qXGus+Cd6m-mb@7M(D$C3)x%S3F(!0~^adI4d$>?m$&G<+3XP4*rd zBPBP0n1>>bxFVw5PsQ~YEAB0+WH(qS6d_*ehZzqvPsJH&9;vwF79#g?_ele0fB{}c zqFBN%vgPQ4T{Fp!`$27)?8r@`4OrBgJ4%jrP`Vd4n0Wrqiwht*l{whW$^)A14vVrE zaeSX!ap3ky#OSH z_vX$L2~Ky6CN%~LEHCb_L=lm}TxX)W)5w)kQ-M2)7Z;nDiyS5h#+o;Mxu2<)3H`W* zM9bYv%8^OX;y)Q_t??bgrIFoJ_pTQcLcoNrtd?mpf{UbSml(mN5`#{@JYD`f3^t?0 zNmTR+`A2eZNl;v(xK&hdK@2yFSQ*s)i5p%K{>|YN1zg1(U7jqMYvzyU4ic$B&8B=k z3lK-8q#gMu;3Z=m_Xjnh|5$Dy6}@LXr=|(&KbgBlwD>mJ_4j)4uCXzRVN?>gkAlpn zbJFl(I)e+K)PA$M3@ZC|GPj5rvf^xMo(&kHWX1GJnj%=ENmF5FzWFoPh@va!O2O#5 zIi-3X=$vSd%|?JWL($U&BhBR$ZVNqRfG!_EIJc$=f_z```vUG76^a&dt7);#67Dxi z)l$x!7?v4%{$?q}UBieQ6;TxkRHC*sU|xw>&V3*)(Ek^%7afhZtmQPc&kWtfd5{4@ zvvxBVWhQP_?#|yhq6v(J&wQoaGST?%;kuAi*UUQ3!KO#tT#Y})4HQe7f>T_$IVsv) z=3uhId`-m_?iF!Y^XLXwO=@YL+~y+522$gDpNpe_T@Se-5r@t?VcWVf$b`Gb2y zcd@XU4kyxXvdSE5QAAU>N%=oR40?OQ=?Luqnkxm(X&dDl8iVlWO223kc+0KPoQ;+W z#e)vW`Zd=D<)%Ve$gV$GQ5%M! zxoMDH&C``Ip^CAboS}S612}S{axX2KY*C)2#cP?$AJn7kIm!W|bwOto4tv3X_Hf8k z4vDx(sEcOoP-;Yx$bF~s0TFJ#OWDti6l0Dk&8Wnrqsj`hdu?uC*sm=d)EL{M_e)t1 zlyyXDq}g{`*;OEwO3y2|({@~SNh#3!8~#vUBSnN8GUL0_SZ@vxy*hVQnMoaty{_y< zi~DaVpBfX%s~#wK*onT(aSMsIgQ5RUQ@nV>!Zax#mA)#1E2vV!Fd)jbtyVsvg8r*f zPGH5_&i3t_PJz8mR||1S)a+#W)ihdg+&5IjT%Nkmp*3LInv)aEXfxhi^UR3%rWxjB z#s?B#mjP=5m*_`#IA$%&7p z#hNC36m8O2S3bp5)VHOwb5$G+O!4OU*xCc#QVZ6a&fa_?sf0#E@ZC^iAa7*QPWk?P zE2^zsAfHVA*c-&d0$+@|vO7PLgr?a#u4pQpvc}dGM|Bk7&zoot_T*QP&aLt5%fH}6 zV+Qly(+riaPL>?B4*d3qrx>jAFS*Ei@cF|-W zHoBstZ4&t%#L-P9zpeTevSp(=Zo96idK@ok?5FY?YV`dX`e6+~1=|E;OM{ND$xi0) zP^)Lo=gp}lOVjwLq-UWC%lK0 z`}KSp@k#Lh(ewax;W@4GQCerTe>=>yg&DktcHy75@)gv_q;0%0EzZs2BWV^r-Orz- z*e!Ydy=Fwg^auP?s&&X?zB@50^D$4ZR#5R{-iy#2pYZ)iDd`E{my`;g@cl`tUJ)Nc zN@KL8ydr)Rq4j^t_cq4viWg^S`%^y18ULrHPr}T@W(vi}ZVE+n?KrDYK|P?~OE|Xg?LX?{np+av;Bs0I2fSF@sDMyKhl~OsnOE^P!yCov#HSe$9mZ;Ju zg>;Y|Xt_Oc5Tvv(j1Tg_8)v-cW1Vnl%sM*mwg=33SXjwJejUw!%?}pch?;-TZX7rq z4V&XWGB^6pK&e>$o*8B+;Em)*_#5!UK3R;#-Zy*$QIqZp&`{Iw==mF-?6Z*9Td3MT zRSdz>REt_IRq`>n^9xAG8!$x68$M})sL!m7uP5r8dBXFf0G=%bWSGq8V<@1Ek0hCq zT?YDEE)}a*mGN~&e|1-i3WdL{>W&ra!WDriv0QRBr5x%nT?bvtOI^H9g^Dmo9Ky>n z$0kGVo)L(G-|;4*WTzR<_x-^9@eob9`H2|mkMiE}HpH^4@1VZb2252?+F*=a-%C3E z-vj65CK12sJzr0h+~{XVr-xu`7Dx}5+5C8mh_tBSorq-j3aH;CQVd}zsb#{Ib^7~i9hW!iF^(WMaPjp8IwbZkidi0d~_NgG`@CmSD`{7}cfj#Ue z-e23Zus4RoZIGUeHGz@1LVqy1Hssd8h_?vM3C-A)i5Dmp{&pR zATdt53su8mq-7z>{>=NK0sl#9GvPmQX2~Cfd_hZog2{KUh-9_PRTc94q7BLyU|qU_ zS-xuLn@Y4#%Q}Tw{&yg@U6IvS-b$RF^;}W->HSAd;Jb(F?B@Y!K8*aN71n%(`oWKY z8i>lj@(l^qifI&p}euKd)bVn7C| zZx)-Pm?}wMQWeNp_#8OF;#?tyxX)In^hg*8&cHAzm*In$@B9d&KKeUUWnV$n0Cn^$ zOLXPCB=iyHOeqyPH%iTF4M~MZKMZaP@&iDAFPV*sx405I_=EOQ?Y%H$gnY1FS}r1+ zR!hz3T@6YT--}AGz1Qz^hcRb-B?_$JyQ3Ks1uN0XGtui!&OxAJAW-s&+6x8L@WY9d zTWg?h>?d3|P<`%`sW!2tDWm1Sy^|e5j2HMLkJYnuH-UsIeU)Ix#(zzB7rLjv6Uamt zxWm2GZt$v;iD5mnDhyOlt}?bVTe& zjF4W%7^5F>;zBUVEMS_z`I#Q34k~5o4E^v-=CEtvh6k`o$;oy_m6 z^&WgkJrrD*M{t9YuFgGx6B8;pFu@6qpNI+OC`2icV`UVr1Xh}v#NyErr9emZE10#! zny}mkDv<*(kYTf*nah~w1$r64ic5ktID6|7N+ zd8Pu8Z&PyXMsU%c2@tM%Ef}mr?=!t4R}8wNu38M!=hxgBmvzdZC*+kjY7SO?9k$Ql;lJMTG3;qfENu2exqf^#O;#fP0_<$Ozlmb_Q?$dNbU`{2MY*6 z@BpVC+U6`7f5;h(Z@5>>Geax)GFG)#W>J@V#g7G}{6X#*nPJBJN!?!?3oS*TJ=eVb zhI1z>4#Frg|8!5r4D;{rmw4LhiRdFT zx?r~J2&#IP=vXMXgmJ3n^^?#so)e)9=fdnZ7W7Mh`KcDK<#p>Kmris_Y-{EC=WK{> z092eH)qsEVQ>)+VSL!6RCHYa@35=;J*XNZmbx}lT!IA(HIs>5fzghs94P~#{WO_b+ zB2e9hZ)m;Ec3*{|IQ5pEzdOh%1E_W)b^cKbw2cmpHn2&{47#+Hv zVe)fJEtyAstk?!9+E*F`5`6*S4Ifx&LkBPXj8QR=iQpd?u(YlmP*2w&k6zsw{1sdd z1ry~P@<;XbEBVpv*S!@q94NZk>fzxDA$4JmKNw)#P>=VYKi!fp++4i%4d}*K@$#;3 zYNv-!4xmfP^DBp#{0n$|?;#&Z;ju4?$T7D+x zuWcmpoy2U=zFq`X@?o@vvxF2MG?G)6=;ZhtcsjBMxV({XHP*p>ny~Pyy_;m1TQ^YL zsHwyk(1vc(Ci*aD`8N|;q(=m_WChfyJ8gvt$8R5f2Kw+vZSroE(p+9ih2A%3O;B!k zNozrO5dENq9A$&Ndq{wg9sqD@r3X0DL+XgvF|R{wJ>I6)tnTPT%6ZhkC*Yd2)x#}s z%hui@Zkt!I<_~bg1l$+||4M)PsqIi@Phqs!6uL*8h8Y^)UQYqM>m*y2BG2BT?LiX$ z$xpeLxe$Dr3#+O%7ub}BJh=%~@QZ2rlGNE1R|`d_dJD}(iyj;O;g7$(a;i0mO>ra8 z&^}W7PwoSe2!+QgSc0a*{}>>?Yq~5o0%`H^8zMyj{>@L#LRP^-oT$?LW>wpf0Qdnv zc|O{ACbC}yO9ORvFsLl^Amp(jbYr4@oeHAmGyFi56(Woy!-ZL2s5{jQ*X@a)oGQ^n zFSZVPH;Arf8ZBx0<^)K%3qN_HTl(l#`qo!k965x7zyM!8URtPhP_+s3!u+*79_9Q0 zuTi^k7~mcS=;7cUtZ|1v-Cd^7nr?WEf?v%3@0CowAh`rOK)Lh->211cdG;g{hcJ0+ zcP-fzJ?qYzp;qBE5^>>wolk<+Xbwpr&lkI%@=7YSrYCg#lTee0z7h_i&3fyhl6zBt z*w~e>ToJxX>i}nP@*AT=eYBO7=wyGvM#N7vt!q&X4T2v(%A2+(L=W#dfbKxFuYLh9 zA4dm=61?;fn8u=b02urxOv^Jy!2_j(y{Lh}YdlEHYa*`d8mWIi;R2Dl11`w(#0fEj zq**Uv5Y)XmjMTj~NN7XiQ;o^)BM2ED4mTCO)V(M+-2C2)&_XTHe}kp9i1iQ<(<2J= zdbqkwi<@egDtFm`A6$nMw?oc`2g|Ea_7H&{%~xYFzshsexi5;B$?{5mFdZMu77B`aJ)wZ0!dWvUk;bmgJ}AWr~(y zx#W;+#HTk!$&jAQAdK>qHqX{VO;A~cKvUFoB$!aWUCT2@&3SqQbKcW&-49ULn}?rF zZ3xO9DGVh?&fl?sgS)VR&{|DX7T3!TkIgagliwKHqBW5MxiMTBe164xNGI#&hWFY} zFens_jFLJ{QWPkAatJF6MAxdbGEX)chERU!- zQ2)3+Kea+vts#08E2(=E3+nRAwIa<>_ffR-HR-fC<{6mYsU>XDWNy!@(BcJjz2blL zK;3J1I24!F%}38i3FP)THKlp{S7?qnXlnTzgfFQ7Xdz4-tc=e!vt0}l4#Q7=XB1|H z`cHrWZZ(4E*Z9JL1j%9yc;u=gJa{c{+(!NiO81`L@J?o-u96XgC-(Kx(=k$<-eIXr zY_(F25InLsMPYFgASw<3k#<^ufTox5(?B2_FwU zE|~D(t$*zvrhE2psA)-GQVl)=Aa7op$9L}995TEZjFR8JMWFBr0(niK`!K-J$-f6< zd49-m2xo+hC(cqvYJeMMQ=i*LK-Q4W}mq1{l{Y)&aY z4HCm;gShXF0dE3${mD8%^%2UQA}wOfr-H80KNA7)AqBZvud2N4+W_iXK;3?_@$SW3 z0xf}hq8i;N7KW`d7CBE72GqJX4bYQU6F35`ohI}XC7CbxxHbWleg>uTri0mR8u&ML zqO?I6F&(U4x(J)%hu|v<9-RP+80cvqj6Lyz>T(FQ+->_MTD%e^FX2p(|4&lO_4^3~ zzF4XUIPjCSg1U}*AD8Lz;FAurrBrvCRQUu_`K!I*^dIz#9)9}_y1<@u;Ct~172HHS z7zS(QT7q|+DUcU!ZA$DlS0Gd|;EVkHrS~S9Ff(BRj3?4-x7RTO49It3X7kgFZhmUo zW(@T~X0xPwb>~^&%s;yc89pYFFUGJm@0qTDt%D{=gi$F_CT;w2T&)8-ew?$`o`hqB zIGe+(27BfdL4?nS0AZ@zrfq3uVA?;O4O`rnoC2gCqT9)sR``&S_?Hs&m{c$CS9g) z0E2IV!Se2PNFN_Q4_3}%kQ3)Y91gtG%2J_=^I$E7dAbjK4D&eWlO7(v^|2+gf>S`& zydQ*j{Rd}KJAdA+g4^mz$bG)hRkqB=`UWQbd8{W~&~<^Kvzwmd`KblC!T`}I-KRo^ z3%s#5$T}6Cm%xWZ^4%4do%#Lyg;#JS?t7Uv=skhRDpd$24#cK{0}B>nIbG1vR2m08 zQxuTl+P|8>Y3nhxgZPyZvP%=lH(97{8i={1&x6m48i?kPy>xl)TIhH9(OZC45EIDxP06|z>k6PN4}B_-KdAp+Nd-}m)Fu1TFXfV!S6_UmE=J(cfUdn~L-SZd4s_KE zXnyK46th(5O>7k3j}5;nwio{Vs@B+aA=ycMv-}r`>M0YGtE&ZHw7@$y?6lkRsupDc z!*8$UBmRKvS|#Y|GQmbPatAZ1-dq^Q7Qr4+KJslv*2{$<#K?)uv6l~Y_5XUHlwU7m z)w*xV3}?BPA9YpX^RkAuoP2zLPF?(eB)SW&Dqo`f#OUZgSTkJA4`I>aHPFZTm4Y*ITHMjLHp1kNCB8#U#M3N!N+doGXv3t&y7ouJp)%Wz*Tv~t>EKus;fSlv`Xq}$E6Zx%{>V>Taav3FWUoDN^XD~Ud4nbS5flZPa$~J3&yc<3*!$RO= zxw>L{Odqq#bs}Wb68Oot!NXDR8rTNox*vwLnAQSj;!-2S!K-n7B5%lA*aV7dCa(oG z+Zz&c;aXS@V{+a0-5TQmKiOeePRYAU2L}x8g4(T<8a7}ZNchExkc*voQr^4;>)7tD*IRq*j1`^Hc4{YVoEheG_f%`su}SXMx`a>c~U4f1DO?g-kX} zcG+zP-B;n6DRx+NYU*Y<`4;V3fqBp2t*Msx&t}Qy@0ho6vK|kGp@FgqOuPN(t4}XR=9%c{u1phmV-6{+sMvATCm5dH&3O=>R z@5Y&+X&vFBx5>O&t;OO_zdd^nL9|wZrtY!`k3+ec!a%VZlJ*ytFM(M$-qtWzW~X7z z-Y9AtZ2=D^y4@s@vlV{w*)#$+g&2By8yrz!2UEYBHeC#Tc?7IgVMU_-%TH~Km@J_W zaWE_kTrggP0<+<0EGvtuxfQ>E(I%+zC;a3M-DoX_dLff+!B$i=eDBWrm#ByGjYLBf zkS)*;I9F$bny%|{-43WIn=Uht#ozwm26Y1<|KuycXB6t14$a6{X4(Gr)J1>V$7K^N7f~;UrxY`o_ zw@=z|;ogvda&v?r(cK!O>el!axHl}Z17)C_$a;qmE`s=F!vZ!mgCSX78FthfpUeLt0=F0ZD=)Dh9xWN)Q$kA_(Sy55>}N#r zSaUkhGoR@^6$6Gdf{N)>Q2y%ap52}0-uroPKl`iHRn^ti)nV@51(*95Tx?>ya>|+t zR$;DKt1KV5&*lxI#Es=_Bk^CYFMCUD6qFf0T7^RK7yKG%J$W~6obmvn zvFFVRd!dIglqIlv<^$ErHNaQ+qSi*v0=Kf0@|!f*YTW{+H~n#7WOP-){RzcRp4(C6 zj1hh#2CqNfXLygBt6#Qs4i7)wc3{bo=jB^`T+L1$*zPvx+_#;JTd15~-#vKcM&Yrx zmJ53OTaNARv|Cx0oOSrwGvWQ=9g6X(d#9IOjxGLpfV;V|&y7==U+V3T9<}mI(UOyl z=ARqC?^t=gM)bqd+VwilnXZ~ru{rjxzfbaSQEhV@PMbDm+s!&lUfaEIF(ybmBl+sB zKXf?*!df?4+r|3Ek8TgD!aO<%2_Zc_;*%TQIneN+BKT?0g`G#dG=X0Gw+8gTwY6<_|4!fh;S!dJtU&5-|PhWj&e2t3XBmKCa^Byd0@0L^c+cQ_g7>R!T=8kNMZ&x;b zN&Kyy;nz?EY4`ZGQpTxz#1%gG`;{fF{N@3a>TZh=Lgm^rlHihC&f#n@{YwAcGi&h* z#g7_V&-}o`)@_>cgmiRB50T)&`-CU4j6yMjLs`JP&{~_4V@Zsema~o;U3=A5s^+;|ciMWnwmrrA=RKw^$NYbk zgtuyQ5TV=DZX5B)o9Lo0*C1G0@@RuEi+i^&T)N{G<(#&wfV!kv!3Ekw)&8Y~Rd`qH zz<%r!3xnc!i_Q>#9G%@K<0Qzn;8Bt{L#%pr=q4jNt9lm0x{^ap}(^w?Pe0lz5Ekigr$9 zRLIv(Fhh4IGmnWoPNp-VB+{>k@3!P2Bjjc&iEY^jo&8O&PRgJ&i) zgf{18G2LkM?hGcDHhpI?PL!?7944GXm(FDtkS21U4}&KvZn1zFMilTX%JB;U7Z)?w z#gS;x0>%twI|-J$+Y6b_gyurx?VQa(vw|f`N;HCQ)?!9S`w3mj9HhNhEMxjmXm2eu zoHkFcU?ON!mBWms%?!jO)8^|{%oo~xp35wv%}HySZA6XqE5Bcv1exWHfHr&qUnS-+ zRw!~cqtY$TV`kBybJ)lvQqIYnnEA9RY=K_H8Tzi{K*1esL1;HXIm3QL|2LSEQ~3jQ^`6xabz{V$uj>(H>?r6_L7^ z*+iR8`nrzOvR@ePui^djVYtecfT`NiKyAzlZD5iM?E^| zSQPrRp`b!O=a^CwBF^WT*<{stoK$y9b5Pk{i8LR@H52O?GOH45BJ>m-Umi7~L zRUe&;uQ6RH^zL=ZO}dzy%o+-P^A{6Co0`9wNZMR_TZ)fu%w2|P(Z5&5_`{%csR9RK zR}|$ZIG~h!%o(C?>-)?u%KiKSV@I2n51H+>x&4tesnC%pOcmie{*>{f`0{_41lsKN zoH;|AZZDZqYN4u>`A(tMZA zk|s(t@4hf*x)uz3jOy}{We?HjJ|+7bZT=##H)%80ob@O2GD|YFvtf7-D^d9akXH~S zIOxhO*rn8#Ocg6x7-_?9p!{!bS!s@Uv17XsW2f+YH{1f%-lP04Oswv$J^P80zi?oO z(q?xjme!!i$(j8@qs@iwOYsw2*&BfkqZ`yoTpY1`K+kzXi6d2~imeQtwV^*Nez$R<}@mD*i z*DDJl5ML{x+7Ce4=BzV1-dV6fx0i(p*tScqR3}jc+rh72kls3DCu$Gi|U?@9}LSKZjtr>Hi>~oIn zT8>^nU}8~0C~JmnV_-pyeaP6NHR0@PqGg-*YzL{24(w*yY}ko~9kaMzxJ0n)Y4cbY zHi~v<9R=Y<1+xVdR_Yq}XVsK2bO5L!Rt966N7nrpI?JLH1yiEZ-a<`X zw}C9p7>?;*E1s$qig^iW?;Q>=;P$$$@$7pwv1x4z+l*EP*Cw%Mbp5!O&L-0esmlx& z(OLd<9=n_pq%UH>sECA#tJ%%uBmmW3%MKt#&D6E*5K%?--HlZvLB&l1&es7bCJq*h zcI(*b)RG7<6px3G|raAAXvZe@pxK;*rRJw?#3wy~8|(^q@h zf5^V+d%?RV`(TYsSK%$7*r_cFNf4}bO@C#NP!mcIve~qc%p>e`TDgrn$)2nLus_U2OxASoVP8S+P&088q3fjNY7pho zKr`+>Q7y!r>n>97cwWw~vQa3y2Cggsn@kQDlR#On?-}Nyf=55?72F${e5g#ki3pHs9-&S8$_j#jpMS&v^o6G z(Xu~aehn5EexfXDH;8*p>}wj&EusCKNaO|+jlw(J^T*ZS6OM$GXkhA3oV3(58_Ky- zrr6qO*<#@xY)|ZYL#DP2i+-U^$V4y}X!rx=rSC zs1YyHx!JUtHkF$~oA0JcrnOx&{l{{UJ<3}2fqw?4Lh<8asLxI3*3zQ^n5ALJe?F%+ zE#%M6P#1DkNr<>3$JCa(;O$&%nxrNj|FJL<19(PusaMxDboZiIP0kicF|2595oCi)*O4ueWSvT zyy4zchwS^r{Y}%;qVL=*y46f)m9d2D3ai{?C;Gt4e{|7Q@Igcyk|maUD+S$=n#yeI zgBWjRy9C0tY?iW=oDZU`70MVg`~NubIS_pC7faZGnIWik^;RmS6>W5m@-;O(Znbg; zZCb2V9;eNVdCKopy-S;v|x3gbJ6^?G>mHi%K{Qfot9T8OHf7(d zIsZVvkx+laX&wSfm2R&M|ADT35Hextoii_>QZ-NQ|EA^(s9Jk!@El2Qi?-em>Olgjt;@U37g9BP7xNuRz^yCh$@K?%P|ODs znA<%*hO|=d@lm98;vV0fv})exyOP#V`quvYe6Dz(g<>D@5r+FLwBZ3C?ujpGY=g&6 z+NV+|KD1XTyv4W97)JR*|$Qh+P$(de$14I_eoPMt(-AP_)sL!>NuY zAw=6OE)d;)3~FN0=+$FT^H&TFLYgOhO`?3`PXHYf3ea|X;rNOZvwUpQ=~XwFKh9uA zq>=EVtm7gBa(~LZ5aB`4Vkc;@80}?^4f^_(`rL4trBL*c$(Y;`Q{(Hcx}w7jH(Rh_ zlTm((6y4_pXH+@&bvSEn~*6Q-dEIVL0X5ZR`uwp=j)L-a)j(aIvOPbdag!7zdP{ z(97r4H--x~Q~!=g0?KgI_XY1r{G0Xy^y-iz>a{M#0?nI2_0rgGOz8zN9RjIB?qAC^ zOpV&Tr2bX4aNp(%l*w?CFSp>zc#-n>OWskmAU^Y^%LuSF!Aha%BC{ZRqDa~Nl{8Oc zUV&b2=_2%hulQOXIBpD=e5O5}LnW{H-eM=Kue@Gc48c_eqbCn8-z+RnJ2%S)oy!nt z^zM5N9i`0_JF+UJu9n>i$`mb{t-Uro7G;-8BcERi{0--c{NGApLW^_4t_+}C76CK_ zjV$9yg@`gRbpCRH25KKHH%Ir%q^X`}DY&o>IU+{AhOZWm9uqxpwF9G)!F%#>Ow}`? z{cm9MiQQj#10C6|!s3wUTWKz}gBE)vmv&+!hOg+d+Ed*zV~KLX*4(~2}((Mh^6k5IMDs~d@WJ_ zoZ6bIWC-1(5agX@^6M2y)Y^;!OBDY>(sk?yY{`C%MQ1)p_C3VV*+n9>)kkRuQP4{a=E5UiDHLJl`lwMr9@8M=!T#C+1| zsKYRbZNLNFjffzzBG1o!qG+_?cGWbNo}WPbKJo4SeN#uIO8rYY+i>q{ntd9c!d&f8 z_ka1CVh8$LSkOYAsOFs`q`v_v35?=@!4Wqvh+u8gi{>cgi{zu|FM#^v3Py#XtzV=` zbQpufu7m5^BHORL+SAlK?Ties(!9Ncm`XkjO^1bpbh-2^2 zb<-gnB8(&yWm()Kq(i?+Npt!)kZ|Ze0mFr_ljwZ2dMBFi1PP&#c)H3Yq#?TsegNq` zr2=?oKN5MhC66ri11&ka%Q}yhgFuO65R-B-Avu+jl=w=J!aXBW;-A@~^ObZ0JSy<2 z(E!*dLM6k(8(Q`RLJio*Xx!z#qVy z`j$w)_|_8T|B!rLfKemMiP+34UWwFIFl0E597|YXc>>&(SS?QnebCd_B2HUd1!4w& zB0U`Yq(W~-(PgT^&K+a$Jy{@_Ece!xbFQ!AtUGco4k5pxrp4lRTrU#;d=Q2j9p;VKtmF zQeInhlM`r`e#?RSo)#hw9y3^@NTooRu6QM&W~vC=RTbP=A5zjGFx=uR6dGCF&$A<< zQuD-neUj5-+~<|G1Zx(7yF+B;rL~Cow$6;9g2EKyUX_^)8ccyBSUaHw@~q96qi;|{ z5x-jsfV*zMIiRtEgv-FVeV%$gxBw9Z2g3Ij<08HFICGTm%~+rqGl@CD3<&%i7!eei z2{d(G!8o@jMmTSCfd;I`9B@;82`<}Q@DxM-Lg?Zl-C_I(L;VviGu^j^kr*or!IS9c zX8~ef1sLJNT7!N|EhPQcV}c2xdIB@_$wDCWYhBaBS)r~_?oWl;A?qwQ9MiW!gDhcm zMc<0$$MZoL9EvVkf^-pl4_77O@dONy8q86smDF>L72viQaJ8z1pZd2Q1@mB_YucGE z-UW$9B3r2hS~NweK;*`u1Xno}V(j}*5M!qK-FR8A(##u1=-~kc^?i^vh25koDpeJR^&uX+5)_rpGwRGDY_Dqyq{1tj zZq@7}kO)9NNJbhwhmekSptDoqv%9S;kS&IvTjVc@jM^a}wBfWFAuiLN$=hb*SO3|mNgfmbbbbGE|?JmI)l4;GMfEonKa znV8TH%pV66EK#OG^QFknRp^fLmcqal)RH`YvKGjCvy9-HI#X?q9DhCoUu5E^HAylt z5n4iez*(p*+I)TLwX&N)Vg;lFWTb_t+*wE_Hpja_H&rV!ZxSkYq5hiOu%o67cv=GQ zU>R>3Qo9OiVh4k?<7_4Z!7pIe2pQ1>lg!HnzU`r&F026Dz5rg}p^o@)QdK(})Z(41@joyTsH5WRg zlG=ioI3LH~nLOzONX2ENd@_99tS9C1vz;2%3$A4zAadANIh_@P=RG#n;yt%$b4D(7 zk^`QRo1xrJ1o*=R5X#&EPq^B@yqh%^jK4irE@DSsLmeiAk=hXw@ z>y8)^@ZN%lIN~**Z!LHMg8V?JJby+WBlPO}@ZM^fx3m`R_6Awoj_YwWJNwrMu+=Gj z7j`J)6pUR#eMyItnBdB3J%KX{ZXn^J8UXJ7Z+aZ;PR}ro=ubVtLrn1GcRhg;bvet_ zK$BZjpBtW4nWiA!A4W{@(2B08uN#6u)p;Xa4<9-Q43Dl9ias(Iue@kP56`gZ0qA!h zkQH==;1U}N4an?U*a*PBR|z=#D&t&jFxzvZeQrSy=HUDOvYs-p8TFLi1O}k=8e@r; zG?qM;*BFFfzHUlo)r6*rLYL0jwLt6=_$A9khu@SlH6hxb1WxwRUviv)nl_a-0x?a2 zpyl6~AQCOT&+sVkZw8K?n$jT{Zc~1<5_(F29_0(jjN3*`rMKbfU^idMj(A^?`tgnt zLHu1tjlTI)sfM>_rjzMQF=2}FlQc~816hsk>t)$i+lXH7Z8t3sbUXt;xx?=wJAYvW zam6%$kn{E-k<+ULR(Y%r!C5u~+?q!Om)cCKO|mg~&l3Xv+)Qv4)Bl73-Hg-FRR#Ry zh1EXf-&`0h64e=#(BmBtv;e=!*XXBcUvpuII7^#FlwJq}0(@IH5{RY0qO8u(@tWTW zrM`spzOscB-}_pCLbfmUIIn8HXsmYsYchxngG?e9S%s2X3X_Sw4_bm8#Tz0gtd-zH zz++kgxY0+wcr$dXm9*t5$GDH52u^%Pho8uygaBH_$A7Wzy9_!`sFwN{e33Ib7_C=T z0U#B9GbVtyeCX%aRO*c;{-4i))IUJ#V97o3Z&6mwN;#9a=uyLaKhu@2-wz{tcmYWA zq~YzKX;FJtfy#rRtQ4)ZYb&{-Nn23(Ioyn6Tr|fz8kL-1YCgvwy##@-@-W;CH?f%B zGf;}Gus{$qN+95Efi$uje%=s#6s&s*KlvKd9z6<_Dwl3Sz&i=PcnA`DqZ2_w4Kd)> zrpD*sXZsG&yPS7CdKV<|4hja|5F5-Jg?bHj&{MeSL6QO2nq4*GKZj229T(BL% z!3#tS^Z+0vU@9?gzP%pjV94EfpIz_$73_!xo#f{M#SWCd9W4=ujtstmpYh@kBIJ(i z;6zAMLM6v74TT;poe4PAnXP`9Fl)`jb+4df{DeV1JykA*ZE_ebDo-!&WBCzC@fD9e zxea$Eq?cV;TV$c3X{(#Jb3V4`3H;=1$Tc@YpQ(|Sk98VQba`z(ScxiYv(>L}^p7t= zq;eUOvp%>KM@n)n(zSetT&Q{n~>v9$thXr@b`n1sEJw z50!Uhlr?x9}n0Tpw12!a7MTv7G?t)tKNGG-j=!{>?HBlB(oU#tgmjG3Jp#0= z<43@Io5R!3!w~{WJH=+_LVp64JYe$4y*18XPj8N*y9lntaihC{tZvQqILB&LM5V6v zJTnkE41V%h+t5PKW`+hu(ml8JpB0S<0_}JB$pgu)l@a};NNFwk9tkRx1rS_9SD}vR zyHnrd+3nzr-{B{pi@n+s(q}+QjIfFV3F8A1(+g^c+ktEiRMv~ml-hF}ygCFTZop3- zrs`lq|20Zl;9a9Zj3$JDv!VrZHvhU{eq9H!Wd;1?io}Ex(yC~wcK7TC5{knJI84K; ztHlj|v-{sAf+ITBO)3$Z#(;v@pI9|RpvyRZKVTLA0z;xC#mHTn` z9|J@4YA3V>T?o^m?o!ZR>keuwq6oNk55Zj=W!dv$Nk{m%D63C2ChdwJ8q-jH&;umA z?uNlJs7p`joOMu70N3qBz>9iO{lulHwsz_vUvR*6&`&=2o;kgwm1s;a;6K}sC;(%WQ$y%n8aYne+Zk$33<~ z$E|4j!u;7r*$y_1PaWX4MMfGt1CzEwi)Q@C6879LfC&NTO|XD!LdN#@Ji@l6pESV7 z`hkvP7GZD;r0OrNlTG>qIC(YNFi;3aCs)H`?vy!#Im+%YC_PNiDUFS&(%7Lo1BCYa z8HBqxWr#G=sY;WA8K}oH2Ea+u-xv^$;Ays1^-VkjueR9(aHug*2uBHV^hj&Kr&ssW zA*APnv*fegW`my861|R-qSA68h^c}@5Guw3)#C-V7=EYQxG(<>8b-jyQiPGFMOjfO zf1uEp92r+&0eiO+0jh1RbtCyhl+vM{U2xt_grEF|veq^|lNHL`#tPMP_u|OYi&j8{ z*m*;3A=BW#f!7kn#Y>YZB_5QyzZc8Zpi6pi2?n1%K)~?moSd$X+IlMv*OaEq5nK(oZFTnDIySxY}Y4SX>qnJ^})4l)FOFPNro1N%Uwih}m@#X7!Rp zDFfyuf|$A&2rl&kYpEYx%q^b7i^uah&j?BA^Zy9#nV0?qbrgyd@ba~btk-e_TP<`4 z-o1-j8Xm-(PBvYcz8fn9Pvn)=hQaV!-jsLpJ3TLt;QhQMda*%JiP2+tLl5WIG6i+0 zWUxT4uMN-XP3QGj6#J9VO;p|DL_McDAYmW;idDh=eIp+FGtq9+jk^ZsCa z(-$5NDuqJT&{X{dR5DbEA}P{;7|8n52Qg!X0OZ+-vq9OzBzy8PZZ6aZV}%g(6~Llf z*hHVIr!du(a3Cyqa0w+HJY29BN%MO9s{?@aIz)SnY%JAfTW^>z4?)e2G8YVtA@qw! z(yhUbv&w;~uxk7anWw#s^l5LAG-niD!3>`_m{R`Qp9qDI9n8^W>Fzq<;DQKG7>5e@ zb(Tp^iX-%g;vkaoT{nq}AEUql&ju14d=BBFPZiP_p{&tB;u%j!?vAE5*e+<8hbvh8 zpDK{wlJ8F>q|sxfC2q_ZkWlL<0*3D=sviu6*Gv0)9HhBJsL4H2FK4XKL!9pq_#u7p zSD;;hM!s6KM`>eWwGdwtT^b90hW_Ov zbqEu|a7ppq-7atfzWneO9>+nqNFLXxE(ymsrAzyQ-~FU z_&6f&2qp7?5CtBCQB2k1V673&JzjnVNMOyC7p`dHm|V8 zJQ&D^;Jgkpr5;}(^abhCLEgo55Oe7Y0oR=(c!=Skw%cr30TK>ao5t7`lsHAo21lj< zuiq`qt3eBIaW2*7ig&AaGe1FANU=4|n5*uPF5leYs^6d8yms1RH`HXlUZzi`-#@@? zfyjCqjFG{UUtf?_96l#2YQ|UAOgwRiNlqP*gst3XJJv zGNi(LYzElA=Z#*LIXaU;gOPjpW`8;?KFyp><972WBYNNIw2<91zrSM+^xYEr4m8rW zC~Nw6LVxKy_a9Z}zUi>Z7=!#Xg|^k!{+_9S{n`nx=vqS}Z7-8~3Nw(LZ}>pUv@jfj zHe?DhqG$3dE6+TGOU#h-tVw+w?v0vd!n2f!ENK&#m<3LmH4B4V%N`|S4e)3gX`+A_ z*Z);%Cal0*&5^?l!H#6&Ml(Rz9~2B9U%83u3_p8**)o`L__bY_o*!@76LN@zT{%j% z_$*qC&jOYpULm>aitIuwz&P=I%OPdLORjwfdPRykBL7#(DQZ~TAl))@84kCD+ znMX*i)+-IK9k4d0M#`V!pMV=_Y$SZEWscU(l2YgHS*TlaK*<+kr<2ShRR%VD^a(_Y9?WR<>BavbPwoKAm}ukZKvXd5vZhSL^?zpbpF1?LFU@_A4UNSVQvxrpo*2tn1Hb|&3J ze4qU{$dWs4AK`%ScLZlKg8Ua$)Gvju@PBhkp5l9=4fBOqk!UkB+F=@Gtl6-Ol$VBi zNWDNH|BWv+asjsPwx|-ib=xR*BtIIysxw{48h#*b@Qq#dyVl}cQ|$4z!3`Kw`AWaP zg0LN4DAXnMs$?N3Vetcl15v;tX+RDS+wj?*Y5hLihz-GqeCFb35u#H+*Lm@430Q@bqui-*II~1@>Xap* zcpn>m=PLXPQUyyNU21WfWLK*RUi{uKWT`asqL%`$%orDD$6KLYdV-^vU_%WfW_31Q zG7O&unr4>m_D1yZp&;4CO&GGoZxkps7k=_XumKK6^t&B+3w^yHg#}`kfgW`o^>k*a z&ob#9+-Qv3Pu3D`Gn@65tFz7O0XpDr!j2z{m-Z-M-lOAZNL4zd<`=w?DN8iAJTmcdCBdWFGdUiAPE&M-XTJ}vP$dLYuvOc#byzqIY9SY8o z{1cS}#`ft%aPV!Vy4p0E);ZU8HjGz4C<5inwtp01b3^n5*zg&qX~p7*Vv$s$?L^R} zPfyGn^q|Cb8JLWK4g=@wg~1um zdb-eNRa$w?fp8iC;Uuqvo8;sRUC8Pcoe%t$*~o4)*taI12Ex^0yJqKtPyT|Rd~`kF z1tlgOy^Oc7Hr@K~*phjcnj0*0smpRbn>k9~Af>V;8=&{V6$E#01Kr{OI_%nee-IM} zVQ5_N6=gl5q`oU*UF!xP?h+&7H-ebqIYbP6&r6=ZUhb;%$^$WL!1;19W7iQ<$4yeS z_-+CTgVz)A-u1kBHQQ#}C5EdZja+O1uWw|wrR0lj|Mgh9%It>^K9-Jv;#?zRx{B1B zg;;Ug^Yi Date: Thu, 9 Jul 2026 19:05:08 +0900 Subject: [PATCH 04/18] =?UTF-8?q?feat(ecommerce):=20=ED=98=84=EA=B8=88?= =?UTF-8?q?=EC=98=81=EC=88=98=EC=A6=9D=20=EB=B0=9C=EA=B8=89=20=ED=9A=8C?= =?UTF-8?q?=EC=B0=A8=EB=A5=BC=20=ED=9B=85=20=ED=8E=98=EC=9D=B4=EB=A1=9C?= =?UTF-8?q?=EB=93=9C=EB=A1=9C=20=EC=A0=9C=EA=B3=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 토스페이먼츠는 동일 orderId 로 재발급을 요청하면 중복으로 거부한다. 계획서 §B-8 은 "{order_number}-cr{seq}" 형태의 회차 접미를 요구하는데, 기존 발급 훅 페이로드에는 order_number 원본만 있어 리스너가 회차를 알 수 없었다. 회차는 코어가 센다. 프로바이더 리스너가 이력 테이블 구조를 알 필요가 없고, 향후 팝빌·바로빌 등 다른 발급사도 같은 숫자를 그대로 쓸 수 있다. 프로바이더 종속 문자열 조립은 리스너 내부에만 둔다. 실패한 발급도 회차를 소모한다 — 프로바이더에 요청이 도달한 뒤 응답만 실패한 경우 같은 식별자를 재사용하면 중복 거부되기 때문이다. 취소 이력은 소모하지 않는다. --- .../OrderCashReceiptRepositoryInterface.php | 14 +++++ .../OrderCashReceiptRepository.php | 11 ++++ .../src/Services/CashReceiptService.php | 4 ++ .../Unit/Services/CashReceiptServiceTest.php | 61 +++++++++++++++++++ .../cash-receipt-infrastructure.yaml | 4 ++ 5 files changed, 94 insertions(+) diff --git a/modules/_bundled/sirsoft-ecommerce/src/Repositories/Contracts/OrderCashReceiptRepositoryInterface.php b/modules/_bundled/sirsoft-ecommerce/src/Repositories/Contracts/OrderCashReceiptRepositoryInterface.php index 4c480c76..cb31644a 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Repositories/Contracts/OrderCashReceiptRepositoryInterface.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Repositories/Contracts/OrderCashReceiptRepositoryInterface.php @@ -53,4 +53,18 @@ interface OrderCashReceiptRepositoryInterface * @return OrderCashReceipt|null 이력 (없으면 null) */ public function findByReceiptKey(string $receiptKey): ?OrderCashReceipt; + + /** + * 주문의 발급(issue) 시도 횟수를 반환합니다. (성공/실패 무관) + * + * 프로바이더가 발급 요청 식별자를 회차로 구분해야 할 때 쓰인다. + * 예: 토스페이먼츠는 동일 orderId 재사용을 중복으로 거부하므로 회차 접미가 필요하다. + * + * 실패한 시도까지 세는 이유 — 프로바이더에 요청이 도달한 뒤 응답만 실패했을 수 있고, + * 그 경우 같은 식별자를 재사용하면 중복 거부된다. + * + * @param Order $order 주문 모델 + * @return int 발급 이력 건수 + */ + public function countIssues(Order $order): int; } diff --git a/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderCashReceiptRepository.php b/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderCashReceiptRepository.php index c1d6d99b..9037b733 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderCashReceiptRepository.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderCashReceiptRepository.php @@ -94,4 +94,15 @@ class OrderCashReceiptRepository implements OrderCashReceiptRepositoryInterface ->orderByDesc('id') ->first(); } + + /** + * {@inheritDoc} + */ + public function countIssues(Order $order): int + { + return $this->model->newQuery() + ->where('order_id', $order->id) + ->where('transaction_type', CashReceiptTransactionType::ISSUE->value) + ->count(); + } } diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php index f46cf88b..b08ae825 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php @@ -106,6 +106,10 @@ class CashReceiptService 'tax_free_amount' => $target['tax_free_amount'], 'order_name' => $this->buildOrderName($order), 'order_number' => $order->order_number, + // 이번 발급의 회차 (1부터). 프로바이더가 발급 요청 식별자를 회차로 구분할 때 사용한다. + // 토스는 동일 orderId 재사용을 중복 거부하므로 "{order_number}-cr{seq}" 로 접미한다. + // 프로바이더 종속 문자열 조립은 리스너가 하고, 코어는 숫자만 제공한다. + 'issue_sequence' => $this->repository->countIssues($order) + 1, ]; $result = HookManager::applyFilters( diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php index 81cfc8e2..f1d23f2c 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php @@ -591,6 +591,67 @@ class CashReceiptServiceTest extends ModuleTestCase ); } + #[Test] + public function 최초_발급의_회차는_1이다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + + $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + $this->assertSame(1, $this->issueCalls[0]['payload']['issue_sequence']); + } + + #[Test] + public function 재발급의_회차는_증가한다(): void + { + // 토스는 동일 orderId 재사용을 중복 거부하므로 재발급마다 회차가 달라야 한다. + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + $order->update(['total_cash_equivalent_amount' => 5500, 'total_tax_amount' => 5500]); + $this->service()->syncFromOrder($order->fresh(), '부분환불'); + + $this->assertSame(1, $this->issueCalls[0]['payload']['issue_sequence']); + $this->assertSame(2, $this->issueCalls[1]['payload']['issue_sequence'], '재발급은 2회차'); + } + + #[Test] + public function 발급이_실패해도_다음_회차는_증가한다(): void + { + // 프로바이더에 요청이 도달한 뒤 응답만 실패했을 수 있다. + // 같은 식별자를 재사용하면 중복 거부되므로 실패한 시도도 회차를 소모해야 한다. + $this->registerProvider(); + $this->issueShouldFail = true; + $order = $this->makeOrder(11000, 11000, 0); + + $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + $this->assertSame(1, $this->issueCalls[0]['payload']['issue_sequence']); + + $this->issueShouldFail = false; + $this->service()->issue($order->fresh(), CashReceiptType::INCOME, self::IDENTIFIER); + + $this->assertSame(2, $this->issueCalls[1]['payload']['issue_sequence'], '실패한 1회차를 건너뛴다'); + } + + #[Test] + public function 취소_이력은_발급_회차를_소모하지_않는다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(11000, 11000, 0); + $this->service()->issue($order, CashReceiptType::INCOME, self::IDENTIFIER); + + $this->service()->cancelAll($order->fresh(), '전액취소'); + + // 취소 1건이 남았지만 발급 회차는 issue 이력만 센다 + $repository = app(OrderCashReceiptRepositoryInterface::class); + $this->assertSame(1, $repository->countIssues($order->fresh())); + + $this->service()->issue($order->fresh(), CashReceiptType::INCOME, self::IDENTIFIER); + $this->assertSame(2, $this->issueCalls[1]['payload']['issue_sequence']); + } + #[Test] public function 주문_삭제_시_현금영수증_이력도_명시적으로_삭제된다(): void { diff --git a/modules/_bundled/sirsoft-ecommerce/tests/scenarios/cash-receipt-infrastructure.yaml b/modules/_bundled/sirsoft-ecommerce/tests/scenarios/cash-receipt-infrastructure.yaml index 79c0570c..504f13ab 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/scenarios/cash-receipt-infrastructure.yaml +++ b/modules/_bundled/sirsoft-ecommerce/tests/scenarios/cash-receipt-infrastructure.yaml @@ -80,6 +80,10 @@ effects: - issue_delegates_to_provider_filter # 발급을 cash_receipt.issue 필터로 위임 - cancel_delegates_without_amount # 취소 필터에 금액을 넘기지 않음(항상 전액취소) - issue_records_ledger_and_payment_summary # 이력 + 결제 요약 컬럼 동시 갱신 + - issue_sequence_starts_at_one # 최초 발급 회차 = 1 + - issue_sequence_increments_on_reissue # 재발급마다 회차 증가 (토스 orderId 중복 거부 회피) + - failed_issue_consumes_sequence # 실패한 발급도 회차를 소모 (프로바이더 도달 후 실패 대비) + - cancel_does_not_consume_issue_sequence # 취소 이력은 발급 회차를 소모하지 않음 # syncFromOrder — 무상태 재계산 - sync_reissues_on_amount_change # 감소·증가 모두 전체취소 후 전액 재발급 From eb724ed348f86a95f62b76d471e7be5e2f827d03 Mon Sep 17 00:00:00 2001 From: HeuJung Date: Thu, 9 Jul 2026 19:05:25 +0900 Subject: [PATCH 05/18] =?UTF-8?q?test(ecommerce):=20=ED=86=B5=ED=99=94=20?= =?UTF-8?q?=EC=8A=A4=EB=83=85=EC=83=B7=20=EB=B6=80=EC=9E=AC=20=ED=85=8C?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=EA=B0=80=20=ED=8C=A9=ED=86=A0=EB=A6=AC=20?= =?UTF-8?q?=EA=B8=B0=EB=B3=B8=EA=B0=92=EC=97=90=20=EC=9D=98=EC=A1=B4?= =?UTF-8?q?=ED=95=98=EB=8D=98=20=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit test_mc_fields_null_without_currency_snapshot 은 "OrderFactory 가 currency_snapshot 을 비워 둔다"는 전제로 작성됐으나, 이후 팩토리에 기본 스냅샷이 추가되면서 전제가 무너져 클린 트리에서도 실패하고 있었다. 비즈니스 로직 회귀가 아니라 stale test 다. 팩토리 기본값에 의존하지 않고 currency_snapshot 을 명시적으로 null 로 주입해 레거시 주문(다통화 도입 이전 행)의 취소 경로를 재현한다. 전제가 다시 조용히 무너지지 않도록 assert 로 고정했다. 전액취소 경로의 스냅샷 가드를 무력화하면 이 테스트가 실패하는 것을 확인했다. --- .../tests/Unit/Services/OrderAdjustmentServiceTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/OrderAdjustmentServiceTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/OrderAdjustmentServiceTest.php index 6dac1941..a68cf0fc 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/OrderAdjustmentServiceTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/OrderAdjustmentServiceTest.php @@ -4775,6 +4775,9 @@ class OrderAdjustmentServiceTest extends ModuleTestCase /** * 다중통화 스냅샷이 없는 주문의 환불 시 mc_* 필드는 모두 null입니다. + * + * 레거시 주문(다통화 도입 이전에 생성되어 currency_snapshot 이 비어 있는 행)의 취소 경로를 + * 검증한다. OrderFactory 는 기본 스냅샷을 채우므로 여기서는 명시적으로 null 을 주입한다. */ public function test_mc_fields_null_without_currency_snapshot(): void { @@ -4790,6 +4793,8 @@ class OrderAdjustmentServiceTest extends ModuleTestCase // 통화 설정이 비어 있을 때만 우연히 falsy 가 되므로, 앞선 테스트가 통화 설정을 남기면 // 이 테스트가 간헐 실패한다. "스냅샷 없는 주문" 이라는 전제를 명시적으로 못박는다. $order = $this->createOrderFromCalculation($input, ['currency_snapshot' => null]); + $this->assertNull($order->currency_snapshot, '테스트 전제: 주문에 통화 스냅샷이 없다'); + $optA = $order->options->first(); $cancellation = $this->buildCancellation([ ['order_option_id' => $optA->id, 'cancel_quantity' => 1], From 58560eefb1a1f83f9bc88ac8817b6295a246f93a Mon Sep 17 00:00:00 2001 From: HeuJung Date: Fri, 10 Jul 2026 11:16:30 +0900 Subject: [PATCH 06/18] =?UTF-8?q?feat(ecommerce):=20=ED=98=84=EA=B8=88?= =?UTF-8?q?=EC=98=81=EC=88=98=EC=A6=9D=20=EB=B0=9C=EA=B8=89=20API=20+=20?= =?UTF-8?q?=EC=9E=85=EA=B8=88=EC=99=84=EB=A3=8C=20=EC=9E=90=EB=8F=99?= =?UTF-8?q?=EB=B0=9C=EA=B8=89=20+=20=EA=B8=88=EC=95=A1=EB=B3=80=EB=8F=99?= =?UTF-8?q?=20=EC=97=B0=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 무통장입금 주문의 현금영수증 발급을 관리자·회원·비회원 세 경로에서 제공하고, 입금이 확인되면 자동 발급하며, 부분환불로 금액이 바뀌면 전액취소 후 재발급한다. 발급 프로바이더에 종속되지 않도록 발급/취소는 필터 훅으로 위임한다. 자동발급 리스너는 결제완료 전이(after_payment_complete)와 입금만 기록 (after_deposit_recorded) 두 경로를 모두 구독한다 — 후자가 없으면 관리자가 "입금만 기록"했을 때 자동발급이 통째로 누락된다. 금액 동기화(syncFromOrder)는 트랜잭션이 닫힌 뒤에 부른다. 재발급 실패 이력은 국세청 신고 누락을 막는 원장이라 롤백에 휩쓸리면 안 되고, 프로바이더 왕복 2회 동안 DB 잠금을 붙들 수 없기 때문이다. 환불은 이미 확정됐으므로 어떤 실패도 호출부로 전파하지 않고 FAILED 이력 + 로그로 남겨 관리자 수동 복구에 맡긴다. 식별번호는 재발급용으로만 암호화 보관하고 구매확정 시점에 폐기한다. 그 시점을 잡기 위해 order.after_purchase_confirmed 훅을 신설했다. 함께 고친 사전 결함: - 취소 시 total_cash_equivalent_amount 가 재계산되지 않아 syncFromOrder 가 "금액 변동 없음"으로 판정, 부분환불 후 재발급이 아예 동작하지 않았다. 산정 규칙을 PaymentMethodEnum::resolveCashEquivalentAmount 로 SSoT 화해 주문 생성 시점과 취소 재계산 시점이 같은 규칙을 쓰게 했다. - 현금영수증 발급이 payment.receipt_url 을 덮어써 카드 매출전표 URL 이 유실됐다. 한 컬럼이 두 의미를 갖던 문제로, 현금영수증 URL 은 이력 테이블이 보관하도록 분리했다. - OrderService::confirmOption 이 confirmed_at 을 무조건 now 로 덮어썼다 (v0.16.1 부터 존재). 재확정 시 최초 확정 시점이 소실되고 구매확정 훅이 중복 발화한다. OrderOptionService 와 대칭으로 멱등 가드를 넣었다. - 코어 api:docgen 이 사람이 작성한 API 문서를 재생성 때마다 지웠다. @generated 블록 안의 표 셀·응답 본문이 대상이었고, extractGeneratedBlock 이 앞의 `## ` 헤딩까지 거슬러 올라가 여러 엔드포인트를 한 덩어리로 반환하던 문제도 함께 고쳤다. 실측 산출 응답 예시에 @probed 출처 마커를 붙여, 마커가 없는 본문은 사람 작성분으로 보고 보존한다 — 실측 1회의 표본은 사람이 코드에서 읽어낸 사실보다 좁으므로 실측은 기본값이지 덮어쓰기 권한이 아니다. ParameterDescriber 가 {order} 같은 path 파라미터를 "정렬 방향 asc/desc" 로 설명하던 오염도 정정했다. --- app/Support/ApiDoc/ApiDocScaffolder.php | 181 ++++++- app/Support/ApiDoc/ParameterDescriber.php | 13 +- docs/backend/api-documentation.md | 21 +- docs/backend/api/README.md | 4 +- .../CHANGELOG.md | 1 + .../backend/ja/cash_receipt.php | 28 + .../_bundled/sirsoft-ecommerce/CHANGELOG.md | 21 +- .../sirsoft-ecommerce/docs/api/README.md | 6 +- .../sirsoft-ecommerce/docs/api/guest.md | 178 ++++++ .../sirsoft-ecommerce/docs/api/orders.md | 460 ++++++++++++++++ modules/_bundled/sirsoft-ecommerce/module.php | 4 + .../src/Enums/PaymentMethodEnum.php | 35 +- .../Admin/CashReceiptController.php | 133 +++++ .../Public/CashReceiptController.php | 88 +++ .../User/CashReceiptController.php | 124 +++++ .../Admin/IssueCashReceiptRequest.php | 17 + .../Concerns/ValidatesCashReceiptIssue.php | 133 +++++ .../Public/IssueCashReceiptRequest.php | 36 ++ .../Public/ShowCashReceiptRequest.php | 51 ++ .../Http/Resources/CashReceiptResource.php | 48 ++ .../Http/Resources/OrderPaymentResource.php | 15 +- .../src/Http/Resources/OrderResource.php | 14 + .../IssueCashReceiptOnDepositListener.php | 159 ++++++ .../PurgeCashReceiptIdentifierListener.php | 75 +++ .../src/Models/OrderCashReceipt.php | 41 ++ .../OrderCashReceiptRepository.php | 25 +- .../Repositories/OrderPaymentRepository.php | 14 +- .../src/Rules/CashReceiptIdentifier.php | 88 +++ .../src/Services/CashReceiptService.php | 146 +++++ .../src/Services/OrderAdjustmentService.php | 32 +- .../src/Services/OrderCancellationService.php | 47 +- .../src/Services/OrderOptionService.php | 10 +- .../src/Services/OrderProcessingService.php | 16 +- .../src/Services/OrderService.php | 24 +- .../src/lang/en/cash_receipt.php | 40 ++ .../src/lang/ko/cash_receipt.php | 40 ++ .../sirsoft-ecommerce/src/routes/api.php | 41 ++ .../Controllers/CashReceiptControllerTest.php | 511 ++++++++++++++++++ .../Enums/PaymentMethodCashEquivalentTest.php | 57 ++ .../IssueCashReceiptOnDepositListenerTest.php | 422 +++++++++++++++ ...PurgeCashReceiptIdentifierListenerTest.php | 160 ++++++ .../Resources/CashReceiptResourceTest.php | 230 ++++++++ .../Unit/Rules/CashReceiptIdentifierTest.php | 203 +++++++ .../CashReceiptCancellationSyncTest.php | 430 +++++++++++++++ .../Services/CashReceiptHookFiringTest.php | 210 +++++++ .../Unit/Services/CashReceiptServiceTest.php | 5 +- .../cash-receipt-api-and-auto-issue.yaml | 165 ++++++ .../Support/ApiDoc/ApiDocPipelineTest.php | 329 +++++++++++ .../Support/ApiDoc/ParameterDescriberTest.php | 26 + 49 files changed, 5071 insertions(+), 86 deletions(-) create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Admin/CashReceiptController.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Public/CashReceiptController.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/User/CashReceiptController.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Admin/IssueCashReceiptRequest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Concerns/ValidatesCashReceiptIssue.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Public/IssueCashReceiptRequest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Public/ShowCashReceiptRequest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Http/Resources/CashReceiptResource.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Listeners/IssueCashReceiptOnDepositListener.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Listeners/PurgeCashReceiptIdentifierListener.php create mode 100644 modules/_bundled/sirsoft-ecommerce/src/Rules/CashReceiptIdentifier.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/CashReceiptControllerTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Unit/Enums/PaymentMethodCashEquivalentTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/IssueCashReceiptOnDepositListenerTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/PurgeCashReceiptIdentifierListenerTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Unit/Resources/CashReceiptResourceTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Unit/Rules/CashReceiptIdentifierTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptCancellationSyncTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptHookFiringTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/scenarios/cash-receipt-api-and-auto-issue.yaml diff --git a/app/Support/ApiDoc/ApiDocScaffolder.php b/app/Support/ApiDoc/ApiDocScaffolder.php index bfbfa24f..09131618 100644 --- a/app/Support/ApiDoc/ApiDocScaffolder.php +++ b/app/Support/ApiDoc/ApiDocScaffolder.php @@ -22,6 +22,14 @@ class ApiDocScaffolder */ private const GEN_END = ''; + /** + * @var string 응답 본문이 실측 산출물임을 표시하는 출처 마커 + * + * 이 마커가 없는 응답 본문은 사람이 작성한 것으로 간주해 재생성 시 보존한다. + * 실측 표본 1회는 사람이 아는 사실(성공·엣지 케이스)보다 좁으므로 덮어쓸 권한이 없다. + */ + private const PROBED_BODY_MARKER = ''; + /** * @var int 응답 예시의 목록(`data.data[]`) 최대 표시 항목 수 * @@ -129,16 +137,17 @@ class ApiDocScaffolder */ private const GEN_KEY_EXTENSIONS = 'api-readme-extensions'; + /** + * 확장 목차 섹션 헤딩. extensionIndexBlock() 이 이 헤딩까지 소유하므로, + * 사람 서술 추출 시 여기부터는 잘라낸다 (SSoT — 두 곳에 문자열을 두지 않는다). + */ + private const EXTENSION_INDEX_HEADING = '## 확장 API 레퍼런스'; + /** * @var string 코어/확장 README 의 도메인 목차 생성 블록 키 */ private const GEN_KEY_INDEX = 'api-readme-index'; - /** - * @var string 코어 README 의 확장 API 목차 섹션 헤딩 (사람 서술 보존 경계) - */ - private const EXTENSIONS_HEADING = '확장 API 레퍼런스'; - /** * 대상(코어/확장)의 API 문서 디렉토리 목차(README.md)를 생성합니다. * @@ -258,7 +267,7 @@ class ApiDocScaffolder }); $lines = []; - $lines[] = '## '.self::EXTENSIONS_HEADING; + $lines[] = self::EXTENSION_INDEX_HEADING; $lines[] = ''; $lines[] = '> 각 확장이 자신의 API 문서를 소유합니다. 아래 표는 자동 생성됩니다.'; $lines[] = ''; @@ -805,7 +814,7 @@ class ApiDocScaffolder $capped = $this->capExampleSize($masked); $json = json_encode($capped, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); - return "```http\nHTTP/1.1 {$status}\n```\n\n```json\n".(string) $json."\n```"; + return self::PROBED_BODY_MARKER."\n\n```http\nHTTP/1.1 {$status}\n```\n\n```json\n".(string) $json."\n```"; } /** @@ -1057,7 +1066,13 @@ class ApiDocScaffolder // 순서 주의: 표 자체를 되살린 뒤에 셀 설명을 맞춘다. $withFields = $this->restoreEmptyProbeTable($withProse, $existing, $key, $legacy); $withTables = $this->restoreTableDescriptions($withFields, $existing, $key, $legacy); - $merged .= $this->restoreErrorSection($withTables, $existing, $key, $legacy)."\n"; + // 실측 불가 마커 자리·응답 예시를 사람이 채운 경우 되살린다 + // (@probed 출처 마커 부재 = 사람 작성분, 위치 기반이므로 블록 본문으로만 대조). + $withBodies = $this->applyPreservedResponseBodies( + $withTables, + $this->extractGeneratedBlockBody($existing, $key) ?? $legacy + ); + $merged .= $this->restoreErrorSection($withBodies, $existing, $key, $legacy)."\n"; } return $merged; @@ -1434,6 +1449,144 @@ class ApiDocScaffolder return $name; } + /** + * 새 섹션의 `실측 제외` 응답 본문을, 기존 섹션에서 사람이 채운 본문으로 되살립니다. + * + * 실측이 불가한 엔드포인트(쓰기 메서드·바이너리·미치환 path)는 `**응답 필드**` / `**응답 예시**` + * 자리에 `` 마커만 생성된다. 사람이 코드를 근거로 그 자리를 채워도 + * 다음 재생성이 블록을 통째로 재조립하면서 마커로 되돌려, 작성분이 통째로 사라졌다. + * + * 보존 규칙은 표 셀(`restoreTableDescriptions`)과 같다 — **사람이 쓴 본문은 언제나 이긴다.** + * 실측 결과는 기본값이지 덮어쓰기 권한이 아니다. 실측 1회가 관측한 표본은 사람이 코드에서 + * 읽어낸 사실(성공 케이스·엣지 케이스)보다 좁기 때문이다. 실제로 `reissue` 의 실측 표본은 + * `data: null`(전액 환불) 하나뿐이라, 실측 우선 규칙은 사람이 쓴 성공 예시를 지웠다. + * + * 두 하위 섹션의 판정 기준이 다르다: + * - **응답 예시**: 실측 산출물에 `@probed` 출처 마커가 붙는다. 마커가 없으면 사람 작성분. + * - **응답 필드**: 표 자체는 행 키로 대조하는 `restoreTableDescriptions` 가 이미 지킨다. + * 따라서 여기서는 실측 실패로 마커만 남은 자리를 사람이 채운 경우만 되살린다. + * + * @param string $section 새로 생성된 섹션 + * @param string|null $previous 기존 문서의 같은 엔드포인트 생성 블록 (없으면 null) + * @return string 사람이 작성한 응답 본문이 되살아난 섹션 + */ + private function applyPreservedResponseBodies(string $section, ?string $previous): string + { + if ($previous === null) { + return $section; + } + + // [본문 시작 헤딩, 본문 끝 헤딩 후보, 실측 산출물 판정자] + $subsections = [ + [ + '**응답 필드** (`data` 내부)', + ['**응답 예시**', '**에러 응답**'], + // 실측 성공 시 표가 생기고 그 표는 restoreTableDescriptions 가 지킨다. + // 여기서 되살릴 대상은 "실측 실패 마커 자리를 사람이 채운" 경우뿐이다. + fn (string $body): bool => $this->isProbeSkipMarker($body), + ], + [ + '**응답 예시**', + ['**에러 응답**'], + fn (string $body): bool => $this->isProbeSkipMarker($body) || str_contains($body, self::PROBED_BODY_MARKER), + ], + ]; + + foreach ($subsections as [$label, $terminators, $isAutoGenerated]) { + $previousBody = $this->extractSubsectionBody($previous, $label, $terminators); + + // 기존 본문이 없거나 자동 생성 결과면 되살릴 것이 없다. + if ($previousBody === null || $isAutoGenerated($previousBody)) { + continue; + } + + $bounds = $this->locateSubsectionBody($section, $label, $terminators); + + if ($bounds === null) { + continue; + } + + [$start, $end] = $bounds; + $newBody = substr($section, $start, $end - $start); + + // 새 본문이 사람 작성분이면(= 이 run 이 만든 것이 아니면) 손대지 않는다. + // 실무상 새 섹션은 항상 자동 생성이지만, 방어적으로 확인한다. + if (! $isAutoGenerated($newBody)) { + continue; + } + + $section = substr($section, 0, $start).$previousBody.substr($section, $end); + } + + return $section; + } + + /** + * 응답 본문이 실측 실패로 남은 사람 보강 요청 마커인지 확인합니다. + * + * @param string $body 응답 본문 + * @return bool 실측 제외/빈 결과 마커면 true + */ + private function isProbeSkipMarker(string $body): bool + { + return str_contains($body, '실측 제외') || str_contains($body, '실측 응답에 필드 없음'); + } + + /** + * 블록에서 `$label` 헤딩 ~ 다음 종료 헤딩 사이의 본문 [시작, 끝] 오프셋을 찾습니다. + * + * @param string $block 생성 블록 문자열 + * @param string $label 본문 시작 헤딩 + * @param array $terminators 본문 끝 헤딩 후보 + * @return array{0: int, 1: int}|null [시작 오프셋, 끝 오프셋] (미발견 시 null) + */ + private function locateSubsectionBody(string $block, string $label, array $terminators): ?array + { + $labelPos = strpos($block, $label); + + if ($labelPos === false) { + return null; + } + + $bodyStart = $labelPos + strlen($label); + + $candidates = []; + foreach ($terminators as $terminator) { + $pos = strpos($block, $terminator, $bodyStart); + if ($pos !== false) { + $candidates[] = $pos; + } + } + + if ($candidates === []) { + return null; + } + + return [$bodyStart, min($candidates)]; + } + + /** + * 블록에서 `$label` 헤딩 ~ 다음 종료 헤딩 사이의 본문 문자열을 추출합니다. + * + * @param string $block 생성 블록 문자열 + * @param string $label 본문 시작 헤딩 + * @param array $terminators 본문 끝 헤딩 후보 + * @return string|null 본문 (미발견 시 null) + */ + private function extractSubsectionBody(string $block, string $label, array $terminators): ?string + { + $bounds = $this->locateSubsectionBody($block, $label, $terminators); + + if ($bounds === null) { + return null; + } + + [$start, $end] = $bounds; + + return substr($block, $start, $end - $start); + } + + /** * README 헤더(인용 블록)와 첫 생성 블록 사이의 사람 개요를 추출합니다. * @@ -1485,13 +1638,11 @@ class ApiDocScaffolder $afterGen = substr($existing, $endPos + strlen(self::GEN_END)); - // 확장 목차 섹션(`## 확장 API 레퍼런스`)부터는 생성 블록 소관이므로 제외한다. - // 임의의 `## ` 헤딩에서 자르면 사람이 덧붙인 헤딩 섹션이 재생성 때마다 통째로 소실된다. - $nextSection = preg_match('/\n## '.preg_quote(self::EXTENSIONS_HEADING, '/').'/', $afterGen, $m, PREG_OFFSET_CAPTURE) - ? $m[0][1] - : strlen($afterGen); - - $prose = trim(substr($afterGen, 0, $nextSection)); + // 확장 목차 섹션(`## 확장 API 레퍼런스`)은 extensionIndexBlock() 이 헤딩까지 소유하므로 제외한다. + // 그 외의 `## ` 헤딩(예: `## 개요`, `## 주의사항`)은 사람이 쓴 서술이므로 보존해야 한다. + // (회귀: 임의의 `## ` 에서 잘라 목차 블록 뒤 사람 서술이 재생성 때마다 소실되던 문제) + $cut = strpos($afterGen, "\n".self::EXTENSION_INDEX_HEADING); + $prose = trim($cut !== false ? substr($afterGen, 0, $cut) : $afterGen); return $prose === '' ? null : $prose; } diff --git a/app/Support/ApiDoc/ParameterDescriber.php b/app/Support/ApiDoc/ParameterDescriber.php index cf96712d..623b7102 100644 --- a/app/Support/ApiDoc/ParameterDescriber.php +++ b/app/Support/ApiDoc/ParameterDescriber.php @@ -205,6 +205,13 @@ class ParameterDescriber */ public function describe(string $name, string $location = '', string $type = ''): ?string { + // path 파라미터는 언제나 리소스 식별자다(라우트 모델 바인딩). 이름이 무엇이든 + // 정렬·필터 같은 조회 파라미터 의미를 가질 수 없으므로 이름 기반 규칙보다 앞서 처리한다. + // (회귀: `{order}` path 가 "정렬 방향 asc/desc" 로 설명되던 문제) + if ($location === 'path') { + return self::EXACT[$name] ?? $this->describePathParam($name); + } + // sort_order / order 는 타입에 따라 의미가 갈린다: // - 문자열: 정렬 방향(asc/desc) // - 정수: 표시 정렬 순서 값(작을수록 우선 — 컬럼 값) @@ -232,11 +239,7 @@ class ParameterDescriber return self::EXACT[$name]; } - // path 파라미터는 대부분 리소스 식별자 — 위치를 근거로 유추. - if ($location === 'path') { - return $this->describePathParam($name); - } - + // path 파라미터는 위 진입부에서 이미 처리했다. return $this->byPattern($name, $type); } diff --git a/docs/backend/api-documentation.md b/docs/backend/api-documentation.md index dab4375b..145832eb 100644 --- a/docs/backend/api-documentation.md +++ b/docs/backend/api-documentation.md @@ -117,6 +117,18 @@ README.md "API 레퍼런스" 또는 AGENTS.md "API 레퍼런스 진입점" 표 따른다. `` ~ `` 사이는 `api:docgen` 이 재생성하는 추출 블록이며, 그 바깥의 사람 서술(`**설명**`)은 재생성 시 보존된다. +블록 **안**의 사람 작성분도 보존된다. 자동 생성은 비어 있는 자리를 채울 뿐 사람이 쓴 것을 덮어쓰지 않는다: + +| 대상 | 보존 판정 | +| --- | --- | +| 파라미터 표 `용도` 셀 | 행 키(이름+위치)로 대조. 기존 값이 TODO 스텁이 아니면 유지 | +| 응답 필드 표 `용도/설명` 셀 | 행 키(필드)로 대조. 기존 값이 TODO 스텁이 아니면 유지 | +| 응답 필드 본문 (실측 실패로 마커만 남은 자리) | 사람이 채웠으면 유지 | +| 응답 예시 본문 | 실측 산출물에는 `` 출처 마커가 붙는다. 마커가 없으면 사람 작성분으로 보고 유지 | + +`@probed` 마커가 필요한 이유: 실측은 1회 호출이 관측한 표본 하나뿐이라, 사람이 코드를 읽고 쓴 사실 +(성공 케이스와 엣지 케이스를 함께 제시하는 등)보다 좁다. 실측 결과는 기본값이지 덮어쓰기 권한이 아니다. + 에러 응답 표는 라우트 메타에서 대표 상태코드를 자동 추론한다: 인증 필수(`auth:sanctum`)→401, `admin`/`permission:` 요구→403, FormRequest 검증 규칙 존재→422, path 파라미터 존재→404. `optional.sanctum`(선택 인증)은 401 을 유발하지 않는다. 도메인 특이 에러(409·429 등)는 사람이 보강한다. @@ -147,8 +159,8 @@ README.md "API 레퍼런스" 또는 AGENTS.md "API 레퍼런스 진입점" 표 조립(raw HTTP 요청 골격), 응답 예시는 `` 마커로 남긴다. - 두 예시 블록은 전량 `@generated` 블록 **내부**에 있다. 이미 파라미터/응답 필드 표의 사람 서술이 채워진 문서에 예시만 추가할 때는 `api:docgen --examples-only` 로 표·서술을 건드리지 않고 예시 2블록만 - in-place 삽입/치환한다(측정은 재수행하되 표는 불가침). 백필 커맨드(`backfill-params`/`backfill-fields`)도 - 예시 블록을 건드리지 않는다. + in-place 삽입/치환한다(측정은 재수행하되 표는 불가침, 신규 엔드포인트 섹션은 만들지 못한다). 백필 + 커맨드(`backfill-params`/`backfill-fields`)도 예시 블록을 건드리지 않는다. ### 재생성이 지우지 못하는 것 @@ -353,9 +365,8 @@ php artisan api:docgen --scope=core --dry-run ### 설명 백필 커맨드 (`api:docgen-backfill-*`) 파라미터/응답 필드 표의 `` 셀 중 **도메인 무관 공통 필드**(페이지네이션·정렬·검색· -식별자·기간·토글·공통 파생 필드 등)는 전체 재생성 없이 in-place 로 자동 서술한다. 전체 재생성 -(`api:docgen`)은 `@generated` 블록 표를 통째로 재조립해 실측 예시값·사람 서술 셀을 되돌리므로, TODO -셀만 치환하는 별도 백필 커맨드를 쓴다(멱등 — 채워진 셀·실측 예시값 불가침). +식별자·기간·토글·공통 파생 필드 등)는 전체 재생성 없이 in-place 로 자동 서술한다. 실측을 재수행하지 않아 +빠르고, 실측 예시값도 그대로 둔다(멱등 — 채워진 셀·실측 예시값 불가침). ```bash # 요청 파라미터 표 TODO 셀 백필 (SSoT: App\Support\ApiDoc\ParameterDescriber) diff --git a/docs/backend/api/README.md b/docs/backend/api/README.md index 9052c085..552f54a0 100644 --- a/docs/backend/api/README.md +++ b/docs/backend/api/README.md @@ -229,13 +229,13 @@ location ~* \.(js|css|json)$ { expires max; access_log off; } > 각 확장이 자신의 API 문서를 소유합니다. 아래 표는 자동 생성됩니다. -- **확장 수**: 13 · **엔드포인트 수**: 391 +- **확장 수**: 13 · **엔드포인트 수**: 398 | 확장 | 유형 | API 문서 목차 | 문서/엔드포인트 | | --- | --- | --- | --- | | `gnuboard7-hello_module` | 모듈 | [docs/api/](../../../modules/_bundled/gnuboard7-hello_module/docs/api/README.md) | 1 / 7 | | `sirsoft-board` | 모듈 | [docs/api/](../../../modules/_bundled/sirsoft-board/docs/api/README.md) | 10 / 80 | -| `sirsoft-ecommerce` | 모듈 | [docs/api/](../../../modules/_bundled/sirsoft-ecommerce/docs/api/README.md) | 33 / 232 | +| `sirsoft-ecommerce` | 모듈 | [docs/api/](../../../modules/_bundled/sirsoft-ecommerce/docs/api/README.md) | 33 / 239 | | `sirsoft-page` | 모듈 | [docs/api/](../../../modules/_bundled/sirsoft-page/docs/api/README.md) | 2 / 17 | | `sirsoft-ckeditor5` | 플러그인 | [docs/api/](../../../plugins/_bundled/sirsoft-ckeditor5/docs/api/README.md) | 2 / 2 | | `sirsoft-gdpr` | 플러그인 | [docs/api/](../../../plugins/_bundled/sirsoft-gdpr/docs/api/README.md) | 4 / 15 | diff --git a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/CHANGELOG.md b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/CHANGELOG.md index 93c60a6f..6306a1a9 100644 --- a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/CHANGELOG.md +++ b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/CHANGELOG.md @@ -9,6 +9,7 @@ ### Added - 현금영수증 관련 문구(`cash_receipt.*` — 발급 용도, 식별번호 종류, 발급/취소 이력 상태, 배송비 과세 방식, 오류 안내) 일본어 번역 추가 — 현금영수증 발급 화면과 이커머스 환경설정이 일본어 로케일에서 자연스럽게 표시됩니다. +- 현금영수증 발급 요청의 입력 항목명·검증 안내·처리 결과 문구(`cash_receipt.attributes.*`, `cash_receipt.validation.*`, `cash_receipt.messages.*`)와 발급 불가 사유 안내(`cash_receipt.errors.*`) 일본어 번역 추가 — 잘못된 식별번호를 입력했을 때의 안내와 발급·취소 결과 메시지가 일본어 로케일에서 자연스럽게 표시됩니다. ## [1.0.8] - 2026-08-01 diff --git a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/cash_receipt.php b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/cash_receipt.php index 1ee7294a..716f69aa 100644 --- a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/cash_receipt.php +++ b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/cash_receipt.php @@ -29,5 +29,33 @@ return [ 'no_provider_handled' => '現金領収書発行リクエストを処理したプロバイダーがありません。', 'no_issuable_amount' => '発行可能な現金性金額がありません。', 'identifier_unavailable' => '再発行に必要な識別番号を復号化できません。管理者が識別番号を再入力して発行する必要があります。', + 'payment_not_found' => '決済情報が見つかりません。', + 'not_cash_payment' => '銀行振込注文のみ現金領収書を発行できます。', + 'payment_not_paid' => '入金が確認された注文のみ現金領収書を発行できます。', + 'already_issued' => '既に現金領収書が発行された注文です。', + 'issue_failed' => '現金領収書の発行に失敗しました。', + 'cancel_failed' => '現金領収書のキャンセルに失敗しました。', + 'no_active_receipt' => 'キャンセルする現金領収書がありません。', + ], + 'attributes' => [ + 'receipt_type' => '発行目的', + 'identifier_type' => '発行手段', + 'identifier' => '識別番号', + ], + 'validation' => [ + 'identifier_invalid' => '識別番号の形式が正しくありません。', + 'identifier_type_not_allowed' => ':type は :identifier_type で発行できません。', + 'self_issue_income_only' => '自進発行指定番号は所得控除用でのみ発行できます。', + 'identifier_format' => [ + 'phone' => '携帯電話番号は010、011、016、017、018、019で始まる10~11桁の数字である必要があります。', + 'card' => '現金領収書カード番号は13~19桁の数字である必要があります。', + 'business' => '事業者登録番号が正しくありません。10桁の数字を確認してください。', + ], + ], + 'messages' => [ + 'issued' => '現金領収書が発行されました。', + 'cancelled' => '現金領収書がキャンセルされました。', + 'reissued' => '現金領収書が再発行されました。', + 'status_retrieved' => '現金領収書情報を照会しました。', ], ]; diff --git a/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md b/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md index 74bfe386..d7d519ed 100644 --- a/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md +++ b/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md @@ -18,11 +18,24 @@ ### Added +#### 현금영수증 + - 현금영수증 발급 업체를 결제대행사와 따로 고를 수 있습니다 — KG이니시스로 결제받으면서 현금영수증만 토스페이먼츠로 발급하는 구성이 가능합니다. 발급 업체는 이커머스 환경설정에서 선택합니다. -- 현금영수증 발급·취소 이력이 남습니다. 부분 환불 등으로 결제금액이 바뀌면 기존 영수증을 취소하고 바뀐 금액으로 다시 발급하며, 그 과정이 모두 기록되어 국세청 신고 근거로 쓸 수 있습니다. 재발급이 실패한 경우에도 이력이 남아 관리자가 확인하고 다시 발급할 수 있습니다. -- 주문에 현금성 금액이 기록됩니다. 무통장입금 주문에서 마일리지를 사용한 경우, 실제로 계좌에 입금된 금액만 현금영수증 발급 대상이 됩니다. -- 배송비 과세 방식을 이커머스 환경설정에서 고를 수 있습니다 — 안분(기본, 과세상품 비율만큼 배송비를 과세로 계산) / 전액 과세 / 주된 재화를 따름 중 상점의 세무 판단에 맞춰 선택합니다. +- 무통장입금 주문의 입금이 확인되면 현금영수증이 자동으로 발급됩니다. 관리자가 "결제완료로 변경"한 경우와 "입금만 기록"한 경우 모두 발급되며, 마일리지로 전액 결제되어 실제 입금액이 없는 주문에는 발급하지 않습니다. 발급은 백그라운드에서 처리되므로 발급 업체 응답이 늦어도 입금 확인 자체는 지연되지 않습니다. +- 주문할 때 현금영수증을 신청하지 않았어도 나중에 발급할 수 있습니다 — 관리자 주문 상세와 구매자 주문 상세 양쪽에서 발급할 수 있고, 비회원도 주문 조회 후 발급할 수 있습니다. 발급 취소는 관리자만 할 수 있습니다. +- 발급 용도(소득공제/지출증빙)와 발급 수단(휴대폰번호·현금영수증카드번호·사업자등록번호)을 따로 고를 수 있습니다. 지출증빙용도 휴대폰번호로 발급할 수 있으며, 사업자등록번호는 입력 시 유효성을 검사합니다. +- 현금영수증을 신청하지 않은 무통장입금 건을 사업자가 자진발급하는 설정을 추가했습니다 (기본 사용 안 함). 현금영수증 의무발행 업종이라면 켜 두면 됩니다. +- 현금영수증 발급·취소 이력이 남습니다. 부분 환불 등으로 결제금액이 바뀌면 기존 영수증을 취소하고 바뀐 금액으로 다시 발급하며, 그 과정이 모두 기록되어 국세청 신고 근거로 쓸 수 있습니다. 재발급은 환불 처리가 끝난 뒤 이뤄지므로, 재발급이 실패하더라도 환불 자체는 그대로 완료되고 관리자가 주문 상세에서 다시 발급할 수 있습니다. - 현금영수증 식별번호(휴대폰번호·사업자등록번호 등)는 재발급에 쓸 수 있도록 암호화해 보관하고 구매확정 시점에 폐기합니다. 이력에는 뒤 4자리를 제외한 마스킹 값만 남으며, 발급 업체가 보내온 응답에 섞여 오는 개인정보도 가려서 저장합니다. 주민등록번호는 수집하지 않습니다. +- 결제 영수증(카드 매출전표 등)과 현금영수증을 각각 따로 조회할 수 있습니다. 두 영수증은 서로 다른 값으로 보관되어 한쪽이 다른 쪽을 덮어쓰지 않습니다. + +#### 금액·과세 + +- 주문에 현금성 금액이 기록됩니다. 무통장입금 주문에서 마일리지를 사용한 경우, 실제로 계좌에 입금된 금액만 현금영수증 발급 대상이 됩니다. 주문을 일부 취소하면 남은 실입금액 기준으로 다시 계산됩니다. +- 배송비 과세 방식을 이커머스 환경설정에서 고를 수 있습니다 — 안분(기본, 과세상품 비율만큼 배송비를 과세로 계산) / 전액 과세 / 주된 재화를 따름 중 상점의 세무 판단에 맞춰 선택합니다. + +#### 사이트맵·알림·마일리지 + - 사이트맵에 담을 상품·카테고리 수의 안전 상한을 지원합니다. 상한을 설정하면 상품 목록·카테고리·상품 어느 항목이든 그 수를 넘지 않으며, 상한에 걸려 일부가 빠진 경우 기록으로 남습니다. - 상품·카테고리를 전시/숨김으로 바꾸거나 삭제하면 사이트맵에 해당 항목만 자동으로 반영됩니다. 전체를 다시 만들지 않고 바뀐 부분만 갱신하므로 상품이 많은 쇼핑몰에서도 빠르게 최신 상태가 유지됩니다. - 이커머스 알림 설정 화면에서도 코어와 동일하게 카카오 알림톡 템플릿을 연결할 수 있습니다(비즈뿌리오 플러그인 설치 시). @@ -32,6 +45,7 @@ - 과세·면세 금액 합계에 배송비가 포함됩니다. 그동안 배송비는 과세/면세 어느 쪽에도 집계되지 않아 상품 금액만 합산되었습니다. - 현금영수증 발급 용도 값을 소득공제(income) / 지출증빙(expense)으로 통일했습니다. 기존에 다른 값으로 저장된 주문은 모듈 업데이트 시 자동으로 정리됩니다. +- 주문 상세 응답에 현금영수증 정보와 결제 영수증 링크가 포함됩니다. - 관리자 상품 목록이 상품마다 옵션 전체를 함께 내려주지 않습니다. 목록에는 옵션 개수와 재고 합계만 실리고, 옵션 상세는 행을 펼칠 때 필요한 상품의 것만 한 번에 가져옵니다. 옵션을 많이 쓰는 쇼핑몰일수록 목록을 여는 속도와 전송량이 크게 개선됩니다(상품 100건에 상품당 옵션 20건 기준, 목록 응답 크기 약 94% 감소). 화면에서 보이는 내용과 일괄 변경 적용 범위는 이전과 동일하며, 옵션을 목록 응답에 함께 받으려면 주소 뒤에 `?with_options=1` 을 붙이면 됩니다. (#76 @jordy-bitree 님께서 제보해주셨습니다.) - 관리자 주문 목록이 주문마다 주문상품 전체를 함께 내려주지 않습니다. 목록은 대표 상품 1건과 "외 N건" 표기만 사용하므로, 이제 그 1건과 개수만 읽습니다. 한 주문에 상품을 많이 담는 쇼핑몰일수록 목록을 여는 속도와 전송량이 개선됩니다. 화면에 보이는 내용(대표 상품·추가옵션 요약·"외 N건"·부분취소 표시)은 이전과 동일하며, 마이페이지 주문내역은 종전대로 주문상품 전체를 보여줍니다. (#76 @jordy-bitree 님께서 제보해주셨습니다.) - 상품 옵션의 표시 순서를 상품 등록/수정 화면과 동일하게 정렬 순서 기준으로 통일했습니다. 이전에는 관리자 상품 목록의 펼친 옵션만 정해진 순서 없이 표시돼 화면마다 순서가 달라 보일 수 있었습니다. (#76 @jordy-bitree 님께서 제보해주셨습니다.) @@ -142,6 +156,7 @@ - 해외 배송지를 수정하면 도시·주·우편번호가 안내 없이 비워지던 문제를 수정했습니다. 이번 수정에서 다시 입력하지 않은 항목은 저장된 값이 그대로 유지됩니다. (#78 @glitter-gim 님께서 제보해주셨습니다.) - 관리자 목록에서 기록이 아주 많아 총 건수를 끝까지 세지 못하면 "1페이지뿐" 으로 표시되어 뒤쪽 페이지를 볼 수 없던 문제를 수정했습니다. 주문·상품·마일리지·쿠폰·쿠폰 발급 이력·상품 리뷰·배송 정책·활동 이력 목록이 해당하며, 마지막 페이지로 바로 뛰는 버튼만 감춰지고 이전·다음 이동은 그대로 동작합니다. - 쿠폰 사용조건의 상품 검색에서 결과가 많을 때 목록 끝까지 스크롤해도 다음 묶음이 더 불러와지지 않던 문제를 수정했습니다. +- 관리자가 주문상품을 일괄 구매확정할 때와 구매자가 직접 구매확정할 때, 구매확정 시점이 최초 확정 시각으로 동일하게 보존됩니다 — 이미 확정된 주문을 다시 확정 처리해도 시점이 덮어써지지 않습니다. ## [1.0.4] - 2026-07-16 diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/README.md b/modules/_bundled/sirsoft-ecommerce/docs/api/README.md index ea170343..f7b8c9bd 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/README.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/README.md @@ -4,7 +4,7 @@ > 아래 표는 자동 생성됩니다. 각 문서를 열면 엔드포인트별 파라미터·응답·예시를 볼 수 있습니다. -- **문서 수**: 33 · **엔드포인트 수**: 232 +- **문서 수**: 33 · **엔드포인트 수**: 239 | 문서 | 도메인 | 엔드포인트 | | --- | --- | --- | @@ -19,12 +19,12 @@ | [currency.md](currency.md) | `currency` | 2 | | [dashboard.md](dashboard.md) | `dashboard` | 4 | | [extra-fee-templates.md](extra-fee-templates.md) | `extra-fee-templates` | 10 | -| [guest.md](guest.md) | `guest` | 5 | +| [guest.md](guest.md) | `guest` | 7 | | [inquiries.md](inquiries.md) | `inquiries` | 10 | | [mileage.md](mileage.md) | `mileage` | 3 | | [mileage-transactions.md](mileage-transactions.md) | `mileage-transactions` | 5 | | [options.md](options.md) | `options` | 3 | -| [orders.md](orders.md) | `orders` | 22 | +| [orders.md](orders.md) | `orders` | 27 | | [payments.md](payments.md) | `payments` | 1 | | [presets.md](presets.md) | `presets` | 4 | | [product-common-infos.md](product-common-infos.md) | `product-common-infos` | 6 | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/guest.md b/modules/_bundled/sirsoft-ecommerce/docs/api/guest.md index 43aafbb8..47c82872 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/guest.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/guest.md @@ -119,6 +119,184 @@ Content-Type: application/json **설명** 비회원이 조회 토큰으로 인증된 상태에서 자신의 주문을 취소합니다. 주문 소유권은 `VerifyGuestOrderToken` 미들웨어가 `X-Guest-Order-Token` 헤더로 검증하며, `OrderController@cancel`이 회원 취소와 동일한 `OrderCancellationService`를 재사용하되 취소자(`cancelledBy`)는 null로 둡니다. `items`를 전달하면 부분취소, 없으면 전체취소로 처리하고, `refund_priority`로 PG 환불과 포인트 환불 중 우선순위를 지정할 수 있습니다. 취소 후 갱신된 주문 상세를 `GuestOrderResource`로 반환합니다. +### GET /api/modules/sirsoft-ecommerce/guest/orders/{orderNumber}/cash-receipt + +- **라우트명**: `api.modules.sirsoft-ecommerce.guest.orders.cash-receipt.show` +- **컨트롤러**: `Modules\Sirsoft\Ecommerce\Http\Controllers\Public\CashReceiptController@show` +- **인증/권한**: 공개 (인증 불필요) + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| orderNumber | path | string | 예 | — | 대상 order number의 식별자 | + +**요청 예시** + +```http +GET /api/modules/sirsoft-ecommerce/guest/orders/{orderNumber}/cash-receipt HTTP/1.1 +Host: api.example.com +Accept: application/json +``` + +**응답 필드** (`data` 내부) + +| 필드 | 타입 | 설명 | +| --- | --- | --- | +| issuable | boolean | 지금 발급이 가능한지 여부 (무통장 + 입금완료 + 미발급 + 현금성 금액 > 0 + 프로바이더 설정됨) | +| cash_receipt | object\|null | 현재 활성 영수증 1건 (`CashReceiptResource`). 발급 전이거나 전액 취소된 경우 `null` | + +`cash_receipt` 의 하위 필드 구성은 [발급 API 의 응답 필드 표](orders.md)와 동일합니다. + +**응답 예시** + +발급 전 (발급 가능): + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "현금영수증 정보를 조회했습니다.", + "data": { + "issuable": true, + "cash_receipt": null + } +} +``` + +발급 완료: + +```json +{ + "success": true, + "message": "현금영수증 정보를 조회했습니다.", + "data": { + "issuable": false, + "cash_receipt": { + "id": 12, + "provider": "sirsoft-pay_tosspayments", + "transaction_type": "issue", + "receipt_type": "income", + "receipt_type_label": "소득공제용", + "amount": 12000, + "amount_formatted": "12,000원", + "tax_free_amount": 0, + "tax_free_amount_formatted": "0원", + "identifier_masked": "010****5678", + "receipt_url": "https://dashboard.tosspayments.com/receipt/cash/...", + "issue_number": "CR20260710000012", + "issue_status": "COMPLETED", + "error_code": null, + "error_message": null, + "issued_at": "2026-07-10T14:32:11+09:00", + "issued_at_formatted": "2026-07-10 14:32" + } + } +} +``` + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | + + + +> 요청 예시에는 표시되지 않지만 **`X-Guest-Order-Token` 헤더가 필수**입니다 — 비회원 주문 조회 인증 시 발급받은 토큰을 그대로 전달합니다. 누락하거나 주문번호와 맞지 않으면 404 를 반환합니다. + +**설명** 비회원이 주문 조회 후 해당 주문(`orderNumber`)의 현금영수증 발급 상태를 조회합니다. `VerifyGuestOrderToken` 미들웨어가 `X-Guest-Order-Token` 헤더(비회원 주문 조회 인증 시 발급)를 검증하며, **토큰이 지목한 주문 외에는 접근할 수 없습니다** — 토큰이 없거나 주문번호와 맞지 않으면 404 를 반환합니다. + +응답 형식은 회원용 조회(`GET user/orders/{id}/cash-receipt`)와 동일합니다 — `data.issuable`(발급 가능 여부)과 `data.cash_receipt`(활성 영수증 또는 `null`). 이 엔드포인트는 요청 본문을 받지 않으므로 발급 폼 검증에 걸리지 않습니다. + + +### POST /api/modules/sirsoft-ecommerce/guest/orders/{orderNumber}/cash-receipt + +- **라우트명**: `api.modules.sirsoft-ecommerce.guest.orders.cash-receipt.issue` +- **컨트롤러**: `Modules\Sirsoft\Ecommerce\Http\Controllers\Public\CashReceiptController@issue` +- **인증/권한**: 공개 (인증 불필요) + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| orderNumber | path | string | 예 | — | 대상 order number의 식별자 | +| receipt_type | body | string | 예 | `income`, `expense` | 발급 용도 (income 소득공제용 — 개인 연말정산 / expense 지출증빙용 — 사업자 매입세액공제) | +| identifier_type | body | string | 예 | `phone`, `card`, `business` | 발급 수단 (phone 휴대폰번호 / card 현금영수증카드번호 / business 사업자등록번호 — 사업자등록번호는 지출증빙 전용) | +| identifier | body | string | 예 | max 30 | 식별번호 (하이픈·공백 제거 후 검증 — 휴대폰 10~11자리 / 현금영수증카드 13~19자리 / 사업자등록번호 10자리 체크섬) | + +**요청 예시** + +```http +POST /api/modules/sirsoft-ecommerce/guest/orders/{orderNumber}/cash-receipt HTTP/1.1 +Host: api.example.com +Accept: application/json +Content-Type: application/json + +{ + "receipt_type": "income", + "identifier_type": "phone", + "identifier": "example-key" +} +``` + +**응답 필드** (`data` 내부) + +`data` 는 발급 이력 1건(`CashReceiptResource`)이며, 필드 구성은 [발급 API 의 응답 필드 표](orders.md)와 동일합니다. + +**응답 예시** + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "현금영수증이 발급되었습니다.", + "data": { + "id": 12, + "provider": "sirsoft-pay_tosspayments", + "transaction_type": "issue", + "receipt_type": "income", + "receipt_type_label": "소득공제용", + "amount": 12000, + "amount_formatted": "12,000원", + "tax_free_amount": 0, + "tax_free_amount_formatted": "0원", + "identifier_masked": "010****5678", + "receipt_url": "https://dashboard.tosspayments.com/receipt/cash/...", + "issue_number": "CR20260710000012", + "issue_status": "COMPLETED", + "error_code": null, + "error_message": null, + "issued_at": "2026-07-10T14:32:11+09:00", + "issued_at_formatted": "2026-07-10 14:32" + } +} +``` + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | + + + +> 요청 예시에는 표시되지 않지만 **`X-Guest-Order-Token` 헤더가 필수**입니다 — 누락하거나 주문번호와 맞지 않으면 404 를 반환합니다. + +**설명** 비회원이 주문 당시 신청하지 않은 현금영수증을 주문상세에서 **직접 사후 발급**합니다. `VerifyGuestOrderToken` 미들웨어가 `X-Guest-Order-Token` 헤더를 검증해 소유권을 보장하며, 토큰이 검증한 주문에 대해서만 발급합니다. + +요청 본문(`receipt_type` / `identifier_type` / `identifier`), 검증 규칙, 발급 가능 조건, 오류 코드 체계는 관리자·회원 발급 API 와 모두 동일합니다 — 이미 발급된 주문은 409(`ALREADY_ISSUED`), 그 외 발급 불가 사유는 422 에 `errors.error_code` 로 구분해 담깁니다. + +**발급 취소는 제공하지 않습니다**(관리자 전용). 회원 경로와 마찬가지로 비회원용 `DELETE` 라우트 자체를 노출하지 않습니다. + + ### POST /api/modules/sirsoft-ecommerce/guest/orders/{orderNumber}/estimate-refund - **라우트명**: `api.modules.sirsoft-ecommerce.guest.orders.estimate-refund` diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/orders.md b/modules/_bundled/sirsoft-ecommerce/docs/api/orders.md index 3e4386cc..2ba6c784 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/orders.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/orders.md @@ -697,6 +697,288 @@ Content-Type: application/json **설명** 관리자가 특정 주문(`order`)을 전체취소 또는 부분취소합니다. `auth:sanctum` + `sirsoft-ecommerce.orders.update` 권한이 필요하며, `Admin\OrderController@cancelOrder`가 `items` 유무에 따라 `OrderCancellationService`의 `cancelOrder()`(전체) 또는 `cancelOrderOptions()`(부분)를 호출합니다. 취소자(`cancelledBy`)로 관리자 ID가 기록되고, `cancel_pg`로 PG 결제 취소 동반 여부를, `refund_priority`로 PG/포인트 환불 우선순위를 지정합니다. 취소 후 갱신된 주문을 `OrderResource`로 반환하며, 취소 불가 상태 등 실패 시 422를 반환합니다. +### DELETE /api/modules/sirsoft-ecommerce/admin/orders/{order}/cash-receipt + +- **라우트명**: `api.modules.sirsoft-ecommerce.admin.orders.cash-receipt.cancel` +- **컨트롤러**: `Modules\Sirsoft\Ecommerce\Http\Controllers\Admin\CashReceiptController@cancel` +- **인증/권한**: `auth:sanctum` + `permission:sirsoft-ecommerce.orders.update` + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| order | path | string | 예 | — | 대상 order의 식별자 | + +**요청 예시** + +```http +DELETE /api/modules/sirsoft-ecommerce/admin/orders/1/cash-receipt HTTP/1.1 +Host: api.example.com +Accept: application/json +Authorization: Bearer {YOUR_TOKEN} +``` + +**응답 필드** (`data` 내부) + +`data` 는 항상 `null` 입니다 — 취소 성공 여부는 `success` 로 판정합니다. 취소 후의 원장 상태가 필요하면 주문 상세(`GET admin/orders/{order}`)의 `cash_receipts` 를 다시 조회합니다. + +**응답 예시** + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "현금영수증이 취소되었습니다.", + "data": null +} +``` + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | +| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | + + + +**설명** 관리자가 특정 주문(`order`)에 발급된 현금영수증을 **전액 취소**합니다. `auth:sanctum` + `sirsoft-ecommerce.orders.update` 권한이 필요하며, `Admin\CashReceiptController@cancel`이 `CashReceiptService::cancelAll()`로 활성 영수증을 발급 프로바이더(토스페이먼츠 등)에 취소 요청합니다. 부분취소 API 는 사용하지 않습니다 — 금액이 바뀌는 경우는 재발급(`/cash-receipt/reissue`)이 담당합니다. 취소 이력은 원장에 남아 국세청 신고 근거로 유지되며, 재발급용 식별번호 암호문은 폐기하지 않습니다(관리자가 같은 번호로 다시 발급할 수 있어야 하므로). 발급 취소는 관리자 전용이며 회원·비회원에게는 노출하지 않습니다. + +실패 시 사유는 `errors.error_code` 로 구분합니다 — 활성 영수증이 없으면 `NO_ACTIVE_RECEIPT`, 프로바이더 취소가 실패하면 `CANCEL_FAILED` 이며 둘 다 422 입니다. + +```json +{ + "success": false, + "message": "취소할 현금영수증이 없습니다.", + "errors": { + "error_code": "NO_ACTIVE_RECEIPT" + } +} +``` + + +### POST /api/modules/sirsoft-ecommerce/admin/orders/{order}/cash-receipt + +- **라우트명**: `api.modules.sirsoft-ecommerce.admin.orders.cash-receipt.issue` +- **컨트롤러**: `Modules\Sirsoft\Ecommerce\Http\Controllers\Admin\CashReceiptController@issue` +- **인증/권한**: `auth:sanctum` + `permission:sirsoft-ecommerce.orders.update` + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| order | path | string | 예 | — | 대상 order의 식별자 | +| receipt_type | body | string | 예 | `income`, `expense` | 발급 용도 (income 소득공제용 — 개인 연말정산 / expense 지출증빙용 — 사업자 매입세액공제) | +| identifier_type | body | string | 예 | `phone`, `card`, `business` | 발급 수단 (phone 휴대폰번호 / card 현금영수증카드번호 / business 사업자등록번호 — 사업자등록번호는 지출증빙 전용) | +| identifier | body | string | 예 | max 30 | 식별번호 (하이픈·공백 제거 후 검증 — 휴대폰 10~11자리 / 현금영수증카드 13~19자리 / 사업자등록번호 10자리 체크섬) | + +**요청 예시** + +```http +POST /api/modules/sirsoft-ecommerce/admin/orders/1/cash-receipt HTTP/1.1 +Host: api.example.com +Accept: application/json +Authorization: Bearer {YOUR_TOKEN} +Content-Type: application/json + +{ + "receipt_type": "income", + "identifier_type": "phone", + "identifier": "example-key" +} +``` + +**응답 필드** (`data` 내부) + +`data` 는 발급 이력 1건(`CashReceiptResource`)입니다. + +| 필드 | 타입 | 설명 | +| --- | --- | --- | +| id | integer | 발급 이력 ID | +| provider | string | 발급을 수행한 프로바이더 식별자 (예: `sirsoft-pay_tosspayments`) | +| transaction_type | string | 거래 유형 — `issue`(발급) / `cancel`(취소). 발급 응답은 항상 `issue` | +| receipt_type | string | 발급 용도 — `income`(소득공제용) / `expense`(지출증빙용) | +| receipt_type_label | string | 발급 용도의 다국어 표시명 (예: `소득공제용`) | +| amount | integer | 발급 금액 (주문 통화 기준 반올림, 과세분 포함 총액) | +| amount_formatted | string | 발급 금액의 통화 표기 문자열 (예: `12,000원`) | +| tax_free_amount | integer | 발급 금액 중 면세 금액 | +| tax_free_amount_formatted | string | 면세 금액의 통화 표기 문자열 | +| identifier_masked | string | 마스킹된 식별번호 (원본은 어떤 응답에도 노출되지 않음) | +| receipt_url | string\|null | 프로바이더가 발급한 영수증 조회 링크 | +| issue_number | string\|null | 프로바이더가 부여한 승인번호 | +| issue_status | string | 발급 상태 — `IN_PROGRESS` / `COMPLETED` / `FAILED`. 성공 응답은 항상 `COMPLETED` | +| error_code | string\|null | 실패 사유 코드 (성공 시 `null`) | +| error_message | string\|null | 실패 사유 상세 (성공 시 `null`) | +| issued_at | string\|null | 발급 일시 (ISO8601, 머신 판독용) | +| issued_at_formatted | string\|null | 발급 일시 (사용자 타임존 기준 표시용) | + +**응답 예시** + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "현금영수증이 발급되었습니다.", + "data": { + "id": 12, + "provider": "sirsoft-pay_tosspayments", + "transaction_type": "issue", + "receipt_type": "income", + "receipt_type_label": "소득공제용", + "amount": 12000, + "amount_formatted": "12,000원", + "tax_free_amount": 0, + "tax_free_amount_formatted": "0원", + "identifier_masked": "010****5678", + "receipt_url": "https://dashboard.tosspayments.com/receipt/cash/...", + "issue_number": "CR20260710000012", + "issue_status": "COMPLETED", + "error_code": null, + "error_message": null, + "issued_at": "2026-07-10T14:32:11+09:00", + "issued_at_formatted": "2026-07-10 14:32" + } +} +``` + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | + + + +**설명** 관리자가 특정 주문(`order`)에 현금영수증을 발급합니다. 주문 당시 구매자가 신청하지 않은 건의 **사후 발급**과, 발급 실패 후 식별번호를 다시 입력해 발급하는 경우에 사용합니다. `auth:sanctum` + `sirsoft-ecommerce.orders.update` 권한이 필요하며, `Admin\CashReceiptController@issue`가 `CashReceiptService::issue()`로 발급 프로바이더에 위임합니다. + +발급 가능 조건은 **무통장입금(dbank) + 입금완료(PAID) + 미발급 + 현금성 금액 > 0 + 프로바이더 설정됨** 이며, 하나라도 어긋나면 `errors.error_code` 로 사유를 구분해 반환합니다 — 이미 발급된 주문은 **409**(`ALREADY_ISSUED`), 그 외는 422(`NOT_CASH_PAYMENT` / `PAYMENT_NOT_PAID` / `NO_ISSUABLE_AMOUNT` / `PROVIDER_NOT_CONFIGURED`). 프로바이더가 발급을 거부하면 422(`PROVIDER_ERROR`)와 함께 `errors.error_message` 에 상세 사유가 담깁니다. + +`receipt_type`(발급 용도)과 `identifier_type`(발급 수단)은 독립 필드입니다. 지출증빙용도 휴대폰번호로 발급할 수 있으며, 사업자등록번호는 체크섬을 검증합니다. 소득공제 + 사업자등록번호 조합과, 지출증빙 + 국세청 자진발급 지정번호(`0100001234`) 조합은 거부됩니다. + +응답의 `data` 는 발급 이력 1건이며 `receipt_url`(영수증 조회 링크)·`identifier_masked`(뒤 4자리 외 마스킹)·`issue_number` 를 포함합니다. **식별번호 원본은 응답·로그 어디에도 노출되지 않으며**, 재발급용으로만 암호화 보관하다 구매확정 시 폐기합니다. + +발급 불가 응답의 `errors.error_code` 는 두 계열로 나뉩니다. 프론트는 이 값으로 안내 문구와 버튼 노출을 분기합니다. + +**① 사전 가드**(`resolveIssueBlocker`) — 프로바이더 호출 전에 판정하며 코드 6종이 고정입니다. + +| error_code | 상태코드 | 의미 | +| --- | --- | --- | +| `ALREADY_ISSUED` | 409 | 이미 활성 현금영수증이 발급된 주문 | +| `PROVIDER_NOT_CONFIGURED` | 422 | 현금영수증 발급 프로바이더가 설정되지 않음 | +| `PAYMENT_NOT_FOUND` | 422 | 주문에 결제 정보가 없음 | +| `NOT_CASH_PAYMENT` | 422 | 무통장입금(dbank) 주문이 아님 | +| `PAYMENT_NOT_PAID` | 422 | 입금이 확인되지 않음 | +| `NO_ISSUABLE_AMOUNT` | 422 | 발급 가능한 현금성 금액이 0 (전액 마일리지 결제·전액 환불 등) | + +**② 프로바이더 실패** — 422 이며 `error_code` 는 **프로바이더가 반환한 값을 그대로 통과**시킵니다(고정 목록 없음). 어떤 리스너도 발급 요청을 처리하지 않은 경우에만 코어가 `NO_PROVIDER_HANDLED` 를 채웁니다. 상세 사유는 `errors.error_message` 에 담기므로, 프론트는 알 수 없는 코드를 만나면 `error_message` 를 그대로 노출하는 것을 기본 동작으로 삼습니다. + +```json +{ + "success": false, + "message": "이미 현금영수증이 발급된 주문입니다.", + "errors": { + "error_code": "ALREADY_ISSUED" + } +} +``` + + +### POST /api/modules/sirsoft-ecommerce/admin/orders/{order}/cash-receipt/reissue + +- **라우트명**: `api.modules.sirsoft-ecommerce.admin.orders.cash-receipt.reissue` +- **컨트롤러**: `Modules\Sirsoft\Ecommerce\Http\Controllers\Admin\CashReceiptController@reissue` +- **인증/권한**: `auth:sanctum` + `permission:sirsoft-ecommerce.orders.update` + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| order | path | string | 예 | — | 대상 order의 식별자 | + +**요청 예시** + +```http +POST /api/modules/sirsoft-ecommerce/admin/orders/1/cash-receipt/reissue HTTP/1.1 +Host: api.example.com +Accept: application/json +Authorization: Bearer {YOUR_TOKEN} +``` + +**응답 필드** (`data` 내부) + +`data` 는 재발급된 이력 1건(`CashReceiptResource`, 필드 구성은 발급 API 와 동일)이거나, 잔여 발급액이 0 이어서 재발급할 것이 없으면 `null` 입니다. 두 경우 모두 200 이므로 **`success` 만으로 판정하지 말고 `data` 의 존재 여부까지 확인**해야 합니다. + +**응답 예시** + +재발급 성공 (잔여 금액 존재): + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "현금영수증이 재발급되었습니다.", + "data": { + "id": 14, + "provider": "sirsoft-pay_tosspayments", + "transaction_type": "issue", + "receipt_type": "income", + "receipt_type_label": "소득공제용", + "amount": 8000, + "amount_formatted": "8,000원", + "tax_free_amount": 0, + "tax_free_amount_formatted": "0원", + "identifier_masked": "010****5678", + "receipt_url": "https://dashboard.tosspayments.com/receipt/cash/...", + "issue_number": "CR20260710000014", + "issue_status": "COMPLETED", + "error_code": null, + "error_message": null, + "issued_at": "2026-07-10T15:02:44+09:00", + "issued_at_formatted": "2026-07-10 15:02" + } +} +``` + +전액 환불되어 재발급 대상 금액이 0 인 경우 (정상 결과): + +```json +{ + "success": true, + "message": "현금영수증이 재발급되었습니다.", + "data": null +} +``` + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | +| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | + + + +**설명** 관리자가 **"취소 성공 + 재발급 실패"** 중간 상태를 복구합니다. `auth:sanctum` + `sirsoft-ecommerce.orders.update` 권한이 필요하며, `Admin\CashReceiptController@reissue`가 `CashReceiptService::recoverFailedIssue()`를 호출합니다. + +부분환불이 일어나면 기존 영수증을 전액취소하고 잔여 금액으로 재발급하는데(부분취소 API 미사용), 취소는 성공했는데 재발급만 실패하면 활성 영수증이 없는 상태로 남습니다. 이때 원장에는 취소(COMPLETED)와 발급(FAILED) 2행이 남으며, 관리자 주문 상세가 경고 배지를 띄웁니다. 이 엔드포인트가 그 상태를 되돌립니다 — 마지막 발급 이력의 발급 용도와 저장된 식별번호 암호문을 재사용하므로 **요청 본문이 필요 없습니다**. + +활성 영수증이 이미 있으면 금액 동기화로 위임하고, 잔여 발급액이 0(전액 환불)이면 활성 영수증 없음이 정상 결과이므로 `data: null` 과 함께 200 을 반환합니다. 구매확정 후에는 식별번호 암호문이 폐기되므로 복구할 수 없고 422(`REISSUE_FAILED`)를 반환합니다 — 이 경우 관리자가 발급 API(`POST .../cash-receipt`)로 식별번호를 다시 입력해야 합니다. + + ### PATCH /api/modules/sirsoft-ecommerce/admin/orders/{order}/confirm-deposit - **라우트명**: `api.modules.sirsoft-ecommerce.admin.orders.confirm-deposit` @@ -1613,6 +1895,184 @@ Content-Type: application/json **설명** 회원이 마이페이지에서 본인 주문(`id`)을 취소합니다. `auth:sanctum` + `sirsoft-ecommerce.user-orders.cancel` 권한이 필요하며, `User\OrderController@cancel`이 `items` 유무에 따라 `OrderCancellationService`의 `cancelOrderOptions()`(부분) 또는 `cancelOrder()`(전체)를 호출합니다. 취소자(`cancelledBy`)로 회원 본인 ID가 기록되고, `refund_priority`로 PG/포인트 환불 우선순위를 지정합니다. 취소 가능 상태의 주문만 취소되며, 취소 후 갱신된 주문을 `OrderResource`로 반환합니다. +### GET /api/modules/sirsoft-ecommerce/user/orders/{id}/cash-receipt + +- **라우트명**: `api.modules.sirsoft-ecommerce.user.orders.cash-receipt.show` +- **컨트롤러**: `Modules\Sirsoft\Ecommerce\Http\Controllers\User\CashReceiptController@show` +- **인증/권한**: `auth:sanctum` + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| id | path | string | 예 | — | 대상 리소스의 식별자 | + +**요청 예시** + +```http +GET /api/modules/sirsoft-ecommerce/user/orders/{id}/cash-receipt HTTP/1.1 +Host: api.example.com +Accept: application/json +Authorization: Bearer {YOUR_TOKEN} +``` + +**응답 필드** (`data` 내부) + +| 필드 | 타입 | 설명 | +| --- | --- | --- | +| issuable | boolean | 지금 발급이 가능한지 여부 (무통장 + 입금완료 + 미발급 + 현금성 금액 > 0 + 프로바이더 설정됨) | +| cash_receipt | object\|null | 현재 활성 영수증 1건 (`CashReceiptResource`). 발급 전이거나 전액 취소된 경우 `null` | + +`cash_receipt` 의 하위 필드 구성은 발급 API(`POST admin/orders/{order}/cash-receipt`)의 응답 필드 표와 동일합니다. + +**응답 예시** + +발급 전 (발급 가능): + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "현금영수증 정보를 조회했습니다.", + "data": { + "issuable": true, + "cash_receipt": null + } +} +``` + +발급 완료: + +```json +{ + "success": true, + "message": "현금영수증 정보를 조회했습니다.", + "data": { + "issuable": false, + "cash_receipt": { + "id": 12, + "provider": "sirsoft-pay_tosspayments", + "transaction_type": "issue", + "receipt_type": "income", + "receipt_type_label": "소득공제용", + "amount": 12000, + "amount_formatted": "12,000원", + "tax_free_amount": 0, + "tax_free_amount_formatted": "0원", + "identifier_masked": "010****5678", + "receipt_url": "https://dashboard.tosspayments.com/receipt/cash/...", + "issue_number": "CR20260710000012", + "issue_status": "COMPLETED", + "error_code": null, + "error_message": null, + "issued_at": "2026-07-10T14:32:11+09:00", + "issued_at_formatted": "2026-07-10 14:32" + } + } +} +``` + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | + + + +**설명** 회원이 마이페이지 주문상세에서 본인 주문(`id`)의 현금영수증 발급 상태를 조회합니다. `auth:sanctum` 인증이 필요하며, `User\CashReceiptController@show`가 클라이언트가 넘긴 사용자 식별자를 신뢰하지 않고 `Auth::id()` 로만 소유권을 판정합니다 — 타인 주문이면 404 를 반환합니다(존재 여부를 노출하지 않기 위해 403 이 아닌 404). + +응답의 `data.issuable` 은 지금 발급이 가능한지 여부(무통장 + 입금완료 + 미발급 + 현금성 금액 > 0 + 프로바이더 설정됨)이고, `data.cash_receipt` 는 현재 활성 영수증 또는 발급 전이면 `null` 입니다. 주문상세 화면이 이 두 값으로 **[현금영수증 발급] 버튼**과 **[영수증 보기] 링크** 중 무엇을 보일지 결정합니다. + + +### POST /api/modules/sirsoft-ecommerce/user/orders/{id}/cash-receipt + +- **라우트명**: `api.modules.sirsoft-ecommerce.user.orders.cash-receipt.issue` +- **컨트롤러**: `Modules\Sirsoft\Ecommerce\Http\Controllers\User\CashReceiptController@issue` +- **인증/권한**: `auth:sanctum` + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| id | path | string | 예 | — | 대상 리소스의 식별자 | +| receipt_type | body | string | 예 | `income`, `expense` | 발급 용도 (income 소득공제용 — 개인 연말정산 / expense 지출증빙용 — 사업자 매입세액공제) | +| identifier_type | body | string | 예 | `phone`, `card`, `business` | 발급 수단 (phone 휴대폰번호 / card 현금영수증카드번호 / business 사업자등록번호 — 사업자등록번호는 지출증빙 전용) | +| identifier | body | string | 예 | max 30 | 식별번호 (하이픈·공백 제거 후 검증 — 휴대폰 10~11자리 / 현금영수증카드 13~19자리 / 사업자등록번호 10자리 체크섬) | + +**요청 예시** + +```http +POST /api/modules/sirsoft-ecommerce/user/orders/{id}/cash-receipt HTTP/1.1 +Host: api.example.com +Accept: application/json +Authorization: Bearer {YOUR_TOKEN} +Content-Type: application/json + +{ + "receipt_type": "income", + "identifier_type": "phone", + "identifier": "example-key" +} +``` + +**응답 필드** (`data` 내부) + +`data` 는 발급 이력 1건(`CashReceiptResource`)이며, 필드 구성은 관리자 발급 API(`POST admin/orders/{order}/cash-receipt`)의 응답 필드 표와 동일합니다. + +**응답 예시** + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "현금영수증이 발급되었습니다.", + "data": { + "id": 12, + "provider": "sirsoft-pay_tosspayments", + "transaction_type": "issue", + "receipt_type": "income", + "receipt_type_label": "소득공제용", + "amount": 12000, + "amount_formatted": "12,000원", + "tax_free_amount": 0, + "tax_free_amount_formatted": "0원", + "identifier_masked": "010****5678", + "receipt_url": "https://dashboard.tosspayments.com/receipt/cash/...", + "issue_number": "CR20260710000012", + "issue_status": "COMPLETED", + "error_code": null, + "error_message": null, + "issued_at": "2026-07-10T14:32:11+09:00", + "issued_at_formatted": "2026-07-10 14:32" + } +} +``` + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | + + + +**설명** 회원이 주문 당시 신청하지 않은 현금영수증을 마이페이지 주문상세에서 **직접 사후 발급**합니다. `auth:sanctum` 인증이 필요하며, `User\CashReceiptController@issue`가 `Auth::id()` 로 소유권을 확인한 뒤(타인 주문이면 404) 관리자 발급과 **동일한 검증·가드·프로바이더 위임**을 거칩니다. + +요청 본문(`receipt_type` / `identifier_type` / `identifier`)과 오류 코드 체계는 관리자 발급 API 와 같습니다 — 이미 발급된 주문은 409(`ALREADY_ISSUED`), 그 외 발급 불가 사유는 422 에 `errors.error_code` 로 구분해 담깁니다. + +**발급 취소는 제공하지 않습니다** — 국세청 신고 정정을 동반하므로 관리자 전용이며, 유저용 `DELETE` 라우트 자체를 노출하지 않습니다(403 이 아니라 404/405). + + ### POST /api/modules/sirsoft-ecommerce/user/orders/{id}/estimate-refund - **라우트명**: `api.modules.sirsoft-ecommerce.user.orders.estimate-refund` diff --git a/modules/_bundled/sirsoft-ecommerce/module.php b/modules/_bundled/sirsoft-ecommerce/module.php index 97604235..7597cd2a 100644 --- a/modules/_bundled/sirsoft-ecommerce/module.php +++ b/modules/_bundled/sirsoft-ecommerce/module.php @@ -26,12 +26,14 @@ use Modules\Sirsoft\Ecommerce\Listeners\EcommerceAdminActivityLogListener; use Modules\Sirsoft\Ecommerce\Listeners\EcommerceNotificationDataListener; use Modules\Sirsoft\Ecommerce\Listeners\EcommerceUserActivityLogListener; use Modules\Sirsoft\Ecommerce\Listeners\InjectAppConfigDeviceListener; +use Modules\Sirsoft\Ecommerce\Listeners\IssueCashReceiptOnDepositListener; use Modules\Sirsoft\Ecommerce\Listeners\MergeCartOnLoginListener; use Modules\Sirsoft\Ecommerce\Listeners\MileageTransactionListener; use Modules\Sirsoft\Ecommerce\Listeners\OrderActivityLogListener; use Modules\Sirsoft\Ecommerce\Listeners\OrderStatusNotificationListener; use Modules\Sirsoft\Ecommerce\Listeners\ProductActivityLogListener; use Modules\Sirsoft\Ecommerce\Listeners\ProductInquiryBoardListener; +use Modules\Sirsoft\Ecommerce\Listeners\PurgeCashReceiptIdentifierListener; use Modules\Sirsoft\Ecommerce\Listeners\SearchProductsListener; use Modules\Sirsoft\Ecommerce\Listeners\SeoCategoryCacheListener; use Modules\Sirsoft\Ecommerce\Listeners\SeoProductCacheListener; @@ -2100,6 +2102,8 @@ class Module extends AbstractModule EcommerceNotificationDataListener::class, OrderStatusNotificationListener::class, InjectAppConfigDeviceListener::class, + IssueCashReceiptOnDepositListener::class, + PurgeCashReceiptIdentifierListener::class, ]; } diff --git a/modules/_bundled/sirsoft-ecommerce/src/Enums/PaymentMethodEnum.php b/modules/_bundled/sirsoft-ecommerce/src/Enums/PaymentMethodEnum.php index 6a5c93e4..91b2364c 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Enums/PaymentMethodEnum.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Enums/PaymentMethodEnum.php @@ -19,7 +19,7 @@ enum PaymentMethodEnum: string /** * 다국어 라벨을 반환합니다. * - * @return string + * @return string 결제수단 라벨 */ public function label(): string { @@ -29,7 +29,7 @@ enum PaymentMethodEnum: string /** * 프론트엔드용 라벨 키를 반환합니다. * - * @return string + * @return string 결제수단 라벨 */ public function getLabel(): string { @@ -39,7 +39,7 @@ enum PaymentMethodEnum: string /** * 모든 값 배열을 반환합니다. * - * @return array + * @return array 결제수단 값 배열 */ public static function values(): array { @@ -49,7 +49,7 @@ enum PaymentMethodEnum: string /** * 프론트엔드용 옵션 배열을 반환합니다. * - * @return array + * @return array Select 옵션 배열 */ public static function toSelectOptions(): array { @@ -65,7 +65,7 @@ enum PaymentMethodEnum: string * 실제 금전 결제인지 판별합니다. DBANK(무통장입금)도 실제 돈이 오가므로 true입니다. * POINT, DEPOSIT, FREE는 내부 처리이므로 false입니다. * - * @return bool + * @return bool PG 결제 여부 */ public function isPgPayment(): bool { @@ -78,7 +78,7 @@ enum PaymentMethodEnum: string * DBANK(무통장입금)는 수동 입금확인이므로 PG 불필요. * POINT, DEPOSIT, FREE는 내부 처리이므로 PG 불필요. * - * @return bool + * @return bool PG사 선택 필요 여부 */ public function needsPgProvider(): bool { @@ -89,4 +89,27 @@ enum PaymentMethodEnum: string self::FREE, ]); } + + /** + * 결제수단의 현금성(현금영수증 발급 대상) 금액을 산정합니다. + * + * 무통장입금(dbank)만 구매자가 직접 현금을 입금하므로 실결제액 전액이 현금성이다. + * 가상계좌(vbank)는 PG 가 현금영수증을 자동 발급하므로 0, 카드/계좌이체/휴대폰도 0, + * 마일리지·예치금·무료는 애초에 현금 입금이 없으므로 0이다. + * + * 주문 생성 시점(OrderProcessingService)과 취소 재계산 시점(OrderAdjustmentService)이 + * 같은 규칙을 써야 부분환불 후 현금영수증 재발급액이 잔여 실결제액과 일치한다. + * 이 메서드가 그 규칙의 SSoT 다. + * + * @param int $finalAmount 마일리지·예치금 차감 후 실결제액 + * @return int 현금성 금액 (음수 방지) + */ + public function resolveCashEquivalentAmount(int $finalAmount): int + { + if ($this !== self::DBANK) { + return 0; + } + + return max(0, $finalAmount); + } } diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Admin/CashReceiptController.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Admin/CashReceiptController.php new file mode 100644 index 00000000..cf3fafff --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Admin/CashReceiptController.php @@ -0,0 +1,133 @@ +loadMissing('payment'); + + $blocker = $this->cashReceiptService->resolveIssueBlocker($order); + + if ($blocker !== null) { + // 이미 발급된 주문에 대한 재발급 요청은 409 로 구분한다 (중복 발급 방지). + $status = $blocker === 'ALREADY_ISSUED' ? 409 : 422; + $messageKey = $this->cashReceiptService->describeIssueBlocker($blocker); + + return ResponseHelper::error($messageKey, $status, ['error_code' => $blocker]); + } + + $receipt = $this->cashReceiptService->issue( + $order, + $request->getReceiptType(), + $request->getIdentifier(), + $request->getIdentifierType(), + ); + + if (! $receipt->isCompletedIssue()) { + // 프로바이더가 준 상세 사유는 errors 로 내려보내고, 메시지는 다국어 키를 쓴다. + return ResponseHelper::error( + 'sirsoft-ecommerce::cash_receipt.errors.issue_failed', + 422, + ['error_code' => $receipt->error_code, 'error_message' => $receipt->error_message] + ); + } + + return ResponseHelper::success( + 'sirsoft-ecommerce::cash_receipt.messages.issued', + new CashReceiptResource($receipt) + ); + } + + /** + * 발급된 현금영수증을 전액 취소합니다. + * + * 부분취소 API 는 사용하지 않는다 — 금액이 바뀌는 경우는 reissue 가 담당한다. + * + * @param Order $order 대상 주문 + * @return JsonResponse 응답 + */ + public function cancel(Order $order): JsonResponse + { + $order->loadMissing('payment'); + + if ($this->cashReceiptService->findActiveReceipt($order) === null) { + return ResponseHelper::error( + 'sirsoft-ecommerce::cash_receipt.errors.no_active_receipt', + 422, + ['error_code' => 'NO_ACTIVE_RECEIPT'] + ); + } + + if (! $this->cashReceiptService->cancelAll($order)) { + return ResponseHelper::error( + 'sirsoft-ecommerce::cash_receipt.errors.cancel_failed', + 422, + ['error_code' => 'CANCEL_FAILED'] + ); + } + + return ResponseHelper::success('sirsoft-ecommerce::cash_receipt.messages.cancelled'); + } + + /** + * 현금영수증을 현재 주문 금액에 맞춰 재발급합니다. (재발급 실패 복구) + * + * 부분환불 직후 재발급이 실패해 "취소 성공 + 재발급 실패" 상태로 남은 주문을 + * 관리자가 수동으로 복구하는 경로다. 마지막 발급 이력의 용도와 저장된 암호문을 재사용하며, + * 암호문이 폐기된 경우(구매확정 후)에는 관리자가 issue 로 식별번호를 재입력해야 한다. + * + * @param Order $order 대상 주문 + * @return JsonResponse 응답 + */ + public function reissue(Order $order): JsonResponse + { + $order->loadMissing('payment'); + + $receipt = $this->cashReceiptService->recoverFailedIssue($order); + + // 발급 대상 금액이 0 이면(전액 환불 등) 활성 영수증이 없는 것이 정상 결과다. + // 그 외에 활성 영수증이 없으면 복구가 실패한 것이다. + if ($receipt === null && $this->cashReceiptService->calculateIssuableAmount($order)['amount'] > 0) { + return ResponseHelper::error( + 'sirsoft-ecommerce::cash_receipt.errors.issue_failed', + 422, + ['error_code' => 'REISSUE_FAILED'] + ); + } + + return ResponseHelper::success( + 'sirsoft-ecommerce::cash_receipt.messages.reissued', + $receipt ? new CashReceiptResource($receipt) : null + ); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Public/CashReceiptController.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Public/CashReceiptController.php new file mode 100644 index 00000000..0a20dc34 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Public/CashReceiptController.php @@ -0,0 +1,88 @@ +getOrder(); + $order->loadMissing('payment'); + + $receipt = $this->cashReceiptService->findActiveReceipt($order); + + return ResponseHelper::success('sirsoft-ecommerce::cash_receipt.messages.status_retrieved', [ + 'issuable' => $this->cashReceiptService->resolveIssueBlocker($order) === null, + 'cash_receipt' => $receipt ? new CashReceiptResource($receipt) : null, + ]); + } + + /** + * 비회원 주문에 현금영수증을 사후 발급합니다. + * + * @param IssueCashReceiptRequest $request 요청 (토큰 검증된 주문 보유) + * @return JsonResponse 응답 + */ + public function issue(IssueCashReceiptRequest $request): JsonResponse + { + $order = $request->getOrder(); + $order->loadMissing('payment'); + + $blocker = $this->cashReceiptService->resolveIssueBlocker($order); + + if ($blocker !== null) { + $status = $blocker === 'ALREADY_ISSUED' ? 409 : 422; + $messageKey = $this->cashReceiptService->describeIssueBlocker($blocker); + + return ResponseHelper::error($messageKey, $status, ['error_code' => $blocker]); + } + + $receipt = $this->cashReceiptService->issue( + $order, + $request->getReceiptType(), + $request->getIdentifier(), + $request->getIdentifierType(), + ); + + if (! $receipt->isCompletedIssue()) { + // 프로바이더가 준 상세 사유는 errors 로 내려보내고, 메시지는 다국어 키를 쓴다. + return ResponseHelper::error( + 'sirsoft-ecommerce::cash_receipt.errors.issue_failed', + 422, + ['error_code' => $receipt->error_code, 'error_message' => $receipt->error_message] + ); + } + + return ResponseHelper::success( + 'sirsoft-ecommerce::cash_receipt.messages.issued', + new CashReceiptResource($receipt) + ); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/User/CashReceiptController.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/User/CashReceiptController.php new file mode 100644 index 00000000..8b7d6a3e --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/User/CashReceiptController.php @@ -0,0 +1,124 @@ +logApiUsage('user.cash-receipt.show'); + + $order = $this->findOwnedOrder($id); + + if ($order === null) { + return ResponseHelper::moduleError('sirsoft-ecommerce', 'exceptions.order_not_found', 404); + } + + $receipt = $this->cashReceiptService->findActiveReceipt($order); + + return ResponseHelper::success('sirsoft-ecommerce::cash_receipt.messages.status_retrieved', [ + 'issuable' => $this->cashReceiptService->resolveIssueBlocker($order) === null, + 'cash_receipt' => $receipt ? new CashReceiptResource($receipt) : null, + ]); + } + + /** + * 본인 주문에 현금영수증을 사후 발급합니다. + * + * @param IssueCashReceiptRequest $request 요청 + * @param int $id 주문 ID + * @return JsonResponse 응답 + */ + public function issue(IssueCashReceiptRequest $request, int $id): JsonResponse + { + $this->logApiUsage('user.cash-receipt.issue'); + + $order = $this->findOwnedOrder($id); + + if ($order === null) { + return ResponseHelper::moduleError('sirsoft-ecommerce', 'exceptions.order_not_found', 404); + } + + $blocker = $this->cashReceiptService->resolveIssueBlocker($order); + + if ($blocker !== null) { + $status = $blocker === 'ALREADY_ISSUED' ? 409 : 422; + $messageKey = $this->cashReceiptService->describeIssueBlocker($blocker); + + return ResponseHelper::error($messageKey, $status, ['error_code' => $blocker]); + } + + $receipt = $this->cashReceiptService->issue( + $order, + $request->getReceiptType(), + $request->getIdentifier(), + $request->getIdentifierType(), + ); + + if (! $receipt->isCompletedIssue()) { + // 프로바이더가 준 상세 사유는 errors 로 내려보내고, 메시지는 다국어 키를 쓴다. + return ResponseHelper::error( + 'sirsoft-ecommerce::cash_receipt.errors.issue_failed', + 422, + ['error_code' => $receipt->error_code, 'error_message' => $receipt->error_message] + ); + } + + return ResponseHelper::success( + 'sirsoft-ecommerce::cash_receipt.messages.issued', + new CashReceiptResource($receipt) + ); + } + + /** + * 로그인한 회원 본인 소유의 주문을 조회합니다. + * + * 클라이언트가 넘긴 사용자 식별자를 신뢰하지 않고 Auth::id() 로만 소유권을 판정한다. + * + * @param int $id 주문 ID + * @return Order|null 본인 주문 (아니면 null) + */ + private function findOwnedOrder(int $id) + { + $order = $this->orderService->getDetail($id); + + if (! $order || $order->user_id !== Auth::id()) { + return null; + } + + $order->loadMissing('payment'); + + return $order; + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Admin/IssueCashReceiptRequest.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Admin/IssueCashReceiptRequest.php new file mode 100644 index 00000000..395b0fb3 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Admin/IssueCashReceiptRequest.php @@ -0,0 +1,17 @@ +0) 가드는 주문을 알아야 하므로 컨트롤러가 아닌 + * FormRequest 에서 처리할 수 없다 — 각 컨트롤러가 CashReceiptService 의 결과로 판정한다. + */ +trait ValidatesCashReceiptIssue +{ + /** + * 사용자가 이 요청을 수행할 권한이 있는지 확인 (권한은 미들웨어/컨트롤러에서 처리) + * + * @return bool 항상 true + */ + public function authorize(): bool + { + return true; + } + + /** + * 요청에 적용할 검증 규칙 + * + * @return array> 검증 규칙 배열 + */ + public function rules(): array + { + return [ + 'receipt_type' => ['required', 'string', 'in:'.implode(',', CashReceiptType::values())], + 'identifier_type' => ['required', 'string', 'in:'.implode(',', CashReceiptIdentifierType::values())], + 'identifier' => [ + 'required', + 'string', + 'max:30', + new CashReceiptIdentifier($this->resolveReceiptType(), $this->resolveIdentifierType()), + ], + ]; + } + + /** + * 검증 필드의 사용자 표시명 + * + * @return array 필드명 → 표시명 매핑 + */ + public function attributes(): array + { + return [ + 'receipt_type' => __('sirsoft-ecommerce::cash_receipt.attributes.receipt_type'), + 'identifier_type' => __('sirsoft-ecommerce::cash_receipt.attributes.identifier_type'), + 'identifier' => __('sirsoft-ecommerce::cash_receipt.attributes.identifier'), + ]; + } + + /** + * 검증 실패 시 응답 커스터마이징 + * + * @param Validator $validator 검증기 + * + * @throws ValidationException 검증 실패 시 + */ + protected function failedValidation(Validator $validator): void + { + throw new ValidationException($validator, ResponseHelper::error( + $validator->errors()->first(), + 422, + $validator->errors()->toArray() + )); + } + + /** + * 발급 용도를 반환합니다. + * + * @return CashReceiptType 발급 용도 + */ + public function getReceiptType(): CashReceiptType + { + return CashReceiptType::from($this->validated('receipt_type')); + } + + /** + * 식별번호 종류를 반환합니다. + * + * @return CashReceiptIdentifierType 식별번호 종류 + */ + public function getIdentifierType(): CashReceiptIdentifierType + { + return CashReceiptIdentifierType::from($this->validated('identifier_type')); + } + + /** + * 하이픈·공백이 제거된 식별번호 원본을 반환합니다. + * + * @return string 정규화된 식별번호 + */ + public function getIdentifier(): string + { + return CashReceiptIdentifier::normalize((string) $this->validated('identifier')); + } + + /** + * 검증 전 입력에서 발급 용도를 해석합니다. (Rule 생성자 주입용) + * + * @return CashReceiptType|null 해석된 용도 (미해석 시 null) + */ + private function resolveReceiptType(): ?CashReceiptType + { + $value = $this->input('receipt_type'); + + return is_string($value) ? CashReceiptType::tryFrom($value) : null; + } + + /** + * 검증 전 입력에서 식별번호 종류를 해석합니다. (Rule 생성자 주입용) + * + * @return CashReceiptIdentifierType|null 해석된 종류 (미해석 시 null) + */ + private function resolveIdentifierType(): ?CashReceiptIdentifierType + { + $value = $this->input('identifier_type'); + + return is_string($value) ? CashReceiptIdentifierType::tryFrom($value) : null; + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Public/IssueCashReceiptRequest.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Public/IssueCashReceiptRequest.php new file mode 100644 index 00000000..806b6eb1 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Public/IssueCashReceiptRequest.php @@ -0,0 +1,36 @@ +attributes->get('guest_order'); + + if (! $order instanceof Order) { + abort(ResponseHelper::moduleError('sirsoft-ecommerce', 'exceptions.order_not_found', 404)); + } + + return $order; + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Public/ShowCashReceiptRequest.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Public/ShowCashReceiptRequest.php new file mode 100644 index 00000000..15080727 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Public/ShowCashReceiptRequest.php @@ -0,0 +1,51 @@ +> 검증 규칙 배열 (입력 없음) + */ + public function rules(): array + { + return []; + } + + /** + * 미들웨어가 검증한 대상 주문을 반환합니다. + * + * @return Order 토큰 검증을 통과한 비회원 주문 + */ + public function getOrder(): Order + { + $order = $this->attributes->get('guest_order'); + + if (! $order instanceof Order) { + abort(ResponseHelper::moduleError('sirsoft-ecommerce', 'exceptions.order_not_found', 404)); + } + + return $order; + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/CashReceiptResource.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/CashReceiptResource.php new file mode 100644 index 00000000..b5564a0d --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/CashReceiptResource.php @@ -0,0 +1,48 @@ + $this->id, + 'provider' => $this->provider, + 'transaction_type' => $this->transaction_type, + 'receipt_type' => $this->receipt_type, + 'receipt_type_label' => $this->receipt_type?->label(), + 'amount' => $this->roundToOrderCurrency($this->amount), + 'amount_formatted' => $this->formatOrderCurrency($this->amount), + 'tax_free_amount' => $this->roundToOrderCurrency($this->tax_free_amount), + 'tax_free_amount_formatted' => $this->formatOrderCurrency($this->tax_free_amount), + 'identifier_masked' => $this->identifier_masked, + 'receipt_url' => $this->receipt_url, + 'issue_number' => $this->issue_number, + 'issue_status' => $this->issue_status, + 'error_code' => $this->error_code, + 'error_message' => $this->error_message, + // 머신 ISO8601 — 표시는 issued_at_formatted 사용 + 'issued_at' => $this->issued_at?->toIso8601String(), // audit:allow datetime-display-user-timezone reason: machine ISO8601, display uses issued_at_formatted sibling + 'issued_at_formatted' => $this->formatDateTimeStringForUser($this->issued_at), + ]; + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/OrderPaymentResource.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/OrderPaymentResource.php index c3b05d1a..af0c3ca4 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/OrderPaymentResource.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/OrderPaymentResource.php @@ -80,9 +80,22 @@ class OrderPaymentResource extends BaseApiResource 'deposit_due_at' => $this->deposit_due_at?->toIso8601String(), // audit:allow datetime-display-user-timezone reason: machine ISO8601, display uses deposit_due_at_formatted sibling 'deposit_due_at_formatted' => $this->formatDateTimeStringForUser($this->deposit_due_at), - // 현금영수증 + // 현금영수증 (cash_receipt_identifier 는 마스킹 값 — 원본/암호문은 노출하지 않는다) + 'is_cash_receipt_requested' => (bool) $this->is_cash_receipt_requested, + 'is_cash_receipt_issued' => (bool) $this->is_cash_receipt_issued, 'cash_receipt_type' => $this->cash_receipt_type, + 'cash_receipt_identifier_type' => $this->cash_receipt_identifier_type, 'cash_receipt_identifier' => $this->cash_receipt_identifier, + // 머신 ISO8601 — 표시는 cash_receipt_issued_at_formatted 사용 + 'cash_receipt_issued_at' => $this->cash_receipt_issued_at?->toIso8601String(), // audit:allow datetime-display-user-timezone reason: machine ISO8601, display uses cash_receipt_issued_at_formatted sibling + 'cash_receipt_issued_at_formatted' => $this->formatDateTimeStringForUser($this->cash_receipt_issued_at), + + // PG 영수증 URL (카드 매출전표 등) — 현금영수증 URL 과는 다른 값이며 서로 덮어쓰지 않는다. + // 현금영수증 URL 은 주문의 cash_receipt.receipt_url 을 쓴다. + // receipt_url 은 기존 소비자(KG이니시스 영수증 팝업)가 참조하므로 키를 유지하고, + // 의미가 분명한 pg_receipt_url 을 함께 노출한다. + 'receipt_url' => $this->receipt_url, + 'pg_receipt_url' => $this->receipt_url, // 결제수단별 계좌/카드 요약 정보 'account_info' => $this->getAccountInfo(), diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/OrderResource.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/OrderResource.php index 36a0524d..39f7448a 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/OrderResource.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/OrderResource.php @@ -6,6 +6,7 @@ use App\Helpers\PermissionHelper; use App\Http\Resources\BaseApiResource; use Illuminate\Http\Request; use Modules\Sirsoft\Ecommerce\Http\Resources\Traits\HasMultiCurrencyPrices; +use Modules\Sirsoft\Ecommerce\Models\OrderCashReceipt; use Modules\Sirsoft\Ecommerce\Support\ShippingPolicySnapshot; /** @@ -179,6 +180,19 @@ class OrderResource extends BaseApiResource fn ($r) => $r->withOrderCurrency($orderCurrency) )), + // 현금영수증 — 현재 활성 영수증 1건(없으면 null). 발급 카드의 "발급완료" 상태 근거. + 'cash_receipt' => $this->whenLoaded('cashReceipts', function () use ($orderCurrency) { + $active = OrderCashReceipt::filterActive($this->cashReceipts)[0] ?? null; + + return $active + ? (new CashReceiptResource($active))->withOrderCurrency($orderCurrency) + : null; + }), + // 발급/취소 전체 이력 — 관리자 화면의 "취소 성공 + 재발급 실패" 경고 배지 판정 근거. + 'cash_receipts' => $this->whenLoaded('cashReceipts', fn () => CashReceiptResource::collection( + $this->cashReceipts->sortByDesc('id')->values() + )->each(fn ($r) => $r->withOrderCurrency($orderCurrency))), + // 배송 정보 'shippings' => $this->whenLoaded('shippings', fn () => OrderShippingResource::collection($this->shippings)->each( fn ($r) => $r->withOrderCurrency($orderCurrency) diff --git a/modules/_bundled/sirsoft-ecommerce/src/Listeners/IssueCashReceiptOnDepositListener.php b/modules/_bundled/sirsoft-ecommerce/src/Listeners/IssueCashReceiptOnDepositListener.php new file mode 100644 index 00000000..7de3f029 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Listeners/IssueCashReceiptOnDepositListener.php @@ -0,0 +1,159 @@ + [ + 'method' => 'handleDeposit', + 'priority' => 50, + ], + 'sirsoft-ecommerce.order.after_deposit_recorded' => [ + 'method' => 'handleDeposit', + 'priority' => 50, + ], + ]; + } + + /** + * 기본 훅 핸들러 (HookListenerInterface 필수 메서드) + * + * @param mixed ...$args 훅 인자 + */ + public function handle(...$args): void + { + // 개별 메서드에서 처리하므로 빈 구현 + } + + /** + * 입금이 확인된 주문에 현금영수증을 발급합니다. + * + * 두 훅의 인자 수가 다르므로(after_deposit_recorded 는 $amount 를 추가로 넘긴다) + * 첫 인자만 사용하고 나머지는 무시한다. + * + * @param Order $order 입금이 확인된 주문 + */ + public function handleDeposit(Order $order): void + { + try { + $order->loadMissing('payment'); + + // 발급 가능 조건 단일 가드 — 무통장·결제완료·미발급·프로바이더 설정·발급액>0. + // 발급액 검사가 "무통장 + 전액 마일리지" 0원 주문을 걸러낸다: $isZeroPayable 판정은 + // 결제수단과 무관하게 잔여 결제액만 보므로 그 주문도 after_payment_complete 를 발화시킨다. + $blocker = $this->cashReceiptService->resolveIssueBlocker($order); + + if ($blocker !== null) { + return; + } + + $request = $this->resolveIssueRequest($order); + + // 구매자가 신청하지 않았고 자진발급도 꺼져 있으면 발급하지 않는다. + if ($request === null) { + return; + } + + [$type, $identifier, $identifierType] = $request; + + $receipt = $this->cashReceiptService->issue($order, $type, $identifier, $identifierType); + + if (! $receipt->isCompletedIssue()) { + Log::warning('IssueCashReceiptOnDepositListener: 자동 발급 실패 — 관리자 수동 발급 필요', [ + 'order_id' => $order->id, + 'error_code' => $receipt->error_code, + ]); + } + } catch (\Throwable $e) { + // 큐 재시도로 중복 발급되지 않도록(멱등 가드는 있으나) 예외를 삼키고 로그만 남긴다. + Log::error('IssueCashReceiptOnDepositListener: 자동 발급 처리 중 예외', [ + 'order_id' => $order->id, + 'error' => $e->getMessage(), + ]); + } + } + + /** + * 발급에 사용할 용도·식별번호를 결정합니다. + * + * 구매자가 주문 시 신청했으면 저장된 신청 정보(암호문 복호화)를 쓰고, + * 신청하지 않았으면 자진발급 설정이 켜진 경우에만 국세청 지정번호로 소득공제 발급한다. + * 자진발급은 제도상 소득공제용만 가능하다. + * + * @param Order $order 주문 모델 + * @return array{0: CashReceiptType, 1: string, 2: CashReceiptIdentifierType|null}|null 발급 인자 (발급 대상 아니면 null) + */ + private function resolveIssueRequest(Order $order): ?array + { + $payment = $order->payment; + + if ($payment?->is_cash_receipt_requested) { + $identifier = $this->paymentRepository->resolveCashReceiptIdentifier($payment); + $type = $payment->getCashReceiptType(); + + // 신청은 했으나 식별번호를 복호화할 수 없으면 자진발급으로 대체하지 않는다. + // 구매자가 지정한 식별번호로만 발급해야 하므로 관리자 수동 발급 경로로 남긴다. + if ($identifier === null || $type === null) { + Log::warning('IssueCashReceiptOnDepositListener: 신청 정보 복호화 불가 — 관리자 수동 발급 필요', [ + 'order_id' => $order->id, + ]); + + return null; + } + + return [$type, $identifier, $payment->cash_receipt_identifier_type]; + } + + if (! $this->settingsService->isCashReceiptSelfIssueEnabled()) { + return null; + } + + return [ + CashReceiptType::INCOME, + CashReceiptIdentifierType::SELF_ISSUE_NUMBER, + CashReceiptIdentifierType::PHONE, + ]; + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Listeners/PurgeCashReceiptIdentifierListener.php b/modules/_bundled/sirsoft-ecommerce/src/Listeners/PurgeCashReceiptIdentifierListener.php new file mode 100644 index 00000000..86b2c075 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Listeners/PurgeCashReceiptIdentifierListener.php @@ -0,0 +1,75 @@ + [ + 'method' => 'purgeIdentifier', + 'priority' => 50, + ], + ]; + } + + /** + * 기본 훅 핸들러 (HookListenerInterface 필수 메서드) + * + * @param mixed ...$args 훅 인자 + */ + public function handle(...$args): void + { + // 개별 메서드에서 처리하므로 빈 구현 + } + + /** + * 구매확정된 주문의 식별번호 암호문을 폐기합니다. + * + * 이미 폐기되었거나 애초에 저장된 적 없는 경우에도 안전하다 (멱등). + * + * @param Order $order 구매확정된 주문 + */ + public function purgeIdentifier(Order $order): void + { + try { + $order->loadMissing('payment'); + + $this->cashReceiptService->purgeIdentifier($order); + } catch (\Throwable $e) { + Log::error('PurgeCashReceiptIdentifierListener: 식별번호 폐기 실패', [ + 'order_id' => $order->id, + 'error' => $e->getMessage(), + ]); + } + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Models/OrderCashReceipt.php b/modules/_bundled/sirsoft-ecommerce/src/Models/OrderCashReceipt.php index 48865d90..8d90e104 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Models/OrderCashReceipt.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Models/OrderCashReceipt.php @@ -103,4 +103,45 @@ class OrderCashReceipt extends Model return (int) $this->amount === $amount && (int) $this->tax_free_amount === $taxFreeAmount; } + + /** + * 이력 컬렉션에서 활성 영수증만 최신순으로 골라냅니다. + * + * "활성" = 발급 완료(COMPLETED) 이면서 같은 receipt_key 의 취소 완료 이력이 없는 건. + * receipt_key 가 없는 발급 건은 취소 대상을 특정할 수 없으므로 활성으로 보지 않는다. + * + * Repository(DB 조회)와 Resource(로드된 컬렉션) 양쪽이 같은 판정을 쓰도록 + * 활성 판정 규칙은 이 메서드가 단일 SSoT 다. + * + * @param iterable $receipts 발급/취소 이력 (정렬 무관) + * @return array 활성 영수증 (id 내림차순) + */ + public static function filterActive(iterable $receipts): array + { + $rows = collect($receipts) + ->filter(fn (self $row) => $row->issue_status === CashReceiptIssueStatus::COMPLETED) + ->sortByDesc('id'); + + $cancelledKeys = $rows + ->filter(fn (self $row) => $row->transaction_type === CashReceiptTransactionType::CANCEL) + ->pluck('receipt_key') + ->filter() + ->unique() + ->all(); + + return $rows + ->filter(function (self $row) use ($cancelledKeys) { + if ($row->transaction_type !== CashReceiptTransactionType::ISSUE) { + return false; + } + + if ($row->receipt_key === null || $row->receipt_key === '') { + return false; + } + + return ! in_array($row->receipt_key, $cancelledKeys, true); + }) + ->values() + ->all(); + } } diff --git a/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderCashReceiptRepository.php b/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderCashReceiptRepository.php index 9037b733..1c65913f 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderCashReceiptRepository.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderCashReceiptRepository.php @@ -50,6 +50,8 @@ class OrderCashReceiptRepository implements OrderCashReceiptRepositoryInterface */ public function findActiveReceipts(Order $order): Collection { + // DB 에서 후보(발급 완료 건 + 취소 완료 건)만 좁힌 뒤, + // 활성 판정은 OrderCashReceipt::filterActive() SSoT 에 위임한다. $rows = $this->model->newQuery() ->where('order_id', $order->id) ->whereIn('transaction_type', [ @@ -60,28 +62,7 @@ class OrderCashReceiptRepository implements OrderCashReceiptRepositoryInterface ->orderByDesc('id') ->get(); - // 취소 완료된 receipt_key 집합 — 같은 키의 발급 이력은 더 이상 활성이 아니다. - $cancelledKeys = $rows - ->filter(fn (OrderCashReceipt $row) => $row->transaction_type === CashReceiptTransactionType::CANCEL) - ->pluck('receipt_key') - ->filter() - ->unique() - ->all(); - - $active = $rows->filter(function (OrderCashReceipt $row) use ($cancelledKeys) { - if ($row->transaction_type !== CashReceiptTransactionType::ISSUE) { - return false; - } - - // receipt_key 가 없는 발급 완료 건은 취소 대상을 특정할 수 없다 — 활성으로 보지 않는다. - if ($row->receipt_key === null || $row->receipt_key === '') { - return false; - } - - return ! in_array($row->receipt_key, $cancelledKeys, true); - }); - - return $this->model->newCollection($active->values()->all()); + return $this->model->newCollection(OrderCashReceipt::filterActive($rows)); } /** diff --git a/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderPaymentRepository.php b/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderPaymentRepository.php index dc8bca12..b9a3a139 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderPaymentRepository.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderPaymentRepository.php @@ -24,20 +24,18 @@ class OrderPaymentRepository implements OrderPaymentRepositoryInterface string $identifierMasked, ?CashReceiptIdentifierType $identifierType, ): OrderPayment { - $attributes = [ + // receipt_url 은 건드리지 않는다 — 그 컬럼은 PG 영수증(카드 매출전표) URL 전용이고 + // PG 플러그인이 결제 승인 시 기록한다. 현금영수증 URL 은 이력 테이블 + // (ecommerce_order_cash_receipts.receipt_url) 이 보관하며 OrderResource 가 따로 노출한다. + // 여기서 덮어쓰면 카드 매출전표 URL 이 유실되고 한 컬럼이 두 의미를 갖게 된다. + $payment->update([ 'is_cash_receipt_issued' => true, 'cash_receipt_type' => $type->value, 'cash_receipt_identifier' => $identifierMasked, 'cash_receipt_identifier_type' => $identifierType, 'cash_receipt_identifier_encrypted' => $identifier, 'cash_receipt_issued_at' => $receipt->issued_at, - ]; - - if ($receipt->receipt_url !== null) { - $attributes['receipt_url'] = $receipt->receipt_url; - } - - $payment->update($attributes); + ]); return $payment; } diff --git a/modules/_bundled/sirsoft-ecommerce/src/Rules/CashReceiptIdentifier.php b/modules/_bundled/sirsoft-ecommerce/src/Rules/CashReceiptIdentifier.php new file mode 100644 index 00000000..70ab9bba --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/src/Rules/CashReceiptIdentifier.php @@ -0,0 +1,88 @@ +type === null || $this->identifierType === null) { + return; + } + + $normalized = self::normalize($value); + + // 자진발급 지정번호는 소득공제용 전용 (지출증빙 자진발급은 제도상 불가). + if (CashReceiptIdentifierType::isSelfIssueNumber($normalized)) { + if ($this->type !== CashReceiptType::INCOME) { + $fail(__('sirsoft-ecommerce::cash_receipt.validation.self_issue_income_only')); + } + + return; + } + + // 용도 × 식별번호 종류 조합 (지출증빙 + 휴대폰번호는 허용된다). + if (! in_array($this->identifierType, $this->type->allowedIdentifierTypes(), true)) { + $fail(__('sirsoft-ecommerce::cash_receipt.validation.identifier_type_not_allowed', [ + 'type' => $this->type->label(), + 'identifier_type' => $this->identifierType->label(), + ])); + + return; + } + + if (! $this->identifierType->matches($normalized)) { + $fail(__('sirsoft-ecommerce::cash_receipt.validation.identifier_format.'.$this->identifierType->value)); + } + } + + /** + * 하이픈·공백을 제거해 식별번호를 정규화합니다. + * + * @param string $identifier 원본 식별번호 + * @return string 정규화된 식별번호 + */ + public static function normalize(string $identifier): string + { + return preg_replace('/[\s-]/', '', $identifier) ?? ''; + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php index b08ae825..c20f3470 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php @@ -8,6 +8,8 @@ use Modules\Sirsoft\Ecommerce\Enums\CashReceiptIdentifierType; use Modules\Sirsoft\Ecommerce\Enums\CashReceiptIssueStatus; use Modules\Sirsoft\Ecommerce\Enums\CashReceiptTransactionType; use Modules\Sirsoft\Ecommerce\Enums\CashReceiptType; +use Modules\Sirsoft\Ecommerce\Enums\PaymentMethodEnum; +use Modules\Sirsoft\Ecommerce\Enums\PaymentStatusEnum; use Modules\Sirsoft\Ecommerce\Models\Order; use Modules\Sirsoft\Ecommerce\Models\OrderCashReceipt; use Modules\Sirsoft\Ecommerce\Models\OrderPayment; @@ -83,6 +85,15 @@ class CashReceiptService ); } + // 멱등: 이미 활성 영수증이 있으면 중복 발급하지 않는다. + // 자동발급 리스너가 두 훅(after_payment_complete / after_deposit_recorded)에 동시 구독되어 + // 한 입금에 두 번 도달할 수 있고, 관리자/유저가 동시에 발급을 눌러도 여기서 걸린다. + $existing = $this->repository->findActiveReceipt($order); + + if ($existing !== null) { + return $existing; + } + $target = $this->calculateIssuableAmount($order); if ($target['amount'] <= 0) { @@ -294,6 +305,73 @@ class CashReceiptService $this->issue($order, $type, $identifier, $order->payment?->cash_receipt_identifier_type); } + /** + * "취소 성공 + 재발급 실패" 중간 상태를 복구합니다. (관리자 수동 재발급) + * + * syncFromOrder() 는 활성 영수증이 있을 때만 동작한다 — 재발급이 실패해 활성 영수증이 + * 사라진 상태는 그 메서드의 관심사가 아니다. 이 메서드가 그 구멍을 메운다: + * 발급 이력은 있는데 활성 영수증이 없고 발급 대상 금액이 남아 있으면, 마지막 발급 이력의 + * 용도와 저장된 암호문으로 다시 발급한다. + * + * 활성 영수증이 이미 있으면 금액 동기화(syncFromOrder)로 위임한다. + * + * @param Order $order 주문 모델 + * @param string|null $reason 사유 + * @return OrderCashReceipt|null 복구된 영수증 (복구 대상이 없거나 실패 시 null) + */ + public function recoverFailedIssue(Order $order, ?string $reason = null): ?OrderCashReceipt + { + // 활성 영수증이 있으면 금액 변동 동기화가 올바른 경로다. + if ($this->repository->findActiveReceipt($order) !== null) { + $this->syncFromOrder($order, $reason); + + return $this->repository->findActiveReceipt($order); + } + + // 발급 대상 금액이 없으면 복구할 것이 없다 (전액 환불 등). + if ($this->calculateIssuableAmount($order)['amount'] <= 0) { + return null; + } + + $lastIssue = $this->repository->findByOrder($order) + ->first(fn (OrderCashReceipt $row) => $row->isIssue()); + + // 애초에 발급을 시도한 적이 없으면 복구가 아니라 신규 발급이다 (issue() 를 쓰라). + if ($lastIssue === null) { + return null; + } + + $identifier = $this->resolveStoredIdentifier($order); + + if ($identifier === null) { + $this->recordFailure( + $order, + $order->payment, + CashReceiptTransactionType::ISSUE, + $lastIssue->receipt_type, + 'IDENTIFIER_UNAVAILABLE', + __('sirsoft-ecommerce::cash_receipt.errors.identifier_unavailable'), + null, + $lastIssue->provider, + ); + + Log::warning('[cash_receipt] 복구용 식별번호 복호화 불가 — 관리자가 식별번호를 재입력해야 함', [ + 'order_id' => $order->id, + ]); + + return null; + } + + $receipt = $this->issue( + $order, + $lastIssue->receipt_type, + $identifier, + $order->payment?->cash_receipt_identifier_type, + ); + + return $receipt->isCompletedIssue() ? $receipt : null; + } + /** * 현재 상태 기준 발급 가능 금액을 계산합니다. * @@ -347,6 +425,74 @@ class CashReceiptService return $this->settingsService->getCashReceiptProvider(); } + /** + * 주문의 현재 활성 영수증을 반환합니다. + * + * @param Order $order 주문 모델 + * @return OrderCashReceipt|null 활성 영수증 (없으면 null) + */ + public function findActiveReceipt(Order $order): ?OrderCashReceipt + { + return $this->repository->findActiveReceipt($order); + } + + /** + * 지금 이 주문에 현금영수증을 발급할 수 있는지 판정합니다. + * + * 자동발급 리스너와 관리자/유저 발급 API 가 공유하는 단일 가드다. + * 어느 조건에서 막혔는지 호출부가 응답 코드를 정하도록 사유 문자열을 반환한다. + * + * 발급액 0원 방어: $isZeroPayable 판정은 결제수단과 무관하게 잔여 결제액만 보므로 + * "무통장 + 전액 마일리지" 0원 주문도 결제완료 훅을 발화시킨다. 그 주문에 0원 영수증을 + * 발급하지 않도록 현금성 금액을 명시적으로 확인한다 (현금성 필드의 암묵적 귀결에 의존하지 않는다). + * + * @param Order $order 주문 모델 + * @return string|null 발급 불가 사유 코드 (발급 가능하면 null) + */ + public function resolveIssueBlocker(Order $order): ?string + { + if ($this->resolveProvider() === null) { + return 'PROVIDER_NOT_CONFIGURED'; + } + + $payment = $order->payment; + + if ($payment === null) { + return 'PAYMENT_NOT_FOUND'; + } + + if ($payment->payment_method !== PaymentMethodEnum::DBANK) { + return 'NOT_CASH_PAYMENT'; + } + + if ($payment->payment_status !== PaymentStatusEnum::PAID) { + return 'PAYMENT_NOT_PAID'; + } + + if ($this->repository->findActiveReceipt($order) !== null) { + return 'ALREADY_ISSUED'; + } + + if ($this->calculateIssuableAmount($order)['amount'] <= 0) { + return 'NO_ISSUABLE_AMOUNT'; + } + + return null; + } + + /** + * 발급 불가 사유 코드에 대응하는 다국어 메시지 키를 반환합니다. + * + * ResponseHelper 가 직접 번역하도록 해석된 문자열이 아닌 키를 반환한다. + * + * @param string $blocker 사유 코드 + * @return string 다국어 메시지 키 + */ + public function describeIssueBlocker(string $blocker): string + { + return 'sirsoft-ecommerce::cash_receipt.errors.'.strtolower($blocker); + } + /** * 재발급용 식별번호 암호문을 폐기합니다. (구매확정 시점) * diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderAdjustmentService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderAdjustmentService.php index 6dc0d8ef..8a606513 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderAdjustmentService.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderAdjustmentService.php @@ -121,7 +121,7 @@ class OrderAdjustmentService // 9. 옵션별 업데이트 정보 생성 $optionUpdates = $this->buildOptionUpdates($order, $excludedMap, $recalcResult); $shippingUpdates = $this->buildShippingUpdates($order, $recalcResult); - $orderUpdates = $this->buildOrderUpdates($recalcResult); + $orderUpdates = $this->buildOrderUpdates($order, $recalcResult); // 10. 취소 대상 아이템 정보 $adjustedItems = $this->buildAdjustedItems($order, $excludedMap); @@ -597,6 +597,9 @@ class OrderAdjustmentService 'total_amount' => 0, 'total_paid_amount' => 0, 'total_points_used_amount' => 0, + // 전액취소면 남은 현금성 금액도 0 이다. 갱신하지 않으면 CashReceiptService 가 + // 여전히 발급 대상이 있다고 보고 전체취소 대신 재발급을 시도한다. + 'total_cash_equivalent_amount' => 0, ], optionUpdates: [], shippingUpdates: [], @@ -767,10 +770,11 @@ class OrderAdjustmentService /** * 주문 테이블 업데이트 정보를 생성합니다. * + * @param Order $order 주문 (결제수단 판정용) * @param OrderCalculationResult $recalcResult 재계산 결과 * @return array 업데이트 데이터 */ - private function buildOrderUpdates($recalcResult): array + private function buildOrderUpdates(Order $order, $recalcResult): array { // 재계산된 프로모션 스냅샷 (부분취소 후 남은 아이템 기준 할인 배분) $promotionsSnapshot = $recalcResult->promotions?->toArray() ?? []; @@ -804,10 +808,34 @@ class OrderAdjustmentService $recalcResult->summary->vatAmount ?? VatCalculator::fromTaxableAmount((int) $recalcResult->summary->taxableAmount) ), + // 현금성 금액도 잔여 실결제액 기준으로 재계산한다. 이 값을 갱신하지 않으면 + // CashReceiptService::syncFromOrder() 가 "금액 변동 없음"으로 판정해 부분환불 후 + // 현금영수증 재발급이 일어나지 않는다. + 'total_cash_equivalent_amount' => $this->resolveCashEquivalentAmount( + $order, + (int) round((float) $recalcResult->summary->finalAmount), + ), 'promotions_applied_snapshot' => $promotionsSnapshot, ]; } + /** + * 잔여 실결제액에 대응하는 현금성 금액을 산정합니다. + * + * 산정 규칙은 PaymentMethodEnum::resolveCashEquivalentAmount() 가 SSoT 다 + * (주문 생성 시점의 OrderProcessingService 와 동일 규칙). + * + * @param Order $order 주문 + * @param int $finalAmount 잔여 실결제액 (마일리지·예치금 차감 후) + * @return int 현금성 금액 + */ + private function resolveCashEquivalentAmount(Order $order, int $finalAmount): int + { + $order->loadMissing('payment'); + + return $order->payment?->payment_method?->resolveCashEquivalentAmount($finalAmount) ?? 0; + } + /** * 취소 대상 아이템 정보를 생성합니다. * diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderCancellationService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderCancellationService.php index e3f14cb5..65f47204 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderCancellationService.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderCancellationService.php @@ -54,6 +54,7 @@ class OrderCancellationService * @param OrderCancelOptionRepositoryInterface $orderCancelOptionRepository 주문 취소 옵션 Repository * @param OrderRefundRepositoryInterface $orderRefundRepository 주문 환불 Repository * @param OrderRefundOptionRepositoryInterface $orderRefundOptionRepository 주문 환불 옵션 Repository + * @param CashReceiptService $cashReceiptService 현금영수증 발급/취소 서비스 */ public function __construct( protected OrderAdjustmentService $adjustmentService, @@ -67,8 +68,40 @@ class OrderCancellationService protected OrderCancelOptionRepositoryInterface $orderCancelOptionRepository, protected OrderRefundRepositoryInterface $orderRefundRepository, protected OrderRefundOptionRepositoryInterface $orderRefundOptionRepository, + protected CashReceiptService $cashReceiptService, ) {} + /** + * 취소 확정 후 현금영수증을 현재 금액에 맞춰 동기화합니다. + * + * 발급 이력이 없으면 no-op 이고, 잔여 발급액이 0 이면 전액취소만 수행하며, + * 그 외에는 전체취소 후 잔여 과세금액 기준으로 재발급한다 (부분취소 API 미사용). + * + * 어떤 실패도 호출부로 전파하지 않는다 — 환불은 이미 DB 에 확정됐고 되돌릴 수 없다. + * 실패는 이력 테이블(issue_status=FAILED)과 로그에 남아 관리자 수동 재발급으로 복구된다. + * + * 로그 레벨이 error 인 이유 — CashReceiptService 는 예상 가능한 실패(프로바이더가 success=false + * 반환, 복호화 불가)를 스스로 삼키고 warning + FAILED 이력으로 남긴다. 따라서 여기까지 예외가 + * 올라왔다면 리스너가 계약을 어긴 것이고, 프로바이더 쪽 영수증이 실제로 취소됐는지조차 알 수 없다 + * (국세청 기록과 DB 가 어긋날 수 있는 상태). 취소/재고/쿠폰 복원 실패(warning)와 달리 즉시 + * 사람이 개입해야 하므로 PG 환불 실패와 같은 error 로 둔다. + * + * @param Order $order 취소가 반영된 주문 + * @param string|null $reason 취소 사유 + */ + protected function syncCashReceipt(Order $order, ?string $reason): void + { + try { + $this->cashReceiptService->syncFromOrder($order, $reason); + } catch (\Throwable $e) { + // 식별번호·PG raw 응답은 담지 않는다 (개인정보 로그 미노출). + Log::error('현금영수증 동기화 실패 — 주문 취소는 확정됨 (관리자 수동 재발급 필요)', [ + 'order_id' => $order->id, + 'message' => $e->getMessage(), + ]); + } + } + /** * 전체 주문을 취소합니다. * @@ -292,7 +325,19 @@ class OrderCancellationService $this->finalizeStatus($orderCancel, $orderRefund, $cancelledBy); }); - // ④ after_cancel 훅 (취소 스냅샷 전달) + // ④ 현금영수증 동기화 — 취소가 DB 에 확정된 뒤에 수행한다. + // + // 트랜잭션 안에서 부르지 않는 이유: + // (a) 재발급 실패 이력(issue_status=FAILED)은 관리자 화면의 경고 배지 근거이자 국세청 신고 + // 누락을 막는 원장이다. 롤백에 휩쓸려 사라지면 안 된다. + // (b) 프로바이더 취소·재발급은 외부 API 2회 왕복이다. DB 잠금을 그동안 붙들 수 없고, + // 실제 영수증은 이미 취소됐는데 트랜잭션만 롤백되면 DB 와 국세청 기록이 어긋난다. + // + // syncFromOrder 는 내부에서 실패를 삼키고 FAILED 이력으로 남기지만, 프로바이더 리스너가 + // 예외를 던질 가능성까지 감안해 방어한다 — 환불은 이미 끝났고 되돌릴 수 없다. + $this->syncCashReceipt($order->fresh(), $reason); + + // ⑤ after_cancel 훅 (취소 스냅샷 전달) $hookName = $cancelType === CancelTypeEnum::FULL ? 'sirsoft-ecommerce.order.after_cancel' : 'sirsoft-ecommerce.order.after_partial_cancel'; diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderOptionService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderOptionService.php index 26e9f14e..fdf25108 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderOptionService.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderOptionService.php @@ -758,7 +758,8 @@ class OrderOptionService $orderUpdate = ['order_status' => $newStatus->value]; // 주문 전체가 구매확정으로 전이되면 헤더에도 확정 시점 기록 (유저 셀프 확정 OrderService::confirmOption 과 대칭). // 멱등: 이미 값이 있으면 유지(최초 확정 시점 보존). - if ($newStatus === OrderStatusEnum::CONFIRMED && $order->confirmed_at === null) { + $purchaseConfirmed = $newStatus === OrderStatusEnum::CONFIRMED && $order->confirmed_at === null; + if ($purchaseConfirmed) { $orderUpdate['confirmed_at'] = now(); } $order->update($orderUpdate); @@ -767,6 +768,13 @@ class OrderOptionService // OrderStatusNotificationListener 가 결제완료/배송중/배송완료/구매확정 알림으로 매핑한다. // 목표 상태($newStatus->value)를 스칼라로 명시 전달 — 큐 지연 재로드 오매핑 방지 (N1). HookManager::doAction('sirsoft-ecommerce.order.after_status_change', $order->fresh(), $previousStatus, $newStatus->value); + + // 구매확정 훅 — order.confirmed_at 이 최초로 세팅된 순간에만 1회 발화(멱등). + // 기존 order.after_confirm 은 completePayment 안의 "결제완료" 훅이지 구매확정 훅이 아니다(이름 혼동 주의). + // PurgeCashReceiptIdentifierListener 가 구독해 재발급용 식별번호 암호문을 폐기한다. + if ($purchaseConfirmed) { + HookManager::doAction('sirsoft-ecommerce.order.after_purchase_confirmed', $order->fresh()); + } } /** diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderProcessingService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderProcessingService.php index 279d9f53..ad54ba64 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderProcessingService.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderProcessingService.php @@ -668,17 +668,18 @@ class OrderProcessingService * | card/bank/phone | 0 | * | point/deposit | 0 (현금이 아님) | * + * 산정 규칙은 PaymentMethodEnum::resolveCashEquivalentAmount() 가 SSoT 다 — + * 취소 재계산(OrderAdjustmentService)도 같은 규칙을 써야 부분환불 후 재발급액이 맞는다. + * * @param string|null $paymentMethod 결제수단 식별자 * @param int $finalAmount 마일리지/예치금 차감 후 실결제액 * @return int 현금성 금액 */ protected function resolveCashEquivalentAmount(?string $paymentMethod, int $finalAmount): int { - if ($paymentMethod !== PaymentMethodEnum::DBANK->value) { - return 0; - } - - return max(0, $finalAmount); + return PaymentMethodEnum::tryFrom((string) $paymentMethod) + ?->resolveCashEquivalentAmount($finalAmount) + ?? 0; } /** @@ -1804,6 +1805,11 @@ class OrderProcessingService 'paid_amount_local' => (int) round($amount), 'paid_amount_base' => (float) $order->total_due_amount, ]); + + // 입금 기록 훅 — 관리자가 "결제완료 전이 없이 입금만 기록"한 경로. + // 이 경로는 completePayment 를 타지 않으므로 after_payment_complete 가 발화하지 않는다. + // 현금영수증 자동발급 리스너가 두 훅을 모두 구독해 입금 확인 경로 전체를 덮는다. + HookManager::doAction('sirsoft-ecommerce.order.after_deposit_recorded', $order->fresh(), $amount); } /** diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderService.php index d9db6303..c6ae25d7 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderService.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderService.php @@ -714,8 +714,9 @@ class OrderService public function confirmOption(Order $order, OrderOption $option): OrderOption { $previousStatus = $order->order_status?->value; + $purchaseConfirmed = false; - return DB::transaction(function () use ($order, $option, $previousStatus) { + $result = DB::transaction(function () use ($order, $option, $previousStatus, &$purchaseConfirmed) { HookManager::doAction('sirsoft-ecommerce.order-option.before_confirm', $order, $option); $option->update([ @@ -734,10 +735,14 @@ class OrderService $orderTransitioned = false; if (! $hasUnconfirmed) { - $order->update([ - 'order_status' => OrderStatusEnum::CONFIRMED, - 'confirmed_at' => now(), - ]); + $orderUpdate = ['order_status' => OrderStatusEnum::CONFIRMED]; + // 멱등: 최초 확정 시점을 보존한다 (OrderOptionService::transitionOrderStatus 와 대칭). + // 재확정 시 confirmed_at 을 덮어쓰면 구매확정 훅이 중복 발화하고 확정 시점이 소실된다. + $purchaseConfirmed = $order->confirmed_at === null; + if ($purchaseConfirmed) { + $orderUpdate['confirmed_at'] = now(); + } + $order->update($orderUpdate); $orderTransitioned = true; } @@ -757,6 +762,15 @@ class OrderService return $option->fresh(); }); + + // 구매확정 훅 — order.confirmed_at 이 최초로 세팅된 순간에만 1회 발화(멱등). + // 커밋 이후에 발화한다: 큐 리스너(PurgeCashReceiptIdentifierListener)가 확정 전 상태를 + // 읽지 않도록 하고, 리스너 실패가 구매확정 트랜잭션을 롤백시키지 않게 한다. + if ($purchaseConfirmed) { + HookManager::doAction('sirsoft-ecommerce.order.after_purchase_confirmed', $order->fresh()); + } + + return $result; } /** diff --git a/modules/_bundled/sirsoft-ecommerce/src/lang/en/cash_receipt.php b/modules/_bundled/sirsoft-ecommerce/src/lang/en/cash_receipt.php index 8010c664..0d180509 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/lang/en/cash_receipt.php +++ b/modules/_bundled/sirsoft-ecommerce/src/lang/en/cash_receipt.php @@ -44,6 +44,29 @@ return [ 'follow_main_item' => 'Follow Main Item', ], + /* + * 입력 필드 표시명 + */ + 'attributes' => [ + 'receipt_type' => 'Receipt Purpose', + 'identifier_type' => 'Identifier Type', + 'identifier' => 'Identifier', + ], + + /* + * 검증 메시지 + */ + 'validation' => [ + 'identifier_invalid' => 'The identifier format is invalid.', + 'identifier_type_not_allowed' => ':type cannot be issued with a :identifier_type.', + 'self_issue_income_only' => 'The self-issuance number can only be used for income deduction receipts.', + 'identifier_format' => [ + 'phone' => 'The mobile number must be 10 to 11 digits starting with 010, 011, 016, 017, 018 or 019.', + 'card' => 'The cash receipt card number must be 13 to 19 digits.', + 'business' => 'The business registration number is invalid. Please check the 10 digits.', + ], + ], + /* * 오류 메시지 */ @@ -52,5 +75,22 @@ return [ 'no_provider_handled' => 'No provider handled the cash receipt request.', 'no_issuable_amount' => 'There is no issuable cash-equivalent amount.', 'identifier_unavailable' => 'The identifier required for re-issuance could not be decrypted. An administrator must re-enter the identifier to issue the receipt.', + 'payment_not_found' => 'Payment information could not be found.', + 'not_cash_payment' => 'Only bank transfer (dbank) orders can be issued a cash receipt.', + 'payment_not_paid' => 'Only orders with a confirmed deposit can be issued a cash receipt.', + 'already_issued' => 'A cash receipt has already been issued for this order.', + 'issue_failed' => 'Failed to issue the cash receipt.', + 'cancel_failed' => 'Failed to cancel the cash receipt.', + 'no_active_receipt' => 'There is no cash receipt to cancel.', + ], + + /* + * 성공 메시지 + */ + 'messages' => [ + 'issued' => 'The cash receipt has been issued.', + 'cancelled' => 'The cash receipt has been cancelled.', + 'reissued' => 'The cash receipt has been re-issued.', + 'status_retrieved' => 'The cash receipt information has been retrieved.', ], ]; diff --git a/modules/_bundled/sirsoft-ecommerce/src/lang/ko/cash_receipt.php b/modules/_bundled/sirsoft-ecommerce/src/lang/ko/cash_receipt.php index c53d7d08..dc297505 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/lang/ko/cash_receipt.php +++ b/modules/_bundled/sirsoft-ecommerce/src/lang/ko/cash_receipt.php @@ -44,6 +44,29 @@ return [ 'follow_main_item' => '주된 재화를 따름', ], + /* + * 입력 필드 표시명 + */ + 'attributes' => [ + 'receipt_type' => '발급 용도', + 'identifier_type' => '발급 수단', + 'identifier' => '식별번호', + ], + + /* + * 검증 메시지 + */ + 'validation' => [ + 'identifier_invalid' => '식별번호 형식이 올바르지 않습니다.', + 'identifier_type_not_allowed' => ':type 은(는) :identifier_type 으로 발급할 수 없습니다.', + 'self_issue_income_only' => '자진발급 지정번호는 소득공제용으로만 발급할 수 있습니다.', + 'identifier_format' => [ + 'phone' => '휴대폰번호는 010, 011, 016, 017, 018, 019 로 시작하는 10~11자리 숫자여야 합니다.', + 'card' => '현금영수증 카드번호는 13~19자리 숫자여야 합니다.', + 'business' => '사업자등록번호가 올바르지 않습니다. 10자리 숫자를 확인해 주세요.', + ], + ], + /* * 오류 메시지 */ @@ -52,5 +75,22 @@ return [ 'no_provider_handled' => '현금영수증 발급 요청을 처리한 프로바이더가 없습니다.', 'no_issuable_amount' => '발급 가능한 현금성 금액이 없습니다.', 'identifier_unavailable' => '재발급에 필요한 식별번호를 복호화할 수 없습니다. 관리자가 식별번호를 다시 입력해 발급해야 합니다.', + 'payment_not_found' => '결제 정보를 찾을 수 없습니다.', + 'not_cash_payment' => '무통장입금 주문만 현금영수증을 발급할 수 있습니다.', + 'payment_not_paid' => '입금이 확인된 주문만 현금영수증을 발급할 수 있습니다.', + 'already_issued' => '이미 현금영수증이 발급된 주문입니다.', + 'issue_failed' => '현금영수증 발급에 실패했습니다.', + 'cancel_failed' => '현금영수증 취소에 실패했습니다.', + 'no_active_receipt' => '취소할 현금영수증이 없습니다.', + ], + + /* + * 성공 메시지 + */ + 'messages' => [ + 'issued' => '현금영수증이 발급되었습니다.', + 'cancelled' => '현금영수증이 취소되었습니다.', + 'reissued' => '현금영수증이 재발급되었습니다.', + 'status_retrieved' => '현금영수증 정보를 조회했습니다.', ], ]; diff --git a/modules/_bundled/sirsoft-ecommerce/src/routes/api.php b/modules/_bundled/sirsoft-ecommerce/src/routes/api.php index 327427c1..fdd08e15 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/routes/api.php +++ b/modules/_bundled/sirsoft-ecommerce/src/routes/api.php @@ -4,6 +4,7 @@ use Illuminate\Support\Facades\Route; use Modules\Sirsoft\Ecommerce\Http\Controllers\Admin\AdminUserCurrencyController; use Modules\Sirsoft\Ecommerce\Http\Controllers\Admin\AdminUserShippingCountryController; use Modules\Sirsoft\Ecommerce\Http\Controllers\Admin\BrandController; +use Modules\Sirsoft\Ecommerce\Http\Controllers\Admin\CashReceiptController; use Modules\Sirsoft\Ecommerce\Http\Controllers\Admin\CategoryController; use Modules\Sirsoft\Ecommerce\Http\Controllers\Admin\ClaimReasonController; use Modules\Sirsoft\Ecommerce\Http\Controllers\Admin\CouponController; @@ -23,6 +24,7 @@ use Modules\Sirsoft\Ecommerce\Http\Controllers\Admin\SearchPresetController; use Modules\Sirsoft\Ecommerce\Http\Controllers\Admin\ShippingCarrierController; use Modules\Sirsoft\Ecommerce\Http\Controllers\Admin\ShippingPolicyController; use Modules\Sirsoft\Ecommerce\Http\Controllers\Public\CartController; +use Modules\Sirsoft\Ecommerce\Http\Controllers\Public\CashReceiptController as GuestCashReceiptController; use Modules\Sirsoft\Ecommerce\Http\Controllers\Public\CategoryController as PublicCategoryController; use Modules\Sirsoft\Ecommerce\Http\Controllers\Public\CategoryImageController; use Modules\Sirsoft\Ecommerce\Http\Controllers\Public\CheckoutController; @@ -35,6 +37,7 @@ use Modules\Sirsoft\Ecommerce\Http\Controllers\Public\ProductReviewController as use Modules\Sirsoft\Ecommerce\Http\Controllers\Public\PublicCouponController; use Modules\Sirsoft\Ecommerce\Http\Controllers\Public\WishlistController; use Modules\Sirsoft\Ecommerce\Http\Controllers\Shop\PaymentConfigController; +use Modules\Sirsoft\Ecommerce\Http\Controllers\User\CashReceiptController as UserCashReceiptController; use Modules\Sirsoft\Ecommerce\Http\Controllers\User\OrderController as UserOrderController; use Modules\Sirsoft\Ecommerce\Http\Controllers\User\ProductInquiryController as UserProductInquiryController; use Modules\Sirsoft\Ecommerce\Http\Controllers\User\ProductReviewController as UserProductReviewController; @@ -288,6 +291,15 @@ Route::prefix('guest/orders/{orderNumber}') Route::post('/options/{optionId}/confirm', [PublicOrderController::class, 'confirmOption']) ->whereNumber('optionId') ->name('guest.orders.confirm-option'); + + // GET /guest/orders/{orderNumber}/cash-receipt - 현금영수증 상태 조회 + Route::get('/cash-receipt', [GuestCashReceiptController::class, 'show']) + ->name('guest.orders.cash-receipt.show'); + + // POST /guest/orders/{orderNumber}/cash-receipt - 현금영수증 사후 발급 + // 발급취소는 제공하지 않는다 (관리자 전용). + Route::post('/cash-receipt', [GuestCashReceiptController::class, 'issue']) + ->name('guest.orders.cash-receipt.issue'); }); // 회원/비회원 공유 주문 상세 조회 (optional.sanctum) @@ -416,6 +428,17 @@ Route::prefix('user')->middleware('auth:sanctum')->group(function () { Route::post('/{id}/reorder', [UserOrderController::class, 'reorder']) ->whereNumber('id') ->name('user.orders.reorder'); + + // GET /api/modules/sirsoft-ecommerce/user/orders/{id}/cash-receipt - 현금영수증 상태 조회 + Route::get('/{id}/cash-receipt', [UserCashReceiptController::class, 'show']) + ->whereNumber('id') + ->name('user.orders.cash-receipt.show'); + + // POST /api/modules/sirsoft-ecommerce/user/orders/{id}/cash-receipt - 현금영수증 사후 발급 + // 발급취소는 제공하지 않는다 (관리자 전용). + Route::post('/{id}/cash-receipt', [UserCashReceiptController::class, 'issue']) + ->whereNumber('id') + ->name('user.orders.cash-receipt.issue'); }); // 리뷰 API (인증 사용자) @@ -1312,6 +1335,24 @@ Route::prefix('admin')->middleware(['auth:sanctum', 'admin'])->group(function () Route::post('/{order}/reset-guest-lookup-password', [OrderController::class, 'resetGuestLookupPassword']) ->middleware('permission:admin,sirsoft-ecommerce.orders.update') ->name('admin.orders.reset-guest-lookup-password'); + + // 현금영수증 발급 (주문 시 미신청 건의 사후 발급 포함) + // POST /api/modules/sirsoft-ecommerce/admin/orders/{order}/cash-receipt + Route::post('/{order}/cash-receipt', [CashReceiptController::class, 'issue']) + ->middleware('permission:admin,sirsoft-ecommerce.orders.update') + ->name('admin.orders.cash-receipt.issue'); + + // 현금영수증 발급취소 (전액취소) + // DELETE /api/modules/sirsoft-ecommerce/admin/orders/{order}/cash-receipt + Route::delete('/{order}/cash-receipt', [CashReceiptController::class, 'cancel']) + ->middleware('permission:admin,sirsoft-ecommerce.orders.update') + ->name('admin.orders.cash-receipt.cancel'); + + // 현금영수증 재동기화 ("취소 성공 + 재발급 실패" 중간 상태 복구) + // POST /api/modules/sirsoft-ecommerce/admin/orders/{order}/cash-receipt/reissue + Route::post('/{order}/cash-receipt/reissue', [CashReceiptController::class, 'reissue']) + ->middleware('permission:admin,sirsoft-ecommerce.orders.update') + ->name('admin.orders.cash-receipt.reissue'); }); // 리뷰 관리 API (관리자) diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/CashReceiptControllerTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/CashReceiptControllerTest.php new file mode 100644 index 00000000..84279d8b --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/CashReceiptControllerTest.php @@ -0,0 +1,511 @@ +issueShouldFail = false; + $this->receiptSequence = 0; + $this->adminUser = $this->createAdminUser(['sirsoft-ecommerce.orders.update']); + + app(EcommerceSettingsService::class)->setSetting('order_settings.cash_receipt_provider', self::PROVIDER); + } + + private function registerProvider(): void + { + HookManager::addFilter( + 'sirsoft-ecommerce.cash_receipt.issue', + function (array $result, Order $order, string $provider, array $payload) { + if ($provider !== self::PROVIDER) { + return $result; + } + + if ($this->issueShouldFail) { + return [ + 'success' => false, + 'error_code' => 'PROVIDER_ERROR', + 'error_message' => '발급 실패', + 'receipt_key' => null, + 'receipt_url' => null, + 'issue_number' => null, + 'raw_response' => null, + ]; + } + + $key = 'receipt-'.(++$this->receiptSequence); + + return [ + 'success' => true, + 'error_code' => null, + 'error_message' => null, + 'receipt_key' => $key, + 'receipt_url' => "https://example.test/receipt/{$key}", + 'issue_number' => '12345678', + 'raw_response' => null, + ]; + }, + ); + + HookManager::addFilter( + 'sirsoft-ecommerce.cash_receipt.cancel', + fn (array $result, Order $order, string $provider, string $receiptKey) => $provider === self::PROVIDER + ? [ + 'success' => true, 'error_code' => null, 'error_message' => null, + 'receipt_key' => $receiptKey, 'raw_response' => null, + ] + : $result, + ); + } + + /** + * 무통장 결제완료 주문을 생성합니다. + * + * @param array $paymentOverrides 결제 레코드 오버라이드 + */ + private function makeOrder(?User $owner = null, int $cash = 11000, array $paymentOverrides = []): Order + { + $order = Order::factory()->create([ + 'user_id' => $owner?->id, + 'order_status' => OrderStatusEnum::PAYMENT_COMPLETE, + 'total_amount' => $cash, + 'total_cash_equivalent_amount' => $cash, + 'total_tax_amount' => $cash, + 'total_tax_free_amount' => 0, + ]); + + OrderPayment::factory()->forOrder($order)->create(array_merge([ + 'payment_method' => PaymentMethodEnum::DBANK, + 'payment_status' => PaymentStatusEnum::PAID, + ], $paymentOverrides)); + + return $order->fresh(); + } + + private function adminUrl(Order $order, string $suffix = ''): string + { + return "/api/modules/sirsoft-ecommerce/admin/orders/{$order->id}/cash-receipt{$suffix}"; + } + + private function userUrl(Order $order): string + { + return "/api/modules/sirsoft-ecommerce/user/orders/{$order->id}/cash-receipt"; + } + + private function issuePayload(): array + { + return [ + 'receipt_type' => CashReceiptType::INCOME->value, + 'identifier_type' => CashReceiptIdentifierType::PHONE->value, + 'identifier' => self::IDENTIFIER, + ]; + } + + // ───────────────────────────────────────────── + // 관리자 발급 + // ───────────────────────────────────────────── + + #[Test] + public function 관리자는_사후_발급할_수_있고_식별번호는_마스킹되어_저장된다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(); + + $response = $this->actingAs($this->adminUser) + ->postJson($this->adminUrl($order), $this->issuePayload()); + + $response->assertOk(); + $response->assertJsonPath('data.identifier_masked', '*******5678'); + $response->assertJsonPath('data.receipt_url', 'https://example.test/receipt/receipt-1'); + + // 응답 어디에도 평문이 없어야 한다 + $this->assertStringNotContainsString(self::IDENTIFIER, $response->getContent()); + } + + #[Test] + public function 관리자는_지출증빙_사업자번호로_발급할_수_있다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(); + + $this->actingAs($this->adminUser) + ->postJson($this->adminUrl($order), [ + 'receipt_type' => CashReceiptType::EXPENSE->value, + 'identifier_type' => CashReceiptIdentifierType::BUSINESS->value, + 'identifier' => self::BUSINESS_NUMBER, + ]) + ->assertOk() + ->assertJsonPath('data.receipt_type', CashReceiptType::EXPENSE->value); + } + + #[Test] + public function 사업자번호_체크섬이_틀리면_422_를_반환한다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(); + + $this->actingAs($this->adminUser) + ->postJson($this->adminUrl($order), [ + 'receipt_type' => CashReceiptType::EXPENSE->value, + 'identifier_type' => CashReceiptIdentifierType::BUSINESS->value, + 'identifier' => '1078648260', + ]) + ->assertStatus(422); + } + + #[Test] + public function 소득공제_사업자번호_조합은_거부된다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(); + + $this->actingAs($this->adminUser) + ->postJson($this->adminUrl($order), [ + 'receipt_type' => CashReceiptType::INCOME->value, + 'identifier_type' => CashReceiptIdentifierType::BUSINESS->value, + 'identifier' => self::BUSINESS_NUMBER, + ]) + ->assertStatus(422); + } + + #[Test] + public function 무통장이_아닌_주문은_발급이_차단된다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(null, 11000, ['payment_method' => PaymentMethodEnum::CARD]); + + $this->actingAs($this->adminUser) + ->postJson($this->adminUrl($order), $this->issuePayload()) + ->assertStatus(422) + ->assertJsonPath('errors.error_code', 'NOT_CASH_PAYMENT'); + } + + #[Test] + public function 미결제_주문은_발급이_차단된다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(null, 11000, ['payment_status' => PaymentStatusEnum::WAITING_DEPOSIT]); + + $this->actingAs($this->adminUser) + ->postJson($this->adminUrl($order), $this->issuePayload()) + ->assertStatus(422) + ->assertJsonPath('errors.error_code', 'PAYMENT_NOT_PAID'); + } + + #[Test] + public function 이미_발급된_주문에_다시_발급하면_409_를_반환한다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(); + + $this->actingAs($this->adminUser)->postJson($this->adminUrl($order), $this->issuePayload())->assertOk(); + + $this->actingAs($this->adminUser) + ->postJson($this->adminUrl($order), $this->issuePayload()) + ->assertStatus(409) + ->assertJsonPath('errors.error_code', 'ALREADY_ISSUED'); + } + + #[Test] + public function 프로바이더_발급_실패시_422_와_에러코드를_반환한다(): void + { + $this->registerProvider(); + $this->issueShouldFail = true; + $order = $this->makeOrder(); + + $this->actingAs($this->adminUser) + ->postJson($this->adminUrl($order), $this->issuePayload()) + ->assertStatus(422) + ->assertJsonPath('errors.error_code', 'PROVIDER_ERROR'); + } + + #[Test] + public function 권한이_없는_관리자는_발급할_수_없다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(); + $weakAdmin = $this->createAdminUser(); + + $this->actingAs($weakAdmin) + ->postJson($this->adminUrl($order), $this->issuePayload()) + ->assertStatus(403); + } + + // ───────────────────────────────────────────── + // 관리자 발급취소 / 재발급 + // ───────────────────────────────────────────── + + #[Test] + public function 관리자는_발급취소할_수_있다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(); + $this->actingAs($this->adminUser)->postJson($this->adminUrl($order), $this->issuePayload())->assertOk(); + + $this->actingAs($this->adminUser)->deleteJson($this->adminUrl($order))->assertOk(); + + $this->assertNull(app(CashReceiptService::class)->findActiveReceipt($order->fresh())); + } + + #[Test] + public function 활성_영수증이_없으면_발급취소는_422_다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(); + + $this->actingAs($this->adminUser) + ->deleteJson($this->adminUrl($order)) + ->assertStatus(422) + ->assertJsonPath('errors.error_code', 'NO_ACTIVE_RECEIPT'); + } + + #[Test] + public function 재발급_ap_i_는_재발급_실패_상태를_복구한다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(); + $this->actingAs($this->adminUser)->postJson($this->adminUrl($order), $this->issuePayload())->assertOk(); + + // 금액 변동 + 재발급 실패 → "취소 성공 + 재발급 실패" 중간 상태를 만든다 + $this->issueShouldFail = true; + $order->fresh()->update(['total_cash_equivalent_amount' => 5500, 'total_tax_amount' => 5500]); + app(CashReceiptService::class)->syncFromOrder($order->fresh(), '부분환불'); + $this->assertNull(app(CashReceiptService::class)->findActiveReceipt($order->fresh())); + + // 프로바이더 복구 후 관리자가 수동 재발급 + $this->issueShouldFail = false; + + $this->actingAs($this->adminUser) + ->postJson($this->adminUrl($order, '/reissue')) + ->assertOk() + ->assertJsonPath('data.amount', 5500); + + $this->assertNotNull(app(CashReceiptService::class)->findActiveReceipt($order->fresh())); + } + + // ───────────────────────────────────────────── + // 유저 + // ───────────────────────────────────────────── + + #[Test] + public function 유저는_본인_주문에_사후_발급할_수_있다(): void + { + $this->registerProvider(); + $owner = $this->createUser(); + $order = $this->makeOrder($owner); + + $this->actingAs($owner) + ->postJson($this->userUrl($order), $this->issuePayload()) + ->assertOk() + ->assertJsonPath('data.identifier_masked', '*******5678'); + } + + #[Test] + public function 유저는_타인_주문에_발급할_수_없다(): void + { + $this->registerProvider(); + $order = $this->makeOrder($this->createUser()); + $stranger = $this->createUser(); + + $this->actingAs($stranger) + ->postJson($this->userUrl($order), $this->issuePayload()) + ->assertStatus(404); + } + + #[Test] + public function 유저는_발급취소할_수_없다(): void + { + // 유저용 DELETE 라우트 자체가 존재하지 않는다 (관리자 전용). + $this->registerProvider(); + $owner = $this->createUser(); + $order = $this->makeOrder($owner); + $this->actingAs($owner)->postJson($this->userUrl($order), $this->issuePayload())->assertOk(); + + $response = $this->actingAs($owner)->deleteJson($this->userUrl($order)); + + $this->assertContains($response->getStatusCode(), [404, 405], '유저 발급취소 경로가 없어야 한다'); + $this->assertNotNull(app(CashReceiptService::class)->findActiveReceipt($order->fresh())); + } + + #[Test] + public function 유저는_발급_상태를_조회할_수_있다(): void + { + $this->registerProvider(); + $owner = $this->createUser(); + $order = $this->makeOrder($owner); + + // 발급 전: issuable = true, cash_receipt = null + $this->actingAs($owner) + ->getJson($this->userUrl($order)) + ->assertOk() + ->assertJsonPath('data.issuable', true) + ->assertJsonPath('data.cash_receipt', null); + + $this->actingAs($owner)->postJson($this->userUrl($order), $this->issuePayload())->assertOk(); + + // 발급 후: issuable = false, 영수증 노출 + $this->actingAs($owner) + ->getJson($this->userUrl($order)) + ->assertOk() + ->assertJsonPath('data.issuable', false) + ->assertJsonPath('data.cash_receipt.identifier_masked', '*******5678'); + } + + #[Test] + public function 비로그인_사용자는_유저_발급_ap_i_에_접근할_수_없다(): void + { + $this->registerProvider(); + $order = $this->makeOrder($this->createUser()); + + $this->postJson($this->userUrl($order), $this->issuePayload())->assertStatus(401); + } + + #[Test] + public function 발급된_영수증은_주문_이력에_원장으로_남는다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(); + + $this->actingAs($this->adminUser)->postJson($this->adminUrl($order), $this->issuePayload())->assertOk(); + + $rows = OrderCashReceipt::where('order_id', $order->id)->get(); + $this->assertCount(1, $rows); + // 원장 어디에도 평문 식별번호가 없어야 한다 + foreach ($rows as $row) { + foreach ($row->getAttributes() as $value) { + $this->assertStringNotContainsString(self::IDENTIFIER, (string) $value); + } + } + } + + // ───────────────────────────────────────────── + // 비회원 (조회 토큰) + // ───────────────────────────────────────────── + + /** + * 비회원 무통장 결제완료 주문과 조회 토큰을 생성합니다. + * + * @return array{0: Order, 1: string} 주문과 조회 토큰 + */ + private function makeGuestOrderWithToken(): array + { + $phone = '010-1234-5678'; + $password = 'guest1234'; + + $order = Order::factory()->forGuest()->create([ + 'order_status' => OrderStatusEnum::PAYMENT_COMPLETE, + 'guest_lookup_password_hash' => Hash::make($password), + 'total_amount' => 11000, + 'total_cash_equivalent_amount' => 11000, + 'total_tax_amount' => 11000, + 'total_tax_free_amount' => 0, + ]); + + OrderAddress::factory()->forOrder($order)->create([ + 'address_type' => 'shipping', + 'orderer_phone' => $phone, + ]); + + OrderPayment::factory()->forOrder($order)->create([ + 'payment_method' => PaymentMethodEnum::DBANK, + 'payment_status' => PaymentStatusEnum::PAID, + ]); + + $token = $this->postJson('/api/modules/sirsoft-ecommerce/guest/orders/verify', [ + 'order_number' => $order->order_number, + 'orderer_phone' => $phone, + 'guest_lookup_password' => $password, + ])->assertOk()->json('data.guest_order_token'); + + return [$order->fresh(), $token]; + } + + #[Test] + public function 비회원은_조회_토큰으로_사후_발급할_수_있다(): void + { + $this->registerProvider(); + [$order, $token] = $this->makeGuestOrderWithToken(); + + $this->postJson( + "/api/modules/sirsoft-ecommerce/guest/orders/{$order->order_number}/cash-receipt", + $this->issuePayload(), + ['X-Guest-Order-Token' => $token], + ) + ->assertOk() + ->assertJsonPath('data.identifier_masked', '*******5678'); + } + + #[Test] + public function 비회원은_토큰_없이_발급할_수_없다(): void + { + $this->registerProvider(); + [$order] = $this->makeGuestOrderWithToken(); + + $this->postJson( + "/api/modules/sirsoft-ecommerce/guest/orders/{$order->order_number}/cash-receipt", + $this->issuePayload(), + )->assertStatus(404); + + $this->assertNull(app(CashReceiptService::class)->findActiveReceipt($order->fresh())); + } + + #[Test] + public function 비회원은_발급_상태를_조회할_수_있다(): void + { + $this->registerProvider(); + [$order, $token] = $this->makeGuestOrderWithToken(); + $headers = ['X-Guest-Order-Token' => $token]; + $url = "/api/modules/sirsoft-ecommerce/guest/orders/{$order->order_number}/cash-receipt"; + + // GET 은 입력을 받지 않는다 (발급 폼 검증에 걸리면 안 된다) + $this->getJson($url, $headers) + ->assertOk() + ->assertJsonPath('data.issuable', true) + ->assertJsonPath('data.cash_receipt', null); + + $this->postJson($url, $this->issuePayload(), $headers)->assertOk(); + + $this->getJson($url, $headers) + ->assertOk() + ->assertJsonPath('data.issuable', false) + ->assertJsonPath('data.cash_receipt.identifier_masked', '*******5678'); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Enums/PaymentMethodCashEquivalentTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Enums/PaymentMethodCashEquivalentTest.php new file mode 100644 index 00000000..92a10f12 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Enums/PaymentMethodCashEquivalentTest.php @@ -0,0 +1,57 @@ + + */ + public static function cashEquivalentCases(): array + { + return [ + // 무통장만 구매자가 직접 현금을 입금한다 + '무통장 = 실결제액 전액' => [PaymentMethodEnum::DBANK, 11000, 11000], + // 가상계좌는 PG 가 현금영수증을 자동 발급한다 + '가상계좌 = 0' => [PaymentMethodEnum::VBANK, 11000, 0], + '카드 = 0' => [PaymentMethodEnum::CARD, 11000, 0], + '마일리지 = 0' => [PaymentMethodEnum::POINT, 11000, 0], + '무료 = 0' => [PaymentMethodEnum::FREE, 0, 0], + ]; + } + + #[Test] + #[DataProvider('cashEquivalentCases')] + public function 결제수단별_현금성_금액을_산정한다( + PaymentMethodEnum $method, + int $finalAmount, + int $expected, + ): void { + $this->assertSame($expected, $method->resolveCashEquivalentAmount($finalAmount)); + } + + #[Test] + public function 음수_실결제액은_0_으로_보정된다(): void + { + $this->assertSame(0, PaymentMethodEnum::DBANK->resolveCashEquivalentAmount(-1)); + } + + #[Test] + public function 전액_마일리지_무통장주문의_현금성_금액은_0_이다(): void + { + // $isZeroPayable 판정은 결제수단과 무관하므로 "무통장 + 전액 마일리지" 0원 주문이 성립한다. + // 그 주문에 0원 현금영수증을 발급하지 않으려면 여기서 0이 나와야 한다. + $this->assertSame(0, PaymentMethodEnum::DBANK->resolveCashEquivalentAmount(0)); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/IssueCashReceiptOnDepositListenerTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/IssueCashReceiptOnDepositListenerTest.php new file mode 100644 index 00000000..d8b27f98 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/IssueCashReceiptOnDepositListenerTest.php @@ -0,0 +1,422 @@ + 발급 훅이 받은 payload 기록 */ + private array $issueCalls = []; + + protected function setUp(): void + { + parent::setUp(); + + $this->issueShouldFail = false; + $this->receiptSequence = 0; + $this->issueCalls = []; + + app(EcommerceSettingsService::class)->setSetting('order_settings.cash_receipt_provider', self::PROVIDER); + } + + /** + * 발급 프로바이더 리스너를 등록합니다. + */ + private function registerProvider(): void + { + HookManager::addFilter( + 'sirsoft-ecommerce.cash_receipt.issue', + function (array $result, Order $order, string $provider, array $payload) { + if ($provider !== self::PROVIDER) { + return $result; + } + + $this->issueCalls[] = $payload; + + if ($this->issueShouldFail) { + return [ + 'success' => false, + 'error_code' => 'PROVIDER_ERROR', + 'error_message' => '발급 실패', + 'receipt_key' => null, + 'receipt_url' => null, + 'issue_number' => null, + 'raw_response' => null, + ]; + } + + $key = 'receipt-'.(++$this->receiptSequence); + + return [ + 'success' => true, + 'error_code' => null, + 'error_message' => null, + 'receipt_key' => $key, + 'receipt_url' => "https://example.test/receipt/{$key}", + 'issue_number' => '12345678', + 'raw_response' => null, + ]; + }, + ); + } + + /** + * 무통장 결제완료 주문을 생성합니다. + * + * @param array $paymentOverrides 결제 레코드 오버라이드 + */ + private function makeOrder(int $cashEquivalent = 11000, array $paymentOverrides = []): Order + { + $order = Order::factory()->create([ + 'total_amount' => $cashEquivalent, + 'total_cash_equivalent_amount' => $cashEquivalent, + 'total_tax_amount' => $cashEquivalent, + 'total_tax_free_amount' => 0, + ]); + + OrderPayment::factory()->create(array_merge([ + 'order_id' => $order->id, + 'payment_method' => PaymentMethodEnum::DBANK, + 'payment_status' => PaymentStatusEnum::PAID, + ], $paymentOverrides)); + + return $order->fresh(); + } + + /** + * 현금영수증을 신청한 무통장 주문을 생성합니다. + */ + private function makeRequestedOrder(int $cashEquivalent = 11000): Order + { + return $this->makeOrder($cashEquivalent, [ + 'is_cash_receipt_requested' => true, + 'cash_receipt_type' => CashReceiptType::INCOME->value, + 'cash_receipt_identifier_type' => CashReceiptIdentifierType::PHONE, + 'cash_receipt_identifier_encrypted' => self::IDENTIFIER, + ]); + } + + private function listener(): IssueCashReceiptOnDepositListener + { + return app(IssueCashReceiptOnDepositListener::class); + } + + private function activeReceipt(Order $order): ?OrderCashReceipt + { + return app(CashReceiptService::class)->findActiveReceipt($order->fresh()); + } + + // ───────────────────────────────────────────── + // 두 훅 경로 모두 발급된다 + // ───────────────────────────────────────────── + + #[Test] + public function 구독_훅은_결제완료와_입금기록_두_경로다(): void + { + $hooks = IssueCashReceiptOnDepositListener::getSubscribedHooks(); + + $this->assertArrayHasKey('sirsoft-ecommerce.order.after_payment_complete', $hooks); + $this->assertArrayHasKey('sirsoft-ecommerce.order.after_deposit_recorded', $hooks); + $this->assertSame('handleDeposit', $hooks['sirsoft-ecommerce.order.after_payment_complete']['method']); + $this->assertSame('handleDeposit', $hooks['sirsoft-ecommerce.order.after_deposit_recorded']['method']); + } + + #[Test] + public function after_payment_complete_발화시_발급된다(): void + { + $this->registerProvider(); + HookListenerRegistrar::register(IssueCashReceiptOnDepositListener::class); + $order = $this->makeRequestedOrder(); + + // 큐를 타지 않고 즉시 검증하기 위해 핸들러를 직접 호출한다 (큐 디스패치는 별도 테스트). + $this->listener()->handleDeposit($order); + + $receipt = $this->activeReceipt($order); + $this->assertNotNull($receipt); + $this->assertSame(CashReceiptIssueStatus::COMPLETED, $receipt->issue_status); + $this->assertSame(11000, (int) $receipt->amount); + } + + #[Test] + public function after_deposit_recorded_입금만_기록_경로에서도_발급된다(): void + { + // 이 훅이 없으면 관리자 "입금만 기록" 경로에서 자동발급이 통째로 누락된다. + $this->registerProvider(); + $order = $this->makeRequestedOrder(); + + // 훅 인자가 ($order, $amount) 2개인 경로 — 리스너는 첫 인자만 쓴다. + $this->listener()->handleDeposit($order, 11000.0); + + $this->assertNotNull($this->activeReceipt($order)); + } + + // ───────────────────────────────────────────── + // 0원 주문 방어 (A-8-4 ②) + // ───────────────────────────────────────────── + + #[Test] + public function 전액_마일리지_0원_무통장주문에는_발급을_시도하지_않는다(): void + { + // $isZeroPayable 은 결제수단과 무관하게 잔여 결제액만 보므로 이 주문도 + // after_payment_complete 를 발화시킨다. 현금성 금액이 0 이므로 발급 대상이 아니다. + $this->registerProvider(); + $order = $this->makeRequestedOrder(0); + + $this->listener()->handleDeposit($order); + + $this->assertCount(0, $this->issueCalls, '발급 API 가 호출되면 안 된다'); + $this->assertSame(0, OrderCashReceipt::where('order_id', $order->id)->count()); + } + + // ───────────────────────────────────────────── + // 발급 조건 가드 + // ───────────────────────────────────────────── + + #[Test] + public function 무통장이_아니면_발급하지_않는다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(11000, [ + 'payment_method' => PaymentMethodEnum::CARD, + 'is_cash_receipt_requested' => true, + 'cash_receipt_type' => CashReceiptType::INCOME->value, + 'cash_receipt_identifier_encrypted' => self::IDENTIFIER, + ]); + + $this->listener()->handleDeposit($order); + + $this->assertCount(0, $this->issueCalls); + } + + #[Test] + public function 미결제_상태면_발급하지_않는다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(11000, [ + 'payment_status' => PaymentStatusEnum::WAITING_DEPOSIT, + 'is_cash_receipt_requested' => true, + 'cash_receipt_type' => CashReceiptType::INCOME->value, + 'cash_receipt_identifier_encrypted' => self::IDENTIFIER, + ]); + + $this->listener()->handleDeposit($order); + + $this->assertCount(0, $this->issueCalls); + } + + #[Test] + public function 프로바이더_미설정시_발급하지_않는다(): void + { + app(EcommerceSettingsService::class)->setSetting('order_settings.cash_receipt_provider', ''); + $this->registerProvider(); + $order = $this->makeRequestedOrder(); + + $this->listener()->handleDeposit($order); + + $this->assertCount(0, $this->issueCalls); + $this->assertSame(0, OrderCashReceipt::where('order_id', $order->id)->count()); + } + + // ───────────────────────────────────────────── + // 미신청 + 자진발급 + // ───────────────────────────────────────────── + + #[Test] + public function 미신청이고_자진발급_of_f_면_아무것도_하지_않는다(): void + { + $this->registerProvider(); + app(EcommerceSettingsService::class)->setSetting('order_settings.cash_receipt_self_issue', false); + $order = $this->makeOrder(); + + $this->listener()->handleDeposit($order); + + $this->assertCount(0, $this->issueCalls); + $this->assertSame(0, OrderCashReceipt::where('order_id', $order->id)->count()); + } + + #[Test] + public function 미신청이고_자진발급_o_n_이면_국세청_지정번호로_소득공제_발급한다(): void + { + $this->registerProvider(); + app(EcommerceSettingsService::class)->setSetting('order_settings.cash_receipt_self_issue', true); + $order = $this->makeOrder(); + + $this->listener()->handleDeposit($order); + + $this->assertCount(1, $this->issueCalls); + $this->assertSame(CashReceiptIdentifierType::SELF_ISSUE_NUMBER, $this->issueCalls[0]['identifier']); + // 자진발급은 제도상 소득공제용만 가능하다. + $this->assertSame(CashReceiptType::INCOME->value, $this->issueCalls[0]['type']); + + $this->assertSame(CashReceiptType::INCOME, $this->activeReceipt($order)->receipt_type); + } + + #[Test] + public function 신청했으나_식별번호를_복호화할_수_없으면_자진발급으로_대체하지_않는다(): void + { + // 구매자가 지정한 식별번호로만 발급해야 한다 — 관리자 수동 발급 경로로 남긴다. + $this->registerProvider(); + app(EcommerceSettingsService::class)->setSetting('order_settings.cash_receipt_self_issue', true); + $order = $this->makeOrder(11000, [ + 'is_cash_receipt_requested' => true, + 'cash_receipt_type' => CashReceiptType::INCOME->value, + 'cash_receipt_identifier_encrypted' => null, + ]); + + $this->listener()->handleDeposit($order); + + $this->assertCount(0, $this->issueCalls); + } + + // ───────────────────────────────────────────── + // 멱등 / 실패 + // ───────────────────────────────────────────── + + #[Test] + public function 이미_발급된_주문에는_중복_발급하지_않는다(): void + { + // 두 훅이 한 입금에 모두 도달할 수 있다. + $this->registerProvider(); + $order = $this->makeRequestedOrder(); + + $this->listener()->handleDeposit($order); + $this->listener()->handleDeposit($order->fresh()); + + $this->assertCount(1, $this->issueCalls, '발급 API 는 1회만 호출되어야 한다'); + $this->assertSame(1, OrderCashReceipt::where('order_id', $order->id)->count()); + } + + #[Test] + public function 발급_실패시_faile_d_이력이_남고_예외는_전파되지_않는다(): void + { + // 입금확인 자체는 성공 상태로 유지되어야 한다. + $this->registerProvider(); + $this->issueShouldFail = true; + $order = $this->makeRequestedOrder(); + + $this->listener()->handleDeposit($order); + + $receipt = OrderCashReceipt::where('order_id', $order->id)->latest('id')->first(); + $this->assertNotNull($receipt); + $this->assertSame(CashReceiptIssueStatus::FAILED, $receipt->issue_status); + $this->assertSame('PROVIDER_ERROR', $receipt->error_code); + + // 활성 영수증은 없다 → 관리자 수동 발급 경로가 열려 있다. + $this->assertNull($this->activeReceipt($order)); + } + + #[Test] + public function 프로바이더가_예외를_던져도_삼키고_로그만_남긴다(): void + { + Log::spy(); + + HookManager::addFilter( + 'sirsoft-ecommerce.cash_receipt.issue', + function () { + throw new \RuntimeException('PG 통신 실패'); + }, + ); + + $order = $this->makeRequestedOrder(); + + // 입금확인 트랜잭션을 깨뜨리지 않는다 (예외 미전파). + $this->listener()->handleDeposit($order); + + // 조용한 실패 금지 — 예외를 삼켰다면 반드시 로그로 남아야 한다. + Log::shouldHaveReceived('error') + ->once() + ->withArgs(function (string $message, array $context) use ($order) { + $this->assertStringContainsString('IssueCashReceiptOnDepositListener', $message); + $this->assertSame($order->id, $context['order_id']); + $this->assertStringContainsString('PG 통신 실패', $context['error']); + + // 식별번호는 로그에 절대 노출되지 않는다. + $this->assertStringNotContainsString(self::IDENTIFIER, $message.json_encode($context)); + + return true; + }); + } + + #[Test] + public function 발급_실패시_경고_로그를_남긴다(): void + { + // 프로바이더가 예외 없이 success=false 를 반환한 경우 — 관리자 수동 발급 유도. + Log::spy(); + $this->registerProvider(); + $this->issueShouldFail = true; + $order = $this->makeRequestedOrder(); + + $this->listener()->handleDeposit($order); + + Log::shouldHaveReceived('warning') + ->withArgs(function (string $message, array $context) { + if (! str_contains($message, 'IssueCashReceiptOnDepositListener')) { + return false; + } + + $this->assertSame('PROVIDER_ERROR', $context['error_code']); + $this->assertStringNotContainsString(self::IDENTIFIER, $message.json_encode($context)); + + return true; + }); + } + + // ───────────────────────────────────────────── + // 큐 처리 (sync=true 아님) + // ───────────────────────────────────────────── + + #[Test] + public function 리스너는_sync_가_아니라_큐로_디스패치된다(): void + { + // 외부 발급 API 호출을 입금확인 트랜잭션에 묶으면 입금확인 자체가 실패한다. + $this->assertArrayNotHasKey( + 'sync', + IssueCashReceiptOnDepositListener::getSubscribedHooks()['sirsoft-ecommerce.order.after_payment_complete'], + 'sync 를 명시하면 안 된다 (기본 큐 처리)', + ); + + Queue::fake(); + HookListenerRegistrar::register(IssueCashReceiptOnDepositListener::class); + + $order = $this->makeRequestedOrder(); + HookManager::doAction('sirsoft-ecommerce.order.after_payment_complete', $order); + + Queue::assertPushed( + DispatchHookListenerJob::class, + fn ($job) => $job->listenerClass === IssueCashReceiptOnDepositListener::class + && $job->method === 'handleDeposit', + ); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/PurgeCashReceiptIdentifierListenerTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/PurgeCashReceiptIdentifierListenerTest.php new file mode 100644 index 00000000..0b17afbf --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/PurgeCashReceiptIdentifierListenerTest.php @@ -0,0 +1,160 @@ +setSetting('order_settings.cash_receipt_provider', self::PROVIDER); + } + + private function registerProvider(): void + { + HookManager::addFilter( + 'sirsoft-ecommerce.cash_receipt.issue', + fn (array $result, Order $order, string $provider, array $payload) => $provider === self::PROVIDER + ? [ + 'success' => true, + 'error_code' => null, + 'error_message' => null, + 'receipt_key' => 'receipt-1', + 'receipt_url' => 'https://example.test/receipt/receipt-1', + 'issue_number' => '12345678', + 'raw_response' => null, + ] + : $result, + ); + } + + private function makeIssuedOrder(): Order + { + $order = Order::factory()->create([ + 'total_amount' => 11000, + 'total_cash_equivalent_amount' => 11000, + 'total_tax_amount' => 11000, + 'total_tax_free_amount' => 0, + ]); + + OrderPayment::factory()->create([ + 'order_id' => $order->id, + 'payment_method' => PaymentMethodEnum::DBANK, + 'payment_status' => PaymentStatusEnum::PAID, + ]); + + $order = $order->fresh(); + + app(CashReceiptService::class)->issue( + $order, + CashReceiptType::INCOME, + self::IDENTIFIER, + CashReceiptIdentifierType::PHONE, + ); + + return $order->fresh(); + } + + private function listener(): PurgeCashReceiptIdentifierListener + { + return app(PurgeCashReceiptIdentifierListener::class); + } + + #[Test] + public function 구매확정_훅을_구독한다(): void + { + $hooks = PurgeCashReceiptIdentifierListener::getSubscribedHooks(); + + $this->assertArrayHasKey('sirsoft-ecommerce.order.after_purchase_confirmed', $hooks); + $this->assertSame('purgeIdentifier', $hooks['sirsoft-ecommerce.order.after_purchase_confirmed']['method']); + } + + #[Test] + public function 암호문은_지워지고_이력과_영수증_ur_l과_마스킹은_유지된다(): void + { + $this->registerProvider(); + $order = $this->makeIssuedOrder(); + + // 사전 조건: 암호문이 저장되어 있다 + $this->assertSame(self::IDENTIFIER, $order->payment->cash_receipt_identifier_encrypted); + + $this->listener()->purgeIdentifier($order); + + $payment = $order->fresh()->payment; + $this->assertNull($payment->cash_receipt_identifier_encrypted, '암호문은 폐기되어야 한다'); + + // 국세청 신고 근거는 유지된다 + $this->assertTrue((bool) $payment->is_cash_receipt_issued); + $this->assertSame('*******5678', $payment->cash_receipt_identifier); + + $receipt = OrderCashReceipt::where('order_id', $order->id)->latest('id')->first(); + $this->assertNotNull($receipt); + $this->assertSame('https://example.test/receipt/receipt-1', $receipt->receipt_url); + $this->assertSame('*******5678', $receipt->identifier_masked); + } + + #[Test] + public function 폐기_후_재발급하려면_식별번호를_다시_입력해야_한다(): void + { + // 암호문이 없으면 syncFromOrder 는 재발급을 시도하지 않고 FAILED 이력만 남긴다 (조용한 실패 금지). + $this->registerProvider(); + $order = $this->makeIssuedOrder(); + $this->listener()->purgeIdentifier($order); + + $order->fresh()->update(['total_cash_equivalent_amount' => 5500, 'total_tax_amount' => 5500]); + + app(CashReceiptService::class)->syncFromOrder($order->fresh(), '부분환불'); + + $failed = OrderCashReceipt::where('order_id', $order->id) + ->where('error_code', 'IDENTIFIER_UNAVAILABLE') + ->first(); + + $this->assertNotNull($failed, '식별번호 부재 실패 이력이 남아야 한다'); + } + + #[Test] + public function 중복_확정에도_안전하다(): void + { + $this->registerProvider(); + $order = $this->makeIssuedOrder(); + + $this->listener()->purgeIdentifier($order); + $this->listener()->purgeIdentifier($order->fresh()); + + $this->assertNull($order->fresh()->payment->cash_receipt_identifier_encrypted); + } + + #[Test] + public function 결제_레코드가_없어도_예외를_던지지_않는다(): void + { + $order = Order::factory()->create(); + + $this->listener()->purgeIdentifier($order); + + $this->assertTrue(true); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Resources/CashReceiptResourceTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Resources/CashReceiptResourceTest.php new file mode 100644 index 00000000..3ac7a130 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Resources/CashReceiptResourceTest.php @@ -0,0 +1,230 @@ +issueShouldFail = false; + $this->receiptSequence = 0; + + app(EcommerceSettingsService::class)->setSetting('order_settings.cash_receipt_provider', self::PROVIDER); + } + + private function registerProvider(): void + { + HookManager::addFilter( + 'sirsoft-ecommerce.cash_receipt.issue', + function (array $result, Order $order, string $provider, array $payload) { + if ($provider !== self::PROVIDER) { + return $result; + } + + if ($this->issueShouldFail) { + return [ + 'success' => false, + 'error_code' => 'PROVIDER_ERROR', + 'error_message' => '발급 실패', + 'receipt_key' => null, + 'receipt_url' => null, + 'issue_number' => null, + 'raw_response' => null, + ]; + } + + $key = 'receipt-'.(++$this->receiptSequence); + + return [ + 'success' => true, + 'error_code' => null, + 'error_message' => null, + 'receipt_key' => $key, + 'receipt_url' => "https://example.test/receipt/{$key}", + 'issue_number' => '12345678', + // 원응답에 민감 정보가 섞여 와도 리소스는 노출하지 않아야 한다. + 'raw_response' => ['customerIdentityNumber' => self::IDENTIFIER], + ]; + }, + ); + } + + private function makeOrder(): Order + { + $order = Order::factory()->create([ + 'total_amount' => 11000, + 'total_cash_equivalent_amount' => 11000, + 'total_tax_amount' => 11000, + 'total_tax_free_amount' => 0, + ]); + + OrderPayment::factory()->forOrder($order)->create([ + 'payment_method' => PaymentMethodEnum::DBANK, + 'payment_status' => PaymentStatusEnum::PAID, + 'receipt_url' => 'https://pg.example.test/slip/1', + ]); + + return $order->fresh(); + } + + /** + * 관계를 로드한 뒤 OrderResource 의 현금영수증 관련 필드만 직렬화합니다. + * + * 주문 리소스 전체를 json_encode 하면 미로드 관계(shippingAddress 등)의 리소스가 + * null 을 만나 터진다 — 본 테스트의 관심사가 아니므로 해당 필드만 뽑아 직렬화한다. + * + * @return array{payment: array, cash_receipt: array|null, cash_receipts: array} + */ + private function resourceArray(Order $order): array + { + $order = $order->fresh(); + $order->load(['payment', 'cashReceipts']); + + $request = Request::create('/'); + $array = (new OrderResource($order))->toArray($request); + + return [ + 'payment' => json_decode(json_encode($array['payment']), true), + 'cash_receipt' => json_decode(json_encode($array['cash_receipt']), true), + 'cash_receipts' => json_decode(json_encode($array['cash_receipts']), true), + ]; + } + + #[Test] + public function 현금영수증_발급이_결제영수증_주소를_덮어쓰지_않는다(): void + { + // payment.receipt_url = PG 매출전표, cash_receipts.receipt_url = 현금영수증. + // 한 컬럼이 두 의미를 갖지 않도록 서로 침범하지 않아야 한다. + $this->registerProvider(); + $order = $this->makeOrder(); + app(CashReceiptService::class)->issue( + $order, CashReceiptType::INCOME, self::IDENTIFIER, CashReceiptIdentifierType::PHONE, + ); + + $payment = $order->fresh()->payment; + $array = json_decode(json_encode( + (new OrderPaymentResource($payment))->toArray(Request::create('/')) + ), true); + + $this->assertSame('https://pg.example.test/slip/1', $array['receipt_url'], 'PG 매출전표가 보존되어야 한다'); + $this->assertSame('https://pg.example.test/slip/1', $array['pg_receipt_url']); + $this->assertTrue($array['is_cash_receipt_issued']); + $this->assertSame('*******5678', $array['cash_receipt_identifier']); + $this->assertNotNull($array['cash_receipt_issued_at']); + + // 평문·암호문은 어디에도 없어야 한다 + $this->assertStringNotContainsString(self::IDENTIFIER, json_encode($array)); + $this->assertArrayNotHasKey('cash_receipt_identifier_encrypted', $array); + } + + #[Test] + public function 주문_리소스가_결제영수증과_현금영수증을_따로_노출한다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(); + app(CashReceiptService::class)->issue( + $order, CashReceiptType::INCOME, self::IDENTIFIER, CashReceiptIdentifierType::PHONE, + ); + + $array = $this->resourceArray($order); + + // 두 영수증이 각각 다른 경로로 조회된다 (복합결제 도입 시 두 버튼을 동시 노출 가능) + $this->assertSame('https://pg.example.test/slip/1', $array['payment']['pg_receipt_url']); + + $this->assertNotNull($array['cash_receipt']); + $this->assertSame('https://example.test/receipt/receipt-1', $array['cash_receipt']['receipt_url']); + $this->assertSame('*******5678', $array['cash_receipt']['identifier_masked']); + $this->assertSame(CashReceiptType::INCOME->value, $array['cash_receipt']['receipt_type']); + } + + #[Test] + public function 발급_이력이_없으면_활성_영수증은_null_이다(): void + { + $order = $this->makeOrder(); + + $array = $this->resourceArray($order); + + $this->assertNull($array['cash_receipt']); + $this->assertCount(0, $array['cash_receipts']); + } + + #[Test] + public function 재발급_실패_상태는_활성없음_과_실패이력으로_드러난다(): void + { + // 관리자 화면의 "경고 배지 + 수동 재발급" 판정 근거. + $this->registerProvider(); + $order = $this->makeOrder(); + $service = app(CashReceiptService::class); + $service->issue($order, CashReceiptType::INCOME, self::IDENTIFIER, CashReceiptIdentifierType::PHONE); + + HookManager::addFilter( + 'sirsoft-ecommerce.cash_receipt.cancel', + fn (array $result, Order $order, string $provider, string $receiptKey) => [ + 'success' => true, 'error_code' => null, 'error_message' => null, + 'receipt_key' => $receiptKey, 'raw_response' => null, + ], + ); + + $this->issueShouldFail = true; + $order->fresh()->update(['total_cash_equivalent_amount' => 5500, 'total_tax_amount' => 5500]); + $service->syncFromOrder($order->fresh(), '부분환불'); + + $array = $this->resourceArray($order); + + $this->assertNull($array['cash_receipt'], '활성 영수증이 없어야 한다'); + + // 최신순: 실패한 발급 → 취소 → 최초 발급 + $ledger = $array['cash_receipts']; + $this->assertCount(3, $ledger); + $this->assertSame(CashReceiptIssueStatus::FAILED->value, $ledger[0]['issue_status']); + $this->assertSame('PROVIDER_ERROR', $ledger[0]['error_code']); + } + + #[Test] + public function 리소스는_프로바이더_원응답을_노출하지_않는다(): void + { + $this->registerProvider(); + $order = $this->makeOrder(); + app(CashReceiptService::class)->issue( + $order, CashReceiptType::INCOME, self::IDENTIFIER, CashReceiptIdentifierType::PHONE, + ); + + $array = $this->resourceArray($order); + + $this->assertArrayNotHasKey('raw_response', $array['cash_receipt']); + $this->assertStringNotContainsString(self::IDENTIFIER, json_encode($array['cash_receipt'])); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Rules/CashReceiptIdentifierTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Rules/CashReceiptIdentifierTest.php new file mode 100644 index 00000000..b5c6811b --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Rules/CashReceiptIdentifierTest.php @@ -0,0 +1,203 @@ + $value], + ['identifier' => [new CashReceiptIdentifier($type, $identifierType)]], + ); + + return $validator->passes(); + } + + // ───────────────────────────────────────────── + // 용도 × 식별번호 종류 조합 매트릭스 + // ───────────────────────────────────────────── + + /** + * @return array + */ + public static function combinationMatrix(): array + { + // 사업자번호 1078648269 는 체크섬 유효값 (아래 별도 테스트에서 고정) + return [ + '소득공제 + 휴대폰' => [CashReceiptType::INCOME, CashReceiptIdentifierType::PHONE, '01012345678', true], + '소득공제 + 현금영수증카드' => [CashReceiptType::INCOME, CashReceiptIdentifierType::CARD, '1234567890123', true], + '소득공제 + 사업자번호(거부)' => [CashReceiptType::INCOME, CashReceiptIdentifierType::BUSINESS, '1078648269', false], + '지출증빙 + 사업자번호' => [CashReceiptType::EXPENSE, CashReceiptIdentifierType::BUSINESS, '1078648269', true], + // 팝빌 발행유형 가이드 — 지출증빙에도 휴대폰번호 사용 가능 + '지출증빙 + 휴대폰(허용)' => [CashReceiptType::EXPENSE, CashReceiptIdentifierType::PHONE, '01012345678', true], + '지출증빙 + 현금영수증카드' => [CashReceiptType::EXPENSE, CashReceiptIdentifierType::CARD, '1234567890123', true], + ]; + } + + #[Test] + #[DataProvider('combinationMatrix')] + public function 용도와_식별번호_종류_조합을_검증한다( + CashReceiptType $type, + CashReceiptIdentifierType $identifierType, + string $value, + bool $expected, + ): void { + $this->assertSame($expected, $this->passes($type, $identifierType, $value)); + } + + // ───────────────────────────────────────────── + // 자진발급 지정번호 (소득공제 전용) + // ───────────────────────────────────────────── + + #[Test] + public function 자진발급_지정번호는_소득공제용으로_허용된다(): void + { + $this->assertTrue($this->passes( + CashReceiptType::INCOME, + CashReceiptIdentifierType::PHONE, + CashReceiptIdentifierType::SELF_ISSUE_NUMBER, + )); + } + + #[Test] + public function 자진발급_지정번호는_지출증빙용으로_거부된다(): void + { + // 지출증빙 자진발급은 제도상 불가하다. + $this->assertFalse($this->passes( + CashReceiptType::EXPENSE, + CashReceiptIdentifierType::PHONE, + CashReceiptIdentifierType::SELF_ISSUE_NUMBER, + )); + } + + // ───────────────────────────────────────────── + // 사업자등록번호 체크섬 + // ───────────────────────────────────────────── + + /** + * @return array + */ + public static function businessNumbers(): array + { + return [ + '유효 체크섬 1' => ['1078648269', true], + '유효 체크섬 2' => ['2208162517', true], + '체크섬 불일치 (마지막 자리 오류)' => ['1078648260', false], + '자릿수 부족' => ['107864826', false], + '자릿수 초과' => ['10786482690', false], + '숫자 아님' => ['107864826a', false], + // 세무서 코드 000 은 체크섬을 수학적으로 만족하지만 발급될 수 없는 번호다. + '세무서 코드 000' => ['0000000000', false], + ]; + } + + #[Test] + #[DataProvider('businessNumbers')] + public function 사업자등록번호_체크섬을_검증한다(string $number, bool $expected): void + { + $this->assertSame( + $expected, + $this->passes(CashReceiptType::EXPENSE, CashReceiptIdentifierType::BUSINESS, $number), + ); + } + + // ───────────────────────────────────────────── + // 형식 검증 (휴대폰 / 카드번호) + // ───────────────────────────────────────────── + + /** + * @return array + */ + public static function phoneNumbers(): array + { + return [ + '010 11자리' => ['01012345678', true], + '011 10자리' => ['0111234567', true], + '016/017/018/019' => ['01612345678', true], + '012 (미지원 국번)' => ['01212345678', false], + '02 지역번호' => ['0212345678', false], + '자릿수 부족' => ['010123456', false], + '자릿수 초과' => ['010123456789', false], + ]; + } + + #[Test] + #[DataProvider('phoneNumbers')] + public function 휴대폰번호_형식을_검증한다(string $number, bool $expected): void + { + $this->assertSame( + $expected, + $this->passes(CashReceiptType::INCOME, CashReceiptIdentifierType::PHONE, $number), + ); + } + + /** + * @return array + */ + public static function cardNumbers(): array + { + return [ + '13자리 (최소)' => ['1234567890123', true], + '19자리 (최대)' => ['1234567890123456789', true], + '12자리 (미달)' => ['123456789012', false], + '20자리 (초과)' => ['12345678901234567890', false], + '숫자 아님' => ['123456789012a', false], + ]; + } + + #[Test] + #[DataProvider('cardNumbers')] + public function 현금영수증_카드번호_형식을_검증한다(string $number, bool $expected): void + { + $this->assertSame( + $expected, + $this->passes(CashReceiptType::INCOME, CashReceiptIdentifierType::CARD, $number), + ); + } + + // ───────────────────────────────────────────── + // 정규화 / 방어 + // ───────────────────────────────────────────── + + #[Test] + public function 하이픈과_공백은_제거된_뒤_검증된다(): void + { + $this->assertTrue($this->passes(CashReceiptType::INCOME, CashReceiptIdentifierType::PHONE, '010-1234-5678')); + $this->assertTrue($this->passes(CashReceiptType::EXPENSE, CashReceiptIdentifierType::BUSINESS, '107-86-48269')); + $this->assertTrue($this->passes(CashReceiptType::INCOME, CashReceiptIdentifierType::PHONE, '010 1234 5678')); + } + + #[Test] + public function normalize_는_하이픈과_공백만_제거한다(): void + { + $this->assertSame('01012345678', CashReceiptIdentifier::normalize('010-1234-5678')); + $this->assertSame('1078648269', CashReceiptIdentifier::normalize('107-86-48269')); + $this->assertSame('01012345678', CashReceiptIdentifier::normalize(' 010 1234 5678 ')); + } + + #[Test] + public function 용도나_종류가_해석되지_않으면_형식검증을_건너뛴다(): void + { + // receipt_type / identifier_type 의 in: 규칙이 이미 오류를 낸 상황 — 중복 오류를 내지 않는다. + $this->assertTrue($this->passes(null, CashReceiptIdentifierType::PHONE, '완전히잘못된값')); + $this->assertTrue($this->passes(CashReceiptType::INCOME, null, '완전히잘못된값')); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptCancellationSyncTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptCancellationSyncTest.php new file mode 100644 index 00000000..57ed78b2 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptCancellationSyncTest.php @@ -0,0 +1,430 @@ +issueShouldFail = false; + $this->receiptSequence = 0; + + app(EcommerceSettingsService::class)->setSetting('order_settings.cash_receipt_provider', self::PROVIDER); + } + + /** + * 발급/취소 프로바이더 리스너를 등록합니다. + */ + private function registerProvider(): void + { + HookManager::addFilter( + 'sirsoft-ecommerce.cash_receipt.issue', + function (array $result, Order $order, string $provider, array $payload) { + if ($provider !== self::PROVIDER) { + return $result; + } + + if ($this->issueShouldFail) { + return [ + 'success' => false, + 'error_code' => 'PROVIDER_ERROR', + 'error_message' => '발급 실패', + 'receipt_key' => null, + 'receipt_url' => null, + 'issue_number' => null, + 'raw_response' => null, + ]; + } + + $key = 'receipt-'.(++$this->receiptSequence); + + return [ + 'success' => true, + 'error_code' => null, + 'error_message' => null, + 'receipt_key' => $key, + 'receipt_url' => "https://example.test/receipt/{$key}", + 'issue_number' => '12345678', + 'raw_response' => null, + ]; + }, + ); + + HookManager::addFilter( + 'sirsoft-ecommerce.cash_receipt.cancel', + fn (array $result, Order $order, string $provider, string $receiptKey) => $provider === self::PROVIDER + ? [ + 'success' => true, + 'error_code' => null, + 'error_message' => null, + 'receipt_key' => $receiptKey, + 'raw_response' => null, + ] + : $result, + ); + } + + /** + * 현금영수증이 발급된 무통장 결제완료 주문(옵션 2개)을 생성합니다. + * + * @return array{order: Order, options: array} + */ + private function makeIssuedOrder(int $unitPrice = 10000, int $optionCount = 2): array + { + $total = $unitPrice * $optionCount; + + $order = Order::factory()->create([ + 'user_id' => User::factory()->create()->id, + 'order_status' => OrderStatusEnum::PAYMENT_COMPLETE, + 'subtotal_amount' => $total, + 'total_amount' => $total, + 'total_paid_amount' => $total, + 'total_due_amount' => 0, + 'total_cancelled_amount' => 0, + 'cancellation_count' => 0, + 'paid_at' => now(), + 'promotions_applied_snapshot' => [], + 'shipping_policy_applied_snapshot' => [], + // 무통장 실입금액 = 전액 현금성. 전액 과세. + 'total_cash_equivalent_amount' => $total, + 'total_tax_amount' => $total, + 'total_tax_free_amount' => 0, + ]); + + $snapshot = [ + 'product_snapshot' => [ + 'id' => null, 'name' => ['ko' => 't', 'en' => 't'], 'product_code' => null, + 'sku' => null, 'brand_id' => null, 'list_price' => $unitPrice, 'selling_price' => $unitPrice, + 'currency_code' => 'KRW', 'stock_quantity' => 100, 'tax_status' => 'taxable', + 'tax_rate' => 10, 'has_options' => false, 'option_groups' => null, 'thumbnail_url' => null, + ], + 'option_snapshot' => [ + 'id' => null, 'option_code' => null, 'option_values' => null, 'option_name' => 't', + 'price_adjustment' => 0, 'list_price' => $unitPrice, 'selling_price' => $unitPrice, + 'currency_code' => 'KRW', 'stock_quantity' => 100, 'weight' => 0, 'volume' => 0, + ], + ]; + + $options = []; + for ($i = 0; $i < $optionCount; $i++) { + $options[] = OrderOption::factory()->forOrder($order)->create(array_merge([ + 'quantity' => 1, + 'unit_price' => $unitPrice, + 'subtotal_price' => $unitPrice, + 'subtotal_paid_amount' => $unitPrice, + 'subtotal_discount_amount' => 0, + 'option_status' => OrderStatusEnum::PAYMENT_COMPLETE, + ], $snapshot)); + } + + OrderPayment::factory()->forOrder($order)->create([ + 'payment_method' => PaymentMethodEnum::DBANK, + 'payment_status' => PaymentStatusEnum::PAID, + 'paid_amount_local' => $total, + 'paid_amount_base' => $total, + 'paid_at' => now(), + ]); + + $order = $order->fresh(); + + app(CashReceiptService::class)->issue( + $order, + CashReceiptType::INCOME, + self::IDENTIFIER, + CashReceiptIdentifierType::PHONE, + ); + + return ['order' => $order->fresh(), 'options' => $options]; + } + + private function activeReceipt(Order $order): ?OrderCashReceipt + { + return app(CashReceiptService::class)->findActiveReceipt($order->fresh()); + } + + #[Test] + public function 부분취소시_전체취소_후_잔여금액으로_재발급된다(): void + { + $this->registerProvider(); + ['order' => $order, 'options' => $options] = $this->makeIssuedOrder(10000, 2); + + $this->assertSame(20000, (int) $this->activeReceipt($order)->amount); + + app(OrderCancellationService::class)->cancelOrderOptions( + order: $order, + cancelItems: [['order_option_id' => $options[0]->id, 'cancel_quantity' => 1]], + reason: '단순변심', + reasonDetail: null, + cancelledBy: null, + cancelPg: false, + ); + + $active = $this->activeReceipt($order); + $this->assertNotNull($active, '잔여 금액에 대한 영수증이 재발급되어야 한다'); + $this->assertSame(10000, (int) $active->amount, '잔여 10000원으로 재발급'); + $this->assertSame(CashReceiptType::INCOME, $active->receipt_type, '발급 용도가 유지된다'); + + // 원장: 최초 발급 + 전체취소 + 재발급 = 3행 + $this->assertSame(3, OrderCashReceipt::where('order_id', $order->id)->count()); + } + + #[Test] + public function 전액취소시_영수증은_전체취소만_되고_재발급되지_않는다(): void + { + $this->registerProvider(); + ['order' => $order] = $this->makeIssuedOrder(10000, 2); + + app(OrderCancellationService::class)->cancelOrder( + order: $order, + reason: '단순변심', + reasonDetail: null, + cancelledBy: null, + cancelPg: false, + ); + + $this->assertNull($this->activeReceipt($order), '활성 영수증이 없어야 한다'); + + $cancelRow = OrderCashReceipt::where('order_id', $order->id) + ->where('transaction_type', CashReceiptTransactionType::CANCEL) + ->first(); + $this->assertNotNull($cancelRow); + $this->assertSame(CashReceiptIssueStatus::COMPLETED, $cancelRow->issue_status); + } + + #[Test] + public function 취소는_성공하고_재발급만_실패해도_주문취소_트랜잭션은_롤백되지_않는다(): void + { + $this->registerProvider(); + ['order' => $order, 'options' => $options] = $this->makeIssuedOrder(10000, 2); + + // 최초 발급은 성공했고, 재발급 시점부터 프로바이더가 실패한다. + $this->issueShouldFail = true; + + app(OrderCancellationService::class)->cancelOrderOptions( + order: $order, + cancelItems: [['order_option_id' => $options[0]->id, 'cancel_quantity' => 1]], + reason: '단순변심', + reasonDetail: null, + cancelledBy: null, + cancelPg: false, + ); + + // (a) 주문 취소는 확정되어 있어야 한다 + $this->assertSame(1, OrderCancel::where('order_id', $order->id)->count(), '취소 레코드가 남아야 한다'); + $this->assertSame( + OrderStatusEnum::CANCELLED, + $options[0]->fresh()->option_status, + '취소된 옵션 상태가 확정되어야 한다', + ); + + // (b) 이력 2행: 전체취소 COMPLETED + 재발급 FAILED + $cancelRow = OrderCashReceipt::where('order_id', $order->id) + ->where('transaction_type', CashReceiptTransactionType::CANCEL) + ->first(); + $this->assertNotNull($cancelRow); + $this->assertSame(CashReceiptIssueStatus::COMPLETED, $cancelRow->issue_status); + + $failedIssue = OrderCashReceipt::where('order_id', $order->id) + ->where('transaction_type', CashReceiptTransactionType::ISSUE) + ->where('issue_status', CashReceiptIssueStatus::FAILED) + ->first(); + $this->assertNotNull($failedIssue, '재발급 실패 이력이 원장에 남아야 한다'); + $this->assertSame('PROVIDER_ERROR', $failedIssue->error_code); + + // (c) 활성 영수증 없음 → 관리자 수동 재발급 경로가 열린다 + $this->assertNull($this->activeReceipt($order)); + } + + #[Test] + public function 프로바이더가_예외를_던져도_주문취소는_확정된다(): void + { + // syncFromOrder 는 이미 커밋된 취소를 되돌릴 수 없다 — 예외를 삼키고 로그만 남긴다. + HookManager::addFilter( + 'sirsoft-ecommerce.cash_receipt.issue', + fn (array $result, Order $order, string $provider, array $payload) => $provider === self::PROVIDER + ? [ + 'success' => true, 'error_code' => null, 'error_message' => null, + 'receipt_key' => 'receipt-1', 'receipt_url' => 'https://example.test/r/1', + 'issue_number' => '1', 'raw_response' => null, + ] + : $result, + ); + HookManager::addFilter('sirsoft-ecommerce.cash_receipt.cancel', function () { + throw new \RuntimeException('PG 통신 실패'); + }); + + ['order' => $order, 'options' => $options] = $this->makeIssuedOrder(10000, 2); + + app(OrderCancellationService::class)->cancelOrderOptions( + order: $order, + cancelItems: [['order_option_id' => $options[0]->id, 'cancel_quantity' => 1]], + reason: '단순변심', + reasonDetail: null, + cancelledBy: null, + cancelPg: false, + ); + + $this->assertSame(1, OrderCancel::where('order_id', $order->id)->count(), '주문 취소는 확정되어야 한다'); + } + + #[Test] + public function 발급_이력이_없는_주문의_취소는_영수증을_건드리지_않는다(): void + { + $this->registerProvider(); + ['order' => $order, 'options' => $options] = $this->makeIssuedOrder(10000, 2); + + // 발급 이력을 지우고 취소 — syncFromOrder 는 no-op 이어야 한다. + OrderCashReceipt::where('order_id', $order->id)->delete(); + + app(OrderCancellationService::class)->cancelOrderOptions( + order: $order, + cancelItems: [['order_option_id' => $options[0]->id, 'cancel_quantity' => 1]], + reason: '단순변심', + reasonDetail: null, + cancelledBy: null, + cancelPg: false, + ); + + $this->assertSame(0, OrderCashReceipt::where('order_id', $order->id)->count()); + } + + // ───────────────────────────────────────────── + // recoverFailedIssue() — 관리자 수동 복구 + // ───────────────────────────────────────────── + + /** + * "취소 성공 + 재발급 실패" 중간 상태를 만듭니다. + * + * @return Order 활성 영수증이 사라진 주문 + */ + private function makeReissueFailedState(): Order + { + ['order' => $order, 'options' => $options] = $this->makeIssuedOrder(10000, 2); + + $this->issueShouldFail = true; + + app(OrderCancellationService::class)->cancelOrderOptions( + order: $order, + cancelItems: [['order_option_id' => $options[0]->id, 'cancel_quantity' => 1]], + reason: '단순변심', + reasonDetail: null, + cancelledBy: null, + cancelPg: false, + ); + + $this->assertNull($this->activeReceipt($order), '사전 조건: 활성 영수증이 없어야 한다'); + + return $order->fresh(); + } + + #[Test] + public function recover_는_재발급_실패_상태를_잔여금액으로_복구한다(): void + { + // syncFromOrder 는 활성 영수증이 없으면 no-op 이므로 이 상태를 복구하지 못한다. + $this->registerProvider(); + $order = $this->makeReissueFailedState(); + + $this->issueShouldFail = false; + + $receipt = app(CashReceiptService::class)->recoverFailedIssue($order->fresh()); + + $this->assertNotNull($receipt); + $this->assertSame(10000, (int) $receipt->amount, '잔여 금액으로 발급되어야 한다'); + $this->assertSame(CashReceiptType::INCOME, $receipt->receipt_type, '최초 발급 용도를 유지한다'); + $this->assertSame(CashReceiptIssueStatus::COMPLETED, $receipt->issue_status); + } + + #[Test] + public function recover_는_활성_영수증이_있으면_금액_동기화로_위임한다(): void + { + $this->registerProvider(); + ['order' => $order] = $this->makeIssuedOrder(10000, 2); + + // 금액만 바뀐 상태 (취소 없이 직접 조작) + $order->fresh()->update(['total_cash_equivalent_amount' => 5000, 'total_tax_amount' => 5000]); + + $receipt = app(CashReceiptService::class)->recoverFailedIssue($order->fresh()); + + $this->assertNotNull($receipt); + $this->assertSame(5000, (int) $receipt->amount); + } + + #[Test] + public function recover_는_암호문이_폐기되었으면_실패이력만_남기고_발급하지_않는다(): void + { + // 구매확정으로 암호문이 폐기된 경우 — 관리자가 식별번호를 재입력해야 한다. + $this->registerProvider(); + $order = $this->makeReissueFailedState(); + $this->issueShouldFail = false; + + app(CashReceiptService::class)->purgeIdentifier($order->fresh()); + + $receipt = app(CashReceiptService::class)->recoverFailedIssue($order->fresh()); + + $this->assertNull($receipt); + $this->assertNotNull( + OrderCashReceipt::where('order_id', $order->id)->where('error_code', 'IDENTIFIER_UNAVAILABLE')->first(), + '식별번호 부재 실패 이력이 남아야 한다', + ); + } + + #[Test] + public function recover_는_발급_시도_이력이_없으면_아무것도_하지_않는다(): void + { + // 복구가 아니라 신규 발급이다 — issue() 를 써야 한다. + $this->registerProvider(); + ['order' => $order] = $this->makeIssuedOrder(10000, 2); + OrderCashReceipt::where('order_id', $order->id)->delete(); + + $this->assertNull(app(CashReceiptService::class)->recoverFailedIssue($order->fresh())); + $this->assertSame(0, OrderCashReceipt::where('order_id', $order->id)->count()); + } + + #[Test] + public function recover_는_발급대상_금액이_0이면_아무것도_하지_않는다(): void + { + // 전액 환불된 주문 — 활성 영수증이 없는 것이 정상 결과다. + $this->registerProvider(); + $order = $this->makeReissueFailedState(); + $order->fresh()->update(['total_cash_equivalent_amount' => 0]); + + $this->assertNull(app(CashReceiptService::class)->recoverFailedIssue($order->fresh())); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptHookFiringTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptHookFiringTest.php new file mode 100644 index 00000000..30887b7d --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptHookFiringTest.php @@ -0,0 +1,210 @@ + 발화된 훅 인자 기록 */ + private array $fired = []; + + protected function setUp(): void + { + parent::setUp(); + + $this->fired = []; + } + + /** + * 훅 발화를 기록합니다. + */ + private function capture(string $hook): void + { + HookManager::addAction($hook, function (...$args) { + $this->fired[] = $args; + }); + } + + /** + * 무통장 미결제 주문을 생성합니다. + */ + private function makeUnpaidDbankOrder(int $due = 11000): Order + { + $order = Order::factory()->create([ + 'order_status' => OrderStatusEnum::PAYMENT_COMPLETE, + 'total_amount' => $due, + 'total_due_amount' => $due, + 'subtotal_amount' => $due, + 'base_shipping_amount' => 0, + 'extra_shipping_amount' => 0, + 'shipping_discount_amount' => 0, + 'total_product_coupon_discount_amount' => 0, + 'total_order_coupon_discount_amount' => 0, + 'total_code_discount_amount' => 0, + 'total_points_used_amount' => 0, + ]); + + OrderPayment::factory()->create([ + 'order_id' => $order->id, + 'payment_method' => PaymentMethodEnum::DBANK, + 'payment_status' => PaymentStatusEnum::WAITING_DEPOSIT, + ]); + + return $order->fresh(); + } + + // ───────────────────────────────────────────── + // order.after_deposit_recorded + // ───────────────────────────────────────────── + + #[Test] + public function 입금만_기록_경로에서_after_deposit_recorded_가_발화한다(): void + { + $this->capture('sirsoft-ecommerce.order.after_deposit_recorded'); + + $order = $this->makeUnpaidDbankOrder(11000); + + // markOrderComplete = false → completePayment 를 타지 않고 recordDepositPayment 만 수행 + app(OrderProcessingService::class)->confirmManualDeposit($order, 11000.0, '홍길동', false); + + $this->assertCount(1, $this->fired, 'after_deposit_recorded 가 1회 발화해야 한다'); + $this->assertInstanceOf(Order::class, $this->fired[0][0]); + $this->assertSame($order->id, $this->fired[0][0]->id); + $this->assertSame(11000.0, $this->fired[0][1]); + + // 결제 레코드는 PAID 로 정합화된다 + $this->assertSame(PaymentStatusEnum::PAID, $order->fresh()->payment->payment_status); + } + + #[Test] + public function 결제완료_전이_경로에서는_after_deposit_recorded_가_발화하지_않는다(): void + { + // markOrderComplete=true 이고 주문이 아직 결제완료가 아니면 completePayment 에 위임되고, + // 그 경로는 after_payment_complete 를 발화한다 (입금 기록 훅은 발화하지 않는다). + $this->capture('sirsoft-ecommerce.order.after_deposit_recorded'); + $this->capture('sirsoft-ecommerce.order.after_payment_complete'); + + $order = $this->makeUnpaidDbankOrder(11000); + $order->update(['order_status' => OrderStatusEnum::PENDING_PAYMENT]); + + app(OrderProcessingService::class)->confirmManualDeposit($order->fresh(), 11000.0, null, true); + + // capture 는 두 훅을 같은 배열에 모으므로, 발화한 것이 결제완료 훅뿐인지 확인한다. + $this->assertCount(1, $this->fired, 'after_payment_complete 만 1회 발화해야 한다'); + } + + // ───────────────────────────────────────────── + // order.after_purchase_confirmed + // ───────────────────────────────────────────── + + /** + * 확정 가능한 옵션 1개짜리 주문을 만듭니다. + */ + private function makeConfirmableOrder(): array + { + $order = Order::factory()->create([ + 'order_status' => OrderStatusEnum::DELIVERED, + 'confirmed_at' => null, + ]); + + $option = OrderOption::factory()->create([ + 'order_id' => $order->id, + 'option_status' => OrderStatusEnum::DELIVERED, + 'confirmed_at' => null, + ]); + + return [$order->fresh(), $option->fresh()]; + } + + #[Test] + public function 유저_셀프_구매확정시_after_purchase_confirmed_가_발화한다(): void + { + $this->capture('sirsoft-ecommerce.order.after_purchase_confirmed'); + + [$order, $option] = $this->makeConfirmableOrder(); + + app(OrderService::class)->confirmOption($order, $option); + + $this->assertCount(1, $this->fired, '구매확정 훅이 1회 발화해야 한다'); + $this->assertSame($order->id, $this->fired[0][0]->id); + $this->assertNotNull($order->fresh()->confirmed_at); + } + + #[Test] + public function 관리자_옵션_일괄확정시에도_after_purchase_confirmed_가_발화한다(): void + { + // OrderOptionService::transitionOrderStatus 경유 경로. + // 유저 셀프 확정(OrderService::confirmOption)과 별개의 발화 지점이므로 따로 검증한다. + $this->capture('sirsoft-ecommerce.order.after_purchase_confirmed'); + + [$order, $option] = $this->makeConfirmableOrder(); + + // 옵션을 확정 상태로 만든 뒤 부모 주문 상태를 파생 동기화한다. + $option->update(['option_status' => OrderStatusEnum::CONFIRMED, 'confirmed_at' => now()]); + app(OrderOptionService::class)->syncParentOrderStatus($order->id); + + $this->assertCount(1, $this->fired, '옵션 일괄확정 경로에서도 구매확정 훅이 1회 발화해야 한다'); + $this->assertSame($order->id, $this->fired[0][0]->id); + $this->assertSame(OrderStatusEnum::CONFIRMED, $order->fresh()->order_status); + $this->assertNotNull($order->fresh()->confirmed_at); + } + + #[Test] + public function 옵션_일괄확정_경로도_confirmed_at_이_있으면_재발화하지_않는다(): void + { + // 멱등: 두 발화 지점 모두 최초 확정 시점을 보존해야 한다. + $this->capture('sirsoft-ecommerce.order.after_purchase_confirmed'); + + [$order, $option] = $this->makeConfirmableOrder(); + $confirmedAt = now()->subDay(); + $order->update(['confirmed_at' => $confirmedAt]); + + $option->update(['option_status' => OrderStatusEnum::CONFIRMED, 'confirmed_at' => now()]); + app(OrderOptionService::class)->syncParentOrderStatus($order->id); + + $this->assertCount(0, $this->fired, '이미 확정된 주문은 훅을 재발화하지 않는다'); + $this->assertSame( + $confirmedAt->toDateTimeString(), + $order->fresh()->confirmed_at->toDateTimeString(), + '최초 확정 시점이 보존되어야 한다', + ); + } + + #[Test] + public function confirmed_at_이_이미_있으면_구매확정_훅이_재발화하지_않는다(): void + { + // 멱등: 최초 확정 시점을 보존하고 훅도 1회만 발화한다. + $this->capture('sirsoft-ecommerce.order.after_purchase_confirmed'); + + [$order, $option] = $this->makeConfirmableOrder(); + $confirmedAt = now()->subDay(); + $order->update(['confirmed_at' => $confirmedAt]); + + app(OrderService::class)->confirmOption($order->fresh(), $option); + + $this->assertCount(0, $this->fired, '이미 확정된 주문은 훅을 재발화하지 않는다'); + $this->assertSame( + $confirmedAt->toDateTimeString(), + $order->fresh()->confirmed_at->toDateTimeString(), + '최초 확정 시점이 보존되어야 한다', + ); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php index f1d23f2c..8cc9b7ac 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php @@ -496,9 +496,10 @@ class CashReceiptServiceTest extends ModuleTestCase $payment = $order->fresh()->payment; $this->assertNull($payment->cash_receipt_identifier_encrypted, '암호문은 폐기되어야 한다'); $this->assertSame('*******5678', $payment->cash_receipt_identifier, '마스킹은 유지'); - $this->assertNotNull($payment->receipt_url, '영수증 URL 은 유지'); - $this->assertNotNull($receipt->fresh()->receipt_url, '이력은 유지'); + // 현금영수증 URL 은 이력 테이블이 보관한다. payment.receipt_url 은 PG 영수증(카드 매출전표) + // 전용 컬럼이므로 현금영수증 발급이 건드리지 않는다. + $this->assertNotNull($receipt->fresh()->receipt_url, '현금영수증 URL 은 이력에 유지'); $this->assertSame(1, OrderCashReceipt::where('order_id', $order->id)->count()); } diff --git a/modules/_bundled/sirsoft-ecommerce/tests/scenarios/cash-receipt-api-and-auto-issue.yaml b/modules/_bundled/sirsoft-ecommerce/tests/scenarios/cash-receipt-api-and-auto-issue.yaml new file mode 100644 index 00000000..1b4c0742 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/scenarios/cash-receipt-api-and-auto-issue.yaml @@ -0,0 +1,165 @@ +# audit:allow test-scenario-coverage reason: | +# cross product 자동 전개는 audit 실행 환경에 js-yaml 부재로 nested axes 를 읽지 못하는 +# 한계로 검출되지 않는다(동일 한계로 다른 번들 시나리오도 audit:allow). 본 변경(S2)은 +# 서버 전용(발급 API · 자동발급 리스너 · 신규 훅 2종 · 금액변동 연동)이며 UI 산출물이 없다. +# 신청/발급 UI 는 S3 범위 — 그 시점에 E2E axis 를 추가한다. +feature: 현금영수증 발급 API · 입금완료 자동발급 · 금액변동 연동 + +description: | + S1 이 만든 CashReceiptService 위에 관리자/유저/비회원 발급 API 와 입금완료 자동발급 리스너를 얹는다. + + 입금이 확인되는 경로는 두 갈래다 — 관리자 결제완료 전이(after_payment_complete)와 + 관리자 "입금만 기록"(after_deposit_recorded, 본 세션 신설). 후자에는 그동안 훅이 하나도 없어 + 자동발급이 통째로 누락되는 구멍이 있었다. 리스너가 두 훅을 모두 구독해 이를 메운다. + + 0원 주문 함정: $isZeroPayable 판정은 결제수단과 무관하게 잔여 결제액만 본다. 따라서 + "무통장 + 전액 마일리지" 0원 주문도 결제완료 훅을 발화시킨다. 발급 가능 판정에 현금성 금액 > 0 을 + 명시적으로 포함해 그 주문에 0원 영수증을 발급하지 않는다(암묵적 귀결에 의존하지 않는다). + + 구매확정 훅(after_purchase_confirmed, 본 세션 신설)이 재발급용 식별번호 암호문을 폐기한다. + 기존 order.after_confirm 은 결제완료 훅이지 구매확정 훅이 아니다(이름만 비슷하다). + + 금액 변동 연동: 주문 취소가 DB 에 확정된 뒤 syncFromOrder() 를 호출한다. 트랜잭션 안에서 부르면 + (a) 재발급 실패 이력이 롤백에 휩쓸려 사라지고 (b) 외부 API 2회 왕복 동안 DB 잠금을 붙들며 + (c) 실제 영수증은 취소됐는데 DB 만 롤백되어 국세청 기록과 어긋난다. + + 발견한 사전 결함(본 세션에서 수정): total_cash_equivalent_amount 가 주문 생성 시에만 기록되고 + 취소 재계산에서 갱신되지 않아 부분환불 후 재발급이 아예 동작하지 않았다. 산정 규칙을 + PaymentMethodEnum::resolveCashEquivalentAmount() 로 SSoT 화하고 취소 재계산이 이를 공유한다. + +axes: + deposit_path: # 입금 확인 경로 — 자동발급 리스너 구독 대상 + - payment_complete # 관리자 결제완료 전이 / 가상계좌 웹훅 → after_payment_complete + - deposit_recorded # 관리자 "입금만 기록" → after_deposit_recorded (신설) + - zero_amount_order # 무통장 + 전액 마일리지 → 훅은 발화하나 발급 금지 + + request_state: # 구매자의 신청 여부 × 자진발급 설정 + - requested # 주문 시 신청 → 저장된 용도·식별번호로 발급 + - not_requested_off # 미신청 + 자진발급 OFF → no-op + - not_requested_on # 미신청 + 자진발급 ON → 0100001234 소득공제 + - requested_undecryptable # 신청했으나 복호화 불가 → 자진발급 대체 금지, 수동 발급 경로 + + issue_actor: # 발급 주체 + - auto_listener # 입금완료 자동 발급 (큐) + - admin # 관리자 사후 발급 / 발급취소 / 재발급 복구 + - member # 회원 본인 사후 발급 (발급취소 불가) + - guest # 비회원 토큰 사후 발급 (발급취소 불가) + + issue_blocker: # 발급 불가 사유 (단일 가드가 판정) + - none # 발급 가능 + - not_cash_payment # 무통장 아님 → 422 + - payment_not_paid # 미입금 → 422 + - already_issued # 이미 발급됨 → 409 + - no_issuable_amount # 현금성 금액 0 → 422 + - provider_not_configured # 프로바이더 미설정 → 422 + + receipt_type: + - income # 소득공제용 + - expense # 지출증빙용 + + identifier_type: + - phone # 휴대폰번호 (소득공제/지출증빙 공통) + - card # 현금영수증 카드번호 (소득공제/지출증빙 공통) + - business # 사업자등록번호 (지출증빙 전용, 체크섬) + - self_issue # 국세청 자진발급 지정번호 (소득공제 전용) + + amount_change: # 금액 변동 → syncFromOrder + - partial_cancel # 부분취소 → 전체취소 + 잔여금액 재발급 + - full_cancel # 전액취소 → 전체취소만 + - no_receipt # 발급 이력 없음 → no-op + + reissue_outcome: # 재발급 결과 (취소는 이미 커밋됨) + - success # 재발급 성공 + - provider_failed # 프로바이더 실패 → FAILED 이력 + 주문취소 유지 + - provider_threw # 프로바이더 예외 → 삼키고 주문취소 유지 + + purchase_confirm_path: # 구매확정 경로 (암호문 폐기 훅) + - user_self # 유저 셀프 확정 (OrderService::confirmOption) + - admin_bulk # 옵션 일괄 확정 → 부모 주문 전이 (OrderOptionService) + - already_confirmed # 재확정 → 훅 미발화(멱등), 최초 확정 시점 보존 + +effects: + # 신규 훅 + - after_deposit_recorded_fires_on_record_only # "입금만 기록" 경로에서 신규 훅 발화 + - after_deposit_recorded_silent_on_complete_path # 결제완료 전이 경로에서는 미발화 + - after_purchase_confirmed_fires_on_first_confirm # confirmed_at 최초 세팅 시 1회만 + - after_purchase_confirmed_idempotent # 재확정 시 미발화 + 최초 확정 시점 보존 + - after_purchase_confirmed_fires_from_both_paths # 유저 셀프 / 옵션 일괄 확정 양 경로 + + # 자동발급 리스너 + - listener_subscribes_both_deposit_hooks # 두 입금 훅 모두 구독 (구멍 차단) + - listener_dispatched_to_queue_not_sync # sync 미지정 = 기본 큐 (외부 API 를 트랜잭션에 묶지 않음) + - listener_issues_when_requested # 신청 건 → 저장된 용도·식별번호로 발급 + - listener_self_issues_when_enabled # 미신청 + 자진발급 ON → 0100001234 소득공제 + - listener_noop_when_not_requested_and_off # 미신청 + 자진발급 OFF → no-op + - listener_no_self_issue_fallback_on_decrypt_fail # 복호화 불가 시 자진발급으로 대체하지 않음 + - listener_idempotent_across_both_hooks # 한 입금에 두 훅이 도달해도 1회만 발급 + - listener_skips_zero_cash_equivalent_order # 무통장 + 전액 마일리지 0원 주문 → 발급 미시도 + - listener_failure_records_failed_and_survives # 발급 실패 → FAILED 이력, 입금확인은 성공 유지 + - listener_swallows_provider_exception # 프로바이더 예외 → 삼키고 로그만 (조용한 실패 금지) + - listener_logs_on_swallowed_failure # 삼킨 실패는 반드시 error/warning 로그로 남음 + - identifier_never_appears_in_logs # 발급 실패·예외 로그 어디에도 식별번호 원본 부재 + + # 발급 가능 가드 (단일 SSoT) + - blocker_guard_shared_by_listener_and_apis # 리스너와 3개 API 가 같은 판정을 공유 + - blocker_not_cash_payment_returns_422 + - blocker_payment_not_paid_returns_422 + - blocker_already_issued_returns_409 # 중복 발급은 409 로 구분 + - blocker_no_issuable_amount_returns_422 + - issue_guard_also_enforced_inside_service # 서비스 내부 이중 방어(활성 영수증 존재 시 no-op) + + # 발급 API + - admin_can_issue_after_the_fact # 주문 시 미신청 건의 사후 발급 + - admin_can_cancel_issued_receipt # 관리자 발급취소 (전액취소) + - admin_cancel_without_active_receipt_returns_422 + - admin_reissue_recovers_failed_state # 재발급 API 가 "취소 성공 + 재발급 실패" 복구 + - member_can_issue_own_order # 회원 본인 주문 사후 발급 + - member_cannot_issue_others_order # 타인 주문 → 404 + - member_cannot_cancel_receipt # 유저 발급취소 경로 부재 (관리자 전용) + - member_can_read_issue_status # 발급 상태 조회 (issuable + 영수증) + - guest_issues_via_verified_token # 비회원은 조회 토큰으로만 접근 + - unauthenticated_user_route_returns_401 + - admin_without_permission_returns_403 # permission 미들웨어가 차단 + - identifier_never_returned_in_response # 응답 어디에도 평문 식별번호 부재 + - identifier_masked_in_ledger_rows # 원장 전 컬럼에 평문 부재 + + # 검증 (FormRequest + Custom Rule) + - validation_lives_in_formrequest_only # Service 에 검증 로직 없음 + - business_number_checksum_enforced # 체크섬 불일치 → 422 + - income_with_business_number_rejected # 소득공제 + 사업자번호 → 422 + - expense_with_phone_allowed # 지출증빙 + 휴대폰번호 → 허용 + - self_issue_number_rejected_for_expense # 자진발급 지정번호 + 지출증빙 → 422 + - identifier_hyphens_normalized_before_validation + + # 금액 변동 연동 + - sync_called_after_cancellation_commit # 취소 확정 이후 호출 (트랜잭션 밖) + - partial_cancel_reissues_at_residual_amount # 부분취소 → 잔여금액으로 재발급 + - full_cancel_cancels_receipt_without_reissue # 전액취소 → 전체취소만 + - reissue_failure_does_not_rollback_cancellation # 재발급 실패해도 주문취소는 확정 + - reissue_failure_leaves_two_ledger_rows # cancel COMPLETED + issue FAILED + - provider_exception_does_not_rollback_cancellation + - sync_noop_when_no_receipt_history + + # 현금성 금액 재계산 (사전 결함 수정) + - cash_equivalent_rule_is_single_ssot # PaymentMethodEnum 이 산정 규칙 SSoT + - cash_equivalent_recalculated_on_partial_cancel # 취소 재계산이 현금성 금액을 갱신 + - cash_equivalent_zeroed_on_full_cancel # 전액취소 → 현금성 0 + - cash_equivalent_zero_for_non_dbank_methods + + # 리소스 노출 · 영수증 분리 + - payment_resource_exposes_pg_receipt_url # PG 영수증(카드 매출전표) URL 노출 + - cash_receipt_issue_does_not_overwrite_pg_url # 현금영수증 발급이 PG 영수증 URL 을 덮어쓰지 않음 + - pg_and_cash_receipts_independently_retrievable # 두 영수증을 각각 다른 경로로 조회 (복합결제 대비) + - order_resource_exposes_active_cash_receipt # 활성 영수증 1건 + - order_resource_exposes_cash_receipt_ledger # 전체 이력 (경고 배지 판정 근거) + - cash_receipt_resource_hides_raw_response # 프로바이더 원응답 미노출 + +test_files: + - modules/_bundled/sirsoft-ecommerce/tests/Unit/Rules/CashReceiptIdentifierTest.php + - modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/IssueCashReceiptOnDepositListenerTest.php + - modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/PurgeCashReceiptIdentifierListenerTest.php + - modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptHookFiringTest.php + - modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptCancellationSyncTest.php + - modules/_bundled/sirsoft-ecommerce/tests/Unit/Enums/PaymentMethodCashEquivalentTest.php + - modules/_bundled/sirsoft-ecommerce/tests/Unit/Resources/CashReceiptResourceTest.php + - modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/CashReceiptControllerTest.php diff --git a/tests/Unit/Support/ApiDoc/ApiDocPipelineTest.php b/tests/Unit/Support/ApiDoc/ApiDocPipelineTest.php index 0d4d13fa..2acd860a 100644 --- a/tests/Unit/Support/ApiDoc/ApiDocPipelineTest.php +++ b/tests/Unit/Support/ApiDoc/ApiDocPipelineTest.php @@ -347,6 +347,335 @@ class ApiDocPipelineTest extends TestCase $this->assertStringNotContainsString('TODO: 이 엔드포인트의 용도', $regenerated); } + #[Test] + public function 재생성_시_파라미터_표의_사람_용도_셀을_보존한다(): void + { + // 회귀: 전체 재생성이 @generated 블록 안 파라미터 표를 통째로 재조립하면서 + // 정적 추출로 재현 불가능한 도메인 서술(`용도` 셀)이 TODO 로 되돌아가던 문제. + $scaffolder = new ApiDocScaffolder; + + $route = [ + 'method' => 'POST', 'uri' => '/api/y', 'name' => 'api.y.store', + 'controller' => 'C', 'controller_method' => 'store', 'permission' => null, + 'middleware' => [], 'path_params' => [], + ]; + // `memo` 는 ParameterDescriber 가 설명할 수 없는 도메인 특이 파라미터 → TODO 스텁이 된다. + $request = [ + 'request_class' => null, + 'params' => [['name' => 'memo', 'location' => 'body', 'type' => 'string', 'required' => false, 'allowed' => '', 'rules' => []]], + 'hook_filters' => [], + ]; + $schema = ['envelope' => ['data'], 'shape' => 'object', 'fields' => [], 'pagination' => false]; + + $section = $scaffolder->endpointSection($route, $request, $schema, ['status' => 200, 'skipped_reason' => null]); + $header = "# Y\n"; + + $first = $scaffolder->mergeDocument(null, $header, [$section], ['api.y.store']); + $this->assertStringContainsString('', $first); + + // 사람이 `용도` 셀을 채운다 (마지막 열만 치환). + $withCell = preg_replace( + '/^\| memo \|(.*)\| \|$/m', + '| memo |$1| 관리자 메모 (내부 관리용, 고객 비노출) |', + $first + ); + $this->assertStringContainsString('관리자 메모 (내부 관리용, 고객 비노출)', $withCell); + + // 재생성해도 사람이 채운 셀이 살아남아야 한다. + $regenerated = $scaffolder->mergeDocument($withCell, $header, [$section], ['api.y.store']); + + $this->assertStringContainsString('관리자 메모 (내부 관리용, 고객 비노출)', $regenerated); + $this->assertStringNotContainsString('', $regenerated); + } + + #[Test] + public function 실측_제외_응답_섹션을_사람이_채우면_재생성해도_보존한다(): void + { + // 회귀: 쓰기 메서드·미치환 path 등으로 실측이 불가한 엔드포인트는 응답 필드/예시 자리에 + // `` 마커만 남는다. 사람이 그 자리를 코드 근거로 채워도 다음 재생성이 + // 블록을 통째로 재조립하며 마커로 되돌려, 작성분이 통째로 사라지던 문제. + $scaffolder = new ApiDocScaffolder; + + $route = [ + 'method' => 'POST', 'uri' => '/api/z', 'name' => 'api.z.store', + 'controller' => 'C', 'controller_method' => 'store', 'permission' => null, + 'middleware' => [], 'path_params' => [], + ]; + $request = ['request_class' => null, 'params' => [], 'hook_filters' => []]; + + // 실측 실패(쓰기 메서드) → 응답 필드·예시 모두 마커 + $section = $scaffolder->endpointSection($route, $request, null, ['status' => null, 'skipped_reason' => 'write-method']); + $header = "# Z\n"; + + $first = $scaffolder->mergeDocument(null, $header, [$section], ['api.z.store']); + $this->assertStringContainsString('실측 제외: write-method — 응답 필드는 사람이 작성하세요.', $first); + $this->assertStringContainsString('실측 제외: write-method — 응답 예시는 사람이 작성하세요.', $first); + + // 사람이 두 자리를 코드 근거로 채운다. + $withBody = str_replace( + '', + "| 필드 | 타입 | 설명 |\n| --- | --- | --- |\n| issuable | boolean | 지금 발급이 가능한지 여부 |", + $first + ); + $withBody = str_replace( + '', + "```json\n{\n \"success\": true,\n \"data\": null\n}\n```", + $withBody + ); + + // 재생성해도 사람이 채운 응답 필드 표와 응답 예시가 살아남아야 한다. + $regenerated = $scaffolder->mergeDocument($withBody, $header, [$section], ['api.z.store']); + + $this->assertStringContainsString('| issuable | boolean | 지금 발급이 가능한지 여부 |', $regenerated); + $this->assertStringContainsString('"success": true', $regenerated); + $this->assertStringNotContainsString('응답 필드는 사람이 작성하세요.', $regenerated); + $this->assertStringNotContainsString('응답 예시는 사람이 작성하세요.', $regenerated); + } + + #[Test] + public function 문서에_엔드포인트가_여러_개여도_각자의_응답_본문만_보존한다(): void + { + // 회귀: extractGeneratedBlock() 은 앞의 `## ` 헤딩까지 거슬러 올라가는데 엔드포인트 헤딩은 + // `### ` 라서 문서 상단까지 올라가 여러 엔드포인트를 한 덩어리로 반환한다. 위치 기반으로 + // 응답 본문을 떼어내면 항상 "그 덩어리의 첫 엔드포인트" 본문을 집어, 두 번째 이후 + // 엔드포인트의 사람 작성분이 소실되고 첫 엔드포인트 본문이 복제되던 문제. + $scaffolder = new ApiDocScaffolder; + + $makeRoute = fn (string $name, string $uri): array => [ + 'method' => 'POST', 'uri' => $uri, 'name' => $name, + 'controller' => 'C', 'controller_method' => 'store', 'permission' => null, + 'middleware' => [], 'path_params' => [], + ]; + $request = ['request_class' => null, 'params' => [], 'hook_filters' => []]; + $skipped = ['status' => null, 'skipped_reason' => 'write-method']; + + $keys = ['api.a.store', 'api.b.store']; + $sections = [ + $scaffolder->endpointSection($makeRoute('api.a.store', '/api/a'), $request, null, $skipped), + $scaffolder->endpointSection($makeRoute('api.b.store', '/api/b'), $request, null, $skipped), + ]; + + // 문서 상단에 `## ` 헤딩이 있고 엔드포인트는 `### ` 로 나열되는 실제 구조를 재현한다. + $header = "# Multi\n\n## TL;DR (5초 요약)\n\n설명\n"; + $first = $scaffolder->mergeDocument(null, $header, $sections, $keys); + + // 두 엔드포인트의 응답 필드를 서로 다른 내용으로 채운다. + $filled = preg_replace_callback( + '//', + function () { + static $n = 0; + $n++; + + return "| 필드 | 타입 | 설명 |\n| --- | --- | --- |\n| field_{$n} | string | 엔드포인트 {$n} 전용 필드 |"; + }, + $first + ); + + $this->assertStringContainsString('엔드포인트 1 전용 필드', $filled); + $this->assertStringContainsString('엔드포인트 2 전용 필드', $filled); + + $regenerated = $scaffolder->mergeDocument($filled, $header, $sections, $keys); + + // 각 엔드포인트가 자기 본문을 유지해야 한다 (2번이 1번 본문으로 덮이면 안 된다). + $this->assertStringContainsString('엔드포인트 1 전용 필드', $regenerated); + $this->assertStringContainsString('엔드포인트 2 전용 필드', $regenerated); + $this->assertSame(1, substr_count($regenerated, '엔드포인트 1 전용 필드')); + $this->assertSame(1, substr_count($regenerated, '엔드포인트 2 전용 필드')); + } + + #[Test] + public function 실측에_성공해도_사람이_쓴_응답_예시는_덮어쓰지_않는다(): void + { + // 회귀: `reissue` 는 실측 표본이 `data: null`(전액 환불) 하나뿐인데, 사람은 코드를 읽고 + // 성공 케이스 예시까지 써 두었다. "실측이 사람을 이긴다" 규칙은 그 성공 예시를 지웠다. + // 실측은 기본값이지 덮어쓰기 권한이 아니다. + $scaffolder = new ApiDocScaffolder; + + $route = [ + 'method' => 'POST', 'uri' => '/api/r', 'name' => 'api.r.reissue', + 'controller' => 'C', 'controller_method' => 'reissue', 'permission' => null, + 'middleware' => [], 'path_params' => [], + ]; + $request = ['request_class' => null, 'params' => [], 'hook_filters' => []]; + + // 실측은 성공하지만 표본이 빈약하다 (data: null). + $schema = ['envelope' => ['data'], 'shape' => 'object', 'fields' => [], 'pagination' => false]; + $probeMeta = ['status' => 200, 'skipped_reason' => null, 'body' => ['success' => true, 'data' => null]]; + + $section = $scaffolder->endpointSection($route, $request, $schema, $probeMeta); + $header = "# R\n"; + + $first = $scaffolder->mergeDocument(null, $header, [$section], ['api.r.reissue']); + + // 실측 산출 예시에는 출처 마커가 붙는다. + $this->assertStringContainsString('', $first); + + // 사람이 성공 케이스 예시를 덧붙여 더 풍부하게 만든다 (출처 마커 없음). + $humanExample = "재발급 성공:\n\n```json\n{\n \"success\": true,\n \"data\": {\"id\": 14}\n}\n```\n\n전액 환불 시:\n\n```json\n{\n \"success\": true,\n \"data\": null\n}\n```"; + $withHuman = preg_replace( + '/.*?(?=\*\*에러 응답\*\*)/s', + $humanExample."\n\n", + $first + ); + $this->assertStringContainsString('재발급 성공:', $withHuman); + $this->assertStringNotContainsString('', $withHuman); + + // 같은 실측 결과로 재생성해도 사람이 쓴 예시가 살아남아야 한다. + $regenerated = $scaffolder->mergeDocument($withHuman, $header, [$section], ['api.r.reissue']); + + $this->assertStringContainsString('재발급 성공:', $regenerated); + $this->assertStringContainsString('전액 환불 시:', $regenerated); + $this->assertStringNotContainsString('', $regenerated); + } + + #[Test] + public function 실측이_가능해지면_비어있던_응답_섹션은_실측_결과로_갱신된다(): void + { + // 위 보존 규칙이 "영원히 갱신 불가"가 되면 안 된다 — 사람이 손대지 않은 마커 상태에서 + // 실측이 성공하면 실측 표/예시로 갱신되어야 한다. + $scaffolder = new ApiDocScaffolder; + + $route = [ + 'method' => 'POST', 'uri' => '/api/z', 'name' => 'api.z.store', + 'controller' => 'C', 'controller_method' => 'store', 'permission' => null, + 'middleware' => [], 'path_params' => [], + ]; + $request = ['request_class' => null, 'params' => [], 'hook_filters' => []]; + $header = "# Z\n"; + + $skipped = $scaffolder->endpointSection($route, $request, null, ['status' => null, 'skipped_reason' => 'write-method']); + $first = $scaffolder->mergeDocument(null, $header, [$skipped], ['api.z.store']); + $this->assertStringContainsString('실측 제외: write-method', $first); + + // 이번 run 에서 실측 성공 + $schema = ['envelope' => ['data'], 'shape' => 'object', 'fields' => [['name' => 'id', 'type' => 'integer', 'sample' => '1']], 'pagination' => false]; + $probed = $scaffolder->endpointSection($route, $request, $schema, ['status' => 200, 'skipped_reason' => null]); + + $regenerated = $scaffolder->mergeDocument($first, $header, [$probed], ['api.z.store']); + + $this->assertStringNotContainsString('실측 제외: write-method', $regenerated); + $this->assertStringContainsString('| id |', $regenerated); + } + + #[Test] + public function 재생성_시_응답_필드_표의_사람_설명_셀을_보존한다(): void + { + // 파라미터 표와 동일한 회귀 — 응답 필드 표의 마지막 열(용도/설명)도 사람이 채운다. + $scaffolder = new ApiDocScaffolder; + + $route = [ + 'method' => 'GET', 'uri' => '/api/z', 'name' => 'api.z.show', + 'controller' => 'C', 'controller_method' => 'show', 'permission' => null, + 'middleware' => [], 'path_params' => [], + ]; + $request = ['request_class' => null, 'params' => [], 'hook_filters' => []]; + // `nickname` 은 ResourceFieldDescriber 가 설명하지 못하는 도메인 특이 필드. + $schema = [ + 'envelope' => ['data'], 'shape' => 'object', + 'fields' => [['name' => 'nickname', 'type' => 'string', 'sample' => 'gnu']], + 'pagination' => false, + ]; + + $section = $scaffolder->endpointSection($route, $request, $schema, ['status' => 200, 'skipped_reason' => null]); + $header = "# Z\n"; + + $first = $scaffolder->mergeDocument(null, $header, [$section], ['api.z.show']); + $this->assertStringContainsString('', $first); + + // 응답 필드 표의 마지막 열을 사람이 채운 상태로 만든다. + $withCell = preg_replace( + '/^\| nickname \|(.*)\| \|$/m', + '| nickname |$1| 화면에 표시되는 별명 (중복 허용) |', + $first + ); + $this->assertStringContainsString('화면에 표시되는 별명 (중복 허용)', $withCell); + + $regenerated = $scaffolder->mergeDocument($withCell, $header, [$section], ['api.z.show']); + + $this->assertStringContainsString('화면에 표시되는 별명 (중복 허용)', $regenerated); + } + + #[Test] + public function 재생성_시_사람이_고쳐쓴_셀은_자동_설명으로_되돌아가지_않는다(): void + { + // 회귀: ParameterDescriber 가 값을 만들어내는 셀(TODO 가 아닌 셀)은 + // 사람이 도메인에 맞게 고쳐도 매 재생성마다 자동 설명으로 덮어써지던 문제. + // 예: `identifier` → "대상 확장/리소스의 식별자" (도메인 무관 일반화) + $scaffolder = new ApiDocScaffolder; + + $route = [ + 'method' => 'POST', 'uri' => '/api/w', 'name' => 'api.w.store', + 'controller' => 'C', 'controller_method' => 'store', 'permission' => null, + 'middleware' => [], 'path_params' => [], + ]; + $request = [ + 'request_class' => null, + 'params' => [['name' => 'identifier', 'location' => 'body', 'type' => 'string', 'required' => true, 'allowed' => '', 'rules' => []]], + 'hook_filters' => [], + ]; + $schema = ['envelope' => ['data'], 'shape' => 'object', 'fields' => [], 'pagination' => false]; + + $section = $scaffolder->endpointSection($route, $request, $schema, ['status' => 200, 'skipped_reason' => null]); + $header = "# W\n"; + + // 최초 생성: describer 가 일반 설명을 채운다 (TODO 아님). + $first = $scaffolder->mergeDocument(null, $header, [$section], ['api.w.store']); + $this->assertStringContainsString('식별자', $first); + $this->assertStringNotContainsString('', $first); + + // 사람이 도메인 설명으로 고쳐 쓴다. + $withCell = preg_replace( + '/^\| identifier \|(.*)\| [^|]+ \|$/m', + '| identifier |$1| 현금영수증 식별번호 (휴대폰/카드/사업자번호) |', + $first + ); + $this->assertStringContainsString('현금영수증 식별번호', $withCell); + + // 재생성해도 사람이 고친 셀이 유지되어야 한다. + $regenerated = $scaffolder->mergeDocument($withCell, $header, [$section], ['api.w.store']); + + $this->assertStringContainsString('현금영수증 식별번호', $regenerated); + } + + #[Test] + public function 재생성_시_이스케이프된_파이프를_담은_셀도_보존한다(): void + { + // 회귀: 표 셀에 `\|` (이스케이프된 파이프)가 있으면 열 분해가 어긋나 + // 보존 대상 행으로 인식되지 못하고 TODO 로 퇴행하던 문제. + // 실제 사례: `인증 대상 해시 필터 (SHA256(email\|phone), PII 원본 대신 해시로 추적)` + $scaffolder = new ApiDocScaffolder; + + $route = [ + 'method' => 'GET', 'uri' => '/api/v', 'name' => 'api.v.index', + 'controller' => 'C', 'controller_method' => 'index', 'permission' => null, + 'middleware' => [], 'path_params' => [], + ]; + $request = [ + 'request_class' => null, + 'params' => [['name' => 'target_hash', 'location' => 'query', 'type' => 'string', 'required' => false, 'allowed' => '', 'rules' => []]], + 'hook_filters' => [], + ]; + $schema = ['envelope' => ['data'], 'shape' => 'object', 'fields' => [], 'pagination' => false]; + + $section = $scaffolder->endpointSection($route, $request, $schema, ['status' => 200, 'skipped_reason' => null]); + $header = "# V\n"; + + $first = $scaffolder->mergeDocument(null, $header, [$section], ['api.v.index']); + $this->assertStringContainsString('', $first); + + $human = '인증 대상 해시 필터 (SHA256(email\\|phone), PII 원본 대신 해시로 추적)'; + $stubRow = '| target_hash | query | string | 아니오 | — | |'; + $humanRow = '| target_hash | query | string | 아니오 | — | '.$human.' |'; + + $this->assertStringContainsString($stubRow, $first); + $withCell = str_replace($stubRow, $humanRow, $first); + + $regenerated = $scaffolder->mergeDocument($withCell, $header, [$section], ['api.v.index']); + + $this->assertStringContainsString($human, $regenerated); + $this->assertStringNotContainsString('', $regenerated); + } + #[Test] public function ge_t_인증_엔드포인트_요청_예시가_raw_htt_p_요청이다(): void { diff --git a/tests/Unit/Support/ApiDoc/ParameterDescriberTest.php b/tests/Unit/Support/ApiDoc/ParameterDescriberTest.php index 7733a425..b5b36f12 100644 --- a/tests/Unit/Support/ApiDoc/ParameterDescriberTest.php +++ b/tests/Unit/Support/ApiDoc/ParameterDescriberTest.php @@ -51,6 +51,32 @@ class ParameterDescriberTest extends TestCase $this->assertStringContainsString('표시 정렬 순서', $describer->describe('order', 'body', 'integer')); } + #[Test] + public function path_의_order_는_정렬방향이_아니라_리소스_식별자다(): void + { + // 라우트 모델 바인딩 {order} 는 주문 리소스를 가리킨다 — 정렬 방향일 수 없다. + // (회귀: `| order | path | ... | 정렬 방향 (asc 오름차순 / desc 내림차순) |` 오염) + $describer = new ParameterDescriber; + + $description = $describer->describe('order', 'path', 'string'); + + $this->assertNotNull($description); + $this->assertStringNotContainsString('정렬 방향', $description); + $this->assertStringNotContainsString('asc', $description); + $this->assertStringContainsString('식별자', $description); + } + + #[Test] + public function path_의_sort_order_도_정렬방향으로_설명하지_않는다(): void + { + // path 에 sort_order 가 올 일은 없지만, 위치 우선 규칙이 이름보다 앞서야 한다. + $describer = new ParameterDescriber; + + $description = $describer->describe('sort_order', 'path', 'string'); + + $this->assertStringNotContainsString('정렬 방향', (string) $description); + } + #[Test] public function path_식별자_파라미터를_위치_기반으로_설명한다(): void { From 42eb21320b8e09766cde8e00fc8b9eedc2ba7976 Mon Sep 17 00:00:00 2001 From: HeuJung Date: Sat, 11 Jul 2026 05:30:31 +0900 Subject: [PATCH 07/18] =?UTF-8?q?fix(ecommerce,core):=20=ED=98=84=EA=B8=88?= =?UTF-8?q?=EC=98=81=EC=88=98=EC=A6=9D=20UI=20=EB=B3=B4=EC=99=84=20+=20?= =?UTF-8?q?=ED=95=98=EB=84=A4=EC=8A=A4=20=EA=B2=B0=ED=95=A8=206=EA=B1=B4?= =?UTF-8?q?=20+=20=ED=99=95=EC=9E=A5=EC=A0=90=20=EB=A3=B0=20=EC=82=AC?= =?UTF-8?q?=EA=B0=81=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 현금영수증/환불계좌 기능(S3)의 감사 보완과, 그 과정에서 발견한 하네스 결함을 같은 세션에서 일괄 처리한다. 지시에 따라 무관 산출물(namuwiki 문서 초안 포함)도 단일 커밋으로 묶는다. - 현금영수증 발급 이력 접기/펼치기(W-3) + 결제행별 독립 토글 + aria 상태 - vendor-bundle manifest 해시 재생성 — composer.json version bump 미반영분 정합 - 시나리오 매니페스트 거짓 경로 정정(A/B) + 미작성 부채 :test-files 정직 표기(C) - layout-* 룰의 resources/extensions 검사 사각 제거 + 확장점 전용 root 스키마 분기 - validate-test-scenario.cjs: 맵형 test_files 크래시 + fallback 파서 covers 오검출 수정 - tosspayments 확장점 setState target 규약 위반 수정 --- docs/extension/layout-extensions.md | 47 ++ .../CHANGELOG.md | 4 + .../backend/ja/cash_receipt.php | 5 + .../backend/ja/validation.php | 7 + .../frontend/ja.json | 17 +- .../frontend/partial/admin/order.json | 40 +- .../frontend/partial/admin/settings.json | 17 + .../frontend/partial/order.json | 24 + .../g7-template-sirsoft-basic-ja/CHANGELOG.md | 6 + .../frontend/partial/shop.json | 7 +- .../language-pack.json | 2 +- .../_bundled/sirsoft-ecommerce/CHANGELOG.md | 13 + .../sirsoft-ecommerce/components.json | 2 +- .../sirsoft-ecommerce/dist/js/module.iife.js | 2 +- .../sirsoft-ecommerce/docs/api/checkout.md | 16 +- .../sirsoft-ecommerce/docs/api/orders.md | 22 +- .../sirsoft-ecommerce/docs/api/settings.md | 24 +- .../extensions/checkout_cash_receipt.json | 269 ++++++++ .../extensions/mypage_order_cash_receipt.json | 470 ++++++++++++++ .../handlers/cancelOrderHandlers.test.ts | 41 ++ .../adminEcommerceSettingsOrder.test.tsx | 15 +- .../cashReceiptResponsiveRender.test.tsx | 215 +++++++ .../__tests__/layouts/cashReceiptUi.test.tsx | 588 ++++++++++++++++++ .../checkoutPaymentMethodRegression.test.tsx | 71 ++- .../__tests__/layouts/mypageOrders.test.tsx | 15 +- .../layouts/orderDetailLayouts.test.tsx | 23 +- .../js/handlers/cancelOrderHandlers.ts | 13 + .../sirsoft-ecommerce/resources/lang/en.json | 15 + .../sirsoft-ecommerce/resources/lang/ko.json | 15 + .../lang/partial/en/admin/order.json | 40 +- .../lang/partial/en/admin/settings.json | 17 + .../resources/lang/partial/en/order.json | 24 + .../lang/partial/ko/admin/order.json | 40 +- .../lang/partial/ko/admin/settings.json | 17 + .../resources/lang/partial/ko/order.json | 24 + .../admin/admin_ecommerce_order_detail.json | 22 +- .../_modal_cancel_order.json | 155 +++++ .../_modal_issue_cash_receipt.json | 268 ++++++++ .../_partial_payment_info.json | 585 ++++++++++++++++- .../_tab_order_settings.json | 250 ++++++++ .../src/Enums/CashReceiptIdentifierType.php | 20 + .../Admin/EcommerceSettingsController.php | 4 + .../Controllers/Admin/OrderController.php | 2 + .../Traits/HandlesOrderCreation.php | 4 +- .../Requests/Admin/CancelOrderRequest.php | 142 ++++- .../Admin/StoreEcommerceSettingsRequest.php | 7 + .../Requests/Public/CreateOrderRequest.php | 154 +++++ .../Http/Resources/CashReceiptResource.php | 10 + .../Http/Resources/OrderPaymentResource.php | 14 + .../OrderPaymentRepositoryInterface.php | 21 + .../Repositories/OrderPaymentRepository.php | 20 + .../src/Repositories/OrderRepository.php | 5 + .../src/Services/CashReceiptService.php | 11 +- .../src/Services/EcommerceSettingsService.php | 21 + .../src/Services/OrderCancellationService.php | 45 ++ .../src/Services/OrderProcessingService.php | 60 +- .../src/lang/en/cash_receipt.php | 10 + .../src/lang/en/validation.php | 7 + .../src/lang/ko/cash_receipt.php | 10 + .../src/lang/ko/validation.php | 7 + .../Admin/CancelOrderRefundBankTest.php | 273 ++++++++ .../EcommerceSettingsCashReceiptTest.php | 127 ++++ .../CheckoutCashReceiptAndRefundBankTest.php | 407 ++++++++++++ .../specs/shop/checkout-cash-receipt.spec.ts | 315 ++++++++++ .../Resources/CashReceiptResourceTest.php | 71 +++ .../cash-receipt-ui-and-refund-bank.yaml | 246 ++++++++ .../scenarios/mp08-base-currency-policy.yaml | 3 +- .../scenarios/mp08-list-price-display.yaml | 3 +- .../mp08-multi-currency-display.yaml | 3 +- .../tests/scenarios/mp08-user-currency.yaml | 3 +- .../mp10-coupon-basic-validation.yaml | 2 +- .../mp10-coupon-category-applicability.yaml | 2 +- .../scenarios/mp10-coupon-direct-issue.yaml | 2 +- .../tests/scenarios/mp10-coupon-search.yaml | 2 +- .../scenarios/mp10-coupon-target-scope.yaml | 2 +- .../tests/scenarios/mp11-product-notice.yaml | 3 +- .../scenarios/mp11-shipping-policy-list.yaml | 3 +- .../mp12-default-option-price-sync.yaml | 2 +- .../scenarios/product-additional-options.yaml | 2 +- .../sirsoft-ecommerce/vendor-bundle.json | 4 +- .../sirsoft-ecommerce/vendor-bundle.zip | Bin 435548 -> 435548 bytes .../tests/scenarios/blocker-domains.yaml | 6 +- .../tests/scenarios/policy-version.yaml | 14 +- .../extensions/checkout-payment-error.json | 4 +- .../tests/scenarios/duplicate-block.yaml | 4 +- templates/_bundled/sirsoft-basic/CHANGELOG.md | 8 +- .../layouts/checkoutCashReceiptSlot.test.tsx | 147 +++++ .../checkoutSummaryBodyPayload.test.tsx | 230 +++++++ .../layouts/mypageOrderPaymentPanel.test.tsx | 74 +++ .../shop-guest-checkout-entry.test.tsx | 27 +- .../sirsoft-basic/lang/partial/en/shop.json | 7 +- .../sirsoft-basic/lang/partial/ko/shop.json | 7 +- .../partials/mypage/orders/_payment.json | 24 +- .../partials/shop/_checkout_payment.json | 233 +++++++ .../partials/shop/_checkout_summary.json | 15 +- .../_bundled/sirsoft-basic/package-lock.json | 4 +- templates/_bundled/sirsoft-basic/package.json | 2 +- .../_bundled/sirsoft-basic/template.json | 4 +- tests/TestCase.php | 34 +- .../Unit/TestCaseKillStaleConnectionsTest.php | 113 ++++ .../core-frontend-i18n-infrastructure.yaml | 3 +- .../installer-runtime-env-finalize.yaml | 3 +- .../scenarios/layout-editor-data-sources.yaml | 2 + .../layout-editor-element-placement.yaml | 4 +- .../layout-editor-prop-controls.yaml | 3 +- tests/scenarios/page-settings.yaml | 3 +- 106 files changed, 6294 insertions(+), 177 deletions(-) create mode 100644 modules/_bundled/sirsoft-ecommerce/resources/extensions/checkout_cash_receipt.json create mode 100644 modules/_bundled/sirsoft-ecommerce/resources/extensions/mypage_order_cash_receipt.json create mode 100644 modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/cashReceiptResponsiveRender.test.tsx create mode 100644 modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/cashReceiptUi.test.tsx create mode 100644 modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_order_detail/_modal_issue_cash_receipt.json create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/Admin/CancelOrderRefundBankTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/Admin/EcommerceSettingsCashReceiptTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/Public/CheckoutCashReceiptAndRefundBankTest.php create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/Playwright/specs/shop/checkout-cash-receipt.spec.ts create mode 100644 modules/_bundled/sirsoft-ecommerce/tests/scenarios/cash-receipt-ui-and-refund-bank.yaml create mode 100644 templates/_bundled/sirsoft-basic/__tests__/layouts/checkoutCashReceiptSlot.test.tsx create mode 100644 templates/_bundled/sirsoft-basic/__tests__/layouts/checkoutSummaryBodyPayload.test.tsx create mode 100644 templates/_bundled/sirsoft-basic/__tests__/layouts/mypageOrderPaymentPanel.test.tsx create mode 100644 tests/Unit/TestCaseKillStaleConnectionsTest.php diff --git a/docs/extension/layout-extensions.md b/docs/extension/layout-extensions.md index 892f4f9d..85a1353c 100644 --- a/docs/extension/layout-extensions.md +++ b/docs/extension/layout-extensions.md @@ -419,6 +419,53 @@ v1.17.0 이전: modals 내부의 extension_point는 처리되지 않았음 | `prepend` | default **앞에** 추가 | `[NEW] [default...]` | | `replace` | default **완전 교체** | `[NEW]` (default 제거) | +### 확장 병합 칸 (주입 폼의 값을 템플릿 API 요청에 실어 보내기) + +슬롯에 주입한 폼이 입력값을 서버로 보내려면, 그 값이 **템플릿이 소유한 apiCall 의 `params.body`** 에 도달해야 한다. 그런데 확장에는 body 에 키를 추가할 수단이 없다. + +- 결제 버튼처럼 `id` 가 없는 노드는 overlay `target_id` 로 잡을 수 없다 +- `inject_props` 는 컴포넌트 props 병합 전용이라 `actions[].params.body` 에 닿지 않는다 (`_merge` 는 shallow) + +그래서 템플릿이 **확장 병합 칸**을 하나 열어 둔다. 규약은 이렇다. + +**템플릿 쪽** — body 를 통짜 표현식으로 만들고 말미에 확장 칸을 spread 한다. + +```json +{ + "handler": "apiCall", + "target": "/api/modules/sirsoft-ecommerce/user/orders", + "params": { + "body": "{{ ({ temp_order_id: _local.tempOrderId, payment_method: _computed.selectedPaymentMethod, ...(_local.checkoutExtraPayload ?? {}) }) }}" + } +} +``` + +**확장 쪽** — 자기 필드를 그 칸에 setState 한다. + +```json +{ + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "checkoutExtraPayload.cash_receipt_requested": "{{$event.target.checked}}" + } +} +``` + +지켜야 할 것: + +- 확장은 **자기 도메인 키만** 쓴다. spread 가 뒤에 오므로 템플릿의 기존 키를 덮어쓸 수 있다 +- 폼을 접거나 신청을 해제하면 칸을 `{}` 로 비운다. 남겨 두면 서버가 신청으로 오인한다 +- 템플릿이 소유한 필드(예: 환불계좌)는 칸을 경유하지 않고 body 에 직접 기재한다 +- body 를 통짜 표현식으로 전환할 때는 **전환 전후 산출값이 동일한지** 회귀 테스트로 고정한다 (`DataBindingEngine.evaluateExpression` 으로 실제 평가) + +현재 열려 있는 칸: + +| 칸 이름 | 위치 | 소비처 | +|---------|------|--------| +| `_local.checkoutExtraPayload` | `sirsoft-basic` 주문서 (`_checkout_summary.json`) | 주문 생성 `POST /user/orders` | + --- ## 템플릿 오버라이드 diff --git a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/CHANGELOG.md b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/CHANGELOG.md index 6306a1a9..134cca0b 100644 --- a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/CHANGELOG.md +++ b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/CHANGELOG.md @@ -10,6 +10,10 @@ - 현금영수증 관련 문구(`cash_receipt.*` — 발급 용도, 식별번호 종류, 발급/취소 이력 상태, 배송비 과세 방식, 오류 안내) 일본어 번역 추가 — 현금영수증 발급 화면과 이커머스 환경설정이 일본어 로케일에서 자연스럽게 표시됩니다. - 현금영수증 발급 요청의 입력 항목명·검증 안내·처리 결과 문구(`cash_receipt.attributes.*`, `cash_receipt.validation.*`, `cash_receipt.messages.*`)와 발급 불가 사유 안내(`cash_receipt.errors.*`) 일본어 번역 추가 — 잘못된 식별번호를 입력했을 때의 안내와 발급·취소 결과 메시지가 일본어 로케일에서 자연스럽게 표시됩니다. +- 주문서의 현금영수증 신청 폼 문구(`checkout.cash_receipt.*` — 신청 여부, 발급 용도, 발급 수단, 입력 안내) 일본어 번역 추가 — 무통장입금으로 주문할 때 현금영수증을 신청하는 화면이 일본어 로케일에서 자연스럽게 표시됩니다. +- 주문 상세의 현금영수증 카드 문구(발급 상태 안내, 발급·발급취소·재발급 버튼, 발급 이력 표) 일본어 번역 추가 — 구매자와 관리자가 보는 현금영수증 영역이 일본어 로케일에서 자연스럽게 표시됩니다. +- 환불 계좌 입력 안내와 검증 문구(`validation.order.refund_bank_*`) 일본어 번역 추가 — 주문서와 관리자 취소 화면의 환불 계좌 입력란이 일본어 로케일에서 자연스럽게 표시됩니다. +- 현금영수증 자진발급 설정의 국세청 의무발행 업종 안내 링크 문구(`order_settings.cash_receipt.self_issue_mandatory_link`) 일본어 번역 추가 — 자진발급을 켤지 판단할 때 참고하는 국세청 안내 링크가 일본어 로케일에서 자연스럽게 표시됩니다. ## [1.0.8] - 2026-08-01 diff --git a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/cash_receipt.php b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/cash_receipt.php index 716f69aa..8f7e0616 100644 --- a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/cash_receipt.php +++ b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/cash_receipt.php @@ -58,4 +58,9 @@ return [ 'reissued' => '現金領収書が再発行されました。', 'status_retrieved' => '現金領収書情報を照会しました。', ], + 'result_status' => [ + 'in_progress' => '処理中', + 'completed' => '完了', + 'failed' => '失敗', + ], ]; diff --git a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/validation.php b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/validation.php index bc43b2ab..f855125a 100644 --- a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/validation.php +++ b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/validation.php @@ -836,6 +836,13 @@ return [ 'guest_lookup_password_min' => '注文照会パスワードは8文字以上である必要があります。', 'guest_lookup_password_confirmed' => '注文照会パスワードが一致しません。', 'guest_lookup_password_confirmation_required' => '注文照会パスワード確認を入力してください。', + 'cash_receipt_type_required' => '現金領収証の発行目的を選択してください。', + 'cash_receipt_type_invalid' => '現金領収証の発行目的が正しくありません。', + 'cash_receipt_identifier_type_required' => '現金領収証の発行方法を選択してください。', + 'cash_receipt_identifier_type_invalid' => '現金領収証の発行方法が正しくありません。', + 'cash_receipt_identifier_required' => '現金領収証の発行に使用する番号を入力してください。', + 'refund_bank_required_with' => '返金口座は銀行·口座番号·預金者をすべて入力する必要があります。', + 'refund_bank_required_for_vbank' => '入金が完了した仮想口座注文は返金口座が必要です。', ], 'order_bulk' => [ 'ids_required' => '変更する注文を選択してください。', diff --git a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/frontend/ja.json b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/frontend/ja.json index 51332e91..e1cfb0bb 100644 --- a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/frontend/ja.json +++ b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/frontend/ja.json @@ -165,7 +165,8 @@ "seoStats": "SEO統計", "settings": "設定", "shipping_policies": "配送ポリシー一覧", - "templates": "テンプレート一覧" + "templates": "テンプレート一覧", + "paymentSettings": "決済環境設定" }, "action": { "request_pg_payment": { @@ -195,5 +196,19 @@ "label": "配送国", "hint": "基本配送国です。登録後、マイ情報で変更できます。" } + }, + "checkout": { + "cash_receipt": { + "request": "現金領収証申請", + "purpose": "用途", + "purpose_income": "所得控除用", + "purpose_expense": "支出証明用", + "identifier_phone": "携帯電話番号", + "identifier_card": "現金領収証カード番号", + "identifier_business": "事業者登録番号", + "identifier_placeholder": "- なしで数字のみ入力", + "purpose_help": "所得控除用は年末調整に、支出証明用は事業者の仕入税額控除に使用されます。", + "immutable_help": "発行後は用途を変更することはできません。" + } } } diff --git a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/frontend/partial/admin/order.json b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/frontend/partial/admin/order.json index 8f8acd1a..0d8b31b2 100644 --- a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/frontend/partial/admin/order.json +++ b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/frontend/partial/admin/order.json @@ -419,7 +419,13 @@ "close_btn": "閉じる", "estimate_failed": "返金予想金額の計算に失敗しました。", "cancel_success": "注文がキャンセルされました。", - "cancel_failed": "注文のキャンセルに失敗しました。" + "cancel_failed": "注文のキャンセルに失敗しました。", + "refund_bank_label": "返金口座", + "refund_bank_select": "銀行を選択", + "refund_bank_account_placeholder": "口座番号 (ハイフンなしで入力)", + "refund_bank_holder_placeholder": "口座名義人", + "refund_bank_required_hint": "入金が完了した仮想口座注文は返金口座が必要です。", + "refund_bank_partial_notice": "3つのうちいずれかを入力した場合は、残りも入力する必要があります。" }, "reset_guest_password": { "title": "非会員閲覧パスワード再設定", @@ -450,6 +456,38 @@ "mark_order_complete": "注文を決済完了として処理", "mark_order_complete_hint": "チェックすると入金記録とともに注文ステータスを決済完了に変更します(ポイント積立·在庫減少·通知送信含む)。チェックしないと入金内訳のみ記録します。" } + }, + "cash_receipt": { + "title": "現金領収書", + "issue_title": "現金領収書発行", + "status_issued": "発行完了", + "awaiting_deposit": "入金が確認されたら発行できます。", + "purpose": "用途", + "purpose_income": "所得控除用", + "purpose_expense": "支出証拠用", + "identifier_type": "発行手段", + "identifier": "識別番号", + "identifier_phone": "携帯電話番号", + "identifier_card": "現金領収書カード番号", + "identifier_business": "事業者登録番号", + "identifier_placeholder": "ハイフンなしで数字のみ入力", + "immutable_help": "発行後は用途を変更することはできません。", + "amount": "金額", + "tax_free_amount": "非課税金額", + "issue_number": "発行番号", + "issued_at": "発行日時", + "issue": "現金領収書発行", + "cancel": "キャンセル", + "cancel_issue": "発行取消", + "reissue": "手動再発行", + "view_receipt": "領収書を表示", + "history": "発行履歴 ({{count}}件)", + "issue_success": "現金領収書が発行されました。", + "issue_failed": "現金領収書の発行に失敗しました。", + "cancel_success": "現金領収書の発行がキャンセルされました。", + "cancel_failed": "現金領収書の発行キャンセルに失敗しました。", + "reissue_failed": "再発行失敗", + "reissue_success": "現金領収書が再発行されました。" } }, "preset": { diff --git a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/frontend/partial/admin/settings.json b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/frontend/partial/admin/settings.json index 16f3a899..d756c545 100644 --- a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/frontend/partial/admin/settings.json +++ b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/frontend/partial/admin/settings.json @@ -224,6 +224,23 @@ "restore_on_cancel": "注文キャンセル時の在庫復旧", "restore_on_cancel_description": "注文がキャンセルされると、差し引かれた在庫を自動的に復旧します。", "restore_on_cancel_hint": "返品·交換処理時にも適用されます。" + }, + "cash_receipt": { + "title": "現金領収証", + "description": "現金領収証の発行プロバイダーと配送料の課税方式を設定します。", + "provider_label": "現金領収証プロバイダー", + "provider_none": "(未使用)", + "provider_not_installed": "決済プラグインを有効化すると、発行プロバイダーを選択できます。", + "provider_help": "決済に使用するPGとは別に選択できます。", + "shipping_fee_tax_label": "配送料の課税方式", + "shipping_fee_tax_proportional": "按分 (デフォルト)", + "shipping_fee_tax_taxable": "全額課税", + "shipping_fee_tax_follow_main_item": "主要な財貨基準", + "shipping_fee_tax_help": "按分は、課税·非課税商品の金額比率で配送料を分割します。", + "self_issue_label": "自進発行の使用", + "self_issue_help": "購入者が申請していない無通帳入金建も自動で発行します (所得控除用専用)。", + "self_issue_mandatory_help": "現金領収証の義務発行業種は、購入者が申請しなくても発行義務があります。該当業種であればオンにしてください。", + "self_issue_mandatory_link": "国税庁の義務発行業種案内" } }, "claim": { diff --git a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/frontend/partial/order.json b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/frontend/partial/order.json index e1646e17..e03f4d91 100644 --- a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/frontend/partial/order.json +++ b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/frontend/partial/order.json @@ -12,5 +12,29 @@ "delivered": "配送完了", "cancelled": "キャンセル済み", "refunded": "返金済み" + }, + "cash_receipt": { + "title": "現金領収証", + "issue_title": "現金領収証の発行", + "purpose": "用途", + "purpose_income": "所得控除用", + "purpose_expense": "支出証明用", + "identifier_type": "発行手段", + "identifier": "識別番号", + "identifier_phone": "電話番号", + "identifier_card": "現金領収証カード番号", + "identifier_business": "事業者登録番号", + "identifier_placeholder": "ハイフンなしで数字のみを入力", + "immutable_help": "発行後は用途を変更することはできません。", + "awaiting_deposit": "入金が確認されると発行されます。", + "none": "発行された現金領収証がありません。", + "issue": "現金領収証の発行", + "cancel": "キャンセル", + "issued_at": "発行日時", + "view_receipt": "領収証を表示", + "issue_success": "現金領収証が発行されました。", + "issue_failed": "現金領収証の発行に失敗しました。", + "reissue_failed": "再発行失敗", + "reissue_failed_help": "返金に伴う現金領収証の再発行に失敗しました。カスタマーサポートにお問い合わせください。" } } diff --git a/lang-packs/_bundled/g7-template-sirsoft-basic-ja/CHANGELOG.md b/lang-packs/_bundled/g7-template-sirsoft-basic-ja/CHANGELOG.md index a4a499f9..8861490a 100644 --- a/lang-packs/_bundled/g7-template-sirsoft-basic-ja/CHANGELOG.md +++ b/lang-packs/_bundled/g7-template-sirsoft-basic-ja/CHANGELOG.md @@ -4,6 +4,12 @@ 형식은 [Keep a Changelog](https://keepachangelog.com/ko/1.1.0/)를 따르며, [Semantic Versioning](https://semver.org/lang/ko/)을 준수합니다. +## [1.1.0] - 2026-08-06 + +### Added + +- 주문서의 환불 계좌 입력란 문구(`shop.checkout.refund_bank_*` — 안내 제목, 은행 선택, 계좌번호·예금주 입력 안내, 부분 입력 주의) 일본어 번역 추가 — 무통장입금·가상계좌로 주문할 때 환불받을 계좌를 남기는 영역이 일본어 로케일에서 자연스럽게 표시됩니다. + ## [1.0.2] - 2026-07-22 ### Added diff --git a/lang-packs/_bundled/g7-template-sirsoft-basic-ja/frontend/partial/shop.json b/lang-packs/_bundled/g7-template-sirsoft-basic-ja/frontend/partial/shop.json index 97ce15d7..35b48d2a 100644 --- a/lang-packs/_bundled/g7-template-sirsoft-basic-ja/frontend/partial/shop.json +++ b/lang-packs/_bundled/g7-template-sirsoft-basic-ja/frontend/partial/shop.json @@ -465,7 +465,12 @@ "guest_token_issue_failed": "非会員照会認証準備に失敗しました。注文照会時に携帯電話とパスワードで再度ご確認ください。", "coupon_already_used": "他の商品に既に適用されています", "coupon_not_applied": "一部のクーポンを適用できないため除外されました。最小注文金額·使用回数·重複使用の条件を確認してください。", - "shipping_country": "配送国家" + "shipping_country": "配送国家", + "refund_bank_title": "返金口座 (注文キャンセル時に使用、選択)", + "refund_bank_select": "銀行を選択", + "refund_bank_account_placeholder": "口座番号 (ハイフンなしで入力)", + "refund_bank_holder_placeholder": "口座名義人", + "refund_bank_partial_notice": "3つのいずれかを入力した場合、残りも入力する必要があります。" }, "order_complete": { "page_title": "注文完了", diff --git a/lang-packs/_bundled/g7-template-sirsoft-basic-ja/language-pack.json b/lang-packs/_bundled/g7-template-sirsoft-basic-ja/language-pack.json index 66c77bb3..450ac498 100644 --- a/lang-packs/_bundled/g7-template-sirsoft-basic-ja/language-pack.json +++ b/lang-packs/_bundled/g7-template-sirsoft-basic-ja/language-pack.json @@ -12,7 +12,7 @@ "en": "G7 template (sirsoft-basic) Japanese language pack (bundled)", "ja": "G7 テンプレート (sirsoft-basic) 日本語 言語パック(バンドル)" }, - "version": "1.0.2", + "version": "1.1.0", "license": "MIT", "scope": "template", "target_identifier": "sirsoft-basic", diff --git a/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md b/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md index d7d519ed..c64d29c1 100644 --- a/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md +++ b/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md @@ -29,6 +29,18 @@ - 현금영수증 식별번호(휴대폰번호·사업자등록번호 등)는 재발급에 쓸 수 있도록 암호화해 보관하고 구매확정 시점에 폐기합니다. 이력에는 뒤 4자리를 제외한 마스킹 값만 남으며, 발급 업체가 보내온 응답에 섞여 오는 개인정보도 가려서 저장합니다. 주민등록번호는 수집하지 않습니다. - 결제 영수증(카드 매출전표 등)과 현금영수증을 각각 따로 조회할 수 있습니다. 두 영수증은 서로 다른 값으로 보관되어 한쪽이 다른 쪽을 덮어쓰지 않습니다. +#### 신청·발급 화면 + +- 주문서의 무통장입금 결제 영역에서 현금영수증을 신청할 수 있습니다. 용도(소득공제/지출증빙)에 따라 고를 수 있는 발급 수단이 바뀌며, 그 용도에 쓸 수 없는 수단이 선택되어 있으면 자동으로 되돌립니다. 발급 업체를 설정하지 않은 상점에서는 신청란이 나타나지 않습니다. +- 구매자 주문 상세에 현금영수증 카드가 표시됩니다. 입금 전에는 안내만, 입금 후 미발급이면 발급 버튼, 발급 후에는 발급일시·용도·식별번호와 영수증 보기 링크가 나타납니다. 환불에 따른 재발급이 실패한 경우에는 안내 문구가 표시됩니다. +- 관리자 주문 상세에 현금영수증 카드가 표시됩니다. 발급·발급취소·수동 재발급을 할 수 있고 발급·취소 이력을 함께 볼 수 있습니다. 재발급이 실패한 주문에는 경고와 함께 다시 발급하는 버튼이 나타납니다. +- 이커머스 환경설정 주문설정 탭에서 현금영수증 발급 업체, 배송비 과세 방식, 자진발급 사용 여부를 설정할 수 있습니다. + +#### 환불 계좌 + +- 주문서의 무통장입금·가상계좌 결제 영역에서 환불받을 계좌(은행·계좌번호·예금주)를 미리 입력할 수 있습니다. 입력하지 않아도 주문할 수 있지만, 세 칸 중 하나라도 입력하면 나머지도 입력해야 합니다. +- 관리자 주문 취소 화면에서 환불 계좌를 입력하거나 수정할 수 있습니다. 주문할 때 입력한 계좌가 있으면 미리 채워집니다. 입금이 완료된 가상계좌 주문은 환불에 계좌가 반드시 필요하므로 입력하지 않으면 취소할 수 없습니다. 무통장입금은 관리자가 직접 이체할 때 참고하도록 선택 입력이며, 카드·간편결제는 원래 결제수단으로 환불되므로 계좌란이 나타나지 않습니다. + #### 금액·과세 - 주문에 현금성 금액이 기록됩니다. 무통장입금 주문에서 마일리지를 사용한 경우, 실제로 계좌에 입금된 금액만 현금영수증 발급 대상이 됩니다. 주문을 일부 취소하면 남은 실입금액 기준으로 다시 계산됩니다. @@ -157,6 +169,7 @@ - 관리자 목록에서 기록이 아주 많아 총 건수를 끝까지 세지 못하면 "1페이지뿐" 으로 표시되어 뒤쪽 페이지를 볼 수 없던 문제를 수정했습니다. 주문·상품·마일리지·쿠폰·쿠폰 발급 이력·상품 리뷰·배송 정책·활동 이력 목록이 해당하며, 마지막 페이지로 바로 뛰는 버튼만 감춰지고 이전·다음 이동은 그대로 동작합니다. - 쿠폰 사용조건의 상품 검색에서 결과가 많을 때 목록 끝까지 스크롤해도 다음 묶음이 더 불러와지지 않던 문제를 수정했습니다. - 관리자가 주문상품을 일괄 구매확정할 때와 구매자가 직접 구매확정할 때, 구매확정 시점이 최초 확정 시각으로 동일하게 보존됩니다 — 이미 확정된 주문을 다시 확정 처리해도 시점이 덮어써지지 않습니다. +- 구매자 주문 상세의 결제 정보 영역에 결제 플러그인이 제공하는 공급가액·부가세·영수증 링크·에스크로 구매확정 버튼이 표시되지 않던 문제를 수정했습니다. ## [1.0.4] - 2026-07-16 diff --git a/modules/_bundled/sirsoft-ecommerce/components.json b/modules/_bundled/sirsoft-ecommerce/components.json index 8988446a..d0e9b462 100644 --- a/modules/_bundled/sirsoft-ecommerce/components.json +++ b/modules/_bundled/sirsoft-ecommerce/components.json @@ -1,7 +1,7 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", "identifier": "sirsoft-ecommerce", - "version": "1.0.5", + "version": "1.1.0", "components": { "basic": [], "composite": [], diff --git a/modules/_bundled/sirsoft-ecommerce/dist/js/module.iife.js b/modules/_bundled/sirsoft-ecommerce/dist/js/module.iife.js index 82e47720..efa3a1ce 100644 --- a/modules/_bundled/sirsoft-ecommerce/dist/js/module.iife.js +++ b/modules/_bundled/sirsoft-ecommerce/dist/js/module.iife.js @@ -1,2 +1,2 @@ -var SirsoftEcommerce=function(Pe){"use strict";const St={KRW:0,JPY:0},vt={KRW:"₩",USD:"$",JPY:"¥",CNY:"元",EUR:"€",GBP:"£"},Lt={KRW:1e3,JPY:100};function xt(r){if(!r)return 1;const c=r.base_unit??Lt[r.code]??1;return Math.max(1,c)}function Pt(r,c,e){const t=parseFloat(c)||1;if(t<=0)return r;const o=r/t;let a;switch(e){case"ceil":a=Math.ceil(o);break;case"floor":a=Math.floor(o);break;default:a=Math.round(o)}return a*t}function ye(r,c){const e=typeof c=="string"?{code:c}:c,t=e.code,o=e.symbol&&e.symbol.length>0?e.symbol:vt[t]??"",a=e.decimal_places??St[t]??2,n=r.toLocaleString(void 0,{minimumFractionDigits:a,maximumFractionDigits:a});return o?t==="KRW"||o==="₩"||o==="원"?n+"원":o+n:n+" "+t}function se(r,c){const{basePrice:e,currencies:t}=r,o=parseFloat(String(e))||0;if(!t||!Array.isArray(t)||t.length===0)return{};const a=t.find(i=>i.is_default),n=xt(a),s={};for(const i of t){const l=i.code;if(i.is_default??!1)s[l]={price:o,formatted:ye(o,i),is_default:!0,editable:!0};else if(i.exchange_rate&&i.exchange_rate>0){const d=o/n*i.exchange_rate,m=Pt(d,i.rounding_unit||"0.01",i.rounding_method||"round");s[l]={price:m,formatted:ye(m,i),is_default:!1,editable:!1,exchange_rate:i.exchange_rate}}}return s}const z=window.G7Core?.createLogger?.("Ecom:UpdateProduct")??{log:(...r)=>console.log("[Ecom:UpdateProduct]",...r),warn:(...r)=>console.warn("[Ecom:UpdateProduct]",...r),error:(...r)=>console.error("[Ecom:UpdateProduct]",...r)};function At(r,c){const e=r.params||{},{productId:t,field:o,dataSourceId:a="products"}=e;let{value:n}=e;if(n&&typeof n=="object"&&n.target!==void 0&&(n=n.target?.value,z.log("[updateProductField] Extracted value from event:",n)),!t||!o){z.warn("[updateProductField] Missing required params:",{productId:t,field:o});return}if(n===void 0){z.warn("[updateProductField] Value is undefined, skipping update");return}const s=window.G7Core;if(!s?.dataSource?.get||!s?.dataSource?.set){z.warn("[updateProductField] G7Core.dataSource API is not available");return}const i=s.dataSource.get(a);if(!i){console.warn(`[updateProductField] DataSource '${a}' not found`);return}const l=i.data?.data||[];if(!Array.isArray(l)||l.length===0){z.warn("[updateProductField] Products data is empty or invalid");return}const u=s.state.get()||{},d=u.modules?.["sirsoft-ecommerce"]?.language_currency?.currencies;let f=[...u._local?.productFieldErrors||[]];const g=l.map(C=>{if(String(C.id)===String(t)){const A=C[o];if(typeof n=="object"&&n!==null?JSON.stringify(A)===JSON.stringify(n):String(A)===String(n))return z.log(`[updateProductField] No change for product ${t}.${o}, skipping`),C;let I=n;const N=parseFloat(n)||0;if(o==="selling_price"){const O=parseFloat(C.list_price)||0;O>0&&N>O?(f.some(Q=>Q.productId===String(t)&&Q.field===o)||f.push({productId:String(t),field:"selling_price",message:"판매가는 정가를 초과할 수 없습니다."}),I=O):f=f.filter($=>!($.productId===String(t)&&$.field===o))}else f=f.filter(O=>!(O.productId===String(t)&&O.field===o));const L={...C,[o]:I,_modified:!0};return o==="selling_price"&&d&&Array.isArray(d)&&(L.multi_currency_selling_price=se({basePrice:I,currencies:d}),z.log(`[updateProductField] Recalculated multi_currency_selling_price for product ${t}`)),L}return C});s.dataSource.set(a,{...i,data:{...i.data,data:g}});const w=s.state.getLocal()||{},y=new Set(w.modifiedProductIds||[]);y.add(t);const _={...w.modifiedProductFields||{}},p=String(t),v=new Set(_[p]||[]);v.add(o),_[p]=Array.from(v),s.state.setLocal({modifiedProductIds:Array.from(y),modifiedProductFields:_,productFieldErrors:f}),z.log(`[updateProductField] Updated product ${t}.${o} =`,n)}const B=window.G7Core?.createLogger?.("Ecom:UpdateOption")??{log:(...r)=>console.log("[Ecom:UpdateOption]",...r),warn:(...r)=>console.warn("[Ecom:UpdateOption]",...r),error:(...r)=>console.error("[Ecom:UpdateOption]",...r)};function kt(r,c){const e=r.params||{},{productId:t,optionId:o,field:a,value:n,dataSourceId:s="products"}=e;if(!t||!o||!a){B.warn("[updateOptionField] Missing required params:",{productId:t,optionId:o,field:a});return}const i=window.G7Core;if(!i?.dataSource?.get||!i?.dataSource?.set){B.warn("[updateOptionField] G7Core.dataSource API is not available");return}const l=i.dataSource.get(s);if(!l){console.warn(`[updateOptionField] DataSource '${s}' not found`);return}const u=l.data?.data||[];if(!Array.isArray(u)||u.length===0){B.warn("[updateOptionField] Products data is empty or invalid");return}const d=i.state.get()||{},m=d.modules?.["sirsoft-ecommerce"]?.language_currency?.currencies;let g=[...d._local?.optionFieldErrors||[]],w=!1,y=!1;const _=u.map(N=>{if(String(N.id)===String(t)){const L=N.options||[],O=L.findIndex(D=>String(D.id)===String(o));if(O===-1)return B.warn("[updateOptionField] Option not found:",o),N;y=!0;const $=L[O],Q=$[a];if(typeof n=="object"&&n!==null?JSON.stringify(Q)===JSON.stringify(n):String(Q)===String(n))return B.log(`[updateOptionField] No change for option ${o}.${a}, skipping`),N;let J=n;const xe=parseFloat(n)||0;if(a==="selling_price"){const D=parseFloat($.list_price)||0;D>0&&xe>D?(g.some(we=>we.productId===String(t)&&we.optionId===String(o)&&we.field===a)||g.push({productId:String(t),optionId:String(o),field:"selling_price",message:"판매가는 정가를 초과할 수 없습니다."}),J=D):g=g.filter(H=>!(H.productId===String(t)&&H.optionId===String(o)&&H.field===a))}else g=g.filter(D=>!(D.productId===String(t)&&D.optionId===String(o)&&D.field===a));const re=[...L],ne={...re[O],[a]:J,_modified:!0};let ae=null;if(a==="selling_price"){const D=parseFloat(J)||0;if($.is_default===!0)ae=D,ne.price_adjustment=0;else{const H=parseFloat(N.selling_price)||0;ne.price_adjustment=D-H}ne.price_adjustment_formatted=(ne.price_adjustment>=0?"+":"")+ne.price_adjustment.toLocaleString()+"원"}if(a==="selling_price"&&m&&Array.isArray(m)&&(ne.multi_currency_selling_price=se({basePrice:J,currencies:m}),B.log(`[updateOptionField] Recalculated multi_currency_selling_price for option ${o}`)),re[O]=ne,ae!==null)for(let D=0;DH.is_active===!1?D:D+(parseInt(H.stock_quantity,10)||0),0),Be=Ke,B.log(`[updateOptionField] Updated product stock to option sum: ${Be}`));const Qe={...N,options:re,stock_quantity:Be,option_stock_sum:Ke,_modified:!0};return ae!==null&&(Qe.selling_price=ae,m&&Array.isArray(m)&&(Qe.multi_currency_selling_price=se({basePrice:ae,currencies:m})),w=!0,B.log(`[updateOptionField] Reverse-synced product ${t} selling_price to ${ae} from default option`)),Qe}return N});if(!y)return;i.dataSource.set(s,{...l,data:{...l.data,data:_}});const p=i.state.getLocal()||{},v=new Set(p.modifiedOptionIds||[]),C=`${t}-${o}`;v.add(C);const A={...p.modifiedOptionFields||{}},x=new Set(A[C]||[]);x.add(a),A[C]=Array.from(x);const I={modifiedOptionIds:Array.from(v),modifiedOptionFields:A,optionFieldErrors:g};if(w){const N=new Set(p.modifiedProductIds||[]);N.add(t);const L={...p.modifiedProductFields||{}},O=String(t),$=new Set(L[O]||[]);$.add("selling_price"),L[O]=Array.from($),I.modifiedProductIds=Array.from(N),I.modifiedProductFields=L}i.state.setLocal(I),B.log(`[updateOptionField] Updated option ${t}/${o}.${a} =`,n)}const Ot="g7_preferred_currency",Gt="g7_locale",ze=window.G7Core?.createLogger?.("Handler:InitPreferredCurrency")??{log:(...r)=>console.log("[Handler:InitPreferredCurrency]",...r),warn:(...r)=>console.warn("[Handler:InitPreferredCurrency]",...r),error:(...r)=>console.error("[Handler:InitPreferredCurrency]",...r)};function Et(r){const c=window.G7Core;c?.state?.set?c.state.set(r):ze.warn("G7Core.state.set not available")}function Ft(){try{return localStorage.getItem(Gt)}catch{return null}}function Dt(){try{const e=(window.G7Core?.state?.get?.()||{})?.modules?.["sirsoft-ecommerce"]?.language_currency;return Array.isArray(e?.currencies)?e.currencies:[]}catch{return[]}}function $t(r){if(!r)return null;const c=r.toLowerCase().split("-")[0].split("_")[0];if(!c)return null;const t=Dt().filter(o=>(Array.isArray(o?.locales)?o.locales:[]).some(n=>String(n).toLowerCase()===c));return t.length===1?t[0]?.code??null:t.length>1?t.find(a=>a?.is_default===!0)?.code??null:null}function Nt(){try{const r=window.G7Config;return r?.user?r.user:(window.G7Core?.state?.get?.()||{}).currentUser||null}catch{return null}}function Tt(r,c){const e=r?.params?.defaultCurrency||"KRW",t=l=>typeof l=="string"&&/^[A-Z]{3}$/.test(l),o=Nt(),a=r?.params?.accountCurrency??o?.ecommerce_preferred_currency;let n=null;try{n=localStorage.getItem(Ot)}catch{}const s=a?null:$t(Ft()),i=t(a)?a:t(n)?n:t(s)?s:t(e)?e:"KRW";Et({preferredCurrency:i}),ze.log("Preferred currency initialized:",i)}const Rt="g7_preferred_shipping_country",We=window.G7Core?.createLogger?.("Handler:InitPreferredShippingCountry")??{log:(...r)=>console.log("[Handler:InitPreferredShippingCountry]",...r),warn:(...r)=>console.warn("[Handler:InitPreferredShippingCountry]",...r),error:(...r)=>console.error("[Handler:InitPreferredShippingCountry]",...r)};function Mt(r){const c=window.G7Core;c?.state?.set?c.state.set(r):We.warn("G7Core.state.set not available")}function Ht(){try{const r=window.G7Config;return r?.user?r.user:(window.G7Core?.state?.get?.()||{}).currentUser||null}catch{return null}}function qt(r,c){const e=r?.params?.defaultCountry||"KR",t=i=>typeof i=="string"&&/^[A-Z]{2}$/.test(i),o=Ht(),a=r?.params?.accountCountry??o?.ecommerce_preferred_shipping_country;let n=null;try{n=localStorage.getItem(Rt)}catch{}const s=t(a)?a:t(n)?n:t(e)?e:"KR";Mt({preferredShippingCountry:s}),We.log("Preferred shipping country initialized:",s)}function X(r){const c=r.getFullYear(),e=String(r.getMonth()+1).padStart(2,"0"),t=String(r.getDate()).padStart(2,"0");return`${c}-${e}-${t}`}function Ut(r){const c=new Date,e=X(c);let t;switch(r){case"today":t=e;break;case"3days":{const o=new Date(c);o.setDate(o.getDate()-2),t=X(o);break}case"week":{const o=new Date(c);o.setDate(o.getDate()-6),t=X(o);break}case"month":{const o=new Date(c);o.setMonth(o.getMonth()-1),t=X(o);break}case"3months":{const o=new Date(c);o.setMonth(o.getMonth()-3),t=X(o);break}case"6months":{const o=new Date(c);o.setMonth(o.getMonth()-6),t=X(o);break}case"1year":{const o=new Date(c);o.setFullYear(o.getFullYear()-1),t=X(o);break}case"all":default:return t="",{startDate:"",endDate:""}}return{startDate:t,endDate:e}}function Vt(r){const{preset:c}=r.params||{preset:"today"},{startDate:e,endDate:t}=Ut(c);return{startDate:e,endDate:t,preset:c}}const ie=window.G7Core?.createLogger?.("Ecom:DefaultOption")??{log:(...r)=>console.log("[Ecom:DefaultOption]",...r),warn:(...r)=>console.warn("[Ecom:DefaultOption]",...r),error:(...r)=>console.error("[Ecom:DefaultOption]",...r)};function jt(r,c){const e=r.params||{},{productId:t,optionId:o,dataSourceId:a="products"}=e;if(!t||!o){ie.warn("[setDefaultOption] Missing required params:",{productId:t,optionId:o});return}const n=window.G7Core;if(!n?.dataSource?.get||!n?.dataSource?.set){ie.warn("[setDefaultOption] G7Core.dataSource API is not available");return}const s=n.dataSource.get(a);if(!s){console.warn(`[setDefaultOption] DataSource '${a}' not found`);return}const i=s.data?.data||[];if(!Array.isArray(i)||i.length===0){ie.warn("[setDefaultOption] Products data is empty or invalid");return}const u=(n.state.get()||{}).modules?.["sirsoft-ecommerce"]?.language_currency?.currencies,d=i.map(w=>{if(String(w.id)!==String(t))return w;const y=w.options||[];if(y.length===0)return w;const _=y.find(x=>String(x.id)===String(o));if(!_)return ie.warn("[setDefaultOption] Option not found:",o),w;const p=y.map(x=>{const I=String(x.id)===String(o);return{...x,is_default:I,_modified:I?!0:x._modified}}),v=_.list_price,C=_.selling_price;let A=w.multi_currency_selling_price;return u&&Array.isArray(u)&&(A=se({basePrice:C,currencies:u})),ie.log(`[setDefaultOption] Set option ${o} as default for product ${t}. Syncing prices: list_price=${v}, selling_price=${C}`),{...w,options:p,list_price:v,selling_price:C,multi_currency_selling_price:A,_modified:!0}});n.dataSource.set(a,{...s,data:{...s.data,data:d}});const m=n.state.getLocal()||{},f=new Set(m.modifiedProductIds||[]);f.add(String(t));const g=new Set(m.modifiedOptionIds||[]);g.add(`${t}-${o}`),n.state.setLocal({modifiedProductIds:Array.from(f),modifiedOptionIds:Array.from(g)}),ie.log(`[setDefaultOption] Option ${o} set as default for product ${t}`)}const Ae=window.G7Core?.createLogger?.("Ecom:OptionSelect")??{log:(...r)=>console.log("[Ecom:OptionSelect]",...r),warn:(...r)=>console.warn("[Ecom:OptionSelect]",...r),error:(...r)=>console.error("[Ecom:OptionSelect]",...r)},de=(r,c)=>`${r}-${c}`,ke=r=>r.split("-")[0];function Bt(r,c){const e=r.params||{},{productId:t,optionId:o,checked:a}=e,n=window.G7Core;if(!n?.state){Ae.warn("[toggleOption] G7Core.state를 사용할 수 없습니다.");return}const s=n.state.getLocal(),i=s.selectedOptionIds||[],l=s.selectedItems||[],u=de(t,o);let d;a?i.includes(u)?d=i:d=[...i,u]:d=i.filter(p=>p!==u);const w=(n.dataSource?.get("products")?.data?.data||[]).find(p=>String(p.id)===String(t))?.options||[];let y=[...l];const _=Number(t);w.length>0&&(w.map(C=>de(t,C.id)).filter(C=>d.includes(C)).length===w.length?y.includes(_)||y.push(_):y=y.filter(C=>C!==_)),n.state.setLocal({selectedOptionIds:d,selectedItems:y})}function Ye(r,c){const e=r.params||{},{productId:t,options:o,checked:a}=e,n=window.G7Core;if(!n?.state){Ae.warn("[toggleProductOptions] G7Core.state를 사용할 수 없습니다.");return}const s=n.state.getLocal(),i=s.selectedOptionIds||[],l=s.selectedItems||[],u=(o||[]).map(g=>de(t,g.id));let d,m=[...l];const f=Number(t);a?(d=[...i.filter(w=>ke(w)!==String(t)),...u],m.includes(f)||m.push(f)):(d=i.filter(g=>ke(g)!==String(t)),m=m.filter(g=>g!==f)),n.state.setLocal({selectedOptionIds:d,selectedItems:m})}function Kt(r,c){return Ye(r)}function Qt(r,c){const e=r.params||{products:[],selectedOptionIds:[]},{products:t,selectedOptionIds:o}=e,a=o||[];if(!t||!Array.isArray(t))return{};const n={};for(const s of t){const i=String(s.id),l=s.options||[];if(l.length===0){n[i]="none";continue}const d=l.map(m=>de(i,m.id)).filter(m=>a.includes(m)).length;d===0?n[i]="none":d===l.length?n[i]="all":n[i]="some"}return n}function zt(r,c){const e=r.params||{},{selectedIds:t}=e,o=window.G7Core;if(!o?.state){Ae.warn("[syncProductSelection] G7Core.state를 사용할 수 없습니다.");return}const a=o.state.getLocal(),n=a.selectedItems||[],s=a.selectedOptionIds||[],l=o.dataSource?.get("products")?.data?.data||[],u=t.filter(f=>!n.includes(f)),d=n.filter(f=>!t.includes(f));let m=[...s];for(const f of u){const g=l.find(w=>Number(w.id)===f);if(g?.options)for(const w of g.options){const y=de(f,w.id);m.includes(y)||m.push(y)}}for(const f of d)m=m.filter(g=>ke(g)!==String(f));o.state.setLocal({selectedItems:t,selectedOptionIds:m})}const he=window.G7Core?.createLogger?.("Ecom:CopyCode")??{log:(...r)=>console.log("[Ecom:CopyCode]",...r),warn:(...r)=>console.warn("[Ecom:CopyCode]",...r),error:(...r)=>console.error("[Ecom:CopyCode]",...r)};async function Wt(r,c){const e=window.G7Core;if(!e?.state||!e?.api){he.warn("[generateCopyProductCode] G7Core API is not available");return}try{const t=await e.api.post("/api/modules/sirsoft-ecommerce/admin/products/generate-code");if(!t?.data?.product_code)throw new Error("Invalid API response");const o=t.data.product_code;if((window.__g7LayoutContextStack||[]).length>0&&e.state.setParentLocal)e.state.setParentLocal({"ui.copyOptions.newProductCode":o}),he.log(`[generateCopyProductCode] Generated (parent): ${o}`);else{const s=e.state.getLocal()||{};e.state.setLocal({ui:{...s.ui,copyOptions:{...s.ui?.copyOptions||{},newProductCode:o}}}),he.log(`[generateCopyProductCode] Generated (local): ${o}`)}}catch(t){he.error("[generateCopyProductCode] Failed:",t),e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.product.messages.code_generate_error")??"Failed to generate product code.")}}const Je=window.G7Core?.createLogger?.("Ecom:CopyProduct")??{log:(...r)=>console.log("[Ecom:CopyProduct]",...r),warn:(...r)=>console.warn("[Ecom:CopyProduct]",...r),error:(...r)=>console.error("[Ecom:CopyProduct]",...r)};async function Yt(r,c){const e=window.G7Core;if(!e?.state){Je.warn("[copyProduct] G7Core API is not available");return}const t=e.state.getLocal()||{},a=(e.state.getParent?.()||{})._local||{},n=a.ui?.copyOptions||t.ui?.copyOptions||{},s=t.form?.product_code||a.form?.product_code||a.productList?.copyTargetProduct?.product_code||t.productList?.copyTargetProduct?.product_code;if(!s){e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.product.messages.copy_source_not_found")??"Could not find source product information.");return}e.modal?.close?.();const i={copy_id:s,copy_images:n.images??!0?"1":"0",copy_options:n.options??!0?"1":"0",copy_categories:n.categories??!0?"1":"0",copy_sales_info:n.sales_info??!0?"1":"0",copy_description:n.description??!0?"1":"0",copy_notice:n.notice??!0?"1":"0",copy_common_info:n.common_info??!0?"1":"0",copy_other_info:n.other_info??!0?"1":"0",copy_shipping:n.shipping??!0?"1":"0",copy_seo:n.seo??!1?"1":"0",copy_identification:n.identification??!0?"1":"0"},u=`/admin/ecommerce/products/create?${new URLSearchParams(i).toString()}`;Je.log("[copyProduct] Navigating to:",u),e.navigate?e.navigate(u):c.navigate?c.navigate(u):window.location.href=u}const Ce=window.G7Core?.createLogger?.("Ecom:ExpandedOptions")??{log:(...r)=>console.log("[Ecom:ExpandedOptions]",...r),warn:(...r)=>console.warn("[Ecom:ExpandedOptions]",...r),error:(...r)=>console.error("[Ecom:ExpandedOptions]",...r)},Jt="/api/modules/sirsoft-ecommerce/admin/products/options",Oe=100,Ge=new Set;function Xt(r,c){const t=r?.dataSource?.get?.(c)?.data?.data;return Array.isArray(t)?t:[]}function Xe(r,c,e){const t=r?.dataSource?.get?.(c),o=t?.data?.data;if(!t||!Array.isArray(o)){Ce.warn("[loadExpandedOptions] DataSource not available for merge:",c);return}const a=o.map(n=>{const s=String(n?.id);return Object.prototype.hasOwnProperty.call(e,s)?{...n,options:e[s]}:n});r.dataSource.set(c,{...t,data:{...t.data,data:a}})}function Zt(r,c){const e=r?.state?.getLocal?.()||{},t=e.selectedItems||[];if(t.length===0)return;const o=new Set(t.map(s=>String(s))),a=new Set(e.selectedOptionIds||[]);let n=!1;Object.entries(c).forEach(([s,i])=>{o.has(s)&&i.forEach(l=>{const u=`${s}-${l?.id}`;a.has(u)||(a.add(u),n=!0)})}),n&&r.state.setLocal({selectedOptionIds:Array.from(a)})}function Ee(r,c){const e=r?.state?.getLocal?.()||{},t=c(e.optionsLoadingIds||[],e.optionsErrorIds||[]);r.state.setLocal({optionsLoadingIds:t.loading,optionsErrorIds:t.errored})}function Fe(r,c){const e=r.params||{},t=e.dataSourceId||"products",o=e.force===!0,a=window.G7Core;if(!a?.dataSource?.get||!a?.dataSource?.set||!a?.state?.setLocal){Ce.warn("[loadExpandedOptions] G7Core dataSource/state API is not available");return}Array.isArray(e.expandedRows)&&a.state.setLocal({expandedRows:e.expandedRows});const n=Array.isArray(e.productIds)?e.productIds:e.productId!==void 0&&e.productId!==null?[e.productId]:Array.isArray(e.expandedRows)?e.expandedRows:a.state.getLocal?.()?.expandedRows||[];if(!Array.isArray(n)||n.length===0)return;const s=Xt(a,t),i=new Map(s.map(d=>[String(d?.id),d])),l=[],u={};n.forEach(d=>{const m=String(d),f=i.get(m);if(f&&!(!o&&Array.isArray(f.options))){if(Number(f.options_total_count)===0){u[m]=[];return}Ge.has(m)||l.push(m)}}),Object.keys(u).length>0&&Xe(a,t,u),l.length!==0&&(l.length>Oe&&(Ce.warn(`[loadExpandedOptions] Requested ${l.length} products, truncating to ${Oe}`),l.length=Oe),l.forEach(d=>Ge.add(d)),Ee(a,(d,m)=>({loading:Array.from(new Set([...d,...l])),errored:m.filter(f=>!l.includes(f))})),a.api.get(Jt,{params:{product_ids:l.map(d=>Number(d))}}).then(d=>{const f=(d?.data||{}).options||{},g={};l.forEach(w=>{const y=f[w];g[w]=Array.isArray(y)?y:[]}),Xe(a,t,g),Zt(a,g),Ee(a,(w,y)=>({loading:w.filter(_=>!l.includes(_)),errored:y.filter(_=>!l.includes(_))}))}).catch(d=>{Ce.error("[loadExpandedOptions] Failed to load options:",d),Ee(a,(f,g)=>({loading:f.filter(w=>!l.includes(w)),errored:Array.from(new Set([...g,...l]))}));const m=d?.response?.data?.message||a.t?.("sirsoft-ecommerce.admin.product.table.options.load_failed")||"Failed to load product options.";a.toast?.error?.(m)}).finally(()=>{l.forEach(d=>Ge.delete(d))}))}function eo(r,c={}){const e=r?.state?.getLocal?.()?.expandedRows||[];!Array.isArray(e)||e.length===0||Fe({params:{productIds:e,force:c.force===!0,dataSourceId:c.dataSourceId||"products"}})}function to(r,c){const e=r.params||{};Fe({params:{productId:e.productId,productIds:e.productIds,force:!0,dataSourceId:e.dataSourceId}})}const P=window.G7Core?.createLogger?.("Ecom:Category")??{log:(...r)=>console.log("[Ecom:Category]",...r),warn:(...r)=>console.warn("[Ecom:Category]",...r),error:(...r)=>console.error("[Ecom:Category]",...r)};function Ze(r,c,e,t=[]){for(const o of r){const a=o.name?.[e]||o.name?.ko||"";if(o.id===c)return[...t,a].join(" > ");if(o.children&&o.children.length>0){const n=Ze(o.children,c,e,[...t,a]);if(n)return n}}return null}function oo(r,c,e){return r.map(t=>{if(t.breadcrumb)return{id:t.id,breadcrumb:t.breadcrumb};const o=Ze(c,t.id,e);if(o)return{id:t.id,breadcrumb:o};const a=t.name?.[e]||t.name?.ko||t.name_localized||"";return{id:t.id,breadcrumb:a}})}function ro(r,c){const e=r.params||{},t=e.depth,o=e.category;if(t===void 0||!o){P.warn("[selectCategory] Missing depth or category param");return}const a=c.isolatedContext;if(a){const u=a.state.selectedCategories||[null,null,null,null];if(u[t]?.id===o.id){P.log(`[selectCategory] Same category already selected at depth ${t}, skipping`);return}const d=u.map((m,f)=>fdp0?t+2:f;a.mergeState({selectedCategories:g,categoryStep:y}),P.log(`[selectCategoryMobile] Selected category at depth ${t} (isolated):`,o.id,"nextStep:",y);return}const n=window.G7Core;if(!n?.state){P.warn("[selectCategoryMobile] G7Core.state API is not available");return}const s=n.state.getLocal()||{},l=(s.ui?.selectedCategories||[null,null,null,null]).map((m,f)=>f0?t+2:s.ui?.categoryStep;n.state.setLocal({ui:{...s.ui,selectedCategories:l,categoryStep:d}}),P.log(`[selectCategoryMobile] Selected category at depth ${t}:`,o.id,"nextStep:",d)}function ao(r,c){P.log("[addCategoryToSelection] START");const e=window.G7Core;if(!e?.state){P.warn("[addCategoryToSelection] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=e.locale?.current?.()||"ko",a=c.isolatedContext,n=a?a.state.selectedCategories||[]:t.ui?.selectedCategories||[];P.log("[addCategoryToSelection] Current state:",{selectedCats:n.map(p=>p?.id??null),currentCategoryIds:t.form?.category_ids,currentSelectedCategoryInfos:t.selectedCategoryInfos,usingIsolatedContext:!!a});const s=n.filter(Boolean).pop();if(!s){P.warn("[addCategoryToSelection] No category selected");return}P.log("[addCategoryToSelection] Last selected category:",s.id,s.name);const i=t.form?.category_ids||[];if(i.length>=5){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.category.messages.max_5")??"You can select up to 5 categories.");return}if(i.includes(s.id)){P.log("[addCategoryToSelection] Duplicate detected:",s.id,"in",i),e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.category.messages.already_selected")??"This category is already selected.");return}const l=n.filter(Boolean).map(p=>p.name?.[o]||p.name?.ko||"").join(" > "),u=[...i,s.id],d=t.form?.primary_category_id||s.id,f=(e.state.getDataSources?.()||{}).categories?.data?.data||[];let g=t.selectedCategoryInfos||[];const w=t.form?.categories||[];g.length===0&&w.length>0&&(P.log("[addCategoryToSelection] Initializing from form.categories:",w.length,"items"),g=oo(w,f,o));const y=[...g,{id:s.id,breadcrumb:l}];P.log("[addCategoryToSelection] Before setLocal:",{newCategoryIds:u,primaryCategoryId:d,newInfos:y});try{e.state.setLocal({form:{...t.form,category_ids:u,primary_category_id:d},selectedCategoryInfos:y,hasChanges:!0}),P.log("[addCategoryToSelection] setLocal SUCCESS")}catch(p){P.error("[addCategoryToSelection] setLocal FAILED:",p)}const _=e.state.getLocal()||{};P.log("[addCategoryToSelection] After setLocal:",{category_ids:_.form?.category_ids,selectedCategoryInfos:_.selectedCategoryInfos}),P.log(`[addCategoryToSelection] Added category ${s.id} with breadcrumb: ${l}. Total: ${u.length}`)}function so(r,c){const t=(r.params||{}).categoryId;if(!t){P.warn("[removeCategoryFromSelection] Missing categoryId param");return}const o=window.G7Core;if(!o?.state){P.warn("[removeCategoryFromSelection] G7Core.state API is not available");return}const a=o.state.getLocal()||{},s=(a.form?.category_ids||[]).filter(d=>d!==t);let i=a.form?.primary_category_id;i===t&&(i=s[0]||null);const u=(a.selectedCategoryInfos||[]).filter(d=>d.id!==t);o.state.setLocal({form:{...a.form,category_ids:s,primary_category_id:i},selectedCategoryInfos:u,hasChanges:!0}),P.log(`[removeCategoryFromSelection] Removed category ${t}. Remaining: ${s.length}`)}function io(r,c){const e=r.params||{},t=e.categoryId,o=e.categories;if(!t||!o||!Array.isArray(o))return"";const n=window.G7Core?.locale?.current?.()||"ko",s=(l,u,d=[])=>{for(const m of l){const f=m.name?.[n]||m.name?.ko||"";if(m.id===u)return[...d,f];if(m.children&&m.children.length>0){const g=s(m.children,u,[...d,f]);if(g)return g}}return null},i=s(o,t);return i?i.join(" > "):""}function co(r,c){P.log("[initCategoryInfosFromProduct] START");const e=window.G7Core;if(!e?.state){P.warn("[initCategoryInfosFromProduct] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=e.locale?.current?.()||"ko",n=(e.state.getDataSources?.()||{}).categories?.data?.data||[],s=t.form?.categories||[],i=t.form?.category_ids||[];if(P.log("[initCategoryInfosFromProduct] Product categories:",s),P.log("[initCategoryInfosFromProduct] Category IDs:",i),P.log("[initCategoryInfosFromProduct] Categories tree available:",n.length>0),i.length===0){P.log("[initCategoryInfosFromProduct] No categories to initialize");return}const l=(d,m,f=[])=>{for(const g of d){const w=g.name?.[o]||g.name?.ko||"";if(g.id===m)return[...f,w];if(g.children&&g.children.length>0){const y=l(g.children,m,[...f,w]);if(y)return y}}return null},u=[];for(const d of i){const m=l(n,d);if(m)u.push({id:d,breadcrumb:m.join(" > ")});else{const f=s.find(g=>g.id===d);if(f){const g=f.name?.[o]||f.name?.ko||f.name_localized||"";u.push({id:d,breadcrumb:g})}}}P.log("[initCategoryInfosFromProduct] Generated selectedCategoryInfos:",u),e.state.setLocal({selectedCategoryInfos:u}),P.log("[initCategoryInfosFromProduct] DONE")}function lo(r,c){const e={category1:"",category2:"",category3:"",category4:""},t=r.params||{},o=t.categoryId1?String(t.categoryId1):"",a=t.categoryId2?String(t.categoryId2):"",n=t.categoryId3?String(t.categoryId3):"",s=t.categoryId4?String(t.categoryId4):"",i=t.categories;if(!i||!Array.isArray(i)||i.length===0)return P.warn("[validateCategoryPath] No categories data provided"),e;if(o){const l=i.find(u=>String(u.id)===o);if(l&&l.depth===0&&(e.category1=o,a&&l.children)){const u=l.children.find(d=>String(d.id)===a);if(u&&u.depth===1&&(e.category2=a,n&&u.children)){const d=u.children.find(m=>String(m.id)===n);if(d&&d.depth===2&&(e.category3=n,s&&d.children)){const m=d.children.find(f=>String(f.id)===s);m&&m.depth===3&&(e.category4=s)}}}}return P.log("[validateCategoryPath] Result:",e),e}function uo(r,c){const e=r.params||{},t=e.brandId,o=e.brands;if(!t||!o||!Array.isArray(o))return"";const n=window.G7Core?.locale?.current?.()||"ko",s=o.find(i=>i.id===t);return s?s.name?.[n]??s.name?.ko??"":""}function mo(r,c){const e=r.params||{},t=e.brandId,o=e.brands;if(!t||!o||!Array.isArray(o))return"";const n=window.G7Core?.locale?.current?.()||"ko",s=o.find(i=>i.id===t);return s?.description?.[n]??s?.description?.ko??""}const Z=window.G7Core?.createLogger?.("Ecom:Price")??{log:(...r)=>console.log("[Ecom:Price]",...r),warn:(...r)=>console.warn("[Ecom:Price]",...r),error:(...r)=>console.error("[Ecom:Price]",...r)},po={KRW:1e3,JPY:100};function fo(r,c){const t=r.find(o=>o.code===c)?.base_unit??po[c]??1;return Math.max(1,t)}function go(r,c,e,t){const o=r/t*c;switch(e){case"ceil":return Math.ceil(o);case"floor":return Math.floor(o);case"round":default:return Math.round(o)}}function _o(r,c){const e=r.params||{},t=e.field,o=e.currency,a=e.value,n=e.autoFill;if(!t||!o||a===void 0){Z.warn("[updatePrice] Missing required params: field, currency, or value");return}const s=window.G7Core;if(!s?.state){Z.warn("[updatePrice] G7Core.state API is not available");return}const i=s.state.getLocal()||{},l=c.datasources?.currencies?.data||{},u=l?.list||[],d=l?.default_currency||"KRW",m=l?.rounding_method||"round",f={...i.form?.multi_currency_prices||{}};if(f[o]={...f[o]||{},[t]:a},n&&o===d){const y=fo(u,d);u.forEach(_=>{if(_.code!==d){const p=_.exchange_rate??1,v=go(a,p,m,y);f[_.code]={...f[_.code]||{},[t]:v}}})}const g={list:"list_price",selling:"selling_price"},w=o===d?a:i.form?.[g[t]];s.state.setLocal({form:{...i.form,multi_currency_prices:f,[g[t]]:w},hasChanges:!0}),Z.log(`[updatePrice] Updated ${t} price for ${o}: ${a}`)}function wo(r,c){const t=(r.params||{}).options;if(!t||!Array.isArray(t)||t.length===0)return 0;const o=t.reduce((a,n)=>n.is_active===!1?a:a+(n.stock_quantity||0),0);return Z.log(`[calculateTotalOptionStock] Total stock: ${o}`),o}function yo(r,c){const e=window.G7Core;if(!e?.state){Z.warn("[validatePriceRelation] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=parseFloat(String(t.form?.list_price))||0,a=parseFloat(String(t.form?.selling_price))||0,n=a>o&&o>0,s=e.t?.("sirsoft-ecommerce.admin.product.validation.selling_price_exceeds_list_price")??"판매가는 정가보다 클 수 없습니다.",i={...t.errors||{}};n?i.selling_price=[s]:delete i.selling_price;const l=Object.keys(i).length>0;e.state.setLocal({validation:{...t.validation,price_error:n},errors:l?i:null}),n?(e.toast?.warning?.(s),Z.warn(`[validatePriceRelation] Selling price (${a}) exceeds list price (${o})`)):Z.log("[validatePriceRelation] Price validation passed")}const T=window.G7Core?.createLogger?.("Ecom:ProductOption")??{log:(...r)=>console.log("[Ecom:ProductOption]",...r),warn:(...r)=>console.warn("[Ecom:ProductOption]",...r),error:(...r)=>console.error("[Ecom:ProductOption]",...r)};function ho(){return window.G7Core?.config?.("app.supported_locales")??["ko","en"]}function et(){return ho().reduce((c,e)=>({...c,[e]:""}),{})}function be(r){return(r??[]).filter(c=>c.is_active!==!1).reduce((c,e)=>c+(parseInt(String(e.stock_quantity),10)||0),0)}const Co={KRW:1e3,JPY:100};function De(){const e=((window.G7Core?.state?.get?.()||{}).modules?.["sirsoft-ecommerce"]?.language_currency?.currencies||[]).find(o=>o.is_default);if(!e)return 1;const t=e.base_unit??Co[e.code]??1;return Math.max(1,t)}function bo(r,c,e){const t=parseFloat(c)||1;if(t<=0)return r;const o=r/t;let a;switch(e){case"ceil":a=Math.ceil(o);break;case"floor":a=Math.floor(o);break;default:a=Math.round(o)}return a*t}function $e(r,c,e){const t=c.exchange_rate||0;if(t<=0)return{price:0,formatted:ye(0,c)};const o=e??De(),a=r/o*t,n=bo(a,c.rounding_unit||"0.01",c.rounding_method||"round"),s=c.decimal_places??2,i=parseFloat(n.toFixed(s));return{price:i,formatted:ye(i,c)}}function Ne(r,c,e){return r.map(t=>{const o=parseFloat(String(t.price_adjustment))||0,a=c+o,n={...t,selling_price:a};if(e.length>0){const s=De(),i={};e.forEach(l=>{i[l.code]=$e(a,l,s)}),n.multi_currency_selling_price=i}return n})}function Te(){return((window.G7Core?.state?.get?.()||{}).modules?.["sirsoft-ecommerce"]?.language_currency?.currencies||[]).filter(c=>!c.is_default&&c.exchange_rate)}function Io(r,c){const e=r.params||{},t=window.G7Core;if(!t?.state){T.warn("[setDefaultOption] G7Core.state API is not available");return}const o=t.state.getLocal()||{},a=[...o.form?.options??[]],n=e.index,s=n!=null?typeof n=="string"?parseInt(n,10):n:-1,i=e.optionCode??a[s]?.option_code;if(!i){T.warn("[setDefaultOption] Missing optionCode/index param",{index:n});return}let l=a.map(m=>({...m,is_default:m.option_code===i}));const u=l.find(m=>m.is_default===!0),d=u?parseFloat(String(u.selling_price))||parseFloat(String(o.form?.selling_price))||0:parseFloat(String(o.form?.selling_price))||0;if(u){u.price_adjustment=0;const m=Te();l=Ne(l,d,m)}t.state.setLocal({form:{...o.form,options:l,selling_price:d},hasChanges:!0}),T.log(`[setDefaultOption] Set default option to ${i}, synced product selling_price to ${d}`)}function So(r,c){const e=r.params||{},t=typeof e.index=="string"?parseInt(e.index,10):e.index,o=e.field,a=e.value;if(t==null||!o){T.warn("[updateFormOptionField] Missing required params:",{index:t,field:o});return}const n=window.G7Core;if(!n?.state){T.warn("[updateFormOptionField] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=[...s.form?.options??[]];if(t<0||t>=i.length){T.warn("[updateFormOptionField] Index out of bounds:",{index:t,length:i.length});return}const l=["regular_price","sale_price","list_price","selling_price","stock_quantity","safe_stock_quantity","weight","volume","mileage_value"];let u=a;if(l.includes(o)&&(u=parseFloat(a)||0),i[t]={...i[t],[o]:u},o==="selling_price"){const d=parseFloat(String(u))||0,m=Te();if(i[t].is_default===!0){i[t].price_adjustment=0;const g=Ne(i,d,m);n.state.setLocal({form:{...s.form,options:g,selling_price:d},hasChanges:!0}),T.log(`[updateFormOptionField] Reverse-synced product selling_price to ${d} from default option`);return}const f=parseFloat(String(s.form?.selling_price))||0;if(i[t].price_adjustment=d-f,m.length>0){const g=De(),w={};m.forEach(y=>{w[y.code]=$e(d,y,g)}),i[t].multi_currency_selling_price=w,T.log(`[updateFormOptionField] Recalculated multi_currency_selling_price for option at index ${t}:`,m.map(y=>y.code))}}if((o==="stock_quantity"||o==="is_active")&&i.length>0){const d=be(i);n.state.setLocal({form:{...s.form,options:i,stock_quantity:d},hasChanges:!0}),T.log(`[updateFormOptionField] Updated product stock_quantity to ${d} (sum of active options)`);return}n.state.setLocal({form:{...s.form,options:i},hasChanges:!0}),T.log(`[updateFormOptionField] Updated options[${t}].${o} =`,u)}function vo(r,c){const e=window.G7Core;if(!e?.state){T.warn("[addOptionRow] G7Core.state API is not available");return}const o=r.params?.isCreate===!0||r.params?.isCreate==="true"?1:0,a=e.state.getLocal()||{},n=[...a.form?.options??[]],s=a.form?.option_groups??[],i=`OPT-${Date.now()}`,l=s.map(f=>({key:f.name,value:et()})),u={id:null,option_code:i,option_name:et(),option_values:l,is_default:n.length===0,regular_price:0,sale_price:0,list_price:0,selling_price:0,price_adjustment:0,multi_currency_selling_price:{},sku:"",stock_quantity:o,safe_stock_quantity:0,weight:0,volume:0,mileage_value:0,mileage_type:"percent",is_active:!0},d=[...n,u],m=be(d);e.state.setLocal({form:{...a.form,options:d,stock_quantity:m,has_options:d.length>0},hasChanges:!0}),T.log(`[addOptionRow] Added new option row: ${i}, product stock_quantity = ${m}`)}function Lo(r,c){const e=window.G7Core;if(!e?.state){T.warn("[recalculateOptionPriceAdjustments] G7Core.state API is not available");return}const t=r.params||{},o=e.state.getLocal()||{},a=t.newSellingPrice!==void 0?parseFloat(String(t.newSellingPrice))||0:parseFloat(String(o.form?.selling_price))||0,n=[...o.form?.options??[]];if(n.length===0){T.log("[recalculateOptionPriceAdjustments] No options to recalculate");return}const s=Te(),i=Ne(n,a,s);e.state.setLocal({form:{...o.form,options:i}}),T.log(`[recalculateOptionPriceAdjustments] Recalculated selling_price for ${n.length} options based on product selling_price: ${a}`)}const h=window.G7Core?.createLogger?.("Ecom:Option")??{log:(...r)=>console.log("[Ecom:Option]",...r),warn:(...r)=>console.warn("[Ecom:Option]",...r),error:(...r)=>console.error("[Ecom:Option]",...r)};function Re(){return window.G7Core?.config?.("app.supported_locales")??["ko","en"]}function ce(){return window.G7Core?.config?.("app.locale")??Re()[0]??"ko"}function q(){return Re().reduce((c,e)=>({...c,[e]:""}),{})}function tt(r){return{id:null,name:q(),price_adjustment:0,is_default:r===0,is_active:!0,allow_custom_text:!1,sort_order:r}}function xo(r,c){return typeof r=="string"?r:r[c]??r.ko??Object.values(r)[0]??""}function ot(r){return r&&typeof r=="object"&&!Array.isArray(r)}function Po(r){return Array.isArray(r)?r:r&&typeof r=="object"?Object.values(r):[]}function Ao(r){return r.reduce((c,e)=>{const t=[];return c.forEach(o=>{e.forEach(a=>{t.push([...o,a])})}),t},[[]])}function ko(r){const c=Re(),e={};for(const t of c){const o=r.map(a=>xo(a,t));e[t]=o.join("/")}return e}function Oo(r,c){return c.map((e,t)=>({key:typeof e.name=="string"?{...q(),[ce()]:e.name}:e.name,value:ot(r[t])?r[t]:{...q(),[ce()]:r[t]}}))}function Go(r,c){const e=window.G7Core;if(!e?.state){h.warn("[addOptionInput] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=t.ui?.optionInputs??[];if(o.length>=3){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.options.messages.input_max_3")??"You can add up to 3 option inputs.");return}e.state.setLocal({ui:{...t.ui,optionInputs:[...o,{name:q(),values:[]}]}}),h.log(`[addOptionInput] Added option input. Total: ${o.length+1}`)}function Eo(r,c){const t=(r.params||{}).index;if(t===void 0){h.warn("[removeOptionInput] Missing index param");return}const o=window.G7Core;if(!o?.state){h.warn("[removeOptionInput] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.ui?.optionInputs??[]];n.splice(t,1),o.state.setLocal({ui:{...a.ui,optionInputs:n}}),h.log(`[removeOptionInput] Removed option input at index ${t}`)}function Fo(r,c){const e=r.params||{},t=e.index,o=e.field,a=e.value;if(t===void 0||!o){h.warn("[updateOptionInput] Missing required params");return}const n=window.G7Core;if(!n?.state){h.warn("[updateOptionInput] G7Core.state API is not available");return}h.log(`[updateOptionInput] Called with index=${t}, field="${o}" (type: ${typeof o}), value=`,a);const s=n.state.getLocal()||{},i=[...s.ui?.optionInputs??[]];if(h.log(`[updateOptionInput] Current inputs[${t}]:`,i[t]),i[t]||(h.log(`[updateOptionInput] inputs[${t}] not found, initializing with empty structure`),i[t]={name:q(),values:[]}),o==="name"){const l=ce(),u=i[t].name;h.log(`[updateOptionInput] Processing 'name' field - defaultLocale: ${l}, existingName:`,u,`type: ${typeof u}`);let d;a&&typeof a=="object"&&!Array.isArray(a)?(d=a,h.log("[updateOptionInput] Using multilingual value directly:",d)):(d={...u&&typeof u=="object"&&!Array.isArray(u)?u:q(),[l]:a},h.log("[updateOptionInput] Setting single locale value:",d)),i[t]={...i[t],name:d}}else h.log(`[updateOptionInput] Processing non-name field '${o}'`),i[t]={...i[t],[o]:a};h.log(`[updateOptionInput] Final inputs[${t}]:`,i[t]),n.state.setLocal({ui:{...s.ui,optionInputs:i}})}function Do(r,c){const e=window.G7Core;if(!e?.state){h.warn("[generateOptions] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=e.state.get()||{},a=t.ui?.optionInputs??[],n=ce(),s=p=>p.name?typeof p.name=="string"?p.name:p.name[n]??"":"",i=a.map(p=>({...p,values:Po(p.values)})),l=i.filter(p=>s(p)&&p.values&&p.values.length>0);if(h.log(`[generateOptions] Validating inputs - defaultLocale: ${n}, normalizedInputs:`,i.map(p=>({name:p.name,nameType:typeof p.name,extractedName:s(p),values:p.values,valuesIsArray:Array.isArray(p.values)}))),h.log(`[generateOptions] Valid inputs count: ${l.length}`),l.length===0){e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.product.options.messages.name_value_required")??"Please enter option name and values.");return}const u=t.form?.options??[],d=r.params?.skipConfirm===!0;if(u.length>0&&!d){e.modal?.open?.("modal_confirm_regenerate");return}const f=r.params?.isCreate===!0||r.params?.isCreate==="true"?1:0,g=parseFloat(String(t.form?.list_price))||0,w=parseFloat(String(t.form?.selling_price))||0,y=t.form?.multi_currency_selling_price,_=(o.modules?.["sirsoft-ecommerce"]?.language_currency?.currencies||[]).filter(p=>!p.is_default&&p.exchange_rate);try{h.log("[generateOptions] Step 1: Creating optionGroups...");const p=l.map((L,O)=>(h.log(`[generateOptions] Processing input[${O}]:`,{name:L.name,values:L.values,valuesType:typeof L.values,valuesIsArray:Array.isArray(L.values)}),{name:typeof L.name=="string"?{...q(),[n]:L.name}:L.name,values:L.values.map($=>ot($)?$:{...q(),[n]:$})})),C=Ao(l.map(L=>L.values)).map((L,O)=>{const $=Oo(L,l),Q=ko(L),Ct=`OPT-${String(O+1).padStart(3,"0")}`;let J={};return y&&typeof y=="object"&&Object.keys(y).length>0?J=JSON.parse(JSON.stringify(y)):w>0&&_.length>0&&_.forEach(xe=>{J[xe.code]=$e(w,xe)}),{id:null,option_code:Ct,option_values:$,option_name:Q,list_price:g,selling_price:w,price_adjustment:0,stock_quantity:f,safe_stock_quantity:0,is_default:O===0,is_active:!0,sku:"",multi_currency_selling_price:J}}),A=t.form?.options??[],x=L=>L.option_name?typeof L.option_name=="string"?L.option_name:L.option_name[n]??L.option_name.ko??"":"",I=C.map(L=>{const O=x(L),$=A.find(Q=>x(Q)===O);return $?{...L,...$,id:$.id}:L}),N=be(I);e.state.setLocal({form:{...t.form,option_groups:p,options:I,has_options:I.length>0,stock_quantity:N},hasChanges:!0}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.product.options.messages.generated",{count:I.length})??`${I.length} options have been generated.`),h.log(`[generateOptions] Generated ${I.length} options`)}catch(p){throw h.error("[generateOptions] Error occurred:",p),h.error("[generateOptions] Error message:",p.message),h.error("[generateOptions] Error stack:",p.stack),p}}function $o(r,c){const t=(r.params||{}).rowIndex;if(t===void 0){h.warn("[deleteOption] Missing rowIndex param");return}const o=window.G7Core;if(!o?.state){h.warn("[deleteOption] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.options??[]];n.splice(t,1);const s=be(n),i=n.length>0;o.state.setLocal({form:{...a.form,options:n,has_options:i,...i?{stock_quantity:s}:{}},hasChanges:!0}),h.log(`[deleteOption] Deleted option at index ${t}, product stock_quantity = ${s}`)}function No(r,c){const e=r.params||{},t=e.optionName,o=e.applyToAll,a=e.inheritPrice,n=window.G7Core;if(!n?.state){h.warn("[applyOptionAddTool] G7Core.state API is not available");return}if(!t?.trim()){n.toast?.warning?.(n.t?.("sirsoft-ecommerce.admin.product.options.messages.name_required")??"Please enter option name.");return}const s=n.state.getLocal()||{},l=[...s.form?.options??[]].map(u=>{const d={...u};return o&&(d.option_values={...u.option_values,[t]:""}),a&&(d.price_adjustment=u.price_adjustment??0),d});n.state.setLocal({form:{...s.form,options:l},ui:{...s.ui,optionAddToolName:"",optionAddToolApplyToAll:!1,optionAddToolInheritPrice:!1},hasChanges:!0}),n.toast?.success?.(n.t?.("sirsoft-ecommerce.admin.product.options.messages.add_tool_applied")??"Option add tool has been applied.")}function To(r,c){const e=window.G7Core;if(!e?.state){h.warn("[addRequiredItem] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=t.form?.required_items??[],a={id:null,sort_order:o.length,option_name:{ko:"",en:""},description:{ko:"",en:""}};e.state.setLocal({form:{...t.form,required_items:[...o,a]},hasChanges:!0}),h.log(`[addRequiredItem] Added required item. Total: ${o.length+1}`)}function Ro(r,c){const e=r.params||{},t=e.index,o=e.field,a=e.locale,n=e.value;if(t===void 0||!o||!a){h.warn("[updateRequiredItem] Missing required params");return}const s=window.G7Core;if(!s?.state){h.warn("[updateRequiredItem] G7Core.state API is not available");return}const i=s.state.getLocal()||{},l=[...i.form?.required_items??[]];l[t]={...l[t],[o]:{...l[t][o],[a]:n}},s.state.setLocal({form:{...i.form,required_items:l},hasChanges:!0})}function Mo(r,c){const t=(r.params||{}).index;if(t===void 0){h.warn("[removeRequiredItem] Missing index param");return}const o=window.G7Core;if(!o?.state){h.warn("[removeRequiredItem] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.required_items??[]];n.splice(t,1),n.forEach((s,i)=>{s.sort_order=i}),o.state.setLocal({form:{...a.form,required_items:n},hasChanges:!0}),h.log(`[removeRequiredItem] Removed required item at index ${t}`)}function Ho(r,c){const e=r.params||{},t=e.oldIndex,o=e.newIndex;if(t===void 0||o===void 0){h.warn("[reorderRequiredItems] Missing oldIndex or newIndex param");return}const a=window.G7Core;if(!a?.state){h.warn("[reorderRequiredItems] G7Core.state API is not available");return}const n=a.state.getLocal()||{},s=[...n.form?.required_items??[]],[i]=s.splice(t,1);s.splice(o,0,i),s.forEach((l,u)=>{l.sort_order=u}),a.state.setLocal({form:{...n.form,required_items:s},hasChanges:!0}),h.log(`[reorderRequiredItems] Moved item from ${t} to ${o}`)}function qo(r,c){const e=window.G7Core;if(!e?.state){h.warn("[addAdditionalOption] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=t.form?.additional_options??[];if(o.length>=5){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.options.messages.additional_max_5")??"You can add up to 5 additional options.");return}const a=`temp_${Date.now()}_${Math.random().toString(36).substring(2,9)}`;e.state.setLocal({form:{...t.form,additional_options:[...o,{id:a,name:q(),is_required:!1,sort_order:o.length,values:[tt(0)]}]},hasChanges:!0}),h.log(`[addAdditionalOption] Added additional option. Total: ${o.length+1}`)}function Uo(r,c){const e=r.params||{},t=e.index,o=e.field,a=e.value;if(t===void 0||!o){h.warn("[updateAdditionalOption] Missing required params");return}const n=window.G7Core;if(!n?.state){h.warn("[updateAdditionalOption] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=[...s.form?.additional_options??[]];if(!i[t]){h.warn("[updateAdditionalOption] Option not found at index",t);return}if(o==="name")if(a&&typeof a=="object"&&!Array.isArray(a))i[t]={...i[t],name:a};else{const l=ce(),u=i[t].name,d=u&&typeof u=="object"&&!Array.isArray(u)?u:q();i[t]={...i[t],name:{...d,[l]:a}}}else i[t]={...i[t],[o]:a};n.state.setLocal({form:{...s.form,additional_options:i},hasChanges:!0}),h.log(`[updateAdditionalOption] Updated options[${t}].${o}`)}function Vo(r,c){const t=(r.params||{}).index;if(t===void 0){h.warn("[removeAdditionalOption] Missing index param");return}const o=window.G7Core;if(!o?.state){h.warn("[removeAdditionalOption] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.additional_options??[]];n.splice(t,1),n.forEach((s,i)=>{s.sort_order=i}),o.state.setLocal({form:{...a.form,additional_options:n},hasChanges:!0}),h.log(`[removeAdditionalOption] Removed additional option at index ${t}`)}function jo(r,c){const e=r.params||{},t=parseInt(String(e.oldIndex),10),o=parseInt(String(e.newIndex),10);if(isNaN(t)||isNaN(o)||t===o)return;const a=window.G7Core;if(!a?.state){h.warn("[reorderAdditionalOptions] G7Core.state API is not available");return}const n=a.state.getLocal()||{},s=[...n.form?.additional_options??[]];if(t<0||t>=s.length||o<0||o>=s.length)return;const[i]=s.splice(t,1);s.splice(o,0,i),s.forEach((l,u)=>{l.sort_order=u}),a.state.setLocal({form:{...n.form,additional_options:s},ui:{...n.ui,dragIndex:null},hasChanges:!0}),h.log(`[reorderAdditionalOptions] Moved item from ${t} to ${o}`)}function Bo(r,c){const e=window.G7Core;if(!e?.state){h.warn("[clearAdditionalOptions] G7Core.state API is not available");return}const t=e.state.getLocal()||{};e.state.setLocal({form:{...t.form,additional_options:[]},hasChanges:!0}),h.log("[clearAdditionalOptions] Cleared all additional options.")}function Me(r){if(!r)return[];const c=r.values;return Array.isArray(c)?c:c&&typeof c=="object"?Object.values(c):[]}function Ko(r,c){const e=r.params||{},t=typeof e.groupIndex=="string"?parseInt(e.groupIndex,10):e.groupIndex;if(t==null||isNaN(t)){h.warn("[addAdditionalOptionValue] Missing groupIndex param");return}const o=window.G7Core;if(!o?.state){h.warn("[addAdditionalOptionValue] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.additional_options??[]];if(!n[t]){h.warn("[addAdditionalOptionValue] Group not found at index",t);return}const s=[...Me(n[t])];if(s.length>=20){o.toast?.warning?.(o.t?.("sirsoft-ecommerce.admin.product.options.messages.additional_value_max_20")??"You can add up to 20 choices per group.");return}s.push(tt(s.length)),n[t]={...n[t],values:s},o.state.setLocal({form:{...a.form,additional_options:n},hasChanges:!0}),h.log(`[addAdditionalOptionValue] Added value to group ${t}. Total: ${s.length}`)}function Qo(r,c){const e=r.params||{},t=typeof e.groupIndex=="string"?parseInt(e.groupIndex,10):e.groupIndex,o=typeof e.valueIndex=="string"?parseInt(e.valueIndex,10):e.valueIndex,a=e.field,n=e.value;if(t===void 0||o===void 0||!a){h.warn("[updateAdditionalOptionValue] Missing required params");return}const s=window.G7Core;if(!s?.state){h.warn("[updateAdditionalOptionValue] G7Core.state API is not available");return}const i=s.state.getLocal()||{},l=[...i.form?.additional_options??[]];if(!l[t]){h.warn("[updateAdditionalOptionValue] Group not found at index",t);return}const u=[...Me(l[t])];if(!u[o]){h.warn("[updateAdditionalOptionValue] Value not found at index",o);return}if(a==="name")if(n&&typeof n=="object"&&!Array.isArray(n))u[o]={...u[o],name:n};else{const d=ce(),m=u[o].name,f=m&&typeof m=="object"&&!Array.isArray(m)?m:q();u[o]={...u[o],name:{...f,[d]:n}}}else if(a==="price_adjustment"){let d=parseFloat(String(n));(isNaN(d)||d<0)&&(d=0),u[o]={...u[o],price_adjustment:d}}else if(a==="is_default")n===!0||n==="true"?u.forEach((m,f)=>{m.is_default=f===o}):u[o].is_default=!1;else if(a==="is_active"||a==="allow_custom_text"){const d=n===!0||n==="true";u[o]={...u[o],[a]:d}}else u[o]={...u[o],[a]:n};l[t]={...l[t],values:u},s.state.setLocal({form:{...i.form,additional_options:l},hasChanges:!0}),h.log(`[updateAdditionalOptionValue] Updated group ${t} value ${o} field ${a}`)}function zo(r,c){const e=r.params||{},t=typeof e.groupIndex=="string"?parseInt(e.groupIndex,10):e.groupIndex,o=typeof e.valueIndex=="string"?parseInt(e.valueIndex,10):e.valueIndex;if(t===void 0||o===void 0){h.warn("[removeAdditionalOptionValue] Missing required params");return}const a=window.G7Core;if(!a?.state){h.warn("[removeAdditionalOptionValue] G7Core.state API is not available");return}const n=a.state.getLocal()||{},s=[...n.form?.additional_options??[]];if(!s[t]){h.warn("[removeAdditionalOptionValue] Group not found at index",t);return}const i=[...Me(s[t])];if(i.length<=1){a.toast?.warning?.(a.t?.("sirsoft-ecommerce.admin.product.options.messages.additional_value_min_1")??"At least one choice is required per group.");return}i.splice(o,1),i.forEach((l,u)=>{l.sort_order=u}),i.some(l=>l.is_default)||(i[0].is_default=!0),s[t]={...s[t],values:i},a.state.setLocal({form:{...n.form,additional_options:s},hasChanges:!0}),h.log(`[removeAdditionalOptionValue] Removed value ${o} from group ${t}`)}const j=window.G7Core?.createLogger?.("Ecom:Image")??{log:(...r)=>console.log("[Ecom:Image]",...r),warn:(...r)=>console.warn("[Ecom:Image]",...r),error:(...r)=>console.error("[Ecom:Image]",...r)},Wo=["image/jpeg","image/png","image/gif","image/webp"],Yo=10*1024*1024,Jo=20;async function Xo(r,c){const t=(r.params||{}).files;if(!t||t.length===0){j.warn("[uploadImages] No files provided");return}const o=window.G7Core;if(!o?.state||!o?.api){j.warn("[uploadImages] G7Core.state or G7Core.api is not available");return}const n=(o.state.getLocal()||{}).form?.images??[],s=Jo-n.length;t.length>s&&o.toast?.warning?.(o.t?.("sirsoft-ecommerce.admin.product.images.messages.max_count",{max:s})??`You can add up to ${s} images.`);const i=Array.from(t).slice(0,s);for(const l of i){if(!Wo.includes(l.type)){o.toast?.error?.(o.t?.("sirsoft-ecommerce.admin.product.images.messages.unsupported_format",{name:l.name})??`${l.name}: Unsupported format.`);continue}if(l.size>Yo){o.toast?.error?.(o.t?.("sirsoft-ecommerce.admin.product.images.messages.size_exceeded",{name:l.name})??`${l.name}: Exceeds 10MB.`);continue}const u=o.state.getLocal()||{};o.state.setLocal({ui:{...u.ui,uploadProgress:{...u.ui?.uploadProgress||{},[l.name]:0}}});try{const d=new FormData;d.append("file",l),d.append("collection","products");const m=await o.api.upload("/api/admin/media/upload",d,{onProgress:v=>{const C=o.state.getLocal()||{};o.state.setLocal({ui:{...C.ui,uploadProgress:{...C.ui?.uploadProgress||{},[l.name]:v}}})}}),f=o.state.getLocal()||{},g=f.form?.images??[],w={...m.data,is_thumbnail:g.length===0,sort_order:g.length};o.state.setLocal({form:{...f.form,images:[...g,w]},hasChanges:!0});const y=o.state.getLocal()||{},{[l.name]:_,...p}=y.ui?.uploadProgress||{};o.state.setLocal({ui:{...y.ui,uploadProgress:p}}),j.log(`[uploadImages] Uploaded ${l.name}`)}catch(d){o.toast?.error?.(o.t?.("sirsoft-ecommerce.admin.product.images.messages.upload_failed",{name:l.name})??`${l.name}: Upload failed`);const m=o.state.getLocal()||{},{[l.name]:f,...g}=m.ui?.uploadProgress||{};o.state.setLocal({ui:{...m.ui,uploadProgress:g}}),j.error(`[uploadImages] Failed to upload ${l.name}:`,d)}}}function Zo(r,c){const t=(r.params||{}).index;if(t===void 0){j.warn("[setThumbnail] Missing index param");return}const o=window.G7Core;if(!o?.state){j.warn("[setThumbnail] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=(a.form?.images??[]).map((s,i)=>({...s,is_thumbnail:i===t}));o.state.setLocal({form:{...a.form,images:n},hasChanges:!0}),j.log(`[setThumbnail] Set thumbnail to image at index ${t}`)}function er(r,c){const e=r.params||{},t=e.oldIndex,o=e.newIndex;if(t===void 0||o===void 0){j.warn("[reorderImages] Missing oldIndex or newIndex param");return}const a=window.G7Core;if(!a?.state){j.warn("[reorderImages] G7Core.state API is not available");return}const n=a.state.getLocal()||{},s=[...n.form?.images??[]],[i]=s.splice(t,1);s.splice(o,0,i),s.forEach((l,u)=>{l.sort_order=u}),a.state.setLocal({form:{...n.form,images:s},hasChanges:!0}),j.log(`[reorderImages] Moved image from ${t} to ${o}`)}const rt=window.G7Core?.createLogger?.("Ecom:Description")??{log:(...r)=>console.log("[Ecom:Description]",...r),warn:(...r)=>console.warn("[Ecom:Description]",...r),error:(...r)=>console.error("[Ecom:Description]",...r)};function tr(r,c){const e=r.params||{},t=e.locale,o=e.value;if(!t){rt.warn("[updateDescription] Missing locale param");return}const a=window.G7Core;if(!a?.state){rt.warn("[updateDescription] G7Core.state API is not available");return}const n=a.state.getLocal()||{};a.state.setLocal({form:{...n.form,description:{...n.form?.description,[t]:o}},hasChanges:!0})}const k=window.G7Core?.createLogger?.("Ecom:Notice")??{log:(...r)=>console.log("[Ecom:Notice]",...r),warn:(...r)=>console.warn("[Ecom:Notice]",...r),error:(...r)=>console.error("[Ecom:Notice]",...r)};function ue(r=""){const e=window.G7Core?.locale?.supported?.()??["ko","en"],t={};for(const o of e)t[o]=r;return t}function or(r,c){const t=(r.params||{}).templateId,o=window.G7Core;if(!o?.state){k.warn("[confirmSelectNoticeTemplate] G7Core.state API is not available");return}const n=(o.state.getLocal()||{}).form?.notice_items??[],s=n.length>0&&n.some(i=>Object.values(i.content||{}).some(u=>u&&u.trim()!==""));if(!t||!s){nt(r);return}o.state.setGlobal({pendingNoticeTemplateId:t}),o.modal?.open?.("notice_template_confirm_modal"),k.log(`[confirmSelectNoticeTemplate] Showing confirm modal for template: ${t}`)}function nt(r,c){const t=(r.params||{}).templateId,o=window.G7Core;if(!o?.state){k.warn("[selectNoticeTemplate] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=o.dataSource?.get?.("notice_templates"),s=n?.data?.data??n?.data??[];if(!t){o.state.setLocal({form:{...a.form,notice_items:[]},ui:{...a.ui,selectedNoticeTemplateId:null},hasChanges:!0});return}const i=s.find(d=>d.id===t);if(!i){k.warn(`[selectNoticeTemplate] Template not found: ${t}`);return}const l=a.form?.notice_items??[],u=(i.fields??[]).map((d,m)=>{const f=JSON.stringify(d.name),g=l.find(w=>JSON.stringify(w.name)===f);return{key:`field_${m}`,name:d.name,content:g?.content??d.content??ue(),sort_order:m,is_custom:!1}});o.state.setLocal({form:{...a.form,notice_items:u},ui:{...a.ui,selectedNoticeTemplateId:t},hasChanges:!0}),k.log(`[selectNoticeTemplate] Selected template: ${t}`)}function rr(r,c){const e=r.params||{},t=e.index,o=e.locale,a=e.value;if(t===void 0||!o){k.warn("[updateNoticeItem] Missing required params");return}const n=window.G7Core;if(!n?.state){k.warn("[updateNoticeItem] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=[...s.form?.notice_items??[]];i[t]={...i[t],content:{...i[t].content,[o]:a}},n.state.setLocal({form:{...s.form,notice_items:i},hasChanges:!0})}function nr(r,c){const t=(r.params||{}).index;if(t===void 0){k.warn("[removeNoticeItem] Missing index param");return}const o=window.G7Core;if(!o?.state){k.warn("[removeNoticeItem] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.notice_items??[]];n.splice(t,1),n.forEach((s,i)=>{s.sort_order=i}),o.state.setLocal({form:{...a.form,notice_items:n},hasChanges:!0}),k.log(`[removeNoticeItem] Removed notice item at index ${t}`)}function ar(r,c){const e=r.params||{},t=e.oldIndex,o=e.newIndex;if(t===void 0||o===void 0){k.warn("[reorderNoticeItems] Missing oldIndex or newIndex param");return}const a=window.G7Core;if(!a?.state){k.warn("[reorderNoticeItems] G7Core.state API is not available");return}const n=a.state.getLocal()||{},s=[...n.form?.notice_items??[]],[i]=s.splice(t,1);s.splice(o,0,i),s.forEach((l,u)=>{l.sort_order=u}),a.state.setLocal({form:{...n.form,notice_items:s},hasChanges:!0}),k.log(`[reorderNoticeItems] Moved item from ${t} to ${o}`)}function sr(r,c){const t=(r.params||{}).value,o=window.G7Core;if(!o?.state){k.warn("[fillNoticeWithValue] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=a.ui?.noticeLocale??"ko",s=(a.form?.notice_items??[]).map(i=>({...i,content:{...i.content,[n]:i.content?.[n]||t}}));o.state.setLocal({form:{...a.form,notice_items:s},hasChanges:!0}),o.toast?.success?.(o.t?.("sirsoft-ecommerce.admin.product.notice.messages.filled")??"Empty fields have been filled.")}function ir(r,c){const t=(r.params||{}).mode;if(!t){k.warn("[switchNoticeMode] Missing mode param");return}const o=window.G7Core;if(!o?.state){k.warn("[switchNoticeMode] G7Core.state API is not available");return}const a=o.state.getLocal()||{};o.state.setLocal({ui:{...a.ui,noticeMode:t}}),k.log(`[switchNoticeMode] Switched to ${t} mode`)}function cr(r,c){const e=r.params||{},t=e.locale,o=e.value;if(!t){k.warn("[updateNewTemplateName] Missing locale param");return}const a=window.G7Core;if(!a?.state){k.warn("[updateNewTemplateName] G7Core.state API is not available");return}const n=a.state.getLocal()||{};a.state.setLocal({form:{...n.form,new_template_name:{...n.form?.new_template_name,[t]:o}}})}function lr(r,c){const e=window.G7Core;if(!e?.state){k.warn("[addNoticeItem] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=t.form?.notice_items??[],a={key:`custom_${Date.now()}`,name:ue(),content:ue(),sort_order:o.length,is_custom:!0};e.state.setLocal({form:{...t.form,notice_items:[...o,a]},hasChanges:!0}),k.log(`[addNoticeItem] Added new notice item. Total: ${o.length+1}`)}function dr(r,c){const e=r.params||{},t=e.index,o=e.locale,a=e.value;if(t===void 0||!o){k.warn("[updateNoticeItemName] Missing required params");return}const n=window.G7Core;if(!n?.state){k.warn("[updateNoticeItemName] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=[...s.form?.notice_items??[]];i[t]={...i[t],name:{...i[t].name,[o]:a}},n.state.setLocal({form:{...s.form,notice_items:i},hasChanges:!0})}function ur(r,c){const e=window.G7Core;if(!e?.state){k.warn("[saveAsNoticeTemplate] G7Core.state API is not available");return}if(((e.state.getLocal()||{}).form?.notice_items??[]).length===0){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.no_items")??"No items to save.");return}e.state.set?.({"ui.saveTemplateData":{name:ue(),category_id:null,is_default:!1}}),e.dispatch?.({handler:"openModal",target:"modal_save_template"})}const Ie={ko:"상세설명참조",en:"See detail description"};function mr(r,c){const e=window.G7Core;if(!e?.state){k.warn("[fillTemplateFieldsWithDetailReference] G7Core.state API is not available");return}const a=((r.params||{}).form||{}).fields??[];if(a.length===0){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product_notice_template.messages.no_fields_to_change")??"변경할 항목이 없습니다.");return}const n=e.locale?.supported?.()??["ko","en"],s={};for(const l of n)s[l]=Ie[l]??Ie.en??"See detail description";const i=a.map(l=>({...l,content:{...s}}));e.state.setLocal({"form.fields":i}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.product_notice_template.messages.all_fields_changed_to_detail_ref")??"모든 항목이 '상세설명참조'로 변경되었습니다."),k.log("[fillTemplateFieldsWithDetailReference] All fields updated to detail reference")}function pr(r,c){const e=window.G7Core;if(!e?.state){k.warn("[fillNoticeItemsWithDetailReference] G7Core.state API is not available");return}const a=((r.params||{}).form||{}).notice_items??[];if(a.length===0){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.no_items_to_change")??"변경할 항목이 없습니다.");return}const n=e.locale?.supported?.()??["ko","en"],s={};for(const l of n)s[l]=Ie[l]??Ie.en??"See detail description";const i=a.map(l=>({...l,content:{...s}}));e.state.setLocal({"form.notice_items":i}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.all_items_changed_to_detail_ref")??"모든 항목이 '상세설명참조'로 변경되었습니다."),k.log("[fillNoticeItemsWithDetailReference] All notice items updated to detail reference")}async function fr(r,c){const e=window.G7Core;if(!e?.state||!e?.api){k.warn("[confirmSaveNoticeTemplate] G7Core.state or G7Core.api is not available");return}const t=e.state.getLocal()||{},o=e.state.get?.()?.ui?.saveTemplateData??{},a=o.name;if(!a?.ko?.trim()){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.template_name_required")??"Please enter template name.");return}try{const n=t.form?.notice_items??[],s=await e.api.post("/api/modules/sirsoft-ecommerce/admin/products/notice-templates",{name:a,is_active:o.is_default??!1,fields:n.map(i=>({name:i.name,content:i.content}))});e.state.set?.({"ui.saveTemplateData":{name:ue(),category_id:null,is_default:!1}}),e.state.setLocal({ui:{...t.ui,noticeMode:"existing"},hasChanges:!0}),e.dispatch?.({handler:"closeModal"}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.template_saved")??"Template has been saved."),e.datasources?.refresh?.("notice_templates"),k.log(`[confirmSaveNoticeTemplate] Template saved: ${s.data.id}`)}catch(n){e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.template_save_error")??"Failed to save template."),k.error("[confirmSaveNoticeTemplate] Failed to save template:",n)}}const S=window.G7Core?.createLogger?.("Ecom:Misc")??{log:(...r)=>console.log("[Ecom:Misc]",...r),warn:(...r)=>console.warn("[Ecom:Misc]",...r),error:(...r)=>console.error("[Ecom:Misc]",...r)};function gr(r,c){const t=(r.params||{}).labelId;if(!t){S.warn("[toggleLabel] Missing labelId param");return}const o=window.G7Core;if(!o?.state){S.warn("[toggleLabel] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=a.form?.labels??[],s=n.includes(t)?n.filter(i=>i!==t):[...n,t];o.state.setLocal({form:{...a.form,labels:s},hasChanges:!0}),S.log(`[toggleLabel] Toggled label ${t}. Current labels: ${s.length}`)}async function _r(r,c){const e=window.G7Core;if(!e?.state||!e?.api){S.warn("[generateProductCode] G7Core.state or G7Core.api is not available");return}try{const t=await e.api.post("/api/modules/sirsoft-ecommerce/admin/products/generate-code"),o=e.state.getLocal()||{};e.state.setLocal({form:{...o.form,product_code:t.data.product_code}}),S.log(`[generateProductCode] Generated: ${t.data.product_code}`)}catch(t){e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.product.messages.code_generate_error")??"Failed to generate product code."),S.error("[generateProductCode] Failed:",t)}}function wr(r,c){const e=r.params||{},t=e.policyId,o=e.field,a=e.policies;if(!t||!o||!a)return"-";const n=a.find(s=>s.id===t);return n?n[o]??"-":"-"}function yr(r,c){const e=r.params||{},t=e.templateId,o=e.templates;if(!t||!o)return"";const n=window.G7Core?.locale?.current?.()||"ko",s=o.find(i=>i.id===t);return s?.content?.[n]??s?.content?.ko??""}function hr(r,c){const e=r.params||{},t=e.platform,o=e.field,a=e.value;if(!t||!o){S.warn("[updateShoppingIntegration] Missing required params");return}const n=window.G7Core;if(!n?.state){S.warn("[updateShoppingIntegration] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=s.form?.shopping_integrations??{naver:{enabled:!1,sync_interval:"manual"},daum:{enabled:!1,sync_interval:"manual"},facebook:{enabled:!1,sync_interval:"manual"},google:{enabled:!1,sync_interval:"manual"}};n.state.setLocal({form:{...s.form,shopping_integrations:{...i,[t]:{...i[t],[o]:a}}},hasChanges:!0}),S.log(`[updateShoppingIntegration] Updated ${t}.${o} to ${a}`)}function Cr(r,c){const t=(r.params||{}).type;if(!t){S.warn("[updateShippingType] Missing type param");return}const o=window.G7Core;if(!o?.state){S.warn("[updateShippingType] G7Core.state API is not available");return}const a=o.state.getLocal()||{};let n=0,s=0;t==="fixed_paid"?n=3e3:t==="threshold_free"&&(s=3e4),o.state.setLocal({form:{...a.form,shipping_type:t,shipping_fee:t==="fixed_free"?0:a.form?.shipping_fee??n,free_shipping_threshold:t==="threshold_free"?a.form?.free_shipping_threshold??s:0},hasChanges:!0}),S.log(`[updateShippingType] Updated shipping type to ${t}`)}function br(r,c){const e=r.params||{},t=e.field,o=e.value;if(!t){S.warn("[updateIdentificationCode] Missing field param");return}const a=window.G7Core;if(!a?.state){S.warn("[updateIdentificationCode] G7Core.state API is not available");return}const n=a.state.getLocal()||{};a.state.setLocal({form:{...n.form,[t]:o},hasChanges:!0})}function Ir(r,c){const e=r.params||{},t=e.labelId,o=e.labelName;if(!t){S.warn("[openLabelPeriodModal] Missing labelId param");return}const a=window.G7Core;if(!a?.state){S.warn("[openLabelPeriodModal] G7Core.state API is not available");return}const n=a.state.getLocal()||{},i=(n.form?.labels??[]).find(l=>l.id===t);a.state.setLocal({ui:{...n.ui,showLabelPeriodModal:!0,labelPeriodModalData:{labelId:t,labelName:o,startDate:i?.start_date??null,endDate:i?.end_date??null}}})}function Sr(r,c){const e=r.params||{},t=e.labelId,o=e.startDate,a=e.endDate;if(!t){S.warn("[saveLabelPeriod] Missing labelId param");return}const n=window.G7Core;if(!n?.state){S.warn("[saveLabelPeriod] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=[...s.form?.labels??[]],l=i.findIndex(u=>u.id===t);l>=0?i[l]={...i[l],start_date:o,end_date:a}:i.push({id:t,start_date:o,end_date:a}),n.state.setLocal({form:{...s.form,labels:i},ui:{...s.ui,showLabelPeriodModal:!1,labelPeriodModalData:null},hasChanges:!0}),n.toast?.success?.(n.t?.("sirsoft-ecommerce.admin.product.messages.label_period_saved")??"Label period has been saved."),S.log(`[saveLabelPeriod] Saved period for label ${t}`)}function vr(r,c){const t=(r.params||{}).labelId;if(!t){S.warn("[removeLabelPeriod] Missing labelId param");return}const o=window.G7Core;if(!o?.state){S.warn("[removeLabelPeriod] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.labels??[]],s=n.findIndex(i=>i.id===t);s>=0&&(n[s]={...n[s],start_date:null,end_date:null}),o.state.setLocal({form:{...a.form,labels:n},hasChanges:!0}),o.toast?.success?.(o.t?.("sirsoft-ecommerce.admin.product.messages.label_period_removed")??"Label period has been removed."),S.log(`[removeLabelPeriod] Removed period for label ${t}`)}function Lr(r,c){const t=(r.params||{}).sort;if(!t){S.warn("[updateActivityLogSort] Missing sort param");return}const o=window.G7Core;if(!o?.state){S.warn("[updateActivityLogSort] G7Core.state API is not available");return}const a=o.state.getLocal()||{};o.state.setLocal({ui:{...a.ui,activityLogSort:t}}),o.datasources?.refresh?.("activity_logs",{params:{sort:t==="latest"?"desc":"asc",per_page:a.ui?.activityLogPerPage??10}}),S.log(`[updateActivityLogSort] Updated sort to ${t}`)}function xr(r,c){const t=(r.params||{}).perPage;if(!t){S.warn("[updateActivityLogPerPage] Missing perPage param");return}const o=window.G7Core;if(!o?.state){S.warn("[updateActivityLogPerPage] G7Core.state API is not available");return}const a=o.state.getLocal()||{};o.state.setLocal({ui:{...a.ui,activityLogPerPage:t}}),o.datasources?.refresh?.("activity_logs",{params:{sort:a.ui?.activityLogSort==="oldest"?"asc":"desc",per_page:t}}),S.log(`[updateActivityLogPerPage] Updated perPage to ${t}`)}function Pr(r,c){const e=window.G7Core;if(!e?.state){S.warn("[setDefaultShippingPolicy] G7Core.state API is not available");return}const t=e.state.getLocal()||{};if(t.form?.shipping_policy_id){S.log("[setDefaultShippingPolicy] Shipping policy already set, skipping");return}if(t.ui?.useDefaultShippingPolicy===!1){S.log("[setDefaultShippingPolicy] useDefaultShippingPolicy is OFF, skipping");return}const o=e.dataSource?.get?.("shipping_policies"),a=o?.data?.data??o?.data??[];if(a.length===0){S.log("[setDefaultShippingPolicy] No shipping policies found");return}const n=a.find(s=>s.is_default===!0);n?(e.state.setLocal({form:{...t.form,shipping_policy_id:n.id}}),S.log(`[setDefaultShippingPolicy] Set default shipping policy: ${n.id} (${n.name})`)):S.log("[setDefaultShippingPolicy] No default shipping policy found")}function Ar(r,c){const e=window.G7Core;if(!e?.state){S.warn("[toggleDefaultShippingPolicy] G7Core.state API is not available");return}const t=r.params?.checked??!1,o=e.state.getLocal()||{},a={...o.ui,useDefaultShippingPolicy:t};if(t){const n=e.dataSource?.get?.("shipping_policies"),i=(n?.data?.data??n?.data??[]).find(l=>l.is_default===!0);e.state.setLocal({ui:a,form:{...o.form,shipping_policy_id:i?.id??null}}),i?S.log(`[toggleDefaultShippingPolicy] ON - Selected default policy: ${i.id}`):S.log("[toggleDefaultShippingPolicy] ON - No default policy found")}else e.state.setLocal({ui:a}),S.log("[toggleDefaultShippingPolicy] OFF - Keeping current shipping policy")}function kr(r,c){const e=window.G7Core;if(!e?.state){S.warn("[setLabelDatePreset] G7Core.state API is not available");return}const t=r.params?.preset;if(!t){S.warn("[setLabelDatePreset] Missing preset param");return}const o=new Date,a=i=>{const l=i.getFullYear(),u=String(i.getMonth()+1).padStart(2,"0"),d=String(i.getDate()).padStart(2,"0");return`${l}-${u}-${d}`},n=a(o);let s=null;switch(t){case"7d":{const i=new Date(o);i.setDate(i.getDate()+7),s=a(i);break}case"14d":{const i=new Date(o);i.setDate(i.getDate()+14),s=a(i);break}case"30d":{const i=new Date(o);i.setDate(i.getDate()+30),s=a(i);break}case"permanent":s=null;break;default:S.warn(`[setLabelDatePreset] Unknown preset: ${t}`);return}e.state.setGlobal({"labelFormData.start_date":n,"labelFormData.end_date":s}),S.log(`[setLabelDatePreset] Applied preset '${t}': ${n} ~ ${s??"permanent"}`)}const Or=(r,c)=>{const e=window.G7Core,o=(e?.state?.getLocal?.()||{}).form?.label_assignments??[],a=Number(r.params?.labelId);if(!a)return;const n=[...o];if(n.find(l=>l.label_id===a)){e?.state?.setLocal?.({"ui.lastClickedLabelId":a});return}const i=[...n,{label_id:a,started_at:null,ended_at:null}];e?.state?.setLocal?.({"form.label_assignments":i,"ui.lastClickedLabelId":a,hasChanges:!0})},Gr=(r,c)=>{const e=window.G7Core,o=(e?.state?.getLocal?.()||{}).form?.label_assignments??[],a=Number(r.params?.labelId),n=r.params?.field,s=r.params?.value;if(!a||!n)return;const i=[...o],l=i.findIndex(u=>u.label_id===a);l<0||(i[l]={...i[l],[n]:s||null},e?.state?.setLocal?.({"form.label_assignments":i,hasChanges:!0}))},Er=(r,c)=>{const e=window.G7Core,t=e?.state?.getLocal?.()||{},o=t.form?.label_assignments??[],a=t.ui?.lastClickedLabelId,n=r.params?.preset;if(!a||!n)return;const s=[...o],i=s.findIndex(f=>f.label_id===a);if(i<0)return;const l=new Date,u=f=>f.toISOString().split("T")[0],d=u(l);let m=null;switch(n){case"7d":m=u(new Date(l.getTime()+7*24*60*60*1e3));break;case"14d":m=u(new Date(l.getTime()+14*24*60*60*1e3));break;case"30d":m=u(new Date(l.getTime()+30*24*60*60*1e3));break;case"permanent":m=null;break}s[i]={...s[i],started_at:d,ended_at:m},e?.state?.setLocal?.({"form.label_assignments":s,hasChanges:!0})},Fr=(r,c)=>{const e=window.G7Core,o=(e?.state?.get()||{}).labelToUncheckId;if(!o)return;const i=[...(e?.state?.getParent?.()?._local||{}).form?.label_assignments??[]].filter(l=>l.label_id!==o);e?.state?.setParentLocal?.({"form.label_assignments":i,hasChanges:!0}),e?.state?.setGlobal?.({labelToUncheckId:null}),e?.modal?.close?.()},Dr=async(r,c)=>{const e=window.G7Core,t=e?.state?.get()||{},a=(e?.state?.getLocal?.()||{}).form?.label_assignments??[],n=t.labelToDeleteId;if(n){e?.state?.setGlobal?.({isDeletingLabel:!0});try{const s=await e.api.delete(`/api/modules/sirsoft-ecommerce/admin/product-labels/${n}`);if(!s?.success)throw new Error(s?.message||"Failed to delete label");const l=[...a].filter(u=>u.label_id!==n);e?.state?.setLocal?.({"form.label_assignments":l,"ui.lastClickedLabelId":null}),await e?.dataSource?.refetch?.("product_labels"),e?.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.product.labels.delete_success")??"Label deleted."),e?.modal?.close?.()}catch(s){e?.toast?.error?.(s?.response?.data?.message||s?.message||e.t?.("sirsoft-ecommerce.admin.product.labels.delete_error")||"Failed to delete label.")}finally{e?.state?.setGlobal?.({isDeletingLabel:!1,labelToDeleteId:null})}}},$r=async(r,c)=>{const e=window.G7Core,t=e?.state?.get()||{},a=(e?.state?.getLocal?.()||{}).form?.label_assignments??[],n=t.editingLabelId,s=t.labelFormData;if(s?.name?.ko){e?.state?.setGlobal?.({isSavingLabel:!0});try{if(n){const i=await e.api.put(`/api/modules/sirsoft-ecommerce/admin/product-labels/${n}`,{name:s.name,color:s.color});if(!i?.success)throw new Error(i?.message||"Failed to update label");const u=[...a].map(d=>d.label_id===n?{...d,started_at:s.started_at||null,ended_at:s.ended_at||null}:d);e?.state?.setLocal?.({"form.label_assignments":u,hasChanges:!0})}else{const i=await e.api.post("/api/modules/sirsoft-ecommerce/admin/product-labels",{name:s.name,color:s.color||"#6B7280"});if(!i?.success)throw new Error(i?.message||"Failed to create label");const l=Number(i?.data?.id);if(l){const d=[...[...a],{label_id:l,started_at:null,ended_at:null}];e?.state?.setLocal?.({"form.label_assignments":d,"ui.lastClickedLabelId":l,hasChanges:!0})}}await e?.dataSource?.refetch?.("product_labels"),e?.toast?.success?.(n?e.t?.("sirsoft-ecommerce.admin.product.labels.save_success")??"Label saved.":e.t?.("sirsoft-ecommerce.admin.product.labels.create_success")??"Label created."),e?.modal?.close?.()}catch(i){e?.toast?.error?.(i?.response?.data?.message||i?.message||e.t?.("sirsoft-ecommerce.admin.product.labels.save_error")||"Failed to save label.")}finally{e?.state?.setGlobal?.({isSavingLabel:!1})}}},ee=window.G7Core?.createLogger?.("Ecom:DescriptionLocale")??{log:(...r)=>console.log("[Ecom:DescriptionLocale]",...r),warn:(...r)=>console.warn("[Ecom:DescriptionLocale]",...r),error:(...r)=>console.error("[Ecom:DescriptionLocale]",...r)};function at(){return window.G7Core?.config?.("app.supported_locales")??["ko","en"]}function Nr(r,c){const t=(r.params||{}).locale;if(!t){ee.warn("[removeDescriptionLocale] Missing locale param");return}const o=window.G7Core;if(!o?.state){ee.warn("[removeDescriptionLocale] G7Core.state API is not available");return}const a=o?.state?.get?.("_global.settings.general.language")??o?.config?.("app.fallback_locale")??"ko";if(t===a){o.toast?.error?.(o.t?.("sirsoft-ecommerce.admin.product.description_editor.messages.default_locale_cannot_delete")??"Default language cannot be deleted.");return}const n=o.state.getLocal()||{},s=at(),i={...n.form?.description};delete i[t];const l={...n.form?.description_mobile};delete l[t];const u=(n.ui?.descriptionActiveLocales??s).filter(d=>d!==t);o.state.setLocal({form:{...n.form,description:i,description_mobile:l},ui:{...n.ui,descriptionActiveLocales:u,descriptionLocale:u[0]??"ko"},hasChanges:!0}),o.toast?.success?.(o.t?.("sirsoft-ecommerce.admin.product.description_editor.messages.locale_removed",{locale:t.toUpperCase()})??`${t.toUpperCase()} language has been removed.`),ee.log(`[removeDescriptionLocale] Removed locale: ${t}`)}function Tr(r,c){const e=window.G7Core;if(!e?.state){ee.warn("[showAddLocaleModal] G7Core.state API is not available");return}const t=e.state.getLocal()||{};e.state.setLocal({ui:{...t.ui,showAddLocaleModal:!0}})}function Rr(r,c){const t=(r.params||{}).locale;if(!t){ee.warn("[addDescriptionLocale] Missing locale param");return}const o=window.G7Core;if(!o?.state){ee.warn("[addDescriptionLocale] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=at(),s=a.ui?.descriptionActiveLocales??["ko"];if(s.includes(t)){o.toast?.warning?.(o.t?.("sirsoft-ecommerce.admin.product.description_editor.messages.locale_already_added")??"This language is already added.");return}if(!n.includes(t)){o.toast?.error?.(o.t?.("sirsoft-ecommerce.admin.product.description_editor.messages.locale_unsupported")??"Unsupported language.");return}o.state.setLocal({form:{...a.form,description:{...a.form?.description,[t]:""},description_mobile:{...a.form?.description_mobile,[t]:""}},ui:{...a.ui,descriptionActiveLocales:[...s,t],descriptionLocale:t,showAddLocaleModal:!1},hasChanges:!0}),o.toast?.success?.(o.t?.("sirsoft-ecommerce.admin.product.description_editor.messages.locale_added",{locale:t.toUpperCase()})??`${t.toUpperCase()} language has been added.`),ee.log(`[addDescriptionLocale] Added locale: ${t}`)}const W=window.G7Core?.createLogger?.("Ecom:BulkUpdate")??{log:(...r)=>console.log("[Ecom:BulkUpdate]",...r),warn:(...r)=>console.warn("[Ecom:BulkUpdate]",...r),error:(...r)=>console.error("[Ecom:BulkUpdate]",...r)};function st(r,c,e){const t=c?.response?.data??{},o=t?.message||c?.message||"",a=t?.errors,n=a&&typeof a=="object"?Object.values(a).map(i=>Array.isArray(i)?i[0]:String(i)):[],s=o||r.t(e);r.toast.error(s),r.state.set({bulkUpdateErrors:n.length>0?n:s?[s]:[]})}function Y(r){return typeof r=="string"?r:r&&typeof r=="object"?r.ko||r.en||JSON.stringify(r):String(r??"")}function Se(r,c,e){return e?r.t(`sirsoft-ecommerce.enums.${c}.${e}`)||e:String(e??"")}function it(){const r=window.G7Core;return r||(W.error("[bulkUpdate] G7Core is not available"),null)}function Mr(r,c){const e=it();if(!e)return;const t=e.state.getLocal()||{},o=e.state.get()||{},a=o.bulkSelectedItems||t.selectedItems||[],n=o.bulkSelectedOptionIds||t.selectedOptionIds||[];W.log("[bulkUpdate] globalState.bulkSelectedItems:",o.bulkSelectedItems),W.log("[bulkUpdate] localState.selectedItems:",t.selectedItems),W.log("[bulkUpdate] Final selectedItems:",a),a.length>0?Hr(e,o,t,a):n.length>0?qr(e,o,t,n):e.toast.warning(e.t("sirsoft-ecommerce.admin.product.bulk.no_selection"))}function Hr(r,c,e,t){const a=r.dataSource.get("products")?.data?.data||[],n={};c.bulkSalesStatus&&(n.sales_status=c.bulkSalesStatus),c.bulkDisplayStatus&&(n.display_status=c.bulkDisplayStatus);const s={};if(c.bulkPriceMethod&&c.bulkPriceValue!==void 0&&c.bulkPriceValue!==null&&c.bulkPriceValue!==""){const p={fixed:"set",increase:"add",decrease:"subtract"};c.bulkPriceUnit==="percent"?s.price_adjustment={method:"percent",value:c.bulkPriceMethod==="decrease"?-(Number(c.bulkPriceValue)||0):Number(c.bulkPriceValue)||0}:s.price_adjustment={method:p[c.bulkPriceMethod]||"add",value:Number(c.bulkPriceValue)||0}}if(c.bulkStockMethod&&c.bulkStockValue!==void 0&&c.bulkStockValue!==null&&c.bulkStockValue!==""){const p={set:"set",increase:"add",decrease:"subtract"};s.stock_quantity={method:p[c.bulkStockMethod]||"add",value:Number(c.bulkStockValue)||0}}const i=e.modifiedProductIds||[],l=e.modifiedOptionIds||[],u=e.modifiedProductFields||{},d=e.modifiedOptionFields||{},m=c.bulkSelectedOptionIds||e.selectedOptionIds||[],f=new Set(t),g=[],w=[];function y(p,v,C){if(v._modified||l.includes(C)){const x={product_id:p.id,option_id:v.id},I=d[C]||[];!s.price_adjustment&&I.includes("price_adjustment")&&(x.price_adjustment=v.price_adjustment),!s.price_adjustment&&I.includes("selling_price")&&(x.price_adjustment=v.price_adjustment),!s.stock_quantity&&I.includes("stock_quantity")&&(x.stock_quantity=v.stock_quantity),I.includes("option_name")&&(x.option_name=v.option_name),I.includes("sku")&&(x.sku=v.sku),I.includes("list_price")&&(x.list_price=v.list_price),I.includes("safe_stock_quantity")&&(x.safe_stock_quantity=v.safe_stock_quantity),I.includes("is_default")&&(x.is_default=v.is_default),I.includes("is_active")&&(x.is_active=v.is_active),Object.keys(x).length>2&&w.push(x)}}a.filter(p=>t.includes(p.id)).forEach(p=>{if(p._modified||i.includes(p.id)){const C={id:p.id},A=String(p.id),x=u[A]||[];!n.sales_status&&x.includes("sales_status")&&(C.sales_status=p.sales_status),!n.display_status&&x.includes("display_status")&&(C.display_status=p.display_status),x.includes("name")&&(C.name=p.name),x.includes("list_price")&&(C.list_price=p.list_price),x.includes("selling_price")&&(C.selling_price=p.selling_price),Object.keys(C).length>1&&g.push(C)}(p.options||[]).forEach(C=>{const A=`${p.id}-${C.id}`;y(p,C,A)})}),m.length>0&&a.forEach(p=>{f.has(p.id)||(p.options||[]).forEach(v=>{const C=`${p.id}-${v.id}`;m.includes(C)&&y(p,v,C)})});const _={ids:t};Object.keys(n).length>0&&(_.bulk_changes=n),g.length>0&&(_.items=g),Object.keys(s).length>0&&(_.option_bulk_changes=s),w.length>0&&(_.option_items=w),r.state.set({isProcessing:!0,bulkUpdateErrors:[]}),r.api.patch("/api/modules/sirsoft-ecommerce/admin/products/bulk-update",_).then(p=>{r.toast.success(r.t("sirsoft-ecommerce.admin.product.bulk.update_success",{products:p?.data?.products_updated||0,options:p?.data?.options_updated||0})),lt(r),ct(r),r.modal.close()}).catch(p=>{W.error("[bulkUpdateProducts] Error:",p),st(r,p,"sirsoft-ecommerce.admin.product.bulk.update_error")}).finally(()=>{r.state.set({isProcessing:!1})})}function qr(r,c,e,t){const a=r.dataSource.get("products")?.data?.data||[],n={};if(c.bulkPriceMethod&&c.bulkPriceValue!==void 0&&c.bulkPriceValue!==null&&c.bulkPriceValue!==""){const d={fixed:"set",increase:"add",decrease:"subtract"};c.bulkPriceUnit==="percent"?n.price_adjustment={method:"percent",value:c.bulkPriceMethod==="decrease"?-(Number(c.bulkPriceValue)||0):Number(c.bulkPriceValue)||0}:n.price_adjustment={method:d[c.bulkPriceMethod]||"add",value:Number(c.bulkPriceValue)||0}}if(c.bulkStockMethod&&c.bulkStockValue!==void 0&&c.bulkStockValue!==null&&c.bulkStockValue!==""){const d={set:"set",increase:"add",decrease:"subtract"};n.stock_quantity={method:d[c.bulkStockMethod]||"add",value:Number(c.bulkStockValue)||0}}const s=e.modifiedOptionFields||{},i=e.modifiedOptionIds||[],l=[];a.forEach(d=>{(d.options||[]).forEach(m=>{const f=`${d.id}-${m.id}`,g=m._modified||i.includes(f);if(t.includes(f)&&g){const w={product_id:d.id,option_id:m.id},y=s[f]||[];!n.price_adjustment&&y.includes("price_adjustment")&&(w.price_adjustment=m.price_adjustment),!n.price_adjustment&&y.includes("selling_price")&&(w.price_adjustment=m.price_adjustment),!n.stock_quantity&&y.includes("stock_quantity")&&(w.stock_quantity=m.stock_quantity),y.includes("option_name")&&(w.option_name=m.option_name),y.includes("sku")&&(w.sku=m.sku),y.includes("list_price")&&(w.list_price=m.list_price),y.includes("safe_stock_quantity")&&(w.safe_stock_quantity=m.safe_stock_quantity),y.includes("is_default")&&(w.is_default=m.is_default),y.includes("is_active")&&(w.is_active=m.is_active),Object.keys(w).length>2&&l.push(w)}})});const u={ids:t};Object.keys(n).length>0&&(u.bulk_changes=n),l.length>0&&(u.items=l),r.state.set({isProcessing:!0,bulkUpdateErrors:[]}),r.api.patch("/api/modules/sirsoft-ecommerce/admin/options/bulk-update",u).then(d=>{r.toast.success(r.t("sirsoft-ecommerce.admin.product.bulk.option_update_success",{count:d?.data?.options_updated||0})),lt(r),ct(r),r.modal.close()}).catch(d=>{W.error("[bulkUpdateOptions] Error:",d),st(r,d,"sirsoft-ecommerce.admin.product.bulk.option_update_error")}).finally(()=>{r.state.set({isProcessing:!1})})}function ct(r){Promise.resolve(r.dataSource.refetch("products")).then(()=>{eo(r,{force:!0})}).catch(c=>{W.error("[bulkUpdate] Failed to refetch products:",c)})}function lt(r){r.state.setLocal({modifiedProductIds:[],modifiedOptionIds:[],modifiedProductFields:{},modifiedOptionFields:{},selectedItems:[],selectedOptionIds:[]}),r.state.set({bulkSalesStatus:null,bulkDisplayStatus:null,bulkPriceCondition:null,bulkStockCondition:null,bulkConfirmData:null,bulkUpdateErrors:[]})}function Ur(r,c){const e=it();if(!e)return;const t=e.state.getLocal()||{},o=e.state.get()||{},n=e.dataSource.get("products")?.data?.data||[],s=o.bulkSelectedItems||t.selectedItems||[],i=o.bulkSelectedOptionIds||t.selectedOptionIds||[],l={products:[],options:[],summary:{productCount:0,optionCount:0,hasBulkChanges:!1,hasInlineChanges:!1}},u=!!(o.bulkSalesStatus||o.bulkDisplayStatus||o.bulkPriceCondition||o.bulkStockCondition);l.summary.hasBulkChanges=u;const d=t.modifiedProductIds||[],m=t.modifiedOptionIds||[],f=t.modifiedProductFields||{},g=t.modifiedOptionFields||{},w=new Set(s);function y(_,p,v){const C=[],A=g[p]||[];if(o.bulkPriceCondition&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_price_adjustment_inline",{value:o.bulkPriceCondition})||`Price adjustment: ${o.bulkPriceCondition}`),o.bulkStockCondition&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_stock_inline",{value:o.bulkStockCondition})||`Stock: ${o.bulkStockCondition}`),v){if(!o.bulkPriceCondition&&A.includes("price_adjustment")){const x=_.price_adjustment?.toLocaleString?.()??_.price_adjustment;C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_price_adjustment_inline",{value:x})||`Price adjustment: ${x}`)}!o.bulkPriceCondition&&A.includes("selling_price")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_selling_price",{price:_.selling_price?.toLocaleString?.()??_.selling_price})||`Selling price: ${_.selling_price}`),!o.bulkStockCondition&&A.includes("stock_quantity")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_stock_inline",{value:_.stock_quantity})||`Stock: ${_.stock_quantity}`),A.includes("option_name")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_option_name",{name:Y(_.option_name)})||`Option name: ${Y(_.option_name)}`),A.includes("sku")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_sku",{sku:_.sku})||`SKU: ${_.sku}`),A.includes("list_price")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_list_price",{price:_.list_price?.toLocaleString?.()??_.list_price})||`List price: ${_.list_price}`),A.includes("safe_stock_quantity")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_safe_stock",{value:_.safe_stock_quantity})||`Safe stock: ${_.safe_stock_quantity}`),A.includes("is_active")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_is_active",{value:_.is_active?"ON":"OFF"})||`Active: ${_.is_active?"ON":"OFF"}`),l.summary.hasInlineChanges=!0}return C}s.length>0&&n.filter(_=>s.includes(_.id)).forEach(_=>{const p=[],v=_._modified||d.includes(_.id),C=String(_.id),A=f[C]||[];if(o.bulkSalesStatus){const I=Se(e,"sales_status",o.bulkSalesStatus);p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_sales_status",{status:I})||`Sales status: ${I}`)}if(o.bulkDisplayStatus){const I=Se(e,"display_status",o.bulkDisplayStatus);p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_display_status",{status:I})||`Display status: ${I}`)}if(v){if(!o.bulkSalesStatus&&A.includes("sales_status")){const I=Se(e,"sales_status",_.sales_status);p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_sales_status",{status:I})||`Sales status: ${I}`)}if(!o.bulkDisplayStatus&&A.includes("display_status")){const I=Se(e,"display_status",_.display_status);p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_display_status",{status:I})||`Display status: ${I}`)}A.includes("name")&&p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_name_changed")||"Name changed"),A.includes("list_price")&&p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_list_price",{price:_.list_price?.toLocaleString?.()||_.list_price})||`List price: ${_.list_price?.toLocaleString?.()||_.list_price}`),A.includes("selling_price")&&p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_selling_price",{price:_.selling_price?.toLocaleString?.()||_.selling_price})||`Selling price: ${_.selling_price?.toLocaleString?.()||_.selling_price}`),l.summary.hasInlineChanges=!0}(p.length>0||u||v)&&l.products.push({id:_.id,name:Y(_.name),changes:p.length>0?p.join(", "):v?e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_inline_modified")||"Inline modified":e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_bulk_applied")||"Bulk changes applied"});const x=u&&!!(o.bulkPriceCondition||o.bulkStockCondition);if(Array.isArray(_.options))_.options.forEach(I=>{const N=`${_.id}-${I.id}`,L=I._modified||m.includes(N),O=y(I,N,L);(O.length>0||x||L)&&l.options.push({productId:_.id,optionId:I.id,productName:Y(_.name),optionName:I.option_name_localized||Y(I.option_name)||I.name||"",changes:O.length>0?O.join(", "):L?e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_inline_modified")||"Inline modified":e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_bulk_applied")||"Bulk changes applied"})});else if(x){const I=Number(_.options_total_count)||0;I>0&&l.options.push({aggregate:!0,productId:_.id,optionId:0,optionCount:I,productName:Y(_.name),optionName:"",changes:y({},`${_.id}-*`,!1).join(", ")||e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_bulk_applied")||"Bulk changes applied"})}}),i.length>0&&n.forEach(_=>{w.has(_.id)||(_.options||[]).forEach(p=>{const v=`${_.id}-${p.id}`;if(i.includes(v)){const C=p._modified||m.includes(v),A=y(p,v,C);l.options.push({productId:_.id,optionId:p.id,productName:Y(_.name),optionName:p.option_name_localized||Y(p.option_name)||p.name||"",changes:A.length>0?A.join(", "):C?e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_inline_modified")||"Inline modified":e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_selected")||"Selected"})}})}),l.summary.productCount=l.products.length,l.summary.optionCount=l.options.reduce((_,p)=>_+(p.aggregate?p.optionCount||0:1),0),e.state.set({bulkConfirmData:l}),W.log("[buildConfirmData] Built confirm data:",l)}const M=window.G7Core?.createLogger?.("Ecom:Order")??{log:(...r)=>console.log("[Ecom:Order]",...r),warn:(...r)=>console.warn("[Ecom:Order]",...r),error:(...r)=>console.error("[Ecom:Order]",...r)};function Vr(r){const{currencies:c=[]}=r.params||{},e=[{field:"no",header:"NO",width:"60px",sortable:!1,required:!0},{field:"ordered_at",header:"$t:sirsoft-ecommerce.admin.order.column.order_date",width:"140px",sortable:!0,required:!0},{field:"order_number",header:"$t:sirsoft-ecommerce.admin.order.column.order_number",width:"140px",sortable:!0,required:!0},{field:"product",header:"$t:sirsoft-ecommerce.admin.order.column.product",width:"auto",sortable:!1,required:!0},{field:"order_amount",header:"$t:sirsoft-ecommerce.admin.order.column.order_amount",width:"120px",sortable:!0,required:!1},{field:"order_status",header:"$t:sirsoft-ecommerce.admin.order.column.order_status",width:"100px",sortable:!1,required:!1},{field:"orderer",header:"$t:sirsoft-ecommerce.admin.order.column.orderer",width:"120px",sortable:!1,required:!1},{field:"payment_method",header:"$t:sirsoft-ecommerce.admin.order.column.payment_method",width:"100px",sortable:!1,required:!1},{field:"delivery_method",header:"$t:sirsoft-ecommerce.admin.order.column.delivery_method",width:"100px",sortable:!1,required:!1},{field:"country",header:"$t:sirsoft-ecommerce.admin.order.column.country",width:"80px",sortable:!1,required:!1}],t=c.filter(o=>!o.is_default).map(o=>({field:`order_amount_${o.code.toLowerCase()}`,header:`${o.name} (${o.symbol})`,width:"100px",sortable:!0,required:!1}));return[...e,...t]}function jr(r,c){const e=r.params||{},{target:t="_local",path:o,value:a}=e,n=window.G7Core;if(!n?.state)return M.warn("[toggleArrayValue] G7Core.state를 사용할 수 없습니다."),{success:!1,newValue:[]};const s=t==="_global"?n.state.getGlobal():n.state.getLocal(),i=o.split(".");let l=s;for(const d of i)l=l?.[d];Array.isArray(l)||(l=[]);let u;return l.includes(a)?u=l.filter(d=>d!==a):u=[...l,a],t==="_global"?n.state.setGlobal({[o]:u}):n.state.setLocal({[o]:u}),{success:!0,newValue:u}}function Br(r,c){const e=r.params||{},{filterKey:t,checked:o}=e,a=window.G7Core;if(!a?.state)return M.warn("[toggleVisibleFilter] G7Core.state를 사용할 수 없습니다."),{success:!1,newValue:[]};const s=a.state.getLocal().visibleFilters||[];let i;o?i=s.includes(t)?s:[...s,t]:i=s.filter(l=>l!==t),a.state.setLocal({visibleFilters:i});try{localStorage.setItem("g7_order_filter_visible_filters",JSON.stringify(i))}catch(l){M.warn("[toggleVisibleFilter] LocalStorage 저장 실패:",l)}return{success:!0,newValue:i}}function Kr(r,c){const e=r.params||{},{selectedIds:t=[]}=e,o=window.G7Core;return o?.state?(o.state.setLocal({selectedItems:t,selectAll:!1}),{success:!0}):(M.warn("[syncOrderSelection] G7Core.state를 사용할 수 없습니다."),{success:!1})}function Qr(r,c){const e=r.params||{},{actionId:t,row:o}=e,a=window.G7Core;if(!t||!o?.order_number)return M.warn("[handleOrderRowAction] actionId 또는 row.order_number가 없습니다."),{success:!1};switch(t){case"view":a?.navigate?.(`/admin/ecommerce/orders/${o.order_number}`);break;case"edit":a?.navigate?.(`/admin/ecommerce/orders/${o.order_number}`);break;case"status":case"shipping":case"memo":case"delete":a?.state?.setGlobal({orderList:{currentActionOrderId:o.id,currentActionType:t}});break;case"print":window.open(`/admin/ecommerce/orders/${o.order_number}/shipping-label`,"_blank");break;default:return console.warn(`[handleOrderRowAction] 알 수 없는 액션: ${t}`),{success:!1}}return{success:!0,action:t,targetId:o.id}}async function zr(r,c){const e=r.params||{},{actionType:t,orderIds:o,status:a,carrierId:n,trackingNumber:s}=e,i=window.G7Core;if(!o||o.length===0)throw new Error("선택된 주문이 없습니다.");let l="";const u={ids:o};switch(t){case"status":if(!a)throw new Error("변경할 상태를 선택해주세요.");l="/api/modules/sirsoft-ecommerce/admin/orders/bulk",u.order_status=a;break;case"shipping":if(!s&&!n)throw new Error("택배사 또는 운송장번호를 입력해주세요.");l="/api/modules/sirsoft-ecommerce/admin/orders/bulk",n&&(u.carrier_id=n),s&&(u.tracking_number=s);break;default:throw new Error(`알 수 없는 액션 타입: ${t}`)}const d=await i?.api?.call(l,{method:"PATCH",body:u});if(!d?.success)throw new Error(d?.message||"일괄 처리에 실패했습니다.");return{success:!0,successCount:d.data?.updated_count??o.length,failCount:d.data?.fail_count??0,errors:d.data?.errors??[]}}async function Wr(r,c){const e=r.params||{},{downloadType:t,orderIds:o,filters:a}=e,n=window.G7Core,s="/api/modules/sirsoft-ecommerce/admin/orders/export",i={};if(t==="selected"){if(!o||o.length===0)throw new Error("선택된 주문이 없습니다.");i.ids=o}else i.filters=a||{};const l=n?.auth?.getToken(),u=await fetch(s,{method:"POST",headers:{"Content-Type":"application/json",...l?{Authorization:`Bearer ${l}`}:{}},body:JSON.stringify(i)});if(!u.ok){const y=await u.json().catch(()=>null);throw new Error(y?.message||"엑셀 다운로드에 실패했습니다.")}const d=await u.blob(),m=window.URL.createObjectURL(d),f=document.createElement("a");f.href=m;const g=new Date,w=`${g.getFullYear()}-${String(g.getMonth()+1).padStart(2,"0")}-${String(g.getDate()).padStart(2,"0")}`;return f.download=`orders_${w}.xlsx`,document.body.appendChild(f),f.click(),document.body.removeChild(f),window.URL.revokeObjectURL(m),{success:!0}}function Yr(r,c){const e=r.params||{},{columns:t=[]}=e;try{localStorage.setItem("g7_order_visible_columns",JSON.stringify(t))}catch(o){return M.warn("[saveVisibleColumns] LocalStorage 저장 실패:",o),{success:!1}}return{success:!0}}function Jr(r,c){const t=(r.params||{}).defaultColumns||["order_date","order_number","order_status","order_amount","product","orderer","payment_method","delivery_method","country"];try{const o=localStorage.getItem("g7_order_visible_columns");if(o){const a=JSON.parse(o);if(Array.isArray(a))return a}}catch(o){M.warn("[loadVisibleColumns] LocalStorage 로드 실패:",o)}return t}function Xr(r,c){const e=r.params||{},{id:t,defaultFilters:o=[]}=e,a=window.G7Core;if(!t)return M.warn("[loadVisibleFilters] id 파라미터가 필요합니다."),o;let n;try{const i=a?.AuthManager?.getInstance();i&&(n=i.getUser()?.uuid)}catch{}const s=`g7_filters_${t}${n!==void 0?`_${n}`:""}`;try{const i=localStorage.getItem(s);if(i){const l=JSON.parse(i);if(Array.isArray(l)&&l.length>0)return M.log(`[loadVisibleFilters] localStorage에서 로드: ${s}`,l),l}}catch(i){M.warn("[loadVisibleFilters] LocalStorage 로드 실패:",i)}return M.log(`[loadVisibleFilters] 기본값 사용: ${s}`,o),o}function Zr(r,c){const e=window.G7Core;if(!e)return;const t=e.state.get()||{},o=t.bulkSelectedItems||[],a=t.bulkOrderStatus||"",n=t.bulkCourier||"",s=t.bulkTrackingNumber||"";if(!a){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.no_status_selected")||"변경할 주문상태를 선택해주세요.");return}if(["shipping_ready","shipping"].includes(a)&&(!n||!s)){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.carrier_required")||"해당 상태로 변경하려면 택배사와 송장번호를 모두 입력해주세요.");return}e.state.set({bulkConfirmData:{selectedItems:o,orderStatus:a,courierId:n,trackingNumber:s}}),e.modal?.open?.("modal_bulk_confirm")}async function en(r,c){const e=window.G7Core;if(!e)return;const o=(e.state.get()||{}).bulkConfirmData;if(!o||!o.selectedItems?.length){e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.error")||"일괄 처리에 실패했습니다.");return}const a={ids:o.selectedItems,order_status:o.orderStatus};o.courierId&&(a.carrier_id=o.courierId),o.trackingNumber&&(a.tracking_number=o.trackingNumber);try{await e.api.patch("/api/modules/sirsoft-ecommerce/admin/orders/bulk",a),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.success")||"일괄 변경이 완료되었습니다."),e.state.setLocal({selectedItems:[],selectAll:!1,bulkOrderStatus:"",bulkCourier:"",bulkTrackingNumber:""}),e.state.set({bulkConfirmData:null}),e.dataSource?.refetch?.("orders"),e.modal?.close?.()}catch(n){M.error("[executeOrderBulkAction] Error:",n);const i=(n?.response?.data||n?.data||{})?.message||n?.message;e.toast?.error?.(i||e.t?.("sirsoft-ecommerce.admin.order.bulk.error")||"일괄 처리에 실패했습니다.")}}const He=window.G7Core?.createLogger?.("Ecom:ProductList")??{log:(...r)=>console.log("[Ecom:ProductList]",...r),warn:(...r)=>console.warn("[Ecom:ProductList]",...r),error:(...r)=>console.error("[Ecom:ProductList]",...r)};async function tn(r,c){const e=r.params||{},{actionId:t,row:o}=e,a=window.G7Core;if(!t||!o?.id)return He.warn("[handleProductRowAction] actionId 또는 row.id가 없습니다."),{success:!1};switch(t){case"edit":a?.navigate?.(`/admin/ecommerce/products/${o.product_code}/edit`);break;case"copy":a?.state?.setLocal({productList:{copyTargetProduct:o},ui:{showCopyModal:!0}});break;case"delete":try{const s=(await a?.api?.get(`/api/modules/sirsoft-ecommerce/admin/products/${o.id}/can-delete`))?.data;a?.state?.setLocal({productList:{deleteTargetProduct:o,canDelete:s?.canDelete??!0,deleteBlockReason:s?.reason??null,relatedData:s?.relatedData??null},ui:{showDeleteModal:!0}})}catch(n){He.error("[handleProductRowAction] 삭제 가능 여부 확인 실패:",n),a?.state?.setLocal({productList:{deleteTargetProduct:o,canDelete:!1,deleteBlockReason:"삭제 가능 여부를 확인할 수 없습니다.",relatedData:null},ui:{showDeleteModal:!0}})}break;default:return He.warn(`[handleProductRowAction] 알 수 없는 액션: ${t}`),{success:!1}}return{success:!0,action:t,targetId:o.id}}const U=window.G7Core?.createLogger?.("Ecom:OrderDetail")??{log:(...r)=>console.log("[Ecom:OrderDetail]",...r),warn:(...r)=>console.warn("[Ecom:OrderDetail]",...r),error:(...r)=>console.error("[Ecom:OrderDetail]",...r)};function dt(){return typeof document>"u"?"":document.querySelector('input[name="batchTrackingNumber"]')?.value?.trim()??""}function on(r,c){const e=window.G7Core;if(!e?.state){U.warn("[initOrderDetailForm] G7Core.state를 사용할 수 없습니다.");return}e.state.getLocal();const o=c?.data?.data??e.dataSource?.get?.("order")?.data;if(!o){U.warn("[initOrderDetailForm] order 데이터가 없습니다.");return}e.state.setLocal({form:{recipient_name:o.recipient_name||"",recipient_phone:o.recipient_phone||"",recipient_tel:o.recipient_tel||"",recipient_zipcode:o.recipient_zipcode||"",recipient_address:o.recipient_address||"",recipient_detail_address:o.recipient_detail_address||"",delivery_memo:o.delivery_memo||"",admin_memo:o.admin_memo||""}}),U.log("[initOrderDetailForm] 폼 초기화 완료")}function rn(r,c){const e=window.G7Core,{optionId:t}=r.params||{};if(!e?.state||!t)return;const a=e.state.getLocal().selectedProducts||[];let n;a.includes(t)?n=a.filter(u=>u!==t):n=[...a,t];const i=(e.dataSource?.get?.("order")?.data?.options||[]).length,l=n.length===i&&i>0;e.state.setLocal({selectedProducts:n,selectAll:l})}function nn(r,c){const e=window.G7Core;if(!e?.state)return;const o=e.state.getLocal().selectAll,n=e.dataSource?.get?.("order")?.data?.options||[];if(o)e.state.setLocal({selectedProducts:[],selectAll:!1});else{const s=n.map(i=>i.id);e.state.setLocal({selectedProducts:s,selectAll:!0})}}function an(r,c){const e=window.G7Core;if(!e)return;const t=r.params||{},o=t.selectedProducts||[],a=t.batchOrderStatus||"",n=t.batchCarrierId||"",s=t.batchTrackingNumber||dt();if(!a){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.no_status_selected")||"변경할 주문상태를 선택해주세요.");return}if(o.length===0){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.no_items_selected")||"변경할 상품을 선택해주세요.");return}if(a==="cancelled"){const f=t.cancelPg??!0,g=e.dataSource?.get?.("order")?.data,w=g?.options||[],y=o.map(_=>{const p=w.find(v=>v.id===_);return!p||p.option_status==="cancelled"?null:{id:p.id,product_name:p.product_name,product_option_name:p.product_option_name,thumbnail_url:p.product_snapshot?.thumbnail_url||"",unit_price:p.unit_price,quantity:p.quantity,cancel_quantity:p.quantity,option_status:p.option_status,option_status_label:p.option_status_label||p.option_status}}).filter(Boolean);if(y.length===0){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.no_cancellable_items")||"취소할 수 있는 상품이 없습니다. 이미 취소된 상품은 제외됩니다.");return}if(f){e.state.setLocal({cancelItems:y,cancelReason:"",cancelReasonDetail:"",cancelPg:!0,refundPriority:"pg_first",refundEstimate:null,refundLoading:!1,isCancelling:!1,cancelError:null,cancelValidationErrors:null}),e.modal?.open?.("modal_cancel_order");const _=g?.order_number||"";_&&e.dispatch?.({handler:"sirsoft-ecommerce.estimateRefundAmount",params:{orderId:_,cancelItems:y}})}else{const _={};for(const p of y)_[p.id]=p.quantity;e.state.setLocal({bulkConfirmItems:y,changeQuantities:_,batchOrderStatus:a}),e.modal?.open?.("modal_batch_change_confirm")}return}if(["shipping_ready","shipping","delivered"].includes(a)&&(!n||!s)){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.carrier_required")||"해당 상태로 변경하려면 택배사와 송장번호를 모두 입력해주세요.");return}const u=e.dataSource?.get?.("order")?.data?.options||[],d=[],m={};for(const f of o){const g=u.find(w=>w.id===f);g&&(d.push({id:g.id,product_name:g.product_name,product_option_name:g.product_option_name,sku:g.sku,thumbnail_url:g.product_snapshot?.thumbnail_url||"",unit_price:g.unit_price,original_price:g.product_snapshot?.original_price||g.unit_price,quantity:g.quantity,option_status:g.option_status}),m[g.id]=g.quantity)}e.state.setLocal({bulkConfirmItems:d,changeQuantities:m,batchOrderStatus:a,batchCarrierId:n,batchTrackingNumber:s}),e.modal?.open?.("modal_batch_change_confirm")}async function sn(r,c){const e=window.G7Core,{orderId:t}=r.params||{};if(!e?.state||!t){U.warn("[processOrderDetailBulkChange] orderId가 없습니다.");return}const o=e.state.getLocal?.()??{},a=r.params?.selectedProducts??o.selectedProducts,n=r.params?.batchOrderStatus||o.batchOrderStatus,s=r.params?.batchCarrierId||o.batchCarrierId,i=r.params?.batchTrackingNumber||o.batchTrackingNumber||dt(),l=r.params?.changeQuantities??o.changeQuantities;if(!a||a.length===0){U.warn("[processOrderDetailBulkChange] 선택된 상품이 없습니다.");return}if(!n){U.warn("[processOrderDetailBulkChange] 변경할 상태가 없습니다.");return}const d=e.dataSource?.get?.("order")?.data?.options||[],f={items:a.map(g=>{const w=d.find(y=>y.id===g);return{option_id:g,quantity:l?.[g]??w?.quantity??1}}),status:n};s&&(f.carrier_id=s),i&&(f.tracking_number=i);try{const g=await e.api.patch(`/api/modules/sirsoft-ecommerce/admin/orders/${t}/options/bulk-status`,f);if(g?.success){const w=e.t,y=g.data?.changed_count??a.length;e.toast?.success?.(w?.("sirsoft-ecommerce.admin.order.detail.handler.bulk_change_success",{count:y})??`${y}개 옵션의 상태가 변경되었습니다.`),e.modal?.close?.("modal_batch_change_confirm"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}}),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order_logs"}}),e.state.setLocal({selectedProducts:[],selectAll:!1,batchOrderStatus:"",batchCarrierId:"",batchTrackingNumber:"",changeQuantities:{}})}else throw new Error(g?.message||"상태 변경에 실패했습니다.")}catch(g){U.error("[processOrderDetailBulkChange] API 호출 실패:",g);const y=(g?.response?.data||g?.data||{})?.message||g?.message;e.toast?.error?.(y??e.t?.("sirsoft-ecommerce.admin.order.detail.handler.bulk_change_failed")??"상태 변경에 실패했습니다.")}}async function cn(r,c){const e=window.G7Core,{orderId:t}=r.params||{};if(!e?.state||!t)return;const a=e.state.getLocal().form?.admin_memo??"";try{const n=await e.api.patch(`/api/modules/sirsoft-ecommerce/admin/orders/${t}`,{admin_memo:a});if(n?.success)e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.order.detail.handler.memo_save_success")??"관리자 메모가 저장되었습니다.");else throw new Error(n?.message)}catch(n){U.error("[saveAdminMemo] 저장 실패:",n),e.toast?.error?.(n?.message??"메모 저장에 실패했습니다.")}}function ln(r,c){const e=window.G7Core;if(!e?.state)return;const{optionId:t,maxQuantity:o}=r.params||{};if(!t||!o)return;const a=r.params?.value??r.$event?.target?.value,n=parseInt(String(a),10),s=Math.max(1,Math.min(isNaN(n)?o:n,o)),l={...e.state.getLocal().changeQuantities||{}};l[t]=s,e.state.setLocal({changeQuantities:l})}function dn(r,c){const e=window.G7Core;if(!e?.state){U.warn("[openConfirmDepositModal] G7Core.state 를 사용할 수 없습니다.");return}const t=e.dataSource?.get?.("order")?.data,o=t?.depositor_name??"",a=t?.total_due_amount??0;e.state.setLocal({depositorName:o,depositAmount:a,depositConfirmErrors:null,isConfirmingDeposit:!1,markOrderComplete:!1}),e.modal?.open?.("modal_confirm_deposit")}async function un(r,c){const e=window.G7Core,{orderId:t}=r.params||{};if(!e?.state||!t){U.warn("[confirmDeposit] orderId 가 없습니다.");return}const o=e.state.getLocal(),a=r.params?.amount??o.depositAmount,n=r.params?.depositorName??o.depositorName??"",s=r.params?.markOrderComplete??o.markOrderComplete??!1,i=s===!0||s==="true";e.state.setLocal({isConfirmingDeposit:!0,depositConfirmErrors:null});try{const l=await e.api.patch(`/api/modules/sirsoft-ecommerce/admin/orders/${t}/confirm-deposit`,{amount:a,depositor_name:n,mark_order_complete:i});if(l?.success)e.state.setLocal({isConfirmingDeposit:!1,depositConfirmErrors:null}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.order.detail.modal.confirm_deposit.confirm_success")??"입금이 확인되어 결제완료 처리되었습니다."),e.modal?.close?.("modal_confirm_deposit"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}}),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order_logs"}});else throw new Error(l?.message||"Deposit confirm failed")}catch(l){U.error("[confirmDeposit] 실패:",l);const u=l?.response?.data||l?.data||{},d=u?.errors?.detail||u?.message||l?.message||"",m=e.t?.("sirsoft-ecommerce.admin.order.detail.modal.confirm_deposit.confirm_failed")??"입금 확인에 실패했습니다.";e.state.setLocal({isConfirmingDeposit:!1,depositConfirmErrors:{amount:[d||m]}}),e.toast?.error?.(d||m)}}const qe=window.G7Core?.createLogger?.("Ecom:CancelOrder")??{log:(...r)=>console.log("[Ecom:CancelOrder]",...r),warn:(...r)=>console.warn("[Ecom:CancelOrder]",...r),error:(...r)=>console.error("[Ecom:CancelOrder]",...r)};let K=null;function mn(){K&&(clearTimeout(K),K=null,qe.log("[clearCancelOrderTimers] debounce 타이머 정리 완료"))}function pn(r,c){const e=window.G7Core;if(!e?.state)return;const{optionId:t,maxQuantity:o,orderId:a}=r.params||{};if(!t||!o||!a)return;const n=r.params?.value??r.$event?.target?.value,s=parseInt(String(n),10),i=Math.max(1,Math.min(isNaN(s)?o:s,o)),u=(e.state.getLocal().cancelItems||[]).map(m=>m.id===t?{...m,cancel_quantity:i}:m);e.state.setLocal({cancelItems:u});const d=window.__g7ActionContext;K&&clearTimeout(K),K=setTimeout(()=>{const m=window.__g7ActionContext;window.__g7ActionContext=d;try{Ue(e,a)}finally{window.__g7ActionContext=m}},500)}async function fn(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t,cancelItems:o}=r.params||{};t&&await Ue(e,t,o)}async function Ue(r,c,e){const t=r.state.getLocal(),o=e||t.cancelItems||[],a=t.refundPriority||"pg_first";if(o.length===0){r.state.setLocal({refundEstimate:null});return}const n=o.map(s=>({order_option_id:s.id,cancel_quantity:s.cancel_quantity}));r.state.setLocal({refundLoading:!0});try{const s=await r.api.post(`/api/modules/sirsoft-ecommerce/admin/orders/${c}/estimate-refund`,{items:n,refund_priority:a});if(s?.success)r.state.setLocal({refundEstimate:s.data,refundLoading:!1,cancelError:null});else throw new Error(s?.message||"Estimate failed")}catch(s){qe.error("[estimateRefundAmount] 실패:",s),r.state.setLocal({refundLoading:!1,refundEstimate:null}),r.toast?.error?.(r.t?.("sirsoft-ecommerce.admin.order.detail.modal.cancel.estimate_failed")??"환불 예상금액 계산에 실패했습니다.")}}function gn(r,c){const e=window.G7Core;if(!e?.state)return;const{priority:t,orderId:o}=r.params||{};if(!t||!o)return;e.state.setLocal({refundPriority:t});const a=window.__g7ActionContext;K&&clearTimeout(K),K=setTimeout(()=>{const n=window.__g7ActionContext;window.__g7ActionContext=a;try{Ue(e,o)}finally{window.__g7ActionContext=n}},300)}async function _n(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t}=r.params||{};if(!t)return;const o=e.state.getLocal(),a=r.params?.cancelItems||o.cancelItems||[],n=r.params?.cancelReason||o.cancelReason||"",s=r.params?.cancelReasonDetail||o.cancelReasonDetail||"",i=r.params?.cancelPg??o.cancelPg??!0,l=r.params?.refundPriority||o.refundPriority||"pg_first",u={type:"partial",cancel_pg:i,refund_priority:l,items:a.map(d=>({order_option_id:d.id,cancel_quantity:d.cancel_quantity}))};n&&(u.reason=n),s&&(u.reason_detail=s),e.state.setLocal({isCancelling:!0,cancelError:null,cancelValidationErrors:null});try{const d=await e.api.post(`/api/modules/sirsoft-ecommerce/admin/orders/${t}/cancel`,u);if(d?.success)e.state.setLocal({isCancelling:!1}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.order.detail.modal.cancel.cancel_success")??"주문이 취소되었습니다."),e.modal?.close?.("modal_cancel_order"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}}),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order_logs"}}),e.state.setLocal({selectedProducts:[],selectAll:!1,batchOrderStatus:""});else throw new Error(d?.message||"Cancel failed")}catch(d){qe.error("[executeCancelOrder] 실패:",d);const m=d?.response?.data||d?.data,g=(d?.response?.status||d?.status)===422,w=m?.errors?.detail,y=m?.errors??null,_=w||m?.message||d?.message||"",p=e.t?.("sirsoft-ecommerce.admin.order.detail.modal.cancel.cancel_failed")??"주문 취소에 실패했습니다.";g?(e.state.setLocal({isCancelling:!1,cancelError:null,cancelValidationErrors:y}),e.toast?.error?.(_||p)):(e.state.setLocal({isCancelling:!1,cancelError:_||p,cancelValidationErrors:null}),e.toast?.error?.(_||p))}}const ut=window.G7Core?.createLogger?.("Ecom:UserCancelOrder")??{log:(...r)=>console.log("[Ecom:UserCancelOrder]",...r),warn:(...r)=>console.warn("[Ecom:UserCancelOrder]",...r),error:(...r)=>console.error("[Ecom:UserCancelOrder]",...r)};let R=null;function ve(r){const c=r?.state?.get?.("_global")?.guestOrderToken,e=r?.dataSource?.get?.("order")?.data?.order_number;return!!(c&&e)}function wn(){R&&(clearTimeout(R),R=null)}function yn(r,c){const e=window.G7Core;if(!e?.state)return;const{optionId:t}=r.params||{};if(!t)return;const a=[...e.state.getLocal().selectedItemIds||[]],n=a.indexOf(t);n>=0?a.splice(n,1):a.push(t);const i=(e.dataSource?.get?.("order")?.data?.options||[]).filter(u=>u.option_status!=="cancelled").map(u=>u.id),l=i.length>0&&i.every(u=>a.includes(u));e.state.setLocal({selectedItemIds:a,selectAllItems:l})}function hn(r,c){const e=window.G7Core;if(!e?.state)return;const t=e.state.getLocal(),a=(e.dataSource?.get?.("order")?.data?.options||[]).filter(s=>s.option_status!=="cancelled").map(s=>s.id),n=!t.selectAllItems;e.state.setLocal({selectedItemIds:n?a:[],selectAllItems:n})}function Cn(r,c){const e=window.G7Core;if(!e?.state)return;const t=e.dataSource?.get?.("order")?.data;if(!t)return;const a=e.state.getLocal().selectedItemIds||[];if(a.length===0){e.toast?.warning?.(e.t?.("mypage.order_detail.cancel_modal.no_selected_items")??"취소할 상품을 선택해주세요.");return}const s=(t.options||[]).filter(l=>a.includes(l.id)&&l.option_status!=="cancelled").map(l=>({id:l.id,product_name:l.product_name??"",product_option_name:l.product_option_name??"",thumbnail_url:l.product_snapshot?.thumbnail_url||"",unit_price:l.unit_price??0,quantity:l.quantity??1,cancel_quantity:l.quantity??1,option_status:l.option_status??"",selected:!0}));if(s.length===0){e.toast?.warning?.(e.t?.("mypage.order_detail.cancel_modal.no_cancellable_items")??"취소 가능한 상품이 없습니다.");return}e.state.setLocal({cancelItems:s,cancelSelectAll:!0,cancelReason:"",refundEstimate:null,refundLoading:!1,isCancelling:!1,cancelError:null}),e.modal?.open?.("modal_cancel_order");const i=r.params?.orderId||t.id;(i||t.order_number)&&le(e,i)}function bn(r,c){const e=window.G7Core;if(!e?.state)return;const{optionId:t,orderId:o}=r.params||{};if(!t)return;const n=(e.state.getLocal().cancelItems||[]).map(i=>i.id===t?{...i,selected:!i.selected}:i),s=n.every(i=>i.selected);e.state.setLocal({cancelItems:n,cancelSelectAll:s}),R&&clearTimeout(R),R=setTimeout(()=>{le(e,o)},500)}function In(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t}=r.params||{},o=e.state.getLocal(),a=!o.cancelSelectAll,n=(o.cancelItems||[]).map(s=>({...s,selected:a}));e.state.setLocal({cancelItems:n,cancelSelectAll:a}),R&&clearTimeout(R),R=setTimeout(()=>{le(e,t)},500)}function Sn(r,c){const e=window.G7Core;if(!e?.state)return;const{optionId:t,maxQuantity:o,orderId:a}=r.params||{};if(!t||!o||!a&&!ve(e))return;const n=r.params?.value??r.$event?.target?.value,s=parseInt(String(n),10),i=Math.max(1,Math.min(isNaN(s)?o:s,o)),u=(e.state.getLocal().cancelItems||[]).map(m=>m.id===t?{...m,cancel_quantity:i}:m);e.state.setLocal({cancelItems:u});const d=window.__g7ActionContext;R&&clearTimeout(R),R=setTimeout(()=>{const m=window.__g7ActionContext;window.__g7ActionContext=d;try{le(e,a)}finally{window.__g7ActionContext=m}},500)}async function vn(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t}=r.params||{};!t&&!ve(e)||await le(e,t)}async function le(r,c){const e=r.state.getLocal(),t=e.cancelItems||[],o=e.refundPriority||"pg_first",a=t.filter(s=>s.selected);if(a.length===0){r.state.setLocal({refundEstimate:null,refundLoading:!1});return}const n=a.map(s=>({order_option_id:s.id,cancel_quantity:s.cancel_quantity}));r.state.setLocal({refundLoading:!0});try{const s=r.state.get?.("_global")?.guestOrderToken,i=r.dataSource?.get?.("order")?.data?.order_number,l=!!(s&&i),u=l?`/api/modules/sirsoft-ecommerce/guest/orders/${i}/estimate-refund`:`/api/modules/sirsoft-ecommerce/user/orders/${c}/estimate-refund`,d=l?{headers:{"X-Guest-Order-Token":s}}:void 0,m=await r.api.post(u,{items:n,refund_priority:o},d);if(m?.success)r.state.setLocal({refundEstimate:m.data,refundLoading:!1,cancelError:null});else throw new Error(m?.message||"Estimate failed")}catch(s){ut.error("[estimateUserRefund] 실패:",s),r.state.setLocal({refundLoading:!1,refundEstimate:null}),r.toast?.error?.(r.t?.("mypage.order_detail.cancel_modal.estimate_failed")??"환불 예상금액 계산에 실패했습니다.")}}function Ln(r,c){const e=window.G7Core;if(!e?.state)return;const{priority:t,orderId:o}=r.params||{};if(!t||!o&&!ve(e))return;e.state.setLocal({refundPriority:t});const a=window.__g7ActionContext;R&&clearTimeout(R),R=setTimeout(()=>{const n=window.__g7ActionContext;window.__g7ActionContext=a;try{le(e,o)}finally{window.__g7ActionContext=n}},300)}async function xn(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t}=r.params||{};if(!t&&!ve(e))return;const o=e.state.getLocal(),n=(o.cancelItems||[]).filter(d=>d.selected),s=r.params?.cancelReason||o.cancelReason||"",i=r.params?.cancelReasonDetail??o.cancelReasonDetail??"",l=r.params?.refundPriority||o.refundPriority||"pg_first";if(n.length===0){e.toast?.warning?.(e.t?.("mypage.order_detail.cancel_modal.no_selected_items")??"취소할 상품을 선택해주세요.");return}if(!s){e.toast?.warning?.(e.t?.("mypage.order_detail.cancel_modal.reason_required")??"취소 사유를 선택해주세요.");return}const u={reason:s,refund_priority:l,items:n.map(d=>({order_option_id:d.id,cancel_quantity:d.cancel_quantity}))};i&&(u.reason_detail=i),e.state.setLocal({isCancelling:!0,cancelError:null,cancelValidationErrors:null});try{const d=e.state.get?.("_global")?.guestOrderToken,m=e.dataSource?.get?.("order")?.data?.order_number,f=!!(d&&m),g=f?`/api/modules/sirsoft-ecommerce/guest/orders/${m}/cancel`:`/api/modules/sirsoft-ecommerce/user/orders/${t}/cancel`,w=f?{headers:{"X-Guest-Order-Token":d}}:void 0,y=await e.api.post(g,u,w);if(y?.success)e.state.setLocal({isCancelling:!1}),e.toast?.success?.(e.t?.("mypage.order_detail.cancel_success")??"주문이 취소되었습니다."),e.modal?.close?.("modal_cancel_order"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}});else throw new Error(y?.message||"Cancel failed")}catch(d){ut.error("[executeUserCancelOrder] 실패:",d);const m=d?.response?.data||d?.data,f=m?.message||d?.message||"",g=m?.errors??null,w=e.t?.("mypage.order_detail.cancel_modal.cancel_failed")??"주문 취소에 실패했습니다.";e.state.setLocal({isCancelling:!1,cancelError:f||w,cancelValidationErrors:g}),e.toast?.error?.(f||w)}}const mt=window.G7Core?.createLogger?.("Ecom:ConfirmOrder")??{log:(...r)=>console.log("[Ecom:ConfirmOrder]",...r),warn:(...r)=>console.warn("[Ecom:ConfirmOrder]",...r),error:(...r)=>console.error("[Ecom:ConfirmOrder]",...r)};function Pn(r){const c=r?.state?.get?.("_global")?.guestOrderToken,e=r?.dataSource?.get?.("order")?.data?.order_number;return!!(c&&e)}async function An(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t,optionId:o}=r.params||{};if(!o||!t&&!Pn(e)){mt.error("[confirmOrderOption] optionId 또는 식별자 누락");return}e.state.setLocal({isConfirming:!0});try{const a=e.state.get?.("_global")?.guestOrderToken,n=e.dataSource?.get?.("order")?.data?.order_number,s=!!(a&&n),i=s?`/api/modules/sirsoft-ecommerce/guest/orders/${n}/options/${o}/confirm`:`/api/modules/sirsoft-ecommerce/user/orders/${t}/options/${o}/confirm`,l=s?{headers:{"X-Guest-Order-Token":a}}:void 0,u=await e.api.post(i,void 0,l);if(u?.success)e.state.setLocal({isConfirming:!1,confirmTarget:null}),e.modal?.close?.("modal_confirm_purchase"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}}),e.toast?.success?.(u.message??e.t?.("sirsoft-ecommerce::messages.order.confirmed")??"구매확정이 완료되었습니다.");else throw new Error(u?.message||"Confirm failed")}catch(a){mt.error("[confirmOrderOption] 실패:",a);const n=a?.response?.data?.message||a?.data?.message||a?.message||e.t?.("sirsoft-ecommerce::messages.order.cannot_confirm")||"구매확정에 실패했습니다.";e.state.setLocal({isConfirming:!1}),e.toast?.error?.(n)}}const pt=window.G7Core?.createLogger?.("Ecom:ChangeShippingAddress")??{log:(...r)=>console.log("[Ecom:ChangeShippingAddress]",...r),warn:(...r)=>console.warn("[Ecom:ChangeShippingAddress]",...r),error:(...r)=>console.error("[Ecom:ChangeShippingAddress]",...r)};function kn(r){const c=r?.state?.get?.("_global")?.guestOrderToken,e=r?.dataSource?.get?.("order")?.data?.order_number;return!!(c&&e)}async function On(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t}=r.params||{},o=kn(e);if(!t&&!o){pt.error("[changeShippingAddress] orderId 또는 비회원 식별자 누락");return}const a=e.state.get?.("_global")??{},s=(o?"manual":a.changeAddressMode??"saved")==="saved"?{address_id:a.selectedAddressId}:a.editingShippingAddress;e.state.setLocal({isSubmittingAddress:!0});try{const i=a.guestOrderToken,l=e.dataSource?.get?.("order")?.data?.order_number,u=o?`/api/modules/sirsoft-ecommerce/guest/orders/${l}/shipping-address`:`/api/modules/sirsoft-ecommerce/user/orders/${t}/shipping-address`,d=o?{headers:{"X-Guest-Order-Token":i}}:void 0,m=await e.api.put(u,s,d);if(m?.success)e.state.setLocal({isSubmittingAddress:!1}),e.modal?.close?.("changeAddressModal"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}}),e.toast?.success?.(m.message??e.t?.("mypage.order_detail.shipping_address_changed")??"배송지가 변경되었습니다.");else throw new Error(m?.message||"Change shipping address failed")}catch(i){pt.error("[changeShippingAddress] 실패:",i),e.state.setLocal({isSubmittingAddress:!1});const l=i?.response?.data?.message||i?.data?.message||i?.message||"배송지 변경에 실패했습니다.";e.toast?.error?.(l)}}const Ve=window.G7Core?.createLogger?.("Ecom:Review")??{log:(...r)=>console.log("[Ecom:Review]",...r),warn:(...r)=>console.warn("[Ecom:Review]",...r),error:(...r)=>console.error("[Ecom:Review]",...r)};async function Gn(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t,optionId:o,productId:a}=r.params||{};if(!t||!o||!a){Ve.error("[submitReview] orderId, optionId 또는 productId 누락");return}const n=e.state.getLocal(),s=r.params?.rating??n.reviewRating??5,i=(r.params?.content??n.reviewContent??"").trim(),u=(r.params?.images??n.reviewImages??[]).map(d=>d instanceof File?d:d?.file instanceof File||d?.file instanceof Blob||d?.file&&typeof d.file.name=="string"&&d.file.size>0?d.file:d instanceof Blob?d:null).filter(d=>d!==null);if(!s||s<1||s>5){e.toast?.error?.(e.t?.("sirsoft-ecommerce.user.review.validation.rating_required")??"별점을 선택해 주세요.");return}if(i.length<10){e.state.setLocal({reviewError:e.t?.("sirsoft-ecommerce.user.review.validation.content_min")??"리뷰 내용을 최소 10자 이상 입력해 주세요."});return}e.state.setLocal({isSubmittingReview:!0,reviewError:null});try{const d=await e.api.post("/api/modules/sirsoft-ecommerce/user/reviews",{order_option_id:o,product_id:a,rating:s,content:i});if(!d?.success)throw new Error(d?.message||"Review creation failed");const m=d.data?.id;if(m&&u.length>0)for(let f=0;fconsole.log("[Ecom:ShippingPolicyForm]",...r),warn:(...r)=>console.warn("[Ecom:ShippingPolicyForm]",...r),error:(...r)=>console.error("[Ecom:ShippingPolicyForm]",...r)},En=["fixed","conditional_free","per_quantity","per_weight","per_volume","per_volume_weight","per_amount"],Fn=["conditional_free"],Dn=["range_amount","range_quantity","range_weight","range_volume","range_volume_weight"],$n=["api"],Nn=["per_quantity","per_weight","per_volume","per_volume_weight","per_amount"],Tn={shipping_method:"parcel",custom_shipping_name:null,carrier:null,currency_code:"KRW",charge_policy:"fixed",base_fee:0,free_threshold:null,ranges:null,api_endpoint:null,api_request_fields:null,api_response_fee_field:null,api_config:null,extra_fee_enabled:!1,extra_fee_settings:[],extra_fee_multiply:!1,is_active:!0};function te(r){return{showBaseFee:En.includes(r),showFreeThreshold:Fn.includes(r),showRanges:Dn.includes(r),showApiSettings:$n.includes(r),showUnitValue:Nn.includes(r)}}function G(){const r=window.G7Core;return r?.state?r:(b.warn("G7Core.state not available"),null)}function E(r,c){r.setLocalState?r.setLocalState(c):G()?.state?.setLocal(c)}function F(r){return[...(r.state.getLocal?.()??{}).form?.country_settings??[]]}function Rn(r,c){const e=r.params||{},t=e.policy,o=!!e.isEdit,a=!!e.isCopy;if(e.availableCountries,!G())return;const s={activeCountryTab:0,rangeErrors:{}};if((o||a)&&t){const i=t.country_settings??[],u=i[0]?.charge_policy??"fixed",d=te(u);Object.assign(s,d),b.log("[initShippingPolicyForm]",o?"Edit":"Copy","mode, countries:",i.length,"first charge_policy:",u)}else{const i=te("fixed");Object.assign(s,i),b.log("[initShippingPolicyForm] Create mode, default flags")}E(c,s)}function Mn(r,c){const t=(r.params||{}).country_code??"";if(!t){b.warn("[addCountrySetting] country_code is empty");return}const o=G();if(!o)return;const a=F(o);if(a.some(u=>u.country_code===t)){b.warn("[addCountrySetting] Duplicate country_code:",t);return}const n={country_code:t,...Tn};a.push(n);const s=a.length-1,i=te(n.charge_policy),l={"form.country_settings":a,activeCountryTab:s,...i};E(c,l),b.log("[addCountrySetting] Added country:",t,"index:",s)}function Hn(r,c){const e=r.params||{},t=Number(e.index);if(isNaN(t)||t<0){b.warn("[removeCountrySetting] Invalid index:",e.index);return}const o=G();if(!o)return;const a=F(o),n=o.state.getLocal?.()??{};if(t>=a.length){b.warn("[removeCountrySetting] Index out of bounds:",t);return}const s=a[t].country_code;a.splice(t,1);const i=n.activeCountryTab??0;let l=i;a.length===0?l=0:i>=a.length?l=a.length-1:i>t&&(l=i-1);const u={...n.rangeErrors??{}};u[s]=[];const d=a[l],m=te(d?d.charge_policy:"fixed"),f={"form.country_settings":a,activeCountryTab:l,rangeErrors:u,...m};E(c,f),b.log("[removeCountrySetting] Removed index:",t,"country:",s,"newTab:",l)}function qn(r,c){const e=r.params||{},t=Number(e.index);if(isNaN(t)||t<0){b.warn("[switchCountryTab] Invalid index:",e.index);return}const o=G();if(!o)return;const a=F(o);if(t>=a.length){b.warn("[switchCountryTab] Index out of bounds:",t);return}const n=a[t],s=te(n.charge_policy),i={activeCountryTab:t,...s};E(c,i),b.log("[switchCountryTab] Switched to tab:",t,"country:",n.country_code,"charge_policy:",n.charge_policy)}function Un(r,c){const e=r.params||{},t=e.field??"",o=e.value;if(!t){b.warn("[updateCountryField] field is empty");return}const a=G();if(!a)return;const n=a.state.getLocal?.()??{},s=Number(n.activeCountryTab??0),i=F(a);if(s>=i.length){b.warn("[updateCountryField] Index out of bounds:",s);return}i[s]={...i[s],[t]:o},E(c,{"form.country_settings":i}),b.log("[updateCountryField] Updated",t,"=",o,"at index:",s)}function Vn(r,c){const e=r.params||{},t=e.value??"",o=Number(e.index??0);if(!t){b.warn("[onChargePolicyChange] charge_policy value is empty");return}const a=G();if(!a)return;const n=te(t);b.log("[onChargePolicyChange]",t,n,"countryIndex:",o);const s=F(a),i=s[o];if(!i){b.warn("[onChargePolicyChange] No country setting at index:",o);return}const l={...i,charge_policy:t};if(n.showBaseFee||(l.base_fee=0),n.showFreeThreshold||(l.free_threshold=null),!n.showRanges&&!n.showUnitValue&&(l.ranges=null),n.showApiSettings||(l.api_endpoint=null,l.api_request_fields=null,l.api_response_fee_field=null,l.api_config=null),n.showRanges&&(!l.ranges||!l.ranges.tiers)){const d=t.replace("range_","");l.ranges={type:d,tiers:[{min:0,max:null,fee:0}]}}n.showUnitValue&&(!l.ranges||!l.ranges.unit_value)&&(l.ranges={type:t,unit_value:1}),s[o]=l;const u={"form.country_settings":s,...n};E(c,u)}function jn(r,c){const e=r.params||{},t=Number(e.index??0),o=G();if(!o)return;const a=F(o),n=a[t];if(!n){b.warn("[addRangeTier] No country setting at index:",t);return}const s=[...n.ranges?.tiers??[]],i=s[s.length-1],u={min:i?.max!=null?i.max+1:0,max:null,fee:0};s.push(u),a[t]={...n,ranges:{...n.ranges??{},tiers:s}},E(c,{"form.country_settings":a}),Le(o,c,t,s,n.country_code),b.log("[addRangeTier] Added tier, total:",s.length)}function Bn(r,c){const e=r.params||{},t=Number(e.countryIndex??0),o=Number(e.tierIndex);if(isNaN(o)||o<0){b.warn("[removeRangeTier] Invalid tierIndex:",e.tierIndex);return}const a=G();if(!a)return;const n=F(a),s=n[t];if(!s){b.warn("[removeRangeTier] No country setting at index:",t);return}const i=[...s.ranges?.tiers??[]];if(o>=i.length){b.warn("[removeRangeTier] tierIndex out of bounds:",o);return}i.splice(o,1),n[t]={...s,ranges:{...s.ranges??{},tiers:i}},E(c,{"form.country_settings":n}),Le(a,c,t,i,s.country_code),b.log("[removeRangeTier] Removed tier:",o,"remaining:",i.length)}function Kn(r,c){const e=r.params||{},t=Number(e.countryIndex??0),o=Number(e.tierIndex),a=e.field,n=e.value;if(isNaN(o)||o<0){b.warn("[updateRangeTierField] Invalid tierIndex:",e.tierIndex);return}if(!["min","max","fee"].includes(a)){b.warn("[updateRangeTierField] Invalid field:",a);return}const s=G();if(!s)return;const i=F(s),l=i[t];if(!l){b.warn("[updateRangeTierField] No country setting at index:",t);return}const u=[...l.ranges?.tiers??[]];if(o>=u.length){b.warn("[updateRangeTierField] tierIndex out of bounds:",o);return}let d;a==="max"?d=n===""||n===null||n===void 0?null:Number(n):d=Number(n),u[o]={...u[o],[a]:d},i[t]={...l,ranges:{...l.ranges??{},tiers:u}},E(c,{"form.country_settings":i}),Le(s,c,t,u,l.country_code)}function Qn(r,c){const e=r.params||{},t=Number(e.countryIndex??0),o=G();if(!o)return;const n=F(o)[t];if(!n)return;const s=n.ranges?.tiers??[];Le(o,c,t,s,n.country_code)}function Le(r,c,e,t,o){const n={...(r.state.getLocal?.()??{}).rangeErrors??{}};if(t.length===0){n[o]=[],E(c,{rangeErrors:n});return}const s=new Array(t.length).fill(null).map(()=>({}));let i=!1;const l=r.t;for(let u=0;u=d.max&&(s[u].min=l?.("sirsoft-ecommerce.validation.shipping_policy.ranges.min_less_than_max")??"시작값이 종료값보다 작아야 합니다.",i=!0),u=i.length){b.warn("[removeExtraFeeRow] feeIndex out of bounds:",o);return}i.splice(o,1),n[t]={...s,extra_fee_settings:i},E(c,{"form.country_settings":n}),b.log("[removeExtraFeeRow] Removed index:",o,"remaining:",i.length)}function Yn(r,c){const e=r.params||{},t=Number(e.countryIndex??0),o=e.settings;if(!o||!Array.isArray(o)){b.warn("[applyExtraFeeTemplate] Invalid settings:",o);return}const a=G();if(!a)return;const n=F(a),s=n[t];if(!s){b.warn("[applyExtraFeeTemplate] No country setting at index:",t);return}n[t]={...s,extra_fee_settings:o},E(c,{"form.country_settings":n});const i=a.t,l=i?.("sirsoft-ecommerce.admin.shipping_policy.form.template_applied")??"템플릿이 적용되었습니다.";a.toast?.success?.(l),b.log("[applyExtraFeeTemplate] Applied template with",o.length,"rows")}function Jn(r,c){const e=r.params||{},t=parseFloat(e.value)||1,o=G();if(!o)return;const a=o.state.getLocal?.()??{},n=Number(a.activeCountryTab??0),s=F(o),i=s[n];i&&(s[n]={...i,ranges:{...i.ranges??{},type:i.charge_policy,unit_value:t}},E(c,{"form.country_settings":s}),b.log("[updateUnitValue] Updated unit_value:",t))}function Xn(r,c){const e=G();if(!e)return;const t=e.state.getLocal?.()??{},o=Number(t.activeCountryTab??0),a=F(e),n=a[o];if(!n)return;const s=[...n.api_request_fields??[]];s.push(""),a[o]={...n,api_request_fields:s},E(c,{"form.country_settings":a}),b.log("[addApiRequestField] Added field, total:",s.length)}function Zn(r,c){const e=r.params||{},t=Number(e.fieldIndex),o=e.value??"";if(isNaN(t)||t<0){b.warn("[updateApiRequestField] Invalid fieldIndex:",e.fieldIndex);return}const a=G();if(!a)return;const n=a.state.getLocal?.()??{},s=Number(n.activeCountryTab??0),i=F(a),l=i[s];if(!l)return;const u=[...l.api_request_fields??[]];t>=u.length||(u[t]=o,i[s]={...l,api_request_fields:u},E(c,{"form.country_settings":i}),b.log("[updateApiRequestField] Updated index:",t,"value:",o))}function ea(r,c){const e=r.params||{},t=Number(e.fieldIndex);if(isNaN(t)||t<0){b.warn("[removeApiRequestField] Invalid fieldIndex:",e.fieldIndex);return}const o=G();if(!o)return;const a=o.state.getLocal?.()??{},n=Number(a.activeCountryTab??0),s=F(o),i=s[n];if(!i)return;const l=[...i.api_request_fields??[]];t>=l.length||(l.splice(t,1),s[n]={...i,api_request_fields:l},E(c,{"form.country_settings":s}),b.log("[removeApiRequestField] Removed index:",t,"remaining:",l.length))}function ta(r,c){const t=(r.params||{}).field??"";if(!t){b.warn("[toggleApiRequestField] Missing field param");return}const o=G();if(!o)return;const a=o.state.getLocal?.()??{},n=Number(a.activeCountryTab??0),s=F(o),i=s[n];if(!i)return;const l=[...i.api_request_fields??[]],u=l.indexOf(t);u>=0?l.splice(u,1):l.push(t);const d=l.length>0?l:null;s[n]={...i,api_request_fields:d},E(c,{"form.country_settings":s}),b.log("[toggleApiRequestField] Toggled:",t,"selected:",d)}function oa(r,c){const e=r.params||{},t=e.field??"";if(!t){b.warn("[updateApiConfigField] Missing field param");return}const o=G();if(!o)return;const a=o.state.getLocal?.()??{},n=Number(a.activeCountryTab??0),s=F(o),i=s[n];if(!i)return;const l={...i.api_config??{},[t]:e.value};s[n]={...i,api_config:l},E(c,{"form.country_settings":s}),b.log("[updateApiConfigField] Updated",t,"at index:",n)}function ra(r,c){const e=r.params||{},t=e.field??"";if(!t){b.warn("[updateApiFieldMap] Missing field param");return}const o=G();if(!o)return;const a=o.state.getLocal?.()??{},n=Number(a.activeCountryTab??0),s=F(o),i=s[n];if(!i)return;const l=e.value??"",u={...i.api_config?.field_map??{}};l.trim()===""?delete u[t]:u[t]=l;const d={...i.api_config??{},field_map:Object.keys(u).length>0?u:null};s[n]={...i,api_config:d},E(c,{"form.country_settings":s}),b.log("[updateApiFieldMap] Mapped",t,"→",l||"(removed)")}function na(r,c){const e=G();if(!e)return;const t=e.state.getLocal?.()??{},o=Number(t.activeCountryTab??0),n=F(e)[o];if(n){if(!n.api_endpoint){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.shipping_policy.form.api_test_endpoint_required")??"Endpoint required");return}e.state.set?.({apiTestLoading:!0,apiTestResult:null}),e.dispatch({handler:"apiCall",target:"/api/modules/sirsoft-ecommerce/admin/shipping-policies/test-api-call",auth_required:!0,params:{method:"POST",body:{endpoint:n.api_endpoint,request_fields:n.api_request_fields,config:n.api_config??{},sample:{country_code:n.country_code}}},onSuccess:{handler:"setState",params:{target:"global",apiTestLoading:!1,apiTestResult:"{{response.data}}"}},onError:{handler:"setState",params:{target:"global",apiTestLoading:!1,apiTestResult:"{{error.errors ?? error}}"}}})}}function aa(r,c){const e=r.params||{},t=Number(e.feeIndex),o=e.field,a=e.value;if(isNaN(t)||t<0){b.warn("[updateExtraFeeField] Invalid feeIndex:",e.feeIndex);return}if(!["zipcode","fee","region"].includes(o)){b.warn("[updateExtraFeeField] Invalid field:",o);return}const n=G();if(!n)return;const s=n.state.getLocal?.()??{},i=Number(s.activeCountryTab??0),l=F(n),u=l[i];if(!u)return;const d=[...u.extra_fee_settings??[]];if(t>=d.length)return;const m=o==="fee"?parseFloat(a)||0:a;d[t]={...d[t],[o]:m},l[i]={...u,extra_fee_settings:d},E(c,{"form.country_settings":l}),b.log("[updateExtraFeeField] Updated index:",t,o,"=",m)}const me=window.G7Core?.createLogger?.("Handler:InitCategory")??{log:(...r)=>console.log("[Handler:InitCategory]",...r),warn:(...r)=>console.warn("[Handler:InitCategory]",...r),error:(...r)=>console.error("[Handler:InitCategory]",...r)};function ft(r,c){for(const e of r){if(e.id===c)return e;if(e.children&&e.children.length>0){const t=ft(e.children,c);if(t)return t}}return null}function gt(r){return new URLSearchParams(window.location.search).get(r)}function sa(r){return window.G7Core?.state?.getDataSource?.(r)}async function ia(r,c,e=30,t=100){for(let o=0;o0)return n;await new Promise(s=>setTimeout(s,t))}return null}async function ca(r,c){const e=window.G7Core,t=gt("id"),o=gt("mode");if(!t){me.log("[initCategoryFromUrl] No id parameter in URL");return}if(!e?.state?.set){me.warn("[initCategoryFromUrl] G7Core.state.set not available");return}const a=await ia("categories",l=>l?.data?.data);if(!a){me.warn("[initCategoryFromUrl] categories data not available after waiting");return}const n=parseInt(t,10),s=ft(a,n);if(!s){me.warn("[initCategoryFromUrl] Category not found with id:",n);return}const i=o==="edit"?"edit":"view";e.state.set({selectedCategoryId:s.id,selectedCategory:s,panelMode:i}),me.log("[initCategoryFromUrl] Category initialized from URL:",{id:n,mode:i})}const pe=window.G7Core?.createLogger?.("Handler:InitBrand")??{log:(...r)=>console.log("[Handler:InitBrand]",...r),warn:(...r)=>console.warn("[Handler:InitBrand]",...r),error:(...r)=>console.error("[Handler:InitBrand]",...r)};function _t(r){return new URLSearchParams(window.location.search).get(r)}function la(r){return window.G7Core?.state?.getDataSource?.(r)}async function da(r,c,e=30,t=100){for(let o=0;o0)return n;await new Promise(s=>setTimeout(s,t))}return null}async function ua(r,c){const e=window.G7Core,t=_t("id"),o=_t("mode");if(!t){pe.log("[initBrandFromUrl] No id parameter in URL");return}if(!e?.state?.set){pe.warn("[initBrandFromUrl] G7Core.state.set not available");return}const a=await da("brands",l=>l?.data?.data);if(!a){pe.warn("[initBrandFromUrl] brands data not available after waiting");return}const n=parseInt(t,10),s=a.find(l=>l.id===n);if(!s){pe.warn("[initBrandFromUrl] Brand not found with id:",n);return}const i=o==="edit"?"edit":"view";e.state.set({selectedBrandId:s.id,selectedBrand:s,panelMode:i}),pe.log("[initBrandFromUrl] Brand initialized from URL:",{id:n,mode:i})}const fe=window.G7Core?.createLogger?.("Handler:InitCommonInfo")??{log:(...r)=>console.log("[Handler:InitCommonInfo]",...r),warn:(...r)=>console.warn("[Handler:InitCommonInfo]",...r),error:(...r)=>console.error("[Handler:InitCommonInfo]",...r)};function wt(r){return new URLSearchParams(window.location.search).get(r)}function ma(r){return window.G7Core?.state?.getDataSource?.(r)}async function pa(r,c,e=30,t=100){for(let o=0;o0)return n;await new Promise(s=>setTimeout(s,t))}return null}async function fa(r,c){const e=window.G7Core,t=wt("id"),o=wt("mode");if(!t){fe.log("[initCommonInfoFromUrl] No id parameter in URL");return}if(!e?.state?.set){fe.warn("[initCommonInfoFromUrl] G7Core.state.set not available");return}const a=await pa("commonInfos",l=>l?.data);if(!a){fe.warn("[initCommonInfoFromUrl] commonInfos data not available after waiting");return}const n=parseInt(t,10),s=a.find(l=>l.id===n);if(!s){fe.warn("[initCommonInfoFromUrl] Common info not found with id:",n);return}const i=o==="edit"?"edit":"view";e.state.set({selectedId:s.id,selectedItem:s,panelMode:i}),fe.log("[initCommonInfoFromUrl] Common info initialized from URL:",{id:n,mode:i})}const ge=window.G7Core?.createLogger?.("Handler:InitNotice")??{log:(...r)=>console.log("[Handler:InitNotice]",...r),warn:(...r)=>console.warn("[Handler:InitNotice]",...r),error:(...r)=>console.error("[Handler:InitNotice]",...r)};function yt(r){return new URLSearchParams(window.location.search).get(r)}function ga(r){return window.G7Core?.state?.getDataSource?.(r)}async function _a(r,c,e=30,t=100){for(let o=0;o0)return n;await new Promise(s=>setTimeout(s,t))}return null}async function wa(r,c){const e=window.G7Core,t=yt("id"),o=yt("mode");if(!t){ge.log("[initNoticeFromUrl] No id parameter in URL");return}if(!e?.state?.set){ge.warn("[initNoticeFromUrl] G7Core.state.set not available");return}const a=await _a("templates",l=>l?.data);if(!a){ge.warn("[initNoticeFromUrl] templates data not available after waiting");return}const n=parseInt(t,10),s=a.find(l=>l.id===n);if(!s){ge.warn("[initNoticeFromUrl] Template not found with id:",n);return}const i=o==="edit"?"edit":"view";e.state.set({selectedTemplateId:s.id,selectedTemplate:s,panelMode:i}),ge.log("[initNoticeFromUrl] Template initialized from URL:",{id:n,mode:i})}const oe={updateProductField:At,updateOptionField:kt,calculateCurrencyPrices:se,initPreferredCurrency:Tt,initPreferredShippingCountry:qt,setDateRange:Vt,setDefaultOption:jt,toggleOption:Bt,toggleProductOptions:Ye,toggleAllOptionsInRow:Kt,getProductOptionStates:Qt,syncProductSelection:zt,loadExpandedOptions:Fe,retryExpandedOptions:to,generateCopyProductCode:Wt,copyProduct:Yt,selectCategory:ro,selectCategoryMobile:no,addCategoryToSelection:ao,removeCategoryFromSelection:so,getCategoryBreadcrumb:io,validateCategoryPath:lo,initCategoryInfosFromProduct:co,getBrandName:uo,getBrandDescription:mo,updatePrice:_o,calculateTotalOptionStock:wo,validatePriceRelation:yo,addOptionInput:Go,removeOptionInput:Eo,updateOptionInput:Fo,generateOptions:Do,deleteOption:$o,applyOptionAddTool:No,addRequiredItem:To,updateRequiredItem:Ro,removeRequiredItem:Mo,reorderRequiredItems:Ho,addAdditionalOption:qo,updateAdditionalOption:Uo,removeAdditionalOption:Vo,reorderAdditionalOptions:jo,clearAdditionalOptions:Bo,addAdditionalOptionValue:Ko,updateAdditionalOptionValue:Qo,removeAdditionalOptionValue:zo,uploadImages:Xo,setThumbnail:Zo,reorderImages:er,updateDescription:tr,confirmSelectNoticeTemplate:or,selectNoticeTemplate:nt,updateNoticeItem:rr,removeNoticeItem:nr,reorderNoticeItems:ar,fillNoticeWithValue:sr,switchNoticeMode:ir,updateNewTemplateName:cr,addNoticeItem:lr,updateNoticeItemName:dr,saveAsNoticeTemplate:ur,confirmSaveNoticeTemplate:fr,fillTemplateFieldsWithDetailReference:mr,fillNoticeItemsWithDetailReference:pr,toggleLabel:gr,generateProductCode:_r,getShippingPolicyInfo:wr,getCommonInfoContent:yr,updateShoppingIntegration:hr,updateShippingType:Cr,updateIdentificationCode:br,openLabelPeriodModal:Ir,saveLabelPeriod:Sr,removeLabelPeriod:vr,updateActivityLogSort:Lr,updateActivityLogPerPage:xr,setDefaultShippingPolicy:Pr,setLabelDatePreset:kr,toggleDefaultShippingPolicy:Ar,toggleLabelAssignment:Or,saveLabelSettings:$r,deleteLabel:Dr,updateLabelPeriodInline:Gr,setLabelDatePresetInline:Er,confirmUncheckLabel:Fr,removeDescriptionLocale:Nr,showAddLocaleModal:Tr,addDescriptionLocale:Rr,setDefaultOptionFromGrid:Io,addOptionRow:vo,updateFormOptionField:So,recalculateOptionPriceAdjustments:Lo,bulkUpdate:Mr,buildConfirmData:Ur,buildOrderColumns:Vr,toggleArrayValue:jr,toggleVisibleFilter:Br,syncOrderSelection:Kr,handleOrderRowAction:Qr,processOrderBulkAction:zr,buildOrderBulkConfirmData:Zr,executeOrderBulkAction:en,downloadOrderExcel:Wr,saveVisibleColumns:Yr,loadVisibleColumns:Jr,loadVisibleFilters:Xr,handleProductRowAction:tn,initOrderDetailForm:on,toggleProductSelection:rn,toggleAllProducts:nn,buildOrderDetailBulkConfirmData:an,processOrderDetailBulkChange:sn,saveAdminMemo:cn,updateChangeQuantity:ln,openConfirmDepositModal:dn,confirmDeposit:un,initShippingPolicyForm:Rn,addCountrySetting:Mn,removeCountrySetting:Hn,switchCountryTab:qn,updateCountryField:Un,onChargePolicyChange:Vn,addRangeTier:jn,removeRangeTier:Bn,updateRangeTierField:Kn,validateRangeTiers:Qn,addExtraFeeRow:zn,removeExtraFeeRow:Wn,applyExtraFeeTemplate:Yn,updateUnitValue:Jn,addApiRequestField:Xn,updateApiRequestField:Zn,removeApiRequestField:ea,toggleApiRequestField:ta,updateApiConfigField:oa,updateApiFieldMap:ra,testShippingApi:na,updateExtraFeeField:aa,updateCancelQuantity:pn,estimateRefundAmount:fn,changeRefundPriority:gn,executeCancelOrder:_n,clearCancelOrderTimers:mn,toggleItemSelection:yn,toggleSelectAllItems:hn,initUserCancelItems:Cn,toggleUserCancelItem:bn,toggleUserCancelSelectAll:In,updateUserCancelQuantity:Sn,estimateUserRefund:vn,changeUserRefundPriority:Ln,executeUserCancelOrder:xn,clearUserCancelOrderTimers:wn,confirmOrderOption:An,changeShippingAddress:On,submitReview:Gn,initCategoryFromUrl:ca,initBrandFromUrl:ua,initCommonInfoFromUrl:fa,initNoticeFromUrl:wa},V="sirsoft-ecommerce",_e=window.G7Core?.createLogger?.(`Module:${V}`)??{log:(...r)=>console.log(`[Module:${V}]`,...r),warn:(...r)=>console.warn(`[Module:${V}]`,...r),error:(...r)=>console.error(`[Module:${V}]`,...r)};function ht(r=!1){const c=window.G7Core?.getActionDispatcher?.();if(c)Object.entries(oe).forEach(([e,t])=>{const o=`${V}.${e}`;c.registerHandler(o,t,{category:"module",source:V})}),_e.log(`${Object.keys(oe).length} handler(s) registered:`,Object.keys(oe).map(e=>`${V}.${e}`));else if(r){let e=0;const t=50,o=()=>{const a=window.G7Core?.getActionDispatcher?.();a?(Object.entries(oe).forEach(([n,s])=>{const i=`${V}.${n}`;a.registerHandler(i,s,{category:"module",source:V})}),_e.log(`${Object.keys(oe).length} handler(s) registered:`,Object.keys(oe).map(n=>`${V}.${n}`))):(e++,e<=t?(_e.warn(`ActionDispatcher not found, retrying... (${e}/${t})`),setTimeout(o,100)):_e.error("Failed to register handlers: ActionDispatcher not available after maximum retries"))};o()}else _e.warn("ActionDispatcher not found, handlers not registered")}function je(){if(document.readyState==="loading")document.addEventListener("DOMContentLoaded",()=>ht(!0));else{const r=!!window.G7Core?.getActionDispatcher?.();ht(!r)}}return je(),typeof window<"u"&&(window.__SirsoftEcommerce={identifier:V,handlers:Object.keys(oe),initModule:je}),Pe.initModule=je,Object.defineProperty(Pe,Symbol.toStringTag,{value:"Module"}),Pe}({}); +var SirsoftEcommerce=function(Pe){"use strict";const St={KRW:0,JPY:0},vt={KRW:"₩",USD:"$",JPY:"¥",CNY:"元",EUR:"€",GBP:"£"},Lt={KRW:1e3,JPY:100};function xt(r){if(!r)return 1;const c=r.base_unit??Lt[r.code]??1;return Math.max(1,c)}function Pt(r,c,e){const t=parseFloat(c)||1;if(t<=0)return r;const o=r/t;let a;switch(e){case"ceil":a=Math.ceil(o);break;case"floor":a=Math.floor(o);break;default:a=Math.round(o)}return a*t}function ye(r,c){const e=typeof c=="string"?{code:c}:c,t=e.code,o=e.symbol&&e.symbol.length>0?e.symbol:vt[t]??"",a=e.decimal_places??St[t]??2,n=r.toLocaleString(void 0,{minimumFractionDigits:a,maximumFractionDigits:a});return o?t==="KRW"||o==="₩"||o==="원"?n+"원":o+n:n+" "+t}function se(r,c){const{basePrice:e,currencies:t}=r,o=parseFloat(String(e))||0;if(!t||!Array.isArray(t)||t.length===0)return{};const a=t.find(i=>i.is_default),n=xt(a),s={};for(const i of t){const l=i.code;if(i.is_default??!1)s[l]={price:o,formatted:ye(o,i),is_default:!0,editable:!0};else if(i.exchange_rate&&i.exchange_rate>0){const d=o/n*i.exchange_rate,m=Pt(d,i.rounding_unit||"0.01",i.rounding_method||"round");s[l]={price:m,formatted:ye(m,i),is_default:!1,editable:!1,exchange_rate:i.exchange_rate}}}return s}const z=window.G7Core?.createLogger?.("Ecom:UpdateProduct")??{log:(...r)=>console.log("[Ecom:UpdateProduct]",...r),warn:(...r)=>console.warn("[Ecom:UpdateProduct]",...r),error:(...r)=>console.error("[Ecom:UpdateProduct]",...r)};function At(r,c){const e=r.params||{},{productId:t,field:o,dataSourceId:a="products"}=e;let{value:n}=e;if(n&&typeof n=="object"&&n.target!==void 0&&(n=n.target?.value,z.log("[updateProductField] Extracted value from event:",n)),!t||!o){z.warn("[updateProductField] Missing required params:",{productId:t,field:o});return}if(n===void 0){z.warn("[updateProductField] Value is undefined, skipping update");return}const s=window.G7Core;if(!s?.dataSource?.get||!s?.dataSource?.set){z.warn("[updateProductField] G7Core.dataSource API is not available");return}const i=s.dataSource.get(a);if(!i){console.warn(`[updateProductField] DataSource '${a}' not found`);return}const l=i.data?.data||[];if(!Array.isArray(l)||l.length===0){z.warn("[updateProductField] Products data is empty or invalid");return}const u=s.state.get()||{},d=u.modules?.["sirsoft-ecommerce"]?.language_currency?.currencies;let f=[...u._local?.productFieldErrors||[]];const g=l.map(C=>{if(String(C.id)===String(t)){const A=C[o];if(typeof n=="object"&&n!==null?JSON.stringify(A)===JSON.stringify(n):String(A)===String(n))return z.log(`[updateProductField] No change for product ${t}.${o}, skipping`),C;let I=n;const N=parseFloat(n)||0;if(o==="selling_price"){const O=parseFloat(C.list_price)||0;O>0&&N>O?(f.some(Q=>Q.productId===String(t)&&Q.field===o)||f.push({productId:String(t),field:"selling_price",message:"판매가는 정가를 초과할 수 없습니다."}),I=O):f=f.filter($=>!($.productId===String(t)&&$.field===o))}else f=f.filter(O=>!(O.productId===String(t)&&O.field===o));const L={...C,[o]:I,_modified:!0};return o==="selling_price"&&d&&Array.isArray(d)&&(L.multi_currency_selling_price=se({basePrice:I,currencies:d}),z.log(`[updateProductField] Recalculated multi_currency_selling_price for product ${t}`)),L}return C});s.dataSource.set(a,{...i,data:{...i.data,data:g}});const w=s.state.getLocal()||{},y=new Set(w.modifiedProductIds||[]);y.add(t);const _={...w.modifiedProductFields||{}},p=String(t),S=new Set(_[p]||[]);S.add(o),_[p]=Array.from(S),s.state.setLocal({modifiedProductIds:Array.from(y),modifiedProductFields:_,productFieldErrors:f}),z.log(`[updateProductField] Updated product ${t}.${o} =`,n)}const B=window.G7Core?.createLogger?.("Ecom:UpdateOption")??{log:(...r)=>console.log("[Ecom:UpdateOption]",...r),warn:(...r)=>console.warn("[Ecom:UpdateOption]",...r),error:(...r)=>console.error("[Ecom:UpdateOption]",...r)};function kt(r,c){const e=r.params||{},{productId:t,optionId:o,field:a,value:n,dataSourceId:s="products"}=e;if(!t||!o||!a){B.warn("[updateOptionField] Missing required params:",{productId:t,optionId:o,field:a});return}const i=window.G7Core;if(!i?.dataSource?.get||!i?.dataSource?.set){B.warn("[updateOptionField] G7Core.dataSource API is not available");return}const l=i.dataSource.get(s);if(!l){console.warn(`[updateOptionField] DataSource '${s}' not found`);return}const u=l.data?.data||[];if(!Array.isArray(u)||u.length===0){B.warn("[updateOptionField] Products data is empty or invalid");return}const d=i.state.get()||{},m=d.modules?.["sirsoft-ecommerce"]?.language_currency?.currencies;let g=[...d._local?.optionFieldErrors||[]],w=!1,y=!1;const _=u.map(N=>{if(String(N.id)===String(t)){const L=N.options||[],O=L.findIndex(D=>String(D.id)===String(o));if(O===-1)return B.warn("[updateOptionField] Option not found:",o),N;y=!0;const $=L[O],Q=$[a];if(typeof n=="object"&&n!==null?JSON.stringify(Q)===JSON.stringify(n):String(Q)===String(n))return B.log(`[updateOptionField] No change for option ${o}.${a}, skipping`),N;let J=n;const xe=parseFloat(n)||0;if(a==="selling_price"){const D=parseFloat($.list_price)||0;D>0&&xe>D?(g.some(we=>we.productId===String(t)&&we.optionId===String(o)&&we.field===a)||g.push({productId:String(t),optionId:String(o),field:"selling_price",message:"판매가는 정가를 초과할 수 없습니다."}),J=D):g=g.filter(H=>!(H.productId===String(t)&&H.optionId===String(o)&&H.field===a))}else g=g.filter(D=>!(D.productId===String(t)&&D.optionId===String(o)&&D.field===a));const re=[...L],ne={...re[O],[a]:J,_modified:!0};let ae=null;if(a==="selling_price"){const D=parseFloat(J)||0;if($.is_default===!0)ae=D,ne.price_adjustment=0;else{const H=parseFloat(N.selling_price)||0;ne.price_adjustment=D-H}ne.price_adjustment_formatted=(ne.price_adjustment>=0?"+":"")+ne.price_adjustment.toLocaleString()+"원"}if(a==="selling_price"&&m&&Array.isArray(m)&&(ne.multi_currency_selling_price=se({basePrice:J,currencies:m}),B.log(`[updateOptionField] Recalculated multi_currency_selling_price for option ${o}`)),re[O]=ne,ae!==null)for(let D=0;DH.is_active===!1?D:D+(parseInt(H.stock_quantity,10)||0),0),Be=Ke,B.log(`[updateOptionField] Updated product stock to option sum: ${Be}`));const Qe={...N,options:re,stock_quantity:Be,option_stock_sum:Ke,_modified:!0};return ae!==null&&(Qe.selling_price=ae,m&&Array.isArray(m)&&(Qe.multi_currency_selling_price=se({basePrice:ae,currencies:m})),w=!0,B.log(`[updateOptionField] Reverse-synced product ${t} selling_price to ${ae} from default option`)),Qe}return N});if(!y)return;i.dataSource.set(s,{...l,data:{...l.data,data:_}});const p=i.state.getLocal()||{},S=new Set(p.modifiedOptionIds||[]),C=`${t}-${o}`;S.add(C);const A={...p.modifiedOptionFields||{}},x=new Set(A[C]||[]);x.add(a),A[C]=Array.from(x);const I={modifiedOptionIds:Array.from(S),modifiedOptionFields:A,optionFieldErrors:g};if(w){const N=new Set(p.modifiedProductIds||[]);N.add(t);const L={...p.modifiedProductFields||{}},O=String(t),$=new Set(L[O]||[]);$.add("selling_price"),L[O]=Array.from($),I.modifiedProductIds=Array.from(N),I.modifiedProductFields=L}i.state.setLocal(I),B.log(`[updateOptionField] Updated option ${t}/${o}.${a} =`,n)}const Ot="g7_preferred_currency",Gt="g7_locale",ze=window.G7Core?.createLogger?.("Handler:InitPreferredCurrency")??{log:(...r)=>console.log("[Handler:InitPreferredCurrency]",...r),warn:(...r)=>console.warn("[Handler:InitPreferredCurrency]",...r),error:(...r)=>console.error("[Handler:InitPreferredCurrency]",...r)};function Et(r){const c=window.G7Core;c?.state?.set?c.state.set(r):ze.warn("G7Core.state.set not available")}function Ft(){try{return localStorage.getItem(Gt)}catch{return null}}function Dt(){try{const e=(window.G7Core?.state?.get?.()||{})?.modules?.["sirsoft-ecommerce"]?.language_currency;return Array.isArray(e?.currencies)?e.currencies:[]}catch{return[]}}function $t(r){if(!r)return null;const c=r.toLowerCase().split("-")[0].split("_")[0];if(!c)return null;const t=Dt().filter(o=>(Array.isArray(o?.locales)?o.locales:[]).some(n=>String(n).toLowerCase()===c));return t.length===1?t[0]?.code??null:t.length>1?t.find(a=>a?.is_default===!0)?.code??null:null}function Nt(){try{const r=window.G7Config;return r?.user?r.user:(window.G7Core?.state?.get?.()||{}).currentUser||null}catch{return null}}function Tt(r,c){const e=r?.params?.defaultCurrency||"KRW",t=l=>typeof l=="string"&&/^[A-Z]{3}$/.test(l),o=Nt(),a=r?.params?.accountCurrency??o?.ecommerce_preferred_currency;let n=null;try{n=localStorage.getItem(Ot)}catch{}const s=a?null:$t(Ft()),i=t(a)?a:t(n)?n:t(s)?s:t(e)?e:"KRW";Et({preferredCurrency:i}),ze.log("Preferred currency initialized:",i)}const Rt="g7_preferred_shipping_country",We=window.G7Core?.createLogger?.("Handler:InitPreferredShippingCountry")??{log:(...r)=>console.log("[Handler:InitPreferredShippingCountry]",...r),warn:(...r)=>console.warn("[Handler:InitPreferredShippingCountry]",...r),error:(...r)=>console.error("[Handler:InitPreferredShippingCountry]",...r)};function Mt(r){const c=window.G7Core;c?.state?.set?c.state.set(r):We.warn("G7Core.state.set not available")}function Ht(){try{const r=window.G7Config;return r?.user?r.user:(window.G7Core?.state?.get?.()||{}).currentUser||null}catch{return null}}function qt(r,c){const e=r?.params?.defaultCountry||"KR",t=i=>typeof i=="string"&&/^[A-Z]{2}$/.test(i),o=Ht(),a=r?.params?.accountCountry??o?.ecommerce_preferred_shipping_country;let n=null;try{n=localStorage.getItem(Rt)}catch{}const s=t(a)?a:t(n)?n:t(e)?e:"KR";Mt({preferredShippingCountry:s}),We.log("Preferred shipping country initialized:",s)}function X(r){const c=r.getFullYear(),e=String(r.getMonth()+1).padStart(2,"0"),t=String(r.getDate()).padStart(2,"0");return`${c}-${e}-${t}`}function Ut(r){const c=new Date,e=X(c);let t;switch(r){case"today":t=e;break;case"3days":{const o=new Date(c);o.setDate(o.getDate()-2),t=X(o);break}case"week":{const o=new Date(c);o.setDate(o.getDate()-6),t=X(o);break}case"month":{const o=new Date(c);o.setMonth(o.getMonth()-1),t=X(o);break}case"3months":{const o=new Date(c);o.setMonth(o.getMonth()-3),t=X(o);break}case"6months":{const o=new Date(c);o.setMonth(o.getMonth()-6),t=X(o);break}case"1year":{const o=new Date(c);o.setFullYear(o.getFullYear()-1),t=X(o);break}case"all":default:return t="",{startDate:"",endDate:""}}return{startDate:t,endDate:e}}function Vt(r){const{preset:c}=r.params||{preset:"today"},{startDate:e,endDate:t}=Ut(c);return{startDate:e,endDate:t,preset:c}}const ie=window.G7Core?.createLogger?.("Ecom:DefaultOption")??{log:(...r)=>console.log("[Ecom:DefaultOption]",...r),warn:(...r)=>console.warn("[Ecom:DefaultOption]",...r),error:(...r)=>console.error("[Ecom:DefaultOption]",...r)};function jt(r,c){const e=r.params||{},{productId:t,optionId:o,dataSourceId:a="products"}=e;if(!t||!o){ie.warn("[setDefaultOption] Missing required params:",{productId:t,optionId:o});return}const n=window.G7Core;if(!n?.dataSource?.get||!n?.dataSource?.set){ie.warn("[setDefaultOption] G7Core.dataSource API is not available");return}const s=n.dataSource.get(a);if(!s){console.warn(`[setDefaultOption] DataSource '${a}' not found`);return}const i=s.data?.data||[];if(!Array.isArray(i)||i.length===0){ie.warn("[setDefaultOption] Products data is empty or invalid");return}const u=(n.state.get()||{}).modules?.["sirsoft-ecommerce"]?.language_currency?.currencies,d=i.map(w=>{if(String(w.id)!==String(t))return w;const y=w.options||[];if(y.length===0)return w;const _=y.find(x=>String(x.id)===String(o));if(!_)return ie.warn("[setDefaultOption] Option not found:",o),w;const p=y.map(x=>{const I=String(x.id)===String(o);return{...x,is_default:I,_modified:I?!0:x._modified}}),S=_.list_price,C=_.selling_price;let A=w.multi_currency_selling_price;return u&&Array.isArray(u)&&(A=se({basePrice:C,currencies:u})),ie.log(`[setDefaultOption] Set option ${o} as default for product ${t}. Syncing prices: list_price=${S}, selling_price=${C}`),{...w,options:p,list_price:S,selling_price:C,multi_currency_selling_price:A,_modified:!0}});n.dataSource.set(a,{...s,data:{...s.data,data:d}});const m=n.state.getLocal()||{},f=new Set(m.modifiedProductIds||[]);f.add(String(t));const g=new Set(m.modifiedOptionIds||[]);g.add(`${t}-${o}`),n.state.setLocal({modifiedProductIds:Array.from(f),modifiedOptionIds:Array.from(g)}),ie.log(`[setDefaultOption] Option ${o} set as default for product ${t}`)}const Ae=window.G7Core?.createLogger?.("Ecom:OptionSelect")??{log:(...r)=>console.log("[Ecom:OptionSelect]",...r),warn:(...r)=>console.warn("[Ecom:OptionSelect]",...r),error:(...r)=>console.error("[Ecom:OptionSelect]",...r)},de=(r,c)=>`${r}-${c}`,ke=r=>r.split("-")[0];function Bt(r,c){const e=r.params||{},{productId:t,optionId:o,checked:a}=e,n=window.G7Core;if(!n?.state){Ae.warn("[toggleOption] G7Core.state를 사용할 수 없습니다.");return}const s=n.state.getLocal(),i=s.selectedOptionIds||[],l=s.selectedItems||[],u=de(t,o);let d;a?i.includes(u)?d=i:d=[...i,u]:d=i.filter(p=>p!==u);const w=(n.dataSource?.get("products")?.data?.data||[]).find(p=>String(p.id)===String(t))?.options||[];let y=[...l];const _=Number(t);w.length>0&&(w.map(C=>de(t,C.id)).filter(C=>d.includes(C)).length===w.length?y.includes(_)||y.push(_):y=y.filter(C=>C!==_)),n.state.setLocal({selectedOptionIds:d,selectedItems:y})}function Ye(r,c){const e=r.params||{},{productId:t,options:o,checked:a}=e,n=window.G7Core;if(!n?.state){Ae.warn("[toggleProductOptions] G7Core.state를 사용할 수 없습니다.");return}const s=n.state.getLocal(),i=s.selectedOptionIds||[],l=s.selectedItems||[],u=(o||[]).map(g=>de(t,g.id));let d,m=[...l];const f=Number(t);a?(d=[...i.filter(w=>ke(w)!==String(t)),...u],m.includes(f)||m.push(f)):(d=i.filter(g=>ke(g)!==String(t)),m=m.filter(g=>g!==f)),n.state.setLocal({selectedOptionIds:d,selectedItems:m})}function Kt(r,c){return Ye(r)}function Qt(r,c){const e=r.params||{products:[],selectedOptionIds:[]},{products:t,selectedOptionIds:o}=e,a=o||[];if(!t||!Array.isArray(t))return{};const n={};for(const s of t){const i=String(s.id),l=s.options||[];if(l.length===0){n[i]="none";continue}const d=l.map(m=>de(i,m.id)).filter(m=>a.includes(m)).length;d===0?n[i]="none":d===l.length?n[i]="all":n[i]="some"}return n}function zt(r,c){const e=r.params||{},{selectedIds:t}=e,o=window.G7Core;if(!o?.state){Ae.warn("[syncProductSelection] G7Core.state를 사용할 수 없습니다.");return}const a=o.state.getLocal(),n=a.selectedItems||[],s=a.selectedOptionIds||[],l=o.dataSource?.get("products")?.data?.data||[],u=t.filter(f=>!n.includes(f)),d=n.filter(f=>!t.includes(f));let m=[...s];for(const f of u){const g=l.find(w=>Number(w.id)===f);if(g?.options)for(const w of g.options){const y=de(f,w.id);m.includes(y)||m.push(y)}}for(const f of d)m=m.filter(g=>ke(g)!==String(f));o.state.setLocal({selectedItems:t,selectedOptionIds:m})}const he=window.G7Core?.createLogger?.("Ecom:CopyCode")??{log:(...r)=>console.log("[Ecom:CopyCode]",...r),warn:(...r)=>console.warn("[Ecom:CopyCode]",...r),error:(...r)=>console.error("[Ecom:CopyCode]",...r)};async function Wt(r,c){const e=window.G7Core;if(!e?.state||!e?.api){he.warn("[generateCopyProductCode] G7Core API is not available");return}try{const t=await e.api.post("/api/modules/sirsoft-ecommerce/admin/products/generate-code");if(!t?.data?.product_code)throw new Error("Invalid API response");const o=t.data.product_code;if((window.__g7LayoutContextStack||[]).length>0&&e.state.setParentLocal)e.state.setParentLocal({"ui.copyOptions.newProductCode":o}),he.log(`[generateCopyProductCode] Generated (parent): ${o}`);else{const s=e.state.getLocal()||{};e.state.setLocal({ui:{...s.ui,copyOptions:{...s.ui?.copyOptions||{},newProductCode:o}}}),he.log(`[generateCopyProductCode] Generated (local): ${o}`)}}catch(t){he.error("[generateCopyProductCode] Failed:",t),e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.product.messages.code_generate_error")??"Failed to generate product code.")}}const Je=window.G7Core?.createLogger?.("Ecom:CopyProduct")??{log:(...r)=>console.log("[Ecom:CopyProduct]",...r),warn:(...r)=>console.warn("[Ecom:CopyProduct]",...r),error:(...r)=>console.error("[Ecom:CopyProduct]",...r)};async function Yt(r,c){const e=window.G7Core;if(!e?.state){Je.warn("[copyProduct] G7Core API is not available");return}const t=e.state.getLocal()||{},a=(e.state.getParent?.()||{})._local||{},n=a.ui?.copyOptions||t.ui?.copyOptions||{},s=t.form?.product_code||a.form?.product_code||a.productList?.copyTargetProduct?.product_code||t.productList?.copyTargetProduct?.product_code;if(!s){e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.product.messages.copy_source_not_found")??"Could not find source product information.");return}e.modal?.close?.();const i={copy_id:s,copy_images:n.images??!0?"1":"0",copy_options:n.options??!0?"1":"0",copy_categories:n.categories??!0?"1":"0",copy_sales_info:n.sales_info??!0?"1":"0",copy_description:n.description??!0?"1":"0",copy_notice:n.notice??!0?"1":"0",copy_common_info:n.common_info??!0?"1":"0",copy_other_info:n.other_info??!0?"1":"0",copy_shipping:n.shipping??!0?"1":"0",copy_seo:n.seo??!1?"1":"0",copy_identification:n.identification??!0?"1":"0"},u=`/admin/ecommerce/products/create?${new URLSearchParams(i).toString()}`;Je.log("[copyProduct] Navigating to:",u),e.navigate?e.navigate(u):c.navigate?c.navigate(u):window.location.href=u}const Ce=window.G7Core?.createLogger?.("Ecom:ExpandedOptions")??{log:(...r)=>console.log("[Ecom:ExpandedOptions]",...r),warn:(...r)=>console.warn("[Ecom:ExpandedOptions]",...r),error:(...r)=>console.error("[Ecom:ExpandedOptions]",...r)},Jt="/api/modules/sirsoft-ecommerce/admin/products/options",Oe=100,Ge=new Set;function Xt(r,c){const t=r?.dataSource?.get?.(c)?.data?.data;return Array.isArray(t)?t:[]}function Xe(r,c,e){const t=r?.dataSource?.get?.(c),o=t?.data?.data;if(!t||!Array.isArray(o)){Ce.warn("[loadExpandedOptions] DataSource not available for merge:",c);return}const a=o.map(n=>{const s=String(n?.id);return Object.prototype.hasOwnProperty.call(e,s)?{...n,options:e[s]}:n});r.dataSource.set(c,{...t,data:{...t.data,data:a}})}function Zt(r,c){const e=r?.state?.getLocal?.()||{},t=e.selectedItems||[];if(t.length===0)return;const o=new Set(t.map(s=>String(s))),a=new Set(e.selectedOptionIds||[]);let n=!1;Object.entries(c).forEach(([s,i])=>{o.has(s)&&i.forEach(l=>{const u=`${s}-${l?.id}`;a.has(u)||(a.add(u),n=!0)})}),n&&r.state.setLocal({selectedOptionIds:Array.from(a)})}function Ee(r,c){const e=r?.state?.getLocal?.()||{},t=c(e.optionsLoadingIds||[],e.optionsErrorIds||[]);r.state.setLocal({optionsLoadingIds:t.loading,optionsErrorIds:t.errored})}function Fe(r,c){const e=r.params||{},t=e.dataSourceId||"products",o=e.force===!0,a=window.G7Core;if(!a?.dataSource?.get||!a?.dataSource?.set||!a?.state?.setLocal){Ce.warn("[loadExpandedOptions] G7Core dataSource/state API is not available");return}Array.isArray(e.expandedRows)&&a.state.setLocal({expandedRows:e.expandedRows});const n=Array.isArray(e.productIds)?e.productIds:e.productId!==void 0&&e.productId!==null?[e.productId]:Array.isArray(e.expandedRows)?e.expandedRows:a.state.getLocal?.()?.expandedRows||[];if(!Array.isArray(n)||n.length===0)return;const s=Xt(a,t),i=new Map(s.map(d=>[String(d?.id),d])),l=[],u={};n.forEach(d=>{const m=String(d),f=i.get(m);if(f&&!(!o&&Array.isArray(f.options))){if(Number(f.options_total_count)===0){u[m]=[];return}Ge.has(m)||l.push(m)}}),Object.keys(u).length>0&&Xe(a,t,u),l.length!==0&&(l.length>Oe&&(Ce.warn(`[loadExpandedOptions] Requested ${l.length} products, truncating to ${Oe}`),l.length=Oe),l.forEach(d=>Ge.add(d)),Ee(a,(d,m)=>({loading:Array.from(new Set([...d,...l])),errored:m.filter(f=>!l.includes(f))})),a.api.get(Jt,{params:{product_ids:l.map(d=>Number(d))}}).then(d=>{const f=(d?.data||{}).options||{},g={};l.forEach(w=>{const y=f[w];g[w]=Array.isArray(y)?y:[]}),Xe(a,t,g),Zt(a,g),Ee(a,(w,y)=>({loading:w.filter(_=>!l.includes(_)),errored:y.filter(_=>!l.includes(_))}))}).catch(d=>{Ce.error("[loadExpandedOptions] Failed to load options:",d),Ee(a,(f,g)=>({loading:f.filter(w=>!l.includes(w)),errored:Array.from(new Set([...g,...l]))}));const m=d?.response?.data?.message||a.t?.("sirsoft-ecommerce.admin.product.table.options.load_failed")||"Failed to load product options.";a.toast?.error?.(m)}).finally(()=>{l.forEach(d=>Ge.delete(d))}))}function eo(r,c={}){const e=r?.state?.getLocal?.()?.expandedRows||[];!Array.isArray(e)||e.length===0||Fe({params:{productIds:e,force:c.force===!0,dataSourceId:c.dataSourceId||"products"}})}function to(r,c){const e=r.params||{};Fe({params:{productId:e.productId,productIds:e.productIds,force:!0,dataSourceId:e.dataSourceId}})}const P=window.G7Core?.createLogger?.("Ecom:Category")??{log:(...r)=>console.log("[Ecom:Category]",...r),warn:(...r)=>console.warn("[Ecom:Category]",...r),error:(...r)=>console.error("[Ecom:Category]",...r)};function Ze(r,c,e,t=[]){for(const o of r){const a=o.name?.[e]||o.name?.ko||"";if(o.id===c)return[...t,a].join(" > ");if(o.children&&o.children.length>0){const n=Ze(o.children,c,e,[...t,a]);if(n)return n}}return null}function oo(r,c,e){return r.map(t=>{if(t.breadcrumb)return{id:t.id,breadcrumb:t.breadcrumb};const o=Ze(c,t.id,e);if(o)return{id:t.id,breadcrumb:o};const a=t.name?.[e]||t.name?.ko||t.name_localized||"";return{id:t.id,breadcrumb:a}})}function ro(r,c){const e=r.params||{},t=e.depth,o=e.category;if(t===void 0||!o){P.warn("[selectCategory] Missing depth or category param");return}const a=c.isolatedContext;if(a){const u=a.state.selectedCategories||[null,null,null,null];if(u[t]?.id===o.id){P.log(`[selectCategory] Same category already selected at depth ${t}, skipping`);return}const d=u.map((m,f)=>fdp0?t+2:f;a.mergeState({selectedCategories:g,categoryStep:y}),P.log(`[selectCategoryMobile] Selected category at depth ${t} (isolated):`,o.id,"nextStep:",y);return}const n=window.G7Core;if(!n?.state){P.warn("[selectCategoryMobile] G7Core.state API is not available");return}const s=n.state.getLocal()||{},l=(s.ui?.selectedCategories||[null,null,null,null]).map((m,f)=>f0?t+2:s.ui?.categoryStep;n.state.setLocal({ui:{...s.ui,selectedCategories:l,categoryStep:d}}),P.log(`[selectCategoryMobile] Selected category at depth ${t}:`,o.id,"nextStep:",d)}function ao(r,c){P.log("[addCategoryToSelection] START");const e=window.G7Core;if(!e?.state){P.warn("[addCategoryToSelection] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=e.locale?.current?.()||"ko",a=c.isolatedContext,n=a?a.state.selectedCategories||[]:t.ui?.selectedCategories||[];P.log("[addCategoryToSelection] Current state:",{selectedCats:n.map(p=>p?.id??null),currentCategoryIds:t.form?.category_ids,currentSelectedCategoryInfos:t.selectedCategoryInfos,usingIsolatedContext:!!a});const s=n.filter(Boolean).pop();if(!s){P.warn("[addCategoryToSelection] No category selected");return}P.log("[addCategoryToSelection] Last selected category:",s.id,s.name);const i=t.form?.category_ids||[];if(i.length>=5){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.category.messages.max_5")??"You can select up to 5 categories.");return}if(i.includes(s.id)){P.log("[addCategoryToSelection] Duplicate detected:",s.id,"in",i),e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.category.messages.already_selected")??"This category is already selected.");return}const l=n.filter(Boolean).map(p=>p.name?.[o]||p.name?.ko||"").join(" > "),u=[...i,s.id],d=t.form?.primary_category_id||s.id,f=(e.state.getDataSources?.()||{}).categories?.data?.data||[];let g=t.selectedCategoryInfos||[];const w=t.form?.categories||[];g.length===0&&w.length>0&&(P.log("[addCategoryToSelection] Initializing from form.categories:",w.length,"items"),g=oo(w,f,o));const y=[...g,{id:s.id,breadcrumb:l}];P.log("[addCategoryToSelection] Before setLocal:",{newCategoryIds:u,primaryCategoryId:d,newInfos:y});try{e.state.setLocal({form:{...t.form,category_ids:u,primary_category_id:d},selectedCategoryInfos:y,hasChanges:!0}),P.log("[addCategoryToSelection] setLocal SUCCESS")}catch(p){P.error("[addCategoryToSelection] setLocal FAILED:",p)}const _=e.state.getLocal()||{};P.log("[addCategoryToSelection] After setLocal:",{category_ids:_.form?.category_ids,selectedCategoryInfos:_.selectedCategoryInfos}),P.log(`[addCategoryToSelection] Added category ${s.id} with breadcrumb: ${l}. Total: ${u.length}`)}function so(r,c){const t=(r.params||{}).categoryId;if(!t){P.warn("[removeCategoryFromSelection] Missing categoryId param");return}const o=window.G7Core;if(!o?.state){P.warn("[removeCategoryFromSelection] G7Core.state API is not available");return}const a=o.state.getLocal()||{},s=(a.form?.category_ids||[]).filter(d=>d!==t);let i=a.form?.primary_category_id;i===t&&(i=s[0]||null);const u=(a.selectedCategoryInfos||[]).filter(d=>d.id!==t);o.state.setLocal({form:{...a.form,category_ids:s,primary_category_id:i},selectedCategoryInfos:u,hasChanges:!0}),P.log(`[removeCategoryFromSelection] Removed category ${t}. Remaining: ${s.length}`)}function io(r,c){const e=r.params||{},t=e.categoryId,o=e.categories;if(!t||!o||!Array.isArray(o))return"";const n=window.G7Core?.locale?.current?.()||"ko",s=(l,u,d=[])=>{for(const m of l){const f=m.name?.[n]||m.name?.ko||"";if(m.id===u)return[...d,f];if(m.children&&m.children.length>0){const g=s(m.children,u,[...d,f]);if(g)return g}}return null},i=s(o,t);return i?i.join(" > "):""}function co(r,c){P.log("[initCategoryInfosFromProduct] START");const e=window.G7Core;if(!e?.state){P.warn("[initCategoryInfosFromProduct] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=e.locale?.current?.()||"ko",n=(e.state.getDataSources?.()||{}).categories?.data?.data||[],s=t.form?.categories||[],i=t.form?.category_ids||[];if(P.log("[initCategoryInfosFromProduct] Product categories:",s),P.log("[initCategoryInfosFromProduct] Category IDs:",i),P.log("[initCategoryInfosFromProduct] Categories tree available:",n.length>0),i.length===0){P.log("[initCategoryInfosFromProduct] No categories to initialize");return}const l=(d,m,f=[])=>{for(const g of d){const w=g.name?.[o]||g.name?.ko||"";if(g.id===m)return[...f,w];if(g.children&&g.children.length>0){const y=l(g.children,m,[...f,w]);if(y)return y}}return null},u=[];for(const d of i){const m=l(n,d);if(m)u.push({id:d,breadcrumb:m.join(" > ")});else{const f=s.find(g=>g.id===d);if(f){const g=f.name?.[o]||f.name?.ko||f.name_localized||"";u.push({id:d,breadcrumb:g})}}}P.log("[initCategoryInfosFromProduct] Generated selectedCategoryInfos:",u),e.state.setLocal({selectedCategoryInfos:u}),P.log("[initCategoryInfosFromProduct] DONE")}function lo(r,c){const e={category1:"",category2:"",category3:"",category4:""},t=r.params||{},o=t.categoryId1?String(t.categoryId1):"",a=t.categoryId2?String(t.categoryId2):"",n=t.categoryId3?String(t.categoryId3):"",s=t.categoryId4?String(t.categoryId4):"",i=t.categories;if(!i||!Array.isArray(i)||i.length===0)return P.warn("[validateCategoryPath] No categories data provided"),e;if(o){const l=i.find(u=>String(u.id)===o);if(l&&l.depth===0&&(e.category1=o,a&&l.children)){const u=l.children.find(d=>String(d.id)===a);if(u&&u.depth===1&&(e.category2=a,n&&u.children)){const d=u.children.find(m=>String(m.id)===n);if(d&&d.depth===2&&(e.category3=n,s&&d.children)){const m=d.children.find(f=>String(f.id)===s);m&&m.depth===3&&(e.category4=s)}}}}return P.log("[validateCategoryPath] Result:",e),e}function uo(r,c){const e=r.params||{},t=e.brandId,o=e.brands;if(!t||!o||!Array.isArray(o))return"";const n=window.G7Core?.locale?.current?.()||"ko",s=o.find(i=>i.id===t);return s?s.name?.[n]??s.name?.ko??"":""}function mo(r,c){const e=r.params||{},t=e.brandId,o=e.brands;if(!t||!o||!Array.isArray(o))return"";const n=window.G7Core?.locale?.current?.()||"ko",s=o.find(i=>i.id===t);return s?.description?.[n]??s?.description?.ko??""}const Z=window.G7Core?.createLogger?.("Ecom:Price")??{log:(...r)=>console.log("[Ecom:Price]",...r),warn:(...r)=>console.warn("[Ecom:Price]",...r),error:(...r)=>console.error("[Ecom:Price]",...r)},po={KRW:1e3,JPY:100};function fo(r,c){const t=r.find(o=>o.code===c)?.base_unit??po[c]??1;return Math.max(1,t)}function go(r,c,e,t){const o=r/t*c;switch(e){case"ceil":return Math.ceil(o);case"floor":return Math.floor(o);case"round":default:return Math.round(o)}}function _o(r,c){const e=r.params||{},t=e.field,o=e.currency,a=e.value,n=e.autoFill;if(!t||!o||a===void 0){Z.warn("[updatePrice] Missing required params: field, currency, or value");return}const s=window.G7Core;if(!s?.state){Z.warn("[updatePrice] G7Core.state API is not available");return}const i=s.state.getLocal()||{},l=c.datasources?.currencies?.data||{},u=l?.list||[],d=l?.default_currency||"KRW",m=l?.rounding_method||"round",f={...i.form?.multi_currency_prices||{}};if(f[o]={...f[o]||{},[t]:a},n&&o===d){const y=fo(u,d);u.forEach(_=>{if(_.code!==d){const p=_.exchange_rate??1,S=go(a,p,m,y);f[_.code]={...f[_.code]||{},[t]:S}}})}const g={list:"list_price",selling:"selling_price"},w=o===d?a:i.form?.[g[t]];s.state.setLocal({form:{...i.form,multi_currency_prices:f,[g[t]]:w},hasChanges:!0}),Z.log(`[updatePrice] Updated ${t} price for ${o}: ${a}`)}function wo(r,c){const t=(r.params||{}).options;if(!t||!Array.isArray(t)||t.length===0)return 0;const o=t.reduce((a,n)=>n.is_active===!1?a:a+(n.stock_quantity||0),0);return Z.log(`[calculateTotalOptionStock] Total stock: ${o}`),o}function yo(r,c){const e=window.G7Core;if(!e?.state){Z.warn("[validatePriceRelation] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=parseFloat(String(t.form?.list_price))||0,a=parseFloat(String(t.form?.selling_price))||0,n=a>o&&o>0,s=e.t?.("sirsoft-ecommerce.admin.product.validation.selling_price_exceeds_list_price")??"판매가는 정가보다 클 수 없습니다.",i={...t.errors||{}};n?i.selling_price=[s]:delete i.selling_price;const l=Object.keys(i).length>0;e.state.setLocal({validation:{...t.validation,price_error:n},errors:l?i:null}),n?(e.toast?.warning?.(s),Z.warn(`[validatePriceRelation] Selling price (${a}) exceeds list price (${o})`)):Z.log("[validatePriceRelation] Price validation passed")}const T=window.G7Core?.createLogger?.("Ecom:ProductOption")??{log:(...r)=>console.log("[Ecom:ProductOption]",...r),warn:(...r)=>console.warn("[Ecom:ProductOption]",...r),error:(...r)=>console.error("[Ecom:ProductOption]",...r)};function ho(){return window.G7Core?.config?.("app.supported_locales")??["ko","en"]}function et(){return ho().reduce((c,e)=>({...c,[e]:""}),{})}function be(r){return(r??[]).filter(c=>c.is_active!==!1).reduce((c,e)=>c+(parseInt(String(e.stock_quantity),10)||0),0)}const Co={KRW:1e3,JPY:100};function De(){const e=((window.G7Core?.state?.get?.()||{}).modules?.["sirsoft-ecommerce"]?.language_currency?.currencies||[]).find(o=>o.is_default);if(!e)return 1;const t=e.base_unit??Co[e.code]??1;return Math.max(1,t)}function bo(r,c,e){const t=parseFloat(c)||1;if(t<=0)return r;const o=r/t;let a;switch(e){case"ceil":a=Math.ceil(o);break;case"floor":a=Math.floor(o);break;default:a=Math.round(o)}return a*t}function $e(r,c,e){const t=c.exchange_rate||0;if(t<=0)return{price:0,formatted:ye(0,c)};const o=e??De(),a=r/o*t,n=bo(a,c.rounding_unit||"0.01",c.rounding_method||"round"),s=c.decimal_places??2,i=parseFloat(n.toFixed(s));return{price:i,formatted:ye(i,c)}}function Ne(r,c,e){return r.map(t=>{const o=parseFloat(String(t.price_adjustment))||0,a=c+o,n={...t,selling_price:a};if(e.length>0){const s=De(),i={};e.forEach(l=>{i[l.code]=$e(a,l,s)}),n.multi_currency_selling_price=i}return n})}function Te(){return((window.G7Core?.state?.get?.()||{}).modules?.["sirsoft-ecommerce"]?.language_currency?.currencies||[]).filter(c=>!c.is_default&&c.exchange_rate)}function Io(r,c){const e=r.params||{},t=window.G7Core;if(!t?.state){T.warn("[setDefaultOption] G7Core.state API is not available");return}const o=t.state.getLocal()||{},a=[...o.form?.options??[]],n=e.index,s=n!=null?typeof n=="string"?parseInt(n,10):n:-1,i=e.optionCode??a[s]?.option_code;if(!i){T.warn("[setDefaultOption] Missing optionCode/index param",{index:n});return}let l=a.map(m=>({...m,is_default:m.option_code===i}));const u=l.find(m=>m.is_default===!0),d=u?parseFloat(String(u.selling_price))||parseFloat(String(o.form?.selling_price))||0:parseFloat(String(o.form?.selling_price))||0;if(u){u.price_adjustment=0;const m=Te();l=Ne(l,d,m)}t.state.setLocal({form:{...o.form,options:l,selling_price:d},hasChanges:!0}),T.log(`[setDefaultOption] Set default option to ${i}, synced product selling_price to ${d}`)}function So(r,c){const e=r.params||{},t=typeof e.index=="string"?parseInt(e.index,10):e.index,o=e.field,a=e.value;if(t==null||!o){T.warn("[updateFormOptionField] Missing required params:",{index:t,field:o});return}const n=window.G7Core;if(!n?.state){T.warn("[updateFormOptionField] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=[...s.form?.options??[]];if(t<0||t>=i.length){T.warn("[updateFormOptionField] Index out of bounds:",{index:t,length:i.length});return}const l=["regular_price","sale_price","list_price","selling_price","stock_quantity","safe_stock_quantity","weight","volume","mileage_value"];let u=a;if(l.includes(o)&&(u=parseFloat(a)||0),i[t]={...i[t],[o]:u},o==="selling_price"){const d=parseFloat(String(u))||0,m=Te();if(i[t].is_default===!0){i[t].price_adjustment=0;const g=Ne(i,d,m);n.state.setLocal({form:{...s.form,options:g,selling_price:d},hasChanges:!0}),T.log(`[updateFormOptionField] Reverse-synced product selling_price to ${d} from default option`);return}const f=parseFloat(String(s.form?.selling_price))||0;if(i[t].price_adjustment=d-f,m.length>0){const g=De(),w={};m.forEach(y=>{w[y.code]=$e(d,y,g)}),i[t].multi_currency_selling_price=w,T.log(`[updateFormOptionField] Recalculated multi_currency_selling_price for option at index ${t}:`,m.map(y=>y.code))}}if((o==="stock_quantity"||o==="is_active")&&i.length>0){const d=be(i);n.state.setLocal({form:{...s.form,options:i,stock_quantity:d},hasChanges:!0}),T.log(`[updateFormOptionField] Updated product stock_quantity to ${d} (sum of active options)`);return}n.state.setLocal({form:{...s.form,options:i},hasChanges:!0}),T.log(`[updateFormOptionField] Updated options[${t}].${o} =`,u)}function vo(r,c){const e=window.G7Core;if(!e?.state){T.warn("[addOptionRow] G7Core.state API is not available");return}const o=r.params?.isCreate===!0||r.params?.isCreate==="true"?1:0,a=e.state.getLocal()||{},n=[...a.form?.options??[]],s=a.form?.option_groups??[],i=`OPT-${Date.now()}`,l=s.map(f=>({key:f.name,value:et()})),u={id:null,option_code:i,option_name:et(),option_values:l,is_default:n.length===0,regular_price:0,sale_price:0,list_price:0,selling_price:0,price_adjustment:0,multi_currency_selling_price:{},sku:"",stock_quantity:o,safe_stock_quantity:0,weight:0,volume:0,mileage_value:0,mileage_type:"percent",is_active:!0},d=[...n,u],m=be(d);e.state.setLocal({form:{...a.form,options:d,stock_quantity:m,has_options:d.length>0},hasChanges:!0}),T.log(`[addOptionRow] Added new option row: ${i}, product stock_quantity = ${m}`)}function Lo(r,c){const e=window.G7Core;if(!e?.state){T.warn("[recalculateOptionPriceAdjustments] G7Core.state API is not available");return}const t=r.params||{},o=e.state.getLocal()||{},a=t.newSellingPrice!==void 0?parseFloat(String(t.newSellingPrice))||0:parseFloat(String(o.form?.selling_price))||0,n=[...o.form?.options??[]];if(n.length===0){T.log("[recalculateOptionPriceAdjustments] No options to recalculate");return}const s=Te(),i=Ne(n,a,s);e.state.setLocal({form:{...o.form,options:i}}),T.log(`[recalculateOptionPriceAdjustments] Recalculated selling_price for ${n.length} options based on product selling_price: ${a}`)}const h=window.G7Core?.createLogger?.("Ecom:Option")??{log:(...r)=>console.log("[Ecom:Option]",...r),warn:(...r)=>console.warn("[Ecom:Option]",...r),error:(...r)=>console.error("[Ecom:Option]",...r)};function Re(){return window.G7Core?.config?.("app.supported_locales")??["ko","en"]}function ce(){return window.G7Core?.config?.("app.locale")??Re()[0]??"ko"}function q(){return Re().reduce((c,e)=>({...c,[e]:""}),{})}function tt(r){return{id:null,name:q(),price_adjustment:0,is_default:r===0,is_active:!0,allow_custom_text:!1,sort_order:r}}function xo(r,c){return typeof r=="string"?r:r[c]??r.ko??Object.values(r)[0]??""}function ot(r){return r&&typeof r=="object"&&!Array.isArray(r)}function Po(r){return Array.isArray(r)?r:r&&typeof r=="object"?Object.values(r):[]}function Ao(r){return r.reduce((c,e)=>{const t=[];return c.forEach(o=>{e.forEach(a=>{t.push([...o,a])})}),t},[[]])}function ko(r){const c=Re(),e={};for(const t of c){const o=r.map(a=>xo(a,t));e[t]=o.join("/")}return e}function Oo(r,c){return c.map((e,t)=>({key:typeof e.name=="string"?{...q(),[ce()]:e.name}:e.name,value:ot(r[t])?r[t]:{...q(),[ce()]:r[t]}}))}function Go(r,c){const e=window.G7Core;if(!e?.state){h.warn("[addOptionInput] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=t.ui?.optionInputs??[];if(o.length>=3){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.options.messages.input_max_3")??"You can add up to 3 option inputs.");return}e.state.setLocal({ui:{...t.ui,optionInputs:[...o,{name:q(),values:[]}]}}),h.log(`[addOptionInput] Added option input. Total: ${o.length+1}`)}function Eo(r,c){const t=(r.params||{}).index;if(t===void 0){h.warn("[removeOptionInput] Missing index param");return}const o=window.G7Core;if(!o?.state){h.warn("[removeOptionInput] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.ui?.optionInputs??[]];n.splice(t,1),o.state.setLocal({ui:{...a.ui,optionInputs:n}}),h.log(`[removeOptionInput] Removed option input at index ${t}`)}function Fo(r,c){const e=r.params||{},t=e.index,o=e.field,a=e.value;if(t===void 0||!o){h.warn("[updateOptionInput] Missing required params");return}const n=window.G7Core;if(!n?.state){h.warn("[updateOptionInput] G7Core.state API is not available");return}h.log(`[updateOptionInput] Called with index=${t}, field="${o}" (type: ${typeof o}), value=`,a);const s=n.state.getLocal()||{},i=[...s.ui?.optionInputs??[]];if(h.log(`[updateOptionInput] Current inputs[${t}]:`,i[t]),i[t]||(h.log(`[updateOptionInput] inputs[${t}] not found, initializing with empty structure`),i[t]={name:q(),values:[]}),o==="name"){const l=ce(),u=i[t].name;h.log(`[updateOptionInput] Processing 'name' field - defaultLocale: ${l}, existingName:`,u,`type: ${typeof u}`);let d;a&&typeof a=="object"&&!Array.isArray(a)?(d=a,h.log("[updateOptionInput] Using multilingual value directly:",d)):(d={...u&&typeof u=="object"&&!Array.isArray(u)?u:q(),[l]:a},h.log("[updateOptionInput] Setting single locale value:",d)),i[t]={...i[t],name:d}}else h.log(`[updateOptionInput] Processing non-name field '${o}'`),i[t]={...i[t],[o]:a};h.log(`[updateOptionInput] Final inputs[${t}]:`,i[t]),n.state.setLocal({ui:{...s.ui,optionInputs:i}})}function Do(r,c){const e=window.G7Core;if(!e?.state){h.warn("[generateOptions] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=e.state.get()||{},a=t.ui?.optionInputs??[],n=ce(),s=p=>p.name?typeof p.name=="string"?p.name:p.name[n]??"":"",i=a.map(p=>({...p,values:Po(p.values)})),l=i.filter(p=>s(p)&&p.values&&p.values.length>0);if(h.log(`[generateOptions] Validating inputs - defaultLocale: ${n}, normalizedInputs:`,i.map(p=>({name:p.name,nameType:typeof p.name,extractedName:s(p),values:p.values,valuesIsArray:Array.isArray(p.values)}))),h.log(`[generateOptions] Valid inputs count: ${l.length}`),l.length===0){e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.product.options.messages.name_value_required")??"Please enter option name and values.");return}const u=t.form?.options??[],d=r.params?.skipConfirm===!0;if(u.length>0&&!d){e.modal?.open?.("modal_confirm_regenerate");return}const f=r.params?.isCreate===!0||r.params?.isCreate==="true"?1:0,g=parseFloat(String(t.form?.list_price))||0,w=parseFloat(String(t.form?.selling_price))||0,y=t.form?.multi_currency_selling_price,_=(o.modules?.["sirsoft-ecommerce"]?.language_currency?.currencies||[]).filter(p=>!p.is_default&&p.exchange_rate);try{h.log("[generateOptions] Step 1: Creating optionGroups...");const p=l.map((L,O)=>(h.log(`[generateOptions] Processing input[${O}]:`,{name:L.name,values:L.values,valuesType:typeof L.values,valuesIsArray:Array.isArray(L.values)}),{name:typeof L.name=="string"?{...q(),[n]:L.name}:L.name,values:L.values.map($=>ot($)?$:{...q(),[n]:$})})),C=Ao(l.map(L=>L.values)).map((L,O)=>{const $=Oo(L,l),Q=ko(L),Ct=`OPT-${String(O+1).padStart(3,"0")}`;let J={};return y&&typeof y=="object"&&Object.keys(y).length>0?J=JSON.parse(JSON.stringify(y)):w>0&&_.length>0&&_.forEach(xe=>{J[xe.code]=$e(w,xe)}),{id:null,option_code:Ct,option_values:$,option_name:Q,list_price:g,selling_price:w,price_adjustment:0,stock_quantity:f,safe_stock_quantity:0,is_default:O===0,is_active:!0,sku:"",multi_currency_selling_price:J}}),A=t.form?.options??[],x=L=>L.option_name?typeof L.option_name=="string"?L.option_name:L.option_name[n]??L.option_name.ko??"":"",I=C.map(L=>{const O=x(L),$=A.find(Q=>x(Q)===O);return $?{...L,...$,id:$.id}:L}),N=be(I);e.state.setLocal({form:{...t.form,option_groups:p,options:I,has_options:I.length>0,stock_quantity:N},hasChanges:!0}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.product.options.messages.generated",{count:I.length})??`${I.length} options have been generated.`),h.log(`[generateOptions] Generated ${I.length} options`)}catch(p){throw h.error("[generateOptions] Error occurred:",p),h.error("[generateOptions] Error message:",p.message),h.error("[generateOptions] Error stack:",p.stack),p}}function $o(r,c){const t=(r.params||{}).rowIndex;if(t===void 0){h.warn("[deleteOption] Missing rowIndex param");return}const o=window.G7Core;if(!o?.state){h.warn("[deleteOption] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.options??[]];n.splice(t,1);const s=be(n),i=n.length>0;o.state.setLocal({form:{...a.form,options:n,has_options:i,...i?{stock_quantity:s}:{}},hasChanges:!0}),h.log(`[deleteOption] Deleted option at index ${t}, product stock_quantity = ${s}`)}function No(r,c){const e=r.params||{},t=e.optionName,o=e.applyToAll,a=e.inheritPrice,n=window.G7Core;if(!n?.state){h.warn("[applyOptionAddTool] G7Core.state API is not available");return}if(!t?.trim()){n.toast?.warning?.(n.t?.("sirsoft-ecommerce.admin.product.options.messages.name_required")??"Please enter option name.");return}const s=n.state.getLocal()||{},l=[...s.form?.options??[]].map(u=>{const d={...u};return o&&(d.option_values={...u.option_values,[t]:""}),a&&(d.price_adjustment=u.price_adjustment??0),d});n.state.setLocal({form:{...s.form,options:l},ui:{...s.ui,optionAddToolName:"",optionAddToolApplyToAll:!1,optionAddToolInheritPrice:!1},hasChanges:!0}),n.toast?.success?.(n.t?.("sirsoft-ecommerce.admin.product.options.messages.add_tool_applied")??"Option add tool has been applied.")}function To(r,c){const e=window.G7Core;if(!e?.state){h.warn("[addRequiredItem] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=t.form?.required_items??[],a={id:null,sort_order:o.length,option_name:{ko:"",en:""},description:{ko:"",en:""}};e.state.setLocal({form:{...t.form,required_items:[...o,a]},hasChanges:!0}),h.log(`[addRequiredItem] Added required item. Total: ${o.length+1}`)}function Ro(r,c){const e=r.params||{},t=e.index,o=e.field,a=e.locale,n=e.value;if(t===void 0||!o||!a){h.warn("[updateRequiredItem] Missing required params");return}const s=window.G7Core;if(!s?.state){h.warn("[updateRequiredItem] G7Core.state API is not available");return}const i=s.state.getLocal()||{},l=[...i.form?.required_items??[]];l[t]={...l[t],[o]:{...l[t][o],[a]:n}},s.state.setLocal({form:{...i.form,required_items:l},hasChanges:!0})}function Mo(r,c){const t=(r.params||{}).index;if(t===void 0){h.warn("[removeRequiredItem] Missing index param");return}const o=window.G7Core;if(!o?.state){h.warn("[removeRequiredItem] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.required_items??[]];n.splice(t,1),n.forEach((s,i)=>{s.sort_order=i}),o.state.setLocal({form:{...a.form,required_items:n},hasChanges:!0}),h.log(`[removeRequiredItem] Removed required item at index ${t}`)}function Ho(r,c){const e=r.params||{},t=e.oldIndex,o=e.newIndex;if(t===void 0||o===void 0){h.warn("[reorderRequiredItems] Missing oldIndex or newIndex param");return}const a=window.G7Core;if(!a?.state){h.warn("[reorderRequiredItems] G7Core.state API is not available");return}const n=a.state.getLocal()||{},s=[...n.form?.required_items??[]],[i]=s.splice(t,1);s.splice(o,0,i),s.forEach((l,u)=>{l.sort_order=u}),a.state.setLocal({form:{...n.form,required_items:s},hasChanges:!0}),h.log(`[reorderRequiredItems] Moved item from ${t} to ${o}`)}function qo(r,c){const e=window.G7Core;if(!e?.state){h.warn("[addAdditionalOption] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=t.form?.additional_options??[];if(o.length>=5){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.options.messages.additional_max_5")??"You can add up to 5 additional options.");return}const a=`temp_${Date.now()}_${Math.random().toString(36).substring(2,9)}`;e.state.setLocal({form:{...t.form,additional_options:[...o,{id:a,name:q(),is_required:!1,sort_order:o.length,values:[tt(0)]}]},hasChanges:!0}),h.log(`[addAdditionalOption] Added additional option. Total: ${o.length+1}`)}function Uo(r,c){const e=r.params||{},t=e.index,o=e.field,a=e.value;if(t===void 0||!o){h.warn("[updateAdditionalOption] Missing required params");return}const n=window.G7Core;if(!n?.state){h.warn("[updateAdditionalOption] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=[...s.form?.additional_options??[]];if(!i[t]){h.warn("[updateAdditionalOption] Option not found at index",t);return}if(o==="name")if(a&&typeof a=="object"&&!Array.isArray(a))i[t]={...i[t],name:a};else{const l=ce(),u=i[t].name,d=u&&typeof u=="object"&&!Array.isArray(u)?u:q();i[t]={...i[t],name:{...d,[l]:a}}}else i[t]={...i[t],[o]:a};n.state.setLocal({form:{...s.form,additional_options:i},hasChanges:!0}),h.log(`[updateAdditionalOption] Updated options[${t}].${o}`)}function Vo(r,c){const t=(r.params||{}).index;if(t===void 0){h.warn("[removeAdditionalOption] Missing index param");return}const o=window.G7Core;if(!o?.state){h.warn("[removeAdditionalOption] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.additional_options??[]];n.splice(t,1),n.forEach((s,i)=>{s.sort_order=i}),o.state.setLocal({form:{...a.form,additional_options:n},hasChanges:!0}),h.log(`[removeAdditionalOption] Removed additional option at index ${t}`)}function jo(r,c){const e=r.params||{},t=parseInt(String(e.oldIndex),10),o=parseInt(String(e.newIndex),10);if(isNaN(t)||isNaN(o)||t===o)return;const a=window.G7Core;if(!a?.state){h.warn("[reorderAdditionalOptions] G7Core.state API is not available");return}const n=a.state.getLocal()||{},s=[...n.form?.additional_options??[]];if(t<0||t>=s.length||o<0||o>=s.length)return;const[i]=s.splice(t,1);s.splice(o,0,i),s.forEach((l,u)=>{l.sort_order=u}),a.state.setLocal({form:{...n.form,additional_options:s},ui:{...n.ui,dragIndex:null},hasChanges:!0}),h.log(`[reorderAdditionalOptions] Moved item from ${t} to ${o}`)}function Bo(r,c){const e=window.G7Core;if(!e?.state){h.warn("[clearAdditionalOptions] G7Core.state API is not available");return}const t=e.state.getLocal()||{};e.state.setLocal({form:{...t.form,additional_options:[]},hasChanges:!0}),h.log("[clearAdditionalOptions] Cleared all additional options.")}function Me(r){if(!r)return[];const c=r.values;return Array.isArray(c)?c:c&&typeof c=="object"?Object.values(c):[]}function Ko(r,c){const e=r.params||{},t=typeof e.groupIndex=="string"?parseInt(e.groupIndex,10):e.groupIndex;if(t==null||isNaN(t)){h.warn("[addAdditionalOptionValue] Missing groupIndex param");return}const o=window.G7Core;if(!o?.state){h.warn("[addAdditionalOptionValue] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.additional_options??[]];if(!n[t]){h.warn("[addAdditionalOptionValue] Group not found at index",t);return}const s=[...Me(n[t])];if(s.length>=20){o.toast?.warning?.(o.t?.("sirsoft-ecommerce.admin.product.options.messages.additional_value_max_20")??"You can add up to 20 choices per group.");return}s.push(tt(s.length)),n[t]={...n[t],values:s},o.state.setLocal({form:{...a.form,additional_options:n},hasChanges:!0}),h.log(`[addAdditionalOptionValue] Added value to group ${t}. Total: ${s.length}`)}function Qo(r,c){const e=r.params||{},t=typeof e.groupIndex=="string"?parseInt(e.groupIndex,10):e.groupIndex,o=typeof e.valueIndex=="string"?parseInt(e.valueIndex,10):e.valueIndex,a=e.field,n=e.value;if(t===void 0||o===void 0||!a){h.warn("[updateAdditionalOptionValue] Missing required params");return}const s=window.G7Core;if(!s?.state){h.warn("[updateAdditionalOptionValue] G7Core.state API is not available");return}const i=s.state.getLocal()||{},l=[...i.form?.additional_options??[]];if(!l[t]){h.warn("[updateAdditionalOptionValue] Group not found at index",t);return}const u=[...Me(l[t])];if(!u[o]){h.warn("[updateAdditionalOptionValue] Value not found at index",o);return}if(a==="name")if(n&&typeof n=="object"&&!Array.isArray(n))u[o]={...u[o],name:n};else{const d=ce(),m=u[o].name,f=m&&typeof m=="object"&&!Array.isArray(m)?m:q();u[o]={...u[o],name:{...f,[d]:n}}}else if(a==="price_adjustment"){let d=parseFloat(String(n));(isNaN(d)||d<0)&&(d=0),u[o]={...u[o],price_adjustment:d}}else if(a==="is_default")n===!0||n==="true"?u.forEach((m,f)=>{m.is_default=f===o}):u[o].is_default=!1;else if(a==="is_active"||a==="allow_custom_text"){const d=n===!0||n==="true";u[o]={...u[o],[a]:d}}else u[o]={...u[o],[a]:n};l[t]={...l[t],values:u},s.state.setLocal({form:{...i.form,additional_options:l},hasChanges:!0}),h.log(`[updateAdditionalOptionValue] Updated group ${t} value ${o} field ${a}`)}function zo(r,c){const e=r.params||{},t=typeof e.groupIndex=="string"?parseInt(e.groupIndex,10):e.groupIndex,o=typeof e.valueIndex=="string"?parseInt(e.valueIndex,10):e.valueIndex;if(t===void 0||o===void 0){h.warn("[removeAdditionalOptionValue] Missing required params");return}const a=window.G7Core;if(!a?.state){h.warn("[removeAdditionalOptionValue] G7Core.state API is not available");return}const n=a.state.getLocal()||{},s=[...n.form?.additional_options??[]];if(!s[t]){h.warn("[removeAdditionalOptionValue] Group not found at index",t);return}const i=[...Me(s[t])];if(i.length<=1){a.toast?.warning?.(a.t?.("sirsoft-ecommerce.admin.product.options.messages.additional_value_min_1")??"At least one choice is required per group.");return}i.splice(o,1),i.forEach((l,u)=>{l.sort_order=u}),i.some(l=>l.is_default)||(i[0].is_default=!0),s[t]={...s[t],values:i},a.state.setLocal({form:{...n.form,additional_options:s},hasChanges:!0}),h.log(`[removeAdditionalOptionValue] Removed value ${o} from group ${t}`)}const j=window.G7Core?.createLogger?.("Ecom:Image")??{log:(...r)=>console.log("[Ecom:Image]",...r),warn:(...r)=>console.warn("[Ecom:Image]",...r),error:(...r)=>console.error("[Ecom:Image]",...r)},Wo=["image/jpeg","image/png","image/gif","image/webp"],Yo=10*1024*1024,Jo=20;async function Xo(r,c){const t=(r.params||{}).files;if(!t||t.length===0){j.warn("[uploadImages] No files provided");return}const o=window.G7Core;if(!o?.state||!o?.api){j.warn("[uploadImages] G7Core.state or G7Core.api is not available");return}const n=(o.state.getLocal()||{}).form?.images??[],s=Jo-n.length;t.length>s&&o.toast?.warning?.(o.t?.("sirsoft-ecommerce.admin.product.images.messages.max_count",{max:s})??`You can add up to ${s} images.`);const i=Array.from(t).slice(0,s);for(const l of i){if(!Wo.includes(l.type)){o.toast?.error?.(o.t?.("sirsoft-ecommerce.admin.product.images.messages.unsupported_format",{name:l.name})??`${l.name}: Unsupported format.`);continue}if(l.size>Yo){o.toast?.error?.(o.t?.("sirsoft-ecommerce.admin.product.images.messages.size_exceeded",{name:l.name})??`${l.name}: Exceeds 10MB.`);continue}const u=o.state.getLocal()||{};o.state.setLocal({ui:{...u.ui,uploadProgress:{...u.ui?.uploadProgress||{},[l.name]:0}}});try{const d=new FormData;d.append("file",l),d.append("collection","products");const m=await o.api.upload("/api/admin/media/upload",d,{onProgress:S=>{const C=o.state.getLocal()||{};o.state.setLocal({ui:{...C.ui,uploadProgress:{...C.ui?.uploadProgress||{},[l.name]:S}}})}}),f=o.state.getLocal()||{},g=f.form?.images??[],w={...m.data,is_thumbnail:g.length===0,sort_order:g.length};o.state.setLocal({form:{...f.form,images:[...g,w]},hasChanges:!0});const y=o.state.getLocal()||{},{[l.name]:_,...p}=y.ui?.uploadProgress||{};o.state.setLocal({ui:{...y.ui,uploadProgress:p}}),j.log(`[uploadImages] Uploaded ${l.name}`)}catch(d){o.toast?.error?.(o.t?.("sirsoft-ecommerce.admin.product.images.messages.upload_failed",{name:l.name})??`${l.name}: Upload failed`);const m=o.state.getLocal()||{},{[l.name]:f,...g}=m.ui?.uploadProgress||{};o.state.setLocal({ui:{...m.ui,uploadProgress:g}}),j.error(`[uploadImages] Failed to upload ${l.name}:`,d)}}}function Zo(r,c){const t=(r.params||{}).index;if(t===void 0){j.warn("[setThumbnail] Missing index param");return}const o=window.G7Core;if(!o?.state){j.warn("[setThumbnail] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=(a.form?.images??[]).map((s,i)=>({...s,is_thumbnail:i===t}));o.state.setLocal({form:{...a.form,images:n},hasChanges:!0}),j.log(`[setThumbnail] Set thumbnail to image at index ${t}`)}function er(r,c){const e=r.params||{},t=e.oldIndex,o=e.newIndex;if(t===void 0||o===void 0){j.warn("[reorderImages] Missing oldIndex or newIndex param");return}const a=window.G7Core;if(!a?.state){j.warn("[reorderImages] G7Core.state API is not available");return}const n=a.state.getLocal()||{},s=[...n.form?.images??[]],[i]=s.splice(t,1);s.splice(o,0,i),s.forEach((l,u)=>{l.sort_order=u}),a.state.setLocal({form:{...n.form,images:s},hasChanges:!0}),j.log(`[reorderImages] Moved image from ${t} to ${o}`)}const rt=window.G7Core?.createLogger?.("Ecom:Description")??{log:(...r)=>console.log("[Ecom:Description]",...r),warn:(...r)=>console.warn("[Ecom:Description]",...r),error:(...r)=>console.error("[Ecom:Description]",...r)};function tr(r,c){const e=r.params||{},t=e.locale,o=e.value;if(!t){rt.warn("[updateDescription] Missing locale param");return}const a=window.G7Core;if(!a?.state){rt.warn("[updateDescription] G7Core.state API is not available");return}const n=a.state.getLocal()||{};a.state.setLocal({form:{...n.form,description:{...n.form?.description,[t]:o}},hasChanges:!0})}const k=window.G7Core?.createLogger?.("Ecom:Notice")??{log:(...r)=>console.log("[Ecom:Notice]",...r),warn:(...r)=>console.warn("[Ecom:Notice]",...r),error:(...r)=>console.error("[Ecom:Notice]",...r)};function ue(r=""){const e=window.G7Core?.locale?.supported?.()??["ko","en"],t={};for(const o of e)t[o]=r;return t}function or(r,c){const t=(r.params||{}).templateId,o=window.G7Core;if(!o?.state){k.warn("[confirmSelectNoticeTemplate] G7Core.state API is not available");return}const n=(o.state.getLocal()||{}).form?.notice_items??[],s=n.length>0&&n.some(i=>Object.values(i.content||{}).some(u=>u&&u.trim()!==""));if(!t||!s){nt(r);return}o.state.setGlobal({pendingNoticeTemplateId:t}),o.modal?.open?.("notice_template_confirm_modal"),k.log(`[confirmSelectNoticeTemplate] Showing confirm modal for template: ${t}`)}function nt(r,c){const t=(r.params||{}).templateId,o=window.G7Core;if(!o?.state){k.warn("[selectNoticeTemplate] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=o.dataSource?.get?.("notice_templates"),s=n?.data?.data??n?.data??[];if(!t){o.state.setLocal({form:{...a.form,notice_items:[]},ui:{...a.ui,selectedNoticeTemplateId:null},hasChanges:!0});return}const i=s.find(d=>d.id===t);if(!i){k.warn(`[selectNoticeTemplate] Template not found: ${t}`);return}const l=a.form?.notice_items??[],u=(i.fields??[]).map((d,m)=>{const f=JSON.stringify(d.name),g=l.find(w=>JSON.stringify(w.name)===f);return{key:`field_${m}`,name:d.name,content:g?.content??d.content??ue(),sort_order:m,is_custom:!1}});o.state.setLocal({form:{...a.form,notice_items:u},ui:{...a.ui,selectedNoticeTemplateId:t},hasChanges:!0}),k.log(`[selectNoticeTemplate] Selected template: ${t}`)}function rr(r,c){const e=r.params||{},t=e.index,o=e.locale,a=e.value;if(t===void 0||!o){k.warn("[updateNoticeItem] Missing required params");return}const n=window.G7Core;if(!n?.state){k.warn("[updateNoticeItem] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=[...s.form?.notice_items??[]];i[t]={...i[t],content:{...i[t].content,[o]:a}},n.state.setLocal({form:{...s.form,notice_items:i},hasChanges:!0})}function nr(r,c){const t=(r.params||{}).index;if(t===void 0){k.warn("[removeNoticeItem] Missing index param");return}const o=window.G7Core;if(!o?.state){k.warn("[removeNoticeItem] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.notice_items??[]];n.splice(t,1),n.forEach((s,i)=>{s.sort_order=i}),o.state.setLocal({form:{...a.form,notice_items:n},hasChanges:!0}),k.log(`[removeNoticeItem] Removed notice item at index ${t}`)}function ar(r,c){const e=r.params||{},t=e.oldIndex,o=e.newIndex;if(t===void 0||o===void 0){k.warn("[reorderNoticeItems] Missing oldIndex or newIndex param");return}const a=window.G7Core;if(!a?.state){k.warn("[reorderNoticeItems] G7Core.state API is not available");return}const n=a.state.getLocal()||{},s=[...n.form?.notice_items??[]],[i]=s.splice(t,1);s.splice(o,0,i),s.forEach((l,u)=>{l.sort_order=u}),a.state.setLocal({form:{...n.form,notice_items:s},hasChanges:!0}),k.log(`[reorderNoticeItems] Moved item from ${t} to ${o}`)}function sr(r,c){const t=(r.params||{}).value,o=window.G7Core;if(!o?.state){k.warn("[fillNoticeWithValue] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=a.ui?.noticeLocale??"ko",s=(a.form?.notice_items??[]).map(i=>({...i,content:{...i.content,[n]:i.content?.[n]||t}}));o.state.setLocal({form:{...a.form,notice_items:s},hasChanges:!0}),o.toast?.success?.(o.t?.("sirsoft-ecommerce.admin.product.notice.messages.filled")??"Empty fields have been filled.")}function ir(r,c){const t=(r.params||{}).mode;if(!t){k.warn("[switchNoticeMode] Missing mode param");return}const o=window.G7Core;if(!o?.state){k.warn("[switchNoticeMode] G7Core.state API is not available");return}const a=o.state.getLocal()||{};o.state.setLocal({ui:{...a.ui,noticeMode:t}}),k.log(`[switchNoticeMode] Switched to ${t} mode`)}function cr(r,c){const e=r.params||{},t=e.locale,o=e.value;if(!t){k.warn("[updateNewTemplateName] Missing locale param");return}const a=window.G7Core;if(!a?.state){k.warn("[updateNewTemplateName] G7Core.state API is not available");return}const n=a.state.getLocal()||{};a.state.setLocal({form:{...n.form,new_template_name:{...n.form?.new_template_name,[t]:o}}})}function lr(r,c){const e=window.G7Core;if(!e?.state){k.warn("[addNoticeItem] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=t.form?.notice_items??[],a={key:`custom_${Date.now()}`,name:ue(),content:ue(),sort_order:o.length,is_custom:!0};e.state.setLocal({form:{...t.form,notice_items:[...o,a]},hasChanges:!0}),k.log(`[addNoticeItem] Added new notice item. Total: ${o.length+1}`)}function dr(r,c){const e=r.params||{},t=e.index,o=e.locale,a=e.value;if(t===void 0||!o){k.warn("[updateNoticeItemName] Missing required params");return}const n=window.G7Core;if(!n?.state){k.warn("[updateNoticeItemName] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=[...s.form?.notice_items??[]];i[t]={...i[t],name:{...i[t].name,[o]:a}},n.state.setLocal({form:{...s.form,notice_items:i},hasChanges:!0})}function ur(r,c){const e=window.G7Core;if(!e?.state){k.warn("[saveAsNoticeTemplate] G7Core.state API is not available");return}if(((e.state.getLocal()||{}).form?.notice_items??[]).length===0){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.no_items")??"No items to save.");return}e.state.set?.({"ui.saveTemplateData":{name:ue(),category_id:null,is_default:!1}}),e.dispatch?.({handler:"openModal",target:"modal_save_template"})}const Ie={ko:"상세설명참조",en:"See detail description"};function mr(r,c){const e=window.G7Core;if(!e?.state){k.warn("[fillTemplateFieldsWithDetailReference] G7Core.state API is not available");return}const a=((r.params||{}).form||{}).fields??[];if(a.length===0){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product_notice_template.messages.no_fields_to_change")??"변경할 항목이 없습니다.");return}const n=e.locale?.supported?.()??["ko","en"],s={};for(const l of n)s[l]=Ie[l]??Ie.en??"See detail description";const i=a.map(l=>({...l,content:{...s}}));e.state.setLocal({"form.fields":i}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.product_notice_template.messages.all_fields_changed_to_detail_ref")??"모든 항목이 '상세설명참조'로 변경되었습니다."),k.log("[fillTemplateFieldsWithDetailReference] All fields updated to detail reference")}function pr(r,c){const e=window.G7Core;if(!e?.state){k.warn("[fillNoticeItemsWithDetailReference] G7Core.state API is not available");return}const a=((r.params||{}).form||{}).notice_items??[];if(a.length===0){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.no_items_to_change")??"변경할 항목이 없습니다.");return}const n=e.locale?.supported?.()??["ko","en"],s={};for(const l of n)s[l]=Ie[l]??Ie.en??"See detail description";const i=a.map(l=>({...l,content:{...s}}));e.state.setLocal({"form.notice_items":i}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.all_items_changed_to_detail_ref")??"모든 항목이 '상세설명참조'로 변경되었습니다."),k.log("[fillNoticeItemsWithDetailReference] All notice items updated to detail reference")}async function fr(r,c){const e=window.G7Core;if(!e?.state||!e?.api){k.warn("[confirmSaveNoticeTemplate] G7Core.state or G7Core.api is not available");return}const t=e.state.getLocal()||{},o=e.state.get?.()?.ui?.saveTemplateData??{},a=o.name;if(!a?.ko?.trim()){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.template_name_required")??"Please enter template name.");return}try{const n=t.form?.notice_items??[],s=await e.api.post("/api/modules/sirsoft-ecommerce/admin/products/notice-templates",{name:a,is_active:o.is_default??!1,fields:n.map(i=>({name:i.name,content:i.content}))});e.state.set?.({"ui.saveTemplateData":{name:ue(),category_id:null,is_default:!1}}),e.state.setLocal({ui:{...t.ui,noticeMode:"existing"},hasChanges:!0}),e.dispatch?.({handler:"closeModal"}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.template_saved")??"Template has been saved."),e.datasources?.refresh?.("notice_templates"),k.log(`[confirmSaveNoticeTemplate] Template saved: ${s.data.id}`)}catch(n){e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.template_save_error")??"Failed to save template."),k.error("[confirmSaveNoticeTemplate] Failed to save template:",n)}}const v=window.G7Core?.createLogger?.("Ecom:Misc")??{log:(...r)=>console.log("[Ecom:Misc]",...r),warn:(...r)=>console.warn("[Ecom:Misc]",...r),error:(...r)=>console.error("[Ecom:Misc]",...r)};function gr(r,c){const t=(r.params||{}).labelId;if(!t){v.warn("[toggleLabel] Missing labelId param");return}const o=window.G7Core;if(!o?.state){v.warn("[toggleLabel] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=a.form?.labels??[],s=n.includes(t)?n.filter(i=>i!==t):[...n,t];o.state.setLocal({form:{...a.form,labels:s},hasChanges:!0}),v.log(`[toggleLabel] Toggled label ${t}. Current labels: ${s.length}`)}async function _r(r,c){const e=window.G7Core;if(!e?.state||!e?.api){v.warn("[generateProductCode] G7Core.state or G7Core.api is not available");return}try{const t=await e.api.post("/api/modules/sirsoft-ecommerce/admin/products/generate-code"),o=e.state.getLocal()||{};e.state.setLocal({form:{...o.form,product_code:t.data.product_code}}),v.log(`[generateProductCode] Generated: ${t.data.product_code}`)}catch(t){e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.product.messages.code_generate_error")??"Failed to generate product code."),v.error("[generateProductCode] Failed:",t)}}function wr(r,c){const e=r.params||{},t=e.policyId,o=e.field,a=e.policies;if(!t||!o||!a)return"-";const n=a.find(s=>s.id===t);return n?n[o]??"-":"-"}function yr(r,c){const e=r.params||{},t=e.templateId,o=e.templates;if(!t||!o)return"";const n=window.G7Core?.locale?.current?.()||"ko",s=o.find(i=>i.id===t);return s?.content?.[n]??s?.content?.ko??""}function hr(r,c){const e=r.params||{},t=e.platform,o=e.field,a=e.value;if(!t||!o){v.warn("[updateShoppingIntegration] Missing required params");return}const n=window.G7Core;if(!n?.state){v.warn("[updateShoppingIntegration] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=s.form?.shopping_integrations??{naver:{enabled:!1,sync_interval:"manual"},daum:{enabled:!1,sync_interval:"manual"},facebook:{enabled:!1,sync_interval:"manual"},google:{enabled:!1,sync_interval:"manual"}};n.state.setLocal({form:{...s.form,shopping_integrations:{...i,[t]:{...i[t],[o]:a}}},hasChanges:!0}),v.log(`[updateShoppingIntegration] Updated ${t}.${o} to ${a}`)}function Cr(r,c){const t=(r.params||{}).type;if(!t){v.warn("[updateShippingType] Missing type param");return}const o=window.G7Core;if(!o?.state){v.warn("[updateShippingType] G7Core.state API is not available");return}const a=o.state.getLocal()||{};let n=0,s=0;t==="fixed_paid"?n=3e3:t==="threshold_free"&&(s=3e4),o.state.setLocal({form:{...a.form,shipping_type:t,shipping_fee:t==="fixed_free"?0:a.form?.shipping_fee??n,free_shipping_threshold:t==="threshold_free"?a.form?.free_shipping_threshold??s:0},hasChanges:!0}),v.log(`[updateShippingType] Updated shipping type to ${t}`)}function br(r,c){const e=r.params||{},t=e.field,o=e.value;if(!t){v.warn("[updateIdentificationCode] Missing field param");return}const a=window.G7Core;if(!a?.state){v.warn("[updateIdentificationCode] G7Core.state API is not available");return}const n=a.state.getLocal()||{};a.state.setLocal({form:{...n.form,[t]:o},hasChanges:!0})}function Ir(r,c){const e=r.params||{},t=e.labelId,o=e.labelName;if(!t){v.warn("[openLabelPeriodModal] Missing labelId param");return}const a=window.G7Core;if(!a?.state){v.warn("[openLabelPeriodModal] G7Core.state API is not available");return}const n=a.state.getLocal()||{},i=(n.form?.labels??[]).find(l=>l.id===t);a.state.setLocal({ui:{...n.ui,showLabelPeriodModal:!0,labelPeriodModalData:{labelId:t,labelName:o,startDate:i?.start_date??null,endDate:i?.end_date??null}}})}function Sr(r,c){const e=r.params||{},t=e.labelId,o=e.startDate,a=e.endDate;if(!t){v.warn("[saveLabelPeriod] Missing labelId param");return}const n=window.G7Core;if(!n?.state){v.warn("[saveLabelPeriod] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=[...s.form?.labels??[]],l=i.findIndex(u=>u.id===t);l>=0?i[l]={...i[l],start_date:o,end_date:a}:i.push({id:t,start_date:o,end_date:a}),n.state.setLocal({form:{...s.form,labels:i},ui:{...s.ui,showLabelPeriodModal:!1,labelPeriodModalData:null},hasChanges:!0}),n.toast?.success?.(n.t?.("sirsoft-ecommerce.admin.product.messages.label_period_saved")??"Label period has been saved."),v.log(`[saveLabelPeriod] Saved period for label ${t}`)}function vr(r,c){const t=(r.params||{}).labelId;if(!t){v.warn("[removeLabelPeriod] Missing labelId param");return}const o=window.G7Core;if(!o?.state){v.warn("[removeLabelPeriod] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.labels??[]],s=n.findIndex(i=>i.id===t);s>=0&&(n[s]={...n[s],start_date:null,end_date:null}),o.state.setLocal({form:{...a.form,labels:n},hasChanges:!0}),o.toast?.success?.(o.t?.("sirsoft-ecommerce.admin.product.messages.label_period_removed")??"Label period has been removed."),v.log(`[removeLabelPeriod] Removed period for label ${t}`)}function Lr(r,c){const t=(r.params||{}).sort;if(!t){v.warn("[updateActivityLogSort] Missing sort param");return}const o=window.G7Core;if(!o?.state){v.warn("[updateActivityLogSort] G7Core.state API is not available");return}const a=o.state.getLocal()||{};o.state.setLocal({ui:{...a.ui,activityLogSort:t}}),o.datasources?.refresh?.("activity_logs",{params:{sort:t==="latest"?"desc":"asc",per_page:a.ui?.activityLogPerPage??10}}),v.log(`[updateActivityLogSort] Updated sort to ${t}`)}function xr(r,c){const t=(r.params||{}).perPage;if(!t){v.warn("[updateActivityLogPerPage] Missing perPage param");return}const o=window.G7Core;if(!o?.state){v.warn("[updateActivityLogPerPage] G7Core.state API is not available");return}const a=o.state.getLocal()||{};o.state.setLocal({ui:{...a.ui,activityLogPerPage:t}}),o.datasources?.refresh?.("activity_logs",{params:{sort:a.ui?.activityLogSort==="oldest"?"asc":"desc",per_page:t}}),v.log(`[updateActivityLogPerPage] Updated perPage to ${t}`)}function Pr(r,c){const e=window.G7Core;if(!e?.state){v.warn("[setDefaultShippingPolicy] G7Core.state API is not available");return}const t=e.state.getLocal()||{};if(t.form?.shipping_policy_id){v.log("[setDefaultShippingPolicy] Shipping policy already set, skipping");return}if(t.ui?.useDefaultShippingPolicy===!1){v.log("[setDefaultShippingPolicy] useDefaultShippingPolicy is OFF, skipping");return}const o=e.dataSource?.get?.("shipping_policies"),a=o?.data?.data??o?.data??[];if(a.length===0){v.log("[setDefaultShippingPolicy] No shipping policies found");return}const n=a.find(s=>s.is_default===!0);n?(e.state.setLocal({form:{...t.form,shipping_policy_id:n.id}}),v.log(`[setDefaultShippingPolicy] Set default shipping policy: ${n.id} (${n.name})`)):v.log("[setDefaultShippingPolicy] No default shipping policy found")}function Ar(r,c){const e=window.G7Core;if(!e?.state){v.warn("[toggleDefaultShippingPolicy] G7Core.state API is not available");return}const t=r.params?.checked??!1,o=e.state.getLocal()||{},a={...o.ui,useDefaultShippingPolicy:t};if(t){const n=e.dataSource?.get?.("shipping_policies"),i=(n?.data?.data??n?.data??[]).find(l=>l.is_default===!0);e.state.setLocal({ui:a,form:{...o.form,shipping_policy_id:i?.id??null}}),i?v.log(`[toggleDefaultShippingPolicy] ON - Selected default policy: ${i.id}`):v.log("[toggleDefaultShippingPolicy] ON - No default policy found")}else e.state.setLocal({ui:a}),v.log("[toggleDefaultShippingPolicy] OFF - Keeping current shipping policy")}function kr(r,c){const e=window.G7Core;if(!e?.state){v.warn("[setLabelDatePreset] G7Core.state API is not available");return}const t=r.params?.preset;if(!t){v.warn("[setLabelDatePreset] Missing preset param");return}const o=new Date,a=i=>{const l=i.getFullYear(),u=String(i.getMonth()+1).padStart(2,"0"),d=String(i.getDate()).padStart(2,"0");return`${l}-${u}-${d}`},n=a(o);let s=null;switch(t){case"7d":{const i=new Date(o);i.setDate(i.getDate()+7),s=a(i);break}case"14d":{const i=new Date(o);i.setDate(i.getDate()+14),s=a(i);break}case"30d":{const i=new Date(o);i.setDate(i.getDate()+30),s=a(i);break}case"permanent":s=null;break;default:v.warn(`[setLabelDatePreset] Unknown preset: ${t}`);return}e.state.setGlobal({"labelFormData.start_date":n,"labelFormData.end_date":s}),v.log(`[setLabelDatePreset] Applied preset '${t}': ${n} ~ ${s??"permanent"}`)}const Or=(r,c)=>{const e=window.G7Core,o=(e?.state?.getLocal?.()||{}).form?.label_assignments??[],a=Number(r.params?.labelId);if(!a)return;const n=[...o];if(n.find(l=>l.label_id===a)){e?.state?.setLocal?.({"ui.lastClickedLabelId":a});return}const i=[...n,{label_id:a,started_at:null,ended_at:null}];e?.state?.setLocal?.({"form.label_assignments":i,"ui.lastClickedLabelId":a,hasChanges:!0})},Gr=(r,c)=>{const e=window.G7Core,o=(e?.state?.getLocal?.()||{}).form?.label_assignments??[],a=Number(r.params?.labelId),n=r.params?.field,s=r.params?.value;if(!a||!n)return;const i=[...o],l=i.findIndex(u=>u.label_id===a);l<0||(i[l]={...i[l],[n]:s||null},e?.state?.setLocal?.({"form.label_assignments":i,hasChanges:!0}))},Er=(r,c)=>{const e=window.G7Core,t=e?.state?.getLocal?.()||{},o=t.form?.label_assignments??[],a=t.ui?.lastClickedLabelId,n=r.params?.preset;if(!a||!n)return;const s=[...o],i=s.findIndex(f=>f.label_id===a);if(i<0)return;const l=new Date,u=f=>f.toISOString().split("T")[0],d=u(l);let m=null;switch(n){case"7d":m=u(new Date(l.getTime()+7*24*60*60*1e3));break;case"14d":m=u(new Date(l.getTime()+14*24*60*60*1e3));break;case"30d":m=u(new Date(l.getTime()+30*24*60*60*1e3));break;case"permanent":m=null;break}s[i]={...s[i],started_at:d,ended_at:m},e?.state?.setLocal?.({"form.label_assignments":s,hasChanges:!0})},Fr=(r,c)=>{const e=window.G7Core,o=(e?.state?.get()||{}).labelToUncheckId;if(!o)return;const i=[...(e?.state?.getParent?.()?._local||{}).form?.label_assignments??[]].filter(l=>l.label_id!==o);e?.state?.setParentLocal?.({"form.label_assignments":i,hasChanges:!0}),e?.state?.setGlobal?.({labelToUncheckId:null}),e?.modal?.close?.()},Dr=async(r,c)=>{const e=window.G7Core,t=e?.state?.get()||{},a=(e?.state?.getLocal?.()||{}).form?.label_assignments??[],n=t.labelToDeleteId;if(n){e?.state?.setGlobal?.({isDeletingLabel:!0});try{const s=await e.api.delete(`/api/modules/sirsoft-ecommerce/admin/product-labels/${n}`);if(!s?.success)throw new Error(s?.message||"Failed to delete label");const l=[...a].filter(u=>u.label_id!==n);e?.state?.setLocal?.({"form.label_assignments":l,"ui.lastClickedLabelId":null}),await e?.dataSource?.refetch?.("product_labels"),e?.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.product.labels.delete_success")??"Label deleted."),e?.modal?.close?.()}catch(s){e?.toast?.error?.(s?.response?.data?.message||s?.message||e.t?.("sirsoft-ecommerce.admin.product.labels.delete_error")||"Failed to delete label.")}finally{e?.state?.setGlobal?.({isDeletingLabel:!1,labelToDeleteId:null})}}},$r=async(r,c)=>{const e=window.G7Core,t=e?.state?.get()||{},a=(e?.state?.getLocal?.()||{}).form?.label_assignments??[],n=t.editingLabelId,s=t.labelFormData;if(s?.name?.ko){e?.state?.setGlobal?.({isSavingLabel:!0});try{if(n){const i=await e.api.put(`/api/modules/sirsoft-ecommerce/admin/product-labels/${n}`,{name:s.name,color:s.color});if(!i?.success)throw new Error(i?.message||"Failed to update label");const u=[...a].map(d=>d.label_id===n?{...d,started_at:s.started_at||null,ended_at:s.ended_at||null}:d);e?.state?.setLocal?.({"form.label_assignments":u,hasChanges:!0})}else{const i=await e.api.post("/api/modules/sirsoft-ecommerce/admin/product-labels",{name:s.name,color:s.color||"#6B7280"});if(!i?.success)throw new Error(i?.message||"Failed to create label");const l=Number(i?.data?.id);if(l){const d=[...[...a],{label_id:l,started_at:null,ended_at:null}];e?.state?.setLocal?.({"form.label_assignments":d,"ui.lastClickedLabelId":l,hasChanges:!0})}}await e?.dataSource?.refetch?.("product_labels"),e?.toast?.success?.(n?e.t?.("sirsoft-ecommerce.admin.product.labels.save_success")??"Label saved.":e.t?.("sirsoft-ecommerce.admin.product.labels.create_success")??"Label created."),e?.modal?.close?.()}catch(i){e?.toast?.error?.(i?.response?.data?.message||i?.message||e.t?.("sirsoft-ecommerce.admin.product.labels.save_error")||"Failed to save label.")}finally{e?.state?.setGlobal?.({isSavingLabel:!1})}}},ee=window.G7Core?.createLogger?.("Ecom:DescriptionLocale")??{log:(...r)=>console.log("[Ecom:DescriptionLocale]",...r),warn:(...r)=>console.warn("[Ecom:DescriptionLocale]",...r),error:(...r)=>console.error("[Ecom:DescriptionLocale]",...r)};function at(){return window.G7Core?.config?.("app.supported_locales")??["ko","en"]}function Nr(r,c){const t=(r.params||{}).locale;if(!t){ee.warn("[removeDescriptionLocale] Missing locale param");return}const o=window.G7Core;if(!o?.state){ee.warn("[removeDescriptionLocale] G7Core.state API is not available");return}const a=o?.state?.get?.("_global.settings.general.language")??o?.config?.("app.fallback_locale")??"ko";if(t===a){o.toast?.error?.(o.t?.("sirsoft-ecommerce.admin.product.description_editor.messages.default_locale_cannot_delete")??"Default language cannot be deleted.");return}const n=o.state.getLocal()||{},s=at(),i={...n.form?.description};delete i[t];const l={...n.form?.description_mobile};delete l[t];const u=(n.ui?.descriptionActiveLocales??s).filter(d=>d!==t);o.state.setLocal({form:{...n.form,description:i,description_mobile:l},ui:{...n.ui,descriptionActiveLocales:u,descriptionLocale:u[0]??"ko"},hasChanges:!0}),o.toast?.success?.(o.t?.("sirsoft-ecommerce.admin.product.description_editor.messages.locale_removed",{locale:t.toUpperCase()})??`${t.toUpperCase()} language has been removed.`),ee.log(`[removeDescriptionLocale] Removed locale: ${t}`)}function Tr(r,c){const e=window.G7Core;if(!e?.state){ee.warn("[showAddLocaleModal] G7Core.state API is not available");return}const t=e.state.getLocal()||{};e.state.setLocal({ui:{...t.ui,showAddLocaleModal:!0}})}function Rr(r,c){const t=(r.params||{}).locale;if(!t){ee.warn("[addDescriptionLocale] Missing locale param");return}const o=window.G7Core;if(!o?.state){ee.warn("[addDescriptionLocale] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=at(),s=a.ui?.descriptionActiveLocales??["ko"];if(s.includes(t)){o.toast?.warning?.(o.t?.("sirsoft-ecommerce.admin.product.description_editor.messages.locale_already_added")??"This language is already added.");return}if(!n.includes(t)){o.toast?.error?.(o.t?.("sirsoft-ecommerce.admin.product.description_editor.messages.locale_unsupported")??"Unsupported language.");return}o.state.setLocal({form:{...a.form,description:{...a.form?.description,[t]:""},description_mobile:{...a.form?.description_mobile,[t]:""}},ui:{...a.ui,descriptionActiveLocales:[...s,t],descriptionLocale:t,showAddLocaleModal:!1},hasChanges:!0}),o.toast?.success?.(o.t?.("sirsoft-ecommerce.admin.product.description_editor.messages.locale_added",{locale:t.toUpperCase()})??`${t.toUpperCase()} language has been added.`),ee.log(`[addDescriptionLocale] Added locale: ${t}`)}const W=window.G7Core?.createLogger?.("Ecom:BulkUpdate")??{log:(...r)=>console.log("[Ecom:BulkUpdate]",...r),warn:(...r)=>console.warn("[Ecom:BulkUpdate]",...r),error:(...r)=>console.error("[Ecom:BulkUpdate]",...r)};function st(r,c,e){const t=c?.response?.data??{},o=t?.message||c?.message||"",a=t?.errors,n=a&&typeof a=="object"?Object.values(a).map(i=>Array.isArray(i)?i[0]:String(i)):[],s=o||r.t(e);r.toast.error(s),r.state.set({bulkUpdateErrors:n.length>0?n:s?[s]:[]})}function Y(r){return typeof r=="string"?r:r&&typeof r=="object"?r.ko||r.en||JSON.stringify(r):String(r??"")}function Se(r,c,e){return e?r.t(`sirsoft-ecommerce.enums.${c}.${e}`)||e:String(e??"")}function it(){const r=window.G7Core;return r||(W.error("[bulkUpdate] G7Core is not available"),null)}function Mr(r,c){const e=it();if(!e)return;const t=e.state.getLocal()||{},o=e.state.get()||{},a=o.bulkSelectedItems||t.selectedItems||[],n=o.bulkSelectedOptionIds||t.selectedOptionIds||[];W.log("[bulkUpdate] globalState.bulkSelectedItems:",o.bulkSelectedItems),W.log("[bulkUpdate] localState.selectedItems:",t.selectedItems),W.log("[bulkUpdate] Final selectedItems:",a),a.length>0?Hr(e,o,t,a):n.length>0?qr(e,o,t,n):e.toast.warning(e.t("sirsoft-ecommerce.admin.product.bulk.no_selection"))}function Hr(r,c,e,t){const a=r.dataSource.get("products")?.data?.data||[],n={};c.bulkSalesStatus&&(n.sales_status=c.bulkSalesStatus),c.bulkDisplayStatus&&(n.display_status=c.bulkDisplayStatus);const s={};if(c.bulkPriceMethod&&c.bulkPriceValue!==void 0&&c.bulkPriceValue!==null&&c.bulkPriceValue!==""){const p={fixed:"set",increase:"add",decrease:"subtract"};c.bulkPriceUnit==="percent"?s.price_adjustment={method:"percent",value:c.bulkPriceMethod==="decrease"?-(Number(c.bulkPriceValue)||0):Number(c.bulkPriceValue)||0}:s.price_adjustment={method:p[c.bulkPriceMethod]||"add",value:Number(c.bulkPriceValue)||0}}if(c.bulkStockMethod&&c.bulkStockValue!==void 0&&c.bulkStockValue!==null&&c.bulkStockValue!==""){const p={set:"set",increase:"add",decrease:"subtract"};s.stock_quantity={method:p[c.bulkStockMethod]||"add",value:Number(c.bulkStockValue)||0}}const i=e.modifiedProductIds||[],l=e.modifiedOptionIds||[],u=e.modifiedProductFields||{},d=e.modifiedOptionFields||{},m=c.bulkSelectedOptionIds||e.selectedOptionIds||[],f=new Set(t),g=[],w=[];function y(p,S,C){if(S._modified||l.includes(C)){const x={product_id:p.id,option_id:S.id},I=d[C]||[];!s.price_adjustment&&I.includes("price_adjustment")&&(x.price_adjustment=S.price_adjustment),!s.price_adjustment&&I.includes("selling_price")&&(x.price_adjustment=S.price_adjustment),!s.stock_quantity&&I.includes("stock_quantity")&&(x.stock_quantity=S.stock_quantity),I.includes("option_name")&&(x.option_name=S.option_name),I.includes("sku")&&(x.sku=S.sku),I.includes("list_price")&&(x.list_price=S.list_price),I.includes("safe_stock_quantity")&&(x.safe_stock_quantity=S.safe_stock_quantity),I.includes("is_default")&&(x.is_default=S.is_default),I.includes("is_active")&&(x.is_active=S.is_active),Object.keys(x).length>2&&w.push(x)}}a.filter(p=>t.includes(p.id)).forEach(p=>{if(p._modified||i.includes(p.id)){const C={id:p.id},A=String(p.id),x=u[A]||[];!n.sales_status&&x.includes("sales_status")&&(C.sales_status=p.sales_status),!n.display_status&&x.includes("display_status")&&(C.display_status=p.display_status),x.includes("name")&&(C.name=p.name),x.includes("list_price")&&(C.list_price=p.list_price),x.includes("selling_price")&&(C.selling_price=p.selling_price),Object.keys(C).length>1&&g.push(C)}(p.options||[]).forEach(C=>{const A=`${p.id}-${C.id}`;y(p,C,A)})}),m.length>0&&a.forEach(p=>{f.has(p.id)||(p.options||[]).forEach(S=>{const C=`${p.id}-${S.id}`;m.includes(C)&&y(p,S,C)})});const _={ids:t};Object.keys(n).length>0&&(_.bulk_changes=n),g.length>0&&(_.items=g),Object.keys(s).length>0&&(_.option_bulk_changes=s),w.length>0&&(_.option_items=w),r.state.set({isProcessing:!0,bulkUpdateErrors:[]}),r.api.patch("/api/modules/sirsoft-ecommerce/admin/products/bulk-update",_).then(p=>{r.toast.success(r.t("sirsoft-ecommerce.admin.product.bulk.update_success",{products:p?.data?.products_updated||0,options:p?.data?.options_updated||0})),lt(r),ct(r),r.modal.close()}).catch(p=>{W.error("[bulkUpdateProducts] Error:",p),st(r,p,"sirsoft-ecommerce.admin.product.bulk.update_error")}).finally(()=>{r.state.set({isProcessing:!1})})}function qr(r,c,e,t){const a=r.dataSource.get("products")?.data?.data||[],n={};if(c.bulkPriceMethod&&c.bulkPriceValue!==void 0&&c.bulkPriceValue!==null&&c.bulkPriceValue!==""){const d={fixed:"set",increase:"add",decrease:"subtract"};c.bulkPriceUnit==="percent"?n.price_adjustment={method:"percent",value:c.bulkPriceMethod==="decrease"?-(Number(c.bulkPriceValue)||0):Number(c.bulkPriceValue)||0}:n.price_adjustment={method:d[c.bulkPriceMethod]||"add",value:Number(c.bulkPriceValue)||0}}if(c.bulkStockMethod&&c.bulkStockValue!==void 0&&c.bulkStockValue!==null&&c.bulkStockValue!==""){const d={set:"set",increase:"add",decrease:"subtract"};n.stock_quantity={method:d[c.bulkStockMethod]||"add",value:Number(c.bulkStockValue)||0}}const s=e.modifiedOptionFields||{},i=e.modifiedOptionIds||[],l=[];a.forEach(d=>{(d.options||[]).forEach(m=>{const f=`${d.id}-${m.id}`,g=m._modified||i.includes(f);if(t.includes(f)&&g){const w={product_id:d.id,option_id:m.id},y=s[f]||[];!n.price_adjustment&&y.includes("price_adjustment")&&(w.price_adjustment=m.price_adjustment),!n.price_adjustment&&y.includes("selling_price")&&(w.price_adjustment=m.price_adjustment),!n.stock_quantity&&y.includes("stock_quantity")&&(w.stock_quantity=m.stock_quantity),y.includes("option_name")&&(w.option_name=m.option_name),y.includes("sku")&&(w.sku=m.sku),y.includes("list_price")&&(w.list_price=m.list_price),y.includes("safe_stock_quantity")&&(w.safe_stock_quantity=m.safe_stock_quantity),y.includes("is_default")&&(w.is_default=m.is_default),y.includes("is_active")&&(w.is_active=m.is_active),Object.keys(w).length>2&&l.push(w)}})});const u={ids:t};Object.keys(n).length>0&&(u.bulk_changes=n),l.length>0&&(u.items=l),r.state.set({isProcessing:!0,bulkUpdateErrors:[]}),r.api.patch("/api/modules/sirsoft-ecommerce/admin/options/bulk-update",u).then(d=>{r.toast.success(r.t("sirsoft-ecommerce.admin.product.bulk.option_update_success",{count:d?.data?.options_updated||0})),lt(r),ct(r),r.modal.close()}).catch(d=>{W.error("[bulkUpdateOptions] Error:",d),st(r,d,"sirsoft-ecommerce.admin.product.bulk.option_update_error")}).finally(()=>{r.state.set({isProcessing:!1})})}function ct(r){Promise.resolve(r.dataSource.refetch("products")).then(()=>{eo(r,{force:!0})}).catch(c=>{W.error("[bulkUpdate] Failed to refetch products:",c)})}function lt(r){r.state.setLocal({modifiedProductIds:[],modifiedOptionIds:[],modifiedProductFields:{},modifiedOptionFields:{},selectedItems:[],selectedOptionIds:[]}),r.state.set({bulkSalesStatus:null,bulkDisplayStatus:null,bulkPriceCondition:null,bulkStockCondition:null,bulkConfirmData:null,bulkUpdateErrors:[]})}function Ur(r,c){const e=it();if(!e)return;const t=e.state.getLocal()||{},o=e.state.get()||{},n=e.dataSource.get("products")?.data?.data||[],s=o.bulkSelectedItems||t.selectedItems||[],i=o.bulkSelectedOptionIds||t.selectedOptionIds||[],l={products:[],options:[],summary:{productCount:0,optionCount:0,hasBulkChanges:!1,hasInlineChanges:!1}},u=!!(o.bulkSalesStatus||o.bulkDisplayStatus||o.bulkPriceCondition||o.bulkStockCondition);l.summary.hasBulkChanges=u;const d=t.modifiedProductIds||[],m=t.modifiedOptionIds||[],f=t.modifiedProductFields||{},g=t.modifiedOptionFields||{},w=new Set(s);function y(_,p,S){const C=[],A=g[p]||[];if(o.bulkPriceCondition&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_price_adjustment_inline",{value:o.bulkPriceCondition})||`Price adjustment: ${o.bulkPriceCondition}`),o.bulkStockCondition&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_stock_inline",{value:o.bulkStockCondition})||`Stock: ${o.bulkStockCondition}`),S){if(!o.bulkPriceCondition&&A.includes("price_adjustment")){const x=_.price_adjustment?.toLocaleString?.()??_.price_adjustment;C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_price_adjustment_inline",{value:x})||`Price adjustment: ${x}`)}!o.bulkPriceCondition&&A.includes("selling_price")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_selling_price",{price:_.selling_price?.toLocaleString?.()??_.selling_price})||`Selling price: ${_.selling_price}`),!o.bulkStockCondition&&A.includes("stock_quantity")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_stock_inline",{value:_.stock_quantity})||`Stock: ${_.stock_quantity}`),A.includes("option_name")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_option_name",{name:Y(_.option_name)})||`Option name: ${Y(_.option_name)}`),A.includes("sku")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_sku",{sku:_.sku})||`SKU: ${_.sku}`),A.includes("list_price")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_list_price",{price:_.list_price?.toLocaleString?.()??_.list_price})||`List price: ${_.list_price}`),A.includes("safe_stock_quantity")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_safe_stock",{value:_.safe_stock_quantity})||`Safe stock: ${_.safe_stock_quantity}`),A.includes("is_active")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_is_active",{value:_.is_active?"ON":"OFF"})||`Active: ${_.is_active?"ON":"OFF"}`),l.summary.hasInlineChanges=!0}return C}s.length>0&&n.filter(_=>s.includes(_.id)).forEach(_=>{const p=[],S=_._modified||d.includes(_.id),C=String(_.id),A=f[C]||[];if(o.bulkSalesStatus){const I=Se(e,"sales_status",o.bulkSalesStatus);p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_sales_status",{status:I})||`Sales status: ${I}`)}if(o.bulkDisplayStatus){const I=Se(e,"display_status",o.bulkDisplayStatus);p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_display_status",{status:I})||`Display status: ${I}`)}if(S){if(!o.bulkSalesStatus&&A.includes("sales_status")){const I=Se(e,"sales_status",_.sales_status);p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_sales_status",{status:I})||`Sales status: ${I}`)}if(!o.bulkDisplayStatus&&A.includes("display_status")){const I=Se(e,"display_status",_.display_status);p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_display_status",{status:I})||`Display status: ${I}`)}A.includes("name")&&p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_name_changed")||"Name changed"),A.includes("list_price")&&p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_list_price",{price:_.list_price?.toLocaleString?.()||_.list_price})||`List price: ${_.list_price?.toLocaleString?.()||_.list_price}`),A.includes("selling_price")&&p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_selling_price",{price:_.selling_price?.toLocaleString?.()||_.selling_price})||`Selling price: ${_.selling_price?.toLocaleString?.()||_.selling_price}`),l.summary.hasInlineChanges=!0}(p.length>0||u||S)&&l.products.push({id:_.id,name:Y(_.name),changes:p.length>0?p.join(", "):S?e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_inline_modified")||"Inline modified":e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_bulk_applied")||"Bulk changes applied"});const x=u&&!!(o.bulkPriceCondition||o.bulkStockCondition);if(Array.isArray(_.options))_.options.forEach(I=>{const N=`${_.id}-${I.id}`,L=I._modified||m.includes(N),O=y(I,N,L);(O.length>0||x||L)&&l.options.push({productId:_.id,optionId:I.id,productName:Y(_.name),optionName:I.option_name_localized||Y(I.option_name)||I.name||"",changes:O.length>0?O.join(", "):L?e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_inline_modified")||"Inline modified":e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_bulk_applied")||"Bulk changes applied"})});else if(x){const I=Number(_.options_total_count)||0;I>0&&l.options.push({aggregate:!0,productId:_.id,optionId:0,optionCount:I,productName:Y(_.name),optionName:"",changes:y({},`${_.id}-*`,!1).join(", ")||e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_bulk_applied")||"Bulk changes applied"})}}),i.length>0&&n.forEach(_=>{w.has(_.id)||(_.options||[]).forEach(p=>{const S=`${_.id}-${p.id}`;if(i.includes(S)){const C=p._modified||m.includes(S),A=y(p,S,C);l.options.push({productId:_.id,optionId:p.id,productName:Y(_.name),optionName:p.option_name_localized||Y(p.option_name)||p.name||"",changes:A.length>0?A.join(", "):C?e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_inline_modified")||"Inline modified":e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_selected")||"Selected"})}})}),l.summary.productCount=l.products.length,l.summary.optionCount=l.options.reduce((_,p)=>_+(p.aggregate?p.optionCount||0:1),0),e.state.set({bulkConfirmData:l}),W.log("[buildConfirmData] Built confirm data:",l)}const M=window.G7Core?.createLogger?.("Ecom:Order")??{log:(...r)=>console.log("[Ecom:Order]",...r),warn:(...r)=>console.warn("[Ecom:Order]",...r),error:(...r)=>console.error("[Ecom:Order]",...r)};function Vr(r){const{currencies:c=[]}=r.params||{},e=[{field:"no",header:"NO",width:"60px",sortable:!1,required:!0},{field:"ordered_at",header:"$t:sirsoft-ecommerce.admin.order.column.order_date",width:"140px",sortable:!0,required:!0},{field:"order_number",header:"$t:sirsoft-ecommerce.admin.order.column.order_number",width:"140px",sortable:!0,required:!0},{field:"product",header:"$t:sirsoft-ecommerce.admin.order.column.product",width:"auto",sortable:!1,required:!0},{field:"order_amount",header:"$t:sirsoft-ecommerce.admin.order.column.order_amount",width:"120px",sortable:!0,required:!1},{field:"order_status",header:"$t:sirsoft-ecommerce.admin.order.column.order_status",width:"100px",sortable:!1,required:!1},{field:"orderer",header:"$t:sirsoft-ecommerce.admin.order.column.orderer",width:"120px",sortable:!1,required:!1},{field:"payment_method",header:"$t:sirsoft-ecommerce.admin.order.column.payment_method",width:"100px",sortable:!1,required:!1},{field:"delivery_method",header:"$t:sirsoft-ecommerce.admin.order.column.delivery_method",width:"100px",sortable:!1,required:!1},{field:"country",header:"$t:sirsoft-ecommerce.admin.order.column.country",width:"80px",sortable:!1,required:!1}],t=c.filter(o=>!o.is_default).map(o=>({field:`order_amount_${o.code.toLowerCase()}`,header:`${o.name} (${o.symbol})`,width:"100px",sortable:!0,required:!1}));return[...e,...t]}function jr(r,c){const e=r.params||{},{target:t="_local",path:o,value:a}=e,n=window.G7Core;if(!n?.state)return M.warn("[toggleArrayValue] G7Core.state를 사용할 수 없습니다."),{success:!1,newValue:[]};const s=t==="_global"?n.state.getGlobal():n.state.getLocal(),i=o.split(".");let l=s;for(const d of i)l=l?.[d];Array.isArray(l)||(l=[]);let u;return l.includes(a)?u=l.filter(d=>d!==a):u=[...l,a],t==="_global"?n.state.setGlobal({[o]:u}):n.state.setLocal({[o]:u}),{success:!0,newValue:u}}function Br(r,c){const e=r.params||{},{filterKey:t,checked:o}=e,a=window.G7Core;if(!a?.state)return M.warn("[toggleVisibleFilter] G7Core.state를 사용할 수 없습니다."),{success:!1,newValue:[]};const s=a.state.getLocal().visibleFilters||[];let i;o?i=s.includes(t)?s:[...s,t]:i=s.filter(l=>l!==t),a.state.setLocal({visibleFilters:i});try{localStorage.setItem("g7_order_filter_visible_filters",JSON.stringify(i))}catch(l){M.warn("[toggleVisibleFilter] LocalStorage 저장 실패:",l)}return{success:!0,newValue:i}}function Kr(r,c){const e=r.params||{},{selectedIds:t=[]}=e,o=window.G7Core;return o?.state?(o.state.setLocal({selectedItems:t,selectAll:!1}),{success:!0}):(M.warn("[syncOrderSelection] G7Core.state를 사용할 수 없습니다."),{success:!1})}function Qr(r,c){const e=r.params||{},{actionId:t,row:o}=e,a=window.G7Core;if(!t||!o?.order_number)return M.warn("[handleOrderRowAction] actionId 또는 row.order_number가 없습니다."),{success:!1};switch(t){case"view":a?.navigate?.(`/admin/ecommerce/orders/${o.order_number}`);break;case"edit":a?.navigate?.(`/admin/ecommerce/orders/${o.order_number}`);break;case"status":case"shipping":case"memo":case"delete":a?.state?.setGlobal({orderList:{currentActionOrderId:o.id,currentActionType:t}});break;case"print":window.open(`/admin/ecommerce/orders/${o.order_number}/shipping-label`,"_blank");break;default:return console.warn(`[handleOrderRowAction] 알 수 없는 액션: ${t}`),{success:!1}}return{success:!0,action:t,targetId:o.id}}async function zr(r,c){const e=r.params||{},{actionType:t,orderIds:o,status:a,carrierId:n,trackingNumber:s}=e,i=window.G7Core;if(!o||o.length===0)throw new Error("선택된 주문이 없습니다.");let l="";const u={ids:o};switch(t){case"status":if(!a)throw new Error("변경할 상태를 선택해주세요.");l="/api/modules/sirsoft-ecommerce/admin/orders/bulk",u.order_status=a;break;case"shipping":if(!s&&!n)throw new Error("택배사 또는 운송장번호를 입력해주세요.");l="/api/modules/sirsoft-ecommerce/admin/orders/bulk",n&&(u.carrier_id=n),s&&(u.tracking_number=s);break;default:throw new Error(`알 수 없는 액션 타입: ${t}`)}const d=await i?.api?.call(l,{method:"PATCH",body:u});if(!d?.success)throw new Error(d?.message||"일괄 처리에 실패했습니다.");return{success:!0,successCount:d.data?.updated_count??o.length,failCount:d.data?.fail_count??0,errors:d.data?.errors??[]}}async function Wr(r,c){const e=r.params||{},{downloadType:t,orderIds:o,filters:a}=e,n=window.G7Core,s="/api/modules/sirsoft-ecommerce/admin/orders/export",i={};if(t==="selected"){if(!o||o.length===0)throw new Error("선택된 주문이 없습니다.");i.ids=o}else i.filters=a||{};const l=n?.auth?.getToken(),u=await fetch(s,{method:"POST",headers:{"Content-Type":"application/json",...l?{Authorization:`Bearer ${l}`}:{}},body:JSON.stringify(i)});if(!u.ok){const y=await u.json().catch(()=>null);throw new Error(y?.message||"엑셀 다운로드에 실패했습니다.")}const d=await u.blob(),m=window.URL.createObjectURL(d),f=document.createElement("a");f.href=m;const g=new Date,w=`${g.getFullYear()}-${String(g.getMonth()+1).padStart(2,"0")}-${String(g.getDate()).padStart(2,"0")}`;return f.download=`orders_${w}.xlsx`,document.body.appendChild(f),f.click(),document.body.removeChild(f),window.URL.revokeObjectURL(m),{success:!0}}function Yr(r,c){const e=r.params||{},{columns:t=[]}=e;try{localStorage.setItem("g7_order_visible_columns",JSON.stringify(t))}catch(o){return M.warn("[saveVisibleColumns] LocalStorage 저장 실패:",o),{success:!1}}return{success:!0}}function Jr(r,c){const t=(r.params||{}).defaultColumns||["order_date","order_number","order_status","order_amount","product","orderer","payment_method","delivery_method","country"];try{const o=localStorage.getItem("g7_order_visible_columns");if(o){const a=JSON.parse(o);if(Array.isArray(a))return a}}catch(o){M.warn("[loadVisibleColumns] LocalStorage 로드 실패:",o)}return t}function Xr(r,c){const e=r.params||{},{id:t,defaultFilters:o=[]}=e,a=window.G7Core;if(!t)return M.warn("[loadVisibleFilters] id 파라미터가 필요합니다."),o;let n;try{const i=a?.AuthManager?.getInstance();i&&(n=i.getUser()?.uuid)}catch{}const s=`g7_filters_${t}${n!==void 0?`_${n}`:""}`;try{const i=localStorage.getItem(s);if(i){const l=JSON.parse(i);if(Array.isArray(l)&&l.length>0)return M.log(`[loadVisibleFilters] localStorage에서 로드: ${s}`,l),l}}catch(i){M.warn("[loadVisibleFilters] LocalStorage 로드 실패:",i)}return M.log(`[loadVisibleFilters] 기본값 사용: ${s}`,o),o}function Zr(r,c){const e=window.G7Core;if(!e)return;const t=e.state.get()||{},o=t.bulkSelectedItems||[],a=t.bulkOrderStatus||"",n=t.bulkCourier||"",s=t.bulkTrackingNumber||"";if(!a){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.no_status_selected")||"변경할 주문상태를 선택해주세요.");return}if(["shipping_ready","shipping"].includes(a)&&(!n||!s)){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.carrier_required")||"해당 상태로 변경하려면 택배사와 송장번호를 모두 입력해주세요.");return}e.state.set({bulkConfirmData:{selectedItems:o,orderStatus:a,courierId:n,trackingNumber:s}}),e.modal?.open?.("modal_bulk_confirm")}async function en(r,c){const e=window.G7Core;if(!e)return;const o=(e.state.get()||{}).bulkConfirmData;if(!o||!o.selectedItems?.length){e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.error")||"일괄 처리에 실패했습니다.");return}const a={ids:o.selectedItems,order_status:o.orderStatus};o.courierId&&(a.carrier_id=o.courierId),o.trackingNumber&&(a.tracking_number=o.trackingNumber);try{await e.api.patch("/api/modules/sirsoft-ecommerce/admin/orders/bulk",a),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.success")||"일괄 변경이 완료되었습니다."),e.state.setLocal({selectedItems:[],selectAll:!1,bulkOrderStatus:"",bulkCourier:"",bulkTrackingNumber:""}),e.state.set({bulkConfirmData:null}),e.dataSource?.refetch?.("orders"),e.modal?.close?.()}catch(n){M.error("[executeOrderBulkAction] Error:",n);const i=(n?.response?.data||n?.data||{})?.message||n?.message;e.toast?.error?.(i||e.t?.("sirsoft-ecommerce.admin.order.bulk.error")||"일괄 처리에 실패했습니다.")}}const He=window.G7Core?.createLogger?.("Ecom:ProductList")??{log:(...r)=>console.log("[Ecom:ProductList]",...r),warn:(...r)=>console.warn("[Ecom:ProductList]",...r),error:(...r)=>console.error("[Ecom:ProductList]",...r)};async function tn(r,c){const e=r.params||{},{actionId:t,row:o}=e,a=window.G7Core;if(!t||!o?.id)return He.warn("[handleProductRowAction] actionId 또는 row.id가 없습니다."),{success:!1};switch(t){case"edit":a?.navigate?.(`/admin/ecommerce/products/${o.product_code}/edit`);break;case"copy":a?.state?.setLocal({productList:{copyTargetProduct:o},ui:{showCopyModal:!0}});break;case"delete":try{const s=(await a?.api?.get(`/api/modules/sirsoft-ecommerce/admin/products/${o.id}/can-delete`))?.data;a?.state?.setLocal({productList:{deleteTargetProduct:o,canDelete:s?.canDelete??!0,deleteBlockReason:s?.reason??null,relatedData:s?.relatedData??null},ui:{showDeleteModal:!0}})}catch(n){He.error("[handleProductRowAction] 삭제 가능 여부 확인 실패:",n),a?.state?.setLocal({productList:{deleteTargetProduct:o,canDelete:!1,deleteBlockReason:"삭제 가능 여부를 확인할 수 없습니다.",relatedData:null},ui:{showDeleteModal:!0}})}break;default:return He.warn(`[handleProductRowAction] 알 수 없는 액션: ${t}`),{success:!1}}return{success:!0,action:t,targetId:o.id}}const U=window.G7Core?.createLogger?.("Ecom:OrderDetail")??{log:(...r)=>console.log("[Ecom:OrderDetail]",...r),warn:(...r)=>console.warn("[Ecom:OrderDetail]",...r),error:(...r)=>console.error("[Ecom:OrderDetail]",...r)};function dt(){return typeof document>"u"?"":document.querySelector('input[name="batchTrackingNumber"]')?.value?.trim()??""}function on(r,c){const e=window.G7Core;if(!e?.state){U.warn("[initOrderDetailForm] G7Core.state를 사용할 수 없습니다.");return}e.state.getLocal();const o=c?.data?.data??e.dataSource?.get?.("order")?.data;if(!o){U.warn("[initOrderDetailForm] order 데이터가 없습니다.");return}e.state.setLocal({form:{recipient_name:o.recipient_name||"",recipient_phone:o.recipient_phone||"",recipient_tel:o.recipient_tel||"",recipient_zipcode:o.recipient_zipcode||"",recipient_address:o.recipient_address||"",recipient_detail_address:o.recipient_detail_address||"",delivery_memo:o.delivery_memo||"",admin_memo:o.admin_memo||""}}),U.log("[initOrderDetailForm] 폼 초기화 완료")}function rn(r,c){const e=window.G7Core,{optionId:t}=r.params||{};if(!e?.state||!t)return;const a=e.state.getLocal().selectedProducts||[];let n;a.includes(t)?n=a.filter(u=>u!==t):n=[...a,t];const i=(e.dataSource?.get?.("order")?.data?.options||[]).length,l=n.length===i&&i>0;e.state.setLocal({selectedProducts:n,selectAll:l})}function nn(r,c){const e=window.G7Core;if(!e?.state)return;const o=e.state.getLocal().selectAll,n=e.dataSource?.get?.("order")?.data?.options||[];if(o)e.state.setLocal({selectedProducts:[],selectAll:!1});else{const s=n.map(i=>i.id);e.state.setLocal({selectedProducts:s,selectAll:!0})}}function an(r,c){const e=window.G7Core;if(!e)return;const t=r.params||{},o=t.selectedProducts||[],a=t.batchOrderStatus||"",n=t.batchCarrierId||"",s=t.batchTrackingNumber||dt();if(!a){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.no_status_selected")||"변경할 주문상태를 선택해주세요.");return}if(o.length===0){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.no_items_selected")||"변경할 상품을 선택해주세요.");return}if(a==="cancelled"){const f=t.cancelPg??!0,g=e.dataSource?.get?.("order")?.data,w=g?.options||[],y=o.map(_=>{const p=w.find(S=>S.id===_);return!p||p.option_status==="cancelled"?null:{id:p.id,product_name:p.product_name,product_option_name:p.product_option_name,thumbnail_url:p.product_snapshot?.thumbnail_url||"",unit_price:p.unit_price,quantity:p.quantity,cancel_quantity:p.quantity,option_status:p.option_status,option_status_label:p.option_status_label||p.option_status}}).filter(Boolean);if(y.length===0){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.no_cancellable_items")||"취소할 수 있는 상품이 없습니다. 이미 취소된 상품은 제외됩니다.");return}if(f){e.state.setLocal({cancelItems:y,cancelReason:"",cancelReasonDetail:"",cancelPg:!0,refundPriority:"pg_first",refundEstimate:null,refundLoading:!1,isCancelling:!1,cancelError:null,cancelValidationErrors:null}),e.modal?.open?.("modal_cancel_order");const _=g?.order_number||"";_&&e.dispatch?.({handler:"sirsoft-ecommerce.estimateRefundAmount",params:{orderId:_,cancelItems:y}})}else{const _={};for(const p of y)_[p.id]=p.quantity;e.state.setLocal({bulkConfirmItems:y,changeQuantities:_,batchOrderStatus:a}),e.modal?.open?.("modal_batch_change_confirm")}return}if(["shipping_ready","shipping","delivered"].includes(a)&&(!n||!s)){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.carrier_required")||"해당 상태로 변경하려면 택배사와 송장번호를 모두 입력해주세요.");return}const u=e.dataSource?.get?.("order")?.data?.options||[],d=[],m={};for(const f of o){const g=u.find(w=>w.id===f);g&&(d.push({id:g.id,product_name:g.product_name,product_option_name:g.product_option_name,sku:g.sku,thumbnail_url:g.product_snapshot?.thumbnail_url||"",unit_price:g.unit_price,original_price:g.product_snapshot?.original_price||g.unit_price,quantity:g.quantity,option_status:g.option_status}),m[g.id]=g.quantity)}e.state.setLocal({bulkConfirmItems:d,changeQuantities:m,batchOrderStatus:a,batchCarrierId:n,batchTrackingNumber:s}),e.modal?.open?.("modal_batch_change_confirm")}async function sn(r,c){const e=window.G7Core,{orderId:t}=r.params||{};if(!e?.state||!t){U.warn("[processOrderDetailBulkChange] orderId가 없습니다.");return}const o=e.state.getLocal?.()??{},a=r.params?.selectedProducts??o.selectedProducts,n=r.params?.batchOrderStatus||o.batchOrderStatus,s=r.params?.batchCarrierId||o.batchCarrierId,i=r.params?.batchTrackingNumber||o.batchTrackingNumber||dt(),l=r.params?.changeQuantities??o.changeQuantities;if(!a||a.length===0){U.warn("[processOrderDetailBulkChange] 선택된 상품이 없습니다.");return}if(!n){U.warn("[processOrderDetailBulkChange] 변경할 상태가 없습니다.");return}const d=e.dataSource?.get?.("order")?.data?.options||[],f={items:a.map(g=>{const w=d.find(y=>y.id===g);return{option_id:g,quantity:l?.[g]??w?.quantity??1}}),status:n};s&&(f.carrier_id=s),i&&(f.tracking_number=i);try{const g=await e.api.patch(`/api/modules/sirsoft-ecommerce/admin/orders/${t}/options/bulk-status`,f);if(g?.success){const w=e.t,y=g.data?.changed_count??a.length;e.toast?.success?.(w?.("sirsoft-ecommerce.admin.order.detail.handler.bulk_change_success",{count:y})??`${y}개 옵션의 상태가 변경되었습니다.`),e.modal?.close?.("modal_batch_change_confirm"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}}),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order_logs"}}),e.state.setLocal({selectedProducts:[],selectAll:!1,batchOrderStatus:"",batchCarrierId:"",batchTrackingNumber:"",changeQuantities:{}})}else throw new Error(g?.message||"상태 변경에 실패했습니다.")}catch(g){U.error("[processOrderDetailBulkChange] API 호출 실패:",g);const y=(g?.response?.data||g?.data||{})?.message||g?.message;e.toast?.error?.(y??e.t?.("sirsoft-ecommerce.admin.order.detail.handler.bulk_change_failed")??"상태 변경에 실패했습니다.")}}async function cn(r,c){const e=window.G7Core,{orderId:t}=r.params||{};if(!e?.state||!t)return;const a=e.state.getLocal().form?.admin_memo??"";try{const n=await e.api.patch(`/api/modules/sirsoft-ecommerce/admin/orders/${t}`,{admin_memo:a});if(n?.success)e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.order.detail.handler.memo_save_success")??"관리자 메모가 저장되었습니다.");else throw new Error(n?.message)}catch(n){U.error("[saveAdminMemo] 저장 실패:",n),e.toast?.error?.(n?.message??"메모 저장에 실패했습니다.")}}function ln(r,c){const e=window.G7Core;if(!e?.state)return;const{optionId:t,maxQuantity:o}=r.params||{};if(!t||!o)return;const a=r.params?.value??r.$event?.target?.value,n=parseInt(String(a),10),s=Math.max(1,Math.min(isNaN(n)?o:n,o)),l={...e.state.getLocal().changeQuantities||{}};l[t]=s,e.state.setLocal({changeQuantities:l})}function dn(r,c){const e=window.G7Core;if(!e?.state){U.warn("[openConfirmDepositModal] G7Core.state 를 사용할 수 없습니다.");return}const t=e.dataSource?.get?.("order")?.data,o=t?.depositor_name??"",a=t?.total_due_amount??0;e.state.setLocal({depositorName:o,depositAmount:a,depositConfirmErrors:null,isConfirmingDeposit:!1,markOrderComplete:!1}),e.modal?.open?.("modal_confirm_deposit")}async function un(r,c){const e=window.G7Core,{orderId:t}=r.params||{};if(!e?.state||!t){U.warn("[confirmDeposit] orderId 가 없습니다.");return}const o=e.state.getLocal(),a=r.params?.amount??o.depositAmount,n=r.params?.depositorName??o.depositorName??"",s=r.params?.markOrderComplete??o.markOrderComplete??!1,i=s===!0||s==="true";e.state.setLocal({isConfirmingDeposit:!0,depositConfirmErrors:null});try{const l=await e.api.patch(`/api/modules/sirsoft-ecommerce/admin/orders/${t}/confirm-deposit`,{amount:a,depositor_name:n,mark_order_complete:i});if(l?.success)e.state.setLocal({isConfirmingDeposit:!1,depositConfirmErrors:null}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.order.detail.modal.confirm_deposit.confirm_success")??"입금이 확인되어 결제완료 처리되었습니다."),e.modal?.close?.("modal_confirm_deposit"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}}),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order_logs"}});else throw new Error(l?.message||"Deposit confirm failed")}catch(l){U.error("[confirmDeposit] 실패:",l);const u=l?.response?.data||l?.data||{},d=u?.errors?.detail||u?.message||l?.message||"",m=e.t?.("sirsoft-ecommerce.admin.order.detail.modal.confirm_deposit.confirm_failed")??"입금 확인에 실패했습니다.";e.state.setLocal({isConfirmingDeposit:!1,depositConfirmErrors:{amount:[d||m]}}),e.toast?.error?.(d||m)}}const qe=window.G7Core?.createLogger?.("Ecom:CancelOrder")??{log:(...r)=>console.log("[Ecom:CancelOrder]",...r),warn:(...r)=>console.warn("[Ecom:CancelOrder]",...r),error:(...r)=>console.error("[Ecom:CancelOrder]",...r)};let K=null;function mn(){K&&(clearTimeout(K),K=null,qe.log("[clearCancelOrderTimers] debounce 타이머 정리 완료"))}function pn(r,c){const e=window.G7Core;if(!e?.state)return;const{optionId:t,maxQuantity:o,orderId:a}=r.params||{};if(!t||!o||!a)return;const n=r.params?.value??r.$event?.target?.value,s=parseInt(String(n),10),i=Math.max(1,Math.min(isNaN(s)?o:s,o)),u=(e.state.getLocal().cancelItems||[]).map(m=>m.id===t?{...m,cancel_quantity:i}:m);e.state.setLocal({cancelItems:u});const d=window.__g7ActionContext;K&&clearTimeout(K),K=setTimeout(()=>{const m=window.__g7ActionContext;window.__g7ActionContext=d;try{Ue(e,a)}finally{window.__g7ActionContext=m}},500)}async function fn(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t,cancelItems:o}=r.params||{};t&&await Ue(e,t,o)}async function Ue(r,c,e){const t=r.state.getLocal(),o=e||t.cancelItems||[],a=t.refundPriority||"pg_first";if(o.length===0){r.state.setLocal({refundEstimate:null});return}const n=o.map(s=>({order_option_id:s.id,cancel_quantity:s.cancel_quantity}));r.state.setLocal({refundLoading:!0});try{const s=await r.api.post(`/api/modules/sirsoft-ecommerce/admin/orders/${c}/estimate-refund`,{items:n,refund_priority:a});if(s?.success)r.state.setLocal({refundEstimate:s.data,refundLoading:!1,cancelError:null});else throw new Error(s?.message||"Estimate failed")}catch(s){qe.error("[estimateRefundAmount] 실패:",s),r.state.setLocal({refundLoading:!1,refundEstimate:null}),r.toast?.error?.(r.t?.("sirsoft-ecommerce.admin.order.detail.modal.cancel.estimate_failed")??"환불 예상금액 계산에 실패했습니다.")}}function gn(r,c){const e=window.G7Core;if(!e?.state)return;const{priority:t,orderId:o}=r.params||{};if(!t||!o)return;e.state.setLocal({refundPriority:t});const a=window.__g7ActionContext;K&&clearTimeout(K),K=setTimeout(()=>{const n=window.__g7ActionContext;window.__g7ActionContext=a;try{Ue(e,o)}finally{window.__g7ActionContext=n}},300)}async function _n(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t}=r.params||{};if(!t)return;const o=e.state.getLocal(),a=r.params?.cancelItems||o.cancelItems||[],n=r.params?.cancelReason||o.cancelReason||"",s=r.params?.cancelReasonDetail||o.cancelReasonDetail||"",i=r.params?.cancelPg??o.cancelPg??!0,l=r.params?.refundPriority||o.refundPriority||"pg_first",u={type:"partial",cancel_pg:i,refund_priority:l,items:a.map(m=>({order_option_id:m.id,cancel_quantity:m.cancel_quantity}))};n&&(u.reason=n),s&&(u.reason_detail=s);const d={bank_code:o.refundBankCode||"",account_number:o.refundBankAccount||"",holder:o.refundBankHolder||""};(d.bank_code||d.account_number||d.holder)&&(u.refund_bank=d),e.state.setLocal({isCancelling:!0,cancelError:null,cancelValidationErrors:null});try{const m=await e.api.post(`/api/modules/sirsoft-ecommerce/admin/orders/${t}/cancel`,u);if(m?.success)e.state.setLocal({isCancelling:!1}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.order.detail.modal.cancel.cancel_success")??"주문이 취소되었습니다."),e.modal?.close?.("modal_cancel_order"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}}),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order_logs"}}),e.state.setLocal({selectedProducts:[],selectAll:!1,batchOrderStatus:""});else throw new Error(m?.message||"Cancel failed")}catch(m){qe.error("[executeCancelOrder] 실패:",m);const f=m?.response?.data||m?.data,w=(m?.response?.status||m?.status)===422,y=f?.errors?.detail,_=f?.errors??null,p=y||f?.message||m?.message||"",S=e.t?.("sirsoft-ecommerce.admin.order.detail.modal.cancel.cancel_failed")??"주문 취소에 실패했습니다.";w?(e.state.setLocal({isCancelling:!1,cancelError:null,cancelValidationErrors:_}),e.toast?.error?.(p||S)):(e.state.setLocal({isCancelling:!1,cancelError:p||S,cancelValidationErrors:null}),e.toast?.error?.(p||S))}}const ut=window.G7Core?.createLogger?.("Ecom:UserCancelOrder")??{log:(...r)=>console.log("[Ecom:UserCancelOrder]",...r),warn:(...r)=>console.warn("[Ecom:UserCancelOrder]",...r),error:(...r)=>console.error("[Ecom:UserCancelOrder]",...r)};let R=null;function ve(r){const c=r?.state?.get?.("_global")?.guestOrderToken,e=r?.dataSource?.get?.("order")?.data?.order_number;return!!(c&&e)}function wn(){R&&(clearTimeout(R),R=null)}function yn(r,c){const e=window.G7Core;if(!e?.state)return;const{optionId:t}=r.params||{};if(!t)return;const a=[...e.state.getLocal().selectedItemIds||[]],n=a.indexOf(t);n>=0?a.splice(n,1):a.push(t);const i=(e.dataSource?.get?.("order")?.data?.options||[]).filter(u=>u.option_status!=="cancelled").map(u=>u.id),l=i.length>0&&i.every(u=>a.includes(u));e.state.setLocal({selectedItemIds:a,selectAllItems:l})}function hn(r,c){const e=window.G7Core;if(!e?.state)return;const t=e.state.getLocal(),a=(e.dataSource?.get?.("order")?.data?.options||[]).filter(s=>s.option_status!=="cancelled").map(s=>s.id),n=!t.selectAllItems;e.state.setLocal({selectedItemIds:n?a:[],selectAllItems:n})}function Cn(r,c){const e=window.G7Core;if(!e?.state)return;const t=e.dataSource?.get?.("order")?.data;if(!t)return;const a=e.state.getLocal().selectedItemIds||[];if(a.length===0){e.toast?.warning?.(e.t?.("mypage.order_detail.cancel_modal.no_selected_items")??"취소할 상품을 선택해주세요.");return}const s=(t.options||[]).filter(l=>a.includes(l.id)&&l.option_status!=="cancelled").map(l=>({id:l.id,product_name:l.product_name??"",product_option_name:l.product_option_name??"",thumbnail_url:l.product_snapshot?.thumbnail_url||"",unit_price:l.unit_price??0,quantity:l.quantity??1,cancel_quantity:l.quantity??1,option_status:l.option_status??"",selected:!0}));if(s.length===0){e.toast?.warning?.(e.t?.("mypage.order_detail.cancel_modal.no_cancellable_items")??"취소 가능한 상품이 없습니다.");return}e.state.setLocal({cancelItems:s,cancelSelectAll:!0,cancelReason:"",refundEstimate:null,refundLoading:!1,isCancelling:!1,cancelError:null}),e.modal?.open?.("modal_cancel_order");const i=r.params?.orderId||t.id;(i||t.order_number)&&le(e,i)}function bn(r,c){const e=window.G7Core;if(!e?.state)return;const{optionId:t,orderId:o}=r.params||{};if(!t)return;const n=(e.state.getLocal().cancelItems||[]).map(i=>i.id===t?{...i,selected:!i.selected}:i),s=n.every(i=>i.selected);e.state.setLocal({cancelItems:n,cancelSelectAll:s}),R&&clearTimeout(R),R=setTimeout(()=>{le(e,o)},500)}function In(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t}=r.params||{},o=e.state.getLocal(),a=!o.cancelSelectAll,n=(o.cancelItems||[]).map(s=>({...s,selected:a}));e.state.setLocal({cancelItems:n,cancelSelectAll:a}),R&&clearTimeout(R),R=setTimeout(()=>{le(e,t)},500)}function Sn(r,c){const e=window.G7Core;if(!e?.state)return;const{optionId:t,maxQuantity:o,orderId:a}=r.params||{};if(!t||!o||!a&&!ve(e))return;const n=r.params?.value??r.$event?.target?.value,s=parseInt(String(n),10),i=Math.max(1,Math.min(isNaN(s)?o:s,o)),u=(e.state.getLocal().cancelItems||[]).map(m=>m.id===t?{...m,cancel_quantity:i}:m);e.state.setLocal({cancelItems:u});const d=window.__g7ActionContext;R&&clearTimeout(R),R=setTimeout(()=>{const m=window.__g7ActionContext;window.__g7ActionContext=d;try{le(e,a)}finally{window.__g7ActionContext=m}},500)}async function vn(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t}=r.params||{};!t&&!ve(e)||await le(e,t)}async function le(r,c){const e=r.state.getLocal(),t=e.cancelItems||[],o=e.refundPriority||"pg_first",a=t.filter(s=>s.selected);if(a.length===0){r.state.setLocal({refundEstimate:null,refundLoading:!1});return}const n=a.map(s=>({order_option_id:s.id,cancel_quantity:s.cancel_quantity}));r.state.setLocal({refundLoading:!0});try{const s=r.state.get?.("_global")?.guestOrderToken,i=r.dataSource?.get?.("order")?.data?.order_number,l=!!(s&&i),u=l?`/api/modules/sirsoft-ecommerce/guest/orders/${i}/estimate-refund`:`/api/modules/sirsoft-ecommerce/user/orders/${c}/estimate-refund`,d=l?{headers:{"X-Guest-Order-Token":s}}:void 0,m=await r.api.post(u,{items:n,refund_priority:o},d);if(m?.success)r.state.setLocal({refundEstimate:m.data,refundLoading:!1,cancelError:null});else throw new Error(m?.message||"Estimate failed")}catch(s){ut.error("[estimateUserRefund] 실패:",s),r.state.setLocal({refundLoading:!1,refundEstimate:null}),r.toast?.error?.(r.t?.("mypage.order_detail.cancel_modal.estimate_failed")??"환불 예상금액 계산에 실패했습니다.")}}function Ln(r,c){const e=window.G7Core;if(!e?.state)return;const{priority:t,orderId:o}=r.params||{};if(!t||!o&&!ve(e))return;e.state.setLocal({refundPriority:t});const a=window.__g7ActionContext;R&&clearTimeout(R),R=setTimeout(()=>{const n=window.__g7ActionContext;window.__g7ActionContext=a;try{le(e,o)}finally{window.__g7ActionContext=n}},300)}async function xn(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t}=r.params||{};if(!t&&!ve(e))return;const o=e.state.getLocal(),n=(o.cancelItems||[]).filter(d=>d.selected),s=r.params?.cancelReason||o.cancelReason||"",i=r.params?.cancelReasonDetail??o.cancelReasonDetail??"",l=r.params?.refundPriority||o.refundPriority||"pg_first";if(n.length===0){e.toast?.warning?.(e.t?.("mypage.order_detail.cancel_modal.no_selected_items")??"취소할 상품을 선택해주세요.");return}if(!s){e.toast?.warning?.(e.t?.("mypage.order_detail.cancel_modal.reason_required")??"취소 사유를 선택해주세요.");return}const u={reason:s,refund_priority:l,items:n.map(d=>({order_option_id:d.id,cancel_quantity:d.cancel_quantity}))};i&&(u.reason_detail=i),e.state.setLocal({isCancelling:!0,cancelError:null,cancelValidationErrors:null});try{const d=e.state.get?.("_global")?.guestOrderToken,m=e.dataSource?.get?.("order")?.data?.order_number,f=!!(d&&m),g=f?`/api/modules/sirsoft-ecommerce/guest/orders/${m}/cancel`:`/api/modules/sirsoft-ecommerce/user/orders/${t}/cancel`,w=f?{headers:{"X-Guest-Order-Token":d}}:void 0,y=await e.api.post(g,u,w);if(y?.success)e.state.setLocal({isCancelling:!1}),e.toast?.success?.(e.t?.("mypage.order_detail.cancel_success")??"주문이 취소되었습니다."),e.modal?.close?.("modal_cancel_order"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}});else throw new Error(y?.message||"Cancel failed")}catch(d){ut.error("[executeUserCancelOrder] 실패:",d);const m=d?.response?.data||d?.data,f=m?.message||d?.message||"",g=m?.errors??null,w=e.t?.("mypage.order_detail.cancel_modal.cancel_failed")??"주문 취소에 실패했습니다.";e.state.setLocal({isCancelling:!1,cancelError:f||w,cancelValidationErrors:g}),e.toast?.error?.(f||w)}}const mt=window.G7Core?.createLogger?.("Ecom:ConfirmOrder")??{log:(...r)=>console.log("[Ecom:ConfirmOrder]",...r),warn:(...r)=>console.warn("[Ecom:ConfirmOrder]",...r),error:(...r)=>console.error("[Ecom:ConfirmOrder]",...r)};function Pn(r){const c=r?.state?.get?.("_global")?.guestOrderToken,e=r?.dataSource?.get?.("order")?.data?.order_number;return!!(c&&e)}async function An(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t,optionId:o}=r.params||{};if(!o||!t&&!Pn(e)){mt.error("[confirmOrderOption] optionId 또는 식별자 누락");return}e.state.setLocal({isConfirming:!0});try{const a=e.state.get?.("_global")?.guestOrderToken,n=e.dataSource?.get?.("order")?.data?.order_number,s=!!(a&&n),i=s?`/api/modules/sirsoft-ecommerce/guest/orders/${n}/options/${o}/confirm`:`/api/modules/sirsoft-ecommerce/user/orders/${t}/options/${o}/confirm`,l=s?{headers:{"X-Guest-Order-Token":a}}:void 0,u=await e.api.post(i,void 0,l);if(u?.success)e.state.setLocal({isConfirming:!1,confirmTarget:null}),e.modal?.close?.("modal_confirm_purchase"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}}),e.toast?.success?.(u.message??e.t?.("sirsoft-ecommerce::messages.order.confirmed")??"구매확정이 완료되었습니다.");else throw new Error(u?.message||"Confirm failed")}catch(a){mt.error("[confirmOrderOption] 실패:",a);const n=a?.response?.data?.message||a?.data?.message||a?.message||e.t?.("sirsoft-ecommerce::messages.order.cannot_confirm")||"구매확정에 실패했습니다.";e.state.setLocal({isConfirming:!1}),e.toast?.error?.(n)}}const pt=window.G7Core?.createLogger?.("Ecom:ChangeShippingAddress")??{log:(...r)=>console.log("[Ecom:ChangeShippingAddress]",...r),warn:(...r)=>console.warn("[Ecom:ChangeShippingAddress]",...r),error:(...r)=>console.error("[Ecom:ChangeShippingAddress]",...r)};function kn(r){const c=r?.state?.get?.("_global")?.guestOrderToken,e=r?.dataSource?.get?.("order")?.data?.order_number;return!!(c&&e)}async function On(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t}=r.params||{},o=kn(e);if(!t&&!o){pt.error("[changeShippingAddress] orderId 또는 비회원 식별자 누락");return}const a=e.state.get?.("_global")??{},s=(o?"manual":a.changeAddressMode??"saved")==="saved"?{address_id:a.selectedAddressId}:a.editingShippingAddress;e.state.setLocal({isSubmittingAddress:!0});try{const i=a.guestOrderToken,l=e.dataSource?.get?.("order")?.data?.order_number,u=o?`/api/modules/sirsoft-ecommerce/guest/orders/${l}/shipping-address`:`/api/modules/sirsoft-ecommerce/user/orders/${t}/shipping-address`,d=o?{headers:{"X-Guest-Order-Token":i}}:void 0,m=await e.api.put(u,s,d);if(m?.success)e.state.setLocal({isSubmittingAddress:!1}),e.modal?.close?.("changeAddressModal"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}}),e.toast?.success?.(m.message??e.t?.("mypage.order_detail.shipping_address_changed")??"배송지가 변경되었습니다.");else throw new Error(m?.message||"Change shipping address failed")}catch(i){pt.error("[changeShippingAddress] 실패:",i),e.state.setLocal({isSubmittingAddress:!1});const l=i?.response?.data?.message||i?.data?.message||i?.message||"배송지 변경에 실패했습니다.";e.toast?.error?.(l)}}const Ve=window.G7Core?.createLogger?.("Ecom:Review")??{log:(...r)=>console.log("[Ecom:Review]",...r),warn:(...r)=>console.warn("[Ecom:Review]",...r),error:(...r)=>console.error("[Ecom:Review]",...r)};async function Gn(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t,optionId:o,productId:a}=r.params||{};if(!t||!o||!a){Ve.error("[submitReview] orderId, optionId 또는 productId 누락");return}const n=e.state.getLocal(),s=r.params?.rating??n.reviewRating??5,i=(r.params?.content??n.reviewContent??"").trim(),u=(r.params?.images??n.reviewImages??[]).map(d=>d instanceof File?d:d?.file instanceof File||d?.file instanceof Blob||d?.file&&typeof d.file.name=="string"&&d.file.size>0?d.file:d instanceof Blob?d:null).filter(d=>d!==null);if(!s||s<1||s>5){e.toast?.error?.(e.t?.("sirsoft-ecommerce.user.review.validation.rating_required")??"별점을 선택해 주세요.");return}if(i.length<10){e.state.setLocal({reviewError:e.t?.("sirsoft-ecommerce.user.review.validation.content_min")??"리뷰 내용을 최소 10자 이상 입력해 주세요."});return}e.state.setLocal({isSubmittingReview:!0,reviewError:null});try{const d=await e.api.post("/api/modules/sirsoft-ecommerce/user/reviews",{order_option_id:o,product_id:a,rating:s,content:i});if(!d?.success)throw new Error(d?.message||"Review creation failed");const m=d.data?.id;if(m&&u.length>0)for(let f=0;fconsole.log("[Ecom:ShippingPolicyForm]",...r),warn:(...r)=>console.warn("[Ecom:ShippingPolicyForm]",...r),error:(...r)=>console.error("[Ecom:ShippingPolicyForm]",...r)},En=["fixed","conditional_free","per_quantity","per_weight","per_volume","per_volume_weight","per_amount"],Fn=["conditional_free"],Dn=["range_amount","range_quantity","range_weight","range_volume","range_volume_weight"],$n=["api"],Nn=["per_quantity","per_weight","per_volume","per_volume_weight","per_amount"],Tn={shipping_method:"parcel",custom_shipping_name:null,carrier:null,currency_code:"KRW",charge_policy:"fixed",base_fee:0,free_threshold:null,ranges:null,api_endpoint:null,api_request_fields:null,api_response_fee_field:null,api_config:null,extra_fee_enabled:!1,extra_fee_settings:[],extra_fee_multiply:!1,is_active:!0};function te(r){return{showBaseFee:En.includes(r),showFreeThreshold:Fn.includes(r),showRanges:Dn.includes(r),showApiSettings:$n.includes(r),showUnitValue:Nn.includes(r)}}function G(){const r=window.G7Core;return r?.state?r:(b.warn("G7Core.state not available"),null)}function E(r,c){r.setLocalState?r.setLocalState(c):G()?.state?.setLocal(c)}function F(r){return[...(r.state.getLocal?.()??{}).form?.country_settings??[]]}function Rn(r,c){const e=r.params||{},t=e.policy,o=!!e.isEdit,a=!!e.isCopy;if(e.availableCountries,!G())return;const s={activeCountryTab:0,rangeErrors:{}};if((o||a)&&t){const i=t.country_settings??[],u=i[0]?.charge_policy??"fixed",d=te(u);Object.assign(s,d),b.log("[initShippingPolicyForm]",o?"Edit":"Copy","mode, countries:",i.length,"first charge_policy:",u)}else{const i=te("fixed");Object.assign(s,i),b.log("[initShippingPolicyForm] Create mode, default flags")}E(c,s)}function Mn(r,c){const t=(r.params||{}).country_code??"";if(!t){b.warn("[addCountrySetting] country_code is empty");return}const o=G();if(!o)return;const a=F(o);if(a.some(u=>u.country_code===t)){b.warn("[addCountrySetting] Duplicate country_code:",t);return}const n={country_code:t,...Tn};a.push(n);const s=a.length-1,i=te(n.charge_policy),l={"form.country_settings":a,activeCountryTab:s,...i};E(c,l),b.log("[addCountrySetting] Added country:",t,"index:",s)}function Hn(r,c){const e=r.params||{},t=Number(e.index);if(isNaN(t)||t<0){b.warn("[removeCountrySetting] Invalid index:",e.index);return}const o=G();if(!o)return;const a=F(o),n=o.state.getLocal?.()??{};if(t>=a.length){b.warn("[removeCountrySetting] Index out of bounds:",t);return}const s=a[t].country_code;a.splice(t,1);const i=n.activeCountryTab??0;let l=i;a.length===0?l=0:i>=a.length?l=a.length-1:i>t&&(l=i-1);const u={...n.rangeErrors??{}};u[s]=[];const d=a[l],m=te(d?d.charge_policy:"fixed"),f={"form.country_settings":a,activeCountryTab:l,rangeErrors:u,...m};E(c,f),b.log("[removeCountrySetting] Removed index:",t,"country:",s,"newTab:",l)}function qn(r,c){const e=r.params||{},t=Number(e.index);if(isNaN(t)||t<0){b.warn("[switchCountryTab] Invalid index:",e.index);return}const o=G();if(!o)return;const a=F(o);if(t>=a.length){b.warn("[switchCountryTab] Index out of bounds:",t);return}const n=a[t],s=te(n.charge_policy),i={activeCountryTab:t,...s};E(c,i),b.log("[switchCountryTab] Switched to tab:",t,"country:",n.country_code,"charge_policy:",n.charge_policy)}function Un(r,c){const e=r.params||{},t=e.field??"",o=e.value;if(!t){b.warn("[updateCountryField] field is empty");return}const a=G();if(!a)return;const n=a.state.getLocal?.()??{},s=Number(n.activeCountryTab??0),i=F(a);if(s>=i.length){b.warn("[updateCountryField] Index out of bounds:",s);return}i[s]={...i[s],[t]:o},E(c,{"form.country_settings":i}),b.log("[updateCountryField] Updated",t,"=",o,"at index:",s)}function Vn(r,c){const e=r.params||{},t=e.value??"",o=Number(e.index??0);if(!t){b.warn("[onChargePolicyChange] charge_policy value is empty");return}const a=G();if(!a)return;const n=te(t);b.log("[onChargePolicyChange]",t,n,"countryIndex:",o);const s=F(a),i=s[o];if(!i){b.warn("[onChargePolicyChange] No country setting at index:",o);return}const l={...i,charge_policy:t};if(n.showBaseFee||(l.base_fee=0),n.showFreeThreshold||(l.free_threshold=null),!n.showRanges&&!n.showUnitValue&&(l.ranges=null),n.showApiSettings||(l.api_endpoint=null,l.api_request_fields=null,l.api_response_fee_field=null,l.api_config=null),n.showRanges&&(!l.ranges||!l.ranges.tiers)){const d=t.replace("range_","");l.ranges={type:d,tiers:[{min:0,max:null,fee:0}]}}n.showUnitValue&&(!l.ranges||!l.ranges.unit_value)&&(l.ranges={type:t,unit_value:1}),s[o]=l;const u={"form.country_settings":s,...n};E(c,u)}function jn(r,c){const e=r.params||{},t=Number(e.index??0),o=G();if(!o)return;const a=F(o),n=a[t];if(!n){b.warn("[addRangeTier] No country setting at index:",t);return}const s=[...n.ranges?.tiers??[]],i=s[s.length-1],u={min:i?.max!=null?i.max+1:0,max:null,fee:0};s.push(u),a[t]={...n,ranges:{...n.ranges??{},tiers:s}},E(c,{"form.country_settings":a}),Le(o,c,t,s,n.country_code),b.log("[addRangeTier] Added tier, total:",s.length)}function Bn(r,c){const e=r.params||{},t=Number(e.countryIndex??0),o=Number(e.tierIndex);if(isNaN(o)||o<0){b.warn("[removeRangeTier] Invalid tierIndex:",e.tierIndex);return}const a=G();if(!a)return;const n=F(a),s=n[t];if(!s){b.warn("[removeRangeTier] No country setting at index:",t);return}const i=[...s.ranges?.tiers??[]];if(o>=i.length){b.warn("[removeRangeTier] tierIndex out of bounds:",o);return}i.splice(o,1),n[t]={...s,ranges:{...s.ranges??{},tiers:i}},E(c,{"form.country_settings":n}),Le(a,c,t,i,s.country_code),b.log("[removeRangeTier] Removed tier:",o,"remaining:",i.length)}function Kn(r,c){const e=r.params||{},t=Number(e.countryIndex??0),o=Number(e.tierIndex),a=e.field,n=e.value;if(isNaN(o)||o<0){b.warn("[updateRangeTierField] Invalid tierIndex:",e.tierIndex);return}if(!["min","max","fee"].includes(a)){b.warn("[updateRangeTierField] Invalid field:",a);return}const s=G();if(!s)return;const i=F(s),l=i[t];if(!l){b.warn("[updateRangeTierField] No country setting at index:",t);return}const u=[...l.ranges?.tiers??[]];if(o>=u.length){b.warn("[updateRangeTierField] tierIndex out of bounds:",o);return}let d;a==="max"?d=n===""||n===null||n===void 0?null:Number(n):d=Number(n),u[o]={...u[o],[a]:d},i[t]={...l,ranges:{...l.ranges??{},tiers:u}},E(c,{"form.country_settings":i}),Le(s,c,t,u,l.country_code)}function Qn(r,c){const e=r.params||{},t=Number(e.countryIndex??0),o=G();if(!o)return;const n=F(o)[t];if(!n)return;const s=n.ranges?.tiers??[];Le(o,c,t,s,n.country_code)}function Le(r,c,e,t,o){const n={...(r.state.getLocal?.()??{}).rangeErrors??{}};if(t.length===0){n[o]=[],E(c,{rangeErrors:n});return}const s=new Array(t.length).fill(null).map(()=>({}));let i=!1;const l=r.t;for(let u=0;u=d.max&&(s[u].min=l?.("sirsoft-ecommerce.validation.shipping_policy.ranges.min_less_than_max")??"시작값이 종료값보다 작아야 합니다.",i=!0),u=i.length){b.warn("[removeExtraFeeRow] feeIndex out of bounds:",o);return}i.splice(o,1),n[t]={...s,extra_fee_settings:i},E(c,{"form.country_settings":n}),b.log("[removeExtraFeeRow] Removed index:",o,"remaining:",i.length)}function Yn(r,c){const e=r.params||{},t=Number(e.countryIndex??0),o=e.settings;if(!o||!Array.isArray(o)){b.warn("[applyExtraFeeTemplate] Invalid settings:",o);return}const a=G();if(!a)return;const n=F(a),s=n[t];if(!s){b.warn("[applyExtraFeeTemplate] No country setting at index:",t);return}n[t]={...s,extra_fee_settings:o},E(c,{"form.country_settings":n});const i=a.t,l=i?.("sirsoft-ecommerce.admin.shipping_policy.form.template_applied")??"템플릿이 적용되었습니다.";a.toast?.success?.(l),b.log("[applyExtraFeeTemplate] Applied template with",o.length,"rows")}function Jn(r,c){const e=r.params||{},t=parseFloat(e.value)||1,o=G();if(!o)return;const a=o.state.getLocal?.()??{},n=Number(a.activeCountryTab??0),s=F(o),i=s[n];i&&(s[n]={...i,ranges:{...i.ranges??{},type:i.charge_policy,unit_value:t}},E(c,{"form.country_settings":s}),b.log("[updateUnitValue] Updated unit_value:",t))}function Xn(r,c){const e=G();if(!e)return;const t=e.state.getLocal?.()??{},o=Number(t.activeCountryTab??0),a=F(e),n=a[o];if(!n)return;const s=[...n.api_request_fields??[]];s.push(""),a[o]={...n,api_request_fields:s},E(c,{"form.country_settings":a}),b.log("[addApiRequestField] Added field, total:",s.length)}function Zn(r,c){const e=r.params||{},t=Number(e.fieldIndex),o=e.value??"";if(isNaN(t)||t<0){b.warn("[updateApiRequestField] Invalid fieldIndex:",e.fieldIndex);return}const a=G();if(!a)return;const n=a.state.getLocal?.()??{},s=Number(n.activeCountryTab??0),i=F(a),l=i[s];if(!l)return;const u=[...l.api_request_fields??[]];t>=u.length||(u[t]=o,i[s]={...l,api_request_fields:u},E(c,{"form.country_settings":i}),b.log("[updateApiRequestField] Updated index:",t,"value:",o))}function ea(r,c){const e=r.params||{},t=Number(e.fieldIndex);if(isNaN(t)||t<0){b.warn("[removeApiRequestField] Invalid fieldIndex:",e.fieldIndex);return}const o=G();if(!o)return;const a=o.state.getLocal?.()??{},n=Number(a.activeCountryTab??0),s=F(o),i=s[n];if(!i)return;const l=[...i.api_request_fields??[]];t>=l.length||(l.splice(t,1),s[n]={...i,api_request_fields:l},E(c,{"form.country_settings":s}),b.log("[removeApiRequestField] Removed index:",t,"remaining:",l.length))}function ta(r,c){const t=(r.params||{}).field??"";if(!t){b.warn("[toggleApiRequestField] Missing field param");return}const o=G();if(!o)return;const a=o.state.getLocal?.()??{},n=Number(a.activeCountryTab??0),s=F(o),i=s[n];if(!i)return;const l=[...i.api_request_fields??[]],u=l.indexOf(t);u>=0?l.splice(u,1):l.push(t);const d=l.length>0?l:null;s[n]={...i,api_request_fields:d},E(c,{"form.country_settings":s}),b.log("[toggleApiRequestField] Toggled:",t,"selected:",d)}function oa(r,c){const e=r.params||{},t=e.field??"";if(!t){b.warn("[updateApiConfigField] Missing field param");return}const o=G();if(!o)return;const a=o.state.getLocal?.()??{},n=Number(a.activeCountryTab??0),s=F(o),i=s[n];if(!i)return;const l={...i.api_config??{},[t]:e.value};s[n]={...i,api_config:l},E(c,{"form.country_settings":s}),b.log("[updateApiConfigField] Updated",t,"at index:",n)}function ra(r,c){const e=r.params||{},t=e.field??"";if(!t){b.warn("[updateApiFieldMap] Missing field param");return}const o=G();if(!o)return;const a=o.state.getLocal?.()??{},n=Number(a.activeCountryTab??0),s=F(o),i=s[n];if(!i)return;const l=e.value??"",u={...i.api_config?.field_map??{}};l.trim()===""?delete u[t]:u[t]=l;const d={...i.api_config??{},field_map:Object.keys(u).length>0?u:null};s[n]={...i,api_config:d},E(c,{"form.country_settings":s}),b.log("[updateApiFieldMap] Mapped",t,"→",l||"(removed)")}function na(r,c){const e=G();if(!e)return;const t=e.state.getLocal?.()??{},o=Number(t.activeCountryTab??0),n=F(e)[o];if(n){if(!n.api_endpoint){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.shipping_policy.form.api_test_endpoint_required")??"Endpoint required");return}e.state.set?.({apiTestLoading:!0,apiTestResult:null}),e.dispatch({handler:"apiCall",target:"/api/modules/sirsoft-ecommerce/admin/shipping-policies/test-api-call",auth_required:!0,params:{method:"POST",body:{endpoint:n.api_endpoint,request_fields:n.api_request_fields,config:n.api_config??{},sample:{country_code:n.country_code}}},onSuccess:{handler:"setState",params:{target:"global",apiTestLoading:!1,apiTestResult:"{{response.data}}"}},onError:{handler:"setState",params:{target:"global",apiTestLoading:!1,apiTestResult:"{{error.errors ?? error}}"}}})}}function aa(r,c){const e=r.params||{},t=Number(e.feeIndex),o=e.field,a=e.value;if(isNaN(t)||t<0){b.warn("[updateExtraFeeField] Invalid feeIndex:",e.feeIndex);return}if(!["zipcode","fee","region"].includes(o)){b.warn("[updateExtraFeeField] Invalid field:",o);return}const n=G();if(!n)return;const s=n.state.getLocal?.()??{},i=Number(s.activeCountryTab??0),l=F(n),u=l[i];if(!u)return;const d=[...u.extra_fee_settings??[]];if(t>=d.length)return;const m=o==="fee"?parseFloat(a)||0:a;d[t]={...d[t],[o]:m},l[i]={...u,extra_fee_settings:d},E(c,{"form.country_settings":l}),b.log("[updateExtraFeeField] Updated index:",t,o,"=",m)}const me=window.G7Core?.createLogger?.("Handler:InitCategory")??{log:(...r)=>console.log("[Handler:InitCategory]",...r),warn:(...r)=>console.warn("[Handler:InitCategory]",...r),error:(...r)=>console.error("[Handler:InitCategory]",...r)};function ft(r,c){for(const e of r){if(e.id===c)return e;if(e.children&&e.children.length>0){const t=ft(e.children,c);if(t)return t}}return null}function gt(r){return new URLSearchParams(window.location.search).get(r)}function sa(r){return window.G7Core?.state?.getDataSource?.(r)}async function ia(r,c,e=30,t=100){for(let o=0;o0)return n;await new Promise(s=>setTimeout(s,t))}return null}async function ca(r,c){const e=window.G7Core,t=gt("id"),o=gt("mode");if(!t){me.log("[initCategoryFromUrl] No id parameter in URL");return}if(!e?.state?.set){me.warn("[initCategoryFromUrl] G7Core.state.set not available");return}const a=await ia("categories",l=>l?.data?.data);if(!a){me.warn("[initCategoryFromUrl] categories data not available after waiting");return}const n=parseInt(t,10),s=ft(a,n);if(!s){me.warn("[initCategoryFromUrl] Category not found with id:",n);return}const i=o==="edit"?"edit":"view";e.state.set({selectedCategoryId:s.id,selectedCategory:s,panelMode:i}),me.log("[initCategoryFromUrl] Category initialized from URL:",{id:n,mode:i})}const pe=window.G7Core?.createLogger?.("Handler:InitBrand")??{log:(...r)=>console.log("[Handler:InitBrand]",...r),warn:(...r)=>console.warn("[Handler:InitBrand]",...r),error:(...r)=>console.error("[Handler:InitBrand]",...r)};function _t(r){return new URLSearchParams(window.location.search).get(r)}function la(r){return window.G7Core?.state?.getDataSource?.(r)}async function da(r,c,e=30,t=100){for(let o=0;o0)return n;await new Promise(s=>setTimeout(s,t))}return null}async function ua(r,c){const e=window.G7Core,t=_t("id"),o=_t("mode");if(!t){pe.log("[initBrandFromUrl] No id parameter in URL");return}if(!e?.state?.set){pe.warn("[initBrandFromUrl] G7Core.state.set not available");return}const a=await da("brands",l=>l?.data?.data);if(!a){pe.warn("[initBrandFromUrl] brands data not available after waiting");return}const n=parseInt(t,10),s=a.find(l=>l.id===n);if(!s){pe.warn("[initBrandFromUrl] Brand not found with id:",n);return}const i=o==="edit"?"edit":"view";e.state.set({selectedBrandId:s.id,selectedBrand:s,panelMode:i}),pe.log("[initBrandFromUrl] Brand initialized from URL:",{id:n,mode:i})}const fe=window.G7Core?.createLogger?.("Handler:InitCommonInfo")??{log:(...r)=>console.log("[Handler:InitCommonInfo]",...r),warn:(...r)=>console.warn("[Handler:InitCommonInfo]",...r),error:(...r)=>console.error("[Handler:InitCommonInfo]",...r)};function wt(r){return new URLSearchParams(window.location.search).get(r)}function ma(r){return window.G7Core?.state?.getDataSource?.(r)}async function pa(r,c,e=30,t=100){for(let o=0;o0)return n;await new Promise(s=>setTimeout(s,t))}return null}async function fa(r,c){const e=window.G7Core,t=wt("id"),o=wt("mode");if(!t){fe.log("[initCommonInfoFromUrl] No id parameter in URL");return}if(!e?.state?.set){fe.warn("[initCommonInfoFromUrl] G7Core.state.set not available");return}const a=await pa("commonInfos",l=>l?.data);if(!a){fe.warn("[initCommonInfoFromUrl] commonInfos data not available after waiting");return}const n=parseInt(t,10),s=a.find(l=>l.id===n);if(!s){fe.warn("[initCommonInfoFromUrl] Common info not found with id:",n);return}const i=o==="edit"?"edit":"view";e.state.set({selectedId:s.id,selectedItem:s,panelMode:i}),fe.log("[initCommonInfoFromUrl] Common info initialized from URL:",{id:n,mode:i})}const ge=window.G7Core?.createLogger?.("Handler:InitNotice")??{log:(...r)=>console.log("[Handler:InitNotice]",...r),warn:(...r)=>console.warn("[Handler:InitNotice]",...r),error:(...r)=>console.error("[Handler:InitNotice]",...r)};function yt(r){return new URLSearchParams(window.location.search).get(r)}function ga(r){return window.G7Core?.state?.getDataSource?.(r)}async function _a(r,c,e=30,t=100){for(let o=0;o0)return n;await new Promise(s=>setTimeout(s,t))}return null}async function wa(r,c){const e=window.G7Core,t=yt("id"),o=yt("mode");if(!t){ge.log("[initNoticeFromUrl] No id parameter in URL");return}if(!e?.state?.set){ge.warn("[initNoticeFromUrl] G7Core.state.set not available");return}const a=await _a("templates",l=>l?.data);if(!a){ge.warn("[initNoticeFromUrl] templates data not available after waiting");return}const n=parseInt(t,10),s=a.find(l=>l.id===n);if(!s){ge.warn("[initNoticeFromUrl] Template not found with id:",n);return}const i=o==="edit"?"edit":"view";e.state.set({selectedTemplateId:s.id,selectedTemplate:s,panelMode:i}),ge.log("[initNoticeFromUrl] Template initialized from URL:",{id:n,mode:i})}const oe={updateProductField:At,updateOptionField:kt,calculateCurrencyPrices:se,initPreferredCurrency:Tt,initPreferredShippingCountry:qt,setDateRange:Vt,setDefaultOption:jt,toggleOption:Bt,toggleProductOptions:Ye,toggleAllOptionsInRow:Kt,getProductOptionStates:Qt,syncProductSelection:zt,loadExpandedOptions:Fe,retryExpandedOptions:to,generateCopyProductCode:Wt,copyProduct:Yt,selectCategory:ro,selectCategoryMobile:no,addCategoryToSelection:ao,removeCategoryFromSelection:so,getCategoryBreadcrumb:io,validateCategoryPath:lo,initCategoryInfosFromProduct:co,getBrandName:uo,getBrandDescription:mo,updatePrice:_o,calculateTotalOptionStock:wo,validatePriceRelation:yo,addOptionInput:Go,removeOptionInput:Eo,updateOptionInput:Fo,generateOptions:Do,deleteOption:$o,applyOptionAddTool:No,addRequiredItem:To,updateRequiredItem:Ro,removeRequiredItem:Mo,reorderRequiredItems:Ho,addAdditionalOption:qo,updateAdditionalOption:Uo,removeAdditionalOption:Vo,reorderAdditionalOptions:jo,clearAdditionalOptions:Bo,addAdditionalOptionValue:Ko,updateAdditionalOptionValue:Qo,removeAdditionalOptionValue:zo,uploadImages:Xo,setThumbnail:Zo,reorderImages:er,updateDescription:tr,confirmSelectNoticeTemplate:or,selectNoticeTemplate:nt,updateNoticeItem:rr,removeNoticeItem:nr,reorderNoticeItems:ar,fillNoticeWithValue:sr,switchNoticeMode:ir,updateNewTemplateName:cr,addNoticeItem:lr,updateNoticeItemName:dr,saveAsNoticeTemplate:ur,confirmSaveNoticeTemplate:fr,fillTemplateFieldsWithDetailReference:mr,fillNoticeItemsWithDetailReference:pr,toggleLabel:gr,generateProductCode:_r,getShippingPolicyInfo:wr,getCommonInfoContent:yr,updateShoppingIntegration:hr,updateShippingType:Cr,updateIdentificationCode:br,openLabelPeriodModal:Ir,saveLabelPeriod:Sr,removeLabelPeriod:vr,updateActivityLogSort:Lr,updateActivityLogPerPage:xr,setDefaultShippingPolicy:Pr,setLabelDatePreset:kr,toggleDefaultShippingPolicy:Ar,toggleLabelAssignment:Or,saveLabelSettings:$r,deleteLabel:Dr,updateLabelPeriodInline:Gr,setLabelDatePresetInline:Er,confirmUncheckLabel:Fr,removeDescriptionLocale:Nr,showAddLocaleModal:Tr,addDescriptionLocale:Rr,setDefaultOptionFromGrid:Io,addOptionRow:vo,updateFormOptionField:So,recalculateOptionPriceAdjustments:Lo,bulkUpdate:Mr,buildConfirmData:Ur,buildOrderColumns:Vr,toggleArrayValue:jr,toggleVisibleFilter:Br,syncOrderSelection:Kr,handleOrderRowAction:Qr,processOrderBulkAction:zr,buildOrderBulkConfirmData:Zr,executeOrderBulkAction:en,downloadOrderExcel:Wr,saveVisibleColumns:Yr,loadVisibleColumns:Jr,loadVisibleFilters:Xr,handleProductRowAction:tn,initOrderDetailForm:on,toggleProductSelection:rn,toggleAllProducts:nn,buildOrderDetailBulkConfirmData:an,processOrderDetailBulkChange:sn,saveAdminMemo:cn,updateChangeQuantity:ln,openConfirmDepositModal:dn,confirmDeposit:un,initShippingPolicyForm:Rn,addCountrySetting:Mn,removeCountrySetting:Hn,switchCountryTab:qn,updateCountryField:Un,onChargePolicyChange:Vn,addRangeTier:jn,removeRangeTier:Bn,updateRangeTierField:Kn,validateRangeTiers:Qn,addExtraFeeRow:zn,removeExtraFeeRow:Wn,applyExtraFeeTemplate:Yn,updateUnitValue:Jn,addApiRequestField:Xn,updateApiRequestField:Zn,removeApiRequestField:ea,toggleApiRequestField:ta,updateApiConfigField:oa,updateApiFieldMap:ra,testShippingApi:na,updateExtraFeeField:aa,updateCancelQuantity:pn,estimateRefundAmount:fn,changeRefundPriority:gn,executeCancelOrder:_n,clearCancelOrderTimers:mn,toggleItemSelection:yn,toggleSelectAllItems:hn,initUserCancelItems:Cn,toggleUserCancelItem:bn,toggleUserCancelSelectAll:In,updateUserCancelQuantity:Sn,estimateUserRefund:vn,changeUserRefundPriority:Ln,executeUserCancelOrder:xn,clearUserCancelOrderTimers:wn,confirmOrderOption:An,changeShippingAddress:On,submitReview:Gn,initCategoryFromUrl:ca,initBrandFromUrl:ua,initCommonInfoFromUrl:fa,initNoticeFromUrl:wa},V="sirsoft-ecommerce",_e=window.G7Core?.createLogger?.(`Module:${V}`)??{log:(...r)=>console.log(`[Module:${V}]`,...r),warn:(...r)=>console.warn(`[Module:${V}]`,...r),error:(...r)=>console.error(`[Module:${V}]`,...r)};function ht(r=!1){const c=window.G7Core?.getActionDispatcher?.();if(c)Object.entries(oe).forEach(([e,t])=>{const o=`${V}.${e}`;c.registerHandler(o,t,{category:"module",source:V})}),_e.log(`${Object.keys(oe).length} handler(s) registered:`,Object.keys(oe).map(e=>`${V}.${e}`));else if(r){let e=0;const t=50,o=()=>{const a=window.G7Core?.getActionDispatcher?.();a?(Object.entries(oe).forEach(([n,s])=>{const i=`${V}.${n}`;a.registerHandler(i,s,{category:"module",source:V})}),_e.log(`${Object.keys(oe).length} handler(s) registered:`,Object.keys(oe).map(n=>`${V}.${n}`))):(e++,e<=t?(_e.warn(`ActionDispatcher not found, retrying... (${e}/${t})`),setTimeout(o,100)):_e.error("Failed to register handlers: ActionDispatcher not available after maximum retries"))};o()}else _e.warn("ActionDispatcher not found, handlers not registered")}function je(){if(document.readyState==="loading")document.addEventListener("DOMContentLoaded",()=>ht(!0));else{const r=!!window.G7Core?.getActionDispatcher?.();ht(!r)}}return je(),typeof window<"u"&&(window.__SirsoftEcommerce={identifier:V,handlers:Object.keys(oe),initModule:je}),Pe.initModule=je,Object.defineProperty(Pe,Symbol.toStringTag,{value:"Module"}),Pe}({}); //# sourceMappingURL=module.iife.js.map diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/checkout.md b/modules/_bundled/sirsoft-ecommerce/docs/api/checkout.md index e9646d16..b82ff0f9 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/checkout.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/checkout.md @@ -42,7 +42,19 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 예시** - + + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "Checkout has been deleted.", + "data": null +} +``` **에러 응답** @@ -208,7 +220,7 @@ Content-Type: application/json **응답 예시** - + **에러 응답** diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/orders.md b/modules/_bundled/sirsoft-ecommerce/docs/api/orders.md index 2ba6c784..65124ade 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/orders.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/orders.md @@ -423,7 +423,7 @@ _단건 응답: `data` 객체의 필드._ | payment_currency | string | `JPY` | 결제 통화 (유저가 선택·결제한 통화, base_currency 와 다르면 병기 표시) | | is_cross_currency | boolean | `false` | cross currency 여부 | | order_status | string | `payment_complete` | 주문상태 (OrderStatusEnum) | -| order_status_label | string | `결제완료` | `order_status` 값의 사람이 읽는 라벨 (현지화/Enum 파생) | +| order_status_label | string | `Payment Complete` | `order_status` 값의 사람이 읽는 라벨 (현지화/Enum 파생) | | order_status_variant | string | `info` | `order_status` 값의 표시 변형 키 (UI 배지 색상/스타일) | | is_partially_cancelled | boolean | `false` | partially cancelled 여부 | | order_device | string | `pc` | 주문 디바이스 (pc/mobile/app) | @@ -511,8 +511,10 @@ _단건 응답: `data` 객체의 필드._ | options | array | `[{"id":1263,"option_status":"payment_complete","option_st…` | 주문 옵션(품목) 목록 (OrderOptionResource — 상품·옵션·수량·옵션상태·금액) | | shipping_address | object | `{"id":319,"address_type":"shipping","orderer_name":"박대수",…` | 배송지 상세 (OrderAddressResource — 주문자/수령인/국내·해외 주소) | | billing_address | null | `null` | 청구지 상세 (OrderAddressResource, 미분리 시 null) | -| payment | object | `{"id":334,"payment_status":"paid","payment_status_label":…` | 대표 결제 정보 (OrderPaymentResource — 결제수단·결제상태·금액) | -| payments | array | `[{"id":334,"payment_status":"paid","payment_status_label"…` | 결제 이력 목록 (OrderPaymentResource 배열 — 다회 결제/부분결제 포함) | +| payment | object | `{"id":1,"payment_status":"paid","payment_status_label":"P…` | 대표 결제 정보 (OrderPaymentResource — 결제수단·결제상태·금액) | +| payments | array | `[{"id":1,"payment_status":"paid","payment_status_label":"…` | 결제 이력 목록 (OrderPaymentResource 배열 — 다회 결제/부분결제 포함) | +| cash_receipt | null | `null` | 현재 유효한 현금영수증 (CashReceiptResource — 취소되지 않은 발급 건, 없으면 null) | +| cash_receipts | array | `[]` | 현금영수증 발급·취소 이력 전체 (CashReceiptResource 배열 — 취소된 건 포함) | | shippings | array | `[]` | 배송 이력 목록 (OrderShippingResource 배열 — 배송유형·택배사·송장번호) | | cancels | array | `[]` | 취소 이력 목록 (OrderCancelResource 배열 — 취소 사유·상세·취소일시, 최근순) | | promotions_applied_snapshot | object | `{"coupon_issue_ids":[7330],"item_coupons":[],"discount_co…` | 적용된 프로모션 스냅샷 (재계산용) | @@ -653,6 +655,9 @@ Content-Type: application/json | items | body | array | 아니오 | min 1 | 처리 대상 항목 배열 | | cancel_pg | body | boolean | 아니오 | — | PG 결제 취소 동반 여부 (미지정 시 기본 true — 실제 PG 취소 수행) | | refund_priority | body | string | 아니오 | `pg_first`, `points_first` | 환불 배분 우선순위 (pg_first PG 우선 / points_first 포인트 우선, 기본 pg_first) | +| refund_bank.bank_code | body | string | 아니오 | max 10 | 환불 계좌 은행코드. 가상계좌 + 입금완료 건은 필수(주문 시 입력된 계좌가 있으면 생략 가능). 세 필드는 전부 입력하거나 전부 비워야 함 | +| refund_bank.account_number | body | string | 아니오 | max 50 | 환불 계좌번호 | +| refund_bank.holder | body | string | 아니오 | max 50 | 환불 계좌 예금주 | **요청 예시** @@ -1641,6 +1646,13 @@ HTTP/1.1 200 | shipping_memo | body | string | 아니오 | max 500 | 배송 요청사항 메모 | | depositor_name | body | string | 아니오 | max 50 | depositor 이름 (식별자) | | save_shipping_address | body | boolean | 아니오 | — | 회원 주소록에 이번 배송지 저장 여부 (회원 주문 한정) | +| cash_receipt_requested | body | boolean | 아니오 | — | 현금영수증 신청 여부 (true 면 아래 3개 필드가 필수) | +| cash_receipt_type | body | string | 아니오 | — | 발급 용도 (`income` 소득공제 / `expense` 지출증빙) | +| cash_receipt_identifier_type | body | string | 아니오 | — | 발급 수단 (`phone` 휴대폰번호 / `card` 현금영수증카드 / `business` 사업자등록번호 — business 는 지출증빙 전용) | +| cash_receipt_identifier | body | string | 아니오 | max 30 | 발급 식별번호 (하이픈 없는 숫자. 사업자등록번호는 체크섬 검증. 마스킹 저장 + 원본은 암호화 보관) | +| refund_bank.bank_code | body | string | 아니오 | max 10 | 환불 계좌 은행코드 (세 필드는 전부 입력하거나 전부 비워야 함) | +| refund_bank.account_number | body | string | 아니오 | max 50 | 환불 계좌번호 | +| refund_bank.holder | body | string | 아니오 | max 50 | 환불 계좌 예금주 | | guest_lookup_password | body | string | 예 | min 8, max 255 | 비회원 주문 조회 비밀번호 (비회원만 필수, 8자 이상 · 해시로 저장) | | guest_lookup_password_confirmation | body | string | 예 | — | 조회 비밀번호 확인 (guest_lookup_password 와 일치해야 함) | @@ -1661,6 +1673,10 @@ Content-Type: application/json "shipping_memo": "예시값", "depositor_name": "예시 이름", "save_shipping_address": true, + "cash_receipt_requested": true, + "cash_receipt_type": "예시값", + "cash_receipt_identifier_type": "example-key", + "cash_receipt_identifier": "example-key", "guest_lookup_password": "Password123!", "guest_lookup_password_confirmation": "Password123!" } diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/settings.md b/modules/_bundled/sirsoft-ecommerce/docs/api/settings.md index cc91cde7..83dd37b3 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/settings.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/settings.md @@ -42,9 +42,9 @@ _단건 응답: `data` 객체의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | -| basic_info | object | `{"shop_name":"111","route_path":"shop","no_route":false,"…` | 쇼핑몰 기본 정보 (쇼핑몰명·라우트 경로·상호·사업자번호·주소·연락처·이메일 등) | -| language_currency | object | `{"default_currency":"JPY","currencies":[{"code":"KRW","na…` | 통화 설정 (기본 통화 + 등록 통화 목록: 코드·다국어명·환율·기호·국기·반올림 규칙) | -| order_settings | object | `{"default_pg_provider":null,"payment_methods":[{"id":"car…` | 주문/결제 설정 (기본 PG·병합된 결제수단·은행/무통장 계좌·자동취소·장바구니 만료 등) | +| basic_info | object | `{"shop_name":"","route_path":"shop","no_route":false,"com…` | 쇼핑몰 기본 정보 (쇼핑몰명·라우트 경로·상호·사업자번호·주소·연락처·이메일 등) | +| language_currency | object | `{"default_currency":"KRW","currencies":[{"code":"KRW","na…` | 통화 설정 (기본 통화 + 등록 통화 목록: 코드·다국어명·환율·기호·국기·반올림 규칙) | +| order_settings | object | `{"default_pg_provider":null,"cash_receipt_provider":"toss…` | 주문/결제 설정 (기본 PG·병합된 결제수단·은행/무통장 계좌·자동취소·장바구니 만료·현금영수증 발급 제공자·자진발급·배송비 과세 방식 등) | | shipping | object | `{"default_country":"KR","available_countries":[{"code":"K…` | 배송 설정 (기본 국가·배송 가능 국가·무료배송·DB 관리 배송사(carriers)·배송유형(types)·계산 API 후보 필드 포함) | | seo | object | `{"meta_category_title":"{commerce_name} - {category_name}…` | SEO 메타 설정 (카테고리·검색·상품·쇼핑몰 인덱스별 메타 타이틀/설명 및 SEO 활성 토글) | | review_settings | object | `{"write_deadline_days":90,"max_images":5,"max_image_size_…` | 리뷰 정책 (작성 기한일·이미지 최대 개수·이미지 최대 용량 MB) | @@ -53,6 +53,7 @@ _단건 응답: `data` 객체의 필드._ | mileage | object | `{"enabled":false,"default_earn_rate":1,"earn_trigger":"co…` | 마일리지 설정 (사용 여부·기본 적립률·적립 트리거·통화별 규칙·소멸/소멸 알림·실제 활성 알림 채널 포함) | | claim | object | `{"refund_reasons":[{"id":1,"type":"refund","code":"order_…` | 클레임 설정 (DB 관리 대상인 환불 사유 목록: 코드·다국어명·귀책 유형·노출/활성 여부) | | available_pg_providers | array | `[{"id":"kginicis","name_key":"sirsoft-pay_kginicis::provi…` | 설치된 PG 플러그인이 훅으로 등록한 PG 제공자 목록 (id·name_key·지원 결제수단) | +| available_cash_receipt_providers | array | `[]` | 설치된 플러그인이 훅으로 등록한 현금영수증 발급 제공자 목록 (id·name_key — 미등록 시 빈 배열이며 신청 폼이 노출되지 않음) | | abilities | object | `{"can_update":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (can_update, can_delete 등 — 권한 맵 기반) | | _meta | object | `{"limits":{"auto_cancel_days_min":1,"auto_cancel_days_max…` | | @@ -481,9 +482,9 @@ _단건 응답: `data` 객체의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | -| basic_info | object | `{"shop_name":"111","route_path":"shop","no_route":false,"…` | 쇼핑몰 기본 정보 (쇼핑몰명·라우트 경로·상호·사업자번호·주소·연락처·이메일 등) | -| language_currency | object | `{"default_currency":"JPY","currencies":[{"code":"KRW","na…` | 통화 설정 (기본 통화 + 등록 통화 목록: 코드·다국어명·환율·기호·국기·반올림 규칙) | -| order_settings | object | `{"default_pg_provider":null,"payment_methods":[{"id":"car…` | 주문/결제 설정 (기본 PG·병합된 결제수단·은행/무통장 계좌·자동취소·장바구니 만료 등) | +| basic_info | object | `{"shop_name":"","route_path":"shop","no_route":false,"com…` | 쇼핑몰 기본 정보 (쇼핑몰명·라우트 경로·상호·사업자번호·주소·연락처·이메일 등) | +| language_currency | object | `{"default_currency":"KRW","currencies":[{"code":"KRW","na…` | 통화 설정 (기본 통화 + 등록 통화 목록: 코드·다국어명·환율·기호·국기·반올림 규칙) | +| order_settings | object | `{"default_pg_provider":null,"cash_receipt_provider":"toss…` | 주문/결제 설정 (기본 PG·병합된 결제수단·은행/무통장 계좌·자동취소·장바구니 만료·현금영수증 발급 제공자·자진발급·배송비 과세 방식 등) | | shipping | object | `{"default_country":"KR","available_countries":[{"code":"K…` | 배송 설정 (기본 국가·배송 가능 국가·무료배송·DB 관리 배송사(carriers)·배송유형(types)·계산 API 후보 필드 포함) | | seo | object | `{"meta_category_title":"{commerce_name} - {category_name}…` | SEO 메타 설정 (카테고리·검색·상품·쇼핑몰 인덱스별 메타 타이틀/설명 및 SEO 활성 토글) | | review_settings | object | `{"write_deadline_days":90,"max_images":5,"max_image_size_…` | 리뷰 정책 (작성 기한일·이미지 최대 개수·이미지 최대 용량 MB) | @@ -492,6 +493,7 @@ _단건 응답: `data` 객체의 필드._ | mileage | object | `{"enabled":false,"default_earn_rate":1,"earn_trigger":"co…` | 마일리지 설정 (사용 여부·기본 적립률·적립 트리거·통화별 규칙·소멸/소멸 알림·실제 활성 알림 채널 포함) | | claim | object | `{"refund_reasons":[{"id":1,"type":"refund","code":"order_…` | 클레임 설정 (DB 관리 대상인 환불 사유 목록: 코드·다국어명·귀책 유형·노출/활성 여부) | | available_pg_providers | array | `[{"id":"kginicis","name_key":"sirsoft-pay_kginicis::provi…` | 설치된 PG 플러그인이 훅으로 등록한 PG 제공자 목록 (id·name_key·지원 결제수단) | +| available_cash_receipt_providers | array | `[]` | 설치된 플러그인이 훅으로 등록한 현금영수증 발급 제공자 목록 (id·name_key — 미등록 시 빈 배열이며 신청 폼이 노출되지 않음) | **응답 예시** @@ -896,9 +898,9 @@ _단건 응답: `data` 객체의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | -| basic_info | object | `{"shop_name":"111","route_path":"shop","no_route":false,"…` | 쇼핑몰 기본 정보 (쇼핑몰명·라우트 경로·상호·사업자번호·주소·연락처·이메일 등) | -| language_currency | object | `{"default_currency":"JPY","currencies":[{"code":"KRW","na…` | 통화 설정 (기본 통화 + 등록 통화 목록: 코드·다국어명·환율·기호·국기·반올림 규칙) | -| order_settings | object | `{"default_pg_provider":null,"payment_methods":[{"id":"car…` | 주문/결제 설정 (기본 PG·병합된 결제수단·은행/무통장 계좌·자동취소·장바구니 만료 등) | +| basic_info | object | `{"shop_name":"","route_path":"shop","no_route":false,"com…` | 쇼핑몰 기본 정보 (쇼핑몰명·라우트 경로·상호·사업자번호·주소·연락처·이메일 등) | +| language_currency | object | `{"default_currency":"KRW","currencies":[{"code":"KRW","na…` | 통화 설정 (기본 통화 + 등록 통화 목록: 코드·다국어명·환율·기호·국기·반올림 규칙) | +| order_settings | object | `{"default_pg_provider":null,"cash_receipt_provider":"toss…` | 주문/결제 설정 (기본 PG·병합된 결제수단·은행/무통장 계좌·자동취소·장바구니 만료·현금영수증 발급 제공자·자진발급·배송비 과세 방식 등) | | shipping | object | `{"default_country":"KR","available_countries":[{"code":"K…` | 배송 설정 (기본 국가·배송 가능 국가·무료배송·DB 관리 배송사(carriers)·배송유형(types)·계산 API 후보 필드 포함) | | seo | object | `{"meta_category_title":"{commerce_name} - {category_name}…` | SEO 메타 설정 (카테고리·검색·상품·쇼핑몰 인덱스별 메타 타이틀/설명 및 SEO 활성 토글) | | review_settings | object | `{"write_deadline_days":90,"max_images":5,"max_image_size_…` | 리뷰 정책 (작성 기한일·이미지 최대 개수·이미지 최대 용량 MB) | @@ -1301,7 +1303,7 @@ _단건 응답: `data` 객체의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | | shipping | object | `{"default_country":"KR","available_countries":[{"code":"K…` | 체크아웃용 배송 설정 (기본 국가·배송 가능 국가·무료배송·배송유형 등) | -| order_settings | object | `{"default_pg_provider":null,"payment_methods":[{"id":"car…` | 체크아웃용 주문/결제 설정 (기본 PG·활성 결제수단·무통장 계좌 등) | +| order_settings | object | `{"default_pg_provider":null,"cash_receipt_provider":"toss…` | 체크아웃용 주문/결제 설정 (기본 PG·활성 결제수단·무통장 계좌 등) | **응답 예시** @@ -1434,7 +1436,7 @@ _단건 응답: `data` 객체의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | -| order_settings | object | `{"default_pg_provider":null,"payment_methods":[{"id":"car…` | 공개 가능한 결제 설정 (활성 결제수단·무통장 은행명 매핑 포함, 민감 정보 제외) | +| order_settings | object | `{"default_pg_provider":null,"cash_receipt_provider":"toss…` | 공개 가능한 결제 설정 (활성 결제수단·무통장 은행명 매핑 포함, 민감 정보 제외) | **응답 예시** diff --git a/modules/_bundled/sirsoft-ecommerce/resources/extensions/checkout_cash_receipt.json b/modules/_bundled/sirsoft-ecommerce/resources/extensions/checkout_cash_receipt.json new file mode 100644 index 00000000..6e5fc09c --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/resources/extensions/checkout_cash_receipt.json @@ -0,0 +1,269 @@ +{ + "_comment": "체크아웃 현금영수증 신청 폼 (W-1 / #454). 템플릿 sirsoft-basic 의 _checkout_payment.json 이 dbank 블록 내부 말단에 연 슬롯에 주입한다. 슬롯이 무통장 블록 안이므로 결제수단 게이트는 불필요하고, 프로바이더 미설정 시에만 전체를 숨긴다. 발급 프로바이더는 PG 플러그인이 담당하지만 신청 폼은 PG 비종속이라 모듈이 소유한다 — 플러그인이 주입하면 두 PG 동시 활성 시 폼이 2개 렌더된다.", + "extension_point": "shop_checkout_cash_receipt_slot", + "mode": "append", + "priority": 100, + "components": [ + { + "id": "ext_checkout_cash_receipt", + "comment": "프로바이더 미설정이면 슬롯 전체 미렌더 (M2 — DOM 카운트 0)", + "type": "basic", + "name": "Div", + "if": "{{!!paymentSettings?.data?.order_settings?.cash_receipt_provider}}", + "props": { "className": "mt-4 pt-4 border-t border-gray-200 dark:border-gray-600" }, + "responsive": { + "portable": { + "props": { "className": "mt-3 pt-3 border-t border-gray-200 dark:border-gray-600" } + } + }, + "children": [ + { + "comment": "신청 체크박스 — 해제 시 하위 3필드를 if 로 숨기고 확장 칸을 비운다", + "type": "basic", + "name": "Div", + "props": { "className": "flex items-center gap-2" }, + "children": [ + { + "id": "ext_checkout_cash_receipt_toggle", + "type": "basic", + "name": "Input", + "props": { + "type": "checkbox", + "name": "cash_receipt_requested", + "checked": "{{_local.cashReceiptRequested ?? false}}", + "className": "w-4 h-4 rounded border-gray-300 dark:border-gray-600 text-blue-600 focus:ring-blue-500" + }, + "actions": [ + { + "comment": "체크 시 기본값(소득공제 × 휴대폰번호)으로 확장 칸을 시드하고, 해제 시 확장 칸을 비워 주문 payload 에서 제거한다.", + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "cashReceiptRequested": "{{$event.target.checked}}", + "cashReceiptType": "{{$event.target.checked ? (_local.cashReceiptType ?? 'income') : null}}", + "cashReceiptIdentifierType": "{{$event.target.checked ? (_local.cashReceiptIdentifierType ?? 'phone') : null}}", + "cashReceiptIdentifier": "{{$event.target.checked ? (_local.cashReceiptIdentifier ?? '') : null}}", + "checkoutExtraPayload": "{{$event.target.checked ? { cash_receipt_requested: true, cash_receipt_type: (_local.cashReceiptType ?? 'income'), cash_receipt_identifier_type: (_local.cashReceiptIdentifierType ?? 'phone'), cash_receipt_identifier: (_local.cashReceiptIdentifier ?? '') } : {}}}" + } + } + ] + }, + { + "type": "basic", + "name": "Label", + "props": { "className": "text-sm font-medium text-gray-700 dark:text-gray-300" }, + "text": "$t:sirsoft-ecommerce.checkout.cash_receipt.request" + } + ] + }, + { + "id": "ext_checkout_cash_receipt_fields", + "comment": "신청 시에만 렌더 (M4 — 클릭 전후 필드 수 0 → 3)", + "type": "basic", + "name": "Div", + "if": "{{!!_local.cashReceiptRequested}}", + "props": { "className": "mt-3 space-y-3" }, + "children": [ + { + "comment": "용도 — 라디오 2종 (가로 → portable 세로 스택)", + "type": "basic", + "name": "Div", + "children": [ + { + "type": "basic", + "name": "Label", + "props": { "className": "block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1" }, + "text": "$t:sirsoft-ecommerce.checkout.cash_receipt.purpose" + }, + { + "id": "ext_checkout_cash_receipt_purpose", + "type": "basic", + "name": "Div", + "props": { "className": "flex flex-row gap-4" }, + "responsive": { + "portable": { + "props": { "className": "flex flex-col gap-2" } + } + }, + "children": [ + { + "comment": "소득공제용", + "type": "basic", + "name": "Label", + "props": { "className": "flex items-center gap-2 text-sm text-gray-700 dark:text-gray-300" }, + "children": [ + { + "type": "basic", + "name": "Input", + "props": { + "type": "radio", + "name": "cash_receipt_type", + "value": "income", + "checked": "{{(_local.cashReceiptType ?? 'income') === 'income'}}", + "className": "w-4 h-4 border-gray-300 dark:border-gray-600 text-blue-600 focus:ring-blue-500" + }, + "actions": [ + { + "comment": "소득공제로 전환 — 사업자등록번호는 소득공제에 쓸 수 없으므로 발급수단이 business 면 phone 으로 리셋 (M5)", + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "cashReceiptType": "income", + "cashReceiptIdentifierType": "{{_local.cashReceiptIdentifierType === 'business' ? 'phone' : (_local.cashReceiptIdentifierType ?? 'phone')}}", + "cashReceiptIdentifier": "{{_local.cashReceiptIdentifierType === 'business' ? '' : (_local.cashReceiptIdentifier ?? '')}}", + "checkoutExtraPayload": "{{ { cash_receipt_requested: true, cash_receipt_type: 'income', cash_receipt_identifier_type: (_local.cashReceiptIdentifierType === 'business' ? 'phone' : (_local.cashReceiptIdentifierType ?? 'phone')), cash_receipt_identifier: (_local.cashReceiptIdentifierType === 'business' ? '' : (_local.cashReceiptIdentifier ?? '')) } }}" + } + } + ] + }, + { + "type": "basic", + "name": "Span", + "text": "$t:sirsoft-ecommerce.checkout.cash_receipt.purpose_income" + } + ] + }, + { + "comment": "지출증빙용", + "type": "basic", + "name": "Label", + "props": { "className": "flex items-center gap-2 text-sm text-gray-700 dark:text-gray-300" }, + "children": [ + { + "type": "basic", + "name": "Input", + "props": { + "type": "radio", + "name": "cash_receipt_type", + "value": "expense", + "checked": "{{_local.cashReceiptType === 'expense'}}", + "className": "w-4 h-4 border-gray-300 dark:border-gray-600 text-blue-600 focus:ring-blue-500" + }, + "actions": [ + { + "comment": "지출증빙으로 전환 — 발급수단 3종이 모두 유효하므로 현재 선택을 유지한다 (D10: 휴대폰도 지출증빙 가능)", + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "cashReceiptType": "expense", + "checkoutExtraPayload": "{{ { cash_receipt_requested: true, cash_receipt_type: 'expense', cash_receipt_identifier_type: (_local.cashReceiptIdentifierType ?? 'phone'), cash_receipt_identifier: (_local.cashReceiptIdentifier ?? '') } }}" + } + } + ] + }, + { + "type": "basic", + "name": "Span", + "text": "$t:sirsoft-ecommerce.checkout.cash_receipt.purpose_expense" + } + ] + } + ] + } + ] + }, + { + "comment": "발급수단 / 번호 — 2열 → portable 1열", + "id": "ext_checkout_cash_receipt_identifier_row", + "type": "basic", + "name": "Div", + "props": { "className": "grid grid-cols-2 gap-3" }, + "responsive": { + "portable": { + "props": { "className": "grid grid-cols-1 gap-3" } + } + }, + "children": [ + { + "id": "ext_checkout_cash_receipt_identifier_type", + "comment": "발급수단 options — 소득공제는 2종, 지출증빙은 사업자등록번호 포함 3종 (D10). computed 대신 표현식으로 {value,label} 변환 (valueKey/labelKey prop 금지).", + "type": "basic", + "name": "Select", + "props": { + "name": "cash_receipt_identifier_type", + "value": "{{_local.cashReceiptIdentifierType ?? 'phone'}}", + "options": "{{(_local.cashReceiptType === 'expense' ? [{ value: 'business', label: $t('sirsoft-ecommerce.checkout.cash_receipt.identifier_business') }] : []).concat([{ value: 'phone', label: $t('sirsoft-ecommerce.checkout.cash_receipt.identifier_phone') }, { value: 'card', label: $t('sirsoft-ecommerce.checkout.cash_receipt.identifier_card') }])}}", + "className": "w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-white focus:ring-2 focus:ring-blue-500" + }, + "responsive": { + "portable": { + "props": { + "className": "w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-white focus:ring-2 focus:ring-blue-500 text-sm" + } + } + }, + "actions": [ + { + "comment": "발급수단 변경 시 번호를 비운다 — 휴대폰번호를 사업자등록번호 칸에 남겨두면 검증에서 422 가 난다.", + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "cashReceiptIdentifierType": "{{$event.target.value}}", + "cashReceiptIdentifier": "", + "checkoutExtraPayload": "{{ { cash_receipt_requested: true, cash_receipt_type: (_local.cashReceiptType ?? 'income'), cash_receipt_identifier_type: $event.target.value, cash_receipt_identifier: '' } }}" + } + } + ] + }, + { + "id": "ext_checkout_cash_receipt_identifier", + "type": "basic", + "name": "Input", + "props": { + "type": "text", + "name": "cash_receipt_identifier", + "value": "{{_local.cashReceiptIdentifier ?? ''}}", + "placeholder": "$t:sirsoft-ecommerce.checkout.cash_receipt.identifier_placeholder", + "className": "{{_local.errors?.cash_receipt_identifier ? 'w-full px-4 py-2 border-2 border-red-500 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-white focus:ring-2 focus:ring-red-500' : 'w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-white focus:ring-2 focus:ring-blue-500'}}" + }, + "responsive": { + "portable": { + "props": { + "className": "{{_local.errors?.cash_receipt_identifier ? 'w-full px-3 py-2 border-2 border-red-500 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-white focus:ring-2 focus:ring-red-500 text-sm' : 'w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-white focus:ring-2 focus:ring-blue-500 text-sm'}}" + } + } + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "cashReceiptIdentifier": "{{$event.target.value}}", + "checkoutExtraPayload": "{{ { cash_receipt_requested: true, cash_receipt_type: (_local.cashReceiptType ?? 'income'), cash_receipt_identifier_type: (_local.cashReceiptIdentifierType ?? 'phone'), cash_receipt_identifier: $event.target.value } }}" + } + } + ] + } + ] + }, + { + "comment": "서버 검증 오류 인라인 노출 (M6 — 사업자번호 체크섬 오류 등)", + "type": "basic", + "name": "Span", + "if": "{{!!_local.errors?.cash_receipt_identifier}}", + "props": { "className": "block text-red-500 text-xs" }, + "text": "{{_local.errors?.cash_receipt_identifier?.[0] ?? ''}}" + }, + { + "type": "basic", + "name": "P", + "props": { "className": "text-xs text-gray-500 dark:text-gray-400" }, + "text": "$t:sirsoft-ecommerce.checkout.cash_receipt.purpose_help" + }, + { + "type": "basic", + "name": "P", + "props": { "className": "text-xs text-gray-500 dark:text-gray-400" }, + "text": "$t:sirsoft-ecommerce.checkout.cash_receipt.immutable_help" + } + ] + } + ] + } + ] +} diff --git a/modules/_bundled/sirsoft-ecommerce/resources/extensions/mypage_order_cash_receipt.json b/modules/_bundled/sirsoft-ecommerce/resources/extensions/mypage_order_cash_receipt.json new file mode 100644 index 00000000..d932977b --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/resources/extensions/mypage_order_cash_receipt.json @@ -0,0 +1,470 @@ +{ + "_comment": "유저 주문상세 현금영수증 카드 (W-2 / #454). 템플릿 sirsoft-basic 의 partials/mypage/orders/_payment.json 말단 슬롯에 주입한다. 상태머신 5종: ①무통장 아님/프로바이더 미설정→미렌더 ②입금전→안내 ③입금완료+미발급→발급 버튼 ④발급완료→링크 ⑤재발급 실패→경고(유저에겐 수동 재발급 버튼을 주지 않는다 — 관리자 전용). 발급 POST 는 로드된 주문의 실제 id(order.data.id)를 쓴다.", + "extension_point": "mypage_order_cash_receipt_slot", + "mode": "append", + "priority": 100, + "modals": [ + { + "id": "ext_cash_receipt_issue_modal", + "comment": "발급 모달 — 상태 ③에서 열린다. 모달은 별도 컨텍스트라 부모 _local 을 참조할 수 없으므로 데이터소스(order)와 _global 만 쓴다.", + "type": "composite", + "name": "Modal", + "props": { + "title": "$t:sirsoft-ecommerce.order.cash_receipt.issue_title", + "size": "small" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { "className": "space-y-4" }, + "children": [ + { + "comment": "용도", + "type": "basic", + "name": "Div", + "children": [ + { + "type": "basic", + "name": "Label", + "props": { "className": "block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1" }, + "text": "$t:sirsoft-ecommerce.order.cash_receipt.purpose" + }, + { + "type": "basic", + "name": "Div", + "props": { "className": "flex flex-row gap-4" }, + "responsive": { + "portable": { "props": { "className": "flex flex-col gap-2" } } + }, + "children": [ + { + "type": "basic", + "name": "Label", + "props": { "className": "flex items-center gap-2 text-sm text-gray-700 dark:text-gray-300" }, + "children": [ + { + "type": "basic", + "name": "Input", + "props": { + "type": "radio", + "name": "receipt_type", + "value": "income", + "checked": "{{(_global.cashReceiptForm?.receipt_type ?? 'income') === 'income'}}", + "className": "w-4 h-4 border-gray-300 dark:border-gray-600 text-blue-600 focus:ring-blue-500" + }, + "actions": [ + { + "comment": "소득공제 전환 시 사업자등록번호 선택을 phone 으로 리셋 (소득공제에 사용 불가)", + "type": "change", + "handler": "setState", + "params": { + "target": "global", + "cashReceiptForm.receipt_type": "income", + "cashReceiptForm.identifier_type": "{{_global.cashReceiptForm?.identifier_type === 'business' ? 'phone' : (_global.cashReceiptForm?.identifier_type ?? 'phone')}}", + "cashReceiptForm.identifier": "{{_global.cashReceiptForm?.identifier_type === 'business' ? '' : (_global.cashReceiptForm?.identifier ?? '')}}" + } + } + ] + }, + { "type": "basic", "name": "Span", "text": "$t:sirsoft-ecommerce.order.cash_receipt.purpose_income" } + ] + }, + { + "type": "basic", + "name": "Label", + "props": { "className": "flex items-center gap-2 text-sm text-gray-700 dark:text-gray-300" }, + "children": [ + { + "type": "basic", + "name": "Input", + "props": { + "type": "radio", + "name": "receipt_type", + "value": "expense", + "checked": "{{_global.cashReceiptForm?.receipt_type === 'expense'}}", + "className": "w-4 h-4 border-gray-300 dark:border-gray-600 text-blue-600 focus:ring-blue-500" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { "target": "global", "cashReceiptForm.receipt_type": "expense" } + } + ] + }, + { "type": "basic", "name": "Span", "text": "$t:sirsoft-ecommerce.order.cash_receipt.purpose_expense" } + ] + } + ] + } + ] + }, + { + "comment": "발급수단 — 지출증빙일 때만 사업자등록번호 추가 (D10)", + "type": "basic", + "name": "Div", + "children": [ + { + "type": "basic", + "name": "Label", + "props": { "className": "block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1" }, + "text": "$t:sirsoft-ecommerce.order.cash_receipt.identifier_type" + }, + { + "type": "basic", + "name": "Select", + "props": { + "name": "identifier_type", + "value": "{{_global.cashReceiptForm?.identifier_type ?? 'phone'}}", + "options": "{{(_global.cashReceiptForm?.receipt_type === 'expense' ? [{ value: 'business', label: $t('sirsoft-ecommerce.order.cash_receipt.identifier_business') }] : []).concat([{ value: 'phone', label: $t('sirsoft-ecommerce.order.cash_receipt.identifier_phone') }, { value: 'card', label: $t('sirsoft-ecommerce.order.cash_receipt.identifier_card') }])}}", + "className": "w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-white focus:ring-2 focus:ring-blue-500" + }, + "actions": [ + { + "comment": "발급수단 변경 시 번호를 비운다 (형식이 달라 검증 실패를 유발)", + "type": "change", + "handler": "setState", + "params": { + "target": "global", + "cashReceiptForm.identifier_type": "{{$event.target.value}}", + "cashReceiptForm.identifier": "" + } + } + ] + } + ] + }, + { + "comment": "번호", + "type": "basic", + "name": "Div", + "children": [ + { + "type": "basic", + "name": "Label", + "props": { "className": "block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1" }, + "text": "$t:sirsoft-ecommerce.order.cash_receipt.identifier" + }, + { + "type": "basic", + "name": "Input", + "props": { + "type": "text", + "name": "identifier", + "value": "{{_global.cashReceiptForm?.identifier ?? ''}}", + "placeholder": "$t:sirsoft-ecommerce.order.cash_receipt.identifier_placeholder", + "className": "w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-white focus:ring-2 focus:ring-blue-500" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { "target": "global", "cashReceiptForm.identifier": "{{$event.target.value}}" } + } + ] + }, + { + "type": "basic", + "name": "Span", + "if": "{{!!_global.cashReceiptForm?.error}}", + "props": { "className": "block text-red-500 text-xs mt-1" }, + "text": "{{_global.cashReceiptForm?.error ?? ''}}" + } + ] + }, + { + "type": "basic", + "name": "P", + "props": { "className": "text-xs text-gray-500 dark:text-gray-400" }, + "text": "$t:sirsoft-ecommerce.order.cash_receipt.immutable_help" + }, + { + "comment": "액션 — 데스크톱 가로 우측정렬, portable 세로 full-width", + "type": "basic", + "name": "Div", + "props": { "className": "flex flex-row justify-end gap-2 pt-2" }, + "responsive": { + "portable": { "props": { "className": "flex flex-col gap-2 w-full pt-2" } } + }, + "children": [ + { + "type": "basic", + "name": "Button", + "props": { + "type": "button", + "className": "px-4 py-2 text-sm rounded-lg border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700" + }, + "text": "$t:sirsoft-ecommerce.order.cash_receipt.cancel", + "actions": [{ "type": "click", "handler": "closeModal" }] + }, + { + "id": "ext_cash_receipt_issue_submit", + "type": "basic", + "name": "Button", + "props": { + "type": "button", + "className": "px-4 py-2 text-sm rounded-lg bg-blue-600 hover:bg-blue-700 text-white disabled:opacity-50 disabled:cursor-not-allowed", + "disabled": "{{!(_global.cashReceiptForm?.identifier ?? '')}}" + }, + "text": "$t:sirsoft-ecommerce.order.cash_receipt.issue", + "actions": [ + { + "comment": "회원은 user/orders/{id}, 비회원은 guest/orders/{orderNumber} + X-Guest-Order-Token. 주문 응답의 실제 id 를 쓴다(라우트 파라미터가 주문번호일 수 있으므로).", + "type": "click", + "handler": "apiCall", + "target": "{{_global.currentUser?.uuid ? ('/api/modules/sirsoft-ecommerce/user/orders/' + order.data.id + '/cash-receipt') : ('/api/modules/sirsoft-ecommerce/guest/orders/' + order.data.order_number + '/cash-receipt')}}", + "auth_mode": "optional", + "params": { + "method": "POST", + "headers": { "X-Guest-Order-Token": "{{_global.guestOrderToken ?? ''}}" }, + "body": { + "receipt_type": "{{_global.cashReceiptForm?.receipt_type ?? 'income'}}", + "identifier_type": "{{_global.cashReceiptForm?.identifier_type ?? 'phone'}}", + "identifier": "{{_global.cashReceiptForm?.identifier ?? ''}}" + } + }, + "onSuccess": [ + { "handler": "setState", "params": { "target": "global", "cashReceiptForm": null } }, + { "handler": "closeModal" }, + { "handler": "refetchDataSource", "params": { "dataSourceId": "order" } }, + { "handler": "toast", "params": { "type": "success", "message": "$t:sirsoft-ecommerce.order.cash_receipt.issue_success" } } + ], + "onError": [ + { + "comment": "서버 검증 메시지를 그대로 노출한다 (사업자번호 체크섬·용도×수단 조합 등)", + "handler": "setState", + "params": { + "target": "global", + "cashReceiptForm.error": "{{error.errors?.identifier?.[0] ?? error.message ?? $t('sirsoft-ecommerce.order.cash_receipt.issue_failed')}}" + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "components": [ + { + "id": "ext_mypage_cash_receipt_card", + "comment": "상태 ① — 무통장이 아니거나 프로바이더 미설정이면 카드 자체를 렌더하지 않는다", + "type": "basic", + "name": "Div", + "if": "{{order.data.payment?.payment_method === 'dbank' && !!order.data.payment?.cash_receipt_provider}}", + "props": { "className": "mt-4 pt-4 border-t border-gray-200 dark:border-gray-700" }, + "responsive": { + "portable": { "props": { "className": "mt-3 pt-3 border-t border-gray-200 dark:border-gray-700" } } + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { "className": "flex items-center gap-2 mb-2" }, + "children": [ + { + "type": "basic", + "name": "Icon", + "props": { "name": "receipt", "size": "sm", "className": "text-gray-700 dark:text-gray-300" } + }, + { + "type": "basic", + "name": "H4", + "props": { "className": "text-sm font-semibold text-gray-900 dark:text-white" }, + "text": "$t:sirsoft-ecommerce.order.cash_receipt.title" + } + ] + }, + { + "id": "ext_mypage_cash_receipt_awaiting", + "comment": "상태 ② 입금 전 — 발급 불가 안내 + 신청내역(신청했을 때만). 입금 전 상태는 두 가지다: 무통장 주문은 ready 로 생성되고 가상계좌는 waiting_deposit 이다 (PaymentStatusEnum::isAwaitingDeposit() 이 둘 다 true). waiting_deposit 만 검사하면 무통장 주문 전부에서 카드 본문이 사라진다.", + "type": "basic", + "name": "Div", + "if": "{{['ready', 'waiting_deposit'].includes(order.data.payment?.payment_status)}}", + "props": { "className": "space-y-1" }, + "children": [ + { + "type": "basic", + "name": "P", + "props": { "className": "text-sm text-gray-500 dark:text-gray-400" }, + "text": "$t:sirsoft-ecommerce.order.cash_receipt.awaiting_deposit" + }, + { + "type": "basic", + "name": "P", + "if": "{{!!order.data.payment?.is_cash_receipt_requested}}", + "props": { "className": "text-sm text-gray-700 dark:text-gray-300" }, + "text": "{{order.data.payment?.cash_receipt_type_label ?? ''}} · {{order.data.payment?.cash_receipt_identifier ?? ''}}" + } + ] + }, + { + "id": "ext_mypage_cash_receipt_issuable", + "comment": "상태 ③ 입금완료 + 미발급 — 발급 버튼. 재발급 실패 이력이 있으면 상태 ⑤(경고)가 담당하므로 여기서 제외한다(두 상태는 배타적이어야 한다).", + "type": "basic", + "name": "Div", + "if": "{{order.data.payment?.payment_status === 'paid' && !order.data.cash_receipt && String((order.data.cash_receipts ?? [])[0]?.issue_status ?? '').toLowerCase() !== 'failed'}}", + "props": { "className": "flex flex-row items-center justify-between gap-2" }, + "responsive": { + "portable": { "props": { "className": "flex flex-col items-start gap-2 w-full" } } + }, + "children": [ + { + "type": "basic", + "name": "P", + "props": { "className": "text-sm text-gray-500 dark:text-gray-400" }, + "text": "$t:sirsoft-ecommerce.order.cash_receipt.none" + }, + { + "id": "ext_mypage_cash_receipt_issue_button", + "type": "basic", + "name": "Button", + "props": { + "type": "button", + "className": "px-3 py-1.5 text-sm rounded-lg bg-blue-600 hover:bg-blue-700 text-white" + }, + "responsive": { + "portable": { + "props": { + "type": "button", + "className": "w-full px-3 py-2 text-sm rounded-lg bg-blue-600 hover:bg-blue-700 text-white" + } + } + }, + "text": "$t:sirsoft-ecommerce.order.cash_receipt.issue", + "actions": [ + { + "comment": "모달을 열기 전에 신청내역으로 폼을 시드한다 (미신청이면 기본값)", + "type": "click", + "handler": "sequence", + "params": { + "actions": [ + { + "handler": "setState", + "params": { + "target": "global", + "cashReceiptForm": "{{ { receipt_type: (order.data.payment?.cash_receipt_type ?? 'income'), identifier_type: (order.data.payment?.cash_receipt_identifier_type ?? 'phone'), identifier: '', error: null } }}" + } + }, + { "handler": "openModal", "target": "ext_cash_receipt_issue_modal" } + ] + } + } + ] + } + ] + }, + { + "id": "ext_mypage_cash_receipt_issued", + "comment": "상태 ④ 발급완료 — 발급일시/용도/식별번호 + 영수증 링크", + "type": "basic", + "name": "Div", + "if": "{{!!order.data.cash_receipt}}", + "props": { "className": "space-y-1" }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { "className": "flex items-center justify-between" }, + "children": [ + { "type": "basic", "name": "Span", "props": { "className": "text-sm text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-ecommerce.order.cash_receipt.issued_at" }, + { "type": "basic", "name": "Span", "props": { "className": "text-sm text-gray-900 dark:text-white" }, "text": "{{order.data.cash_receipt?.issued_at_formatted ?? ''}}" } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { "className": "flex items-center justify-between" }, + "children": [ + { "type": "basic", "name": "Span", "props": { "className": "text-sm text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-ecommerce.order.cash_receipt.purpose" }, + { "type": "basic", "name": "Span", "props": { "className": "text-sm text-gray-900 dark:text-white" }, "text": "{{order.data.cash_receipt?.receipt_type_label ?? ''}}" } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { "className": "flex items-center justify-between" }, + "children": [ + { "type": "basic", "name": "Span", "props": { "className": "text-sm text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-ecommerce.order.cash_receipt.identifier" }, + { "type": "basic", "name": "Span", "props": { "className": "text-sm text-gray-900 dark:text-white" }, "text": "{{order.data.cash_receipt?.identifier_masked ?? ''}}" } + ] + }, + { + "comment": "영수증 링크 — 이력 테이블 소유(payment.pg_receipt_url 은 카드 매출전표라 별개)", + "type": "basic", + "name": "Div", + "if": "{{!!order.data.cash_receipt?.receipt_url}}", + "props": { "className": "flex flex-row justify-end pt-2" }, + "responsive": { + "portable": { "props": { "className": "flex flex-col w-full pt-2" } } + }, + "children": [ + { + "id": "ext_mypage_cash_receipt_link", + "type": "basic", + "name": "A", + "props": { + "href": "{{order.data.cash_receipt?.receipt_url}}", + "target": "_blank", + "rel": "noopener noreferrer", + "className": "inline-flex items-center justify-center gap-1 px-3 py-1.5 text-sm rounded-lg border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700" + }, + "responsive": { + "portable": { + "props": { + "href": "{{order.data.cash_receipt?.receipt_url}}", + "target": "_blank", + "rel": "noopener noreferrer", + "className": "inline-flex w-full items-center justify-center gap-1 px-3 py-2 text-sm rounded-lg border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700" + } + } + }, + "text": "$t:sirsoft-ecommerce.order.cash_receipt.view_receipt" + } + ] + } + ] + }, + { + "id": "ext_mypage_cash_receipt_failed", + "comment": "상태 ⑤ 취소 성공 + 재발급 실패 — 유저에게는 경고만 노출한다(수동 재발급은 관리자 전용). issue_status backing value 는 대문자(FAILED)라 대소문자 무관 비교한다.", + "type": "basic", + "name": "Div", + "if": "{{!order.data.cash_receipt && (order.data.cash_receipts ?? []).length > 0 && String((order.data.cash_receipts ?? [])[0]?.issue_status ?? '').toLowerCase() === 'failed'}}", + "props": { "className": "rounded-lg bg-amber-50 dark:bg-amber-900/20 border border-amber-200 dark:border-amber-800 p-3 space-y-1" }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { "className": "flex items-center gap-2" }, + "children": [ + { + "type": "basic", + "name": "Icon", + "props": { "name": "triangle-exclamation", "size": "sm", "className": "text-amber-600 dark:text-amber-400" } + }, + { + "type": "basic", + "name": "Span", + "props": { "className": "text-sm font-medium text-amber-800 dark:text-amber-300" }, + "text": "$t:sirsoft-ecommerce.order.cash_receipt.reissue_failed" + } + ] + }, + { + "type": "basic", + "name": "P", + "props": { "className": "text-xs text-amber-700 dark:text-amber-400" }, + "text": "$t:sirsoft-ecommerce.order.cash_receipt.reissue_failed_help" + } + ] + } + ] + } + ] +} diff --git a/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/handlers/cancelOrderHandlers.test.ts b/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/handlers/cancelOrderHandlers.test.ts index 526e888a..62431478 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/handlers/cancelOrderHandlers.test.ts +++ b/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/handlers/cancelOrderHandlers.test.ts @@ -157,4 +157,45 @@ describe('executeCancelOrderHandler — 항상 items 전송 (백엔드 FULL 승 expect(body.cancel_pg).toBe(false); expect(body.refund_priority).toBe('points_first'); }); + + describe('환불 계좌 (#454 S3)', () => { + beforeEach(() => { + mockOrderDataSource = { + data: { options: [{ id: 100, quantity: 2, option_status: 'payment_complete' }] }, + }; + mockLocalState.cancelItems = [{ id: 100, quantity: 2, cancel_quantity: 1 }]; + }); + + it('미입력이면 refund_bank 키 자체를 보내지 않는다 (주문 시 입력된 계좌 보존)', async () => { + const body = await runCancel(); + + expect(body.refund_bank).toBeUndefined(); + }); + + it('3필드를 모두 입력하면 refund_bank 로 전송된다', async () => { + mockLocalState.refundBankCode = '004'; + mockLocalState.refundBankAccount = '110-123-456789'; + mockLocalState.refundBankHolder = '홍길동'; + + const body = await runCancel(); + + expect(body.refund_bank).toEqual({ + bank_code: '004', + account_number: '110-123-456789', + holder: '홍길동', + }); + }); + + it('부분 입력도 그대로 전송한다 — 거부 판정은 서버(CancelOrderRequest)의 책임이다', async () => { + mockLocalState.refundBankAccount = '110-123-456789'; + + const body = await runCancel(); + + expect(body.refund_bank).toEqual({ + bank_code: '', + account_number: '110-123-456789', + holder: '', + }); + }); + }); }); diff --git a/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/adminEcommerceSettingsOrder.test.tsx b/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/adminEcommerceSettingsOrder.test.tsx index 93bc1346..102ce34c 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/adminEcommerceSettingsOrder.test.tsx +++ b/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/adminEcommerceSettingsOrder.test.tsx @@ -133,8 +133,19 @@ describe('주문설정 탭 구조 검증 (_tab_order_settings.json)', () => { expect(tab.if).toContain('order_settings'); }); - it('8개 카드 섹션을 포함해야 한다 (기본 PG / 결제수단 / 계좌 / 자동취소 / 취소가능상태 / 확정가능상태 / 장바구니 / 재고)', () => { - expect(tab.children).toHaveLength(8); + it('카드 섹션이 정해진 순서로 배치된다', () => { + // 개수가 아니라 id 를 고정한다 — 카드가 추가·제거되면 어느 카드인지 바로 드러난다. + expect(tab.children.map((c: any) => c.id)).toEqual([ + 'default_pg_card', + 'cash_receipt_card', + 'payment_methods_card', + 'bank_accounts_card', + 'auto_cancel_card', + 'cancellable_statuses_card', + 'confirmable_statuses_card', + 'cart_expiry_card', + 'stock_management_card', + ]); }); }); diff --git a/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/cashReceiptResponsiveRender.test.tsx b/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/cashReceiptResponsiveRender.test.tsx new file mode 100644 index 00000000..36e9d84a --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/cashReceiptResponsiveRender.test.tsx @@ -0,0 +1,215 @@ +/** + * @file cashReceiptResponsiveRender.test.tsx + * @description 체크아웃 현금영수증 폼의 반응형 오버라이드 실렌더 검증 (#454 S3, F5) + * + * cashReceiptUi.test.tsx 는 node 환경(렌더 없음)이라 JSON 구조만 대조한다. + * 그래서 "responsive.portable 이 선언되어 있다" 까지만 알 수 있고, + * "좁은 화면에서 실제로 세로 스택으로 렌더된다" 는 확인하지 못한다. + * + * 본 파일은 DynamicRenderer 를 실제로 렌더해 그 간극을 메운다: + * - DynamicRenderer 는 useResponsive().width 를 읽어 responsiveManager.getMatchingKey 로 + * 오버라이드 키를 고른다(DynamicRenderer.tsx:1413, 1445). 그 width 를 mock 으로 주입한다. + * - portable 은 0~1023px 단일 오버라이드다(§6-0). 1024px 이상에서는 base 가 그대로 남아야 한다. + * + * 회귀 방지 대상: 누군가 responsive.portable 을 지우고 Tailwind `md:` 로 되돌리면 + * 위지윅 편집기의 디바이스 전환(overrideWidth)이 먹지 않는다 — 그때 이 테스트가 깨진다. + * + * 주의: 이 docblock 에 vitest 환경 지시자 토큰을 문자열로 적지 말 것. + * vitest 는 파일 상단 주석을 정규식으로 훑어 환경을 결정하므로, 산문 속 언급도 + * 그대로 적용되어 jsdom 대신 node 로 실행된다(그러면 window 부재로 수집 단계에서 죽는다). + * + * @scenario actor=guest, change_mode=manual + * + * @effects portable_override_applies_below_1024_on_render, + * portable_override_absent_at_1024_on_render, + * new_ui_has_no_tailwind_breakpoint + */ + +import React from 'react'; +import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; +import { cleanup } from '@testing-library/react'; +import { createLayoutTest } from '@core/template-engine/__tests__/utils/layoutTestUtils'; +import { ComponentRegistry } from '@core/template-engine/ComponentRegistry'; + +import extensionJson from '../../../extensions/checkout_cash_receipt.json'; + +/** 현재 테스트가 주입할 화면 너비 (아래 mock 이 읽는다) */ +let mockWidth = 1280; + +vi.mock('@core/template-engine/ResponsiveContext', () => ({ + ResponsiveContext: React.createContext(null), + ResponsiveProvider: ({ children }: { children?: React.ReactNode }) => children, + useResponsive: () => ({ + width: mockWidth, + isMobile: mockWidth < 768, + isTablet: mockWidth >= 768 && mockWidth < 1024, + isDesktop: mockWidth >= 1024, + matchedPreset: (mockWidth < 768 ? 'mobile' : mockWidth < 1024 ? 'tablet' : 'desktop') as + | 'mobile' + | 'tablet' + | 'desktop', + }), +})); + +/** id·className 을 그대로 DOM 에 흘리는 스텁 (검사 대상이 그 두 속성이다) */ +const Stub: React.FC> = ({ children, className, id, text }) => ( +
+ {children ?? text} +
+); + +/** + * ComponentRegistry 싱글톤을 스텁으로 채운다. + * + * Fragment 는 createLayoutTest 가 루트 컨테이너로 쓴다 — 빠뜨리면 자식 트리가 + * 통째로 렌더되지 않고 빈 컨테이너만 남는다. + */ +function setupTestRegistry(): void { + const registry = ComponentRegistry.getInstance(); + + (registry as any).registry = { + Div: { component: Stub, metadata: { name: 'Div', type: 'basic' } }, + Span: { component: Stub, metadata: { name: 'Span', type: 'basic' } }, + P: { component: Stub, metadata: { name: 'P', type: 'basic' } }, + Label: { component: Stub, metadata: { name: 'Label', type: 'basic' } }, + Input: { component: Stub, metadata: { name: 'Input', type: 'basic' } }, + Select: { component: Stub, metadata: { name: 'Select', type: 'basic' } }, + Fragment: { + component: ({ children }: { children?: React.ReactNode }) => <>{children}, + metadata: { name: 'Fragment', type: 'layout' }, + }, + }; +} + +/** 슬롯 컴포넌트 트리를 독립 레이아웃으로 감싼다 (확장 JSON 은 extension_point 채움용이다) */ +function layoutWithSlotComponents() { + return { + version: '1.0', + layout_name: 'test_checkout_cash_receipt', + data_sources: [], + components: JSON.parse(JSON.stringify((extensionJson as any).components)), + }; +} + +/** + * 루트 gate 가 읽는 paymentSettings 응답. + * + * 호스트 레이아웃(shop/checkout.json)이 선언하는 데이터소스라 슬롯 JSON 에는 없다. + * 반응형 검증이 목적이므로 fetch 를 태우지 않고 initialData 로 직접 주입한다. + */ +const PAYMENT_SETTINGS = { + data: { order_settings: { cash_receipt_provider: 'tosspayments' } }, +}; + +/** + * 신청 폼이 펼쳐진 상태로 렌더한다. + * + * 두 개의 gate 를 모두 열어야 검사 대상 노드가 마운트된다: + * - 루트: paymentSettings.data.order_settings.cash_receipt_provider 가 truthy + * - 입력 영역: _local.cashReceiptRequested 가 truthy + * + * @param width 주입할 화면 너비 (px) + */ +async function renderAtWidth(width: number) { + mockWidth = width; + setupTestRegistry(); + + const testUtils = createLayoutTest(layoutWithSlotComponents() as any, { + initialData: { paymentSettings: PAYMENT_SETTINGS }, + initialState: { + _local: { + paymentMethod: 'dbank', + cashReceiptRequested: true, + cashReceiptType: 'income', + cashReceiptIdentifierType: 'phone', + }, + }, + }); + + await testUtils.render(); + + // 두 gate 가 모두 열렸는지 확인한다. 트리가 비면 아래 검사들이 조용히 통과해 버린다. + expect( + document.getElementById('ext_checkout_cash_receipt_fields'), + '신청 폼이 펼쳐지지 않았다 — gate 조건이 바뀌었는지 확인할 것' + ).not.toBeNull(); + + return testUtils; +} + +/** + * 렌더된 노드의 클래스 목록을 반환한다. + * + * @param id 레이아웃 JSON 에 선언된 노드 id + * @return 클래스 토큰 배열 + */ +const classesOf = (id: string): string[] => { + const el = document.getElementById(id); + expect(el, `#${id} 가 렌더되지 않았다`).not.toBeNull(); + + return (el!.getAttribute('class') ?? '').split(/\s+/).filter(Boolean); +}; + +describe('현금영수증 신청 폼 — 반응형 실렌더 (F5)', () => { + beforeEach(() => { + mockWidth = 1280; + }); + + afterEach(() => { + cleanup(); + vi.clearAllMocks(); + }); + + it('데스크톱(1280px)에서는 용도 라디오가 가로 배치된다', async () => { + const t = await renderAtWidth(1280); + + const cls = classesOf('ext_checkout_cash_receipt_purpose'); + expect(cls).toContain('flex-row'); + expect(cls).not.toContain('flex-col'); + + t.cleanup(); + }); + + it('모바일(375px)에서는 용도 라디오가 세로 스택으로 바뀐다', async () => { + const t = await renderAtWidth(375); + + const cls = classesOf('ext_checkout_cash_receipt_purpose'); + expect(cls).toContain('flex-col'); + expect(cls).not.toContain('flex-row'); + + t.cleanup(); + }); + + it('모바일에서 발급수단·번호 입력행이 1열로 접힌다', async () => { + const t = await renderAtWidth(375); + + const cls = classesOf('ext_checkout_cash_receipt_identifier_row'); + expect(cls).toContain('grid-cols-1'); + expect(cls).not.toContain('grid-cols-2'); + + t.cleanup(); + }); + + it('태블릿(1023px)까지 portable 이 적용되고 1024px 부터 base 로 돌아온다', async () => { + // portable 은 0~1023px 단일 오버라이드 — 경계값을 양쪽에서 고정한다. + const tablet = await renderAtWidth(1023); + expect(classesOf('ext_checkout_cash_receipt_purpose')).toContain('flex-col'); + tablet.cleanup(); + cleanup(); + + const desktop = await renderAtWidth(1024); + expect(classesOf('ext_checkout_cash_receipt_purpose')).toContain('flex-row'); + desktop.cleanup(); + }); + + it('어떤 너비에서도 Tailwind 브레이크포인트 접두사를 쓰지 않는다 (§6-0)', async () => { + const t = await renderAtWidth(375); + + const rendered = document.body.innerHTML; + expect(rendered).not.toMatch(/\bmd:/); + expect(rendered).not.toMatch(/\blg:/); + expect(rendered).not.toMatch(/\bsm:/); + + t.cleanup(); + }); +}); diff --git a/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/cashReceiptUi.test.tsx b/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/cashReceiptUi.test.tsx new file mode 100644 index 00000000..bd2f5bbe --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/cashReceiptUi.test.tsx @@ -0,0 +1,588 @@ +/** + * 현금영수증 UI 구조·조건 검증 (#454 S3) + * + * @description + * 다섯 개 표면을 한 곳에서 고정한다: + * - W-1 체크아웃 신청 폼 (extension_point 주입) — 확장 병합 칸(_local.checkoutExtraPayload) 기입 + * - W-2 유저 주문상세 카드 (extension_point 주입) — 상태머신 5종 + * - W-3 관리자 주문상세 카드 + 발급 모달 + * - W-4 취소 모달 환불계좌 + * - W-5 환경설정 (프로바이더 / 배송비 과세 / 자진발급) + * + * 조건식은 문자열 매칭이 아니라 실제 엔진(evaluateStringCondition)으로 평가한다. + * + * @vitest-environment node + */ + +import { describe, it, expect } from 'vitest'; +import { DataBindingEngine } from '@core/template-engine/DataBindingEngine'; +import { evaluateStringCondition } from '@core/template-engine/helpers/ConditionEvaluator'; + +import checkoutExt from '../../../extensions/checkout_cash_receipt.json'; +import mypageExt from '../../../extensions/mypage_order_cash_receipt.json'; +import paymentInfo from '../../../layouts/admin/partials/admin_ecommerce_order_detail/_partial_payment_info.json'; +import issueModal from '../../../layouts/admin/partials/admin_ecommerce_order_detail/_modal_issue_cash_receipt.json'; +import cancelModal from '../../../layouts/admin/partials/admin_ecommerce_order_detail/_modal_cancel_order.json'; +import orderSettingsTab from '../../../layouts/admin/partials/admin_ecommerce_settings/_tab_order_settings.json'; + +const engine = new DataBindingEngine(); +const evalIf = (expr: string, ctx: Record) => evaluateStringCondition(expr, ctx, engine); + +/** 트리 전체를 평탄화 (children 뿐 아니라 모든 객체 값을 순회) */ +function flatten(node: any, acc: any[] = []): any[] { + if (!node || typeof node !== 'object') return acc; + acc.push(node); + for (const v of Object.values(node)) { + if (Array.isArray(v)) v.forEach((x) => flatten(x, acc)); + else if (v && typeof v === 'object') flatten(v, acc); + } + return acc; +} + +const byId = (root: any, id: string) => flatten(root).find((n) => n.id === id); + +/** + * 결제행 iteration 안의 노드를 id 로 찾는다. + * + * iteration 안에서는 같은 id 가 행마다 중복되므로 index_var(payIdx)로 행마다 고유해야 한다 + * (audit `layout-iteration-static-id`). 조회 키에도 접미사를 붙여 그 규약을 함께 고정한다 — + * 누군가 id 를 정적으로 되돌리면 이 헬퍼가 찾지 못해 테스트가 깨진다. + */ +const byRowId = (root: any, id: string) => byId(root, `${id}_{{payIdx}}`); + +// ------------------------------------------------------------------ W-1 체크아웃 + +describe('W-1 체크아웃 현금영수증 신청 폼', () => { + const root = byId(checkoutExt, 'ext_checkout_cash_receipt'); + + it('올바른 확장점에 append 로 주입한다', () => { + expect(checkoutExt.extension_point).toBe('shop_checkout_cash_receipt_slot'); + expect(checkoutExt.mode).toBe('append'); + }); + + it('프로바이더 미설정이면 슬롯 전체가 렌더되지 않는다 (M2)', () => { + const ctx = (provider: string) => ({ paymentSettings: { data: { order_settings: { cash_receipt_provider: provider } } } }); + + expect(evalIf(root.if, ctx('tosspayments'))).toBe(true); + expect(evalIf(root.if, ctx(''))).toBe(false); + expect(evalIf(root.if, { paymentSettings: { data: { order_settings: {} } } })).toBe(false); + }); + + it('신청 전에는 하위 필드가 렌더되지 않는다 (M4: 0 → 3)', () => { + const fields = byId(checkoutExt, 'ext_checkout_cash_receipt_fields'); + + expect(evalIf(fields.if, { _local: {} })).toBe(false); + expect(evalIf(fields.if, { _local: { cashReceiptRequested: true } })).toBe(true); + }); + + it('신청 체크박스는 확장 병합 칸에 4키를 기입한다 (직접 _local 기입은 서버 미도달)', () => { + const toggle = byId(checkoutExt, 'ext_checkout_cash_receipt_toggle'); + const params = toggle.actions[0].params; + + expect(params.checkoutExtraPayload).toBeDefined(); + + // 체크 시: 4키 편입 + const on = engine.evaluateExpression( + String(params.checkoutExtraPayload).slice(2, -2), + { $event: { target: { checked: true } }, _local: {} } + ); + expect(on).toEqual({ + cash_receipt_requested: true, + cash_receipt_type: 'income', + cash_receipt_identifier_type: 'phone', + cash_receipt_identifier: '', + }); + + // 해제 시: 빈 객체 → 주문 payload 에서 사라진다 + const off = engine.evaluateExpression( + String(params.checkoutExtraPayload).slice(2, -2), + { $event: { target: { checked: false } }, _local: {} } + ); + expect(off).toEqual({}); + }); + + it('소득공제로 전환하면 사업자등록번호 선택이 휴대폰번호로 리셋된다 (M5)', () => { + const purpose = byId(checkoutExt, 'ext_checkout_cash_receipt_purpose'); + const incomeRadio = flatten(purpose).find((n) => n.props?.value === 'income'); + const params = incomeRadio.actions[0].params; + + const ctx = { _local: { cashReceiptIdentifierType: 'business', cashReceiptIdentifier: '1234567890' } }; + const nextType = engine.evaluateExpression(String(params.cashReceiptIdentifierType).slice(2, -2), ctx); + const nextId = engine.evaluateExpression(String(params.cashReceiptIdentifier).slice(2, -2), ctx); + + expect(nextType).toBe('phone'); + expect(nextId).toBe(''); + }); + + it('지출증빙 전환 시에는 휴대폰번호 선택을 유지한다 (D10 — 휴대폰은 양쪽 유효)', () => { + const purpose = byId(checkoutExt, 'ext_checkout_cash_receipt_purpose'); + const expenseRadio = flatten(purpose).find((n) => n.props?.value === 'expense'); + const payload = engine.evaluateExpression( + String(expenseRadio.actions[0].params.checkoutExtraPayload).slice(2, -2), + { _local: { cashReceiptIdentifierType: 'phone', cashReceiptIdentifier: '01012345678' } } + ); + + expect(payload.cash_receipt_type).toBe('expense'); + expect(payload.cash_receipt_identifier_type).toBe('phone'); + expect(payload.cash_receipt_identifier).toBe('01012345678'); + }); + + it('발급수단 options 는 용도에 따라 2종 / 3종이다', () => { + const select = byId(checkoutExt, 'ext_checkout_cash_receipt_identifier_type'); + const expr = String(select.props.options).slice(2, -2); + const t = (k: string) => k; + + const income = engine.evaluateExpression(expr, { _local: { cashReceiptType: 'income' }, $t: t }); + const expense = engine.evaluateExpression(expr, { _local: { cashReceiptType: 'expense' }, $t: t }); + + expect(income.map((o: any) => o.value)).toEqual(['phone', 'card']); + expect(expense.map((o: any) => o.value)).toEqual(['business', 'phone', 'card']); + }); + + it('발급수단을 바꾸면 번호를 비운다 (형식 불일치로 인한 422 방지)', () => { + const select = byId(checkoutExt, 'ext_checkout_cash_receipt_identifier_type'); + expect(select.actions[0].params.cashReceiptIdentifier).toBe(''); + }); + + it('Select 는 valueKey/labelKey prop 을 쓰지 않는다', () => { + const select = byId(checkoutExt, 'ext_checkout_cash_receipt_identifier_type'); + expect(select.props.valueKey).toBeUndefined(); + expect(select.props.labelKey).toBeUndefined(); + }); +}); + +// ------------------------------------------------------------------ W-2 유저 주문상세 + +describe('W-2 유저 주문상세 현금영수증 카드 — 상태머신 5종', () => { + const card = byId(mypageExt, 'ext_mypage_cash_receipt_card'); + + const payment = (over: Record = {}) => ({ + payment_method: 'dbank', + cash_receipt_provider: 'tosspayments', + payment_status: 'paid', + ...over, + }); + + it('① 무통장이 아니거나 프로바이더 미설정이면 카드 자체를 렌더하지 않는다', () => { + expect(evalIf(card.if, { order: { data: { payment: payment() } } })).toBe(true); + expect(evalIf(card.if, { order: { data: { payment: payment({ payment_method: 'card' }) } } })).toBe(false); + expect(evalIf(card.if, { order: { data: { payment: payment({ cash_receipt_provider: null }) } } })).toBe(false); + }); + + it('② 입금 전에는 안내만 노출한다 — 무통장은 ready, 가상계좌는 waiting_deposit', () => { + const node = byId(mypageExt, 'ext_mypage_cash_receipt_awaiting'); + + // PaymentStatusEnum::isAwaitingDeposit() 이 true 인 두 상태 모두 "입금 전" 이다. + // 무통장 주문은 ready 로 생성된다 — waiting_deposit 만 검사하면 무통장 전부에서 안내가 사라진다. + expect(evalIf(node.if, { order: { data: { payment: payment({ payment_status: 'ready' }) } } })).toBe(true); + expect(evalIf(node.if, { order: { data: { payment: payment({ payment_status: 'waiting_deposit' }) } } })).toBe(true); + + expect(evalIf(node.if, { order: { data: { payment: payment({ payment_status: 'paid' }) } } })).toBe(false); + expect(evalIf(node.if, { order: { data: { payment: payment({ payment_status: 'cancelled' }) } } })).toBe(false); + }); + + it('입금 전(ready) 주문은 5개 상태 중 정확히 하나에 매칭된다 (빈 카드 방지)', () => { + const ctx = { order: { data: { payment: payment({ payment_status: 'ready' }), cash_receipt: null, cash_receipts: [] } } }; + const states = [ + 'ext_mypage_cash_receipt_awaiting', + 'ext_mypage_cash_receipt_issuable', + 'ext_mypage_cash_receipt_issued', + 'ext_mypage_cash_receipt_failed', + ]; + const matched = states.filter((id) => evalIf(byId(mypageExt, id).if, ctx)); + expect(matched).toEqual(['ext_mypage_cash_receipt_awaiting']); + }); + + it('③ 입금완료 + 미발급 → 발급 버튼', () => { + const node = byId(mypageExt, 'ext_mypage_cash_receipt_issuable'); + expect(evalIf(node.if, { order: { data: { payment: payment(), cash_receipt: null, cash_receipts: [] } } })).toBe(true); + expect(evalIf(node.if, { order: { data: { payment: payment(), cash_receipt: { id: 1 }, cash_receipts: [] } } })).toBe(false); + }); + + it('입금완료 주문의 상태 ③ 과 ⑤ 는 동시에 매칭되지 않는다 (배타)', () => { + const failedCtx = { order: { data: { payment: payment(), cash_receipt: null, cash_receipts: [{ issue_status: 'FAILED' }] } } }; + + const issuable = byId(mypageExt, 'ext_mypage_cash_receipt_issuable'); + const failed = byId(mypageExt, 'ext_mypage_cash_receipt_failed'); + + expect(evalIf(failed.if, failedCtx)).toBe(true); + expect(evalIf(issuable.if, failedCtx)).toBe(false); + }); + + it('④ 발급완료 → 영수증 링크', () => { + const node = byId(mypageExt, 'ext_mypage_cash_receipt_issued'); + expect(evalIf(node.if, { order: { data: { cash_receipt: { id: 1 } } } })).toBe(true); + expect(evalIf(node.if, { order: { data: { cash_receipt: null } } })).toBe(false); + }); + + it('⑤ 취소 성공 + 재발급 실패 → 경고 (issue_status 는 대문자 FAILED)', () => { + const node = byId(mypageExt, 'ext_mypage_cash_receipt_failed'); + + const failed = { order: { data: { cash_receipt: null, cash_receipts: [{ issue_status: 'FAILED' }] } } }; + const ok = { order: { data: { cash_receipt: null, cash_receipts: [{ issue_status: 'COMPLETED' }] } } }; + const none = { order: { data: { cash_receipt: null, cash_receipts: [] } } }; + + expect(evalIf(node.if, failed)).toBe(true); + expect(evalIf(node.if, ok)).toBe(false); + expect(evalIf(node.if, none)).toBe(false); + }); + + it('유저에게는 발급취소·수동 재발급 버튼을 주지 않는다 (관리자 전용)', () => { + // 'reissue_failed' 안내 문구는 정상 — 금지 대상은 재발급/발급취소를 실행하는 액션이다. + const actions = flatten(mypageExt).flatMap((n: any) => n.actions ?? []); + const apiCalls = actions.filter((a: any) => a.handler === 'apiCall'); + + expect(apiCalls.some((a: any) => String(a.target).includes('/reissue'))).toBe(false); + expect(apiCalls.some((a: any) => a.params?.method === 'DELETE')).toBe(false); + + // 남은 apiCall 은 발급(POST) 하나뿐이어야 한다 + expect(apiCalls.map((a: any) => a.params?.method)).toEqual(['POST']); + }); + + it('발급 모달은 modals 섹션에 등록한다 (인라인 Modal 금지)', () => { + expect(Array.isArray(mypageExt.modals)).toBe(true); + expect(mypageExt.modals[0].id).toBe('ext_cash_receipt_issue_modal'); + }); + + it('회원은 user/orders/{id}, 비회원은 guest/orders/{orderNumber} 로 발급한다', () => { + const submit = byId(mypageExt, 'ext_cash_receipt_issue_submit'); + const expr = String(submit.actions[0].target).slice(2, -2); + + const member = engine.evaluateExpression(expr, { + _global: { currentUser: { uuid: 'u1' } }, + order: { data: { id: 42, order_number: 'ORD-1' } }, + }); + const guest = engine.evaluateExpression(expr, { + _global: { currentUser: null }, + order: { data: { id: 42, order_number: 'ORD-1' } }, + }); + + expect(member).toBe('/api/modules/sirsoft-ecommerce/user/orders/42/cash-receipt'); + expect(guest).toBe('/api/modules/sirsoft-ecommerce/guest/orders/ORD-1/cash-receipt'); + }); +}); + +// ------------------------------------------------------------------ W-3 관리자 주문상세 + +describe('W-3 관리자 주문상세 현금영수증 카드', () => { + const card = byRowId(paymentInfo, 'payment_cash_receipt_card'); + + it('결제카드 반복(payment) 컨텍스트에서 무통장 + 프로바이더 설정 시에만 렌더된다', () => { + expect(evalIf(card.if, { payment: { payment_method: 'dbank', cash_receipt_provider: 'toss' } })).toBe(true); + expect(evalIf(card.if, { payment: { payment_method: 'vbank', cash_receipt_provider: 'toss' } })).toBe(false); + expect(evalIf(card.if, { payment: { payment_method: 'dbank', cash_receipt_provider: '' } })).toBe(false); + }); + + it('입금 전 안내는 무통장(ready)과 가상계좌(waiting_deposit) 모두에서 노출된다', () => { + const node = byRowId(paymentInfo, 'payment_cash_receipt_awaiting'); + + expect(evalIf(node.if, { payment: { payment_status: 'ready' } })).toBe(true); + expect(evalIf(node.if, { payment: { payment_status: 'waiting_deposit' } })).toBe(true); + expect(evalIf(node.if, { payment: { payment_status: 'paid' } })).toBe(false); + }); + + it('관리자 전용 버튼 3종(발급/발급취소/수동 재발급)이 존재한다', () => { + expect(byRowId(paymentInfo, 'payment_cash_receipt_issue_button')).toBeDefined(); + expect(byRowId(paymentInfo, 'payment_cash_receipt_cancel_button')).toBeDefined(); + expect(byRowId(paymentInfo, 'payment_cash_receipt_reissue_button')).toBeDefined(); + }); + + it('재발급 실패 상태에서 발급 버튼과 재발급 버튼이 동시에 노출되지 않는다', () => { + // 실패 이력이 있으면 복구는 "수동 재발급" 경로다. 신규 발급 버튼을 함께 띄우면 + // 관리자가 어느 쪽을 눌러야 하는지 알 수 없다. + const failed = { payment: { payment_status: 'paid' }, order: { data: { cash_receipt: null, cash_receipts: [{ issue_status: 'FAILED' }] } } }; + + const issue = byRowId(paymentInfo, 'payment_cash_receipt_issue_button'); + const reissue = byRowId(paymentInfo, 'payment_cash_receipt_reissue_button'); + + expect(evalIf(reissue.if, failed)).toBe(true); + expect(evalIf(issue.if, failed)).toBe(false); + }); + + it('이력이 전혀 없는 입금완료 주문에서는 발급 버튼만 노출된다', () => { + const fresh = { payment: { payment_status: 'paid' }, order: { data: { cash_receipt: null, cash_receipts: [] } } }; + + expect(evalIf(byRowId(paymentInfo, 'payment_cash_receipt_issue_button').if, fresh)).toBe(true); + expect(evalIf(byRowId(paymentInfo, 'payment_cash_receipt_reissue_button').if, fresh)).toBe(false); + }); + + it('수동 재발급 버튼은 재발급 실패 상태에서만 노출된다', () => { + const btn = byRowId(paymentInfo, 'payment_cash_receipt_reissue_button'); + const failed = { order: { data: { cash_receipt: null, cash_receipts: [{ issue_status: 'FAILED' }] } } }; + const issued = { order: { data: { cash_receipt: { id: 1 }, cash_receipts: [{ issue_status: 'COMPLETED' }] } } }; + + expect(evalIf(btn.if, failed)).toBe(true); + expect(evalIf(btn.if, issued)).toBe(false); + }); + + it('관리자 apiCall 은 모두 auth_required 를 선언한다 (미선언 시 Bearer 토큰 미부착 → 401)', () => { + const adminApiCalls = [ + ...flatten(paymentInfo).flatMap((n: any) => n.actions ?? []), + ...flatten(issueModal).flatMap((n: any) => n.actions ?? []), + ].filter((a: any) => a.handler === 'apiCall' && String(a.target).includes('/admin/')); + + expect(adminApiCalls.length).toBeGreaterThan(0); + for (const a of adminApiCalls) { + expect(a.auth_required, `auth_required 누락: ${a.target}`).toBe(true); + } + }); + + it('발급취소는 DELETE, 재발급은 reissue 엔드포인트를 호출한다', () => { + const cancel = byRowId(paymentInfo, 'payment_cash_receipt_cancel_button'); + const reissue = byRowId(paymentInfo, 'payment_cash_receipt_reissue_button'); + + expect(cancel.actions[0].params.method).toBe('DELETE'); + expect(reissue.actions[0].target).toContain('/cash-receipt/reissue'); + }); + + it('발급 이력표는 이력이 있을 때만, 그리고 기본 접힌 상태로 존재한다', () => { + const wrap = byRowId(paymentInfo, 'payment_cash_receipt_history'); + const body = byRowId(paymentInfo, 'payment_cash_receipt_history_body'); + + // 껍데기: 이력 0건이면 토글 헤더조차 띄우지 않는다 + expect(evalIf(wrap.if, { order: { data: { cash_receipts: [] } } })).toBe(false); + expect(evalIf(wrap.if, { order: { data: { cash_receipts: [{ id: 1 }] } } })).toBe(true); + + // 본문: 초기 상태(_local.expandedCashReceiptHistory = [])에서 접혀 있어야 한다 + expect(evalIf(body.if, { payIdx: 0, _local: { expandedCashReceiptHistory: [] } })).toBe(false); + expect(evalIf(body.if, { payIdx: 0, _local: { expandedCashReceiptHistory: [0] } })).toBe(true); + + // 상태 키가 아직 초기화되지 않은 순간에도 터지지 않는다 (?? [] fallback) + expect(evalIf(body.if, { payIdx: 0, _local: {} })).toBe(false); + }); + + it('이력 토글은 결제 건마다 독립적으로 접히고 펼쳐진다', () => { + // 한 주문에 결제행이 여러 개일 수 있다. payIdx 를 배열에 넣고 빼는 방식이라야 + // 0번 행을 펼쳐도 1번 행이 함께 펼쳐지지 않는다. + const toggle = byRowId(paymentInfo, 'payment_cash_receipt_history_toggle'); + const body = byRowId(paymentInfo, 'payment_cash_receipt_history_body'); + const expr = String(toggle.actions[0].params.expandedCashReceiptHistory).slice(2, -2); + + // 0번 행 펼치기 + const afterOpen0 = engine.evaluateExpression(expr, { payIdx: 0, _local: { expandedCashReceiptHistory: [] } }); + expect(afterOpen0).toEqual([0]); + + // 그 상태에서 1번 행 펼치기 → 0번은 그대로 열려 있다 + const afterOpen1 = engine.evaluateExpression(expr, { payIdx: 1, _local: { expandedCashReceiptHistory: afterOpen0 } }); + expect(afterOpen1).toEqual([0, 1]); + expect(evalIf(body.if, { payIdx: 0, _local: { expandedCashReceiptHistory: afterOpen1 } })).toBe(true); + + // 0번 행 다시 접기 → 1번은 열린 채 남는다 + const afterClose0 = engine.evaluateExpression(expr, { payIdx: 0, _local: { expandedCashReceiptHistory: afterOpen1 } }); + expect(afterClose0).toEqual([1]); + expect(evalIf(body.if, { payIdx: 0, _local: { expandedCashReceiptHistory: afterClose0 } })).toBe(false); + expect(evalIf(body.if, { payIdx: 1, _local: { expandedCashReceiptHistory: afterClose0 } })).toBe(true); + }); + + it('토글 버튼은 접힘 상태를 아이콘과 aria-expanded 로 함께 알린다', () => { + const toggle = byRowId(paymentInfo, 'payment_cash_receipt_history_toggle'); + const body = byRowId(paymentInfo, 'payment_cash_receipt_history_body'); + + // Form 밖이지만 submit 오작동 방지 규약을 따른다 + expect(toggle.props.type).toBe('button'); + // 스크린리더가 본문 존재를 알 수 있어야 한다 + expect(toggle.props['aria-controls']).toBe(body.id); + + const icon = flatten(toggle).find((n: any) => n.name === 'Icon'); + const iconExpr = String(icon.props.name).slice(2, -2); + const ariaExpr = String(toggle.props['aria-expanded']).slice(2, -2); + + const closed = { payIdx: 0, _local: { expandedCashReceiptHistory: [] } }; + const opened = { payIdx: 0, _local: { expandedCashReceiptHistory: [0] } }; + + expect(engine.evaluateExpression(iconExpr, closed)).toBe('chevron-right'); + expect(engine.evaluateExpression(iconExpr, opened)).toBe('chevron-down'); + expect(engine.evaluateExpression(ariaExpr, closed)).toBe(false); + expect(engine.evaluateExpression(ariaExpr, opened)).toBe(true); + + // Icon 은 w-N/h-N 클래스가 아니라 size prop 으로 크기를 지정한다 + expect(icon.props.size).toBeDefined(); + expect(icon.props.className ?? '').not.toMatch(/\b[wh]-\d/); + }); + + it('액션 영역은 데스크톱 가로 → portable 세로 스택 (§6-0)', () => { + const actions = byRowId(paymentInfo, 'payment_cash_receipt_actions'); + expect(actions.props.className).toContain('flex-row'); + expect(actions.responsive.portable.props.className).toContain('flex-col'); + expect(Object.keys(actions.responsive)).toEqual(['portable']); + }); + + it('신설 카드에 Tailwind breakpoint(md:/lg:) 를 쓰지 않는다', () => { + for (const n of flatten(card)) { + expect(n.props?.className ?? '').not.toMatch(/(^|\s)(md|lg|xl|2xl):/); + } + }); +}); + +describe('W-3 관리자 발급 모달', () => { + it('modals 파트너 id 로 등록되고 발급 버튼이 이를 연다', () => { + expect(issueModal.id).toBe('modal_issue_cash_receipt'); + + const btn = byRowId(paymentInfo, 'payment_cash_receipt_issue_button'); + const open = flatten(btn.actions).find((a: any) => a.handler === 'openModal'); + expect(open.target).toBe('modal_issue_cash_receipt'); + }); + + it('발급수단 options 는 용도에 따라 2종 / 3종이다', () => { + const select = byId(issueModal, 'modal_cash_receipt_identifier_type'); + const expr = String(select.props.options).slice(2, -2); + const t = (k: string) => k; + + const income = engine.evaluateExpression(expr, { _global: { adminCashReceiptForm: { receipt_type: 'income' } }, $t: t }); + const expense = engine.evaluateExpression(expr, { _global: { adminCashReceiptForm: { receipt_type: 'expense' } }, $t: t }); + + expect(income.map((o: any) => o.value)).toEqual(['phone', 'card']); + expect(expense.map((o: any) => o.value)).toEqual(['business', 'phone', 'card']); + }); + + it('번호가 비어 있으면 발급 버튼이 비활성화된다', () => { + const submit = byId(issueModal, 'modal_cash_receipt_submit'); + const expr = String(submit.props.disabled).slice(2, -2); + + expect(engine.evaluateExpression(expr, { _global: { adminCashReceiptForm: { identifier: '' } } })).toBe(true); + expect(engine.evaluateExpression(expr, { _global: { adminCashReceiptForm: { identifier: '01012345678' } } })).toBe(false); + }); + + it('성공 시 setState 를 closeModal 보다 먼저 실행한다 (순서 역전 시 상태 잔존)', () => { + const submit = byId(issueModal, 'modal_cash_receipt_submit'); + const onSuccess = submit.actions[0].onSuccess.map((a: any) => a.handler); + + expect(onSuccess.indexOf('setState')).toBeLessThan(onSuccess.indexOf('closeModal')); + expect(onSuccess).toContain('refetchDataSource'); + }); +}); + +// ------------------------------------------------------------------ W-4 취소 모달 + +describe('W-4 취소 모달 환불계좌', () => { + const section = byId(cancelModal, 'cancel_refund_bank_section'); + + it('가상계좌·무통장에서만 노출한다 (카드·간편결제는 계좌 불필요)', () => { + const ctx = (m: string) => ({ order: { data: { payment: { payment_method: m } } } }); + + expect(evalIf(section.if, ctx('vbank'))).toBe(true); + expect(evalIf(section.if, ctx('dbank'))).toBe(true); + expect(evalIf(section.if, ctx('card'))).toBe(false); + expect(evalIf(section.if, ctx('point'))).toBe(false); + }); + + it('3필드가 _local.refundBank* 에 저장된다 (cancelOrderHandlers 가 읽는 키)', () => { + const keys = flatten(section) + .flatMap((n: any) => n.actions ?? []) + .filter((a: any) => a.handler === 'setState') + .flatMap((a: any) => Object.keys(a.params).filter((k) => k !== 'target')); + + expect(keys).toEqual(expect.arrayContaining(['refundBankCode', 'refundBankAccount', 'refundBankHolder'])); + }); + + it('가상계좌 입금완료 건에만 필수 안내를 띄운다', () => { + const hint = flatten(section).find((n: any) => String(n.text ?? '').includes('refund_bank_required_hint')); + const ctx = (m: string, s: string) => ({ order: { data: { payment: { payment_method: m, payment_status: s } } } }); + + expect(evalIf(hint.if, ctx('vbank', 'paid'))).toBe(true); + expect(evalIf(hint.if, ctx('vbank', 'waiting_deposit'))).toBe(false); + expect(evalIf(hint.if, ctx('dbank', 'paid'))).toBe(false); + }); + + it('3열 → portable 1열로 접힌다', () => { + const grid = flatten(section).find((n: any) => (n.props?.className ?? '').includes('grid-cols-3')); + expect(grid.responsive.portable.props.className).toContain('grid-cols-1'); + }); +}); + +// ------------------------------------------------------------------ W-5 환경설정 + +describe('W-5 환경설정 — 현금영수증', () => { + const card = byId(orderSettingsTab, 'cash_receipt_card'); + + it('카드가 주문설정 탭에 존재한다', () => { + expect(card).toBeDefined(); + }); + + it('등록된 프로바이더가 없으면 Select 대신 안내를 노출한다', () => { + const select = byId(orderSettingsTab, 'cash_receipt_provider_select'); + + expect(evalIf(select.if, { _local: { form: { available_cash_receipt_providers: [{ id: 'toss' }] } } })).toBe(true); + expect(evalIf(select.if, { _local: { form: { available_cash_receipt_providers: [] } } })).toBe(false); + }); + + it('배송비 과세 3정책의 value 가 백엔드 Enum 과 일치한다', () => { + const select = byId(orderSettingsTab, 'shipping_fee_tax_policy_select'); + const opts = engine.evaluateExpression(String(select.props.options).slice(2, -2), { $t: (k: string) => k }); + + expect(opts.map((o: any) => o.value)).toEqual(['proportional', 'taxable', 'follow_main_item']); + }); + + it('배송비 과세 기본값은 안분(proportional) 이다', () => { + const select = byId(orderSettingsTab, 'shipping_fee_tax_policy_select'); + const value = engine.evaluateExpression(String(select.props.value).slice(2, -2), { _local: { form: { order_settings: {} } } }); + + expect(value).toBe('proportional'); + }); + + it('자진발급 토글의 기본값은 OFF 다 (D14)', () => { + const toggle = byId(orderSettingsTab, 'cash_receipt_self_issue_toggle'); + const checked = engine.evaluateExpression(String(toggle.props.checked).slice(2, -2), { _local: { form: { order_settings: {} } } }); + + expect(checked).toBe(false); + }); + + it('3개 컨트롤이 저장 대상 키에 setState 하고 hasChanges 를 세운다', () => { + const targets = flatten(card) + .flatMap((n: any) => n.actions ?? []) + .filter((a: any) => a.handler === 'setState') + .map((a: any) => a.params); + + const keys = targets.flatMap((p: any) => Object.keys(p)); + expect(keys).toEqual(expect.arrayContaining([ + 'form.order_settings.cash_receipt_provider', + 'form.order_settings.shipping_fee_tax_policy', + 'form.order_settings.cash_receipt_self_issue', + ])); + expect(targets.every((p: any) => p.hasChanges === true)).toBe(true); + }); + + it('자진발급 안내에 국세청 의무발행 업종 링크가 있다', () => { + // 의무발행 업종인지 판단하라고 안내만 하고 확인 경로를 주지 않으면 설정을 켤 수 없다. + const link = byId(card, 'cash_receipt_mandatory_industry_link'); + + expect(link.name).toBe('A'); + expect(link.props.href).toMatch(/^https:\/\/www\.nts\.go\.kr\//); + expect(link.props.target).toBe('_blank'); + // 외부 링크는 opener 유출을 막는다. + expect(link.props.rel).toBe('noopener noreferrer'); + + const labels = flatten(link).map((n: any) => n.text).filter(Boolean); + expect(labels).toContain( + '$t:sirsoft-ecommerce.admin.settings.order_settings.cash_receipt.self_issue_mandatory_link' + ); + }); + + it('신설 카드에 Tailwind breakpoint(md:/lg:) 를 쓰지 않는다 (§6-0)', () => { + for (const n of flatten(card)) { + expect(n.props?.className ?? '').not.toMatch(/(^|\s)(md|lg|xl|2xl):/); + } + }); +}); + +// ------------------------------------------------------------ 5개 표면 공통 규약 + +describe('현금영수증 5개 표면 공통 규약', () => { + const SURFACES: Array<[string, any]> = [ + ['W-1 체크아웃', checkoutExt], + ['W-2 유저 주문상세', mypageExt], + ['W-3 관리자 주문상세', paymentInfo], + ['W-3 발급 모달', issueModal], + ['W-5 환경설정', orderSettingsTab], + ]; + + it.each(SURFACES)('%s — Icon 크기는 size prop 으로 지정한다 (w-N/h-N 금지)', (_label, root) => { + // audit `layout-icon-classname-size` 와 같은 규약. 그 룰의 appliesTo 는 + // `**/resources/layouts/**` 라서 확장점 파일(resources/extensions/**)을 보지 못한다. + // 그 사각을 여기서 덮는다 — 실제로 mypage 확장점의 Icon 2개가 이 규약을 어기고 있었다. + for (const icon of flatten(root).filter((n: any) => n.name === 'Icon')) { + const cls = String(icon.props?.className ?? ''); + expect(cls, `Icon(${icon.props?.name}) 에 w-N/h-N 클래스`).not.toMatch(/(^|\s)[wh]-\d/); + } + }); +}); diff --git a/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/checkoutPaymentMethodRegression.test.tsx b/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/checkoutPaymentMethodRegression.test.tsx index 7d856304..c24f4ae1 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/checkoutPaymentMethodRegression.test.tsx +++ b/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/checkoutPaymentMethodRegression.test.tsx @@ -12,27 +12,32 @@ import fs from 'fs'; import path from 'path'; import { describe, it, expect } from 'vitest'; +import { DataBindingEngine } from '@core/template-engine/DataBindingEngine'; const templatesRoot = path.resolve(__dirname, '../../../../../../../templates/_bundled/sirsoft-basic'); +const engine = new DataBindingEngine(); /** - * 재귀적으로 JSON 노드에서 apiCall 핸들러의 body를 찾는다 + * 재귀적으로 JSON 노드에서 주문 생성 apiCall 액션을 찾는다. + * + * body 는 통짜 표현식 문자열이다(#454 S3 — 확장 병합 칸). 예전처럼 객체가 아니므로 + * `params.body.payment_method` 로는 찾을 수 없고, endpoint 로 식별한다. */ -function findApiCallBody(node: any): any { - if (node.handler === 'apiCall' && node.params?.body?.payment_method) { - return node.params.body; +function findOrderApiCall(node: any): any { + if (node.handler === 'apiCall' && typeof node.target === 'string' && node.target.endsWith('/user/orders')) { + return node; } for (const key of ['actions', 'children']) { if (Array.isArray(node[key])) { for (const child of node[key]) { - const found = findApiCallBody(child); + const found = findOrderApiCall(child); if (found) return found; } } } if (Array.isArray(node.params?.actions)) { for (const action of node.params.actions) { - const found = findApiCallBody(action); + const found = findOrderApiCall(action); if (found) return found; } } @@ -40,7 +45,7 @@ function findApiCallBody(node: any): any { for (const slotChildren of Object.values(node.slots)) { if (Array.isArray(slotChildren)) { for (const child of slotChildren as any[]) { - const found = findApiCallBody(child); + const found = findOrderApiCall(child); if (found) return found; } } @@ -58,28 +63,54 @@ describe('체크아웃 결제수단 회귀 테스트', () => { ); describe('_checkout_summary.json apiCall body', () => { - const apiCallBody = findApiCallBody(summaryJson); + const orderCall = findOrderApiCall(summaryJson); - it('apiCall body가 존재한다', () => { - expect(apiCallBody).not.toBeNull(); + /** + * body 표현식을 실제로 평가해 전송 payload 를 얻는다. + * + * 문자열 매칭 대신 평가하는 이유: 원래 이 테스트가 고정하려던 것은 "무통장을 고르면 + * dbank 가 실려 나가는가" 이지 body 가 객체 리터럴인가가 아니다. 표현식으로 바뀐 뒤에도 + * 그 행위는 그대로 검증되어야 한다. + */ + const evalBody = (ctx: Record) => + engine.evaluateExpression(String(orderCall.params.body).slice(2, -2), ctx); + + const context = (paymentMethod: string, localPaymentMethod?: string) => ({ + checkoutData: { data: { temp_order_id: 'T-1', calculation: { summary: { final_amount: 1000 } } } }, + _computed: { selectedPaymentMethod: paymentMethod, ordererDefaults: { name: '홍길동' } }, + _local: { + paymentMethod: localPaymentMethod, + shipping: {}, + selectedDbank: { bank_code: '088', account_number: '110-1', account_holder: '홍길동' }, + }, + _global: { currentUser: { uuid: 'u-1' } }, }); - it('payment_method가 _computed.selectedPaymentMethod를 사용한다', () => { - expect(apiCallBody.payment_method).toBe('{{_computed.selectedPaymentMethod}}'); + it('주문 생성 apiCall 이 존재한다', () => { + expect(orderCall).not.toBeNull(); + expect(typeof orderCall.params.body).toBe('string'); }); - it('payment_method가 _local.paymentMethod를 직접 사용하지 않는다', () => { - // _local.paymentMethod는 사용자가 결제수단 버튼을 클릭해야만 설정됨 - // 클릭 전에는 undefined이므로 직접 참조하면 안 됨 - expect(apiCallBody.payment_method).not.toContain('_local.paymentMethod'); + it('payment_method 는 _computed.selectedPaymentMethod 를 그대로 싣는다', () => { + expect(evalBody(context('dbank')).payment_method).toBe('dbank'); + expect(evalBody(context('card')).payment_method).toBe('card'); }); - it('dbank 조건이 _computed.selectedPaymentMethod를 사용한다', () => { - expect(apiCallBody.dbank).toContain('_computed.selectedPaymentMethod'); + it('_local.paymentMethod 가 비어 있어도 computed 값이 실린다 (기본값 card 로 새지 않는다)', () => { + // 회귀 원인: 사용자가 결제수단 버튼을 누르기 전에는 _local.paymentMethod 가 undefined 다. + // body 가 그것을 직접 참조하면 무통장을 골라도 card 가 전송됐다. + expect(evalBody(context('dbank', undefined)).payment_method).toBe('dbank'); }); - it('dbank 조건이 _local.paymentMethod를 직접 사용하지 않는다', () => { - expect(apiCallBody.dbank).not.toContain('_local.paymentMethod'); + it('dbank 블록은 무통장일 때만 채워지고 그 외에는 null 이다', () => { + expect(evalBody(context('dbank')).dbank).toMatchObject({ bank_code: '088' }); + expect(evalBody(context('card')).dbank).toBeNull(); + }); + + it('_local.paymentMethod 가 computed 와 어긋나도 computed 가 우선한다', () => { + const body = evalBody(context('dbank', 'card')); + expect(body.payment_method).toBe('dbank'); + expect(body.dbank).not.toBeNull(); }); }); diff --git a/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/mypageOrders.test.tsx b/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/mypageOrders.test.tsx index e9f761ee..f55c00ec 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/mypageOrders.test.tsx +++ b/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/mypageOrders.test.tsx @@ -208,11 +208,13 @@ describe('주문 목록 partial 구조 검증 (_list.json)', () => { expect(listJsonStr).not.toContain('order.multi_currency_total'); }); - it('단가가 item.unit_price_formatted를 사용해야 함', () => { - // 마이페이지 주문목록은 옵션 소계(mc_subtotal_price) 로 다통화를 표시하고 - // 단가는 포맷 문자열(unit_price_formatted) 로만 노출한다. 단가 단위의 + it('단가는 결제 통화로 굳은 unit_price_formatted 를 그대로 쓴다', () => { + // 이미 결제가 끝난 주문의 금액은 결제 시점 통화로 고정이다. 사용자가 지금 보고 있는 + // 통화(_global.preferredCurrency)로 환산해 보여주면 실제 결제액과 달라진다. + // 서버가 formatOrderCurrency 로 확정한 문자열을 표시만 한다. 단가 단위의 // 다통화 필드(mc_unit_price)는 이 레이아웃에 존재하지 않는다(주문완료 화면 전용). expect(listJsonStr).toContain('item.unit_price_formatted'); + expect(listJsonStr).not.toContain('item.mc_unit_price'); expect(listJsonStr).not.toContain('item.multi_currency_unit_price'); }); @@ -220,12 +222,15 @@ describe('주문 목록 partial 구조 검증 (_list.json)', () => { expect(listJsonStr).toContain('item.subtotal_price_formatted'); }); - it('다통화 소계가 item.mc_subtotal_price를 사용해야 함', () => { + it('다통화 소계 목록은 결제 통화를 제외하고 나열한다', () => { + // 소계만 다통화 병기를 남긴다 — 참고 표시이므로 결제 통화 행은 중복이라 걸러낸다. expect(listJsonStr).toContain('item.mc_subtotal_price'); + expect(listJsonStr).toContain('order.base_currency'); }); - it('배송비가 order.total_shipping_amount를 사용해야 함', () => { + it('배송비는 결제 통화로 굳은 total_shipping_amount_formatted 를 그대로 쓴다', () => { expect(listJsonStr).toContain('order.total_shipping_amount'); + expect(listJsonStr).toContain('order.total_shipping_amount_formatted'); }); it('다통화 총액이 order.mc_total_amount를 사용해야 함', () => { diff --git a/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/orderDetailLayouts.test.tsx b/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/orderDetailLayouts.test.tsx index db90bf55..a1b783a4 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/orderDetailLayouts.test.tsx +++ b/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/orderDetailLayouts.test.tsx @@ -416,17 +416,24 @@ describe('admin_ecommerce_order_detail.json (메인 레이아웃)', () => { expect(Object.keys(layout.computed)).toHaveLength(0); }); - it('modals에 6개의 모달 partial이 정의되어 있다 (reset_guest_password + confirm_deposit 추가)', () => { + it('modals에 등록된 모달 partial 집합이 정확히 일치한다', () => { const layout = mainLayout as any; expect(Array.isArray(layout.modals)).toBe(true); - expect(layout.modals).toHaveLength(6); + + // 개수와 이름을 따로 단언하면 모달 추가 시 개수만 어긋나 무엇이 늘었는지 드러나지 않는다. + // 집합 자체를 고정해 추가·삭제가 진단 가능하도록 한다. const partialPaths = layout.modals.map((m: any) => m.partial); - expect(partialPaths).toContain('partials/admin_ecommerce_order_detail/_modal_batch_change_confirm.json'); - expect(partialPaths).toContain('partials/admin_ecommerce_order_detail/_modal_send_sms.json'); - expect(partialPaths).toContain('partials/admin_ecommerce_order_detail/_modal_send_email.json'); - expect(partialPaths).toContain('partials/admin_ecommerce_order_detail/_modal_cancel_order.json'); - expect(partialPaths).toContain('partials/admin_ecommerce_order_detail/_modal_reset_guest_password.json'); - expect(partialPaths).toContain('partials/admin_ecommerce_order_detail/_modal_confirm_deposit.json'); + expect(new Set(partialPaths)).toEqual( + new Set([ + 'partials/admin_ecommerce_order_detail/_modal_batch_change_confirm.json', + 'partials/admin_ecommerce_order_detail/_modal_send_sms.json', + 'partials/admin_ecommerce_order_detail/_modal_send_email.json', + 'partials/admin_ecommerce_order_detail/_modal_cancel_order.json', + 'partials/admin_ecommerce_order_detail/_modal_issue_cash_receipt.json', + 'partials/admin_ecommerce_order_detail/_modal_reset_guest_password.json', + 'partials/admin_ecommerce_order_detail/_modal_confirm_deposit.json', + ]) + ); }); }); diff --git a/modules/_bundled/sirsoft-ecommerce/resources/js/handlers/cancelOrderHandlers.ts b/modules/_bundled/sirsoft-ecommerce/resources/js/handlers/cancelOrderHandlers.ts index 3fa36db2..388a68f1 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/js/handlers/cancelOrderHandlers.ts +++ b/modules/_bundled/sirsoft-ecommerce/resources/js/handlers/cancelOrderHandlers.ts @@ -277,6 +277,19 @@ export async function executeCancelOrderHandler( body.reason_detail = cancelReasonDetail; } + // 환불 계좌 — 관리자가 취소 모달에서 입력/수정한 값. + // 셋 중 하나라도 채워졌으면 채워진 그대로 보낸다. 부분 입력 거부와 "가상계좌 입금완료 건은 필수" + // 판정은 서버(CancelOrderRequest)가 단독으로 수행한다 — 프론트에서 중복 판정하지 않는다. + // 아무것도 입력하지 않았으면 키 자체를 보내지 않아, 주문 시 입력된 계좌가 지워지지 않는다. + const refundBank = { + bank_code: local.refundBankCode || '', + account_number: local.refundBankAccount || '', + holder: local.refundBankHolder || '', + }; + if (refundBank.bank_code || refundBank.account_number || refundBank.holder) { + body.refund_bank = refundBank; + } + G7Core.state.setLocal({ isCancelling: true, cancelError: null, cancelValidationErrors: null }); try { diff --git a/modules/_bundled/sirsoft-ecommerce/resources/lang/en.json b/modules/_bundled/sirsoft-ecommerce/resources/lang/en.json index 3d3837c2..7f6acbc2 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/lang/en.json +++ b/modules/_bundled/sirsoft-ecommerce/resources/lang/en.json @@ -34,6 +34,7 @@ "order": "Order", "order_logs": "Order Logs", "orders": "Orders", + "paymentSettings": "Payment Settings", "policy": "Shipping Policy", "presets": "Presets", "product": "Product", @@ -192,5 +193,19 @@ }, "shop": { "$partial": "partial/en/shop.json" + }, + "checkout": { + "cash_receipt": { + "request": "Request a cash receipt", + "purpose": "Purpose", + "purpose_income": "Income deduction", + "purpose_expense": "Proof of expenditure", + "identifier_phone": "Mobile number", + "identifier_card": "Cash receipt card number", + "identifier_business": "Business registration number", + "identifier_placeholder": "Digits only, no hyphens", + "purpose_help": "Income deduction is used for year-end tax settlement; proof of expenditure is used for business input VAT deduction.", + "immutable_help": "The purpose cannot be changed after the receipt is issued." + } } } diff --git a/modules/_bundled/sirsoft-ecommerce/resources/lang/ko.json b/modules/_bundled/sirsoft-ecommerce/resources/lang/ko.json index 03d7462d..c649e6dc 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/lang/ko.json +++ b/modules/_bundled/sirsoft-ecommerce/resources/lang/ko.json @@ -34,6 +34,7 @@ "order": "주문", "order_logs": "주문 로그", "orders": "주문 목록", + "paymentSettings": "결제 환경설정", "policy": "배송 정책", "presets": "프리셋 목록", "product": "상품", @@ -192,5 +193,19 @@ }, "shop": { "$partial": "partial/ko/shop.json" + }, + "checkout": { + "cash_receipt": { + "request": "현금영수증 신청", + "purpose": "용도", + "purpose_income": "소득공제용", + "purpose_expense": "지출증빙용", + "identifier_phone": "휴대폰번호", + "identifier_card": "현금영수증 카드번호", + "identifier_business": "사업자등록번호", + "identifier_placeholder": "- 없이 숫자만 입력", + "purpose_help": "소득공제용은 연말정산에, 지출증빙용은 사업자 매입세액공제에 사용됩니다.", + "immutable_help": "발급 후에는 용도를 변경할 수 없습니다." + } } } diff --git a/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/en/admin/order.json b/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/en/admin/order.json index 62226976..e590ee04 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/en/admin/order.json +++ b/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/en/admin/order.json @@ -286,7 +286,13 @@ "close_btn": "Close", "estimate_failed": "Failed to calculate estimated refund.", "cancel_success": "Order has been cancelled.", - "cancel_failed": "Failed to cancel order." + "cancel_failed": "Failed to cancel order.", + "refund_bank_label": "Refund account", + "refund_bank_select": "Select bank", + "refund_bank_account_placeholder": "Account number (no hyphens)", + "refund_bank_holder_placeholder": "Account holder", + "refund_bank_required_hint": "A refund account is required for a paid virtual account order.", + "refund_bank_partial_notice": "If you fill in any one of the three fields, the others are required." } }, "claim_history": { @@ -450,6 +456,38 @@ "after": "After", "bulk_model_id": "ID: {{id}}" } + }, + "cash_receipt": { + "title": "Cash Receipt", + "issue_title": "Issue a cash receipt", + "status_issued": "Issued", + "awaiting_deposit": "The receipt can be issued once the deposit is confirmed.", + "purpose": "Purpose", + "purpose_income": "Income deduction", + "purpose_expense": "Proof of expenditure", + "identifier_type": "Identifier type", + "identifier": "Identifier", + "identifier_phone": "Mobile number", + "identifier_card": "Cash receipt card number", + "identifier_business": "Business registration number", + "identifier_placeholder": "Digits only, no hyphens", + "immutable_help": "The purpose cannot be changed after the receipt is issued.", + "amount": "Amount", + "tax_free_amount": "Tax-free amount", + "issue_number": "Issue number", + "issued_at": "Issued at", + "issue": "Issue cash receipt", + "cancel": "Cancel", + "cancel_issue": "Cancel issuance", + "reissue": "Reissue manually", + "view_receipt": "View receipt", + "history": "Issue history ({{count}})", + "issue_success": "The cash receipt has been issued.", + "issue_failed": "Failed to issue the cash receipt.", + "cancel_success": "The cash receipt issuance has been cancelled.", + "cancel_failed": "Failed to cancel the cash receipt issuance.", + "reissue_failed": "Reissue failed", + "reissue_success": "The cash receipt has been reissued." } }, "preset": { diff --git a/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/en/admin/settings.json b/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/en/admin/settings.json index a4213fd2..d7d44b99 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/en/admin/settings.json +++ b/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/en/admin/settings.json @@ -219,6 +219,23 @@ "restore_on_cancel": "Restore Stock on Cancel", "restore_on_cancel_description": "Automatically restore deducted stock when an order is cancelled.", "restore_on_cancel_hint": "Also applies to returns and exchanges." + }, + "cash_receipt": { + "title": "Cash Receipt", + "description": "Configure the cash receipt provider and how shipping fees are taxed.", + "provider_label": "Cash receipt provider", + "provider_none": "(Not used)", + "provider_not_installed": "Activate a payment plugin to choose an issuing provider.", + "provider_help": "Can be chosen independently of the PG used for payment.", + "shipping_fee_tax_label": "Shipping fee tax method", + "shipping_fee_tax_proportional": "Proportional (default)", + "shipping_fee_tax_taxable": "Fully taxable", + "shipping_fee_tax_follow_main_item": "Follow the main item", + "shipping_fee_tax_help": "Proportional splits the shipping fee by the taxable and tax-free product amounts.", + "self_issue_label": "Enable self-issuance", + "self_issue_help": "Automatically issues receipts for bank transfer orders even when the buyer did not request one (income deduction only).", + "self_issue_mandatory_help": "Businesses required to issue cash receipts must do so even without a buyer request. Turn this on if that applies to you.", + "self_issue_mandatory_link": "NTS guide to mandatory-issuance industries" } }, "claim": { diff --git a/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/en/order.json b/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/en/order.json index 0d894e42..611544d5 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/en/order.json +++ b/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/en/order.json @@ -12,5 +12,29 @@ "delivered": "Delivered", "cancelled": "Cancelled", "refunded": "Refunded" + }, + "cash_receipt": { + "title": "Cash Receipt", + "issue_title": "Issue a cash receipt", + "purpose": "Purpose", + "purpose_income": "Income deduction", + "purpose_expense": "Proof of expenditure", + "identifier_type": "Identifier type", + "identifier": "Identifier", + "identifier_phone": "Mobile number", + "identifier_card": "Cash receipt card number", + "identifier_business": "Business registration number", + "identifier_placeholder": "Digits only, no hyphens", + "immutable_help": "The purpose cannot be changed after the receipt is issued.", + "awaiting_deposit": "The receipt will be issued once the deposit is confirmed.", + "none": "No cash receipt has been issued.", + "issue": "Issue cash receipt", + "cancel": "Cancel", + "issued_at": "Issued at", + "view_receipt": "View receipt", + "issue_success": "The cash receipt has been issued.", + "issue_failed": "Failed to issue the cash receipt.", + "reissue_failed": "Reissue failed", + "reissue_failed_help": "Reissuing the cash receipt after the refund failed. Please contact customer support." } } \ No newline at end of file diff --git a/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/ko/admin/order.json b/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/ko/admin/order.json index c8c92434..d6507aed 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/ko/admin/order.json +++ b/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/ko/admin/order.json @@ -448,8 +448,46 @@ "close_btn": "닫기", "estimate_failed": "환불 예상금액 계산에 실패했습니다.", "cancel_success": "주문이 취소되었습니다.", - "cancel_failed": "주문 취소에 실패했습니다." + "cancel_failed": "주문 취소에 실패했습니다.", + "refund_bank_label": "환불 계좌", + "refund_bank_select": "은행 선택", + "refund_bank_account_placeholder": "계좌번호 (- 없이 입력)", + "refund_bank_holder_placeholder": "예금주", + "refund_bank_required_hint": "입금이 완료된 가상계좌 주문은 환불 계좌가 필요합니다.", + "refund_bank_partial_notice": "셋 중 하나라도 입력하면 나머지도 입력해야 합니다." } + }, + "cash_receipt": { + "title": "현금영수증", + "issue_title": "현금영수증 발급", + "status_issued": "발급완료", + "awaiting_deposit": "입금이 확인되면 발급할 수 있습니다.", + "purpose": "용도", + "purpose_income": "소득공제용", + "purpose_expense": "지출증빙용", + "identifier_type": "발급수단", + "identifier": "식별번호", + "identifier_phone": "휴대폰번호", + "identifier_card": "현금영수증 카드번호", + "identifier_business": "사업자등록번호", + "identifier_placeholder": "- 없이 숫자만 입력", + "immutable_help": "발급 후에는 용도를 변경할 수 없습니다.", + "amount": "금액", + "tax_free_amount": "면세금액", + "issue_number": "발급번호", + "issued_at": "발급일시", + "issue": "현금영수증 발급", + "cancel": "취소", + "cancel_issue": "발급취소", + "reissue": "수동 재발급", + "view_receipt": "영수증 보기", + "history": "발급 이력 ({{count}}건)", + "issue_success": "현금영수증이 발급되었습니다.", + "issue_failed": "현금영수증 발급에 실패했습니다.", + "cancel_success": "현금영수증 발급이 취소되었습니다.", + "cancel_failed": "현금영수증 발급 취소에 실패했습니다.", + "reissue_failed": "재발급 실패", + "reissue_success": "현금영수증이 재발급되었습니다." } }, "preset": { diff --git a/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/ko/admin/settings.json b/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/ko/admin/settings.json index 2d79ba73..e792c594 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/ko/admin/settings.json +++ b/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/ko/admin/settings.json @@ -219,6 +219,23 @@ "restore_on_cancel": "주문 취소 시 재고 복구", "restore_on_cancel_description": "주문이 취소되면 차감된 재고를 자동으로 복구합니다.", "restore_on_cancel_hint": "반품/교환 처리 시에도 적용됩니다." + }, + "cash_receipt": { + "title": "현금영수증", + "description": "현금영수증 발급 프로바이더와 배송비 과세 방식을 설정합니다.", + "provider_label": "현금영수증 프로바이더", + "provider_none": "(미사용)", + "provider_not_installed": "결제 플러그인을 활성화하면 발급 프로바이더를 선택할 수 있습니다.", + "provider_help": "결제에 사용하는 PG 와 별개로 선택할 수 있습니다.", + "shipping_fee_tax_label": "배송비 과세 방식", + "shipping_fee_tax_proportional": "안분 (기본)", + "shipping_fee_tax_taxable": "전액 과세", + "shipping_fee_tax_follow_main_item": "주된 재화 기준", + "shipping_fee_tax_help": "안분은 과세·면세 상품 금액 비율로 배송비를 나눕니다.", + "self_issue_label": "자진발급 사용", + "self_issue_help": "구매자가 신청하지 않은 무통장 입금 건도 자동으로 발급합니다 (소득공제용 전용).", + "self_issue_mandatory_help": "현금영수증 의무발행 업종은 구매자가 신청하지 않아도 발급 의무가 있습니다. 해당 업종이면 켜세요.", + "self_issue_mandatory_link": "국세청 의무발행 업종 안내" } }, "claim": { diff --git a/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/ko/order.json b/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/ko/order.json index 04bbd8bb..76317abf 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/ko/order.json +++ b/modules/_bundled/sirsoft-ecommerce/resources/lang/partial/ko/order.json @@ -12,5 +12,29 @@ "delivered": "배송완료", "cancelled": "취소됨", "refunded": "환불됨" + }, + "cash_receipt": { + "title": "현금영수증", + "issue_title": "현금영수증 발급", + "purpose": "용도", + "purpose_income": "소득공제용", + "purpose_expense": "지출증빙용", + "identifier_type": "발급수단", + "identifier": "식별번호", + "identifier_phone": "휴대폰번호", + "identifier_card": "현금영수증 카드번호", + "identifier_business": "사업자등록번호", + "identifier_placeholder": "- 없이 숫자만 입력", + "immutable_help": "발급 후에는 용도를 변경할 수 없습니다.", + "awaiting_deposit": "입금이 확인되면 발급됩니다.", + "none": "발급된 현금영수증이 없습니다.", + "issue": "현금영수증 발급", + "cancel": "취소", + "issued_at": "발급일시", + "view_receipt": "영수증 보기", + "issue_success": "현금영수증이 발급되었습니다.", + "issue_failed": "현금영수증 발급에 실패했습니다.", + "reissue_failed": "재발급 실패", + "reissue_failed_help": "환불에 따른 현금영수증 재발급이 실패했습니다. 고객센터로 문의해 주세요." } } \ No newline at end of file diff --git a/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/admin_ecommerce_order_detail.json b/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/admin_ecommerce_order_detail.json index 502515b3..ecdaf172 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/admin_ecommerce_order_detail.json +++ b/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/admin_ecommerce_order_detail.json @@ -16,7 +16,8 @@ "batchOrderStatus": "", "batchCarrierId": "", "batchTrackingNumber": "", - "activeOrderTab": "order_info" + "activeOrderTab": "order_info", + "expandedCashReceiptHistory": [] }, "transition_overlay": { "wait_for": [ @@ -64,9 +65,23 @@ "form.intl_state": "{{data.shipping_address?.intl_state ?? ''}}", "form.intl_postal_code": "{{data.shipping_address?.intl_postal_code ?? ''}}", "form.delivery_memo": "{{data.delivery_memo ?? ''}}", - "form.admin_memo": "{{data.admin_memo ?? ''}}" + "form.admin_memo": "{{data.admin_memo ?? ''}}", + "_comment_refund_bank": "주문 시 입력된 환불 계좌를 취소 모달에 프리필한다 (관리자가 수정 가능). cancelOrderHandlers 가 이 _local 키를 읽어 refund_bank 로 전송한다.", + "refundBankCode": "{{data.payment?.refund_bank_code ?? ''}}", + "refundBankAccount": "{{data.payment?.refund_bank_account ?? ''}}", + "refundBankHolder": "{{data.payment?.refund_bank_holder ?? ''}}" } }, + { + "id": "paymentSettings", + "comment": "환불 계좌 은행 목록 (order_settings.banks) — 취소 모달의 은행 Select 가 사용한다. 무통장 입금 계좌와 동일한 목록이다.", + "label_key": "$t:sirsoft-ecommerce.editor.data_source.paymentSettings", + "type": "api", + "endpoint": "/api/modules/sirsoft-ecommerce/settings/payment", + "method": "GET", + "auto_fetch": true, + "auth_required": true + }, { "id": "active_carriers", "label_key": "$t:sirsoft-ecommerce.editor.data_source.active_carriers", @@ -167,6 +182,9 @@ { "partial": "partials/admin_ecommerce_order_detail/_modal_cancel_order.json" }, + { + "partial": "partials/admin_ecommerce_order_detail/_modal_issue_cash_receipt.json" + }, { "partial": "partials/admin_ecommerce_order_detail/_modal_reset_guest_password.json" }, diff --git a/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_order_detail/_modal_cancel_order.json b/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_order_detail/_modal_cancel_order.json index dab3bbe9..477a1d00 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_order_detail/_modal_cancel_order.json +++ b/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_order_detail/_modal_cancel_order.json @@ -493,6 +493,161 @@ } ] }, + { + "id": "cancel_refund_bank_section", + "comment": "환불 계좌 (W-4 / #454). 가상계좌·무통장에서만 노출한다 — 카드·간편결제는 원 결제수단으로 환불되므로 계좌가 불필요하다. 가상계좌 입금완료 건은 서버(CancelOrderRequest)가 필수로 강제한다. 주문 시 입력값은 레이아웃 initLocal 이 프리필하며, cancelOrderHandlers 가 _local.refundBank* 를 읽어 전송한다. 신설 블록이므로 responsive.portable 로 작성한다(§6-0).", + "type": "basic", + "name": "Div", + "if": "{{['vbank', 'dbank'].includes(order.data?.payment?.payment_method)}}", + "children": [ + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-body font-medium block mb-2" + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.modal.cancel.refund_bank_label" + }, + { + "comment": "가상계좌 입금완료 건은 필수임을 미리 안내한다 (서버가 422 로 막기 전에)", + "type": "basic", + "name": "P", + "if": "{{order.data?.payment?.payment_method === 'vbank' && order.data?.payment?.payment_status === 'paid'}}", + "props": { + "className": "text-xs text-amber-600 dark:text-amber-400 mb-2" + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.modal.cancel.refund_bank_required_hint" + }, + { + "comment": "은행 / 계좌번호 / 예금주 — 기본 3열, portable 1열 (마크업 구조 변경이므로 responsive 속성 사용)", + "type": "basic", + "name": "Div", + "props": { + "className": "grid grid-cols-3 gap-3" + }, + "responsive": { + "portable": { + "props": { + "className": "grid grid-cols-1 gap-3" + } + } + }, + "children": [ + { + "id": "cancel_refund_bank_code", + "type": "basic", + "name": "Select", + "props": { + "name": "refund_bank_code", + "value": "{{_local.refundBankCode ?? ''}}", + "options": "{{[{ value: '', label: $t('sirsoft-ecommerce.admin.order.detail.modal.cancel.refund_bank_select') }].concat((paymentSettings.data?.order_settings?.banks ?? []).map(b => ({ value: b.code, label: $localized(b.name) ?? b.code })))}}", + "className": "w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-white focus:ring-2 focus:ring-blue-500" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "refundBankCode": "{{$event.target.value}}" + } + } + ] + }, + { + "id": "cancel_refund_bank_account", + "type": "basic", + "name": "Input", + "props": { + "type": "text", + "name": "refund_bank_account", + "value": "{{_local.refundBankAccount ?? ''}}", + "placeholder": "$t:sirsoft-ecommerce.admin.order.detail.modal.cancel.refund_bank_account_placeholder", + "className": "w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-white focus:ring-2 focus:ring-blue-500" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "refundBankAccount": "{{$event.target.value}}" + } + } + ] + }, + { + "id": "cancel_refund_bank_holder", + "type": "basic", + "name": "Input", + "props": { + "type": "text", + "name": "refund_bank_holder", + "value": "{{_local.refundBankHolder ?? ''}}", + "placeholder": "$t:sirsoft-ecommerce.admin.order.detail.modal.cancel.refund_bank_holder_placeholder", + "className": "w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-white focus:ring-2 focus:ring-blue-500" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "refundBankHolder": "{{$event.target.value}}" + } + } + ] + } + ] + }, + { + "comment": "서버 검증 오류 — 부분 입력 거부 / 가상계좌 입금완료 필수 (필드별 인라인)", + "type": "basic", + "name": "Div", + "if": "{{!!(_local.cancelValidationErrors?.['refund_bank.bank_code'] || _local.cancelValidationErrors?.['refund_bank.account_number'] || _local.cancelValidationErrors?.['refund_bank.holder'])}}", + "props": { + "className": "mt-1 space-y-0.5" + }, + "children": [ + { + "type": "basic", + "name": "Span", + "if": "{{!!_local.cancelValidationErrors?.['refund_bank.bank_code']}}", + "props": { + "className": "form-error-xs block" + }, + "text": "{{Array.isArray(_local.cancelValidationErrors?.['refund_bank.bank_code']) ? _local.cancelValidationErrors['refund_bank.bank_code'][0] : _local.cancelValidationErrors?.['refund_bank.bank_code']}}" + }, + { + "type": "basic", + "name": "Span", + "if": "{{!!_local.cancelValidationErrors?.['refund_bank.account_number']}}", + "props": { + "className": "form-error-xs block" + }, + "text": "{{Array.isArray(_local.cancelValidationErrors?.['refund_bank.account_number']) ? _local.cancelValidationErrors['refund_bank.account_number'][0] : _local.cancelValidationErrors?.['refund_bank.account_number']}}" + }, + { + "type": "basic", + "name": "Span", + "if": "{{!!_local.cancelValidationErrors?.['refund_bank.holder']}}", + "props": { + "className": "form-error-xs block" + }, + "text": "{{Array.isArray(_local.cancelValidationErrors?.['refund_bank.holder']) ? _local.cancelValidationErrors['refund_bank.holder'][0] : _local.cancelValidationErrors?.['refund_bank.holder']}}" + } + ] + }, + { + "type": "basic", + "name": "P", + "props": { + "className": "text-xs text-secondary mt-1" + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.modal.cancel.refund_bank_partial_notice" + } + ] + }, { "comment": "환불 우선순위 라디오 — PG 환불 가능(requires_pg_cancellation)일 때 노출한다. 포인트 사용분이 없으면(total_points_used_amount=0) PG↔포인트 배분 순서가 무의미하므로 노출은 하되 선택 불가(disabled)로 둔다 (A28, 2026-06-22).", "type": "basic", diff --git a/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_order_detail/_modal_issue_cash_receipt.json b/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_order_detail/_modal_issue_cash_receipt.json new file mode 100644 index 00000000..e517e2c2 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_order_detail/_modal_issue_cash_receipt.json @@ -0,0 +1,268 @@ +{ + "meta": { + "is_partial": true, + "description": "관리자 주문상세 - 현금영수증 발급 모달 (사후 발급 포함)" + }, + "id": "modal_issue_cash_receipt", + "type": "composite", + "name": "Modal", + "props": { + "title": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.issue_title", + "size": "small" + }, + "children": [ + { + "comment": "모달은 부모와 별도 컨텍스트라 iteration 변수(payment)나 부모 _local 을 참조할 수 없다. 발급 버튼이 열기 전에 _global.adminCashReceiptForm 을 시드하며, 주문 식별은 데이터소스(order) 응답을 직접 참조한다.", + "type": "basic", + "name": "Div", + "props": { "className": "space-y-4" }, + "children": [ + { + "comment": "용도", + "type": "basic", + "name": "Div", + "children": [ + { + "type": "basic", + "name": "Label", + "props": { "className": "block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1" }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.purpose" + }, + { + "type": "basic", + "name": "Div", + "props": { "className": "flex flex-row gap-4" }, + "responsive": { + "portable": { "props": { "className": "flex flex-col gap-2" } } + }, + "children": [ + { + "type": "basic", + "name": "Label", + "props": { "className": "flex items-center gap-2 text-sm text-gray-700 dark:text-gray-300" }, + "children": [ + { + "type": "basic", + "name": "Input", + "props": { + "type": "radio", + "name": "receipt_type", + "value": "income", + "checked": "{{(_global.adminCashReceiptForm?.receipt_type ?? 'income') === 'income'}}", + "className": "w-4 h-4 border-gray-300 dark:border-gray-600 text-blue-600 focus:ring-blue-500" + }, + "actions": [ + { + "comment": "소득공제 전환 시 사업자등록번호 선택을 phone 으로 리셋한다 (소득공제에는 사용할 수 없다)", + "type": "change", + "handler": "setState", + "params": { + "target": "global", + "adminCashReceiptForm.receipt_type": "income", + "adminCashReceiptForm.identifier_type": "{{_global.adminCashReceiptForm?.identifier_type === 'business' ? 'phone' : (_global.adminCashReceiptForm?.identifier_type ?? 'phone')}}", + "adminCashReceiptForm.identifier": "{{_global.adminCashReceiptForm?.identifier_type === 'business' ? '' : (_global.adminCashReceiptForm?.identifier ?? '')}}" + } + } + ] + }, + { + "type": "basic", + "name": "Span", + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.purpose_income" + } + ] + }, + { + "type": "basic", + "name": "Label", + "props": { "className": "flex items-center gap-2 text-sm text-gray-700 dark:text-gray-300" }, + "children": [ + { + "type": "basic", + "name": "Input", + "props": { + "type": "radio", + "name": "receipt_type", + "value": "expense", + "checked": "{{_global.adminCashReceiptForm?.receipt_type === 'expense'}}", + "className": "w-4 h-4 border-gray-300 dark:border-gray-600 text-blue-600 focus:ring-blue-500" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { "target": "global", "adminCashReceiptForm.receipt_type": "expense" } + } + ] + }, + { + "type": "basic", + "name": "Span", + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.purpose_expense" + } + ] + } + ] + } + ] + }, + { + "comment": "발급수단 — 지출증빙일 때만 사업자등록번호를 옵션에 포함한다 (D10: 휴대폰은 양쪽 모두 유효)", + "type": "basic", + "name": "Div", + "children": [ + { + "type": "basic", + "name": "Label", + "props": { "className": "block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1" }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.identifier_type" + }, + { + "id": "modal_cash_receipt_identifier_type", + "type": "basic", + "name": "Select", + "props": { + "name": "identifier_type", + "value": "{{_global.adminCashReceiptForm?.identifier_type ?? 'phone'}}", + "options": "{{(_global.adminCashReceiptForm?.receipt_type === 'expense' ? [{ value: 'business', label: $t('sirsoft-ecommerce.admin.order.detail.cash_receipt.identifier_business') }] : []).concat([{ value: 'phone', label: $t('sirsoft-ecommerce.admin.order.detail.cash_receipt.identifier_phone') }, { value: 'card', label: $t('sirsoft-ecommerce.admin.order.detail.cash_receipt.identifier_card') }])}}", + "className": "w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-white focus:ring-2 focus:ring-blue-500" + }, + "actions": [ + { + "comment": "발급수단이 바뀌면 번호를 비운다 — 형식이 달라 그대로 두면 서버 검증에서 422 가 난다.", + "type": "change", + "handler": "setState", + "params": { + "target": "global", + "adminCashReceiptForm.identifier_type": "{{$event.target.value}}", + "adminCashReceiptForm.identifier": "" + } + } + ] + } + ] + }, + { + "comment": "번호", + "type": "basic", + "name": "Div", + "children": [ + { + "type": "basic", + "name": "Label", + "props": { "className": "block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1" }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.identifier" + }, + { + "id": "modal_cash_receipt_identifier", + "type": "basic", + "name": "Input", + "props": { + "type": "text", + "name": "identifier", + "value": "{{_global.adminCashReceiptForm?.identifier ?? ''}}", + "placeholder": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.identifier_placeholder", + "className": "w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-white focus:ring-2 focus:ring-blue-500" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { "target": "global", "adminCashReceiptForm.identifier": "{{$event.target.value}}" } + } + ] + }, + { + "comment": "서버 검증 메시지 인라인 노출 (사업자번호 체크섬 · 용도×수단 조합 위반 등)", + "type": "basic", + "name": "Span", + "if": "{{!!_global.adminCashReceiptForm?.error}}", + "props": { "className": "block text-red-500 text-xs mt-1" }, + "text": "{{_global.adminCashReceiptForm?.error ?? ''}}" + } + ] + }, + { + "type": "basic", + "name": "P", + "props": { "className": "text-xs text-secondary" }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.immutable_help" + }, + { + "comment": "액션 — 데스크톱 가로 우측정렬 → portable full-width 세로 스택", + "type": "basic", + "name": "Div", + "props": { "className": "flex flex-row justify-end gap-2 pt-2" }, + "responsive": { + "portable": { "props": { "className": "flex flex-col gap-2 w-full pt-2" } } + }, + "children": [ + { + "type": "basic", + "name": "Button", + "props": { + "type": "button", + "className": "px-4 py-2 text-sm rounded-lg border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700" + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.cancel", + "actions": [{ "type": "click", "handler": "closeModal" }] + }, + { + "id": "modal_cash_receipt_submit", + "type": "basic", + "name": "Button", + "props": { + "type": "button", + "className": "px-4 py-2 text-sm rounded-lg bg-blue-600 hover:bg-blue-700 text-white disabled:opacity-50 disabled:cursor-not-allowed", + "disabled": "{{!(_global.adminCashReceiptForm?.identifier ?? '')}}" + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.issue", + "actions": [ + { + "comment": "관리자 API 는 auth_required 를 선언해야 Bearer 토큰이 부착된다 — 미선언 시 401.", + "type": "click", + "handler": "apiCall", + "target": "/api/modules/sirsoft-ecommerce/admin/orders/{{order.data?.id}}/cash-receipt", + "auth_required": true, + "params": { + "method": "POST", + "body": { + "receipt_type": "{{_global.adminCashReceiptForm?.receipt_type ?? 'income'}}", + "identifier_type": "{{_global.adminCashReceiptForm?.identifier_type ?? 'phone'}}", + "identifier": "{{_global.adminCashReceiptForm?.identifier ?? ''}}" + } + }, + "onSuccess": [ + { + "comment": "setState 를 먼저 하고 closeModal 을 나중에 한다 (순서 역전 시 상태가 남는다)", + "handler": "setState", + "params": { "target": "global", "adminCashReceiptForm": null } + }, + { "handler": "closeModal" }, + { "handler": "refetchDataSource", "params": { "dataSourceId": "order" } }, + { + "handler": "toast", + "params": { + "type": "success", + "message": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.issue_success" + } + } + ], + "onError": [ + { + "handler": "setState", + "params": { + "target": "global", + "adminCashReceiptForm.error": "{{error.errors?.identifier?.[0] ?? error.message ?? $t('sirsoft-ecommerce.admin.order.detail.cash_receipt.issue_failed')}}" + } + } + ] + } + ] + } + ] + } + ] + } + ] +} diff --git a/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_order_detail/_partial_payment_info.json b/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_order_detail/_partial_payment_info.json index adfee8b3..f676cfdf 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_order_detail/_partial_payment_info.json +++ b/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_order_detail/_partial_payment_info.json @@ -27,7 +27,7 @@ "text": "$t:sirsoft-ecommerce.admin.order.detail.payment_info.title" }, { - "id": "payment_cards", + "id": "payment_cards_{{payIdx}}", "type": "basic", "name": "Div", "iteration": { @@ -740,6 +740,589 @@ ] } ] + }, + { + "id": "payment_cash_receipt_card_{{payIdx}}", + "comment": "현금영수증 카드 (W-3 / #454). 무통장이 아니거나 프로바이더 미설정이면 카드 자체를 렌더하지 않는다. 카드 바깥의 기존 결제정보 본문은 .grid-2col-responsive 등 CSS 유틸을 쓰지만, 신설 카드는 responsive.portable 로 작성한다(액션 버튼의 마크업 구조가 바뀌므로 Tailwind breakpoint 로 처리 불가 — 편집기 디바이스 미리보기가 overrideWidth 를 무시한다).", + "type": "basic", + "name": "Div", + "if": "{{payment?.payment_method === 'dbank' && !!payment?.cash_receipt_provider}}", + "props": { + "className": "mt-4 pt-4 border-t border-gray-200 dark:border-gray-700" + }, + "children": [ + { + "comment": "헤더 — 프로바이더 + 발급 상태 배지", + "type": "basic", + "name": "Div", + "props": { + "className": "flex items-center justify-between mb-3" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "flex items-center gap-2" + }, + "children": [ + { + "type": "basic", + "name": "Icon", + "props": { + "name": "receipt", + "size": "sm", + "className": "text-gray-700 dark:text-gray-300" + } + }, + { + "type": "basic", + "name": "H4", + "props": { + "className": "text-sm font-semibold text-gray-900 dark:text-white" + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.title" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-xs text-secondary" + }, + "text": "{{payment?.cash_receipt_provider ?? ''}}" + } + ] + }, + { + "type": "basic", + "name": "Span", + "if": "{{!!order.data?.cash_receipt}}", + "props": { + "className": "inline-flex items-center px-2 py-0.5 rounded-full text-xs font-semibold bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300" + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.status_issued" + } + ] + }, + { + "id": "payment_cash_receipt_awaiting_{{payIdx}}", + "comment": "입금 전 — 발급 불가 안내. 무통장 주문은 ready 로 생성되고 가상계좌는 waiting_deposit 이다(PaymentStatusEnum::isAwaitingDeposit() 이 둘 다 true). 위 입금확인 버튼(94행)이 이미 같은 두 상태를 함께 검사한다.", + "type": "basic", + "name": "P", + "if": "{{['ready', 'waiting_deposit'].includes(payment?.payment_status)}}", + "props": { + "className": "text-sm text-secondary" + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.awaiting_deposit" + }, + { + "id": "payment_cash_receipt_issued_{{payIdx}}", + "comment": "발급완료 — 정보 2열(기본) → portable 1열", + "type": "basic", + "name": "Div", + "if": "{{!!order.data?.cash_receipt}}", + "props": { + "className": "grid grid-cols-2 gap-x-4 gap-y-1.5" + }, + "responsive": { + "portable": { + "props": { + "className": "grid grid-cols-1 gap-y-1.5" + } + } + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "flex justify-between text-sm" + }, + "children": [ + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-secondary" + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.issued_at" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-primary" + }, + "text": "{{order.data?.cash_receipt?.issued_at_formatted ?? '-'}}" + } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "flex justify-between text-sm" + }, + "children": [ + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-secondary" + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.purpose" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-primary" + }, + "text": "{{order.data?.cash_receipt?.receipt_type_label ?? '-'}}" + } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "flex justify-between text-sm" + }, + "children": [ + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-secondary" + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.identifier" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-primary" + }, + "text": "{{order.data?.cash_receipt?.identifier_masked ?? '-'}}" + } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "flex justify-between text-sm" + }, + "children": [ + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-secondary" + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.amount" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-primary" + }, + "text": "{{order.data?.cash_receipt?.amount_formatted ?? '-'}}" + } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "flex justify-between text-sm" + }, + "children": [ + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-secondary" + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.tax_free_amount" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-primary" + }, + "text": "{{order.data?.cash_receipt?.tax_free_amount_formatted ?? '-'}}" + } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "flex justify-between text-sm" + }, + "children": [ + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-secondary" + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.issue_number" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-primary" + }, + "text": "{{order.data?.cash_receipt?.issue_number ?? '-'}}" + } + ] + } + ] + }, + { + "id": "payment_cash_receipt_failed_badge_{{payIdx}}", + "comment": "취소 성공 + 재발급 실패 — 경고 배지 + 수동 재발급(관리자 전용). issue_status backing value 는 대문자(FAILED) 라 대소문자 무관 비교한다.", + "type": "basic", + "name": "Div", + "if": "{{!order.data?.cash_receipt && (order.data?.cash_receipts ?? []).length > 0 && String((order.data?.cash_receipts ?? [])[0]?.issue_status ?? '').toLowerCase() === 'failed'}}", + "props": { + "className": "rounded-lg bg-amber-50 dark:bg-amber-900/20 border border-amber-200 dark:border-amber-800 p-3 mb-3" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "flex items-center gap-2" + }, + "children": [ + { + "type": "basic", + "name": "Icon", + "props": { + "name": "triangle-exclamation", + "size": "sm", + "className": "text-amber-600 dark:text-amber-400" + } + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-sm font-medium text-amber-800 dark:text-amber-300" + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.reissue_failed" + } + ] + }, + { + "type": "basic", + "name": "P", + "props": { + "className": "text-xs text-amber-700 dark:text-amber-400 mt-1" + }, + "text": "{{(order.data?.cash_receipts ?? [])[0]?.error_message ?? ''}}" + } + ] + }, + { + "id": "payment_cash_receipt_actions_{{payIdx}}", + "comment": "액션 — 데스크톱 가로 우측정렬 → portable full-width 세로 스택 (§6-0)", + "type": "basic", + "name": "Div", + "props": { + "className": "flex flex-row justify-end gap-2 mt-3" + }, + "responsive": { + "portable": { + "props": { + "className": "flex flex-col gap-2 w-full mt-3" + } + } + }, + "children": [ + { + "id": "payment_cash_receipt_view_link_{{payIdx}}", + "type": "basic", + "name": "A", + "if": "{{!!order.data?.cash_receipt?.receipt_url}}", + "props": { + "href": "{{order.data?.cash_receipt?.receipt_url}}", + "target": "_blank", + "rel": "noopener noreferrer", + "className": "inline-flex items-center justify-center gap-1 px-3 py-1.5 text-sm rounded-lg border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700" + }, + "responsive": { + "portable": { + "props": { + "href": "{{order.data?.cash_receipt?.receipt_url}}", + "target": "_blank", + "rel": "noopener noreferrer", + "className": "inline-flex w-full items-center justify-center gap-1 px-3 py-2 text-sm rounded-lg border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700" + } + } + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.view_receipt" + }, + { + "id": "payment_cash_receipt_issue_button_{{payIdx}}", + "comment": "입금완료 + 미발급 + 재발급 실패 이력 없음 → 신규 발급. 실패 이력이 있으면 복구 경로는 수동 재발급이므로 두 버튼을 함께 띄우지 않는다.", + "type": "basic", + "name": "Button", + "if": "{{payment?.payment_status === 'paid' && !order.data?.cash_receipt && String((order.data?.cash_receipts ?? [])[0]?.issue_status ?? '').toLowerCase() !== 'failed'}}", + "props": { + "type": "button", + "className": "px-3 py-1.5 text-sm rounded-lg bg-blue-600 hover:bg-blue-700 text-white" + }, + "responsive": { + "portable": { + "props": { + "type": "button", + "className": "w-full px-3 py-2 text-sm rounded-lg bg-blue-600 hover:bg-blue-700 text-white" + } + } + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.issue", + "actions": [ + { + "type": "click", + "handler": "sequence", + "params": { + "actions": [ + { + "handler": "setState", + "params": { + "target": "global", + "adminCashReceiptForm": "{{ { receipt_type: (payment?.cash_receipt_type ?? 'income'), identifier_type: (payment?.cash_receipt_identifier_type ?? 'phone'), identifier: '', error: null } }}" + } + }, + { + "handler": "openModal", + "target": "modal_issue_cash_receipt" + } + ] + } + } + ] + }, + { + "id": "payment_cash_receipt_reissue_button_{{payIdx}}", + "comment": "수동 재발급 — 관리자 전용. 취소 성공 + 재발급 실패 중간 상태 복구 (recoverFailedIssue)", + "type": "basic", + "name": "Button", + "if": "{{!order.data?.cash_receipt && (order.data?.cash_receipts ?? []).length > 0 && String((order.data?.cash_receipts ?? [])[0]?.issue_status ?? '').toLowerCase() === 'failed'}}", + "props": { + "type": "button", + "className": "px-3 py-1.5 text-sm rounded-lg bg-amber-600 hover:bg-amber-700 text-white" + }, + "responsive": { + "portable": { + "props": { + "type": "button", + "className": "w-full px-3 py-2 text-sm rounded-lg bg-amber-600 hover:bg-amber-700 text-white" + } + } + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.reissue", + "actions": [ + { + "comment": "관리자 API 는 auth_required 를 선언해야 Bearer 토큰이 부착된다 — 미선언 시 401.", + "type": "click", + "handler": "apiCall", + "target": "/api/modules/sirsoft-ecommerce/admin/orders/{{order.data?.id}}/cash-receipt/reissue", + "auth_required": true, + "params": { + "method": "POST" + }, + "onSuccess": [ + { + "handler": "refetchDataSource", + "params": { + "dataSourceId": "order" + } + }, + { + "handler": "toast", + "params": { + "type": "success", + "message": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.reissue_success" + } + } + ], + "onError": [ + { + "handler": "toast", + "params": { + "type": "error", + "message": "{{error.message ?? $t('sirsoft-ecommerce.admin.order.detail.cash_receipt.reissue_failed')}}" + } + } + ] + } + ] + }, + { + "id": "payment_cash_receipt_cancel_button_{{payIdx}}", + "comment": "발급취소 — 관리자 전용 (유저 화면에는 이 버튼이 없다)", + "type": "basic", + "name": "Button", + "if": "{{!!order.data?.cash_receipt}}", + "props": { + "type": "button", + "className": "px-3 py-1.5 text-sm rounded-lg border border-red-300 dark:border-red-700 text-red-600 dark:text-red-400 hover:bg-red-50 dark:hover:bg-red-900/20" + }, + "responsive": { + "portable": { + "props": { + "type": "button", + "className": "w-full px-3 py-2 text-sm rounded-lg border border-red-300 dark:border-red-700 text-red-600 dark:text-red-400 hover:bg-red-50 dark:hover:bg-red-900/20" + } + } + }, + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.cancel_issue", + "actions": [ + { + "comment": "관리자 API 는 auth_required 를 선언해야 Bearer 토큰이 부착된다 — 미선언 시 401.", + "type": "click", + "handler": "apiCall", + "target": "/api/modules/sirsoft-ecommerce/admin/orders/{{order.data?.id}}/cash-receipt", + "auth_required": true, + "params": { + "method": "DELETE" + }, + "onSuccess": [ + { + "handler": "refetchDataSource", + "params": { + "dataSourceId": "order" + } + }, + { + "handler": "toast", + "params": { + "type": "success", + "message": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.cancel_success" + } + } + ], + "onError": [ + { + "handler": "toast", + "params": { + "type": "error", + "message": "{{error.message ?? $t('sirsoft-ecommerce.admin.order.detail.cash_receipt.cancel_failed')}}" + } + } + ] + } + ] + } + ] + }, + { + "id": "payment_cash_receipt_history_{{payIdx}}", + "comment": "발급 이력 — 발급/취소 전 이력을 최신순으로 보여준다 (국세청 신고 대사용)", + "type": "basic", + "name": "Div", + "if": "{{(order.data?.cash_receipts ?? []).length > 0}}", + "props": { + "className": "mt-3 pt-3 border-t border-gray-200 dark:border-gray-700" + }, + "children": [ + { + "id": "payment_cash_receipt_history_toggle_{{payIdx}}", + "comment": "이력은 기본 접힘 — 결제 건별로 독립 토글해야 하므로 _local.expandedCashReceiptHistory 배열에 payIdx 를 넣고 뺀다 (setState params 키는 정적이어야 하므로 값 표현식으로 배열을 조작한다)", + "type": "basic", + "name": "Button", + "props": { + "type": "button", + "className": "flex items-center gap-1 w-full text-left text-xs font-semibold text-secondary mb-1.5 hover:text-gray-900 dark:hover:text-gray-100", + "aria-expanded": "{{(_local.expandedCashReceiptHistory ?? []).includes(payIdx)}}", + "aria-controls": "payment_cash_receipt_history_body_{{payIdx}}" + }, + "actions": [ + { + "event": "click", + "handler": "setState", + "target": "local", + "params": { + "expandedCashReceiptHistory": "{{(_local.expandedCashReceiptHistory ?? []).includes(payIdx) ? (_local.expandedCashReceiptHistory ?? []).filter(i => i !== payIdx) : [...(_local.expandedCashReceiptHistory ?? []), payIdx]}}" + } + } + ], + "children": [ + { + "type": "basic", + "name": "Icon", + "props": { + "name": "{{(_local.expandedCashReceiptHistory ?? []).includes(payIdx) ? 'chevron-down' : 'chevron-right'}}", + "size": "xs" + } + }, + { + "type": "basic", + "name": "Span", + "text": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.history|count={{(order.data?.cash_receipts ?? []).length}}" + } + ] + }, + { + "id": "payment_cash_receipt_history_body_{{payIdx}}", + "type": "basic", + "name": "Div", + "if": "{{(_local.expandedCashReceiptHistory ?? []).includes(payIdx)}}", + "props": { + "className": "space-y-1" + }, + "iteration": { + "source": "{{order.data?.cash_receipts ?? []}}", + "item_var": "receipt", + "index_var": "receiptIdx" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "flex items-center justify-between text-xs text-secondary" + }, + "children": [ + { + "comment": "발급 실패 이력은 issued_at 이 null 이므로 기록 시각(occurred_at_formatted)을 쓴다", + "type": "basic", + "name": "Span", + "text": "{{receipt.occurred_at_formatted ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "text": "{{receipt.transaction_type_label ?? ''}}" + }, + { + "type": "basic", + "name": "Span", + "text": "{{receipt.amount_formatted ?? ''}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "{{String(receipt.issue_status ?? '').toLowerCase() === 'failed' ? 'text-red-600 dark:text-red-400' : 'text-green-600 dark:text-green-400'}}" + }, + "text": "{{receipt.result_label ?? ''}}" + } + ] + } + ] + } + ] + } + ] } ] } diff --git a/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_settings/_tab_order_settings.json b/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_settings/_tab_order_settings.json index 6ddfa2a0..93fac16e 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_settings/_tab_order_settings.json +++ b/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_settings/_tab_order_settings.json @@ -85,6 +85,256 @@ } ] }, + { + "id": "cash_receipt_card", + "comment": "현금영수증 설정 (W-5 / #454). 발급 프로바이더는 결제 PG 와 독립 선택한다(KG 로 결제하면서 영수증만 토스로 발급하는 구성 허용 — D5). 배송비 과세 방식은 3택(D3). 신설 블록이므로 responsive.portable 로 작성한다(§6-0).", + "type": "basic", + "name": "Div", + "props": { + "className": "admin-card" + }, + "children": [ + { + "type": "basic", + "name": "H3", + "props": { + "className": "card-title" + }, + "text": "$t:sirsoft-ecommerce.admin.settings.order_settings.cash_receipt.title" + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "card-description" + }, + "text": "$t:sirsoft-ecommerce.admin.settings.order_settings.cash_receipt.description" + }, + { + "comment": "프로바이더 Select + 배송비 과세 Select — 기본 2열, portable 1열", + "type": "basic", + "name": "Div", + "props": { + "className": "grid grid-cols-2 gap-4" + }, + "responsive": { + "portable": { + "props": { + "className": "grid grid-cols-1 gap-4" + } + } + }, + "children": [ + { + "type": "basic", + "name": "Div", + "children": [ + { + "type": "basic", + "name": "Label", + "props": { + "className": "block text-sm font-medium mb-1" + }, + "text": "$t:sirsoft-ecommerce.admin.settings.order_settings.cash_receipt.provider_label" + }, + { + "comment": "등록된 프로바이더가 0개면 안내만 노출한다", + "type": "basic", + "name": "Div", + "if": "{{(_local.form?.available_cash_receipt_providers ?? []).length === 0}}", + "props": { + "className": "flex-center gap-2 text-label-subtle" + }, + "children": [ + { + "type": "basic", + "name": "Icon", + "props": { + "name": "circle-info", + "className": "text-sm" + } + }, + { + "type": "basic", + "name": "Span", + "text": "$t:sirsoft-ecommerce.admin.settings.order_settings.cash_receipt.provider_not_installed" + } + ] + }, + { + "id": "cash_receipt_provider_select", + "type": "basic", + "name": "Select", + "if": "{{(_local.form?.available_cash_receipt_providers ?? []).length > 0}}", + "props": { + "value": "{{_local.form?.order_settings?.cash_receipt_provider ?? ''}}", + "className": "w-full", + "options": "{{[{ value: '', label: $t('sirsoft-ecommerce.admin.settings.order_settings.cash_receipt.provider_none') }].concat((_local.form?.available_cash_receipt_providers ?? []).map(p => ({ value: p.id, label: $localized(p.name) ?? p.id })))}}", + "disabled": "{{_computed.isReadOnly}}" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "form.order_settings.cash_receipt_provider": "{{$event.target.value || ''}}", + "hasChanges": true + } + } + ] + }, + { + "type": "basic", + "name": "P", + "props": { + "className": "text-xs text-secondary mt-1" + }, + "text": "$t:sirsoft-ecommerce.admin.settings.order_settings.cash_receipt.provider_help" + } + ] + }, + { + "type": "basic", + "name": "Div", + "children": [ + { + "type": "basic", + "name": "Label", + "props": { + "className": "block text-sm font-medium mb-1" + }, + "text": "$t:sirsoft-ecommerce.admin.settings.order_settings.cash_receipt.shipping_fee_tax_label" + }, + { + "id": "shipping_fee_tax_policy_select", + "comment": "배송비 과세 3정책 (D3) — 부가가치세법에 '배송비 50% 과세' 같은 일률 규정은 없다. 상점이 선택한다.", + "type": "basic", + "name": "Select", + "props": { + "value": "{{_local.form?.order_settings?.shipping_fee_tax_policy ?? 'proportional'}}", + "className": "w-full", + "options": "{{[{ value: 'proportional', label: $t('sirsoft-ecommerce.admin.settings.order_settings.cash_receipt.shipping_fee_tax_proportional') }, { value: 'taxable', label: $t('sirsoft-ecommerce.admin.settings.order_settings.cash_receipt.shipping_fee_tax_taxable') }, { value: 'follow_main_item', label: $t('sirsoft-ecommerce.admin.settings.order_settings.cash_receipt.shipping_fee_tax_follow_main_item') }]}}", + "disabled": "{{_computed.isReadOnly}}" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "form.order_settings.shipping_fee_tax_policy": "{{$event.target.value}}", + "hasChanges": true + } + } + ] + }, + { + "type": "basic", + "name": "P", + "props": { + "className": "text-xs text-secondary mt-1" + }, + "text": "$t:sirsoft-ecommerce.admin.settings.order_settings.cash_receipt.shipping_fee_tax_help" + } + ] + } + ] + }, + { + "comment": "자진발급 토글 — 기본 OFF (D14). 의무발행 업종만 켠다.", + "type": "basic", + "name": "Div", + "props": { + "className": "mt-4 pt-4 border-t border-gray-200 dark:border-gray-700" + }, + "children": [ + { + "type": "basic", + "name": "Label", + "props": { + "className": "flex items-center gap-2" + }, + "children": [ + { + "id": "cash_receipt_self_issue_toggle", + "type": "basic", + "name": "Input", + "props": { + "type": "checkbox", + "name": "order_settings.cash_receipt_self_issue", + "checked": "{{_local.form?.order_settings?.cash_receipt_self_issue ?? false}}", + "disabled": "{{_computed.isReadOnly}}", + "className": "w-4 h-4 rounded border-gray-300 dark:border-gray-600 text-blue-600 focus:ring-blue-500" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "form.order_settings.cash_receipt_self_issue": "{{$event.target.checked}}", + "hasChanges": true + } + } + ] + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-sm font-medium" + }, + "text": "$t:sirsoft-ecommerce.admin.settings.order_settings.cash_receipt.self_issue_label" + } + ] + }, + { + "type": "basic", + "name": "P", + "props": { + "className": "text-xs text-secondary mt-1 ml-6" + }, + "text": "$t:sirsoft-ecommerce.admin.settings.order_settings.cash_receipt.self_issue_help" + }, + { + "type": "basic", + "name": "P", + "props": { + "className": "text-xs text-secondary mt-1 ml-6" + }, + "text": "$t:sirsoft-ecommerce.admin.settings.order_settings.cash_receipt.self_issue_mandatory_help" + }, + { + "id": "cash_receipt_mandatory_industry_link", + "type": "basic", + "name": "A", + "props": { + "href": "https://www.nts.go.kr/nts/cm/cntnts/cntntsView.do?cntntsId=7796&mi=2471", + "target": "_blank", + "rel": "noopener noreferrer", + "className": "inline-flex items-center gap-1 text-xs text-blue-600 dark:text-blue-400 hover:underline mt-1 ml-6" + }, + "children": [ + { + "type": "basic", + "name": "Span", + "text": "$t:sirsoft-ecommerce.admin.settings.order_settings.cash_receipt.self_issue_mandatory_link" + }, + { + "type": "basic", + "name": "Icon", + "props": { + "name": "external-link", + "size": "sm" + } + } + ] + } + ] + } + ] + }, { "id": "payment_methods_card", "type": "basic", diff --git a/modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptIdentifierType.php b/modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptIdentifierType.php index e13646a0..fd9fdaeb 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptIdentifierType.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Enums/CashReceiptIdentifierType.php @@ -42,6 +42,26 @@ enum CashReceiptIdentifierType: string return array_column(self::cases(), 'value'); } + /** + * 식별번호를 마스킹합니다 (뒤 4자리만 노출). + * + * 식별번호의 형태를 아는 것은 이 Enum 의 책임이므로 마스킹 규칙도 여기에 둔다. + * 주문 생성 시점(신청 저장)과 발급 시점(이력 기록)이 동일한 마스킹을 써야 하므로 SSoT 로 유지한다. + * + * @param string $identifier 식별번호 원본 + * @return string 마스킹된 식별번호 + */ + public static function mask(string $identifier): string + { + $length = strlen($identifier); + + if ($length <= 4) { + return str_repeat('*', $length); + } + + return str_repeat('*', $length - 4).substr($identifier, -4); + } + /** * 유효한 값인지 확인합니다. * diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Admin/EcommerceSettingsController.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Admin/EcommerceSettingsController.php index 918686bb..c3ca608d 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Admin/EcommerceSettingsController.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Admin/EcommerceSettingsController.php @@ -53,6 +53,9 @@ class EcommerceSettingsController extends AdminBaseController $settings = $this->appendClaimReasonsToSettings($settings); $settings = $this->appendMileageNotificationChannelsToSettings($settings); $settings['available_pg_providers'] = $this->settingsService->getRegisteredPgProviders(); + // 현금영수증 발급 프로바이더 후보 — 결제 플러그인이 훅으로 자신을 등록한다. + // 발급 PG 와 결제 PG 는 독립 선택이므로 목록도 별도로 내린다 (KG 결제 + 토스 발급 등). + $settings['available_cash_receipt_providers'] = $this->settingsService->getRegisteredCashReceiptProviders(); $settings['abilities'] = [ 'can_update' => PermissionHelper::check('sirsoft-ecommerce.settings.update', request()->user()), ]; @@ -167,6 +170,7 @@ class EcommerceSettingsController extends AdminBaseController $updatedSettings = $this->appendClaimReasonsToSettings($updatedSettings); $updatedSettings = $this->appendMileageNotificationChannelsToSettings($updatedSettings); $updatedSettings['available_pg_providers'] = $this->settingsService->getRegisteredPgProviders(); + $updatedSettings['available_cash_receipt_providers'] = $this->settingsService->getRegisteredCashReceiptProviders(); return ResponseHelper::moduleSuccess( 'sirsoft-ecommerce', diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Admin/OrderController.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Admin/OrderController.php index 93e3823e..d57f8371 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Admin/OrderController.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Admin/OrderController.php @@ -338,6 +338,7 @@ class OrderController extends AdminBaseController cancelledBy: $cancelledBy, cancelPg: $request->shouldCancelPg(), refundPriority: $request->getRefundPriority(), + refundBankInfo: $request->getRefundBankInfo(), ); } else { $result = $this->cancellationService->cancelOrderOptions( @@ -348,6 +349,7 @@ class OrderController extends AdminBaseController cancelledBy: $cancelledBy, cancelPg: $request->shouldCancelPg(), refundPriority: $request->getRefundPriority(), + refundBankInfo: $request->getRefundBankInfo(), ); } diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Traits/HandlesOrderCreation.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Traits/HandlesOrderCreation.php index b7c0fd9c..e1217fb5 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Traits/HandlesOrderCreation.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Controllers/Traits/HandlesOrderCreation.php @@ -91,7 +91,9 @@ trait HandlesOrderCreation shippingMemo: $request->input('shipping_memo'), depositorName: $request->input('depositor_name'), dbankInfo: $request->getDbankInfo(), - guestLookupPassword: $request->getGuestLookupPassword() + guestLookupPassword: $request->getGuestLookupPassword(), + cashReceiptInfo: $request->getCashReceiptInfo(), + refundBankInfo: $request->getRefundBankInfo() ); $order->load(['options', 'payment', 'shippingAddress']); diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Admin/CancelOrderRequest.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Admin/CancelOrderRequest.php index 44393649..6b8ed1ea 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Admin/CancelOrderRequest.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Admin/CancelOrderRequest.php @@ -8,9 +8,12 @@ use Illuminate\Foundation\Http\FormRequest; use Illuminate\Validation\Rule; use Illuminate\Validation\ValidationException; use Modules\Sirsoft\Ecommerce\Enums\OrderStatusEnum; -use Modules\Sirsoft\Ecommerce\Models\ClaimReason; +use Modules\Sirsoft\Ecommerce\Enums\PaymentMethodEnum; +use Modules\Sirsoft\Ecommerce\Enums\PaymentStatusEnum; use Modules\Sirsoft\Ecommerce\Enums\RefundPriorityEnum; +use Modules\Sirsoft\Ecommerce\Models\ClaimReason; use Modules\Sirsoft\Ecommerce\Models\Order; +use Modules\Sirsoft\Ecommerce\Models\OrderPayment; /** * 주문 취소 요청 (관리자) @@ -22,7 +25,7 @@ class CancelOrderRequest extends FormRequest /** * 사용자가 이 요청을 수행할 권한이 있는지 확인 * - * @return bool + * @return bool 항상 true (권한 검사는 permission 미들웨어가 담당) */ public function authorize(): bool { @@ -32,7 +35,7 @@ class CancelOrderRequest extends FormRequest /** * 요청에 적용할 검증 규칙 * - * @return array + * @return array 검증 규칙 배열 */ public function rules(): array { @@ -45,13 +48,40 @@ class CancelOrderRequest extends FormRequest 'items.*.cancel_quantity' => ['required_with:items', 'integer', 'min:1'], 'cancel_pg' => ['nullable', 'boolean'], 'refund_priority' => ['sometimes', 'string', 'in:'.implode(',', RefundPriorityEnum::values())], + + // 환불 계좌 — 표시/필수 조건은 결제수단·입금상태에 따라 다르므로 withValidator 가 판정한다. + 'refund_bank.bank_code' => ['nullable', 'string', 'max:10'], + 'refund_bank.account_number' => ['nullable', 'string', 'max:50'], + 'refund_bank.holder' => ['nullable', 'string', 'max:50'], + ]; + } + + /** + * 환불 계좌 정보를 반환합니다. (미입력이면 null) + * + * 주문 시 입력된 계좌가 있으면 관리자가 수정할 수 있으며, 여기서 반환된 값이 결제행을 갱신합니다. + * + * @return array{bank_code: string, account_number: string, holder: string}|null 환불 계좌 (미입력 시 null) + */ + public function getRefundBankInfo(): ?array + { + $bankCode = $this->input('refund_bank.bank_code'); + + if (blank($bankCode)) { + return null; + } + + return [ + 'bank_code' => (string) $bankCode, + 'account_number' => (string) $this->input('refund_bank.account_number'), + 'holder' => (string) $this->input('refund_bank.holder'), ]; } /** * 검증 필드의 사용자 표시명 * - * @return array + * @return array 필드명 → 표시명 매핑 */ public function attributes(): array { @@ -64,8 +94,7 @@ class CancelOrderRequest extends FormRequest /** * 추가 검증 로직 * - * @param Validator $validator - * @return void + * @param Validator $validator 검증기 */ protected function withValidator(Validator $validator): void { @@ -99,6 +128,9 @@ class CancelOrderRequest extends FormRequest return; } + // 환불 계좌 조건부 검증 (결제수단·입금상태 기준) + $this->validateRefundBank($validator, $order); + // 부분취소 시 items 검증 if ($this->input('type') === 'partial') { $this->validateCancelItems($validator, $order); @@ -106,12 +138,92 @@ class CancelOrderRequest extends FormRequest }); } + /** + * 환불 계좌를 조건부로 검증합니다. + * + * 가상계좌 입금완료 건은 PG 환불 API 가 환불받을 계좌를 필수로 요구하므로 미입력을 거부합니다. + * 입금 전 가상계좌는 PG 가 계좌를 요구하지 않고, 무통장은 관리자가 수동 이체하므로 선택 입력입니다. + * 카드·간편결제는 원 결제수단으로 환불되므로 계좌 자체가 불필요합니다. + * + * 부분 입력(3필드 중 일부만)은 결제수단과 무관하게 거부합니다 — 그 상태로는 환불이 불가능합니다. + * + * @param Validator $validator 검증기 + * @param Order $order 취소 대상 주문 + */ + protected function validateRefundBank(Validator $validator, Order $order): void + { + $fields = ['bank_code', 'account_number', 'holder']; + + $filled = array_filter( + $fields, + fn (string $field): bool => filled($this->input("refund_bank.{$field}")) + ); + + // 부분 입력 거부 (전부 비었거나 전부 채워졌거나) + if ($filled !== [] && count($filled) !== count($fields)) { + foreach (array_diff($fields, $filled) as $missing) { + $validator->errors()->add( + "refund_bank.{$missing}", + __('sirsoft-ecommerce::validation.order.refund_bank_required_with') + ); + } + + return; + } + + if ($filled !== []) { + return; + } + + // 미입력 — 가상계좌 입금완료 건만 필수. 주문 시 입력된 계좌가 있으면 그것을 쓰므로 통과. + $order->loadMissing('payment'); + $payment = $order->payment; + + if (! $payment || ! $this->requiresRefundBank($payment)) { + return; + } + + if (filled($payment->refund_bank_code)) { + return; + } + + foreach ($fields as $field) { + $validator->errors()->add( + "refund_bank.{$field}", + __('sirsoft-ecommerce::validation.order.refund_bank_required_for_vbank') + ); + } + } + + /** + * 환불 계좌가 필수인 결제인지 판정합니다. + * + * @param OrderPayment $payment 결제 정보 + * @return bool 필수 여부 + */ + protected function requiresRefundBank(OrderPayment $payment): bool + { + $method = $payment->payment_method instanceof PaymentMethodEnum + ? $payment->payment_method + : PaymentMethodEnum::tryFrom((string) $payment->payment_method); + + if ($method !== PaymentMethodEnum::VBANK) { + return false; + } + + $status = $payment->payment_status instanceof PaymentStatusEnum + ? $payment->payment_status + : PaymentStatusEnum::tryFrom((string) $payment->payment_status); + + // 입금 전(waiting_deposit)이면 PG 가 환불받을 계좌를 요구하지 않는다. + return $status !== null && ! $status->isAwaitingDeposit(); + } + /** * 취소 아이템 목록을 검증합니다. * - * @param Validator $validator - * @param Order $order - * @return void + * @param Validator $validator 검증기 + * @param Order $order 취소 대상 주문 */ protected function validateCancelItems(Validator $validator, Order $order): void { @@ -155,8 +267,6 @@ class CancelOrderRequest extends FormRequest /** * 검증 실패 시 응답 커스터마이징 * - * @param Validator $validator - * @return void * * @throws ValidationException */ @@ -172,7 +282,7 @@ class CancelOrderRequest extends FormRequest /** * 전체취소 여부를 반환합니다. * - * @return bool + * @return bool 전체취소면 true */ public function isFullCancel(): bool { @@ -182,7 +292,7 @@ class CancelOrderRequest extends FormRequest /** * 취소 사유 코드를 반환합니다. * - * @return string|null + * @return string|null 취소 사유 코드 */ public function getReason(): ?string { @@ -192,7 +302,7 @@ class CancelOrderRequest extends FormRequest /** * 상세 취소 사유를 반환합니다. * - * @return string|null + * @return string|null 상세 취소 사유 (미입력 시 null) */ public function getReasonDetail(): ?string { @@ -212,7 +322,7 @@ class CancelOrderRequest extends FormRequest /** * PG 결제 취소 여부를 반환합니다. * - * @return bool + * @return bool PG 결제도 함께 취소하면 true */ public function shouldCancelPg(): bool { @@ -222,7 +332,7 @@ class CancelOrderRequest extends FormRequest /** * 환불 우선순위를 반환합니다. * - * @return RefundPriorityEnum + * @return RefundPriorityEnum 환불 우선순위 */ public function getRefundPriority(): RefundPriorityEnum { diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Admin/StoreEcommerceSettingsRequest.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Admin/StoreEcommerceSettingsRequest.php index dac453c1..2342321c 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Admin/StoreEcommerceSettingsRequest.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Admin/StoreEcommerceSettingsRequest.php @@ -5,6 +5,8 @@ namespace Modules\Sirsoft\Ecommerce\Http\Requests\Admin; use App\Rules\LocaleRequiredTranslatable; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Validation\Validator; +use Modules\Sirsoft\Ecommerce\Enums\PaymentMethodEnum; +use Modules\Sirsoft\Ecommerce\Enums\ShippingFeeTaxPolicy; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\OrderRepositoryInterface; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\ProductRepositoryInterface; use Modules\Sirsoft\Ecommerce\Services\EcommerceSettingsService; @@ -245,6 +247,11 @@ class StoreEcommerceSettingsRequest extends FormRequest // order_settings 섹션 'order_settings' => ['sometimes', 'array'], 'order_settings.default_pg_provider' => ['nullable', 'string', 'max:50'], + // 현금영수증 — 발급 프로바이더는 결제 PG 와 독립 선택한다 (빈 문자열 = 미사용). + // 규칙을 명시하지 않으면 validated() 가 키를 떨궈 저장이 조용히 무효화된다. + 'order_settings.cash_receipt_provider' => ['nullable', 'string', 'max:50'], + 'order_settings.cash_receipt_self_issue' => ['nullable', 'boolean'], + 'order_settings.shipping_fee_tax_policy' => ['nullable', 'string', 'in:'.implode(',', ShippingFeeTaxPolicy::values())], 'order_settings.payment_methods' => ['nullable', 'array'], 'order_settings.payment_methods.*.id' => ['required_with:order_settings.payment_methods', 'string', 'max:50'], 'order_settings.payment_methods.*.pg_provider' => ['nullable', 'string', 'max:50'], diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Public/CreateOrderRequest.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Public/CreateOrderRequest.php index 69274a16..af02c240 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Public/CreateOrderRequest.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Public/CreateOrderRequest.php @@ -3,9 +3,13 @@ namespace Modules\Sirsoft\Ecommerce\Http\Requests\Public; use App\Extension\HookManager; +use Illuminate\Contracts\Validation\Validator; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Validation\Rule; +use Modules\Sirsoft\Ecommerce\Enums\CashReceiptIdentifierType; +use Modules\Sirsoft\Ecommerce\Enums\CashReceiptType; use Modules\Sirsoft\Ecommerce\Enums\PaymentMethodEnum; +use Modules\Sirsoft\Ecommerce\Rules\CashReceiptIdentifier; use Modules\Sirsoft\Ecommerce\Services\PaymentMethodResolver; /** @@ -81,6 +85,33 @@ class CreateOrderRequest extends FormRequest // 배송지 저장 'save_shipping_address' => 'nullable|boolean', + + // 현금영수증 신청 (무통장입금 전용 — 신청 시에만 하위 3키 필수) + 'cash_receipt_requested' => 'nullable|boolean', + 'cash_receipt_type' => [ + 'required_if:cash_receipt_requested,true', + 'nullable', + 'string', + Rule::in(CashReceiptType::values()), + ], + 'cash_receipt_identifier_type' => [ + 'required_if:cash_receipt_requested,true', + 'nullable', + 'string', + Rule::in(CashReceiptIdentifierType::values()), + ], + 'cash_receipt_identifier' => [ + 'required_if:cash_receipt_requested,true', + 'nullable', + 'string', + 'max:30', + new CashReceiptIdentifier($this->resolveCashReceiptType(), $this->resolveCashReceiptIdentifierType()), + ], + + // 환불 계좌 (선택) — 부분 입력 금지는 withValidator 의 required_with 로 처리 + 'refund_bank.bank_code' => 'nullable|string|max:10', + 'refund_bank.account_number' => 'nullable|string|max:50', + 'refund_bank.holder' => 'nullable|string|max:50', ]; // 주문자 이메일은 회원/비회원 분기 (비회원은 알림 수신 통로가 이메일뿐 → 필수) @@ -92,6 +123,39 @@ class CreateOrderRequest extends FormRequest return HookManager::applyFilters('sirsoft-ecommerce.order.create_validation_rules', $rules, $this); } + /** + * 검증기 확장 — 환불 계좌의 부분 입력을 거부합니다. + * + * 3필드는 모두 선택 입력이지만 일부만 채우면 환불 자체가 불가능합니다. + * 계좌번호만 있고 예금주가 없으면 PG 환불 API 가 거부하고, 무통장은 관리자가 이체할 수 없습니다. + * 따라서 "전부 비었거나 전부 채워졌거나" 둘 중 하나만 허용합니다. + * + * @param Validator $validator 검증기 + */ + public function withValidator(Validator $validator): void + { + $validator->after(function (Validator $validator): void { + $fields = ['bank_code', 'account_number', 'holder']; + + $filled = array_filter( + $fields, + fn (string $field): bool => filled($this->input("refund_bank.{$field}")) + ); + + // 전부 비었으면 미입력 (허용), 전부 채워졌으면 완전 입력 (허용) + if ($filled === [] || count($filled) === count($fields)) { + return; + } + + foreach (array_diff($fields, $filled) as $missing) { + $validator->errors()->add( + "refund_bank.{$missing}", + __('sirsoft-ecommerce::validation.order.refund_bank_required_with') + ); + } + }); + } + /** * 주문자 이메일 검증 규칙을 반환합니다. * @@ -180,6 +244,13 @@ class CreateOrderRequest extends FormRequest 'dbank.account_number.required_if' => __('sirsoft-ecommerce::validation.order.dbank_account_number_required'), 'dbank.account_holder.required_if' => __('sirsoft-ecommerce::validation.order.dbank_account_holder_required'), + // 현금영수증 신청 + 'cash_receipt_type.required_if' => __('sirsoft-ecommerce::validation.order.cash_receipt_type_required'), + 'cash_receipt_type.in' => __('sirsoft-ecommerce::validation.order.cash_receipt_type_invalid'), + 'cash_receipt_identifier_type.required_if' => __('sirsoft-ecommerce::validation.order.cash_receipt_identifier_type_required'), + 'cash_receipt_identifier_type.in' => __('sirsoft-ecommerce::validation.order.cash_receipt_identifier_type_invalid'), + 'cash_receipt_identifier.required_if' => __('sirsoft-ecommerce::validation.order.cash_receipt_identifier_required'), + // 비회원 조회 비밀번호 'guest_lookup_password.required' => __('sirsoft-ecommerce::validation.order.guest_lookup_password_required'), 'guest_lookup_password.min' => __('sirsoft-ecommerce::validation.order.guest_lookup_password_min'), @@ -246,4 +317,87 @@ class CreateOrderRequest extends FormRequest return is_string($password) && $password !== '' ? $password : null; } + + /** + * 현금영수증 신청 정보를 반환합니다. (미신청이거나 무통장이 아니면 null) + * + * 식별번호는 하이픈·공백이 제거된 원본입니다. 저장 시점에 마스킹본과 암호문으로 분리되며, + * 원본은 응답·로그에 노출하지 않습니다. + * + * 발급 대상은 무통장(dbank)뿐이므로(CashReceiptService 가 재차 차단) 그 외 결제수단에서는 + * 신청 정보를 반환하지 않는다. 발급될 수 없는 주문에 식별번호 암호문을 남기지 않기 위함이다. + * + * @return array{type: CashReceiptType, identifier_type: CashReceiptIdentifierType, identifier: string}|null 신청 정보 (미신청·비무통장 시 null) + */ + public function getCashReceiptInfo(): ?array + { + if ($this->input('payment_method') !== PaymentMethodEnum::DBANK->value) { + return null; + } + + if (! $this->boolean('cash_receipt_requested')) { + return null; + } + + $type = $this->resolveCashReceiptType(); + $identifierType = $this->resolveCashReceiptIdentifierType(); + $identifier = $this->input('cash_receipt_identifier'); + + // required_if 를 통과했다면 셋 다 존재한다. 방어적으로 한 번 더 확인한다. + if ($type === null || $identifierType === null || ! is_string($identifier)) { + return null; + } + + return [ + 'type' => $type, + 'identifier_type' => $identifierType, + 'identifier' => CashReceiptIdentifier::normalize($identifier), + ]; + } + + /** + * 환불 계좌 정보를 반환합니다. (미입력이면 null) + * + * withValidator 가 부분 입력을 거부하므로, 값이 있으면 3필드가 모두 채워져 있습니다. + * + * @return array{bank_code: string, account_number: string, holder: string}|null 환불 계좌 (미입력 시 null) + */ + public function getRefundBankInfo(): ?array + { + $bankCode = $this->input('refund_bank.bank_code'); + + if (blank($bankCode)) { + return null; + } + + return [ + 'bank_code' => (string) $bankCode, + 'account_number' => (string) $this->input('refund_bank.account_number'), + 'holder' => (string) $this->input('refund_bank.holder'), + ]; + } + + /** + * 검증 전 입력에서 현금영수증 발급 용도를 해석합니다. (Rule 생성자 주입용) + * + * @return CashReceiptType|null 해석된 용도 (미해석 시 null) + */ + private function resolveCashReceiptType(): ?CashReceiptType + { + $value = $this->input('cash_receipt_type'); + + return is_string($value) ? CashReceiptType::tryFrom($value) : null; + } + + /** + * 검증 전 입력에서 현금영수증 식별번호 종류를 해석합니다. (Rule 생성자 주입용) + * + * @return CashReceiptIdentifierType|null 해석된 종류 (미해석 시 null) + */ + private function resolveCashReceiptIdentifierType(): ?CashReceiptIdentifierType + { + $value = $this->input('cash_receipt_identifier_type'); + + return is_string($value) ? CashReceiptIdentifierType::tryFrom($value) : null; + } } diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/CashReceiptResource.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/CashReceiptResource.php index b5564a0d..109fea43 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/CashReceiptResource.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/CashReceiptResource.php @@ -28,6 +28,8 @@ class CashReceiptResource extends BaseApiResource 'id' => $this->id, 'provider' => $this->provider, 'transaction_type' => $this->transaction_type, + // 관리자 발급 이력 표는 원시값(issue/cancel, FAILED)이 아니라 표시명을 노출한다. + 'transaction_type_label' => $this->transaction_type?->label(), 'receipt_type' => $this->receipt_type, 'receipt_type_label' => $this->receipt_type?->label(), 'amount' => $this->roundToOrderCurrency($this->amount), @@ -38,11 +40,19 @@ class CashReceiptResource extends BaseApiResource 'receipt_url' => $this->receipt_url, 'issue_number' => $this->issue_number, 'issue_status' => $this->issue_status, + 'issue_status_label' => $this->issue_status?->label(), + // 이력 표의 결과 열 — 발급/취소 행이 같은 열을 공유하므로 중립 표현을 쓴다. + // issue_status_label 은 발급 관점 표현("발급 완료")이라 취소 행에 쓰면 오해를 부른다. + 'result_label' => $this->issue_status + ? __('sirsoft-ecommerce::cash_receipt.result_status.'.strtolower($this->issue_status->value)) + : null, 'error_code' => $this->error_code, 'error_message' => $this->error_message, // 머신 ISO8601 — 표시는 issued_at_formatted 사용 'issued_at' => $this->issued_at?->toIso8601String(), // audit:allow datetime-display-user-timezone reason: machine ISO8601, display uses issued_at_formatted sibling 'issued_at_formatted' => $this->formatDateTimeStringForUser($this->issued_at), + // 이력 표의 시각 열 — 발급 실패 이력은 issued_at 이 null 이므로 기록 시각으로 대체한다. + 'occurred_at_formatted' => $this->formatDateTimeStringForUser($this->issued_at ?? $this->created_at), ]; } } diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/OrderPaymentResource.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/OrderPaymentResource.php index af0c3ca4..7e241259 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/OrderPaymentResource.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/OrderPaymentResource.php @@ -6,6 +6,7 @@ use App\Http\Resources\BaseApiResource; use Illuminate\Http\Request; use Modules\Sirsoft\Ecommerce\Enums\PaymentMethodEnum; use Modules\Sirsoft\Ecommerce\Http\Resources\Traits\HasMultiCurrencyPrices; +use Modules\Sirsoft\Ecommerce\Services\EcommerceSettingsService; /** * 주문 결제 정보 리소스 @@ -80,12 +81,25 @@ class OrderPaymentResource extends BaseApiResource 'deposit_due_at' => $this->deposit_due_at?->toIso8601String(), // audit:allow datetime-display-user-timezone reason: machine ISO8601, display uses deposit_due_at_formatted sibling 'deposit_due_at_formatted' => $this->formatDateTimeStringForUser($this->deposit_due_at), + // 환불 계좌 — 주문 시 입력된 계좌. 관리자 취소 모달이 이 값을 프리필하고, + // PG 환불(refundReceiveAccount 구성)이 같은 컬럼을 읽는다. + 'refund_bank_code' => $this->refund_bank_code, + 'refund_bank_name' => $this->refund_bank_name, + 'refund_bank_account' => $this->refund_bank_account, + 'refund_bank_holder' => $this->refund_bank_holder, + // 현금영수증 (cash_receipt_identifier 는 마스킹 값 — 원본/암호문은 노출하지 않는다) 'is_cash_receipt_requested' => (bool) $this->is_cash_receipt_requested, 'is_cash_receipt_issued' => (bool) $this->is_cash_receipt_issued, 'cash_receipt_type' => $this->cash_receipt_type, + // 레거시 값(income_deduction 등)도 표시명으로 해석되도록 Enum 의 fromLegacy 를 경유한다. + 'cash_receipt_type_label' => $this->getCashReceiptType()?->label(), 'cash_receipt_identifier_type' => $this->cash_receipt_identifier_type, 'cash_receipt_identifier' => $this->cash_receipt_identifier, + // 현재 설정된 발급 프로바이더 (미설정이면 null). + // 주문상세의 현금영수증 카드가 이 리소스만 보고 렌더 여부를 판정할 수 있도록 함께 내린다 + // (프로바이더는 상점 전역 설정이지만 카드는 결제 정보 안에 있다). + 'cash_receipt_provider' => app(EcommerceSettingsService::class)->getCashReceiptProvider(), // 머신 ISO8601 — 표시는 cash_receipt_issued_at_formatted 사용 'cash_receipt_issued_at' => $this->cash_receipt_issued_at?->toIso8601String(), // audit:allow datetime-display-user-timezone reason: machine ISO8601, display uses cash_receipt_issued_at_formatted sibling 'cash_receipt_issued_at_formatted' => $this->formatDateTimeStringForUser($this->cash_receipt_issued_at), diff --git a/modules/_bundled/sirsoft-ecommerce/src/Repositories/Contracts/OrderPaymentRepositoryInterface.php b/modules/_bundled/sirsoft-ecommerce/src/Repositories/Contracts/OrderPaymentRepositoryInterface.php index 5b315841..a70f771c 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Repositories/Contracts/OrderPaymentRepositoryInterface.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Repositories/Contracts/OrderPaymentRepositoryInterface.php @@ -69,4 +69,25 @@ interface OrderPaymentRepositoryInterface * @return bool 암호문 존재 여부 */ public function hasCashReceiptIdentifier(OrderPayment $payment): bool; + + /** + * 환불 계좌 정보를 갱신합니다. + * + * 주문 취소 시점에 관리자가 입력·수정한 계좌를 반영한다. PG 환불(executePgRefund)이 + * 이 컬럼을 읽어 refundReceiveAccount 를 구성하므로 환불 실행 전에 갱신되어야 한다. + * + * @param OrderPayment $payment 결제 모델 + * @param string $bankCode 은행코드 + * @param string $bankName 은행명 (표시용) + * @param string $accountNumber 계좌번호 + * @param string $holder 예금주 + * @return OrderPayment 갱신된 결제 모델 + */ + public function updateRefundBank( + OrderPayment $payment, + string $bankCode, + string $bankName, + string $accountNumber, + string $holder, + ): OrderPayment; } diff --git a/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderPaymentRepository.php b/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderPaymentRepository.php index b9a3a139..4e307915 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderPaymentRepository.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderPaymentRepository.php @@ -89,4 +89,24 @@ class OrderPaymentRepository implements OrderPaymentRepositoryInterface { return $payment->getRawOriginal('cash_receipt_identifier_encrypted') !== null; } + + /** + * {@inheritDoc} + */ + public function updateRefundBank( + OrderPayment $payment, + string $bankCode, + string $bankName, + string $accountNumber, + string $holder, + ): OrderPayment { + $payment->update([ + 'refund_bank_code' => $bankCode, + 'refund_bank_name' => $bankName, + 'refund_bank_account' => $accountNumber, + 'refund_bank_holder' => $holder, + ]); + + return $payment; + } } diff --git a/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderRepository.php b/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderRepository.php index 9abf1c48..82bac990 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderRepository.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Repositories/OrderRepository.php @@ -167,6 +167,9 @@ class OrderRepository implements OrderRepositoryInterface 'shippings', // 취소 이력 — 주문상세 화면의 취소 사유/일시 표시용 (최근 취소 먼저) 'cancels' => fn ($q) => $q->latest('cancelled_at'), + // 현금영수증 이력 — 주문상세의 발급 카드가 활성 영수증 1건과 전체 이력을 함께 표시한다. + // 미로드 시 OrderResource 의 whenLoaded 가드로 응답에 키 자체가 나타나지 않는다. + 'cashReceipts', ]) ->find($id); } @@ -182,6 +185,8 @@ class OrderRepository implements OrderRepositoryInterface 'options', 'shippingAddress', 'payment', + // 비회원 주문상세도 현금영수증 카드를 렌더하므로 함께 로드한다. + 'cashReceipts', ]) ->where('order_number', $orderNumber) ->first(); diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php index c20f3470..e9b5e0c4 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php @@ -622,18 +622,15 @@ class CashReceiptService /** * 식별번호를 마스킹합니다 (뒤 4자리만 노출). * + * 마스킹 규칙의 SSoT 는 Enum 이다 — 주문 생성 시점(신청 저장)과 발급 시점(이력 기록)이 + * 동일한 마스킹을 써야 하므로 규칙을 복제하지 않고 위임한다. + * * @param string $identifier 식별번호 원본 * @return string 마스킹된 식별번호 */ private function maskIdentifier(string $identifier): string { - $length = strlen($identifier); - - if ($length <= 4) { - return str_repeat('*', $length); - } - - return str_repeat('*', $length - 4).substr($identifier, -4); + return CashReceiptIdentifierType::mask($identifier); } /** diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/EcommerceSettingsService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/EcommerceSettingsService.php index e2af87b4..56330611 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Services/EcommerceSettingsService.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/EcommerceSettingsService.php @@ -741,6 +741,27 @@ class EcommerceSettingsService implements ModuleSettingsInterface return ShippingFeeTaxPolicy::fromValueOrDefault(is_string($value) ? $value : null); } + /** + * 은행코드로 은행명을 조회합니다. + * + * 환경설정의 은행 목록(order_settings.banks)에서 현재 로케일의 표시명을 찾습니다. + * 무통장 입금 계좌와 환불 계좌가 같은 목록을 공유하므로 여기서 단일 조회 지점을 제공합니다. + * + * @param string $bankCode 은행코드 + * @return string 은행명 (목록에 없는 코드는 코드 그대로) + */ + public function resolveBankName(string $bankCode): string + { + $banks = $this->getSetting('order_settings.banks'); + $bank = collect(is_array($banks) ? $banks : [])->firstWhere('code', $bankCode); + + if (! $bank) { + return $bankCode; + } + + return $bank['name'][app()->getLocale()] ?? $bank['name']['ko'] ?? $bankCode; + } + /** * 특정 결제수단의 설정을 조회합니다. * diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderCancellationService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderCancellationService.php index 65f47204..c97a56e9 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderCancellationService.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderCancellationService.php @@ -29,6 +29,7 @@ use Modules\Sirsoft\Ecommerce\Models\OrderRefundOption; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\OrderCancelOptionRepositoryInterface; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\OrderCancelRepositoryInterface; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\OrderOptionRepositoryInterface; +use Modules\Sirsoft\Ecommerce\Repositories\Contracts\OrderPaymentRepositoryInterface; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\OrderRefundOptionRepositoryInterface; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\OrderRefundRepositoryInterface; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\OrderShippingRepositoryInterface; @@ -55,6 +56,7 @@ class OrderCancellationService * @param OrderRefundRepositoryInterface $orderRefundRepository 주문 환불 Repository * @param OrderRefundOptionRepositoryInterface $orderRefundOptionRepository 주문 환불 옵션 Repository * @param CashReceiptService $cashReceiptService 현금영수증 발급/취소 서비스 + * @param OrderPaymentRepositoryInterface $orderPaymentRepository 주문 결제 Repository */ public function __construct( protected OrderAdjustmentService $adjustmentService, @@ -69,8 +71,39 @@ class OrderCancellationService protected OrderRefundRepositoryInterface $orderRefundRepository, protected OrderRefundOptionRepositoryInterface $orderRefundOptionRepository, protected CashReceiptService $cashReceiptService, + protected OrderPaymentRepositoryInterface $orderPaymentRepository, ) {} + /** + * 관리자가 취소 모달에서 입력한 환불 계좌를 결제행에 반영합니다. + * + * 미입력이면 기존 값(주문 시 입력분)을 그대로 둔다 — 취소 요청이 계좌를 지우지 않는다. + * 가상계좌 입금완료 건의 미입력은 CancelOrderRequest 가 이미 422 로 막는다. + * + * @param Order $order 대상 주문 + * @param array|null $refundBankInfo 환불 계좌 (bank_code/account_number/holder) + */ + protected function applyRefundBank(Order $order, ?array $refundBankInfo): void + { + if ($refundBankInfo === null) { + return; + } + + $order->loadMissing('payment'); + + if (! $order->payment) { + return; + } + + $this->orderPaymentRepository->updateRefundBank( + $order->payment, + $refundBankInfo['bank_code'], + $this->settingsService->resolveBankName($refundBankInfo['bank_code']), + $refundBankInfo['account_number'], + $refundBankInfo['holder'], + ); + } + /** * 취소 확정 후 현금영수증을 현재 금액에 맞춰 동기화합니다. * @@ -111,6 +144,7 @@ class OrderCancellationService * @param int|null $cancelledBy 취소 요청자 ID * @param bool $cancelPg PG 결제 취소 여부 * @param RefundPriorityEnum $refundPriority 환불 우선순위 + * @param array|null $refundBankInfo 환불 계좌 (bank_code/account_number/holder, 미입력 시 null) * @return CancellationResult 취소 결과 * * @throws \Exception 취소 불가 또는 PG 환불 실패 시 @@ -122,6 +156,7 @@ class OrderCancellationService ?int $cancelledBy = null, bool $cancelPg = true, RefundPriorityEnum $refundPriority = RefundPriorityEnum::PG_FIRST, + ?array $refundBankInfo = null, ): CancellationResult { $order->loadMissing(['options', 'payment', 'shippings']); @@ -146,6 +181,7 @@ class OrderCancellationService cancelledBy: $cancelledBy, cancelPg: $cancelPg, refundPriority: $refundPriority, + refundBankInfo: $refundBankInfo, ); } @@ -159,6 +195,7 @@ class OrderCancellationService * @param int|null $cancelledBy 취소 요청자 ID * @param bool $cancelPg PG 결제 취소 여부 * @param RefundPriorityEnum $refundPriority 환불 우선순위 + * @param array|null $refundBankInfo 환불 계좌 (bank_code/account_number/holder, 미입력 시 null) * @return CancellationResult 취소 결과 * * @throws \Exception 취소 불가 또는 PG 환불 실패 시 @@ -171,6 +208,7 @@ class OrderCancellationService ?int $cancelledBy = null, bool $cancelPg = true, RefundPriorityEnum $refundPriority = RefundPriorityEnum::PG_FIRST, + ?array $refundBankInfo = null, ): CancellationResult { $order->loadMissing(['options', 'payment', 'shippings']); @@ -188,6 +226,7 @@ class OrderCancellationService cancelledBy: $cancelledBy, cancelPg: $cancelPg, refundPriority: $refundPriority, + refundBankInfo: $refundBankInfo, ); } @@ -220,6 +259,7 @@ class OrderCancellationService * @param int|null $cancelledBy 요청자 ID * @param bool $cancelPg PG 취소 여부 * @param RefundPriorityEnum $refundPriority 환불 우선순위 + * @param array|null $refundBankInfo 환불 계좌 (bank_code/account_number/holder, 미입력 시 null) * @return CancellationResult 취소 결과 * * @throws \Exception @@ -233,11 +273,16 @@ class OrderCancellationService ?int $cancelledBy, bool $cancelPg, RefundPriorityEnum $refundPriority = RefundPriorityEnum::PG_FIRST, + ?array $refundBankInfo = null, ): CancellationResult { // ① 검증 $this->validateCancellable($order); $this->validateCancelItems($order, $cancelItems); + // 환불 계좌 갱신 — PG 환불(executePgRefund)이 이 컬럼을 읽어 refundReceiveAccount 를 + // 구성하므로 환불 실행 전에 반영해야 한다. 관리자가 취소 모달에서 입력/수정한 값이다. + $this->applyRefundBank($order, $refundBankInfo); + // 결제 취소 전 본인인증(IDV) 정책 가드 지점 (관리자/사용자 — payment.cancel purpose). // EnforceIdentityPolicyListener 가 'sirsoft-ecommerce.payment.cancel' 정책이 활성이고 // grace 만료 시 IdentityVerificationRequiredException(428) 을 throw 한다. diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderProcessingService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderProcessingService.php index ad54ba64..8c068bf1 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderProcessingService.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderProcessingService.php @@ -12,6 +12,7 @@ use Modules\Sirsoft\Ecommerce\DTO\CalculationInput; use Modules\Sirsoft\Ecommerce\DTO\CalculationItem; use Modules\Sirsoft\Ecommerce\DTO\OrderCalculationResult; use Modules\Sirsoft\Ecommerce\DTO\ShippingAddress; +use Modules\Sirsoft\Ecommerce\Enums\CashReceiptIdentifierType; use Modules\Sirsoft\Ecommerce\Enums\DeliveryMemoPresetEnum; use Modules\Sirsoft\Ecommerce\Enums\DeviceTypeEnum; use Modules\Sirsoft\Ecommerce\Enums\OrderStatusEnum; @@ -86,6 +87,8 @@ class OrderProcessingService * @param string|null $depositorName 입금자명 (무통장입금 시) * @param array|null $dbankInfo 무통장 수동입금 정보 (dbank 결제 시) * @param string|null $guestLookupPassword 비회원 조회 비밀번호 평문 (해시로 저장, 회원 주문은 null) + * @param array|null $cashReceiptInfo 현금영수증 신청 정보 (type/identifier_type/identifier, 미신청 시 null) + * @param array|null $refundBankInfo 환불 계좌 정보 (bank_code/account_number/holder, 미입력 시 null) * @return Order 생성된 주문 * * @throws OrderAmountChangedException 재계산 금액 변동 시 @@ -101,7 +104,9 @@ class OrderProcessingService ?string $shippingMemo = null, ?string $depositorName = null, ?array $dbankInfo = null, - ?string $guestLookupPassword = null + ?string $guestLookupPassword = null, + ?array $cashReceiptInfo = null, + ?array $refundBankInfo = null ): Order { // 생성 전 훅 HookManager::doAction('sirsoft-ecommerce.order.before_create', $tempOrder, $ordererInfo, $shippingInfo, $paymentMethod); @@ -169,7 +174,9 @@ class OrderProcessingService $initialStatus, $currencySnapshot, $guestLookupPassword, - $isZeroPayable + $isZeroPayable, + $cashReceiptInfo, + $refundBankInfo ) { // 주문 생성 $order = $this->createOrder($tempOrder, $calculationResult, $initialStatus, $currencySnapshot, $guestLookupPassword, $shippingInfo, $paymentMethod); @@ -181,7 +188,7 @@ class OrderProcessingService $this->createOrderAddresses($order, $ordererInfo, $shippingInfo, $shippingMemo); // 결제 정보 생성 - $this->createOrderPayment($order, $paymentMethod, $depositorName, $dbankInfo, $calculationResult, $currencySnapshot, $ordererInfo); + $this->createOrderPayment($order, $paymentMethod, $depositorName, $dbankInfo, $calculationResult, $currencySnapshot, $ordererInfo, $cashReceiptInfo, $refundBankInfo); // 배송 정보 생성 (주문 옵션과 연결) $this->createOrderShippings($order, $tempOrder, $calculationResult, $currencySnapshot, $createdOptions); @@ -925,6 +932,8 @@ class OrderProcessingService * @param OrderCalculationResult $calculationResult 계산 결과 * @param array $currencySnapshot 통화 스냅샷 * @param array $ordererInfo 주문자 정보 (name/email/phone — 결제 구매자 정보로 기록) + * @param array|null $cashReceiptInfo 현금영수증 신청 정보 (type/identifier_type/identifier, 미신청 시 null) + * @param array|null $refundBankInfo 환불 계좌 정보 (bank_code/account_number/holder, 미입력 시 null) */ protected function createOrderPayment( Order $order, @@ -933,7 +942,9 @@ class OrderProcessingService ?array $dbankInfo, OrderCalculationResult $calculationResult, array $currencySnapshot, - array $ordererInfo = [] + array $ordererInfo = [], + ?array $cashReceiptInfo = null, + ?array $refundBankInfo = null ): void { $paymentAmount = $calculationResult->summary->paymentAmount ?? $calculationResult->summary->finalAmount ?? 0; // 결제액 0원(전액 비현금 충당: 마일리지/예치금 등) → 결제 레코드도 즉시 PAID, PG/현금 결제액 0. @@ -994,10 +1005,7 @@ class OrderProcessingService // bank_name이 없으면 설정에서 은행코드 기반으로 조회 $bankName = $dbankInfo['bank_name'] ?? null; if (! $bankName && $bankCode) { - $orderSettings = module_setting('sirsoft-ecommerce', 'order_settings'); - $banks = collect($orderSettings['banks'] ?? []); - $bank = $banks->firstWhere('code', $bankCode); - $bankName = $bank ? ($bank['name'][app()->getLocale()] ?? $bank['name']['ko'] ?? $bankCode) : $bankCode; + $bankName = $this->resolveBankName($bankCode); } $paymentData['dbank_code'] = $bankCode; @@ -1011,6 +1019,28 @@ class OrderProcessingService $paymentData['deposit_due_at'] = Carbon::now()->addDays($this->resolveAutoCancelDays()); } + // 현금영수증 신청 정보 — 발급은 입금완료 시점에 리스너가 수행하고, 여기서는 신청 내역만 보관한다. + // 원본 식별번호는 암호화 컬럼에만 두고 평문 컬럼에는 마스킹본을 저장한다(응답·로그 노출 방지). + // 구매확정 시점에 PurgeCashReceiptIdentifierListener 가 암호문을 폐기한다. + if ($cashReceiptInfo !== null) { + $identifier = $cashReceiptInfo['identifier']; + + $paymentData['is_cash_receipt_requested'] = true; + $paymentData['cash_receipt_type'] = $cashReceiptInfo['type']->value; + $paymentData['cash_receipt_identifier_type'] = $cashReceiptInfo['identifier_type']; + $paymentData['cash_receipt_identifier'] = CashReceiptIdentifierType::mask($identifier); + $paymentData['cash_receipt_identifier_encrypted'] = $identifier; + } + + // 환불 계좌 — 무통장은 관리자 수동 이체 대상 계좌, 가상계좌는 PG 환불 API 의 refundReceiveAccount. + // 미입력 시 관리자 취소 모달에서 다시 받는다. + if ($refundBankInfo !== null) { + $paymentData['refund_bank_code'] = $refundBankInfo['bank_code']; + $paymentData['refund_bank_name'] = $this->resolveBankName($refundBankInfo['bank_code']); + $paymentData['refund_bank_account'] = $refundBankInfo['account_number']; + $paymentData['refund_bank_holder'] = $refundBankInfo['holder']; + } + $order->payment()->create($paymentData); } @@ -1050,6 +1080,20 @@ class OrderProcessingService return max($min, min($max, $days)); } + /** + * 은행코드로 은행명을 조회합니다. + * + * 조회 규칙의 SSoT 는 EcommerceSettingsService 다 — 무통장 입금 계좌와 환불 계좌가 + * 같은 은행 목록을 공유하므로 규칙을 복제하지 않고 위임한다. + * + * @param string $bankCode 은행코드 + * @return string 은행명 (미등록 코드는 코드 그대로) + */ + protected function resolveBankName(string $bankCode): string + { + return $this->settingsService->resolveBankName($bankCode); + } + /** * 결제명(상품명 요약)을 생성합니다. * diff --git a/modules/_bundled/sirsoft-ecommerce/src/lang/en/cash_receipt.php b/modules/_bundled/sirsoft-ecommerce/src/lang/en/cash_receipt.php index 0d180509..d7faf3a1 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/lang/en/cash_receipt.php +++ b/modules/_bundled/sirsoft-ecommerce/src/lang/en/cash_receipt.php @@ -35,6 +35,16 @@ return [ 'failed' => 'Failed', ], + /* + * Ledger result column — issue and cancel rows share this column, + * so the wording must be neutral with respect to the transaction type. + */ + 'result_status' => [ + 'in_progress' => 'In Progress', + 'completed' => 'Completed', + 'failed' => 'Failed', + ], + /* * 배송비 과세 정책 */ diff --git a/modules/_bundled/sirsoft-ecommerce/src/lang/en/validation.php b/modules/_bundled/sirsoft-ecommerce/src/lang/en/validation.php index d0442268..85c581b2 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/lang/en/validation.php +++ b/modules/_bundled/sirsoft-ecommerce/src/lang/en/validation.php @@ -912,6 +912,13 @@ return [ 'guest_lookup_password_min' => 'The order lookup password must be at least 8 characters.', 'guest_lookup_password_confirmed' => 'The order lookup password confirmation does not match.', 'guest_lookup_password_confirmation_required' => 'Please confirm the order lookup password.', + 'cash_receipt_type_required' => 'Please select the cash receipt purpose.', + 'cash_receipt_type_invalid' => 'The selected cash receipt purpose is invalid.', + 'cash_receipt_identifier_type_required' => 'Please select the cash receipt identifier type.', + 'cash_receipt_identifier_type_invalid' => 'The selected cash receipt identifier type is invalid.', + 'cash_receipt_identifier_required' => 'Please enter the number to use for the cash receipt.', + 'refund_bank_required_with' => 'The refund account requires the bank, account number, and account holder.', + 'refund_bank_required_for_vbank' => 'A refund account is required for a paid virtual account order.', ], // Guest order lookup verification validation messages diff --git a/modules/_bundled/sirsoft-ecommerce/src/lang/ko/cash_receipt.php b/modules/_bundled/sirsoft-ecommerce/src/lang/ko/cash_receipt.php index dc297505..09392b98 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/lang/ko/cash_receipt.php +++ b/modules/_bundled/sirsoft-ecommerce/src/lang/ko/cash_receipt.php @@ -35,6 +35,16 @@ return [ 'failed' => '발급 실패', ], + /* + * 이력 표의 결과 열 — 발급 행과 취소 행이 같은 열을 공유하므로 거래유형과 무관한 중립 표현을 쓴다. + * (취소 행에 "발급 완료" 라고 쓰면 관리자가 오해한다) + */ + 'result_status' => [ + 'in_progress' => '처리 중', + 'completed' => '완료', + 'failed' => '실패', + ], + /* * 배송비 과세 정책 */ diff --git a/modules/_bundled/sirsoft-ecommerce/src/lang/ko/validation.php b/modules/_bundled/sirsoft-ecommerce/src/lang/ko/validation.php index 7a2a0e41..f15a1c7e 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/lang/ko/validation.php +++ b/modules/_bundled/sirsoft-ecommerce/src/lang/ko/validation.php @@ -912,6 +912,13 @@ return [ 'guest_lookup_password_min' => '주문 조회 비밀번호는 8자 이상이어야 합니다.', 'guest_lookup_password_confirmed' => '주문 조회 비밀번호가 일치하지 않습니다.', 'guest_lookup_password_confirmation_required' => '주문 조회 비밀번호 확인을 입력해주세요.', + 'cash_receipt_type_required' => '현금영수증 발급 용도를 선택해주세요.', + 'cash_receipt_type_invalid' => '현금영수증 발급 용도가 올바르지 않습니다.', + 'cash_receipt_identifier_type_required' => '현금영수증 발급수단을 선택해주세요.', + 'cash_receipt_identifier_type_invalid' => '현금영수증 발급수단이 올바르지 않습니다.', + 'cash_receipt_identifier_required' => '현금영수증 발급에 사용할 번호를 입력해주세요.', + 'refund_bank_required_with' => '환불 계좌는 은행·계좌번호·예금주를 모두 입력해야 합니다.', + 'refund_bank_required_for_vbank' => '입금이 완료된 가상계좌 주문은 환불 계좌가 필요합니다.', ], // 비회원 주문 조회 인증 검증 메시지 diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/Admin/CancelOrderRefundBankTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/Admin/CancelOrderRefundBankTest.php new file mode 100644 index 00000000..8459bedb --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/Admin/CancelOrderRefundBankTest.php @@ -0,0 +1,273 @@ +adminUser = $this->createAdminUser([ + 'sirsoft-ecommerce.orders.read', + 'sirsoft-ecommerce.orders.update', + ]); + + $settingsDir = storage_path('framework/testing/modules/sirsoft-ecommerce/settings'); + if (is_dir($settingsDir)) { + foreach (glob($settingsDir.'/*.json') as $file) { + @unlink($file); + } + } + app(EcommerceSettingsService::class)->clearCache(); + Config::set('g7_settings.modules.sirsoft-ecommerce', []); + + $this->createCancelSequences(); + } + + private function createCancelSequences(): void + { + foreach ([SequenceType::CANCEL, SequenceType::REFUND] as $type) { + $config = $type->getDefaultConfig(); + Sequence::firstOrCreate( + ['type' => $type->value], + [ + 'algorithm' => $config['algorithm']->value, + 'prefix' => $config['prefix'], + 'current_value' => 0, + 'increment' => 1, + 'min_value' => 1, + 'max_value' => $config['max_value'], + 'cycle' => false, + 'pad_length' => $config['pad_length'], + ] + ); + } + } + + /** + * 결제완료 주문 + 결제행을 만든다. + * + * @param array $paymentOverrides + * @return array{order: Order, payment: OrderPayment} + */ + private function createPaidOrder(array $paymentOverrides = []): array + { + $user = User::factory()->create(); + $unitPrice = 20000; + + $order = Order::factory()->create([ + 'user_id' => $user->id, + 'order_status' => OrderStatusEnum::PAYMENT_COMPLETE, + 'subtotal_amount' => $unitPrice, + 'total_amount' => $unitPrice, + 'total_paid_amount' => $unitPrice, + 'total_due_amount' => 0, + 'total_cancelled_amount' => 0, + 'cancellation_count' => 0, + 'paid_at' => now(), + 'promotions_applied_snapshot' => [], + 'shipping_policy_applied_snapshot' => [], + ]); + + $snapshotOverride = [ + 'product_snapshot' => [ + 'id' => null, 'name' => ['ko' => 't', 'en' => 't'], 'product_code' => null, + 'sku' => null, 'brand_id' => null, 'list_price' => $unitPrice, 'selling_price' => $unitPrice, + 'currency_code' => 'KRW', 'stock_quantity' => 100, 'tax_status' => 'taxable', + 'tax_rate' => 10, 'has_options' => false, 'option_groups' => null, 'thumbnail_url' => null, + ], + 'option_snapshot' => [ + 'id' => null, 'option_code' => null, 'option_values' => null, 'option_name' => 't', + 'price_adjustment' => 0, 'list_price' => $unitPrice, 'selling_price' => $unitPrice, + 'currency_code' => 'KRW', 'stock_quantity' => 100, 'weight' => 0, 'volume' => 0, + ], + ]; + + OrderOption::factory()->forOrder($order)->create(array_merge([ + 'quantity' => 1, + 'unit_price' => $unitPrice, + 'subtotal_price' => $unitPrice, + 'subtotal_paid_amount' => $unitPrice, + 'subtotal_discount_amount' => 0, + 'option_status' => OrderStatusEnum::PAYMENT_COMPLETE, + ], $snapshotOverride)); + + $payment = OrderPayment::factory()->forOrder($order)->create(array_merge([ + 'payment_method' => PaymentMethodEnum::VBANK, + 'payment_status' => PaymentStatusEnum::PAID, + 'paid_amount_local' => $unitPrice, + 'paid_amount_base' => $unitPrice, + 'paid_at' => now(), + 'refund_bank_code' => null, + 'refund_bank_name' => null, + 'refund_bank_account' => null, + 'refund_bank_holder' => null, + ], $paymentOverrides)); + + return compact('order', 'payment'); + } + + /** + * @param array $body + */ + private function cancel(Order $order, array $body = []): TestResponse + { + return $this->actingAs($this->adminUser)->postJson( + "/api/modules/sirsoft-ecommerce/admin/orders/{$order->order_number}/cancel", + array_merge(['type' => 'full', 'reason' => 'changed_mind', 'cancel_pg' => false], $body) + ); + } + + public function test_주문상세_응답이_환불계좌를_노출한다(): void + { + // 취소 모달은 주문 시 입력된 계좌를 프리필한다. 응답에 키가 없으면 프리필이 불가능하다. + ['order' => $order] = $this->createPaidOrder([ + 'refund_bank_code' => '088', + 'refund_bank_name' => '신한은행', + 'refund_bank_account' => '110-123-456789', + 'refund_bank_holder' => '홍길동', + ]); + + $this->actingAs($this->adminUser) + ->getJson("/api/modules/sirsoft-ecommerce/admin/orders/{$order->order_number}") + ->assertOk() + ->assertJsonPath('data.payment.refund_bank_code', '088') + ->assertJsonPath('data.payment.refund_bank_name', '신한은행') + ->assertJsonPath('data.payment.refund_bank_account', '110-123-456789') + ->assertJsonPath('data.payment.refund_bank_holder', '홍길동'); + } + + // ------------------------------------------------- vbank 입금완료 = 필수 + + public function test_가상계좌_입금완료_취소는_환불계좌가_없으면_거부된다(): void + { + ['order' => $order] = $this->createPaidOrder(); + + $this->cancel($order) + ->assertStatus(422) + ->assertJsonValidationErrors([ + 'refund_bank.bank_code', + 'refund_bank.account_number', + 'refund_bank.holder', + ]); + + $order->refresh(); + $this->assertNotSame(OrderStatusEnum::CANCELLED, $order->order_status, '검증 실패 시 취소되면 안 된다'); + } + + public function test_주문시_입력된_환불계좌가_있으면_취소_요청에_다시_넣지_않아도_된다(): void + { + ['order' => $order] = $this->createPaidOrder([ + 'refund_bank_code' => '004', + 'refund_bank_name' => '국민은행', + 'refund_bank_account' => '110-123-456789', + 'refund_bank_holder' => '홍길동', + ]); + + $this->cancel($order)->assertOk(); + } + + public function test_가상계좌_입금완료_취소에_환불계좌를_주면_통과하고_결제행에_저장된다(): void + { + ['order' => $order, 'payment' => $payment] = $this->createPaidOrder(); + + $this->cancel($order, [ + 'refund_bank' => [ + 'bank_code' => '004', + 'account_number' => '110-123-456789', + 'holder' => '홍길동', + ], + ])->assertOk(); + + $payment->refresh(); + $this->assertSame('004', $payment->refund_bank_code); + $this->assertSame('110-123-456789', $payment->refund_bank_account); + $this->assertSame('홍길동', $payment->refund_bank_holder); + $this->assertNotNull($payment->refund_bank_name, '은행명이 은행코드로 조회되어 저장되어야 한다'); + } + + // ------------------------------------------------- vbank 입금전 / dbank = 선택 + + public function test_가상계좌_입금전_취소는_환불계좌가_없어도_된다(): void + { + ['order' => $order] = $this->createPaidOrder([ + 'payment_status' => PaymentStatusEnum::WAITING_DEPOSIT, + ]); + + $this->cancel($order)->assertOk(); + } + + public function test_무통장_취소는_환불계좌가_없어도_된다(): void + { + ['order' => $order] = $this->createPaidOrder([ + 'payment_method' => PaymentMethodEnum::DBANK, + ]); + + $this->cancel($order)->assertOk(); + } + + public function test_카드_취소는_환불계좌가_없어도_된다(): void + { + ['order' => $order] = $this->createPaidOrder([ + 'payment_method' => PaymentMethodEnum::CARD, + ]); + + $this->cancel($order)->assertOk(); + } + + // ------------------------------------------------- 부분 입력 거부 (결제수단 무관) + + public function test_무통장이라도_환불계좌_부분_입력은_거부된다(): void + { + ['order' => $order] = $this->createPaidOrder([ + 'payment_method' => PaymentMethodEnum::DBANK, + ]); + + $this->cancel($order, ['refund_bank' => ['account_number' => '110-123-456789']]) + ->assertStatus(422) + ->assertJsonValidationErrors(['refund_bank.bank_code', 'refund_bank.holder']); + } + + public function test_가상계좌_환불계좌_부분_입력은_거부된다(): void + { + ['order' => $order] = $this->createPaidOrder(); + + $this->cancel($order, ['refund_bank' => ['bank_code' => '004', 'account_number' => '110-1']]) + ->assertStatus(422) + ->assertJsonValidationErrors(['refund_bank.holder']); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/Admin/EcommerceSettingsCashReceiptTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/Admin/EcommerceSettingsCashReceiptTest.php new file mode 100644 index 00000000..43680e96 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/Admin/EcommerceSettingsCashReceiptTest.php @@ -0,0 +1,127 @@ +adminUser = $this->createAdminUser([ + 'sirsoft-ecommerce.settings.read', + 'sirsoft-ecommerce.settings.update', + ]); + } + + private function settings(): EcommerceSettingsService + { + $settings = app(EcommerceSettingsService::class); + $settings->clearCache(); + + return $settings; + } + + public function test_현금영수증_프로바이더가_저장된다(): void + { + $this->actingAs($this->adminUser)->putJson($this->apiBase, [ + '_tab' => 'order_settings', + 'order_settings' => ['cash_receipt_provider' => 'tosspayments'], + ])->assertOk(); + + $this->assertSame('tosspayments', $this->settings()->getSetting('order_settings.cash_receipt_provider')); + $this->assertSame('tosspayments', $this->settings()->getCashReceiptProvider()); + } + + public function test_프로바이더를_빈_문자열로_저장하면_미사용이_된다(): void + { + $this->actingAs($this->adminUser)->putJson($this->apiBase, [ + '_tab' => 'order_settings', + 'order_settings' => ['cash_receipt_provider' => ''], + ])->assertOk(); + + // 빈 문자열은 "미사용" 이며 접근자는 null 로 정규화한다. + $this->assertNull($this->settings()->getCashReceiptProvider()); + } + + public function test_배송비_과세_정책이_저장된다(): void + { + $this->actingAs($this->adminUser)->putJson($this->apiBase, [ + '_tab' => 'order_settings', + 'order_settings' => ['shipping_fee_tax_policy' => ShippingFeeTaxPolicy::TAXABLE->value], + ])->assertOk(); + + $this->assertSame( + ShippingFeeTaxPolicy::TAXABLE, + $this->settings()->getShippingFeeTaxPolicy() + ); + } + + public function test_배송비_과세_정책_3종이_모두_저장된다(): void + { + foreach (ShippingFeeTaxPolicy::cases() as $policy) { + $this->actingAs($this->adminUser)->putJson($this->apiBase, [ + '_tab' => 'order_settings', + 'order_settings' => ['shipping_fee_tax_policy' => $policy->value], + ])->assertOk(); + + $this->assertSame($policy, $this->settings()->getShippingFeeTaxPolicy(), $policy->value); + } + } + + public function test_알_수_없는_배송비_과세_정책은_거부된다(): void + { + $this->actingAs($this->adminUser)->putJson($this->apiBase, [ + '_tab' => 'order_settings', + 'order_settings' => ['shipping_fee_tax_policy' => 'half_taxable'], + ])->assertStatus(422) + ->assertJsonValidationErrors(['order_settings.shipping_fee_tax_policy']); + } + + public function test_자진발급_토글이_저장된다(): void + { + $this->actingAs($this->adminUser)->putJson($this->apiBase, [ + '_tab' => 'order_settings', + 'order_settings' => ['cash_receipt_self_issue' => true], + ])->assertOk(); + + $this->assertTrue($this->settings()->isCashReceiptSelfIssueEnabled()); + + $this->actingAs($this->adminUser)->putJson($this->apiBase, [ + '_tab' => 'order_settings', + 'order_settings' => ['cash_receipt_self_issue' => false], + ])->assertOk(); + + $this->assertFalse($this->settings()->isCashReceiptSelfIssueEnabled()); + } + + public function test_설정_조회_응답에_발급_프로바이더_후보_목록이_포함된다(): void + { + // 등록된 프로바이더가 없어도 키 자체는 존재해야 한다 (관리자 UI 가 length 로 분기한다). + $this->actingAs($this->adminUser)->getJson($this->apiBase) + ->assertOk() + ->assertJsonStructure(['data' => ['available_cash_receipt_providers']]); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/Public/CheckoutCashReceiptAndRefundBankTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/Public/CheckoutCashReceiptAndRefundBankTest.php new file mode 100644 index 00000000..3d4177a1 --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/Public/CheckoutCashReceiptAndRefundBankTest.php @@ -0,0 +1,407 @@ +cartKey = Str::uuid()->toString(); + + $this->product = Product::create([ + 'name' => ['ko' => '테스트 상품', 'en' => 'Test Product'], + 'product_code' => 'TEST-'.Str::random(8), + 'sku' => 'SKU-'.Str::random(8), + 'list_price' => 20000, + 'selling_price' => 15000, + 'currency_code' => 'KRW', + 'stock_quantity' => 100, + 'sales_status' => ProductSalesStatus::ON_SALE, + 'display_status' => ProductDisplayStatus::VISIBLE, + 'has_options' => true, + ]); + + $this->productOption = ProductOption::create([ + 'product_id' => $this->product->id, + 'option_code' => 'OPT-'.Str::random(8), + 'option_values' => ['색상' => '검정'], + 'option_name' => null, + 'sku' => 'SKU-'.Str::random(8), + 'price_adjustment' => 0, + 'stock_quantity' => 50, + 'safe_stock_quantity' => 5, + 'is_default' => true, + 'is_active' => true, + 'sort_order' => 1, + ]); + } + + protected function createTempOrder(): TempOrder + { + return TempOrder::create([ + 'user_id' => null, + 'cart_key' => $this->cartKey, + 'items' => [[ + 'product_id' => $this->product->id, + 'product_option_id' => $this->productOption->id, + 'quantity' => 2, + ]], + 'calculation_result' => [ + 'items' => [[ + 'product_id' => $this->product->id, + 'product_option_id' => $this->productOption->id, + 'quantity' => 2, + 'unit_price' => 15000, + 'subtotal' => 30000, + 'final_amount' => 30000, + ]], + 'summary' => [ + 'subtotal' => 30000, + 'total_discount' => 0, + 'total_shipping' => 0, + 'payment_amount' => 30000, + 'final_amount' => 30000, + ], + ], + 'expires_at' => now()->addMinutes(30), + ]); + } + + /** + * @param array $overrides + * @return array + */ + protected function payload(array $overrides = []): array + { + return array_merge([ + 'orderer' => ['name' => '홍길동', 'phone' => '010-1234-5678', 'email' => 'guest@test.com'], + 'shipping' => [ + 'recipient_name' => '김철수', + 'recipient_phone' => '010-9876-5432', + 'country_code' => 'KR', + 'zipcode' => '12345', + 'address' => '서울시 강남구 테헤란로 123', + 'address_detail' => '101동 1001호', + ], + 'payment_method' => PaymentMethodEnum::DBANK->value, + 'expected_total_amount' => 30000, + 'depositor_name' => '홍길동', + 'dbank' => [ + 'bank_code' => '004', + 'bank_name' => '국민은행', + 'account_number' => '123-456-789012', + 'account_holder' => '주식회사 테스트', + ], + 'guest_lookup_password' => 'guest1234', + 'guest_lookup_password_confirmation' => 'guest1234', + ], $overrides); + } + + /** + * @param array $overrides + */ + protected function postOrder(array $overrides = []): TestResponse + { + $this->createTempOrder(); + + return $this->postJson( + '/api/modules/sirsoft-ecommerce/user/orders', + $this->payload($overrides), + ['X-Cart-Key' => $this->cartKey] + ); + } + + protected function latestPayment(): OrderPayment + { + $order = Order::latest('id')->firstOrFail(); + + return $order->payment()->firstOrFail(); + } + + // ---------------------------------------------------------------- 현금영수증 + + public function test_현금영수증_미신청_주문은_신청_플래그가_꺼진다(): void + { + $this->postOrder()->assertStatus(201); + + $payment = $this->latestPayment(); + + $this->assertFalse((bool) $payment->is_cash_receipt_requested); + $this->assertNull($payment->cash_receipt_type); + $this->assertNull($payment->cash_receipt_identifier); + $this->assertNull($payment->getRawOriginal('cash_receipt_identifier_encrypted')); + } + + public function test_현금영수증_신청이_결제행에_저장된다(): void + { + $this->postOrder([ + 'cash_receipt_requested' => true, + 'cash_receipt_type' => CashReceiptType::INCOME->value, + 'cash_receipt_identifier_type' => CashReceiptIdentifierType::PHONE->value, + 'cash_receipt_identifier' => '010-1234-5678', + ])->assertStatus(201); + + $payment = $this->latestPayment(); + + $this->assertTrue((bool) $payment->is_cash_receipt_requested); + $this->assertSame(CashReceiptType::INCOME->value, $payment->cash_receipt_type); + $this->assertSame(CashReceiptIdentifierType::PHONE, $payment->cash_receipt_identifier_type); + } + + public function test_식별번호는_평문_컬럼에_마스킹본_암호화_컬럼에_원본이_저장된다(): void + { + $this->postOrder([ + 'cash_receipt_requested' => true, + 'cash_receipt_type' => CashReceiptType::INCOME->value, + 'cash_receipt_identifier_type' => CashReceiptIdentifierType::PHONE->value, + 'cash_receipt_identifier' => '010-1234-5678', + ])->assertStatus(201); + + $payment = $this->latestPayment(); + + // 하이픈 제거 후 뒤 4자리만 노출 + $this->assertSame('*******5678', $payment->cash_receipt_identifier); + + // 원본은 복호화로만 얻는다 (raw 컬럼에 평문이 없어야 한다) + $this->assertSame('01012345678', $payment->cash_receipt_identifier_encrypted); + $this->assertStringNotContainsString( + '01012345678', + (string) $payment->getRawOriginal('cash_receipt_identifier_encrypted') + ); + } + + public function test_지출증빙에_휴대폰번호를_쓸_수_있다(): void + { + // D10 — 휴대폰번호는 소득공제/지출증빙 양쪽에서 유효하다 + $this->postOrder([ + 'cash_receipt_requested' => true, + 'cash_receipt_type' => CashReceiptType::EXPENSE->value, + 'cash_receipt_identifier_type' => CashReceiptIdentifierType::PHONE->value, + 'cash_receipt_identifier' => '010-1234-5678', + ])->assertStatus(201); + + $this->assertSame(CashReceiptType::EXPENSE->value, $this->latestPayment()->cash_receipt_type); + } + + public function test_지출증빙에_자진발급번호는_거부된다(): void + { + // 자진발급 지정번호는 소득공제 전용 (제도상 지출증빙 자진발급 불가) + $this->postOrder([ + 'cash_receipt_requested' => true, + 'cash_receipt_type' => CashReceiptType::EXPENSE->value, + 'cash_receipt_identifier_type' => CashReceiptIdentifierType::PHONE->value, + 'cash_receipt_identifier' => CashReceiptIdentifierType::SELF_ISSUE_NUMBER, + ])->assertStatus(422) + ->assertJsonPath('errors.cash_receipt_identifier.0', __('sirsoft-ecommerce::cash_receipt.validation.self_issue_income_only')); + } + + public function test_사업자등록번호_체크섬이_틀리면_거부된다(): void + { + $this->postOrder([ + 'cash_receipt_requested' => true, + 'cash_receipt_type' => CashReceiptType::EXPENSE->value, + 'cash_receipt_identifier_type' => CashReceiptIdentifierType::BUSINESS->value, + 'cash_receipt_identifier' => '1234567890', + ])->assertStatus(422); + + $this->assertSame(0, Order::count(), '검증 실패 시 주문 부산물이 남아서는 안 된다'); + } + + public function test_신청했으나_하위키가_없으면_거부된다(): void + { + $this->postOrder(['cash_receipt_requested' => true]) + ->assertStatus(422) + ->assertJsonValidationErrors([ + 'cash_receipt_type', + 'cash_receipt_identifier_type', + 'cash_receipt_identifier', + ]); + } + + /** + * 무통장이 아닌 결제수단으로 신청정보가 넘어와도 결제행에 저장하지 않는다. + * + * 발급 자체는 CashReceiptService 가 dbank 로 차단하므로 기능 홀은 아니지만, + * 발급될 수 없는 주문에 식별번호 암호문을 남기는 것은 불필요한 개인정보 보관이다. + * getDbankInfo() 와 동일하게 getCashReceiptInfo() 도 결제수단으로 게이팅한다. + * + * @param string $paymentMethod 무통장이 아닌 결제수단 + */ + #[DataProvider('nonDbankPaymentMethodProvider')] + public function test_무통장이_아니면_현금영수증_신청정보를_저장하지_않는다(string $paymentMethod): void + { + $this->postOrder([ + 'payment_method' => $paymentMethod, + // vbank 는 입금자명이 필수다(required_if). dbank 전용 계좌정보만 비운다. + 'depositor_name' => $paymentMethod === PaymentMethodEnum::VBANK->value ? '홍길동' : null, + 'dbank' => null, + 'cash_receipt_requested' => true, + 'cash_receipt_type' => CashReceiptType::INCOME->value, + 'cash_receipt_identifier_type' => CashReceiptIdentifierType::PHONE->value, + 'cash_receipt_identifier' => '010-1234-5678', + ])->assertStatus(201); + + $payment = $this->latestPayment(); + + $this->assertFalse( + (bool) $payment->is_cash_receipt_requested, + "{$paymentMethod} 주문에 현금영수증 신청 플래그가 켜져서는 안 된다" + ); + $this->assertNull($payment->cash_receipt_type); + $this->assertNull($payment->cash_receipt_identifier_type); + $this->assertNull($payment->cash_receipt_identifier, '마스킹본도 남기지 않는다'); + $this->assertNull( + $payment->getRawOriginal('cash_receipt_identifier_encrypted'), + '발급될 수 없는 주문에 식별번호 암호문을 보관해서는 안 된다' + ); + } + + /** + * 무통장(dbank)을 제외한 전 결제수단. + * + * @return array + */ + public static function nonDbankPaymentMethodProvider(): array + { + $cases = []; + + foreach (PaymentMethodEnum::cases() as $method) { + if ($method === PaymentMethodEnum::DBANK) { + continue; + } + + $cases[$method->value] = [$method->value]; + } + + return $cases; + } + + // ---------------------------------------------------------------- 환불계좌 + + public function test_환불계좌_미입력이_허용된다(): void + { + $this->postOrder()->assertStatus(201); + + $payment = $this->latestPayment(); + + $this->assertNull($payment->refund_bank_code); + $this->assertNull($payment->refund_bank_account); + $this->assertNull($payment->refund_bank_holder); + } + + public function test_환불계좌_전체_입력이_결제행에_저장된다(): void + { + $this->postOrder([ + 'refund_bank' => [ + 'bank_code' => '004', + 'account_number' => '110-123-456789', + 'holder' => '홍길동', + ], + ])->assertStatus(201); + + $payment = $this->latestPayment(); + + $this->assertSame('004', $payment->refund_bank_code); + $this->assertSame('110-123-456789', $payment->refund_bank_account); + $this->assertSame('홍길동', $payment->refund_bank_holder); + // 은행명은 은행코드로 조회해 함께 저장한다 (관리자 화면 표시용) + $this->assertNotNull($payment->refund_bank_name); + } + + /** + * @return array, array}> + */ + public static function partialRefundBankProvider(): array + { + return [ + '계좌번호만' => [ + ['account_number' => '110-123-456789'], + ['refund_bank.bank_code', 'refund_bank.holder'], + ], + '은행만' => [ + ['bank_code' => '004'], + ['refund_bank.account_number', 'refund_bank.holder'], + ], + '예금주 누락' => [ + ['bank_code' => '004', 'account_number' => '110-123-456789'], + ['refund_bank.holder'], + ], + ]; + } + + /** + * @param array $refundBank + * @param array $expectedErrors + */ + #[DataProvider('partialRefundBankProvider')] + public function test_환불계좌_부분_입력은_거부된다(array $refundBank, array $expectedErrors): void + { + $this->postOrder(['refund_bank' => $refundBank]) + ->assertStatus(422) + ->assertJsonValidationErrors($expectedErrors); + + $this->assertSame(0, Order::count(), '검증 실패 시 주문 부산물이 남아서는 안 된다'); + } + + // ---------------------------------------------------------------- 사슬 무결성 + + public function test_현금영수증과_환불계좌를_함께_보내면_둘_다_저장된다(): void + { + $this->postOrder([ + 'cash_receipt_requested' => true, + 'cash_receipt_type' => CashReceiptType::INCOME->value, + 'cash_receipt_identifier_type' => CashReceiptIdentifierType::PHONE->value, + 'cash_receipt_identifier' => '010-1234-5678', + 'refund_bank' => [ + 'bank_code' => '004', + 'account_number' => '110-123-456789', + 'holder' => '홍길동', + ], + ])->assertStatus(201); + + $payment = $this->latestPayment(); + + $this->assertTrue((bool) $payment->is_cash_receipt_requested); + $this->assertSame('004', $payment->refund_bank_code); + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Playwright/specs/shop/checkout-cash-receipt.spec.ts b/modules/_bundled/sirsoft-ecommerce/tests/Playwright/specs/shop/checkout-cash-receipt.spec.ts new file mode 100644 index 00000000..8120e20c --- /dev/null +++ b/modules/_bundled/sirsoft-ecommerce/tests/Playwright/specs/shop/checkout-cash-receipt.spec.ts @@ -0,0 +1,315 @@ +/** + * 체크아웃 현금영수증 신청 폼 E2E (#454 S3 / W-1). + * + * 이 spec 이 검증하는 것은 "슬롯에 주입된 모듈 폼이 브라우저에서 실제로 동작하는가" 다. + * 레이아웃 JSON 단위 테스트(cashReceiptUi.test.tsx)는 JSON 구조만 읽으므로, + * 확장 주입 → 렌더 → 상호작용 → 상태 반영의 실경로는 브라우저에서만 확인된다. + * + * 실측으로만 드러난 결함이 실제로 있었다(계획서 §12-3): 무통장 결제 상태가 waiting_deposit 이 + * 아니라 ready 였고, 유닛 픽스처는 내가 넣어준 값이라 green 이었다. 그래서 본 spec 은 + * 픽스처 대신 라이브 API/DOM 만 신뢰한다. + * + * 시드는 도메인 seeder(playwright:seed-ecommerce, 아직 stub)를 쓰지 않는다. + * 대신 사용자가 실제로 밟는 경로 — 인증 토큰 발급 → 카트 담기 API → 체크아웃 진입 — 을 그대로 밟는다. + * 검증 대상(현금영수증 폼)을 우회하지 않으므로 "강제 API 로 통과 선언" 에 해당하지 않는다. + * + * @scenario cash-receipt-ui-and-refund-bank + * @effects checkout_slot_renders_only_inside_dbank_block, + * checkout_slot_hidden_when_provider_unset, + * checkout_fields_mount_on_request_toggle, + * checkout_purpose_switch_resets_invalid_identifier, + * checkout_identifier_type_options_by_purpose, + * checkout_identifier_cleared_on_type_change, + * new_ui_uses_portable_only, + * new_ui_has_no_tailwind_breakpoint + */ +import { test, expect, authenticatePage } from '../../fixtures/ecommerce-auth'; +import type { Page } from '@playwright/test'; + +/** + * 카트 담기에 쓰는 상품 — 전 상품이 옵션 보유(has_options=true)라 option_values 가 필수다. + * + * CartService::bulkAddToCart 는 저장된 다국어 JSON 이 아니라 현재 로케일로 평탄화된 맵 + * (`{"색상":"화이트"}`) 과 비교한다(getLocalizedOptionValues). 그래서 요청 로케일을 ko 로 고정한다. + */ +const CART_LOCALE = 'ko'; +const CART_ITEM = { + product_id: 1, + items: [{ option_values: { 색상: '화이트' }, quantity: 1 }], +}; + +/** 발급수단 드롭다운의 항목 라벨 (ko 고정 — beforeEach 가 g7_locale 을 ko 로 pin 한다) */ +const IDENTIFIER_LABEL = { + phone: '휴대폰번호', + card: '현금영수증 카드번호', + business: '사업자등록번호', +} as const; + +const SLOT = '#ext_checkout_cash_receipt'; +const FIELDS = '#ext_checkout_cash_receipt_fields'; +const TOGGLE = '#ext_checkout_cash_receipt_toggle'; +const PURPOSE = '#ext_checkout_cash_receipt_purpose'; +const ID_TYPE = '#ext_checkout_cash_receipt_identifier_type'; +const IDENTIFIER = '#ext_checkout_cash_receipt_identifier'; + +/** + * 카트를 비우고 상품 1건을 담은 뒤 임시주문을 생성한다. + * + * 체크아웃 화면은 카트에 상품이 있는 것만으로는 열리지 않는다 — 카트의 "주문하기" 가 + * POST /checkout 으로 만든 임시주문이 있어야 하고, 없으면 "주문 정보를 찾을 수 없습니다" + * 모달이 뜨고 카트로 되돌아간다. 그래서 사용자가 밟는 두 단계를 그대로 밟는다. + */ +async function seedCheckout(page: Page): Promise { + const result = await page.evaluate( + async ({ payload, locale }) => { + const token = localStorage.getItem('auth_token'); + const headers = { + 'Content-Type': 'application/json', + Accept: 'application/json', + 'Accept-Language': locale, + Authorization: `Bearer ${token}`, + }; + + await fetch('/api/modules/sirsoft-ecommerce/cart/all', { method: 'DELETE', headers }); + + const added = await fetch('/api/modules/sirsoft-ecommerce/cart', { + method: 'POST', + headers, + body: JSON.stringify(payload), + }); + if (!added.ok) return { step: 'cart', status: added.status, body: await added.text() }; + + const cart = await fetch('/api/modules/sirsoft-ecommerce/cart', { headers }).then((r) => r.json()); + const itemIds = (cart?.data?.items ?? cart?.data ?? []).map((i: { id: number }) => i.id); + if (itemIds.length === 0) { + return { step: 'cart-read', status: 0, body: JSON.stringify(cart).slice(0, 300) }; + } + + // 카트의 "주문하기" 버튼과 동일한 호출 (_cart_summary.json) + const checkout = await fetch('/api/modules/sirsoft-ecommerce/checkout', { + method: 'POST', + headers, + body: JSON.stringify({ item_ids: itemIds }), + }); + return { step: 'checkout', status: checkout.status, body: await checkout.text() }; + }, + { payload: CART_ITEM, locale: CART_LOCALE } + ); + + expect(result.status, `${result.step} 단계 실패: ${result.body}`).toBeLessThan(300); +} + +/** 결제수단 버튼 — iteration 으로 렌더되며 method.id 로 식별된다. */ +const paymentMethod = (page: Page, id: string) => + page.getByTestId(`checkout-payment-method-${id}`); + +/** + * GDPR 쿠키 동의 배너를 닫는다. + * + * 신규 브라우저 컨텍스트에는 동의 기록이 없어 전체 화면 오버레이가 클릭을 가로챈다. + * 동의 상태는 서버(/consent/cookie/status)가 SSoT 이므로 localStorage 를 조작하지 않고 + * 실제 사용자와 같이 버튼을 누른다. + */ +async function dismissCookieNotice(page: Page): Promise { + const necessaryOnly = page.getByRole('button', { name: /Necessary Only|필수만/i }); + const overlay = page.locator('.fixed.inset-0'); + + // 배너는 /consent/cookie/status 응답 후 비동기로 마운트되고, 클릭 직후 자기 자신을 떼어낸다. + // 한 번만 확인하면 (a) 아직 없는 상태를 "없음" 으로 오판하거나 (b) 클릭 재시도가 + // detach 와 겹쳐 실패한다. 오버레이가 사라질 때까지 클릭을 재시도한다. + for (let attempt = 0; attempt < 3; attempt += 1) { + if ((await overlay.count()) === 0) return; + if (!(await necessaryOnly.isVisible().catch(() => false))) { + await necessaryOnly.waitFor({ state: 'visible', timeout: 5_000 }).catch(() => undefined); + } + await necessaryOnly.click({ timeout: 5_000 }).catch(() => undefined); + const cleared = await expect + .poll(() => overlay.count(), { timeout: 5_000 }) + .toBe(0) + .then(() => true, () => false); + if (cleared) return; + } + + await expect(overlay, '쿠키 동의 오버레이가 닫히지 않았다').toHaveCount(0); +} + +/** 체크아웃으로 이동하고 결제수단 블록이 그려질 때까지 기다린다. */ +async function gotoCheckout(page: Page): Promise { + await page.goto('/shop/checkout'); + await page.waitForLoadState('domcontentloaded'); + await dismissCookieNotice(page); + // 무통장 버튼이 뜨면 결제수단 섹션 렌더 완료 + await paymentMethod(page, 'dbank').waitFor({ timeout: 30_000 }); +} + +/** 무통장입금을 선택한다 — 현금영수증 슬롯은 dbank 블록 내부에만 있다. */ +async function selectDbank(page: Page): Promise { + await paymentMethod(page, 'dbank').click(); + await expect(page.locator(SLOT)).toBeVisible(); +} + +/** + * 발급수단 드롭다운을 열고 보이는 항목 라벨을 반환한다. + * + * 템플릿의 Select 는 네이티브 가 아니라 커스텀 listbox 다 (Select.tsx). + // 옵션 클릭이 합성 change 이벤트를 만들어 _local.batchOrderStatus 를 커밋한다. + await page.getByRole('button', { name: '주문상태 변경' }).click(); + const statusListbox = page.getByRole('listbox').last(); + await statusListbox.waitFor({ state: 'visible', timeout: 10_000 }); + await statusListbox.getByRole('option', { name: '주문취소', exact: true }).click(); + + await expect(statusListbox).toBeHidden({ timeout: 10_000 }); + + // 핸들러(buildOrderDetailBulkConfirmData)는 _local.batchOrderStatus 를 읽는다. + // 화면상 드롭다운 라벨이 바뀌어도 이 상태가 커밋되지 않으면 핸들러는 경고 토스트만 + // 띄우고 조용히 반환한다 — 증상은 "모달이 안 열림" 이라 원인을 오해하기 쉽다. + await expect + .poll( + async () => + page.evaluate(() => { + const g = ( + window as unknown as { + G7Core?: { state?: { getLocal?(): Record } }; + } + ).G7Core; + return (g?.state?.getLocal?.()?.batchOrderStatus ?? null) as string | null; + }), + { timeout: 10_000 } + ) + .toBe('cancelled'); + + const applyButton = page.getByRole('button', { name: '일괄변경' }); + await expect(applyButton).toBeEnabled({ timeout: 10_000 }); + await applyButton.click(); + + const cancelModal = page.getByRole('dialog'); + await cancelModal.waitFor({ state: 'visible', timeout: 30_000 }); + + // 취소 수량을 1 로 낮춰 부분취소로 만든다 (기본값은 주문 수량 전량). + // 전량이면 발급 대상 금액이 0 이 되어 "취소 후 재발급" 이 아니라 "발급 대상 소멸" 이 된다. + const qty = cancelModal.locator('input[type=number]').first(); + await qty.fill('1'); + + await cancelModal.locator('select').first().selectOption({ label: '관리자 취소' }); + await cancelModal.getByRole('button', { name: '주문 취소' }).click(); + await expect(cancelModal).toBeHidden({ timeout: 60_000 }); + + // 금액이 줄었으면 기존 영수증은 전액취소되고 새 금액으로 재발급되어야 한다 (D7). + // receipt_key 는 API 가 노출하지 않으므로(자격증명성 식별자) 영수증 행 id 로 판별한다. + await expect + .poll(async () => (await readReceiptState(page, orderId)).active?.id, { + timeout: 60_000, + }) + .not.toBe(firstReceiptId); + + const reissued = await readReceiptState(page, orderId); + + expect(reissued.active?.issue_status).toBe('COMPLETED'); + expect(Number(reissued.active?.amount), '재발급 금액이 취소 후 주문 금액과 달라졌다').toBe( + reissued.total + ); + expect(Number(reissued.active?.amount)).toBeLessThan(before.total); + expect(reissued.active?.issue_number).not.toBe(firstNumber); + + // 이력에 취소 행이 남아야 한다 — 부분환불이 영수증에 반영되지 않으면 + // 고객이 실제 결제액과 다른 금액의 영수증을 계속 보유하게 된다. + const cancelRow = reissued.history.find((r) => r.transaction_type === 'cancel'); + expect(cancelRow, '취소 이력이 없다 — 부분취소가 영수증에 반영되지 않았다').toBeTruthy(); + expect(cancelRow?.issue_status).toBe('COMPLETED'); + + // 부분취소인데 영수증을 부분취소하면 안 된다 — 취소 행 금액은 원 발급액 전액이다 (D7). + expect(Number(cancelRow?.amount)).toBe(before.total); + + // 이력은 발급 → 취소 → 재발급 3건이어야 한다. + expect(reissued.history.length).toBe(3); + }); + + test('입금 전에는 발급 버튼이 비활성 — 발급 시도가 불가능하다', async ({ + page, + orderManageToken, + }) => { + await authenticatePage(page, orderManageToken); + await page.addInitScript((l) => localStorage.setItem('g7_locale', l), CART_LOCALE); + await page.goto('/shop'); + await page.waitForLoadState('domcontentloaded'); + + const provider = await cashReceiptProvider(page); + test.skip(provider === null, '현금영수증 발급사가 설정되지 않은 환경'); + + const orderNumber = await placeDbankOrderWithCashReceipt(page, '01077778888'); + const orderId = await resolveOrderId(page, orderNumber); + + await page.goto(`/admin/ecommerce/orders/${orderId}`); + await page.waitForLoadState('domcontentloaded'); + + // 입금 전 상태에서는 발급 버튼이 없어야 한다 (입금확인 후에만 발급 가능). + await expect(page.getByRole('button', { name: '현금영수증 발급' })).toHaveCount(0); + + // 서버도 같은 판정을 해야 한다 — UI 만 숨기고 API 가 열려 있으면 우회 발급이 가능하다. + // 필드명은 FormRequest 규칙(receipt_type)과 일치해야 한다. 틀린 키를 보내면 "미입금 거부"가 + // 아니라 "필수값 누락"으로 422 가 나서, 가드가 죽어 있어도 테스트는 통과해 버린다. + const forced = await api( + page, + `/api/modules/sirsoft-ecommerce/admin/orders/${orderId}/cash-receipt`, + { + method: 'POST', + body: { receipt_type: 'income', identifier_type: 'phone', identifier: '01012341234' }, + } + ); + expect(forced.status, `입금 전 발급이 서버에서 허용됐다: ${forced.body}`).toBeGreaterThanOrEqual(400); + + // 거부 사유가 "미입금"이어야 한다 — 검증 실패로 인한 422 와 구분한다. + expect( + JSON.parse(forced.body)?.errors?.error_code, + `미입금 가드가 아닌 다른 사유로 거부됐다: ${forced.body}` + ).toBe('PAYMENT_NOT_PAID'); + + const state = await readReceiptState(page, orderId); + expect(state.active, '입금 전인데 영수증이 발급되었다').toBeNull(); + }); + + test('미신청 주문 → 입금완료 후 사후 발급 (유저가 직접 발급)', async ({ + page, + orderManageToken, + }) => { + await authenticatePage(page, orderManageToken); + await page.addInitScript((l) => localStorage.setItem('g7_locale', l), CART_LOCALE); + await page.goto('/shop'); + await page.waitForLoadState('domcontentloaded'); + + const provider = await cashReceiptProvider(page); + test.skip(provider === null, '현금영수증 발급사가 설정되지 않은 환경'); + + // 자진발급이 켜져 있으면 미신청 주문도 입금완료 시 국세청 지정번호로 자동발급된다. + // 그 경우 "미발급 상태의 입금완료 주문" 자체가 만들어지지 않으므로 사후 발급을 검증할 수 없다. + // (자진발급 자체의 동작은 아래 '자진발급' 테스트가 검증한다.) + test.skip( + await selfIssueEnabled(page), + '자진발급이 켜진 환경 — 미신청 주문도 자동발급되어 사후 발급 대상이 생기지 않음' + ); + + // 신청 없이 무통장 주문 → 자진발급 꺼짐 + 미신청이므로 발급되지 않아야 한다. + const orderNumber = await placeDbankOrderWithCashReceipt(page, null); + const orderId = await resolveOrderId(page, orderNumber); + const before = await readReceiptState(page, orderId); + + await page.goto(`/admin/ecommerce/orders/${orderId}`); + await confirmDeposit(page, before.total); + + // 입금완료 후에도 영수증은 없어야 한다 — 신청하지 않았고 자진발급도 꺼져 있으므로. + expect( + (await readReceiptState(page, orderId)).active, + '신청하지 않았고 자진발급도 꺼졌는데 발급되었다' + ).toBeNull(); + + // 이제 사후 발급 — 유저 경로로 발급한다 (입금완료 + 미발급이므로 허용되어야 한다). + const issued = await api( + page, + `/api/modules/sirsoft-ecommerce/user/orders/${orderId}/cash-receipt`, + { + method: 'POST', + body: { receipt_type: 'income', identifier_type: 'phone', identifier: '01099998888' }, + } + ); + expect(issued.status, `사후 발급이 거부됐다: ${issued.body}`).toBe(200); + + await expect + .poll(async () => (await readReceiptState(page, orderId)).active?.issue_status, { + timeout: 30_000, + }) + .toBe('COMPLETED'); + + const after = await readReceiptState(page, orderId); + expect(Number(after.active?.amount)).toBe(before.total); + expect(after.active?.issue_number, '발급번호가 없다').toBeTruthy(); + expect(String(after.active?.identifier_masked ?? '')).not.toContain('01099998888'); + + // 이미 발급된 주문의 재발급 시도는 409 여야 한다 (중복 발급 차단). + const again = await api( + page, + `/api/modules/sirsoft-ecommerce/user/orders/${orderId}/cash-receipt`, + { + method: 'POST', + body: { receipt_type: 'income', identifier_type: 'phone', identifier: '01099998888' }, + } + ); + expect(again.status, `이미 발급된 주문에 중복 발급이 허용됐다: ${again.body}`).toBe(409); + expect(JSON.parse(again.body)?.errors?.error_code).toBe('ALREADY_ISSUED'); + }); + + test('자진발급 ON + 미신청 주문 → 국세청 지정번호로 소득공제 자동발급', async ({ + page, + orderManageToken, + }) => { + await authenticatePage(page, orderManageToken); + await page.addInitScript((l) => localStorage.setItem('g7_locale', l), CART_LOCALE); + await page.goto('/shop'); + await page.waitForLoadState('domcontentloaded'); + + const provider = await cashReceiptProvider(page); + test.skip(provider === null, '현금영수증 발급사가 설정되지 않은 환경'); + test.skip(!(await selfIssueEnabled(page)), '자진발급이 꺼진 환경 — 이 경로가 존재하지 않음'); + + // 신청하지 않은 주문이라도 자진발급이 켜져 있으면 입금완료 시 발급된다. + // (현금 결제분을 미발급으로 남기지 않기 위한 제도적 처리 — 국세청 지정번호로 소득공제 발급) + const orderNumber = await placeDbankOrderWithCashReceipt(page, null); + const orderId = await resolveOrderId(page, orderNumber); + const before = await readReceiptState(page, orderId); + + await page.goto(`/admin/ecommerce/orders/${orderId}`); + await confirmDeposit(page, before.total); + + await expect + .poll(async () => (await readReceiptState(page, orderId)).active?.issue_status, { + timeout: 60_000, + }) + .toBe('COMPLETED'); + + const issued = await readReceiptState(page, orderId); + + // 자진발급은 제도상 소득공제용만 가능하다 (지출증빙 자진발급 불가). + expect(issued.active?.receipt_type, '자진발급인데 소득공제가 아니다').toBe('income'); + expect(Number(issued.active?.amount)).toBe(before.total); + expect(issued.active?.issue_number, '발급번호가 없다').toBeTruthy(); + + // 국세청 지정번호(0100001234)로 발급되어야 한다 — 마스킹 뒤 4자리로 확인한다. + expect( + String(issued.active?.identifier_masked ?? ''), + '자진발급 지정번호가 아닌 식별번호로 발급되었다' + ).toContain('1234'); + }); + + test('지출증빙 + 자진발급 지정번호(0100001234) 조합은 거부된다 (422)', async ({ + page, + orderManageToken, + }) => { + await authenticatePage(page, orderManageToken); + await page.addInitScript((l) => localStorage.setItem('g7_locale', l), CART_LOCALE); + await page.goto('/shop'); + await page.waitForLoadState('domcontentloaded'); + + const provider = await cashReceiptProvider(page); + test.skip(provider === null, '현금영수증 발급사가 설정되지 않은 환경'); + + // 입금확인을 하지 않는다 — 용도×식별번호 조합 검증은 FormRequest 단계라 + // 발급 가드(미입금/기발급)보다 **먼저** 걸린다. 입금까지 진행하면 자진발급 설정에 따라 + // 이미 발급된 상태가 되어 409(ALREADY_ISSUED)가 먼저 나고, 정작 검증 규칙을 못 건드린다. + const orderNumber = await placeDbankOrderWithCashReceipt(page, null); + const orderId = await resolveOrderId(page, orderNumber); + + const endpoint = `/api/modules/sirsoft-ecommerce/admin/orders/${orderId}/cash-receipt`; + + // 자진발급 지정번호는 소득공제 전용이다 (지출증빙 자진발급은 제도상 불가). + const selfIssueAsExpense = await api(page, endpoint, { + method: 'POST', + body: { receipt_type: 'expense', identifier_type: 'phone', identifier: '0100001234' }, + }); + expect( + selfIssueAsExpense.status, + `지출증빙 + 자진발급번호가 허용됐다: ${selfIssueAsExpense.body}` + ).toBe(422); + + // 소득공제 + 사업자등록번호도 거부된다 (INCOME 은 phone/card 만 허용). + const incomeWithBusiness = await api(page, endpoint, { + method: 'POST', + body: { receipt_type: 'income', identifier_type: 'business', identifier: '1234567890' }, + }); + expect( + incomeWithBusiness.status, + `소득공제 + 사업자등록번호가 허용됐다: ${incomeWithBusiness.body}` + ).toBe(422); + + // 반증: 허용 조합(소득공제 + 자진발급번호)은 검증을 통과해야 한다. + // 거부가 "자진발급번호 자체 금지"로 과잉 적용되면 여기서 드러난다. + // 미입금 주문이므로 검증 통과 후 발급 가드에 걸려 PAYMENT_NOT_PAID 가 나온다 — + // 즉 422 라도 error_code 가 검증 오류가 아닌 발급 가드여야 한다. + const selfIssueAsIncome = await api(page, endpoint, { + method: 'POST', + body: { receipt_type: 'income', identifier_type: 'phone', identifier: '0100001234' }, + }); + expect( + JSON.parse(selfIssueAsIncome.body)?.errors?.error_code, + `소득공제 + 자진발급번호가 검증에서 거부됐다 — 과잉 차단: ${selfIssueAsIncome.body}` + ).toBe('PAYMENT_NOT_PAID'); + + // 거부된 조합이 발급을 남기지 않았는지 확인한다 — 422 를 주고도 발급하면 최악이다. + expect( + (await readReceiptState(page, orderId)).active, + '거부된 조합인데 영수증이 발급되었다' + ).toBeNull(); + }); +}); diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Playwright/specs/shop/checkout-cash-receipt.spec.ts b/modules/_bundled/sirsoft-ecommerce/tests/Playwright/specs/shop/checkout-cash-receipt.spec.ts index 8120e20c..34512041 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Playwright/specs/shop/checkout-cash-receipt.spec.ts +++ b/modules/_bundled/sirsoft-ecommerce/tests/Playwright/specs/shop/checkout-cash-receipt.spec.ts @@ -27,16 +27,12 @@ import { test, expect, authenticatePage } from '../../fixtures/ecommerce-auth'; import type { Page } from '@playwright/test'; /** - * 카트 담기에 쓰는 상품 — 전 상품이 옵션 보유(has_options=true)라 option_values 가 필수다. + * 카트 담기 로케일. * * CartService::bulkAddToCart 는 저장된 다국어 JSON 이 아니라 현재 로케일로 평탄화된 맵 * (`{"색상":"화이트"}`) 과 비교한다(getLocalizedOptionValues). 그래서 요청 로케일을 ko 로 고정한다. */ const CART_LOCALE = 'ko'; -const CART_ITEM = { - product_id: 1, - items: [{ option_values: { 색상: '화이트' }, quantity: 1 }], -}; /** 발급수단 드롭다운의 항목 라벨 (ko 고정 — beforeEach 가 g7_locale 을 ko 로 pin 한다) */ const IDENTIFIER_LABEL = { @@ -61,7 +57,7 @@ const IDENTIFIER = '#ext_checkout_cash_receipt_identifier'; */ async function seedCheckout(page: Page): Promise { const result = await page.evaluate( - async ({ payload, locale }) => { + async ({ locale }) => { const token = localStorage.getItem('auth_token'); const headers = { 'Content-Type': 'application/json', @@ -70,14 +66,62 @@ async function seedCheckout(page: Page): Promise { Authorization: `Bearer ${token}`, }; + // 담을 상품을 런타임에 찾는다. 상품 ID 를 고정하면 시드가 다른 환경에서 + // 전부 실패하고, 그 실패가 "현금영수증 폼 결함" 으로 오해된다. + const list = await fetch( + '/api/modules/sirsoft-ecommerce/products?per_page=30', + { headers } + ).then((r) => r.json()); + + const candidates = (list?.data?.data ?? list?.data ?? []) as Array<{ id: number }>; + if (candidates.length === 0) { + return { step: 'product-list', status: 0, body: '판매 중인 상품이 없습니다.' }; + } + await fetch('/api/modules/sirsoft-ecommerce/cart/all', { method: 'DELETE', headers }); - const added = await fetch('/api/modules/sirsoft-ecommerce/cart', { - method: 'POST', - headers, - body: JSON.stringify(payload), - }); - if (!added.ok) return { step: 'cart', status: added.status, body: await added.text() }; + // 상품마다 옵션 구성이 다르므로 상세를 읽어 판매 가능한 첫 옵션을 그대로 쓴다. + // option_values_localized 는 서버가 현재 로케일로 평탄화해 내려준 맵이며, + // CartService::bulkAddToCart 가 비교하는 형태와 동일하다. + let added: Response | null = null; + let lastBody = ''; + for (const candidate of candidates) { + const detail = await fetch( + `/api/modules/sirsoft-ecommerce/products/${candidate.id}`, + { headers } + ).then((r) => r.json()); + + const options = (detail?.data?.options ?? []) as Array<{ + option_values_localized?: Record; + stock_quantity?: number; + }>; + // 재고가 없는 옵션을 고르면 주문 생성이 422 로 막혀 검증 대상에 닿지도 못한다. + const usable = options.find((o) => (o.stock_quantity ?? 0) > 0); + if (!usable) continue; + + const res = await fetch('/api/modules/sirsoft-ecommerce/cart', { + method: 'POST', + headers, + body: JSON.stringify({ + product_id: candidate.id, + items: [ + { + option_values: usable.option_values_localized ?? {}, + quantity: 1, + }, + ], + }), + }); + if (res.ok) { + added = res; + break; + } + lastBody = await res.text(); + } + + if (!added) { + return { step: 'cart', status: 422, body: `담을 수 있는 상품 없음: ${lastBody}` }; + } const cart = await fetch('/api/modules/sirsoft-ecommerce/cart', { headers }).then((r) => r.json()); const itemIds = (cart?.data?.items ?? cart?.data ?? []).map((i: { id: number }) => i.id); @@ -93,7 +137,7 @@ async function seedCheckout(page: Page): Promise { }); return { step: 'checkout', status: checkout.status, body: await checkout.text() }; }, - { payload: CART_ITEM, locale: CART_LOCALE } + { locale: CART_LOCALE } ); expect(result.status, `${result.step} 단계 실패: ${result.body}`).toBeLessThan(300); diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/DTO/PromotionsSummaryFlatKeysTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/DTO/PromotionsSummaryFlatKeysTest.php index c0e86549..818266a0 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/DTO/PromotionsSummaryFlatKeysTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/DTO/PromotionsSummaryFlatKeysTest.php @@ -6,7 +6,7 @@ use Modules\Sirsoft\Ecommerce\DTO\AppliedPromotions; use Modules\Sirsoft\Ecommerce\DTO\CouponApplication; use Modules\Sirsoft\Ecommerce\DTO\DiscountCodeApplication; use Modules\Sirsoft\Ecommerce\DTO\PromotionsSummary; -use PHPUnit\Framework\TestCase; +use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; /** * PromotionsSummary 평탄 키 생산 표준 검증 (주문 스냅샷 표준화/MP06) @@ -14,7 +14,7 @@ use PHPUnit\Framework\TestCase; * 주문 생성 시 promotions_applied_snapshot 이 coupon_issue_ids / item_coupons / discount_code * 평탄 키를 항상 포함하도록 표준화한 것을 검증한다. 취소 복원/재계산이 이 평탄 키를 SSoT 로 읽는다. */ -class PromotionsSummaryFlatKeysTest extends TestCase +class PromotionsSummaryFlatKeysTest extends ModuleTestCase { /** * 상품 쿠폰 + 주문 쿠폰을 가진 요약 DTO 를 구성합니다. diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Database/Seeders/ProductSeederImageTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Database/Seeders/ProductSeederImageTest.php index f7aa90e4..1beee759 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Database/Seeders/ProductSeederImageTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Database/Seeders/ProductSeederImageTest.php @@ -3,14 +3,14 @@ namespace Modules\Sirsoft\Ecommerce\Tests\Unit\Database\Seeders; use Modules\Sirsoft\Ecommerce\Database\Seeders\Sample\ProductSeeder; -use Tests\TestCase; +use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; /** * ProductSeeder 이미지 색상 필터 테스트 * * applyColorFilter 메서드의 GD 기반 색상 필터 로직을 검증합니다. */ -class ProductSeederImageTest extends TestCase +class ProductSeederImageTest extends ModuleTestCase { private ProductSeeder $seeder; diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/EcommerceUserActivityLogListenerTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/EcommerceUserActivityLogListenerTest.php index 6bbe6cfb..0b54e740 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/EcommerceUserActivityLogListenerTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/EcommerceUserActivityLogListenerTest.php @@ -10,7 +10,8 @@ use Modules\Sirsoft\Ecommerce\Listeners\EcommerceUserActivityLogListener; use Modules\Sirsoft\Ecommerce\Models\Cart; use Modules\Sirsoft\Ecommerce\Models\Order; use Modules\Sirsoft\Ecommerce\Models\OrderOption; -use Tests\TestCase; +use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; +use Psr\Log\LoggerInterface; /** * EcommerceUserActivityLogListener 테스트 @@ -23,7 +24,7 @@ use Tests\TestCase; * * 모든 메서드가 ActivityLogType::User를 사용하는지 검증합니다. */ -class EcommerceUserActivityLogListenerTest extends TestCase +class EcommerceUserActivityLogListenerTest extends ModuleTestCase { private EcommerceUserActivityLogListener $listener; @@ -34,7 +35,7 @@ class EcommerceUserActivityLogListenerTest extends TestCase parent::setUp(); $this->app->instance('request', Request::create('/api/shop/test')); $this->listener = app(EcommerceUserActivityLogListener::class); - $this->logChannel = Mockery::mock(\Psr\Log\LoggerInterface::class); + $this->logChannel = Mockery::mock(LoggerInterface::class); Log::shouldReceive('channel') ->with('activity') ->andReturn($this->logChannel); @@ -45,7 +46,7 @@ class EcommerceUserActivityLogListenerTest extends TestCase // getSubscribedHooks // ═══════════════════════════════════════════ - public function test_getSubscribedHooks_returns_all_hooks(): void + public function test_get_subscribed_hooks_returns_all_hooks(): void { $hooks = EcommerceUserActivityLogListener::getSubscribedHooks(); @@ -65,7 +66,7 @@ class EcommerceUserActivityLogListenerTest extends TestCase // Cart 핸들러 테스트 // ═══════════════════════════════════════════ - public function test_handleCartAfterAdd_logs_activity_with_product_relation(): void + public function test_handle_cart_after_add_logs_activity_with_product_relation(): void { $cart = $this->createCartMockWithProduct(1, 'Test Product'); $data = ['quantity' => 2]; @@ -85,7 +86,7 @@ class EcommerceUserActivityLogListenerTest extends TestCase $this->listener->handleCartAfterAdd($cart, $data); } - public function test_handleCartAfterAdd_falls_back_to_product_name_attribute(): void + public function test_handle_cart_after_add_falls_back_to_product_name_attribute(): void { $cart = $this->createCartMockWithProductName(2, 'Fallback Name'); $data = ['quantity' => 1]; @@ -102,7 +103,7 @@ class EcommerceUserActivityLogListenerTest extends TestCase $this->listener->handleCartAfterAdd($cart, $data); } - public function test_handleCartAfterAdd_with_empty_product_info(): void + public function test_handle_cart_after_add_with_empty_product_info(): void { $cart = $this->createCartMockWithProductName(3, null); @@ -117,7 +118,7 @@ class EcommerceUserActivityLogListenerTest extends TestCase $this->listener->handleCartAfterAdd($cart, []); } - public function test_handleCartAfterUpdateQuantity_logs_activity(): void + public function test_handle_cart_after_update_quantity_logs_activity(): void { $cart = $this->createCartMockWithProduct(4, 'Qty Product'); $quantity = 5; @@ -137,7 +138,7 @@ class EcommerceUserActivityLogListenerTest extends TestCase $this->listener->handleCartAfterUpdateQuantity($cart, $quantity); } - public function test_handleCartAfterChangeOption_logs_activity(): void + public function test_handle_cart_after_change_option_logs_activity(): void { $cart = $this->createCartMockWithProduct(5, 'Option Product'); $newProductOptionId = 42; @@ -159,7 +160,7 @@ class EcommerceUserActivityLogListenerTest extends TestCase $this->listener->handleCartAfterChangeOption($cart, $newProductOptionId, $quantity); } - public function test_handleCartAfterDelete_logs_activity(): void + public function test_handle_cart_after_delete_logs_activity(): void { $cartId = 10; @@ -176,7 +177,7 @@ class EcommerceUserActivityLogListenerTest extends TestCase $this->listener->handleCartAfterDelete($cartId); } - public function test_handleCartAfterDeleteAll_logs_activity(): void + public function test_handle_cart_after_delete_all_logs_activity(): void { $userId = 100; $cartKey = 'user_100_cart'; @@ -210,7 +211,7 @@ class EcommerceUserActivityLogListenerTest extends TestCase * description_params 패턴이 검증되었으므로, wishlist 핸들러의 로직(add/remove 분기, * product_name 추출)은 소스코드 리뷰로 보장합니다. */ - public function test_handleWishlistAfterToggle_method_exists_and_hooks_registered(): void + public function test_handle_wishlist_after_toggle_method_exists_and_hooks_registered(): void { $hooks = EcommerceUserActivityLogListener::getSubscribedHooks(); @@ -228,7 +229,7 @@ class EcommerceUserActivityLogListenerTest extends TestCase * alias mock의 PHP 프로세스 내 클래스 재정의 제한으로 인해 * 훅 등록 및 메서드 존재를 검증합니다. */ - public function test_handleUserCouponAfterDownload_method_exists_and_hooks_registered(): void + public function test_handle_user_coupon_after_download_method_exists_and_hooks_registered(): void { $hooks = EcommerceUserActivityLogListener::getSubscribedHooks(); @@ -241,7 +242,7 @@ class EcommerceUserActivityLogListenerTest extends TestCase // Order 핸들러 테스트 // ═══════════════════════════════════════════ - public function test_handleOrderAfterCreate_logs_activity(): void + public function test_handle_order_after_create_logs_activity(): void { $order = Mockery::mock(Order::class)->makePartial(); $order->forceFill(['id' => 10, 'order_code' => 'ORD-20260326-001']); @@ -263,7 +264,7 @@ class EcommerceUserActivityLogListenerTest extends TestCase $this->listener->handleOrderAfterCreate($order); } - public function test_handleOrderAfterCreate_handles_null_order_code(): void + public function test_handle_order_after_create_handles_null_order_code(): void { $order = Mockery::mock(Order::class)->makePartial(); $order->forceFill(['id' => 11]); @@ -285,7 +286,7 @@ class EcommerceUserActivityLogListenerTest extends TestCase // Order Option 핸들러 테스트 // ═══════════════════════════════════════════ - public function test_handleOrderOptionAfterConfirm_logs_activity(): void + public function test_handle_order_option_after_confirm_logs_activity(): void { $order = Mockery::mock(Order::class)->makePartial(); $order->forceFill(['id' => 20]); @@ -311,7 +312,7 @@ class EcommerceUserActivityLogListenerTest extends TestCase $this->listener->handleOrderOptionAfterConfirm($order, $option); } - public function test_handleOrderOptionAfterConfirm_hooks_registered(): void + public function test_handle_order_option_after_confirm_hooks_registered(): void { $hooks = EcommerceUserActivityLogListener::getSubscribedHooks(); @@ -324,7 +325,7 @@ class EcommerceUserActivityLogListenerTest extends TestCase // 에러 핸들링 테스트 // ═══════════════════════════════════════════ - public function test_logActivity_catches_exception_and_logs_error(): void + public function test_log_activity_catches_exception_and_logs_error(): void { $this->logChannel->shouldReceive('info') ->once() @@ -375,13 +376,12 @@ class EcommerceUserActivityLogListenerTest extends TestCase /** * product 관계가 있는 Cart mock 생성 * - * @param int $id 장바구니 ID - * @param string $productName 상품명 - * @return Cart + * @param int $id 장바구니 ID + * @param string $productName 상품명 */ private function createCartMockWithProduct(int $id, string $productName): Cart { - $product = new \stdClass(); + $product = new \stdClass; $product->name = $productName; $cart = Mockery::mock(Cart::class)->makePartial(); @@ -397,9 +397,8 @@ class EcommerceUserActivityLogListenerTest extends TestCase /** * product 관계 없이 product_name 속성만 있는 Cart mock 생성 * - * @param int $id 장바구니 ID - * @param string|null $productName 상품명 - * @return Cart + * @param int $id 장바구니 ID + * @param string|null $productName 상품명 */ private function createCartMockWithProductName(int $id, ?string $productName): Cart { diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/SearchProductsListenerTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/SearchProductsListenerTest.php index a264101e..e8f6ee80 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/SearchProductsListenerTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/SearchProductsListenerTest.php @@ -11,12 +11,12 @@ use App\Support\Query\BoundedCount; use Illuminate\Support\Facades\Gate; use Modules\Sirsoft\Ecommerce\Listeners\SearchProductsListener; use Modules\Sirsoft\Ecommerce\Services\ProductService; -use Tests\TestCase; +use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; /** * SearchProductsListener 단위 테스트 */ -class SearchProductsListenerTest extends TestCase +class SearchProductsListenerTest extends ModuleTestCase { private SearchProductsListener $listener; diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/SeoCategoryCacheListenerTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/SeoCategoryCacheListenerTest.php index 85af9afc..1aeabfdb 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/SeoCategoryCacheListenerTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/SeoCategoryCacheListenerTest.php @@ -9,14 +9,14 @@ use Illuminate\Support\Facades\Bus; use Illuminate\Support\Facades\Log; use Mockery; use Modules\Sirsoft\Ecommerce\Listeners\SeoCategoryCacheListener; -use Tests\TestCase; +use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; /** * SeoCategoryCacheListener 테스트 * * 카테고리 변경 시 SEO 캐시 무효화 리스너의 동작을 검증합니다. */ -class SeoCategoryCacheListenerTest extends TestCase +class SeoCategoryCacheListenerTest extends ModuleTestCase { protected SeoCategoryCacheListener $listener; diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/SeoProductCacheListenerTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/SeoProductCacheListenerTest.php index 81f84892..f40539b5 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/SeoProductCacheListenerTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/SeoProductCacheListenerTest.php @@ -10,7 +10,7 @@ use Illuminate\Support\Facades\Bus; use Illuminate\Support\Facades\Log; use Mockery; use Modules\Sirsoft\Ecommerce\Listeners\SeoProductCacheListener; -use Tests\TestCase; +use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; /** * SeoProductCacheListener 테스트 @@ -21,7 +21,7 @@ use Tests\TestCase; * - 생성/수정 시 단건 캐시 재생성 * - 삭제 시 재생성 없이 무효화만 */ -class SeoProductCacheListenerTest extends TestCase +class SeoProductCacheListenerTest extends ModuleTestCase { protected SeoProductCacheListener $listener; diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/SeoSettingsCacheListenerTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/SeoSettingsCacheListenerTest.php index 2cd32eee..e3b4cf6e 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/SeoSettingsCacheListenerTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Listeners/SeoSettingsCacheListenerTest.php @@ -7,14 +7,14 @@ use App\Seo\Contracts\SeoCacheManagerInterface; use Illuminate\Support\Facades\Log; use Mockery; use Modules\Sirsoft\Ecommerce\Listeners\SeoSettingsCacheListener; -use Tests\TestCase; +use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; /** * 이커머스 SEO 설정 리스너 테스트 * * 이커머스 모듈 설정 변경 시 SEO 관련 캐시 선별 무효화를 검증합니다. */ -class SeoSettingsCacheListenerTest extends TestCase +class SeoSettingsCacheListenerTest extends ModuleTestCase { private SeoSettingsCacheListener $listener; diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Requests/StoreBanksRequestTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Requests/StoreBanksRequestTest.php index 926746c6..63ada7e7 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Requests/StoreBanksRequestTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Requests/StoreBanksRequestTest.php @@ -4,7 +4,7 @@ namespace Modules\Sirsoft\Ecommerce\Tests\Unit\Requests; use Illuminate\Support\Facades\Validator; use Modules\Sirsoft\Ecommerce\Http\Requests\Admin\StoreBanksRequest; -use Tests\TestCase; +use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; /** * 은행 목록 저장 요청 검증 테스트 @@ -15,7 +15,7 @@ use Tests\TestCase; * - 현재 로케일 은행명만 필수 * - 빈 배열 허용 */ -class StoreBanksRequestTest extends TestCase +class StoreBanksRequestTest extends ModuleTestCase { /** * 은행명 검증은 "현재 앱 로케일" 필드만 필수로 본다. 테스트 데이터가 ko/en 을 제공하므로 @@ -30,12 +30,11 @@ class StoreBanksRequestTest extends TestCase /** * 검증 수행 * - * @param array $data 검증 대상 데이터 - * @return \Illuminate\Validation\Validator + * @param array $data 검증 대상 데이터 */ protected function validate(array $data): \Illuminate\Validation\Validator { - $request = new StoreBanksRequest(); + $request = new StoreBanksRequest; return Validator::make($data, $request->rules()); } diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Requests/StoreEcommerceSettingsRequestSeoTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Requests/StoreEcommerceSettingsRequestSeoTest.php index 75f2efe0..e4b59dd4 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Requests/StoreEcommerceSettingsRequestSeoTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Requests/StoreEcommerceSettingsRequestSeoTest.php @@ -3,14 +3,14 @@ namespace Modules\Sirsoft\Ecommerce\Tests\Unit\Requests; use Modules\Sirsoft\Ecommerce\Http\Requests\Admin\StoreEcommerceSettingsRequest; -use Tests\TestCase; +use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; /** * StoreEcommerceSettingsRequest SEO 필드 검증 테스트 * * 코어로 이관된 SEO 필드가 제거되었는지, 이커머스 고유 SEO 필드가 유지되는지 검증합니다. */ -class StoreEcommerceSettingsRequestSeoTest extends TestCase +class StoreEcommerceSettingsRequestSeoTest extends ModuleTestCase { private StoreEcommerceSettingsRequest $request; diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Resources/HasMultiCurrencyPricesTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Resources/HasMultiCurrencyPricesTest.php index ff9db739..9b0ddbb3 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Resources/HasMultiCurrencyPricesTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Resources/HasMultiCurrencyPricesTest.php @@ -2,8 +2,9 @@ namespace Modules\Sirsoft\Ecommerce\Tests\Unit\Resources; +use Modules\Sirsoft\Ecommerce\Http\Resources\Traits\HasMultiCurrencyPrices; +use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; use PHPUnit\Framework\Attributes\Test; -use PHPUnit\Framework\TestCase; /** * HasMultiCurrencyPrices Trait 단위 테스트 @@ -12,13 +13,12 @@ use PHPUnit\Framework\TestCase; * - applyRounding 결과의 IEEE 754 오차가 decimal_places로 제거되는지 확인 * - 예: 4505 * 0.01 = 45.050000000000004 → round(_, 2) → 45.05 */ -class HasMultiCurrencyPricesTest extends TestCase +class HasMultiCurrencyPricesTest extends ModuleTestCase { /** * Trait 메서드를 테스트할 수 있는 익명 클래스 인스턴스 생성 * * @param array $currencies 통화 설정 - * @return object */ protected function createTraitInstance(array $currencies = []): object { @@ -74,7 +74,7 @@ class HasMultiCurrencyPricesTest extends TestCase return new class($currencySettings) { - use \Modules\Sirsoft\Ecommerce\Http\Resources\Traits\HasMultiCurrencyPrices; + use HasMultiCurrencyPrices; private array $testCurrencies; @@ -104,12 +104,12 @@ class HasMultiCurrencyPricesTest extends TestCase /** * 테스트용 공개 래퍼 */ - public function testBuildMultiCurrencyPrices(float|int $basePrice): array + public function exposeBuildMultiCurrencyPrices(float|int $basePrice): array { return $this->buildMultiCurrencyPrices($basePrice); } - public function testApplyRounding(float $price, string $unit, string $method): float + public function exposeApplyRounding(float $price, string $unit, string $method): float { return $this->applyRounding($price, $unit, $method); } @@ -123,7 +123,7 @@ class HasMultiCurrencyPricesTest extends TestCase public function price_값에_부동소수점_오차가_없어야_한다(): void { $instance = $this->createTraitInstance(); - $result = $instance->testBuildMultiCurrencyPrices(53000); + $result = $instance->exposeBuildMultiCurrencyPrices(53000); // USD: (53000/1000) * 0.85 = 45.05 (45.050000000000004가 아님) $this->assertSame(45.05, $result['USD']['price']); @@ -145,7 +145,7 @@ class HasMultiCurrencyPricesTest extends TestCase public function 기본통화는_원래_가격을_반환한다(): void { $instance = $this->createTraitInstance(); - $result = $instance->testBuildMultiCurrencyPrices(53000); + $result = $instance->exposeBuildMultiCurrencyPrices(53000); $this->assertTrue($result['KRW']['is_default']); $this->assertSame(53000, $result['KRW']['price']); @@ -158,7 +158,7 @@ class HasMultiCurrencyPricesTest extends TestCase public function decimal_places_0인_통화는_정수를_반환한다(): void { $instance = $this->createTraitInstance(); - $result = $instance->testBuildMultiCurrencyPrices(53500); + $result = $instance->exposeBuildMultiCurrencyPrices(53500); // JPY: (53500/1000) * 115 = 6152.5 → floor → 6152 $jpyPrice = $result['JPY']['price']; @@ -175,7 +175,7 @@ class HasMultiCurrencyPricesTest extends TestCase $instance = $this->createTraitInstance(); // 51500원 → EUR: (51500/1000) * 0.78 = 40.17 - $result = $instance->testBuildMultiCurrencyPrices(51500); + $result = $instance->exposeBuildMultiCurrencyPrices(51500); $this->assertSame(40.17, $result['EUR']['price']); } @@ -188,7 +188,7 @@ class HasMultiCurrencyPricesTest extends TestCase $instance = $this->createTraitInstance(); // 51000원 → CNY: (51000/1000) * 5.8 = 295.8 - $result = $instance->testBuildMultiCurrencyPrices(51000); + $result = $instance->exposeBuildMultiCurrencyPrices(51000); $this->assertSame(295.8, $result['CNY']['price']); } @@ -203,7 +203,7 @@ class HasMultiCurrencyPricesTest extends TestCase $testPrices = [10000, 25000, 53000, 57000, 99000, 150000]; foreach ($testPrices as $price) { - $result = $instance->testBuildMultiCurrencyPrices($price); + $result = $instance->exposeBuildMultiCurrencyPrices($price); foreach (['USD', 'JPY', 'CNY', 'EUR'] as $code) { $priceValue = $result[$code]['price']; @@ -226,12 +226,12 @@ class HasMultiCurrencyPricesTest extends TestCase * applyRounding 내부 함수의 부동소수점 문제 직접 검증 */ #[Test] - public function applyRounding_결과에_부동소수점_오차_확인(): void + public function apply_rounding_결과에_부동소수점_오차_확인(): void { $instance = $this->createTraitInstance(); // 4505 * 0.01 → 이전에는 45.050000000000004 발생 - $rounded = $instance->testApplyRounding(45.05, '0.01', 'round'); + $rounded = $instance->exposeApplyRounding(45.05, '0.01', 'round'); // applyRounding 자체는 여전히 부동소수점 오차가 있을 수 있지만 // buildMultiCurrencyPrices에서 round()로 제거됨 $this->assertEqualsWithDelta(45.05, $rounded, 0.0001); diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php index 8cc9b7ac..c842b746 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php @@ -220,6 +220,11 @@ class CashReceiptServiceTest extends ModuleTestCase $this->assertSame('receipt-1', $receipt->raw_response['receiptKey']); } + /** + * 금액 변동(감소) 시 전체취소 후 잔액으로 재발급하는지 확인 + * + * @effects amount_change_triggers_cancel_then_reissue + */ #[Test] public function sync_금액감소시_전체취소_후_전액_재발급한다(): void { diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CategoryImageServiceTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CategoryImageServiceTest.php index 440d2cb9..227c63ff 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CategoryImageServiceTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CategoryImageServiceTest.php @@ -6,32 +6,30 @@ use App\Contracts\Extension\StorageInterface; use App\Extension\HookManager; use App\Models\User; use Illuminate\Database\Eloquent\Collection as EloquentCollection; -use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Http\UploadedFile; use Illuminate\Support\Facades\Auth; use Mockery; +use Mockery\MockInterface; use Modules\Sirsoft\Ecommerce\Models\CategoryImage; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\CategoryImageRepositoryInterface; use Modules\Sirsoft\Ecommerce\Services\CategoryImageService; -use Symfony\Component\HttpFoundation\StreamedResponse; -use Tests\TestCase; +use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; use PHPUnit\Framework\Attributes\Test; +use Symfony\Component\HttpFoundation\StreamedResponse; /** * CategoryImageService 단위 테스트 * * StorageInterface 기반 이미지 업로드, 삭제 등을 테스트합니다. */ -class CategoryImageServiceTest extends TestCase +class CategoryImageServiceTest extends ModuleTestCase { - use RefreshDatabase; - private CategoryImageService $service; - /** @var \Mockery\MockInterface&CategoryImageRepositoryInterface */ + /** @var MockInterface&CategoryImageRepositoryInterface */ private $repository; - /** @var \Mockery\MockInterface&StorageInterface */ + /** @var MockInterface&StorageInterface */ private $storage; private User $user; @@ -63,7 +61,6 @@ class CategoryImageServiceTest extends TestCase parent::tearDown(); } - /** */ #[Test] public function test_upload_stores_image_and_creates_record(): void { @@ -127,7 +124,6 @@ class CategoryImageServiceTest extends TestCase $this->assertEquals(600, $result->height); } - /** */ #[Test] public function test_upload_with_temp_key_creates_temp_image(): void { @@ -179,7 +175,6 @@ class CategoryImageServiceTest extends TestCase $this->assertEquals($tempKey, $result->temp_key); } - /** */ #[Test] public function test_upload_with_alt_text(): void { @@ -213,7 +208,6 @@ class CategoryImageServiceTest extends TestCase $this->assertEquals($altText, $result->alt_text); } - /** */ #[Test] public function test_upload_fires_hooks(): void { @@ -259,7 +253,6 @@ class CategoryImageServiceTest extends TestCase HookManager::clearAction('sirsoft-ecommerce.category-image.after_upload'); } - /** */ #[Test] public function test_delete_removes_file_from_storage(): void { @@ -310,7 +303,6 @@ class CategoryImageServiceTest extends TestCase $this->assertTrue($result); } - /** */ #[Test] public function test_delete_fires_hooks(): void { @@ -347,9 +339,8 @@ class CategoryImageServiceTest extends TestCase HookManager::clearAction('sirsoft-ecommerce.category-image.after_delete'); } - /** */ #[Test] - public function test_linkTempImages_links_temp_files_to_category(): void + public function test_link_temp_images_links_temp_files_to_category(): void { // Arrange $tempKey = 'temp-uuid-456'; @@ -368,7 +359,6 @@ class CategoryImageServiceTest extends TestCase $this->assertEquals(3, $result); } - /** */ #[Test] public function test_reorder_updates_image_order(): void { @@ -392,7 +382,6 @@ class CategoryImageServiceTest extends TestCase $this->assertTrue($result); } - /** */ #[Test] public function test_reorder_fires_hooks(): void { @@ -521,7 +510,6 @@ class CategoryImageServiceTest extends TestCase $this->assertNull($result); } - /** */ #[Test] public function test_update_modifies_image_metadata(): void { @@ -549,7 +537,6 @@ class CategoryImageServiceTest extends TestCase $this->assertEquals($altText, $result->alt_text); } - /** */ #[Test] public function test_update_fires_hooks(): void { diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/EcommerceSettingsMileageTimingTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/EcommerceSettingsMileageTimingTest.php index 1ca95c77..c11469a1 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/EcommerceSettingsMileageTimingTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/EcommerceSettingsMileageTimingTest.php @@ -5,8 +5,8 @@ namespace Modules\Sirsoft\Ecommerce\Tests\Unit\Services; use App\Extension\HookManager; use Illuminate\Support\Facades\File; use Modules\Sirsoft\Ecommerce\Services\EcommerceSettingsService; +use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; use ReflectionClass; -use Tests\TestCase; /** * 결제수단별 마일리지 차감 시점 설정 테스트 (마일리지/MP06) @@ -14,7 +14,7 @@ use Tests\TestCase; * EcommerceSettingsService::getMileageDeductionTiming(string) 의 결제수단별 반환과 * 미설정 기본값(무통장=order_placed / 그 외=payment_complete)을 검증한다. */ -class EcommerceSettingsMileageTimingTest extends TestCase +class EcommerceSettingsMileageTimingTest extends ModuleTestCase { private EcommerceSettingsService $service; diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/EcommerceSettingsServiceCurrencyMergeTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/EcommerceSettingsServiceCurrencyMergeTest.php index e99ce1dd..217ffef8 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/EcommerceSettingsServiceCurrencyMergeTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/EcommerceSettingsServiceCurrencyMergeTest.php @@ -4,7 +4,7 @@ namespace Modules\Sirsoft\Ecommerce\Tests\Unit\Services; use Illuminate\Support\Facades\File; use Modules\Sirsoft\Ecommerce\Services\EcommerceSettingsService; -use Tests\TestCase; +use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; /** * 통화 환율 영속성 테스트 (U11-A) @@ -13,7 +13,7 @@ use Tests\TestCase; * 관리자가 일부 통화를 빼고 저장하면 defaults 통화가 영구 소실되던 영속성 공백을 검증한다. * getAllSettings() 의 code 기준 병합(mergeCurrenciesByCode)으로 누락 통화 보충(환율 저장본 우선). */ -class EcommerceSettingsServiceCurrencyMergeTest extends TestCase +class EcommerceSettingsServiceCurrencyMergeTest extends ModuleTestCase { private EcommerceSettingsService $service; diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/OrderCancellationServiceTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/OrderCancellationServiceTest.php index 7a62eb32..4683d5fc 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/OrderCancellationServiceTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/OrderCancellationServiceTest.php @@ -772,6 +772,73 @@ class OrderCancellationServiceTest extends ModuleTestCase $this->assertEquals(RefundStatusEnum::COMPLETED, $result->orderRefund->refund_status); } + /** + * B-3-1-a: PG 환불 훅이 OrderRefund 레코드를 6번째 인자로 전달하는지 검증 + * + * PG 리스너는 이 레코드의 id 로 멱등키(Idempotency-Key)를 조립한다. 네트워크 재시도로 + * 같은 취소가 두 번 도달해도 PG 가 중복 청구를 차단하려면 환불 시도마다 고유한 값이 필요하다. + * + * @effects refund_hook_passes_order_refund_record + */ + public function test_payment_refund_hook_passes_order_refund_record(): void + { + $received = null; + HookManager::addFilter( + 'sirsoft-ecommerce.payment.refund', + function ($default, $order, $payment, $refundAmount, $reason, $refund = null) use (&$received) { + $received = $refund; + + return ['success' => true, 'transaction_id' => 'TXN', 'error_code' => null, 'error_message' => null]; + } + ); + + $this->createShippingPolicy(); + [$pA, $oA] = $this->createProductWithOption(price: 20000); + + $input = new CalculationInput( + items: [new CalculationItem(productId: $pA->id, productOptionId: $oA->id, quantity: 1)], + ); + $order = $this->createOrderFromCalculation($input); + + $result = $this->cancellationService->cancelOrder(order: $order, cancelPg: true); + + $this->assertInstanceOf(OrderRefund::class, $received, 'PG 환불 훅은 OrderRefund 레코드를 전달해야 합니다'); + $this->assertSame($result->orderRefund->id, $received->id, '전달된 환불 레코드는 이번 환불 시도의 것이어야 합니다'); + } + + /** + * B-3-1-b: 인자를 5개만 선언한 기존(레거시) 리스너가 계속 동작하는지 검증 + * + * OrderRefund 인자 추가는 하위호환이어야 한다 — 초과 인자는 무시되고 예외가 나지 않는다. + * + * @effects refund_hook_backward_compatible_with_five_arg_listener + */ + public function test_payment_refund_hook_is_backward_compatible_with_five_arg_listener(): void + { + $hookCalled = false; + HookManager::addFilter( + 'sirsoft-ecommerce.payment.refund', + function ($default, $order, $payment, $refundAmount, $reason) use (&$hookCalled) { + $hookCalled = true; + + return ['success' => true, 'transaction_id' => 'TXN', 'error_code' => null, 'error_message' => null]; + } + ); + + $this->createShippingPolicy(); + [$pA, $oA] = $this->createProductWithOption(price: 20000); + + $input = new CalculationInput( + items: [new CalculationItem(productId: $pA->id, productOptionId: $oA->id, quantity: 1)], + ); + $order = $this->createOrderFromCalculation($input); + + $result = $this->cancellationService->cancelOrder(order: $order, cancelPg: true); + + $this->assertTrue($hookCalled, '5-파라미터 리스너도 호출되어야 합니다'); + $this->assertEquals(RefundStatusEnum::COMPLETED, $result->orderRefund->refund_status); + } + /** * B-3-2: PG 환불 실패 시 전체 트랜잭션이 롤백되는지 검증 */ diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/ProductImageServiceTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/ProductImageServiceTest.php index a93388bb..080f86d7 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/ProductImageServiceTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/ProductImageServiceTest.php @@ -6,7 +6,6 @@ use App\Contracts\Extension\StorageInterface; use App\Extension\HookManager; use App\Models\User; use Illuminate\Database\Eloquent\Collection as EloquentCollection; -use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Http\UploadedFile; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Queue; @@ -18,18 +17,16 @@ use Modules\Sirsoft\Ecommerce\Models\ProductImage; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\ProductImageRepositoryInterface; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\ProductRepositoryInterface; use Modules\Sirsoft\Ecommerce\Services\ProductImageService; +use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; use PHPUnit\Framework\Attributes\Test; -use Tests\TestCase; /** * ProductImageService 단위 테스트 * * StorageInterface 기반 상품 이미지 업로드, 삭제, 순서변경, 임시연결 등을 테스트합니다. */ -class ProductImageServiceTest extends TestCase +class ProductImageServiceTest extends ModuleTestCase { - use RefreshDatabase; - private ProductImageService $service; /** @var MockInterface&ProductImageRepositoryInterface */ diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/SearchPresetServiceTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/SearchPresetServiceTest.php index 4f866683..80850644 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/SearchPresetServiceTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/SearchPresetServiceTest.php @@ -5,25 +5,23 @@ namespace Modules\Sirsoft\Ecommerce\Tests\Unit\Services; use App\Extension\HookManager; use App\Models\User; use Illuminate\Database\Eloquent\Collection as EloquentCollection; -use Illuminate\Foundation\Testing\RefreshDatabase; use Mockery; +use Mockery\MockInterface; use Modules\Sirsoft\Ecommerce\Exceptions\UnauthorizedPresetAccessException; use Modules\Sirsoft\Ecommerce\Models\SearchPreset; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\SearchPresetRepositoryInterface; use Modules\Sirsoft\Ecommerce\Services\SearchPresetService; -use Tests\TestCase; +use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; use PHPUnit\Framework\Attributes\Test; /** * SearchPresetService 단위 테스트 */ -class SearchPresetServiceTest extends TestCase +class SearchPresetServiceTest extends ModuleTestCase { - use RefreshDatabase; - private SearchPresetService $service; - /** @var \Mockery\MockInterface&SearchPresetRepositoryInterface */ + /** @var MockInterface&SearchPresetRepositoryInterface */ private $repository; private User $user; @@ -54,9 +52,8 @@ class SearchPresetServiceTest extends TestCase parent::tearDown(); } - /** */ #[Test] - public function test_getPresets_returns_user_presets(): void + public function test_get_presets_returns_user_presets(): void { // Arrange $this->actingAs($this->user); @@ -80,7 +77,6 @@ class SearchPresetServiceTest extends TestCase $this->assertCount(2, $result); } - /** */ #[Test] public function test_create_creates_preset_with_correct_data(): void { @@ -116,7 +112,6 @@ class SearchPresetServiceTest extends TestCase $this->assertEquals($name, $result->preset_name); } - /** */ #[Test] public function test_create_fires_hooks(): void { @@ -167,7 +162,6 @@ class SearchPresetServiceTest extends TestCase HookManager::clearAction('sirsoft-ecommerce.preset.after_create'); } - /** */ #[Test] public function test_update_updates_preset(): void { @@ -203,7 +197,6 @@ class SearchPresetServiceTest extends TestCase $this->assertEquals('New Name', $result->preset_name); } - /** */ #[Test] public function test_update_fires_hooks(): void { @@ -254,7 +247,6 @@ class SearchPresetServiceTest extends TestCase HookManager::clearAction('sirsoft-ecommerce.preset.after_update'); } - /** */ #[Test] public function test_update_throws_exception_for_other_user_preset(): void { @@ -277,7 +269,6 @@ class SearchPresetServiceTest extends TestCase $this->service->update($preset, ['name' => 'Hacked']); } - /** */ #[Test] public function test_delete_deletes_preset(): void { @@ -305,7 +296,6 @@ class SearchPresetServiceTest extends TestCase $this->assertTrue($result); } - /** */ #[Test] public function test_delete_fires_hooks(): void { @@ -347,7 +337,6 @@ class SearchPresetServiceTest extends TestCase HookManager::clearAction('sirsoft-ecommerce.preset.after_delete'); } - /** */ #[Test] public function test_delete_throws_exception_for_other_user_preset(): void { diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/SequenceServiceTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/SequenceServiceTest.php index 61899c75..688e1eb7 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/SequenceServiceTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/SequenceServiceTest.php @@ -3,8 +3,8 @@ namespace Modules\Sirsoft\Ecommerce\Tests\Unit\Services; use Illuminate\Database\QueryException; -use Illuminate\Foundation\Testing\RefreshDatabase; use Mockery; +use Mockery\MockInterface; use Modules\Sirsoft\Ecommerce\Enums\SequenceAlgorithm; use Modules\Sirsoft\Ecommerce\Enums\SequenceType; use Modules\Sirsoft\Ecommerce\Exceptions\SequenceCodeDuplicateException; @@ -13,20 +13,18 @@ use Modules\Sirsoft\Ecommerce\Exceptions\SequenceOverflowException; use Modules\Sirsoft\Ecommerce\Models\Sequence; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\SequenceRepositoryInterface; use Modules\Sirsoft\Ecommerce\Services\SequenceService; +use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; use PDOException; use PHPUnit\Framework\Attributes\Test; -use Tests\TestCase; /** * SequenceService 단위 테스트 */ -class SequenceServiceTest extends TestCase +class SequenceServiceTest extends ModuleTestCase { - use RefreshDatabase; - private SequenceService $service; - /** @var \Mockery\MockInterface&SequenceRepositoryInterface */ + /** @var MockInterface&SequenceRepositoryInterface */ private $repository; protected function setUp(): void diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Upgrades/Upgrade_0_7_0_Test.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Upgrades/Upgrade_0_7_0_Test.php index c406ea06..b834b4d7 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Upgrades/Upgrade_0_7_0_Test.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Upgrades/Upgrade_0_7_0_Test.php @@ -7,16 +7,16 @@ use App\Extension\Helpers\SettingsMigrator; use App\Extension\UpgradeContext; use App\Services\ModuleSettingsService; use Illuminate\Support\Facades\Log; +use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; use Modules\Sirsoft\Ecommerce\Upgrades\Upgrade_0_7_0; use Psr\Log\LoggerInterface; -use Tests\TestCase; /** * v0.7.0 업그레이드 스텝 테스트 * * SEO 설정 코어 이관에 따른 User Agent 마이그레이션 및 비이커머스 설정 제거를 검증합니다. */ -class Upgrade_0_7_0_Test extends TestCase +class Upgrade_0_7_0_Test extends ModuleTestCase { private Upgrade_0_7_0 $upgradeStep; diff --git a/plugins/_bundled/sirsoft-pay_kginicis/CHANGELOG.md b/plugins/_bundled/sirsoft-pay_kginicis/CHANGELOG.md index 5b8d22d1..81201e91 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/CHANGELOG.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/CHANGELOG.md @@ -4,10 +4,25 @@ 형식은 [Keep a Changelog](https://keepachangelog.com/ko/1.1.0/)를 따르며, [Semantic Versioning](https://semver.org/lang/ko/)을 준수합니다. -## [1.0.2] - 2026-07-22 +## [1.1.0] - 2026-08-06 + +### Added + +- 현금영수증을 발급사로 등록할 수 있습니다. 결제는 다른 PG로 받으면서 현금영수증만 KG이니시스로 발급하는 구성이 가능합니다. +- 현금영수증 발행취소를 지원합니다. 부분환불 등으로 주문 금액이 바뀌면 기존 영수증을 취소하고 새 금액으로 다시 발급합니다. + +### Changed + +- 현금영수증 발행이 관리자 주문상세의 공용 현금영수증 카드로 통합되었습니다. 발급 이력, 재발급, 발급 실패 안내를 한 곳에서 확인할 수 있습니다. +- 이커머스 모듈 최소 버전을 1.1.0으로 상향했습니다. + +### Removed + +- KG이니시스 전용 현금영수증 발행 화면과 API를 제거했습니다. 공용 현금영수증 기능으로 대체됩니다. ### Fixed +- 일본 편의점결제(CVS) 관련 안내 메시지가 번역되지 않고 내부 코드 그대로 표시되던 문제를 수정했습니다. 주문을 찾을 수 없거나 입금 통보 테스트·입금기한 만료 처리를 할 때 정상적인 한국어(영어) 안내가 표시됩니다. - 이 플러그인이 설치된 사이트에서 관리자 주문 목록의 '일부취소' 표시와 적립예정 포인트·마일리지 사용 금액, 주문상품의 추가옵션 요약이 보이지 않던 문제를 수정했습니다. 결제 정보 칸에 테스트결제 표시를 덧붙이는 과정에서 목록 표 구성 전체를 옛 버전으로 되돌려 놓고 있었습니다. - 관리자 결제수단 설정에서 가상계좌·계좌이체·휴대폰결제에 PG사를 지정할 수 없던 문제를 수정했습니다. 해당 결제수단의 PG사 목록이 항상 비어 있어 기본 PG사만 사용할 수 있었고, 결제수단별로 다른 PG사를 지정하는 설정이 화면에서 불가능했습니다. - 카드결제를 거치지 않은 주문(무통장입금 등)의 완료 화면에서도 영수증 조회를 시도해 불필요한 요청이 나가던 문제를 수정했습니다. 화면에는 영향이 없었으나 이제 카드결제 주문에서만 조회합니다. (#81 @jiwonpapa 님께서 제보해주셨습니다.) diff --git a/plugins/_bundled/sirsoft-pay_kginicis/README.md b/plugins/_bundled/sirsoft-pay_kginicis/README.md index e0773611..efe9a60c 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/README.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/README.md @@ -15,7 +15,8 @@ PC 결제는 KG 이니시스 `INIStdPay.js` 표준결제창을 사용하고, 모 - 결제 취소 및 부분취소 연동 - PG 측 결제 취소 확인 시점의 활동 로그 별도 기록 (PG 응답 시각·취소 TID 사후 추적) - 주문 완료/마이페이지 영수증 버튼 주입 -- 관리자 주문 상세의 거래 조회, 현금영수증 발행, 에스크로 처리 UI 확장 +- 관리자 주문 상세의 거래 조회, 에스크로 처리 UI 확장 +- 현금영수증 발급/취소 (이커머스 모듈의 공용 현금영수증 프로바이더로 등록 — PG 결제사와 독립 선택 가능) - 일본 결제 CBT(JPPG) 인증/승인, 테스트 상품 생성, 연결 진단 - 승인 URL 화이트리스트, 콜백 재처리 방지, 타임스탬프 신선도 검증 @@ -213,7 +214,6 @@ CBT 승인 이후 로컬 후속 처리에 실패하면 CBT 전용 취소 API로 | `GET` | `/api/plugins/sirsoft-pay_kginicis/admin/orders/test-mode-map` | 주문목록 테스트 모드 배지용 맵 조회 | | `POST` | `/api/plugins/sirsoft-pay_kginicis/admin/transaction/query` | TID로 KG 이니시스 거래 조회 | | `GET` | `/api/plugins/sirsoft-pay_kginicis/admin/orders/{orderNumber}/transaction-status` | 주문번호로 거래 상태 조회 | -| `POST` | `/api/plugins/sirsoft-pay_kginicis/admin/orders/{orderNumber}/cash-receipt` | 현금영수증 별도 발행 | | `GET` | `/api/plugins/sirsoft-pay_kginicis/admin/orders/{orderNumber}/escrow-delivery` | 에스크로 배송 등록 폼 데이터 조회 | | `POST` | `/api/plugins/sirsoft-pay_kginicis/admin/orders/{orderNumber}/escrow-delivery` | KG 이니시스 에스크로 배송 등록 | | `POST` | `/api/plugins/sirsoft-pay_kginicis/admin/orders/{orderNumber}/escrow-deny-confirm` | 에스크로 구매거절확인 | diff --git a/plugins/_bundled/sirsoft-pay_kginicis/composer.json b/plugins/_bundled/sirsoft-pay_kginicis/composer.json index 6e1ba089..950d55fb 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/composer.json +++ b/plugins/_bundled/sirsoft-pay_kginicis/composer.json @@ -1,7 +1,7 @@ { "name": "plugins/sirsoft-pay_kginicis", "description": "KG Inicis PG Plugin for G7 platform", - "version": "1.0.2", + "version": "1.1.0", "type": "library", "authors": [ { diff --git a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/README.md b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/README.md index 067f7063..9906e5ab 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/README.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/README.md @@ -4,13 +4,13 @@ > 아래 표는 자동 생성됩니다. 각 문서를 열면 엔드포인트별 파라미터·응답·예시를 볼 수 있습니다. -- **문서 수**: 5 · **엔드포인트 수**: 22 +- **문서 수**: 5 · **엔드포인트 수**: 34 | 문서 | 도메인 | 엔드포인트 | | --- | --- | --- | | [cbt.md](cbt.md) | `cbt` | 2 | -| [orders.md](orders.md) | `orders` | 13 | -| [payment.md](payment.md) | `payment` | 5 | +| [orders.md](orders.md) | `orders` | 12 | +| [payment.md](payment.md) | `payment` | 18 | | [transaction.md](transaction.md) | `transaction` | 1 | | [vbank.md](vbank.md) | `vbank` | 1 | diff --git a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/cbt.md b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/cbt.md index 7d1e5d9a..c423ee0b 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/cbt.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/cbt.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Cbt 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(curl) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -42,10 +42,10 @@ _단건 응답: `data` 객체의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | -| egress_ip | string | `118.235.10.131` | 서버가 외부 통신 시 사용하는 egress IP. KG 이니시스 측에 DEVCBT 접근용 IP 화이트리스트 등록을 요청할 때 알려줄 IP이며, 외부 echo 서비스(ipify 등)를 순차 조회해 얻는다(모두 실패 시 null). | +| egress_ip | string | `210.90.128.2` | 서버가 외부 통신 시 사용하는 egress IP. KG 이니시스 측에 DEVCBT 접근용 IP 화이트리스트 등록을 요청할 때 알려줄 IP이며, 외부 echo 서비스(ipify 등)를 순차 조회해 얻는다(모두 실패 시 null). | | server_ip | string | `127.0.0.1` | `$_SERVER['SERVER_ADDR']` 로 읽은 서버 내부 IP. egress IP와 대조해 NAT/프록시 여부를 가늠하는 참고값이다. | | hosts | array | `[{"name":"devcbt.inicis.com","env":"test","dns_resolved_i…` | 진단 대상 호스트별 결과 배열. 각 항목은 호스트명(`devcbt.inicis.com`), 환경(`test`), DNS 해석 IP(`dns_resolved_ip`), TCP 443 도달 여부(`tcp_443_reachable`)와 에러·응답지연(`tcp_443_error`, `tcp_443_latency_ms`)을 담는다. 운영계(`cbt.inicis.com`)는 화이트리스트 제약이 없어 제외된다. | -| callback | object | `{"app_url":"https:\/\/test.example.com","callback_url":"h…` | 결제 콜백 URL 진단 정보. 앱 URL·콜백 URL과 각각의 HTTPS 여부(`app_url_https`, `callback_url_https`)·공인 호스트 여부(`app_url_public`, `callback_url_public`), 그리고 콜백 호스트가 앱 URL 호스트와 일치하는지(`host_matches_app_url`)를 담아 CBT 콜백 수신 가능 여부를 점검한다. | +| callback | object | `{"app_url":"https:\/\/g7.dev","callback_url":"https:\/\/g…` | 결제 콜백 URL 진단 정보. 앱 URL·콜백 URL과 각각의 HTTPS 여부(`app_url_https`, `callback_url_https`)·공인 호스트 여부(`app_url_public`, `callback_url_public`), 그리고 콜백 호스트가 앱 URL 호스트와 일치하는지(`host_matches_app_url`)를 담아 CBT 콜백 수신 가능 여부를 점검한다. | **응답 예시** @@ -122,10 +122,10 @@ _단건 응답: `data` 객체의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | -| product_id | integer | `4` | product 식별자 (연관 리소스 참조) | -| product_code | string | `CBT-TEST-20260708063238` | 생성된 테스트 상품의 상품코드. `CBT-TEST-` 접두사에 생성 시각(YmdHis)을 붙여 자동 부여되며, SKU는 여기에 `KGINICIS-` 접두사를 더해 만들어진다. | -| admin_url | string | `/admin/ecommerce/products/4/edit` | admin URL | -| shop_url | string | `/shop/products/4?locale=ja` | shop URL | +| product_id | integer | `114` | product 식별자 (연관 리소스 참조) | +| product_code | string | `CBT-TEST-20260712085816` | 생성된 테스트 상품의 상품코드. `CBT-TEST-` 접두사에 생성 시각(YmdHis)을 붙여 자동 부여되며, SKU는 여기에 `KGINICIS-` 접두사를 더해 만들어진다. | +| admin_url | string | `/admin/ecommerce/products/114/edit` | admin URL | +| shop_url | string | `/shop/products/114?locale=ja` | shop URL | **응답 예시** diff --git a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/orders.md b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/orders.md index e6bb1bf6..b92792bb 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/orders.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/orders.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Orders 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(curl) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -75,49 +75,6 @@ HTTP/1.1 200 `AdminOrderListController@testModeMap` 가 최근 6개월 이내 `pg_provider = kginicis` 결제 주문을 조회해 그중 테스트 모드 결제만 `{ "주문번호": true, ... }` 맵으로 반환한다. 테스트 판별은 `payment_meta.is_test_mode === true` → `pg_raw_response.mid` 가 KG 이니시스 Live MID 접두사(`SIR`)가 아님 → `transaction_id` 에 `Test` 포함 순으로 이루어진다. 어드민 주문 목록에서 결제수단 셀 하단에 "(테스트 결제)" 배지를 붙이는 용도이며, 응답 필드 키가 곧 주문번호이므로 특정 주문이 맵에 존재하면 테스트 결제로 간주하면 된다. `sirsoft-ecommerce.orders.read` 권한이 필요하고, 파라미터 없이 전체 맵을 한 번에 조회한다. -### POST /api/plugins/sirsoft-pay_kginicis/admin/orders/{orderNumber}/cash-receipt - -- **라우트명**: `api.plugins.sirsoft-pay_kginicis.admin.orders.cash-receipt.issue` -- **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\AdminCashReceiptController@issue` -- **인증/권한**: `auth:sanctum` + `permission:sirsoft-ecommerce.orders.update` - -**요청 파라미터** - -| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | -| --- | --- | --- | --- | --- | --- | -| orderNumber | path | string | 예 | — | 대상 order number의 식별자 | - -**요청 예시** - -```http -POST /api/plugins/sirsoft-pay_kginicis/admin/orders/APIDOC-KGINICIS-000001/cash-receipt HTTP/1.1 -Host: api.example.com -Accept: application/json -Authorization: Bearer {YOUR_TOKEN} -``` - -**응답 필드** (`data` 내부) - - - -**응답 예시** - - - -**에러 응답** - -| 상태코드 | 의미 | 발생 조건 | -| --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | - - - -**설명** -`AdminCashReceiptController@issue` 가 이미 승인 완료된 KG 이니시스 결제 건에 대해 현금영수증을 별도 발행한다. 요청의 `issue_type`(`0`=소득공제, `1`=지출증빙)과 `issue_number`(휴대폰/사업자번호 등 식별번호)를 검증한 뒤, `paid_amount_local` 기준 금액과 부가세(저장값 우선, 없으면 총액의 10/110)를 계산해 `KgInicisApiService::issueCashReceipt` 로 발행 요청을 보낸다. 발행 성공 시 `is_cash_receipt_issued`, `cash_receipt_type`, 마스킹된 식별번호(`cash_receipt_identifier`, 끝 4자리만 노출)를 저장하며, 식별번호 원문은 저장하지 않는다. `sirsoft-ecommerce.orders.update` 권한이 필요하고, 검증 실패 422 / 주문 미존재 404 / 이미 발행됨 409 / PG 발행 실패(resultCode≠`00`) 502 / 예외 500 으로 상태코드가 매핑된다. - - ### GET /api/plugins/sirsoft-pay_kginicis/admin/orders/{orderNumber}/cbt-cvs - **라우트명**: `api.plugins.sirsoft-pay_kginicis.admin.orders.cbt-cvs.show` @@ -133,7 +90,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -GET /api/plugins/sirsoft-pay_kginicis/admin/orders/APIDOC-KGINICIS-000001/cbt-cvs HTTP/1.1 +GET /api/plugins/sirsoft-pay_kginicis/admin/orders/{orderNumber}/cbt-cvs HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -246,7 +203,7 @@ HTTP/1.1 200 **요청 예시** ```http -POST /api/plugins/sirsoft-pay_kginicis/admin/orders/APIDOC-KGINICIS-000001/cbt-cvs/expire HTTP/1.1 +POST /api/plugins/sirsoft-pay_kginicis/admin/orders/{orderNumber}/cbt-cvs/expire HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -254,11 +211,11 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -289,7 +246,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -POST /api/plugins/sirsoft-pay_kginicis/admin/orders/APIDOC-KGINICIS-000001/cbt-cvs/recheck HTTP/1.1 +POST /api/plugins/sirsoft-pay_kginicis/admin/orders/{orderNumber}/cbt-cvs/recheck HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -402,7 +359,7 @@ HTTP/1.1 200 **요청 예시** ```http -POST /api/plugins/sirsoft-pay_kginicis/admin/orders/APIDOC-KGINICIS-000001/cbt-cvs/simulate-notify HTTP/1.1 +POST /api/plugins/sirsoft-pay_kginicis/admin/orders/{orderNumber}/cbt-cvs/simulate-notify HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -410,11 +367,11 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -445,7 +402,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -GET /api/plugins/sirsoft-pay_kginicis/admin/orders/APIDOC-KGINICIS-000001/cbt-reconciliation HTTP/1.1 +GET /api/plugins/sirsoft-pay_kginicis/admin/orders/{orderNumber}/cbt-reconciliation HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -453,9 +410,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - - - + **응답 예시** @@ -500,7 +455,7 @@ HTTP/1.1 200 **요청 예시** ```http -POST /api/plugins/sirsoft-pay_kginicis/admin/orders/APIDOC-KGINICIS-000001/cbt-reconciliation/refund-retry HTTP/1.1 +POST /api/plugins/sirsoft-pay_kginicis/admin/orders/{orderNumber}/cbt-reconciliation/refund-retry HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -508,11 +463,11 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -543,7 +498,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -GET /api/plugins/sirsoft-pay_kginicis/admin/orders/APIDOC-KGINICIS-000001/escrow-delivery HTTP/1.1 +GET /api/plugins/sirsoft-pay_kginicis/admin/orders/{orderNumber}/escrow-delivery HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -636,7 +591,7 @@ HTTP/1.1 200 **요청 예시** ```http -POST /api/plugins/sirsoft-pay_kginicis/admin/orders/APIDOC-KGINICIS-000001/escrow-delivery HTTP/1.1 +POST /api/plugins/sirsoft-pay_kginicis/admin/orders/{orderNumber}/escrow-delivery HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -644,11 +599,11 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -679,7 +634,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -POST /api/plugins/sirsoft-pay_kginicis/admin/orders/APIDOC-KGINICIS-000001/escrow-deny-confirm HTTP/1.1 +POST /api/plugins/sirsoft-pay_kginicis/admin/orders/{orderNumber}/escrow-deny-confirm HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -687,11 +642,11 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -722,7 +677,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -GET /api/plugins/sirsoft-pay_kginicis/admin/orders/APIDOC-KGINICIS-000001/transaction-status HTTP/1.1 +GET /api/plugins/sirsoft-pay_kginicis/admin/orders/{orderNumber}/transaction-status HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -881,7 +836,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/plugins/sirsoft-pay_kginicis/user/orders/APIDOC-KGINICIS-000001/receipt HTTP/1.1 +GET /api/plugins/sirsoft-pay_kginicis/user/orders/{orderNumber}/receipt HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -889,9 +844,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - - - + **응답 예시** diff --git a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/payment.md b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/payment.md index aa3a24f5..333b6647 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/payment.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/payment.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Payment 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(curl) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -37,7 +37,7 @@ Accept: application/json **응답 필드** (`data` 내부) - + **응답 예시** @@ -45,7 +45,12 @@ Accept: application/json **에러 응답** -_대표 에러 없음 (공개 조회). _ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 403 | Forbidden | 요청의 구매자 정보(`buyer_email` / `buyer_phone`)가 주문의 구매자와 일치하지 않는 경우 | +| 404 | Not Found | `oid` 에 해당하는 주문이 없는 경우 | +| 422 | Unprocessable Entity | `oid` / `price` 누락, 일본 CBT 결제 비활성화·미설정, 주문이 결제 가능 상태가 아님, 주문 통화가 JPY 가 아님, 금액이 주문 청구액과 불일치 | +| 429 | Too Many Requests | 동일 IP·`oid` 조합에서 분당 10회를 초과해 요청한 경우 | @@ -74,7 +79,7 @@ Accept: application/json **응답 필드** (`data` 내부) - + **응답 예시** @@ -82,7 +87,12 @@ Accept: application/json **에러 응답** -_대표 에러 없음 (공개 조회). _ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 403 | Forbidden | 구매자 정보가 주문과 불일치하거나, checkout-token 검증에 실패한 경우(토큰 위조·컨텍스트 불일치) | +| 404 | Not Found | `oid` 에 해당하는 주문이 없는 경우 | +| 422 | Unprocessable Entity | `oid` / `price` / `timestamp` 누락, 타임스탬프 만료·형식 오류(재생 공격 방지), 일본 CBT 결제 비활성화·미설정, 주문이 결제 가능 상태가 아님, 주문 통화가 JPY 가 아님, 금액이 주문 청구액과 불일치 | +| 429 | Too Many Requests | 동일 IP·`oid` 조합에서 분당 10회를 초과해 요청한 경우 | @@ -128,7 +138,7 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** @@ -182,7 +192,7 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** @@ -236,7 +246,7 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** @@ -255,3 +265,760 @@ Content-Type: application/json PC 표준결제창(KRW)이 요구하는 서명(signature)·검증값(verification)·mKey 를 생성해 반환하는, PC 결제 흐름의 시작점입니다. `KgInicisApiService` 의 `generateSignature()`·`generateVerification()`·`getMKey()` 를 호출해 주문번호·금액·타임스탬프로 만든 서명 세트를 내려주며, 프론트엔드는 이 값으로 KG 이니시스 표준결제창을 호출합니다. 인증은 불필요하나(결제창에서 직접 호출) FormRequest 검증, 재생 공격 방지용 타임스탬프 신선도 확인, `oid` 기준 IP별 분당 20회 레이트리밋, 주문 존재·결제 가능 상태·통화 KRW·구매자 일치·금액 일치 검증과 표준결제 자격증명 설정 여부를 확인합니다. 파라미터 검증 실패·타임스탬프 만료·통화/금액 불일치·자격증명 미설정은 422, 레이트리밋 초과 429, 주문 미존재 404, 구매자 검증 실패 403 으로 응답합니다. +### POST /plugins/sirsoft-pay_kginicis/payment/callback + +- **라우트명**: `web.plugins.sirsoft-pay_kginicis.payment.callback` +- **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\PaymentCallbackController@authCallback` +- **인증/권한**: 공개 (인증 불필요) + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| resultCode | body | string | 예 | — | 결제 인증 결과 코드 (`0000` = 성공). `2001`/`0021`/`0022`/빈값은 사용자 취소로 간주해 에러 없이 체크아웃으로 복귀한다. | +| resultMsg | body | string | 아니오 | — | 결제 인증 결과 메시지. 실패 시 실패 URL 의 `message` 파라미터로 전달되며 '취소'/'사용자' 포함 여부로 사용자 취소를 판별한다. | +| authToken | body | string | 아니오 | — | 결제 인증 토큰. 서버 승인 API(`authUrl`) 호출과 승인 취소(net cancel) 호출에 사용된다. | +| authUrl | body | string | 아니오 | — | 서버 승인 API 요청 URL. `idc_name` 과 함께 화이트리스트 검증(SSRF 방어)을 통과해야 호출된다. | +| checkAckUrl | body | string | 아니오 | — | `authUrl` 과 동일 역할의 승인 URL (KG 이니시스 버전에 따라 이 키로 전달됨). `authUrl` 미제공 시 대체로 사용한다. | +| netCancelUrl | body | string | 아니오 | — | 망취소(net cancel) 요청 URL. 실제 호출에는 `idc_name` 으로 재해석한 서버 화이트리스트 URL 을 사용한다. | +| idc_name | body | string | 아니오 | — | KG 이니시스 IDC 센터 코드(fc/ks/stg). 승인/망취소 URL 화이트리스트 검증의 기준값. | +| MOID | body | string | 아니오 | — | 주문번호 (구버전 필드명). 주문 조회 키로 사용되며 `orderNumber` 보다 우선한다. | +| orderNumber | body | string | 아니오 | — | 주문번호 (신버전 필드명). `MOID` 가 없을 때 주문 조회 키로 사용된다. | +| TotPrice | body | integer | 아니오 | min 0 | 결제 총액. 콜백에 없으면 서버 승인 응답의 `TotPrice` 로 보완해 결제 완료 처리에 사용한다. | + +**요청 예시** + +```http +POST /plugins/sirsoft-pay_kginicis/payment/callback HTTP/1.1 +Host: api.example.com +Accept: application/json +Content-Type: application/json + +{ + "resultCode": "예시값", + "resultMsg": "예시값", + "authToken": "{YOUR_TOKEN}", + "authUrl": "https://example.com", + "checkAckUrl": "https://example.com", + "netCancelUrl": "https://example.com", + "idc_name": "예시 이름", + "MOID": "예시값", + "orderNumber": "예시값", + "TotPrice": 1 +} +``` + +**응답 필드** (`data` 내부) + + + +**응답 예시** + + + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | + + + +**설명** + +PC 표준결제창(KRW)의 인증 결과를 브라우저 POST 로 수신해 서버 승인(2단계)까지 마무리하는 콜백입니다. KG 이니시스 표준결제는 결제창 인증(1단계)과 서버 승인(2단계)이 분리되어 있어, 이 엔드포인트가 콜백으로 받은 `authToken` 을 `authUrl` 로 재전송해 최종 승인을 얻은 뒤 주문을 결제완료 처리하고 결과 페이지로 리다이렉트합니다. 응답은 항상 JSON 이 아니라 리다이렉트(302)이며, 성공 시 결제완료 URL, 실패 시 체크아웃 URL 에 `error`·`message`·`orderId` 쿼리를 붙여 보냅니다. + +주의사항: (1) `authUrl`·`netCancelUrl` 은 콜백으로 들어온 값을 그대로 신뢰하지 않고 `idc_name` 기준 화이트리스트로 검증해 SSRF 를 차단하며, 검증 실패 시 `error=auth_url_invalid` 로 되돌립니다. (2) 승인 응답의 결제수단이 가상계좌(`VBank`)면 결제완료 처리를 하지 않고 계좌 정보만 저장해 입금대기 상태로 두며, 실제 완료는 입금통보(vbank-notify) 시점에 이뤄집니다. (3) 같은 거래번호가 이미 결제완료인 경우 재처리하지 않고 성공 페이지로 복귀합니다(재전송 방어). (4) 승인 후 금액 불일치나 예외가 발생하면 즉시 망취소(net cancel)를 보내 PG 측 승인 잔존을 해제합니다. (5) 사용자가 결제창을 닫은 취소(`2001`/`0021`/`0022`/빈값, 또는 메시지에 '취소'·'사용자' 포함)는 실패가 아니므로 에러 쿼리 없이 체크아웃으로 조용히 복귀합니다. + +예시 시나리오: 구매자가 PC 결제창에서 카드 결제를 승인 → KG 이니시스가 이 콜백으로 `resultCode=0000` + `authToken` + `authUrl` 전송 → 서버가 승인 API 호출 후 주문 결제완료 → `/shop/orders/{orderId}/complete` 로 리다이렉트. + + +### GET /plugins/sirsoft-pay_kginicis/payment/cbt/callback + +- **라우트명**: `web.plugins.sirsoft-pay_kginicis.payment.cbt.callback` +- **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\CbtCallbackController@handle` +- **인증/권한**: 공개 (인증 불필요) + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| sid | query | string | 아니오 | max 255 | CBT 인증 세션 ID. 서버가 `/cbtapprove` 최종 승인 요청에 MID 와 함께 전송하는 승인 키이며, 결제 메타에 `cbt_sid` 로 저장된다. | +| resultCode | query | string | 아니오 | max 100 | CBT 인증 결과 코드 (`OK`/`00`/`0000` = 성공). `2001`/`0021`/`0022` 또는 취소 문구 포함 시 사용자 취소로 간주한다. | +| resultMsg | query | string | 아니오 | max 500 | CBT 인증 결과 메시지. 사용자 취소 판별(일본어/한국어 취소 문구)과 실패 리다이렉트 메시지에 사용된다. | +| orderID | query | string | 아니오 | max 100 | 주문번호 (1순위 키). `orderId` → `oid` 순으로 폴백해 주문을 조회한다. | +| orderId | query | string | 아니오 | max 100 | 주문번호 (2순위 폴백 키). | +| oid | query | string | 아니오 | max 100 | 주문번호 (3순위 폴백 키). | +| mid | query | string | 아니오 | max 30 | 일본 CBT 가맹점 MID. 설정된 일본 MID 와 불일치하면 결제를 중단한다(위조 콜백 차단). | +| paymethod | query | string | 아니오 | max 50 | CBT 결제수단 (CARD / PAYPAY / CVS). 승인 응답의 결제수단과 대조하며, CVS 는 편의점 입금대기 처리로 분기한다. | +| selectedPaymentMethod | query | string | 아니오 | max 50 | 체크아웃에서 사용자가 선택한 결제수단 식별값(`card` / `kginicis_japan_paypay` / `kginicis_japan_cvs`). 기대 결제수단 검증과 결제 메타 기록에 사용된다. | + +**요청 예시** + +```http +GET /plugins/sirsoft-pay_kginicis/payment/cbt/callback?sid=%EC%98%88%EC%8B%9C%EA%B0%92&resultCode=%EC%98%88%EC%8B%9C%EA%B0%92&resultMsg=%EC%98%88%EC%8B%9C%EA%B0%92&orderID=%EC%98%88%EC%8B%9C%EA%B0%92&orderId=%EC%98%88%EC%8B%9C%EA%B0%92&oid=%EC%98%88%EC%8B%9C%EA%B0%92&mid=%EC%98%88%EC%8B%9C%EA%B0%92&paymethod=%EC%98%88%EC%8B%9C%EA%B0%92&selectedPaymentMethod=%EC%98%88%EC%8B%9C%EA%B0%92 HTTP/1.1 +Host: api.example.com +Accept: application/json +``` + +**응답 필드** (`data` 내부) + + + +**응답 예시** + + + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | + + + +**설명** + +일본 CBT(국경 간 결제) 인증 결과를 수신해 서버 승인(`/cbtapprove`)까지 마무리하는 콜백입니다(GET·POST 동일 처리). 브라우저가 KG 이니시스 일본 결제창에서 인증을 마치면 `sid` 와 주문번호가 붙어 이 주소로 되돌아오고, 서버는 그 `sid` 로 최종 승인을 요청한 뒤 결제완료 또는 편의점 입금대기 처리를 하고 결과 페이지로 리다이렉트합니다. GET 은 결제창이 리다이렉트로 되돌려보내는 경로, POST 는 폼 전송으로 되돌려보내는 경로이며 파라미터 위치만 다릅니다. + +주의사항: (1) 브라우저가 전달한 인증 결과는 무인증 값이므로 그것만으로 주문 상태를 바꾸지 않고, 반드시 서버 승인 응답을 권위 있는 결과로 사용합니다. (2) 콜백의 `mid` 가 설정된 일본 가맹점 MID 와 다르면 위조 콜백으로 보고 즉시 중단합니다(`error=mid_mismatch`). (3) 승인 응답의 주문번호·MID·통화(JPY)·결제수단이 주문·체크아웃 선택값과 모두 일치해야 하며, 하나라도 어긋나면 승인 이후라도 실패로 처리합니다. (4) 결제수단이 `CVS`(편의점)면 결제완료가 아니라 입금대기로 저장하고 확인번호·접수번호·입금기한을 기록하며, 실제 완료는 편의점 입금통보(cvs-notify) 시점입니다. (5) 승인이 확정된 뒤 후속 처리에서 예외가 나면 자동 환불을 시도하고, 환불까지 실패하면 수동 환불 필요 상태로 대사 레코드를 남깁니다. (6) 사용자 취소(취소 코드 또는 일본어·한국어 취소 문구)는 실패가 아니므로 에러 없이 체크아웃으로 복귀하며, PayPay 업스트림 처리 실패는 별도 안내 메시지로 치환됩니다. + +예시 시나리오: 일본 구매자가 PayPay 로 결제 → 결제창이 `sid` 를 붙여 이 콜백으로 복귀 → 서버가 승인 요청 → 성공 시 주문 결제완료 후 완료 페이지로 리다이렉트. 편의점결제를 선택했다면 같은 흐름이지만 입금대기 상태로 남고, 구매자가 편의점에서 입금하면 그때 완료됩니다. + + +### POST /plugins/sirsoft-pay_kginicis/payment/cbt/callback + +- **라우트명**: `web.plugins.sirsoft-pay_kginicis.payment.cbt.callback` +- **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\CbtCallbackController@handle` +- **인증/권한**: 공개 (인증 불필요) + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| sid | body | string | 아니오 | max 255 | CBT 인증 세션 ID. 서버가 `/cbtapprove` 최종 승인 요청에 MID 와 함께 전송하는 승인 키이며, 결제 메타에 `cbt_sid` 로 저장된다. | +| resultCode | body | string | 아니오 | max 100 | CBT 인증 결과 코드 (`OK`/`00`/`0000` = 성공). `2001`/`0021`/`0022` 또는 취소 문구 포함 시 사용자 취소로 간주한다. | +| resultMsg | body | string | 아니오 | max 500 | CBT 인증 결과 메시지. 사용자 취소 판별(일본어/한국어 취소 문구)과 실패 리다이렉트 메시지에 사용된다. | +| orderID | body | string | 아니오 | max 100 | 주문번호 (1순위 키). `orderId` → `oid` 순으로 폴백해 주문을 조회한다. | +| orderId | body | string | 아니오 | max 100 | 주문번호 (2순위 폴백 키). | +| oid | body | string | 아니오 | max 100 | 주문번호 (3순위 폴백 키). | +| mid | body | string | 아니오 | max 30 | 일본 CBT 가맹점 MID. 설정된 일본 MID 와 불일치하면 결제를 중단한다(위조 콜백 차단). | +| paymethod | body | string | 아니오 | max 50 | CBT 결제수단 (CARD / PAYPAY / CVS). 승인 응답의 결제수단과 대조하며, CVS 는 편의점 입금대기 처리로 분기한다. | +| selectedPaymentMethod | body | string | 아니오 | max 50 | 체크아웃에서 사용자가 선택한 결제수단 식별값(`card` / `kginicis_japan_paypay` / `kginicis_japan_cvs`). 기대 결제수단 검증과 결제 메타 기록에 사용된다. | + +**요청 예시** + +```http +POST /plugins/sirsoft-pay_kginicis/payment/cbt/callback HTTP/1.1 +Host: api.example.com +Accept: application/json +Content-Type: application/json + +{ + "sid": "예시값", + "resultCode": "예시값", + "resultMsg": "예시값", + "orderID": "예시값", + "orderId": "예시값", + "oid": "예시값", + "mid": "예시값", + "paymethod": "예시값", + "selectedPaymentMethod": "예시값" +} +``` + +**응답 필드** (`data` 내부) + + + +**응답 예시** + + + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | + + + +**설명** + +위 `GET /plugins/sirsoft-pay_kginicis/payment/cbt/callback` 과 동일한 CBT 인증 콜백이며, KG 이니시스가 폼 전송(POST)으로 되돌려보내는 경우를 처리합니다. 파라미터가 query 대신 body 로 들어오는 점만 다르고, 승인·검증·리다이렉트 동작과 주의사항은 GET 버전과 완전히 같습니다. 결제창 설정이나 결제수단에 따라 GET/POST 중 어느 쪽으로 돌아올지 달라질 수 있어 두 메서드를 모두 열어 둡니다. + + +### POST /plugins/sirsoft-pay_kginicis/payment/cbt/cvs-notify + +- **라우트명**: `web.plugins.sirsoft-pay_kginicis.payment.cbt.cvs-notify` +- **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\CbtCvsNotifyController@handle` +- **인증/권한**: 공개 (인증 불필요) + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| tid | body | string | 아니오 | max 80 | CBT 편의점 결제 거래번호. 결제행에 저장된 발급 시점 TID 와 대조해 위조 통보를 차단한다(불일치 시 FAIL). | +| mid | body | string | 아니오 | max 20 | 일본 CBT 가맹점 MID. 결제 메타의 `cbt_mid` 와 대조해 불일치 시 통보를 거부한다. | +| applDt | body | string | 아니오 | max 8 | 입금 승인 일자(YYYYMMDD). `applTm` 과 결합해 결제 메타의 `auth_date` 로 저장된다. | +| applTm | body | string | 아니오 | max 6 | 입금 승인 시각(HHMMSS). `applDt` 와 결합해 결제 메타의 `auth_date` 로 저장된다. | +| status | body | string | 아니오 | max 10 | 편의점 입금 통보 상태 코드 (`00` = 입금 완료). 그 외 값은 무시(ignored)하고 OK 로 응답한다. | +| payNm | body | string | 아니오 | max 50 | 결제수단명(편의점 결제는 `CVS`). 통보 이력에 원문 그대로 보존된다. | +| orderId | body | string | 아니오 | max 100 | 주문번호. 이 값으로 주문·결제행을 조회한다(미존재 시 FAIL). | +| applNo | body | string | 아니오 | max 80 | 입금 승인번호. 통보 이력에 원문 그대로 보존된다. | +| sid | body | string | 아니오 | max 100 | CBT 인증 세션 ID. 결제 메타의 `cbt_sid`(발급 시점 값)와 대조해 불일치 시 통보를 거부한다. | +| convenience | body | string | 아니오 | max 30 | 입금한 편의점 구분값. 결제 메타 `cvs_convenience` 로 갱신된다. | +| confNo | body | string | 아니오 | max 80 | 편의점 결제 확인번호. 결제 메타 `cvs_conf_no` 로 갱신된다. | +| receiptNo | body | string | 아니오 | max 80 | 편의점 수납 영수증번호. 결제 메타 `cvs_receipt_no` 로 갱신된다. | +| paymentTerm | body | string | 아니오 | max 20 | 편의점 입금 기한(YYYYMMDDHHMMSS, 일본 시각). 결제 메타 `cvs_payment_term` 으로 갱신되며 만료 판정 기준이 된다. | +| amount | body | string | 아니오 | — | 입금 금액. 주문의 결제 통화(JPY) 청구액과 일치해야 하며(불일치 시 FAIL), 결제 완료 금액으로 사용된다. | +| currencyCd | body | string | 아니오 | max 10 | 통보 통화 코드. `JPY` 가 아니면 통보를 거부한다. | + +**요청 예시** + +```http +POST /plugins/sirsoft-pay_kginicis/payment/cbt/cvs-notify HTTP/1.1 +Host: api.example.com +Accept: application/json +Content-Type: application/json + +{ + "tid": "예시값", + "mid": "예시값", + "applDt": "예시값", + "applTm": "예시값", + "status": "예시값", + "payNm": "예시값", + "orderId": "예시값", + "applNo": "예시값", + "sid": "예시값", + "convenience": "예시값", + "confNo": "예시값", + "receiptNo": "예시값", + "paymentTerm": "예시값", + "amount": "예시값", + "currencyCd": "예시값" +} +``` + +**응답 필드** (`data` 내부) + + + +**응답 예시** + + + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | + + + +**설명** + +일본 CBT 편의점(CVS) 결제의 입금 통보(NOTI)를 KG 이니시스 서버로부터 직접 수신하는 웹훅입니다. 구매자가 편의점에서 실제로 대금을 납부하면 KG 이니시스가 이 주소로 통보를 보내고, 서버는 통보를 검증한 뒤 입금대기 상태의 결제를 결제완료로 전환합니다. 이 URL 은 관리자 화면의 CBT 편의점 운영 정보에 표시되며, 그대로 KG 이니시스 가맹점 설정의 통보 URL 로 등록하면 됩니다. + +주의사항: (1) 응답은 JSON 이 아니라 평문 `OK` 또는 `FAIL` 이며(HTTP 200 고정), `OK` 를 돌려주지 않으면 KG 이니시스가 통보를 재시도합니다. 검증 실패는 `FAIL`, 처리 불필요(비-성공 상태 통보·이미 결제완료)는 `OK` 로 응답합니다. (2) 라우트에 KG 이니시스 공식 발송 IP 화이트리스트가 걸려 있어 허용되지 않은 IP 에서 온 요청은 403 으로 차단됩니다(로컬·테스트 환경 제외). (3) 위조 통보를 막기 위해 발급 시점에 저장한 거래번호(TID)·가맹점 MID·세션 ID(SID)와 통보 값을 대조하고, 통화가 `JPY` 인지, 금액이 결제 통화 기준 청구액과 같은지, 결제 상태가 입금대기이고 결제수단이 CVS 인지까지 모두 확인합니다. 어느 하나라도 어긋나면 처리하지 않고 `FAIL` 을 반환합니다. (4) `status` 가 `00`(입금 완료)이 아닌 통보는 무시하고 `OK` 로 응답합니다. (5) 모든 통보는 성공·실패·무시 여부와 사유가 결제 이력에 기록되어 관리자 화면에서 확인할 수 있습니다. + +예시 시나리오: 구매자가 편의점결제를 선택해 확인번호를 발급받고 입금대기 상태가 됨 → 며칠 뒤 편의점에서 납부 → KG 이니시스가 `status=00` 통보를 이 주소로 전송 → 검증 통과 시 주문이 결제완료로 전환되고 서버는 `OK` 를 반환. + + +### GET /plugins/sirsoft-pay_kginicis/payment/close + +- **라우트명**: `web.plugins.sirsoft-pay_kginicis.payment.close` +- **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\PaymentCloseController@show` +- **인증/권한**: 공개 (인증 불필요) + +**요청 파라미터** + +_요청 파라미터 없음._ + +**요청 예시** + +```http +GET /plugins/sirsoft-pay_kginicis/payment/close HTTP/1.1 +Host: api.example.com +Accept: application/json +``` + +**응답 필드** (`data` 내부) + + + +**응답 예시** + + + +**에러 응답** + +_대표 에러 없음 (공개 조회)._ + + + +**설명** + +PC 표준결제창의 닫기(closeUrl) 전용 페이지입니다. 구매자가 결제창을 X 버튼으로 닫으면 KG 이니시스 결제창이 이 주소를 열고, 페이지는 KG 이니시스 공식 close 스크립트를 실행해 결제창을 정리한 뒤 부모(또는 opener) 창에 결제창이 닫혔음을 알리는 메시지를 보냅니다. 체크아웃 화면은 그 메시지를 받아 결제 진행 상태를 해제하고, 별도로 결제창 닫힘을 서버에 보고(close-report)합니다. + +주의사항: 응답은 JSON 이 아니라 HTML 페이지이며, 캐시되지 않도록 no-store 헤더가 붙습니다. 로드하는 close 스크립트 주소는 플러그인의 테스트/운영 모드 설정에 따라 달라지므로, 운영 전환 시 결제창 닫기가 정상 동작하는지 함께 확인해야 합니다. 이 엔드포인트는 결제 상태를 바꾸지 않으며, 주문의 취소 이력 기록은 close-report 엔드포인트가 담당합니다. + + +### GET /plugins/sirsoft-pay_kginicis/payment/escrow-confirm/close + +- **라우트명**: `web.plugins.sirsoft-pay_kginicis.payment.escrow-confirm.close` +- **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\UserEscrowConfirmController@close` +- **인증/권한**: 공개 (인증 불필요) + +**요청 파라미터** + +_요청 파라미터 없음._ + +**요청 예시** + +```http +GET /plugins/sirsoft-pay_kginicis/payment/escrow-confirm/close HTTP/1.1 +Host: api.example.com +Accept: application/json +``` + +**응답 필드** (`data` 내부) + + + +**응답 예시** + + + +**에러 응답** + +_대표 에러 없음 (공개 조회)._ + + + +**설명** + +에스크로 구매결정 팝업의 닫기(closeUrl) 전용 페이지입니다. 구매자가 PC 에스크로 구매결정 창을 닫으면 KG 이니시스가 이 주소를 열고, 페이지는 창을 닫는 스크립트만 실행합니다. 결제나 구매결정 상태를 바꾸지 않으며 인증도 요구하지 않습니다(팝업 정리 용도). 응답은 JSON 이 아니라 HTML 입니다. + + +### POST /plugins/sirsoft-pay_kginicis/payment/escrow-confirm/mobile/return + +- **라우트명**: `web.plugins.sirsoft-pay_kginicis.payment.escrow-confirm.mobile-return` +- **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\UserEscrowConfirmController@mobileReturn` +- **인증/권한**: 공개 (인증 불필요) + +**요청 파라미터** + +_요청 파라미터 없음._ + +**요청 예시** + +```http +POST /plugins/sirsoft-pay_kginicis/payment/escrow-confirm/mobile/return HTTP/1.1 +Host: api.example.com +Accept: application/json +``` + +**응답 필드** (`data` 내부) + + + +**응답 예시** + + + +**에러 응답** + +_대표 에러 없음 (공개 조회)._ + + + +**설명** + +모바일 에스크로 구매결정 결과를 KG 이니시스로부터 수신하는 복귀 지점입니다. 구매자가 모바일에서 구매확정 또는 구매거절을 마치면 KG 이니시스가 이 주소로 결과를 전송하고, 서버는 전달된 에스크로 거래번호로 해당 결제를 찾아 구매결정 결과(확정/거절, 결과 코드, 메시지)를 결제 이력에 기록한 뒤 마이페이지 주문 상세로 리다이렉트합니다. + +주의사항: 응답은 JSON 이 아니라 리다이렉트(302)이며, 성공 시 해당 주문 상세로, 거래번호로 결제를 찾지 못하면 주문 목록으로 이동합니다. 거래번호가 없거나 매칭되는 에스크로 결제가 없으면 아무것도 기록하지 않고 조용히 넘어갑니다(외부에서 임의 호출해도 상태가 바뀌지 않음). 구매거절이 접수된 경우 판매자 측에서 별도로 구매거절 확인(관리자 에스크로 거절확인) 절차를 진행해야 합니다. + + +### POST /plugins/sirsoft-pay_kginicis/payment/escrow-confirm/pc/return + +- **라우트명**: `web.plugins.sirsoft-pay_kginicis.payment.escrow-confirm.pc-return` +- **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\UserEscrowConfirmController@pcReturn` +- **인증/권한**: 공개 (인증 불필요) + +**요청 파라미터** + +_요청 파라미터 없음._ + +**요청 예시** + +```http +POST /plugins/sirsoft-pay_kginicis/payment/escrow-confirm/pc/return HTTP/1.1 +Host: api.example.com +Accept: application/json +``` + +**응답 필드** (`data` 내부) + + + +**응답 예시** + + + +**에러 응답** + +_대표 에러 없음 (공개 조회)._ + + + +**설명** + +PC 에스크로 구매결정 결과를 KG 이니시스 팝업으로부터 수신하는 복귀 지점입니다. 구매자가 구매확정 또는 구매거절을 마치면 KG 이니시스 결제창이 이 주소로 결과를 전송하고, 서버는 전달된 에스크로 거래번호로 결제를 찾아 구매결정 결과(확정/거절, 결과 코드, 확정·거절 일시, 거절 사유)를 결제 이력에 기록합니다. + +주의사항: 응답은 JSON 이 아니라 HTML 이며, 팝업을 닫고 부모 창을 새로고침하는 스크립트를 반환합니다. 거래번호가 비어 있거나 매칭되는 에스크로 결제가 없으면 아무 기록도 남기지 않습니다. 결과 코드가 확정(`00`)이 아니면 구매거절로 기록되며, 이후 판매자 측 구매거절 확인 절차가 필요합니다. + + +### GET /plugins/sirsoft-pay_kginicis/payment/escrow-confirm/{orderNumber} + +- **라우트명**: `web.plugins.sirsoft-pay_kginicis.payment.escrow-confirm.show` +- **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\UserEscrowConfirmController@show` +- **인증/권한**: 공개 (인증 불필요) + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| orderNumber | path | string | 예 | — | 대상 order number의 식별자 | + +**요청 예시** + +```http +GET /plugins/sirsoft-pay_kginicis/payment/escrow-confirm/{orderNumber} HTTP/1.1 +Host: api.example.com +Accept: application/json +``` + +**응답 필드** (`data` 내부) + + + +**응답 예시** + + + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | + + + +**설명** + +구매자가 자신의 에스크로 주문에 대해 구매결정(구매확정/구매거절)을 진행하도록 KG 이니시스 구매결정 창을 띄워 주는 진입 페이지입니다. 마이페이지 주문 상세의 "구매결정" 버튼이 이 주소를 열며, 서버는 접속한 사용자 본인의 KG 이니시스 에스크로 결제를 찾아 거래번호를 담은 폼을 만들고 KG 이니시스 구매결정 창으로 자동 전송합니다. 접속 기기의 User-Agent 로 PC/모바일을 판별해 각각 PC 팝업 방식과 모바일 전송 방식으로 분기합니다. + +주의사항: 응답은 JSON 이 아니라 HTML 페이지입니다. 로그인이 필요하며(비로그인 시 로그인 흐름으로 전환), 주문번호에 해당하는 에스크로 결제가 본인 소유가 아니거나 존재하지 않으면 404 로 응답합니다. 구매결정 결과는 이 페이지가 아니라 KG 이니시스가 되돌려보내는 복귀 지점(escrow-confirm PC/모바일 return)에서 기록됩니다. + + +### GET /plugins/sirsoft-pay_kginicis/payment/mobile/callback + +- **라우트명**: `web.plugins.sirsoft-pay_kginicis.payment.mobile.callback` +- **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\MobileCallbackController@handle` +- **인증/권한**: 공개 (인증 불필요) + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| P_STATUS | query | string | 예 | — | 모바일 결제 인증 결과 코드 (`00` = 성공). 그 외 값은 실패이며 `P_RMESG1` 문구로 사용자 취소 여부를 분기한다. | +| P_RMESG1 | query | string | 아니오 | — | 모바일 결제 인증 결과 메시지. '사용자가 결제를 취소' 등 취소 문구 포함 시 오류 없이 체크아웃으로 복귀한다. | +| P_TID | query | string | 아니오 | — | KG 이니시스 거래번호. 서버 승인 요청(`P_REQ_URL`)에 MID 와 함께 전송된다. | +| P_REQ_URL | query | string | 아니오 | — | 서버 승인 API 요청 URL. `idc_name` 과 함께 화이트리스트 검증(SSRF 방어)을 통과해야 호출된다. | +| P_AMT | query | string | 아니오 | — | 결제 금액. 서버 승인 응답의 `P_AMT` 가 없을 때 결제 완료 금액의 폴백으로 사용된다. | +| P_OID | query | string | 아니오 | — | 주문번호. 없으면 콜백 URL 쿼리스트링의 `orderId` 를 폴백으로 사용한다. | +| idc_name | query | string | 아니오 | — | KG 이니시스 IDC 센터 코드(fc/ks/stg). 승인 URL 화이트리스트 검증의 기준값. | + +**요청 예시** + +```http +GET /plugins/sirsoft-pay_kginicis/payment/mobile/callback?P_STATUS=%EC%98%88%EC%8B%9C%EA%B0%92&P_RMESG1=%EC%98%88%EC%8B%9C%EA%B0%92&P_TID=%EC%98%88%EC%8B%9C%EA%B0%92&P_REQ_URL=https%3A%2F%2Fexample.com&P_AMT=%EC%98%88%EC%8B%9C%EA%B0%92&P_OID=%EC%98%88%EC%8B%9C%EA%B0%92&idc_name=%EC%98%88%EC%8B%9C%20%EC%9D%B4%EB%A6%84 HTTP/1.1 +Host: api.example.com +Accept: application/json +``` + +**응답 필드** (`data` 내부) + + + +**응답 예시** + + + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | + + + +**설명** + +모바일 표준결제창(KRW)의 인증 결과를 수신해 서버 승인까지 마무리하는 콜백입니다(GET·POST 동일 처리). 모바일 결제는 결제창 인증 후 KG 이니시스가 이 주소로 결과를 돌려보내고, 서버가 전달받은 승인 요청 URL 로 거래번호를 재전송해 최종 승인을 얻은 뒤 주문을 결제완료 처리하고 결과 페이지로 리다이렉트합니다. GET 은 일부 PG 환경의 리다이렉트 복귀 패턴을 위해 함께 열어 둔 경로로, 동작은 POST 와 같습니다. + +주의사항: (1) 응답은 JSON 이 아니라 리다이렉트(302)이며, 실패 시 체크아웃 URL 에 `error`·`message`·`orderId` 쿼리가 붙습니다. (2) 승인 요청 URL 은 콜백 값을 그대로 신뢰하지 않고 IDC 코드 기준 화이트리스트로 검증해 SSRF 를 차단합니다(실패 시 `error=req_url_invalid`). (3) 모바일 표준 응답에는 주문번호가 빠질 수 있어, 없으면 콜백 URL 쿼리스트링의 `orderId` 를 대체로 사용합니다. (4) 승인 결과가 가상계좌면 결제완료 처리를 하지 않고 계좌 정보만 저장해 입금대기로 두며, 완료는 모바일 가상계좌 입금통보 시점입니다. (5) 같은 거래번호가 이미 결제완료면 재처리하지 않고 성공 페이지로 복귀합니다. (6) 승인 후 금액 불일치나 예외가 발생하면 자동 취소를 호출해 PG 측 승인 잔존을 해제하며, 자동 취소마저 실패하면 수동 정산이 필요합니다. (7) 사용자가 결제창을 닫은 취소는 결과 코드만으로 일반 실패와 구분되지 않으므로 결과 메시지의 취소 문구로 판별하며, 이 경우 에러 없이 체크아웃으로 조용히 복귀합니다. + +예시 시나리오: 모바일 구매자가 카드 결제를 승인 → KG 이니시스가 이 콜백으로 인증 성공과 승인 요청 URL 을 전송 → 서버가 승인 요청 → 성공 시 주문 결제완료 후 완료 페이지로 리다이렉트. + + +### POST /plugins/sirsoft-pay_kginicis/payment/mobile/callback + +- **라우트명**: `web.plugins.sirsoft-pay_kginicis.payment.mobile.callback` +- **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\MobileCallbackController@handle` +- **인증/권한**: 공개 (인증 불필요) + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| P_STATUS | body | string | 예 | — | 모바일 결제 인증 결과 코드 (`00` = 성공). 그 외 값은 실패이며 `P_RMESG1` 문구로 사용자 취소 여부를 분기한다. | +| P_RMESG1 | body | string | 아니오 | — | 모바일 결제 인증 결과 메시지. '사용자가 결제를 취소' 등 취소 문구 포함 시 오류 없이 체크아웃으로 복귀한다. | +| P_TID | body | string | 아니오 | — | KG 이니시스 거래번호. 서버 승인 요청(`P_REQ_URL`)에 MID 와 함께 전송된다. | +| P_REQ_URL | body | string | 아니오 | — | 서버 승인 API 요청 URL. `idc_name` 과 함께 화이트리스트 검증(SSRF 방어)을 통과해야 호출된다. | +| P_AMT | body | string | 아니오 | — | 결제 금액. 서버 승인 응답의 `P_AMT` 가 없을 때 결제 완료 금액의 폴백으로 사용된다. | +| P_OID | body | string | 아니오 | — | 주문번호. 없으면 콜백 URL 쿼리스트링의 `orderId` 를 폴백으로 사용한다. | +| idc_name | body | string | 아니오 | — | KG 이니시스 IDC 센터 코드(fc/ks/stg). 승인 URL 화이트리스트 검증의 기준값. | + +**요청 예시** + +```http +POST /plugins/sirsoft-pay_kginicis/payment/mobile/callback HTTP/1.1 +Host: api.example.com +Accept: application/json +Content-Type: application/json + +{ + "P_STATUS": "예시값", + "P_RMESG1": "예시값", + "P_TID": "예시값", + "P_REQ_URL": "https://example.com", + "P_AMT": "예시값", + "P_OID": "예시값", + "idc_name": "예시 이름" +} +``` + +**응답 필드** (`data` 내부) + + + +**응답 예시** + + + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | + + + +**설명** + +위 `GET /plugins/sirsoft-pay_kginicis/payment/mobile/callback` 과 동일한 모바일 결제 인증 콜백이며, KG 이니시스가 폼 전송(POST)으로 결과를 돌려보내는 표준 경로입니다. 파라미터가 query 대신 body 로 들어오는 점만 다르고, 서버 승인·화이트리스트 검증·가상계좌 분기·자동 취소·사용자 취소 처리 등 동작과 주의사항은 GET 버전과 동일합니다. 실제 운영에서는 대부분 이 POST 경로로 콜백이 들어옵니다. + + +### POST /plugins/sirsoft-pay_kginicis/payment/mobile/vbank-notify + +- **라우트명**: `web.plugins.sirsoft-pay_kginicis.payment.mobile.vbank-notify` +- **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\PaymentCallbackController@mobileVbankNotify` +- **인증/권한**: 공개 (인증 불필요) + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| P_TID | body | string | 예 | max 40 | KG 이니시스 거래번호. 결제행에 저장된 발급 시점 TID 와 대조하며, 이미 결제완료된 TID 면 중복 통보로 무시한다. | +| P_MID | body | string | 예 | max 10 | 가맹점 MID. 결제 메타에 저장된 발급 시점 MID 와 대조해 위조 통보를 차단한다. | +| P_OID | body | string | 예 | max 100 | 주문번호. 이 값으로 입금대기 주문을 조회한다(미존재 시 FAIL). | +| P_AMT | body | string | 예 | max 12 | 입금 금액. 주문의 결제 통화 청구액과 일치해야 하며(불일치 시 FAIL), 결제 완료 금액으로 사용된다. | +| P_STATUS | body | string | 예 | max 2 | 모바일 통보 상태 코드. `02`(입금통보)일 때만 실제 입금 처리하고, 그 외에는 OK 로 응답 후 무시한다. | +| P_TYPE | body | string | 예 | max 10 | 통보 결제수단 구분. `VBANK` 인 경우에만 가상계좌 입금 처리를 수행한다. | +| P_AUTH_DT | body | string | 아니오 | max 14 | 입금 승인 일시(YYYYMMDDHHMMSS). 결제 메타의 `deposit_date` 로 저장된다. | +| P_FN_CD1 | body | string | 아니오 | max 4 | 입금 은행 코드. 결제 메타의 `bank_code` 로 저장된다. | +| P_FN_NM | body | string | 아니오 | max 50 | 입금 은행명(EUC-KR 수신 시 UTF-8 자동 변환). 결제 메타의 `vbank_name` 으로 저장된다. | +| P_UNAME | body | string | 아니오 | max 30 | 입금자명(EUC-KR 수신 시 UTF-8 자동 변환). 결제 메타의 `depositor_name` 으로 저장된다. | +| P_RMESG1 | body | string | 아니오 | max 500 | 통보 메시지. 파이프(`|`) 구분자의 첫 조각에서 가상계좌번호를 추출해 발급 계좌와 대조하는 데 사용된다. | +| P_FN_CD2 | body | string | 아니오 | — | KG 이니시스 부가 은행 코드. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| P_RMESG2 | body | string | 아니오 | — | KG 이니시스 보조 통보 메시지. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| P_NOTI | body | string | 아니오 | max 600 | 결제 요청 시 가맹점이 전달한 임의 데이터의 회신값. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| P_AUTH_NO | body | string | 아니오 | — | 승인번호. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| P_CSHR_AMT | body | string | 아니오 | max 12 | 현금영수증 발급 금액. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| P_CSHR_TAX | body | string | 아니오 | max 12 | 현금영수증 부가세액. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| P_CSHR_TYPE | body | string | 아니오 | max 14 | 현금영수증 발급 구분(소득공제/지출증빙). 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| P_CSHR_DT | body | string | 아니오 | max 14 | 현금영수증 발급 일시. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | + +**요청 예시** + +```http +POST /plugins/sirsoft-pay_kginicis/payment/mobile/vbank-notify HTTP/1.1 +Host: api.example.com +Accept: application/json +Content-Type: application/json + +{ + "P_TID": "예시값", + "P_MID": "예시값", + "P_OID": "예시값", + "P_AMT": "예시값", + "P_STATUS": "예시값", + "P_TYPE": "예시값", + "P_AUTH_DT": "예시값", + "P_FN_CD1": "예시값", + "P_FN_NM": "예시값", + "P_UNAME": "예시 이름", + "P_RMESG1": "예시값", + "P_FN_CD2": "예시값", + "P_RMESG2": "예시값", + "P_NOTI": "예시값", + "P_AUTH_NO": "예시값", + "P_CSHR_AMT": "예시값", + "P_CSHR_TAX": "예시값", + "P_CSHR_TYPE": "예시값", + "P_CSHR_DT": "예시값" +} +``` + +**응답 필드** (`data` 내부) + + + +**응답 예시** + + + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | + + + +**설명** + +모바일 결제로 발급한 가상계좌의 입금통보를 KG 이니시스 서버로부터 직접 수신하는 웹훅입니다. 구매자가 발급받은 계좌에 실제로 입금하면 KG 이니시스가 이 주소로 통보를 보내고, 서버는 통보를 검증한 뒤 입금대기 상태의 주문을 결제완료로 전환합니다. 이 URL 은 관리자 설정의 가상계좌 통보 URL(모바일용)에 표시되며, 그대로 KG 이니시스 가맹점 설정에 등록하면 됩니다. + +주의사항: (1) 응답은 JSON 이 아니라 평문 `OK` 또는 `FAIL` 이며, `OK` 를 돌려주지 않으면 KG 이니시스가 통보를 재시도합니다. (2) 라우트에 KG 이니시스 공식 발송 IP 화이트리스트가 걸려 있어 허용되지 않은 IP 의 요청은 403 으로 차단됩니다(로컬·테스트 환경 제외). (3) 위조 통보를 막기 위해 발급 시점에 저장한 거래번호·가맹점 MID·가상계좌번호(숫자만 비교)·결제 통화 기준 청구액을 통보 값과 대조하고, 결제가 가상계좌·입금대기 상태인지도 확인합니다. 하나라도 어긋나면 처리하지 않고 `FAIL` 을 반환합니다. (4) 통보 상태 코드가 입금통보(`02`)이고 결제수단 구분이 `VBANK` 인 경우에만 실제 입금 처리를 하며, 그 외 통보는 `OK` 로 응답 후 무시합니다. (5) 이미 결제완료된 거래번호의 통보는 중복으로 보고 재처리하지 않습니다. (6) 은행명·입금자명이 EUC-KR 로 들어오면 UTF-8 로 자동 변환해 저장합니다. + +예시 시나리오: 구매자가 모바일에서 가상계좌를 선택 → 계좌 발급 후 주문은 입금대기 → 구매자가 계좌 이체 → KG 이니시스가 이 주소로 입금통보 → 검증 통과 시 결제완료 전환 후 `OK` 반환. + + +### POST /plugins/sirsoft-pay_kginicis/payment/vbank-notify + +- **라우트명**: `web.plugins.sirsoft-pay_kginicis.payment.vbank-notify` +- **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\PaymentCallbackController@vbankNotify` +- **인증/권한**: 공개 (인증 불필요) + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| no_tid | body | string | 예 | max 40 | 가상계좌 입금통보 거래번호. 결제행에 저장된 발급 시점 TID 와 대조하며, 이미 결제완료된 TID 면 중복 통보로 무시한다. | +| no_oid | body | string | 예 | max 40 | 주문번호. 이 값으로 입금대기 주문을 조회한다(미존재 시 FAIL). | +| id_merchant | body | string | 예 | max 10 | 가맹점 MID. 결제 메타에 저장된 발급 시점 MID 와 대조해 위조 통보를 차단한다. | +| dt_trans | body | string | 예 | max 8 | 입금 거래 일자(YYYYMMDD). `tm_trans` 와 결합해 결제 메타의 `deposit_date` 로 저장된다. | +| tm_trans | body | string | 예 | max 6 | 입금 거래 시각(HHMMSS). `dt_trans` 와 결합해 결제 메타의 `deposit_date` 로 저장된다. | +| cd_bank | body | string | 예 | max 8 | 입금 은행 코드. 결제 메타의 `bank_code` 로 저장된다. | +| cd_deal | body | string | 아니오 | max 8 | KG 이니시스 거래 구분 코드. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| no_vacct | body | string | 예 | max 20 | 입금된 가상계좌번호. 발급 시 저장한 계좌번호와 대조해(숫자만 비교) 위조 통보를 차단하고 결제 메타의 `vbank_num` 으로 저장된다. | +| amt_input | body | string | 예 | max 13 | 입금 금액. 주문의 결제 통화 청구액과 일치해야 하며(불일치 시 FAIL), 결제 완료 금액으로 사용된다. | +| nm_inputbank | body | string | 아니오 | max 10 | 입금 은행명(EUC-KR 수신 시 UTF-8 자동 변환). 결제 메타의 `vbank_name` 으로 저장된다. | +| nm_input | body | string | 아니오 | max 20 | 입금자명(EUC-KR 수신 시 UTF-8 자동 변환). 결제 메타의 `depositor_name` 으로 저장된다. | +| dt_inputstd | body | string | 아니오 | max 8 | 입금 기준일자(정산 정보). 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| dt_calculstd | body | string | 아니오 | max 8 | 정산 기준일자(정산 정보). 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| flg_close | body | string | 아니오 | max 1 | 가상계좌 마감 여부 플래그. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| dt_cshr | body | string | 아니오 | max 8 | 현금영수증 발급 일자. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| tm_cshr | body | string | 아니오 | max 6 | 현금영수증 발급 시각. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| no_cshr_appl | body | string | 아니오 | max 9 | 현금영수증 승인번호. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| no_cshr_tid | body | string | 아니오 | max 40 | 현금영수증 거래번호. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| msg_id | body | string | 아니오 | — | KG 이니시스 통보 메시지 ID. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| no_msgseq | body | string | 아니오 | — | KG 이니시스 통보 메시지 일련번호. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| cd_joinorg | body | string | 아니오 | — | KG 이니시스 가입기관 코드. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| dt_transbase | body | string | 아니오 | — | KG 이니시스 거래 기준일자. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| no_transeq | body | string | 아니오 | — | KG 이니시스 거래 일련번호. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| type_msg | body | string | 아니오 | — | KG 이니시스 통보 메시지 유형. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| cl_close | body | string | 아니오 | — | KG 이니시스 마감 구분값. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| cl_kor | body | string | 아니오 | — | KG 이니시스 한글 구분값. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| no_msgmanage | body | string | 아니오 | — | KG 이니시스 통보 메시지 관리번호. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다. | +| amt_check | body | string | 아니오 | — | KG 이니시스 검증용 금액값. 통보 차단을 막기 위해 수신만 허용하며 처리에는 사용하지 않는다(입금 금액 검증은 `amt_input` 기준). | + +**요청 예시** + +```http +POST /plugins/sirsoft-pay_kginicis/payment/vbank-notify HTTP/1.1 +Host: api.example.com +Accept: application/json +Content-Type: application/json + +{ + "no_tid": "예시값", + "no_oid": "예시값", + "id_merchant": "예시값", + "dt_trans": "예시값", + "tm_trans": "예시값", + "cd_bank": "예시값", + "cd_deal": "예시값", + "no_vacct": "예시값", + "amt_input": "예시값", + "nm_inputbank": "예시값", + "nm_input": "예시값", + "dt_inputstd": "예시값", + "dt_calculstd": "예시값", + "flg_close": "예시값", + "dt_cshr": "예시값", + "tm_cshr": "예시값", + "no_cshr_appl": "예시값", + "no_cshr_tid": "예시값", + "msg_id": "예시값", + "no_msgseq": "예시값", + "cd_joinorg": "예시값", + "dt_transbase": "예시값", + "no_transeq": "예시값", + "type_msg": "예시값", + "cl_close": "예시값", + "cl_kor": "예시값", + "no_msgmanage": "예시값", + "amt_check": "예시값" +} +``` + +**응답 필드** (`data` 내부) + + + +**응답 예시** + + + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | + + + +**설명** + +PC 결제로 발급한 가상계좌의 입금통보를 KG 이니시스 서버로부터 직접 수신하는 웹훅입니다. 구매자가 발급받은 계좌에 실제로 입금하면 KG 이니시스가 이 주소로 통보를 보내고, 서버는 통보를 검증한 뒤 입금대기 상태의 주문을 결제완료로 전환합니다. 이 URL 은 관리자 설정의 가상계좌 통보 URL(PC 웹용)에 표시되며, 그대로 KG 이니시스 가맹점 설정에 등록하면 됩니다. + +주의사항: (1) 응답은 JSON 이 아니라 평문 `OK` 또는 `FAIL` 이며, `OK` 를 돌려주지 않으면 KG 이니시스가 최대 10회까지 통보를 재시도합니다. (2) 라우트에 KG 이니시스 공식 발송 IP 화이트리스트가 걸려 있어 허용되지 않은 IP 의 요청은 403 으로 차단됩니다(로컬·테스트 환경 제외). (3) PC 입금통보에는 별도 서명 필드가 없으므로, 발급 시점에 저장한 거래번호·가맹점 MID·가상계좌번호(숫자만 비교)·결제 통화 기준 청구액을 통보 값과 모두 대조하고 결제가 가상계좌·입금대기 상태인지도 확인해 위조 통보를 걸러냅니다. 하나라도 어긋나면 처리하지 않고 `FAIL` 을 반환합니다. (4) 이미 결제완료된 거래번호의 통보는 중복으로 보고 재처리하지 않고 `OK` 를 반환합니다. (5) 은행명·입금자명이 EUC-KR 로 들어오면 UTF-8 로 자동 변환해 저장합니다. (6) 정산·현금영수증 관련 필드들은 통보가 검증 오류로 차단되지 않도록 수신만 허용하며 처리에는 사용하지 않습니다. + +예시 시나리오: 구매자가 PC 결제창에서 가상계좌를 선택 → 계좌 발급 후 주문은 입금대기 → 구매자가 계좌 이체 → KG 이니시스가 이 주소로 입금통보 → 검증 통과 시 결제완료 전환 후 `OK` 반환. + + diff --git a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/transaction.md b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/transaction.md index 94b2273e..7f56507d 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/transaction.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/transaction.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Transaction 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(curl) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -38,7 +38,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + **응답 예시** diff --git a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/vbank.md b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/vbank.md index 5b72414d..571137de 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/vbank.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/vbank.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Vbank 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(curl) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -41,8 +41,8 @@ _단건 응답: `data` 객체의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | -| url | string | `https://api.example.com/plugins/sirsoft-pay_…` | PC 웹용 가상계좌 입금통보(NOTI) 수신 콜백 URL(`/plugins/sirsoft-pay_kginicis/payment/vbank-notify`)의 절대 주소. 운영자가 이 값을 KG 이니시스 가맹점 설정에 입금통보 URL로 등록하면, 구매자가 가상계좌에 실제 입금했을 때 KG 이니시스가 이 주소로 통보한다. | -| mobile_url | string | `https://api.example.com/plugins/sirsoft-pay_…` | mobile URL | +| url | string | `https://g7.dev/plugins/sirsoft-pay_kg…` | PC 웹용 가상계좌 입금통보(NOTI) 수신 콜백 URL(`/plugins/sirsoft-pay_kginicis/payment/vbank-notify`)의 절대 주소. 운영자가 이 값을 KG 이니시스 가맹점 설정에 입금통보 URL로 등록하면, 구매자가 가상계좌에 실제 입금했을 때 KG 이니시스가 이 주소로 통보한다. | +| mobile_url | string | `https://g7.dev/plugins/sirsoft-pay_kg…` | mobile URL | **응답 예시** diff --git a/plugins/_bundled/sirsoft-pay_kginicis/lang/en/messages.php b/plugins/_bundled/sirsoft-pay_kginicis/lang/en/messages.php index c4d83379..efbea8fe 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/lang/en/messages.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/lang/en/messages.php @@ -4,13 +4,13 @@ declare(strict_types=1); return [ 'errors' => [ - 'cash_receipt_invalid_issue_type' => 'Invalid cash receipt issue type.', - 'cash_receipt_missing_issue_number' => 'Please enter the identification number.', - 'cash_receipt_already_issued' => 'A cash receipt has already been issued for this payment.', 'cash_receipt_issue_failed' => 'Failed to issue cash receipt.', 'order_not_found' => 'Order not found.', 'cbt_failed' => 'Failed to process the cross-border payment.', ], + 'cash_receipt' => [ + 'provider_name' => 'KG Inicis', + ], 'refund' => [ 'missing_tid' => 'Cannot process refund: transaction ID (TID) is missing.', 'default_reason' => 'Buyer refund request', diff --git a/plugins/_bundled/sirsoft-pay_kginicis/lang/ko/messages.php b/plugins/_bundled/sirsoft-pay_kginicis/lang/ko/messages.php index 128874b8..16dd01e9 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/lang/ko/messages.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/lang/ko/messages.php @@ -4,13 +4,13 @@ declare(strict_types=1); return [ 'errors' => [ - 'cash_receipt_invalid_issue_type' => '발행 유형이 올바르지 않습니다.', - 'cash_receipt_missing_issue_number' => '식별번호를 입력해주세요.', - 'cash_receipt_already_issued' => '이미 현금영수증이 발행된 결제입니다.', 'cash_receipt_issue_failed' => '현금영수증 발행에 실패했습니다.', 'order_not_found' => '주문을 찾을 수 없습니다.', 'cbt_failed' => '해외결제 처리에 실패했습니다.', ], + 'cash_receipt' => [ + 'provider_name' => 'KG이니시스', + ], 'refund' => [ 'missing_tid' => '거래 ID(TID)가 없어 환불을 진행할 수 없습니다.', 'default_reason' => '구매자 환불 요청', diff --git a/plugins/_bundled/sirsoft-pay_kginicis/package-lock.json b/plugins/_bundled/sirsoft-pay_kginicis/package-lock.json index 210e923d..32940ea4 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/package-lock.json +++ b/plugins/_bundled/sirsoft-pay_kginicis/package-lock.json @@ -1,12 +1,12 @@ { "name": "@g7/sirsoft-pay_kginicis", - "version": "1.0.2", + "version": "1.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@g7/sirsoft-pay_kginicis", - "version": "1.0.2", + "version": "1.1.0", "devDependencies": { "jsdom": "^27.4.0", "typescript": "^5.3.3", diff --git a/plugins/_bundled/sirsoft-pay_kginicis/package.json b/plugins/_bundled/sirsoft-pay_kginicis/package.json index 21ca618b..7458b87c 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/package.json +++ b/plugins/_bundled/sirsoft-pay_kginicis/package.json @@ -1,6 +1,6 @@ { "name": "@g7/sirsoft-pay_kginicis", - "version": "1.0.2", + "version": "1.1.0", "type": "module", "private": true, "scripts": { diff --git a/plugins/_bundled/sirsoft-pay_kginicis/plugin.json b/plugins/_bundled/sirsoft-pay_kginicis/plugin.json index a9c98098..319a95e6 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/plugin.json +++ b/plugins/_bundled/sirsoft-pay_kginicis/plugin.json @@ -5,7 +5,7 @@ "ko": "KG 이니시스", "en": "KG Inicis" }, - "version": "1.0.2", + "version": "1.1.0", "license": "MIT", "github_url": "https://github.com/gnuboard/g7-plugin-sirsoft-pay_kginicis", "github_changelog_url": "https://github.com/gnuboard/g7-plugin-sirsoft-pay_kginicis/blob/main/CHANGELOG.md", @@ -16,7 +16,7 @@ "g7_version": ">=7.0.5", "dependencies": { "modules": { - "sirsoft-ecommerce": ">=1.0.0" + "sirsoft-ecommerce": ">=1.1.0" }, "plugins": {} }, diff --git a/plugins/_bundled/sirsoft-pay_kginicis/plugin.php b/plugins/_bundled/sirsoft-pay_kginicis/plugin.php index b41d62ab..6b136fd0 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/plugin.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/plugin.php @@ -361,6 +361,7 @@ class Plugin extends AbstractPlugin { return [ Listeners\RegisterPgProviderListener::class, + Listeners\RegisterCashReceiptProviderListener::class, Listeners\PaymentRefundListener::class, Listeners\CancelActivityLogListener::class, Listeners\RegisterEasyPayMethodsListener::class, diff --git a/plugins/_bundled/sirsoft-pay_kginicis/resources/extensions/admin_order_payment_query.json b/plugins/_bundled/sirsoft-pay_kginicis/resources/extensions/admin_order_payment_query.json index 498345c4..8d378392 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/resources/extensions/admin_order_payment_query.json +++ b/plugins/_bundled/sirsoft-pay_kginicis/resources/extensions/admin_order_payment_query.json @@ -46,23 +46,32 @@ "type": "basic", "name": "Div", "if": "{{kginicis_status.data?._is_test_mode === true}}", - "props": { "className": "mx-6 mb-3 px-3 py-2 bg-orange-50 dark:bg-orange-900/20 border border-orange-200 dark:border-orange-700 rounded-lg flex-center gap-2" }, + "props": { + "className": "mx-6 mb-3 px-3 py-2 bg-orange-50 dark:bg-orange-900/20 border border-orange-200 dark:border-orange-700 rounded-lg flex-center gap-2" + }, "children": [ { "type": "basic", "name": "Icon", - "props": { "name": "flask-conical", "className": "w-4 h-4 text-orange-600 dark:text-orange-400 flex-shrink-0" } + "props": { + "name": "flask-conical", + "className": "text-base text-orange-600 dark:text-orange-400 flex-shrink-0" + } }, { "type": "basic", "name": "Span", - "props": { "className": "text-sm font-semibold text-orange-800 dark:text-orange-300" }, + "props": { + "className": "text-sm font-semibold text-orange-800 dark:text-orange-300" + }, "text": "$t:sirsoft-pay_kginicis.admin.test_mode_warning_badge" }, { "type": "basic", "name": "Span", - "props": { "className": "text-sm text-orange-700 dark:text-orange-400" }, + "props": { + "className": "text-sm text-orange-700 dark:text-orange-400" + }, "text": "$t:sirsoft-pay_kginicis.admin.test_mode_order_notice" } ] @@ -71,36 +80,49 @@ "type": "basic", "name": "Div", "if": "{{kginicis_cbt_reconciliation.data?.status === 'manual_refund_required' || kginicis_cbt_reconciliation.data?.status === 'auto_refunded'}}", - "props": { "className": "mx-6 mb-3 px-3 py-3 bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-700 rounded-lg space-y-2" }, + "props": { + "className": "mx-6 mb-3 px-3 py-3 bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-700 rounded-lg space-y-2" + }, "children": [ { "type": "basic", "name": "Div", - "props": { "className": "flex-center flex-wrap gap-2" }, + "props": { + "className": "flex-center flex-wrap gap-2" + }, "children": [ { "type": "basic", "name": "Icon", - "props": { "name": "alert-triangle", "className": "w-4 h-4 text-red-600 dark:text-red-400 flex-shrink-0" } + "props": { + "name": "alert-triangle", + "className": "text-base text-red-600 dark:text-red-400 flex-shrink-0" + } }, { "type": "basic", "name": "Span", - "props": { "className": "text-sm font-semibold text-red-900 dark:text-red-200" }, + "props": { + "className": "text-sm font-semibold text-red-900 dark:text-red-200" + }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_title" }, { "type": "basic", "name": "Span", "if": "{{kginicis_cbt_reconciliation.data?.status === 'manual_refund_required'}}", - "props": { "className": "px-2 py-0.5 rounded-full text-xs font-semibold bg-red-100 dark:bg-red-900/40text-danger-soft" }, + "props": { + "className": "px-2 py-0.5 rounded-full text-xs font-semibold bg-red-100 dark:bg-red-900/40text-danger-soft" + }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_manual_badge" }, { "type": "basic", "name": "Span", "if": "{{kginicis_cbt_reconciliation.data?.status === 'auto_refunded'}}", - "props": { "className": "px-2 py-0.5 rounded-full text-xs font-semibold bg-green-100 dark:bg-green-900/40 text-success-soft" }, + "props": { + "className": "px-2 py-0.5 rounded-full text-xs font-semibold bg-green-100 dark:bg-green-900/40 text-success-soft" + }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_refunded_badge" } ] @@ -109,40 +131,134 @@ "type": "basic", "name": "P", "if": "{{kginicis_cbt_reconciliation.data?.status === 'manual_refund_required'}}", - "props": { "className": "text-info-soft leading-relaxed" }, + "props": { + "className": "text-info-soft leading-relaxed" + }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_manual_hint" }, { "type": "basic", "name": "P", "if": "{{kginicis_cbt_reconciliation.data?.status === 'auto_refunded'}}", - "props": { "className": "text-info-soft leading-relaxed" }, + "props": { + "className": "text-info-soft leading-relaxed" + }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_refunded_hint" }, { "type": "basic", "name": "Div", - "props": { "className": "grid grid-cols-[100px_1fr] sm:grid-cols-[120px_1fr_120px_1fr] gap-x-3 gap-y-1 text-xs" }, + "props": { + "className": "grid grid-cols-[100px_1fr] sm:grid-cols-[120px_1fr_120px_1fr] gap-x-3 gap-y-1 text-xs" + }, "children": [ - { "type": "basic", "name": "Span", "props": { "className": "font-semibold text-info-soft" }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_tid" }, - { "type": "basic", "name": "Span", "props": { "className": "font-mono text-red-950 dark:text-red-100 break-all" }, "text": "{{kginicis_cbt_reconciliation.data?.tid ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "font-semibold text-info-soft" }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_amount" }, - { "type": "basic", "name": "Span", "props": { "className": "font-mono text-red-950 dark:text-red-100" }, "text": "{{kginicis_cbt_reconciliation.data?.amount ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "font-semibold text-info-soft" }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_reason" }, - { "type": "basic", "name": "Span", "props": { "className": "text-red-950 dark:text-red-100 col-span-1 sm:col-span-3 break-all" }, "text": "{{kginicis_cbt_reconciliation.data?.reason ?? '-'}}" }, - { "type": "basic", "name": "Span", "if": "{{kginicis_cbt_reconciliation.data?.refund_error}}", "props": { "className": "font-semibold text-info-soft" }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_refund_error" }, - { "type": "basic", "name": "Span", "if": "{{kginicis_cbt_reconciliation.data?.refund_error}}", "props": { "className": "text-red-950 dark:text-red-100 col-span-1 sm:col-span-3 break-all" }, "text": "{{kginicis_cbt_reconciliation.data?.refund_error}}" }, - { "type": "basic", "name": "Span", "props": { "className": "font-semibold text-info-soft" }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_updated_at" }, - { "type": "basic", "name": "Span", "props": { "className": "font-mono text-red-950 dark:text-red-100" }, "text": "{{kginicis_cbt_reconciliation.data?.updated_at ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "font-semibold text-info-soft" }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_retry_count" }, - { "type": "basic", "name": "Span", "props": { "className": "font-mono text-red-950 dark:text-red-100" }, "text": "{{kginicis_cbt_reconciliation.data?.retry_count ?? 0}}" } + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-semibold text-info-soft" + }, + "text": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_tid" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-mono text-red-950 dark:text-red-100 break-all" + }, + "text": "{{kginicis_cbt_reconciliation.data?.tid ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-semibold text-info-soft" + }, + "text": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_amount" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-mono text-red-950 dark:text-red-100" + }, + "text": "{{kginicis_cbt_reconciliation.data?.amount ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-semibold text-info-soft" + }, + "text": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_reason" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-red-950 dark:text-red-100 col-span-1 sm:col-span-3 break-all" + }, + "text": "{{kginicis_cbt_reconciliation.data?.reason ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "if": "{{kginicis_cbt_reconciliation.data?.refund_error}}", + "props": { + "className": "font-semibold text-info-soft" + }, + "text": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_refund_error" + }, + { + "type": "basic", + "name": "Span", + "if": "{{kginicis_cbt_reconciliation.data?.refund_error}}", + "props": { + "className": "text-red-950 dark:text-red-100 col-span-1 sm:col-span-3 break-all" + }, + "text": "{{kginicis_cbt_reconciliation.data?.refund_error}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-semibold text-info-soft" + }, + "text": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_updated_at" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-mono text-red-950 dark:text-red-100" + }, + "text": "{{kginicis_cbt_reconciliation.data?.updated_at ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-semibold text-info-soft" + }, + "text": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_retry_count" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-mono text-red-950 dark:text-red-100" + }, + "text": "{{kginicis_cbt_reconciliation.data?.retry_count ?? 0}}" + } ] }, { "type": "basic", "name": "Div", "if": "{{kginicis_cbt_reconciliation.data?.can_retry}}", - "props": { "className": "flex-center flex-wrap gap-2" }, + "props": { + "className": "flex-center flex-wrap gap-2" + }, "children": [ { "type": "basic", @@ -169,7 +285,9 @@ "handler": "apiCall", "auth_required": true, "target": "/api/plugins/sirsoft-pay_kginicis/admin/orders/{{route.orderNumber}}/cbt-reconciliation/refund-retry", - "params": { "method": "POST" }, + "params": { + "method": "POST" + }, "onSuccess": [ { "handler": "setState", @@ -181,11 +299,16 @@ }, { "handler": "toast", - "params": { "type": "success", "message": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_retry_success" } + "params": { + "type": "success", + "message": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_retry_success" + } }, { "handler": "refetchDataSource", - "params": { "dataSourceId": "kginicis_cbt_reconciliation" } + "params": { + "dataSourceId": "kginicis_cbt_reconciliation" + } } ], "onError": [ @@ -199,11 +322,16 @@ }, { "handler": "toast", - "params": { "type": "error", "message": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_retry_error" } + "params": { + "type": "error", + "message": "$t:sirsoft-pay_kginicis.admin.cbt_reconciliation_retry_error" + } }, { "handler": "refetchDataSource", - "params": { "dataSourceId": "kginicis_cbt_reconciliation" } + "params": { + "dataSourceId": "kginicis_cbt_reconciliation" + } } ] } @@ -215,13 +343,19 @@ "type": "basic", "name": "Icon", "if": "{{_local._kginicisCbtRetrying}}", - "props": { "name": "spinner", "className": "w-3 h-3 animate-spin" } + "props": { + "name": "spinner", + "className": "text-xs animate-spin" + } }, { "type": "basic", "name": "Icon", "if": "{{!_local._kginicisCbtRetrying}}", - "props": { "name": "refresh-cw", "className": "w-3 h-3" } + "props": { + "name": "refresh-cw", + "className": "text-xs" + } }, { "type": "basic", @@ -241,7 +375,9 @@ "type": "basic", "name": "Span", "if": "{{_local._kginicisCbtRetryError}}", - "props": { "className": "text-info-soft" }, + "props": { + "className": "text-info-soft" + }, "text": "{{_local._kginicisCbtRetryError}}" } ] @@ -253,29 +389,40 @@ "type": "basic", "name": "Div", "if": "{{kginicis_cbt_cvs.data?.is_cbt_cvs === true}}", - "props": { "className": "mx-6 mb-3 px-3 py-3 bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-700 rounded-lg space-y-3" }, + "props": { + "className": "mx-6 mb-3 px-3 py-3 bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-700 rounded-lg space-y-3" + }, "children": [ { "type": "basic", "name": "Div", - "props": { "className": "flex-center flex-wrap gap-2" }, + "props": { + "className": "flex-center flex-wrap gap-2" + }, "children": [ { "type": "basic", "name": "Icon", - "props": { "name": "store", "className": "w-4 h-4 text-blue-600 dark:text-blue-400 flex-shrink-0" } + "props": { + "name": "store", + "className": "text-base text-blue-600 dark:text-blue-400 flex-shrink-0" + } }, { "type": "basic", "name": "Span", - "props": { "className": "text-sm font-semibold text-blue-900 dark:text-blue-200" }, + "props": { + "className": "text-sm font-semibold text-blue-900 dark:text-blue-200" + }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_ops_title" }, { "type": "basic", "name": "Span", "if": "{{kginicis_cbt_cvs.data?.is_test_mode === true}}", - "props": { "className": "px-2 py-0.5 rounded-full text-xs font-semibold bg-orange-100 dark:bg-orange-900/40 text-orange-800 dark:text-orange-200" }, + "props": { + "className": "px-2 py-0.5 rounded-full text-xs font-semibold bg-orange-100 dark:bg-orange-900/40 text-orange-800 dark:text-orange-200" + }, "text": "$t:sirsoft-pay_kginicis.admin.test_mode_badge" } ] @@ -283,53 +430,163 @@ { "type": "basic", "name": "P", - "props": { "className": "text-danger-soft leading-relaxed" }, + "props": { + "className": "text-danger-soft leading-relaxed" + }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_ops_description" }, { "type": "basic", "name": "Div", - "props": { "className": "grid grid-cols-[110px_1fr] sm:grid-cols-[130px_1fr_130px_1fr] gap-x-3 gap-y-1 text-xs" }, + "props": { + "className": "grid grid-cols-[110px_1fr] sm:grid-cols-[130px_1fr_130px_1fr] gap-x-3 gap-y-1 text-xs" + }, "children": [ - { "type": "basic", "name": "Span", "props": { "className": "text-info-soft" }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_payment_status" }, - { "type": "basic", "name": "Span", "props": { "className": "font-mono text-blue-950 dark:text-blue-100" }, "text": "{{kginicis_cbt_cvs.data?.payment_status ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-info-soft" }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_cvs_status" }, - { "type": "basic", "name": "Span", "props": { "className": "font-mono text-blue-950 dark:text-blue-100" }, "text": "{{kginicis_cbt_cvs.data?.cvs_status ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-info-soft" }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_amount" }, - { "type": "basic", "name": "Span", "props": { "className": "font-mono text-blue-950 dark:text-blue-100" }, "text": "{{(kginicis_cbt_cvs.data?.amount ?? '-') + ' ' + (kginicis_cbt_cvs.data?.currency ?? '')}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-info-soft" }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_due_at" }, - { "type": "basic", "name": "Span", "props": { "className": "font-mono text-blue-950 dark:text-blue-100" }, "text": "{{kginicis_cbt_cvs.data?.payment_term_formatted ?? kginicis_cbt_cvs.data?.payment_term ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-info-soft" }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_last_notify" }, - { "type": "basic", "name": "Span", "props": { "className": "font-mono text-blue-950 dark:text-blue-100 break-all" }, "text": "{{(kginicis_cbt_cvs.data?.last_notify_at ?? '-') + ' / ' + (kginicis_cbt_cvs.data?.last_notify_result ?? '-') + ' / ' + (kginicis_cbt_cvs.data?.last_notify_reason ?? '-')}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-info-soft" }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_last_recheck" }, - { "type": "basic", "name": "Span", "props": { "className": "font-mono text-blue-950 dark:text-blue-100 break-all" }, "text": "{{(kginicis_cbt_cvs.data?.last_recheck_at ?? '-') + ' / ' + (kginicis_cbt_cvs.data?.last_recheck_result ?? '-')}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-info-soft" }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_notify_url" }, - { "type": "basic", "name": "Span", "props": { "className": "font-mono text-blue-950 dark:text-blue-100 col-span-1 sm:col-span-3 break-all" }, "text": "{{kginicis_cbt_cvs.data?.notify_url ?? '-'}}" } + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-info-soft" + }, + "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_payment_status" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-mono text-blue-950 dark:text-blue-100" + }, + "text": "{{kginicis_cbt_cvs.data?.payment_status ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-info-soft" + }, + "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_cvs_status" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-mono text-blue-950 dark:text-blue-100" + }, + "text": "{{kginicis_cbt_cvs.data?.cvs_status ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-info-soft" + }, + "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_amount" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-mono text-blue-950 dark:text-blue-100" + }, + "text": "{{(kginicis_cbt_cvs.data?.amount ?? '-') + ' ' + (kginicis_cbt_cvs.data?.currency ?? '')}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-info-soft" + }, + "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_due_at" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-mono text-blue-950 dark:text-blue-100" + }, + "text": "{{kginicis_cbt_cvs.data?.payment_term_formatted ?? kginicis_cbt_cvs.data?.payment_term ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-info-soft" + }, + "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_last_notify" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-mono text-blue-950 dark:text-blue-100 break-all" + }, + "text": "{{(kginicis_cbt_cvs.data?.last_notify_at ?? '-') + ' / ' + (kginicis_cbt_cvs.data?.last_notify_result ?? '-') + ' / ' + (kginicis_cbt_cvs.data?.last_notify_reason ?? '-')}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-info-soft" + }, + "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_last_recheck" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-mono text-blue-950 dark:text-blue-100 break-all" + }, + "text": "{{(kginicis_cbt_cvs.data?.last_recheck_at ?? '-') + ' / ' + (kginicis_cbt_cvs.data?.last_recheck_result ?? '-')}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-info-soft" + }, + "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_notify_url" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-mono text-blue-950 dark:text-blue-100 col-span-1 sm:col-span-3 break-all" + }, + "text": "{{kginicis_cbt_cvs.data?.notify_url ?? '-'}}" + } ] }, { "type": "basic", "name": "Div", - "props": { "className": "space-y-1" }, + "props": { + "className": "space-y-1" + }, "children": [ { "type": "basic", "name": "Div", - "props": { "className": "text-xs font-semibold text-blue-900 dark:text-blue-200" }, + "props": { + "className": "text-xs font-semibold text-blue-900 dark:text-blue-200" + }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_history_title" }, { "type": "basic", "name": "Div", "if": "{{(kginicis_cbt_cvs.data?.notify_history ?? []).length === 0}}", - "props": { "className": "text-danger-soft" }, + "props": { + "className": "text-danger-soft" + }, "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_history_empty" }, { "type": "basic", "name": "Div", "if": "{{(kginicis_cbt_cvs.data?.notify_history ?? []).length > 0}}", - "props": { "className": "space-y-1" }, + "props": { + "className": "space-y-1" + }, "iteration": { "source": "{{kginicis_cbt_cvs.data?.notify_history ?? []}}", "item_var": "notify", @@ -339,12 +596,42 @@ { "type": "basic", "name": "Div", - "props": { "className": "grid grid-cols-[120px_1fr] sm:grid-cols-[150px_90px_1fr_80px] gap-x-2 gap-y-1 rounded-md bg-white/70 dark:bg-gray-900/30 px-2 py-1.5 text-[11px]" }, + "props": { + "className": "grid grid-cols-[120px_1fr] sm:grid-cols-[150px_90px_1fr_80px] gap-x-2 gap-y-1 rounded-md bg-white/70 dark:bg-gray-900/30 px-2 py-1.5 text-[11px]" + }, "children": [ - { "type": "basic", "name": "Span", "props": { "className": "font-mono text-blue-950 dark:text-blue-100" }, "text": "{{notify.received_at ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-danger-soft" }, "text": "{{notify.result ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "font-mono text-blue-950 dark:text-blue-100 break-all" }, "text": "{{(notify.reason ?? '-') + ' / ' + (notify.tid ?? '-')}}" }, - { "type": "basic", "name": "Span", "props": { "className": "font-mono text-blue-950 dark:text-blue-100" }, "text": "{{(notify.amount ?? '-') + ' ' + (notify.currency ?? '')}}" } + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-mono text-blue-950 dark:text-blue-100" + }, + "text": "{{notify.received_at ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-danger-soft" + }, + "text": "{{notify.result ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-mono text-blue-950 dark:text-blue-100 break-all" + }, + "text": "{{(notify.reason ?? '-') + ' / ' + (notify.tid ?? '-')}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-mono text-blue-950 dark:text-blue-100" + }, + "text": "{{(notify.amount ?? '-') + ' ' + (notify.currency ?? '')}}" + } ] } ] @@ -354,7 +641,9 @@ { "type": "basic", "name": "Div", - "props": { "className": "flex-center flex-wrap gap-2" }, + "props": { + "className": "flex-center flex-wrap gap-2" + }, "children": [ { "id": "kginicis_cbt_cvs_recheck_button", @@ -381,26 +670,88 @@ "handler": "apiCall", "auth_required": true, "target": "/api/plugins/sirsoft-pay_kginicis/admin/orders/{{route.orderNumber}}/cbt-cvs/recheck", - "params": { "method": "POST" }, + "params": { + "method": "POST" + }, "onSuccess": [ - { "handler": "setState", "params": { "target": "local", "_kginicisCvsRechecking": false } }, - { "handler": "toast", "params": { "type": "success", "message": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_recheck_success" } }, - { "handler": "refetchDataSource", "params": { "dataSourceId": "kginicis_cbt_cvs" } } + { + "handler": "setState", + "params": { + "target": "local", + "_kginicisCvsRechecking": false + } + }, + { + "handler": "toast", + "params": { + "type": "success", + "message": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_recheck_success" + } + }, + { + "handler": "refetchDataSource", + "params": { + "dataSourceId": "kginicis_cbt_cvs" + } + } ], "onError": [ - { "handler": "setState", "params": { "target": "local", "_kginicisCvsRechecking": false } }, - { "handler": "toast", "params": { "type": "error", "message": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_action_error" } }, - { "handler": "refetchDataSource", "params": { "dataSourceId": "kginicis_cbt_cvs" } } + { + "handler": "setState", + "params": { + "target": "local", + "_kginicisCvsRechecking": false + } + }, + { + "handler": "toast", + "params": { + "type": "error", + "message": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_action_error" + } + }, + { + "handler": "refetchDataSource", + "params": { + "dataSourceId": "kginicis_cbt_cvs" + } + } ] } ] } ], "children": [ - { "type": "basic", "name": "Icon", "if": "{{_local._kginicisCvsRechecking}}", "props": { "name": "spinner", "className": "w-3 h-3 animate-spin" } }, - { "type": "basic", "name": "Icon", "if": "{{!_local._kginicisCvsRechecking}}", "props": { "name": "refresh-cw", "className": "w-3 h-3" } }, - { "type": "basic", "name": "Span", "if": "{{_local._kginicisCvsRechecking}}", "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_rechecking" }, - { "type": "basic", "name": "Span", "if": "{{!_local._kginicisCvsRechecking}}", "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_recheck_button" } + { + "type": "basic", + "name": "Icon", + "if": "{{_local._kginicisCvsRechecking}}", + "props": { + "name": "spinner", + "className": "text-xs animate-spin" + } + }, + { + "type": "basic", + "name": "Icon", + "if": "{{!_local._kginicisCvsRechecking}}", + "props": { + "name": "refresh-cw", + "className": "text-xs" + } + }, + { + "type": "basic", + "name": "Span", + "if": "{{_local._kginicisCvsRechecking}}", + "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_rechecking" + }, + { + "type": "basic", + "name": "Span", + "if": "{{!_local._kginicisCvsRechecking}}", + "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_recheck_button" + } ] }, { @@ -418,33 +769,111 @@ "type": "click", "handler": "sequence", "actions": [ - { "handler": "setState", "params": { "target": "local", "_kginicisCvsSimulating": true } }, + { + "handler": "setState", + "params": { + "target": "local", + "_kginicisCvsSimulating": true + } + }, { "handler": "apiCall", "auth_required": true, "target": "/api/plugins/sirsoft-pay_kginicis/admin/orders/{{route.orderNumber}}/cbt-cvs/simulate-notify", - "params": { "method": "POST" }, + "params": { + "method": "POST" + }, "onSuccess": [ - { "handler": "setState", "params": { "target": "local", "_kginicisCvsSimulating": false } }, - { "handler": "toast", "params": { "type": "success", "message": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_simulate_success" } }, - { "handler": "refetchDataSource", "params": { "dataSourceId": "kginicis_cbt_cvs" } }, - { "handler": "refetchDataSource", "params": { "dataSourceId": "order" } }, - { "handler": "refetchDataSource", "params": { "dataSourceId": "kginicis_status" } } + { + "handler": "setState", + "params": { + "target": "local", + "_kginicisCvsSimulating": false + } + }, + { + "handler": "toast", + "params": { + "type": "success", + "message": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_simulate_success" + } + }, + { + "handler": "refetchDataSource", + "params": { + "dataSourceId": "kginicis_cbt_cvs" + } + }, + { + "handler": "refetchDataSource", + "params": { + "dataSourceId": "order" + } + }, + { + "handler": "refetchDataSource", + "params": { + "dataSourceId": "kginicis_status" + } + } ], "onError": [ - { "handler": "setState", "params": { "target": "local", "_kginicisCvsSimulating": false } }, - { "handler": "toast", "params": { "type": "error", "message": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_action_error" } }, - { "handler": "refetchDataSource", "params": { "dataSourceId": "kginicis_cbt_cvs" } } + { + "handler": "setState", + "params": { + "target": "local", + "_kginicisCvsSimulating": false + } + }, + { + "handler": "toast", + "params": { + "type": "error", + "message": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_action_error" + } + }, + { + "handler": "refetchDataSource", + "params": { + "dataSourceId": "kginicis_cbt_cvs" + } + } ] } ] } ], "children": [ - { "type": "basic", "name": "Icon", "if": "{{_local._kginicisCvsSimulating}}", "props": { "name": "spinner", "className": "w-3 h-3 animate-spin" } }, - { "type": "basic", "name": "Icon", "if": "{{!_local._kginicisCvsSimulating}}", "props": { "name": "check-circle-2", "className": "w-3 h-3" } }, - { "type": "basic", "name": "Span", "if": "{{_local._kginicisCvsSimulating}}", "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_simulating" }, - { "type": "basic", "name": "Span", "if": "{{!_local._kginicisCvsSimulating}}", "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_simulate_button" } + { + "type": "basic", + "name": "Icon", + "if": "{{_local._kginicisCvsSimulating}}", + "props": { + "name": "spinner", + "className": "text-xs animate-spin" + } + }, + { + "type": "basic", + "name": "Icon", + "if": "{{!_local._kginicisCvsSimulating}}", + "props": { + "name": "check-circle-2", + "className": "text-xs" + } + }, + { + "type": "basic", + "name": "Span", + "if": "{{_local._kginicisCvsSimulating}}", + "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_simulating" + }, + { + "type": "basic", + "name": "Span", + "if": "{{!_local._kginicisCvsSimulating}}", + "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_simulate_button" + } ] }, { @@ -462,32 +891,105 @@ "type": "click", "handler": "sequence", "actions": [ - { "handler": "setState", "params": { "target": "local", "_kginicisCvsExpiring": true } }, + { + "handler": "setState", + "params": { + "target": "local", + "_kginicisCvsExpiring": true + } + }, { "handler": "apiCall", "auth_required": true, "target": "/api/plugins/sirsoft-pay_kginicis/admin/orders/{{route.orderNumber}}/cbt-cvs/expire", - "params": { "method": "POST" }, + "params": { + "method": "POST" + }, "onSuccess": [ - { "handler": "setState", "params": { "target": "local", "_kginicisCvsExpiring": false } }, - { "handler": "toast", "params": { "type": "success", "message": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_expire_success" } }, - { "handler": "refetchDataSource", "params": { "dataSourceId": "kginicis_cbt_cvs" } }, - { "handler": "refetchDataSource", "params": { "dataSourceId": "order" } } + { + "handler": "setState", + "params": { + "target": "local", + "_kginicisCvsExpiring": false + } + }, + { + "handler": "toast", + "params": { + "type": "success", + "message": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_expire_success" + } + }, + { + "handler": "refetchDataSource", + "params": { + "dataSourceId": "kginicis_cbt_cvs" + } + }, + { + "handler": "refetchDataSource", + "params": { + "dataSourceId": "order" + } + } ], "onError": [ - { "handler": "setState", "params": { "target": "local", "_kginicisCvsExpiring": false } }, - { "handler": "toast", "params": { "type": "error", "message": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_action_error" } }, - { "handler": "refetchDataSource", "params": { "dataSourceId": "kginicis_cbt_cvs" } } + { + "handler": "setState", + "params": { + "target": "local", + "_kginicisCvsExpiring": false + } + }, + { + "handler": "toast", + "params": { + "type": "error", + "message": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_action_error" + } + }, + { + "handler": "refetchDataSource", + "params": { + "dataSourceId": "kginicis_cbt_cvs" + } + } ] } ] } ], "children": [ - { "type": "basic", "name": "Icon", "if": "{{_local._kginicisCvsExpiring}}", "props": { "name": "spinner", "className": "w-3 h-3 animate-spin" } }, - { "type": "basic", "name": "Icon", "if": "{{!_local._kginicisCvsExpiring}}", "props": { "name": "clock", "className": "w-3 h-3" } }, - { "type": "basic", "name": "Span", "if": "{{_local._kginicisCvsExpiring}}", "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_expiring" }, - { "type": "basic", "name": "Span", "if": "{{!_local._kginicisCvsExpiring}}", "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_expire_button" } + { + "type": "basic", + "name": "Icon", + "if": "{{_local._kginicisCvsExpiring}}", + "props": { + "name": "spinner", + "className": "text-xs animate-spin" + } + }, + { + "type": "basic", + "name": "Icon", + "if": "{{!_local._kginicisCvsExpiring}}", + "props": { + "name": "clock", + "className": "text-xs" + } + }, + { + "type": "basic", + "name": "Span", + "if": "{{_local._kginicisCvsExpiring}}", + "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_expiring" + }, + { + "type": "basic", + "name": "Span", + "if": "{{!_local._kginicisCvsExpiring}}", + "text": "$t:sirsoft-pay_kginicis.admin.cbt_cvs_expire_button" + } ] } ] @@ -513,32 +1015,42 @@ "id": "kginicis_verify_header", "type": "basic", "name": "Div", - "props": { "className": "flex-center gap-2 mb-4" }, + "props": { + "className": "flex-center gap-2 mb-4" + }, "children": [ { "type": "basic", "name": "Div", - "props": { "className": "w-1.5 h-4 bg-blue-500 rounded-full flex-shrink-0" } + "props": { + "className": "w-1.5 h-4 bg-blue-500 rounded-full flex-shrink-0" + } }, { "type": "basic", "name": "H3", - "props": { "className": "text-sm font-semibold text-gray-800 dark:text-gray-200" }, + "props": { + "className": "text-sm font-semibold text-gray-800 dark:text-gray-200" + }, "text": "$t:sirsoft-pay_kginicis.admin.order_verify_title" }, { "type": "basic", "name": "Span", - "props": { "className": "text-hint hidden sm:inline" }, + "props": { + "className": "text-hint hidden sm:inline" + }, "text": "$t:sirsoft-pay_kginicis.admin.order_verify_description" } ] }, { - "id": "kginicis_payments_list", + "id": "kginicis_payments_list_{{pIdx}}", "type": "basic", "name": "Div", - "props": { "className": "space-y-3" }, + "props": { + "className": "space-y-3" + }, "iteration": { "source": "{{order.data?.payments?.filter(p => p.transaction_id && p.pg_provider === 'kginicis') ?? []}}", "item_var": "payment", @@ -548,28 +1060,38 @@ { "type": "basic", "name": "Div", - "props": { "className": "rounded-lg border border-gray-100 dark:border-gray-700 p-3 bg-gray-50 dark:bg-gray-800/50" }, + "props": { + "className": "rounded-lg border border-gray-100 dark:border-gray-700 p-3 bg-gray-50 dark:bg-gray-800/50" + }, "children": [ { "type": "basic", "name": "Div", - "props": { "className": "flex-center flex-wrap gap-3" }, + "props": { + "className": "flex-center flex-wrap gap-3" + }, "children": [ { "type": "basic", "name": "Div", - "props": { "className": "flex-1 min-w-0" }, + "props": { + "className": "flex-1 min-w-0" + }, "children": [ { "type": "basic", "name": "Span", - "props": { "className": "text-tertiary block mb-0.5" }, + "props": { + "className": "text-tertiary block mb-0.5" + }, "text": "TID" }, { "type": "basic", "name": "Span", - "props": { "className": "font-mono text-xs text-gray-900 dark:text-gray-100 break-all block" }, + "props": { + "className": "font-mono text-xs text-gray-900 dark:text-gray-100 break-all block" + }, "text": "{{payment.transaction_id}}" } ] @@ -635,7 +1157,10 @@ "type": "basic", "name": "Icon", "if": "{{_local._kginicisQuerying && _local._kginicisActiveTid === payment.transaction_id}}", - "props": { "name": "spinner", "className": "w-3 h-3 animate-spin" } + "props": { + "name": "spinner", + "className": "text-xs animate-spin" + } }, { "type": "basic", @@ -650,52 +1175,69 @@ "type": "basic", "name": "Div", "if": "{{_local._kginicisActiveTid === payment.transaction_id && _local._kginicisError}}", - "props": { "className": "mt-2 text-xs text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-900/20 rounded px-2 py-1.5" }, + "props": { + "className": "mt-2 text-xs text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-900/20 rounded px-2 py-1.5" + }, "text": "{{_local._kginicisError}}" }, { - "id": "kginicis_verify_result", + "id": "kginicis_verify_result_{{pIdx}}", "type": "basic", "name": "Div", "if": "{{(_local._kginicisActiveTid === payment.transaction_id && _local._kginicisResult) || kginicis_status.data}}", - "props": { "className": "mt-3 pt-3" }, + "props": { + "className": "mt-3 pt-3" + }, "children": [ { "type": "basic", "name": "Div", - "props": { "className": "flex-center flex-wrap gap-2 mb-3" }, + "props": { + "className": "flex-center flex-wrap gap-2 mb-3" + }, "children": [ { "type": "basic", "name": "Span", "if": "{{((_local._kginicisResult ?? kginicis_status.data)?.resultCode === '00') || ((_local._kginicisResult ?? kginicis_status.data)?.resultCode === 'SUCCESS')}}", - "props": { "className": "inline-flex items-center px-2 py-0.5 rounded-full text-xs font-semibold bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300" }, + "props": { + "className": "inline-flex items-center px-2 py-0.5 rounded-full text-xs font-semibold bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300" + }, "text": "$t:sirsoft-pay_kginicis.admin.pay_status_approved" }, { "type": "basic", "name": "Span", "if": "{{((_local._kginicisResult ?? kginicis_status.data)?.resultCode !== '00') && ((_local._kginicisResult ?? kginicis_status.data)?.resultCode !== 'SUCCESS')}}", - "props": { "className": "inline-flex items-center px-2 py-0.5 rounded-full text-xs font-semibold bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-300" }, + "props": { + "className": "inline-flex items-center px-2 py-0.5 rounded-full text-xs font-semibold bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-300" + }, "text": "$t:sirsoft-pay_kginicis.admin.pay_status_unknown" }, { "type": "basic", "name": "Span", "if": "{{(_local._kginicisResult ?? kginicis_status.data)?._cancel_price && Number((_local._kginicisResult ?? kginicis_status.data)._cancel_price) > 0}}", - "props": { "className": "inline-flex items-center px-2 py-0.5 rounded-full text-xs font-semibold bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-300" }, + "props": { + "className": "inline-flex items-center px-2 py-0.5 rounded-full text-xs font-semibold bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-300" + }, "text": "$t:sirsoft-pay_kginicis.admin.pay_status_cancelled" }, { "type": "basic", "name": "Span", "if": "{{(_local._kginicisResult ?? kginicis_status.data)?._local_is_escrow === true}}", - "props": { "className": "inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-xs font-semibold bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300" }, + "props": { + "className": "inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-xs font-semibold bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300" + }, "children": [ { "type": "basic", "name": "Icon", - "props": { "name": "shield-check", "className": "w-3 h-3" } + "props": { + "name": "shield-check", + "className": "text-xs" + } }, { "type": "basic", @@ -708,7 +1250,9 @@ "type": "basic", "name": "Span", "if": "{{(_local._kginicisResult ?? kginicis_status.data)?._is_test_mode === true}}", - "props": { "className": "inline-flex items-center px-2 py-0.5 rounded-full text-xs font-semibold bg-orange-100 text-orange-800 dark:bg-orange-900/30 dark:text-orange-300" }, + "props": { + "className": "inline-flex items-center px-2 py-0.5 rounded-full text-xs font-semibold bg-orange-100 text-orange-800 dark:bg-orange-900/30 dark:text-orange-300" + }, "text": "$t:sirsoft-pay_kginicis.admin.test_mode_badge" } ] @@ -716,44 +1260,211 @@ { "type": "basic", "name": "Div", - "props": { "className": "grid grid-cols-[120px_1fr] sm:grid-cols-[140px_1fr_140px_1fr] gap-x-4 gap-y-1.5 text-xs" }, + "props": { + "className": "grid grid-cols-[120px_1fr] sm:grid-cols-[140px_1fr_140px_1fr] gap-x-4 gap-y-1.5 text-xs" + }, "children": [ - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_pay_method" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100 font-medium" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._pay_method_label ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_total_price" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100 font-mono" }, "text": "{{((_local._kginicisResult ?? kginicis_status.data)?._total_price ?? '-') + ' ' + ((_local._kginicisResult ?? kginicis_status.data)?._currency ?? '')}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_auth_code" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100 font-mono" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._auth_code ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_auth_date" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100 font-mono" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._auth_date ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_moid" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100 font-mono" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._moid ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_inquiry_at" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100 font-mono" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._inquiry_at ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_result_code" }, - { "type": "basic", "name": "Span", "props": { "className": "font-mono text-gray-900 dark:text-gray-100 col-span-1 sm:col-span-3" }, "text": "{{((_local._kginicisResult ?? kginicis_status.data)?.resultCode ?? '') + ' ' + ((_local._kginicisResult ?? kginicis_status.data)?.resultMsg ?? '')}}" } + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_pay_method" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100 font-medium" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._pay_method_label ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_total_price" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100 font-mono" + }, + "text": "{{((_local._kginicisResult ?? kginicis_status.data)?._total_price ?? '-') + ' ' + ((_local._kginicisResult ?? kginicis_status.data)?._currency ?? '')}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_auth_code" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100 font-mono" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._auth_code ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_auth_date" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100 font-mono" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._auth_date ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_moid" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100 font-mono" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._moid ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_inquiry_at" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100 font-mono" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._inquiry_at ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_result_code" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "font-mono text-gray-900 dark:text-gray-100 col-span-1 sm:col-span-3" + }, + "text": "{{((_local._kginicisResult ?? kginicis_status.data)?.resultCode ?? '') + ' ' + ((_local._kginicisResult ?? kginicis_status.data)?.resultMsg ?? '')}}" + } ] }, { "type": "basic", "name": "Div", "if": "{{['Card','WCard','card','wcard'].includes((_local._kginicisResult ?? kginicis_status.data)?._pay_method ?? '')}}", - "props": { "className": "mt-3 pt-3 border-t border-dashed border-gray-200 dark:border-gray-700" }, + "props": { + "className": "mt-3 pt-3 border-t border-dashed border-gray-200 dark:border-gray-700" + }, "children": [ - { "type": "basic", "name": "Div", "props": { "className": "text-xs font-semibold text-gray-700 dark:text-gray-300 mb-2" }, "text": "$t:sirsoft-pay_kginicis.admin.section_card" }, { "type": "basic", "name": "Div", - "props": { "className": "grid grid-cols-[120px_1fr] sm:grid-cols-[140px_1fr_140px_1fr] gap-x-4 gap-y-1.5 text-xs" }, + "props": { + "className": "text-xs font-semibold text-gray-700 dark:text-gray-300 mb-2" + }, + "text": "$t:sirsoft-pay_kginicis.admin.section_card" + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "grid grid-cols-[120px_1fr] sm:grid-cols-[140px_1fr_140px_1fr] gap-x-4 gap-y-1.5 text-xs" + }, "children": [ - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_card_name" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._card_name ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_card_num" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100 font-mono" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._card_num ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_card_quota" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._card_quota ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_card_interest" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._card_interest ?? '-'}}" } + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_card_name" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._card_name ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_card_num" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100 font-mono" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._card_num ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_card_quota" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._card_quota ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_card_interest" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._card_interest ?? '-'}}" + } ] } ] @@ -762,26 +1473,41 @@ "type": "basic", "name": "Div", "if": "{{['VBank','vbank'].includes((_local._kginicisResult ?? kginicis_status.data)?._pay_method ?? '') || (_local._kginicisResult ?? kginicis_status.data)?._vbank_num}}", - "props": { "className": "mt-3 pt-3 border-t border-dashed border-gray-200 dark:border-gray-700" }, + "props": { + "className": "mt-3 pt-3 border-t border-dashed border-gray-200 dark:border-gray-700" + }, "children": [ { "type": "basic", "name": "Div", - "props": { "className": "flex-center gap-2 mb-2" }, + "props": { + "className": "flex-center gap-2 mb-2" + }, "children": [ - { "type": "basic", "name": "Span", "props": { "className": "text-xs font-semibold text-gray-700 dark:text-gray-300" }, "text": "$t:sirsoft-pay_kginicis.admin.section_vbank" }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-xs font-semibold text-gray-700 dark:text-gray-300" + }, + "text": "$t:sirsoft-pay_kginicis.admin.section_vbank" + }, { "type": "basic", "name": "Span", "if": "{{(_local._kginicisResult ?? kginicis_status.data)?._vbank_status === '1'}}", - "props": { "className": "inline-flex items-center px-2 py-0.5 rounded-full text-[10px] font-semibold bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300" }, + "props": { + "className": "inline-flex items-center px-2 py-0.5 rounded-full text-[10px] font-semibold bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300" + }, "text": "$t:sirsoft-pay_kginicis.admin.vbank_status_paid" }, { "type": "basic", "name": "Span", "if": "{{(_local._kginicisResult ?? kginicis_status.data)?._vbank_status === '0' || !(_local._kginicisResult ?? kginicis_status.data)?._vbank_status}}", - "props": { "className": "inline-flex items-center px-2 py-0.5 rounded-full text-[10px] font-semibold bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-300" }, + "props": { + "className": "inline-flex items-center px-2 py-0.5 rounded-full text-[10px] font-semibold bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-300" + }, "text": "$t:sirsoft-pay_kginicis.admin.vbank_status_unpaid" } ] @@ -789,18 +1515,92 @@ { "type": "basic", "name": "Div", - "props": { "className": "grid grid-cols-[120px_1fr] sm:grid-cols-[140px_1fr_140px_1fr] gap-x-4 gap-y-1.5 text-xs" }, + "props": { + "className": "grid grid-cols-[120px_1fr] sm:grid-cols-[140px_1fr_140px_1fr] gap-x-4 gap-y-1.5 text-xs" + }, "children": [ - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_vbank_bank_name" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100" }, "text": "{{((_local._kginicisResult ?? kginicis_status.data)?._vbank_bank_name ?? '-') + ' (' + ((_local._kginicisResult ?? kginicis_status.data)?._vbank_bank_code ?? '') + ')'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_vbank_num" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100 font-mono" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._vbank_num ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_vbank_holder" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._vbank_holder ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_vbank_expire_date" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100 font-mono" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._vbank_expire_date ?? '-'}}" }, - { "type": "basic", "name": "Span", "if": "{{(_local._kginicisResult ?? kginicis_status.data)?._vbank_paid_at}}", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_vbank_paid_at" }, - { "type": "basic", "name": "Span", "if": "{{(_local._kginicisResult ?? kginicis_status.data)?._vbank_paid_at}}", "props": { "className": "text-gray-900 dark:text-gray-100 font-mono" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._vbank_paid_at ?? '-'}}" } + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_vbank_bank_name" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100" + }, + "text": "{{((_local._kginicisResult ?? kginicis_status.data)?._vbank_bank_name ?? '-') + ' (' + ((_local._kginicisResult ?? kginicis_status.data)?._vbank_bank_code ?? '') + ')'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_vbank_num" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100 font-mono" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._vbank_num ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_vbank_holder" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._vbank_holder ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_vbank_expire_date" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100 font-mono" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._vbank_expire_date ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "if": "{{(_local._kginicisResult ?? kginicis_status.data)?._vbank_paid_at}}", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_vbank_paid_at" + }, + { + "type": "basic", + "name": "Span", + "if": "{{(_local._kginicisResult ?? kginicis_status.data)?._vbank_paid_at}}", + "props": { + "className": "text-gray-900 dark:text-gray-100 font-mono" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._vbank_paid_at ?? '-'}}" + } ] } ] @@ -809,18 +1609,57 @@ "type": "basic", "name": "Div", "if": "{{['DirectBank','iniBank','directbank','inibank','BankTransfer','banktransfer'].includes((_local._kginicisResult ?? kginicis_status.data)?._pay_method ?? '') || (_local._kginicisResult ?? kginicis_status.data)?._bank_acnt_num}}", - "props": { "className": "mt-3 pt-3 border-t border-dashed border-gray-200 dark:border-gray-700" }, + "props": { + "className": "mt-3 pt-3 border-t border-dashed border-gray-200 dark:border-gray-700" + }, "children": [ - { "type": "basic", "name": "Div", "props": { "className": "text-xs font-semibold text-gray-700 dark:text-gray-300 mb-2" }, "text": "$t:sirsoft-pay_kginicis.admin.section_directbank" }, { "type": "basic", "name": "Div", - "props": { "className": "grid grid-cols-[120px_1fr] sm:grid-cols-[140px_1fr_140px_1fr] gap-x-4 gap-y-1.5 text-xs" }, + "props": { + "className": "text-xs font-semibold text-gray-700 dark:text-gray-300 mb-2" + }, + "text": "$t:sirsoft-pay_kginicis.admin.section_directbank" + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "grid grid-cols-[120px_1fr] sm:grid-cols-[140px_1fr_140px_1fr] gap-x-4 gap-y-1.5 text-xs" + }, "children": [ - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_bank_name" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100" }, "text": "{{((_local._kginicisResult ?? kginicis_status.data)?._bank_name ?? '-') + ' (' + ((_local._kginicisResult ?? kginicis_status.data)?._bank_code ?? '') + ')'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_bank_acnt_num" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100 font-mono" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._bank_acnt_num ?? '-'}}" } + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_bank_name" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100" + }, + "text": "{{((_local._kginicisResult ?? kginicis_status.data)?._bank_name ?? '-') + ' (' + ((_local._kginicisResult ?? kginicis_status.data)?._bank_code ?? '') + ')'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_bank_acnt_num" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100 font-mono" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._bank_acnt_num ?? '-'}}" + } ] } ] @@ -829,18 +1668,57 @@ "type": "basic", "name": "Div", "if": "{{['HPP','Mobile','hpp','mobile'].includes((_local._kginicisResult ?? kginicis_status.data)?._pay_method ?? '') || (_local._kginicisResult ?? kginicis_status.data)?._hpp_num}}", - "props": { "className": "mt-3 pt-3 border-t border-dashed border-gray-200 dark:border-gray-700" }, + "props": { + "className": "mt-3 pt-3 border-t border-dashed border-gray-200 dark:border-gray-700" + }, "children": [ - { "type": "basic", "name": "Div", "props": { "className": "text-xs font-semibold text-gray-700 dark:text-gray-300 mb-2" }, "text": "$t:sirsoft-pay_kginicis.admin.section_hpp" }, { "type": "basic", "name": "Div", - "props": { "className": "grid grid-cols-[120px_1fr] sm:grid-cols-[140px_1fr_140px_1fr] gap-x-4 gap-y-1.5 text-xs" }, + "props": { + "className": "text-xs font-semibold text-gray-700 dark:text-gray-300 mb-2" + }, + "text": "$t:sirsoft-pay_kginicis.admin.section_hpp" + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "grid grid-cols-[120px_1fr] sm:grid-cols-[140px_1fr_140px_1fr] gap-x-4 gap-y-1.5 text-xs" + }, "children": [ - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_hpp_num" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100 font-mono" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._hpp_num ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_hpp_corp" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._hpp_corp ?? '-'}}" } + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_hpp_num" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100 font-mono" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._hpp_num ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_hpp_corp" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._hpp_corp ?? '-'}}" + } ] } ] @@ -849,20 +1727,73 @@ "type": "basic", "name": "Div", "if": "{{(_local._kginicisResult ?? kginicis_status.data)?._buyer_name || (_local._kginicisResult ?? kginicis_status.data)?._buyer_email || (_local._kginicisResult ?? kginicis_status.data)?._buyer_tel}}", - "props": { "className": "mt-3 pt-3 border-t border-dashed border-gray-200 dark:border-gray-700" }, + "props": { + "className": "mt-3 pt-3 border-t border-dashed border-gray-200 dark:border-gray-700" + }, "children": [ - { "type": "basic", "name": "Div", "props": { "className": "text-xs font-semibold text-gray-700 dark:text-gray-300 mb-2" }, "text": "$t:sirsoft-pay_kginicis.admin.section_buyer" }, { "type": "basic", "name": "Div", - "props": { "className": "grid grid-cols-[120px_1fr] sm:grid-cols-[140px_1fr_140px_1fr] gap-x-4 gap-y-1.5 text-xs" }, + "props": { + "className": "text-xs font-semibold text-gray-700 dark:text-gray-300 mb-2" + }, + "text": "$t:sirsoft-pay_kginicis.admin.section_buyer" + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "grid grid-cols-[120px_1fr] sm:grid-cols-[140px_1fr_140px_1fr] gap-x-4 gap-y-1.5 text-xs" + }, "children": [ - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_buyer_name" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._buyer_name ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_buyer_email" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._buyer_email ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_buyer_tel" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100 font-mono" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._buyer_tel ?? '-'}}" } + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_buyer_name" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._buyer_name ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_buyer_email" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._buyer_email ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_buyer_tel" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100 font-mono" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._buyer_tel ?? '-'}}" + } ] } ] @@ -871,18 +1802,57 @@ "type": "basic", "name": "Div", "if": "{{(_local._kginicisResult ?? kginicis_status.data)?._cancel_price && Number((_local._kginicisResult ?? kginicis_status.data)._cancel_price) > 0}}", - "props": { "className": "mt-3 pt-3 border-t border-dashed border-gray-200 dark:border-gray-700" }, + "props": { + "className": "mt-3 pt-3 border-t border-dashed border-gray-200 dark:border-gray-700" + }, "children": [ - { "type": "basic", "name": "Div", "props": { "className": "text-xs font-semibold text-gray-700 dark:text-gray-300 mb-2" }, "text": "$t:sirsoft-pay_kginicis.admin.section_cancel" }, { "type": "basic", "name": "Div", - "props": { "className": "grid grid-cols-[120px_1fr] sm:grid-cols-[140px_1fr_140px_1fr] gap-x-4 gap-y-1.5 text-xs" }, + "props": { + "className": "text-xs font-semibold text-gray-700 dark:text-gray-300 mb-2" + }, + "text": "$t:sirsoft-pay_kginicis.admin.section_cancel" + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "grid grid-cols-[120px_1fr] sm:grid-cols-[140px_1fr_140px_1fr] gap-x-4 gap-y-1.5 text-xs" + }, "children": [ - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_cancel_price" }, - { "type": "basic", "name": "Span", "props": { "className": "text-danger-soft font-mono font-semibold" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._cancel_price ?? '-'}}" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-500 dark:text-gray-400" }, "text": "$t:sirsoft-pay_kginicis.admin.result_cancel_date" }, - { "type": "basic", "name": "Span", "props": { "className": "text-gray-900 dark:text-gray-100 font-mono" }, "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._cancel_date ?? '-'}}" } + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_cancel_price" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-danger-soft font-mono font-semibold" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._cancel_price ?? '-'}}" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_cancel_date" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-gray-900 dark:text-gray-100 font-mono" + }, + "text": "{{(_local._kginicisResult ?? kginicis_status.data)?._cancel_date ?? '-'}}" + } ] } ] @@ -891,18 +1861,31 @@ "type": "basic", "name": "Div", "if": "{{((_local._kginicisResult ?? kginicis_status.data)?._part_cancel_list ?? []).length > 0}}", - "props": { "className": "mt-3 pt-3 border-t border-dashed border-gray-200 dark:border-gray-700" }, + "props": { + "className": "mt-3 pt-3 border-t border-dashed border-gray-200 dark:border-gray-700" + }, "children": [ - { "type": "basic", "name": "Div", "props": { "className": "text-xs font-semibold text-gray-700 dark:text-gray-300 mb-2" }, "text": "$t:sirsoft-pay_kginicis.admin.section_part_cancel_list" }, { "type": "basic", "name": "Div", - "props": { "className": "overflow-x-auto" }, + "props": { + "className": "text-xs font-semibold text-gray-700 dark:text-gray-300 mb-2" + }, + "text": "$t:sirsoft-pay_kginicis.admin.section_part_cancel_list" + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "overflow-x-auto" + }, "children": [ { "type": "basic", "name": "Table", - "props": { "className": "w-full text-xs border border-gray-200 dark:border-gray-700 rounded" }, + "props": { + "className": "w-full text-xs border border-gray-200 dark:border-gray-700 rounded" + }, "children": [ { "type": "basic", @@ -911,12 +1894,42 @@ { "type": "basic", "name": "Tr", - "props": { "className": "bg-gray-100 dark:bg-gray-800" }, + "props": { + "className": "bg-gray-100 dark:bg-gray-800" + }, "children": [ - { "type": "basic", "name": "Th", "props": { "className": "px-2 py-1.5 text-left text-gray-600 dark:text-gray-300 font-medium" }, "text": "#" }, - { "type": "basic", "name": "Th", "props": { "className": "px-2 py-1.5 text-left text-gray-600 dark:text-gray-300 font-medium" }, "text": "$t:sirsoft-pay_kginicis.admin.result_cancel_price" }, - { "type": "basic", "name": "Th", "props": { "className": "px-2 py-1.5 text-left text-gray-600 dark:text-gray-300 font-medium" }, "text": "$t:sirsoft-pay_kginicis.admin.result_cancel_date" }, - { "type": "basic", "name": "Th", "props": { "className": "px-2 py-1.5 text-left text-gray-600 dark:text-gray-300 font-medium" }, "text": "$t:sirsoft-pay_kginicis.admin.result_cancel_msg" } + { + "type": "basic", + "name": "Th", + "props": { + "className": "px-2 py-1.5 text-left text-gray-600 dark:text-gray-300 font-medium" + }, + "text": "#" + }, + { + "type": "basic", + "name": "Th", + "props": { + "className": "px-2 py-1.5 text-left text-gray-600 dark:text-gray-300 font-medium" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_cancel_price" + }, + { + "type": "basic", + "name": "Th", + "props": { + "className": "px-2 py-1.5 text-left text-gray-600 dark:text-gray-300 font-medium" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_cancel_date" + }, + { + "type": "basic", + "name": "Th", + "props": { + "className": "px-2 py-1.5 text-left text-gray-600 dark:text-gray-300 font-medium" + }, + "text": "$t:sirsoft-pay_kginicis.admin.result_cancel_msg" + } ] } ] @@ -933,12 +1946,42 @@ "item_var": "pcItem", "index_var": "pcIdx" }, - "props": { "className": "border-t border-gray-100 dark:border-gray-700" }, + "props": { + "className": "border-t border-gray-100 dark:border-gray-700" + }, "children": [ - { "type": "basic", "name": "Td", "props": { "className": "px-2 py-1.5 text-gray-500 dark:text-gray-400 font-mono" }, "text": "{{pcIdx + 1}}" }, - { "type": "basic", "name": "Td", "props": { "className": "px-2 py-1.5text-danger-soft font-mono" }, "text": "{{pcItem.price ?? '-'}}" }, - { "type": "basic", "name": "Td", "props": { "className": "px-2 py-1.5 text-gray-900 dark:text-gray-100 font-mono" }, "text": "{{pcItem.date ?? '-'}}" }, - { "type": "basic", "name": "Td", "props": { "className": "px-2 py-1.5 text-gray-700 dark:text-gray-300" }, "text": "{{pcItem.msg ?? '-'}}" } + { + "type": "basic", + "name": "Td", + "props": { + "className": "px-2 py-1.5 text-gray-500 dark:text-gray-400 font-mono" + }, + "text": "{{pcIdx + 1}}" + }, + { + "type": "basic", + "name": "Td", + "props": { + "className": "px-2 py-1.5text-danger-soft font-mono" + }, + "text": "{{pcItem.price ?? '-'}}" + }, + { + "type": "basic", + "name": "Td", + "props": { + "className": "px-2 py-1.5 text-gray-900 dark:text-gray-100 font-mono" + }, + "text": "{{pcItem.date ?? '-'}}" + }, + { + "type": "basic", + "name": "Td", + "props": { + "className": "px-2 py-1.5 text-gray-700 dark:text-gray-300" + }, + "text": "{{pcItem.msg ?? '-'}}" + } ] } ] @@ -952,12 +1995,16 @@ { "type": "basic", "name": "Div", - "props": { "className": "mt-3 pt-3 border-t border-dashed border-gray-200 dark:border-gray-700" }, + "props": { + "className": "mt-3 pt-3 border-t border-dashed border-gray-200 dark:border-gray-700" + }, "children": [ { "type": "basic", "name": "Button", - "props": { "className": "flex-center gap-1.5 px-2 py-1 text-xs font-medium text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100" }, + "props": { + "className": "flex-center gap-1.5 px-2 py-1 text-xs font-medium text-gray-600 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-100" + }, "actions": [ { "type": "click", @@ -969,16 +2016,38 @@ } ], "children": [ - { "type": "basic", "name": "Icon", "if": "{{!_local._kginicisShowRaw}}", "props": { "name": "chevron-right", "className": "w-3 h-3" } }, - { "type": "basic", "name": "Icon", "if": "{{_local._kginicisShowRaw}}", "props": { "name": "chevron-down", "className": "w-3 h-3" } }, - { "type": "basic", "name": "Span", "text": "$t:sirsoft-pay_kginicis.admin.raw_response_toggle" } + { + "type": "basic", + "name": "Icon", + "if": "{{!_local._kginicisShowRaw}}", + "props": { + "name": "chevron-right", + "className": "text-xs" + } + }, + { + "type": "basic", + "name": "Icon", + "if": "{{_local._kginicisShowRaw}}", + "props": { + "name": "chevron-down", + "className": "text-xs" + } + }, + { + "type": "basic", + "name": "Span", + "text": "$t:sirsoft-pay_kginicis.admin.raw_response_toggle" + } ] }, { "type": "basic", "name": "Pre", "if": "{{_local._kginicisShowRaw}}", - "props": { "className": "mt-2 p-3 bg-gray-900 dark:bg-black text-green-300 text-[11px] rounded overflow-x-auto font-mono leading-relaxed max-h-96" }, + "props": { + "className": "mt-2 p-3 bg-gray-900 dark:bg-black text-green-300 text-[11px] rounded overflow-x-auto font-mono leading-relaxed max-h-96" + }, "text": "{{JSON.stringify(_local._kginicisResult ?? kginicis_status.data, null, 2)}}" } ] @@ -996,28 +2065,38 @@ "type": "basic", "name": "Div", "if": "{{kginicis_escrow_delivery.data?.has_escrow_payment === true}}", - "props": { "className": "admin-card mt-4" }, + "props": { + "className": "admin-card mt-4" + }, "children": [ { "type": "basic", "name": "Div", - "props": { "className": "flex-center gap-2 mb-4" }, + "props": { + "className": "flex-center gap-2 mb-4" + }, "children": [ { "type": "basic", "name": "Div", - "props": { "className": "w-1.5 h-4 bg-purple-500 rounded-full flex-shrink-0" } + "props": { + "className": "w-1.5 h-4 bg-purple-500 rounded-full flex-shrink-0" + } }, { "type": "basic", "name": "H3", - "props": { "className": "text-sm font-semibold text-gray-800 dark:text-gray-200" }, + "props": { + "className": "text-sm font-semibold text-gray-800 dark:text-gray-200" + }, "text": "$t:sirsoft-pay_kginicis.admin.escrow_delivery_title" }, { "type": "basic", "name": "Span", - "props": { "className": "text-hint hidden sm:inline" }, + "props": { + "className": "text-hint hidden sm:inline" + }, "text": "$t:sirsoft-pay_kginicis.admin.escrow_delivery_description" } ] @@ -1026,22 +2105,31 @@ "type": "basic", "name": "Div", "if": "{{kginicis_escrow_delivery.data?.registered_delivery}}", - "props": { "className": "mb-4 p-3 rounded-lg bg-purple-50 dark:bg-purple-900/20 border border-purple-100 dark:border-purple-700/50" }, + "props": { + "className": "mb-4 p-3 rounded-lg bg-purple-50 dark:bg-purple-900/20 border border-purple-100 dark:border-purple-700/50" + }, "children": [ { "type": "basic", "name": "Div", - "props": { "className": "flex-center gap-2 mb-2" }, + "props": { + "className": "flex-center gap-2 mb-2" + }, "children": [ { "type": "basic", "name": "Icon", - "props": { "name": "truck", "className": "w-3.5 h-3.5 text-purple-600 dark:text-purple-400 flex-shrink-0" } + "props": { + "name": "truck", + "className": "text-sm text-purple-600 dark:text-purple-400 flex-shrink-0" + } }, { "type": "basic", "name": "Span", - "props": { "className": "inline-flex items-center px-2 py-0.5 rounded-full text-xs font-semibold bg-purple-100 text-purple-800 dark:bg-purple-900/30 dark:text-purple-300" }, + "props": { + "className": "inline-flex items-center px-2 py-0.5 rounded-full text-xs font-semibold bg-purple-100 text-purple-800 dark:bg-purple-900/30 dark:text-purple-300" + }, "text": "$t:sirsoft-pay_kginicis.admin.escrow_delivery_already_registered" } ] @@ -1049,54 +2137,72 @@ { "type": "basic", "name": "Div", - "props": { "className": "grid grid-cols-2 gap-x-4 gap-y-1 text-xs" }, + "props": { + "className": "grid grid-cols-2 gap-x-4 gap-y-1 text-xs" + }, "children": [ { "type": "basic", "name": "Span", - "props": { "className": "text-gray-500 dark:text-gray-400" }, + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, "text": "$t:sirsoft-pay_kginicis.admin.escrow_delivery_registered_at" }, { "type": "basic", "name": "Span", - "props": { "className": "text-gray-900 dark:text-gray-100 font-mono" }, + "props": { + "className": "text-gray-900 dark:text-gray-100 font-mono" + }, "text": "{{kginicis_escrow_delivery.data.registered_delivery.registered_at ?? '-'}}" }, { "type": "basic", "name": "Span", - "props": { "className": "text-gray-500 dark:text-gray-400" }, + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, "text": "$t:sirsoft-pay_kginicis.admin.escrow_delivery_invoice_info" }, { "type": "basic", "name": "Span", - "props": { "className": "text-gray-900 dark:text-gray-100 font-mono" }, + "props": { + "className": "text-gray-900 dark:text-gray-100 font-mono" + }, "text": "{{kginicis_escrow_delivery.data.registered_delivery.invoice ?? '-'}}" }, { "type": "basic", "name": "Span", - "props": { "className": "text-gray-500 dark:text-gray-400" }, + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, "text": "$t:sirsoft-pay_kginicis.admin.escrow_delivery_courier_info" }, { "type": "basic", "name": "Span", - "props": { "className": "text-gray-900 dark:text-gray-100" }, + "props": { + "className": "text-gray-900 dark:text-gray-100" + }, "text": "{{kginicis_escrow_delivery.data.registered_delivery.ex_name ?? '-'}}" }, { "type": "basic", "name": "Span", - "props": { "className": "text-gray-500 dark:text-gray-400" }, + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, "text": "$t:sirsoft-pay_kginicis.admin.escrow_delivery_recv_addr" }, { "type": "basic", "name": "Span", - "props": { "className": "text-gray-900 dark:text-gray-100" }, + "props": { + "className": "text-gray-900 dark:text-gray-100" + }, "text": "{{kginicis_escrow_delivery.data.registered_delivery.recv_addr ?? '-'}}" } ] @@ -1106,17 +2212,23 @@ { "type": "basic", "name": "Div", - "props": { "className": "space-y-2" }, + "props": { + "className": "space-y-2" + }, "children": [ { "type": "basic", "name": "Div", - "props": { "className": "flex-center gap-2" }, + "props": { + "className": "flex-center gap-2" + }, "children": [ { "type": "basic", "name": "Label", - "props": { "className": "text-tertiary w-16 flex-shrink-0" }, + "props": { + "className": "text-tertiary w-16 flex-shrink-0" + }, "text": "$t:sirsoft-pay_kginicis.admin.escrow_delivery_invoice_label" }, { @@ -1143,12 +2255,16 @@ { "type": "basic", "name": "Div", - "props": { "className": "flex-center gap-2" }, + "props": { + "className": "flex-center gap-2" + }, "children": [ { "type": "basic", "name": "Label", - "props": { "className": "text-tertiary w-16 flex-shrink-0" }, + "props": { + "className": "text-tertiary w-16 flex-shrink-0" + }, "text": "$t:sirsoft-pay_kginicis.admin.escrow_delivery_courier_label" }, { @@ -1168,21 +2284,126 @@ } ], "children": [ - { "type": "basic", "name": "Option", "props": { "value": "" }, "text": "$t:sirsoft-pay_kginicis.admin.escrow_delivery_courier_placeholder" }, - { "type": "basic", "name": "Option", "props": { "value": "hanjin" }, "text": "한진택배" }, - { "type": "basic", "name": "Option", "props": { "value": "cjgls" }, "text": "CJ대한통운" }, - { "type": "basic", "name": "Option", "props": { "value": "loge" }, "text": "롯데택배" }, - { "type": "basic", "name": "Option", "props": { "value": "epost" }, "text": "우체국택배" }, - { "type": "basic", "name": "Option", "props": { "value": "lotte" }, "text": "롯데글로벌로지스" }, - { "type": "basic", "name": "Option", "props": { "value": "kdexp" }, "text": "경동택배" }, - { "type": "basic", "name": "Option", "props": { "value": "cvs" }, "text": "편의점택배" }, - { "type": "basic", "name": "Option", "props": { "value": "ilyang" }, "text": "일양로지스" }, - { "type": "basic", "name": "Option", "props": { "value": "chunil" }, "text": "천일택배" }, - { "type": "basic", "name": "Option", "props": { "value": "cvsnet" }, "text": "CVSnet편의점" }, - { "type": "basic", "name": "Option", "props": { "value": "daesin" }, "text": "대신택배" }, - { "type": "basic", "name": "Option", "props": { "value": "kunyoung" }, "text": "건영택배" }, - { "type": "basic", "name": "Option", "props": { "value": "gsilogis" }, "text": "GSI Express" }, - { "type": "basic", "name": "Option", "props": { "value": "etc" }, "text": "기타" } + { + "type": "basic", + "name": "Option", + "props": { + "value": "" + }, + "text": "$t:sirsoft-pay_kginicis.admin.escrow_delivery_courier_placeholder" + }, + { + "type": "basic", + "name": "Option", + "props": { + "value": "hanjin" + }, + "text": "한진택배" + }, + { + "type": "basic", + "name": "Option", + "props": { + "value": "cjgls" + }, + "text": "CJ대한통운" + }, + { + "type": "basic", + "name": "Option", + "props": { + "value": "loge" + }, + "text": "롯데택배" + }, + { + "type": "basic", + "name": "Option", + "props": { + "value": "epost" + }, + "text": "우체국택배" + }, + { + "type": "basic", + "name": "Option", + "props": { + "value": "lotte" + }, + "text": "롯데글로벌로지스" + }, + { + "type": "basic", + "name": "Option", + "props": { + "value": "kdexp" + }, + "text": "경동택배" + }, + { + "type": "basic", + "name": "Option", + "props": { + "value": "cvs" + }, + "text": "편의점택배" + }, + { + "type": "basic", + "name": "Option", + "props": { + "value": "ilyang" + }, + "text": "일양로지스" + }, + { + "type": "basic", + "name": "Option", + "props": { + "value": "chunil" + }, + "text": "천일택배" + }, + { + "type": "basic", + "name": "Option", + "props": { + "value": "cvsnet" + }, + "text": "CVSnet편의점" + }, + { + "type": "basic", + "name": "Option", + "props": { + "value": "daesin" + }, + "text": "대신택배" + }, + { + "type": "basic", + "name": "Option", + "props": { + "value": "kunyoung" + }, + "text": "건영택배" + }, + { + "type": "basic", + "name": "Option", + "props": { + "value": "gsilogis" + }, + "text": "GSI Express" + }, + { + "type": "basic", + "name": "Option", + "props": { + "value": "etc" + }, + "text": "기타" + } ] } ] @@ -1190,7 +2411,9 @@ { "type": "basic", "name": "Div", - "props": { "className": "flex justify-end" }, + "props": { + "className": "flex justify-end" + }, "children": [ { "type": "basic", @@ -1234,11 +2457,16 @@ }, { "handler": "toast", - "params": { "type": "success", "message": "$t:sirsoft-pay_kginicis.admin.escrow_delivery_success" } + "params": { + "type": "success", + "message": "$t:sirsoft-pay_kginicis.admin.escrow_delivery_success" + } }, { "handler": "refetchDataSource", - "params": { "dataSourceId": "kginicis_escrow_delivery" } + "params": { + "dataSourceId": "kginicis_escrow_delivery" + } } ], "onError": [ @@ -1260,7 +2488,10 @@ "type": "basic", "name": "Icon", "if": "{{_local._ed_registering}}", - "props": { "name": "spinner", "className": "w-3 h-3 animate-spin" } + "props": { + "name": "spinner", + "className": "text-xs animate-spin" + } }, { "type": "basic", @@ -1288,7 +2519,9 @@ "type": "basic", "name": "Div", "if": "{{_local._ed_error}}", - "props": { "className": "text-xs text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-900/20 rounded px-2 py-1.5" }, + "props": { + "className": "text-xs text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-900/20 rounded px-2 py-1.5" + }, "text": "{{_local._ed_error}}" } ] @@ -1300,28 +2533,38 @@ "type": "basic", "name": "Div", "if": "{{kginicis_escrow_delivery.data?.has_escrow_payment === true && kginicis_escrow_delivery.data?.escrow_confirm?.type === 'deny'}}", - "props": { "className": "admin-card mt-4" }, + "props": { + "className": "admin-card mt-4" + }, "children": [ { "type": "basic", "name": "Div", - "props": { "className": "flex-center gap-2 mb-4" }, + "props": { + "className": "flex-center gap-2 mb-4" + }, "children": [ { "type": "basic", "name": "Div", - "props": { "className": "w-1.5 h-4 bg-red-500 rounded-full flex-shrink-0" } + "props": { + "className": "w-1.5 h-4 bg-red-500 rounded-full flex-shrink-0" + } }, { "type": "basic", "name": "H3", - "props": { "className": "text-sm font-semibold text-gray-800 dark:text-gray-200" }, + "props": { + "className": "text-sm font-semibold text-gray-800 dark:text-gray-200" + }, "text": "$t:sirsoft-pay_kginicis.admin.escrow_deny_confirm_title" }, { "type": "basic", "name": "Span", - "props": { "className": "text-hint hidden sm:inline" }, + "props": { + "className": "text-hint hidden sm:inline" + }, "text": "$t:sirsoft-pay_kginicis.admin.escrow_deny_confirm_description" } ] @@ -1329,22 +2572,31 @@ { "type": "basic", "name": "Div", - "props": { "className": "mb-4 p-3 rounded-lg bg-red-50 dark:bg-red-900/20 border border-red-100 dark:border-red-700/50 text-xs" }, + "props": { + "className": "mb-4 p-3 rounded-lg bg-red-50 dark:bg-red-900/20 border border-red-100 dark:border-red-700/50 text-xs" + }, "children": [ { "type": "basic", "name": "Div", - "props": { "className": "flex-center gap-2 mb-2" }, + "props": { + "className": "flex-center gap-2 mb-2" + }, "children": [ { "type": "basic", "name": "Icon", - "props": { "name": "x-circle", "className": "w-3.5 h-3.5 text-red-600 dark:text-red-400 flex-shrink-0" } + "props": { + "name": "x-circle", + "className": "text-sm text-red-600 dark:text-red-400 flex-shrink-0" + } }, { "type": "basic", "name": "Span", - "props": { "className": "text-xs font-semibold text-red-700 dark:text-red-400" }, + "props": { + "className": "text-xs font-semibold text-red-700 dark:text-red-400" + }, "text": "$t:sirsoft-pay_kginicis.admin.escrow_deny_confirm_buyer_denied" } ] @@ -1352,18 +2604,24 @@ { "type": "basic", "name": "Div", - "props": { "className": "grid grid-cols-2 gap-x-4 gap-y-1" }, + "props": { + "className": "grid grid-cols-2 gap-x-4 gap-y-1" + }, "children": [ { "type": "basic", "name": "Span", - "props": { "className": "text-gray-500 dark:text-gray-400" }, + "props": { + "className": "text-gray-500 dark:text-gray-400" + }, "text": "일시" }, { "type": "basic", "name": "Span", - "props": { "className": "text-gray-900 dark:text-gray-100 font-mono" }, + "props": { + "className": "text-gray-900 dark:text-gray-100 font-mono" + }, "text": "{{kginicis_escrow_delivery.data.escrow_confirm.confirmed_at ?? '-'}}" } ] @@ -1374,17 +2632,24 @@ "type": "basic", "name": "Div", "if": "{{kginicis_escrow_delivery.data?.deny_confirmed === true}}", - "props": { "className": "flex-center gap-2 p-3 rounded-lg bg-gray-50 dark:bg-gray-800/50 border border-gray-200 dark:border-gray-700 text-xs" }, + "props": { + "className": "flex-center gap-2 p-3 rounded-lg bg-gray-50 dark:bg-gray-800/50 border border-gray-200 dark:border-gray-700 text-xs" + }, "children": [ { "type": "basic", "name": "Icon", - "props": { "name": "check-circle", "className": "w-3.5 h-3.5 text-gray-500 dark:text-gray-400 flex-shrink-0" } + "props": { + "name": "check-circle", + "className": "text-sm text-gray-500 dark:text-gray-400 flex-shrink-0" + } }, { "type": "basic", "name": "Span", - "props": { "className": "text-gray-600 dark:text-gray-300" }, + "props": { + "className": "text-gray-600 dark:text-gray-300" + }, "text": "$t:sirsoft-pay_kginicis.admin.escrow_deny_confirm_done" } ] @@ -1393,7 +2658,9 @@ "type": "basic", "name": "Div", "if": "{{kginicis_escrow_delivery.data?.deny_confirmed !== true}}", - "props": { "className": "flex justify-end gap-2" }, + "props": { + "className": "flex justify-end gap-2" + }, "children": [ { "type": "basic", @@ -1433,11 +2700,16 @@ }, { "handler": "toast", - "params": { "type": "success", "message": "$t:sirsoft-pay_kginicis.admin.escrow_deny_confirm_success" } + "params": { + "type": "success", + "message": "$t:sirsoft-pay_kginicis.admin.escrow_deny_confirm_success" + } }, { "handler": "refetchDataSource", - "params": { "dataSourceId": "kginicis_escrow_delivery" } + "params": { + "dataSourceId": "kginicis_escrow_delivery" + } } ], "onError": [ @@ -1459,7 +2731,10 @@ "type": "basic", "name": "Icon", "if": "{{_local._dncf_processing}}", - "props": { "name": "spinner", "className": "w-3 h-3 animate-spin" } + "props": { + "name": "spinner", + "className": "text-xs animate-spin" + } }, { "type": "basic", @@ -1481,292 +2756,10 @@ "type": "basic", "name": "Div", "if": "{{_local._dncf_error}}", - "props": { "className": "mt-2 text-xs text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-900/20 rounded px-2 py-1.5" }, - "text": "{{_local._dncf_error}}" - } - ] - }, - { - "id": "kginicis_cash_receipt_panel", - "_comment_hidden": "현금영수증 별도발행 — 차후 오픈 예정. 복원 시 if 식을 원복하면 됨.", - "type": "basic", - "name": "Div", - "if": "{{false}}", - "props": { "className": "admin-card mt-4" }, - "children": [ - { - "type": "basic", - "name": "Div", - "props": { "className": "flex-center gap-2 mb-4" }, - "children": [ - { - "type": "basic", - "name": "Div", - "props": { "className": "w-1.5 h-4 bg-green-500 rounded-full flex-shrink-0" } - }, - { - "type": "basic", - "name": "H3", - "props": { "className": "text-sm font-semibold text-gray-800 dark:text-gray-200" }, - "text": "$t:sirsoft-pay_kginicis.admin.cash_receipt_title" - }, - { - "type": "basic", - "name": "Span", - "props": { "className": "text-hint hidden sm:inline" }, - "text": "$t:sirsoft-pay_kginicis.admin.cash_receipt_description" - } - ] - }, - { - "type": "basic", - "name": "Div", - "props": { "className": "space-y-3" }, - "iteration": { - "source": "{{order.data?.payments?.filter(p => p.transaction_id && p.pg_provider === 'kginicis') ?? []}}", - "item_var": "payment", - "index_var": "crIdx" + "props": { + "className": "mt-2 text-xs text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-900/20 rounded px-2 py-1.5" }, - "children": [ - { - "type": "basic", - "name": "Div", - "props": { "className": "rounded-lg border border-gray-100 dark:border-gray-700 p-3 bg-gray-50 dark:bg-gray-800/50" }, - "children": [ - { - "type": "basic", - "name": "Div", - "props": { "className": "flex-center flex-wrap gap-3 mb-3" }, - "children": [ - { - "type": "basic", - "name": "Span", - "props": { "className": "font-mono text-tertiary break-all" }, - "text": "{{payment.transaction_id}}" - }, - { - "type": "basic", - "name": "Span", - "if": "{{payment.is_cash_receipt_issued}}", - "props": { "className": "inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-xs font-semibold bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300" }, - "children": [ - { "type": "basic", "name": "Icon", "props": { "name": "check-circle", "className": "w-3 h-3" } }, - { "type": "basic", "name": "Span", "text": "$t:sirsoft-pay_kginicis.admin.cash_receipt_already_issued" } - ] - } - ] - }, - { - "type": "basic", - "name": "Div", - "if": "{{payment.is_cash_receipt_issued}}", - "props": { "className": "grid grid-cols-2 gap-x-4 gap-y-1 text-xs" }, - "children": [ - { - "type": "basic", - "name": "Span", - "props": { "className": "text-gray-500 dark:text-gray-400" }, - "text": "$t:sirsoft-pay_kginicis.admin.cash_receipt_issued_at" - }, - { - "type": "basic", - "name": "Span", - "props": { "className": "text-gray-900 dark:text-gray-100 font-mono" }, - "text": "{{payment.cash_receipt_issued_at ?? '-'}}" - }, - { - "type": "basic", - "name": "Span", - "props": { "className": "text-gray-500 dark:text-gray-400" }, - "text": "$t:sirsoft-pay_kginicis.admin.cash_receipt_type_label" - }, - { - "type": "basic", - "name": "Span", - "props": { "className": "text-gray-900 dark:text-gray-100" }, - "text": "{{payment.cash_receipt_type === 'income_deduction' ? '$t:sirsoft-pay_kginicis.admin.cash_receipt_type_income' : '$t:sirsoft-pay_kginicis.admin.cash_receipt_type_expenditure'}}" - } - ] - }, - { - "type": "basic", - "name": "Div", - "if": "{{!payment.is_cash_receipt_issued}}", - "props": { "className": "space-y-2" }, - "children": [ - { - "type": "basic", - "name": "Div", - "props": { "className": "flex-center gap-2" }, - "children": [ - { - "type": "basic", - "name": "Label", - "props": { "className": "text-tertiary w-16 flex-shrink-0" }, - "text": "$t:sirsoft-pay_kginicis.admin.cash_receipt_type_label" - }, - { - "type": "basic", - "name": "Select", - "props": { - "name": "_cr_issue_type", - "data-idx": "{{crIdx}}", - "className": "flex-1 text-xs px-2 py-1.5 border border-gray-300 dark:border-gray-600 rounded bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100" - }, - "actions": [ - { - "type": "change", - "handler": "setState", - "params": { - "target": "local", - "_cr_issue_type_{{crIdx}}": "{{$event.target.value}}" - } - } - ], - "children": [ - { - "type": "basic", - "name": "Option", - "props": { "value": "0" }, - "text": "$t:sirsoft-pay_kginicis.admin.cash_receipt_type_income" - }, - { - "type": "basic", - "name": "Option", - "props": { "value": "1" }, - "text": "$t:sirsoft-pay_kginicis.admin.cash_receipt_type_expenditure" - } - ] - } - ] - }, - { - "type": "basic", - "name": "Div", - "props": { "className": "flex-center gap-2" }, - "children": [ - { - "type": "basic", - "name": "Label", - "props": { "className": "text-tertiary w-16 flex-shrink-0" }, - "text": "$t:sirsoft-pay_kginicis.admin.cash_receipt_number_label" - }, - { - "type": "basic", - "name": "Input", - "props": { - "type": "text", - "placeholder": "$t:sirsoft-pay_kginicis.admin.cash_receipt_number_placeholder_income", - "className": "flex-1 text-xs px-2 py-1.5 border border-gray-300 dark:border-gray-600 rounded bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100 font-mono" - }, - "actions": [ - { - "type": "change", - "handler": "setState", - "params": { - "target": "local", - "_cr_issue_number_{{crIdx}}": "{{$event.target.value}}" - } - } - ] - }, - { - "type": "basic", - "name": "Button", - "props": { - "disabled": "{{_local._cr_issuing_{{crIdx}}}}", - "className": "flex-center gap-1.5 px-3 py-1.5 text-xs font-medium bg-green-600 hover:bg-green-700 text-white rounded-md transition-colors disabled:opacity-50 disabled:cursor-not-allowed whitespace-nowrap flex-shrink-0" - }, - "actions": [ - { - "type": "click", - "handler": "sequence", - "actions": [ - { - "handler": "setState", - "params": { - "target": "local", - "_cr_issuing_{{crIdx}}": true, - "_cr_error_{{crIdx}}": null - } - }, - { - "handler": "apiCall", - "auth_required": true, - "target": "/api/plugins/sirsoft-pay_kginicis/admin/orders/{{route.orderNumber}}/cash-receipt", - "params": { - "method": "POST", - "body": { - "issue_type": "{{_local._cr_issue_type_{{crIdx}} ?? '0'}}", - "issue_number": "{{_local._cr_issue_number_{{crIdx}} ?? ''}}" - } - }, - "onSuccess": [ - { - "handler": "setState", - "params": { - "target": "local", - "_cr_issuing_{{crIdx}}": false - } - }, - { - "handler": "toast", - "params": { "type": "success", "message": "$t:sirsoft-pay_kginicis.admin.cash_receipt_success" } - }, - { - "handler": "refetchDataSource", - "params": { "dataSourceId": "order" } - } - ], - "onError": [ - { - "handler": "setState", - "params": { - "target": "local", - "_cr_issuing_{{crIdx}}": false, - "_cr_error_{{crIdx}}": "$t:sirsoft-pay_kginicis.admin.cash_receipt_error" - } - } - ] - } - ] - } - ], - "children": [ - { - "type": "basic", - "name": "Icon", - "if": "{{_local._cr_issuing_{{crIdx}}}}", - "props": { "name": "spinner", "className": "w-3 h-3 animate-spin" } - }, - { - "type": "basic", - "name": "Span", - "if": "{{_local._cr_issuing_{{crIdx}}}}", - "text": "$t:sirsoft-pay_kginicis.admin.cash_receipt_issuing" - }, - { - "type": "basic", - "name": "Span", - "if": "{{!_local._cr_issuing_{{crIdx}}}}", - "text": "$t:sirsoft-pay_kginicis.admin.cash_receipt_issue_button" - } - ] - } - ] - }, - { - "type": "basic", - "name": "Div", - "if": "{{_local._cr_error_{{crIdx}}}}", - "props": { "className": "text-xs text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-900/20 rounded px-2 py-1.5" }, - "text": "{{_local._cr_error_{{crIdx}}}}" - } - ] - } - ] - } - ] + "text": "{{_local._dncf_error}}" } ] } diff --git a/plugins/_bundled/sirsoft-pay_kginicis/resources/js/__tests__/mypageOrderShowInjector.test.ts b/plugins/_bundled/sirsoft-pay_kginicis/resources/js/__tests__/mypageOrderShowInjector.test.ts index 236c44ae..7479c443 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/resources/js/__tests__/mypageOrderShowInjector.test.ts +++ b/plugins/_bundled/sirsoft-pay_kginicis/resources/js/__tests__/mypageOrderShowInjector.test.ts @@ -152,3 +152,114 @@ describe('mypageOrderShowInjector — 회원 주문 상세 (URL 세그먼트 = expect(document.getElementById('kginicis-mp-receipt-row')).toBeNull(); }); }); + +/** + * 주입 앵커(#order_payment_info_panel) 회귀 잠금 — #454 R1. + * + * findPaymentContainer() 는 #order_payment_info_panel 을 1순위로 찾는다. 코어 마이페이지 + * 주문상세에 그 id 가 없던 시절엔 이 경로가 항상 null 이라 주입이 조용히 no-op 이 되었고, + * 그 사실이 아무 테스트에도 걸리지 않았다 (기존 테스트는 늘 패널을 만들어 두고 시작했다). + * + * 그래서 여기서는 (a) 패널이 있으면 그 안에 주입되는가 (b) 패널이 없어도 '결제 정보' 헤딩 + * 폴백으로 주입되는가 — 두 경로를 모두 잠근다. 한쪽만 잠그면 앵커가 사라져도 폴백이 + * 가려주어 회귀를 놓친다. + */ +describe('mypageOrderShowInjector — 주입 앵커 (#order_payment_info_panel)', () => { + let originalFetch: typeof globalThis.fetch; + + const ORDER = { + id: 501, + order_number: '20260712-1111111111', + payment: { + pg_provider: 'kginicis', + payment_status: 'paid', + transaction_id: 'StdpayCARDINIpayTest', + }, + }; + + const receiptOk = () => + vi.fn().mockResolvedValue({ + ok: true, + status: 200, + json: async () => ({ + receipt_type: 'inicis_receipt', + receipt_url: 'https://iniweb.inicis.com/receipt', + receipt_label: '영수증', + receipt_view_label: '영수증 조회', + payment_method_display_label: '신용카드', + }), + } as Response); + + beforeEach(() => { + originalFetch = globalThis.fetch; + localStorage.clear(); + sessionStorage.clear(); + vi.useFakeTimers(); + }); + + afterEach(() => { + globalThis.fetch = originalFetch; + document.body.innerHTML = ''; + delete (window as Record)[FLAG]; + delete (window as any).G7Core; + vi.useRealTimers(); + vi.restoreAllMocks(); + }); + + it('패널(#order_payment_info_panel)이 있으면 그 안에 영수증 행을 주입한다', async () => { + history.pushState(null, '', `/mypage/orders/${ORDER.id}`); + setOrderState(ORDER); + setPaymentPanel(); + globalThis.fetch = receiptOk(); + + installMypageOrderShowInjector(); + await vi.advanceTimersByTimeAsync(2500); + + const row = document.getElementById('kginicis-mp-receipt-row'); + expect(row, '패널이 있는데 영수증 행이 주입되지 않았다').not.toBeNull(); + + // 화면 아무 곳이 아니라 결제 정보 패널 "안" 이어야 한다. + const panel = document.getElementById('order_payment_info_panel'); + expect(panel?.contains(row!), '영수증 행이 결제 정보 패널 밖에 붙었다').toBe(true); + }); + + it('패널 id 가 없어도 "결제 정보" 헤딩 폴백으로 주입된다', async () => { + history.pushState(null, '', `/mypage/orders/${ORDER.id}`); + setOrderState(ORDER); + + // 앵커 id 가 없는 마이페이지 (R1 이전 상태 재현) + document.body.innerHTML = ` +
+

결제 정보

+
+
+ 결제 방법 + 무통장입금 +
+
+
+ `; + globalThis.fetch = receiptOk(); + + installMypageOrderShowInjector(); + await vi.advanceTimersByTimeAsync(2500); + + expect(document.getElementById('order_payment_info_panel')).toBeNull(); + expect( + document.getElementById('kginicis-mp-receipt-row'), + '앵커 부재 시 폴백 주입이 동작하지 않았다', + ).not.toBeNull(); + }); + + it('주입 지점이 아예 없으면 조용히 아무것도 하지 않는다 (예외 없음)', async () => { + history.pushState(null, '', `/mypage/orders/${ORDER.id}`); + setOrderState(ORDER); + document.body.innerHTML = '
결제 정보 패널이 없는 화면
'; + globalThis.fetch = receiptOk(); + + installMypageOrderShowInjector(); + await vi.advanceTimersByTimeAsync(2500); + + expect(document.getElementById('kginicis-mp-receipt-row')).toBeNull(); + }); +}); diff --git a/plugins/_bundled/sirsoft-pay_kginicis/resources/lang/en.json b/plugins/_bundled/sirsoft-pay_kginicis/resources/lang/en.json index aba0f1ca..ba04b3f7 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/resources/lang/en.json +++ b/plugins/_bundled/sirsoft-pay_kginicis/resources/lang/en.json @@ -183,20 +183,6 @@ "paypay": "PayPay", "cvs": "Japan Convenience Store" }, - "cash_receipt_title": "Cash Receipt Issuance", - "cash_receipt_description": "Issue a cash receipt via KG Inicis INIAPI.", - "cash_receipt_already_issued": "Already Issued", - "cash_receipt_issued_at": "Issued At", - "cash_receipt_type_label": "Issue Type", - "cash_receipt_type_income": "Income Deduction (Consumer)", - "cash_receipt_type_expenditure": "Expenditure Proof (Business)", - "cash_receipt_number_label": "Identifier", - "cash_receipt_number_placeholder_income": "Phone number or SSN", - "cash_receipt_number_placeholder_expenditure": "Business registration number", - "cash_receipt_issue_button": "Issue Cash Receipt", - "cash_receipt_issuing": "Issuing...", - "cash_receipt_success": "Cash receipt has been issued.", - "cash_receipt_error": "Failed to issue cash receipt.", "escrow_delivery_title": "Escrow Delivery Registration", "escrow_delivery_description": "Register delivery information for KG Inicis escrow payment.", "escrow_delivery_invoice_label": "Invoice No.", diff --git a/plugins/_bundled/sirsoft-pay_kginicis/resources/lang/ko.json b/plugins/_bundled/sirsoft-pay_kginicis/resources/lang/ko.json index b19d870a..0e36451b 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/resources/lang/ko.json +++ b/plugins/_bundled/sirsoft-pay_kginicis/resources/lang/ko.json @@ -183,20 +183,6 @@ "paypay": "PayPay", "cvs": "일본 편의점결제" }, - "cash_receipt_title": "현금영수증 별도발행", - "cash_receipt_description": "KG 이니시스 INIAPI를 통해 현금영수증을 발행합니다.", - "cash_receipt_already_issued": "이미 발행됨", - "cash_receipt_issued_at": "발행일시", - "cash_receipt_type_label": "발행 유형", - "cash_receipt_type_income": "소득공제 (소비자용)", - "cash_receipt_type_expenditure": "지출증빙 (사업자용)", - "cash_receipt_number_label": "식별번호", - "cash_receipt_number_placeholder_income": "휴대폰번호 또는 주민등록번호", - "cash_receipt_number_placeholder_expenditure": "사업자등록번호", - "cash_receipt_issue_button": "현금영수증 발행", - "cash_receipt_issuing": "발행 중...", - "cash_receipt_success": "현금영수증이 발행되었습니다.", - "cash_receipt_error": "현금영수증 발행에 실패했습니다.", "escrow_delivery_title": "에스크로 배송등록", "escrow_delivery_description": "KG 이니시스 에스크로 배송등록을 진행합니다.", "escrow_delivery_invoice_label": "운송장번호", diff --git a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminCashReceiptController.php b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminCashReceiptController.php deleted file mode 100644 index 2351e1b4..00000000 --- a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminCashReceiptController.php +++ /dev/null @@ -1,210 +0,0 @@ -input('issue_type', '0'); - $issueNumber = trim((string) $request->input('issue_number', '')); - - if (! in_array($issueType, ['0', '1'], true)) { - return ResponseHelper::error('messages.failed', 422, ['issue_type' => [__('sirsoft-pay_kginicis::messages.errors.cash_receipt_invalid_issue_type')]]); - } - - if ($issueNumber === '') { - return ResponseHelper::error('messages.failed', 422, ['issue_number' => [__('sirsoft-pay_kginicis::messages.errors.cash_receipt_missing_issue_number')]]); - } - - $payment = DB::table('ecommerce_order_payments as p') - ->join('ecommerce_orders as o', 'o.id', '=', 'p.order_id') - ->leftJoin('ecommerce_order_addresses as oa', function ($join) { - $join->on('oa.order_id', '=', 'o.id') - ->where('oa.address_type', '=', 'shipping'); - }) - ->where('o.order_number', $orderNumber) - ->where('p.pg_provider', 'kginicis') - ->whereNotNull('p.transaction_id') - ->select([ - 'p.id', - 'p.transaction_id', - 'p.paid_amount_local', - 'p.vat_amount', - 'p.buyer_name', - 'p.buyer_email', - 'p.buyer_phone', - 'p.payment_name', - 'p.payment_meta', - 'p.is_cash_receipt_issued', - 'oa.orderer_name as address_orderer_name', - 'oa.orderer_email as address_orderer_email', - 'oa.orderer_phone as address_orderer_phone', - ]) - ->first(); - - if (! $payment) { - return ResponseHelper::error('messages.failed', 404, null); - } - - if ($payment->is_cash_receipt_issued) { - return ResponseHelper::error('messages.failed', 409, ['message' => [__('sirsoft-pay_kginicis::messages.errors.cash_receipt_already_issued')]]); - } - - // 구매자 정보는 결제 테이블 → 주문 배송지 순서로 사용한다. PG raw 응답은 - // 민감정보 최소화를 위해 구매자 연락처 fallback 에 사용하지 않는다. - $meta = $payment->payment_meta ? json_decode($payment->payment_meta, true) : []; - $rawResponse = $meta['pg_raw_response'] ?? []; - - $buyerName = $payment->buyer_name ?? $payment->address_orderer_name ?? ''; - $buyerEmail = $payment->buyer_email ?? $payment->address_orderer_email ?? ''; - $buyerTel = $payment->buyer_phone ?? $payment->address_orderer_phone ?? ''; - $goodName = $payment->payment_name ?? $rawResponse['goodName'] ?? $rawResponse['goodsName'] ?? __('sirsoft-pay_kginicis::messages.defaults.good_name'); - - $price = (int) round((float) $payment->paid_amount_local); - - // 부가세: DB에 저장된 값 우선, 없으면 총액의 10/110 으로 계산 - $vatAmount = (int) round((float) $payment->vat_amount); - if ($vatAmount <= 0) { - $vatAmount = (int) round($price / 11); - } - $supplyPrice = $price - $vatAmount; - - Log::info('KG Inicis: cash receipt issue requested', [ - 'order_number' => $orderNumber, - 'tid' => $payment->transaction_id, - 'issue_type' => $issueType, - 'price' => $price, - ]); - - try { - $pgResponse = $this->apiService->issueCashReceipt([ - 'issueType' => $issueType, - 'issueNumber' => $issueNumber, - 'price' => $price, - 'supplyPrice' => $supplyPrice, - 'tax' => $vatAmount, - 'goodName' => $goodName, - 'buyerName' => $buyerName, - 'buyerEmail' => $buyerEmail, - 'buyerTel' => $buyerTel, - ]); - - $resultCode = $pgResponse['resultCode'] ?? ''; - - if ($resultCode !== '00') { - Log::warning('KG Inicis: cash receipt issue failed', [ - 'order_number' => $orderNumber, - 'result_code' => $resultCode, - 'result_msg' => $pgResponse['resultMsg'] ?? '', - ]); - - return ResponseHelper::error('messages.failed', 502, [ - 'message' => [$pgResponse['resultMsg'] ?? __('sirsoft-pay_kginicis::messages.errors.cash_receipt_issue_failed')], - ]); - } - - $sanitizedPgResponse = $this->sanitizePgResponse($pgResponse, self::CASH_RECEIPT_RESPONSE_KEYS); - - // DB 업데이트 - DB::table('ecommerce_order_payments') - ->where('id', $payment->id) - ->update([ - 'is_cash_receipt_issued' => true, - 'cash_receipt_type' => $issueType === '0' ? 'income_deduction' : 'expenditure_proof', - 'cash_receipt_identifier' => $this->maskCashReceiptIdentifier($issueNumber), - 'cash_receipt_issued_at' => now(), - 'updated_at' => now(), - ]); - - Log::info('KG Inicis: cash receipt issued', [ - 'order_number' => $orderNumber, - 'tid' => $payment->transaction_id, - 'issue_type' => $issueType, - ]); - - return ResponseHelper::success('messages.success', [ - 'result_code' => $resultCode, - 'result_msg' => $pgResponse['resultMsg'] ?? 'OK', - 'pg_response' => $sanitizedPgResponse, - ]); - - } catch (\Exception $e) { - Log::error('KG Inicis: cash receipt issue exception', [ - 'order_number' => $orderNumber, - 'error' => $e->getMessage(), - ]); - - return ResponseHelper::error('messages.failed', 500, [ - 'message' => [$e->getMessage()], - ]); - } - } - - /** - * 현금영수증 발행 식별번호를 저장용 마스킹 값으로 변환합니다. - * - * @param string $identifier PG 발행 요청에 사용한 원본 식별번호 - * @return string 끝 4자리만 남긴 마스킹 값 - */ - private function maskCashReceiptIdentifier(string $identifier): string - { - $digits = preg_replace('/\D+/', '', $identifier) ?? ''; - if ($digits === '') { - return str_repeat('*', max(1, mb_strlen($identifier))); - } - - $length = strlen($digits); - if ($length <= 4) { - return str_repeat('*', $length); - } - - return str_repeat('*', $length - 4) . substr($digits, -4); - } -} diff --git a/plugins/_bundled/sirsoft-pay_kginicis/src/Listeners/RegisterCashReceiptProviderListener.php b/plugins/_bundled/sirsoft-pay_kginicis/src/Listeners/RegisterCashReceiptProviderListener.php new file mode 100644 index 00000000..9b292fa5 --- /dev/null +++ b/plugins/_bundled/sirsoft-pay_kginicis/src/Listeners/RegisterCashReceiptProviderListener.php @@ -0,0 +1,311 @@ +> 훅 구독 설정 + */ + public static function getSubscribedHooks(): array + { + return [ + 'sirsoft-ecommerce.cash_receipt.registered_providers' => [ + 'method' => 'registerProvider', + 'type' => 'filter', + 'priority' => 10, + ], + 'sirsoft-ecommerce.cash_receipt.issue' => [ + 'method' => 'issue', + 'type' => 'filter', + 'priority' => 10, + ], + 'sirsoft-ecommerce.cash_receipt.cancel' => [ + 'method' => 'cancel', + 'type' => 'filter', + 'priority' => 10, + ], + ]; + } + + /** + * 기본 핸들러 (미사용 — 개별 메서드에서 처리) + * + * @param mixed ...$args 훅 인수 + */ + public function handle(...$args): void {} + + /** + * 현금영수증 프로바이더 목록에 KG이니시스를 등록합니다. + * + * @param array $providers 기존 프로바이더 목록 + * @return array KG이니시스가 추가된 목록 + */ + public function registerProvider(array $providers): array + { + $providers[] = [ + 'id' => self::PROVIDER_ID, + 'name' => 'KG이니시스', + 'name_key' => 'sirsoft-pay_kginicis::messages.cash_receipt.provider_name', + 'icon' => 'receipt', + 'supports' => [ + CashReceiptType::INCOME->value, + CashReceiptType::EXPENSE->value, + ], + ]; + + return $providers; + } + + /** + * 현금영수증을 발급합니다. + * + * @param array $result 이전 필터 누적 결과 + * @param Order $order 주문 + * @param string $providerId 발급 대상 프로바이더 ID + * @param array $payload 발급 페이로드 (코어가 조립) + * @return array 발급 결과 {success, error_code, error_message, receipt_key, receipt_url, issue_number, raw_response} + */ + public function issue(array $result, Order $order, string $providerId, array $payload): array + { + if ($providerId !== self::PROVIDER_ID) { + return $result; + } + + $amount = (int) ($payload['amount'] ?? 0); + $taxFree = (int) ($payload['tax_free_amount'] ?? 0); + [$supplyPrice, $tax] = $this->splitSupplyAndTax($amount, $taxFree); + + try { + $response = app(KgInicisApiService::class)->issueCashReceipt([ + 'issueType' => $this->resolveIssueType($payload['type'] ?? null), + 'issueNumber' => (string) ($payload['identifier'] ?? ''), + 'price' => $amount, + 'supplyPrice' => $supplyPrice, + 'tax' => $tax, + 'goodName' => (string) ($payload['order_name'] ?? ''), + 'buyerName' => $this->resolveBuyerName($order), + 'buyerEmail' => $this->resolveBuyerEmail($order), + 'buyerTel' => $this->resolveBuyerTel($order), + ]); + + $resultCode = $response['resultCode'] ?? ''; + + if ($resultCode !== '00') { + Log::warning('KG Inicis: cash receipt issue failed', [ + 'order_id' => $order->id, + 'result_code' => $resultCode, + 'result_msg' => $response['resultMsg'] ?? '', + ]); + + return [ + 'success' => false, + 'error_code' => $resultCode !== '' ? $resultCode : 'PG_API_ERROR', + 'error_message' => $response['resultMsg'] + ?? __('sirsoft-pay_kginicis::messages.errors.cash_receipt_issue_failed'), + 'receipt_key' => null, + 'receipt_url' => null, + 'issue_number' => null, + 'raw_response' => $this->sanitizePgResponse($response, self::RESPONSE_KEYS), + ]; + } + + Log::info('KG Inicis: cash receipt issued', [ + 'order_id' => $order->id, + 'tid' => $response['tid'] ?? null, + ]); + + return [ + 'success' => true, + 'error_code' => null, + 'error_message' => null, + // INIAPI 발급 응답의 tid = "현금영수증발급 거래번호". 취소 시 이 값을 쓴다. + 'receipt_key' => $response['tid'] ?? ($response['TID'] ?? null), + // KG 는 영수증 URL 을 내려주지 않는다 (토스와 달리 조회 링크 부재). + 'receipt_url' => null, + 'issue_number' => $response['authNo'] ?? ($response['authNumber'] ?? null), + 'raw_response' => $this->sanitizePgResponse($response, self::RESPONSE_KEYS), + ]; + } catch (\Exception $e) { + Log::error('KG Inicis: cash receipt issue exception', [ + 'order_id' => $order->id, + 'error' => $e->getMessage(), + ]); + + return [ + 'success' => false, + 'error_code' => 'PG_API_ERROR', + 'error_message' => $e->getMessage(), + 'receipt_key' => null, + 'receipt_url' => null, + 'issue_number' => null, + 'raw_response' => null, + ]; + } + } + + /** + * 현금영수증을 전액취소합니다. + * + * KG 는 부분취소를 지원하지 않는다 — 전체취소 후 잔액 재발행이 규약이며, + * 코어의 재발급 전략과 일치한다. + * + * @param array $result 이전 필터 누적 결과 + * @param Order $order 주문 + * @param string $providerId 발급 프로바이더 ID + * @param string $receiptKey 발급 시 받은 현금영수증 TID + * @return array 취소 결과 {success, error_code, error_message, receipt_key, raw_response} + */ + public function cancel(array $result, Order $order, string $providerId, string $receiptKey): array + { + if ($providerId !== self::PROVIDER_ID) { + return $result; + } + + try { + $response = app(KgInicisApiService::class)->cancelCashReceipt($receiptKey); + + Log::info('KG Inicis: cash receipt cancelled', [ + 'order_id' => $order->id, + 'tid' => $receiptKey, + 'cancel_num' => $response['cshrCancelNum'] ?? null, + ]); + + return [ + 'success' => true, + 'error_code' => null, + 'error_message' => null, + 'receipt_key' => $receiptKey, + 'raw_response' => $this->sanitizePgResponse($response, self::RESPONSE_KEYS), + ]; + } catch (\Exception $e) { + Log::error('KG Inicis: cash receipt cancel failed', [ + 'order_id' => $order->id, + 'tid' => $receiptKey, + 'error' => $e->getMessage(), + ]); + + return [ + 'success' => false, + 'error_code' => 'PG_API_ERROR', + 'error_message' => $e->getMessage(), + 'receipt_key' => $receiptKey, + 'raw_response' => null, + ]; + } + } + + /** + * 코어 발급 용도(income/expense)를 KG issueType(0/1) 으로 변환합니다. + * + * @param string|null $type 코어 enum 값 + * @return string KG issueType ('0'=소득공제, '1'=지출증빙) + */ + private function resolveIssueType(?string $type): string + { + return CashReceiptType::fromLegacy($type) === CashReceiptType::EXPENSE ? '1' : '0'; + } + + /** + * 발급 금액을 공급가액과 부가세로 나눕니다. + * + * 면세분은 부가세 계산에서 제외하고 공급가액에 포함시킨다. 반올림 잔차는 + * 공급가액에 귀속시켜 총액(price = supplyPrice + tax)을 보존한다. + * + * @param int $amount 발급 총액 + * @param int $taxFreeAmount 면세 금액 + * @return array{0: int, 1: int} [공급가액, 부가세] + */ + private function splitSupplyAndTax(int $amount, int $taxFreeAmount): array + { + $taxFree = max(0, min($taxFreeAmount, $amount)); + $taxable = $amount - $taxFree; + + $tax = (int) round($taxable / 11); + $supplyPrice = $amount - $tax; + + return [$supplyPrice, $tax]; + } + + /** + * 구매자명을 해석합니다. (결제 → 주문 배송지 순) + * + * @param Order $order 주문 + * @return string 구매자명 + */ + private function resolveBuyerName(Order $order): string + { + return (string) ($order->payment?->buyer_name + ?? $order->shippingAddress?->orderer_name + ?? ''); + } + + /** + * 구매자 이메일을 해석합니다. + * + * @param Order $order 주문 + * @return string 구매자 이메일 + */ + private function resolveBuyerEmail(Order $order): string + { + return (string) ($order->payment?->buyer_email + ?? $order->shippingAddress?->orderer_email + ?? ''); + } + + /** + * 구매자 연락처를 해석합니다. + * + * @param Order $order 주문 + * @return string 구매자 연락처 + */ + private function resolveBuyerTel(Order $order): string + { + return (string) ($order->payment?->buyer_phone + ?? $order->shippingAddress?->orderer_phone + ?? ''); + } +} diff --git a/plugins/_bundled/sirsoft-pay_kginicis/src/Services/KgInicisApiService.php b/plugins/_bundled/sirsoft-pay_kginicis/src/Services/KgInicisApiService.php index ec4cd210..2ce1ccf7 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/src/Services/KgInicisApiService.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/src/Services/KgInicisApiService.php @@ -153,31 +153,23 @@ class KgInicisApiService : ($settings['live_mobile_hash_key'] ?? ''); } -/** - - * isTestMode - - * - - * @return bool - - */ - + /** + * 현재 테스트 모드인지 반환합니다. + * + * @return bool 테스트 모드면 true + */ public function isTestMode(): bool { return $this->isTest; } -/** - - * useEscrowCredentials - - * - - * @param bool $isEscrow - - */ - + /** + * 에스크로 여부에 맞는 테스트 자격증명으로 교체합니다. + * + * 테스트 모드에서만 동작한다 — 에스크로 테스트 MID 는 표준 테스트 키와 다른 inapi 키를 쓴다. + * + * @param bool $isEscrow 에스크로 결제 여부 + */ public function useEscrowCredentials(bool $isEscrow): void { if (! $this->isTest) { @@ -229,16 +221,11 @@ class KgInicisApiService : ($this->settingsSnapshot['live_iniapi_iv'] ?? ''); } -/** - - * getMid - - * - - * @return string - - */ - + /** + * 현재 모드에 해당하는 가맹점 ID(MID)를 반환합니다. + * + * @return string 가맹점 ID + */ public function getMid(): string { return $this->mid; @@ -275,31 +262,21 @@ class KgInicisApiService return hash('sha256', $signKey); } -/** - - * getJapanMid - - * - - * @return string - - */ - + /** + * 일본결제(CBT) 가맹점 ID를 반환합니다. + * + * @return string 일본 MID + */ public function getJapanMid(): string { return $this->japanMid; } -/** - - * isJapanEnabled - - * - - * @return bool - - */ - + /** + * 일본결제(CBT) 사용 설정 여부를 반환합니다. + * + * @return bool 활성화되어 있으면 true + */ public function isJapanEnabled(): bool { return $this->japanEnabled; @@ -307,6 +284,8 @@ class KgInicisApiService /** * 일본결제(CBT)가 현재 모드에서 실제 요청 가능한 설정인지 확인. + * + * @return bool 일본결제 활성 + MID/키가 모두 설정되어 있으면 true */ public function isJapanConfigured(): bool { @@ -320,6 +299,9 @@ class KgInicisApiService * * 운영자가 결제 후 테스트/운영 모드 또는 MID 설정을 변경해도 과거 CBT 거래가 * 현재 설정의 MID 로 취소 요청되는 회귀를 막는다. + * + * @param bool $isTest 결제 당시의 테스트 모드 여부 + * @param string $mid 결제 당시 저장된 일본 MID (빈 값이면 현재 설정에서 재해석) */ public function useStoredCbtCredentials(bool $isTest, string $mid): void { @@ -332,46 +314,31 @@ class KgInicisApiService : (string) ($this->settingsSnapshot['live_japan_sign_key'] ?? ''); } -/** - - * getJsUrl - - * - - * @return string - - */ - + /** + * 표준 결제창 JS SDK URL 을 반환합니다. (테스트/운영 분기) + * + * @return string 결제창 JS URL + */ public function getJsUrl(): string { return $this->isTest ? self::JS_URL_TEST : self::JS_URL_LIVE; } -/** - - * getCbtAuthUrl - - * - - * @return string - - */ - + /** + * 일본결제(CBT) 인증 요청 URL 을 반환합니다. (테스트/운영 분기) + * + * @return string CBT 인증 URL + */ public function getCbtAuthUrl(): string { return $this->isTest ? self::CBT_AUTH_URL_TEST : self::CBT_AUTH_URL_LIVE; } -/** - - * getCbtApproveUrl - - * - - * @return string - - */ - + /** + * 일본결제(CBT) 승인 요청 URL 을 반환합니다. (테스트/운영 분기) + * + * @return string CBT 승인 URL + */ public function getCbtApproveUrl(): string { return $this->isTest ? self::CBT_APPROVE_URL_TEST : self::CBT_APPROVE_URL_LIVE; @@ -1030,6 +997,71 @@ class KgInicisApiService return $response->json() ?? []; } + /** + * 현금영수증 발행취소 API 호출 (INIAPI v2) + * + * 결제 취소와 같은 refund 엔드포인트를 쓰되, TID 자리에 **현금영수증 발급 TID** 를 넣는다. + * 현금영수증 발행건이면 응답에 취소승인번호(cshrCancelNum)가 함께 내려온다. + * + * 부분취소는 지원하지 않는다 — 전체취소 후 잔액으로 재발행하는 것이 KG 규약이며, + * 코어의 재발급 전략(전액취소 → 재발급)과 일치한다. + * + * 메뉴얼: https://manual.inicis.com/rtpay/cancel.html + * + * @param string $receiptTid 현금영수증 발급 TID + * @param string $msg 취소 사유 + * @return array PG 응답 (resultCode '00' = 성공, cshrCancelNum = 현금영수증 취소승인번호) + * + * @throws \Exception API 호출 실패 시 + */ + public function cancelCashReceipt(string $receiptTid, string $msg = '현금영수증 발행취소'): array + { + $type = 'refund'; + $timestamp = date('YmdHis'); + $clientIp = request()->ip() ?? '127.0.0.1'; + + $detail = [ + 'tid' => $receiptTid, + 'msg' => $msg, + ]; + + $detailJson = str_replace('\\/', '/', json_encode($detail, JSON_UNESCAPED_UNICODE)); + $hashData = hash('sha512', $this->inapiKey.$this->mid.$type.$timestamp.$detailJson); + + $baseUrl = $this->isTest ? self::API_BASE_URL_TEST : self::API_BASE_URL_LIVE; + $apiUrl = $baseUrl.'/v2/pg/'.$type; + + $payload = [ + 'mid' => $this->mid, + 'type' => $type, + 'timestamp' => $timestamp, + 'clientIp' => $clientIp, + 'data' => $detail, + 'hashData' => $hashData, + ]; + + $response = Http::withHeaders(['Content-Type' => 'application/json;charset=utf-8']) + ->post($apiUrl, $payload); + + if ($response->failed()) { + throw new KgInicisApiException('KG Inicis cash receipt cancel API error: HTTP '.$response->status()); + } + + $result = $response->json() ?? []; + + if (($result['resultCode'] ?? '') !== '00') { + Log::error('KG Inicis: cash receipt cancel failed', [ + 'result_code' => $result['resultCode'] ?? 'UNKNOWN', + 'result_msg' => $result['resultMsg'] ?? '', + 'tid' => $receiptTid, + ]); + + throw new KgInicisApiException($result['resultMsg'] ?? 'KG Inicis cash receipt cancel failed'); + } + + return $result; + } + private function buildLiveMid(string $suffix): string { if ($suffix === '') { diff --git a/plugins/_bundled/sirsoft-pay_kginicis/src/routes/api.php b/plugins/_bundled/sirsoft-pay_kginicis/src/routes/api.php index 8b9cdaaa..9a859852 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/src/routes/api.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/src/routes/api.php @@ -1,7 +1,6 @@ name('admin.')->middleware(['auth:sanctum', 'admin'])->g ->middleware('permission:admin,sirsoft-ecommerce.orders.read') ->name('orders.cbt-cvs.recheck'); - // 현금영수증 별도발행 - Route::post('/orders/{orderNumber}/cash-receipt', [AdminCashReceiptController::class, 'issue']) - ->middleware('permission:admin,sirsoft-ecommerce.orders.update') - ->name('orders.cash-receipt.issue'); - // 에스크로 배송등록 Route::get('/orders/{orderNumber}/escrow-delivery', [AdminEscrowDeliveryController::class, 'formData']) ->middleware('permission:admin,sirsoft-ecommerce.orders.read') diff --git a/plugins/_bundled/sirsoft-pay_kginicis/tests/Feature/Controllers/AdminCashReceiptControllerTest.php b/plugins/_bundled/sirsoft-pay_kginicis/tests/Feature/Controllers/AdminCashReceiptControllerTest.php deleted file mode 100644 index 2701e8e5..00000000 --- a/plugins/_bundled/sirsoft-pay_kginicis/tests/Feature/Controllers/AdminCashReceiptControllerTest.php +++ /dev/null @@ -1,71 +0,0 @@ -createAdminUser(['sirsoft-ecommerce.orders.update']); - $order = OrderFactory::new()->paid()->create([ - 'order_number' => 'ORD-CASH-RECEIPT-001', - 'total_amount' => 30000, - 'total_due_amount' => 0, - 'total_paid_amount' => 30000, - ]); - - $payment = OrderPaymentFactory::new()->forOrder($order)->create([ - 'payment_status' => PaymentStatusEnum::PAID, - 'payment_method' => PaymentMethodEnum::VBANK, - 'pg_provider' => 'kginicis', - 'transaction_id' => 'INICIS_CASH_TID_001', - 'paid_amount_local' => 30000, - 'vat_amount' => 2727, - 'payment_name' => '테스트 상품', - 'buyer_name' => '홍길동', - 'buyer_email' => 'buyer@example.com', - 'buyer_phone' => '010-1234-5678', - 'is_cash_receipt_issued' => false, - ]); - - $mock = $this->createMock(KgInicisApiService::class); - $mock->expects($this->once()) - ->method('issueCashReceipt') - ->willReturn([ - 'resultCode' => '00', - 'resultMsg' => 'OK', - 'tid' => 'INICIS_CASH_TID_001', - 'cashReceiptNo' => 'CR-001', - 'buyerName' => '홍길동', - 'buyerTel' => '010-1234-5678', - 'buyerEmail' => 'buyer@example.com', - ]); - $this->app->instance(KgInicisApiService::class, $mock); - - $response = $this->actingAs($admin) - ->postJson('/api/plugins/sirsoft-pay_kginicis/admin/orders/ORD-CASH-RECEIPT-001/cash-receipt', [ - 'issue_type' => '0', - 'issue_number' => '01012345678', - ]); - - $response->assertOk() - ->assertJsonPath('data.result_code', '00') - ->assertJsonPath('data.pg_response.resultCode', '00') - ->assertJsonMissingPath('data.pg_response.buyerName') - ->assertJsonMissingPath('data.pg_response.buyerTel') - ->assertJsonMissingPath('data.pg_response.buyerEmail'); - - $payment->refresh(); - $this->assertSame('*******5678', $payment->cash_receipt_identifier); - $this->assertNotSame('01012345678', $payment->cash_receipt_identifier); - } -} diff --git a/plugins/_bundled/sirsoft-pay_kginicis/tests/Feature/Controllers/AdminRoutePermissionTest.php b/plugins/_bundled/sirsoft-pay_kginicis/tests/Feature/Controllers/AdminRoutePermissionTest.php index 979b8c7e..466a9bb4 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/tests/Feature/Controllers/AdminRoutePermissionTest.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/tests/Feature/Controllers/AdminRoutePermissionTest.php @@ -21,7 +21,6 @@ class AdminRoutePermissionTest extends PluginTestCase 'api.plugins.sirsoft-pay_kginicis.admin.orders.cbt-cvs.simulate-notify' => 'permission:admin,sirsoft-ecommerce.orders.update', 'api.plugins.sirsoft-pay_kginicis.admin.orders.cbt-cvs.expire' => 'permission:admin,sirsoft-ecommerce.orders.update', 'api.plugins.sirsoft-pay_kginicis.admin.orders.cbt-cvs.recheck' => 'permission:admin,sirsoft-ecommerce.orders.read', - 'api.plugins.sirsoft-pay_kginicis.admin.orders.cash-receipt.issue' => 'permission:admin,sirsoft-ecommerce.orders.update', 'api.plugins.sirsoft-pay_kginicis.admin.orders.escrow-delivery.form' => 'permission:admin,sirsoft-ecommerce.orders.read', 'api.plugins.sirsoft-pay_kginicis.admin.orders.escrow-delivery.register' => 'permission:admin,sirsoft-ecommerce.orders.update', 'api.plugins.sirsoft-pay_kginicis.admin.orders.escrow-deny-confirm' => 'permission:admin,sirsoft-ecommerce.orders.update', @@ -37,16 +36,19 @@ class AdminRoutePermissionTest extends PluginTestCase } } - public function test_order_update_permission_is_required_for_cash_receipt_issue(): void + /** + * 현금영수증 발행 라우트가 제거되었는지 확인합니다. + * + * 발행은 이커머스 모듈의 공용 현금영수증 API 로 이관되었다 (프로바이더 훅 축). + * 라우트가 되살아나면 KG 전용 경로가 다시 생겨 이중 발행 경로가 된다. + * + * @effects legacy_kg_cash_receipt_route_removed + */ + public function test_legacy_cash_receipt_route_is_removed(): void { - $admin = $this->createAdminUser(['sirsoft-ecommerce.orders.read']); - - $response = $this->actingAs($admin) - ->postJson('/api/plugins/sirsoft-pay_kginicis/admin/orders/ORD-PERM-001/cash-receipt', [ - 'issue_type' => '0', - 'issue_number' => '01012345678', - ]); - - $response->assertForbidden(); + $this->assertNull( + Route::getRoutes()->getByName('api.plugins.sirsoft-pay_kginicis.admin.orders.cash-receipt.issue'), + 'KG 전용 현금영수증 발행 라우트는 공용 프로바이더 축으로 이관되어 제거되어야 합니다.' + ); } } diff --git a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Concerns/ValidatesTimestampFreshnessTest.php b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Concerns/ValidatesTimestampFreshnessTest.php index 833c088f..8797dac1 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Concerns/ValidatesTimestampFreshnessTest.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Concerns/ValidatesTimestampFreshnessTest.php @@ -3,8 +3,8 @@ namespace Plugins\Sirsoft\PayKginicis\Tests\Unit\Concerns; use Carbon\Carbon; -use PHPUnit\Framework\TestCase; use Plugins\Sirsoft\PayKginicis\Concerns\ValidatesTimestampFreshness; +use Plugins\Sirsoft\PayKginicis\Tests\PluginTestCase; /** * Signature replay 방어용 timestamp 신선도 검증 트레이트 단위 테스트. @@ -15,14 +15,15 @@ use Plugins\Sirsoft\PayKginicis\Concerns\ValidatesTimestampFreshness; * - ±300초 윈도우 내부는 fresh, 이외는 stale * - 잘못된 포맷은 거부 */ -class ValidatesTimestampFreshnessTest extends TestCase +class ValidatesTimestampFreshnessTest extends PluginTestCase { private object $subject; protected function setUp(): void { parent::setUp(); - $this->subject = new class { + $this->subject = new class + { use ValidatesTimestampFreshness { isTimestampFresh as public; } diff --git a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/AdjustEcommercePaymentMethodsLayoutListenerTest.php b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/AdjustEcommercePaymentMethodsLayoutListenerTest.php index f7450271..1b105059 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/AdjustEcommercePaymentMethodsLayoutListenerTest.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/AdjustEcommercePaymentMethodsLayoutListenerTest.php @@ -4,8 +4,8 @@ declare(strict_types=1); namespace Plugins\Sirsoft\PayKginicis\Tests\Unit\Listeners; -use PHPUnit\Framework\TestCase; use Plugins\Sirsoft\PayKginicis\Listeners\AdjustEcommercePaymentMethodsLayoutListener; +use Plugins\Sirsoft\PayKginicis\Tests\PluginTestCase; /** * 이커머스 결제수단 설정 레이아웃 보정 리스너 테스트 — 이슈 #475 @@ -18,7 +18,7 @@ use Plugins\Sirsoft\PayKginicis\Listeners\AdjustEcommercePaymentMethodsLayoutLis * 이제 결제수단 카탈로그가 pg_locked / needs_pg 를 내려주고 코어 레이아웃이 그 값으로 직접 * 분기하므로, 이 리스너의 책임은 테스트모드 경고 주입 하나만 남았다. */ -class AdjustEcommercePaymentMethodsLayoutListenerTest extends TestCase +class AdjustEcommercePaymentMethodsLayoutListenerTest extends PluginTestCase { public function test_subscribes_to_layout_after_apply_as_filter(): void { diff --git a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/EnsureAdminOrderDetailPaymentQueryLayoutListenerTest.php b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/EnsureAdminOrderDetailPaymentQueryLayoutListenerTest.php index e66a3ae7..95536d80 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/EnsureAdminOrderDetailPaymentQueryLayoutListenerTest.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/EnsureAdminOrderDetailPaymentQueryLayoutListenerTest.php @@ -4,10 +4,10 @@ declare(strict_types=1); namespace Plugins\Sirsoft\PayKginicis\Tests\Unit\Listeners; -use PHPUnit\Framework\TestCase; use Plugins\Sirsoft\PayKginicis\Listeners\EnsureAdminOrderDetailPaymentQueryLayoutListener; +use Plugins\Sirsoft\PayKginicis\Tests\PluginTestCase; -class EnsureAdminOrderDetailPaymentQueryLayoutListenerTest extends TestCase +class EnsureAdminOrderDetailPaymentQueryLayoutListenerTest extends PluginTestCase { public function test_subscribes_to_layout_after_apply_as_filter(): void { @@ -23,9 +23,15 @@ class EnsureAdminOrderDetailPaymentQueryLayoutListenerTest extends TestCase ); } + /** + * 결제조회 패널을 탭 콘텐츠 영역에 주입하되, 이관된 KG 전용 현금영수증 패널은 + * 되살아나지 않는지 확인 + * + * @effects legacy_kg_cash_receipt_panel_removed + */ public function test_ensures_payment_query_panel_inside_tab_content_area(): void { - $listener = new EnsureAdminOrderDetailPaymentQueryLayoutListener(); + $listener = new EnsureAdminOrderDetailPaymentQueryLayoutListener; $result = $listener->ensurePaymentQueryLayout($this->makeOrderDetailLayout(), 1); $tabContent = $this->findNodeById($result, 'tab_content_area'); @@ -41,7 +47,9 @@ class EnsureAdminOrderDetailPaymentQueryLayoutListenerTest extends TestCase $this->assertSame(1, $this->countNodeId($tabContent, 'kginicis_verify_panel')); $this->assertSame(1, $this->countNodeId($tabContent, 'kginicis_escrow_delivery_panel')); $this->assertSame(1, $this->countNodeId($tabContent, 'kginicis_escrow_deny_confirm_panel')); - $this->assertSame(1, $this->countNodeId($tabContent, 'kginicis_cash_receipt_panel')); + // 현금영수증 발행은 공용 프로바이더 축(이커머스 모듈)으로 이관되었다. + // KG 전용 패널이 되살아나면 관리자 화면에 발행 UI 가 두 벌 뜬다. + $this->assertSame(0, $this->countNodeId($tabContent, 'kginicis_cash_receipt_panel')); $this->assertSame(0, $this->countDirectChildId($wrapper, 'kginicis_verify_panel')); $this->assertIsString($json); $this->assertStringContainsString('sirsoft-pay_kginicis.admin.order_verify_button', $json); @@ -50,7 +58,7 @@ class EnsureAdminOrderDetailPaymentQueryLayoutListenerTest extends TestCase public function test_keeps_payment_query_panel_idempotent(): void { - $listener = new EnsureAdminOrderDetailPaymentQueryLayoutListener(); + $listener = new EnsureAdminOrderDetailPaymentQueryLayoutListener; $once = $listener->ensurePaymentQueryLayout($this->makeOrderDetailLayout(), 1); $twice = $listener->ensurePaymentQueryLayout($once, 1); @@ -59,12 +67,12 @@ class EnsureAdminOrderDetailPaymentQueryLayoutListenerTest extends TestCase $this->assertSame(1, $this->countNodeId($twice, 'kginicis_verify_panel')); $this->assertSame(1, $this->countNodeId($twice, 'kginicis_escrow_delivery_panel')); $this->assertSame(1, $this->countNodeId($twice, 'kginicis_escrow_deny_confirm_panel')); - $this->assertSame(1, $this->countNodeId($twice, 'kginicis_cash_receipt_panel')); + $this->assertSame(0, $this->countNodeId($twice, 'kginicis_cash_receipt_panel')); } public function test_uses_order_detail_wrapper_when_tab_content_area_is_renamed(): void { - $listener = new EnsureAdminOrderDetailPaymentQueryLayoutListener(); + $listener = new EnsureAdminOrderDetailPaymentQueryLayoutListener; $layout = $this->makeOrderDetailLayout(includeTabContentArea: false); $result = $listener->ensurePaymentQueryLayout($layout, 1); @@ -76,7 +84,7 @@ class EnsureAdminOrderDetailPaymentQueryLayoutListenerTest extends TestCase public function test_leaves_other_layouts_unchanged(): void { - $listener = new EnsureAdminOrderDetailPaymentQueryLayoutListener(); + $listener = new EnsureAdminOrderDetailPaymentQueryLayoutListener; $layout = [ 'layout_name' => 'admin_ecommerce_order_list', @@ -127,7 +135,7 @@ class EnsureAdminOrderDetailPaymentQueryLayoutListenerTest extends TestCase } /** - * @param array $layout + * @param array $layout */ private function countDataSources(array $layout, string $id): int { @@ -138,7 +146,7 @@ class EnsureAdminOrderDetailPaymentQueryLayoutListenerTest extends TestCase } /** - * @param array $node + * @param array $node */ private function countNodeId(array $node, string $id): int { @@ -147,6 +155,7 @@ class EnsureAdminOrderDetailPaymentQueryLayoutListenerTest extends TestCase foreach ($node as $value) { if (is_array($value)) { $count += $this->countNodeId($value, $id); + continue; } @@ -159,7 +168,7 @@ class EnsureAdminOrderDetailPaymentQueryLayoutListenerTest extends TestCase } /** - * @param array $node + * @param array $node * @return array|null */ private function findNodeById(array $node, string $id): ?array @@ -184,7 +193,7 @@ class EnsureAdminOrderDetailPaymentQueryLayoutListenerTest extends TestCase } /** - * @param array $node + * @param array $node */ private function countDirectChildId(array $node, string $id): int { diff --git a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/EnsureAdminOrderDetailTestModeLayoutListenerTest.php b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/EnsureAdminOrderDetailTestModeLayoutListenerTest.php index e62f4fd1..ff9d5a0d 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/EnsureAdminOrderDetailTestModeLayoutListenerTest.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/EnsureAdminOrderDetailTestModeLayoutListenerTest.php @@ -4,10 +4,10 @@ declare(strict_types=1); namespace Plugins\Sirsoft\PayKginicis\Tests\Unit\Listeners; -use PHPUnit\Framework\TestCase; use Plugins\Sirsoft\PayKginicis\Listeners\EnsureAdminOrderDetailTestModeLayoutListener; +use Plugins\Sirsoft\PayKginicis\Tests\PluginTestCase; -class EnsureAdminOrderDetailTestModeLayoutListenerTest extends TestCase +class EnsureAdminOrderDetailTestModeLayoutListenerTest extends PluginTestCase { public function test_subscribes_to_layout_after_apply_as_filter(): void { @@ -25,7 +25,7 @@ class EnsureAdminOrderDetailTestModeLayoutListenerTest extends TestCase public function test_ensures_kginicis_payment_query_layout_on_order_detail(): void { - $listener = new EnsureAdminOrderDetailTestModeLayoutListener(); + $listener = new EnsureAdminOrderDetailTestModeLayoutListener; $result = $listener->ensureTestModeLayout($this->makeOrderDetailLayout(), 1); $json = json_encode($result, JSON_UNESCAPED_SLASHES); @@ -38,7 +38,8 @@ class EnsureAdminOrderDetailTestModeLayoutListenerTest extends TestCase $this->assertSame(1, $this->countNodeId($result, 'kginicis_verify_panel')); $this->assertSame(1, $this->countNodeId($result, 'kginicis_escrow_delivery_panel')); $this->assertSame(1, $this->countNodeId($result, 'kginicis_escrow_deny_confirm_panel')); - $this->assertSame(1, $this->countNodeId($result, 'kginicis_cash_receipt_panel')); + // 현금영수증 발행은 공용 프로바이더 축으로 이관 — KG 전용 패널은 제거되었다. + $this->assertSame(0, $this->countNodeId($result, 'kginicis_cash_receipt_panel')); $this->assertIsString($json); $this->assertStringContainsString('/api/plugins/sirsoft-pay_kginicis/admin/orders/{{route.orderNumber}}/transaction-status', $json); $this->assertStringContainsString('kginicis_status.data?._is_test_mode === true', $json); @@ -62,7 +63,7 @@ class EnsureAdminOrderDetailTestModeLayoutListenerTest extends TestCase public function test_keeps_order_detail_payment_query_layout_idempotent(): void { - $listener = new EnsureAdminOrderDetailTestModeLayoutListener(); + $listener = new EnsureAdminOrderDetailTestModeLayoutListener; $once = $listener->ensureTestModeLayout($this->makeOrderDetailLayout(), 1); $twice = $listener->ensureTestModeLayout($once, 1); @@ -75,12 +76,12 @@ class EnsureAdminOrderDetailTestModeLayoutListenerTest extends TestCase $this->assertSame(1, $this->countNodeId($twice, 'kginicis_verify_panel')); $this->assertSame(1, $this->countNodeId($twice, 'kginicis_escrow_delivery_panel')); $this->assertSame(1, $this->countNodeId($twice, 'kginicis_escrow_deny_confirm_panel')); - $this->assertSame(1, $this->countNodeId($twice, 'kginicis_cash_receipt_panel')); + $this->assertSame(0, $this->countNodeId($twice, 'kginicis_cash_receipt_panel')); } public function test_uses_order_detail_wrapper_when_tab_content_area_is_renamed(): void { - $listener = new EnsureAdminOrderDetailTestModeLayoutListener(); + $listener = new EnsureAdminOrderDetailTestModeLayoutListener; $layout = $this->makeOrderDetailLayout(includeTabContentArea: false); $result = $listener->ensureTestModeLayout($layout, 1); @@ -98,7 +99,7 @@ class EnsureAdminOrderDetailTestModeLayoutListenerTest extends TestCase public function test_leaves_other_layouts_unchanged(): void { - $listener = new EnsureAdminOrderDetailTestModeLayoutListener(); + $listener = new EnsureAdminOrderDetailTestModeLayoutListener; $layout = [ 'layout_name' => 'admin_ecommerce_order_list', @@ -154,7 +155,7 @@ class EnsureAdminOrderDetailTestModeLayoutListenerTest extends TestCase } /** - * @param array $layout + * @param array $layout */ private function countDataSources(array $layout, string $id): int { @@ -165,7 +166,7 @@ class EnsureAdminOrderDetailTestModeLayoutListenerTest extends TestCase } /** - * @param array $node + * @param array $node */ private function countTestModeNotices(array $node): int { @@ -173,7 +174,7 @@ class EnsureAdminOrderDetailTestModeLayoutListenerTest extends TestCase } /** - * @param array $node + * @param array $node */ private function countNodeId(array $node, string $id): int { @@ -182,6 +183,7 @@ class EnsureAdminOrderDetailTestModeLayoutListenerTest extends TestCase foreach ($node as $value) { if (is_array($value)) { $count += $this->countNodeId($value, $id); + continue; } @@ -194,7 +196,7 @@ class EnsureAdminOrderDetailTestModeLayoutListenerTest extends TestCase } /** - * @param array $node + * @param array $node * @return array|null */ private function findNodeById(array $node, string $id): ?array @@ -219,7 +221,7 @@ class EnsureAdminOrderDetailTestModeLayoutListenerTest extends TestCase } /** - * @param array $node + * @param array $node */ private function countDirectChildId(array $node, string $id): int { diff --git a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/EnsureAdminOrderListTestBadgeLayoutListenerTest.php b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/EnsureAdminOrderListTestBadgeLayoutListenerTest.php index b3a576b4..cd0bc5e9 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/EnsureAdminOrderListTestBadgeLayoutListenerTest.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/EnsureAdminOrderListTestBadgeLayoutListenerTest.php @@ -4,10 +4,10 @@ declare(strict_types=1); namespace Plugins\Sirsoft\PayKginicis\Tests\Unit\Listeners; -use PHPUnit\Framework\TestCase; use Plugins\Sirsoft\PayKginicis\Listeners\EnsureAdminOrderListTestBadgeLayoutListener; +use Plugins\Sirsoft\PayKginicis\Tests\PluginTestCase; -class EnsureAdminOrderListTestBadgeLayoutListenerTest extends TestCase +class EnsureAdminOrderListTestBadgeLayoutListenerTest extends PluginTestCase { public function test_subscribes_to_layout_after_apply_as_filter(): void { @@ -25,7 +25,7 @@ class EnsureAdminOrderListTestBadgeLayoutListenerTest extends TestCase public function test_ensures_kginicis_test_mode_data_source_and_badge_on_order_list(): void { - $listener = new EnsureAdminOrderListTestBadgeLayoutListener(); + $listener = new EnsureAdminOrderListTestBadgeLayoutListener; $layout = $this->makeOrderListLayout([ [ @@ -48,7 +48,7 @@ class EnsureAdminOrderListTestBadgeLayoutListenerTest extends TestCase public function test_keeps_order_list_badge_injection_idempotent(): void { - $listener = new EnsureAdminOrderListTestBadgeLayoutListener(); + $listener = new EnsureAdminOrderListTestBadgeLayoutListener; $layout = $this->makeOrderListLayout([]); @@ -61,7 +61,7 @@ class EnsureAdminOrderListTestBadgeLayoutListenerTest extends TestCase public function test_leaves_other_layouts_unchanged(): void { - $listener = new EnsureAdminOrderListTestBadgeLayoutListener(); + $listener = new EnsureAdminOrderListTestBadgeLayoutListener; $layout = [ 'layout_name' => 'admin_ecommerce_settings', @@ -72,7 +72,7 @@ class EnsureAdminOrderListTestBadgeLayoutListenerTest extends TestCase } /** - * @param array> $dataSources + * @param array> $dataSources * @return array */ private function makeOrderListLayout(array $dataSources): array @@ -124,7 +124,7 @@ class EnsureAdminOrderListTestBadgeLayoutListenerTest extends TestCase } /** - * @param array $layout + * @param array $layout */ private function countDataSources(array $layout, string $id): int { @@ -135,7 +135,7 @@ class EnsureAdminOrderListTestBadgeLayoutListenerTest extends TestCase } /** - * @param array $node + * @param array $node */ private function countBadgeConditions(array $node): int { @@ -144,6 +144,7 @@ class EnsureAdminOrderListTestBadgeLayoutListenerTest extends TestCase foreach ($node as $value) { if (is_array($value)) { $count += $this->countBadgeConditions($value); + continue; } diff --git a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/RegisterCashReceiptProviderListenerTest.php b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/RegisterCashReceiptProviderListenerTest.php new file mode 100644 index 00000000..87cadb93 --- /dev/null +++ b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/RegisterCashReceiptProviderListenerTest.php @@ -0,0 +1,348 @@ +createMock(PluginSettingsService::class); + $settings->method('get')->willReturn([ + 'is_test_mode' => true, + 'test_mid' => 'INIpayTest', + 'test_sign_key' => 'SU5JTElURV9UUklQTEVERVNfS0VZU1RS', + 'test_iniapi_key' => 'ItEQKi3rY7uvDS8l', + 'test_iniapi_iv' => 'HYb3yQ4f65QL89==', + ]); + + $this->app->instance(PluginSettingsService::class, $settings); + $this->app->forgetInstance(KgInicisApiService::class); + } + + /** + * 발급 훅 기본 반환값 (코어 CashReceiptService 와 동형) + * + * @return array + */ + private function defaultIssueResult(): array + { + return [ + 'success' => false, + 'error_code' => 'NO_PROVIDER_HANDLED', + 'error_message' => 'no provider', + 'receipt_key' => null, + 'receipt_url' => null, + 'issue_number' => null, + 'raw_response' => null, + ]; + } + + /** + * 취소 훅 기본 반환값 + * + * @return array + */ + private function defaultCancelResult(): array + { + return [ + 'success' => false, + 'error_code' => 'NO_PROVIDER_HANDLED', + 'error_message' => 'no provider', + 'receipt_key' => null, + 'raw_response' => null, + ]; + } + + /** + * 코어가 전달하는 발급 페이로드 + * + * @param array $overrides 덮어쓸 키 + * @return array + */ + private function issuePayload(array $overrides = []): array + { + return array_merge([ + 'type' => 'income', + 'identifier' => '01012345678', + 'identifier_type' => 'phone', + 'amount' => 11000, + 'tax_free_amount' => 0, + 'order_name' => '테스트 상품', + 'order_number' => 'ORD20260712001', + 'issue_sequence' => 1, + ], $overrides); + } + + /** + * KG 결제가 달린 주문을 생성합니다. + */ + private function createKgOrder(): Order + { + $order = Order::factory()->create(); + + OrderPayment::factory()->create([ + 'order_id' => $order->id, + 'pg_provider' => self::PROVIDER_ID, + 'transaction_id' => 'KG_TID_1', + 'buyer_name' => '홍길동', + 'buyer_email' => 'buyer@example.com', + 'buyer_phone' => '01099998888', + ]); + + return $order->fresh(['payment']); + } + + /** + * 발급 성공 응답 (INIAPI: tid = 현금영수증 발급 거래번호, authNo = 승인번호) + */ + private function fakeIssueApi(): void + { + Http::fake([ + '*/v2/pg/receipt' => Http::response([ + 'resultCode' => '00', + 'resultMsg' => '정상', + 'tid' => 'CR_TID_1', + 'authNo' => 'AUTH_555', + ], 200), + ]); + } + + /** + * 구독 훅 매핑이 3개 훅을 filter 로 선언하는지 확인 + */ + public function test_get_subscribed_hooks_declares_three_filter_hooks(): void + { + $hooks = RegisterCashReceiptProviderListener::getSubscribedHooks(); + + foreach ([ + 'sirsoft-ecommerce.cash_receipt.registered_providers', + 'sirsoft-ecommerce.cash_receipt.issue', + 'sirsoft-ecommerce.cash_receipt.cancel', + ] as $hook) { + $this->assertArrayHasKey($hook, $hooks); + $this->assertEquals('filter', $hooks[$hook]['type'], "{$hook} 은 filter 여야 합니다"); + } + } + + /** + * 프로바이더 등록: 기존 목록(토스 등)을 덮어쓰지 않고 자기 항목만 추가하는지 확인 + * + * @effects provider_registered_without_overwriting_others + */ + public function test_register_provider_appends_without_overwriting(): void + { + $existing = [['id' => 'tosspayments', 'name' => '토스페이먼츠']]; + + $result = (new RegisterCashReceiptProviderListener)->registerProvider($existing); + + $this->assertCount(2, $result); + $this->assertEquals('tosspayments', $result[0]['id']); + $this->assertEquals(self::PROVIDER_ID, $result[1]['id']); + } + + /** + * 발급: 타 프로바이더 요청은 그대로 통과시키는지 확인 + * + * @effects other_provider_request_passes_through_untouched + */ + public function test_issue_early_returns_for_other_provider(): void + { + Http::fake(); + $order = $this->createKgOrder(); + $default = $this->defaultIssueResult(); + + $result = (new RegisterCashReceiptProviderListener)->issue( + $default, $order, 'tosspayments', $this->issuePayload() + ); + + $this->assertSame($default, $result); + Http::assertNothingSent(); + } + + /** + * 발급: 성공 시 취소용 TID 를 receipt_key 로, 승인번호를 issue_number 로 반환하는지 확인 + * + * INIAPI 발급 응답의 tid 가 "현금영수증발급 거래번호" 이며 취소 시 이 값을 쓴다. + * + * @effects issue_response_mapped_to_receipt_key_and_issue_number + */ + public function test_issue_maps_tid_to_receipt_key_and_auth_no_to_issue_number(): void + { + $this->fakeIssueApi(); + $order = $this->createKgOrder(); + + $result = (new RegisterCashReceiptProviderListener)->issue( + $this->defaultIssueResult(), $order, self::PROVIDER_ID, $this->issuePayload() + ); + + $this->assertTrue($result['success']); + $this->assertEquals('CR_TID_1', $result['receipt_key'], '취소에 쓸 TID 가 receipt_key 여야 합니다'); + $this->assertEquals('AUTH_555', $result['issue_number']); + $this->assertNull($result['error_code']); + } + + /** + * 발급: 코어 enum(income/expense) 을 KG issueType(0/1) 으로 변환하는지 확인 + * + * @effects receipt_type_converted_to_provider_specific_value + */ + public function test_issue_converts_type_to_kg_issue_type(): void + { + $this->fakeIssueApi(); + $order = $this->createKgOrder(); + $listener = new RegisterCashReceiptProviderListener; + + $listener->issue($this->defaultIssueResult(), $order, self::PROVIDER_ID, $this->issuePayload(['type' => 'income'])); + Http::assertSent(fn ($request) => ($request->data()['data']['issueType'] ?? null) === '0'); + + $this->fakeIssueApi(); + $listener->issue($this->defaultIssueResult(), $order, self::PROVIDER_ID, $this->issuePayload(['type' => 'expense'])); + Http::assertSent(fn ($request) => ($request->data()['data']['issueType'] ?? null) === '1'); + } + + /** + * 발급: 면세금액을 반영해 공급가액/부가세를 산출하는지 확인 + * + * 과세분 11000 중 면세 1000 → 과세대상 10000 → 부가세 909, 공급가액 10091 (총액 보존) + * + * @effects tax_free_amount_sent_with_issue + */ + public function test_issue_computes_supply_price_and_tax_with_tax_free_amount(): void + { + $this->fakeIssueApi(); + $order = $this->createKgOrder(); + + (new RegisterCashReceiptProviderListener)->issue( + $this->defaultIssueResult(), + $order, + self::PROVIDER_ID, + $this->issuePayload(['amount' => 11000, 'tax_free_amount' => 1000]) + ); + + Http::assertSent(function ($request) { + $d = $request->data()['data'] ?? []; + $price = (int) $d['price']; + $supply = (int) $d['supplyPrice']; + $tax = (int) $d['tax']; + + // 총액 = 공급가액 + 부가세 (면세분은 공급가액에 포함) + return $price === 11000 && ($supply + $tax) === 11000 && $tax === 909; + }); + } + + /** + * 발급: PG 가 실패코드를 주면 실패 결과를 반환하는지 확인 (예외 전파 없음) + * + * @effects issue_failure_returns_result_without_throwing + */ + public function test_issue_returns_failure_on_pg_result_code(): void + { + Http::fake([ + '*/v2/pg/receipt' => Http::response([ + 'resultCode' => '01', + 'resultMsg' => '발급 불가', + ], 200), + ]); + $order = $this->createKgOrder(); + + $result = (new RegisterCashReceiptProviderListener)->issue( + $this->defaultIssueResult(), $order, self::PROVIDER_ID, $this->issuePayload() + ); + + $this->assertFalse($result['success']); + $this->assertNotEmpty($result['error_message']); + } + + /** + * 취소: 타 프로바이더 요청은 그대로 통과시키는지 확인 + * + * @effects other_provider_request_passes_through_untouched + */ + public function test_cancel_early_returns_for_other_provider(): void + { + Http::fake(); + $order = $this->createKgOrder(); + $default = $this->defaultCancelResult(); + + $result = (new RegisterCashReceiptProviderListener)->cancel($default, $order, 'tosspayments', 'CR_TID_1'); + + $this->assertSame($default, $result); + Http::assertNothingSent(); + } + + /** + * 취소: 발급 TID 로 refund 엔드포인트를 호출하는지 확인 + * + * KG 는 현금영수증 취소도 결제취소와 같은 refund 엔드포인트를 쓰며, + * 현금영수증 발행건이면 응답에 취소승인번호(cshrCancelNum)가 내려온다. + * + * @effects cancel_uses_issue_tid_as_receipt_key + */ + public function test_cancel_calls_refund_endpoint_with_receipt_tid(): void + { + Http::fake([ + '*/v2/pg/refund' => Http::response([ + 'resultCode' => '00', + 'resultMsg' => '정상', + 'cshrCancelNum' => 'CANCEL_777', + ], 200), + ]); + $order = $this->createKgOrder(); + + $result = (new RegisterCashReceiptProviderListener)->cancel( + $this->defaultCancelResult(), $order, self::PROVIDER_ID, 'CR_TID_1' + ); + + $this->assertTrue($result['success']); + Http::assertSent(function ($request) { + return str_contains($request->url(), '/v2/pg/refund') + && ($request->data()['data']['tid'] ?? null) === 'CR_TID_1'; + }); + } + + /** + * 취소: PG 실패 시 실패 결과를 반환하는지 확인 + */ + public function test_cancel_returns_failure_on_pg_error(): void + { + Http::fake([ + '*/v2/pg/refund' => Http::response([ + 'resultCode' => '01', + 'resultMsg' => '취소 불가', + ], 200), + ]); + $order = $this->createKgOrder(); + + $result = (new RegisterCashReceiptProviderListener)->cancel( + $this->defaultCancelResult(), $order, self::PROVIDER_ID, 'CR_TID_1' + ); + + $this->assertFalse($result['success']); + $this->assertEquals('PG_API_ERROR', $result['error_code']); + } +} diff --git a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Support/BackendMessageKeyResolutionTest.php b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Support/BackendMessageKeyResolutionTest.php new file mode 100644 index 00000000..d4d5cc2b --- /dev/null +++ b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Support/BackendMessageKeyResolutionTest.php @@ -0,0 +1,100 @@ + 수집된 메시지 키 목록 + */ + private function emittedMessageKeys(): array + { + $keys = []; + $dir = new \RecursiveIteratorIterator( + new \RecursiveDirectoryIterator(self::PLUGIN_PATH.'/src') + ); + + foreach ($dir as $file) { + if (! $file->isFile() || $file->getExtension() !== 'php') { + continue; + } + + // emit 형식이 두 가지다: + // ResponseHelper::pluginError('messages.x.y') — 접두 없음 + // __('sirsoft-pay_kginicis::messages.x.y') / ResponseHelper::error() — 네임스페이스 접두 + // 접두를 선택적으로 허용하지 않으면 후자를 통째로 놓쳐 사각이 생긴다 + // (실제로 cbt_connectivity.checked 미정의가 이 사각으로 통과했다). + preg_match_all( + "/'(?:sirsoft-pay_kginicis::)?(messages\.[a-z_]+\.[a-z_0-9]+)'/", + (string) file_get_contents($file->getPathname()), + $matches + ); + + foreach ($matches[1] as $key) { + $keys[$key] = true; + } + } + + return array_keys($keys); + } + + /** + * @return array> 로케일 목록 + */ + public static function localeProvider(): array + { + return [['ko'], ['en']]; + } + + /** + * 백엔드가 내보내는 모든 메시지 키가 각 로케일에서 해석되어야 합니다. + * + * @dataProvider localeProvider + */ + public function test_every_emitted_message_key_resolves(string $locale): void + { + $emitted = $this->emittedMessageKeys(); + $this->assertNotEmpty($emitted, '백엔드에서 emit 하는 메시지 키를 찾지 못했습니다.'); + + $unresolved = []; + + foreach ($emitted as $key) { + $namespaced = 'sirsoft-pay_kginicis::'.$key; + $translated = __($namespaced, [], $locale); + + // 번역이 없으면 Laravel 은 키 문자열을 그대로 돌려준다. + if ($translated === $namespaced) { + $unresolved[] = $key; + } + } + + $this->assertSame( + [], + $unresolved, + sprintf( + "[%s] 백엔드 lang/%s/messages.php 에 정의되지 않은 키가 API 응답으로 노출됩니다:\n - %s", + $locale, + $locale, + implode("\n - ", $unresolved) + ) + ); + } +} diff --git a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Upgrades/MigrateNaverpayBrandButtonKeyTest.php b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Upgrades/MigrateNaverpayBrandButtonKeyTest.php index 638e84c6..4fcbf819 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Upgrades/MigrateNaverpayBrandButtonKeyTest.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Upgrades/MigrateNaverpayBrandButtonKeyTest.php @@ -7,11 +7,11 @@ namespace Plugins\Sirsoft\PayKginicis\Tests\Unit\Upgrades; use App\Extension\UpgradeContext; use App\Upgrades\Data\Ext\Plugins\SirsoftPayKginicis\V1_0_0\Migrations\MigrateNaverpayBrandButtonKey; use Illuminate\Support\Facades\File; -use Tests\TestCase; +use Plugins\Sirsoft\PayKginicis\Tests\PluginTestCase; require_once dirname(__DIR__, 3).'/upgrades/data/1.0.0/migrations/MigrateNaverpayBrandButtonKey.php'; -class MigrateNaverpayBrandButtonKeyTest extends TestCase +class MigrateNaverpayBrandButtonKeyTest extends PluginTestCase { private string $settingsPath; diff --git a/plugins/_bundled/sirsoft-tosspayments/CHANGELOG.md b/plugins/_bundled/sirsoft-tosspayments/CHANGELOG.md index a33771cf..4e3b4f37 100644 --- a/plugins/_bundled/sirsoft-tosspayments/CHANGELOG.md +++ b/plugins/_bundled/sirsoft-tosspayments/CHANGELOG.md @@ -4,7 +4,7 @@ 형식은 [Keep a Changelog](https://keepachangelog.com/ko/1.1.0/)를 따르며, [Semantic Versioning](https://semver.org/lang/ko/)을 준수합니다. -## [1.0.0-beta.4] - 2026-05-28 +## [1.0.0] - 2026-07-13 ### Added @@ -28,11 +28,28 @@ - 에스크로 결제 시 결제창에 상품 정보(상품명·단가·수량)를 함께 전달합니다. 가상계좌와 계좌이체 모두에 적용됩니다. - 에스크로를 켜면 설정 화면에 운영 안내가 표시됩니다 — 에스크로 주문은 부분취소가 불가하다는 점과, 배송정보는 토스 상점관리자에서 등록해야 한다는 점을 안내하며 상점관리자로 바로 이동할 수 있습니다. +#### 현금영수증 + +- 현금영수증을 토스페이먼츠로 발급할 수 있습니다. 결제는 다른 PG로 받으면서 현금영수증만 토스페이먼츠로 발급하는 구성도 가능합니다. +- 부분환불 등으로 주문 금액이 바뀌면 기존 영수증을 취소하고 새 금액으로 다시 발급합니다. 재발급 시에도 중복 없이 처리됩니다. + +#### 영수증 확인 + +- 주문상세(구매자·관리자)에서 토스페이먼츠 영수증을 바로 열어볼 수 있습니다. 관리자 화면에서는 가상계좌 입금 정보와 에스크로 여부도 함께 확인할 수 있습니다. + ### Changed - 플러그인 환경설정 화면의 하단 저장 버튼이 스크롤 중에도 화면에 고정되도록 개선. - sirsoft-ecommerce 최소 버전을 1.1.0 으로 상향 (현금영수증 프로바이더 훅 축 · 결제수단 확장점 의존). +### Fixed + +- 전액 환불이 부분취소로 잘못 요청되던 문제를 수정했습니다. 이미 부분취소한 이력이 있는 주문의 잔액 취소도 정확한 금액으로 처리됩니다. +- 면세 상품이 포함된 주문을 환불할 때 면세 금액이 함께 전달되지 않아 부가세가 잘못 계산되던 문제를 수정했습니다. +- 가상계좌 결제를 취소할 때 환불받을 계좌 정보가 전달되지 않아 취소가 실패하던 문제를 수정했습니다. 계좌 정보가 없으면 취소 전에 안내합니다. +- 에스크로 결제는 부분취소가 불가하므로, 시도 시 결제사 호출 전에 차단하고 안내합니다. +- 네트워크 재시도로 같은 취소 요청이 두 번 전달되어도 중복 취소되지 않도록 했습니다. + ## [1.0.0-beta.3] - 2026-05-11 ### Added diff --git a/plugins/_bundled/sirsoft-tosspayments/composer.json b/plugins/_bundled/sirsoft-tosspayments/composer.json index fbe37f7e..309d3c88 100644 --- a/plugins/_bundled/sirsoft-tosspayments/composer.json +++ b/plugins/_bundled/sirsoft-tosspayments/composer.json @@ -1,7 +1,7 @@ { "name": "plugins/sirsoft-tosspayments", "description": "TossPayments PG Plugin for G7 platform", - "version": "1.0.0-beta.4", + "version": "1.0.0", "type": "library", "authors": [ { diff --git a/plugins/_bundled/sirsoft-tosspayments/lang/en/messages.php b/plugins/_bundled/sirsoft-tosspayments/lang/en/messages.php index 236cfcf0..6a8fdb3d 100644 --- a/plugins/_bundled/sirsoft-tosspayments/lang/en/messages.php +++ b/plugins/_bundled/sirsoft-tosspayments/lang/en/messages.php @@ -7,6 +7,13 @@ return [ 'refund' => [ 'missing_payment_key' => 'Cannot process refund: TossPayments payment key not found.', 'default_reason' => 'Cancelled by customer request', + 'escrow_partial_not_allowed' => 'Escrow payments do not support partial cancellation. Only full cancellation is available.', + 'missing_refund_account' => 'Cancelling a virtual account payment requires refund account details (bank, account number, holder name).', + ], + 'cash_receipt' => [ + 'provider_name' => 'TossPayments', + 'invalid_order_id' => 'The cash receipt identifier does not match the TossPayments format (6-64 chars, letters/digits/-/_).', + 'cancel_reason' => 'Reissued due to an order amount change', ], 'settings_validation' => [ 'vbank_valid_hours_range' => 'Virtual account deposit deadline must be between :min and :max hours (max 90 days).', diff --git a/plugins/_bundled/sirsoft-tosspayments/lang/ko/messages.php b/plugins/_bundled/sirsoft-tosspayments/lang/ko/messages.php index f57fe0a0..2accaebf 100644 --- a/plugins/_bundled/sirsoft-tosspayments/lang/ko/messages.php +++ b/plugins/_bundled/sirsoft-tosspayments/lang/ko/messages.php @@ -7,6 +7,13 @@ return [ 'refund' => [ 'missing_payment_key' => '토스페이먼츠 결제 키가 존재하지 않아 환불 처리할 수 없습니다.', 'default_reason' => '고객 요청에 의한 취소', + 'escrow_partial_not_allowed' => '에스크로 결제는 부분 취소를 지원하지 않습니다. 전체 취소만 가능합니다.', + 'missing_refund_account' => '가상계좌 결제를 취소하려면 환불받을 계좌 정보(은행, 계좌번호, 예금주)가 필요합니다.', + ], + 'cash_receipt' => [ + 'provider_name' => '토스페이먼츠', + 'invalid_order_id' => '현금영수증 발급 식별자가 토스페이먼츠 형식(영문·숫자·-·_ 6~64자)에 맞지 않습니다.', + 'cancel_reason' => '주문 금액 변경에 따른 재발급', ], 'settings_validation' => [ 'vbank_valid_hours_range' => '가상계좌 입금기한은 :min~:max시간(최대 90일) 사이여야 합니다.', diff --git a/plugins/_bundled/sirsoft-tosspayments/package-lock.json b/plugins/_bundled/sirsoft-tosspayments/package-lock.json index 07e87c18..9a18976e 100644 --- a/plugins/_bundled/sirsoft-tosspayments/package-lock.json +++ b/plugins/_bundled/sirsoft-tosspayments/package-lock.json @@ -1,12 +1,12 @@ { "name": "@g7/sirsoft-tosspayments", - "version": "0.2.2", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@g7/sirsoft-tosspayments", - "version": "0.2.2", + "version": "1.0.0", "devDependencies": { "jsdom": "^27.4.0", "typescript": "^5.3.3", diff --git a/plugins/_bundled/sirsoft-tosspayments/package.json b/plugins/_bundled/sirsoft-tosspayments/package.json index 75ec38d8..44b38612 100644 --- a/plugins/_bundled/sirsoft-tosspayments/package.json +++ b/plugins/_bundled/sirsoft-tosspayments/package.json @@ -1,6 +1,6 @@ { "name": "@g7/sirsoft-tosspayments", - "version": "1.0.0-beta.4", + "version": "1.0.0", "type": "module", "private": true, "scripts": { diff --git a/plugins/_bundled/sirsoft-tosspayments/plugin.json b/plugins/_bundled/sirsoft-tosspayments/plugin.json index 99d90769..3e507907 100644 --- a/plugins/_bundled/sirsoft-tosspayments/plugin.json +++ b/plugins/_bundled/sirsoft-tosspayments/plugin.json @@ -5,7 +5,7 @@ "ko": "토스페이먼츠", "en": "TossPayments" }, - "version": "1.0.0-beta.4", + "version": "1.0.0", "license": "MIT", "description": { "ko": "토스페이먼츠 결제 게이트웨이 (통합결제창 연동)", diff --git a/plugins/_bundled/sirsoft-tosspayments/plugin.php b/plugins/_bundled/sirsoft-tosspayments/plugin.php index 51e07c9a..64cfdc2d 100644 --- a/plugins/_bundled/sirsoft-tosspayments/plugin.php +++ b/plugins/_bundled/sirsoft-tosspayments/plugin.php @@ -241,9 +241,11 @@ class Plugin extends AbstractPlugin return [ Listeners\RegisterPgProviderListener::class, Listeners\RegisterTossPaymentMethodsListener::class, + Listeners\RegisterCashReceiptProviderListener::class, Listeners\AdjustEcommercePaymentMethodsLayoutListener::class, Listeners\PaymentRefundListener::class, Listeners\ValidateTossSettingsListener::class, + Listeners\RestoreLayoutExtensionsAfterUpdateListener::class, ]; } @@ -271,6 +273,22 @@ class Plugin extends AbstractPlugin 'en' => 'After TossPayments confirm API completed', ], ], + [ + 'name' => 'sirsoft-tosspayments.payment.before_cancel', + 'type' => 'action', + 'description' => [ + 'ko' => '토스페이먼츠 결제 취소 API 호출 전', + 'en' => 'Before TossPayments cancel API call', + ], + ], + [ + 'name' => 'sirsoft-tosspayments.payment.after_cancel', + 'type' => 'action', + 'description' => [ + 'ko' => '토스페이먼츠 결제 취소 완료 후', + 'en' => 'After TossPayments cancel API completed', + ], + ], ]; } } diff --git a/plugins/_bundled/sirsoft-tosspayments/resources/extensions/admin_order_payment.json b/plugins/_bundled/sirsoft-tosspayments/resources/extensions/admin_order_payment.json new file mode 100644 index 00000000..734a418a --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/resources/extensions/admin_order_payment.json @@ -0,0 +1,169 @@ +{ + "target_layout": "admin_ecommerce_order_detail", + "injections": [ + { + "target_id": "tab_content_area", + "position": "append_child", + "components": [ + { + "id": "tosspayments_payment_panel", + "type": "basic", + "name": "Div", + "if": "{{(order.data?.payments?.filter(p => p.pg_provider === 'tosspayments' && p.transaction_id) ?? []).length > 0}}", + "props": { + "className": "admin-card" + }, + "children": [ + { + "id": "tosspayments_payment_header", + "type": "basic", + "name": "Div", + "props": { + "className": "flex-center gap-2 mb-4" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "w-1.5 h-4 bg-blue-500 rounded-full flex-shrink-0" + } + }, + { + "type": "basic", + "name": "H3", + "props": { + "className": "text-sm font-semibold text-gray-800 dark:text-gray-200" + }, + "text": "$t:sirsoft-tosspayments.admin.payment_panel_title" + } + ] + }, + { + "id": "tosspayments_payment_rows", + "type": "basic", + "name": "Div", + "props": { + "className": "space-y-2" + }, + "children": [ + { + "id": "tosspayments_escrow_row", + "type": "basic", + "name": "Div", + "if": "{{!!order.data?.payment?.is_escrow}}", + "props": { + "className": "flex-between text-sm" + }, + "children": [ + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-label-subtle" + }, + "text": "$t:sirsoft-tosspayments.admin.escrow_label" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-xs font-semibold bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300" + }, + "text": "$t:sirsoft-tosspayments.admin.escrow_yes" + } + ] + }, + { + "id": "tosspayments_vbank_row", + "type": "basic", + "name": "Div", + "if": "{{!!order.data?.payment?.vbank_number}}", + "props": { + "className": "flex-between text-sm" + }, + "children": [ + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-label-subtle" + }, + "text": "$t:sirsoft-tosspayments.admin.vbank_label" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-primary font-medium" + }, + "text": "{{(order.data?.payment?.vbank_name ?? '') + ' ' + (order.data?.payment?.vbank_number ?? '') + ' (' + (order.data?.payment?.vbank_holder ?? '') + ')'}}" + } + ] + }, + { + "id": "tosspayments_vbank_due_row", + "type": "basic", + "name": "Div", + "if": "{{!!order.data?.payment?.vbank_due_at_formatted}}", + "props": { + "className": "flex-between text-sm" + }, + "children": [ + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-label-subtle" + }, + "text": "$t:sirsoft-tosspayments.admin.vbank_due_label" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-primary font-medium" + }, + "text": "{{order.data?.payment?.vbank_due_at_formatted ?? ''}}" + } + ] + }, + { + "id": "tosspayments_receipt_row", + "type": "basic", + "name": "Div", + "if": "{{!!order.data?.payment?.pg_receipt_url}}", + "props": { + "className": "flex-between text-sm" + }, + "children": [ + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-label-subtle" + }, + "text": "$t:sirsoft-tosspayments.admin.receipt_label" + }, + { + "id": "tosspayments_receipt_link", + "type": "basic", + "name": "A", + "props": { + "href": "{{order.data.payment.pg_receipt_url}}", + "target": "_blank", + "rel": "noopener noreferrer", + "className": "text-sm text-blue-600 dark:text-blue-400 hover:underline" + }, + "text": "$t:sirsoft-tosspayments.admin.receipt_view" + } + ] + } + ] + } + ] + } + ] + } + ] +} diff --git a/plugins/_bundled/sirsoft-tosspayments/resources/extensions/user_order_show.json b/plugins/_bundled/sirsoft-tosspayments/resources/extensions/user_order_show.json new file mode 100644 index 00000000..0e888d2c --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/resources/extensions/user_order_show.json @@ -0,0 +1,104 @@ +{ + "target_layout": "mypage/orders/show", + "injections": [ + { + "target_id": "order_payment_info_panel", + "position": "append_child", + "components": [ + { + "type": "basic", + "name": "Div", + "if": "{{order.data.payment?.pg_provider === 'tosspayments' && !!order.data.payment?.pg_receipt_url}}", + "props": { + "className": "pt-4 mt-2 border-t border-gray-200 dark:border-gray-700 space-y-3" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "if": "{{!!order.data.payment?.is_escrow}}", + "props": { + "className": "flex-between" + }, + "children": [ + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-label-subtle" + }, + "text": "$t:sirsoft-tosspayments.user.payment_type_label" + }, + { + "type": "basic", + "name": "Span", + "props": { + "className": "inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-xs font-semibold bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300" + }, + "text": "$t:sirsoft-tosspayments.user.escrow_yes" + } + ] + }, + { + "type": "basic", + "name": "Div", + "props": { + "className": "flex-between" + }, + "children": [ + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-label-subtle" + }, + "text": "$t:sirsoft-tosspayments.user.receipt_label" + }, + { + "type": "basic", + "name": "A", + "props": { + "href": "{{order.data.payment.pg_receipt_url}}", + "target": "_blank", + "rel": "noopener noreferrer", + "className": "text-sm text-blue-600 dark:text-blue-400 hover:underline" + }, + "text": "$t:sirsoft-tosspayments.user.receipt_view" + } + ] + } + ] + }, + { + "type": "basic", + "name": "Div", + "if": "{{order.data.payment?.pg_provider === 'tosspayments' && !!order.data.cash_receipt?.receipt_url}}", + "props": { + "className": "pt-4 mt-2 border-t border-gray-200 dark:border-gray-700 flex-between" + }, + "children": [ + { + "type": "basic", + "name": "Span", + "props": { + "className": "text-label-subtle" + }, + "text": "$t:sirsoft-tosspayments.user.cash_receipt_label" + }, + { + "type": "basic", + "name": "A", + "props": { + "href": "{{order.data.cash_receipt.receipt_url}}", + "target": "_blank", + "rel": "noopener noreferrer", + "className": "text-sm text-blue-600 dark:text-blue-400 hover:underline" + }, + "text": "$t:sirsoft-tosspayments.user.cash_receipt_view" + } + ] + } + ] + } + ] +} diff --git a/plugins/_bundled/sirsoft-tosspayments/resources/lang/en.json b/plugins/_bundled/sirsoft-tosspayments/resources/lang/en.json index e697d548..31b318a5 100644 --- a/plugins/_bundled/sirsoft-tosspayments/resources/lang/en.json +++ b/plugins/_bundled/sirsoft-tosspayments/resources/lang/en.json @@ -73,5 +73,22 @@ "order_not_found": "Order not found.", "payment_failed": "Payment failed.", "non_krw_method": "This payment method is available for KRW payments only." + }, + "user": { + "payment_type_label": "Payment type", + "escrow_yes": "Escrow", + "receipt_label": "Receipt", + "receipt_view": "View receipt", + "cash_receipt_label": "Cash receipt", + "cash_receipt_view": "View cash receipt" + }, + "admin": { + "payment_panel_title": "TossPayments payment info", + "escrow_label": "Payment type", + "escrow_yes": "Escrow", + "vbank_label": "Virtual account", + "vbank_due_label": "Deposit deadline", + "receipt_label": "Receipt", + "receipt_view": "View receipt" } } diff --git a/plugins/_bundled/sirsoft-tosspayments/resources/lang/ko.json b/plugins/_bundled/sirsoft-tosspayments/resources/lang/ko.json index fde8415a..177d8f43 100644 --- a/plugins/_bundled/sirsoft-tosspayments/resources/lang/ko.json +++ b/plugins/_bundled/sirsoft-tosspayments/resources/lang/ko.json @@ -73,5 +73,22 @@ "order_not_found": "주문을 찾을 수 없습니다.", "payment_failed": "결제에 실패했습니다.", "non_krw_method": "이 결제수단은 원화(KRW) 결제에만 사용할 수 있습니다." + }, + "user": { + "payment_type_label": "결제 유형", + "escrow_yes": "에스크로", + "receipt_label": "영수증", + "receipt_view": "영수증 보기", + "cash_receipt_label": "현금영수증", + "cash_receipt_view": "현금영수증 보기" + }, + "admin": { + "payment_panel_title": "토스페이먼츠 결제 정보", + "escrow_label": "결제 유형", + "escrow_yes": "에스크로", + "vbank_label": "가상계좌", + "vbank_due_label": "입금 기한", + "receipt_label": "영수증", + "receipt_view": "영수증 보기" } } diff --git a/plugins/_bundled/sirsoft-tosspayments/src/Exceptions/TossPaymentsApiException.php b/plugins/_bundled/sirsoft-tosspayments/src/Exceptions/TossPaymentsApiException.php new file mode 100644 index 00000000..6dce938c --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/src/Exceptions/TossPaymentsApiException.php @@ -0,0 +1,19 @@ +pg_provider !== self::PG_PROVIDER_ID) { @@ -76,19 +80,69 @@ class PaymentRefundListener implements HookListenerInterface ]; } + // $refundAmount 는 코어가 결제 통화(order_currency)로 환산해 전달한 실환불액이다. + $cancelAmount = (int) round($refundAmount); + $isPartial = $this->isPartialCancel($payment, $cancelAmount); + + // E4: 에스크로 결제는 부분취소를 지원하지 않는다. 결제 시점 스냅샷(is_escrow)이 기준이므로 + // 플러그인 설정을 나중에 off 로 바꿔도 기존 에스크로 주문은 계속 차단된다. + if ($isPartial && (bool) $payment->is_escrow) { + Log::warning('토스페이먼츠 에스크로 주문의 부분취소 차단', [ + 'order_id' => $order->id, + 'payment_key' => $paymentKey, + 'cancel_amount' => $cancelAmount, + ]); + + return [ + 'success' => false, + 'error_code' => 'ESCROW_PARTIAL_REFUND_NOT_ALLOWED', + 'error_message' => __('sirsoft-tosspayments::messages.refund.escrow_partial_not_allowed'), + 'transaction_id' => null, + ]; + } + + // R3: 가상계좌는 입금된 돈을 돌려보낼 계좌가 있어야 취소가 성립한다. + // 계좌 없이 호출하면 토스가 거부하므로 API 호출 전에 명시적으로 실패시킨다. + $refundReceiveAccount = null; + if ($this->requiresRefundReceiveAccount($payment)) { + $refundReceiveAccount = $this->buildRefundReceiveAccount($payment); + + if ($refundReceiveAccount === null) { + Log::warning('토스페이먼츠 가상계좌 환불계좌 누락', [ + 'order_id' => $order->id, + 'payment_key' => $paymentKey, + ]); + + return [ + 'success' => false, + 'error_code' => 'MISSING_REFUND_ACCOUNT', + 'error_message' => __('sirsoft-tosspayments::messages.refund.missing_refund_account'), + 'transaction_id' => null, + ]; + } + } + try { $apiService = $this->getApiService(); $cancelReason = $reason ?? __('sirsoft-tosspayments::messages.refund.default_reason'); - // $refundAmount 는 코어가 결제 통화(order_currency)로 환산해 전달한 실환불액이다. - $cancelAmount = (int) $refundAmount; - $response = $apiService->cancelPayment($paymentKey, $cancelReason, $cancelAmount); + $response = $apiService->cancelPayment( + $paymentKey, + $cancelReason, + // R1: 전액취소는 cancelAmount 를 넣지 않는다 (토스: 미지정 = 전액취소). + $isPartial ? $cancelAmount : null, + // R2: 복합과세 상점에서 면세분이 공급가액으로 오산되지 않도록 동반 전달. + $this->resolveTaxFreeAmount($order, $cancelAmount), + $refundReceiveAccount, + $this->buildIdempotencyKey($refund), + ); Log::info('토스페이먼츠 결제 취소 성공', [ 'order_id' => $order->id, 'payment_key' => $paymentKey, - 'cancel_amount' => $cancelAmount, + 'cancel_amount' => $isPartial ? $cancelAmount : null, + 'is_partial' => $isPartial, ]); // 토스 응답에서 취소 트랜잭션 ID 추출 @@ -119,6 +173,134 @@ class PaymentRefundListener implements HookListenerInterface } } + /** + * 이번 취소가 부분취소인지 판정합니다. (R1) + * + * 결제 통화 기준으로 누적 취소액을 본다. 이미 부분취소한 이력이 있으면 잔액 전부를 + * 취소하더라도 부분취소로 보내야 한다 — 토스는 cancelAmount 미지정 시 "결제 전액" 을 + * 취소하므로, 이미 취소된 금액까지 두 번 취소하게 되기 때문이다. + * + * @param OrderPayment $payment 결제 레코드 + * @param int $cancelAmount 이번 취소 금액 (결제 통화) + * @return bool 부분취소 여부 + */ + private function isPartialCancel(OrderPayment $payment, int $cancelAmount): bool + { + $paidAmount = (int) round((float) $payment->paid_amount_local); + $cumulativeCancelled = (int) round($this->cancelledLocalAmount($payment)); + + // 코어가 이번 환불분을 이미 누적했을 수 있으므로 이전 누적분만 분리한다. + $previousCancelled = max(0, $cumulativeCancelled - $cancelAmount); + + return $previousCancelled > 0 || $cancelAmount < $paidAmount; + } + + /** + * 결제 통화(order_currency) 기준 누적 취소액을 반환합니다. + * + * @param OrderPayment $payment 결제 레코드 + * @return float 결제 통화 기준 누적 취소액 + */ + private function cancelledLocalAmount(OrderPayment $payment): float + { + $currency = $payment->currency; + $mc = $payment->mc_cancelled_amount ?? []; + + if ($currency !== null && isset($mc[$currency])) { + return (float) $mc[$currency]; + } + + return (float) $payment->cancelled_amount; + } + + /** + * 취소 금액 중 면세 금액을 산출합니다. (R2) + * + * 면세/과세 분류의 SSoT 는 주문(total_tax_free_amount / total_tax_amount)이다. + * 부분취소면 취소 비율만큼 면세분을 안분한다. 면세분이 없으면 null 을 반환해 + * 요청 본문에서 taxFreeAmount 자체를 생략시킨다. + * + * @param Order $order 주문 + * @param int $cancelAmount 이번 취소 금액 + * @return int|null 취소분에 해당하는 면세 금액 (없으면 null) + */ + private function resolveTaxFreeAmount(Order $order, int $cancelAmount): ?int + { + $taxFree = (int) round((float) $order->total_tax_free_amount); + + if ($taxFree <= 0 || $cancelAmount <= 0) { + return null; + } + + $taxable = (int) round((float) $order->total_tax_amount); + $classified = $taxFree + $taxable; + + if ($classified <= 0) { + return null; + } + + if ($cancelAmount >= $classified) { + return $taxFree; + } + + // 반올림 잔차는 과세 쪽에 귀속시켜 합계를 보존한다 (코어 calculateIssuableAmount 와 동일 규약). + $share = (int) round($cancelAmount * $taxFree / $classified); + + return max(0, min($share, $cancelAmount)); + } + + /** + * 환불계좌가 필요한 결제인지 판정합니다. (R3) + * + * @param OrderPayment $payment 결제 레코드 + * @return bool 가상계좌 결제 여부 + */ + private function requiresRefundReceiveAccount(OrderPayment $payment): bool + { + return $payment->payment_method === PaymentMethodEnum::VBANK; + } + + /** + * 토스 취소 API 의 refundReceiveAccount 페이로드를 조립합니다. (R3) + * + * @param OrderPayment $payment 결제 레코드 + * @return array|null 환불계좌 (3필드 중 하나라도 없으면 null) + */ + private function buildRefundReceiveAccount(OrderPayment $payment): ?array + { + $bank = $payment->refund_bank_code; + $account = $payment->refund_bank_account; + $holder = $payment->refund_bank_holder; + + if (empty($bank) || empty($account) || empty($holder)) { + return null; + } + + return [ + 'bank' => (string) $bank, + 'accountNumber' => (string) $account, + 'holderName' => (string) $holder, + ]; + } + + /** + * 취소 요청의 멱등키를 조립합니다. + * + * 환불 레코드는 환불 시도마다 고유하므로, 네트워크 재시도로 같은 취소가 두 번 + * 도달해도 토스가 중복 청구를 차단한다. 레코드가 없으면(레거시 호출) 키를 생략한다. + * + * @param OrderRefund|null $refund 환불 레코드 + * @return string|null 멱등키 (없으면 null) + */ + private function buildIdempotencyKey(?OrderRefund $refund): ?string + { + if ($refund === null || $refund->id === null) { + return null; + } + + return 'g7-refund-'.$refund->id; + } + /** * API 서비스 인스턴스를 가져옵니다. */ diff --git a/plugins/_bundled/sirsoft-tosspayments/src/Listeners/RegisterCashReceiptProviderListener.php b/plugins/_bundled/sirsoft-tosspayments/src/Listeners/RegisterCashReceiptProviderListener.php new file mode 100644 index 00000000..f3aee12f --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/src/Listeners/RegisterCashReceiptProviderListener.php @@ -0,0 +1,268 @@ + [ + 'method' => 'registerProvider', + 'type' => 'filter', + 'priority' => 10, + ], + 'sirsoft-ecommerce.cash_receipt.issue' => [ + 'method' => 'issue', + 'type' => 'filter', + 'priority' => 10, + ], + 'sirsoft-ecommerce.cash_receipt.cancel' => [ + 'method' => 'cancel', + 'type' => 'filter', + 'priority' => 10, + ], + ]; + } + + /** + * 기본 핸들러 (미사용 — 개별 메서드에서 처리) + * + * @param mixed ...$args 훅 인수 + */ + public function handle(...$args): void {} + + /** + * 현금영수증 프로바이더 목록에 토스페이먼츠를 등록합니다. + * + * @param array $providers 기존 프로바이더 목록 + * @return array 토스페이먼츠가 추가된 목록 + */ + public function registerProvider(array $providers): array + { + $providers[] = [ + 'id' => self::PROVIDER_ID, + 'name' => '토스페이먼츠', + 'name_key' => 'sirsoft-tosspayments::messages.cash_receipt.provider_name', + 'icon' => 'receipt', + 'supports' => [ + CashReceiptType::INCOME->value, + CashReceiptType::EXPENSE->value, + ], + ]; + + return $providers; + } + + /** + * 현금영수증을 발급합니다. + * + * @param array $result 이전 필터 누적 결과 + * @param Order $order 주문 + * @param string $providerId 발급 대상 프로바이더 ID + * @param array $payload 발급 페이로드 (코어가 조립) + * @return array 발급 결과 {success, error_code, error_message, receipt_key, receipt_url, issue_number, raw_response} + */ + public function issue(array $result, Order $order, string $providerId, array $payload): array + { + if ($providerId !== self::PROVIDER_ID) { + return $result; + } + + $orderId = $this->buildCashReceiptOrderId($payload); + + if ($orderId === null) { + Log::warning('토스페이먼츠 현금영수증 orderId 제약 위반', [ + 'order_id' => $order->id, + 'order_number' => $payload['order_number'] ?? null, + ]); + + return [ + 'success' => false, + 'error_code' => 'INVALID_ORDER_ID', + 'error_message' => __('sirsoft-tosspayments::messages.cash_receipt.invalid_order_id'), + 'receipt_key' => null, + 'receipt_url' => null, + 'issue_number' => null, + 'raw_response' => null, + ]; + } + + $body = [ + 'amount' => (int) ($payload['amount'] ?? 0), + 'orderId' => $orderId, + 'orderName' => (string) ($payload['order_name'] ?? ''), + 'customerIdentityNumber' => (string) ($payload['identifier'] ?? ''), + // 토스는 한글 문자열을 요구한다. 코어 enum(income/expense) 변환은 여기서만 수행한다. + 'type' => $this->resolveTossType($payload['type'] ?? null), + ]; + + $taxFree = (int) ($payload['tax_free_amount'] ?? 0); + if ($taxFree > 0) { + $body['taxFreeAmount'] = $taxFree; + } + + try { + // orderId 는 발급 회차(-cr{seq})를 포함해 이 발급 시도에 고유하고, 재시도 간에도 + // 동일하다 — 멱등키로 그대로 쓰면 재시도로 인한 이중 발급을 토스가 차단한다. + $response = $this->getApiService()->issueCashReceipt($body, $orderId); + + Log::info('토스페이먼츠 현금영수증 발급 성공', [ + 'order_id' => $order->id, + 'receipt_key' => $response['receiptKey'] ?? null, + ]); + + return [ + 'success' => true, + 'error_code' => null, + 'error_message' => null, + 'receipt_key' => $response['receiptKey'] ?? null, + 'receipt_url' => $response['receiptUrl'] ?? null, + 'issue_number' => $response['issueNumber'] ?? null, + 'raw_response' => $response, + ]; + } catch (\Exception $e) { + Log::error('토스페이먼츠 현금영수증 발급 실패', [ + 'order_id' => $order->id, + 'error' => $e->getMessage(), + ]); + + return [ + 'success' => false, + 'error_code' => 'PG_API_ERROR', + 'error_message' => $e->getMessage(), + 'receipt_key' => null, + 'receipt_url' => null, + 'issue_number' => null, + 'raw_response' => null, + ]; + } + } + + /** + * 현금영수증을 전액취소합니다. + * + * 부분취소는 사용하지 않는다 (D7) — 금액 인자가 없다. + * + * @param array $result 이전 필터 누적 결과 + * @param Order $order 주문 + * @param string $providerId 발급 프로바이더 ID + * @param string $receiptKey 취소할 영수증 키 + * @return array 취소 결과 {success, error_code, error_message, receipt_key, raw_response} + */ + public function cancel(array $result, Order $order, string $providerId, string $receiptKey): array + { + if ($providerId !== self::PROVIDER_ID) { + return $result; + } + + try { + // 취소 대상 영수증 키는 재시도 간에 안정적이다 — 멱등키로 쓰면 재시도가 + // 이미 취소된 영수증을 다시 취소하려다 실패하는 것을 토스가 차단한다. + $response = $this->getApiService()->cancelCashReceipt( + $receiptKey, + __('sirsoft-tosspayments::messages.cash_receipt.cancel_reason'), + 'cr-cancel-'.$receiptKey, + ); + + Log::info('토스페이먼츠 현금영수증 취소 성공', [ + 'order_id' => $order->id, + 'receipt_key' => $receiptKey, + ]); + + return [ + 'success' => true, + 'error_code' => null, + 'error_message' => null, + // 응답의 receiptKey 는 'c_' 접두가 붙은 "취소 거래" 키다. 취소 행에는 + // 취소된 영수증의 키를 그대로 보관해야 코어의 filterActive() 가 + // 발급 행과 짝지어 비활성화할 수 있다 (안 그러면 영구히 활성으로 남는다). + 'receipt_key' => $receiptKey, + 'raw_response' => $response, + ]; + } catch (\Exception $e) { + Log::error('토스페이먼츠 현금영수증 취소 실패', [ + 'order_id' => $order->id, + 'receipt_key' => $receiptKey, + 'error' => $e->getMessage(), + ]); + + return [ + 'success' => false, + 'error_code' => 'PG_API_ERROR', + 'error_message' => $e->getMessage(), + 'receipt_key' => $receiptKey, + 'raw_response' => null, + ]; + } + } + + /** + * 발급 요청의 orderId 를 조립합니다. + * + * 현금영수증의 orderId 는 결제의 orderId 와 같은 네임스페이스가 아니다. 재발급 시 + * 동일 orderId 를 재사용하면 토스가 중복 거부하므로 발급 회차를 접미한다. + * 코어는 회차 숫자(issue_sequence)만 제공하고, 문자열 조립은 프로바이더가 한다. + * + * @param array $payload 발급 페이로드 + * @return string|null 토스 제약을 만족하는 orderId (위반 시 null) + */ + private function buildCashReceiptOrderId(array $payload): ?string + { + $orderNumber = (string) ($payload['order_number'] ?? ''); + $sequence = max(1, (int) ($payload['issue_sequence'] ?? 1)); + + $orderId = "{$orderNumber}-cr{$sequence}"; + + return preg_match(self::ORDER_ID_PATTERN, $orderId) === 1 ? $orderId : null; + } + + /** + * 코어 발급 용도(income/expense)를 토스가 요구하는 한글 문자열로 변환합니다. + * + * @param string|null $type 코어 enum 값 + * @return string 토스 type (소득공제 | 지출증빙) + */ + private function resolveTossType(?string $type): string + { + return CashReceiptType::fromLegacy($type) === CashReceiptType::EXPENSE + ? '지출증빙' + : '소득공제'; + } + + /** + * API 서비스 인스턴스를 가져옵니다. + */ + protected function getApiService(): TossPaymentsApiService + { + return app(TossPaymentsApiService::class); + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/src/Listeners/RestoreLayoutExtensionsAfterUpdateListener.php b/plugins/_bundled/sirsoft-tosspayments/src/Listeners/RestoreLayoutExtensionsAfterUpdateListener.php new file mode 100644 index 00000000..44571a37 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/src/Listeners/RestoreLayoutExtensionsAfterUpdateListener.php @@ -0,0 +1,185 @@ +> 훅 구독 설정 + */ + public static function getSubscribedHooks(): array + { + return [ + 'core.plugins.updated' => [ + 'method' => 'restoreCurrentExtensionsAfterUpdate', + 'type' => 'action', + 'priority' => 20, + // 인프라 부수효과 — 업데이트 트랜잭션 안에서 동기 실행되어야 한다. + 'sync' => true, + ], + ]; + } + + /** + * 기본 핸들러 (미사용 — 개별 메서드에서 처리) + * + * @param mixed ...$args 훅 인수 + */ + public function handle(...$args): void {} + + /** + * 업데이트된 플러그인이 자신이면 오버레이 확장을 재등록합니다. + * + * @param string $identifier 업데이트된 플러그인 식별자 + */ + public function restoreCurrentExtensionsAfterUpdate(string $identifier): void + { + if ($identifier !== self::PLUGIN_IDENTIFIER) { + return; + } + + $service = app(LayoutExtensionService::class); + + foreach ($this->currentOverlayExtensions() as $extensionData) { + $targetLayout = $extensionData['target_layout'] ?? null; + if (! is_string($targetLayout) || $targetLayout === '') { + continue; + } + + foreach ($this->templateIdsForLogicalLayout($targetLayout) as $templateId) { + $result = $service->registerExtension( + $extensionData, + LayoutSourceType::Plugin, + self::PLUGIN_IDENTIFIER, + $templateId, + true + ); + + if ($result !== null) { + $service->invalidateExtensionCache($templateId, $targetLayout, LayoutExtensionType::Overlay); + } + } + } + } + + /** + * resources/extensions 의 오버레이 확장 정의를 모두 읽습니다. + * + * @return array> 확장 정의 목록 + */ + private function currentOverlayExtensions(): array + { + $paths = glob($this->extensionsDirectory().'/*.json') ?: []; + $extensions = []; + + foreach ($paths as $path) { + $extensionData = $this->readExtensionJson($path); + if ($extensionData === null || ! isset($extensionData['target_layout'])) { + continue; + } + + $extensions[] = $extensionData; + } + + return $extensions; + } + + /** + * 확장 정의 디렉토리 경로를 반환합니다. + */ + private function extensionsDirectory(): string + { + return dirname(__DIR__, 2).'/resources/extensions'; + } + + /** + * 확장 JSON 을 읽어 배열로 반환합니다. + * + * @param string $path 파일 경로 + * @return array|null 파싱 결과 (실패 시 null) + */ + private function readExtensionJson(string $path): ?array + { + $content = file_get_contents($path); + if ($content === false) { + Log::warning('토스페이먼츠 레이아웃 확장 파일을 읽을 수 없습니다.', [ + 'path' => $path, + ]); + + return null; + } + + $data = json_decode($content, true); + if (json_last_error() !== JSON_ERROR_NONE || ! is_array($data)) { + Log::warning('토스페이먼츠 레이아웃 확장 JSON 파싱 실패', [ + 'path' => $path, + 'error' => json_last_error_msg(), + ]); + + return null; + } + + return $data; + } + + /** + * 논리 레이아웃명을 가진 템플릿 ID 목록을 반환합니다. + * + * @param string $layoutName 논리 레이아웃명 + * @return array 템플릿 ID 목록 + */ + private function templateIdsForLogicalLayout(string $layoutName): array + { + $templateRepository = app(TemplateRepositoryInterface::class); + $layoutRepository = app(LayoutRepositoryInterface::class); + $templateIds = []; + + foreach ($templateRepository->getAll() as $template) { + $layoutNames = $layoutRepository->getLayoutNamesByTemplateId((int) $template->id); + + foreach ($layoutNames as $storedName) { + if (! is_string($storedName) || ! $this->matchesLogicalLayout($storedName, $layoutName)) { + continue; + } + + $templateIds[(int) $template->id] = (int) $template->id; + + break; + } + } + + return array_values($templateIds); + } + + /** + * 저장된 레이아웃명이 논리 레이아웃명과 일치하는지 확인합니다. + * + * @param string $storedName 저장된 레이아웃명 + * @param string $layoutName 논리 레이아웃명 + * @return bool 일치 여부 + */ + private function matchesLogicalLayout(string $storedName, string $layoutName): bool + { + return $storedName === $layoutName || str_ends_with($storedName, '.'.$layoutName); + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/src/Services/TossPaymentsApiService.php b/plugins/_bundled/sirsoft-tosspayments/src/Services/TossPaymentsApiService.php index dd7ffadb..f3a9fdaf 100644 --- a/plugins/_bundled/sirsoft-tosspayments/src/Services/TossPaymentsApiService.php +++ b/plugins/_bundled/sirsoft-tosspayments/src/Services/TossPaymentsApiService.php @@ -2,9 +2,11 @@ namespace Plugins\Sirsoft\Tosspayments\Services; +use App\Extension\HookManager; use App\Services\PluginSettingsService; use Illuminate\Support\Facades\Http; use Illuminate\Support\Facades\Log; +use Plugins\Sirsoft\Tosspayments\Exceptions\TossPaymentsApiException; /** * 토스페이먼츠 API 호출 서비스 @@ -24,7 +26,7 @@ class TossPaymentsApiService private string $secretKey; /** - * @param PluginSettingsService $pluginSettingsService 플러그인 설정 서비스 + * @param PluginSettingsService $pluginSettingsService 플러그인 설정 서비스 */ public function __construct(PluginSettingsService $pluginSettingsService) { @@ -38,11 +40,12 @@ class TossPaymentsApiService /** * 결제 승인 API 호출 * - * @param string $paymentKey 토스 결제 키 - * @param string $orderId 주문번호 - * @param int $amount 결제 금액 + * @param string $paymentKey 토스 결제 키 + * @param string $orderId 주문번호 + * @param int $amount 결제 금액 * @return array PG 응답 데이터 - * @throws \Exception API 호출 실패 시 + * + * @throws TossPaymentsApiException API 호출 실패 시 */ public function confirmPayment(string $paymentKey, string $orderId, int $amount): array { @@ -56,47 +59,114 @@ class TossPaymentsApiService /** * 결제 취소 API 호출 * - * @param string $paymentKey 토스 결제 키 - * @param string $cancelReason 취소 사유 - * @param int|null $cancelAmount 부분 취소 금액 (null이면 전액 취소) + * 토스는 cancelAmount 를 넣지 않으면 전액 취소로 처리한다. 전액 취소를 부분 취소로 + * 보내지 않도록, 호출자가 전액이라고 판단한 경우 null 을 넘겨야 한다. + * + * @param string $paymentKey 토스 결제 키 + * @param string $cancelReason 취소 사유 + * @param int|null $cancelAmount 부분 취소 금액 (null이면 전액 취소) + * @param int|null $taxFreeAmount 취소 금액 중 면세 금액 (복합과세 상점의 VAT 오산 방지) + * @param array|null $refundReceiveAccount 가상계좌 환불 계좌 {bank, accountNumber, holderName} + * @param string|null $idempotencyKey 멱등키 (네트워크 재시도 시 중복 취소 방지) * @return array PG 응답 데이터 - * @throws \Exception API 호출 실패 시 + * + * @throws TossPaymentsApiException API 호출 실패 시 */ - public function cancelPayment(string $paymentKey, string $cancelReason, ?int $cancelAmount = null): array - { + public function cancelPayment( + string $paymentKey, + string $cancelReason, + ?int $cancelAmount = null, + ?int $taxFreeAmount = null, + ?array $refundReceiveAccount = null, + ?string $idempotencyKey = null, + ): array { $body = ['cancelReason' => $cancelReason]; if ($cancelAmount !== null) { $body['cancelAmount'] = $cancelAmount; } + if ($taxFreeAmount !== null) { + $body['taxFreeAmount'] = $taxFreeAmount; + } + + if ($refundReceiveAccount !== null) { + $body['refundReceiveAccount'] = $refundReceiveAccount; + } + // 훅: 결제 취소 전 (본인인증 등 확장 지점) - \App\Extension\HookManager::doAction('sirsoft-tosspayments.payment.before_cancel', $paymentKey, $cancelReason, $cancelAmount); + HookManager::doAction('sirsoft-tosspayments.payment.before_cancel', $paymentKey, $cancelReason, $cancelAmount); - $response = $this->request('POST', "/v1/payments/{$paymentKey}/cancel", $body); + $response = $this->request('POST', "/v1/payments/{$paymentKey}/cancel", $body, $idempotencyKey); - \App\Extension\HookManager::doAction('sirsoft-tosspayments.payment.after_cancel', $paymentKey, $response); + HookManager::doAction('sirsoft-tosspayments.payment.after_cancel', $paymentKey, $response); return $response; } + /** + * 현금영수증 발급 API 호출 + * + * @param array $data 발급 데이터 {amount, orderId, orderName, type, customerIdentityNumber, taxFreeAmount?} + * @param string|null $idempotencyKey 멱등키 (네트워크 재시도 시 이중 발급 방지) + * @return array PG 응답 데이터 (receiptKey, receiptUrl, issueNumber 등) + * + * @throws TossPaymentsApiException API 호출 실패 시 + */ + public function issueCashReceipt(array $data, ?string $idempotencyKey = null): array + { + return $this->request('POST', '/v1/cash-receipts', $data, $idempotencyKey); + } + + /** + * 현금영수증 취소 API 호출 + * + * 본문에 amount 를 넣으면 부분취소가 되지만 의도적으로 넣지 않는다 — 전액취소 전용이다. + * 이래야 타 프로바이더(팝빌·바로빌 등) 어댑터가 동일 시그니처를 만족한다. + * + * cancelReason 은 토스의 필수 파라미터다. 누락하면 400 INVALID_REQUEST + * ("필수 파라미터가 누락되었습니다.") 로 거부된다. + * + * @param string $receiptKey 토스 영수증 키 + * @param string $cancelReason 취소 사유 + * @param string|null $idempotencyKey 멱등키 (네트워크 재시도 시 이중 취소 방지) + * @return array PG 응답 데이터 + * + * @throws TossPaymentsApiException API 호출 실패 시 + */ + public function cancelCashReceipt(string $receiptKey, string $cancelReason, ?string $idempotencyKey = null): array + { + return $this->request('POST', "/v1/cash-receipts/{$receiptKey}/cancel", [ + 'cancelReason' => $cancelReason, + ], $idempotencyKey); + } + /** * 토스페이먼츠 API 요청 * - * @param string $method HTTP 메서드 - * @param string $path API 경로 - * @param array $body 요청 본문 + * @param string $method HTTP 메서드 + * @param string $path API 경로 + * @param array $body 요청 본문 + * @param string|null $idempotencyKey 멱등키 (지정 시 Idempotency-Key 헤더 부착) * @return array 응답 데이터 - * @throws \Exception API 호출 실패 시 + * + * @throws TossPaymentsApiException API 호출 실패 시 */ - private function request(string $method, string $path, array $body): array + private function request(string $method, string $path, array $body, ?string $idempotencyKey = null): array { - $authHeader = 'Basic ' . base64_encode($this->secretKey . ':'); + $authHeader = 'Basic '.base64_encode($this->secretKey.':'); - $response = Http::withHeaders([ + $headers = [ 'Authorization' => $authHeader, 'Content-Type' => 'application/json', - ])->{strtolower($method)}(self::BASE_URL . $path, $body); + ]; + + if ($idempotencyKey !== null) { + $headers['Idempotency-Key'] = $idempotencyKey; + } + + $response = Http::withHeaders($headers) + ->{strtolower($method)}(self::BASE_URL.$path, $body); if ($response->failed()) { $error = $response->json(); @@ -108,7 +178,7 @@ class TossPaymentsApiService 'error_message' => $error['message'] ?? '', ]); - throw new \Exception( + throw new TossPaymentsApiException( $error['message'] ?? 'TossPayments API error', $response->status() ); diff --git a/plugins/_bundled/sirsoft-tosspayments/tests/Feature/Controllers/PaymentCallbackControllerTest.php b/plugins/_bundled/sirsoft-tosspayments/tests/Feature/Controllers/PaymentCallbackControllerTest.php index 8a218507..6e59b40e 100644 --- a/plugins/_bundled/sirsoft-tosspayments/tests/Feature/Controllers/PaymentCallbackControllerTest.php +++ b/plugins/_bundled/sirsoft-tosspayments/tests/Feature/Controllers/PaymentCallbackControllerTest.php @@ -61,13 +61,22 @@ class PaymentCallbackControllerTest extends PluginTestCase * * @param int $totalAmount 주문 총액 */ + /** + * 주문번호 충돌 방지용 시퀀스. + * + * random_int 로 만들면 같은 스위트 내 다른 테스트가 만든 주문과 번호가 겹칠 수 있고, + * 그때 콜백이 엉뚱한 주문을 찾아 금액 불일치(amount_mismatch)로 실패한다 — + * 낮은 확률로만 터지므로 "간헐적 실패" 로 나타나 원인을 오해하기 쉽다. + */ + private static int $orderSequence = 0; + private function createTestOrder(int $totalAmount = 50000): Order { $user = User::factory()->create(); $order = OrderFactory::new()->create([ 'user_id' => $user->id, - 'order_number' => 'ORD-TEST-'.random_int(10000, 99999), + 'order_number' => 'ORD-TEST-'.(++self::$orderSequence), 'order_status' => OrderStatusEnum::PENDING_ORDER, 'subtotal_amount' => $totalAmount, 'total_discount_amount' => 0, diff --git a/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/PaymentRefundListenerTest.php b/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/PaymentRefundListenerTest.php index 9055da25..8314eee5 100644 --- a/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/PaymentRefundListenerTest.php +++ b/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/PaymentRefundListenerTest.php @@ -2,16 +2,71 @@ namespace Plugins\Sirsoft\Tosspayments\Tests\Unit\Listeners; +use Illuminate\Support\Facades\Http; +use Modules\Sirsoft\Ecommerce\Enums\RefundMethodEnum; +use Modules\Sirsoft\Ecommerce\Enums\RefundStatusEnum; use Modules\Sirsoft\Ecommerce\Models\Order; use Modules\Sirsoft\Ecommerce\Models\OrderPayment; -use PHPUnit\Framework\TestCase; +use Modules\Sirsoft\Ecommerce\Models\OrderRefund; use Plugins\Sirsoft\Tosspayments\Listeners\PaymentRefundListener; +use Plugins\Sirsoft\Tosspayments\Tests\PluginTestCase; /** * PaymentRefundListener 단위 테스트 + * + * 환불 정합성 3건(R1 전액취소 / R2 면세금액 / R3 가상계좌 환불계좌) + + * 에스크로 부분취소 사전 차단(E4) + 멱등키를 검증한다. */ -class PaymentRefundListenerTest extends TestCase +class PaymentRefundListenerTest extends PluginTestCase { + /** + * 토스 취소 API 를 성공 응답으로 가짜 응답 처리합니다. + */ + private function fakeCancelApi(): void + { + Http::fake([ + 'api.tosspayments.com/*' => Http::response([ + 'cancels' => [['transactionKey' => 'TXN_CANCEL_1']], + ], 200), + ]); + } + + /** + * 토스 결제가 달린 주문을 생성합니다. + * + * @param array $paymentAttributes 결제 레코드 덮어쓸 속성 + */ + private function createTossOrder(array $paymentAttributes = []): Order + { + $order = Order::factory()->create(); + + OrderPayment::factory()->create(array_merge([ + 'order_id' => $order->id, + 'pg_provider' => 'tosspayments', + 'transaction_id' => 'test_payment_key', + 'paid_amount_local' => 10000, + 'cancelled_amount' => 0, + 'currency' => 'KRW', + 'is_escrow' => false, + ], $paymentAttributes)); + + return $order->fresh(['payment']); + } + + /** + * 환불 레코드를 생성합니다. (OrderRefundFactory 부재 — 직접 생성) + */ + private function createRefund(Order $order, float $amount): OrderRefund + { + return OrderRefund::create([ + 'order_id' => $order->id, + 'refund_number' => 'RF'.uniqid(), + 'refund_status' => RefundStatusEnum::REQUESTED, + 'refund_method' => RefundMethodEnum::PG, + 'refund_amount' => $amount, + ]); + } + /** * getSubscribedHooks가 올바른 훅 매핑을 반환하는지 확인 */ @@ -30,23 +85,17 @@ class PaymentRefundListenerTest extends TestCase */ public function test_process_refund_skips_non_tosspayments_provider(): void { - $listener = new PaymentRefundListener(); + Http::fake(); + $order = $this->createTossOrder(['pg_provider' => 'other_pg']); + $default = ['success' => false, 'error_code' => null, 'error_message' => null, 'transaction_id' => null]; - $order = $this->createMock(Order::class); - $payment = $this->createStub(OrderPayment::class); - $payment->method('__get')->willReturnCallback(function ($key) { - return match ($key) { - 'pg_provider' => 'other_pg', - default => null, - }; - }); - - $defaultResult = ['success' => false, 'error_code' => null, 'error_message' => null, 'transaction_id' => null]; - - $result = $listener->processRefund($defaultResult, $order, $payment, 10000.0); + $result = (new PaymentRefundListener)->processRefund( + $default, $order, $order->payment, 10000.0, null, $this->createRefund($order, 10000) + ); $this->assertFalse($result['success']); $this->assertNull($result['error_code']); + Http::assertNothingSent(); } /** @@ -55,49 +104,365 @@ class PaymentRefundListenerTest extends TestCase */ public function test_process_refund_does_not_match_plugin_identifier(): void { - $listener = new PaymentRefundListener(); + Http::fake(); + $order = $this->createTossOrder(['pg_provider' => 'sirsoft-tosspayments']); + $default = ['success' => false, 'error_code' => null, 'error_message' => null, 'transaction_id' => null]; - $order = $this->createMock(Order::class); - $payment = $this->createStub(OrderPayment::class); - $payment->method('__get')->willReturnCallback(function ($key) { - return match ($key) { - 'pg_provider' => 'sirsoft-tosspayments', - default => null, - }; - }); + $result = (new PaymentRefundListener)->processRefund( + $default, $order, $order->payment, 10000.0, null, $this->createRefund($order, 10000) + ); - $defaultResult = ['success' => false, 'error_code' => null, 'error_message' => null, 'transaction_id' => null]; - - $result = $listener->processRefund($defaultResult, $order, $payment, 10000.0); - - // 플러그인 식별자는 PG provider ID가 아니므로 스킵되어야 함 $this->assertFalse($result['success']); - $this->assertNull($result['error_code']); + Http::assertNothingSent(); } /** - * pg_provider가 'tosspayments'일 때 스킵하지 않고 처리에 진입하는지 확인 + * 결제 키가 없으면 API 를 호출하지 않고 실패를 반환하는지 확인 */ - public function test_process_refund_enters_processing_for_tosspayments(): void + public function test_process_refund_fails_without_payment_key(): void { - $listener = new PaymentRefundListener(); + Http::fake(); + $order = $this->createTossOrder(['transaction_id' => null]); + $default = ['success' => false, 'error_code' => null, 'error_message' => null, 'transaction_id' => null]; - $order = $this->createMock(Order::class); - $payment = $this->createStub(OrderPayment::class); - $payment->method('__get')->willReturnCallback(function ($key) { - return match ($key) { - 'pg_provider' => 'tosspayments', - 'transaction_id' => 'test_payment_key', - default => null, - }; + $result = (new PaymentRefundListener)->processRefund( + $default, $order, $order->payment, 10000.0, null, $this->createRefund($order, 10000) + ); + + $this->assertFalse($result['success']); + $this->assertEquals('MISSING_PAYMENT_KEY', $result['error_code']); + Http::assertNothingSent(); + } + + // ================================================================ + // R1. 전액 환불은 cancelAmount 를 보내지 않는다 (토스: 미지정 = 전액취소) + // ================================================================ + + /** + * R1: 전액 환불 시 cancelAmount 를 전달하지 않는지 확인 + * + * 현행 결함: 전액이어도 cancelAmount 를 항상 넣어 부분취소로 오처리된다. + * + * @effects full_refund_omits_cancel_amount + */ + public function test_r1_full_refund_omits_cancel_amount(): void + { + $this->fakeCancelApi(); + $order = $this->createTossOrder(['paid_amount_local' => 10000, 'cancelled_amount' => 0]); + + $result = (new PaymentRefundListener)->processRefund( + ['success' => false], $order, $order->payment, 10000.0, null, $this->createRefund($order, 10000) + ); + + $this->assertTrue($result['success']); + Http::assertSent(function ($request) { + return ! array_key_exists('cancelAmount', $request->data()); }); + } - $defaultResult = ['success' => false, 'error_code' => null, 'error_message' => null, 'transaction_id' => null]; + /** + * R1: 부분 환불 시에는 cancelAmount 를 전달하는지 확인 + * + * @effects partial_refund_sends_cancel_amount + */ + public function test_r1_partial_refund_sends_cancel_amount(): void + { + $this->fakeCancelApi(); + $order = $this->createTossOrder(['paid_amount_local' => 10000, 'cancelled_amount' => 0]); - // getApiService()에서 app() 호출 시 Laravel 컨테이너 미준비로 - // BindingResolutionException 발생 → 정상적으로 tosspayments 분기로 진입했다는 증거 - $this->expectException(\Throwable::class); + $result = (new PaymentRefundListener)->processRefund( + ['success' => false], $order, $order->payment, 3000.0, null, $this->createRefund($order, 3000) + ); - $listener->processRefund($defaultResult, $order, $payment, 10000.0); + $this->assertTrue($result['success']); + Http::assertSent(fn ($request) => $request->data()['cancelAmount'] === 3000); + } + + /** + * R1: 이미 부분취소한 이력이 있으면 잔액 전부를 취소해도 부분취소로 전달하는지 확인 + * + * 토스는 cancelAmount 미지정 시 "결제 전액" 을 취소하므로, 잔액 취소를 전액취소로 + * 보내면 이미 취소된 금액을 두 번 취소하게 된다. + * + * @effects remaining_refund_after_partial_stays_partial + */ + public function test_r1_remaining_refund_after_partial_stays_partial(): void + { + $this->fakeCancelApi(); + // 10000 결제 중 3000 이 이미 취소됨 → 잔액 7000 취소 + $order = $this->createTossOrder([ + 'paid_amount_local' => 10000, + 'cancelled_amount' => 7000, + 'mc_cancelled_amount' => ['KRW' => 7000], + ]); + + $result = (new PaymentRefundListener)->processRefund( + ['success' => false], $order, $order->payment, 7000.0, null, $this->createRefund($order, 7000) + ); + + $this->assertTrue($result['success']); + Http::assertSent(fn ($request) => ($request->data()['cancelAmount'] ?? null) === 7000); + } + + // ================================================================ + // R2. taxFreeAmount 동반 전달 (복합과세 상점의 VAT 오산 방지) + // ================================================================ + + /** + * R2: 면세 금액이 있으면 환불액 비율만큼 안분해 taxFreeAmount 를 동반 전달하는지 확인 + * + * 면세/과세 분류의 SSoT 는 주문(total_tax_free_amount / total_tax_amount)이다. + * 결제 레코드에는 면세 컬럼이 없다. + * + * @effects refund_sends_apportioned_tax_free_amount + */ + public function test_r2_sends_apportioned_tax_free_amount_when_present(): void + { + $this->fakeCancelApi(); + $order = $this->createTossOrder(['paid_amount_local' => 10000]); + $order->update([ + 'total_tax_free_amount' => 4000, + 'total_tax_amount' => 6000, + ]); + $order = $order->fresh(['payment']); + + (new PaymentRefundListener)->processRefund( + ['success' => false], $order, $order->payment, 5000.0, null, $this->createRefund($order, 5000) + ); + + // 환불 비율(5000/10000)만큼 면세분 안분: 4000 * 0.5 = 2000 + Http::assertSent(fn ($request) => ($request->data()['taxFreeAmount'] ?? null) === 2000); + } + + /** + * R2: 전액 환불 시 면세분 전체를 taxFreeAmount 로 전달하는지 확인 + */ + public function test_r2_full_refund_sends_entire_tax_free_amount(): void + { + $this->fakeCancelApi(); + $order = $this->createTossOrder(['paid_amount_local' => 10000]); + $order->update(['total_tax_free_amount' => 4000, 'total_tax_amount' => 6000]); + $order = $order->fresh(['payment']); + + (new PaymentRefundListener)->processRefund( + ['success' => false], $order, $order->payment, 10000.0, null, $this->createRefund($order, 10000) + ); + + Http::assertSent(fn ($request) => ($request->data()['taxFreeAmount'] ?? null) === 4000); + } + + /** + * R2: 면세 금액이 없으면(전액 과세) taxFreeAmount 를 전달하지 않는지 확인 + */ + public function test_r2_omits_tax_free_amount_when_zero(): void + { + $this->fakeCancelApi(); + $order = $this->createTossOrder(['paid_amount_local' => 10000]); + $order->update(['total_tax_free_amount' => 0, 'total_tax_amount' => 10000]); + $order = $order->fresh(['payment']); + + (new PaymentRefundListener)->processRefund( + ['success' => false], $order, $order->payment, 5000.0, null, $this->createRefund($order, 5000) + ); + + Http::assertSent(fn ($request) => ! array_key_exists('taxFreeAmount', $request->data())); + } + + // ================================================================ + // R3. 가상계좌 환불은 refundReceiveAccount 가 필수 + // ================================================================ + + /** + * R3: 가상계좌 결제 환불 시 환불계좌를 전달하는지 확인 + * + * @effects vbank_refund_sends_refund_receive_account + */ + public function test_r3_virtual_account_refund_sends_receive_account(): void + { + $this->fakeCancelApi(); + $order = $this->createTossOrder([ + 'payment_method' => 'vbank', + 'refund_bank_code' => '20', + 'refund_bank_account' => '1234567890', + 'refund_bank_holder' => '홍길동', + ]); + + $result = (new PaymentRefundListener)->processRefund( + ['success' => false], $order, $order->payment, 10000.0, null, $this->createRefund($order, 10000) + ); + + $this->assertTrue($result['success']); + Http::assertSent(function ($request) { + $account = $request->data()['refundReceiveAccount'] ?? null; + + return $account === [ + 'bank' => '20', + 'accountNumber' => '1234567890', + 'holderName' => '홍길동', + ]; + }); + } + + /** + * R3: 가상계좌인데 환불계좌가 없으면 API 호출 없이 실패하는지 확인 + * + * @effects vbank_refund_without_account_fails_before_api_call + */ + public function test_r3_virtual_account_without_account_fails_before_api_call(): void + { + Http::fake(); + $order = $this->createTossOrder([ + 'payment_method' => 'vbank', + 'refund_bank_code' => null, + 'refund_bank_account' => null, + 'refund_bank_holder' => null, + ]); + + $result = (new PaymentRefundListener)->processRefund( + ['success' => false], $order, $order->payment, 10000.0, null, $this->createRefund($order, 10000) + ); + + $this->assertFalse($result['success']); + $this->assertEquals('MISSING_REFUND_ACCOUNT', $result['error_code']); + Http::assertNothingSent(); + } + + /** + * R3: 가상계좌가 아니면 환불계좌 없이도 정상 취소되는지 확인 + */ + public function test_r3_card_refund_does_not_require_receive_account(): void + { + $this->fakeCancelApi(); + $order = $this->createTossOrder(['payment_method' => 'card']); + + $result = (new PaymentRefundListener)->processRefund( + ['success' => false], $order, $order->payment, 10000.0, null, $this->createRefund($order, 10000) + ); + + $this->assertTrue($result['success']); + Http::assertSent(fn ($request) => ! array_key_exists('refundReceiveAccount', $request->data())); + } + + // ================================================================ + // E4. 에스크로 주문의 부분취소는 API 호출 전에 차단한다 + // ================================================================ + + /** + * E4: 에스크로 주문의 부분취소는 API 호출 없이 차단되는지 확인 + * + * @effects escrow_partial_refund_blocked_with_zero_api_calls + */ + public function test_e4_escrow_partial_refund_blocked_before_api_call(): void + { + Http::fake(); + $order = $this->createTossOrder(['is_escrow' => true, 'paid_amount_local' => 10000]); + + $result = (new PaymentRefundListener)->processRefund( + ['success' => false], $order, $order->payment, 3000.0, null, $this->createRefund($order, 3000) + ); + + $this->assertFalse($result['success']); + $this->assertEquals('ESCROW_PARTIAL_REFUND_NOT_ALLOWED', $result['error_code']); + $this->assertNotEmpty($result['error_message']); + Http::assertNothingSent(); + } + + /** + * E4: 에스크로 주문이라도 전액취소는 허용되는지 확인 + * + * @effects escrow_full_refund_allowed + */ + public function test_e4_escrow_full_refund_is_allowed(): void + { + $this->fakeCancelApi(); + $order = $this->createTossOrder(['is_escrow' => true, 'paid_amount_local' => 10000]); + + $result = (new PaymentRefundListener)->processRefund( + ['success' => false], $order, $order->payment, 10000.0, null, $this->createRefund($order, 10000) + ); + + $this->assertTrue($result['success']); + Http::assertSent(fn ($request) => ! array_key_exists('cancelAmount', $request->data())); + } + + /** + * E4: 결제 시점 스냅샷(is_escrow)이 기준이므로, 플러그인 설정을 off 로 바꿔도 + * 기존 에스크로 주문의 부분취소는 계속 차단되는지 확인 + * + * @effects escrow_blocking_uses_payment_snapshot_not_current_setting + */ + public function test_e4_blocking_is_based_on_payment_snapshot_not_current_setting(): void + { + Http::fake(); + // 현재 설정은 에스크로 미사용 — 그럼에도 결제 시점 스냅샷이 기준이어야 한다. + config(['plugins.sirsoft-tosspayments.use_escrow' => 'off']); + + $order = $this->createTossOrder(['is_escrow' => true, 'paid_amount_local' => 10000]); + + $result = (new PaymentRefundListener)->processRefund( + ['success' => false], $order, $order->payment, 3000.0, null, $this->createRefund($order, 3000) + ); + + $this->assertEquals('ESCROW_PARTIAL_REFUND_NOT_ALLOWED', $result['error_code']); + Http::assertNothingSent(); + } + + // ================================================================ + // 멱등키 (Idempotency-Key) + // ================================================================ + + /** + * 멱등키: 취소 요청에 환불 레코드 기반 Idempotency-Key 헤더를 부착하는지 확인 + * + * @effects cancel_request_carries_idempotency_key_from_refund_record + */ + public function test_attaches_idempotency_key_header_from_refund_record(): void + { + $this->fakeCancelApi(); + $order = $this->createTossOrder(); + $refund = $this->createRefund($order, 10000); + + (new PaymentRefundListener)->processRefund( + ['success' => false], $order, $order->payment, 10000.0, null, $refund + ); + + Http::assertSent(fn ($request) => $request->hasHeader('Idempotency-Key') + && str_contains($request->header('Idempotency-Key')[0], (string) $refund->id)); + } + + /** + * 멱등키: 환불 레코드가 없으면(레거시 호출) 헤더 없이도 취소가 동작하는지 확인 + * + * @effects cancel_without_refund_record_still_succeeds + */ + public function test_refund_without_record_still_cancels_without_idempotency_key(): void + { + $this->fakeCancelApi(); + $order = $this->createTossOrder(); + + $result = (new PaymentRefundListener)->processRefund( + ['success' => false], $order, $order->payment, 10000.0, null + ); + + $this->assertTrue($result['success']); + Http::assertSent(fn ($request) => ! $request->hasHeader('Idempotency-Key')); + } + + /** + * API 오류 시 실패 결과를 반환하는지 확인 + */ + public function test_process_refund_returns_failure_on_api_error(): void + { + Http::fake([ + 'api.tosspayments.com/*' => Http::response(['message' => '취소 불가'], 400), + ]); + $order = $this->createTossOrder(); + + $result = (new PaymentRefundListener)->processRefund( + ['success' => false], $order, $order->payment, 10000.0, null, $this->createRefund($order, 10000) + ); + + $this->assertFalse($result['success']); + $this->assertEquals('PG_API_ERROR', $result['error_code']); } } diff --git a/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/RegisterCashReceiptProviderListenerTest.php b/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/RegisterCashReceiptProviderListenerTest.php new file mode 100644 index 00000000..b7fa69a1 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/RegisterCashReceiptProviderListenerTest.php @@ -0,0 +1,417 @@ + + */ + private function defaultIssueResult(): array + { + return [ + 'success' => false, + 'error_code' => 'NO_PROVIDER_HANDLED', + 'error_message' => 'no provider', + 'receipt_key' => null, + 'receipt_url' => null, + 'issue_number' => null, + 'raw_response' => null, + ]; + } + + /** + * 취소 훅의 기본 반환값 + * + * @return array + */ + private function defaultCancelResult(): array + { + return [ + 'success' => false, + 'error_code' => 'NO_PROVIDER_HANDLED', + 'error_message' => 'no provider', + 'receipt_key' => null, + 'raw_response' => null, + ]; + } + + /** + * 코어가 전달하는 발급 페이로드를 생성합니다. + * + * @param array $overrides 덮어쓸 키 + * @return array + */ + private function issuePayload(array $overrides = []): array + { + return array_merge([ + 'type' => 'income', + 'identifier' => '01012345678', + 'identifier_type' => 'phone', + 'amount' => 10000, + 'tax_free_amount' => 0, + 'order_name' => '테스트 상품', + 'order_number' => 'ORD20260712001', + 'issue_sequence' => 1, + ], $overrides); + } + + /** + * 토스 현금영수증 발급 API 를 성공 응답으로 가짜 처리합니다. + */ + private function fakeIssueApi(): void + { + Http::fake([ + 'api.tosspayments.com/v1/cash-receipts' => Http::response([ + 'receiptKey' => 'RK_123', + 'receiptUrl' => 'https://dashboard.tosspayments.com/receipt/RK_123', + 'issueNumber' => 'ISSUE_999', + ], 200), + 'api.tosspayments.com/*' => Http::response([], 200), + ]); + } + + /** + * 구독 훅 매핑이 3개 훅을 filter 로 선언하는지 확인 + */ + public function test_get_subscribed_hooks_declares_three_filter_hooks(): void + { + $hooks = RegisterCashReceiptProviderListener::getSubscribedHooks(); + + foreach ([ + 'sirsoft-ecommerce.cash_receipt.registered_providers', + 'sirsoft-ecommerce.cash_receipt.issue', + 'sirsoft-ecommerce.cash_receipt.cancel', + ] as $hook) { + $this->assertArrayHasKey($hook, $hooks); + $this->assertEquals('filter', $hooks[$hook]['type'], "{$hook} 은 filter 여야 합니다"); + } + } + + /** + * 프로바이더 등록: 기존 목록을 덮어쓰지 않고 자기 항목을 추가하는지 확인 + * + * @effects provider_registered_without_overwriting_others + */ + public function test_register_provider_appends_without_overwriting(): void + { + $existing = [['id' => 'kginicis', 'name' => 'KG이니시스']]; + + $result = (new RegisterCashReceiptProviderListener)->registerProvider($existing); + + $this->assertCount(2, $result); + $this->assertEquals('kginicis', $result[0]['id']); + $this->assertEquals(self::PROVIDER_ID, $result[1]['id']); + $this->assertNotEmpty($result[1]['name_key']); + } + + /** + * 발급: 타 프로바이더 요청은 건드리지 않고 그대로 통과시키는지 확인 + * + * @effects other_provider_request_passes_through_untouched + */ + public function test_issue_early_returns_for_other_provider(): void + { + Http::fake(); + $order = Order::factory()->create(); + $default = $this->defaultIssueResult(); + + $result = (new RegisterCashReceiptProviderListener)->issue($default, $order, 'kginicis', $this->issuePayload()); + + $this->assertSame($default, $result); + Http::assertNothingSent(); + } + + /** + * 발급: 성공 시 코어가 기대하는 키(receipt_key/receipt_url/issue_number)를 반환하는지 확인 + * + * @effects issue_response_mapped_to_receipt_key_and_issue_number + */ + public function test_issue_returns_receipt_fields_on_success(): void + { + $this->fakeIssueApi(); + $order = Order::factory()->create(); + + $result = (new RegisterCashReceiptProviderListener)->issue( + $this->defaultIssueResult(), $order, self::PROVIDER_ID, $this->issuePayload() + ); + + $this->assertTrue($result['success']); + $this->assertEquals('RK_123', $result['receipt_key']); + $this->assertEquals('https://dashboard.tosspayments.com/receipt/RK_123', $result['receipt_url']); + $this->assertEquals('ISSUE_999', $result['issue_number']); + $this->assertNull($result['error_code']); + } + + /** + * 발급: 코어 enum(income/expense) 을 토스가 요구하는 한글 type 으로 변환하는지 확인 + * + * 프로바이더 종속 표현(한글)은 리스너 내부에서만 다룬다. + * + * @effects receipt_type_converted_to_provider_specific_value + */ + public function test_issue_converts_type_to_korean_for_toss(): void + { + $this->fakeIssueApi(); + $order = Order::factory()->create(); + $listener = new RegisterCashReceiptProviderListener; + + $listener->issue($this->defaultIssueResult(), $order, self::PROVIDER_ID, $this->issuePayload(['type' => 'income'])); + Http::assertSent(fn ($request) => ($request->data()['type'] ?? null) === '소득공제'); + + Http::fake([ + 'api.tosspayments.com/v1/cash-receipts' => Http::response(['receiptKey' => 'RK_2'], 200), + ]); + $listener->issue($this->defaultIssueResult(), $order, self::PROVIDER_ID, $this->issuePayload(['type' => 'expense'])); + Http::assertSent(fn ($request) => ($request->data()['type'] ?? null) === '지출증빙'); + } + + /** + * 발급: orderId 에 발급 회차를 접미하는지 확인 (재발급 시 중복 거부 회피) + * + * @effects order_id_suffixed_with_issue_sequence + */ + public function test_issue_appends_sequence_suffix_to_order_id(): void + { + $this->fakeIssueApi(); + $order = Order::factory()->create(); + + (new RegisterCashReceiptProviderListener)->issue( + $this->defaultIssueResult(), + $order, + self::PROVIDER_ID, + $this->issuePayload(['order_number' => 'ORD20260712001', 'issue_sequence' => 3]) + ); + + Http::assertSent(fn ($request) => ($request->data()['orderId'] ?? null) === 'ORD20260712001-cr3'); + } + + /** + * 발급: orderId 가 토스 제약(6~64자, 영숫자/-/_)을 벗어나면 API 호출 전에 실패하는지 확인 + * + * @effects order_id_constraint_violation_blocked_before_api_call + */ + public function test_issue_rejects_order_id_violating_toss_constraints(): void + { + Http::fake(); + $order = Order::factory()->create(); + + $result = (new RegisterCashReceiptProviderListener)->issue( + $this->defaultIssueResult(), + $order, + self::PROVIDER_ID, + // 허용되지 않는 문자(한글) 포함 + $this->issuePayload(['order_number' => '주문번호!!']) + ); + + $this->assertFalse($result['success']); + $this->assertEquals('INVALID_ORDER_ID', $result['error_code']); + Http::assertNothingSent(); + } + + /** + * 발급: 면세 금액이 있으면 taxFreeAmount 를 동반 전달하는지 확인 + * + * @effects tax_free_amount_sent_with_issue + */ + public function test_issue_sends_tax_free_amount(): void + { + $this->fakeIssueApi(); + $order = Order::factory()->create(); + + (new RegisterCashReceiptProviderListener)->issue( + $this->defaultIssueResult(), + $order, + self::PROVIDER_ID, + $this->issuePayload(['amount' => 10000, 'tax_free_amount' => 3000]) + ); + + Http::assertSent(fn ($request) => ($request->data()['taxFreeAmount'] ?? null) === 3000 + && ($request->data()['amount'] ?? null) === 10000 + && ($request->data()['customerIdentityNumber'] ?? null) === '01012345678'); + } + + /** + * 발급: API 오류 시 실패 결과를 반환하는지 확인 (예외를 밖으로 던지지 않는다) + * + * @effects issue_failure_returns_result_without_throwing + */ + public function test_issue_returns_failure_on_api_error(): void + { + Http::fake([ + 'api.tosspayments.com/*' => Http::response(['message' => '발급 불가'], 400), + ]); + $order = Order::factory()->create(); + + $result = (new RegisterCashReceiptProviderListener)->issue( + $this->defaultIssueResult(), $order, self::PROVIDER_ID, $this->issuePayload() + ); + + $this->assertFalse($result['success']); + $this->assertEquals('PG_API_ERROR', $result['error_code']); + $this->assertNotEmpty($result['error_message']); + } + + /** + * 발급: 멱등키(Idempotency-Key)를 부착하는지 확인 + * + * 네트워크 재시도로 같은 발급 요청이 두 번 도달하면 현금영수증이 이중 발급되고 + * 국세청 신고가 틀어진다. 발급 회차가 포함된 orderId 는 재시도 간에 안정적이므로 + * 그대로 멱등키로 쓴다. + * + * @effects issue_request_carries_idempotency_key + */ + public function test_issue_sends_idempotency_key(): void + { + Http::fake([ + 'api.tosspayments.com/*' => Http::response(['receiptKey' => 'RK', 'issueNumber' => '1'], 200), + ]); + $order = Order::factory()->create(); + + (new RegisterCashReceiptProviderListener)->issue( + $this->defaultIssueResult(), $order, self::PROVIDER_ID, + $this->issuePayload(['order_number' => 'ORD-20260712', 'issue_sequence' => 2]) + ); + + Http::assertSent(function ($request) { + $key = $request->header('Idempotency-Key')[0] ?? null; + + // 발급 회차가 반영된 orderId 와 동일해야 재시도 간 안정적이다. + return $key === 'ORD-20260712-cr2'; + }); + } + + /** + * 취소: 멱등키(Idempotency-Key)를 부착하는지 확인 + * + * 재시도로 취소가 두 번 도달하면 이미 취소된 영수증을 다시 취소하려 해 실패하거나 + * 이력이 어긋난다. 취소 대상 영수증 키는 재시도 간에 안정적이다. + * + * @effects cancel_request_carries_idempotency_key + */ + public function test_cancel_sends_idempotency_key(): void + { + Http::fake([ + 'api.tosspayments.com/*' => Http::response(['receiptKey' => 'c_RK_123'], 200), + ]); + $order = Order::factory()->create(); + + (new RegisterCashReceiptProviderListener)->cancel( + $this->defaultCancelResult(), $order, self::PROVIDER_ID, 'RK_123' + ); + + Http::assertSent(function ($request) { + $key = $request->header('Idempotency-Key')[0] ?? null; + + return $key === 'cr-cancel-RK_123'; + }); + } + + /** + * 취소: 타 프로바이더 요청은 그대로 통과시키는지 확인 + * + * @effects other_provider_request_passes_through_untouched + */ + public function test_cancel_early_returns_for_other_provider(): void + { + Http::fake(); + $order = Order::factory()->create(); + $default = $this->defaultCancelResult(); + + $result = (new RegisterCashReceiptProviderListener)->cancel($default, $order, 'kginicis', 'RK_123'); + + $this->assertSame($default, $result); + Http::assertNothingSent(); + } + + /** + * 취소: 전액취소로 위임하는지 확인 (본문에 amount 를 넣지 않는다 — D7) + * + * cancelReason 은 토스가 요구하는 필수 파라미터다. 빠뜨리면 실서버가 + * 400 INVALID_REQUEST("필수 파라미터가 누락되었습니다.") 로 거부한다. + * + * @effects cancel_delegated_as_full_cancel_without_amount + * @effects cancel_sends_required_cancel_reason + */ + public function test_cancel_delegates_as_full_cancel_without_amount(): void + { + Http::fake([ + 'api.tosspayments.com/*' => Http::response(['receiptKey' => 'RK_123'], 200), + ]); + $order = Order::factory()->create(); + + $result = (new RegisterCashReceiptProviderListener)->cancel( + $this->defaultCancelResult(), $order, self::PROVIDER_ID, 'RK_123' + ); + + $this->assertTrue($result['success']); + Http::assertSent(function ($request) { + $data = $request->data(); + + return str_contains($request->url(), '/v1/cash-receipts/RK_123/cancel') + && ! array_key_exists('amount', $data) + && ! empty($data['cancelReason']); + }); + } + + /** + * 취소: 취소 결과의 receipt_key 가 "취소된 영수증"의 키여야 하는지 확인 + * + * 토스는 취소 응답으로 'c_' 접두 키(취소 거래 자체의 키)를 돌려준다. 그 값을 그대로 + * 저장하면 코어의 OrderCashReceipt::filterActive() 가 취소 행을 발급 행과 매칭하지 + * 못해(키가 달라서) 취소된 영수증이 영원히 "활성"으로 남고, 금액 변동 시 재발급이 + * 일어나지 않는다. + * + * @effects cancel_uses_issue_tid_as_receipt_key + */ + public function test_cancel_returns_cancelled_receipt_key_not_cancel_transaction_key(): void + { + Http::fake([ + 'api.tosspayments.com/*' => Http::response(['receiptKey' => 'c_RK_123'], 200), + ]); + $order = Order::factory()->create(); + + $result = (new RegisterCashReceiptProviderListener)->cancel( + $this->defaultCancelResult(), $order, self::PROVIDER_ID, 'RK_123' + ); + + $this->assertTrue($result['success']); + $this->assertSame( + 'RK_123', + $result['receipt_key'], + '취소 행은 취소된 영수증의 키를 보관해야 합니다 (취소 거래 키 c_* 가 아니라).' + ); + } + + /** + * 취소: API 오류 시 실패 결과를 반환하는지 확인 + */ + public function test_cancel_returns_failure_on_api_error(): void + { + Http::fake([ + 'api.tosspayments.com/*' => Http::response(['message' => '취소 불가'], 400), + ]); + $order = Order::factory()->create(); + + $result = (new RegisterCashReceiptProviderListener)->cancel( + $this->defaultCancelResult(), $order, self::PROVIDER_ID, 'RK_123' + ); + + $this->assertFalse($result['success']); + $this->assertEquals('PG_API_ERROR', $result['error_code']); + } +} diff --git a/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Services/TossPaymentsApiServiceTest.php b/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Services/TossPaymentsApiServiceTest.php index fa2380b5..5c5b5658 100644 --- a/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Services/TossPaymentsApiServiceTest.php +++ b/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Services/TossPaymentsApiServiceTest.php @@ -3,19 +3,19 @@ namespace Plugins\Sirsoft\Tosspayments\Tests\Unit\Services; use App\Services\PluginSettingsService; -use PHPUnit\Framework\TestCase; +use Illuminate\Support\Facades\Http; use Plugins\Sirsoft\Tosspayments\Services\TossPaymentsApiService; +use Plugins\Sirsoft\Tosspayments\Tests\PluginTestCase; /** * TossPaymentsApiService 단위 테스트 */ -class TossPaymentsApiServiceTest extends TestCase +class TossPaymentsApiServiceTest extends PluginTestCase { /** * PluginSettingsService mock을 생성합니다. * - * @param array $settings 반환할 설정값 - * @return PluginSettingsService + * @param array $settings 반환할 설정값 */ private function mockSettingsService(array $settings): PluginSettingsService { @@ -95,4 +95,75 @@ class TossPaymentsApiServiceTest extends TestCase $this->assertEquals('', $prop->getValue($service)); } + + /** + * 현금영수증 API 호출용 서비스를 만듭니다. + */ + private function makeService(): TossPaymentsApiService + { + return new TossPaymentsApiService($this->mockSettingsService([ + 'test_mode' => true, + 'test_secret_key' => 'test_sk_dummy', + ])); + } + + /** + * 발급은 토스 현금영수증 엔드포인트로 요청 본문을 그대로 보내야 합니다. + */ + public function test_issue_cash_receipt_posts_to_cash_receipts_endpoint(): void + { + Http::fake(['*' => Http::response(['receiptKey' => 'RK_1', 'issueNumber' => '123'], 200)]); + + $this->makeService()->issueCashReceipt(['orderId' => 'ORD-1', 'amount' => 1000]); + + Http::assertSent(function ($request) { + return $request->url() === 'https://api.tosspayments.com/v1/cash-receipts' + && $request->method() === 'POST' + && $request->data()['orderId'] === 'ORD-1'; + }); + } + + /** + * 취소는 cancelReason 을 반드시 실어야 합니다. + * + * 토스의 필수 파라미터이며, 누락 시 400 INVALID_REQUEST 로 거부된다. + * Http::fake 는 본문을 검증하지 않으므로 "보냈다" 가 아니라 "필수 필드가 들어있다" 를 단언한다. + */ + public function test_cancel_cash_receipt_sends_cancel_reason(): void + { + Http::fake(['*' => Http::response(['receiptKey' => 'c_RK_1'], 200)]); + + $this->makeService()->cancelCashReceipt('RK_1', '금액 변경'); + + Http::assertSent(function ($request) { + return $request->url() === 'https://api.tosspayments.com/v1/cash-receipts/RK_1/cancel' + && ! empty($request->data()['cancelReason']); + }); + } + + /** + * 멱등키를 넘기면 Idempotency-Key 헤더로 전송되어야 합니다. + * + * 이 헤더가 없으면 네트워크 재시도가 국세청에 이중 신고된다. + */ + public function test_idempotency_key_is_sent_as_header(): void + { + Http::fake(['*' => Http::response(['receiptKey' => 'RK_1'], 200)]); + + $this->makeService()->issueCashReceipt(['orderId' => 'ORD-1'], 'ORD-1-cr1'); + + Http::assertSent(fn ($request) => $request->hasHeader('Idempotency-Key', 'ORD-1-cr1')); + } + + /** + * 멱등키를 넘기지 않으면 Idempotency-Key 헤더가 붙지 않아야 합니다. + */ + public function test_idempotency_key_header_absent_when_not_provided(): void + { + Http::fake(['*' => Http::response(['receiptKey' => 'RK_1'], 200)]); + + $this->makeService()->issueCashReceipt(['orderId' => 'ORD-1']); + + Http::assertSent(fn ($request) => ! $request->hasHeader('Idempotency-Key')); + } } diff --git a/plugins/_bundled/sirsoft-tosspayments/tests/scenarios/cash-receipt-provider-refund-integrity.yaml b/plugins/_bundled/sirsoft-tosspayments/tests/scenarios/cash-receipt-provider-refund-integrity.yaml new file mode 100644 index 00000000..5808c329 --- /dev/null +++ b/plugins/_bundled/sirsoft-tosspayments/tests/scenarios/cash-receipt-provider-refund-integrity.yaml @@ -0,0 +1,117 @@ +# audit:allow test-scenario-coverage reason: S5 현금영수증 프로바이더·환불 정합성 명세 SSoT. 11축 pairwise 13조합을 테스트 docblock @scenario 로 나열하는 것은 거짓 매핑이 된다 — 축(발급 프로바이더 / 환불 스코프 / 결제수단 / 에스크로)이 서로 다른 테스트 클래스에 격리 검증되어 한 메서드가 11축 전부를 재현하지 않는다(S4 toss-payment-methods-vbank-escrow · KG security-callback-defense 선례 동일). effects 27건은 전부 실제 검증 메서드에 @effects 로 매핑되어 있으며(미매핑 0건, 실측 확인), 그것이 이 기능의 실질 커버리지다. +# 시나리오 매니페스트 — 현금영수증 프로바이더(토스·KG) · 환불 정합성 (S5) +# 참조: docs/testing-guide.md "기능 단위 시나리오 매트릭스", 계획서 §12-5 / §13-3 + +feature: cash_receipt_provider_and_refund_integrity +description: >- + 현금영수증 발급 프로바이더(토스페이먼츠 · KG이니시스)를 PG 결제사와 독립적으로 선택하는 + 공용 훅 축과, 토스 환불 정합성 3건(전액취소·면세금액·가상계좌 환불계좌) + + 에스크로 부분취소 사전 차단 + 취소 멱등키의 입력 조합과 후속 효과. + +test_files: + # 현금영수증 프로바이더 (양 PG) + - plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/RegisterCashReceiptProviderListenerTest.php + - plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/RegisterCashReceiptProviderListenerTest.php + # 환불 정합성 + 에스크로 차단 + 멱등키 + - plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/PaymentRefundListenerTest.php + - plugins/_bundled/sirsoft-tosspayments/tests/Unit/Services/TossPaymentsApiServiceTest.php + # 코어 훅 계약 (환불 훅이 환불 레코드를 전달 — 멱등키 근거) + - modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/OrderCancellationServiceTest.php + # 공용 발급/취소/재발급 서비스 (금액 변동 → 전액취소 후 재발급) + - modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/CashReceiptServiceTest.php + # 활동 로그 실패가 결제 콜백을 죽이지 않는지 (본 세션 코어 결함 수정) + - tests/Unit/ActivityLog/ResolvesActivityLogTypeTest.php + # 레거시 KG 전용 발행 경로가 되살아나지 않는지 (이중 발행 경로 회귀 차단) + - plugins/_bundled/sirsoft-pay_kginicis/tests/Feature/Controllers/AdminRoutePermissionTest.php + - plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/EnsureAdminOrderDetailPaymentQueryLayoutListenerTest.php + +coverage_strategy: pairwise + +# 입력 axis — 발급/취소/환불 경로에 영향을 주는 변수 +axes: + cash_receipt_provider: [tosspayments, kginicis, none, other] + receipt_type: [income, expense] + identifier_type: [phone, card, business] + tax_composition: [all_taxable, all_tax_free, mixed] + issue_sequence: [first, reissued] + refund_scope: [full, partial, remaining_after_partial] + payment_method: [card, vbank, dbank] + is_escrow: [false, true] + refund_account: [present, absent] + refund_record: [present, absent] + pg_result: [success, api_error] + +axis_notes: + cash_receipt_provider: >- + 발급사는 PG 결제사와 독립 선택. none = 미설정(발급 자체 불가). + other = 타 프로바이더 요청 → 각 리스너는 결과를 건드리지 않고 그대로 통과(early-return). + receipt_type: >- + 코어 enum(income/expense). 프로바이더 종속 표현으로의 변환은 리스너 내부에서만 수행 — + 토스는 한글(소득공제/지출증빙), KG 는 issueType(0/1). + identifier_type: 지출증빙도 휴대폰번호 허용(D10). 사업자번호는 체크섬 검증 대상. + tax_composition: >- + 면세분은 발급/환불 양쪽에서 taxFreeAmount 로 동반 전달되어야 한다. + 미전달 시 복합과세 상점에서 면세분이 공급가액으로 오산되어 VAT 가 틀어진다. + issue_sequence: >- + 재발급 시 동일 orderId 재사용은 토스가 중복 거부한다 → "{order_number}-cr{seq}" 접미. + 6~64자 · 영숫자/-/_ 제약을 벗어나면 API 호출 전에 실패시킨다. + refund_scope: >- + full = 전액취소(토스: cancelAmount 미지정). partial = 부분취소(금액 전달). + remaining_after_partial = 이미 부분취소 이력이 있는 주문의 잔액 취소 — + 전액취소로 보내면 이미 취소된 금액까지 두 번 취소되므로 부분취소로 보내야 한다. + is_escrow: >- + 결제 시점 스냅샷(payment.is_escrow)이 기준. 설정을 나중에 off 로 바꿔도 + 기존 에스크로 주문의 부분취소는 계속 차단된다. + refund_account: >- + 가상계좌 환불은 돌려보낼 계좌(은행·계좌번호·예금주)가 필수. + 미입력 시 PG 호출 전에 명시적으로 실패시킨다(토스가 거부하기 전에 차단). + refund_record: >- + 코어가 환불 훅에 전달하는 OrderRefund. 이 값으로 취소 멱등키를 조립한다. + absent = 레거시 호출(5-파라미터 리스너) — 멱등키 없이도 취소는 동작해야 한다. + +# 의미 없는 조합 컷 +exclusions: + - { cash_receipt_provider: none, issue_sequence: reissued, reason: "발급사 미설정 → 최초 발급 자체가 불가하므로 재발급 없음" } + - { payment_method: card, refund_account: absent, reason: "카드 환불은 환불계좌 불요 — vbank 전용 요구사항" } + - { payment_method: dbank, is_escrow: true, reason: "무통장 입금은 PG 에스크로 대상 아님" } + - { is_escrow: true, refund_scope: partial, pg_result: success, reason: "에스크로 부분취소는 PG 호출 전 차단 — 성공 결과가 존재할 수 없음" } + - { cash_receipt_provider: other, receipt_type: expense, reason: "타 프로바이더는 페이로드를 보지 않고 early-return — 용도 축 무의미" } + +# 후속 효과 체인 +effects: + # 프로바이더 등록 (PG 비종속) + - provider_registered_without_overwriting_others + - other_provider_request_passes_through_untouched + # 발급 + - receipt_type_converted_to_provider_specific_value + - order_id_suffixed_with_issue_sequence + - order_id_constraint_violation_blocked_before_api_call + - tax_free_amount_sent_with_issue + - issue_response_mapped_to_receipt_key_and_issue_number + - issue_failure_returns_result_without_throwing + # 취소 / 재발급 + - cancel_delegated_as_full_cancel_without_amount + - cancel_uses_issue_tid_as_receipt_key + - amount_change_triggers_cancel_then_reissue + # 환불 정합성 (R1/R2/R3) + - full_refund_omits_cancel_amount + - partial_refund_sends_cancel_amount + - remaining_refund_after_partial_stays_partial + - refund_sends_apportioned_tax_free_amount + - vbank_refund_sends_refund_receive_account + - vbank_refund_without_account_fails_before_api_call + # 에스크로 (E4) + - escrow_partial_refund_blocked_with_zero_api_calls + - escrow_full_refund_allowed + - escrow_blocking_uses_payment_snapshot_not_current_setting + # 멱등키 + - cancel_request_carries_idempotency_key_from_refund_record + - cancel_without_refund_record_still_succeeds + # 코어 훅 계약 + - refund_hook_passes_order_refund_record + - refund_hook_backward_compatible_with_five_arg_listener + # 코어 안정성 (본 세션 결함 수정) + - activity_log_failure_does_not_kill_triggering_request + # 레거시 경로 제거 회귀 + - legacy_kg_cash_receipt_route_removed + - legacy_kg_cash_receipt_panel_removed diff --git a/plugins/_bundled/sirsoft-verification_kginicis/tests/Unit/Identity/InicisIdentityProviderWithConfigTest.php b/plugins/_bundled/sirsoft-verification_kginicis/tests/Unit/Identity/InicisIdentityProviderWithConfigTest.php index fc3e735a..a94c6a37 100644 --- a/plugins/_bundled/sirsoft-verification_kginicis/tests/Unit/Identity/InicisIdentityProviderWithConfigTest.php +++ b/plugins/_bundled/sirsoft-verification_kginicis/tests/Unit/Identity/InicisIdentityProviderWithConfigTest.php @@ -4,11 +4,11 @@ namespace Plugins\Sirsoft\VerificationKginicis\Tests\Unit\Identity; use App\Contracts\Extension\CacheInterface; use Mockery; -use PHPUnit\Framework\TestCase; use Plugins\Sirsoft\VerificationKginicis\Identity\InicisIdentityProvider; use Plugins\Sirsoft\VerificationKginicis\Repositories\InicisChallengeMappingRepositoryInterface; use Plugins\Sirsoft\VerificationKginicis\Repositories\InicisIdentityRecordRepositoryInterface; use Plugins\Sirsoft\VerificationKginicis\Services\InicisGatewayInterface; +use Plugins\Sirsoft\VerificationKginicis\Tests\PluginTestCase; /** * InicisIdentityProvider::withConfig() 회귀 테스트. @@ -24,7 +24,7 @@ use Plugins\Sirsoft\VerificationKginicis\Services\InicisGatewayInterface; * - 동일 cache 인스턴스가 전파됨 * - config 만 병합되고 다른 의존성은 보존됨 */ -class InicisIdentityProviderWithConfigTest extends TestCase +class InicisIdentityProviderWithConfigTest extends PluginTestCase { protected function tearDown(): void { @@ -39,8 +39,6 @@ class InicisIdentityProviderWithConfigTest extends TestCase * 트리거되면 fatal 발생. 단, isAvailable 자체는 cache 를 호출하지 않으므로 * 본 테스트는 "config 가 cache 위치에 들어가도 isAvailable 자체는 통과" 라는 * 약한 보장만 줌. 더 강한 보장은 test_with_config_preserves_cache_instance 가 제공. - * - * @return void */ public function test_with_config_returns_functional_instance(): void { @@ -60,8 +58,6 @@ class InicisIdentityProviderWithConfigTest extends TestCase * * Reflection 으로 protected $cache 를 직접 확인 — 회귀 시점에는 4번째 자리가 * array 였으므로 이 검증이 실패함 (assertInstanceOf(CacheInterface, ...) fail). - * - * @return void */ public function test_with_config_preserves_cache_instance(): void { @@ -81,8 +77,6 @@ class InicisIdentityProviderWithConfigTest extends TestCase /** * withConfig 가 config 만 병합하고 다른 의존성은 원본 그대로 유지해야 한다. - * - * @return void */ public function test_with_config_merges_config_and_keeps_other_dependencies(): void { @@ -131,8 +125,6 @@ class InicisIdentityProviderWithConfigTest extends TestCase /** * @param array $config - * @param CacheInterface|null $cache - * @return InicisIdentityProvider */ protected function makeProvider(array $config, ?CacheInterface $cache = null): InicisIdentityProvider { diff --git a/plugins/_bundled/sirsoft-verification_kginicis/tests/Unit/Services/InicisCallbackOutcomeTest.php b/plugins/_bundled/sirsoft-verification_kginicis/tests/Unit/Services/InicisCallbackOutcomeTest.php index a3feb2a0..7728697f 100644 --- a/plugins/_bundled/sirsoft-verification_kginicis/tests/Unit/Services/InicisCallbackOutcomeTest.php +++ b/plugins/_bundled/sirsoft-verification_kginicis/tests/Unit/Services/InicisCallbackOutcomeTest.php @@ -2,15 +2,17 @@ namespace Plugins\Sirsoft\VerificationKginicis\Tests\Unit\Services; -use PHPUnit\Framework\TestCase; use Plugins\Sirsoft\VerificationKginicis\Services\InicisCallbackOutcome; +use Plugins\Sirsoft\VerificationKginicis\Tests\PluginTestCase; /** * InicisCallbackOutcome DTO 단위 테스트. * - * Pure unit (DB / Laravel 부트 불필요) — Value Object factory + bridge query 변환만 검증. + * Value Object factory + bridge query 변환만 검증한다. 지금은 DB/컨테이너를 쓰지 않지만, + * 확장 테스트는 PluginTestCase 를 상속한다 — 나중에 컨테이너/설정을 건드리는 단언이 추가될 때 + * 조용히 다른 환경에서 도는 테스트가 되는 것을 막는다. */ -class InicisCallbackOutcomeTest extends TestCase +class InicisCallbackOutcomeTest extends PluginTestCase { public function test_success_factory_produces_verified_outcome_with_token_and_challenge_id(): void { diff --git a/tests/Unit/ActivityLog/ResolvesActivityLogTypeTest.php b/tests/Unit/ActivityLog/ResolvesActivityLogTypeTest.php index 7295bf8f..a1549d93 100644 --- a/tests/Unit/ActivityLog/ResolvesActivityLogTypeTest.php +++ b/tests/Unit/ActivityLog/ResolvesActivityLogTypeTest.php @@ -60,21 +60,21 @@ class ResolvesActivityLogTypeTest extends TestCase // resolveLogType 테스트 — 요청 경로 기반 판별 // ═══════════════════════════════════════════ - public function test_resolveLogType_returns_admin_for_admin_route(): void + public function test_resolve_log_type_returns_admin_for_admin_route(): void { $this->setRequestPath('api/admin/products'); $this->assertEquals(ActivityLogType::Admin, $this->traitUser->getResolvedLogType()); } - public function test_resolveLogType_returns_user_for_shop_route(): void + public function test_resolve_log_type_returns_user_for_shop_route(): void { $this->setRequestPath('api/shop/cart'); $this->assertEquals(ActivityLogType::User, $this->traitUser->getResolvedLogType()); } - public function test_resolveLogType_returns_user_for_admin_on_user_route(): void + public function test_resolve_log_type_returns_user_for_admin_on_user_route(): void { // 핵심 테스트: admin 역할이지만 사용자 화면 경로 → user $this->setRequestPath('api/shop/cart'); @@ -82,7 +82,7 @@ class ResolvesActivityLogTypeTest extends TestCase $this->assertEquals(ActivityLogType::User, $this->traitUser->getResolvedLogType()); } - public function test_resolveLogType_returns_user_for_guest_on_user_route(): void + public function test_resolve_log_type_returns_user_for_guest_on_user_route(): void { // 비회원이 사용자 화면 경로 → user (System이 아님) $this->setRequestPath('api/shop/coupons/download'); @@ -90,14 +90,14 @@ class ResolvesActivityLogTypeTest extends TestCase $this->assertEquals(ActivityLogType::User, $this->traitUser->getResolvedLogType()); } - public function test_resolveLogType_returns_user_for_public_api_route(): void + public function test_resolve_log_type_returns_user_for_public_api_route(): void { $this->setRequestPath('api/auth/register'); $this->assertEquals(ActivityLogType::User, $this->traitUser->getResolvedLogType()); } - public function test_resolveLogType_returns_system_for_cli_without_request(): void + public function test_resolve_log_type_returns_system_for_cli_without_request(): void { // CLI 환경: request()->path() === '/' $this->setRequestPath('/'); @@ -105,7 +105,7 @@ class ResolvesActivityLogTypeTest extends TestCase $this->assertEquals(ActivityLogType::System, $this->traitUser->getResolvedLogType()); } - public function test_resolveLogType_returns_admin_for_nested_admin_route(): void + public function test_resolve_log_type_returns_admin_for_nested_admin_route(): void { $this->setRequestPath('api/admin/sirsoft-ecommerce/orders/123/cancel'); @@ -116,7 +116,7 @@ class ResolvesActivityLogTypeTest extends TestCase // logActivity 테스트 // ═══════════════════════════════════════════ - public function test_logActivity_auto_resolves_log_type_when_not_provided(): void + public function test_log_activity_auto_resolves_log_type_when_not_provided(): void { $this->setRequestPath('api/admin/products'); @@ -136,7 +136,7 @@ class ResolvesActivityLogTypeTest extends TestCase ]); } - public function test_logActivity_preserves_explicit_log_type(): void + public function test_log_activity_preserves_explicit_log_type(): void { // 경로는 admin이지만 명시적으로 User 타입이 전달된 경우 유지 $this->setRequestPath('api/admin/products'); @@ -157,7 +157,7 @@ class ResolvesActivityLogTypeTest extends TestCase ]); } - public function test_logActivity_catches_exception_and_logs_error(): void + public function test_log_activity_catches_exception_and_logs_error(): void { $this->setRequestPath('/'); @@ -181,7 +181,42 @@ class ResolvesActivityLogTypeTest extends TestCase ]); } - public function test_logActivity_resolves_system_type_for_cli_context(): void + /** + * 활동 로그 채널 해석이 실패해(Error) 도 그것을 유발한 요청까지 죽이지 않는지 검증 + * + * Log::channel('activity') 가 null 을 반환하면 "->info() on null" 은 \Error 이며 + * \Exception 이 아니다. 가드가 \Exception 만 잡으면 결제 콜백 같은 호출자가 + * 활동 로그 때문에 500 으로 죽는다. + * + * @effects activity_log_failure_does_not_kill_triggering_request + */ + public function test_log_activity_catches_error_not_only_exception(): void + { + $this->setRequestPath('/'); + + $logChannel = Mockery::mock(LoggerInterface::class); + Log::shouldReceive('channel')->with('activity')->andReturn($logChannel); + + $logChannel->shouldReceive('info') + ->once() + ->andThrow(new \Error('Call to a member function info() on null')); + + Log::shouldReceive('error') + ->once() + ->withArgs(function (string $message, array $context) { + return $message === 'Failed to record activity log' + && $context['action'] === 'test.action'; + }); + + // 예외가 밖으로 새어나오면 이 테스트는 실패한다 (호출자가 죽는다는 뜻). + $this->traitUser->callLogActivity('test.action', [ + 'description_key' => 'test_key', + ]); + + $this->assertTrue(true); + } + + public function test_log_activity_resolves_system_type_for_cli_context(): void { // CLI 환경 (request()->path() === '/') $this->setRequestPath('/'); @@ -207,7 +242,7 @@ class ResolvesActivityLogTypeTest extends TestCase /** * 테스트용 Request 경로를 설정합니다. * - * @param string $path 요청 경로 (예: 'api/admin/products', '/' for CLI 시뮬레이션) + * @param string $path 요청 경로 (예: 'api/admin/products', '/' for CLI 시뮬레이션) */ private function setRequestPath(string $path): void { From 3f2674f1a767a9541c7caf4d4c5dab691e0bf4ff Mon Sep 17 00:00:00 2001 From: HeuJung Date: Tue, 14 Jul 2026 10:58:01 +0900 Subject: [PATCH 10/18] =?UTF-8?q?fix(tosspayments,templates,core):=20?= =?UTF-8?q?=EA=B2=B0=EC=A0=9C=EC=88=98=EB=8B=A8=20=EC=B2=B4=ED=81=AC?= =?UTF-8?q?=EB=B0=95=EC=8A=A4=20=EB=9D=BC=EB=B2=A8=20=EB=AF=B8=ED=91=9C?= =?UTF-8?q?=EC=8B=9C=C2=B7=EC=A0=80=EC=9E=A5=20=EC=8B=A4=ED=8C=A8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Checkbox 는 label prop 을 렌더하지 않는다(부모 Label 이 표시 담당). 그 prop 에만 의존해 결제수단 9종의 라벨이 화면에서 전부 비어 있었다. Label 로 감싸고 텍스트를 형제 Span 으로 분리했다 — 라벨 클릭 토글과 접근성 이름도 함께 확보된다. 수정 중 저장 결함을 함께 발견했다. 폼 자동바인딩은 값이 boolean 일 때만 checked 로 붙고, null 이면 value 분기로 떨어져 빈 문자열을 전송한다. 서버가 그것을 null 로 저장하면 기본값(false)을 덮어 화면에서 다시 켤 수 없게 고착된다. initLocal 로는 막을 수 없어(shallow 는 form 객체를 교체하고, deep 은 source 의 null 을 그대로 반영) 레이아웃이 boolean 을 직접 보장하도록 했다 — autoBinding:false + checked 강제 + change 액션이 $event.target.checked 를 기록. 같은 원인으로 편집기 팔레트도 라벨 없는 체크박스를 삽입하고 있어 함께 고쳤다. 회귀 방어: 레이아웃/팔레트 계약 테스트, 엔진 동작(isCheckedBinding·deepMergeState) 고정, 저장 페이로드가 boolean 인지 검사하는 E2E, audit 룰 layout-checkbox-label-and-boolean(label prop=error, 자동바인딩 의존=warn). --- docs/frontend/state-management-forms.md | 57 ++++ .../pluginSettingsPaymentMethods.test.tsx | 56 ++++ .../layouts/admin/plugin_settings.json | 306 +++++++++++++++--- .../troubleshooting-components.test.ts | 80 +++++ templates/_bundled/sirsoft-basic/CHANGELOG.md | 1 + .../layouts/editor-spec-default-node.test.tsx | 43 +++ .../editor-spec/componentPalette.json | 21 +- ...osspayments-settings-method-labels.spec.ts | 173 ++++++++++ 8 files changed, 697 insertions(+), 40 deletions(-) create mode 100644 tests/Playwright/specs/admin/tosspayments-settings-method-labels.spec.ts diff --git a/docs/frontend/state-management-forms.md b/docs/frontend/state-management-forms.md index 7ebe8db5..6e03c867 100644 --- a/docs/frontend/state-management-forms.md +++ b/docs/frontend/state-management-forms.md @@ -265,6 +265,63 @@ } ``` +#### 체크박스 — boolean 값 보장 + +자동 바인딩은 **현재 값이 boolean 일 때만** `checked` 로 바인딩한다 (`DynamicRenderer` 의 `isCheckedBinding`: `typeof currentValue === 'boolean'`). 값이 `null` 이나 `undefined` 면 `value` 바인딩으로 떨어져 **빈 문자열(`''`)이 전송**된다. + +서버가 그 빈 문자열을 `null` 로 저장하면(Laravel `ConvertEmptyStringsToNull` + `nullable` 규칙) 이후 `array_merge(defaults, saved)` 에서 `null` 이 기본값 `false` 를 덮는다. 그러면 화면에는 계속 해제 상태로 보이고, 다시 켜도 또 빈 문자열이 나가 **영구 고착**된다. + +`initLocal` 로는 막을 수 없다. 기본 병합은 shallow 라 데이터소스 응답이 `form` 객체를 통째로 교체하고, `_merge: "deep"` 을 써도 `deepMergeState` 가 `source` 의 `null` 을 그대로 반영한다. + +따라서 **저장값이 boolean 이 아닐 수 있는 체크박스는 레이아웃이 boolean 을 직접 보장**한다: + +```json +{ + "type": "basic", + "name": "Checkbox", + "props": { + "name": "method_card", + "autoBinding": false, + "checked": "{{!!_local.form?.method_card}}" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "form.method_card": "{{$event.target.checked}}", + "hasChanges": true + } + } + ] +} +``` + +- `autoBinding: false` — 자동 바인딩의 `value` 분기 개입을 차단한다 +- `checked: "{{!!...}}"` — 저장값이 `null` 이어도 `false` 로 렌더한다 +- `change` 액션 — `$event.target.checked` 는 항상 boolean 이므로 상태에 boolean 만 기록된다 + +저장값이 항상 boolean 임이 보장되는 경우(예: 서버가 `null` 을 반환하지 않고 마이그레이션으로 기본값이 채워진 컬럼)에는 `name` 만으로 자동 바인딩해도 된다. + +#### 체크박스 — 라벨 표시 + +`Checkbox` 컴포넌트는 `label` prop 을 받지만 **렌더하지 않는다**. 표시는 부모 `Label` 이 담당한다. `label` prop 에만 의존하면 라벨이 화면에 나타나지 않으므로, `Label` 로 감싸고 텍스트를 형제 노드로 둔다. + +```json +{ + "type": "basic", + "name": "Label", + "props": { "className": "flex items-center gap-2 cursor-pointer" }, + "children": [ + { "type": "basic", "name": "Checkbox", "props": { "name": "agree_terms" } }, + { "type": "basic", "name": "Span", "text": "$t:auth.register.agree_terms" } + ] +} +``` + +`Label` 로 감싸면 라벨 텍스트를 클릭해도 토글되고 접근성 이름이 부여된다. + #### 전역 상태 바인딩 (`_global.` 접두사) > **버전**: engine-v1.3.0+ diff --git a/plugins/_bundled/sirsoft-tosspayments/resources/js/__tests__/layouts/pluginSettingsPaymentMethods.test.tsx b/plugins/_bundled/sirsoft-tosspayments/resources/js/__tests__/layouts/pluginSettingsPaymentMethods.test.tsx index d2baf715..18f4f04c 100644 --- a/plugins/_bundled/sirsoft-tosspayments/resources/js/__tests__/layouts/pluginSettingsPaymentMethods.test.tsx +++ b/plugins/_bundled/sirsoft-tosspayments/resources/js/__tests__/layouts/pluginSettingsPaymentMethods.test.tsx @@ -61,6 +61,62 @@ describe('plugin_settings — 결제 방식 섹션', () => { expect(names).toHaveLength(9); }); + it('결제수단 9종의 라벨이 Label 래핑 + Span 텍스트로 렌더된다', () => { + // Checkbox 컴포넌트는 label prop 을 렌더하지 않는다 (부모 Label 이 처리). + // label prop 에만 의존하면 화면에 라벨이 표시되지 않으므로 사용을 금지한다. + const checkboxes = collect(pluginSettingsLayout, (n) => n.name === 'Checkbox'); + const withLabelProp = checkboxes.filter((n) => (n.props as Record)?.label !== undefined); + expect(withLabelProp).toHaveLength(0); + + // 각 method_* 체크박스는 Label 로 감싸이고 형제 Span 이 라벨 텍스트를 갖는다. + const wrappers = collect(pluginSettingsLayout, (n) => { + if (n.name !== 'Label' || !Array.isArray(n.children)) return false; + const children = n.children as Record[]; + return children.some((c) => c.name === 'Checkbox' && nameOf(c).startsWith('method_')); + }); + expect(wrappers).toHaveLength(9); + + for (const wrapper of wrappers) { + const children = wrapper.children as Record[]; + const checkbox = children.find((c) => c.name === 'Checkbox')!; + const span = children.find((c) => c.name === 'Span'); + expect(span, `${nameOf(checkbox)} 라벨 Span 누락`).toBeDefined(); + expect(String(span!.text)).toBe(`$t:sirsoft-tosspayments.settings.${nameOf(checkbox)}`); + } + }); + + it('결제수단 체크박스는 boolean 저장을 보장한다 (autoBinding 우회 + checked 강제 + change 액션)', () => { + // 엔진의 폼 자동바인딩은 현재 값이 boolean 일 때만 checked 바인딩을 쓴다 + // (DynamicRenderer `isCheckedBinding`: typeof currentValue === 'boolean'). + // 저장값이 null/undefined 면 value 바인딩으로 떨어져 빈 문자열('')이 전송되고, + // 서버가 그것을 null 로 저장하면 defaults(false) 를 덮어 영구 고착된다. + // → 레이아웃이 boolean 을 직접 보장해야 한다. + const checkboxes = collect(pluginSettingsLayout, (n) => n.name === 'Checkbox' && nameOf(n).startsWith('method_')); + expect(checkboxes).toHaveLength(9); + + for (const box of checkboxes) { + const name = nameOf(box); + const props = (box.props ?? {}) as Record; + + // 자동바인딩의 value 분기 개입을 차단한다. + expect(props.autoBinding, `${name}: autoBinding=false 누락`).toBe(false); + + // checked 는 !! 로 boolean 강제 — 저장값이 null 이어도 false 로 렌더된다. + expect(String(props.checked), `${name}: checked 가 boolean 강제(!!)가 아님`).toBe( + `{{!!_local.form?.${name}}}` + ); + + // change 액션이 $event.target.checked(항상 boolean)를 직접 기록한다. + const actions = (box.actions ?? []) as Record[]; + const change = actions.find((a) => a.type === 'change'); + expect(change, `${name}: change 액션 누락`).toBeDefined(); + + const params = (change!.params ?? {}) as Record; + expect(params[`form.${name}`], `${name}: boolean 이 아닌 값을 기록`).toBe('{{$event.target.checked}}'); + expect(params.hasChanges, `${name}: hasChanges 미설정 — 저장 버튼이 비활성 유지됨`).toBe(true); + } + }); + it('결제수단 그룹은 order_sheet_mode 가 켜졌을 때만 노출된다 (if)', () => { const group = findById(pluginSettingsLayout, 'enabled_methods_group'); expect(group).toBeDefined(); diff --git a/plugins/_bundled/sirsoft-tosspayments/resources/layouts/admin/plugin_settings.json b/plugins/_bundled/sirsoft-tosspayments/resources/layouts/admin/plugin_settings.json index c2dc9641..7c672c34 100644 --- a/plugins/_bundled/sirsoft-tosspayments/resources/layouts/admin/plugin_settings.json +++ b/plugins/_bundled/sirsoft-tosspayments/resources/layouts/admin/plugin_settings.json @@ -705,75 +705,309 @@ "children": [ { "type": "basic", - "name": "Checkbox", + "name": "Label", "props": { - "name": "method_card", - "label": "$t:sirsoft-tosspayments.settings.method_card" - } + "className": "flex items-center gap-2 cursor-pointer text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Checkbox", + "props": { + "name": "method_card", + "autoBinding": false, + "checked": "{{!!_local.form?.method_card}}" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "form.method_card": "{{$event.target.checked}}", + "hasChanges": true + } + } + ] + }, + { + "type": "basic", + "name": "Span", + "text": "$t:sirsoft-tosspayments.settings.method_card" + } + ] }, { "type": "basic", - "name": "Checkbox", + "name": "Label", "props": { - "name": "method_virtual_account", - "label": "$t:sirsoft-tosspayments.settings.method_virtual_account" - } + "className": "flex items-center gap-2 cursor-pointer text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Checkbox", + "props": { + "name": "method_virtual_account", + "autoBinding": false, + "checked": "{{!!_local.form?.method_virtual_account}}" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "form.method_virtual_account": "{{$event.target.checked}}", + "hasChanges": true + } + } + ] + }, + { + "type": "basic", + "name": "Span", + "text": "$t:sirsoft-tosspayments.settings.method_virtual_account" + } + ] }, { "type": "basic", - "name": "Checkbox", + "name": "Label", "props": { - "name": "method_transfer", - "label": "$t:sirsoft-tosspayments.settings.method_transfer" - } + "className": "flex items-center gap-2 cursor-pointer text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Checkbox", + "props": { + "name": "method_transfer", + "autoBinding": false, + "checked": "{{!!_local.form?.method_transfer}}" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "form.method_transfer": "{{$event.target.checked}}", + "hasChanges": true + } + } + ] + }, + { + "type": "basic", + "name": "Span", + "text": "$t:sirsoft-tosspayments.settings.method_transfer" + } + ] }, { "type": "basic", - "name": "Checkbox", + "name": "Label", "props": { - "name": "method_mobile_phone", - "label": "$t:sirsoft-tosspayments.settings.method_mobile_phone" - } + "className": "flex items-center gap-2 cursor-pointer text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Checkbox", + "props": { + "name": "method_mobile_phone", + "autoBinding": false, + "checked": "{{!!_local.form?.method_mobile_phone}}" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "form.method_mobile_phone": "{{$event.target.checked}}", + "hasChanges": true + } + } + ] + }, + { + "type": "basic", + "name": "Span", + "text": "$t:sirsoft-tosspayments.settings.method_mobile_phone" + } + ] }, { "type": "basic", - "name": "Checkbox", + "name": "Label", "props": { - "name": "method_tosspay", - "label": "$t:sirsoft-tosspayments.settings.method_tosspay" - } + "className": "flex items-center gap-2 cursor-pointer text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Checkbox", + "props": { + "name": "method_tosspay", + "autoBinding": false, + "checked": "{{!!_local.form?.method_tosspay}}" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "form.method_tosspay": "{{$event.target.checked}}", + "hasChanges": true + } + } + ] + }, + { + "type": "basic", + "name": "Span", + "text": "$t:sirsoft-tosspayments.settings.method_tosspay" + } + ] }, { "type": "basic", - "name": "Checkbox", + "name": "Label", "props": { - "name": "method_kakaopay", - "label": "$t:sirsoft-tosspayments.settings.method_kakaopay" - } + "className": "flex items-center gap-2 cursor-pointer text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Checkbox", + "props": { + "name": "method_kakaopay", + "autoBinding": false, + "checked": "{{!!_local.form?.method_kakaopay}}" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "form.method_kakaopay": "{{$event.target.checked}}", + "hasChanges": true + } + } + ] + }, + { + "type": "basic", + "name": "Span", + "text": "$t:sirsoft-tosspayments.settings.method_kakaopay" + } + ] }, { "type": "basic", - "name": "Checkbox", + "name": "Label", "props": { - "name": "method_naverpay", - "label": "$t:sirsoft-tosspayments.settings.method_naverpay" - } + "className": "flex items-center gap-2 cursor-pointer text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Checkbox", + "props": { + "name": "method_naverpay", + "autoBinding": false, + "checked": "{{!!_local.form?.method_naverpay}}" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "form.method_naverpay": "{{$event.target.checked}}", + "hasChanges": true + } + } + ] + }, + { + "type": "basic", + "name": "Span", + "text": "$t:sirsoft-tosspayments.settings.method_naverpay" + } + ] }, { "type": "basic", - "name": "Checkbox", + "name": "Label", "props": { - "name": "method_payco", - "label": "$t:sirsoft-tosspayments.settings.method_payco" - } + "className": "flex items-center gap-2 cursor-pointer text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Checkbox", + "props": { + "name": "method_payco", + "autoBinding": false, + "checked": "{{!!_local.form?.method_payco}}" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "form.method_payco": "{{$event.target.checked}}", + "hasChanges": true + } + } + ] + }, + { + "type": "basic", + "name": "Span", + "text": "$t:sirsoft-tosspayments.settings.method_payco" + } + ] }, { "type": "basic", - "name": "Checkbox", + "name": "Label", "props": { - "name": "method_samsungpay", - "label": "$t:sirsoft-tosspayments.settings.method_samsungpay" - } + "className": "flex items-center gap-2 cursor-pointer text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Checkbox", + "props": { + "name": "method_samsungpay", + "autoBinding": false, + "checked": "{{!!_local.form?.method_samsungpay}}" + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "params": { + "target": "local", + "form.method_samsungpay": "{{$event.target.checked}}", + "hasChanges": true + } + } + ] + }, + { + "type": "basic", + "name": "Span", + "text": "$t:sirsoft-tosspayments.settings.method_samsungpay" + } + ] } ] }, diff --git a/resources/js/core/template-engine/__tests__/troubleshooting-components.test.ts b/resources/js/core/template-engine/__tests__/troubleshooting-components.test.ts index c6e887b5..4ed97ada 100644 --- a/resources/js/core/template-engine/__tests__/troubleshooting-components.test.ts +++ b/resources/js/core/template-engine/__tests__/troubleshooting-components.test.ts @@ -15,6 +15,7 @@ import { hasExplicitSetStateForField } from '../FormContext'; import { responsiveManager } from '../ResponsiveManager'; import { hasPipes } from '../PipeRegistry'; import { DataBindingEngine } from '../DataBindingEngine'; +import { deepMergeState } from '../DynamicRenderer'; describe('트러블슈팅 회귀 테스트 - flex 압착(shrink)', () => { /** @@ -843,6 +844,85 @@ describe('트러블슈팅 회귀 테스트 - Form 자동 바인딩 bindingType expect(calcIsCheckedBinding('checkable', true, 'checkbox')).toBe(true); }); }); + + /** + * [사례 5] 저장값이 null 이면 체크박스가 빈 문자열을 전송한다 + * + * troubleshooting-components-form.md 사례 6 회귀 가드. + * + * bindingType: 'checked' 로 등록된 Checkbox 라도 현재 값이 boolean 이 아니면 + * isCheckedBinding 이 false 가 되어 value 바인딩 분기로 떨어지고, + * 거기서 `currentValue ?? ''` 로 빈 문자열이 만들어진다. + * 그 빈 문자열이 서버에서 null 로 저장되면 기본값(false)을 덮어 영구 고착된다. + */ + describe('[사례 5] 저장값이 boolean 이 아니면 value 바인딩으로 떨어져 빈 문자열이 된다', () => { + /** DynamicRenderer 의 value 바인딩 분기와 동일 (`effectiveValue = currentValue ?? ''`) */ + const calcValueBindingValue = (currentValue: any): any => currentValue ?? ''; + + it('null 이면 Checkbox(checked) 여도 checked 바인딩이 아니다', () => { + expect(calcIsCheckedBinding('checked', null)).toBe(false); + }); + + it('undefined 여도 checked 바인딩이 아니다 (미저장 키)', () => { + expect(calcIsCheckedBinding('checked', undefined)).toBe(false); + }); + + it('null 이 value 바인딩으로 가면 빈 문자열이 전송된다 (고착의 시작점)', () => { + expect(calcValueBindingValue(null)).toBe(''); + expect(calcValueBindingValue(undefined)).toBe(''); + }); + + it('boolean 이면 정상적으로 checked 바인딩된다 (false 도 포함)', () => { + expect(calcIsCheckedBinding('checked', true)).toBe(true); + expect(calcIsCheckedBinding('checked', false)).toBe(true); + }); + + it('레이아웃이 !! 로 boolean 을 강제하면 null 이어도 checked 바인딩이 성립한다', () => { + // 해결책: props.checked = "{{!!_local.form?.x}}" → 항상 boolean + const coerced = !!(null as any); + expect(typeof coerced).toBe('boolean'); + expect(calcIsCheckedBinding('checked', coerced)).toBe(true); + }); + + it('$event.target.checked 는 항상 boolean 이므로 change 액션은 boolean 만 기록한다', () => { + // 해결책: change 액션이 setState 로 $event.target.checked 를 직접 쓴다 + const eventChecked: boolean = true; + expect(typeof eventChecked).toBe('boolean'); + expect(calcIsCheckedBinding('checked', eventChecked)).toBe(true); + }); + }); + + /** + * [사례 6] initLocal 로는 null 고착을 막을 수 없다 + * + * troubleshooting-components-form.md 사례 6 의 "initLocal 로는 막을 수 없다" 근거. + * deepMergeState 는 source 의 null 을 그대로 반영하므로, 레이아웃이 선언한 + * boolean 기본값이 API 응답의 null 에 덮인다. + */ + describe('[사례 6] deepMergeState 는 source 의 null 로 기본값을 덮는다', () => { + it('deep 병합에서 null 이 boolean 기본값(false)을 덮는다', () => { + const layoutDefaults = { form: { method_card: false, method_samsungpay: false } }; + const apiResponse = { form: { method_card: true, method_samsungpay: null } }; + + const merged = deepMergeState(layoutDefaults, apiResponse); + + expect(merged.form.method_card).toBe(true); + // 기본값 false 가 남지 않고 null 로 덮인다 → 이것이 고착의 원인 + expect(merged.form.method_samsungpay).toBeNull(); + expect(typeof merged.form.method_samsungpay).not.toBe('boolean'); + }); + + it('shallow 병합(기본값)은 form 객체를 통째로 교체하므로 기본값이 아예 남지 않는다', () => { + const prev = { form: { method_card: false, method_samsungpay: false } }; + const initData = { form: { method_card: true, method_samsungpay: null } }; + + // DynamicRenderer 의 shallow 분기: { ...prev, ...initDataWithoutMeta } + const merged = { ...prev, ...initData }; + + expect(merged.form).toEqual({ method_card: true, method_samsungpay: null }); + expect(merged.form.method_samsungpay).toBeNull(); + }); + }); }); describe('트러블슈팅 회귀 테스트 - 렌더링 구조', () => { diff --git a/templates/_bundled/sirsoft-basic/CHANGELOG.md b/templates/_bundled/sirsoft-basic/CHANGELOG.md index 6547b788..5cca2d8c 100644 --- a/templates/_bundled/sirsoft-basic/CHANGELOG.md +++ b/templates/_bundled/sirsoft-basic/CHANGELOG.md @@ -59,6 +59,7 @@ - 게시판 목록 세 종류(일반형·카드형·갤러리형) 모두에서 블라인드 처리된 글의 아이콘 색이 배경과 대비가 낮아 잘 보이지 않던 문제를 수정했습니다. - 목록의 이전/다음 이동이 페이지가 더 있는데도 눌리지 않던 문제를 수정했습니다. 마이페이지의 주문·상품 문의·내가 쓴 글 목록이 해당합니다. - 상품 상세를 열어도 "최근 본 상품" 이 계속 비어 있던 문제를 수정했습니다. +- 레이아웃 편집기에서 체크박스를 추가하면 라벨 없이 네모 칸만 놓이던 문제를 수정했습니다 — 이제 라벨이 함께 놓이며, 라벨을 눌러도 체크가 전환됩니다. ### Changed diff --git a/templates/_bundled/sirsoft-basic/__tests__/layouts/editor-spec-default-node.test.tsx b/templates/_bundled/sirsoft-basic/__tests__/layouts/editor-spec-default-node.test.tsx index 1398bff0..689b5023 100644 --- a/templates/_bundled/sirsoft-basic/__tests__/layouts/editor-spec-default-node.test.tsx +++ b/templates/_bundled/sirsoft-basic/__tests__/layouts/editor-spec-default-node.test.tsx @@ -165,4 +165,47 @@ describe('sirsoft-basic editor-spec defaultNode 공통 디자인', () => { t.cleanup(); }); }); + + // Checkbox 라벨 렌더 회귀 가드. + // Checkbox 컴포넌트는 label prop 을 받기만 하고 렌더하지 않는다(부모 Label 이 표시 담당). + // 팔레트가 label prop 만 심으면 편집기 삽입 시 라벨 없는 빈 체크박스가 나온다. + describe('Checkbox defaultNode — 라벨이 실제로 렌더된다', () => { + it('Checkbox defaultNode 는 label prop 이 아니라 Label 래핑 + Span 텍스트를 쓴다', () => { + const node = entries.Checkbox?.defaultNode; + expect(node).toBeDefined(); + + // 최상위는 Label — Checkbox 를 감싸 클릭 영역과 표시를 함께 제공한다. + expect(node?.name).toBe('Label'); + + const children = node?.children ?? []; + const checkbox = children.find((c) => c.name === 'Checkbox'); + const span = children.find((c) => c.name === 'Span'); + + expect(checkbox, 'Checkbox 자식 누락').toBeDefined(); + expect(span, '라벨 텍스트 Span 누락').toBeDefined(); + expect(span?.text).toBe('$t:layout_editor.palette.checkbox.default_label'); + + // 렌더되지 않는 label prop 에 의존하지 않는다. + expect(node?.props?.label, 'Label 에 label prop 사용 금지').toBeUndefined(); + expect(checkbox?.props?.label, 'Checkbox 의 label prop 은 렌더되지 않는다').toBeUndefined(); + }); + + it('Checkbox defaultNode 를 렌더하면 라벨 텍스트가 DOM 에 나타난다', async () => { + const node = entries.Checkbox?.defaultNode as DefaultNode; + const registry = createMockComponentRegistryWithBasics(); + const t = createLayoutTest(wrapAsLayout(node), { + templateId: 'sirsoft-basic', + componentRegistry: registry, + locale: 'ko', + }); + const { container } = await t.render(); + + // 체크박스 input 과 라벨 텍스트가 함께 렌더된다(빈 체크박스 회귀 차단). + const label = container.querySelector('label'); + expect(label, 'Label 래퍼가 렌더되어야 함').not.toBeNull(); + expect((label?.textContent ?? '').trim().length, '라벨 텍스트가 비어 있음').toBeGreaterThan(0); + + t.cleanup(); + }); + }); }); diff --git a/templates/_bundled/sirsoft-basic/editor-spec/componentPalette.json b/templates/_bundled/sirsoft-basic/editor-spec/componentPalette.json index 3eca29e9..7913ab62 100644 --- a/templates/_bundled/sirsoft-basic/editor-spec/componentPalette.json +++ b/templates/_bundled/sirsoft-basic/editor-spec/componentPalette.json @@ -436,11 +436,24 @@ "requiresDefaultNode": true, "defaultNode": { "type": "basic", - "name": "Checkbox", + "name": "Label", "props": { - "label": "$t:layout_editor.palette.checkbox.default_label", - "className": "w-4 h-4 text-gray-900 dark:text-white border-gray-300 dark:border-gray-600 rounded focus:ring-gray-900 dark:focus:ring-white" - } + "className": "flex items-center gap-2 cursor-pointer text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Checkbox", + "props": { + "className": "w-4 h-4 text-gray-900 dark:text-white border-gray-300 dark:border-gray-600 rounded focus:ring-gray-900 dark:focus:ring-white" + } + }, + { + "type": "basic", + "name": "Span", + "text": "$t:layout_editor.palette.checkbox.default_label" + } + ] } }, "PasswordInput": { diff --git a/tests/Playwright/specs/admin/tosspayments-settings-method-labels.spec.ts b/tests/Playwright/specs/admin/tosspayments-settings-method-labels.spec.ts new file mode 100644 index 00000000..e656f6c0 --- /dev/null +++ b/tests/Playwright/specs/admin/tosspayments-settings-method-labels.spec.ts @@ -0,0 +1,173 @@ +/** + * E2E: 토스페이먼츠 설정 — 주문서형 결제수단 체크박스 라벨 렌더 (#454) + * + * @scenario toss_payment_methods_vbank_escrow + * @effects enabled_methods_persisted + * + * 배경(회귀): + * Checkbox 컴포넌트는 `label` prop 을 받지만 렌더하지 않는다 (부모 Label 이 표시를 담당). + * 레이아웃이 `label` prop 에만 의존하면 체크박스만 9개 뜨고 이름이 전부 빈 칸이 된다. + * 레이아웃 구조 테스트(JSON walk)는 이를 잡지 못했고 브라우저에서만 드러났다 — + * 따라서 "라벨 텍스트가 실제로 화면에 보이는가" 는 E2E 로 고정한다. + * + * 검증: + * 1. 주문서형 결제 토글을 켜면 결제수단 9종이 노출되고, 각 체크박스에 라벨 텍스트가 보인다 + * 2. 라벨 클릭으로 체크 상태가 토글된다 (Label 래핑이 input 과 연결됨) + * 3. 체크 해제 → 저장 → 재진입 시 상태가 유지된다 (폼 자동바인딩 회귀 가드) + */ +import { test, expect, issueToken, authenticatePage } from '../../fixtures/auth'; + +const SETTINGS_PATH = '/admin/plugins/sirsoft-tosspayments/settings'; + +/** 결제수단 체크박스 9종의 name (레이아웃의 method_* 와 1:1) */ +const METHOD_NAMES = [ + 'method_card', + 'method_virtual_account', + 'method_transfer', + 'method_mobile_phone', + 'method_tosspay', + 'method_kakaopay', + 'method_naverpay', + 'method_payco', + 'method_samsungpay', +] as const; + +/** 설정 화면 진입 + 결제수단 그룹이 마운트될 때까지 대기 */ +async function gotoSettings(page: import('@playwright/test').Page): Promise { + await page.goto(SETTINGS_PATH); + await page.waitForLoadState('domcontentloaded', { timeout: 30_000 }); + expect(page.url()).not.toMatch(/\/admin\/login/); + + // 주문서형 결제가 꺼져 있으면 결제수단 그룹이 if 로 숨겨진다 → 켜서 노출시킨다. + const orderSheetToggle = page.locator('input[type=checkbox][name="order_sheet_mode"]'); + await expect(orderSheetToggle).toBeAttached({ timeout: 20_000 }); + if (!(await orderSheetToggle.isChecked())) { + // Toggle 컴포넌트는 input 을 시각적으로 감추고 형제 트랙을 노출하므로 force 클릭이 필요하다. + await orderSheetToggle.click({ force: true }); + } + + await expect(page.locator('input[type=checkbox][name="method_card"]')).toBeAttached({ timeout: 10_000 }); +} + +// @scenario order_sheet_mode=on, method_labels=rendered +// @effects enabled_methods_persisted +test('@smoke #454 - 결제수단 9종 체크박스에 라벨 텍스트가 표시된다', async ({ page }) => { + const token = issueToken('core.plugins.update'); + await authenticatePage(page, token); + + await gotoSettings(page); + + for (const name of METHOD_NAMES) { + const checkbox = page.locator(`input[type=checkbox][name="${name}"]`); + await expect(checkbox).toBeAttached(); + + // Checkbox 는 label prop 을 렌더하지 않으므로, 부모 Label 이 텍스트를 갖고 있어야 한다. + const wrapper = page.locator(`label:has(input[type=checkbox][name="${name}"])`); + await expect(wrapper, `${name} 라벨 래퍼 누락`).toBeVisible(); + + const text = (await wrapper.innerText()).trim(); + expect(text, `${name} 라벨 텍스트가 비어 있음 (label prop 은 렌더되지 않는다)`).not.toBe(''); + } +}); + +// @scenario label_click=toggles_checkbox +test('#454 - 라벨을 클릭하면 체크 상태가 토글된다', async ({ page }) => { + const token = issueToken('core.plugins.update'); + await authenticatePage(page, token); + + await gotoSettings(page); + + const checkbox = page.locator('input[type=checkbox][name="method_card"]'); + const label = page.locator('label:has(input[type=checkbox][name="method_card"])'); + + const before = await checkbox.isChecked(); + await label.click(); + await expect(checkbox).toBeChecked({ checked: !before }); + + // 원복 (다음 테스트 간섭 방지) + await label.click(); + await expect(checkbox).toBeChecked({ checked: before }); +}); + +// @scenario save=enabled_methods, payload=boolean +// @effects enabled_methods_persisted +test('#454 - 결제수단 저장 페이로드가 boolean 으로 전송된다 (빈 문자열 회귀 가드)', async ({ page }) => { + const token = issueToken('core.plugins.update'); + await authenticatePage(page, token); + + await gotoSettings(page); + + // 저장 요청 본문을 가로챈다. + // gotoSettings 가 주문서형 토글을 켜면서 별도 저장이 먼저 날 수 있으므로, + // 결제수단 키를 담은 요청만 잡는다 (상태 의존 flaky 방지). + const savePayload = page.waitForRequest( + (req) => + req.method() === 'PUT' && + req.url().includes('/plugins/sirsoft-tosspayments/settings') && + (req.postData() ?? '').includes('method_card'), + ); + + // 토글해서 dirty 를 만든다 (값 자체는 무엇이든 boolean 이어야 한다). + const target = page.locator('input[type=checkbox][name="method_samsungpay"]'); + const before = await target.isChecked(); + await target.click(); + await expect(target).toBeChecked({ checked: !before }); + + await expect(page.locator('#save_button')).toBeEnabled({ timeout: 10_000 }); + await page.locator('#save_button').click(); + + const body = JSON.parse((await savePayload).postData() ?? '{}'); + + // 회귀: 저장값이 null/미정의였던 항목이 빈 문자열('')로 전송되면 서버가 null 로 저장하고, + // 그 null 이 기본값(false)을 덮어 화면에서 다시 켤 수 없게 고착된다. + for (const name of METHOD_NAMES) { + expect(typeof body[name], `${name} 이 boolean 이 아님 (실제: ${JSON.stringify(body[name])})`).toBe('boolean'); + } + + // 원상 복구 + await gotoSettings(page); + const restored = page.locator('input[type=checkbox][name="method_samsungpay"]'); + if ((await restored.isChecked()) !== before) { + await restored.click(); + await expect(page.locator('#save_button')).toBeEnabled({ timeout: 10_000 }); + await page.locator('#save_button').click(); + await page.waitForTimeout(2_000); + } +}); + +// @scenario save=enabled_methods, reload=persisted +// @effects enabled_methods_persisted +test('#454 - 결제수단 체크 해제 후 저장하면 재진입 시 유지된다', async ({ page }) => { + const token = issueToken('core.plugins.update'); + await authenticatePage(page, token); + + await gotoSettings(page); + + const target = page.locator('input[type=checkbox][name="method_samsungpay"]'); + // 저장 버튼은 세션 로케일에 따라 라벨이 달라지므로 id 로 잡는다 (name 기반은 en 세션에서 깨진다). + const saveButton = page.locator('#save_button'); + + // 체크 해제 상태를 만든다 (이미 해제되어 있으면 켰다가 다시 끈다 — dirty 를 확실히 만든다). + if (!(await target.isChecked())) { + await target.click(); + await expect(target).toBeChecked(); + } + await target.click(); + await expect(target).not.toBeChecked(); + + // disabled 는 {{!_local.hasChanges}} 바인딩 — 활성화되었다는 것은 폼 dirty 감지가 살아있다는 뜻. + await expect(saveButton).toBeEnabled({ timeout: 10_000 }); + await saveButton.click(); + + await page.waitForTimeout(2_000); + await gotoSettings(page); + await expect(page.locator('input[type=checkbox][name="method_samsungpay"]')).not.toBeChecked({ timeout: 10_000 }); + + // 원상 복구 — 다른 시나리오/실환경에 해제 상태를 남기지 않는다. + const restored = page.locator('input[type=checkbox][name="method_samsungpay"]'); + await restored.click(); + await expect(restored).toBeChecked(); + await expect(page.locator('#save_button')).toBeEnabled({ timeout: 10_000 }); + await page.locator('#save_button').click(); + await page.waitForTimeout(2_000); +}); From 403154167a25e8b14e3fb7e565d9488eef336303 Mon Sep 17 00:00:00 2001 From: HeuJung Date: Tue, 14 Jul 2026 14:56:10 +0900 Subject: [PATCH 11/18] =?UTF-8?q?fix(core):=20api:docgen=20=EC=9E=AC?= =?UTF-8?q?=EC=83=9D=EC=84=B1=EC=9D=B4=20=EB=AC=B8=EC=84=9C=EB=A5=BC=20?= =?UTF-8?q?=EC=86=90=EC=8B=A4=C2=B7=EC=97=B4=ED=99=94=EC=8B=9C=ED=82=A4?= =?UTF-8?q?=EB=8A=94=20=EA=B2=B0=ED=95=A8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 재생성이 사람이 채운 서술과 이전 실측 결과를 지우고, 코드가 바뀌지 않은 문서까지 매 실행마다 흔들던 결함 5건을 고쳤다. - 중첩 객체 파라미터가 문서에서 통째로 누락되던 문제: 배열 요소(items.*.id)를 상위로 대표시키려던 스킵 조건이 점(.) 포함 여부만 봐서, 와일드카드가 없는 중첩 객체 필드(refund_bank.*, general.*, content.* 등 17개 엔드포인트 수백 개) 까지 함께 버렸다. 와일드카드가 있을 때만 스킵하도록 좁혔다. - 사람이 보강한 에러 응답 표가 자동 추론 초안에 덮여 사라지던 문제: 상태코드 키 단위로 병합한다. - 실측 실패가 이전에 관측해 둔 응답 예시를 지우던 문제: 실측 성패는 호출 시점 데이터 유무에 좌우되므로(DELETE /checkout 은 대상이 없으면 404), 실패는 "새로 관측하지 못했다"는 뜻이지 기존 관측이 무효라는 뜻이 아니다. - 실측 예시값·응답 예시 JSON 이 DB 상태를 그대로 반영해 비멱등하던 문제: 값이 아니라 스펙(필드 집합·타입)이 바뀐 경우에만 갱신한다. nullable 이 null 로 관측된 것은 타입 변경이 아니므로 기존 값을 유지한다. - 요청 예시 path 파라미터가 실측 성패에 따라 흔들리던 문제: placeholder 로 고정. 결과: 문서 63개 전수 대조에서 손실 0(서술·표 셀·응답 예시), 전 scope 연속 재생성 시 diff 0(멱등). --- app/Console/Commands/ApiDocgenCommand.php | 2 +- app/Support/ApiDoc/ApiDocScaffolder.php | 439 +- .../ApiDoc/FormRequestIntrospector.php | 6 +- docs/backend/api-documentation.md | 17 + docs/backend/api/README.md | 4 +- docs/backend/api/activity-logs.md | 7 +- docs/backend/api/attachments.md | 5 +- docs/backend/api/auth.md | 12 +- docs/backend/api/core-update.md | 3 +- docs/backend/api/dashboard.md | 8 +- docs/backend/api/identity.md | 112 +- docs/backend/api/language-packs.md | 33 +- docs/backend/api/locales.md | 2 +- docs/backend/api/me.md | 2 +- docs/backend/api/menus.md | 40 +- docs/backend/api/modules.md | 82 +- docs/backend/api/notification-definitions.md | 19 +- docs/backend/api/notification-logs.md | 7 +- docs/backend/api/notification-templates.md | 18 +- docs/backend/api/notifications.md | 41 +- docs/backend/api/plugins.md | 88 +- docs/backend/api/profile.md | 4 +- docs/backend/api/roles.md | 23 +- docs/backend/api/schedules.md | 38 +- docs/backend/api/seo.md | 6 +- docs/backend/api/settings.md | 244 +- docs/backend/api/templates.md | 183878 ++++++++++++++- docs/backend/api/users.md | 29 +- .../gnuboard7-hello_module/docs/api/memos.md | 4 + .../sirsoft-board/docs/api/activity-stats.md | 4 +- .../docs/api/board-activities.md | 4 +- .../sirsoft-board/docs/api/board-types.md | 20 +- .../_bundled/sirsoft-board/docs/api/board.md | 94 +- .../_bundled/sirsoft-board/docs/api/boards.md | 159 +- .../sirsoft-board/docs/api/dashboard.md | 4 +- .../sirsoft-board/docs/api/my-comments.md | 4 +- .../sirsoft-board/docs/api/reports.md | 28 +- .../sirsoft-board/docs/api/settings.md | 107 +- .../_bundled/sirsoft-board/docs/api/users.md | 8 +- .../sirsoft-ecommerce/docs/api/addresses.md | 2 +- .../sirsoft-ecommerce/docs/api/brands.md | 2 +- .../sirsoft-ecommerce/docs/api/cart.md | 4 +- .../sirsoft-ecommerce/docs/api/categories.md | 24 +- .../sirsoft-ecommerce/docs/api/checkout.md | 2 +- .../docs/api/claim-reasons.md | 299 +- .../sirsoft-ecommerce/docs/api/coupons.md | 2 +- .../sirsoft-ecommerce/docs/api/currency.md | 2 +- .../docs/api/extra-fee-templates.md | 2 +- .../sirsoft-ecommerce/docs/api/guest.md | 10 +- .../sirsoft-ecommerce/docs/api/inquiries.md | 10 +- .../docs/api/mileage-transactions.md | 2 +- .../sirsoft-ecommerce/docs/api/options.md | 16 + .../sirsoft-ecommerce/docs/api/orders.md | 109 +- .../sirsoft-ecommerce/docs/api/presets.md | 2 +- .../docs/api/product-common-infos.md | 2 +- .../docs/api/product-labels.md | 2 +- .../docs/api/product-notice-templates.md | 2 +- .../sirsoft-ecommerce/docs/api/products.md | 76 +- .../docs/api/promotion-coupons.md | 6 +- .../sirsoft-ecommerce/docs/api/reviews.md | 130 +- .../sirsoft-ecommerce/docs/api/settings.md | 174 +- .../docs/api/shipping-carriers.md | 2 +- .../docs/api/shipping-policies.md | 26 +- .../sirsoft-ecommerce/docs/api/users.md | 8 +- .../sirsoft-page/docs/api/attachments.md | 10 +- .../_bundled/sirsoft-page/docs/api/pages.md | 52 +- .../sirsoft-ckeditor5/docs/api/images.md | 10 +- .../sirsoft-ckeditor5/docs/api/upload.md | 10 +- .../sirsoft-gdpr/docs/api/consent-log.md | 4 +- .../_bundled/sirsoft-gdpr/docs/api/consent.md | 10 +- .../sirsoft-gdpr/docs/api/policy-versions.md | 6 +- .../sirsoft-gdpr/docs/api/settings.md | 6 +- .../sirsoft-marketing/docs/api/channels.md | 10 +- .../sirsoft-marketing/docs/api/settings.md | 43 +- .../sirsoft-pay_kginicis/docs/api/cbt.md | 2 +- .../sirsoft-pay_kginicis/docs/api/orders.md | 2 +- .../sirsoft-pay_kginicis/docs/api/payment.md | 54 +- .../docs/api/transaction.md | 2 +- .../sirsoft-pay_kginicis/docs/api/vbank.md | 2 +- .../sirsoft-tosspayments/docs/api/payment.md | 2 +- .../sirsoft-tosspayments/docs/api/webhook.md | 10 +- .../docs/api/README.md | 3 +- .../docs/api/identity.md | 20 +- .../docs/api/plugin.md | 89 + .../Feature/Console/ApiDocgenCommandTest.php | 57 + .../Support/ApiDoc/ApiDocPipelineTest.php | 321 + 86 files changed, 186546 insertions(+), 700 deletions(-) create mode 100644 plugins/_bundled/sirsoft-verification_kginicis/docs/api/plugin.md diff --git a/app/Console/Commands/ApiDocgenCommand.php b/app/Console/Commands/ApiDocgenCommand.php index a6596c00..700cf915 100644 --- a/app/Console/Commands/ApiDocgenCommand.php +++ b/app/Console/Commands/ApiDocgenCommand.php @@ -923,7 +923,7 @@ class ApiDocgenCommand extends Command ```text 1. 이 문서는 실제 API 호출로 실측한 {$domain} 엔드포인트 레퍼런스입니다 - 2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(curl) + 실측 응답 필드 표 + 응답 예시(envelope) + 2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) 3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 diff --git a/app/Support/ApiDoc/ApiDocScaffolder.php b/app/Support/ApiDoc/ApiDocScaffolder.php index 09131618..1ed93767 100644 --- a/app/Support/ApiDoc/ApiDocScaffolder.php +++ b/app/Support/ApiDoc/ApiDocScaffolder.php @@ -506,7 +506,10 @@ class ApiDocScaffolder * - 바디 있는 메서드(POST/PUT/PATCH)는 요청 파라미터 표의 필수 파라미터 + 타입별 샘플값을 * 빈 줄 뒤 JSON 바디로 붙입니다. * - * path 파라미터가 실측 치환값(`resolved_uri`)으로 채워졌으면 그 값을, 아니면 `{param}` placeholder 를 쓴다. + * path 파라미터는 실측 치환값이 아니라 라우트 정의의 `{param}` placeholder 로 고정한다. + * 실측 치환값(`resolved_uri`)을 쓰면 실측 성패·시드 데이터에 따라 같은 엔드포인트의 예시가 + * `/brands/1` ↔ `/brands/{brand}` 로 흔들려, 재실행마다 무관한 문서까지 diff 가 발생한다. + * 레퍼런스 문서는 "어떤 파라미터를 넣는가"를 보여주는 것이 목적이므로 placeholder 가 정본이다. * * @param array $route 라우트 메타데이터 * @param array $request FormRequest 분석 결과 @@ -516,7 +519,7 @@ class ApiDocScaffolder public function requestExampleBlock(array $route, array $request, array $probeMeta): string { $method = strtoupper((string) $route['method']); - $path = (string) ($probeMeta['resolved_uri'] ?? $route['uri']); + $path = (string) $route['uri']; // GET/DELETE 의 query 파라미터는 URL 쿼리스트링으로 반영한다(바디가 아니라 URL). if (in_array($method, ['GET', 'DELETE'], true)) { @@ -1072,7 +1075,19 @@ class ApiDocScaffolder $withTables, $this->extractGeneratedBlockBody($existing, $key) ?? $legacy ); - $merged .= $this->restoreErrorSection($withBodies, $existing, $key, $legacy)."\n"; + $withErrors = $this->restoreErrorSection($withBodies, $existing, $key, $legacy); + // 에러 표는 상태코드 행 단위로도 병합한다 — restoreErrorSection 은 새 표가 통째로 + // 스텁일 때의 복원만 다루므로, 자동 추론이 초안을 만들어 낸 경우 사람이 보강한 + // 행(409 충돌·429 제한 등 도메인 특이 에러)이 덮여 사라진다. 행 병합을 겹쳐 + // 같은 상태코드는 사람 행이 이기고, 자동 추론에만 있는 상태코드는 새로 편입한다. + // 에러 표는 상태코드가 엔드포인트마다 중복되어 키가 고유하지 않으므로, 이 엔드포인트만 + // 정확히 잘라낸 블록으로만 대조한다. extractGeneratedBlockBody 가 아니라 + // exactGeneratedBlock 을 쓰는 이유: 에러 표 추출(extractErrorTable)은 생성 블록 + // 종료 마커를 표의 끝 경계로 삼는데, 전자는 그 마커를 잘라내고 돌려준다. + $merged .= $this->applyPreservedErrorTable( + $withErrors, + $this->exactGeneratedBlock($existing, $key) + )."\n"; } return $merged; @@ -1092,6 +1107,11 @@ class ApiDocScaffolder * "사람이 작성한 설명은 보존됩니다" 를 표 셀에도 적용한다. 사실이 바뀌면 사람이 그 셀을 * 고치거나 비우고, 비운 셀은 다음 재생성이 채운다. * + * 응답 필드 표의 `실측 예시값` 열도 보존한다. 실측값은 호출 시점 DB 상태가 낳은 표본 + * 하나라, 매번 새 값으로 덮으면 스펙이 그대로인 무관한 문서까지 재실행마다 diff 가 난다. + * 스펙이 실제로 바뀐 경우에만 갱신하도록, 같은 필드의 타입이 그대로면 기존 예시값을 유지하고 + * 타입이 달라졌으면 새 실측값을 채택한다. 기존 문서에 없던 신규 필드는 새 값을 그대로 쓴다. + * * @param string $section 새로 생성된 섹션 * @param string $existing 기존 문서 전체 * @param string $key 라우트명(생성 블록 키) @@ -1105,35 +1125,213 @@ class ApiDocScaffolder return $section; } - $oldDescriptions = $this->collectRowDescriptions($oldBlock); - if ($oldDescriptions === []) { + $previousCells = $this->collectTableCells($oldBlock); + if ($previousCells === []) { return $section; } $lines = explode("\n", $section); foreach ($lines as $index => $line) { - if (! str_starts_with(trim($line), '|')) { + $parsed = $this->parseTableRow($line); + if ($parsed === null) { continue; } - $cells = $this->splitRowCells($line); - if (count($cells) < 2) { + $previousRow = $previousCells[$parsed['key']] ?? null; + + // 기존 문서에 없던 행(= 신규 필드/파라미터)은 새로 생성된 값을 그대로 채택한다. + if ($previousRow === null) { continue; } - $lastIndex = count($cells) - 1; - $rowKey = $this->rowKey($cells); - if ($rowKey === null || ! isset($oldDescriptions[$rowKey])) { - continue; + $cols = $parsed['cols']; + + // 응답 필드 표(4열)의 타입·실측 예시값 열을 보존한다. + // 실측값은 호출 시점 DB 상태의 표본 하나라, 매번 새 값으로 덮으면 스펙이 그대로인 + // 무관한 문서까지 재실행마다 diff 가 난다. 타입이 그대로면 기존 예시값을 유지하고, + // 타입이 바뀌었으면(스펙 변경) 새 실측값으로 갱신한다. + // + // 단 nullable 필드는 그 행의 표본이 null 이냐에 따라 관측 타입이 흔들린다 + // (`loggable_type` 이 string ↔ null). null 관측은 "타입이 바뀌었다"가 아니라 + // "이번 표본에는 값이 없었다" 는 뜻이므로, 기존에 실제 값을 관측해 둔 행은 유지한다. + if (count($cols) === 4 && count($previousRow['cols']) === 4) { + $previousType = $previousRow['cols'][1]; + $previousExample = $previousRow['cols'][2]; + $observedNothing = $cols[1] === 'null'; + + $keepPrevious = $previousExample !== '' + && ($previousType === $cols[1] || ($observedNothing && $previousType !== 'null')); + + if ($keepPrevious) { + $cols[1] = $previousType; + $cols[2] = $previousExample; + } } - $cells[$lastIndex] = ' '.$oldDescriptions[$rowKey].' '; - $lines[$index] = '|'.implode('|', $cells).'|'; + // 마지막 열(사람 서술)은 기존 값이 있으면 언제나 우선한다. + if ($previousRow['value'] !== null) { + $cols[count($cols) - 1] = $previousRow['value']; + } + + $rebuilt = '| '.implode(' | ', $cols).' |'; + + if ($rebuilt !== $line) { + $lines[$index] = $rebuilt; + } } return implode("\n", $lines); } + /** + * 사람이 보강한 에러 응답 표를 보존합니다. + * + * 에러 표는 라우트 메타(미들웨어·FormRequest 유무)에서 대표 상태코드만 추론하는 초안이라, + * 도메인 특이 에러(409 충돌·429 제한, 구체적 발생 조건)는 사람이 행을 직접 추가해 채운다. + * 재생성이 그 표를 자동 추론 결과로 덮으면 사람이 쓴 행이 통째로 사라진다 + * (실제로 KG이니시스 결제 문서의 403·404·422·429 행이 "대표 에러 없음" 으로 지워졌다). + * + * 행 키(상태코드) 단위로 병합한다. 자동 추론이 만든 행은 그대로 두되(라우트 메타가 바뀌면 + * 그 결과가 정본이다), 기존 문서에만 있는 행 — 사람이 추가한 도메인 특이 에러 — 은 + * 상태코드 오름차순 자리에 되살린다. 같은 상태코드가 양쪽에 있으면 사람이 쓴 발생 조건이 + * 자동 문구보다 구체적이므로 기존 행을 우선한다. + * + * @param string $section 표 셀 보존이 끝난 섹션 + * @param string|null $previous 기존 문서의 같은 엔드포인트 생성 블록 + * @return string 에러 표가 보존된 섹션 + */ + private function applyPreservedErrorTable(string $section, ?string $previous): string + { + if ($previous === null) { + return $section; + } + + $previousRows = $this->errorTableRows($previous); + + if ($previousRows === []) { + return $section; + } + + $currentBody = $this->extractErrorTable($section); + + if ($currentBody === null) { + return $section; + } + + // 상태코드 키로 병합. `+` 는 왼쪽 우선이므로 기존 행을 먼저 둬서, 같은 상태코드면 + // 사람이 쓴 구체적 조건이 자동 문구를 이긴다. 자동 추론에만 있는 상태코드는 새로 편입된다. + $merged = $previousRows + $this->errorTableRows($section); + + if ($merged === []) { + return $section; + } + + ksort($merged, SORT_NUMERIC); + + $table = "| 상태코드 | 의미 | 발생 조건 |\n| --- | --- | --- |\n".implode("\n", $merged); + + return str_replace($currentBody, $table, $section); + } + + /** + * 섹션의 에러 응답 표에서 [상태코드 => 행] 맵을 수집합니다. + * + * @param string $section 엔드포인트 섹션 (또는 생성 블록) + * @return array 상태코드 => 표 행 원문 + */ + private function errorTableRows(string $section): array + { + $body = $this->extractErrorTable($section); + + if ($body === null) { + return []; + } + + $rows = []; + + foreach (explode("\n", $body) as $line) { + if (! preg_match('/^\|\s*(\d{3})\s*\|/', $line, $m)) { + continue; + } + + $rows[$m[1]] = rtrim($line); + } + + return $rows; + } + + /** + * 응답 예시 본문에서 JSON 의 키 구조(값 제외)를 추출합니다. + * + * 값이 아니라 **필드 집합**만 비교하기 위한 지문이다. 리소스에 필드가 추가/삭제되면 + * 지문이 달라지므로 새 실측 예시를 채택하고, 값만 달라진 경우(`updated_at` 등)에는 + * 지문이 같아 기존 예시를 유지한다. + * + * @param string $body 응답 예시 본문 (```json 블록 포함) + * @return string|null 키 구조 지문 (JSON 블록이 없거나 파싱 실패 시 null) + */ + private function exampleKeyShape(string $body): ?string + { + if (! preg_match('/```json\n(.*?)\n```/s', $body, $m)) { + return null; + } + + $decoded = json_decode($m[1], true); + + if (! is_array($decoded)) { + return null; + } + + $shape = function (mixed $value) use (&$shape): mixed { + if (! is_array($value)) { + return '_'; + } + + // 리스트는 첫 원소의 구조만 대표로 본다(원소 수는 데이터 양에 따라 달라진다). + if (array_is_list($value)) { + return $value === [] ? [] : [$shape($value[0])]; + } + + $out = []; + + foreach ($value as $k => $v) { + $out[$k] = $shape($v); + } + + ksort($out); + + return $out; + }; + + return json_encode($shape($decoded)); + } + + /** + * 섹션에서 `**에러 응답**` 본문(표 또는 "대표 에러 없음" 문구)을 잘라냅니다. + * + * @param string $section 엔드포인트 섹션 + * @return string|null 에러 응답 본문 (없으면 null) + */ + private function extractErrorTable(string $section): ?string + { + $start = strpos($section, '**에러 응답**'); + + if ($start === false) { + return null; + } + + $bodyStart = $start + strlen('**에러 응답**'); + $end = strpos($section, self::GEN_END, $bodyStart); + + if ($end === false) { + return null; + } + + $body = trim(substr($section, $bodyStart, $end - $bodyStart)); + + return $body === '' ? null : $body; + } + /** * 이번 실측이 빈 응답이라 필드 표가 사라졌으면 기존 표를 되살립니다. * @@ -1345,45 +1543,6 @@ class ApiDocScaffolder return substr($existing, $startPos, $endPos - $startPos); } - /** - * 표 블록에서 `행 키 => 설명` 맵을 수집합니다 (TODO 셀은 제외). - * - * @param string $block 생성 블록 본문 - * @return array 행 키 => 설명 - */ - private function collectRowDescriptions(string $block): array - { - $map = []; - - foreach (explode("\n", $block) as $line) { - if (! str_starts_with(trim($line), '|')) { - continue; - } - - $cells = $this->splitRowCells($line); - if (count($cells) < 2) { - continue; - } - - $description = trim($cells[count($cells) - 1]); - if ($description === '' || str_contains($description, ''); + + if ($startPos === false) { + return null; + } + + $endPos = strpos($existing, self::GEN_END, $startPos); + + if ($endPos === false) { + return null; + } + + return substr($existing, $startPos, ($endPos + strlen(self::GEN_END)) - $startPos); + } + /** * 기존 문서에서 특정 엔드포인트의 사람 서술(생성 블록 밖)을 추출합니다. * diff --git a/app/Support/ApiDoc/FormRequestIntrospector.php b/app/Support/ApiDoc/FormRequestIntrospector.php index 5c52cfc4..c7b4b64a 100644 --- a/app/Support/ApiDoc/FormRequestIntrospector.php +++ b/app/Support/ApiDoc/FormRequestIntrospector.php @@ -111,8 +111,10 @@ class FormRequestIntrospector $params = []; foreach ($rules as $field => $rule) { - // 중첩 필드(items.*.id)는 상위만 대표로 노출 - if (str_contains((string) $field, '.')) { + // 배열 요소 규칙(items.*.id)은 상위 필드(items)만 대표로 노출한다. + // 점(`.`) 포함 여부만 보면 와일드카드가 없는 중첩 **객체** 필드 + // (refund_bank.bank_code, general.site_name 등)까지 버려져 문서에서 통째로 빠진다. + if (str_contains((string) $field, '*')) { continue; } diff --git a/docs/backend/api-documentation.md b/docs/backend/api-documentation.md index 145832eb..048f9e9a 100644 --- a/docs/backend/api-documentation.md +++ b/docs/backend/api-documentation.md @@ -123,12 +123,29 @@ README.md "API 레퍼런스" 또는 AGENTS.md "API 레퍼런스 진입점" 표 | --- | --- | | 파라미터 표 `용도` 셀 | 행 키(이름+위치)로 대조. 기존 값이 TODO 스텁이 아니면 유지 | | 응답 필드 표 `용도/설명` 셀 | 행 키(필드)로 대조. 기존 값이 TODO 스텁이 아니면 유지 | +| 응답 필드 표 `실측 예시값` 열 | 같은 필드의 타입이 그대로면 기존 값 유지. 타입이 바뀌면(스펙 변경) 새 실측값 채택. 기존에 없던 신규 필드는 새 값 사용 | | 응답 필드 본문 (실측 실패로 마커만 남은 자리) | 사람이 채웠으면 유지 | | 응답 예시 본문 | 실측 산출물에는 `` 출처 마커가 붙는다. 마커가 없으면 사람 작성분으로 보고 유지 | +| 응답 예시 JSON (양쪽 다 실측 산출물) | 응답의 **키 구조**가 같으면 기존 예시 유지. 필드 집합이 달라지면 새 실측 예시 채택 | +| 응답 예시·응답 필드 (이번 실측이 실패) | 기존이 실측 산출물이면 그대로 유지 (마커로 덮지 않는다) | +| 에러 응답 표 | 상태코드 키 단위 병합. 사람이 추가한 행(도메인 특이 에러)은 살리고, 자동 추론에만 있는 상태코드는 편입. 같은 상태코드는 기존 행 우선 | `@probed` 마커가 필요한 이유: 실측은 1회 호출이 관측한 표본 하나뿐이라, 사람이 코드를 읽고 쓴 사실 (성공 케이스와 엣지 케이스를 함께 제시하는 등)보다 좁다. 실측 결과는 기본값이지 덮어쓰기 권한이 아니다. +**재생성은 멱등해야 한다.** 실측값은 호출 시점 DB 상태가 낳은 표본이라, 그대로 반영하면 코드가 하나도 +바뀌지 않은 문서까지 재실행마다 diff 가 난다(`id` 예시값, `updated_at`, `cache_version` 등). 그래서 +값이 아니라 **스펙**(필드 집합·타입)이 바뀐 경우에만 갱신한다. 같은 이유로 요청 예시의 path 파라미터는 +실측 치환값(`/brands/1`)이 아니라 라우트 정의의 placeholder(`/brands/{brand}`)로 고정한다 — 실측 +성패에 따라 예시가 흔들리지 않아야 한다. + +실측 실패(`실측 제외: ...`)는 "새로 관측하지 못했다"는 뜻이지 기존 관측이 무효라는 뜻이 아니다. +실측 성패는 호출 시점 데이터 유무에 좌우된다(예: `DELETE /checkout` 은 삭제할 체크아웃이 없으면 404). +따라서 실측 실패가 기존 실측 결과를 지우지 않는다. + +nullable 필드는 표본에 값이 있느냐에 따라 관측 타입이 흔들린다(`loggable_type` 이 string ↔ null). +`null` 관측은 타입 변경이 아니라 "이번 표본에 값이 없었다" 는 뜻이므로, 기존에 관측한 실제 값을 유지한다. + 에러 응답 표는 라우트 메타에서 대표 상태코드를 자동 추론한다: 인증 필수(`auth:sanctum`)→401, `admin`/`permission:` 요구→403, FormRequest 검증 규칙 존재→422, path 파라미터 존재→404. `optional.sanctum`(선택 인증)은 401 을 유발하지 않는다. 도메인 특이 에러(409·429 등)는 사람이 보강한다. diff --git a/docs/backend/api/README.md b/docs/backend/api/README.md index ab1c0aac..730f1841 100644 --- a/docs/backend/api/README.md +++ b/docs/backend/api/README.md @@ -229,7 +229,7 @@ location ~* \.(js|css|json)$ { expires max; access_log off; } > 각 확장이 자신의 API 문서를 소유합니다. 아래 표는 자동 생성됩니다. -- **확장 수**: 14 · **엔드포인트 수**: 414 +- **확장 수**: 14 · **엔드포인트 수**: 416 | 확장 | 유형 | API 문서 목차 | 문서/엔드포인트 | | --- | --- | --- | --- | @@ -245,7 +245,7 @@ location ~* \.(js|css|json)$ { expires max; access_log off; } | `sirsoft-pay_nhnkcp` | 플러그인 | [docs/api/](../../../plugins/_bundled/sirsoft-pay_nhnkcp/docs/api/README.md) | 0 / 0 | | `sirsoft-pay_nicepayments` | 플러그인 | [docs/api/](../../../plugins/_bundled/sirsoft-pay_nicepayments/docs/api/README.md) | 0 / 0 | | `sirsoft-tosspayments` | 플러그인 | [docs/api/](../../../plugins/_bundled/sirsoft-tosspayments/docs/api/README.md) | 2 / 4 | -| `sirsoft-verification_kginicis` | 플러그인 | [docs/api/](../../../plugins/_bundled/sirsoft-verification_kginicis/docs/api/README.md) | 1 / 1 | +| `sirsoft-verification_kginicis` | 플러그인 | [docs/api/](../../../plugins/_bundled/sirsoft-verification_kginicis/docs/api/README.md) | 2 / 3 | | `sirsoft-verification_nhnkcp` | 플러그인 | [docs/api/](../../../plugins/_bundled/sirsoft-verification_nhnkcp/docs/api/README.md) | 1 / 1 | diff --git a/docs/backend/api/activity-logs.md b/docs/backend/api/activity-logs.md index b216f880..26031d35 100644 --- a/docs/backend/api/activity-logs.md +++ b/docs/backend/api/activity-logs.md @@ -245,7 +245,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.activities.delete`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.activities.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -268,7 +268,7 @@ Content-Type: application/json **요청 예시** ```http -DELETE /api/admin/activity-logs/159 HTTP/1.1 +DELETE /api/admin/activity-logs/{activityLog} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -299,8 +299,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.activities.delete`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.activities.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/docs/backend/api/attachments.md b/docs/backend/api/attachments.md index 0625dabe..97fbb53b 100644 --- a/docs/backend/api/attachments.md +++ b/docs/backend/api/attachments.md @@ -198,7 +198,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.attachments.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.attachments.create`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -240,8 +240,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.attachments.delete`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.attachments.create`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/docs/backend/api/auth.md b/docs/backend/api/auth.md index 9808f220..83c4eab5 100644 --- a/docs/backend/api/auth.md +++ b/docs/backend/api/auth.md @@ -295,6 +295,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -345,6 +346,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -395,6 +397,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -586,6 +589,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -638,6 +642,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -737,7 +742,7 @@ _단건 응답: `data` 객체의 필드._ | channels | array | `[{"key":"email_subscription","label":"광고성 이메일 수신","enable…` | 관리자 정의 전체 마케팅 채널 목록 (원소 key/label/enabled/terms_slug — marketing 플러그인 주입) | | consent_histories | array | `[]` | 동의 변경 이력 (원소 channel_key/action/source/created_at — marketing 플러그인 주입) | | ecommerce_mileage | object | `{"enabled":false}` | 마일리지 정보 (enabled/잔액 — ecommerce 모듈 주입, 모듈 비활성 시 enabled=false) | -| ecommerce_preferred_currency | null | `null` | 선호 결제 통화 (ecommerce 모듈 주입, 미설정 시 null) | +| ecommerce_preferred_currency | string | `KRW` | 선호 결제 통화 (ecommerce 모듈 주입, 미설정 시 null) | | ecommerce_preferred_shipping_country | null | `null` | 선호 배송 국가 코드 (ecommerce 모듈 주입, 미설정 시 null) | | ecommerce_preferred_shipping_country_name | null | `null` | 선호 배송 국가 이름 (국가 코드에서 현지화 파생 — ecommerce 모듈 주입, 미설정 시 null) | @@ -818,6 +823,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -858,6 +864,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.auth.logout`)이 없는 경우 | @@ -898,6 +905,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.auth.logout`)이 없는 경우 | @@ -938,6 +946,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.auth.refresh`)이 없는 경우 | @@ -978,6 +987,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.auth.user`)이 없는 경우 | diff --git a/docs/backend/api/core-update.md b/docs/backend/api/core-update.md index f94d618f..17783884 100644 --- a/docs/backend/api/core-update.md +++ b/docs/backend/api/core-update.md @@ -106,7 +106,8 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/docs/backend/api/dashboard.md b/docs/backend/api/dashboard.md index 3cd9df32..b4687944 100644 --- a/docs/backend/api/dashboard.md +++ b/docs/backend/api/dashboard.md @@ -164,7 +164,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.dashboard.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.dashboard.activities`)이 없는 경우 | @@ -273,7 +273,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.notification-logs.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.dashboard.activities`)이 없는 경우 | @@ -345,7 +345,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.dashboard.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.dashboard.activities`)이 없는 경우 | @@ -431,7 +431,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.dashboard.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.dashboard.activities`)이 없는 경우 | diff --git a/docs/backend/api/identity.md b/docs/backend/api/identity.md index 4ce4506d..40c4e390 100644 --- a/docs/backend/api/identity.md +++ b/docs/backend/api/identity.md @@ -234,7 +234,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.purge`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -352,7 +352,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.messages.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -425,7 +425,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.messages.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -448,7 +448,7 @@ Content-Type: application/json **요청 예시** ```http -DELETE /api/admin/identity/messages/definitions/1 HTTP/1.1 +DELETE /api/admin/identity/messages/definitions/{definition} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -467,8 +467,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.messages.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -490,7 +491,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -GET /api/admin/identity/messages/definitions/1 HTTP/1.1 +GET /api/admin/identity/messages/definitions/{definition} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -617,8 +618,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.messages.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -646,7 +648,7 @@ HTTP/1.1 200 **요청 예시** ```http -PATCH /api/admin/identity/messages/definitions/1 HTTP/1.1 +PATCH /api/admin/identity/messages/definitions/{definition} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -679,9 +681,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.messages.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -703,7 +705,7 @@ Content-Type: application/json **요청 예시** ```http -POST /api/admin/identity/messages/definitions/1/reset HTTP/1.1 +POST /api/admin/identity/messages/definitions/{definition}/reset HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -727,7 +729,7 @@ _단건 응답: `data` 객체의 필드._ | extension_identifier | string | `sirsoft-ecommerce` | 이 리소스를 소유한 확장의 식별자 | | is_active | boolean | `true` | active 여부 | | is_default | boolean | `true` | default 여부 | -| user_overrides | null | `null` | 운영자가 수정한 필드명 목록 (예: ["name","is_active"]) | +| user_overrides | array | `["name.ja"]` | 운영자가 수정한 필드명 목록 (예: ["name","is_active"]) | | templates | array | `[{"id":1,"definition_id":1,"channel":"mail","subject":{"k…` | 템플릿 목록 (각 원소 identifier/name 등 — 템플릿 관계 파생) | | created_at | string | `2026-07-30 18:47:09` | 생성 일시 | | updated_at | string | `2026-07-30 18:47:09` | 최종 수정 일시 | @@ -830,8 +832,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.messages.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -853,7 +856,7 @@ HTTP/1.1 200 **요청 예시** ```http -PATCH /api/admin/identity/messages/definitions/1/toggle-active HTTP/1.1 +PATCH /api/admin/identity/messages/definitions/{definition}/toggle-active HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -956,8 +959,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.messages.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1009,7 +1013,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.messages.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1037,7 +1041,7 @@ Content-Type: application/json **요청 예시** ```http -PATCH /api/admin/identity/messages/templates/1 HTTP/1.1 +PATCH /api/admin/identity/messages/templates/{template} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1067,9 +1071,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.messages.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1091,7 +1095,7 @@ Content-Type: application/json **요청 예시** ```http -POST /api/admin/identity/messages/templates/1/reset HTTP/1.1 +POST /api/admin/identity/messages/templates/{template}/reset HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1110,7 +1114,7 @@ _단건 응답: `data` 객체의 필드._ | body | object | `{"ko":"

결제 본인 확인<\/h1>

결제를 진행하기 위해 본인 확인이 필요합니다. 아래 …` | 다국어 본문 ({"ko":"...", "en":"..."}) | | is_active | boolean | `true` | active 여부 | | is_default | boolean | `true` | default 여부 | -| user_overrides | null | `null` | 운영자가 수정한 필드명 목록 (예: ["subject","body","is_active"]) | +| user_overrides | array | `[]` | 운영자가 수정한 필드명 목록 (예: ["subject","body","is_active"]) | | updated_by | null | `null` | 최종 수정한 사용자 정보 (uuid/name — updated_by 관계 파생, 없으면 null) | | created_at | string | `2026-07-30 18:47:09` | 생성 일시 | | updated_at | string | `2026-07-30 18:47:09` | 최종 수정 일시 | @@ -1157,8 +1161,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.messages.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1180,7 +1185,7 @@ HTTP/1.1 200 **요청 예시** ```http -PATCH /api/admin/identity/messages/templates/1/toggle-active HTTP/1.1 +PATCH /api/admin/identity/messages/templates/{template}/toggle-active HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1248,8 +1253,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.messages.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1390,7 +1396,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.policies.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1463,7 +1469,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.policies.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1507,9 +1513,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.policies.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1580,9 +1586,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.policies.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1631,9 +1637,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.policies.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1780,7 +1786,8 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.providers.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1834,8 +1841,10 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1854,6 +1863,8 @@ Content-Type: application/json | --- | --- | --- | --- | --- | --- | | purpose | body | string | 예 | max 64 | 인증 목적 (signup/password_reset/self_update/sensitive_action/login 또는 모듈 정의 목적) | | target | body | array | 아니오 | — | 비로그인 게스트의 인증 대상 (target.email 또는 target.phone — 로그인 사용자는 본인으로 자동 설정) | +| target.email | body | email | 아니오 | max 255 | | +| target.phone | body | string | 아니오 | max 32 | | | provider_id | body | string | 아니오 | max 64 | provider 식별자 | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`core.identity.request_validation_rules`). @@ -1872,6 +1883,8 @@ Content-Type: application/json "target": [ "예시값" ], + "target.email": "user@example.com", + "target.phone": "010-1234-5678", "provider_id": "예시값" } ``` @@ -1888,7 +1901,8 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`core.identity.request`)이 없는 경우 | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1934,6 +1948,8 @@ _단건 응답: `data` 객체의 필드._ **응답 예시** + + ```http HTTP/1.1 200 ``` @@ -1959,7 +1975,10 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1999,8 +2018,10 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`core.identity.cancel`)이 없는 경우 | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2050,9 +2071,10 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`core.identity.verify`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2093,6 +2115,8 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2177,7 +2201,11 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). 인증·권한 미요구 엔드포인트로 도메인 특이 에러를 반환하지 않습니다._ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2314,7 +2342,11 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). 인증·권한 미요구 엔드포인트로 도메인 특이 에러를 반환하지 않습니다._ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/docs/backend/api/language-packs.md b/docs/backend/api/language-packs.md index 1ee081a8..4fab1a73 100644 --- a/docs/backend/api/language-packs.md +++ b/docs/backend/api/language-packs.md @@ -259,7 +259,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.language_packs.manage`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.language_packs.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -299,7 +299,8 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.language_packs.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.language_packs.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -347,7 +348,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.language_packs.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.language_packs.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -402,7 +403,7 @@ Content-Disposition: form-data; name="auto_activate" | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.language_packs.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.language_packs.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -451,7 +452,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.language_packs.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.language_packs.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -504,7 +505,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.language_packs.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.language_packs.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -554,7 +555,7 @@ Content-Type: application/octet-stream | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.language_packs.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.language_packs.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -594,7 +595,8 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.language_packs.manage`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.language_packs.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -636,9 +638,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.language_packs.manage`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.language_packs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -681,6 +683,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.language_packs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -721,8 +724,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.language_packs.manage`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.language_packs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -765,6 +769,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.language_packs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -805,8 +810,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.language_packs.manage`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.language_packs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -847,8 +853,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.language_packs.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.language_packs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/docs/backend/api/locales.md b/docs/backend/api/locales.md index 8bd89174..a9159777 100644 --- a/docs/backend/api/locales.md +++ b/docs/backend/api/locales.md @@ -69,7 +69,7 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). 인증·권한 미요구 엔드포인트로 도메인 특이 에러를 반환하지 않습니다._ +_대표 에러 없음 (공개 조회). _ diff --git a/docs/backend/api/me.md b/docs/backend/api/me.md index 26277ca3..fbe14598 100644 --- a/docs/backend/api/me.md +++ b/docs/backend/api/me.md @@ -135,7 +135,7 @@ _단건 응답: `data` 객체의 필드._ | channels | array | `[{"key":"email_subscription","label":"광고성 이메일 수신","enable…` | 관리자 정의 전체 마케팅 채널 목록 (원소 key/label/enabled/terms_slug, 마케팅 플러그인 주입) | | consent_histories | array | `[]` | 동의 변경 이력 (원소 channel_key/action/source/created_at, 마케팅 플러그인 주입) | | ecommerce_mileage | object | `{"enabled":false}` | 마일리지 정보 (enabled: 기능 활성 여부, 잔액, 이커머스 모듈 주입) | -| ecommerce_preferred_currency | null | `null` | 선호 결제 통화 (이커머스 모듈 주입, 미설정 시 null) | +| ecommerce_preferred_currency | string | `KRW` | 선호 결제 통화 (이커머스 모듈 주입, 미설정 시 null) | | ecommerce_preferred_shipping_country | null | `null` | 선호 배송 국가 코드 (이커머스 모듈 주입, 미설정 시 null) | | ecommerce_preferred_shipping_country_name | null | `null` | 선호 배송 국가 이름 (코드 파생, 이커머스 모듈 주입, 미설정 시 null) | diff --git a/docs/backend/api/menus.md b/docs/backend/api/menus.md index 723ce27d..d3fd8844 100644 --- a/docs/backend/api/menus.md +++ b/docs/backend/api/menus.md @@ -324,7 +324,7 @@ HTTP/1.1 201 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.menus.create`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.menus.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -448,6 +448,7 @@ HTTP/1.1 200 | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.menus.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -493,6 +494,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -587,6 +589,7 @@ HTTP/1.1 200 | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.menus.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -646,7 +649,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.menus.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.menus.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -671,7 +674,7 @@ Content-Type: application/json **요청 예시** ```http -DELETE /api/admin/menus/1 HTTP/1.1 +DELETE /api/admin/menus/{menu} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -683,15 +686,28 @@ Authorization: Bearer {YOUR_TOKEN} **응답 예시** - + + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "메뉴가 성공적으로 삭제되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.menus.delete`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -715,7 +731,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -GET /api/admin/menus/1 HTTP/1.1 +GET /api/admin/menus/{menu} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -852,6 +868,7 @@ HTTP/1.1 200 | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -887,7 +904,7 @@ HTTP/1.1 200 **요청 예시** ```http -PUT /api/admin/menus/1 HTTP/1.1 +PUT /api/admin/menus/{menu} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -922,9 +939,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.menus.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -950,7 +967,7 @@ Content-Type: application/json **요청 예시** ```http -PATCH /api/admin/menus/1/toggle-status HTTP/1.1 +PATCH /api/admin/menus/{menu}/toggle-status HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1018,8 +1035,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.menus.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/docs/backend/api/modules.md b/docs/backend/api/modules.md index 2fad9498..dcbd440d 100644 --- a/docs/backend/api/modules.md +++ b/docs/backend/api/modules.md @@ -227,7 +227,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.activate`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -267,7 +267,8 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -317,7 +318,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.activate`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -376,7 +377,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -428,7 +429,7 @@ Content-Type: application/octet-stream | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -477,7 +478,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -619,6 +620,8 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -667,7 +670,7 @@ Content-Type: application/octet-stream | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -716,7 +719,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.activate`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -761,7 +764,7 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.uninstall`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -847,7 +850,8 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -872,7 +876,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/admin/modules/sirsoft-ecommerce/changelog?source=active&from_version=%EC%98%88%EC%8B%9C%EA%B0%92&to_version=%EC%98%88%EC%8B%9C%EA%B0%92 HTTP/1.1 +GET /api/admin/modules/{identifier}/changelog?source=active&from_version=%EC%98%88%EC%8B%9C%EA%B0%92&to_version=%EC%98%88%EC%8B%9C%EA%B0%92 HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -904,9 +908,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -928,7 +932,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/admin/modules/sirsoft-ecommerce/dependent-templates HTTP/1.1 +GET /api/admin/modules/{identifier}/dependent-templates HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -978,8 +982,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1001,7 +1006,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/admin/modules/sirsoft-ecommerce/license HTTP/1.1 +GET /api/admin/modules/{identifier}/license HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1036,8 +1041,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1078,8 +1084,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1122,6 +1129,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.modules.read`)이 없는 경우 | | 404 | Not Found | 해당 식별자의 모듈이 설치되어 있지 않은 경우 (레이아웃 0건과 구분됨) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1162,8 +1170,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1204,8 +1213,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.uninstall`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1260,9 +1270,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.install`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1326,7 +1336,7 @@ Accept: application/json **요청 예시** ```http -GET /api/modules/assets/sirsoft-ecommerce/{path}?identifier=example-key HTTP/1.1 +GET /api/modules/assets/{identifier}/{path} HTTP/1.1 Host: api.example.com Accept: application/json ``` @@ -1343,8 +1353,10 @@ Accept: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1379,7 +1391,11 @@ Accept: application/json **에러 응답** -_대표 에러 없음 (공개 조회). 활성 모듈 에셋이 없어도 빈 200 응답을 반환하므로 404 를 내지 않습니다._ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1414,7 +1430,11 @@ Accept: application/json **에러 응답** -_대표 에러 없음 (공개 조회). 활성 모듈 에셋이 없어도 빈 200 응답을 반환하므로 404 를 내지 않습니다._ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1562,7 +1582,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-ecommerce/components.json HTTP/1.1 +GET /api/modules/{identifier}/components.json HTTP/1.1 Host: api.example.com Accept: application/json ``` @@ -1579,7 +1599,10 @@ Accept: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1601,7 +1624,7 @@ Accept: application/json **요청 예시** ```http -GET /api/modules/sirsoft-ecommerce/editor-spec HTTP/1.1 +GET /api/modules/{identifier}/editor-spec HTTP/1.1 Host: api.example.com Accept: application/json ``` @@ -1669,7 +1692,10 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/docs/backend/api/notification-definitions.md b/docs/backend/api/notification-definitions.md index 6920332b..3e2cec82 100644 --- a/docs/backend/api/notification-definitions.md +++ b/docs/backend/api/notification-definitions.md @@ -146,7 +146,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/admin/notification-definitions/1 HTTP/1.1 +GET /api/admin/notification-definitions/{definition} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -323,6 +323,7 @@ HTTP/1.1 200 | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -349,7 +350,7 @@ HTTP/1.1 200 **요청 예시** ```http -PUT /api/admin/notification-definitions/1 HTTP/1.1 +PUT /api/admin/notification-definitions/{definition} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -379,9 +380,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -403,7 +404,7 @@ Content-Type: application/json **요청 예시** ```http -POST /api/admin/notification-definitions/1/reset HTTP/1.1 +POST /api/admin/notification-definitions/{definition}/reset HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -578,8 +579,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -601,7 +603,7 @@ HTTP/1.1 200 **요청 예시** ```http -PATCH /api/admin/notification-definitions/1/toggle-active HTTP/1.1 +PATCH /api/admin/notification-definitions/{definition}/toggle-active HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -711,8 +713,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/docs/backend/api/notification-logs.md b/docs/backend/api/notification-logs.md index 7fd951fd..2b067ab4 100644 --- a/docs/backend/api/notification-logs.md +++ b/docs/backend/api/notification-logs.md @@ -219,7 +219,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.notification-logs.delete`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.notification-logs.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -242,7 +242,7 @@ Content-Type: application/json **요청 예시** ```http -DELETE /api/admin/notification-logs/1 HTTP/1.1 +DELETE /api/admin/notification-logs/{notificationLog} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -273,8 +273,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.notification-logs.delete`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.notification-logs.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/docs/backend/api/notification-templates.md b/docs/backend/api/notification-templates.md index c6f83599..a2078c1b 100644 --- a/docs/backend/api/notification-templates.md +++ b/docs/backend/api/notification-templates.md @@ -96,7 +96,7 @@ Content-Type: application/json **요청 예시** ```http -PUT /api/admin/notification-templates/1 HTTP/1.1 +PUT /api/admin/notification-templates/{template} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -130,9 +130,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -154,7 +154,7 @@ Content-Type: application/json **요청 예시** ```http -POST /api/admin/notification-templates/1/reset HTTP/1.1 +POST /api/admin/notification-templates/{template}/reset HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -183,6 +183,8 @@ _단건 응답: `data` 객체의 필드._ **응답 예시** + + ```http HTTP/1.1 200 ``` @@ -230,8 +232,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -253,7 +256,7 @@ HTTP/1.1 200 **요청 예시** ```http -PATCH /api/admin/notification-templates/1/toggle-active HTTP/1.1 +PATCH /api/admin/notification-templates/{template}/toggle-active HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -331,8 +334,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/docs/backend/api/notifications.md b/docs/backend/api/notifications.md index 8edee41b..30e77604 100644 --- a/docs/backend/api/notifications.md +++ b/docs/backend/api/notifications.md @@ -202,7 +202,8 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.notifications.delete`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.notifications.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -259,7 +260,8 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.notifications.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.notifications.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -311,7 +313,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.notifications.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.notifications.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -370,6 +372,7 @@ HTTP/1.1 200 | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.notifications.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -412,8 +415,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.notifications.delete`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.notifications.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -456,8 +460,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.notifications.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.notifications.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -592,7 +597,8 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`core.user-notifications.read`)이 없는 경우 | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.notifications.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -649,7 +655,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`core.user-notifications.delete`)이 없는 경우 | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.notifications.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -705,7 +713,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`core.user-notifications.update`)이 없는 경우 | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.notifications.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -756,7 +766,8 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`core.user-notifications.update`)이 없는 경우 | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.notifications.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -813,7 +824,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`core.user-notifications.read`)이 없는 경우 | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.notifications.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -855,8 +868,10 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`core.user-notifications.delete`)이 없는 경우 | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.notifications.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -898,8 +913,10 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`core.user-notifications.update`)이 없는 경우 | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.notifications.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/docs/backend/api/plugins.md b/docs/backend/api/plugins.md index 7ae8fcb8..83195078 100644 --- a/docs/backend/api/plugins.md +++ b/docs/backend/api/plugins.md @@ -248,7 +248,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.plugins.activate`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -288,7 +288,8 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.plugins.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -338,7 +339,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.plugins.activate`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -397,7 +398,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.plugins.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -449,7 +450,7 @@ Content-Type: application/octet-stream | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.plugins.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -498,7 +499,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.plugins.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -666,6 +667,8 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -714,7 +717,7 @@ Content-Type: application/octet-stream | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.plugins.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -763,7 +766,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.plugins.activate`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -808,7 +811,7 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.plugins.uninstall`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -850,6 +853,8 @@ _단건 응답: `data` 객체의 필드._ **응답 예시** + + ```http HTTP/1.1 200 ``` @@ -992,8 +997,8 @@ HTTP/1.1 200 | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1036,6 +1041,8 @@ _목록 응답: `data.data[]` 배열 항목의 필드._ **응답 예시** + + ```http HTTP/1.1 200 ``` @@ -1067,6 +1074,7 @@ HTTP/1.1 200 | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1104,6 +1112,8 @@ _단건 응답: `data` 객체의 필드._ **응답 예시** + + ```http HTTP/1.1 200 ``` @@ -1125,6 +1135,7 @@ HTTP/1.1 200 | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1165,6 +1176,8 @@ _단건 응답: `data` 객체의 필드._ **응답 예시** + + ```http HTTP/1.1 200 ``` @@ -1189,6 +1202,7 @@ HTTP/1.1 200 | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1231,6 +1245,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1276,6 +1291,8 @@ _단건 응답: `data` 객체의 필드._ **응답 예시** + + ```http HTTP/1.1 200 ``` @@ -1307,6 +1324,7 @@ HTTP/1.1 200 | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1349,6 +1367,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1391,6 +1410,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 404 | Not Found | 해당 식별자의 플러그인이 설치되어 있지 않은 경우 (레이아웃 0건과 구분됨) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1431,8 +1451,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.plugins.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1473,8 +1494,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.plugins.uninstall`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1529,9 +1551,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.plugins.install`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1612,8 +1634,10 @@ Accept: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1648,7 +1672,11 @@ Accept: application/json **에러 응답** -_대표 에러 없음 (공개 조회 — 활성 에셋이 없으면 빈 200 응답)._ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1683,7 +1711,11 @@ Accept: application/json **에러 응답** -_대표 에러 없음 (공개 조회 — 활성 에셋이 없으면 빈 200 응답)._ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1838,17 +1870,30 @@ Accept: application/json **응답 필드** (`data` 내부) - + + + **응답 예시** - + + +```http +HTTP/1.1 200 +``` + +```json +[] +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1886,6 +1931,8 @@ _단건 응답: `data` 객체의 필드._ **응답 예시** + + ```http HTTP/1.1 200 ``` @@ -1905,7 +1952,10 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/docs/backend/api/profile.md b/docs/backend/api/profile.md index ca5d1711..b9620ab8 100644 --- a/docs/backend/api/profile.md +++ b/docs/backend/api/profile.md @@ -143,7 +143,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`core.profile.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.profile.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -224,7 +224,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 400 | Bad Request | `language` 값이 `config('app.supported_locales')`(기본 `['ko','en']`)에 포함되지 않는 미지원 로케일인 경우 | +| 403 | Forbidden | 요구 권한(`core.profile.read`)이 없는 경우 | diff --git a/docs/backend/api/roles.md b/docs/backend/api/roles.md index 5f2f0360..47fdf28c 100644 --- a/docs/backend/api/roles.md +++ b/docs/backend/api/roles.md @@ -273,7 +273,7 @@ HTTP/1.1 201 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.permissions.create`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.permissions.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -407,6 +407,8 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.permissions.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -430,7 +432,7 @@ HTTP/1.1 200 **요청 예시** ```http -DELETE /api/admin/roles/1 HTTP/1.1 +DELETE /api/admin/roles/{role} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -449,8 +451,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.permissions.delete`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.permissions.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -474,7 +477,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -GET /api/admin/roles/1 HTTP/1.1 +GET /api/admin/roles/{role} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -537,6 +540,7 @@ HTTP/1.1 200 | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.permissions.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -566,7 +570,7 @@ HTTP/1.1 200 **요청 예시** ```http -PUT /api/admin/roles/1 HTTP/1.1 +PUT /api/admin/roles/{role} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -648,9 +652,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.permissions.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.permissions.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -674,7 +678,7 @@ HTTP/1.1 200 **요청 예시** ```http -PATCH /api/admin/roles/1/toggle-status HTTP/1.1 +PATCH /api/admin/roles/{role}/toggle-status HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -750,8 +754,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.permissions.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.permissions.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/docs/backend/api/schedules.md b/docs/backend/api/schedules.md index e1d17d9d..86502f69 100644 --- a/docs/backend/api/schedules.md +++ b/docs/backend/api/schedules.md @@ -286,7 +286,7 @@ HTTP/1.1 201 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.schedules.create`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.schedules.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -330,7 +330,7 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.schedules.delete`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.schedules.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -383,7 +383,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.schedules.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.schedules.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -425,8 +425,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.schedules.delete`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.schedules.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -494,6 +495,7 @@ HTTP/1.1 200 | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.schedules.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -515,7 +517,7 @@ HTTP/1.1 200 **요청 예시** ```http -DELETE /api/admin/schedules/1 HTTP/1.1 +DELETE /api/admin/schedules/{schedule} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -546,8 +548,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.schedules.delete`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.schedules.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -569,7 +572,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/admin/schedules/1 HTTP/1.1 +GET /api/admin/schedules/{schedule} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -660,6 +663,7 @@ HTTP/1.1 200 | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.schedules.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -695,7 +699,7 @@ HTTP/1.1 200 **요청 예시** ```http -PUT /api/admin/schedules/1 HTTP/1.1 +PUT /api/admin/schedules/{schedule} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -798,9 +802,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.schedules.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.schedules.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -822,7 +826,7 @@ HTTP/1.1 200 **요청 예시** ```http -POST /api/admin/schedules/1/duplicate HTTP/1.1 +POST /api/admin/schedules/{schedule}/duplicate HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -902,8 +906,9 @@ HTTP/1.1 201 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.schedules.create`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.schedules.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -935,7 +940,7 @@ HTTP/1.1 201 **요청 예시** ```http -GET /api/admin/schedules/1/history?page=1&per_page=1&status=success&trigger_type=scheduled&started_from=2026-01-01&started_to=2026-01-01&sort_by=started_at&sort_order=asc HTTP/1.1 +GET /api/admin/schedules/{schedule}/history?page=1&per_page=1&status=success&trigger_type=scheduled&started_from=2026-01-01&started_to=2026-01-01&sort_by=started_at&sort_order=asc HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -978,8 +983,8 @@ HTTP/1.1 200 | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.schedules.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1001,7 +1006,7 @@ HTTP/1.1 200 **요청 예시** ```http -POST /api/admin/schedules/1/run HTTP/1.1 +POST /api/admin/schedules/{schedule}/run HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1068,8 +1073,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.schedules.run`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.schedules.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/docs/backend/api/seo.md b/docs/backend/api/seo.md index be34bfeb..f9bcc8b6 100644 --- a/docs/backend/api/seo.md +++ b/docs/backend/api/seo.md @@ -117,7 +117,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -189,7 +189,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | @@ -376,7 +376,7 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | diff --git a/docs/backend/api/settings.md b/docs/backend/api/settings.md index d8be601f..46305e7f 100644 --- a/docs/backend/api/settings.md +++ b/docs/backend/api/settings.md @@ -171,6 +171,111 @@ HTTP/1.1 200 | advanced | body | array | 아니오 | — | 고급 탭 설정 묶음 (캐시·디버그·코어 업데이트·GeoIP 설정) | | notifications | body | array | 아니오 | — | 알림 탭 설정 묶음. channels 배열로 각 알림 채널의 id·is_active(활성 여부)·sort_order(표시 순서)를 저장 | | identity | body | array | 아니오 | — | 본인인증(IDV) 탭 설정 묶음 (기본 provider·목적별 provider 매핑·챌린지 유효시간·최대 시도 횟수) | +| notifications.channels | body | array | 아니오 | — | | +| general.site_name | body | string | 예 | max 100 | general.site 이름 (식별자) | +| general.site_url | body | string | 예 | max 255 | | +| general.site_description | body | string | 아니오 | max 500 | | +| general.admin_email | body | email | 예 | max 255 | | +| general.timezone | body | string | 예 | — | | +| general.language | body | string | 예 | — | | +| general.currency | body | string | 아니오 | max 10 | | +| general.maintenance_mode | body | boolean | 아니오 | — | | +| general.site_logo | body | array | 아니오 | — | | +| mail.mailer | body | string | 아니오 | — | | +| mail.host | body | string | 아니오 | max 255 | | +| mail.port | body | integer | 아니오 | min 1, max 65535 | | +| mail.username | body | string | 아니오 | max 255 | | +| mail.password | body | string | 아니오 | max 255 | | +| mail.encryption | body | string | 아니오 | — | | +| mail.mailgun_domain | body | string | 아니오 | max 255 | | +| mail.mailgun_secret | body | string | 아니오 | max 255 | | +| mail.mailgun_endpoint | body | string | 아니오 | max 255 | | +| mail.ses_key | body | string | 아니오 | max 255 | | +| mail.ses_secret | body | string | 아니오 | max 255 | | +| mail.ses_region | body | string | 아니오 | max 255 | | +| mail.from_address | body | email | 아니오 | max 255 | | +| mail.from_name | body | string | 아니오 | max 255 | mail.from 이름 (식별자) | +| upload.max_file_size | body | integer | 아니오 | min 1, max 1024 | | +| upload.allowed_extensions | body | string | 아니오 | — | | +| upload.image_max_width | body | integer | 아니오 | min 100, max 10000 | | +| upload.image_max_height | body | integer | 아니오 | min 100, max 10000 | | +| upload.image_quality | body | integer | 아니오 | min 1, max 100 | | +| seo.meta_title_suffix | body | string | 아니오 | max 100 | | +| seo.meta_description | body | string | 아니오 | max 160 | | +| seo.meta_keywords | body | string | 아니오 | max 255 | | +| seo.google_analytics_id | body | string | 아니오 | max 50 | seo.google analytics 식별자 | +| seo.google_site_verification | body | string | 아니오 | max 100 | | +| seo.naver_site_verification | body | string | 아니오 | max 100 | | +| seo.bot_user_agents | body | array | 아니오 | — | | +| seo.bot_detection_enabled | body | boolean | 아니오 | — | | +| seo.bot_detection_library_enabled | body | boolean | 아니오 | — | | +| seo.og_default_site_name | body | string | 아니오 | max 200 | seo.og default site 이름 (식별자) | +| seo.og_image_default_width | body | integer | 아니오 | min 0, max 8000 | | +| seo.og_image_default_height | body | integer | 아니오 | min 0, max 8000 | | +| seo.twitter_default_card | body | string | 아니오 | — | | +| seo.twitter_default_site | body | string | 아니오 | max 50 | | +| seo.cache_enabled | body | boolean | 아니오 | — | | +| seo.cache_ttl | body | integer | 아니오 | min 60, max 86400 | | +| seo.sitemap_enabled | body | boolean | 아니오 | — | | +| seo.sitemap_cache_ttl | body | integer | 아니오 | min 3600, max 604800 | | +| seo.sitemap_schedule | body | string | 아니오 | — | | +| seo.sitemap_schedule_time | body | string | 아니오 | — | | +| seo.generator_enabled | body | boolean | 아니오 | — | | +| seo.generator_content | body | string | 아니오 | max 200 | | +| security.force_https | body | boolean | 아니오 | — | | +| security.login_attempt_enabled | body | boolean | 아니오 | — | | +| security.auth_token_lifetime | body | integer | 아니오 | min 0, max 3600 | | +| security.max_login_attempts | body | integer | 아니오 | min 0, max 100 | | +| security.login_lockout_time | body | integer | 아니오 | min 0, max 1440 | | +| advanced.cache_enabled | body | boolean | 아니오 | — | | +| advanced.layout_cache_enabled | body | boolean | 아니오 | — | | +| advanced.layout_cache_ttl | body | integer | 아니오 | min 0, max 14400 | | +| advanced.stats_cache_enabled | body | boolean | 아니오 | — | | +| advanced.stats_cache_ttl | body | integer | 아니오 | min 0, max 14400 | | +| advanced.seo_cache_enabled | body | boolean | 아니오 | — | | +| advanced.seo_cache_ttl | body | integer | 아니오 | min 0, max 14400 | | +| advanced.debug_mode | body | boolean | 아니오 | — | | +| advanced.sql_query_log | body | boolean | 아니오 | — | | +| advanced.core_update_github_url | body | string | 아니오 | max 500 | | +| advanced.core_update_github_token | body | string | 아니오 | max 500 | | +| advanced.geoip_enabled | body | boolean | 아니오 | — | | +| advanced.geoip_license_key | body | string | 아니오 | max 200 | | +| advanced.geoip_auto_update_enabled | body | boolean | 아니오 | — | | +| drivers.storage_driver | body | string | 아니오 | — | | +| drivers.s3_bucket | body | string | 아니오 | max 255 | | +| drivers.s3_region | body | string | 아니오 | — | | +| drivers.s3_access_key | body | string | 아니오 | max 255 | | +| drivers.s3_secret_key | body | string | 아니오 | max 255 | | +| drivers.s3_url | body | string | 아니오 | max 500 | | +| drivers.cache_driver | body | string | 아니오 | — | | +| drivers.redis_host | body | string | 아니오 | max 255 | | +| drivers.redis_port | body | integer | 아니오 | min 1, max 65535 | | +| drivers.redis_password | body | string | 아니오 | max 255 | | +| drivers.redis_database | body | integer | 아니오 | min 0, max 15 | | +| drivers.memcached_host | body | string | 아니오 | max 255 | | +| drivers.memcached_port | body | integer | 아니오 | min 1, max 65535 | | +| drivers.session_driver | body | string | 아니오 | — | | +| drivers.session_lifetime | body | integer | 아니오 | min 1, max 43200 | | +| drivers.queue_driver | body | string | 아니오 | — | | +| drivers.websocket_enabled | body | boolean | 아니오 | — | | +| drivers.websocket_app_id | body | string | 아니오 | max 255 | drivers.websocket app 식별자 | +| drivers.websocket_app_key | body | string | 아니오 | max 255 | | +| drivers.websocket_app_secret | body | string | 아니오 | max 255 | | +| drivers.websocket_host | body | string | 아니오 | max 255 | | +| drivers.websocket_port | body | integer | 아니오 | min 1, max 65535 | | +| drivers.websocket_scheme | body | string | 아니오 | — | | +| drivers.websocket_verify_ssl | body | boolean | 아니오 | — | | +| drivers.websocket_server_host | body | string | 아니오 | max 255 | | +| drivers.websocket_server_port | body | integer | 아니오 | min 1, max 65535 | | +| drivers.websocket_server_scheme | body | string | 아니오 | — | | +| drivers.search_engine_driver | body | string | 아니오 | — | | +| drivers.log_driver | body | string | 아니오 | — | | +| drivers.log_level | body | string | 아니오 | — | | +| drivers.log_days | body | integer | 아니오 | min 1, max 365 | | +| identity.default_provider | body | string | 아니오 | max 100 | | +| identity.purpose_providers | body | array | 아니오 | — | | +| identity.challenge_ttl_minutes | body | integer | 아니오 | min 1, max 1440 | | +| identity.max_attempts | body | integer | 아니오 | min 1, max 20 | | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`core.settings.save_validation_rules`, `core.search.engine_drivers`). @@ -211,7 +316,120 @@ Content-Type: application/json ], "identity": [ "예시값" - ] + ], + "notifications.channels": [ + "예시값" + ], + "general.site_name": "예시 이름", + "general.site_url": "https://example.com", + "general.site_description": "예시 내용입니다.", + "general.admin_email": "user@example.com", + "general.timezone": "Asia/Seoul", + "general.language": "예시값", + "general.currency": "예시값", + "general.maintenance_mode": true, + "general.site_logo": [ + "예시값" + ], + "mail.mailer": "예시값", + "mail.host": "예시값", + "mail.port": 1, + "mail.username": "예시 이름", + "mail.password": "Password123!", + "mail.encryption": "예시값", + "mail.mailgun_domain": "예시값", + "mail.mailgun_secret": "예시값", + "mail.mailgun_endpoint": "예시값", + "mail.ses_key": "예시값", + "mail.ses_secret": "예시값", + "mail.ses_region": "예시값", + "mail.from_address": "user@example.com", + "mail.from_name": "예시 이름", + "upload.max_file_size": 1, + "upload.allowed_extensions": "예시값", + "upload.image_max_width": 1, + "upload.image_max_height": 1, + "upload.image_quality": 1, + "seo.meta_title_suffix": "예시 제목", + "seo.meta_description": "예시 내용입니다.", + "seo.meta_keywords": "예시값", + "seo.google_analytics_id": "예시값", + "seo.google_site_verification": "예시값", + "seo.naver_site_verification": "예시값", + "seo.bot_user_agents": [ + "예시값" + ], + "seo.bot_detection_enabled": true, + "seo.bot_detection_library_enabled": true, + "seo.og_default_site_name": "예시 이름", + "seo.og_image_default_width": 1, + "seo.og_image_default_height": 1, + "seo.twitter_default_card": "예시값", + "seo.twitter_default_site": "예시값", + "seo.cache_enabled": true, + "seo.cache_ttl": 1, + "seo.sitemap_enabled": true, + "seo.sitemap_cache_ttl": 1, + "seo.sitemap_schedule": "예시값", + "seo.sitemap_schedule_time": "예시값", + "seo.generator_enabled": true, + "seo.generator_content": "예시 내용입니다.", + "security.force_https": true, + "security.login_attempt_enabled": true, + "security.auth_token_lifetime": 1, + "security.max_login_attempts": 1, + "security.login_lockout_time": 1, + "advanced.cache_enabled": true, + "advanced.layout_cache_enabled": true, + "advanced.layout_cache_ttl": 1, + "advanced.stats_cache_enabled": true, + "advanced.stats_cache_ttl": 1, + "advanced.seo_cache_enabled": true, + "advanced.seo_cache_ttl": 1, + "advanced.debug_mode": true, + "advanced.sql_query_log": true, + "advanced.core_update_github_url": "https://example.com", + "advanced.core_update_github_token": "{YOUR_TOKEN}", + "advanced.geoip_enabled": true, + "advanced.geoip_license_key": "예시값", + "advanced.geoip_auto_update_enabled": true, + "drivers.storage_driver": "예시값", + "drivers.s3_bucket": "예시값", + "drivers.s3_region": "예시값", + "drivers.s3_access_key": "예시값", + "drivers.s3_secret_key": "예시값", + "drivers.s3_url": "https://example.com", + "drivers.cache_driver": "예시값", + "drivers.redis_host": "예시값", + "drivers.redis_port": 1, + "drivers.redis_password": "Password123!", + "drivers.redis_database": 1, + "drivers.memcached_host": "예시값", + "drivers.memcached_port": 1, + "drivers.session_driver": "예시값", + "drivers.session_lifetime": 1, + "drivers.queue_driver": "예시값", + "drivers.websocket_enabled": true, + "drivers.websocket_app_id": "예시값", + "drivers.websocket_app_key": "예시값", + "drivers.websocket_app_secret": "예시값", + "drivers.websocket_host": "예시값", + "drivers.websocket_port": 1, + "drivers.websocket_scheme": "예시값", + "drivers.websocket_verify_ssl": true, + "drivers.websocket_server_host": "예시값", + "drivers.websocket_server_port": 1, + "drivers.websocket_server_scheme": "예시값", + "drivers.search_engine_driver": "예시값", + "drivers.log_driver": "예시값", + "drivers.log_level": "예시값", + "drivers.log_days": 1, + "identity.default_provider": "예시값", + "identity.purpose_providers": [ + "예시값" + ], + "identity.challenge_ttl_minutes": 1, + "identity.max_attempts": 1 } ``` @@ -228,7 +446,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -327,7 +545,7 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | @@ -368,7 +586,7 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | @@ -409,7 +627,7 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | @@ -450,7 +668,7 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | @@ -503,7 +721,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | @@ -553,7 +771,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -604,7 +822,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -840,7 +1058,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -919,7 +1137,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1015,9 +1233,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/docs/backend/api/templates.md b/docs/backend/api/templates.md index d15efc2f..b90e7d85 100644 --- a/docs/backend/api/templates.md +++ b/docs/backend/api/templates.md @@ -249,7 +249,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.activate`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -289,7 +289,8 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -337,7 +338,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.activate`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -394,7 +395,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -446,7 +447,7 @@ Content-Type: application/octet-stream | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -495,7 +496,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -537,8 +538,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -587,7 +589,7 @@ Content-Type: application/octet-stream | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -636,7 +638,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.activate`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -681,7 +683,7 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.uninstall`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -723,6 +725,8 @@ _단건 응답: `data` 객체의 필드._ **응답 예시** + + ```http HTTP/1.1 200 ``` @@ -820,8 +824,8 @@ HTTP/1.1 200 | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -863,6 +867,8 @@ _단건 응답: `data` 객체의 필드._ **응답 예시** + + ```http HTTP/1.1 200 ``` @@ -890,8 +896,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1007,8 +1014,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1091,8 +1099,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1199,8 +1208,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1340,19 +1350,91783 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-admin_basic` | 템플릿 고유 식별자 (vendor-name 형식, 예: sirsoft-admin_basic) | +| spec | object | `{"$schema":"https:\/\/json-schema.org\/draft\/2020-12\/sc…` | 스펙 정의 객체 (편집기/컴포넌트 선언 스키마 등) | **응답 예시** - + + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "편집기 스펙을 조회했습니다.", + "data": { + "identifier": "sirsoft-admin_basic", + "spec": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "templateId": "sirsoft-admin_basic", + "version": "1.0.0", + "description": "레이아웃 편집기 스펙 — Phase 3 (nesting + componentPalette 블록). controls/componentCapabilities/actionRecipes 등은 Phase 4/5 에서 추가.", + "styleSystem": "tailwind", + "darkMode": { + "comment": "Tailwind 다크는 조상.dark 클래스. 편집기 프리뷰 격리: 코어 CSS 서빙 API 가 편집기용 CSS 의.dark 셀렉터를 프리뷰 전용 마커(.g7le-preview-dark)로 치환해 서빙한다. 사용자 페이지 CSS 는 원본 그대로.", + "strategy": "ancestor-class", + "ancestorSelector": ".dark", + "previewIsolation": { + "rewriteSelector": ".dark", + "replaceWith": ".g7le-preview-dark", + "flattenLayers": true + } + }, + "componentPalette": { + "comment": "entries 의 모든 사용자 가시 문자열은 다국어 키 ($t:layout_editor.palette..) 사용. admin 템플릿은 Tailwind 디자인 시스템 사용 — className 토큰 적용. 다른 템플릿은 자기 CSS 시스템에 맞춰 inline style 또는 다른 토큰을 사용한다.", + "groups": [ + { + "label": "$t:layout_editor.palette.group.design", + "kind": "design", + "components": [ + "Div", + "Container", + "Flex", + "Grid", + "SectionLayout", + "ThreeColumnLayout", + "Section", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Hr", + "Ul", + "Ol", + "Li", + "Nav", + "Code", + "Pre", + "Card", + "Badge", + "StatusBadge", + "Alert", + "EmptyState", + "LoadingSpinner", + "PageHeader", + "SectionHeader", + "Breadcrumb", + "TabNavigation", + "TabNavigationScroll", + "Toggle", + "Accordion", + "FormField", + "Form", + "Table", + "Input", + "Textarea", + "Label", + "Select", + "Checkbox", + "RadioGroup", + "FileInput", + "FileUploader", + "HtmlContent", + "HtmlEditor", + "IconButton", + "Dropdown", + "ActionMenu", + "TagInput", + "SearchableDropdown", + "RichSelect", + "TagSelect", + "IconSelect", + "ChipCheckbox", + "MultilingualInput", + "MultilingualTagInput", + "LanguageSelector" + ] + }, + { + "label": "$t:layout_editor.palette.group.db", + "kind": "data", + "components": [ + "DataGrid", + "CardGrid", + "Pagination", + "SearchBar", + "StatCard", + "ProductCard", + "TemplateCard", + "BarChart", + "DonutChart", + "ImageGallery", + "PermissionTree", + "CategoryTree", + "ExtensionBadge", + "UserProfile", + "FilterGroup", + "SortableMenuList", + "DynamicFieldList" + ] + } + ], + "entries": { + "Div": { + "label": "$t:layout_editor.palette.div.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Div", + "props": { + "className": "min-h-[40px] p-2 border border-dashed border-gray-300 dark:border-gray-600" + } + } + }, + "Container": { + "label": "$t:layout_editor.palette.container.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "layout", + "name": "Container", + "props": { + "className": "min-h-[60px] p-4" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "text": "$t:layout_editor.palette.container.default_child_text" + } + ] + } + }, + "Flex": { + "label": "$t:layout_editor.palette.flex.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "layout", + "name": "Flex", + "props": { + "className": "flex flex-wrap gap-3 min-h-[40px] p-2 border border-dashed border-gray-300 dark:border-gray-600" + } + } + }, + "Grid": { + "label": "$t:layout_editor.palette.grid.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "layout", + "name": "Grid", + "props": { + "className": "grid grid-cols-1 md:grid-cols-2 gap-4 min-h-[40px] p-2 border border-dashed border-gray-300 dark:border-gray-600" + } + } + }, + "SectionLayout": { + "label": "$t:layout_editor.palette.section_layout.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "layout", + "name": "SectionLayout", + "props": { + "className": "min-h-[80px] p-4 border border-dashed border-gray-300 dark:border-gray-600" + } + } + }, + "ThreeColumnLayout": { + "label": "$t:layout_editor.palette.three_column_layout.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "layout", + "name": "ThreeColumnLayout", + "props": { + "className": "min-h-[80px] p-4 border border-dashed border-gray-300 dark:border-gray-600" + } + } + }, + "Section": { + "label": "$t:layout_editor.palette.section.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Section", + "props": { + "className": "min-h-[40px] p-4 sm:p-6 border border-dashed border-gray-300 dark:border-gray-600" + } + } + }, + "Span": { + "label": "$t:layout_editor.palette.span.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Span", + "props": { + "className": "font-semibold text-gray-900 dark:text-white" + }, + "text": "$t:layout_editor.palette.span.default_text" + } + }, + "P": { + "label": "$t:layout_editor.palette.p.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "P", + "props": { + "className": "text-sm text-gray-500 dark:text-gray-400" + }, + "text": "$t:layout_editor.palette.p.default_text" + } + }, + "H1": { + "label": "$t:layout_editor.palette.h1.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "H1", + "props": { + "className": "text-xl sm:text-2xl font-semibold text-gray-900 dark:text-white" + }, + "text": "$t:layout_editor.palette.h1.default_text" + } + }, + "H2": { + "label": "$t:layout_editor.palette.h2.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "H2", + "props": { + "className": "text-lg font-semibold text-gray-900 dark:text-white" + }, + "text": "$t:layout_editor.palette.h2.default_text" + } + }, + "H3": { + "label": "$t:layout_editor.palette.h3.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "H3", + "props": { + "className": "text-base font-semibold text-slate-900 dark:text-white" + }, + "text": "$t:layout_editor.palette.h3.default_text" + } + }, + "H4": { + "label": "$t:layout_editor.palette.h4.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "H4", + "props": { + "className": "text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider mb-3" + }, + "text": "$t:layout_editor.palette.h4.default_text" + } + }, + "A": { + "label": "$t:layout_editor.palette.a.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "A", + "props": { + "href": "#", + "className": "text-sm text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300 transition-colors" + }, + "text": "$t:layout_editor.palette.a.default_text" + } + }, + "Button": { + "label": "$t:layout_editor.palette.button.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Button", + "props": { + "type": "button", + "className": "w-full px-4 py-3 rounded-lg font-medium bg-blue-600 hover:bg-blue-700 dark:bg-blue-500 dark:hover:bg-blue-600 text-white focus:outline-none focus:ring-2 focus:ring-blue-500 disabled:opacity-50 disabled:cursor-not-allowed transition-colors" + }, + "text": "$t:layout_editor.palette.button.default_text" + } + }, + "Img": { + "label": "$t:layout_editor.palette.img.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Img", + "props": { + "src": "https://via.placeholder.com/200x120", + "alt": "$t:layout_editor.palette.img.default_alt", + "className": "w-full h-auto object-cover" + } + } + }, + "Icon": { + "label": "$t:layout_editor.palette.icon.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Icon", + "props": { + "name": "star", + "size": "md" + } + } + }, + "Hr": { + "label": "$t:layout_editor.palette.hr.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Hr", + "props": { + "className": "my-3 border-t border-gray-200 dark:border-gray-700" + } + } + }, + "Ul": { + "label": "$t:layout_editor.palette.ul.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Ul", + "props": { + "className": "mt-2 list-disc list-inside space-y-1 text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Li", + "text": "$t:layout_editor.palette.ul.default_item_text" + } + ] + } + }, + "Ol": { + "label": "$t:layout_editor.palette.ol.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Ol", + "props": { + "className": "mt-2 list-decimal list-inside space-y-1 text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Li", + "text": "$t:layout_editor.palette.ol.default_item_text" + } + ] + } + }, + "Li": { + "label": "$t:layout_editor.palette.li.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Li", + "props": { + "className": "text-sm text-gray-700 dark:text-gray-300" + }, + "text": "$t:layout_editor.palette.li.default_text" + } + }, + "Nav": { + "label": "$t:layout_editor.palette.nav.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Nav", + "props": { + "className": "flex gap-3" + }, + "children": [ + { + "type": "basic", + "name": "A", + "props": { + "href": "#", + "className": "text-sm text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300 transition-colors" + }, + "text": "$t:layout_editor.palette.nav.default_item_text" + } + ] + } + }, + "Code": { + "label": "$t:layout_editor.palette.code.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Code", + "props": { + "className": "px-1.5 py-0.5 bg-gray-100 dark:bg-gray-900 rounded text-sm font-mono text-gray-800 dark:text-gray-200" + }, + "text": "$t:layout_editor.palette.code.default_text" + } + }, + "Pre": { + "label": "$t:layout_editor.palette.pre.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Pre", + "props": { + "className": "whitespace-pre-wrap text-sm text-gray-700 dark:text-gray-300 font-mono leading-relaxed p-3 bg-gray-100 dark:bg-gray-900 rounded overflow-auto" + }, + "text": "$t:layout_editor.palette.pre.default_text" + } + }, + "Card": { + "label": "$t:layout_editor.palette.card.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "Card", + "props": { + "title": "$t:layout_editor.palette.card.default_title" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "text": "$t:layout_editor.palette.card.default_body" + } + ] + } + }, + "Badge": { + "label": "$t:layout_editor.palette.badge.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "Badge", + "props": { + "variant": "default" + }, + "text": "$t:layout_editor.palette.badge.default_text" + } + }, + "StatusBadge": { + "label": "$t:layout_editor.palette.status_badge.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "StatusBadge", + "props": { + "status": "active", + "label": "$t:layout_editor.palette.status_badge.default_label" + } + } + }, + "Alert": { + "label": "$t:layout_editor.palette.alert.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "Alert", + "props": { + "type": "info", + "message": "$t:layout_editor.palette.alert.default_message" + } + } + }, + "EmptyState": { + "label": "$t:layout_editor.palette.empty_state.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "EmptyState", + "props": { + "title": "$t:layout_editor.palette.empty_state.default_title", + "description": "$t:layout_editor.palette.empty_state.default_description" + } + } + }, + "LoadingSpinner": { + "label": "$t:layout_editor.palette.loading_spinner.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "LoadingSpinner", + "props": { + "size": "md" + } + } + }, + "PageHeader": { + "label": "$t:layout_editor.palette.page_header.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "PageHeader", + "props": { + "title": "$t:layout_editor.palette.page_header.default_title", + "subtitle": "$t:layout_editor.palette.page_header.default_subtitle" + } + } + }, + "SectionHeader": { + "label": "$t:layout_editor.palette.section_header.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "SectionHeader", + "props": { + "title": "$t:layout_editor.palette.section_header.default_title", + "description": "$t:layout_editor.palette.section_header.default_description" + } + } + }, + "Breadcrumb": { + "label": "$t:layout_editor.palette.breadcrumb.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "Breadcrumb", + "props": { + "items": [ + { + "label": "$t:layout_editor.palette.breadcrumb.default_item1_label", + "href": "/" + }, + { + "label": "$t:layout_editor.palette.breadcrumb.default_item2_label" + } + ] + } + } + }, + "TabNavigation": { + "label": "$t:layout_editor.palette.tab_navigation.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "TabNavigation", + "props": { + "tabs": [ + { + "key": "tab1", + "label": "$t:layout_editor.palette.tab_navigation.default_tab1_label" + }, + { + "key": "tab2", + "label": "$t:layout_editor.palette.tab_navigation.default_tab2_label" + } + ] + } + } + }, + "TabNavigationScroll": { + "label": "$t:layout_editor.palette.tab_navigation_scroll.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "TabNavigationScroll", + "props": { + "tabs": [ + { + "key": "tab1", + "label": "$t:layout_editor.palette.tab_navigation_scroll.default_tab1_label" + }, + { + "key": "tab2", + "label": "$t:layout_editor.palette.tab_navigation_scroll.default_tab2_label" + } + ] + } + } + }, + "Toggle": { + "label": "$t:layout_editor.palette.toggle.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "Toggle", + "props": { + "label": "$t:layout_editor.palette.toggle.default_label", + "checked": false + } + } + }, + "FormField": { + "label": "$t:layout_editor.palette.form_field.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "FormField", + "props": { + "label": "$t:layout_editor.palette.form_field.default_label" + }, + "children": [ + { + "type": "basic", + "name": "Input", + "props": { + "type": "text" + } + } + ] + } + }, + "Input": { + "label": "$t:layout_editor.palette.input.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Input", + "props": { + "type": "text", + "placeholder": "$t:layout_editor.palette.input.default_placeholder", + "className": "input" + } + } + }, + "Textarea": { + "label": "$t:layout_editor.palette.textarea.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Textarea", + "props": { + "rows": 4, + "placeholder": "$t:layout_editor.palette.textarea.default_placeholder", + "className": "w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-white text-sm focus:ring-2 focus:ring-blue-500 focus:border-blue-500 resize-none" + } + } + }, + "Label": { + "label": "$t:layout_editor.palette.label.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Label", + "props": { + "className": "block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2" + }, + "text": "$t:layout_editor.palette.label.default_text" + } + }, + "Select": { + "label": "$t:layout_editor.palette.select.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Select", + "props": { + "className": "w-full px-3 py-2 bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg text-sm", + "value": "{{_local.selectValue ?? ''}}", + "options": [ + { + "value": "1", + "label": "$t:layout_editor.palette.select.default_option1_label" + }, + { + "value": "2", + "label": "$t:layout_editor.palette.select.default_option2_label" + } + ] + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "target": "local", + "params": { + "selectValue": "{{$event.target.value}}" + } + } + ] + } + }, + "Checkbox": { + "label": "$t:layout_editor.palette.checkbox.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Label", + "props": { + "className": "flex items-center gap-2 cursor-pointer text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Checkbox", + "props": { + "className": "w-4 h-4 rounded border-gray-300 dark:border-gray-600 text-blue-600 dark:text-blue-400 focus:ring-blue-500" + } + }, + { + "type": "basic", + "name": "Span", + "text": "$t:layout_editor.palette.checkbox.default_label" + } + ] + } + }, + "RadioGroup": { + "label": "$t:layout_editor.palette.radio_group.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "RadioGroup", + "props": { + "options": [ + { + "value": "1", + "label": "$t:layout_editor.palette.radio_group.default_option1_label" + }, + { + "value": "2", + "label": "$t:layout_editor.palette.radio_group.default_option2_label" + } + ] + } + } + }, + "FileInput": { + "label": "$t:layout_editor.palette.file_input.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "FileInput", + "props": { + "accept": "*/*", + "className": "block w-full text-sm text-gray-700 dark:text-gray-300" + } + } + }, + "FileUploader": { + "label": "$t:layout_editor.palette.file_uploader.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "FileUploader", + "props": { + "label": "$t:layout_editor.palette.file_uploader.default_label" + } + } + }, + "HtmlContent": { + "label": "$t:layout_editor.palette.html_content.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "HtmlContent", + "props": { + "content": "$t:layout_editor.palette.html_content.default_text", + "isHtml": false, + "className": "prose dark:prose-invert prose-sm max-w-none text-gray-700 dark:text-gray-300" + } + } + }, + "HtmlEditor": { + "label": "$t:layout_editor.palette.html_editor.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "HtmlEditor", + "props": { + "value": "", + "placeholder": "$t:layout_editor.palette.html_editor.default_placeholder" + } + } + }, + "DataGrid": { + "label": "$t:layout_editor.palette.data_grid.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "DataGrid", + "props": { + "columns": [ + { + "field": "id", + "header": "$t:layout_editor.palette.data_grid.default_column_id_label" + }, + { + "field": "name", + "header": "$t:layout_editor.palette.data_grid.default_column_name_label" + } + ], + "data": [] + } + } + }, + "CardGrid": { + "label": "$t:layout_editor.palette.card_grid.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "CardGrid", + "props": { + "items": [] + } + } + }, + "Pagination": { + "label": "$t:layout_editor.palette.pagination.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "Pagination", + "props": { + "total": 100, + "perPage": 10, + "currentPage": 1 + } + } + }, + "SearchBar": { + "label": "$t:layout_editor.palette.search_bar.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "SearchBar", + "props": { + "placeholder": "$t:layout_editor.palette.search_bar.default_placeholder", + "className": "w-64" + } + } + }, + "StatCard": { + "label": "$t:layout_editor.palette.stat_card.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "StatCard", + "props": { + "title": "$t:layout_editor.palette.stat_card.default_title", + "value": "0" + } + } + }, + "ProductCard": { + "label": "$t:layout_editor.palette.product_card.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "ProductCard", + "props": { + "title": "$t:layout_editor.palette.product_card.default_name", + "price": 10000, + "imageUrl": "https://via.placeholder.com/240" + } + } + }, + "TemplateCard": { + "label": "$t:layout_editor.palette.template_card.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "TemplateCard", + "props": { + "template": { + "id": "sample", + "name": "$t:layout_editor.palette.template_card.default_name", + "description": "$t:layout_editor.palette.template_card.default_description" + } + } + } + }, + "BarChart": { + "label": "$t:layout_editor.palette.bar_chart.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "BarChart", + "props": { + "labels": [ + "$t:layout_editor.palette.bar_chart.default_label1", + "$t:layout_editor.palette.bar_chart.default_label2" + ], + "datasets": [ + { + "label": "$t:layout_editor.palette.bar_chart.label", + "data": [ + 30, + 70 + ] + } + ] + } + } + }, + "DonutChart": { + "label": "$t:layout_editor.palette.donut_chart.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "DonutChart", + "props": { + "data": [ + { + "name": "$t:layout_editor.palette.donut_chart.default_label1", + "value": 40, + "color": "#8B5CF6" + }, + { + "name": "$t:layout_editor.palette.donut_chart.default_label2", + "value": 60, + "color": "#EC4899" + } + ] + } + } + }, + "ImageGallery": { + "label": "$t:layout_editor.palette.image_gallery.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "ImageGallery", + "props": { + "images": [ + { + "src": "https://via.placeholder.com/200", + "alt": "$t:layout_editor.palette.image_gallery.default_alt1" + }, + { + "src": "https://via.placeholder.com/200", + "alt": "$t:layout_editor.palette.image_gallery.default_alt2" + } + ] + } + } + }, + "Form": { + "label": "$t:layout_editor.palette.form.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Form", + "props": { + "className": "space-y-6" + }, + "children": [ + { + "type": "composite", + "name": "FormField", + "props": { + "label": "$t:layout_editor.palette.form.default_label_text" + }, + "children": [ + { + "type": "basic", + "name": "Input", + "props": { + "type": "text", + "className": "input" + } + } + ] + }, + { + "type": "basic", + "name": "Button", + "props": { + "type": "submit", + "className": "w-full px-4 py-3 rounded-lg font-medium bg-blue-600 hover:bg-blue-700 dark:bg-blue-500 dark:hover:bg-blue-600 text-white focus:outline-none focus:ring-2 focus:ring-blue-500 disabled:opacity-50 disabled:cursor-not-allowed transition-colors" + }, + "text": "$t:layout_editor.palette.form.default_submit_text" + } + ] + } + }, + "Table": { + "label": "$t:layout_editor.palette.table.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Table", + "props": { + "className": "w-full text-sm text-left text-gray-700 dark:text-gray-300 border border-gray-200 dark:border-gray-700 border-collapse" + }, + "children": [ + { + "type": "basic", + "name": "Thead", + "props": { + "className": "bg-gray-50 dark:bg-gray-800" + }, + "children": [ + { + "type": "basic", + "name": "Tr", + "children": [ + { + "type": "basic", + "name": "Th", + "props": { + "className": "px-4 py-2 border border-gray-200 dark:border-gray-700 font-semibold" + }, + "text": "$t:layout_editor.palette.table.header_1" + }, + { + "type": "basic", + "name": "Th", + "props": { + "className": "px-4 py-2 border border-gray-200 dark:border-gray-700 font-semibold" + }, + "text": "$t:layout_editor.palette.table.header_2" + } + ] + } + ] + }, + { + "type": "basic", + "name": "Tbody", + "children": [ + { + "type": "basic", + "name": "Tr", + "children": [ + { + "type": "basic", + "name": "Td", + "props": { + "className": "px-4 py-2 border border-gray-200 dark:border-gray-700" + }, + "text": "$t:layout_editor.palette.table.cell" + }, + { + "type": "basic", + "name": "Td", + "props": { + "className": "px-4 py-2 border border-gray-200 dark:border-gray-700" + }, + "text": "$t:layout_editor.palette.table.cell" + } + ] + }, + { + "type": "basic", + "name": "Tr", + "children": [ + { + "type": "basic", + "name": "Td", + "props": { + "className": "px-4 py-2 border border-gray-200 dark:border-gray-700" + }, + "text": "$t:layout_editor.palette.table.cell" + }, + { + "type": "basic", + "name": "Td", + "props": { + "className": "px-4 py-2 border border-gray-200 dark:border-gray-700" + }, + "text": "$t:layout_editor.palette.table.cell" + } + ] + } + ] + } + ] + } + }, + "Accordion": { + "label": "$t:layout_editor.palette.accordion.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "Accordion", + "props": { + "defaultOpen": false, + "className": "border border-gray-200 dark:border-gray-700 rounded-lg" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "p-4 text-sm text-gray-700 dark:text-gray-300" + }, + "text": "$t:layout_editor.palette.accordion.default_body" + } + ] + } + }, + "IconButton": { + "label": "$t:layout_editor.palette.icon_button.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "IconButton", + "props": { + "iconName": "ellipsis-vertical", + "label": "$t:layout_editor.palette.icon_button.default_label", + "variant": "ghost", + "size": "md" + } + } + }, + "Dropdown": { + "label": "$t:layout_editor.palette.dropdown.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "Dropdown", + "props": { + "label": "$t:layout_editor.palette.dropdown.default_label", + "items": [ + { + "value": "1", + "label": "$t:layout_editor.palette.dropdown.default_item1_label" + }, + { + "value": "2", + "label": "$t:layout_editor.palette.dropdown.default_item2_label" + } + ] + } + } + }, + "ActionMenu": { + "label": "$t:layout_editor.palette.action_menu.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "ActionMenu", + "props": { + "triggerLabel": "$t:layout_editor.palette.action_menu.default_trigger_label", + "items": [ + { + "id": "edit", + "label": "$t:layout_editor.palette.action_menu.default_item1_label", + "iconName": "pen" + }, + { + "id": "delete", + "label": "$t:layout_editor.palette.action_menu.default_item2_label", + "iconName": "trash" + } + ] + } + } + }, + "TagInput": { + "label": "$t:layout_editor.palette.tag_input.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "TagInput", + "props": { + "value": [], + "options": [ + { + "value": "1", + "label": "$t:layout_editor.palette.tag_input.default_option1_label" + }, + { + "value": "2", + "label": "$t:layout_editor.palette.tag_input.default_option2_label" + } + ], + "placeholder": "$t:layout_editor.palette.tag_input.default_placeholder" + } + } + }, + "SearchableDropdown": { + "label": "$t:layout_editor.palette.searchable_dropdown.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "SearchableDropdown", + "props": { + "value": null, + "options": [ + { + "value": "1", + "label": "$t:layout_editor.palette.searchable_dropdown.default_option1_label" + }, + { + "value": "2", + "label": "$t:layout_editor.palette.searchable_dropdown.default_option2_label" + } + ], + "searchPlaceholder": "$t:layout_editor.palette.searchable_dropdown.default_search_placeholder" + } + } + }, + "RichSelect": { + "label": "$t:layout_editor.palette.rich_select.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "RichSelect", + "props": { + "value": null, + "options": [ + { + "value": "1", + "label": "$t:layout_editor.palette.rich_select.default_option1_label" + }, + { + "value": "2", + "label": "$t:layout_editor.palette.rich_select.default_option2_label" + } + ], + "placeholder": "$t:layout_editor.palette.rich_select.default_placeholder" + } + } + }, + "TagSelect": { + "label": "$t:layout_editor.palette.tag_select.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "TagSelect", + "props": { + "value": [], + "options": [ + { + "value": "1", + "label": "$t:layout_editor.palette.tag_select.default_option1_label" + }, + { + "value": "2", + "label": "$t:layout_editor.palette.tag_select.default_option2_label" + } + ], + "placeholder": "$t:layout_editor.palette.tag_select.default_placeholder" + } + } + }, + "IconSelect": { + "label": "$t:layout_editor.palette.icon_select.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "IconSelect", + "props": { + "value": "", + "placeholder": "$t:layout_editor.palette.icon_select.default_placeholder", + "searchPlaceholder": "$t:layout_editor.palette.icon_select.default_search_placeholder" + } + } + }, + "ChipCheckbox": { + "label": "$t:layout_editor.palette.chip_checkbox.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "ChipCheckbox", + "props": { + "value": "1", + "checked": false, + "label": "$t:layout_editor.palette.chip_checkbox.default_label" + } + } + }, + "MultilingualInput": { + "label": "$t:layout_editor.palette.multilingual_input.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "MultilingualInput", + "props": { + "value": [], + "inputType": "text", + "placeholder": "$t:layout_editor.palette.multilingual_input.default_placeholder" + } + } + }, + "MultilingualTagInput": { + "label": "$t:layout_editor.palette.multilingual_tag_input.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "MultilingualTagInput", + "props": { + "value": [], + "placeholder": "$t:layout_editor.palette.multilingual_tag_input.default_placeholder" + } + } + }, + "LanguageSelector": { + "label": "$t:layout_editor.palette.language_selector.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "LanguageSelector", + "props": { + "inline": true + } + } + }, + "PermissionTree": { + "label": "$t:layout_editor.palette.permission_tree.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "PermissionTree", + "props": { + "data": [], + "value": [] + } + } + }, + "CategoryTree": { + "label": "$t:layout_editor.palette.category_tree.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "CategoryTree", + "props": { + "data": [ + { + "id": 1, + "name": "$t:layout_editor.palette.category_tree.sample_node1", + "products_count": 12, + "children": [ + { + "id": 2, + "name": "$t:layout_editor.palette.category_tree.sample_node2", + "products_count": 5, + "children": [] + } + ] + } + ], + "selectable": true + } + } + }, + "ExtensionBadge": { + "label": "$t:layout_editor.palette.extension_badge.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "ExtensionBadge", + "props": { + "type": "module", + "name": "$t:layout_editor.palette.extension_badge.default_name" + } + } + }, + "UserProfile": { + "label": "$t:layout_editor.palette.user_profile.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "UserProfile", + "props": { + "user": { + "name": "$t:layout_editor.palette.user_profile.default_name", + "email": "user@example.com" + } + } + } + }, + "FilterGroup": { + "label": "$t:layout_editor.palette.filter_group.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "FilterGroup", + "props": { + "title": "$t:layout_editor.palette.filter_group.default_title", + "filters": [] + } + } + }, + "SortableMenuList": { + "label": "$t:layout_editor.palette.sortable_menu_list.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "SortableMenuList", + "props": { + "title": "$t:layout_editor.palette.sortable_menu_list.label", + "items": [ + { + "id": 1, + "name": "$t:layout_editor.palette.sortable_menu_list.sample_item1", + "slug": "item-1", + "url": "#", + "icon": "fas fa-bars", + "order": 1, + "is_active": true, + "parent_id": null, + "module_id": null, + "children": [] + }, + { + "id": 2, + "name": "$t:layout_editor.palette.sortable_menu_list.sample_item2", + "slug": "item-2", + "url": "#", + "icon": "fas fa-bars", + "order": 2, + "is_active": true, + "parent_id": null, + "module_id": null, + "children": [] + } + ], + "enableDrag": true + } + } + }, + "DynamicFieldList": { + "label": "$t:layout_editor.palette.dynamic_field_list.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "DynamicFieldList", + "props": { + "items": [], + "columns": [], + "addLabel": "$t:layout_editor.palette.dynamic_field_list.default_add_label" + } + } + } + } + }, + "nesting": { + "comment": "draggable = 편집기에서 드래그/팔레트 배치 가능한 컴포넌트 목록. containers.accepts = 해당 컨테이너가 자식으로 받을 수 있는 컴포넌트 이름 목록. Img/Hr/Icon 등 leaf 는 accepts:[] 로 자식 거부. composite 는 통째 이동만 허용(자체는 draggable 에 포함되나 내부 accepts 는 [] 로 비편집).", + "draggable": [ + "Div", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Hr", + "Ul", + "Ol", + "Li", + "Nav", + "Section", + "Code", + "Pre", + "Container", + "Grid", + "Flex", + "SectionLayout", + "ThreeColumnLayout", + "Card", + "Badge", + "StatusBadge", + "Alert", + "EmptyState", + "LoadingSpinner", + "PageHeader", + "Breadcrumb", + "TabNavigation", + "TabNavigationScroll", + "Toggle", + "FormField", + "Input", + "Textarea", + "Label", + "Select", + "Checkbox", + "RadioGroup", + "FileInput", + "FileUploader", + "DataGrid", + "CardGrid", + "Pagination", + "SearchBar", + "StatCard", + "ProductCard", + "TemplateCard", + "BarChart", + "DonutChart", + "HtmlContent", + "HtmlEditor", + "ImageGallery", + "Form", + "Table", + "Accordion", + "IconButton", + "Dropdown", + "ActionMenu", + "TagInput", + "SearchableDropdown", + "RichSelect", + "TagSelect", + "IconSelect", + "ChipCheckbox", + "MultilingualInput", + "MultilingualTagInput", + "LanguageSelector", + "PermissionTree", + "CategoryTree", + "ExtensionBadge", + "UserProfile", + "FilterGroup", + "SortableMenuList", + "DynamicFieldList", + "SectionHeader", + "ThemeToggle", + "NotificationCenter", + "ColumnSelector", + "AdminSidebar", + "AdminFooter" + ], + "containers": { + "Div": { + "accepts": [ + "Div", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Hr", + "Ul", + "Ol", + "Nav", + "Section", + "Code", + "Pre", + "Container", + "Grid", + "Flex", + "SectionLayout", + "ThreeColumnLayout", + "Card", + "Badge", + "StatusBadge", + "Alert", + "EmptyState", + "LoadingSpinner", + "PageHeader", + "Breadcrumb", + "TabNavigation", + "TabNavigationScroll", + "Toggle", + "FormField", + "Input", + "Textarea", + "Label", + "Select", + "Checkbox", + "RadioGroup", + "FileInput", + "FileUploader", + "DataGrid", + "CardGrid", + "Pagination", + "SearchBar", + "StatCard", + "ProductCard", + "TemplateCard", + "BarChart", + "DonutChart", + "HtmlContent", + "HtmlEditor", + "ImageGallery", + "Form", + "Table", + "Accordion", + "IconButton", + "Dropdown", + "ActionMenu", + "TagInput", + "SearchableDropdown", + "RichSelect", + "TagSelect", + "IconSelect", + "ChipCheckbox", + "MultilingualInput", + "MultilingualTagInput", + "LanguageSelector", + "PermissionTree", + "CategoryTree", + "ExtensionBadge", + "UserProfile", + "FilterGroup", + "SortableMenuList", + "DynamicFieldList", + "SectionHeader", + "ThemeToggle", + "NotificationCenter", + "ColumnSelector", + "AdminSidebar", + "AdminFooter" + ] + }, + "Section": { + "accepts": [ + "Div", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Hr", + "Container", + "Grid", + "Flex", + "Card", + "PageHeader", + "DataGrid", + "CardGrid", + "SectionHeader", + "ThemeToggle", + "NotificationCenter", + "ColumnSelector", + "AdminSidebar", + "AdminFooter" + ] + }, + "Nav": { + "accepts": [ + "Ul", + "Ol", + "A", + "Button", + "Span", + "Icon", + "Div" + ] + }, + "P": { + "accepts": [ + "Span", + "A", + "Img", + "Icon", + "Code" + ] + }, + "Span": { + "accepts": [ + "Span", + "A", + "Img", + "Icon" + ] + }, + "A": { + "accepts": [ + "Span", + "Img", + "Icon" + ] + }, + "Ul": { + "accepts": [ + "Li" + ] + }, + "Ol": { + "accepts": [ + "Li" + ] + }, + "Li": { + "accepts": [ + "Span", + "A", + "Img", + "Icon", + "P", + "Div", + "Button" + ] + }, + "Container": { + "accepts": [ + "Div", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Hr", + "Ul", + "Ol", + "Section", + "Grid", + "Flex", + "SectionLayout", + "ThreeColumnLayout", + "Card", + "PageHeader", + "Breadcrumb", + "TabNavigation", + "DataGrid", + "CardGrid", + "Pagination", + "SectionHeader", + "ThemeToggle", + "NotificationCenter", + "ColumnSelector", + "AdminSidebar", + "AdminFooter" + ] + }, + "Grid": { + "accepts": [ + "Div", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Card", + "StatCard", + "ProductCard", + "TemplateCard" + ] + }, + "Flex": { + "accepts": [ + "Div", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Hr", + "Card", + "Badge", + "StatusBadge" + ] + }, + "SectionLayout": { + "accepts": [ + "Div", + "Section", + "Container", + "Grid", + "Flex", + "Card", + "PageHeader", + "SectionHeader", + "ThemeToggle", + "NotificationCenter", + "ColumnSelector", + "AdminSidebar", + "AdminFooter" + ] + }, + "ThreeColumnLayout": { + "accepts": [ + "Div", + "Section", + "Container", + "Grid", + "Flex", + "Card", + "PageHeader", + "SectionHeader", + "ThemeToggle", + "NotificationCenter", + "ColumnSelector", + "AdminSidebar", + "AdminFooter" + ] + }, + "Card": { + "accepts": [ + "Div", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Hr", + "Badge", + "StatusBadge", + "Ul", + "Ol" + ] + }, + "Form": { + "accepts": [ + "Div", + "Span", + "P", + "Label", + "Input", + "Textarea", + "Select", + "Checkbox", + "RadioGroup", + "FileInput", + "FileUploader", + "Button", + "FormField", + "Container", + "Grid", + "Flex", + "Hr", + "MultilingualInput", + "MultilingualTagInput", + "TagInput", + "TagSelect", + "SearchableDropdown", + "RichSelect", + "IconSelect", + "ChipCheckbox", + "DynamicFieldList" + ] + }, + "FormField": { + "accepts": [ + "Input", + "Textarea", + "Select", + "Checkbox", + "RadioGroup", + "FileInput", + "FileUploader", + "Label", + "Span", + "MultilingualInput", + "MultilingualTagInput", + "TagInput", + "TagSelect", + "SearchableDropdown", + "RichSelect", + "IconSelect" + ] + }, + "Table": { + "accepts": [] + }, + "Accordion": { + "accepts": [ + "Div", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Hr", + "Ul", + "Ol", + "Container", + "Grid", + "Flex", + "Card", + "DataGrid", + "Table", + "FormField", + "Input", + "Textarea", + "Select", + "Checkbox", + "Label" + ] + } + } + }, + "controls": { + "comment": "admin 도 Tailwind. 폼/테이블/카드 비중이 높음. classToken 토큰 + 색상 styleProp.", + "textAlign": { + "label": "$t:editor.control.text_align.label", + "widget": "segmented", + "group": "text-align", + "options": [ + { + "value": "left", + "label": "$t:editor.control.text_align.left", + "apply": { + "type": "classToken", + "tokens": [ + "text-left" + ] + } + }, + { + "value": "center", + "label": "$t:editor.control.text_align.center", + "apply": { + "type": "classToken", + "tokens": [ + "text-center" + ] + } + }, + { + "value": "right", + "label": "$t:editor.control.text_align.right", + "apply": { + "type": "classToken", + "tokens": [ + "text-right" + ] + } + }, + { + "value": "justify", + "label": "$t:editor.control.text_align.justify", + "apply": { + "type": "classToken", + "tokens": [ + "text-justify" + ] + } + } + ], + "groupTokens": [ + "text-left", + "text-center", + "text-right", + "text-justify", + "text-start", + "text-end" + ] + }, + "fontSize": { + "label": "$t:editor.control.font_size.label", + "widget": "slider", + "group": "font-size", + "scale": [ + "text-xs", + "text-sm", + "text-base", + "text-lg", + "text-xl", + "text-2xl" + ], + "options": [ + { + "value": "text-xs", + "apply": { + "type": "classToken", + "tokens": [ + "text-xs" + ] + } + }, + { + "value": "text-sm", + "apply": { + "type": "classToken", + "tokens": [ + "text-sm" + ] + } + }, + { + "value": "text-base", + "apply": { + "type": "classToken", + "tokens": [ + "text-base" + ] + } + }, + { + "value": "text-lg", + "apply": { + "type": "classToken", + "tokens": [ + "text-lg" + ] + } + }, + { + "value": "text-xl", + "apply": { + "type": "classToken", + "tokens": [ + "text-xl" + ] + } + }, + { + "value": "text-2xl", + "apply": { + "type": "classToken", + "tokens": [ + "text-2xl" + ] + } + } + ], + "groupTokens": [ + "text-xs", + "text-sm", + "text-base", + "text-lg", + "text-xl", + "text-2xl", + "text-3xl", + "text-4xl", + "text-5xl", + "text-6xl", + "text-7xl", + "text-8xl", + "text-9xl" + ] + }, + "fontWeight": { + "label": "$t:editor.control.font_weight.label", + "widget": "segmented", + "group": "font-weight", + "options": [ + { + "value": "font-normal", + "label": "$t:editor.control.font_weight.normal", + "apply": { + "type": "classToken", + "tokens": [ + "font-normal" + ] + } + }, + { + "value": "font-medium", + "label": "$t:editor.control.font_weight.semibold", + "apply": { + "type": "classToken", + "tokens": [ + "font-medium" + ] + } + }, + { + "value": "font-bold", + "label": "$t:editor.control.font_weight.bold", + "apply": { + "type": "classToken", + "tokens": [ + "font-bold" + ] + } + } + ], + "groupTokens": [ + "font-thin", + "font-extralight", + "font-light", + "font-normal", + "font-medium", + "font-semibold", + "font-bold", + "font-extrabold", + "font-black" + ] + }, + "textColor": { + "comment": "Tailwind classToken(원칙 4.8). 프리셋 색은 라이트·다크 모두(dark: prefix, safelist 자동), 자유 HEX(text-[{value}])는 라이트 전용(임의값 dark: 빌드 불가).", + "label": "$t:editor.control.text_color.label", + "widget": "color", + "group": "text-color", + "apply": { + "type": "classToken", + "tokenTemplate": "{MASKED}" + }, + "options": [ + { + "value": "text-gray-900", + "swatch": "#111827", + "label": "$t:editor.control.color_preset.gray_900", + "apply": { + "type": "classToken", + "tokens": [ + "text-gray-900" + ] + } + }, + { + "value": "text-gray-700", + "swatch": "#374151", + "label": "$t:editor.control.color_preset.gray_700", + "apply": { + "type": "classToken", + "tokens": [ + "text-gray-700" + ] + } + }, + { + "value": "text-gray-500", + "swatch": "#6b7280", + "label": "$t:editor.control.color_preset.gray_500", + "apply": { + "type": "classToken", + "tokens": [ + "text-gray-500" + ] + } + }, + { + "value": "text-white", + "swatch": "#ffffff", + "label": "$t:editor.control.color_preset.white", + "apply": { + "type": "classToken", + "tokens": [ + "text-white" + ] + } + }, + { + "value": "text-blue-600", + "swatch": "#2563eb", + "label": "$t:editor.control.color_preset.blue_600", + "apply": { + "type": "classToken", + "tokens": [ + "text-blue-600" + ] + } + }, + { + "value": "text-red-600", + "swatch": "#dc2626", + "label": "$t:editor.control.color_preset.red_600", + "apply": { + "type": "classToken", + "tokens": [ + "text-red-600" + ] + } + }, + { + "value": "text-green-600", + "swatch": "#16a34a", + "label": "$t:editor.control.color_preset.green_600", + "apply": { + "type": "classToken", + "tokens": [ + "text-green-600" + ] + } + } + ], + "groupTokens": [ + "text-slate-50", + "text-slate-100", + "text-slate-200", + "text-slate-300", + "text-slate-400", + "text-slate-500", + "text-slate-600", + "text-slate-700", + "text-slate-800", + "text-slate-900", + "text-slate-950", + "text-gray-50", + "text-gray-100", + "text-gray-200", + "text-gray-300", + "text-gray-400", + "text-gray-500", + "text-gray-600", + "text-gray-700", + "text-gray-800", + "text-gray-900", + "text-gray-950", + "text-zinc-50", + "text-zinc-100", + "text-zinc-200", + "text-zinc-300", + "text-zinc-400", + "text-zinc-500", + "text-zinc-600", + "text-zinc-700", + "text-zinc-800", + "text-zinc-900", + "text-zinc-950", + "text-neutral-50", + "text-neutral-100", + "text-neutral-200", + "text-neutral-300", + "text-neutral-400", + "text-neutral-500", + "text-neutral-600", + "text-neutral-700", + "text-neutral-800", + "text-neutral-900", + "text-neutral-950", + "text-stone-50", + "text-stone-100", + "text-stone-200", + "text-stone-300", + "text-stone-400", + "text-stone-500", + "text-stone-600", + "text-stone-700", + "text-stone-800", + "text-stone-900", + "text-stone-950", + "text-red-50", + "text-red-100", + "text-red-200", + "text-red-300", + "text-red-400", + "text-red-500", + "text-red-600", + "text-red-700", + "text-red-800", + "text-red-900", + "text-red-950", + "text-orange-50", + "text-orange-100", + "text-orange-200", + "text-orange-300", + "text-orange-400", + "text-orange-500", + "text-orange-600", + "text-orange-700", + "text-orange-800", + "text-orange-900", + "text-orange-950", + "text-amber-50", + "text-amber-100", + "text-amber-200", + "text-amber-300", + "text-amber-400", + "text-amber-500", + "text-amber-600", + "text-amber-700", + "text-amber-800", + "text-amber-900", + "text-amber-950", + "text-yellow-50", + "text-yellow-100", + "text-yellow-200", + "text-yellow-300", + "text-yellow-400", + "text-yellow-500", + "text-yellow-600", + "text-yellow-700", + "text-yellow-800", + "text-yellow-900", + "text-yellow-950", + "text-lime-50", + "text-lime-100", + "text-lime-200", + "text-lime-300", + "text-lime-400", + "text-lime-500", + "text-lime-600", + "text-lime-700", + "text-lime-800", + "text-lime-900", + "text-lime-950", + "text-green-50", + "text-green-100", + "text-green-200", + "text-green-300", + "text-green-400", + "text-green-500", + "text-green-600", + "text-green-700", + "text-green-800", + "text-green-900", + "text-green-950", + "text-emerald-50", + "text-emerald-100", + "text-emerald-200", + "text-emerald-300", + "text-emerald-400", + "text-emerald-500", + "text-emerald-600", + "text-emerald-700", + "text-emerald-800", + "text-emerald-900", + "text-emerald-950", + "text-teal-50", + "text-teal-100", + "text-teal-200", + "text-teal-300", + "text-teal-400", + "text-teal-500", + "text-teal-600", + "text-teal-700", + "text-teal-800", + "text-teal-900", + "text-teal-950", + "text-cyan-50", + "text-cyan-100", + "text-cyan-200", + "text-cyan-300", + "text-cyan-400", + "text-cyan-500", + "text-cyan-600", + "text-cyan-700", + "text-cyan-800", + "text-cyan-900", + "text-cyan-950", + "text-sky-50", + "text-sky-100", + "text-sky-200", + "text-sky-300", + "text-sky-400", + "text-sky-500", + "text-sky-600", + "text-sky-700", + "text-sky-800", + "text-sky-900", + "text-sky-950", + "text-blue-50", + "text-blue-100", + "text-blue-200", + "text-blue-300", + "text-blue-400", + "text-blue-500", + "text-blue-600", + "text-blue-700", + "text-blue-800", + "text-blue-900", + "text-blue-950", + "text-indigo-50", + "text-indigo-100", + "text-indigo-200", + "text-indigo-300", + "text-indigo-400", + "text-indigo-500", + "text-indigo-600", + "text-indigo-700", + "text-indigo-800", + "text-indigo-900", + "text-indigo-950", + "text-violet-50", + "text-violet-100", + "text-violet-200", + "text-violet-300", + "text-violet-400", + "text-violet-500", + "text-violet-600", + "text-violet-700", + "text-violet-800", + "text-violet-900", + "text-violet-950", + "text-purple-50", + "text-purple-100", + "text-purple-200", + "text-purple-300", + "text-purple-400", + "text-purple-500", + "text-purple-600", + "text-purple-700", + "text-purple-800", + "text-purple-900", + "text-purple-950", + "text-fuchsia-50", + "text-fuchsia-100", + "text-fuchsia-200", + "text-fuchsia-300", + "text-fuchsia-400", + "text-fuchsia-500", + "text-fuchsia-600", + "text-fuchsia-700", + "text-fuchsia-800", + "text-fuchsia-900", + "text-fuchsia-950", + "text-pink-50", + "text-pink-100", + "text-pink-200", + "text-pink-300", + "text-pink-400", + "text-pink-500", + "text-pink-600", + "text-pink-700", + "text-pink-800", + "text-pink-900", + "text-pink-950", + "text-rose-50", + "text-rose-100", + "text-rose-200", + "text-rose-300", + "text-rose-400", + "text-rose-500", + "text-rose-600", + "text-rose-700", + "text-rose-800", + "text-rose-900", + "text-rose-950", + "text-white", + "text-black", + "text-transparent", + "text-current", + "text-inherit" + ] + }, + "backgroundColor": { + "comment": "Tailwind classToken. 프리셋 배경은 라이트·다크 모두, 자유 HEX(bg-[{value}])는 라이트 전용.", + "label": "$t:editor.control.background_color.label", + "widget": "color", + "group": "bg-color", + "apply": { + "type": "classToken", + "tokenTemplate": "{MASKED}" + }, + "options": [ + { + "value": "bg-white", + "swatch": "#ffffff", + "label": "$t:editor.control.color_preset.white", + "apply": { + "type": "classToken", + "tokens": [ + "bg-white" + ] + } + }, + { + "value": "bg-gray-50", + "swatch": "#f9fafb", + "label": "$t:editor.control.color_preset.gray_50", + "apply": { + "type": "classToken", + "tokens": [ + "bg-gray-50" + ] + } + }, + { + "value": "bg-gray-100", + "swatch": "#f3f4f6", + "label": "$t:editor.control.color_preset.gray_100", + "apply": { + "type": "classToken", + "tokens": [ + "bg-gray-100" + ] + } + }, + { + "value": "bg-gray-800", + "swatch": "#1f2937", + "label": "$t:editor.control.color_preset.gray_800", + "apply": { + "type": "classToken", + "tokens": [ + "bg-gray-800" + ] + } + }, + { + "value": "bg-gray-900", + "swatch": "#111827", + "label": "$t:editor.control.color_preset.gray_900", + "apply": { + "type": "classToken", + "tokens": [ + "bg-gray-900" + ] + } + }, + { + "value": "bg-blue-600", + "swatch": "#2563eb", + "label": "$t:editor.control.color_preset.blue_600", + "apply": { + "type": "classToken", + "tokens": [ + "bg-blue-600" + ] + } + }, + { + "value": "bg-red-600", + "swatch": "#dc2626", + "label": "$t:editor.control.color_preset.red_600", + "apply": { + "type": "classToken", + "tokens": [ + "bg-red-600" + ] + } + } + ], + "groupTokens": [ + "bg-slate-50", + "bg-slate-100", + "bg-slate-200", + "bg-slate-300", + "bg-slate-400", + "bg-slate-500", + "bg-slate-600", + "bg-slate-700", + "bg-slate-800", + "bg-slate-900", + "bg-slate-950", + "bg-gray-50", + "bg-gray-100", + "bg-gray-200", + "bg-gray-300", + "bg-gray-400", + "bg-gray-500", + "bg-gray-600", + "bg-gray-700", + "bg-gray-800", + "bg-gray-900", + "bg-gray-950", + "bg-zinc-50", + "bg-zinc-100", + "bg-zinc-200", + "bg-zinc-300", + "bg-zinc-400", + "bg-zinc-500", + "bg-zinc-600", + "bg-zinc-700", + "bg-zinc-800", + "bg-zinc-900", + "bg-zinc-950", + "bg-neutral-50", + "bg-neutral-100", + "bg-neutral-200", + "bg-neutral-300", + "bg-neutral-400", + "bg-neutral-500", + "bg-neutral-600", + "bg-neutral-700", + "bg-neutral-800", + "bg-neutral-900", + "bg-neutral-950", + "bg-stone-50", + "bg-stone-100", + "bg-stone-200", + "bg-stone-300", + "bg-stone-400", + "bg-stone-500", + "bg-stone-600", + "bg-stone-700", + "bg-stone-800", + "bg-stone-900", + "bg-stone-950", + "bg-red-50", + "bg-red-100", + "bg-red-200", + "bg-red-300", + "bg-red-400", + "bg-red-500", + "bg-red-600", + "bg-red-700", + "bg-red-800", + "bg-red-900", + "bg-red-950", + "bg-orange-50", + "bg-orange-100", + "bg-orange-200", + "bg-orange-300", + "bg-orange-400", + "bg-orange-500", + "bg-orange-600", + "bg-orange-700", + "bg-orange-800", + "bg-orange-900", + "bg-orange-950", + "bg-amber-50", + "bg-amber-100", + "bg-amber-200", + "bg-amber-300", + "bg-amber-400", + "bg-amber-500", + "bg-amber-600", + "bg-amber-700", + "bg-amber-800", + "bg-amber-900", + "bg-amber-950", + "bg-yellow-50", + "bg-yellow-100", + "bg-yellow-200", + "bg-yellow-300", + "bg-yellow-400", + "bg-yellow-500", + "bg-yellow-600", + "bg-yellow-700", + "bg-yellow-800", + "bg-yellow-900", + "bg-yellow-950", + "bg-lime-50", + "bg-lime-100", + "bg-lime-200", + "bg-lime-300", + "bg-lime-400", + "bg-lime-500", + "bg-lime-600", + "bg-lime-700", + "bg-lime-800", + "bg-lime-900", + "bg-lime-950", + "bg-green-50", + "bg-green-100", + "bg-green-200", + "bg-green-300", + "bg-green-400", + "bg-green-500", + "bg-green-600", + "bg-green-700", + "bg-green-800", + "bg-green-900", + "bg-green-950", + "bg-emerald-50", + "bg-emerald-100", + "bg-emerald-200", + "bg-emerald-300", + "bg-emerald-400", + "bg-emerald-500", + "bg-emerald-600", + "bg-emerald-700", + "bg-emerald-800", + "bg-emerald-900", + "bg-emerald-950", + "bg-teal-50", + "bg-teal-100", + "bg-teal-200", + "bg-teal-300", + "bg-teal-400", + "bg-teal-500", + "bg-teal-600", + "bg-teal-700", + "bg-teal-800", + "bg-teal-900", + "bg-teal-950", + "bg-cyan-50", + "bg-cyan-100", + "bg-cyan-200", + "bg-cyan-300", + "bg-cyan-400", + "bg-cyan-500", + "bg-cyan-600", + "bg-cyan-700", + "bg-cyan-800", + "bg-cyan-900", + "bg-cyan-950", + "bg-sky-50", + "bg-sky-100", + "bg-sky-200", + "bg-sky-300", + "bg-sky-400", + "bg-sky-500", + "bg-sky-600", + "bg-sky-700", + "bg-sky-800", + "bg-sky-900", + "bg-sky-950", + "bg-blue-50", + "bg-blue-100", + "bg-blue-200", + "bg-blue-300", + "bg-blue-400", + "bg-blue-500", + "bg-blue-600", + "bg-blue-700", + "bg-blue-800", + "bg-blue-900", + "bg-blue-950", + "bg-indigo-50", + "bg-indigo-100", + "bg-indigo-200", + "bg-indigo-300", + "bg-indigo-400", + "bg-indigo-500", + "bg-indigo-600", + "bg-indigo-700", + "bg-indigo-800", + "bg-indigo-900", + "bg-indigo-950", + "bg-violet-50", + "bg-violet-100", + "bg-violet-200", + "bg-violet-300", + "bg-violet-400", + "bg-violet-500", + "bg-violet-600", + "bg-violet-700", + "bg-violet-800", + "bg-violet-900", + "bg-violet-950", + "bg-purple-50", + "bg-purple-100", + "bg-purple-200", + "bg-purple-300", + "bg-purple-400", + "bg-purple-500", + "bg-purple-600", + "bg-purple-700", + "bg-purple-800", + "bg-purple-900", + "bg-purple-950", + "bg-fuchsia-50", + "bg-fuchsia-100", + "bg-fuchsia-200", + "bg-fuchsia-300", + "bg-fuchsia-400", + "bg-fuchsia-500", + "bg-fuchsia-600", + "bg-fuchsia-700", + "bg-fuchsia-800", + "bg-fuchsia-900", + "bg-fuchsia-950", + "bg-pink-50", + "bg-pink-100", + "bg-pink-200", + "bg-pink-300", + "bg-pink-400", + "bg-pink-500", + "bg-pink-600", + "bg-pink-700", + "bg-pink-800", + "bg-pink-900", + "bg-pink-950", + "bg-rose-50", + "bg-rose-100", + "bg-rose-200", + "bg-rose-300", + "bg-rose-400", + "bg-rose-500", + "bg-rose-600", + "bg-rose-700", + "bg-rose-800", + "bg-rose-900", + "bg-rose-950", + "bg-white", + "bg-black", + "bg-transparent", + "bg-current", + "bg-inherit" + ] + }, + "paddingAll": { + "label": "$t:editor.control.padding.label", + "widget": "spacing", + "group": "padding", + "spacingPrefix": "p", + "scale": [ + "0", + "2", + "3", + "4", + "6" + ], + "apply": { + "type": "classToken", + "tokenTemplate": "{MASKED}" + }, + "groupPrefixes": [ + "p-", + "px-", + "py-", + "pt-", + "pr-", + "pb-", + "pl-" + ] + }, + "marginAll": { + "label": "$t:editor.control.margin.label", + "widget": "spacing", + "group": "margin", + "spacingPrefix": "m", + "scale": [ + "0", + "2", + "3", + "4", + "6" + ], + "apply": { + "type": "classToken", + "tokenTemplate": "{MASKED}" + }, + "groupPrefixes": [ + "m-", + "mx-", + "my-", + "mt-", + "mr-", + "mb-", + "ml-" + ] + }, + "width": { + "label": "$t:editor.control.width.label", + "widget": "dimension", + "group": "width", + "apply": { + "type": "styleProp", + "prop": "width" + }, + "options": [ + { + "value": "100%", + "label": "$t:editor.control.width.full" + }, + { + "value": "50%", + "label": "$t:editor.control.width.half" + }, + { + "value": "auto", + "label": "$t:editor.control.height.auto" + } + ] + }, + "height": { + "label": "$t:editor.control.height.label", + "widget": "dimension", + "group": "height", + "apply": { + "type": "styleProp", + "prop": "height" + }, + "options": [ + { + "value": "auto", + "label": "$t:editor.control.height.auto" + }, + { + "value": "240px", + "label": "240px" + }, + { + "value": "360px", + "label": "360px" + } + ] + }, + "flexDirection": { + "label": "$t:editor.control.flex_direction.label", + "widget": "segmented", + "group": "flex-direction", + "options": [ + { + "value": "row", + "label": "$t:editor.control.flex_direction.row", + "apply": { + "type": "classToken", + "tokens": [ + "flex-row" + ] + } + }, + { + "value": "column", + "label": "$t:editor.control.flex_direction.column", + "apply": { + "type": "classToken", + "tokens": [ + "flex-col" + ] + } + } + ], + "groupTokens": [ + "flex-row", + "flex-row-reverse", + "flex-col", + "flex-col-reverse" + ] + }, + "flexJustify": { + "label": "$t:editor.control.flex_justify.label", + "widget": "segmented", + "group": "flex-justify", + "options": [ + { + "value": "start", + "label": "$t:editor.control.flex_justify.start", + "apply": { + "type": "classToken", + "tokens": [ + "justify-start" + ] + } + }, + { + "value": "center", + "label": "$t:editor.control.flex_justify.center", + "apply": { + "type": "classToken", + "tokens": [ + "justify-center" + ] + } + }, + { + "value": "end", + "label": "$t:editor.control.flex_justify.end", + "apply": { + "type": "classToken", + "tokens": [ + "justify-end" + ] + } + }, + { + "value": "between", + "label": "$t:editor.control.flex_justify.between", + "apply": { + "type": "classToken", + "tokens": [ + "justify-between" + ] + } + }, + { + "value": "around", + "label": "$t:editor.control.flex_justify.around", + "apply": { + "type": "classToken", + "tokens": [ + "justify-around" + ] + } + } + ], + "groupTokens": [ + "justify-start", + "justify-center", + "justify-end", + "justify-between", + "justify-around", + "justify-evenly" + ] + }, + "flexAlign": { + "label": "$t:editor.control.flex_align.label", + "widget": "segmented", + "group": "flex-align", + "options": [ + { + "value": "start", + "label": "$t:editor.control.flex_align.start", + "apply": { + "type": "classToken", + "tokens": [ + "items-start" + ] + } + }, + { + "value": "center", + "label": "$t:editor.control.flex_align.center", + "apply": { + "type": "classToken", + "tokens": [ + "items-center" + ] + } + }, + { + "value": "end", + "label": "$t:editor.control.flex_align.end", + "apply": { + "type": "classToken", + "tokens": [ + "items-end" + ] + } + }, + { + "value": "stretch", + "label": "$t:editor.control.flex_align.stretch", + "apply": { + "type": "classToken", + "tokens": [ + "items-stretch" + ] + } + } + ], + "groupTokens": [ + "items-start", + "items-center", + "items-end", + "items-stretch", + "items-baseline" + ] + }, + "flexWrap": { + "label": "$t:editor.control.flex_wrap.label", + "widget": "toggle", + "group": "flex-wrap", + "options": [ + { + "value": "nowrap", + "label": "$t:editor.control.flex_wrap.off" + }, + { + "value": "wrap", + "label": "$t:editor.control.flex_wrap.on", + "apply": { + "type": "classToken", + "tokens": [ + "flex-wrap" + ] + } + } + ] + }, + "flexGap": { + "label": "$t:editor.control.flex_gap.label", + "widget": "slider", + "group": "flex-gap", + "scale": [ + "0", + "1", + "2", + "4", + "6", + "8" + ], + "apply": { + "type": "classToken", + "tokenTemplate": "{MASKED}" + } + }, + "flexEnable": { + "label": "$t:editor.control.flex_enable.label", + "widget": "segmented", + "group": "flex-enable", + "onValue": "flex", + "apply": { + "type": "classToken", + "tokens": [ + "flex" + ] + }, + "options": [ + { + "value": "flex", + "label": "$t:editor.control.flex_enable.on", + "apply": { + "type": "classToken", + "tokens": [ + "flex" + ] + } + }, + { + "value": "block", + "label": "$t:editor.control.flex_enable.off", + "apply": { + "type": "classToken", + "tokens": [ + "block" + ] + } + } + ] + }, + "flexItemGrow": { + "label": "$t:editor.control.flex_item_grow.label", + "widget": "segmented", + "group": "flex-item-grow", + "options": [ + { + "value": "fixed", + "label": "$t:editor.control.flex_item_grow.fixed", + "apply": { + "type": "classToken", + "tokens": [ + "flex-none" + ] + } + }, + { + "value": "fill", + "label": "$t:editor.control.flex_item_grow.fill", + "apply": { + "type": "classToken", + "tokens": [ + "flex-1" + ] + } + }, + { + "value": "ratio", + "label": "$t:editor.control.flex_item_grow.ratio", + "apply": { + "type": "classToken", + "tokens": [ + "flex-auto" + ] + } + } + ], + "groupTokens": [ + "flex-none", + "flex-1", + "flex-auto", + "flex-initial" + ] + }, + "flexItemAlign": { + "label": "$t:editor.control.flex_item_align.label", + "widget": "segmented", + "group": "flex-item-align", + "options": [ + { + "value": "start", + "label": "$t:editor.control.flex_item_align.start", + "apply": { + "type": "classToken", + "tokens": [ + "self-start" + ] + } + }, + { + "value": "center", + "label": "$t:editor.control.flex_item_align.center", + "apply": { + "type": "classToken", + "tokens": [ + "self-center" + ] + } + }, + { + "value": "end", + "label": "$t:editor.control.flex_item_align.end", + "apply": { + "type": "classToken", + "tokens": [ + "self-end" + ] + } + }, + { + "value": "stretch", + "label": "$t:editor.control.flex_item_align.stretch", + "apply": { + "type": "classToken", + "tokens": [ + "self-stretch" + ] + } + } + ], + "groupTokens": [ + "self-auto", + "self-start", + "self-center", + "self-end", + "self-stretch", + "self-baseline" + ] + }, + "flexItemOrder": { + "label": "$t:editor.control.flex_item_order.label", + "widget": "dimension", + "group": "flex-item-order", + "apply": { + "type": "styleProp", + "prop": "order" + } + }, + "boxShadow": { + "label": "$t:editor.control.box_shadow.label", + "widget": "select", + "group": "box-shadow", + "options": [ + { + "value": "shadow-none", + "label": "$t:editor.control.box_shadow.none", + "apply": { + "type": "classToken", + "tokens": [ + "shadow-none" + ] + } + }, + { + "value": "shadow-sm", + "label": "$t:editor.control.box_shadow.sm", + "apply": { + "type": "classToken", + "tokens": [ + "shadow-sm" + ] + } + }, + { + "value": "shadow", + "label": "$t:editor.control.box_shadow.md", + "apply": { + "type": "classToken", + "tokens": [ + "shadow" + ] + } + }, + { + "value": "shadow-lg", + "label": "$t:editor.control.box_shadow.lg", + "apply": { + "type": "classToken", + "tokens": [ + "shadow-lg" + ] + } + }, + { + "value": "shadow-xl", + "label": "$t:editor.control.box_shadow.xl", + "apply": { + "type": "classToken", + "tokens": [ + "shadow-xl" + ] + } + }, + { + "value": "shadow-2xl", + "label": "$t:editor.control.box_shadow.xxl", + "apply": { + "type": "classToken", + "tokens": [ + "shadow-2xl" + ] + } + } + ], + "groupTokens": [ + "shadow-none", + "shadow-sm", + "shadow", + "shadow-md", + "shadow-lg", + "shadow-xl", + "shadow-2xl", + "shadow-inner" + ] + }, + "borderStyle": { + "label": "$t:editor.control.border_style.label", + "widget": "select", + "group": "border-style", + "options": [ + { + "value": "none", + "label": "$t:editor.control.border_style.none", + "apply": { + "type": "classToken", + "tokens": [ + "border-0" + ] + } + }, + { + "value": "solid", + "label": "$t:editor.control.border_style.solid", + "apply": { + "type": "classToken", + "tokens": [ + "border", + "border-solid" + ] + } + }, + { + "value": "dashed", + "label": "$t:editor.control.border_style.dashed", + "apply": { + "type": "classToken", + "tokens": [ + "border", + "border-dashed" + ] + } + }, + { + "value": "dotted", + "label": "$t:editor.control.border_style.dotted", + "apply": { + "type": "classToken", + "tokens": [ + "border", + "border-dotted" + ] + } + } + ] + }, + "borderColor": { + "label": "$t:editor.control.border_color.label", + "widget": "color", + "group": "border-color", + "apply": { + "type": "classToken", + "tokenTemplate": "{MASKED}" + }, + "options": [ + { + "value": "border-gray-900", + "swatch": "#111827", + "label": "$t:editor.control.color_preset.gray_900", + "apply": { + "type": "classToken", + "tokens": [ + "border-gray-900" + ] + } + }, + { + "value": "border-gray-700", + "swatch": "#374151", + "label": "$t:editor.control.color_preset.gray_700", + "apply": { + "type": "classToken", + "tokens": [ + "border-gray-700" + ] + } + }, + { + "value": "border-gray-500", + "swatch": "#6b7280", + "label": "$t:editor.control.color_preset.gray_500", + "apply": { + "type": "classToken", + "tokens": [ + "border-gray-500" + ] + } + }, + { + "value": "border-gray-300", + "swatch": "#d1d5db", + "label": "$t:editor.control.color_preset.gray_300", + "apply": { + "type": "classToken", + "tokens": [ + "border-gray-300" + ] + } + }, + { + "value": "border-white", + "swatch": "#ffffff", + "label": "$t:editor.control.color_preset.white", + "apply": { + "type": "classToken", + "tokens": [ + "border-white" + ] + } + }, + { + "value": "border-blue-600", + "swatch": "#2563eb", + "label": "$t:editor.control.color_preset.blue_600", + "apply": { + "type": "classToken", + "tokens": [ + "border-blue-600" + ] + } + }, + { + "value": "border-red-600", + "swatch": "#dc2626", + "label": "$t:editor.control.color_preset.red_600", + "apply": { + "type": "classToken", + "tokens": [ + "border-red-600" + ] + } + }, + { + "value": "border-green-600", + "swatch": "#16a34a", + "label": "$t:editor.control.color_preset.green_600", + "apply": { + "type": "classToken", + "tokens": [ + "border-green-600" + ] + } + } + ], + "groupTokens": [ + "border-slate-50", + "border-slate-100", + "border-slate-200", + "border-slate-300", + "border-slate-400", + "border-slate-500", + "border-slate-600", + "border-slate-700", + "border-slate-800", + "border-slate-900", + "border-slate-950", + "border-gray-50", + "border-gray-100", + "border-gray-200", + "border-gray-300", + "border-gray-400", + "border-gray-500", + "border-gray-600", + "border-gray-700", + "border-gray-800", + "border-gray-900", + "border-gray-950", + "border-zinc-50", + "border-zinc-100", + "border-zinc-200", + "border-zinc-300", + "border-zinc-400", + "border-zinc-500", + "border-zinc-600", + "border-zinc-700", + "border-zinc-800", + "border-zinc-900", + "border-zinc-950", + "border-neutral-50", + "border-neutral-100", + "border-neutral-200", + "border-neutral-300", + "border-neutral-400", + "border-neutral-500", + "border-neutral-600", + "border-neutral-700", + "border-neutral-800", + "border-neutral-900", + "border-neutral-950", + "border-stone-50", + "border-stone-100", + "border-stone-200", + "border-stone-300", + "border-stone-400", + "border-stone-500", + "border-stone-600", + "border-stone-700", + "border-stone-800", + "border-stone-900", + "border-stone-950", + "border-red-50", + "border-red-100", + "border-red-200", + "border-red-300", + "border-red-400", + "border-red-500", + "border-red-600", + "border-red-700", + "border-red-800", + "border-red-900", + "border-red-950", + "border-orange-50", + "border-orange-100", + "border-orange-200", + "border-orange-300", + "border-orange-400", + "border-orange-500", + "border-orange-600", + "border-orange-700", + "border-orange-800", + "border-orange-900", + "border-orange-950", + "border-amber-50", + "border-amber-100", + "border-amber-200", + "border-amber-300", + "border-amber-400", + "border-amber-500", + "border-amber-600", + "border-amber-700", + "border-amber-800", + "border-amber-900", + "border-amber-950", + "border-yellow-50", + "border-yellow-100", + "border-yellow-200", + "border-yellow-300", + "border-yellow-400", + "border-yellow-500", + "border-yellow-600", + "border-yellow-700", + "border-yellow-800", + "border-yellow-900", + "border-yellow-950", + "border-lime-50", + "border-lime-100", + "border-lime-200", + "border-lime-300", + "border-lime-400", + "border-lime-500", + "border-lime-600", + "border-lime-700", + "border-lime-800", + "border-lime-900", + "border-lime-950", + "border-green-50", + "border-green-100", + "border-green-200", + "border-green-300", + "border-green-400", + "border-green-500", + "border-green-600", + "border-green-700", + "border-green-800", + "border-green-900", + "border-green-950", + "border-emerald-50", + "border-emerald-100", + "border-emerald-200", + "border-emerald-300", + "border-emerald-400", + "border-emerald-500", + "border-emerald-600", + "border-emerald-700", + "border-emerald-800", + "border-emerald-900", + "border-emerald-950", + "border-teal-50", + "border-teal-100", + "border-teal-200", + "border-teal-300", + "border-teal-400", + "border-teal-500", + "border-teal-600", + "border-teal-700", + "border-teal-800", + "border-teal-900", + "border-teal-950", + "border-cyan-50", + "border-cyan-100", + "border-cyan-200", + "border-cyan-300", + "border-cyan-400", + "border-cyan-500", + "border-cyan-600", + "border-cyan-700", + "border-cyan-800", + "border-cyan-900", + "border-cyan-950", + "border-sky-50", + "border-sky-100", + "border-sky-200", + "border-sky-300", + "border-sky-400", + "border-sky-500", + "border-sky-600", + "border-sky-700", + "border-sky-800", + "border-sky-900", + "border-sky-950", + "border-blue-50", + "border-blue-100", + "border-blue-200", + "border-blue-300", + "border-blue-400", + "border-blue-500", + "border-blue-600", + "border-blue-700", + "border-blue-800", + "border-blue-900", + "border-blue-950", + "border-indigo-50", + "border-indigo-100", + "border-indigo-200", + "border-indigo-300", + "border-indigo-400", + "border-indigo-500", + "border-indigo-600", + "border-indigo-700", + "border-indigo-800", + "border-indigo-900", + "border-indigo-950", + "border-violet-50", + "border-violet-100", + "border-violet-200", + "border-violet-300", + "border-violet-400", + "border-violet-500", + "border-violet-600", + "border-violet-700", + "border-violet-800", + "border-violet-900", + "border-violet-950", + "border-purple-50", + "border-purple-100", + "border-purple-200", + "border-purple-300", + "border-purple-400", + "border-purple-500", + "border-purple-600", + "border-purple-700", + "border-purple-800", + "border-purple-900", + "border-purple-950", + "border-fuchsia-50", + "border-fuchsia-100", + "border-fuchsia-200", + "border-fuchsia-300", + "border-fuchsia-400", + "border-fuchsia-500", + "border-fuchsia-600", + "border-fuchsia-700", + "border-fuchsia-800", + "border-fuchsia-900", + "border-fuchsia-950", + "border-pink-50", + "border-pink-100", + "border-pink-200", + "border-pink-300", + "border-pink-400", + "border-pink-500", + "border-pink-600", + "border-pink-700", + "border-pink-800", + "border-pink-900", + "border-pink-950", + "border-rose-50", + "border-rose-100", + "border-rose-200", + "border-rose-300", + "border-rose-400", + "border-rose-500", + "border-rose-600", + "border-rose-700", + "border-rose-800", + "border-rose-900", + "border-rose-950", + "border-white", + "border-black", + "border-transparent", + "border-current", + "border-inherit" + ] + }, + "borderRadius": { + "label": "$t:editor.control.border_radius.label", + "widget": "select", + "group": "border-radius", + "options": [ + { + "value": "rounded-none", + "label": "$t:editor.control.border_radius.none", + "apply": { + "type": "classToken", + "tokens": [ + "rounded-none" + ] + } + }, + { + "value": "rounded-sm", + "label": "$t:editor.control.border_radius.sm", + "apply": { + "type": "classToken", + "tokens": [ + "rounded-sm" + ] + } + }, + { + "value": "rounded", + "label": "$t:editor.control.border_radius.md", + "apply": { + "type": "classToken", + "tokens": [ + "rounded" + ] + } + }, + { + "value": "rounded-lg", + "label": "$t:editor.control.border_radius.lg", + "apply": { + "type": "classToken", + "tokens": [ + "rounded-lg" + ] + } + }, + { + "value": "rounded-xl", + "label": "$t:editor.control.border_radius.xl", + "apply": { + "type": "classToken", + "tokens": [ + "rounded-xl" + ] + } + }, + { + "value": "rounded-full", + "label": "$t:editor.control.border_radius.full", + "apply": { + "type": "classToken", + "tokens": [ + "rounded-full" + ] + } + } + ], + "groupTokens": [ + "rounded-none", + "rounded-sm", + "rounded", + "rounded-md", + "rounded-lg", + "rounded-xl", + "rounded-2xl", + "rounded-3xl", + "rounded-full" + ] + }, + "opacity": { + "label": "$t:editor.control.opacity.label", + "widget": "slider", + "group": "opacity", + "apply": { + "type": "classToken", + "tokenTemplate": "{MASKED}" + }, + "groupPrefixes": [ + "opacity-" + ], + "scale": [ + "opacity-0", + "opacity-25", + "opacity-50", + "opacity-75", + "opacity-100" + ] + }, + "overflow": { + "label": "$t:editor.control.overflow.label", + "widget": "select", + "group": "overflow", + "options": [ + { + "value": "overflow-auto", + "label": "$t:editor.control.overflow.auto", + "apply": { + "type": "classToken", + "tokens": [ + "overflow-auto" + ] + } + }, + { + "value": "overflow-hidden", + "label": "$t:editor.control.overflow.hidden", + "apply": { + "type": "classToken", + "tokens": [ + "overflow-hidden" + ] + } + }, + { + "value": "overflow-x-auto", + "label": "$t:editor.control.overflow.x_auto", + "apply": { + "type": "classToken", + "tokens": [ + "overflow-x-auto" + ] + } + }, + { + "value": "overflow-y-auto", + "label": "$t:editor.control.overflow.y_auto", + "apply": { + "type": "classToken", + "tokens": [ + "overflow-y-auto" + ] + } + }, + { + "value": "overflow-visible", + "label": "$t:editor.control.overflow.visible", + "apply": { + "type": "classToken", + "tokens": [ + "overflow-visible" + ] + } + } + ], + "groupTokens": [ + "overflow-auto", + "overflow-hidden", + "overflow-visible", + "overflow-scroll", + "overflow-clip", + "overflow-x-auto", + "overflow-y-auto", + "overflow-x-hidden", + "overflow-y-hidden", + "overflow-x-visible", + "overflow-y-visible", + "overflow-x-scroll", + "overflow-y-scroll" + ] + }, + "fontBold": { + "label": "$t:editor.control.font_bold.label", + "widget": "toggle", + "group": "font-bold", + "options": [ + { + "label": "$t:editor.control.toggle.off" + }, + { + "value": "font-bold", + "label": "$t:editor.control.toggle.on", + "apply": { + "type": "classToken", + "tokens": [ + "font-bold" + ] + } + } + ] + }, + "fontItalic": { + "label": "$t:editor.control.font_italic.label", + "widget": "toggle", + "group": "font-italic", + "options": [ + { + "label": "$t:editor.control.toggle.off" + }, + { + "value": "italic", + "label": "$t:editor.control.toggle.on", + "apply": { + "type": "classToken", + "tokens": [ + "italic" + ] + } + } + ] + }, + "textUnderline": { + "label": "$t:editor.control.text_underline.label", + "widget": "toggle", + "group": "text-underline", + "options": [ + { + "label": "$t:editor.control.toggle.off" + }, + { + "value": "underline", + "label": "$t:editor.control.toggle.on", + "apply": { + "type": "classToken", + "tokens": [ + "underline" + ] + } + } + ] + }, + "whitespace": { + "label": "$t:editor.control.whitespace.label", + "widget": "select", + "group": "whitespace", + "options": [ + { + "value": "normal", + "label": "$t:editor.control.whitespace.normal", + "apply": { + "type": "classToken", + "tokens": [ + "whitespace-normal" + ] + } + }, + { + "value": "nowrap", + "label": "$t:editor.control.whitespace.nowrap", + "apply": { + "type": "classToken", + "tokens": [ + "whitespace-nowrap" + ] + } + }, + { + "value": "pre-wrap", + "label": "$t:editor.control.whitespace.pre_wrap", + "apply": { + "type": "classToken", + "tokens": [ + "whitespace-pre-wrap" + ] + } + } + ], + "groupTokens": [ + "whitespace-normal", + "whitespace-nowrap", + "whitespace-pre", + "whitespace-pre-line", + "whitespace-pre-wrap", + "whitespace-break-spaces" + ] + }, + "_propControlsComment": "비-스타일 prop(propValue) 편집 컨트롤. componentCapabilities.propControls 가 키로 참조한다. 위젯: text=자유문자열 / i18n-text=다국어문자열 / select=택1 / toggle=불리언 / icon-picker=아이콘명(카탈로그는 iconName.icons 인라인) / options-list=정적 선택지 배열. apply 는 모두 propValue(node.props[propKey] 기록).", + "iconName": { + "label": "$t:editor.control.icon_name.label", + "widget": "icon-picker", + "apply": { + "type": "propValue", + "propKey": "name" + }, + "iconColumns": 8, + "icons": [ + { + "value": "0" + }, + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + }, + { + "value": "4" + }, + { + "value": "5" + }, + { + "value": "6" + }, + { + "value": "7" + }, + { + "value": "8" + }, + { + "value": "9" + }, + { + "value": "a" + }, + { + "value": "address-book", + "keywords": [ + "address", + "book" + ] + }, + { + "value": "address-card", + "keywords": [ + "address", + "card" + ] + }, + { + "value": "align-center", + "keywords": [ + "align", + "center" + ] + }, + { + "value": "align-justify", + "keywords": [ + "align", + "justify" + ] + }, + { + "value": "align-left", + "keywords": [ + "align", + "left" + ] + }, + { + "value": "align-right", + "keywords": [ + "align", + "right" + ] + }, + { + "value": "anchor" + }, + { + "value": "anchor-circle-check", + "keywords": [ + "anchor", + "circle", + "check" + ] + }, + { + "value": "anchor-circle-exclamation", + "keywords": [ + "anchor", + "circle", + "exclamation" + ] + }, + { + "value": "anchor-circle-xmark", + "keywords": [ + "anchor", + "circle", + "xmark" + ] + }, + { + "value": "anchor-lock", + "keywords": [ + "anchor", + "lock" + ] + }, + { + "value": "angle-down", + "keywords": [ + "angle", + "down" + ] + }, + { + "value": "angle-left", + "keywords": [ + "angle", + "left" + ] + }, + { + "value": "angle-right", + "keywords": [ + "angle", + "right" + ] + }, + { + "value": "angle-up", + "keywords": [ + "angle", + "up" + ] + }, + { + "value": "angles-down", + "keywords": [ + "angles", + "down" + ] + }, + { + "value": "angles-left", + "keywords": [ + "angles", + "left" + ] + }, + { + "value": "angles-right", + "keywords": [ + "angles", + "right" + ] + }, + { + "value": "angles-up", + "keywords": [ + "angles", + "up" + ] + }, + { + "value": "ankh" + }, + { + "value": "apple-whole", + "keywords": [ + "apple", + "whole" + ] + }, + { + "value": "archway" + }, + { + "value": "arrow-down", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-1-9", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-9-1", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-a-z", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-long", + "keywords": [ + "arrow", + "down", + "long" + ] + }, + { + "value": "arrow-down-short-wide", + "keywords": [ + "arrow", + "down", + "short", + "wide" + ] + }, + { + "value": "arrow-down-up-across-line", + "keywords": [ + "arrow", + "down", + "up", + "across", + "line" + ] + }, + { + "value": "arrow-down-up-lock", + "keywords": [ + "arrow", + "down", + "up", + "lock" + ] + }, + { + "value": "arrow-down-wide-short", + "keywords": [ + "arrow", + "down", + "wide", + "short" + ] + }, + { + "value": "arrow-down-z-a", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-left", + "keywords": [ + "arrow", + "left" + ] + }, + { + "value": "arrow-left-long", + "keywords": [ + "arrow", + "left", + "long" + ] + }, + { + "value": "arrow-pointer", + "keywords": [ + "arrow", + "pointer" + ] + }, + { + "value": "arrow-right", + "keywords": [ + "arrow", + "right" + ] + }, + { + "value": "arrow-right-arrow-left", + "keywords": [ + "arrow", + "right", + "arrow", + "left" + ] + }, + { + "value": "arrow-right-from-bracket", + "keywords": [ + "arrow", + "right", + "from", + "bracket" + ] + }, + { + "value": "arrow-right-long", + "keywords": [ + "arrow", + "right", + "long" + ] + }, + { + "value": "arrow-right-to-bracket", + "keywords": [ + "arrow", + "right", + "to", + "bracket" + ] + }, + { + "value": "arrow-right-to-city", + "keywords": [ + "arrow", + "right", + "to", + "city" + ] + }, + { + "value": "arrow-rotate-left", + "keywords": [ + "arrow", + "rotate", + "left" + ] + }, + { + "value": "arrow-rotate-right", + "keywords": [ + "arrow", + "rotate", + "right" + ] + }, + { + "value": "arrow-trend-down", + "keywords": [ + "arrow", + "trend", + "down" + ] + }, + { + "value": "arrow-trend-up", + "keywords": [ + "arrow", + "trend", + "up" + ] + }, + { + "value": "arrow-turn-down", + "keywords": [ + "arrow", + "turn", + "down" + ] + }, + { + "value": "arrow-turn-up", + "keywords": [ + "arrow", + "turn", + "up" + ] + }, + { + "value": "arrow-up", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-1-9", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-9-1", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-a-z", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-from-bracket", + "keywords": [ + "arrow", + "up", + "from", + "bracket" + ] + }, + { + "value": "arrow-up-from-ground-water", + "keywords": [ + "arrow", + "up", + "from", + "ground", + "water" + ] + }, + { + "value": "arrow-up-from-water-pump", + "keywords": [ + "arrow", + "up", + "from", + "water", + "pump" + ] + }, + { + "value": "arrow-up-long", + "keywords": [ + "arrow", + "up", + "long" + ] + }, + { + "value": "arrow-up-right-dots", + "keywords": [ + "arrow", + "up", + "right", + "dots" + ] + }, + { + "value": "arrow-up-right-from-square", + "keywords": [ + "arrow", + "up", + "right", + "from", + "square" + ] + }, + { + "value": "arrow-up-short-wide", + "keywords": [ + "arrow", + "up", + "short", + "wide" + ] + }, + { + "value": "arrow-up-wide-short", + "keywords": [ + "arrow", + "up", + "wide", + "short" + ] + }, + { + "value": "arrow-up-z-a", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrows-down-to-line", + "keywords": [ + "arrows", + "down", + "to", + "line" + ] + }, + { + "value": "arrows-down-to-people", + "keywords": [ + "arrows", + "down", + "to", + "people" + ] + }, + { + "value": "arrows-left-right", + "keywords": [ + "arrows", + "left", + "right" + ] + }, + { + "value": "arrows-left-right-to-line", + "keywords": [ + "arrows", + "left", + "right", + "to", + "line" + ] + }, + { + "value": "arrows-rotate", + "keywords": [ + "arrows", + "rotate" + ] + }, + { + "value": "arrows-spin", + "keywords": [ + "arrows", + "spin" + ] + }, + { + "value": "arrows-split-up-and-left", + "keywords": [ + "arrows", + "split", + "up", + "and", + "left" + ] + }, + { + "value": "arrows-to-circle", + "keywords": [ + "arrows", + "to", + "circle" + ] + }, + { + "value": "arrows-to-dot", + "keywords": [ + "arrows", + "to", + "dot" + ] + }, + { + "value": "arrows-to-eye", + "keywords": [ + "arrows", + "to", + "eye" + ] + }, + { + "value": "arrows-turn-right", + "keywords": [ + "arrows", + "turn", + "right" + ] + }, + { + "value": "arrows-turn-to-dots", + "keywords": [ + "arrows", + "turn", + "to", + "dots" + ] + }, + { + "value": "arrows-up-down", + "keywords": [ + "arrows", + "up", + "down" + ] + }, + { + "value": "arrows-up-down-left-right", + "keywords": [ + "arrows", + "up", + "down", + "left", + "right" + ] + }, + { + "value": "arrows-up-to-line", + "keywords": [ + "arrows", + "up", + "to", + "line" + ] + }, + { + "value": "asterisk" + }, + { + "value": "at" + }, + { + "value": "atom" + }, + { + "value": "audio-description", + "keywords": [ + "audio", + "description" + ] + }, + { + "value": "austral-sign", + "keywords": [ + "austral", + "sign" + ] + }, + { + "value": "award" + }, + { + "value": "b" + }, + { + "value": "baby" + }, + { + "value": "baby-carriage", + "keywords": [ + "baby", + "carriage" + ] + }, + { + "value": "backward" + }, + { + "value": "backward-fast", + "keywords": [ + "backward", + "fast" + ] + }, + { + "value": "backward-step", + "keywords": [ + "backward", + "step" + ] + }, + { + "value": "bacon" + }, + { + "value": "bacteria" + }, + { + "value": "bacterium" + }, + { + "value": "bag-shopping", + "keywords": [ + "bag", + "shopping" + ] + }, + { + "value": "bahai" + }, + { + "value": "baht-sign", + "keywords": [ + "baht", + "sign" + ] + }, + { + "value": "ban" + }, + { + "value": "ban-smoking", + "keywords": [ + "ban", + "smoking" + ] + }, + { + "value": "bandage" + }, + { + "value": "bangladeshi-taka-sign", + "keywords": [ + "bangladeshi", + "taka", + "sign" + ] + }, + { + "value": "barcode" + }, + { + "value": "bars" + }, + { + "value": "bars-progress", + "keywords": [ + "bars", + "progress" + ] + }, + { + "value": "bars-staggered", + "keywords": [ + "bars", + "staggered" + ] + }, + { + "value": "baseball" + }, + { + "value": "baseball-bat-ball", + "keywords": [ + "baseball", + "bat", + "ball" + ] + }, + { + "value": "basket-shopping", + "keywords": [ + "basket", + "shopping" + ] + }, + { + "value": "basketball" + }, + { + "value": "bath" + }, + { + "value": "battery-empty", + "keywords": [ + "battery", + "empty" + ] + }, + { + "value": "battery-full", + "keywords": [ + "battery", + "full" + ] + }, + { + "value": "battery-half", + "keywords": [ + "battery", + "half" + ] + }, + { + "value": "battery-quarter", + "keywords": [ + "battery", + "quarter" + ] + }, + { + "value": "battery-three-quarters", + "keywords": [ + "battery", + "three", + "quarters" + ] + }, + { + "value": "bed" + }, + { + "value": "bed-pulse", + "keywords": [ + "bed", + "pulse" + ] + }, + { + "value": "beer-mug-empty", + "keywords": [ + "beer", + "mug", + "empty" + ] + }, + { + "value": "bell" + }, + { + "value": "bell-concierge", + "keywords": [ + "bell", + "concierge" + ] + }, + { + "value": "bell-slash", + "keywords": [ + "bell", + "slash" + ] + }, + { + "value": "bezier-curve", + "keywords": [ + "bezier", + "curve" + ] + }, + { + "value": "bicycle" + }, + { + "value": "binoculars" + }, + { + "value": "biohazard" + }, + { + "value": "bitcoin-sign", + "keywords": [ + "bitcoin", + "sign" + ] + }, + { + "value": "blender" + }, + { + "value": "blender-phone", + "keywords": [ + "blender", + "phone" + ] + }, + { + "value": "blog" + }, + { + "value": "bold" + }, + { + "value": "bolt" + }, + { + "value": "bolt-lightning", + "keywords": [ + "bolt", + "lightning" + ] + }, + { + "value": "bomb" + }, + { + "value": "bone" + }, + { + "value": "bong" + }, + { + "value": "book" + }, + { + "value": "book-atlas", + "keywords": [ + "book", + "atlas" + ] + }, + { + "value": "book-bible", + "keywords": [ + "book", + "bible" + ] + }, + { + "value": "book-bookmark", + "keywords": [ + "book", + "bookmark" + ] + }, + { + "value": "book-journal-whills", + "keywords": [ + "book", + "journal", + "whills" + ] + }, + { + "value": "book-medical", + "keywords": [ + "book", + "medical" + ] + }, + { + "value": "book-open", + "keywords": [ + "book", + "open" + ] + }, + { + "value": "book-open-reader", + "keywords": [ + "book", + "open", + "reader" + ] + }, + { + "value": "book-quran", + "keywords": [ + "book", + "quran" + ] + }, + { + "value": "book-skull", + "keywords": [ + "book", + "skull" + ] + }, + { + "value": "book-tanakh", + "keywords": [ + "book", + "tanakh" + ] + }, + { + "value": "bookmark" + }, + { + "value": "border-all", + "keywords": [ + "border", + "all" + ] + }, + { + "value": "border-none", + "keywords": [ + "border", + "none" + ] + }, + { + "value": "border-top-left", + "keywords": [ + "border", + "top", + "left" + ] + }, + { + "value": "bore-hole", + "keywords": [ + "bore", + "hole" + ] + }, + { + "value": "bottle-droplet", + "keywords": [ + "bottle", + "droplet" + ] + }, + { + "value": "bottle-water", + "keywords": [ + "bottle", + "water" + ] + }, + { + "value": "bowl-food", + "keywords": [ + "bowl", + "food" + ] + }, + { + "value": "bowl-rice", + "keywords": [ + "bowl", + "rice" + ] + }, + { + "value": "bowling-ball", + "keywords": [ + "bowling", + "ball" + ] + }, + { + "value": "box" + }, + { + "value": "box-archive", + "keywords": [ + "box", + "archive" + ] + }, + { + "value": "box-open", + "keywords": [ + "box", + "open" + ] + }, + { + "value": "box-tissue", + "keywords": [ + "box", + "tissue" + ] + }, + { + "value": "boxes-packing", + "keywords": [ + "boxes", + "packing" + ] + }, + { + "value": "boxes-stacked", + "keywords": [ + "boxes", + "stacked" + ] + }, + { + "value": "braille" + }, + { + "value": "brain" + }, + { + "value": "brazilian-real-sign", + "keywords": [ + "brazilian", + "real", + "sign" + ] + }, + { + "value": "bread-slice", + "keywords": [ + "bread", + "slice" + ] + }, + { + "value": "bridge" + }, + { + "value": "bridge-circle-check", + "keywords": [ + "bridge", + "circle", + "check" + ] + }, + { + "value": "bridge-circle-exclamation", + "keywords": [ + "bridge", + "circle", + "exclamation" + ] + }, + { + "value": "bridge-circle-xmark", + "keywords": [ + "bridge", + "circle", + "xmark" + ] + }, + { + "value": "bridge-lock", + "keywords": [ + "bridge", + "lock" + ] + }, + { + "value": "bridge-water", + "keywords": [ + "bridge", + "water" + ] + }, + { + "value": "briefcase" + }, + { + "value": "briefcase-medical", + "keywords": [ + "briefcase", + "medical" + ] + }, + { + "value": "broom" + }, + { + "value": "broom-ball", + "keywords": [ + "broom", + "ball" + ] + }, + { + "value": "brush" + }, + { + "value": "bucket" + }, + { + "value": "bug" + }, + { + "value": "bug-slash", + "keywords": [ + "bug", + "slash" + ] + }, + { + "value": "bugs" + }, + { + "value": "building" + }, + { + "value": "building-circle-arrow-right", + "keywords": [ + "building", + "circle", + "arrow", + "right" + ] + }, + { + "value": "building-circle-check", + "keywords": [ + "building", + "circle", + "check" + ] + }, + { + "value": "building-circle-exclamation", + "keywords": [ + "building", + "circle", + "exclamation" + ] + }, + { + "value": "building-circle-xmark", + "keywords": [ + "building", + "circle", + "xmark" + ] + }, + { + "value": "building-columns", + "keywords": [ + "building", + "columns" + ] + }, + { + "value": "building-flag", + "keywords": [ + "building", + "flag" + ] + }, + { + "value": "building-lock", + "keywords": [ + "building", + "lock" + ] + }, + { + "value": "building-ngo", + "keywords": [ + "building", + "ngo" + ] + }, + { + "value": "building-shield", + "keywords": [ + "building", + "shield" + ] + }, + { + "value": "building-un", + "keywords": [ + "building", + "un" + ] + }, + { + "value": "building-user", + "keywords": [ + "building", + "user" + ] + }, + { + "value": "building-wheat", + "keywords": [ + "building", + "wheat" + ] + }, + { + "value": "bullhorn" + }, + { + "value": "bullseye" + }, + { + "value": "burger" + }, + { + "value": "burst" + }, + { + "value": "bus" + }, + { + "value": "bus-simple", + "keywords": [ + "bus", + "simple" + ] + }, + { + "value": "business-time", + "keywords": [ + "business", + "time" + ] + }, + { + "value": "c" + }, + { + "value": "cable-car", + "keywords": [ + "cable", + "car" + ] + }, + { + "value": "cake-candles", + "keywords": [ + "cake", + "candles" + ] + }, + { + "value": "calculator" + }, + { + "value": "calendar" + }, + { + "value": "calendar-check", + "keywords": [ + "calendar", + "check" + ] + }, + { + "value": "calendar-day", + "keywords": [ + "calendar", + "day" + ] + }, + { + "value": "calendar-days", + "keywords": [ + "calendar", + "days" + ] + }, + { + "value": "calendar-minus", + "keywords": [ + "calendar", + "minus" + ] + }, + { + "value": "calendar-plus", + "keywords": [ + "calendar", + "plus" + ] + }, + { + "value": "calendar-week", + "keywords": [ + "calendar", + "week" + ] + }, + { + "value": "calendar-xmark", + "keywords": [ + "calendar", + "xmark" + ] + }, + { + "value": "camera" + }, + { + "value": "camera-retro", + "keywords": [ + "camera", + "retro" + ] + }, + { + "value": "camera-rotate", + "keywords": [ + "camera", + "rotate" + ] + }, + { + "value": "campground" + }, + { + "value": "candy-cane", + "keywords": [ + "candy", + "cane" + ] + }, + { + "value": "cannabis" + }, + { + "value": "capsules" + }, + { + "value": "car" + }, + { + "value": "car-battery", + "keywords": [ + "car", + "battery" + ] + }, + { + "value": "car-burst", + "keywords": [ + "car", + "burst" + ] + }, + { + "value": "car-on", + "keywords": [ + "car", + "on" + ] + }, + { + "value": "car-rear", + "keywords": [ + "car", + "rear" + ] + }, + { + "value": "car-side", + "keywords": [ + "car", + "side" + ] + }, + { + "value": "car-tunnel", + "keywords": [ + "car", + "tunnel" + ] + }, + { + "value": "caravan" + }, + { + "value": "caret-down", + "keywords": [ + "caret", + "down" + ] + }, + { + "value": "caret-left", + "keywords": [ + "caret", + "left" + ] + }, + { + "value": "caret-right", + "keywords": [ + "caret", + "right" + ] + }, + { + "value": "caret-up", + "keywords": [ + "caret", + "up" + ] + }, + { + "value": "carrot" + }, + { + "value": "cart-arrow-down", + "keywords": [ + "cart", + "arrow", + "down" + ] + }, + { + "value": "cart-flatbed", + "keywords": [ + "cart", + "flatbed" + ] + }, + { + "value": "cart-flatbed-suitcase", + "keywords": [ + "cart", + "flatbed", + "suitcase" + ] + }, + { + "value": "cart-plus", + "keywords": [ + "cart", + "plus" + ] + }, + { + "value": "cart-shopping", + "keywords": [ + "cart", + "shopping" + ] + }, + { + "value": "cash-register", + "keywords": [ + "cash", + "register" + ] + }, + { + "value": "cat" + }, + { + "value": "cedi-sign", + "keywords": [ + "cedi", + "sign" + ] + }, + { + "value": "cent-sign", + "keywords": [ + "cent", + "sign" + ] + }, + { + "value": "certificate" + }, + { + "value": "chair" + }, + { + "value": "chalkboard" + }, + { + "value": "chalkboard-user", + "keywords": [ + "chalkboard", + "user" + ] + }, + { + "value": "champagne-glasses", + "keywords": [ + "champagne", + "glasses" + ] + }, + { + "value": "charging-station", + "keywords": [ + "charging", + "station" + ] + }, + { + "value": "chart-area", + "keywords": [ + "chart", + "area" + ] + }, + { + "value": "chart-bar", + "keywords": [ + "chart", + "bar" + ] + }, + { + "value": "chart-column", + "keywords": [ + "chart", + "column" + ] + }, + { + "value": "chart-gantt", + "keywords": [ + "chart", + "gantt" + ] + }, + { + "value": "chart-line", + "keywords": [ + "chart", + "line" + ] + }, + { + "value": "chart-pie", + "keywords": [ + "chart", + "pie" + ] + }, + { + "value": "chart-simple", + "keywords": [ + "chart", + "simple" + ] + }, + { + "value": "check" + }, + { + "value": "check-double", + "keywords": [ + "check", + "double" + ] + }, + { + "value": "check-to-slot", + "keywords": [ + "check", + "to", + "slot" + ] + }, + { + "value": "cheese" + }, + { + "value": "chess" + }, + { + "value": "chess-bishop", + "keywords": [ + "chess", + "bishop" + ] + }, + { + "value": "chess-board", + "keywords": [ + "chess", + "board" + ] + }, + { + "value": "chess-king", + "keywords": [ + "chess", + "king" + ] + }, + { + "value": "chess-knight", + "keywords": [ + "chess", + "knight" + ] + }, + { + "value": "chess-pawn", + "keywords": [ + "chess", + "pawn" + ] + }, + { + "value": "chess-queen", + "keywords": [ + "chess", + "queen" + ] + }, + { + "value": "chess-rook", + "keywords": [ + "chess", + "rook" + ] + }, + { + "value": "chevron-down", + "keywords": [ + "chevron", + "down" + ] + }, + { + "value": "chevron-left", + "keywords": [ + "chevron", + "left" + ] + }, + { + "value": "chevron-right", + "keywords": [ + "chevron", + "right" + ] + }, + { + "value": "chevron-up", + "keywords": [ + "chevron", + "up" + ] + }, + { + "value": "child" + }, + { + "value": "child-combatant", + "keywords": [ + "child", + "combatant" + ] + }, + { + "value": "child-dress", + "keywords": [ + "child", + "dress" + ] + }, + { + "value": "child-reaching", + "keywords": [ + "child", + "reaching" + ] + }, + { + "value": "children" + }, + { + "value": "church" + }, + { + "value": "circle" + }, + { + "value": "circle-arrow-down", + "keywords": [ + "circle", + "arrow", + "down" + ] + }, + { + "value": "circle-arrow-left", + "keywords": [ + "circle", + "arrow", + "left" + ] + }, + { + "value": "circle-arrow-right", + "keywords": [ + "circle", + "arrow", + "right" + ] + }, + { + "value": "circle-arrow-up", + "keywords": [ + "circle", + "arrow", + "up" + ] + }, + { + "value": "circle-check", + "keywords": [ + "circle", + "check" + ] + }, + { + "value": "circle-chevron-down", + "keywords": [ + "circle", + "chevron", + "down" + ] + }, + { + "value": "circle-chevron-left", + "keywords": [ + "circle", + "chevron", + "left" + ] + }, + { + "value": "circle-chevron-right", + "keywords": [ + "circle", + "chevron", + "right" + ] + }, + { + "value": "circle-chevron-up", + "keywords": [ + "circle", + "chevron", + "up" + ] + }, + { + "value": "circle-dollar-to-slot", + "keywords": [ + "circle", + "dollar", + "to", + "slot" + ] + }, + { + "value": "circle-dot", + "keywords": [ + "circle", + "dot" + ] + }, + { + "value": "circle-down", + "keywords": [ + "circle", + "down" + ] + }, + { + "value": "circle-exclamation", + "keywords": [ + "circle", + "exclamation" + ] + }, + { + "value": "circle-h" + }, + { + "value": "circle-half-stroke", + "keywords": [ + "circle", + "half", + "stroke" + ] + }, + { + "value": "circle-info", + "keywords": [ + "circle", + "info" + ] + }, + { + "value": "circle-left", + "keywords": [ + "circle", + "left" + ] + }, + { + "value": "circle-minus", + "keywords": [ + "circle", + "minus" + ] + }, + { + "value": "circle-nodes", + "keywords": [ + "circle", + "nodes" + ] + }, + { + "value": "circle-notch", + "keywords": [ + "circle", + "notch" + ] + }, + { + "value": "circle-pause", + "keywords": [ + "circle", + "pause" + ] + }, + { + "value": "circle-play", + "keywords": [ + "circle", + "play" + ] + }, + { + "value": "circle-plus", + "keywords": [ + "circle", + "plus" + ] + }, + { + "value": "circle-question", + "keywords": [ + "circle", + "question" + ] + }, + { + "value": "circle-radiation", + "keywords": [ + "circle", + "radiation" + ] + }, + { + "value": "circle-right", + "keywords": [ + "circle", + "right" + ] + }, + { + "value": "circle-stop", + "keywords": [ + "circle", + "stop" + ] + }, + { + "value": "circle-up", + "keywords": [ + "circle", + "up" + ] + }, + { + "value": "circle-user", + "keywords": [ + "circle", + "user" + ] + }, + { + "value": "circle-xmark", + "keywords": [ + "circle", + "xmark" + ] + }, + { + "value": "city" + }, + { + "value": "clapperboard" + }, + { + "value": "clipboard" + }, + { + "value": "clipboard-check", + "keywords": [ + "clipboard", + "check" + ] + }, + { + "value": "clipboard-list", + "keywords": [ + "clipboard", + "list" + ] + }, + { + "value": "clipboard-question", + "keywords": [ + "clipboard", + "question" + ] + }, + { + "value": "clipboard-user", + "keywords": [ + "clipboard", + "user" + ] + }, + { + "value": "clock" + }, + { + "value": "clock-rotate-left", + "keywords": [ + "clock", + "rotate", + "left" + ] + }, + { + "value": "clone" + }, + { + "value": "closed-captioning", + "keywords": [ + "closed", + "captioning" + ] + }, + { + "value": "cloud" + }, + { + "value": "cloud-arrow-down", + "keywords": [ + "cloud", + "arrow", + "down" + ] + }, + { + "value": "cloud-arrow-up", + "keywords": [ + "cloud", + "arrow", + "up" + ] + }, + { + "value": "cloud-bolt", + "keywords": [ + "cloud", + "bolt" + ] + }, + { + "value": "cloud-meatball", + "keywords": [ + "cloud", + "meatball" + ] + }, + { + "value": "cloud-moon", + "keywords": [ + "cloud", + "moon" + ] + }, + { + "value": "cloud-moon-rain", + "keywords": [ + "cloud", + "moon", + "rain" + ] + }, + { + "value": "cloud-rain", + "keywords": [ + "cloud", + "rain" + ] + }, + { + "value": "cloud-showers-heavy", + "keywords": [ + "cloud", + "showers", + "heavy" + ] + }, + { + "value": "cloud-showers-water", + "keywords": [ + "cloud", + "showers", + "water" + ] + }, + { + "value": "cloud-sun", + "keywords": [ + "cloud", + "sun" + ] + }, + { + "value": "cloud-sun-rain", + "keywords": [ + "cloud", + "sun", + "rain" + ] + }, + { + "value": "clover" + }, + { + "value": "code" + }, + { + "value": "code-branch", + "keywords": [ + "code", + "branch" + ] + }, + { + "value": "code-commit", + "keywords": [ + "code", + "commit" + ] + }, + { + "value": "code-compare", + "keywords": [ + "code", + "compare" + ] + }, + { + "value": "code-fork", + "keywords": [ + "code", + "fork" + ] + }, + { + "value": "code-merge", + "keywords": [ + "code", + "merge" + ] + }, + { + "value": "code-pull-request", + "keywords": [ + "code", + "pull", + "request" + ] + }, + { + "value": "coins" + }, + { + "value": "colon-sign", + "keywords": [ + "colon", + "sign" + ] + }, + { + "value": "comment" + }, + { + "value": "comment-dollar", + "keywords": [ + "comment", + "dollar" + ] + }, + { + "value": "comment-dots", + "keywords": [ + "comment", + "dots" + ] + }, + { + "value": "comment-medical", + "keywords": [ + "comment", + "medical" + ] + }, + { + "value": "comment-slash", + "keywords": [ + "comment", + "slash" + ] + }, + { + "value": "comment-sms", + "keywords": [ + "comment", + "sms" + ] + }, + { + "value": "comments" + }, + { + "value": "comments-dollar", + "keywords": [ + "comments", + "dollar" + ] + }, + { + "value": "compact-disc", + "keywords": [ + "compact", + "disc" + ] + }, + { + "value": "compass" + }, + { + "value": "compass-drafting", + "keywords": [ + "compass", + "drafting" + ] + }, + { + "value": "compress" + }, + { + "value": "computer" + }, + { + "value": "computer-mouse", + "keywords": [ + "computer", + "mouse" + ] + }, + { + "value": "cookie" + }, + { + "value": "cookie-bite", + "keywords": [ + "cookie", + "bite" + ] + }, + { + "value": "copy" + }, + { + "value": "copyright" + }, + { + "value": "couch" + }, + { + "value": "cow" + }, + { + "value": "credit-card", + "keywords": [ + "credit", + "card" + ] + }, + { + "value": "crop" + }, + { + "value": "crop-simple", + "keywords": [ + "crop", + "simple" + ] + }, + { + "value": "cross" + }, + { + "value": "crosshairs" + }, + { + "value": "crow" + }, + { + "value": "crown" + }, + { + "value": "crutch" + }, + { + "value": "cruzeiro-sign", + "keywords": [ + "cruzeiro", + "sign" + ] + }, + { + "value": "cube" + }, + { + "value": "cubes" + }, + { + "value": "cubes-stacked", + "keywords": [ + "cubes", + "stacked" + ] + }, + { + "value": "d" + }, + { + "value": "database" + }, + { + "value": "delete-left", + "keywords": [ + "delete", + "left" + ] + }, + { + "value": "democrat" + }, + { + "value": "desktop" + }, + { + "value": "dharmachakra" + }, + { + "value": "diagram-next", + "keywords": [ + "diagram", + "next" + ] + }, + { + "value": "diagram-predecessor", + "keywords": [ + "diagram", + "predecessor" + ] + }, + { + "value": "diagram-project", + "keywords": [ + "diagram", + "project" + ] + }, + { + "value": "diagram-successor", + "keywords": [ + "diagram", + "successor" + ] + }, + { + "value": "diamond" + }, + { + "value": "diamond-turn-right", + "keywords": [ + "diamond", + "turn", + "right" + ] + }, + { + "value": "dice" + }, + { + "value": "dice-d20", + "keywords": [ + "dice", + "d20" + ] + }, + { + "value": "dice-d6", + "keywords": [ + "dice", + "d6" + ] + }, + { + "value": "dice-five", + "keywords": [ + "dice", + "five" + ] + }, + { + "value": "dice-four", + "keywords": [ + "dice", + "four" + ] + }, + { + "value": "dice-one", + "keywords": [ + "dice", + "one" + ] + }, + { + "value": "dice-six", + "keywords": [ + "dice", + "six" + ] + }, + { + "value": "dice-three", + "keywords": [ + "dice", + "three" + ] + }, + { + "value": "dice-two", + "keywords": [ + "dice", + "two" + ] + }, + { + "value": "disease" + }, + { + "value": "display" + }, + { + "value": "divide" + }, + { + "value": "dna" + }, + { + "value": "dog" + }, + { + "value": "dollar-sign", + "keywords": [ + "dollar", + "sign" + ] + }, + { + "value": "dolly" + }, + { + "value": "dong-sign", + "keywords": [ + "dong", + "sign" + ] + }, + { + "value": "door-closed", + "keywords": [ + "door", + "closed" + ] + }, + { + "value": "door-open", + "keywords": [ + "door", + "open" + ] + }, + { + "value": "dove" + }, + { + "value": "down-left-and-up-right-to-center", + "keywords": [ + "down", + "left", + "and", + "up", + "right", + "to", + "center" + ] + }, + { + "value": "down-long", + "keywords": [ + "down", + "long" + ] + }, + { + "value": "download" + }, + { + "value": "dragon" + }, + { + "value": "draw-polygon", + "keywords": [ + "draw", + "polygon" + ] + }, + { + "value": "droplet" + }, + { + "value": "droplet-slash", + "keywords": [ + "droplet", + "slash" + ] + }, + { + "value": "drum" + }, + { + "value": "drum-steelpan", + "keywords": [ + "drum", + "steelpan" + ] + }, + { + "value": "drumstick-bite", + "keywords": [ + "drumstick", + "bite" + ] + }, + { + "value": "dumbbell" + }, + { + "value": "dumpster" + }, + { + "value": "dumpster-fire", + "keywords": [ + "dumpster", + "fire" + ] + }, + { + "value": "dungeon" + }, + { + "value": "e" + }, + { + "value": "ear-deaf", + "keywords": [ + "ear", + "deaf" + ] + }, + { + "value": "ear-listen", + "keywords": [ + "ear", + "listen" + ] + }, + { + "value": "earth-africa", + "keywords": [ + "earth", + "africa" + ] + }, + { + "value": "earth-americas", + "keywords": [ + "earth", + "americas" + ] + }, + { + "value": "earth-asia", + "keywords": [ + "earth", + "asia" + ] + }, + { + "value": "earth-europe", + "keywords": [ + "earth", + "europe" + ] + }, + { + "value": "earth-oceania", + "keywords": [ + "earth", + "oceania" + ] + }, + { + "value": "egg" + }, + { + "value": "eject" + }, + { + "value": "elevator" + }, + { + "value": "ellipsis" + }, + { + "value": "ellipsis-vertical", + "keywords": [ + "ellipsis", + "vertical" + ] + }, + { + "value": "envelope" + }, + { + "value": "envelope-circle-check", + "keywords": [ + "envelope", + "circle", + "check" + ] + }, + { + "value": "envelope-open", + "keywords": [ + "envelope", + "open" + ] + }, + { + "value": "envelope-open-text", + "keywords": [ + "envelope", + "open", + "text" + ] + }, + { + "value": "envelopes-bulk", + "keywords": [ + "envelopes", + "bulk" + ] + }, + { + "value": "equals" + }, + { + "value": "eraser" + }, + { + "value": "ethernet" + }, + { + "value": "euro-sign", + "keywords": [ + "euro", + "sign" + ] + }, + { + "value": "exclamation" + }, + { + "value": "expand" + }, + { + "value": "explosion" + }, + { + "value": "eye" + }, + { + "value": "eye-dropper", + "keywords": [ + "eye", + "dropper" + ] + }, + { + "value": "eye-low-vision", + "keywords": [ + "eye", + "low", + "vision" + ] + }, + { + "value": "eye-slash", + "keywords": [ + "eye", + "slash" + ] + }, + { + "value": "f" + }, + { + "value": "face-angry", + "keywords": [ + "face", + "angry" + ] + }, + { + "value": "face-dizzy", + "keywords": [ + "face", + "dizzy" + ] + }, + { + "value": "face-flushed", + "keywords": [ + "face", + "flushed" + ] + }, + { + "value": "face-frown", + "keywords": [ + "face", + "frown" + ] + }, + { + "value": "face-frown-open", + "keywords": [ + "face", + "frown", + "open" + ] + }, + { + "value": "face-grimace", + "keywords": [ + "face", + "grimace" + ] + }, + { + "value": "face-grin", + "keywords": [ + "face", + "grin" + ] + }, + { + "value": "face-grin-beam", + "keywords": [ + "face", + "grin", + "beam" + ] + }, + { + "value": "face-grin-beam-sweat", + "keywords": [ + "face", + "grin", + "beam", + "sweat" + ] + }, + { + "value": "face-grin-hearts", + "keywords": [ + "face", + "grin", + "hearts" + ] + }, + { + "value": "face-grin-squint", + "keywords": [ + "face", + "grin", + "squint" + ] + }, + { + "value": "face-grin-squint-tears", + "keywords": [ + "face", + "grin", + "squint", + "tears" + ] + }, + { + "value": "face-grin-stars", + "keywords": [ + "face", + "grin", + "stars" + ] + }, + { + "value": "face-grin-tears", + "keywords": [ + "face", + "grin", + "tears" + ] + }, + { + "value": "face-grin-tongue", + "keywords": [ + "face", + "grin", + "tongue" + ] + }, + { + "value": "face-grin-tongue-squint", + "keywords": [ + "face", + "grin", + "tongue", + "squint" + ] + }, + { + "value": "face-grin-tongue-wink", + "keywords": [ + "face", + "grin", + "tongue", + "wink" + ] + }, + { + "value": "face-grin-wide", + "keywords": [ + "face", + "grin", + "wide" + ] + }, + { + "value": "face-grin-wink", + "keywords": [ + "face", + "grin", + "wink" + ] + }, + { + "value": "face-kiss", + "keywords": [ + "face", + "kiss" + ] + }, + { + "value": "face-kiss-beam", + "keywords": [ + "face", + "kiss", + "beam" + ] + }, + { + "value": "face-kiss-wink-heart", + "keywords": [ + "face", + "kiss", + "wink", + "heart" + ] + }, + { + "value": "face-laugh", + "keywords": [ + "face", + "laugh" + ] + }, + { + "value": "face-laugh-beam", + "keywords": [ + "face", + "laugh", + "beam" + ] + }, + { + "value": "face-laugh-squint", + "keywords": [ + "face", + "laugh", + "squint" + ] + }, + { + "value": "face-laugh-wink", + "keywords": [ + "face", + "laugh", + "wink" + ] + }, + { + "value": "face-meh", + "keywords": [ + "face", + "meh" + ] + }, + { + "value": "face-meh-blank", + "keywords": [ + "face", + "meh", + "blank" + ] + }, + { + "value": "face-rolling-eyes", + "keywords": [ + "face", + "rolling", + "eyes" + ] + }, + { + "value": "face-sad-cry", + "keywords": [ + "face", + "sad", + "cry" + ] + }, + { + "value": "face-sad-tear", + "keywords": [ + "face", + "sad", + "tear" + ] + }, + { + "value": "face-smile", + "keywords": [ + "face", + "smile" + ] + }, + { + "value": "face-smile-beam", + "keywords": [ + "face", + "smile", + "beam" + ] + }, + { + "value": "face-smile-wink", + "keywords": [ + "face", + "smile", + "wink" + ] + }, + { + "value": "face-surprise", + "keywords": [ + "face", + "surprise" + ] + }, + { + "value": "face-tired", + "keywords": [ + "face", + "tired" + ] + }, + { + "value": "fan" + }, + { + "value": "faucet" + }, + { + "value": "faucet-drip", + "keywords": [ + "faucet", + "drip" + ] + }, + { + "value": "fax" + }, + { + "value": "feather" + }, + { + "value": "feather-pointed", + "keywords": [ + "feather", + "pointed" + ] + }, + { + "value": "ferry" + }, + { + "value": "file" + }, + { + "value": "file-arrow-down", + "keywords": [ + "file", + "arrow", + "down" + ] + }, + { + "value": "file-arrow-up", + "keywords": [ + "file", + "arrow", + "up" + ] + }, + { + "value": "file-audio", + "keywords": [ + "file", + "audio" + ] + }, + { + "value": "file-circle-check", + "keywords": [ + "file", + "circle", + "check" + ] + }, + { + "value": "file-circle-exclamation", + "keywords": [ + "file", + "circle", + "exclamation" + ] + }, + { + "value": "file-circle-minus", + "keywords": [ + "file", + "circle", + "minus" + ] + }, + { + "value": "file-circle-plus", + "keywords": [ + "file", + "circle", + "plus" + ] + }, + { + "value": "file-circle-question", + "keywords": [ + "file", + "circle", + "question" + ] + }, + { + "value": "file-circle-xmark", + "keywords": [ + "file", + "circle", + "xmark" + ] + }, + { + "value": "file-code", + "keywords": [ + "file", + "code" + ] + }, + { + "value": "file-contract", + "keywords": [ + "file", + "contract" + ] + }, + { + "value": "file-csv", + "keywords": [ + "file", + "csv" + ] + }, + { + "value": "file-excel", + "keywords": [ + "file", + "excel" + ] + }, + { + "value": "file-export", + "keywords": [ + "file", + "export" + ] + }, + { + "value": "file-image", + "keywords": [ + "file", + "image" + ] + }, + { + "value": "file-import", + "keywords": [ + "file", + "import" + ] + }, + { + "value": "file-invoice", + "keywords": [ + "file", + "invoice" + ] + }, + { + "value": "file-invoice-dollar", + "keywords": [ + "file", + "invoice", + "dollar" + ] + }, + { + "value": "file-lines", + "keywords": [ + "file", + "lines" + ] + }, + { + "value": "file-medical", + "keywords": [ + "file", + "medical" + ] + }, + { + "value": "file-pdf", + "keywords": [ + "file", + "pdf" + ] + }, + { + "value": "file-pen", + "keywords": [ + "file", + "pen" + ] + }, + { + "value": "file-powerpoint", + "keywords": [ + "file", + "powerpoint" + ] + }, + { + "value": "file-prescription", + "keywords": [ + "file", + "prescription" + ] + }, + { + "value": "file-shield", + "keywords": [ + "file", + "shield" + ] + }, + { + "value": "file-signature", + "keywords": [ + "file", + "signature" + ] + }, + { + "value": "file-video", + "keywords": [ + "file", + "video" + ] + }, + { + "value": "file-waveform", + "keywords": [ + "file", + "waveform" + ] + }, + { + "value": "file-word", + "keywords": [ + "file", + "word" + ] + }, + { + "value": "file-zipper", + "keywords": [ + "file", + "zipper" + ] + }, + { + "value": "fill" + }, + { + "value": "fill-drip", + "keywords": [ + "fill", + "drip" + ] + }, + { + "value": "film" + }, + { + "value": "filter" + }, + { + "value": "filter-circle-dollar", + "keywords": [ + "filter", + "circle", + "dollar" + ] + }, + { + "value": "filter-circle-xmark", + "keywords": [ + "filter", + "circle", + "xmark" + ] + }, + { + "value": "fingerprint" + }, + { + "value": "fire" + }, + { + "value": "fire-burner", + "keywords": [ + "fire", + "burner" + ] + }, + { + "value": "fire-extinguisher", + "keywords": [ + "fire", + "extinguisher" + ] + }, + { + "value": "fire-flame-curved", + "keywords": [ + "fire", + "flame", + "curved" + ] + }, + { + "value": "fire-flame-simple", + "keywords": [ + "fire", + "flame", + "simple" + ] + }, + { + "value": "fish" + }, + { + "value": "fish-fins", + "keywords": [ + "fish", + "fins" + ] + }, + { + "value": "flag" + }, + { + "value": "flag-checkered", + "keywords": [ + "flag", + "checkered" + ] + }, + { + "value": "flag-usa", + "keywords": [ + "flag", + "usa" + ] + }, + { + "value": "flask" + }, + { + "value": "flask-vial", + "keywords": [ + "flask", + "vial" + ] + }, + { + "value": "floppy-disk", + "keywords": [ + "floppy", + "disk" + ] + }, + { + "value": "florin-sign", + "keywords": [ + "florin", + "sign" + ] + }, + { + "value": "folder" + }, + { + "value": "folder-closed", + "keywords": [ + "folder", + "closed" + ] + }, + { + "value": "folder-minus", + "keywords": [ + "folder", + "minus" + ] + }, + { + "value": "folder-open", + "keywords": [ + "folder", + "open" + ] + }, + { + "value": "folder-plus", + "keywords": [ + "folder", + "plus" + ] + }, + { + "value": "folder-tree", + "keywords": [ + "folder", + "tree" + ] + }, + { + "value": "font" + }, + { + "value": "font-awesome", + "keywords": [ + "font", + "awesome" + ] + }, + { + "value": "football" + }, + { + "value": "forward" + }, + { + "value": "forward-fast", + "keywords": [ + "forward", + "fast" + ] + }, + { + "value": "forward-step", + "keywords": [ + "forward", + "step" + ] + }, + { + "value": "franc-sign", + "keywords": [ + "franc", + "sign" + ] + }, + { + "value": "frog" + }, + { + "value": "futbol" + }, + { + "value": "g" + }, + { + "value": "gamepad" + }, + { + "value": "gas-pump", + "keywords": [ + "gas", + "pump" + ] + }, + { + "value": "gauge" + }, + { + "value": "gauge-high", + "keywords": [ + "gauge", + "high" + ] + }, + { + "value": "gauge-simple", + "keywords": [ + "gauge", + "simple" + ] + }, + { + "value": "gauge-simple-high", + "keywords": [ + "gauge", + "simple", + "high" + ] + }, + { + "value": "gavel" + }, + { + "value": "gear" + }, + { + "value": "gears" + }, + { + "value": "gem" + }, + { + "value": "genderless" + }, + { + "value": "ghost" + }, + { + "value": "gift" + }, + { + "value": "gifts" + }, + { + "value": "glass-water", + "keywords": [ + "glass", + "water" + ] + }, + { + "value": "glass-water-droplet", + "keywords": [ + "glass", + "water", + "droplet" + ] + }, + { + "value": "glasses" + }, + { + "value": "globe" + }, + { + "value": "golf-ball-tee", + "keywords": [ + "golf", + "ball", + "tee" + ] + }, + { + "value": "gopuram" + }, + { + "value": "graduation-cap", + "keywords": [ + "graduation", + "cap" + ] + }, + { + "value": "greater-than", + "keywords": [ + "greater", + "than" + ] + }, + { + "value": "greater-than-equal", + "keywords": [ + "greater", + "than", + "equal" + ] + }, + { + "value": "grip" + }, + { + "value": "grip-lines", + "keywords": [ + "grip", + "lines" + ] + }, + { + "value": "grip-lines-vertical", + "keywords": [ + "grip", + "lines", + "vertical" + ] + }, + { + "value": "grip-vertical", + "keywords": [ + "grip", + "vertical" + ] + }, + { + "value": "group-arrows-rotate", + "keywords": [ + "group", + "arrows", + "rotate" + ] + }, + { + "value": "guarani-sign", + "keywords": [ + "guarani", + "sign" + ] + }, + { + "value": "guitar" + }, + { + "value": "gun" + }, + { + "value": "h" + }, + { + "value": "hammer" + }, + { + "value": "hamsa" + }, + { + "value": "hand" + }, + { + "value": "hand-back-fist", + "keywords": [ + "hand", + "back", + "fist" + ] + }, + { + "value": "hand-dots", + "keywords": [ + "hand", + "dots" + ] + }, + { + "value": "hand-fist", + "keywords": [ + "hand", + "fist" + ] + }, + { + "value": "hand-holding", + "keywords": [ + "hand", + "holding" + ] + }, + { + "value": "hand-holding-dollar", + "keywords": [ + "hand", + "holding", + "dollar" + ] + }, + { + "value": "hand-holding-droplet", + "keywords": [ + "hand", + "holding", + "droplet" + ] + }, + { + "value": "hand-holding-hand", + "keywords": [ + "hand", + "holding", + "hand" + ] + }, + { + "value": "hand-holding-heart", + "keywords": [ + "hand", + "holding", + "heart" + ] + }, + { + "value": "hand-holding-medical", + "keywords": [ + "hand", + "holding", + "medical" + ] + }, + { + "value": "hand-lizard", + "keywords": [ + "hand", + "lizard" + ] + }, + { + "value": "hand-middle-finger", + "keywords": [ + "hand", + "middle", + "finger" + ] + }, + { + "value": "hand-peace", + "keywords": [ + "hand", + "peace" + ] + }, + { + "value": "hand-point-down", + "keywords": [ + "hand", + "point", + "down" + ] + }, + { + "value": "hand-point-left", + "keywords": [ + "hand", + "point", + "left" + ] + }, + { + "value": "hand-point-right", + "keywords": [ + "hand", + "point", + "right" + ] + }, + { + "value": "hand-point-up", + "keywords": [ + "hand", + "point", + "up" + ] + }, + { + "value": "hand-pointer", + "keywords": [ + "hand", + "pointer" + ] + }, + { + "value": "hand-scissors", + "keywords": [ + "hand", + "scissors" + ] + }, + { + "value": "hand-sparkles", + "keywords": [ + "hand", + "sparkles" + ] + }, + { + "value": "hand-spock", + "keywords": [ + "hand", + "spock" + ] + }, + { + "value": "handcuffs" + }, + { + "value": "hands" + }, + { + "value": "hands-asl-interpreting", + "keywords": [ + "hands", + "asl", + "interpreting" + ] + }, + { + "value": "hands-bound", + "keywords": [ + "hands", + "bound" + ] + }, + { + "value": "hands-bubbles", + "keywords": [ + "hands", + "bubbles" + ] + }, + { + "value": "hands-clapping", + "keywords": [ + "hands", + "clapping" + ] + }, + { + "value": "hands-holding", + "keywords": [ + "hands", + "holding" + ] + }, + { + "value": "hands-holding-child", + "keywords": [ + "hands", + "holding", + "child" + ] + }, + { + "value": "hands-holding-circle", + "keywords": [ + "hands", + "holding", + "circle" + ] + }, + { + "value": "hands-praying", + "keywords": [ + "hands", + "praying" + ] + }, + { + "value": "handshake" + }, + { + "value": "handshake-angle", + "keywords": [ + "handshake", + "angle" + ] + }, + { + "value": "handshake-simple", + "keywords": [ + "handshake", + "simple" + ] + }, + { + "value": "handshake-simple-slash", + "keywords": [ + "handshake", + "simple", + "slash" + ] + }, + { + "value": "handshake-slash", + "keywords": [ + "handshake", + "slash" + ] + }, + { + "value": "hanukiah" + }, + { + "value": "hard-drive", + "keywords": [ + "hard", + "drive" + ] + }, + { + "value": "hashtag" + }, + { + "value": "hat-cowboy", + "keywords": [ + "hat", + "cowboy" + ] + }, + { + "value": "hat-cowboy-side", + "keywords": [ + "hat", + "cowboy", + "side" + ] + }, + { + "value": "hat-wizard", + "keywords": [ + "hat", + "wizard" + ] + }, + { + "value": "head-side-cough", + "keywords": [ + "head", + "side", + "cough" + ] + }, + { + "value": "head-side-cough-slash", + "keywords": [ + "head", + "side", + "cough", + "slash" + ] + }, + { + "value": "head-side-mask", + "keywords": [ + "head", + "side", + "mask" + ] + }, + { + "value": "head-side-virus", + "keywords": [ + "head", + "side", + "virus" + ] + }, + { + "value": "heading" + }, + { + "value": "headphones" + }, + { + "value": "headphones-simple", + "keywords": [ + "headphones", + "simple" + ] + }, + { + "value": "headset" + }, + { + "value": "heart" + }, + { + "value": "heart-circle-bolt", + "keywords": [ + "heart", + "circle", + "bolt" + ] + }, + { + "value": "heart-circle-check", + "keywords": [ + "heart", + "circle", + "check" + ] + }, + { + "value": "heart-circle-exclamation", + "keywords": [ + "heart", + "circle", + "exclamation" + ] + }, + { + "value": "heart-circle-minus", + "keywords": [ + "heart", + "circle", + "minus" + ] + }, + { + "value": "heart-circle-plus", + "keywords": [ + "heart", + "circle", + "plus" + ] + }, + { + "value": "heart-circle-xmark", + "keywords": [ + "heart", + "circle", + "xmark" + ] + }, + { + "value": "heart-crack", + "keywords": [ + "heart", + "crack" + ] + }, + { + "value": "heart-pulse", + "keywords": [ + "heart", + "pulse" + ] + }, + { + "value": "helicopter" + }, + { + "value": "helicopter-symbol", + "keywords": [ + "helicopter", + "symbol" + ] + }, + { + "value": "helmet-safety", + "keywords": [ + "helmet", + "safety" + ] + }, + { + "value": "helmet-un", + "keywords": [ + "helmet", + "un" + ] + }, + { + "value": "highlighter" + }, + { + "value": "hill-avalanche", + "keywords": [ + "hill", + "avalanche" + ] + }, + { + "value": "hill-rockslide", + "keywords": [ + "hill", + "rockslide" + ] + }, + { + "value": "hippo" + }, + { + "value": "hockey-puck", + "keywords": [ + "hockey", + "puck" + ] + }, + { + "value": "holly-berry", + "keywords": [ + "holly", + "berry" + ] + }, + { + "value": "horse" + }, + { + "value": "horse-head", + "keywords": [ + "horse", + "head" + ] + }, + { + "value": "hospital" + }, + { + "value": "hospital-user", + "keywords": [ + "hospital", + "user" + ] + }, + { + "value": "hot-tub-person", + "keywords": [ + "hot", + "tub", + "person" + ] + }, + { + "value": "hotdog" + }, + { + "value": "hotel" + }, + { + "value": "hourglass" + }, + { + "value": "hourglass-end", + "keywords": [ + "hourglass", + "end" + ] + }, + { + "value": "hourglass-half", + "keywords": [ + "hourglass", + "half" + ] + }, + { + "value": "hourglass-start", + "keywords": [ + "hourglass", + "start" + ] + }, + { + "value": "house" + }, + { + "value": "house-chimney", + "keywords": [ + "house", + "chimney" + ] + }, + { + "value": "house-chimney-crack", + "keywords": [ + "house", + "chimney", + "crack" + ] + }, + { + "value": "house-chimney-medical", + "keywords": [ + "house", + "chimney", + "medical" + ] + }, + { + "value": "house-chimney-user", + "keywords": [ + "house", + "chimney", + "user" + ] + }, + { + "value": "house-chimney-window", + "keywords": [ + "house", + "chimney", + "window" + ] + }, + { + "value": "house-circle-check", + "keywords": [ + "house", + "circle", + "check" + ] + }, + { + "value": "house-circle-exclamation", + "keywords": [ + "house", + "circle", + "exclamation" + ] + }, + { + "value": "house-circle-xmark", + "keywords": [ + "house", + "circle", + "xmark" + ] + }, + { + "value": "house-crack", + "keywords": [ + "house", + "crack" + ] + }, + { + "value": "house-fire", + "keywords": [ + "house", + "fire" + ] + }, + { + "value": "house-flag", + "keywords": [ + "house", + "flag" + ] + }, + { + "value": "house-flood-water", + "keywords": [ + "house", + "flood", + "water" + ] + }, + { + "value": "house-flood-water-circle-arrow-right", + "keywords": [ + "house", + "flood", + "water", + "circle", + "arrow", + "right" + ] + }, + { + "value": "house-laptop", + "keywords": [ + "house", + "laptop" + ] + }, + { + "value": "house-lock", + "keywords": [ + "house", + "lock" + ] + }, + { + "value": "house-medical", + "keywords": [ + "house", + "medical" + ] + }, + { + "value": "house-medical-circle-check", + "keywords": [ + "house", + "medical", + "circle", + "check" + ] + }, + { + "value": "house-medical-circle-exclamation", + "keywords": [ + "house", + "medical", + "circle", + "exclamation" + ] + }, + { + "value": "house-medical-circle-xmark", + "keywords": [ + "house", + "medical", + "circle", + "xmark" + ] + }, + { + "value": "house-medical-flag", + "keywords": [ + "house", + "medical", + "flag" + ] + }, + { + "value": "house-signal", + "keywords": [ + "house", + "signal" + ] + }, + { + "value": "house-tsunami", + "keywords": [ + "house", + "tsunami" + ] + }, + { + "value": "house-user", + "keywords": [ + "house", + "user" + ] + }, + { + "value": "hryvnia-sign", + "keywords": [ + "hryvnia", + "sign" + ] + }, + { + "value": "hurricane" + }, + { + "value": "i" + }, + { + "value": "i-cursor" + }, + { + "value": "ice-cream", + "keywords": [ + "ice", + "cream" + ] + }, + { + "value": "icicles" + }, + { + "value": "icons" + }, + { + "value": "id-badge", + "keywords": [ + "id", + "badge" + ] + }, + { + "value": "id-card", + "keywords": [ + "id", + "card" + ] + }, + { + "value": "id-card-clip", + "keywords": [ + "id", + "card", + "clip" + ] + }, + { + "value": "igloo" + }, + { + "value": "image" + }, + { + "value": "image-portrait", + "keywords": [ + "image", + "portrait" + ] + }, + { + "value": "images" + }, + { + "value": "inbox" + }, + { + "value": "indent" + }, + { + "value": "indian-rupee-sign", + "keywords": [ + "indian", + "rupee", + "sign" + ] + }, + { + "value": "industry" + }, + { + "value": "infinity" + }, + { + "value": "info" + }, + { + "value": "italic" + }, + { + "value": "j" + }, + { + "value": "jar" + }, + { + "value": "jar-wheat", + "keywords": [ + "jar", + "wheat" + ] + }, + { + "value": "jedi" + }, + { + "value": "jet-fighter", + "keywords": [ + "jet", + "fighter" + ] + }, + { + "value": "jet-fighter-up", + "keywords": [ + "jet", + "fighter", + "up" + ] + }, + { + "value": "joint" + }, + { + "value": "jug-detergent", + "keywords": [ + "jug", + "detergent" + ] + }, + { + "value": "k" + }, + { + "value": "kaaba" + }, + { + "value": "key" + }, + { + "value": "keyboard" + }, + { + "value": "khanda" + }, + { + "value": "kip-sign", + "keywords": [ + "kip", + "sign" + ] + }, + { + "value": "kit-medical", + "keywords": [ + "kit", + "medical" + ] + }, + { + "value": "kitchen-set", + "keywords": [ + "kitchen", + "set" + ] + }, + { + "value": "kiwi-bird", + "keywords": [ + "kiwi", + "bird" + ] + }, + { + "value": "l" + }, + { + "value": "land-mine-on", + "keywords": [ + "land", + "mine", + "on" + ] + }, + { + "value": "landmark" + }, + { + "value": "landmark-dome", + "keywords": [ + "landmark", + "dome" + ] + }, + { + "value": "landmark-flag", + "keywords": [ + "landmark", + "flag" + ] + }, + { + "value": "language" + }, + { + "value": "laptop" + }, + { + "value": "laptop-code", + "keywords": [ + "laptop", + "code" + ] + }, + { + "value": "laptop-file", + "keywords": [ + "laptop", + "file" + ] + }, + { + "value": "laptop-medical", + "keywords": [ + "laptop", + "medical" + ] + }, + { + "value": "lari-sign", + "keywords": [ + "lari", + "sign" + ] + }, + { + "value": "layer-group", + "keywords": [ + "layer", + "group" + ] + }, + { + "value": "leaf" + }, + { + "value": "left-long", + "keywords": [ + "left", + "long" + ] + }, + { + "value": "left-right", + "keywords": [ + "left", + "right" + ] + }, + { + "value": "lemon" + }, + { + "value": "less-than", + "keywords": [ + "less", + "than" + ] + }, + { + "value": "less-than-equal", + "keywords": [ + "less", + "than", + "equal" + ] + }, + { + "value": "life-ring", + "keywords": [ + "life", + "ring" + ] + }, + { + "value": "lightbulb" + }, + { + "value": "lines-leaning", + "keywords": [ + "lines", + "leaning" + ] + }, + { + "value": "link" + }, + { + "value": "link-slash", + "keywords": [ + "link", + "slash" + ] + }, + { + "value": "lira-sign", + "keywords": [ + "lira", + "sign" + ] + }, + { + "value": "list" + }, + { + "value": "list-check", + "keywords": [ + "list", + "check" + ] + }, + { + "value": "list-ol", + "keywords": [ + "list", + "ol" + ] + }, + { + "value": "list-ul", + "keywords": [ + "list", + "ul" + ] + }, + { + "value": "litecoin-sign", + "keywords": [ + "litecoin", + "sign" + ] + }, + { + "value": "location-arrow", + "keywords": [ + "location", + "arrow" + ] + }, + { + "value": "location-crosshairs", + "keywords": [ + "location", + "crosshairs" + ] + }, + { + "value": "location-dot", + "keywords": [ + "location", + "dot" + ] + }, + { + "value": "location-pin", + "keywords": [ + "location", + "pin" + ] + }, + { + "value": "location-pin-lock", + "keywords": [ + "location", + "pin", + "lock" + ] + }, + { + "value": "lock" + }, + { + "value": "lock-open", + "keywords": [ + "lock", + "open" + ] + }, + { + "value": "locust" + }, + { + "value": "lungs" + }, + { + "value": "lungs-virus", + "keywords": [ + "lungs", + "virus" + ] + }, + { + "value": "m" + }, + { + "value": "magnet" + }, + { + "value": "magnifying-glass", + "keywords": [ + "magnifying", + "glass" + ] + }, + { + "value": "magnifying-glass-arrow-right", + "keywords": [ + "magnifying", + "glass", + "arrow", + "right" + ] + }, + { + "value": "magnifying-glass-chart", + "keywords": [ + "magnifying", + "glass", + "chart" + ] + }, + { + "value": "magnifying-glass-dollar", + "keywords": [ + "magnifying", + "glass", + "dollar" + ] + }, + { + "value": "magnifying-glass-location", + "keywords": [ + "magnifying", + "glass", + "location" + ] + }, + { + "value": "magnifying-glass-minus", + "keywords": [ + "magnifying", + "glass", + "minus" + ] + }, + { + "value": "magnifying-glass-plus", + "keywords": [ + "magnifying", + "glass", + "plus" + ] + }, + { + "value": "manat-sign", + "keywords": [ + "manat", + "sign" + ] + }, + { + "value": "map" + }, + { + "value": "map-location", + "keywords": [ + "map", + "location" + ] + }, + { + "value": "map-location-dot", + "keywords": [ + "map", + "location", + "dot" + ] + }, + { + "value": "map-pin", + "keywords": [ + "map", + "pin" + ] + }, + { + "value": "marker" + }, + { + "value": "mars" + }, + { + "value": "mars-and-venus", + "keywords": [ + "mars", + "and", + "venus" + ] + }, + { + "value": "mars-and-venus-burst", + "keywords": [ + "mars", + "and", + "venus", + "burst" + ] + }, + { + "value": "mars-double", + "keywords": [ + "mars", + "double" + ] + }, + { + "value": "mars-stroke", + "keywords": [ + "mars", + "stroke" + ] + }, + { + "value": "mars-stroke-right", + "keywords": [ + "mars", + "stroke", + "right" + ] + }, + { + "value": "mars-stroke-up", + "keywords": [ + "mars", + "stroke", + "up" + ] + }, + { + "value": "martini-glass", + "keywords": [ + "martini", + "glass" + ] + }, + { + "value": "martini-glass-citrus", + "keywords": [ + "martini", + "glass", + "citrus" + ] + }, + { + "value": "martini-glass-empty", + "keywords": [ + "martini", + "glass", + "empty" + ] + }, + { + "value": "mask" + }, + { + "value": "mask-face", + "keywords": [ + "mask", + "face" + ] + }, + { + "value": "mask-ventilator", + "keywords": [ + "mask", + "ventilator" + ] + }, + { + "value": "masks-theater", + "keywords": [ + "masks", + "theater" + ] + }, + { + "value": "mattress-pillow", + "keywords": [ + "mattress", + "pillow" + ] + }, + { + "value": "maximize" + }, + { + "value": "medal" + }, + { + "value": "memory" + }, + { + "value": "menorah" + }, + { + "value": "mercury" + }, + { + "value": "message" + }, + { + "value": "meteor" + }, + { + "value": "microchip" + }, + { + "value": "microphone" + }, + { + "value": "microphone-lines", + "keywords": [ + "microphone", + "lines" + ] + }, + { + "value": "microphone-lines-slash", + "keywords": [ + "microphone", + "lines", + "slash" + ] + }, + { + "value": "microphone-slash", + "keywords": [ + "microphone", + "slash" + ] + }, + { + "value": "microscope" + }, + { + "value": "mill-sign", + "keywords": [ + "mill", + "sign" + ] + }, + { + "value": "minimize" + }, + { + "value": "minus" + }, + { + "value": "mitten" + }, + { + "value": "mobile" + }, + { + "value": "mobile-button", + "keywords": [ + "mobile", + "button" + ] + }, + { + "value": "mobile-retro", + "keywords": [ + "mobile", + "retro" + ] + }, + { + "value": "mobile-screen", + "keywords": [ + "mobile", + "screen" + ] + }, + { + "value": "mobile-screen-button", + "keywords": [ + "mobile", + "screen", + "button" + ] + }, + { + "value": "money-bill", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-transfer", + "keywords": [ + "money", + "bill", + "transfer" + ] + }, + { + "value": "money-bill-trend-up", + "keywords": [ + "money", + "bill", + "trend", + "up" + ] + }, + { + "value": "money-bill-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-wheat", + "keywords": [ + "money", + "bill", + "wheat" + ] + }, + { + "value": "money-bills", + "keywords": [ + "money", + "bills" + ] + }, + { + "value": "money-check", + "keywords": [ + "money", + "check" + ] + }, + { + "value": "money-check-dollar", + "keywords": [ + "money", + "check", + "dollar" + ] + }, + { + "value": "monument" + }, + { + "value": "moon" + }, + { + "value": "mortar-pestle", + "keywords": [ + "mortar", + "pestle" + ] + }, + { + "value": "mosque" + }, + { + "value": "mosquito" + }, + { + "value": "mosquito-net", + "keywords": [ + "mosquito", + "net" + ] + }, + { + "value": "motorcycle" + }, + { + "value": "mound" + }, + { + "value": "mountain" + }, + { + "value": "mountain-city", + "keywords": [ + "mountain", + "city" + ] + }, + { + "value": "mountain-sun", + "keywords": [ + "mountain", + "sun" + ] + }, + { + "value": "mug-hot", + "keywords": [ + "mug", + "hot" + ] + }, + { + "value": "mug-saucer", + "keywords": [ + "mug", + "saucer" + ] + }, + { + "value": "music" + }, + { + "value": "n" + }, + { + "value": "naira-sign", + "keywords": [ + "naira", + "sign" + ] + }, + { + "value": "network-wired", + "keywords": [ + "network", + "wired" + ] + }, + { + "value": "neuter" + }, + { + "value": "newspaper" + }, + { + "value": "not-equal", + "keywords": [ + "not", + "equal" + ] + }, + { + "value": "notdef" + }, + { + "value": "note-sticky", + "keywords": [ + "note", + "sticky" + ] + }, + { + "value": "notes-medical", + "keywords": [ + "notes", + "medical" + ] + }, + { + "value": "o" + }, + { + "value": "object-group", + "keywords": [ + "object", + "group" + ] + }, + { + "value": "object-ungroup", + "keywords": [ + "object", + "ungroup" + ] + }, + { + "value": "oil-can", + "keywords": [ + "oil", + "can" + ] + }, + { + "value": "oil-well", + "keywords": [ + "oil", + "well" + ] + }, + { + "value": "om" + }, + { + "value": "otter" + }, + { + "value": "outdent" + }, + { + "value": "p" + }, + { + "value": "pager" + }, + { + "value": "paint-roller", + "keywords": [ + "paint", + "roller" + ] + }, + { + "value": "paintbrush" + }, + { + "value": "palette" + }, + { + "value": "pallet" + }, + { + "value": "panorama" + }, + { + "value": "paper-plane", + "keywords": [ + "paper", + "plane" + ] + }, + { + "value": "paperclip" + }, + { + "value": "parachute-box", + "keywords": [ + "parachute", + "box" + ] + }, + { + "value": "paragraph" + }, + { + "value": "passport" + }, + { + "value": "paste" + }, + { + "value": "pause" + }, + { + "value": "paw" + }, + { + "value": "peace" + }, + { + "value": "pen" + }, + { + "value": "pen-clip", + "keywords": [ + "pen", + "clip" + ] + }, + { + "value": "pen-fancy", + "keywords": [ + "pen", + "fancy" + ] + }, + { + "value": "pen-nib", + "keywords": [ + "pen", + "nib" + ] + }, + { + "value": "pen-ruler", + "keywords": [ + "pen", + "ruler" + ] + }, + { + "value": "pen-to-square", + "keywords": [ + "pen", + "to", + "square" + ] + }, + { + "value": "pencil" + }, + { + "value": "people-arrows", + "keywords": [ + "people", + "arrows" + ] + }, + { + "value": "people-carry-box", + "keywords": [ + "people", + "carry", + "box" + ] + }, + { + "value": "people-group", + "keywords": [ + "people", + "group" + ] + }, + { + "value": "people-line", + "keywords": [ + "people", + "line" + ] + }, + { + "value": "people-pulling", + "keywords": [ + "people", + "pulling" + ] + }, + { + "value": "people-robbery", + "keywords": [ + "people", + "robbery" + ] + }, + { + "value": "people-roof", + "keywords": [ + "people", + "roof" + ] + }, + { + "value": "pepper-hot", + "keywords": [ + "pepper", + "hot" + ] + }, + { + "value": "percent" + }, + { + "value": "person" + }, + { + "value": "person-arrow-down-to-line", + "keywords": [ + "person", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "person-arrow-up-from-line", + "keywords": [ + "person", + "arrow", + "up", + "from", + "line" + ] + }, + { + "value": "person-biking", + "keywords": [ + "person", + "biking" + ] + }, + { + "value": "person-booth", + "keywords": [ + "person", + "booth" + ] + }, + { + "value": "person-breastfeeding", + "keywords": [ + "person", + "breastfeeding" + ] + }, + { + "value": "person-burst", + "keywords": [ + "person", + "burst" + ] + }, + { + "value": "person-cane", + "keywords": [ + "person", + "cane" + ] + }, + { + "value": "person-chalkboard", + "keywords": [ + "person", + "chalkboard" + ] + }, + { + "value": "person-circle-check", + "keywords": [ + "person", + "circle", + "check" + ] + }, + { + "value": "person-circle-exclamation", + "keywords": [ + "person", + "circle", + "exclamation" + ] + }, + { + "value": "person-circle-minus", + "keywords": [ + "person", + "circle", + "minus" + ] + }, + { + "value": "person-circle-plus", + "keywords": [ + "person", + "circle", + "plus" + ] + }, + { + "value": "person-circle-question", + "keywords": [ + "person", + "circle", + "question" + ] + }, + { + "value": "person-circle-xmark", + "keywords": [ + "person", + "circle", + "xmark" + ] + }, + { + "value": "person-digging", + "keywords": [ + "person", + "digging" + ] + }, + { + "value": "person-dots-from-line", + "keywords": [ + "person", + "dots", + "from", + "line" + ] + }, + { + "value": "person-dress", + "keywords": [ + "person", + "dress" + ] + }, + { + "value": "person-dress-burst", + "keywords": [ + "person", + "dress", + "burst" + ] + }, + { + "value": "person-drowning", + "keywords": [ + "person", + "drowning" + ] + }, + { + "value": "person-falling", + "keywords": [ + "person", + "falling" + ] + }, + { + "value": "person-falling-burst", + "keywords": [ + "person", + "falling", + "burst" + ] + }, + { + "value": "person-half-dress", + "keywords": [ + "person", + "half", + "dress" + ] + }, + { + "value": "person-harassing", + "keywords": [ + "person", + "harassing" + ] + }, + { + "value": "person-hiking", + "keywords": [ + "person", + "hiking" + ] + }, + { + "value": "person-military-pointing", + "keywords": [ + "person", + "military", + "pointing" + ] + }, + { + "value": "person-military-rifle", + "keywords": [ + "person", + "military", + "rifle" + ] + }, + { + "value": "person-military-to-person", + "keywords": [ + "person", + "military", + "to", + "person" + ] + }, + { + "value": "person-praying", + "keywords": [ + "person", + "praying" + ] + }, + { + "value": "person-pregnant", + "keywords": [ + "person", + "pregnant" + ] + }, + { + "value": "person-rays", + "keywords": [ + "person", + "rays" + ] + }, + { + "value": "person-rifle", + "keywords": [ + "person", + "rifle" + ] + }, + { + "value": "person-running", + "keywords": [ + "person", + "running" + ] + }, + { + "value": "person-shelter", + "keywords": [ + "person", + "shelter" + ] + }, + { + "value": "person-skating", + "keywords": [ + "person", + "skating" + ] + }, + { + "value": "person-skiing", + "keywords": [ + "person", + "skiing" + ] + }, + { + "value": "person-skiing-nordic", + "keywords": [ + "person", + "skiing", + "nordic" + ] + }, + { + "value": "person-snowboarding", + "keywords": [ + "person", + "snowboarding" + ] + }, + { + "value": "person-swimming", + "keywords": [ + "person", + "swimming" + ] + }, + { + "value": "person-through-window", + "keywords": [ + "person", + "through", + "window" + ] + }, + { + "value": "person-walking", + "keywords": [ + "person", + "walking" + ] + }, + { + "value": "person-walking-arrow-loop-left", + "keywords": [ + "person", + "walking", + "arrow", + "loop", + "left" + ] + }, + { + "value": "person-walking-arrow-right", + "keywords": [ + "person", + "walking", + "arrow", + "right" + ] + }, + { + "value": "person-walking-dashed-line-arrow-right", + "keywords": [ + "person", + "walking", + "dashed", + "line", + "arrow", + "right" + ] + }, + { + "value": "person-walking-luggage", + "keywords": [ + "person", + "walking", + "luggage" + ] + }, + { + "value": "person-walking-with-cane", + "keywords": [ + "person", + "walking", + "with", + "cane" + ] + }, + { + "value": "peseta-sign", + "keywords": [ + "peseta", + "sign" + ] + }, + { + "value": "peso-sign", + "keywords": [ + "peso", + "sign" + ] + }, + { + "value": "phone" + }, + { + "value": "phone-flip", + "keywords": [ + "phone", + "flip" + ] + }, + { + "value": "phone-slash", + "keywords": [ + "phone", + "slash" + ] + }, + { + "value": "phone-volume", + "keywords": [ + "phone", + "volume" + ] + }, + { + "value": "photo-film", + "keywords": [ + "photo", + "film" + ] + }, + { + "value": "piggy-bank", + "keywords": [ + "piggy", + "bank" + ] + }, + { + "value": "pills" + }, + { + "value": "pizza-slice", + "keywords": [ + "pizza", + "slice" + ] + }, + { + "value": "place-of-worship", + "keywords": [ + "place", + "of", + "worship" + ] + }, + { + "value": "plane" + }, + { + "value": "plane-arrival", + "keywords": [ + "plane", + "arrival" + ] + }, + { + "value": "plane-circle-check", + "keywords": [ + "plane", + "circle", + "check" + ] + }, + { + "value": "plane-circle-exclamation", + "keywords": [ + "plane", + "circle", + "exclamation" + ] + }, + { + "value": "plane-circle-xmark", + "keywords": [ + "plane", + "circle", + "xmark" + ] + }, + { + "value": "plane-departure", + "keywords": [ + "plane", + "departure" + ] + }, + { + "value": "plane-lock", + "keywords": [ + "plane", + "lock" + ] + }, + { + "value": "plane-slash", + "keywords": [ + "plane", + "slash" + ] + }, + { + "value": "plane-up", + "keywords": [ + "plane", + "up" + ] + }, + { + "value": "plant-wilt", + "keywords": [ + "plant", + "wilt" + ] + }, + { + "value": "plate-wheat", + "keywords": [ + "plate", + "wheat" + ] + }, + { + "value": "play" + }, + { + "value": "plug" + }, + { + "value": "plug-circle-bolt", + "keywords": [ + "plug", + "circle", + "bolt" + ] + }, + { + "value": "plug-circle-check", + "keywords": [ + "plug", + "circle", + "check" + ] + }, + { + "value": "plug-circle-exclamation", + "keywords": [ + "plug", + "circle", + "exclamation" + ] + }, + { + "value": "plug-circle-minus", + "keywords": [ + "plug", + "circle", + "minus" + ] + }, + { + "value": "plug-circle-plus", + "keywords": [ + "plug", + "circle", + "plus" + ] + }, + { + "value": "plug-circle-xmark", + "keywords": [ + "plug", + "circle", + "xmark" + ] + }, + { + "value": "plus" + }, + { + "value": "plus-minus", + "keywords": [ + "plus", + "minus" + ] + }, + { + "value": "podcast" + }, + { + "value": "poo" + }, + { + "value": "poo-storm", + "keywords": [ + "poo", + "storm" + ] + }, + { + "value": "poop" + }, + { + "value": "power-off", + "keywords": [ + "power", + "off" + ] + }, + { + "value": "prescription" + }, + { + "value": "prescription-bottle", + "keywords": [ + "prescription", + "bottle" + ] + }, + { + "value": "prescription-bottle-medical", + "keywords": [ + "prescription", + "bottle", + "medical" + ] + }, + { + "value": "print" + }, + { + "value": "pump-medical", + "keywords": [ + "pump", + "medical" + ] + }, + { + "value": "pump-soap", + "keywords": [ + "pump", + "soap" + ] + }, + { + "value": "puzzle-piece", + "keywords": [ + "puzzle", + "piece" + ] + }, + { + "value": "q" + }, + { + "value": "qrcode" + }, + { + "value": "question" + }, + { + "value": "quote-left", + "keywords": [ + "quote", + "left" + ] + }, + { + "value": "quote-right", + "keywords": [ + "quote", + "right" + ] + }, + { + "value": "r" + }, + { + "value": "radiation" + }, + { + "value": "radio" + }, + { + "value": "rainbow" + }, + { + "value": "ranking-star", + "keywords": [ + "ranking", + "star" + ] + }, + { + "value": "receipt" + }, + { + "value": "record-vinyl", + "keywords": [ + "record", + "vinyl" + ] + }, + { + "value": "rectangle-ad", + "keywords": [ + "rectangle", + "ad" + ] + }, + { + "value": "rectangle-list", + "keywords": [ + "rectangle", + "list" + ] + }, + { + "value": "rectangle-xmark", + "keywords": [ + "rectangle", + "xmark" + ] + }, + { + "value": "recycle" + }, + { + "value": "registered" + }, + { + "value": "repeat" + }, + { + "value": "reply" + }, + { + "value": "reply-all", + "keywords": [ + "reply", + "all" + ] + }, + { + "value": "republican" + }, + { + "value": "restroom" + }, + { + "value": "retweet" + }, + { + "value": "ribbon" + }, + { + "value": "right-from-bracket", + "keywords": [ + "right", + "from", + "bracket" + ] + }, + { + "value": "right-left", + "keywords": [ + "right", + "left" + ] + }, + { + "value": "right-long", + "keywords": [ + "right", + "long" + ] + }, + { + "value": "right-to-bracket", + "keywords": [ + "right", + "to", + "bracket" + ] + }, + { + "value": "ring" + }, + { + "value": "road" + }, + { + "value": "road-barrier", + "keywords": [ + "road", + "barrier" + ] + }, + { + "value": "road-bridge", + "keywords": [ + "road", + "bridge" + ] + }, + { + "value": "road-circle-check", + "keywords": [ + "road", + "circle", + "check" + ] + }, + { + "value": "road-circle-exclamation", + "keywords": [ + "road", + "circle", + "exclamation" + ] + }, + { + "value": "road-circle-xmark", + "keywords": [ + "road", + "circle", + "xmark" + ] + }, + { + "value": "road-lock", + "keywords": [ + "road", + "lock" + ] + }, + { + "value": "road-spikes", + "keywords": [ + "road", + "spikes" + ] + }, + { + "value": "robot" + }, + { + "value": "rocket" + }, + { + "value": "rotate" + }, + { + "value": "rotate-left", + "keywords": [ + "rotate", + "left" + ] + }, + { + "value": "rotate-right", + "keywords": [ + "rotate", + "right" + ] + }, + { + "value": "route" + }, + { + "value": "rss" + }, + { + "value": "ruble-sign", + "keywords": [ + "ruble", + "sign" + ] + }, + { + "value": "rug" + }, + { + "value": "ruler" + }, + { + "value": "ruler-combined", + "keywords": [ + "ruler", + "combined" + ] + }, + { + "value": "ruler-horizontal", + "keywords": [ + "ruler", + "horizontal" + ] + }, + { + "value": "ruler-vertical", + "keywords": [ + "ruler", + "vertical" + ] + }, + { + "value": "rupee-sign", + "keywords": [ + "rupee", + "sign" + ] + }, + { + "value": "rupiah-sign", + "keywords": [ + "rupiah", + "sign" + ] + }, + { + "value": "s" + }, + { + "value": "sack-dollar", + "keywords": [ + "sack", + "dollar" + ] + }, + { + "value": "sack-xmark", + "keywords": [ + "sack", + "xmark" + ] + }, + { + "value": "sailboat" + }, + { + "value": "satellite" + }, + { + "value": "satellite-dish", + "keywords": [ + "satellite", + "dish" + ] + }, + { + "value": "scale-balanced", + "keywords": [ + "scale", + "balanced" + ] + }, + { + "value": "scale-unbalanced", + "keywords": [ + "scale", + "unbalanced" + ] + }, + { + "value": "scale-unbalanced-flip", + "keywords": [ + "scale", + "unbalanced", + "flip" + ] + }, + { + "value": "school" + }, + { + "value": "school-circle-check", + "keywords": [ + "school", + "circle", + "check" + ] + }, + { + "value": "school-circle-exclamation", + "keywords": [ + "school", + "circle", + "exclamation" + ] + }, + { + "value": "school-circle-xmark", + "keywords": [ + "school", + "circle", + "xmark" + ] + }, + { + "value": "school-flag", + "keywords": [ + "school", + "flag" + ] + }, + { + "value": "school-lock", + "keywords": [ + "school", + "lock" + ] + }, + { + "value": "scissors" + }, + { + "value": "screwdriver" + }, + { + "value": "screwdriver-wrench", + "keywords": [ + "screwdriver", + "wrench" + ] + }, + { + "value": "scroll" + }, + { + "value": "scroll-torah", + "keywords": [ + "scroll", + "torah" + ] + }, + { + "value": "sd-card", + "keywords": [ + "sd", + "card" + ] + }, + { + "value": "section" + }, + { + "value": "seedling" + }, + { + "value": "server" + }, + { + "value": "shapes" + }, + { + "value": "share" + }, + { + "value": "share-from-square", + "keywords": [ + "share", + "from", + "square" + ] + }, + { + "value": "share-nodes", + "keywords": [ + "share", + "nodes" + ] + }, + { + "value": "sheet-plastic", + "keywords": [ + "sheet", + "plastic" + ] + }, + { + "value": "shekel-sign", + "keywords": [ + "shekel", + "sign" + ] + }, + { + "value": "shield" + }, + { + "value": "shield-cat", + "keywords": [ + "shield", + "cat" + ] + }, + { + "value": "shield-dog", + "keywords": [ + "shield", + "dog" + ] + }, + { + "value": "shield-halved", + "keywords": [ + "shield", + "halved" + ] + }, + { + "value": "shield-heart", + "keywords": [ + "shield", + "heart" + ] + }, + { + "value": "shield-virus", + "keywords": [ + "shield", + "virus" + ] + }, + { + "value": "ship" + }, + { + "value": "shirt" + }, + { + "value": "shoe-prints", + "keywords": [ + "shoe", + "prints" + ] + }, + { + "value": "shop" + }, + { + "value": "shop-lock", + "keywords": [ + "shop", + "lock" + ] + }, + { + "value": "shop-slash", + "keywords": [ + "shop", + "slash" + ] + }, + { + "value": "shower" + }, + { + "value": "shrimp" + }, + { + "value": "shuffle" + }, + { + "value": "shuttle-space", + "keywords": [ + "shuttle", + "space" + ] + }, + { + "value": "sign-hanging", + "keywords": [ + "sign", + "hanging" + ] + }, + { + "value": "signal" + }, + { + "value": "signature" + }, + { + "value": "signs-post", + "keywords": [ + "signs", + "post" + ] + }, + { + "value": "sim-card", + "keywords": [ + "sim", + "card" + ] + }, + { + "value": "sink" + }, + { + "value": "sitemap" + }, + { + "value": "skull" + }, + { + "value": "skull-crossbones", + "keywords": [ + "skull", + "crossbones" + ] + }, + { + "value": "slash" + }, + { + "value": "sleigh" + }, + { + "value": "sliders" + }, + { + "value": "smog" + }, + { + "value": "smoking" + }, + { + "value": "snowflake" + }, + { + "value": "snowman" + }, + { + "value": "snowplow" + }, + { + "value": "soap" + }, + { + "value": "socks" + }, + { + "value": "solar-panel", + "keywords": [ + "solar", + "panel" + ] + }, + { + "value": "sort" + }, + { + "value": "sort-down", + "keywords": [ + "sort", + "down" + ] + }, + { + "value": "sort-up", + "keywords": [ + "sort", + "up" + ] + }, + { + "value": "spa" + }, + { + "value": "spaghetti-monster-flying", + "keywords": [ + "spaghetti", + "monster", + "flying" + ] + }, + { + "value": "spell-check", + "keywords": [ + "spell", + "check" + ] + }, + { + "value": "spider" + }, + { + "value": "spinner" + }, + { + "value": "splotch" + }, + { + "value": "spoon" + }, + { + "value": "spray-can", + "keywords": [ + "spray", + "can" + ] + }, + { + "value": "spray-can-sparkles", + "keywords": [ + "spray", + "can", + "sparkles" + ] + }, + { + "value": "square" + }, + { + "value": "square-arrow-up-right", + "keywords": [ + "square", + "arrow", + "up", + "right" + ] + }, + { + "value": "square-caret-down", + "keywords": [ + "square", + "caret", + "down" + ] + }, + { + "value": "square-caret-left", + "keywords": [ + "square", + "caret", + "left" + ] + }, + { + "value": "square-caret-right", + "keywords": [ + "square", + "caret", + "right" + ] + }, + { + "value": "square-caret-up", + "keywords": [ + "square", + "caret", + "up" + ] + }, + { + "value": "square-check", + "keywords": [ + "square", + "check" + ] + }, + { + "value": "square-envelope", + "keywords": [ + "square", + "envelope" + ] + }, + { + "value": "square-full", + "keywords": [ + "square", + "full" + ] + }, + { + "value": "square-h" + }, + { + "value": "square-minus", + "keywords": [ + "square", + "minus" + ] + }, + { + "value": "square-nfi", + "keywords": [ + "square", + "nfi" + ] + }, + { + "value": "square-parking", + "keywords": [ + "square", + "parking" + ] + }, + { + "value": "square-pen", + "keywords": [ + "square", + "pen" + ] + }, + { + "value": "square-person-confined", + "keywords": [ + "square", + "person", + "confined" + ] + }, + { + "value": "square-phone", + "keywords": [ + "square", + "phone" + ] + }, + { + "value": "square-phone-flip", + "keywords": [ + "square", + "phone", + "flip" + ] + }, + { + "value": "square-plus", + "keywords": [ + "square", + "plus" + ] + }, + { + "value": "square-poll-horizontal", + "keywords": [ + "square", + "poll", + "horizontal" + ] + }, + { + "value": "square-poll-vertical", + "keywords": [ + "square", + "poll", + "vertical" + ] + }, + { + "value": "square-root-variable", + "keywords": [ + "square", + "root", + "variable" + ] + }, + { + "value": "square-rss", + "keywords": [ + "square", + "rss" + ] + }, + { + "value": "square-share-nodes", + "keywords": [ + "square", + "share", + "nodes" + ] + }, + { + "value": "square-up-right", + "keywords": [ + "square", + "up", + "right" + ] + }, + { + "value": "square-virus", + "keywords": [ + "square", + "virus" + ] + }, + { + "value": "square-xmark", + "keywords": [ + "square", + "xmark" + ] + }, + { + "value": "staff-snake", + "keywords": [ + "staff", + "snake" + ] + }, + { + "value": "stairs" + }, + { + "value": "stamp" + }, + { + "value": "stapler" + }, + { + "value": "star" + }, + { + "value": "star-and-crescent", + "keywords": [ + "star", + "and", + "crescent" + ] + }, + { + "value": "star-half", + "keywords": [ + "star", + "half" + ] + }, + { + "value": "star-half-stroke", + "keywords": [ + "star", + "half", + "stroke" + ] + }, + { + "value": "star-of-david", + "keywords": [ + "star", + "of", + "david" + ] + }, + { + "value": "star-of-life", + "keywords": [ + "star", + "of", + "life" + ] + }, + { + "value": "sterling-sign", + "keywords": [ + "sterling", + "sign" + ] + }, + { + "value": "stethoscope" + }, + { + "value": "stop" + }, + { + "value": "stopwatch" + }, + { + "value": "stopwatch-20", + "keywords": [ + "stopwatch", + "20" + ] + }, + { + "value": "store" + }, + { + "value": "store-slash", + "keywords": [ + "store", + "slash" + ] + }, + { + "value": "street-view", + "keywords": [ + "street", + "view" + ] + }, + { + "value": "strikethrough" + }, + { + "value": "stroopwafel" + }, + { + "value": "subscript" + }, + { + "value": "suitcase" + }, + { + "value": "suitcase-medical", + "keywords": [ + "suitcase", + "medical" + ] + }, + { + "value": "suitcase-rolling", + "keywords": [ + "suitcase", + "rolling" + ] + }, + { + "value": "sun" + }, + { + "value": "sun-plant-wilt", + "keywords": [ + "sun", + "plant", + "wilt" + ] + }, + { + "value": "superscript" + }, + { + "value": "swatchbook" + }, + { + "value": "synagogue" + }, + { + "value": "syringe" + }, + { + "value": "t" + }, + { + "value": "table" + }, + { + "value": "table-cells", + "keywords": [ + "table", + "cells" + ] + }, + { + "value": "table-cells-large", + "keywords": [ + "table", + "cells", + "large" + ] + }, + { + "value": "table-columns", + "keywords": [ + "table", + "columns" + ] + }, + { + "value": "table-list", + "keywords": [ + "table", + "list" + ] + }, + { + "value": "table-tennis-paddle-ball", + "keywords": [ + "table", + "tennis", + "paddle", + "ball" + ] + }, + { + "value": "tablet" + }, + { + "value": "tablet-button", + "keywords": [ + "tablet", + "button" + ] + }, + { + "value": "tablet-screen-button", + "keywords": [ + "tablet", + "screen", + "button" + ] + }, + { + "value": "tablets" + }, + { + "value": "tachograph-digital", + "keywords": [ + "tachograph", + "digital" + ] + }, + { + "value": "tag" + }, + { + "value": "tags" + }, + { + "value": "tape" + }, + { + "value": "tarp" + }, + { + "value": "tarp-droplet", + "keywords": [ + "tarp", + "droplet" + ] + }, + { + "value": "taxi" + }, + { + "value": "teeth" + }, + { + "value": "teeth-open", + "keywords": [ + "teeth", + "open" + ] + }, + { + "value": "temperature-arrow-down", + "keywords": [ + "temperature", + "arrow", + "down" + ] + }, + { + "value": "temperature-arrow-up", + "keywords": [ + "temperature", + "arrow", + "up" + ] + }, + { + "value": "temperature-empty", + "keywords": [ + "temperature", + "empty" + ] + }, + { + "value": "temperature-full", + "keywords": [ + "temperature", + "full" + ] + }, + { + "value": "temperature-half", + "keywords": [ + "temperature", + "half" + ] + }, + { + "value": "temperature-high", + "keywords": [ + "temperature", + "high" + ] + }, + { + "value": "temperature-low", + "keywords": [ + "temperature", + "low" + ] + }, + { + "value": "temperature-quarter", + "keywords": [ + "temperature", + "quarter" + ] + }, + { + "value": "temperature-three-quarters", + "keywords": [ + "temperature", + "three", + "quarters" + ] + }, + { + "value": "tenge-sign", + "keywords": [ + "tenge", + "sign" + ] + }, + { + "value": "tent" + }, + { + "value": "tent-arrow-down-to-line", + "keywords": [ + "tent", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "tent-arrow-left-right", + "keywords": [ + "tent", + "arrow", + "left", + "right" + ] + }, + { + "value": "tent-arrow-turn-left", + "keywords": [ + "tent", + "arrow", + "turn", + "left" + ] + }, + { + "value": "tent-arrows-down", + "keywords": [ + "tent", + "arrows", + "down" + ] + }, + { + "value": "tents" + }, + { + "value": "terminal" + }, + { + "value": "text-height", + "keywords": [ + "text", + "height" + ] + }, + { + "value": "text-slash", + "keywords": [ + "text", + "slash" + ] + }, + { + "value": "text-width", + "keywords": [ + "text", + "width" + ] + }, + { + "value": "thermometer" + }, + { + "value": "thumbs-down", + "keywords": [ + "thumbs", + "down" + ] + }, + { + "value": "thumbs-up", + "keywords": [ + "thumbs", + "up" + ] + }, + { + "value": "thumbtack" + }, + { + "value": "ticket" + }, + { + "value": "ticket-simple", + "keywords": [ + "ticket", + "simple" + ] + }, + { + "value": "timeline" + }, + { + "value": "toggle-off", + "keywords": [ + "toggle", + "off" + ] + }, + { + "value": "toggle-on", + "keywords": [ + "toggle", + "on" + ] + }, + { + "value": "toilet" + }, + { + "value": "toilet-paper", + "keywords": [ + "toilet", + "paper" + ] + }, + { + "value": "toilet-paper-slash", + "keywords": [ + "toilet", + "paper", + "slash" + ] + }, + { + "value": "toilet-portable", + "keywords": [ + "toilet", + "portable" + ] + }, + { + "value": "toilets-portable", + "keywords": [ + "toilets", + "portable" + ] + }, + { + "value": "toolbox" + }, + { + "value": "tooth" + }, + { + "value": "torii-gate", + "keywords": [ + "torii", + "gate" + ] + }, + { + "value": "tornado" + }, + { + "value": "tower-broadcast", + "keywords": [ + "tower", + "broadcast" + ] + }, + { + "value": "tower-cell", + "keywords": [ + "tower", + "cell" + ] + }, + { + "value": "tower-observation", + "keywords": [ + "tower", + "observation" + ] + }, + { + "value": "tractor" + }, + { + "value": "trademark" + }, + { + "value": "traffic-light", + "keywords": [ + "traffic", + "light" + ] + }, + { + "value": "trailer" + }, + { + "value": "train" + }, + { + "value": "train-subway", + "keywords": [ + "train", + "subway" + ] + }, + { + "value": "train-tram", + "keywords": [ + "train", + "tram" + ] + }, + { + "value": "transgender" + }, + { + "value": "trash" + }, + { + "value": "trash-arrow-up", + "keywords": [ + "trash", + "arrow", + "up" + ] + }, + { + "value": "trash-can", + "keywords": [ + "trash", + "can" + ] + }, + { + "value": "trash-can-arrow-up", + "keywords": [ + "trash", + "can", + "arrow", + "up" + ] + }, + { + "value": "tree" + }, + { + "value": "tree-city", + "keywords": [ + "tree", + "city" + ] + }, + { + "value": "triangle-exclamation", + "keywords": [ + "triangle", + "exclamation" + ] + }, + { + "value": "trophy" + }, + { + "value": "trowel" + }, + { + "value": "trowel-bricks", + "keywords": [ + "trowel", + "bricks" + ] + }, + { + "value": "truck" + }, + { + "value": "truck-arrow-right", + "keywords": [ + "truck", + "arrow", + "right" + ] + }, + { + "value": "truck-droplet", + "keywords": [ + "truck", + "droplet" + ] + }, + { + "value": "truck-fast", + "keywords": [ + "truck", + "fast" + ] + }, + { + "value": "truck-field", + "keywords": [ + "truck", + "field" + ] + }, + { + "value": "truck-field-un", + "keywords": [ + "truck", + "field", + "un" + ] + }, + { + "value": "truck-front", + "keywords": [ + "truck", + "front" + ] + }, + { + "value": "truck-medical", + "keywords": [ + "truck", + "medical" + ] + }, + { + "value": "truck-monster", + "keywords": [ + "truck", + "monster" + ] + }, + { + "value": "truck-moving", + "keywords": [ + "truck", + "moving" + ] + }, + { + "value": "truck-pickup", + "keywords": [ + "truck", + "pickup" + ] + }, + { + "value": "truck-plane", + "keywords": [ + "truck", + "plane" + ] + }, + { + "value": "truck-ramp-box", + "keywords": [ + "truck", + "ramp", + "box" + ] + }, + { + "value": "tty" + }, + { + "value": "turkish-lira-sign", + "keywords": [ + "turkish", + "lira", + "sign" + ] + }, + { + "value": "turn-down", + "keywords": [ + "turn", + "down" + ] + }, + { + "value": "turn-up", + "keywords": [ + "turn", + "up" + ] + }, + { + "value": "tv" + }, + { + "value": "u" + }, + { + "value": "umbrella" + }, + { + "value": "umbrella-beach", + "keywords": [ + "umbrella", + "beach" + ] + }, + { + "value": "underline" + }, + { + "value": "universal-access", + "keywords": [ + "universal", + "access" + ] + }, + { + "value": "unlock" + }, + { + "value": "unlock-keyhole", + "keywords": [ + "unlock", + "keyhole" + ] + }, + { + "value": "up-down", + "keywords": [ + "up", + "down" + ] + }, + { + "value": "up-down-left-right", + "keywords": [ + "up", + "down", + "left", + "right" + ] + }, + { + "value": "up-long", + "keywords": [ + "up", + "long" + ] + }, + { + "value": "up-right-and-down-left-from-center", + "keywords": [ + "up", + "right", + "and", + "down", + "left", + "from", + "center" + ] + }, + { + "value": "up-right-from-square", + "keywords": [ + "up", + "right", + "from", + "square" + ] + }, + { + "value": "upload" + }, + { + "value": "user" + }, + { + "value": "user-astronaut", + "keywords": [ + "user", + "astronaut" + ] + }, + { + "value": "user-check", + "keywords": [ + "user", + "check" + ] + }, + { + "value": "user-clock", + "keywords": [ + "user", + "clock" + ] + }, + { + "value": "user-doctor", + "keywords": [ + "user", + "doctor" + ] + }, + { + "value": "user-gear", + "keywords": [ + "user", + "gear" + ] + }, + { + "value": "user-graduate", + "keywords": [ + "user", + "graduate" + ] + }, + { + "value": "user-group", + "keywords": [ + "user", + "group" + ] + }, + { + "value": "user-injured", + "keywords": [ + "user", + "injured" + ] + }, + { + "value": "user-large", + "keywords": [ + "user", + "large" + ] + }, + { + "value": "user-large-slash", + "keywords": [ + "user", + "large", + "slash" + ] + }, + { + "value": "user-lock", + "keywords": [ + "user", + "lock" + ] + }, + { + "value": "user-minus", + "keywords": [ + "user", + "minus" + ] + }, + { + "value": "user-ninja", + "keywords": [ + "user", + "ninja" + ] + }, + { + "value": "user-nurse", + "keywords": [ + "user", + "nurse" + ] + }, + { + "value": "user-pen", + "keywords": [ + "user", + "pen" + ] + }, + { + "value": "user-plus", + "keywords": [ + "user", + "plus" + ] + }, + { + "value": "user-secret", + "keywords": [ + "user", + "secret" + ] + }, + { + "value": "user-shield", + "keywords": [ + "user", + "shield" + ] + }, + { + "value": "user-slash", + "keywords": [ + "user", + "slash" + ] + }, + { + "value": "user-tag", + "keywords": [ + "user", + "tag" + ] + }, + { + "value": "user-tie", + "keywords": [ + "user", + "tie" + ] + }, + { + "value": "user-xmark", + "keywords": [ + "user", + "xmark" + ] + }, + { + "value": "users" + }, + { + "value": "users-between-lines", + "keywords": [ + "users", + "between", + "lines" + ] + }, + { + "value": "users-gear", + "keywords": [ + "users", + "gear" + ] + }, + { + "value": "users-line", + "keywords": [ + "users", + "line" + ] + }, + { + "value": "users-rays", + "keywords": [ + "users", + "rays" + ] + }, + { + "value": "users-rectangle", + "keywords": [ + "users", + "rectangle" + ] + }, + { + "value": "users-slash", + "keywords": [ + "users", + "slash" + ] + }, + { + "value": "users-viewfinder", + "keywords": [ + "users", + "viewfinder" + ] + }, + { + "value": "utensils" + }, + { + "value": "v" + }, + { + "value": "van-shuttle", + "keywords": [ + "van", + "shuttle" + ] + }, + { + "value": "vault" + }, + { + "value": "vector-square", + "keywords": [ + "vector", + "square" + ] + }, + { + "value": "venus" + }, + { + "value": "venus-double", + "keywords": [ + "venus", + "double" + ] + }, + { + "value": "venus-mars", + "keywords": [ + "venus", + "mars" + ] + }, + { + "value": "vest" + }, + { + "value": "vest-patches", + "keywords": [ + "vest", + "patches" + ] + }, + { + "value": "vial" + }, + { + "value": "vial-circle-check", + "keywords": [ + "vial", + "circle", + "check" + ] + }, + { + "value": "vial-virus", + "keywords": [ + "vial", + "virus" + ] + }, + { + "value": "vials" + }, + { + "value": "video" + }, + { + "value": "video-slash", + "keywords": [ + "video", + "slash" + ] + }, + { + "value": "vihara" + }, + { + "value": "virus" + }, + { + "value": "virus-covid", + "keywords": [ + "virus", + "covid" + ] + }, + { + "value": "virus-covid-slash", + "keywords": [ + "virus", + "covid", + "slash" + ] + }, + { + "value": "virus-slash", + "keywords": [ + "virus", + "slash" + ] + }, + { + "value": "viruses" + }, + { + "value": "voicemail" + }, + { + "value": "volcano" + }, + { + "value": "volleyball" + }, + { + "value": "volume-high", + "keywords": [ + "volume", + "high" + ] + }, + { + "value": "volume-low", + "keywords": [ + "volume", + "low" + ] + }, + { + "value": "volume-off", + "keywords": [ + "volume", + "off" + ] + }, + { + "value": "volume-xmark", + "keywords": [ + "volume", + "xmark" + ] + }, + { + "value": "vr-cardboard", + "keywords": [ + "vr", + "cardboard" + ] + }, + { + "value": "w" + }, + { + "value": "walkie-talkie", + "keywords": [ + "walkie", + "talkie" + ] + }, + { + "value": "wallet" + }, + { + "value": "wand-magic", + "keywords": [ + "wand", + "magic" + ] + }, + { + "value": "wand-magic-sparkles", + "keywords": [ + "wand", + "magic", + "sparkles" + ] + }, + { + "value": "wand-sparkles", + "keywords": [ + "wand", + "sparkles" + ] + }, + { + "value": "warehouse" + }, + { + "value": "water" + }, + { + "value": "water-ladder", + "keywords": [ + "water", + "ladder" + ] + }, + { + "value": "wave-square", + "keywords": [ + "wave", + "square" + ] + }, + { + "value": "weight-hanging", + "keywords": [ + "weight", + "hanging" + ] + }, + { + "value": "weight-scale", + "keywords": [ + "weight", + "scale" + ] + }, + { + "value": "wheat-awn", + "keywords": [ + "wheat", + "awn" + ] + }, + { + "value": "wheat-awn-circle-exclamation", + "keywords": [ + "wheat", + "awn", + "circle", + "exclamation" + ] + }, + { + "value": "wheelchair" + }, + { + "value": "wheelchair-move", + "keywords": [ + "wheelchair", + "move" + ] + }, + { + "value": "whiskey-glass", + "keywords": [ + "whiskey", + "glass" + ] + }, + { + "value": "wifi" + }, + { + "value": "wind" + }, + { + "value": "window-maximize", + "keywords": [ + "window", + "maximize" + ] + }, + { + "value": "window-minimize", + "keywords": [ + "window", + "minimize" + ] + }, + { + "value": "window-restore", + "keywords": [ + "window", + "restore" + ] + }, + { + "value": "wine-bottle", + "keywords": [ + "wine", + "bottle" + ] + }, + { + "value": "wine-glass", + "keywords": [ + "wine", + "glass" + ] + }, + { + "value": "wine-glass-empty", + "keywords": [ + "wine", + "glass", + "empty" + ] + }, + { + "value": "won-sign", + "keywords": [ + "won", + "sign" + ] + }, + { + "value": "worm" + }, + { + "value": "wrench" + }, + { + "value": "x" + }, + { + "value": "x-ray" + }, + { + "value": "xmark" + }, + { + "value": "xmarks-lines", + "keywords": [ + "xmarks", + "lines" + ] + }, + { + "value": "y" + }, + { + "value": "yen-sign", + "keywords": [ + "yen", + "sign" + ] + }, + { + "value": "yin-yang", + "keywords": [ + "yin", + "yang" + ] + }, + { + "value": "z" + } + ] + }, + "imgSrc": { + "label": "$t:editor.control.img_src.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "src" + } + }, + "imgAlt": { + "label": "$t:editor.control.img_alt.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "alt" + } + }, + "linkHref": { + "label": "$t:editor.control.link_href.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "href" + } + }, + "linkTarget": { + "label": "$t:editor.control.link_target.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "target" + }, + "options": [ + { + "value": "_self", + "label": "$t:editor.control.link_target.self" + }, + { + "value": "_blank", + "label": "$t:editor.control.link_target.blank" + }, + { + "value": "_parent", + "label": "$t:editor.control.link_target.parent" + }, + { + "value": "_top", + "label": "$t:editor.control.link_target.top" + } + ] + }, + "inputType": { + "label": "$t:editor.control.input_type.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "type" + }, + "options": [ + { + "value": "text", + "label": "$t:editor.control.input_type.text" + }, + { + "value": "email", + "label": "$t:editor.control.input_type.email" + }, + { + "value": "password", + "label": "$t:editor.control.input_type.password" + }, + { + "value": "number", + "label": "$t:editor.control.input_type.number" + }, + { + "value": "tel", + "label": "$t:editor.control.input_type.tel" + }, + { + "value": "url", + "label": "$t:editor.control.input_type.url" + }, + { + "value": "date", + "label": "$t:editor.control.input_type.date" + }, + { + "value": "search", + "label": "$t:editor.control.input_type.search" + } + ] + }, + "inputPlaceholder": { + "label": "$t:editor.control.input_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "inputName": { + "label": "$t:editor.control.input_name.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "name" + } + }, + "inputRequired": { + "label": "$t:editor.control.input_required.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "required" + } + }, + "inputDisabled": { + "label": "$t:editor.control.input_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "fieldLabel": { + "label": "$t:editor.control.field_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "fieldError": { + "label": "$t:editor.control.field_error.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "error" + } + }, + "fieldHelper": { + "label": "$t:editor.control.field_helper.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "helperText" + } + }, + "htmlFor": { + "label": "$t:editor.control.html_for.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "htmlFor" + } + }, + "textareaRows": { + "label": "$t:editor.control.textarea_rows.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "rows" + } + }, + "selectPlaceholder": { + "label": "$t:editor.control.select_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "selectOptions": { + "label": "$t:editor.control.select_options.label", + "widget": "options-list", + "apply": { + "type": "propValue", + "propKey": "options" + } + }, + "componentSize": { + "label": "$t:editor.control.component_size.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "size" + }, + "options": [ + { + "value": "sm", + "label": "$t:editor.control.component_size.sm" + }, + { + "value": "md", + "label": "$t:editor.control.component_size.md" + }, + { + "value": "lg", + "label": "$t:editor.control.component_size.lg" + } + ] + }, + "buttonVariant": { + "label": "$t:editor.control.button_variant.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "variant" + }, + "options": [ + { + "value": "primary", + "label": "$t:editor.control.button_variant.primary" + }, + { + "value": "secondary", + "label": "$t:editor.control.button_variant.secondary" + }, + { + "value": "danger", + "label": "$t:editor.control.button_variant.danger" + }, + { + "value": "success", + "label": "$t:editor.control.button_variant.success" + } + ] + }, + "componentDisabled": { + "label": "$t:editor.control.component_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "iconStyle": { + "label": "$t:editor.control.icon_style.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "iconStyle" + }, + "options": [ + { + "value": "solid", + "label": "$t:editor.control.icon_style.solid" + }, + { + "value": "regular", + "label": "$t:editor.control.icon_style.regular" + }, + { + "value": "light", + "label": "$t:editor.control.icon_style.light" + }, + { + "value": "duotone", + "label": "$t:editor.control.icon_style.duotone" + }, + { + "value": "brands", + "label": "$t:editor.control.icon_style.brands" + } + ] + }, + "iconSize": { + "label": "$t:editor.control.icon_size.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "size" + }, + "options": [ + { + "value": "xs", + "label": "$t:editor.control.icon_size.xs" + }, + { + "value": "sm", + "label": "$t:editor.control.icon_size.sm" + }, + { + "value": "lg", + "label": "$t:editor.control.icon_size.lg" + }, + { + "value": "xl", + "label": "$t:editor.control.icon_size.xl" + }, + { + "value": "2x", + "label": "$t:editor.control.icon_size.2x" + }, + { + "value": "3x", + "label": "$t:editor.control.icon_size.3x" + } + ] + }, + "iconColor": { + "label": "$t:editor.control.icon_color.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "color" + } + }, + "iconSpin": { + "label": "$t:editor.control.icon_spin.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "spin" + } + }, + "iconPulse": { + "label": "$t:editor.control.icon_pulse.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "pulse" + } + }, + "iconFixedWidth": { + "label": "$t:editor.control.icon_fixed_width.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "fixedWidth" + } + }, + "iconAria": { + "label": "$t:editor.control.icon_aria.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "ariaLabel" + } + }, + "gridCols": { + "label": "$t:editor.control.grid_cols.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "cols" + } + }, + "gridGap": { + "label": "$t:editor.control.grid_gap.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "gap" + } + }, + "gridRowGap": { + "label": "$t:editor.control.grid_row_gap.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "rowGap" + } + }, + "gridColGap": { + "label": "$t:editor.control.grid_col_gap.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "colGap" + } + }, + "gridAutoRows": { + "label": "$t:editor.control.grid_auto_rows.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "autoRows" + }, + "options": [ + { + "value": "auto", + "label": "$t:editor.control.grid_auto_rows.auto" + }, + { + "value": "min", + "label": "$t:editor.control.grid_auto_rows.min" + }, + { + "value": "max", + "label": "$t:editor.control.grid_auto_rows.max" + }, + { + "value": "fr", + "label": "$t:editor.control.grid_auto_rows.fr" + } + ] + }, + "gridAutoCols": { + "label": "$t:editor.control.grid_auto_cols.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "autoCols" + }, + "options": [ + { + "value": "auto", + "label": "$t:editor.control.grid_auto_cols.auto" + }, + { + "value": "min", + "label": "$t:editor.control.grid_auto_cols.min" + }, + { + "value": "max", + "label": "$t:editor.control.grid_auto_cols.max" + }, + { + "value": "fr", + "label": "$t:editor.control.grid_auto_cols.fr" + } + ] + }, + "gridFlow": { + "label": "$t:editor.control.grid_flow.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "flow" + }, + "options": [ + { + "value": "row", + "label": "$t:editor.control.grid_flow.row" + }, + { + "value": "col", + "label": "$t:editor.control.grid_flow.col" + }, + { + "value": "dense", + "label": "$t:editor.control.grid_flow.dense" + }, + { + "value": "row-dense", + "label": "$t:editor.control.grid_flow.row-dense" + }, + { + "value": "col-dense", + "label": "$t:editor.control.grid_flow.col-dense" + } + ] + }, + "secTitle": { + "label": "$t:editor.control.sec_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "title" + } + }, + "secSubtitle": { + "label": "$t:editor.control.sec_subtitle.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "subtitle" + } + }, + "secPadding": { + "label": "$t:editor.control.sec_padding.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "padding" + }, + "options": [ + { + "value": "none", + "label": "$t:editor.control.sec_padding.none" + }, + { + "value": "sm", + "label": "$t:editor.control.sec_padding.sm" + }, + { + "value": "md", + "label": "$t:editor.control.sec_padding.md" + }, + { + "value": "lg", + "label": "$t:editor.control.sec_padding.lg" + }, + { + "value": "xl", + "label": "$t:editor.control.sec_padding.xl" + } + ] + }, + "secBackground": { + "label": "$t:editor.control.sec_background.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "background" + }, + "options": [ + { + "value": "none", + "label": "$t:editor.control.sec_background.none" + }, + { + "value": "white", + "label": "$t:editor.control.sec_background.white" + }, + { + "value": "gray", + "label": "$t:editor.control.sec_background.gray" + }, + { + "value": "primary", + "label": "$t:editor.control.sec_background.primary" + }, + { + "value": "secondary", + "label": "$t:editor.control.sec_background.secondary" + } + ] + }, + "secMaxWidth": { + "label": "$t:editor.control.sec_max_width.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "maxWidth" + }, + "options": [ + { + "value": "sm", + "label": "$t:editor.control.sec_max_width.sm" + }, + { + "value": "md", + "label": "$t:editor.control.sec_max_width.md" + }, + { + "value": "lg", + "label": "$t:editor.control.sec_max_width.lg" + }, + { + "value": "xl", + "label": "$t:editor.control.sec_max_width.xl" + }, + { + "value": "2xl", + "label": "$t:editor.control.sec_max_width.2xl" + }, + { + "value": "4xl", + "label": "$t:editor.control.sec_max_width.4xl" + }, + { + "value": "6xl", + "label": "$t:editor.control.sec_max_width.6xl" + }, + { + "value": "7xl", + "label": "$t:editor.control.sec_max_width.7xl" + }, + { + "value": "full", + "label": "$t:editor.control.sec_max_width.full" + } + ] + }, + "secCentered": { + "label": "$t:editor.control.sec_centered.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "centered" + } + }, + "secBorder": { + "label": "$t:editor.control.sec_border.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "border" + } + }, + "secShadow": { + "label": "$t:editor.control.sec_shadow.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "shadow" + }, + "options": [ + { + "value": "none", + "label": "$t:editor.control.sec_shadow.none" + }, + { + "value": "sm", + "label": "$t:editor.control.sec_shadow.sm" + }, + { + "value": "md", + "label": "$t:editor.control.sec_shadow.md" + }, + { + "value": "lg", + "label": "$t:editor.control.sec_shadow.lg" + }, + { + "value": "xl", + "label": "$t:editor.control.sec_shadow.xl" + } + ] + }, + "secRounded": { + "label": "$t:editor.control.sec_rounded.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "rounded" + } + }, + "cardTitle": { + "label": "$t:editor.control.card_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "title" + } + }, + "cardContent": { + "label": "$t:editor.control.card_content.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "content" + } + }, + "cardImageUrl": { + "label": "$t:editor.control.card_image_url.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "imageUrl" + } + }, + "cardImageAlt": { + "label": "$t:editor.control.card_image_alt.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "imageAlt" + } + }, + "badgeColor": { + "label": "$t:editor.control.badge_color.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "color" + }, + "options": [ + { + "value": "blue", + "label": "$t:editor.control.badge_color.blue" + }, + { + "value": "green", + "label": "$t:editor.control.badge_color.green" + }, + { + "value": "red", + "label": "$t:editor.control.badge_color.red" + }, + { + "value": "gray", + "label": "$t:editor.control.badge_color.gray" + }, + { + "value": "yellow", + "label": "$t:editor.control.badge_color.yellow" + }, + { + "value": "purple", + "label": "$t:editor.control.badge_color.purple" + }, + { + "value": "orange", + "label": "$t:editor.control.badge_color.orange" + }, + { + "value": "teal", + "label": "$t:editor.control.badge_color.teal" + }, + { + "value": "cyan", + "label": "$t:editor.control.badge_color.cyan" + } + ] + }, + "badgeText": { + "label": "$t:editor.control.badge_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "text" + } + }, + "badgeSize": { + "label": "$t:editor.control.badge_size.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "size" + }, + "options": [ + { + "value": "sm", + "label": "$t:editor.control.badge_size.sm" + }, + { + "value": "md", + "label": "$t:editor.control.badge_size.md" + }, + { + "value": "lg", + "label": "$t:editor.control.badge_size.lg" + } + ] + }, + "sbStatus": { + "label": "$t:editor.control.sb_status.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "status" + }, + "options": [ + { + "value": "success", + "label": "$t:editor.control.sb_status.success" + }, + { + "value": "warning", + "label": "$t:editor.control.sb_status.warning" + }, + { + "value": "error", + "label": "$t:editor.control.sb_status.error" + }, + { + "value": "info", + "label": "$t:editor.control.sb_status.info" + }, + { + "value": "pending", + "label": "$t:editor.control.sb_status.pending" + }, + { + "value": "default", + "label": "$t:editor.control.sb_status.default" + } + ] + }, + "sbLabel": { + "label": "$t:editor.control.sb_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "sbShowIcon": { + "label": "$t:editor.control.sb_show_icon.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showIcon" + } + }, + "sbIconName": { + "label": "$t:editor.control.sb_icon_name.label", + "widget": "icon-picker", + "apply": { + "type": "propValue", + "propKey": "iconName" + }, + "iconColumns": 8, + "icons": [ + { + "value": "0" + }, + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + }, + { + "value": "4" + }, + { + "value": "5" + }, + { + "value": "6" + }, + { + "value": "7" + }, + { + "value": "8" + }, + { + "value": "9" + }, + { + "value": "a" + }, + { + "value": "address-book", + "keywords": [ + "address", + "book" + ] + }, + { + "value": "address-card", + "keywords": [ + "address", + "card" + ] + }, + { + "value": "align-center", + "keywords": [ + "align", + "center" + ] + }, + { + "value": "align-justify", + "keywords": [ + "align", + "justify" + ] + }, + { + "value": "align-left", + "keywords": [ + "align", + "left" + ] + }, + { + "value": "align-right", + "keywords": [ + "align", + "right" + ] + }, + { + "value": "anchor" + }, + { + "value": "anchor-circle-check", + "keywords": [ + "anchor", + "circle", + "check" + ] + }, + { + "value": "anchor-circle-exclamation", + "keywords": [ + "anchor", + "circle", + "exclamation" + ] + }, + { + "value": "anchor-circle-xmark", + "keywords": [ + "anchor", + "circle", + "xmark" + ] + }, + { + "value": "anchor-lock", + "keywords": [ + "anchor", + "lock" + ] + }, + { + "value": "angle-down", + "keywords": [ + "angle", + "down" + ] + }, + { + "value": "angle-left", + "keywords": [ + "angle", + "left" + ] + }, + { + "value": "angle-right", + "keywords": [ + "angle", + "right" + ] + }, + { + "value": "angle-up", + "keywords": [ + "angle", + "up" + ] + }, + { + "value": "angles-down", + "keywords": [ + "angles", + "down" + ] + }, + { + "value": "angles-left", + "keywords": [ + "angles", + "left" + ] + }, + { + "value": "angles-right", + "keywords": [ + "angles", + "right" + ] + }, + { + "value": "angles-up", + "keywords": [ + "angles", + "up" + ] + }, + { + "value": "ankh" + }, + { + "value": "apple-whole", + "keywords": [ + "apple", + "whole" + ] + }, + { + "value": "archway" + }, + { + "value": "arrow-down", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-1-9", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-9-1", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-a-z", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-long", + "keywords": [ + "arrow", + "down", + "long" + ] + }, + { + "value": "arrow-down-short-wide", + "keywords": [ + "arrow", + "down", + "short", + "wide" + ] + }, + { + "value": "arrow-down-up-across-line", + "keywords": [ + "arrow", + "down", + "up", + "across", + "line" + ] + }, + { + "value": "arrow-down-up-lock", + "keywords": [ + "arrow", + "down", + "up", + "lock" + ] + }, + { + "value": "arrow-down-wide-short", + "keywords": [ + "arrow", + "down", + "wide", + "short" + ] + }, + { + "value": "arrow-down-z-a", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-left", + "keywords": [ + "arrow", + "left" + ] + }, + { + "value": "arrow-left-long", + "keywords": [ + "arrow", + "left", + "long" + ] + }, + { + "value": "arrow-pointer", + "keywords": [ + "arrow", + "pointer" + ] + }, + { + "value": "arrow-right", + "keywords": [ + "arrow", + "right" + ] + }, + { + "value": "arrow-right-arrow-left", + "keywords": [ + "arrow", + "right", + "arrow", + "left" + ] + }, + { + "value": "arrow-right-from-bracket", + "keywords": [ + "arrow", + "right", + "from", + "bracket" + ] + }, + { + "value": "arrow-right-long", + "keywords": [ + "arrow", + "right", + "long" + ] + }, + { + "value": "arrow-right-to-bracket", + "keywords": [ + "arrow", + "right", + "to", + "bracket" + ] + }, + { + "value": "arrow-right-to-city", + "keywords": [ + "arrow", + "right", + "to", + "city" + ] + }, + { + "value": "arrow-rotate-left", + "keywords": [ + "arrow", + "rotate", + "left" + ] + }, + { + "value": "arrow-rotate-right", + "keywords": [ + "arrow", + "rotate", + "right" + ] + }, + { + "value": "arrow-trend-down", + "keywords": [ + "arrow", + "trend", + "down" + ] + }, + { + "value": "arrow-trend-up", + "keywords": [ + "arrow", + "trend", + "up" + ] + }, + { + "value": "arrow-turn-down", + "keywords": [ + "arrow", + "turn", + "down" + ] + }, + { + "value": "arrow-turn-up", + "keywords": [ + "arrow", + "turn", + "up" + ] + }, + { + "value": "arrow-up", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-1-9", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-9-1", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-a-z", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-from-bracket", + "keywords": [ + "arrow", + "up", + "from", + "bracket" + ] + }, + { + "value": "arrow-up-from-ground-water", + "keywords": [ + "arrow", + "up", + "from", + "ground", + "water" + ] + }, + { + "value": "arrow-up-from-water-pump", + "keywords": [ + "arrow", + "up", + "from", + "water", + "pump" + ] + }, + { + "value": "arrow-up-long", + "keywords": [ + "arrow", + "up", + "long" + ] + }, + { + "value": "arrow-up-right-dots", + "keywords": [ + "arrow", + "up", + "right", + "dots" + ] + }, + { + "value": "arrow-up-right-from-square", + "keywords": [ + "arrow", + "up", + "right", + "from", + "square" + ] + }, + { + "value": "arrow-up-short-wide", + "keywords": [ + "arrow", + "up", + "short", + "wide" + ] + }, + { + "value": "arrow-up-wide-short", + "keywords": [ + "arrow", + "up", + "wide", + "short" + ] + }, + { + "value": "arrow-up-z-a", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrows-down-to-line", + "keywords": [ + "arrows", + "down", + "to", + "line" + ] + }, + { + "value": "arrows-down-to-people", + "keywords": [ + "arrows", + "down", + "to", + "people" + ] + }, + { + "value": "arrows-left-right", + "keywords": [ + "arrows", + "left", + "right" + ] + }, + { + "value": "arrows-left-right-to-line", + "keywords": [ + "arrows", + "left", + "right", + "to", + "line" + ] + }, + { + "value": "arrows-rotate", + "keywords": [ + "arrows", + "rotate" + ] + }, + { + "value": "arrows-spin", + "keywords": [ + "arrows", + "spin" + ] + }, + { + "value": "arrows-split-up-and-left", + "keywords": [ + "arrows", + "split", + "up", + "and", + "left" + ] + }, + { + "value": "arrows-to-circle", + "keywords": [ + "arrows", + "to", + "circle" + ] + }, + { + "value": "arrows-to-dot", + "keywords": [ + "arrows", + "to", + "dot" + ] + }, + { + "value": "arrows-to-eye", + "keywords": [ + "arrows", + "to", + "eye" + ] + }, + { + "value": "arrows-turn-right", + "keywords": [ + "arrows", + "turn", + "right" + ] + }, + { + "value": "arrows-turn-to-dots", + "keywords": [ + "arrows", + "turn", + "to", + "dots" + ] + }, + { + "value": "arrows-up-down", + "keywords": [ + "arrows", + "up", + "down" + ] + }, + { + "value": "arrows-up-down-left-right", + "keywords": [ + "arrows", + "up", + "down", + "left", + "right" + ] + }, + { + "value": "arrows-up-to-line", + "keywords": [ + "arrows", + "up", + "to", + "line" + ] + }, + { + "value": "asterisk" + }, + { + "value": "at" + }, + { + "value": "atom" + }, + { + "value": "audio-description", + "keywords": [ + "audio", + "description" + ] + }, + { + "value": "austral-sign", + "keywords": [ + "austral", + "sign" + ] + }, + { + "value": "award" + }, + { + "value": "b" + }, + { + "value": "baby" + }, + { + "value": "baby-carriage", + "keywords": [ + "baby", + "carriage" + ] + }, + { + "value": "backward" + }, + { + "value": "backward-fast", + "keywords": [ + "backward", + "fast" + ] + }, + { + "value": "backward-step", + "keywords": [ + "backward", + "step" + ] + }, + { + "value": "bacon" + }, + { + "value": "bacteria" + }, + { + "value": "bacterium" + }, + { + "value": "bag-shopping", + "keywords": [ + "bag", + "shopping" + ] + }, + { + "value": "bahai" + }, + { + "value": "baht-sign", + "keywords": [ + "baht", + "sign" + ] + }, + { + "value": "ban" + }, + { + "value": "ban-smoking", + "keywords": [ + "ban", + "smoking" + ] + }, + { + "value": "bandage" + }, + { + "value": "bangladeshi-taka-sign", + "keywords": [ + "bangladeshi", + "taka", + "sign" + ] + }, + { + "value": "barcode" + }, + { + "value": "bars" + }, + { + "value": "bars-progress", + "keywords": [ + "bars", + "progress" + ] + }, + { + "value": "bars-staggered", + "keywords": [ + "bars", + "staggered" + ] + }, + { + "value": "baseball" + }, + { + "value": "baseball-bat-ball", + "keywords": [ + "baseball", + "bat", + "ball" + ] + }, + { + "value": "basket-shopping", + "keywords": [ + "basket", + "shopping" + ] + }, + { + "value": "basketball" + }, + { + "value": "bath" + }, + { + "value": "battery-empty", + "keywords": [ + "battery", + "empty" + ] + }, + { + "value": "battery-full", + "keywords": [ + "battery", + "full" + ] + }, + { + "value": "battery-half", + "keywords": [ + "battery", + "half" + ] + }, + { + "value": "battery-quarter", + "keywords": [ + "battery", + "quarter" + ] + }, + { + "value": "battery-three-quarters", + "keywords": [ + "battery", + "three", + "quarters" + ] + }, + { + "value": "bed" + }, + { + "value": "bed-pulse", + "keywords": [ + "bed", + "pulse" + ] + }, + { + "value": "beer-mug-empty", + "keywords": [ + "beer", + "mug", + "empty" + ] + }, + { + "value": "bell" + }, + { + "value": "bell-concierge", + "keywords": [ + "bell", + "concierge" + ] + }, + { + "value": "bell-slash", + "keywords": [ + "bell", + "slash" + ] + }, + { + "value": "bezier-curve", + "keywords": [ + "bezier", + "curve" + ] + }, + { + "value": "bicycle" + }, + { + "value": "binoculars" + }, + { + "value": "biohazard" + }, + { + "value": "bitcoin-sign", + "keywords": [ + "bitcoin", + "sign" + ] + }, + { + "value": "blender" + }, + { + "value": "blender-phone", + "keywords": [ + "blender", + "phone" + ] + }, + { + "value": "blog" + }, + { + "value": "bold" + }, + { + "value": "bolt" + }, + { + "value": "bolt-lightning", + "keywords": [ + "bolt", + "lightning" + ] + }, + { + "value": "bomb" + }, + { + "value": "bone" + }, + { + "value": "bong" + }, + { + "value": "book" + }, + { + "value": "book-atlas", + "keywords": [ + "book", + "atlas" + ] + }, + { + "value": "book-bible", + "keywords": [ + "book", + "bible" + ] + }, + { + "value": "book-bookmark", + "keywords": [ + "book", + "bookmark" + ] + }, + { + "value": "book-journal-whills", + "keywords": [ + "book", + "journal", + "whills" + ] + }, + { + "value": "book-medical", + "keywords": [ + "book", + "medical" + ] + }, + { + "value": "book-open", + "keywords": [ + "book", + "open" + ] + }, + { + "value": "book-open-reader", + "keywords": [ + "book", + "open", + "reader" + ] + }, + { + "value": "book-quran", + "keywords": [ + "book", + "quran" + ] + }, + { + "value": "book-skull", + "keywords": [ + "book", + "skull" + ] + }, + { + "value": "book-tanakh", + "keywords": [ + "book", + "tanakh" + ] + }, + { + "value": "bookmark" + }, + { + "value": "border-all", + "keywords": [ + "border", + "all" + ] + }, + { + "value": "border-none", + "keywords": [ + "border", + "none" + ] + }, + { + "value": "border-top-left", + "keywords": [ + "border", + "top", + "left" + ] + }, + { + "value": "bore-hole", + "keywords": [ + "bore", + "hole" + ] + }, + { + "value": "bottle-droplet", + "keywords": [ + "bottle", + "droplet" + ] + }, + { + "value": "bottle-water", + "keywords": [ + "bottle", + "water" + ] + }, + { + "value": "bowl-food", + "keywords": [ + "bowl", + "food" + ] + }, + { + "value": "bowl-rice", + "keywords": [ + "bowl", + "rice" + ] + }, + { + "value": "bowling-ball", + "keywords": [ + "bowling", + "ball" + ] + }, + { + "value": "box" + }, + { + "value": "box-archive", + "keywords": [ + "box", + "archive" + ] + }, + { + "value": "box-open", + "keywords": [ + "box", + "open" + ] + }, + { + "value": "box-tissue", + "keywords": [ + "box", + "tissue" + ] + }, + { + "value": "boxes-packing", + "keywords": [ + "boxes", + "packing" + ] + }, + { + "value": "boxes-stacked", + "keywords": [ + "boxes", + "stacked" + ] + }, + { + "value": "braille" + }, + { + "value": "brain" + }, + { + "value": "brazilian-real-sign", + "keywords": [ + "brazilian", + "real", + "sign" + ] + }, + { + "value": "bread-slice", + "keywords": [ + "bread", + "slice" + ] + }, + { + "value": "bridge" + }, + { + "value": "bridge-circle-check", + "keywords": [ + "bridge", + "circle", + "check" + ] + }, + { + "value": "bridge-circle-exclamation", + "keywords": [ + "bridge", + "circle", + "exclamation" + ] + }, + { + "value": "bridge-circle-xmark", + "keywords": [ + "bridge", + "circle", + "xmark" + ] + }, + { + "value": "bridge-lock", + "keywords": [ + "bridge", + "lock" + ] + }, + { + "value": "bridge-water", + "keywords": [ + "bridge", + "water" + ] + }, + { + "value": "briefcase" + }, + { + "value": "briefcase-medical", + "keywords": [ + "briefcase", + "medical" + ] + }, + { + "value": "broom" + }, + { + "value": "broom-ball", + "keywords": [ + "broom", + "ball" + ] + }, + { + "value": "brush" + }, + { + "value": "bucket" + }, + { + "value": "bug" + }, + { + "value": "bug-slash", + "keywords": [ + "bug", + "slash" + ] + }, + { + "value": "bugs" + }, + { + "value": "building" + }, + { + "value": "building-circle-arrow-right", + "keywords": [ + "building", + "circle", + "arrow", + "right" + ] + }, + { + "value": "building-circle-check", + "keywords": [ + "building", + "circle", + "check" + ] + }, + { + "value": "building-circle-exclamation", + "keywords": [ + "building", + "circle", + "exclamation" + ] + }, + { + "value": "building-circle-xmark", + "keywords": [ + "building", + "circle", + "xmark" + ] + }, + { + "value": "building-columns", + "keywords": [ + "building", + "columns" + ] + }, + { + "value": "building-flag", + "keywords": [ + "building", + "flag" + ] + }, + { + "value": "building-lock", + "keywords": [ + "building", + "lock" + ] + }, + { + "value": "building-ngo", + "keywords": [ + "building", + "ngo" + ] + }, + { + "value": "building-shield", + "keywords": [ + "building", + "shield" + ] + }, + { + "value": "building-un", + "keywords": [ + "building", + "un" + ] + }, + { + "value": "building-user", + "keywords": [ + "building", + "user" + ] + }, + { + "value": "building-wheat", + "keywords": [ + "building", + "wheat" + ] + }, + { + "value": "bullhorn" + }, + { + "value": "bullseye" + }, + { + "value": "burger" + }, + { + "value": "burst" + }, + { + "value": "bus" + }, + { + "value": "bus-simple", + "keywords": [ + "bus", + "simple" + ] + }, + { + "value": "business-time", + "keywords": [ + "business", + "time" + ] + }, + { + "value": "c" + }, + { + "value": "cable-car", + "keywords": [ + "cable", + "car" + ] + }, + { + "value": "cake-candles", + "keywords": [ + "cake", + "candles" + ] + }, + { + "value": "calculator" + }, + { + "value": "calendar" + }, + { + "value": "calendar-check", + "keywords": [ + "calendar", + "check" + ] + }, + { + "value": "calendar-day", + "keywords": [ + "calendar", + "day" + ] + }, + { + "value": "calendar-days", + "keywords": [ + "calendar", + "days" + ] + }, + { + "value": "calendar-minus", + "keywords": [ + "calendar", + "minus" + ] + }, + { + "value": "calendar-plus", + "keywords": [ + "calendar", + "plus" + ] + }, + { + "value": "calendar-week", + "keywords": [ + "calendar", + "week" + ] + }, + { + "value": "calendar-xmark", + "keywords": [ + "calendar", + "xmark" + ] + }, + { + "value": "camera" + }, + { + "value": "camera-retro", + "keywords": [ + "camera", + "retro" + ] + }, + { + "value": "camera-rotate", + "keywords": [ + "camera", + "rotate" + ] + }, + { + "value": "campground" + }, + { + "value": "candy-cane", + "keywords": [ + "candy", + "cane" + ] + }, + { + "value": "cannabis" + }, + { + "value": "capsules" + }, + { + "value": "car" + }, + { + "value": "car-battery", + "keywords": [ + "car", + "battery" + ] + }, + { + "value": "car-burst", + "keywords": [ + "car", + "burst" + ] + }, + { + "value": "car-on", + "keywords": [ + "car", + "on" + ] + }, + { + "value": "car-rear", + "keywords": [ + "car", + "rear" + ] + }, + { + "value": "car-side", + "keywords": [ + "car", + "side" + ] + }, + { + "value": "car-tunnel", + "keywords": [ + "car", + "tunnel" + ] + }, + { + "value": "caravan" + }, + { + "value": "caret-down", + "keywords": [ + "caret", + "down" + ] + }, + { + "value": "caret-left", + "keywords": [ + "caret", + "left" + ] + }, + { + "value": "caret-right", + "keywords": [ + "caret", + "right" + ] + }, + { + "value": "caret-up", + "keywords": [ + "caret", + "up" + ] + }, + { + "value": "carrot" + }, + { + "value": "cart-arrow-down", + "keywords": [ + "cart", + "arrow", + "down" + ] + }, + { + "value": "cart-flatbed", + "keywords": [ + "cart", + "flatbed" + ] + }, + { + "value": "cart-flatbed-suitcase", + "keywords": [ + "cart", + "flatbed", + "suitcase" + ] + }, + { + "value": "cart-plus", + "keywords": [ + "cart", + "plus" + ] + }, + { + "value": "cart-shopping", + "keywords": [ + "cart", + "shopping" + ] + }, + { + "value": "cash-register", + "keywords": [ + "cash", + "register" + ] + }, + { + "value": "cat" + }, + { + "value": "cedi-sign", + "keywords": [ + "cedi", + "sign" + ] + }, + { + "value": "cent-sign", + "keywords": [ + "cent", + "sign" + ] + }, + { + "value": "certificate" + }, + { + "value": "chair" + }, + { + "value": "chalkboard" + }, + { + "value": "chalkboard-user", + "keywords": [ + "chalkboard", + "user" + ] + }, + { + "value": "champagne-glasses", + "keywords": [ + "champagne", + "glasses" + ] + }, + { + "value": "charging-station", + "keywords": [ + "charging", + "station" + ] + }, + { + "value": "chart-area", + "keywords": [ + "chart", + "area" + ] + }, + { + "value": "chart-bar", + "keywords": [ + "chart", + "bar" + ] + }, + { + "value": "chart-column", + "keywords": [ + "chart", + "column" + ] + }, + { + "value": "chart-gantt", + "keywords": [ + "chart", + "gantt" + ] + }, + { + "value": "chart-line", + "keywords": [ + "chart", + "line" + ] + }, + { + "value": "chart-pie", + "keywords": [ + "chart", + "pie" + ] + }, + { + "value": "chart-simple", + "keywords": [ + "chart", + "simple" + ] + }, + { + "value": "check" + }, + { + "value": "check-double", + "keywords": [ + "check", + "double" + ] + }, + { + "value": "check-to-slot", + "keywords": [ + "check", + "to", + "slot" + ] + }, + { + "value": "cheese" + }, + { + "value": "chess" + }, + { + "value": "chess-bishop", + "keywords": [ + "chess", + "bishop" + ] + }, + { + "value": "chess-board", + "keywords": [ + "chess", + "board" + ] + }, + { + "value": "chess-king", + "keywords": [ + "chess", + "king" + ] + }, + { + "value": "chess-knight", + "keywords": [ + "chess", + "knight" + ] + }, + { + "value": "chess-pawn", + "keywords": [ + "chess", + "pawn" + ] + }, + { + "value": "chess-queen", + "keywords": [ + "chess", + "queen" + ] + }, + { + "value": "chess-rook", + "keywords": [ + "chess", + "rook" + ] + }, + { + "value": "chevron-down", + "keywords": [ + "chevron", + "down" + ] + }, + { + "value": "chevron-left", + "keywords": [ + "chevron", + "left" + ] + }, + { + "value": "chevron-right", + "keywords": [ + "chevron", + "right" + ] + }, + { + "value": "chevron-up", + "keywords": [ + "chevron", + "up" + ] + }, + { + "value": "child" + }, + { + "value": "child-combatant", + "keywords": [ + "child", + "combatant" + ] + }, + { + "value": "child-dress", + "keywords": [ + "child", + "dress" + ] + }, + { + "value": "child-reaching", + "keywords": [ + "child", + "reaching" + ] + }, + { + "value": "children" + }, + { + "value": "church" + }, + { + "value": "circle" + }, + { + "value": "circle-arrow-down", + "keywords": [ + "circle", + "arrow", + "down" + ] + }, + { + "value": "circle-arrow-left", + "keywords": [ + "circle", + "arrow", + "left" + ] + }, + { + "value": "circle-arrow-right", + "keywords": [ + "circle", + "arrow", + "right" + ] + }, + { + "value": "circle-arrow-up", + "keywords": [ + "circle", + "arrow", + "up" + ] + }, + { + "value": "circle-check", + "keywords": [ + "circle", + "check" + ] + }, + { + "value": "circle-chevron-down", + "keywords": [ + "circle", + "chevron", + "down" + ] + }, + { + "value": "circle-chevron-left", + "keywords": [ + "circle", + "chevron", + "left" + ] + }, + { + "value": "circle-chevron-right", + "keywords": [ + "circle", + "chevron", + "right" + ] + }, + { + "value": "circle-chevron-up", + "keywords": [ + "circle", + "chevron", + "up" + ] + }, + { + "value": "circle-dollar-to-slot", + "keywords": [ + "circle", + "dollar", + "to", + "slot" + ] + }, + { + "value": "circle-dot", + "keywords": [ + "circle", + "dot" + ] + }, + { + "value": "circle-down", + "keywords": [ + "circle", + "down" + ] + }, + { + "value": "circle-exclamation", + "keywords": [ + "circle", + "exclamation" + ] + }, + { + "value": "circle-h" + }, + { + "value": "circle-half-stroke", + "keywords": [ + "circle", + "half", + "stroke" + ] + }, + { + "value": "circle-info", + "keywords": [ + "circle", + "info" + ] + }, + { + "value": "circle-left", + "keywords": [ + "circle", + "left" + ] + }, + { + "value": "circle-minus", + "keywords": [ + "circle", + "minus" + ] + }, + { + "value": "circle-nodes", + "keywords": [ + "circle", + "nodes" + ] + }, + { + "value": "circle-notch", + "keywords": [ + "circle", + "notch" + ] + }, + { + "value": "circle-pause", + "keywords": [ + "circle", + "pause" + ] + }, + { + "value": "circle-play", + "keywords": [ + "circle", + "play" + ] + }, + { + "value": "circle-plus", + "keywords": [ + "circle", + "plus" + ] + }, + { + "value": "circle-question", + "keywords": [ + "circle", + "question" + ] + }, + { + "value": "circle-radiation", + "keywords": [ + "circle", + "radiation" + ] + }, + { + "value": "circle-right", + "keywords": [ + "circle", + "right" + ] + }, + { + "value": "circle-stop", + "keywords": [ + "circle", + "stop" + ] + }, + { + "value": "circle-up", + "keywords": [ + "circle", + "up" + ] + }, + { + "value": "circle-user", + "keywords": [ + "circle", + "user" + ] + }, + { + "value": "circle-xmark", + "keywords": [ + "circle", + "xmark" + ] + }, + { + "value": "city" + }, + { + "value": "clapperboard" + }, + { + "value": "clipboard" + }, + { + "value": "clipboard-check", + "keywords": [ + "clipboard", + "check" + ] + }, + { + "value": "clipboard-list", + "keywords": [ + "clipboard", + "list" + ] + }, + { + "value": "clipboard-question", + "keywords": [ + "clipboard", + "question" + ] + }, + { + "value": "clipboard-user", + "keywords": [ + "clipboard", + "user" + ] + }, + { + "value": "clock" + }, + { + "value": "clock-rotate-left", + "keywords": [ + "clock", + "rotate", + "left" + ] + }, + { + "value": "clone" + }, + { + "value": "closed-captioning", + "keywords": [ + "closed", + "captioning" + ] + }, + { + "value": "cloud" + }, + { + "value": "cloud-arrow-down", + "keywords": [ + "cloud", + "arrow", + "down" + ] + }, + { + "value": "cloud-arrow-up", + "keywords": [ + "cloud", + "arrow", + "up" + ] + }, + { + "value": "cloud-bolt", + "keywords": [ + "cloud", + "bolt" + ] + }, + { + "value": "cloud-meatball", + "keywords": [ + "cloud", + "meatball" + ] + }, + { + "value": "cloud-moon", + "keywords": [ + "cloud", + "moon" + ] + }, + { + "value": "cloud-moon-rain", + "keywords": [ + "cloud", + "moon", + "rain" + ] + }, + { + "value": "cloud-rain", + "keywords": [ + "cloud", + "rain" + ] + }, + { + "value": "cloud-showers-heavy", + "keywords": [ + "cloud", + "showers", + "heavy" + ] + }, + { + "value": "cloud-showers-water", + "keywords": [ + "cloud", + "showers", + "water" + ] + }, + { + "value": "cloud-sun", + "keywords": [ + "cloud", + "sun" + ] + }, + { + "value": "cloud-sun-rain", + "keywords": [ + "cloud", + "sun", + "rain" + ] + }, + { + "value": "clover" + }, + { + "value": "code" + }, + { + "value": "code-branch", + "keywords": [ + "code", + "branch" + ] + }, + { + "value": "code-commit", + "keywords": [ + "code", + "commit" + ] + }, + { + "value": "code-compare", + "keywords": [ + "code", + "compare" + ] + }, + { + "value": "code-fork", + "keywords": [ + "code", + "fork" + ] + }, + { + "value": "code-merge", + "keywords": [ + "code", + "merge" + ] + }, + { + "value": "code-pull-request", + "keywords": [ + "code", + "pull", + "request" + ] + }, + { + "value": "coins" + }, + { + "value": "colon-sign", + "keywords": [ + "colon", + "sign" + ] + }, + { + "value": "comment" + }, + { + "value": "comment-dollar", + "keywords": [ + "comment", + "dollar" + ] + }, + { + "value": "comment-dots", + "keywords": [ + "comment", + "dots" + ] + }, + { + "value": "comment-medical", + "keywords": [ + "comment", + "medical" + ] + }, + { + "value": "comment-slash", + "keywords": [ + "comment", + "slash" + ] + }, + { + "value": "comment-sms", + "keywords": [ + "comment", + "sms" + ] + }, + { + "value": "comments" + }, + { + "value": "comments-dollar", + "keywords": [ + "comments", + "dollar" + ] + }, + { + "value": "compact-disc", + "keywords": [ + "compact", + "disc" + ] + }, + { + "value": "compass" + }, + { + "value": "compass-drafting", + "keywords": [ + "compass", + "drafting" + ] + }, + { + "value": "compress" + }, + { + "value": "computer" + }, + { + "value": "computer-mouse", + "keywords": [ + "computer", + "mouse" + ] + }, + { + "value": "cookie" + }, + { + "value": "cookie-bite", + "keywords": [ + "cookie", + "bite" + ] + }, + { + "value": "copy" + }, + { + "value": "copyright" + }, + { + "value": "couch" + }, + { + "value": "cow" + }, + { + "value": "credit-card", + "keywords": [ + "credit", + "card" + ] + }, + { + "value": "crop" + }, + { + "value": "crop-simple", + "keywords": [ + "crop", + "simple" + ] + }, + { + "value": "cross" + }, + { + "value": "crosshairs" + }, + { + "value": "crow" + }, + { + "value": "crown" + }, + { + "value": "crutch" + }, + { + "value": "cruzeiro-sign", + "keywords": [ + "cruzeiro", + "sign" + ] + }, + { + "value": "cube" + }, + { + "value": "cubes" + }, + { + "value": "cubes-stacked", + "keywords": [ + "cubes", + "stacked" + ] + }, + { + "value": "d" + }, + { + "value": "database" + }, + { + "value": "delete-left", + "keywords": [ + "delete", + "left" + ] + }, + { + "value": "democrat" + }, + { + "value": "desktop" + }, + { + "value": "dharmachakra" + }, + { + "value": "diagram-next", + "keywords": [ + "diagram", + "next" + ] + }, + { + "value": "diagram-predecessor", + "keywords": [ + "diagram", + "predecessor" + ] + }, + { + "value": "diagram-project", + "keywords": [ + "diagram", + "project" + ] + }, + { + "value": "diagram-successor", + "keywords": [ + "diagram", + "successor" + ] + }, + { + "value": "diamond" + }, + { + "value": "diamond-turn-right", + "keywords": [ + "diamond", + "turn", + "right" + ] + }, + { + "value": "dice" + }, + { + "value": "dice-d20", + "keywords": [ + "dice", + "d20" + ] + }, + { + "value": "dice-d6", + "keywords": [ + "dice", + "d6" + ] + }, + { + "value": "dice-five", + "keywords": [ + "dice", + "five" + ] + }, + { + "value": "dice-four", + "keywords": [ + "dice", + "four" + ] + }, + { + "value": "dice-one", + "keywords": [ + "dice", + "one" + ] + }, + { + "value": "dice-six", + "keywords": [ + "dice", + "six" + ] + }, + { + "value": "dice-three", + "keywords": [ + "dice", + "three" + ] + }, + { + "value": "dice-two", + "keywords": [ + "dice", + "two" + ] + }, + { + "value": "disease" + }, + { + "value": "display" + }, + { + "value": "divide" + }, + { + "value": "dna" + }, + { + "value": "dog" + }, + { + "value": "dollar-sign", + "keywords": [ + "dollar", + "sign" + ] + }, + { + "value": "dolly" + }, + { + "value": "dong-sign", + "keywords": [ + "dong", + "sign" + ] + }, + { + "value": "door-closed", + "keywords": [ + "door", + "closed" + ] + }, + { + "value": "door-open", + "keywords": [ + "door", + "open" + ] + }, + { + "value": "dove" + }, + { + "value": "down-left-and-up-right-to-center", + "keywords": [ + "down", + "left", + "and", + "up", + "right", + "to", + "center" + ] + }, + { + "value": "down-long", + "keywords": [ + "down", + "long" + ] + }, + { + "value": "download" + }, + { + "value": "dragon" + }, + { + "value": "draw-polygon", + "keywords": [ + "draw", + "polygon" + ] + }, + { + "value": "droplet" + }, + { + "value": "droplet-slash", + "keywords": [ + "droplet", + "slash" + ] + }, + { + "value": "drum" + }, + { + "value": "drum-steelpan", + "keywords": [ + "drum", + "steelpan" + ] + }, + { + "value": "drumstick-bite", + "keywords": [ + "drumstick", + "bite" + ] + }, + { + "value": "dumbbell" + }, + { + "value": "dumpster" + }, + { + "value": "dumpster-fire", + "keywords": [ + "dumpster", + "fire" + ] + }, + { + "value": "dungeon" + }, + { + "value": "e" + }, + { + "value": "ear-deaf", + "keywords": [ + "ear", + "deaf" + ] + }, + { + "value": "ear-listen", + "keywords": [ + "ear", + "listen" + ] + }, + { + "value": "earth-africa", + "keywords": [ + "earth", + "africa" + ] + }, + { + "value": "earth-americas", + "keywords": [ + "earth", + "americas" + ] + }, + { + "value": "earth-asia", + "keywords": [ + "earth", + "asia" + ] + }, + { + "value": "earth-europe", + "keywords": [ + "earth", + "europe" + ] + }, + { + "value": "earth-oceania", + "keywords": [ + "earth", + "oceania" + ] + }, + { + "value": "egg" + }, + { + "value": "eject" + }, + { + "value": "elevator" + }, + { + "value": "ellipsis" + }, + { + "value": "ellipsis-vertical", + "keywords": [ + "ellipsis", + "vertical" + ] + }, + { + "value": "envelope" + }, + { + "value": "envelope-circle-check", + "keywords": [ + "envelope", + "circle", + "check" + ] + }, + { + "value": "envelope-open", + "keywords": [ + "envelope", + "open" + ] + }, + { + "value": "envelope-open-text", + "keywords": [ + "envelope", + "open", + "text" + ] + }, + { + "value": "envelopes-bulk", + "keywords": [ + "envelopes", + "bulk" + ] + }, + { + "value": "equals" + }, + { + "value": "eraser" + }, + { + "value": "ethernet" + }, + { + "value": "euro-sign", + "keywords": [ + "euro", + "sign" + ] + }, + { + "value": "exclamation" + }, + { + "value": "expand" + }, + { + "value": "explosion" + }, + { + "value": "eye" + }, + { + "value": "eye-dropper", + "keywords": [ + "eye", + "dropper" + ] + }, + { + "value": "eye-low-vision", + "keywords": [ + "eye", + "low", + "vision" + ] + }, + { + "value": "eye-slash", + "keywords": [ + "eye", + "slash" + ] + }, + { + "value": "f" + }, + { + "value": "face-angry", + "keywords": [ + "face", + "angry" + ] + }, + { + "value": "face-dizzy", + "keywords": [ + "face", + "dizzy" + ] + }, + { + "value": "face-flushed", + "keywords": [ + "face", + "flushed" + ] + }, + { + "value": "face-frown", + "keywords": [ + "face", + "frown" + ] + }, + { + "value": "face-frown-open", + "keywords": [ + "face", + "frown", + "open" + ] + }, + { + "value": "face-grimace", + "keywords": [ + "face", + "grimace" + ] + }, + { + "value": "face-grin", + "keywords": [ + "face", + "grin" + ] + }, + { + "value": "face-grin-beam", + "keywords": [ + "face", + "grin", + "beam" + ] + }, + { + "value": "face-grin-beam-sweat", + "keywords": [ + "face", + "grin", + "beam", + "sweat" + ] + }, + { + "value": "face-grin-hearts", + "keywords": [ + "face", + "grin", + "hearts" + ] + }, + { + "value": "face-grin-squint", + "keywords": [ + "face", + "grin", + "squint" + ] + }, + { + "value": "face-grin-squint-tears", + "keywords": [ + "face", + "grin", + "squint", + "tears" + ] + }, + { + "value": "face-grin-stars", + "keywords": [ + "face", + "grin", + "stars" + ] + }, + { + "value": "face-grin-tears", + "keywords": [ + "face", + "grin", + "tears" + ] + }, + { + "value": "face-grin-tongue", + "keywords": [ + "face", + "grin", + "tongue" + ] + }, + { + "value": "face-grin-tongue-squint", + "keywords": [ + "face", + "grin", + "tongue", + "squint" + ] + }, + { + "value": "face-grin-tongue-wink", + "keywords": [ + "face", + "grin", + "tongue", + "wink" + ] + }, + { + "value": "face-grin-wide", + "keywords": [ + "face", + "grin", + "wide" + ] + }, + { + "value": "face-grin-wink", + "keywords": [ + "face", + "grin", + "wink" + ] + }, + { + "value": "face-kiss", + "keywords": [ + "face", + "kiss" + ] + }, + { + "value": "face-kiss-beam", + "keywords": [ + "face", + "kiss", + "beam" + ] + }, + { + "value": "face-kiss-wink-heart", + "keywords": [ + "face", + "kiss", + "wink", + "heart" + ] + }, + { + "value": "face-laugh", + "keywords": [ + "face", + "laugh" + ] + }, + { + "value": "face-laugh-beam", + "keywords": [ + "face", + "laugh", + "beam" + ] + }, + { + "value": "face-laugh-squint", + "keywords": [ + "face", + "laugh", + "squint" + ] + }, + { + "value": "face-laugh-wink", + "keywords": [ + "face", + "laugh", + "wink" + ] + }, + { + "value": "face-meh", + "keywords": [ + "face", + "meh" + ] + }, + { + "value": "face-meh-blank", + "keywords": [ + "face", + "meh", + "blank" + ] + }, + { + "value": "face-rolling-eyes", + "keywords": [ + "face", + "rolling", + "eyes" + ] + }, + { + "value": "face-sad-cry", + "keywords": [ + "face", + "sad", + "cry" + ] + }, + { + "value": "face-sad-tear", + "keywords": [ + "face", + "sad", + "tear" + ] + }, + { + "value": "face-smile", + "keywords": [ + "face", + "smile" + ] + }, + { + "value": "face-smile-beam", + "keywords": [ + "face", + "smile", + "beam" + ] + }, + { + "value": "face-smile-wink", + "keywords": [ + "face", + "smile", + "wink" + ] + }, + { + "value": "face-surprise", + "keywords": [ + "face", + "surprise" + ] + }, + { + "value": "face-tired", + "keywords": [ + "face", + "tired" + ] + }, + { + "value": "fan" + }, + { + "value": "faucet" + }, + { + "value": "faucet-drip", + "keywords": [ + "faucet", + "drip" + ] + }, + { + "value": "fax" + }, + { + "value": "feather" + }, + { + "value": "feather-pointed", + "keywords": [ + "feather", + "pointed" + ] + }, + { + "value": "ferry" + }, + { + "value": "file" + }, + { + "value": "file-arrow-down", + "keywords": [ + "file", + "arrow", + "down" + ] + }, + { + "value": "file-arrow-up", + "keywords": [ + "file", + "arrow", + "up" + ] + }, + { + "value": "file-audio", + "keywords": [ + "file", + "audio" + ] + }, + { + "value": "file-circle-check", + "keywords": [ + "file", + "circle", + "check" + ] + }, + { + "value": "file-circle-exclamation", + "keywords": [ + "file", + "circle", + "exclamation" + ] + }, + { + "value": "file-circle-minus", + "keywords": [ + "file", + "circle", + "minus" + ] + }, + { + "value": "file-circle-plus", + "keywords": [ + "file", + "circle", + "plus" + ] + }, + { + "value": "file-circle-question", + "keywords": [ + "file", + "circle", + "question" + ] + }, + { + "value": "file-circle-xmark", + "keywords": [ + "file", + "circle", + "xmark" + ] + }, + { + "value": "file-code", + "keywords": [ + "file", + "code" + ] + }, + { + "value": "file-contract", + "keywords": [ + "file", + "contract" + ] + }, + { + "value": "file-csv", + "keywords": [ + "file", + "csv" + ] + }, + { + "value": "file-excel", + "keywords": [ + "file", + "excel" + ] + }, + { + "value": "file-export", + "keywords": [ + "file", + "export" + ] + }, + { + "value": "file-image", + "keywords": [ + "file", + "image" + ] + }, + { + "value": "file-import", + "keywords": [ + "file", + "import" + ] + }, + { + "value": "file-invoice", + "keywords": [ + "file", + "invoice" + ] + }, + { + "value": "file-invoice-dollar", + "keywords": [ + "file", + "invoice", + "dollar" + ] + }, + { + "value": "file-lines", + "keywords": [ + "file", + "lines" + ] + }, + { + "value": "file-medical", + "keywords": [ + "file", + "medical" + ] + }, + { + "value": "file-pdf", + "keywords": [ + "file", + "pdf" + ] + }, + { + "value": "file-pen", + "keywords": [ + "file", + "pen" + ] + }, + { + "value": "file-powerpoint", + "keywords": [ + "file", + "powerpoint" + ] + }, + { + "value": "file-prescription", + "keywords": [ + "file", + "prescription" + ] + }, + { + "value": "file-shield", + "keywords": [ + "file", + "shield" + ] + }, + { + "value": "file-signature", + "keywords": [ + "file", + "signature" + ] + }, + { + "value": "file-video", + "keywords": [ + "file", + "video" + ] + }, + { + "value": "file-waveform", + "keywords": [ + "file", + "waveform" + ] + }, + { + "value": "file-word", + "keywords": [ + "file", + "word" + ] + }, + { + "value": "file-zipper", + "keywords": [ + "file", + "zipper" + ] + }, + { + "value": "fill" + }, + { + "value": "fill-drip", + "keywords": [ + "fill", + "drip" + ] + }, + { + "value": "film" + }, + { + "value": "filter" + }, + { + "value": "filter-circle-dollar", + "keywords": [ + "filter", + "circle", + "dollar" + ] + }, + { + "value": "filter-circle-xmark", + "keywords": [ + "filter", + "circle", + "xmark" + ] + }, + { + "value": "fingerprint" + }, + { + "value": "fire" + }, + { + "value": "fire-burner", + "keywords": [ + "fire", + "burner" + ] + }, + { + "value": "fire-extinguisher", + "keywords": [ + "fire", + "extinguisher" + ] + }, + { + "value": "fire-flame-curved", + "keywords": [ + "fire", + "flame", + "curved" + ] + }, + { + "value": "fire-flame-simple", + "keywords": [ + "fire", + "flame", + "simple" + ] + }, + { + "value": "fish" + }, + { + "value": "fish-fins", + "keywords": [ + "fish", + "fins" + ] + }, + { + "value": "flag" + }, + { + "value": "flag-checkered", + "keywords": [ + "flag", + "checkered" + ] + }, + { + "value": "flag-usa", + "keywords": [ + "flag", + "usa" + ] + }, + { + "value": "flask" + }, + { + "value": "flask-vial", + "keywords": [ + "flask", + "vial" + ] + }, + { + "value": "floppy-disk", + "keywords": [ + "floppy", + "disk" + ] + }, + { + "value": "florin-sign", + "keywords": [ + "florin", + "sign" + ] + }, + { + "value": "folder" + }, + { + "value": "folder-closed", + "keywords": [ + "folder", + "closed" + ] + }, + { + "value": "folder-minus", + "keywords": [ + "folder", + "minus" + ] + }, + { + "value": "folder-open", + "keywords": [ + "folder", + "open" + ] + }, + { + "value": "folder-plus", + "keywords": [ + "folder", + "plus" + ] + }, + { + "value": "folder-tree", + "keywords": [ + "folder", + "tree" + ] + }, + { + "value": "font" + }, + { + "value": "font-awesome", + "keywords": [ + "font", + "awesome" + ] + }, + { + "value": "football" + }, + { + "value": "forward" + }, + { + "value": "forward-fast", + "keywords": [ + "forward", + "fast" + ] + }, + { + "value": "forward-step", + "keywords": [ + "forward", + "step" + ] + }, + { + "value": "franc-sign", + "keywords": [ + "franc", + "sign" + ] + }, + { + "value": "frog" + }, + { + "value": "futbol" + }, + { + "value": "g" + }, + { + "value": "gamepad" + }, + { + "value": "gas-pump", + "keywords": [ + "gas", + "pump" + ] + }, + { + "value": "gauge" + }, + { + "value": "gauge-high", + "keywords": [ + "gauge", + "high" + ] + }, + { + "value": "gauge-simple", + "keywords": [ + "gauge", + "simple" + ] + }, + { + "value": "gauge-simple-high", + "keywords": [ + "gauge", + "simple", + "high" + ] + }, + { + "value": "gavel" + }, + { + "value": "gear" + }, + { + "value": "gears" + }, + { + "value": "gem" + }, + { + "value": "genderless" + }, + { + "value": "ghost" + }, + { + "value": "gift" + }, + { + "value": "gifts" + }, + { + "value": "glass-water", + "keywords": [ + "glass", + "water" + ] + }, + { + "value": "glass-water-droplet", + "keywords": [ + "glass", + "water", + "droplet" + ] + }, + { + "value": "glasses" + }, + { + "value": "globe" + }, + { + "value": "golf-ball-tee", + "keywords": [ + "golf", + "ball", + "tee" + ] + }, + { + "value": "gopuram" + }, + { + "value": "graduation-cap", + "keywords": [ + "graduation", + "cap" + ] + }, + { + "value": "greater-than", + "keywords": [ + "greater", + "than" + ] + }, + { + "value": "greater-than-equal", + "keywords": [ + "greater", + "than", + "equal" + ] + }, + { + "value": "grip" + }, + { + "value": "grip-lines", + "keywords": [ + "grip", + "lines" + ] + }, + { + "value": "grip-lines-vertical", + "keywords": [ + "grip", + "lines", + "vertical" + ] + }, + { + "value": "grip-vertical", + "keywords": [ + "grip", + "vertical" + ] + }, + { + "value": "group-arrows-rotate", + "keywords": [ + "group", + "arrows", + "rotate" + ] + }, + { + "value": "guarani-sign", + "keywords": [ + "guarani", + "sign" + ] + }, + { + "value": "guitar" + }, + { + "value": "gun" + }, + { + "value": "h" + }, + { + "value": "hammer" + }, + { + "value": "hamsa" + }, + { + "value": "hand" + }, + { + "value": "hand-back-fist", + "keywords": [ + "hand", + "back", + "fist" + ] + }, + { + "value": "hand-dots", + "keywords": [ + "hand", + "dots" + ] + }, + { + "value": "hand-fist", + "keywords": [ + "hand", + "fist" + ] + }, + { + "value": "hand-holding", + "keywords": [ + "hand", + "holding" + ] + }, + { + "value": "hand-holding-dollar", + "keywords": [ + "hand", + "holding", + "dollar" + ] + }, + { + "value": "hand-holding-droplet", + "keywords": [ + "hand", + "holding", + "droplet" + ] + }, + { + "value": "hand-holding-hand", + "keywords": [ + "hand", + "holding", + "hand" + ] + }, + { + "value": "hand-holding-heart", + "keywords": [ + "hand", + "holding", + "heart" + ] + }, + { + "value": "hand-holding-medical", + "keywords": [ + "hand", + "holding", + "medical" + ] + }, + { + "value": "hand-lizard", + "keywords": [ + "hand", + "lizard" + ] + }, + { + "value": "hand-middle-finger", + "keywords": [ + "hand", + "middle", + "finger" + ] + }, + { + "value": "hand-peace", + "keywords": [ + "hand", + "peace" + ] + }, + { + "value": "hand-point-down", + "keywords": [ + "hand", + "point", + "down" + ] + }, + { + "value": "hand-point-left", + "keywords": [ + "hand", + "point", + "left" + ] + }, + { + "value": "hand-point-right", + "keywords": [ + "hand", + "point", + "right" + ] + }, + { + "value": "hand-point-up", + "keywords": [ + "hand", + "point", + "up" + ] + }, + { + "value": "hand-pointer", + "keywords": [ + "hand", + "pointer" + ] + }, + { + "value": "hand-scissors", + "keywords": [ + "hand", + "scissors" + ] + }, + { + "value": "hand-sparkles", + "keywords": [ + "hand", + "sparkles" + ] + }, + { + "value": "hand-spock", + "keywords": [ + "hand", + "spock" + ] + }, + { + "value": "handcuffs" + }, + { + "value": "hands" + }, + { + "value": "hands-asl-interpreting", + "keywords": [ + "hands", + "asl", + "interpreting" + ] + }, + { + "value": "hands-bound", + "keywords": [ + "hands", + "bound" + ] + }, + { + "value": "hands-bubbles", + "keywords": [ + "hands", + "bubbles" + ] + }, + { + "value": "hands-clapping", + "keywords": [ + "hands", + "clapping" + ] + }, + { + "value": "hands-holding", + "keywords": [ + "hands", + "holding" + ] + }, + { + "value": "hands-holding-child", + "keywords": [ + "hands", + "holding", + "child" + ] + }, + { + "value": "hands-holding-circle", + "keywords": [ + "hands", + "holding", + "circle" + ] + }, + { + "value": "hands-praying", + "keywords": [ + "hands", + "praying" + ] + }, + { + "value": "handshake" + }, + { + "value": "handshake-angle", + "keywords": [ + "handshake", + "angle" + ] + }, + { + "value": "handshake-simple", + "keywords": [ + "handshake", + "simple" + ] + }, + { + "value": "handshake-simple-slash", + "keywords": [ + "handshake", + "simple", + "slash" + ] + }, + { + "value": "handshake-slash", + "keywords": [ + "handshake", + "slash" + ] + }, + { + "value": "hanukiah" + }, + { + "value": "hard-drive", + "keywords": [ + "hard", + "drive" + ] + }, + { + "value": "hashtag" + }, + { + "value": "hat-cowboy", + "keywords": [ + "hat", + "cowboy" + ] + }, + { + "value": "hat-cowboy-side", + "keywords": [ + "hat", + "cowboy", + "side" + ] + }, + { + "value": "hat-wizard", + "keywords": [ + "hat", + "wizard" + ] + }, + { + "value": "head-side-cough", + "keywords": [ + "head", + "side", + "cough" + ] + }, + { + "value": "head-side-cough-slash", + "keywords": [ + "head", + "side", + "cough", + "slash" + ] + }, + { + "value": "head-side-mask", + "keywords": [ + "head", + "side", + "mask" + ] + }, + { + "value": "head-side-virus", + "keywords": [ + "head", + "side", + "virus" + ] + }, + { + "value": "heading" + }, + { + "value": "headphones" + }, + { + "value": "headphones-simple", + "keywords": [ + "headphones", + "simple" + ] + }, + { + "value": "headset" + }, + { + "value": "heart" + }, + { + "value": "heart-circle-bolt", + "keywords": [ + "heart", + "circle", + "bolt" + ] + }, + { + "value": "heart-circle-check", + "keywords": [ + "heart", + "circle", + "check" + ] + }, + { + "value": "heart-circle-exclamation", + "keywords": [ + "heart", + "circle", + "exclamation" + ] + }, + { + "value": "heart-circle-minus", + "keywords": [ + "heart", + "circle", + "minus" + ] + }, + { + "value": "heart-circle-plus", + "keywords": [ + "heart", + "circle", + "plus" + ] + }, + { + "value": "heart-circle-xmark", + "keywords": [ + "heart", + "circle", + "xmark" + ] + }, + { + "value": "heart-crack", + "keywords": [ + "heart", + "crack" + ] + }, + { + "value": "heart-pulse", + "keywords": [ + "heart", + "pulse" + ] + }, + { + "value": "helicopter" + }, + { + "value": "helicopter-symbol", + "keywords": [ + "helicopter", + "symbol" + ] + }, + { + "value": "helmet-safety", + "keywords": [ + "helmet", + "safety" + ] + }, + { + "value": "helmet-un", + "keywords": [ + "helmet", + "un" + ] + }, + { + "value": "highlighter" + }, + { + "value": "hill-avalanche", + "keywords": [ + "hill", + "avalanche" + ] + }, + { + "value": "hill-rockslide", + "keywords": [ + "hill", + "rockslide" + ] + }, + { + "value": "hippo" + }, + { + "value": "hockey-puck", + "keywords": [ + "hockey", + "puck" + ] + }, + { + "value": "holly-berry", + "keywords": [ + "holly", + "berry" + ] + }, + { + "value": "horse" + }, + { + "value": "horse-head", + "keywords": [ + "horse", + "head" + ] + }, + { + "value": "hospital" + }, + { + "value": "hospital-user", + "keywords": [ + "hospital", + "user" + ] + }, + { + "value": "hot-tub-person", + "keywords": [ + "hot", + "tub", + "person" + ] + }, + { + "value": "hotdog" + }, + { + "value": "hotel" + }, + { + "value": "hourglass" + }, + { + "value": "hourglass-end", + "keywords": [ + "hourglass", + "end" + ] + }, + { + "value": "hourglass-half", + "keywords": [ + "hourglass", + "half" + ] + }, + { + "value": "hourglass-start", + "keywords": [ + "hourglass", + "start" + ] + }, + { + "value": "house" + }, + { + "value": "house-chimney", + "keywords": [ + "house", + "chimney" + ] + }, + { + "value": "house-chimney-crack", + "keywords": [ + "house", + "chimney", + "crack" + ] + }, + { + "value": "house-chimney-medical", + "keywords": [ + "house", + "chimney", + "medical" + ] + }, + { + "value": "house-chimney-user", + "keywords": [ + "house", + "chimney", + "user" + ] + }, + { + "value": "house-chimney-window", + "keywords": [ + "house", + "chimney", + "window" + ] + }, + { + "value": "house-circle-check", + "keywords": [ + "house", + "circle", + "check" + ] + }, + { + "value": "house-circle-exclamation", + "keywords": [ + "house", + "circle", + "exclamation" + ] + }, + { + "value": "house-circle-xmark", + "keywords": [ + "house", + "circle", + "xmark" + ] + }, + { + "value": "house-crack", + "keywords": [ + "house", + "crack" + ] + }, + { + "value": "house-fire", + "keywords": [ + "house", + "fire" + ] + }, + { + "value": "house-flag", + "keywords": [ + "house", + "flag" + ] + }, + { + "value": "house-flood-water", + "keywords": [ + "house", + "flood", + "water" + ] + }, + { + "value": "house-flood-water-circle-arrow-right", + "keywords": [ + "house", + "flood", + "water", + "circle", + "arrow", + "right" + ] + }, + { + "value": "house-laptop", + "keywords": [ + "house", + "laptop" + ] + }, + { + "value": "house-lock", + "keywords": [ + "house", + "lock" + ] + }, + { + "value": "house-medical", + "keywords": [ + "house", + "medical" + ] + }, + { + "value": "house-medical-circle-check", + "keywords": [ + "house", + "medical", + "circle", + "check" + ] + }, + { + "value": "house-medical-circle-exclamation", + "keywords": [ + "house", + "medical", + "circle", + "exclamation" + ] + }, + { + "value": "house-medical-circle-xmark", + "keywords": [ + "house", + "medical", + "circle", + "xmark" + ] + }, + { + "value": "house-medical-flag", + "keywords": [ + "house", + "medical", + "flag" + ] + }, + { + "value": "house-signal", + "keywords": [ + "house", + "signal" + ] + }, + { + "value": "house-tsunami", + "keywords": [ + "house", + "tsunami" + ] + }, + { + "value": "house-user", + "keywords": [ + "house", + "user" + ] + }, + { + "value": "hryvnia-sign", + "keywords": [ + "hryvnia", + "sign" + ] + }, + { + "value": "hurricane" + }, + { + "value": "i" + }, + { + "value": "i-cursor" + }, + { + "value": "ice-cream", + "keywords": [ + "ice", + "cream" + ] + }, + { + "value": "icicles" + }, + { + "value": "icons" + }, + { + "value": "id-badge", + "keywords": [ + "id", + "badge" + ] + }, + { + "value": "id-card", + "keywords": [ + "id", + "card" + ] + }, + { + "value": "id-card-clip", + "keywords": [ + "id", + "card", + "clip" + ] + }, + { + "value": "igloo" + }, + { + "value": "image" + }, + { + "value": "image-portrait", + "keywords": [ + "image", + "portrait" + ] + }, + { + "value": "images" + }, + { + "value": "inbox" + }, + { + "value": "indent" + }, + { + "value": "indian-rupee-sign", + "keywords": [ + "indian", + "rupee", + "sign" + ] + }, + { + "value": "industry" + }, + { + "value": "infinity" + }, + { + "value": "info" + }, + { + "value": "italic" + }, + { + "value": "j" + }, + { + "value": "jar" + }, + { + "value": "jar-wheat", + "keywords": [ + "jar", + "wheat" + ] + }, + { + "value": "jedi" + }, + { + "value": "jet-fighter", + "keywords": [ + "jet", + "fighter" + ] + }, + { + "value": "jet-fighter-up", + "keywords": [ + "jet", + "fighter", + "up" + ] + }, + { + "value": "joint" + }, + { + "value": "jug-detergent", + "keywords": [ + "jug", + "detergent" + ] + }, + { + "value": "k" + }, + { + "value": "kaaba" + }, + { + "value": "key" + }, + { + "value": "keyboard" + }, + { + "value": "khanda" + }, + { + "value": "kip-sign", + "keywords": [ + "kip", + "sign" + ] + }, + { + "value": "kit-medical", + "keywords": [ + "kit", + "medical" + ] + }, + { + "value": "kitchen-set", + "keywords": [ + "kitchen", + "set" + ] + }, + { + "value": "kiwi-bird", + "keywords": [ + "kiwi", + "bird" + ] + }, + { + "value": "l" + }, + { + "value": "land-mine-on", + "keywords": [ + "land", + "mine", + "on" + ] + }, + { + "value": "landmark" + }, + { + "value": "landmark-dome", + "keywords": [ + "landmark", + "dome" + ] + }, + { + "value": "landmark-flag", + "keywords": [ + "landmark", + "flag" + ] + }, + { + "value": "language" + }, + { + "value": "laptop" + }, + { + "value": "laptop-code", + "keywords": [ + "laptop", + "code" + ] + }, + { + "value": "laptop-file", + "keywords": [ + "laptop", + "file" + ] + }, + { + "value": "laptop-medical", + "keywords": [ + "laptop", + "medical" + ] + }, + { + "value": "lari-sign", + "keywords": [ + "lari", + "sign" + ] + }, + { + "value": "layer-group", + "keywords": [ + "layer", + "group" + ] + }, + { + "value": "leaf" + }, + { + "value": "left-long", + "keywords": [ + "left", + "long" + ] + }, + { + "value": "left-right", + "keywords": [ + "left", + "right" + ] + }, + { + "value": "lemon" + }, + { + "value": "less-than", + "keywords": [ + "less", + "than" + ] + }, + { + "value": "less-than-equal", + "keywords": [ + "less", + "than", + "equal" + ] + }, + { + "value": "life-ring", + "keywords": [ + "life", + "ring" + ] + }, + { + "value": "lightbulb" + }, + { + "value": "lines-leaning", + "keywords": [ + "lines", + "leaning" + ] + }, + { + "value": "link" + }, + { + "value": "link-slash", + "keywords": [ + "link", + "slash" + ] + }, + { + "value": "lira-sign", + "keywords": [ + "lira", + "sign" + ] + }, + { + "value": "list" + }, + { + "value": "list-check", + "keywords": [ + "list", + "check" + ] + }, + { + "value": "list-ol", + "keywords": [ + "list", + "ol" + ] + }, + { + "value": "list-ul", + "keywords": [ + "list", + "ul" + ] + }, + { + "value": "litecoin-sign", + "keywords": [ + "litecoin", + "sign" + ] + }, + { + "value": "location-arrow", + "keywords": [ + "location", + "arrow" + ] + }, + { + "value": "location-crosshairs", + "keywords": [ + "location", + "crosshairs" + ] + }, + { + "value": "location-dot", + "keywords": [ + "location", + "dot" + ] + }, + { + "value": "location-pin", + "keywords": [ + "location", + "pin" + ] + }, + { + "value": "location-pin-lock", + "keywords": [ + "location", + "pin", + "lock" + ] + }, + { + "value": "lock" + }, + { + "value": "lock-open", + "keywords": [ + "lock", + "open" + ] + }, + { + "value": "locust" + }, + { + "value": "lungs" + }, + { + "value": "lungs-virus", + "keywords": [ + "lungs", + "virus" + ] + }, + { + "value": "m" + }, + { + "value": "magnet" + }, + { + "value": "magnifying-glass", + "keywords": [ + "magnifying", + "glass" + ] + }, + { + "value": "magnifying-glass-arrow-right", + "keywords": [ + "magnifying", + "glass", + "arrow", + "right" + ] + }, + { + "value": "magnifying-glass-chart", + "keywords": [ + "magnifying", + "glass", + "chart" + ] + }, + { + "value": "magnifying-glass-dollar", + "keywords": [ + "magnifying", + "glass", + "dollar" + ] + }, + { + "value": "magnifying-glass-location", + "keywords": [ + "magnifying", + "glass", + "location" + ] + }, + { + "value": "magnifying-glass-minus", + "keywords": [ + "magnifying", + "glass", + "minus" + ] + }, + { + "value": "magnifying-glass-plus", + "keywords": [ + "magnifying", + "glass", + "plus" + ] + }, + { + "value": "manat-sign", + "keywords": [ + "manat", + "sign" + ] + }, + { + "value": "map" + }, + { + "value": "map-location", + "keywords": [ + "map", + "location" + ] + }, + { + "value": "map-location-dot", + "keywords": [ + "map", + "location", + "dot" + ] + }, + { + "value": "map-pin", + "keywords": [ + "map", + "pin" + ] + }, + { + "value": "marker" + }, + { + "value": "mars" + }, + { + "value": "mars-and-venus", + "keywords": [ + "mars", + "and", + "venus" + ] + }, + { + "value": "mars-and-venus-burst", + "keywords": [ + "mars", + "and", + "venus", + "burst" + ] + }, + { + "value": "mars-double", + "keywords": [ + "mars", + "double" + ] + }, + { + "value": "mars-stroke", + "keywords": [ + "mars", + "stroke" + ] + }, + { + "value": "mars-stroke-right", + "keywords": [ + "mars", + "stroke", + "right" + ] + }, + { + "value": "mars-stroke-up", + "keywords": [ + "mars", + "stroke", + "up" + ] + }, + { + "value": "martini-glass", + "keywords": [ + "martini", + "glass" + ] + }, + { + "value": "martini-glass-citrus", + "keywords": [ + "martini", + "glass", + "citrus" + ] + }, + { + "value": "martini-glass-empty", + "keywords": [ + "martini", + "glass", + "empty" + ] + }, + { + "value": "mask" + }, + { + "value": "mask-face", + "keywords": [ + "mask", + "face" + ] + }, + { + "value": "mask-ventilator", + "keywords": [ + "mask", + "ventilator" + ] + }, + { + "value": "masks-theater", + "keywords": [ + "masks", + "theater" + ] + }, + { + "value": "mattress-pillow", + "keywords": [ + "mattress", + "pillow" + ] + }, + { + "value": "maximize" + }, + { + "value": "medal" + }, + { + "value": "memory" + }, + { + "value": "menorah" + }, + { + "value": "mercury" + }, + { + "value": "message" + }, + { + "value": "meteor" + }, + { + "value": "microchip" + }, + { + "value": "microphone" + }, + { + "value": "microphone-lines", + "keywords": [ + "microphone", + "lines" + ] + }, + { + "value": "microphone-lines-slash", + "keywords": [ + "microphone", + "lines", + "slash" + ] + }, + { + "value": "microphone-slash", + "keywords": [ + "microphone", + "slash" + ] + }, + { + "value": "microscope" + }, + { + "value": "mill-sign", + "keywords": [ + "mill", + "sign" + ] + }, + { + "value": "minimize" + }, + { + "value": "minus" + }, + { + "value": "mitten" + }, + { + "value": "mobile" + }, + { + "value": "mobile-button", + "keywords": [ + "mobile", + "button" + ] + }, + { + "value": "mobile-retro", + "keywords": [ + "mobile", + "retro" + ] + }, + { + "value": "mobile-screen", + "keywords": [ + "mobile", + "screen" + ] + }, + { + "value": "mobile-screen-button", + "keywords": [ + "mobile", + "screen", + "button" + ] + }, + { + "value": "money-bill", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-transfer", + "keywords": [ + "money", + "bill", + "transfer" + ] + }, + { + "value": "money-bill-trend-up", + "keywords": [ + "money", + "bill", + "trend", + "up" + ] + }, + { + "value": "money-bill-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-wheat", + "keywords": [ + "money", + "bill", + "wheat" + ] + }, + { + "value": "money-bills", + "keywords": [ + "money", + "bills" + ] + }, + { + "value": "money-check", + "keywords": [ + "money", + "check" + ] + }, + { + "value": "money-check-dollar", + "keywords": [ + "money", + "check", + "dollar" + ] + }, + { + "value": "monument" + }, + { + "value": "moon" + }, + { + "value": "mortar-pestle", + "keywords": [ + "mortar", + "pestle" + ] + }, + { + "value": "mosque" + }, + { + "value": "mosquito" + }, + { + "value": "mosquito-net", + "keywords": [ + "mosquito", + "net" + ] + }, + { + "value": "motorcycle" + }, + { + "value": "mound" + }, + { + "value": "mountain" + }, + { + "value": "mountain-city", + "keywords": [ + "mountain", + "city" + ] + }, + { + "value": "mountain-sun", + "keywords": [ + "mountain", + "sun" + ] + }, + { + "value": "mug-hot", + "keywords": [ + "mug", + "hot" + ] + }, + { + "value": "mug-saucer", + "keywords": [ + "mug", + "saucer" + ] + }, + { + "value": "music" + }, + { + "value": "n" + }, + { + "value": "naira-sign", + "keywords": [ + "naira", + "sign" + ] + }, + { + "value": "network-wired", + "keywords": [ + "network", + "wired" + ] + }, + { + "value": "neuter" + }, + { + "value": "newspaper" + }, + { + "value": "not-equal", + "keywords": [ + "not", + "equal" + ] + }, + { + "value": "notdef" + }, + { + "value": "note-sticky", + "keywords": [ + "note", + "sticky" + ] + }, + { + "value": "notes-medical", + "keywords": [ + "notes", + "medical" + ] + }, + { + "value": "o" + }, + { + "value": "object-group", + "keywords": [ + "object", + "group" + ] + }, + { + "value": "object-ungroup", + "keywords": [ + "object", + "ungroup" + ] + }, + { + "value": "oil-can", + "keywords": [ + "oil", + "can" + ] + }, + { + "value": "oil-well", + "keywords": [ + "oil", + "well" + ] + }, + { + "value": "om" + }, + { + "value": "otter" + }, + { + "value": "outdent" + }, + { + "value": "p" + }, + { + "value": "pager" + }, + { + "value": "paint-roller", + "keywords": [ + "paint", + "roller" + ] + }, + { + "value": "paintbrush" + }, + { + "value": "palette" + }, + { + "value": "pallet" + }, + { + "value": "panorama" + }, + { + "value": "paper-plane", + "keywords": [ + "paper", + "plane" + ] + }, + { + "value": "paperclip" + }, + { + "value": "parachute-box", + "keywords": [ + "parachute", + "box" + ] + }, + { + "value": "paragraph" + }, + { + "value": "passport" + }, + { + "value": "paste" + }, + { + "value": "pause" + }, + { + "value": "paw" + }, + { + "value": "peace" + }, + { + "value": "pen" + }, + { + "value": "pen-clip", + "keywords": [ + "pen", + "clip" + ] + }, + { + "value": "pen-fancy", + "keywords": [ + "pen", + "fancy" + ] + }, + { + "value": "pen-nib", + "keywords": [ + "pen", + "nib" + ] + }, + { + "value": "pen-ruler", + "keywords": [ + "pen", + "ruler" + ] + }, + { + "value": "pen-to-square", + "keywords": [ + "pen", + "to", + "square" + ] + }, + { + "value": "pencil" + }, + { + "value": "people-arrows", + "keywords": [ + "people", + "arrows" + ] + }, + { + "value": "people-carry-box", + "keywords": [ + "people", + "carry", + "box" + ] + }, + { + "value": "people-group", + "keywords": [ + "people", + "group" + ] + }, + { + "value": "people-line", + "keywords": [ + "people", + "line" + ] + }, + { + "value": "people-pulling", + "keywords": [ + "people", + "pulling" + ] + }, + { + "value": "people-robbery", + "keywords": [ + "people", + "robbery" + ] + }, + { + "value": "people-roof", + "keywords": [ + "people", + "roof" + ] + }, + { + "value": "pepper-hot", + "keywords": [ + "pepper", + "hot" + ] + }, + { + "value": "percent" + }, + { + "value": "person" + }, + { + "value": "person-arrow-down-to-line", + "keywords": [ + "person", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "person-arrow-up-from-line", + "keywords": [ + "person", + "arrow", + "up", + "from", + "line" + ] + }, + { + "value": "person-biking", + "keywords": [ + "person", + "biking" + ] + }, + { + "value": "person-booth", + "keywords": [ + "person", + "booth" + ] + }, + { + "value": "person-breastfeeding", + "keywords": [ + "person", + "breastfeeding" + ] + }, + { + "value": "person-burst", + "keywords": [ + "person", + "burst" + ] + }, + { + "value": "person-cane", + "keywords": [ + "person", + "cane" + ] + }, + { + "value": "person-chalkboard", + "keywords": [ + "person", + "chalkboard" + ] + }, + { + "value": "person-circle-check", + "keywords": [ + "person", + "circle", + "check" + ] + }, + { + "value": "person-circle-exclamation", + "keywords": [ + "person", + "circle", + "exclamation" + ] + }, + { + "value": "person-circle-minus", + "keywords": [ + "person", + "circle", + "minus" + ] + }, + { + "value": "person-circle-plus", + "keywords": [ + "person", + "circle", + "plus" + ] + }, + { + "value": "person-circle-question", + "keywords": [ + "person", + "circle", + "question" + ] + }, + { + "value": "person-circle-xmark", + "keywords": [ + "person", + "circle", + "xmark" + ] + }, + { + "value": "person-digging", + "keywords": [ + "person", + "digging" + ] + }, + { + "value": "person-dots-from-line", + "keywords": [ + "person", + "dots", + "from", + "line" + ] + }, + { + "value": "person-dress", + "keywords": [ + "person", + "dress" + ] + }, + { + "value": "person-dress-burst", + "keywords": [ + "person", + "dress", + "burst" + ] + }, + { + "value": "person-drowning", + "keywords": [ + "person", + "drowning" + ] + }, + { + "value": "person-falling", + "keywords": [ + "person", + "falling" + ] + }, + { + "value": "person-falling-burst", + "keywords": [ + "person", + "falling", + "burst" + ] + }, + { + "value": "person-half-dress", + "keywords": [ + "person", + "half", + "dress" + ] + }, + { + "value": "person-harassing", + "keywords": [ + "person", + "harassing" + ] + }, + { + "value": "person-hiking", + "keywords": [ + "person", + "hiking" + ] + }, + { + "value": "person-military-pointing", + "keywords": [ + "person", + "military", + "pointing" + ] + }, + { + "value": "person-military-rifle", + "keywords": [ + "person", + "military", + "rifle" + ] + }, + { + "value": "person-military-to-person", + "keywords": [ + "person", + "military", + "to", + "person" + ] + }, + { + "value": "person-praying", + "keywords": [ + "person", + "praying" + ] + }, + { + "value": "person-pregnant", + "keywords": [ + "person", + "pregnant" + ] + }, + { + "value": "person-rays", + "keywords": [ + "person", + "rays" + ] + }, + { + "value": "person-rifle", + "keywords": [ + "person", + "rifle" + ] + }, + { + "value": "person-running", + "keywords": [ + "person", + "running" + ] + }, + { + "value": "person-shelter", + "keywords": [ + "person", + "shelter" + ] + }, + { + "value": "person-skating", + "keywords": [ + "person", + "skating" + ] + }, + { + "value": "person-skiing", + "keywords": [ + "person", + "skiing" + ] + }, + { + "value": "person-skiing-nordic", + "keywords": [ + "person", + "skiing", + "nordic" + ] + }, + { + "value": "person-snowboarding", + "keywords": [ + "person", + "snowboarding" + ] + }, + { + "value": "person-swimming", + "keywords": [ + "person", + "swimming" + ] + }, + { + "value": "person-through-window", + "keywords": [ + "person", + "through", + "window" + ] + }, + { + "value": "person-walking", + "keywords": [ + "person", + "walking" + ] + }, + { + "value": "person-walking-arrow-loop-left", + "keywords": [ + "person", + "walking", + "arrow", + "loop", + "left" + ] + }, + { + "value": "person-walking-arrow-right", + "keywords": [ + "person", + "walking", + "arrow", + "right" + ] + }, + { + "value": "person-walking-dashed-line-arrow-right", + "keywords": [ + "person", + "walking", + "dashed", + "line", + "arrow", + "right" + ] + }, + { + "value": "person-walking-luggage", + "keywords": [ + "person", + "walking", + "luggage" + ] + }, + { + "value": "person-walking-with-cane", + "keywords": [ + "person", + "walking", + "with", + "cane" + ] + }, + { + "value": "peseta-sign", + "keywords": [ + "peseta", + "sign" + ] + }, + { + "value": "peso-sign", + "keywords": [ + "peso", + "sign" + ] + }, + { + "value": "phone" + }, + { + "value": "phone-flip", + "keywords": [ + "phone", + "flip" + ] + }, + { + "value": "phone-slash", + "keywords": [ + "phone", + "slash" + ] + }, + { + "value": "phone-volume", + "keywords": [ + "phone", + "volume" + ] + }, + { + "value": "photo-film", + "keywords": [ + "photo", + "film" + ] + }, + { + "value": "piggy-bank", + "keywords": [ + "piggy", + "bank" + ] + }, + { + "value": "pills" + }, + { + "value": "pizza-slice", + "keywords": [ + "pizza", + "slice" + ] + }, + { + "value": "place-of-worship", + "keywords": [ + "place", + "of", + "worship" + ] + }, + { + "value": "plane" + }, + { + "value": "plane-arrival", + "keywords": [ + "plane", + "arrival" + ] + }, + { + "value": "plane-circle-check", + "keywords": [ + "plane", + "circle", + "check" + ] + }, + { + "value": "plane-circle-exclamation", + "keywords": [ + "plane", + "circle", + "exclamation" + ] + }, + { + "value": "plane-circle-xmark", + "keywords": [ + "plane", + "circle", + "xmark" + ] + }, + { + "value": "plane-departure", + "keywords": [ + "plane", + "departure" + ] + }, + { + "value": "plane-lock", + "keywords": [ + "plane", + "lock" + ] + }, + { + "value": "plane-slash", + "keywords": [ + "plane", + "slash" + ] + }, + { + "value": "plane-up", + "keywords": [ + "plane", + "up" + ] + }, + { + "value": "plant-wilt", + "keywords": [ + "plant", + "wilt" + ] + }, + { + "value": "plate-wheat", + "keywords": [ + "plate", + "wheat" + ] + }, + { + "value": "play" + }, + { + "value": "plug" + }, + { + "value": "plug-circle-bolt", + "keywords": [ + "plug", + "circle", + "bolt" + ] + }, + { + "value": "plug-circle-check", + "keywords": [ + "plug", + "circle", + "check" + ] + }, + { + "value": "plug-circle-exclamation", + "keywords": [ + "plug", + "circle", + "exclamation" + ] + }, + { + "value": "plug-circle-minus", + "keywords": [ + "plug", + "circle", + "minus" + ] + }, + { + "value": "plug-circle-plus", + "keywords": [ + "plug", + "circle", + "plus" + ] + }, + { + "value": "plug-circle-xmark", + "keywords": [ + "plug", + "circle", + "xmark" + ] + }, + { + "value": "plus" + }, + { + "value": "plus-minus", + "keywords": [ + "plus", + "minus" + ] + }, + { + "value": "podcast" + }, + { + "value": "poo" + }, + { + "value": "poo-storm", + "keywords": [ + "poo", + "storm" + ] + }, + { + "value": "poop" + }, + { + "value": "power-off", + "keywords": [ + "power", + "off" + ] + }, + { + "value": "prescription" + }, + { + "value": "prescription-bottle", + "keywords": [ + "prescription", + "bottle" + ] + }, + { + "value": "prescription-bottle-medical", + "keywords": [ + "prescription", + "bottle", + "medical" + ] + }, + { + "value": "print" + }, + { + "value": "pump-medical", + "keywords": [ + "pump", + "medical" + ] + }, + { + "value": "pump-soap", + "keywords": [ + "pump", + "soap" + ] + }, + { + "value": "puzzle-piece", + "keywords": [ + "puzzle", + "piece" + ] + }, + { + "value": "q" + }, + { + "value": "qrcode" + }, + { + "value": "question" + }, + { + "value": "quote-left", + "keywords": [ + "quote", + "left" + ] + }, + { + "value": "quote-right", + "keywords": [ + "quote", + "right" + ] + }, + { + "value": "r" + }, + { + "value": "radiation" + }, + { + "value": "radio" + }, + { + "value": "rainbow" + }, + { + "value": "ranking-star", + "keywords": [ + "ranking", + "star" + ] + }, + { + "value": "receipt" + }, + { + "value": "record-vinyl", + "keywords": [ + "record", + "vinyl" + ] + }, + { + "value": "rectangle-ad", + "keywords": [ + "rectangle", + "ad" + ] + }, + { + "value": "rectangle-list", + "keywords": [ + "rectangle", + "list" + ] + }, + { + "value": "rectangle-xmark", + "keywords": [ + "rectangle", + "xmark" + ] + }, + { + "value": "recycle" + }, + { + "value": "registered" + }, + { + "value": "repeat" + }, + { + "value": "reply" + }, + { + "value": "reply-all", + "keywords": [ + "reply", + "all" + ] + }, + { + "value": "republican" + }, + { + "value": "restroom" + }, + { + "value": "retweet" + }, + { + "value": "ribbon" + }, + { + "value": "right-from-bracket", + "keywords": [ + "right", + "from", + "bracket" + ] + }, + { + "value": "right-left", + "keywords": [ + "right", + "left" + ] + }, + { + "value": "right-long", + "keywords": [ + "right", + "long" + ] + }, + { + "value": "right-to-bracket", + "keywords": [ + "right", + "to", + "bracket" + ] + }, + { + "value": "ring" + }, + { + "value": "road" + }, + { + "value": "road-barrier", + "keywords": [ + "road", + "barrier" + ] + }, + { + "value": "road-bridge", + "keywords": [ + "road", + "bridge" + ] + }, + { + "value": "road-circle-check", + "keywords": [ + "road", + "circle", + "check" + ] + }, + { + "value": "road-circle-exclamation", + "keywords": [ + "road", + "circle", + "exclamation" + ] + }, + { + "value": "road-circle-xmark", + "keywords": [ + "road", + "circle", + "xmark" + ] + }, + { + "value": "road-lock", + "keywords": [ + "road", + "lock" + ] + }, + { + "value": "road-spikes", + "keywords": [ + "road", + "spikes" + ] + }, + { + "value": "robot" + }, + { + "value": "rocket" + }, + { + "value": "rotate" + }, + { + "value": "rotate-left", + "keywords": [ + "rotate", + "left" + ] + }, + { + "value": "rotate-right", + "keywords": [ + "rotate", + "right" + ] + }, + { + "value": "route" + }, + { + "value": "rss" + }, + { + "value": "ruble-sign", + "keywords": [ + "ruble", + "sign" + ] + }, + { + "value": "rug" + }, + { + "value": "ruler" + }, + { + "value": "ruler-combined", + "keywords": [ + "ruler", + "combined" + ] + }, + { + "value": "ruler-horizontal", + "keywords": [ + "ruler", + "horizontal" + ] + }, + { + "value": "ruler-vertical", + "keywords": [ + "ruler", + "vertical" + ] + }, + { + "value": "rupee-sign", + "keywords": [ + "rupee", + "sign" + ] + }, + { + "value": "rupiah-sign", + "keywords": [ + "rupiah", + "sign" + ] + }, + { + "value": "s" + }, + { + "value": "sack-dollar", + "keywords": [ + "sack", + "dollar" + ] + }, + { + "value": "sack-xmark", + "keywords": [ + "sack", + "xmark" + ] + }, + { + "value": "sailboat" + }, + { + "value": "satellite" + }, + { + "value": "satellite-dish", + "keywords": [ + "satellite", + "dish" + ] + }, + { + "value": "scale-balanced", + "keywords": [ + "scale", + "balanced" + ] + }, + { + "value": "scale-unbalanced", + "keywords": [ + "scale", + "unbalanced" + ] + }, + { + "value": "scale-unbalanced-flip", + "keywords": [ + "scale", + "unbalanced", + "flip" + ] + }, + { + "value": "school" + }, + { + "value": "school-circle-check", + "keywords": [ + "school", + "circle", + "check" + ] + }, + { + "value": "school-circle-exclamation", + "keywords": [ + "school", + "circle", + "exclamation" + ] + }, + { + "value": "school-circle-xmark", + "keywords": [ + "school", + "circle", + "xmark" + ] + }, + { + "value": "school-flag", + "keywords": [ + "school", + "flag" + ] + }, + { + "value": "school-lock", + "keywords": [ + "school", + "lock" + ] + }, + { + "value": "scissors" + }, + { + "value": "screwdriver" + }, + { + "value": "screwdriver-wrench", + "keywords": [ + "screwdriver", + "wrench" + ] + }, + { + "value": "scroll" + }, + { + "value": "scroll-torah", + "keywords": [ + "scroll", + "torah" + ] + }, + { + "value": "sd-card", + "keywords": [ + "sd", + "card" + ] + }, + { + "value": "section" + }, + { + "value": "seedling" + }, + { + "value": "server" + }, + { + "value": "shapes" + }, + { + "value": "share" + }, + { + "value": "share-from-square", + "keywords": [ + "share", + "from", + "square" + ] + }, + { + "value": "share-nodes", + "keywords": [ + "share", + "nodes" + ] + }, + { + "value": "sheet-plastic", + "keywords": [ + "sheet", + "plastic" + ] + }, + { + "value": "shekel-sign", + "keywords": [ + "shekel", + "sign" + ] + }, + { + "value": "shield" + }, + { + "value": "shield-cat", + "keywords": [ + "shield", + "cat" + ] + }, + { + "value": "shield-dog", + "keywords": [ + "shield", + "dog" + ] + }, + { + "value": "shield-halved", + "keywords": [ + "shield", + "halved" + ] + }, + { + "value": "shield-heart", + "keywords": [ + "shield", + "heart" + ] + }, + { + "value": "shield-virus", + "keywords": [ + "shield", + "virus" + ] + }, + { + "value": "ship" + }, + { + "value": "shirt" + }, + { + "value": "shoe-prints", + "keywords": [ + "shoe", + "prints" + ] + }, + { + "value": "shop" + }, + { + "value": "shop-lock", + "keywords": [ + "shop", + "lock" + ] + }, + { + "value": "shop-slash", + "keywords": [ + "shop", + "slash" + ] + }, + { + "value": "shower" + }, + { + "value": "shrimp" + }, + { + "value": "shuffle" + }, + { + "value": "shuttle-space", + "keywords": [ + "shuttle", + "space" + ] + }, + { + "value": "sign-hanging", + "keywords": [ + "sign", + "hanging" + ] + }, + { + "value": "signal" + }, + { + "value": "signature" + }, + { + "value": "signs-post", + "keywords": [ + "signs", + "post" + ] + }, + { + "value": "sim-card", + "keywords": [ + "sim", + "card" + ] + }, + { + "value": "sink" + }, + { + "value": "sitemap" + }, + { + "value": "skull" + }, + { + "value": "skull-crossbones", + "keywords": [ + "skull", + "crossbones" + ] + }, + { + "value": "slash" + }, + { + "value": "sleigh" + }, + { + "value": "sliders" + }, + { + "value": "smog" + }, + { + "value": "smoking" + }, + { + "value": "snowflake" + }, + { + "value": "snowman" + }, + { + "value": "snowplow" + }, + { + "value": "soap" + }, + { + "value": "socks" + }, + { + "value": "solar-panel", + "keywords": [ + "solar", + "panel" + ] + }, + { + "value": "sort" + }, + { + "value": "sort-down", + "keywords": [ + "sort", + "down" + ] + }, + { + "value": "sort-up", + "keywords": [ + "sort", + "up" + ] + }, + { + "value": "spa" + }, + { + "value": "spaghetti-monster-flying", + "keywords": [ + "spaghetti", + "monster", + "flying" + ] + }, + { + "value": "spell-check", + "keywords": [ + "spell", + "check" + ] + }, + { + "value": "spider" + }, + { + "value": "spinner" + }, + { + "value": "splotch" + }, + { + "value": "spoon" + }, + { + "value": "spray-can", + "keywords": [ + "spray", + "can" + ] + }, + { + "value": "spray-can-sparkles", + "keywords": [ + "spray", + "can", + "sparkles" + ] + }, + { + "value": "square" + }, + { + "value": "square-arrow-up-right", + "keywords": [ + "square", + "arrow", + "up", + "right" + ] + }, + { + "value": "square-caret-down", + "keywords": [ + "square", + "caret", + "down" + ] + }, + { + "value": "square-caret-left", + "keywords": [ + "square", + "caret", + "left" + ] + }, + { + "value": "square-caret-right", + "keywords": [ + "square", + "caret", + "right" + ] + }, + { + "value": "square-caret-up", + "keywords": [ + "square", + "caret", + "up" + ] + }, + { + "value": "square-check", + "keywords": [ + "square", + "check" + ] + }, + { + "value": "square-envelope", + "keywords": [ + "square", + "envelope" + ] + }, + { + "value": "square-full", + "keywords": [ + "square", + "full" + ] + }, + { + "value": "square-h" + }, + { + "value": "square-minus", + "keywords": [ + "square", + "minus" + ] + }, + { + "value": "square-nfi", + "keywords": [ + "square", + "nfi" + ] + }, + { + "value": "square-parking", + "keywords": [ + "square", + "parking" + ] + }, + { + "value": "square-pen", + "keywords": [ + "square", + "pen" + ] + }, + { + "value": "square-person-confined", + "keywords": [ + "square", + "person", + "confined" + ] + }, + { + "value": "square-phone", + "keywords": [ + "square", + "phone" + ] + }, + { + "value": "square-phone-flip", + "keywords": [ + "square", + "phone", + "flip" + ] + }, + { + "value": "square-plus", + "keywords": [ + "square", + "plus" + ] + }, + { + "value": "square-poll-horizontal", + "keywords": [ + "square", + "poll", + "horizontal" + ] + }, + { + "value": "square-poll-vertical", + "keywords": [ + "square", + "poll", + "vertical" + ] + }, + { + "value": "square-root-variable", + "keywords": [ + "square", + "root", + "variable" + ] + }, + { + "value": "square-rss", + "keywords": [ + "square", + "rss" + ] + }, + { + "value": "square-share-nodes", + "keywords": [ + "square", + "share", + "nodes" + ] + }, + { + "value": "square-up-right", + "keywords": [ + "square", + "up", + "right" + ] + }, + { + "value": "square-virus", + "keywords": [ + "square", + "virus" + ] + }, + { + "value": "square-xmark", + "keywords": [ + "square", + "xmark" + ] + }, + { + "value": "staff-snake", + "keywords": [ + "staff", + "snake" + ] + }, + { + "value": "stairs" + }, + { + "value": "stamp" + }, + { + "value": "stapler" + }, + { + "value": "star" + }, + { + "value": "star-and-crescent", + "keywords": [ + "star", + "and", + "crescent" + ] + }, + { + "value": "star-half", + "keywords": [ + "star", + "half" + ] + }, + { + "value": "star-half-stroke", + "keywords": [ + "star", + "half", + "stroke" + ] + }, + { + "value": "star-of-david", + "keywords": [ + "star", + "of", + "david" + ] + }, + { + "value": "star-of-life", + "keywords": [ + "star", + "of", + "life" + ] + }, + { + "value": "sterling-sign", + "keywords": [ + "sterling", + "sign" + ] + }, + { + "value": "stethoscope" + }, + { + "value": "stop" + }, + { + "value": "stopwatch" + }, + { + "value": "stopwatch-20", + "keywords": [ + "stopwatch", + "20" + ] + }, + { + "value": "store" + }, + { + "value": "store-slash", + "keywords": [ + "store", + "slash" + ] + }, + { + "value": "street-view", + "keywords": [ + "street", + "view" + ] + }, + { + "value": "strikethrough" + }, + { + "value": "stroopwafel" + }, + { + "value": "subscript" + }, + { + "value": "suitcase" + }, + { + "value": "suitcase-medical", + "keywords": [ + "suitcase", + "medical" + ] + }, + { + "value": "suitcase-rolling", + "keywords": [ + "suitcase", + "rolling" + ] + }, + { + "value": "sun" + }, + { + "value": "sun-plant-wilt", + "keywords": [ + "sun", + "plant", + "wilt" + ] + }, + { + "value": "superscript" + }, + { + "value": "swatchbook" + }, + { + "value": "synagogue" + }, + { + "value": "syringe" + }, + { + "value": "t" + }, + { + "value": "table" + }, + { + "value": "table-cells", + "keywords": [ + "table", + "cells" + ] + }, + { + "value": "table-cells-large", + "keywords": [ + "table", + "cells", + "large" + ] + }, + { + "value": "table-columns", + "keywords": [ + "table", + "columns" + ] + }, + { + "value": "table-list", + "keywords": [ + "table", + "list" + ] + }, + { + "value": "table-tennis-paddle-ball", + "keywords": [ + "table", + "tennis", + "paddle", + "ball" + ] + }, + { + "value": "tablet" + }, + { + "value": "tablet-button", + "keywords": [ + "tablet", + "button" + ] + }, + { + "value": "tablet-screen-button", + "keywords": [ + "tablet", + "screen", + "button" + ] + }, + { + "value": "tablets" + }, + { + "value": "tachograph-digital", + "keywords": [ + "tachograph", + "digital" + ] + }, + { + "value": "tag" + }, + { + "value": "tags" + }, + { + "value": "tape" + }, + { + "value": "tarp" + }, + { + "value": "tarp-droplet", + "keywords": [ + "tarp", + "droplet" + ] + }, + { + "value": "taxi" + }, + { + "value": "teeth" + }, + { + "value": "teeth-open", + "keywords": [ + "teeth", + "open" + ] + }, + { + "value": "temperature-arrow-down", + "keywords": [ + "temperature", + "arrow", + "down" + ] + }, + { + "value": "temperature-arrow-up", + "keywords": [ + "temperature", + "arrow", + "up" + ] + }, + { + "value": "temperature-empty", + "keywords": [ + "temperature", + "empty" + ] + }, + { + "value": "temperature-full", + "keywords": [ + "temperature", + "full" + ] + }, + { + "value": "temperature-half", + "keywords": [ + "temperature", + "half" + ] + }, + { + "value": "temperature-high", + "keywords": [ + "temperature", + "high" + ] + }, + { + "value": "temperature-low", + "keywords": [ + "temperature", + "low" + ] + }, + { + "value": "temperature-quarter", + "keywords": [ + "temperature", + "quarter" + ] + }, + { + "value": "temperature-three-quarters", + "keywords": [ + "temperature", + "three", + "quarters" + ] + }, + { + "value": "tenge-sign", + "keywords": [ + "tenge", + "sign" + ] + }, + { + "value": "tent" + }, + { + "value": "tent-arrow-down-to-line", + "keywords": [ + "tent", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "tent-arrow-left-right", + "keywords": [ + "tent", + "arrow", + "left", + "right" + ] + }, + { + "value": "tent-arrow-turn-left", + "keywords": [ + "tent", + "arrow", + "turn", + "left" + ] + }, + { + "value": "tent-arrows-down", + "keywords": [ + "tent", + "arrows", + "down" + ] + }, + { + "value": "tents" + }, + { + "value": "terminal" + }, + { + "value": "text-height", + "keywords": [ + "text", + "height" + ] + }, + { + "value": "text-slash", + "keywords": [ + "text", + "slash" + ] + }, + { + "value": "text-width", + "keywords": [ + "text", + "width" + ] + }, + { + "value": "thermometer" + }, + { + "value": "thumbs-down", + "keywords": [ + "thumbs", + "down" + ] + }, + { + "value": "thumbs-up", + "keywords": [ + "thumbs", + "up" + ] + }, + { + "value": "thumbtack" + }, + { + "value": "ticket" + }, + { + "value": "ticket-simple", + "keywords": [ + "ticket", + "simple" + ] + }, + { + "value": "timeline" + }, + { + "value": "toggle-off", + "keywords": [ + "toggle", + "off" + ] + }, + { + "value": "toggle-on", + "keywords": [ + "toggle", + "on" + ] + }, + { + "value": "toilet" + }, + { + "value": "toilet-paper", + "keywords": [ + "toilet", + "paper" + ] + }, + { + "value": "toilet-paper-slash", + "keywords": [ + "toilet", + "paper", + "slash" + ] + }, + { + "value": "toilet-portable", + "keywords": [ + "toilet", + "portable" + ] + }, + { + "value": "toilets-portable", + "keywords": [ + "toilets", + "portable" + ] + }, + { + "value": "toolbox" + }, + { + "value": "tooth" + }, + { + "value": "torii-gate", + "keywords": [ + "torii", + "gate" + ] + }, + { + "value": "tornado" + }, + { + "value": "tower-broadcast", + "keywords": [ + "tower", + "broadcast" + ] + }, + { + "value": "tower-cell", + "keywords": [ + "tower", + "cell" + ] + }, + { + "value": "tower-observation", + "keywords": [ + "tower", + "observation" + ] + }, + { + "value": "tractor" + }, + { + "value": "trademark" + }, + { + "value": "traffic-light", + "keywords": [ + "traffic", + "light" + ] + }, + { + "value": "trailer" + }, + { + "value": "train" + }, + { + "value": "train-subway", + "keywords": [ + "train", + "subway" + ] + }, + { + "value": "train-tram", + "keywords": [ + "train", + "tram" + ] + }, + { + "value": "transgender" + }, + { + "value": "trash" + }, + { + "value": "trash-arrow-up", + "keywords": [ + "trash", + "arrow", + "up" + ] + }, + { + "value": "trash-can", + "keywords": [ + "trash", + "can" + ] + }, + { + "value": "trash-can-arrow-up", + "keywords": [ + "trash", + "can", + "arrow", + "up" + ] + }, + { + "value": "tree" + }, + { + "value": "tree-city", + "keywords": [ + "tree", + "city" + ] + }, + { + "value": "triangle-exclamation", + "keywords": [ + "triangle", + "exclamation" + ] + }, + { + "value": "trophy" + }, + { + "value": "trowel" + }, + { + "value": "trowel-bricks", + "keywords": [ + "trowel", + "bricks" + ] + }, + { + "value": "truck" + }, + { + "value": "truck-arrow-right", + "keywords": [ + "truck", + "arrow", + "right" + ] + }, + { + "value": "truck-droplet", + "keywords": [ + "truck", + "droplet" + ] + }, + { + "value": "truck-fast", + "keywords": [ + "truck", + "fast" + ] + }, + { + "value": "truck-field", + "keywords": [ + "truck", + "field" + ] + }, + { + "value": "truck-field-un", + "keywords": [ + "truck", + "field", + "un" + ] + }, + { + "value": "truck-front", + "keywords": [ + "truck", + "front" + ] + }, + { + "value": "truck-medical", + "keywords": [ + "truck", + "medical" + ] + }, + { + "value": "truck-monster", + "keywords": [ + "truck", + "monster" + ] + }, + { + "value": "truck-moving", + "keywords": [ + "truck", + "moving" + ] + }, + { + "value": "truck-pickup", + "keywords": [ + "truck", + "pickup" + ] + }, + { + "value": "truck-plane", + "keywords": [ + "truck", + "plane" + ] + }, + { + "value": "truck-ramp-box", + "keywords": [ + "truck", + "ramp", + "box" + ] + }, + { + "value": "tty" + }, + { + "value": "turkish-lira-sign", + "keywords": [ + "turkish", + "lira", + "sign" + ] + }, + { + "value": "turn-down", + "keywords": [ + "turn", + "down" + ] + }, + { + "value": "turn-up", + "keywords": [ + "turn", + "up" + ] + }, + { + "value": "tv" + }, + { + "value": "u" + }, + { + "value": "umbrella" + }, + { + "value": "umbrella-beach", + "keywords": [ + "umbrella", + "beach" + ] + }, + { + "value": "underline" + }, + { + "value": "universal-access", + "keywords": [ + "universal", + "access" + ] + }, + { + "value": "unlock" + }, + { + "value": "unlock-keyhole", + "keywords": [ + "unlock", + "keyhole" + ] + }, + { + "value": "up-down", + "keywords": [ + "up", + "down" + ] + }, + { + "value": "up-down-left-right", + "keywords": [ + "up", + "down", + "left", + "right" + ] + }, + { + "value": "up-long", + "keywords": [ + "up", + "long" + ] + }, + { + "value": "up-right-and-down-left-from-center", + "keywords": [ + "up", + "right", + "and", + "down", + "left", + "from", + "center" + ] + }, + { + "value": "up-right-from-square", + "keywords": [ + "up", + "right", + "from", + "square" + ] + }, + { + "value": "upload" + }, + { + "value": "user" + }, + { + "value": "user-astronaut", + "keywords": [ + "user", + "astronaut" + ] + }, + { + "value": "user-check", + "keywords": [ + "user", + "check" + ] + }, + { + "value": "user-clock", + "keywords": [ + "user", + "clock" + ] + }, + { + "value": "user-doctor", + "keywords": [ + "user", + "doctor" + ] + }, + { + "value": "user-gear", + "keywords": [ + "user", + "gear" + ] + }, + { + "value": "user-graduate", + "keywords": [ + "user", + "graduate" + ] + }, + { + "value": "user-group", + "keywords": [ + "user", + "group" + ] + }, + { + "value": "user-injured", + "keywords": [ + "user", + "injured" + ] + }, + { + "value": "user-large", + "keywords": [ + "user", + "large" + ] + }, + { + "value": "user-large-slash", + "keywords": [ + "user", + "large", + "slash" + ] + }, + { + "value": "user-lock", + "keywords": [ + "user", + "lock" + ] + }, + { + "value": "user-minus", + "keywords": [ + "user", + "minus" + ] + }, + { + "value": "user-ninja", + "keywords": [ + "user", + "ninja" + ] + }, + { + "value": "user-nurse", + "keywords": [ + "user", + "nurse" + ] + }, + { + "value": "user-pen", + "keywords": [ + "user", + "pen" + ] + }, + { + "value": "user-plus", + "keywords": [ + "user", + "plus" + ] + }, + { + "value": "user-secret", + "keywords": [ + "user", + "secret" + ] + }, + { + "value": "user-shield", + "keywords": [ + "user", + "shield" + ] + }, + { + "value": "user-slash", + "keywords": [ + "user", + "slash" + ] + }, + { + "value": "user-tag", + "keywords": [ + "user", + "tag" + ] + }, + { + "value": "user-tie", + "keywords": [ + "user", + "tie" + ] + }, + { + "value": "user-xmark", + "keywords": [ + "user", + "xmark" + ] + }, + { + "value": "users" + }, + { + "value": "users-between-lines", + "keywords": [ + "users", + "between", + "lines" + ] + }, + { + "value": "users-gear", + "keywords": [ + "users", + "gear" + ] + }, + { + "value": "users-line", + "keywords": [ + "users", + "line" + ] + }, + { + "value": "users-rays", + "keywords": [ + "users", + "rays" + ] + }, + { + "value": "users-rectangle", + "keywords": [ + "users", + "rectangle" + ] + }, + { + "value": "users-slash", + "keywords": [ + "users", + "slash" + ] + }, + { + "value": "users-viewfinder", + "keywords": [ + "users", + "viewfinder" + ] + }, + { + "value": "utensils" + }, + { + "value": "v" + }, + { + "value": "van-shuttle", + "keywords": [ + "van", + "shuttle" + ] + }, + { + "value": "vault" + }, + { + "value": "vector-square", + "keywords": [ + "vector", + "square" + ] + }, + { + "value": "venus" + }, + { + "value": "venus-double", + "keywords": [ + "venus", + "double" + ] + }, + { + "value": "venus-mars", + "keywords": [ + "venus", + "mars" + ] + }, + { + "value": "vest" + }, + { + "value": "vest-patches", + "keywords": [ + "vest", + "patches" + ] + }, + { + "value": "vial" + }, + { + "value": "vial-circle-check", + "keywords": [ + "vial", + "circle", + "check" + ] + }, + { + "value": "vial-virus", + "keywords": [ + "vial", + "virus" + ] + }, + { + "value": "vials" + }, + { + "value": "video" + }, + { + "value": "video-slash", + "keywords": [ + "video", + "slash" + ] + }, + { + "value": "vihara" + }, + { + "value": "virus" + }, + { + "value": "virus-covid", + "keywords": [ + "virus", + "covid" + ] + }, + { + "value": "virus-covid-slash", + "keywords": [ + "virus", + "covid", + "slash" + ] + }, + { + "value": "virus-slash", + "keywords": [ + "virus", + "slash" + ] + }, + { + "value": "viruses" + }, + { + "value": "voicemail" + }, + { + "value": "volcano" + }, + { + "value": "volleyball" + }, + { + "value": "volume-high", + "keywords": [ + "volume", + "high" + ] + }, + { + "value": "volume-low", + "keywords": [ + "volume", + "low" + ] + }, + { + "value": "volume-off", + "keywords": [ + "volume", + "off" + ] + }, + { + "value": "volume-xmark", + "keywords": [ + "volume", + "xmark" + ] + }, + { + "value": "vr-cardboard", + "keywords": [ + "vr", + "cardboard" + ] + }, + { + "value": "w" + }, + { + "value": "walkie-talkie", + "keywords": [ + "walkie", + "talkie" + ] + }, + { + "value": "wallet" + }, + { + "value": "wand-magic", + "keywords": [ + "wand", + "magic" + ] + }, + { + "value": "wand-magic-sparkles", + "keywords": [ + "wand", + "magic", + "sparkles" + ] + }, + { + "value": "wand-sparkles", + "keywords": [ + "wand", + "sparkles" + ] + }, + { + "value": "warehouse" + }, + { + "value": "water" + }, + { + "value": "water-ladder", + "keywords": [ + "water", + "ladder" + ] + }, + { + "value": "wave-square", + "keywords": [ + "wave", + "square" + ] + }, + { + "value": "weight-hanging", + "keywords": [ + "weight", + "hanging" + ] + }, + { + "value": "weight-scale", + "keywords": [ + "weight", + "scale" + ] + }, + { + "value": "wheat-awn", + "keywords": [ + "wheat", + "awn" + ] + }, + { + "value": "wheat-awn-circle-exclamation", + "keywords": [ + "wheat", + "awn", + "circle", + "exclamation" + ] + }, + { + "value": "wheelchair" + }, + { + "value": "wheelchair-move", + "keywords": [ + "wheelchair", + "move" + ] + }, + { + "value": "whiskey-glass", + "keywords": [ + "whiskey", + "glass" + ] + }, + { + "value": "wifi" + }, + { + "value": "wind" + }, + { + "value": "window-maximize", + "keywords": [ + "window", + "maximize" + ] + }, + { + "value": "window-minimize", + "keywords": [ + "window", + "minimize" + ] + }, + { + "value": "window-restore", + "keywords": [ + "window", + "restore" + ] + }, + { + "value": "wine-bottle", + "keywords": [ + "wine", + "bottle" + ] + }, + { + "value": "wine-glass", + "keywords": [ + "wine", + "glass" + ] + }, + { + "value": "wine-glass-empty", + "keywords": [ + "wine", + "glass", + "empty" + ] + }, + { + "value": "won-sign", + "keywords": [ + "won", + "sign" + ] + }, + { + "value": "worm" + }, + { + "value": "wrench" + }, + { + "value": "x" + }, + { + "value": "x-ray" + }, + { + "value": "xmark" + }, + { + "value": "xmarks-lines", + "keywords": [ + "xmarks", + "lines" + ] + }, + { + "value": "y" + }, + { + "value": "yen-sign", + "keywords": [ + "yen", + "sign" + ] + }, + { + "value": "yin-yang", + "keywords": [ + "yin", + "yang" + ] + }, + { + "value": "z" + } + ] + }, + "alertType": { + "label": "$t:editor.control.alert_type.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "type" + }, + "options": [ + { + "value": "info", + "label": "$t:editor.control.alert_type.info" + }, + { + "value": "success", + "label": "$t:editor.control.alert_type.success" + }, + { + "value": "warning", + "label": "$t:editor.control.alert_type.warning" + }, + { + "value": "error", + "label": "$t:editor.control.alert_type.error" + } + ] + }, + "alertMessage": { + "label": "$t:editor.control.alert_message.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "message" + } + }, + "alertDismissible": { + "label": "$t:editor.control.alert_dismissible.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "dismissible" + } + }, + "esTitle": { + "label": "$t:editor.control.es_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "title" + } + }, + "esDesc": { + "label": "$t:editor.control.es_desc.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "description" + } + }, + "esIconName": { + "label": "$t:editor.control.es_icon_name.label", + "widget": "icon-picker", + "apply": { + "type": "propValue", + "propKey": "iconName" + }, + "iconColumns": 8, + "icons": [ + { + "value": "0" + }, + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + }, + { + "value": "4" + }, + { + "value": "5" + }, + { + "value": "6" + }, + { + "value": "7" + }, + { + "value": "8" + }, + { + "value": "9" + }, + { + "value": "a" + }, + { + "value": "address-book", + "keywords": [ + "address", + "book" + ] + }, + { + "value": "address-card", + "keywords": [ + "address", + "card" + ] + }, + { + "value": "align-center", + "keywords": [ + "align", + "center" + ] + }, + { + "value": "align-justify", + "keywords": [ + "align", + "justify" + ] + }, + { + "value": "align-left", + "keywords": [ + "align", + "left" + ] + }, + { + "value": "align-right", + "keywords": [ + "align", + "right" + ] + }, + { + "value": "anchor" + }, + { + "value": "anchor-circle-check", + "keywords": [ + "anchor", + "circle", + "check" + ] + }, + { + "value": "anchor-circle-exclamation", + "keywords": [ + "anchor", + "circle", + "exclamation" + ] + }, + { + "value": "anchor-circle-xmark", + "keywords": [ + "anchor", + "circle", + "xmark" + ] + }, + { + "value": "anchor-lock", + "keywords": [ + "anchor", + "lock" + ] + }, + { + "value": "angle-down", + "keywords": [ + "angle", + "down" + ] + }, + { + "value": "angle-left", + "keywords": [ + "angle", + "left" + ] + }, + { + "value": "angle-right", + "keywords": [ + "angle", + "right" + ] + }, + { + "value": "angle-up", + "keywords": [ + "angle", + "up" + ] + }, + { + "value": "angles-down", + "keywords": [ + "angles", + "down" + ] + }, + { + "value": "angles-left", + "keywords": [ + "angles", + "left" + ] + }, + { + "value": "angles-right", + "keywords": [ + "angles", + "right" + ] + }, + { + "value": "angles-up", + "keywords": [ + "angles", + "up" + ] + }, + { + "value": "ankh" + }, + { + "value": "apple-whole", + "keywords": [ + "apple", + "whole" + ] + }, + { + "value": "archway" + }, + { + "value": "arrow-down", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-1-9", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-9-1", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-a-z", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-long", + "keywords": [ + "arrow", + "down", + "long" + ] + }, + { + "value": "arrow-down-short-wide", + "keywords": [ + "arrow", + "down", + "short", + "wide" + ] + }, + { + "value": "arrow-down-up-across-line", + "keywords": [ + "arrow", + "down", + "up", + "across", + "line" + ] + }, + { + "value": "arrow-down-up-lock", + "keywords": [ + "arrow", + "down", + "up", + "lock" + ] + }, + { + "value": "arrow-down-wide-short", + "keywords": [ + "arrow", + "down", + "wide", + "short" + ] + }, + { + "value": "arrow-down-z-a", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-left", + "keywords": [ + "arrow", + "left" + ] + }, + { + "value": "arrow-left-long", + "keywords": [ + "arrow", + "left", + "long" + ] + }, + { + "value": "arrow-pointer", + "keywords": [ + "arrow", + "pointer" + ] + }, + { + "value": "arrow-right", + "keywords": [ + "arrow", + "right" + ] + }, + { + "value": "arrow-right-arrow-left", + "keywords": [ + "arrow", + "right", + "arrow", + "left" + ] + }, + { + "value": "arrow-right-from-bracket", + "keywords": [ + "arrow", + "right", + "from", + "bracket" + ] + }, + { + "value": "arrow-right-long", + "keywords": [ + "arrow", + "right", + "long" + ] + }, + { + "value": "arrow-right-to-bracket", + "keywords": [ + "arrow", + "right", + "to", + "bracket" + ] + }, + { + "value": "arrow-right-to-city", + "keywords": [ + "arrow", + "right", + "to", + "city" + ] + }, + { + "value": "arrow-rotate-left", + "keywords": [ + "arrow", + "rotate", + "left" + ] + }, + { + "value": "arrow-rotate-right", + "keywords": [ + "arrow", + "rotate", + "right" + ] + }, + { + "value": "arrow-trend-down", + "keywords": [ + "arrow", + "trend", + "down" + ] + }, + { + "value": "arrow-trend-up", + "keywords": [ + "arrow", + "trend", + "up" + ] + }, + { + "value": "arrow-turn-down", + "keywords": [ + "arrow", + "turn", + "down" + ] + }, + { + "value": "arrow-turn-up", + "keywords": [ + "arrow", + "turn", + "up" + ] + }, + { + "value": "arrow-up", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-1-9", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-9-1", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-a-z", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-from-bracket", + "keywords": [ + "arrow", + "up", + "from", + "bracket" + ] + }, + { + "value": "arrow-up-from-ground-water", + "keywords": [ + "arrow", + "up", + "from", + "ground", + "water" + ] + }, + { + "value": "arrow-up-from-water-pump", + "keywords": [ + "arrow", + "up", + "from", + "water", + "pump" + ] + }, + { + "value": "arrow-up-long", + "keywords": [ + "arrow", + "up", + "long" + ] + }, + { + "value": "arrow-up-right-dots", + "keywords": [ + "arrow", + "up", + "right", + "dots" + ] + }, + { + "value": "arrow-up-right-from-square", + "keywords": [ + "arrow", + "up", + "right", + "from", + "square" + ] + }, + { + "value": "arrow-up-short-wide", + "keywords": [ + "arrow", + "up", + "short", + "wide" + ] + }, + { + "value": "arrow-up-wide-short", + "keywords": [ + "arrow", + "up", + "wide", + "short" + ] + }, + { + "value": "arrow-up-z-a", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrows-down-to-line", + "keywords": [ + "arrows", + "down", + "to", + "line" + ] + }, + { + "value": "arrows-down-to-people", + "keywords": [ + "arrows", + "down", + "to", + "people" + ] + }, + { + "value": "arrows-left-right", + "keywords": [ + "arrows", + "left", + "right" + ] + }, + { + "value": "arrows-left-right-to-line", + "keywords": [ + "arrows", + "left", + "right", + "to", + "line" + ] + }, + { + "value": "arrows-rotate", + "keywords": [ + "arrows", + "rotate" + ] + }, + { + "value": "arrows-spin", + "keywords": [ + "arrows", + "spin" + ] + }, + { + "value": "arrows-split-up-and-left", + "keywords": [ + "arrows", + "split", + "up", + "and", + "left" + ] + }, + { + "value": "arrows-to-circle", + "keywords": [ + "arrows", + "to", + "circle" + ] + }, + { + "value": "arrows-to-dot", + "keywords": [ + "arrows", + "to", + "dot" + ] + }, + { + "value": "arrows-to-eye", + "keywords": [ + "arrows", + "to", + "eye" + ] + }, + { + "value": "arrows-turn-right", + "keywords": [ + "arrows", + "turn", + "right" + ] + }, + { + "value": "arrows-turn-to-dots", + "keywords": [ + "arrows", + "turn", + "to", + "dots" + ] + }, + { + "value": "arrows-up-down", + "keywords": [ + "arrows", + "up", + "down" + ] + }, + { + "value": "arrows-up-down-left-right", + "keywords": [ + "arrows", + "up", + "down", + "left", + "right" + ] + }, + { + "value": "arrows-up-to-line", + "keywords": [ + "arrows", + "up", + "to", + "line" + ] + }, + { + "value": "asterisk" + }, + { + "value": "at" + }, + { + "value": "atom" + }, + { + "value": "audio-description", + "keywords": [ + "audio", + "description" + ] + }, + { + "value": "austral-sign", + "keywords": [ + "austral", + "sign" + ] + }, + { + "value": "award" + }, + { + "value": "b" + }, + { + "value": "baby" + }, + { + "value": "baby-carriage", + "keywords": [ + "baby", + "carriage" + ] + }, + { + "value": "backward" + }, + { + "value": "backward-fast", + "keywords": [ + "backward", + "fast" + ] + }, + { + "value": "backward-step", + "keywords": [ + "backward", + "step" + ] + }, + { + "value": "bacon" + }, + { + "value": "bacteria" + }, + { + "value": "bacterium" + }, + { + "value": "bag-shopping", + "keywords": [ + "bag", + "shopping" + ] + }, + { + "value": "bahai" + }, + { + "value": "baht-sign", + "keywords": [ + "baht", + "sign" + ] + }, + { + "value": "ban" + }, + { + "value": "ban-smoking", + "keywords": [ + "ban", + "smoking" + ] + }, + { + "value": "bandage" + }, + { + "value": "bangladeshi-taka-sign", + "keywords": [ + "bangladeshi", + "taka", + "sign" + ] + }, + { + "value": "barcode" + }, + { + "value": "bars" + }, + { + "value": "bars-progress", + "keywords": [ + "bars", + "progress" + ] + }, + { + "value": "bars-staggered", + "keywords": [ + "bars", + "staggered" + ] + }, + { + "value": "baseball" + }, + { + "value": "baseball-bat-ball", + "keywords": [ + "baseball", + "bat", + "ball" + ] + }, + { + "value": "basket-shopping", + "keywords": [ + "basket", + "shopping" + ] + }, + { + "value": "basketball" + }, + { + "value": "bath" + }, + { + "value": "battery-empty", + "keywords": [ + "battery", + "empty" + ] + }, + { + "value": "battery-full", + "keywords": [ + "battery", + "full" + ] + }, + { + "value": "battery-half", + "keywords": [ + "battery", + "half" + ] + }, + { + "value": "battery-quarter", + "keywords": [ + "battery", + "quarter" + ] + }, + { + "value": "battery-three-quarters", + "keywords": [ + "battery", + "three", + "quarters" + ] + }, + { + "value": "bed" + }, + { + "value": "bed-pulse", + "keywords": [ + "bed", + "pulse" + ] + }, + { + "value": "beer-mug-empty", + "keywords": [ + "beer", + "mug", + "empty" + ] + }, + { + "value": "bell" + }, + { + "value": "bell-concierge", + "keywords": [ + "bell", + "concierge" + ] + }, + { + "value": "bell-slash", + "keywords": [ + "bell", + "slash" + ] + }, + { + "value": "bezier-curve", + "keywords": [ + "bezier", + "curve" + ] + }, + { + "value": "bicycle" + }, + { + "value": "binoculars" + }, + { + "value": "biohazard" + }, + { + "value": "bitcoin-sign", + "keywords": [ + "bitcoin", + "sign" + ] + }, + { + "value": "blender" + }, + { + "value": "blender-phone", + "keywords": [ + "blender", + "phone" + ] + }, + { + "value": "blog" + }, + { + "value": "bold" + }, + { + "value": "bolt" + }, + { + "value": "bolt-lightning", + "keywords": [ + "bolt", + "lightning" + ] + }, + { + "value": "bomb" + }, + { + "value": "bone" + }, + { + "value": "bong" + }, + { + "value": "book" + }, + { + "value": "book-atlas", + "keywords": [ + "book", + "atlas" + ] + }, + { + "value": "book-bible", + "keywords": [ + "book", + "bible" + ] + }, + { + "value": "book-bookmark", + "keywords": [ + "book", + "bookmark" + ] + }, + { + "value": "book-journal-whills", + "keywords": [ + "book", + "journal", + "whills" + ] + }, + { + "value": "book-medical", + "keywords": [ + "book", + "medical" + ] + }, + { + "value": "book-open", + "keywords": [ + "book", + "open" + ] + }, + { + "value": "book-open-reader", + "keywords": [ + "book", + "open", + "reader" + ] + }, + { + "value": "book-quran", + "keywords": [ + "book", + "quran" + ] + }, + { + "value": "book-skull", + "keywords": [ + "book", + "skull" + ] + }, + { + "value": "book-tanakh", + "keywords": [ + "book", + "tanakh" + ] + }, + { + "value": "bookmark" + }, + { + "value": "border-all", + "keywords": [ + "border", + "all" + ] + }, + { + "value": "border-none", + "keywords": [ + "border", + "none" + ] + }, + { + "value": "border-top-left", + "keywords": [ + "border", + "top", + "left" + ] + }, + { + "value": "bore-hole", + "keywords": [ + "bore", + "hole" + ] + }, + { + "value": "bottle-droplet", + "keywords": [ + "bottle", + "droplet" + ] + }, + { + "value": "bottle-water", + "keywords": [ + "bottle", + "water" + ] + }, + { + "value": "bowl-food", + "keywords": [ + "bowl", + "food" + ] + }, + { + "value": "bowl-rice", + "keywords": [ + "bowl", + "rice" + ] + }, + { + "value": "bowling-ball", + "keywords": [ + "bowling", + "ball" + ] + }, + { + "value": "box" + }, + { + "value": "box-archive", + "keywords": [ + "box", + "archive" + ] + }, + { + "value": "box-open", + "keywords": [ + "box", + "open" + ] + }, + { + "value": "box-tissue", + "keywords": [ + "box", + "tissue" + ] + }, + { + "value": "boxes-packing", + "keywords": [ + "boxes", + "packing" + ] + }, + { + "value": "boxes-stacked", + "keywords": [ + "boxes", + "stacked" + ] + }, + { + "value": "braille" + }, + { + "value": "brain" + }, + { + "value": "brazilian-real-sign", + "keywords": [ + "brazilian", + "real", + "sign" + ] + }, + { + "value": "bread-slice", + "keywords": [ + "bread", + "slice" + ] + }, + { + "value": "bridge" + }, + { + "value": "bridge-circle-check", + "keywords": [ + "bridge", + "circle", + "check" + ] + }, + { + "value": "bridge-circle-exclamation", + "keywords": [ + "bridge", + "circle", + "exclamation" + ] + }, + { + "value": "bridge-circle-xmark", + "keywords": [ + "bridge", + "circle", + "xmark" + ] + }, + { + "value": "bridge-lock", + "keywords": [ + "bridge", + "lock" + ] + }, + { + "value": "bridge-water", + "keywords": [ + "bridge", + "water" + ] + }, + { + "value": "briefcase" + }, + { + "value": "briefcase-medical", + "keywords": [ + "briefcase", + "medical" + ] + }, + { + "value": "broom" + }, + { + "value": "broom-ball", + "keywords": [ + "broom", + "ball" + ] + }, + { + "value": "brush" + }, + { + "value": "bucket" + }, + { + "value": "bug" + }, + { + "value": "bug-slash", + "keywords": [ + "bug", + "slash" + ] + }, + { + "value": "bugs" + }, + { + "value": "building" + }, + { + "value": "building-circle-arrow-right", + "keywords": [ + "building", + "circle", + "arrow", + "right" + ] + }, + { + "value": "building-circle-check", + "keywords": [ + "building", + "circle", + "check" + ] + }, + { + "value": "building-circle-exclamation", + "keywords": [ + "building", + "circle", + "exclamation" + ] + }, + { + "value": "building-circle-xmark", + "keywords": [ + "building", + "circle", + "xmark" + ] + }, + { + "value": "building-columns", + "keywords": [ + "building", + "columns" + ] + }, + { + "value": "building-flag", + "keywords": [ + "building", + "flag" + ] + }, + { + "value": "building-lock", + "keywords": [ + "building", + "lock" + ] + }, + { + "value": "building-ngo", + "keywords": [ + "building", + "ngo" + ] + }, + { + "value": "building-shield", + "keywords": [ + "building", + "shield" + ] + }, + { + "value": "building-un", + "keywords": [ + "building", + "un" + ] + }, + { + "value": "building-user", + "keywords": [ + "building", + "user" + ] + }, + { + "value": "building-wheat", + "keywords": [ + "building", + "wheat" + ] + }, + { + "value": "bullhorn" + }, + { + "value": "bullseye" + }, + { + "value": "burger" + }, + { + "value": "burst" + }, + { + "value": "bus" + }, + { + "value": "bus-simple", + "keywords": [ + "bus", + "simple" + ] + }, + { + "value": "business-time", + "keywords": [ + "business", + "time" + ] + }, + { + "value": "c" + }, + { + "value": "cable-car", + "keywords": [ + "cable", + "car" + ] + }, + { + "value": "cake-candles", + "keywords": [ + "cake", + "candles" + ] + }, + { + "value": "calculator" + }, + { + "value": "calendar" + }, + { + "value": "calendar-check", + "keywords": [ + "calendar", + "check" + ] + }, + { + "value": "calendar-day", + "keywords": [ + "calendar", + "day" + ] + }, + { + "value": "calendar-days", + "keywords": [ + "calendar", + "days" + ] + }, + { + "value": "calendar-minus", + "keywords": [ + "calendar", + "minus" + ] + }, + { + "value": "calendar-plus", + "keywords": [ + "calendar", + "plus" + ] + }, + { + "value": "calendar-week", + "keywords": [ + "calendar", + "week" + ] + }, + { + "value": "calendar-xmark", + "keywords": [ + "calendar", + "xmark" + ] + }, + { + "value": "camera" + }, + { + "value": "camera-retro", + "keywords": [ + "camera", + "retro" + ] + }, + { + "value": "camera-rotate", + "keywords": [ + "camera", + "rotate" + ] + }, + { + "value": "campground" + }, + { + "value": "candy-cane", + "keywords": [ + "candy", + "cane" + ] + }, + { + "value": "cannabis" + }, + { + "value": "capsules" + }, + { + "value": "car" + }, + { + "value": "car-battery", + "keywords": [ + "car", + "battery" + ] + }, + { + "value": "car-burst", + "keywords": [ + "car", + "burst" + ] + }, + { + "value": "car-on", + "keywords": [ + "car", + "on" + ] + }, + { + "value": "car-rear", + "keywords": [ + "car", + "rear" + ] + }, + { + "value": "car-side", + "keywords": [ + "car", + "side" + ] + }, + { + "value": "car-tunnel", + "keywords": [ + "car", + "tunnel" + ] + }, + { + "value": "caravan" + }, + { + "value": "caret-down", + "keywords": [ + "caret", + "down" + ] + }, + { + "value": "caret-left", + "keywords": [ + "caret", + "left" + ] + }, + { + "value": "caret-right", + "keywords": [ + "caret", + "right" + ] + }, + { + "value": "caret-up", + "keywords": [ + "caret", + "up" + ] + }, + { + "value": "carrot" + }, + { + "value": "cart-arrow-down", + "keywords": [ + "cart", + "arrow", + "down" + ] + }, + { + "value": "cart-flatbed", + "keywords": [ + "cart", + "flatbed" + ] + }, + { + "value": "cart-flatbed-suitcase", + "keywords": [ + "cart", + "flatbed", + "suitcase" + ] + }, + { + "value": "cart-plus", + "keywords": [ + "cart", + "plus" + ] + }, + { + "value": "cart-shopping", + "keywords": [ + "cart", + "shopping" + ] + }, + { + "value": "cash-register", + "keywords": [ + "cash", + "register" + ] + }, + { + "value": "cat" + }, + { + "value": "cedi-sign", + "keywords": [ + "cedi", + "sign" + ] + }, + { + "value": "cent-sign", + "keywords": [ + "cent", + "sign" + ] + }, + { + "value": "certificate" + }, + { + "value": "chair" + }, + { + "value": "chalkboard" + }, + { + "value": "chalkboard-user", + "keywords": [ + "chalkboard", + "user" + ] + }, + { + "value": "champagne-glasses", + "keywords": [ + "champagne", + "glasses" + ] + }, + { + "value": "charging-station", + "keywords": [ + "charging", + "station" + ] + }, + { + "value": "chart-area", + "keywords": [ + "chart", + "area" + ] + }, + { + "value": "chart-bar", + "keywords": [ + "chart", + "bar" + ] + }, + { + "value": "chart-column", + "keywords": [ + "chart", + "column" + ] + }, + { + "value": "chart-gantt", + "keywords": [ + "chart", + "gantt" + ] + }, + { + "value": "chart-line", + "keywords": [ + "chart", + "line" + ] + }, + { + "value": "chart-pie", + "keywords": [ + "chart", + "pie" + ] + }, + { + "value": "chart-simple", + "keywords": [ + "chart", + "simple" + ] + }, + { + "value": "check" + }, + { + "value": "check-double", + "keywords": [ + "check", + "double" + ] + }, + { + "value": "check-to-slot", + "keywords": [ + "check", + "to", + "slot" + ] + }, + { + "value": "cheese" + }, + { + "value": "chess" + }, + { + "value": "chess-bishop", + "keywords": [ + "chess", + "bishop" + ] + }, + { + "value": "chess-board", + "keywords": [ + "chess", + "board" + ] + }, + { + "value": "chess-king", + "keywords": [ + "chess", + "king" + ] + }, + { + "value": "chess-knight", + "keywords": [ + "chess", + "knight" + ] + }, + { + "value": "chess-pawn", + "keywords": [ + "chess", + "pawn" + ] + }, + { + "value": "chess-queen", + "keywords": [ + "chess", + "queen" + ] + }, + { + "value": "chess-rook", + "keywords": [ + "chess", + "rook" + ] + }, + { + "value": "chevron-down", + "keywords": [ + "chevron", + "down" + ] + }, + { + "value": "chevron-left", + "keywords": [ + "chevron", + "left" + ] + }, + { + "value": "chevron-right", + "keywords": [ + "chevron", + "right" + ] + }, + { + "value": "chevron-up", + "keywords": [ + "chevron", + "up" + ] + }, + { + "value": "child" + }, + { + "value": "child-combatant", + "keywords": [ + "child", + "combatant" + ] + }, + { + "value": "child-dress", + "keywords": [ + "child", + "dress" + ] + }, + { + "value": "child-reaching", + "keywords": [ + "child", + "reaching" + ] + }, + { + "value": "children" + }, + { + "value": "church" + }, + { + "value": "circle" + }, + { + "value": "circle-arrow-down", + "keywords": [ + "circle", + "arrow", + "down" + ] + }, + { + "value": "circle-arrow-left", + "keywords": [ + "circle", + "arrow", + "left" + ] + }, + { + "value": "circle-arrow-right", + "keywords": [ + "circle", + "arrow", + "right" + ] + }, + { + "value": "circle-arrow-up", + "keywords": [ + "circle", + "arrow", + "up" + ] + }, + { + "value": "circle-check", + "keywords": [ + "circle", + "check" + ] + }, + { + "value": "circle-chevron-down", + "keywords": [ + "circle", + "chevron", + "down" + ] + }, + { + "value": "circle-chevron-left", + "keywords": [ + "circle", + "chevron", + "left" + ] + }, + { + "value": "circle-chevron-right", + "keywords": [ + "circle", + "chevron", + "right" + ] + }, + { + "value": "circle-chevron-up", + "keywords": [ + "circle", + "chevron", + "up" + ] + }, + { + "value": "circle-dollar-to-slot", + "keywords": [ + "circle", + "dollar", + "to", + "slot" + ] + }, + { + "value": "circle-dot", + "keywords": [ + "circle", + "dot" + ] + }, + { + "value": "circle-down", + "keywords": [ + "circle", + "down" + ] + }, + { + "value": "circle-exclamation", + "keywords": [ + "circle", + "exclamation" + ] + }, + { + "value": "circle-h" + }, + { + "value": "circle-half-stroke", + "keywords": [ + "circle", + "half", + "stroke" + ] + }, + { + "value": "circle-info", + "keywords": [ + "circle", + "info" + ] + }, + { + "value": "circle-left", + "keywords": [ + "circle", + "left" + ] + }, + { + "value": "circle-minus", + "keywords": [ + "circle", + "minus" + ] + }, + { + "value": "circle-nodes", + "keywords": [ + "circle", + "nodes" + ] + }, + { + "value": "circle-notch", + "keywords": [ + "circle", + "notch" + ] + }, + { + "value": "circle-pause", + "keywords": [ + "circle", + "pause" + ] + }, + { + "value": "circle-play", + "keywords": [ + "circle", + "play" + ] + }, + { + "value": "circle-plus", + "keywords": [ + "circle", + "plus" + ] + }, + { + "value": "circle-question", + "keywords": [ + "circle", + "question" + ] + }, + { + "value": "circle-radiation", + "keywords": [ + "circle", + "radiation" + ] + }, + { + "value": "circle-right", + "keywords": [ + "circle", + "right" + ] + }, + { + "value": "circle-stop", + "keywords": [ + "circle", + "stop" + ] + }, + { + "value": "circle-up", + "keywords": [ + "circle", + "up" + ] + }, + { + "value": "circle-user", + "keywords": [ + "circle", + "user" + ] + }, + { + "value": "circle-xmark", + "keywords": [ + "circle", + "xmark" + ] + }, + { + "value": "city" + }, + { + "value": "clapperboard" + }, + { + "value": "clipboard" + }, + { + "value": "clipboard-check", + "keywords": [ + "clipboard", + "check" + ] + }, + { + "value": "clipboard-list", + "keywords": [ + "clipboard", + "list" + ] + }, + { + "value": "clipboard-question", + "keywords": [ + "clipboard", + "question" + ] + }, + { + "value": "clipboard-user", + "keywords": [ + "clipboard", + "user" + ] + }, + { + "value": "clock" + }, + { + "value": "clock-rotate-left", + "keywords": [ + "clock", + "rotate", + "left" + ] + }, + { + "value": "clone" + }, + { + "value": "closed-captioning", + "keywords": [ + "closed", + "captioning" + ] + }, + { + "value": "cloud" + }, + { + "value": "cloud-arrow-down", + "keywords": [ + "cloud", + "arrow", + "down" + ] + }, + { + "value": "cloud-arrow-up", + "keywords": [ + "cloud", + "arrow", + "up" + ] + }, + { + "value": "cloud-bolt", + "keywords": [ + "cloud", + "bolt" + ] + }, + { + "value": "cloud-meatball", + "keywords": [ + "cloud", + "meatball" + ] + }, + { + "value": "cloud-moon", + "keywords": [ + "cloud", + "moon" + ] + }, + { + "value": "cloud-moon-rain", + "keywords": [ + "cloud", + "moon", + "rain" + ] + }, + { + "value": "cloud-rain", + "keywords": [ + "cloud", + "rain" + ] + }, + { + "value": "cloud-showers-heavy", + "keywords": [ + "cloud", + "showers", + "heavy" + ] + }, + { + "value": "cloud-showers-water", + "keywords": [ + "cloud", + "showers", + "water" + ] + }, + { + "value": "cloud-sun", + "keywords": [ + "cloud", + "sun" + ] + }, + { + "value": "cloud-sun-rain", + "keywords": [ + "cloud", + "sun", + "rain" + ] + }, + { + "value": "clover" + }, + { + "value": "code" + }, + { + "value": "code-branch", + "keywords": [ + "code", + "branch" + ] + }, + { + "value": "code-commit", + "keywords": [ + "code", + "commit" + ] + }, + { + "value": "code-compare", + "keywords": [ + "code", + "compare" + ] + }, + { + "value": "code-fork", + "keywords": [ + "code", + "fork" + ] + }, + { + "value": "code-merge", + "keywords": [ + "code", + "merge" + ] + }, + { + "value": "code-pull-request", + "keywords": [ + "code", + "pull", + "request" + ] + }, + { + "value": "coins" + }, + { + "value": "colon-sign", + "keywords": [ + "colon", + "sign" + ] + }, + { + "value": "comment" + }, + { + "value": "comment-dollar", + "keywords": [ + "comment", + "dollar" + ] + }, + { + "value": "comment-dots", + "keywords": [ + "comment", + "dots" + ] + }, + { + "value": "comment-medical", + "keywords": [ + "comment", + "medical" + ] + }, + { + "value": "comment-slash", + "keywords": [ + "comment", + "slash" + ] + }, + { + "value": "comment-sms", + "keywords": [ + "comment", + "sms" + ] + }, + { + "value": "comments" + }, + { + "value": "comments-dollar", + "keywords": [ + "comments", + "dollar" + ] + }, + { + "value": "compact-disc", + "keywords": [ + "compact", + "disc" + ] + }, + { + "value": "compass" + }, + { + "value": "compass-drafting", + "keywords": [ + "compass", + "drafting" + ] + }, + { + "value": "compress" + }, + { + "value": "computer" + }, + { + "value": "computer-mouse", + "keywords": [ + "computer", + "mouse" + ] + }, + { + "value": "cookie" + }, + { + "value": "cookie-bite", + "keywords": [ + "cookie", + "bite" + ] + }, + { + "value": "copy" + }, + { + "value": "copyright" + }, + { + "value": "couch" + }, + { + "value": "cow" + }, + { + "value": "credit-card", + "keywords": [ + "credit", + "card" + ] + }, + { + "value": "crop" + }, + { + "value": "crop-simple", + "keywords": [ + "crop", + "simple" + ] + }, + { + "value": "cross" + }, + { + "value": "crosshairs" + }, + { + "value": "crow" + }, + { + "value": "crown" + }, + { + "value": "crutch" + }, + { + "value": "cruzeiro-sign", + "keywords": [ + "cruzeiro", + "sign" + ] + }, + { + "value": "cube" + }, + { + "value": "cubes" + }, + { + "value": "cubes-stacked", + "keywords": [ + "cubes", + "stacked" + ] + }, + { + "value": "d" + }, + { + "value": "database" + }, + { + "value": "delete-left", + "keywords": [ + "delete", + "left" + ] + }, + { + "value": "democrat" + }, + { + "value": "desktop" + }, + { + "value": "dharmachakra" + }, + { + "value": "diagram-next", + "keywords": [ + "diagram", + "next" + ] + }, + { + "value": "diagram-predecessor", + "keywords": [ + "diagram", + "predecessor" + ] + }, + { + "value": "diagram-project", + "keywords": [ + "diagram", + "project" + ] + }, + { + "value": "diagram-successor", + "keywords": [ + "diagram", + "successor" + ] + }, + { + "value": "diamond" + }, + { + "value": "diamond-turn-right", + "keywords": [ + "diamond", + "turn", + "right" + ] + }, + { + "value": "dice" + }, + { + "value": "dice-d20", + "keywords": [ + "dice", + "d20" + ] + }, + { + "value": "dice-d6", + "keywords": [ + "dice", + "d6" + ] + }, + { + "value": "dice-five", + "keywords": [ + "dice", + "five" + ] + }, + { + "value": "dice-four", + "keywords": [ + "dice", + "four" + ] + }, + { + "value": "dice-one", + "keywords": [ + "dice", + "one" + ] + }, + { + "value": "dice-six", + "keywords": [ + "dice", + "six" + ] + }, + { + "value": "dice-three", + "keywords": [ + "dice", + "three" + ] + }, + { + "value": "dice-two", + "keywords": [ + "dice", + "two" + ] + }, + { + "value": "disease" + }, + { + "value": "display" + }, + { + "value": "divide" + }, + { + "value": "dna" + }, + { + "value": "dog" + }, + { + "value": "dollar-sign", + "keywords": [ + "dollar", + "sign" + ] + }, + { + "value": "dolly" + }, + { + "value": "dong-sign", + "keywords": [ + "dong", + "sign" + ] + }, + { + "value": "door-closed", + "keywords": [ + "door", + "closed" + ] + }, + { + "value": "door-open", + "keywords": [ + "door", + "open" + ] + }, + { + "value": "dove" + }, + { + "value": "down-left-and-up-right-to-center", + "keywords": [ + "down", + "left", + "and", + "up", + "right", + "to", + "center" + ] + }, + { + "value": "down-long", + "keywords": [ + "down", + "long" + ] + }, + { + "value": "download" + }, + { + "value": "dragon" + }, + { + "value": "draw-polygon", + "keywords": [ + "draw", + "polygon" + ] + }, + { + "value": "droplet" + }, + { + "value": "droplet-slash", + "keywords": [ + "droplet", + "slash" + ] + }, + { + "value": "drum" + }, + { + "value": "drum-steelpan", + "keywords": [ + "drum", + "steelpan" + ] + }, + { + "value": "drumstick-bite", + "keywords": [ + "drumstick", + "bite" + ] + }, + { + "value": "dumbbell" + }, + { + "value": "dumpster" + }, + { + "value": "dumpster-fire", + "keywords": [ + "dumpster", + "fire" + ] + }, + { + "value": "dungeon" + }, + { + "value": "e" + }, + { + "value": "ear-deaf", + "keywords": [ + "ear", + "deaf" + ] + }, + { + "value": "ear-listen", + "keywords": [ + "ear", + "listen" + ] + }, + { + "value": "earth-africa", + "keywords": [ + "earth", + "africa" + ] + }, + { + "value": "earth-americas", + "keywords": [ + "earth", + "americas" + ] + }, + { + "value": "earth-asia", + "keywords": [ + "earth", + "asia" + ] + }, + { + "value": "earth-europe", + "keywords": [ + "earth", + "europe" + ] + }, + { + "value": "earth-oceania", + "keywords": [ + "earth", + "oceania" + ] + }, + { + "value": "egg" + }, + { + "value": "eject" + }, + { + "value": "elevator" + }, + { + "value": "ellipsis" + }, + { + "value": "ellipsis-vertical", + "keywords": [ + "ellipsis", + "vertical" + ] + }, + { + "value": "envelope" + }, + { + "value": "envelope-circle-check", + "keywords": [ + "envelope", + "circle", + "check" + ] + }, + { + "value": "envelope-open", + "keywords": [ + "envelope", + "open" + ] + }, + { + "value": "envelope-open-text", + "keywords": [ + "envelope", + "open", + "text" + ] + }, + { + "value": "envelopes-bulk", + "keywords": [ + "envelopes", + "bulk" + ] + }, + { + "value": "equals" + }, + { + "value": "eraser" + }, + { + "value": "ethernet" + }, + { + "value": "euro-sign", + "keywords": [ + "euro", + "sign" + ] + }, + { + "value": "exclamation" + }, + { + "value": "expand" + }, + { + "value": "explosion" + }, + { + "value": "eye" + }, + { + "value": "eye-dropper", + "keywords": [ + "eye", + "dropper" + ] + }, + { + "value": "eye-low-vision", + "keywords": [ + "eye", + "low", + "vision" + ] + }, + { + "value": "eye-slash", + "keywords": [ + "eye", + "slash" + ] + }, + { + "value": "f" + }, + { + "value": "face-angry", + "keywords": [ + "face", + "angry" + ] + }, + { + "value": "face-dizzy", + "keywords": [ + "face", + "dizzy" + ] + }, + { + "value": "face-flushed", + "keywords": [ + "face", + "flushed" + ] + }, + { + "value": "face-frown", + "keywords": [ + "face", + "frown" + ] + }, + { + "value": "face-frown-open", + "keywords": [ + "face", + "frown", + "open" + ] + }, + { + "value": "face-grimace", + "keywords": [ + "face", + "grimace" + ] + }, + { + "value": "face-grin", + "keywords": [ + "face", + "grin" + ] + }, + { + "value": "face-grin-beam", + "keywords": [ + "face", + "grin", + "beam" + ] + }, + { + "value": "face-grin-beam-sweat", + "keywords": [ + "face", + "grin", + "beam", + "sweat" + ] + }, + { + "value": "face-grin-hearts", + "keywords": [ + "face", + "grin", + "hearts" + ] + }, + { + "value": "face-grin-squint", + "keywords": [ + "face", + "grin", + "squint" + ] + }, + { + "value": "face-grin-squint-tears", + "keywords": [ + "face", + "grin", + "squint", + "tears" + ] + }, + { + "value": "face-grin-stars", + "keywords": [ + "face", + "grin", + "stars" + ] + }, + { + "value": "face-grin-tears", + "keywords": [ + "face", + "grin", + "tears" + ] + }, + { + "value": "face-grin-tongue", + "keywords": [ + "face", + "grin", + "tongue" + ] + }, + { + "value": "face-grin-tongue-squint", + "keywords": [ + "face", + "grin", + "tongue", + "squint" + ] + }, + { + "value": "face-grin-tongue-wink", + "keywords": [ + "face", + "grin", + "tongue", + "wink" + ] + }, + { + "value": "face-grin-wide", + "keywords": [ + "face", + "grin", + "wide" + ] + }, + { + "value": "face-grin-wink", + "keywords": [ + "face", + "grin", + "wink" + ] + }, + { + "value": "face-kiss", + "keywords": [ + "face", + "kiss" + ] + }, + { + "value": "face-kiss-beam", + "keywords": [ + "face", + "kiss", + "beam" + ] + }, + { + "value": "face-kiss-wink-heart", + "keywords": [ + "face", + "kiss", + "wink", + "heart" + ] + }, + { + "value": "face-laugh", + "keywords": [ + "face", + "laugh" + ] + }, + { + "value": "face-laugh-beam", + "keywords": [ + "face", + "laugh", + "beam" + ] + }, + { + "value": "face-laugh-squint", + "keywords": [ + "face", + "laugh", + "squint" + ] + }, + { + "value": "face-laugh-wink", + "keywords": [ + "face", + "laugh", + "wink" + ] + }, + { + "value": "face-meh", + "keywords": [ + "face", + "meh" + ] + }, + { + "value": "face-meh-blank", + "keywords": [ + "face", + "meh", + "blank" + ] + }, + { + "value": "face-rolling-eyes", + "keywords": [ + "face", + "rolling", + "eyes" + ] + }, + { + "value": "face-sad-cry", + "keywords": [ + "face", + "sad", + "cry" + ] + }, + { + "value": "face-sad-tear", + "keywords": [ + "face", + "sad", + "tear" + ] + }, + { + "value": "face-smile", + "keywords": [ + "face", + "smile" + ] + }, + { + "value": "face-smile-beam", + "keywords": [ + "face", + "smile", + "beam" + ] + }, + { + "value": "face-smile-wink", + "keywords": [ + "face", + "smile", + "wink" + ] + }, + { + "value": "face-surprise", + "keywords": [ + "face", + "surprise" + ] + }, + { + "value": "face-tired", + "keywords": [ + "face", + "tired" + ] + }, + { + "value": "fan" + }, + { + "value": "faucet" + }, + { + "value": "faucet-drip", + "keywords": [ + "faucet", + "drip" + ] + }, + { + "value": "fax" + }, + { + "value": "feather" + }, + { + "value": "feather-pointed", + "keywords": [ + "feather", + "pointed" + ] + }, + { + "value": "ferry" + }, + { + "value": "file" + }, + { + "value": "file-arrow-down", + "keywords": [ + "file", + "arrow", + "down" + ] + }, + { + "value": "file-arrow-up", + "keywords": [ + "file", + "arrow", + "up" + ] + }, + { + "value": "file-audio", + "keywords": [ + "file", + "audio" + ] + }, + { + "value": "file-circle-check", + "keywords": [ + "file", + "circle", + "check" + ] + }, + { + "value": "file-circle-exclamation", + "keywords": [ + "file", + "circle", + "exclamation" + ] + }, + { + "value": "file-circle-minus", + "keywords": [ + "file", + "circle", + "minus" + ] + }, + { + "value": "file-circle-plus", + "keywords": [ + "file", + "circle", + "plus" + ] + }, + { + "value": "file-circle-question", + "keywords": [ + "file", + "circle", + "question" + ] + }, + { + "value": "file-circle-xmark", + "keywords": [ + "file", + "circle", + "xmark" + ] + }, + { + "value": "file-code", + "keywords": [ + "file", + "code" + ] + }, + { + "value": "file-contract", + "keywords": [ + "file", + "contract" + ] + }, + { + "value": "file-csv", + "keywords": [ + "file", + "csv" + ] + }, + { + "value": "file-excel", + "keywords": [ + "file", + "excel" + ] + }, + { + "value": "file-export", + "keywords": [ + "file", + "export" + ] + }, + { + "value": "file-image", + "keywords": [ + "file", + "image" + ] + }, + { + "value": "file-import", + "keywords": [ + "file", + "import" + ] + }, + { + "value": "file-invoice", + "keywords": [ + "file", + "invoice" + ] + }, + { + "value": "file-invoice-dollar", + "keywords": [ + "file", + "invoice", + "dollar" + ] + }, + { + "value": "file-lines", + "keywords": [ + "file", + "lines" + ] + }, + { + "value": "file-medical", + "keywords": [ + "file", + "medical" + ] + }, + { + "value": "file-pdf", + "keywords": [ + "file", + "pdf" + ] + }, + { + "value": "file-pen", + "keywords": [ + "file", + "pen" + ] + }, + { + "value": "file-powerpoint", + "keywords": [ + "file", + "powerpoint" + ] + }, + { + "value": "file-prescription", + "keywords": [ + "file", + "prescription" + ] + }, + { + "value": "file-shield", + "keywords": [ + "file", + "shield" + ] + }, + { + "value": "file-signature", + "keywords": [ + "file", + "signature" + ] + }, + { + "value": "file-video", + "keywords": [ + "file", + "video" + ] + }, + { + "value": "file-waveform", + "keywords": [ + "file", + "waveform" + ] + }, + { + "value": "file-word", + "keywords": [ + "file", + "word" + ] + }, + { + "value": "file-zipper", + "keywords": [ + "file", + "zipper" + ] + }, + { + "value": "fill" + }, + { + "value": "fill-drip", + "keywords": [ + "fill", + "drip" + ] + }, + { + "value": "film" + }, + { + "value": "filter" + }, + { + "value": "filter-circle-dollar", + "keywords": [ + "filter", + "circle", + "dollar" + ] + }, + { + "value": "filter-circle-xmark", + "keywords": [ + "filter", + "circle", + "xmark" + ] + }, + { + "value": "fingerprint" + }, + { + "value": "fire" + }, + { + "value": "fire-burner", + "keywords": [ + "fire", + "burner" + ] + }, + { + "value": "fire-extinguisher", + "keywords": [ + "fire", + "extinguisher" + ] + }, + { + "value": "fire-flame-curved", + "keywords": [ + "fire", + "flame", + "curved" + ] + }, + { + "value": "fire-flame-simple", + "keywords": [ + "fire", + "flame", + "simple" + ] + }, + { + "value": "fish" + }, + { + "value": "fish-fins", + "keywords": [ + "fish", + "fins" + ] + }, + { + "value": "flag" + }, + { + "value": "flag-checkered", + "keywords": [ + "flag", + "checkered" + ] + }, + { + "value": "flag-usa", + "keywords": [ + "flag", + "usa" + ] + }, + { + "value": "flask" + }, + { + "value": "flask-vial", + "keywords": [ + "flask", + "vial" + ] + }, + { + "value": "floppy-disk", + "keywords": [ + "floppy", + "disk" + ] + }, + { + "value": "florin-sign", + "keywords": [ + "florin", + "sign" + ] + }, + { + "value": "folder" + }, + { + "value": "folder-closed", + "keywords": [ + "folder", + "closed" + ] + }, + { + "value": "folder-minus", + "keywords": [ + "folder", + "minus" + ] + }, + { + "value": "folder-open", + "keywords": [ + "folder", + "open" + ] + }, + { + "value": "folder-plus", + "keywords": [ + "folder", + "plus" + ] + }, + { + "value": "folder-tree", + "keywords": [ + "folder", + "tree" + ] + }, + { + "value": "font" + }, + { + "value": "font-awesome", + "keywords": [ + "font", + "awesome" + ] + }, + { + "value": "football" + }, + { + "value": "forward" + }, + { + "value": "forward-fast", + "keywords": [ + "forward", + "fast" + ] + }, + { + "value": "forward-step", + "keywords": [ + "forward", + "step" + ] + }, + { + "value": "franc-sign", + "keywords": [ + "franc", + "sign" + ] + }, + { + "value": "frog" + }, + { + "value": "futbol" + }, + { + "value": "g" + }, + { + "value": "gamepad" + }, + { + "value": "gas-pump", + "keywords": [ + "gas", + "pump" + ] + }, + { + "value": "gauge" + }, + { + "value": "gauge-high", + "keywords": [ + "gauge", + "high" + ] + }, + { + "value": "gauge-simple", + "keywords": [ + "gauge", + "simple" + ] + }, + { + "value": "gauge-simple-high", + "keywords": [ + "gauge", + "simple", + "high" + ] + }, + { + "value": "gavel" + }, + { + "value": "gear" + }, + { + "value": "gears" + }, + { + "value": "gem" + }, + { + "value": "genderless" + }, + { + "value": "ghost" + }, + { + "value": "gift" + }, + { + "value": "gifts" + }, + { + "value": "glass-water", + "keywords": [ + "glass", + "water" + ] + }, + { + "value": "glass-water-droplet", + "keywords": [ + "glass", + "water", + "droplet" + ] + }, + { + "value": "glasses" + }, + { + "value": "globe" + }, + { + "value": "golf-ball-tee", + "keywords": [ + "golf", + "ball", + "tee" + ] + }, + { + "value": "gopuram" + }, + { + "value": "graduation-cap", + "keywords": [ + "graduation", + "cap" + ] + }, + { + "value": "greater-than", + "keywords": [ + "greater", + "than" + ] + }, + { + "value": "greater-than-equal", + "keywords": [ + "greater", + "than", + "equal" + ] + }, + { + "value": "grip" + }, + { + "value": "grip-lines", + "keywords": [ + "grip", + "lines" + ] + }, + { + "value": "grip-lines-vertical", + "keywords": [ + "grip", + "lines", + "vertical" + ] + }, + { + "value": "grip-vertical", + "keywords": [ + "grip", + "vertical" + ] + }, + { + "value": "group-arrows-rotate", + "keywords": [ + "group", + "arrows", + "rotate" + ] + }, + { + "value": "guarani-sign", + "keywords": [ + "guarani", + "sign" + ] + }, + { + "value": "guitar" + }, + { + "value": "gun" + }, + { + "value": "h" + }, + { + "value": "hammer" + }, + { + "value": "hamsa" + }, + { + "value": "hand" + }, + { + "value": "hand-back-fist", + "keywords": [ + "hand", + "back", + "fist" + ] + }, + { + "value": "hand-dots", + "keywords": [ + "hand", + "dots" + ] + }, + { + "value": "hand-fist", + "keywords": [ + "hand", + "fist" + ] + }, + { + "value": "hand-holding", + "keywords": [ + "hand", + "holding" + ] + }, + { + "value": "hand-holding-dollar", + "keywords": [ + "hand", + "holding", + "dollar" + ] + }, + { + "value": "hand-holding-droplet", + "keywords": [ + "hand", + "holding", + "droplet" + ] + }, + { + "value": "hand-holding-hand", + "keywords": [ + "hand", + "holding", + "hand" + ] + }, + { + "value": "hand-holding-heart", + "keywords": [ + "hand", + "holding", + "heart" + ] + }, + { + "value": "hand-holding-medical", + "keywords": [ + "hand", + "holding", + "medical" + ] + }, + { + "value": "hand-lizard", + "keywords": [ + "hand", + "lizard" + ] + }, + { + "value": "hand-middle-finger", + "keywords": [ + "hand", + "middle", + "finger" + ] + }, + { + "value": "hand-peace", + "keywords": [ + "hand", + "peace" + ] + }, + { + "value": "hand-point-down", + "keywords": [ + "hand", + "point", + "down" + ] + }, + { + "value": "hand-point-left", + "keywords": [ + "hand", + "point", + "left" + ] + }, + { + "value": "hand-point-right", + "keywords": [ + "hand", + "point", + "right" + ] + }, + { + "value": "hand-point-up", + "keywords": [ + "hand", + "point", + "up" + ] + }, + { + "value": "hand-pointer", + "keywords": [ + "hand", + "pointer" + ] + }, + { + "value": "hand-scissors", + "keywords": [ + "hand", + "scissors" + ] + }, + { + "value": "hand-sparkles", + "keywords": [ + "hand", + "sparkles" + ] + }, + { + "value": "hand-spock", + "keywords": [ + "hand", + "spock" + ] + }, + { + "value": "handcuffs" + }, + { + "value": "hands" + }, + { + "value": "hands-asl-interpreting", + "keywords": [ + "hands", + "asl", + "interpreting" + ] + }, + { + "value": "hands-bound", + "keywords": [ + "hands", + "bound" + ] + }, + { + "value": "hands-bubbles", + "keywords": [ + "hands", + "bubbles" + ] + }, + { + "value": "hands-clapping", + "keywords": [ + "hands", + "clapping" + ] + }, + { + "value": "hands-holding", + "keywords": [ + "hands", + "holding" + ] + }, + { + "value": "hands-holding-child", + "keywords": [ + "hands", + "holding", + "child" + ] + }, + { + "value": "hands-holding-circle", + "keywords": [ + "hands", + "holding", + "circle" + ] + }, + { + "value": "hands-praying", + "keywords": [ + "hands", + "praying" + ] + }, + { + "value": "handshake" + }, + { + "value": "handshake-angle", + "keywords": [ + "handshake", + "angle" + ] + }, + { + "value": "handshake-simple", + "keywords": [ + "handshake", + "simple" + ] + }, + { + "value": "handshake-simple-slash", + "keywords": [ + "handshake", + "simple", + "slash" + ] + }, + { + "value": "handshake-slash", + "keywords": [ + "handshake", + "slash" + ] + }, + { + "value": "hanukiah" + }, + { + "value": "hard-drive", + "keywords": [ + "hard", + "drive" + ] + }, + { + "value": "hashtag" + }, + { + "value": "hat-cowboy", + "keywords": [ + "hat", + "cowboy" + ] + }, + { + "value": "hat-cowboy-side", + "keywords": [ + "hat", + "cowboy", + "side" + ] + }, + { + "value": "hat-wizard", + "keywords": [ + "hat", + "wizard" + ] + }, + { + "value": "head-side-cough", + "keywords": [ + "head", + "side", + "cough" + ] + }, + { + "value": "head-side-cough-slash", + "keywords": [ + "head", + "side", + "cough", + "slash" + ] + }, + { + "value": "head-side-mask", + "keywords": [ + "head", + "side", + "mask" + ] + }, + { + "value": "head-side-virus", + "keywords": [ + "head", + "side", + "virus" + ] + }, + { + "value": "heading" + }, + { + "value": "headphones" + }, + { + "value": "headphones-simple", + "keywords": [ + "headphones", + "simple" + ] + }, + { + "value": "headset" + }, + { + "value": "heart" + }, + { + "value": "heart-circle-bolt", + "keywords": [ + "heart", + "circle", + "bolt" + ] + }, + { + "value": "heart-circle-check", + "keywords": [ + "heart", + "circle", + "check" + ] + }, + { + "value": "heart-circle-exclamation", + "keywords": [ + "heart", + "circle", + "exclamation" + ] + }, + { + "value": "heart-circle-minus", + "keywords": [ + "heart", + "circle", + "minus" + ] + }, + { + "value": "heart-circle-plus", + "keywords": [ + "heart", + "circle", + "plus" + ] + }, + { + "value": "heart-circle-xmark", + "keywords": [ + "heart", + "circle", + "xmark" + ] + }, + { + "value": "heart-crack", + "keywords": [ + "heart", + "crack" + ] + }, + { + "value": "heart-pulse", + "keywords": [ + "heart", + "pulse" + ] + }, + { + "value": "helicopter" + }, + { + "value": "helicopter-symbol", + "keywords": [ + "helicopter", + "symbol" + ] + }, + { + "value": "helmet-safety", + "keywords": [ + "helmet", + "safety" + ] + }, + { + "value": "helmet-un", + "keywords": [ + "helmet", + "un" + ] + }, + { + "value": "highlighter" + }, + { + "value": "hill-avalanche", + "keywords": [ + "hill", + "avalanche" + ] + }, + { + "value": "hill-rockslide", + "keywords": [ + "hill", + "rockslide" + ] + }, + { + "value": "hippo" + }, + { + "value": "hockey-puck", + "keywords": [ + "hockey", + "puck" + ] + }, + { + "value": "holly-berry", + "keywords": [ + "holly", + "berry" + ] + }, + { + "value": "horse" + }, + { + "value": "horse-head", + "keywords": [ + "horse", + "head" + ] + }, + { + "value": "hospital" + }, + { + "value": "hospital-user", + "keywords": [ + "hospital", + "user" + ] + }, + { + "value": "hot-tub-person", + "keywords": [ + "hot", + "tub", + "person" + ] + }, + { + "value": "hotdog" + }, + { + "value": "hotel" + }, + { + "value": "hourglass" + }, + { + "value": "hourglass-end", + "keywords": [ + "hourglass", + "end" + ] + }, + { + "value": "hourglass-half", + "keywords": [ + "hourglass", + "half" + ] + }, + { + "value": "hourglass-start", + "keywords": [ + "hourglass", + "start" + ] + }, + { + "value": "house" + }, + { + "value": "house-chimney", + "keywords": [ + "house", + "chimney" + ] + }, + { + "value": "house-chimney-crack", + "keywords": [ + "house", + "chimney", + "crack" + ] + }, + { + "value": "house-chimney-medical", + "keywords": [ + "house", + "chimney", + "medical" + ] + }, + { + "value": "house-chimney-user", + "keywords": [ + "house", + "chimney", + "user" + ] + }, + { + "value": "house-chimney-window", + "keywords": [ + "house", + "chimney", + "window" + ] + }, + { + "value": "house-circle-check", + "keywords": [ + "house", + "circle", + "check" + ] + }, + { + "value": "house-circle-exclamation", + "keywords": [ + "house", + "circle", + "exclamation" + ] + }, + { + "value": "house-circle-xmark", + "keywords": [ + "house", + "circle", + "xmark" + ] + }, + { + "value": "house-crack", + "keywords": [ + "house", + "crack" + ] + }, + { + "value": "house-fire", + "keywords": [ + "house", + "fire" + ] + }, + { + "value": "house-flag", + "keywords": [ + "house", + "flag" + ] + }, + { + "value": "house-flood-water", + "keywords": [ + "house", + "flood", + "water" + ] + }, + { + "value": "house-flood-water-circle-arrow-right", + "keywords": [ + "house", + "flood", + "water", + "circle", + "arrow", + "right" + ] + }, + { + "value": "house-laptop", + "keywords": [ + "house", + "laptop" + ] + }, + { + "value": "house-lock", + "keywords": [ + "house", + "lock" + ] + }, + { + "value": "house-medical", + "keywords": [ + "house", + "medical" + ] + }, + { + "value": "house-medical-circle-check", + "keywords": [ + "house", + "medical", + "circle", + "check" + ] + }, + { + "value": "house-medical-circle-exclamation", + "keywords": [ + "house", + "medical", + "circle", + "exclamation" + ] + }, + { + "value": "house-medical-circle-xmark", + "keywords": [ + "house", + "medical", + "circle", + "xmark" + ] + }, + { + "value": "house-medical-flag", + "keywords": [ + "house", + "medical", + "flag" + ] + }, + { + "value": "house-signal", + "keywords": [ + "house", + "signal" + ] + }, + { + "value": "house-tsunami", + "keywords": [ + "house", + "tsunami" + ] + }, + { + "value": "house-user", + "keywords": [ + "house", + "user" + ] + }, + { + "value": "hryvnia-sign", + "keywords": [ + "hryvnia", + "sign" + ] + }, + { + "value": "hurricane" + }, + { + "value": "i" + }, + { + "value": "i-cursor" + }, + { + "value": "ice-cream", + "keywords": [ + "ice", + "cream" + ] + }, + { + "value": "icicles" + }, + { + "value": "icons" + }, + { + "value": "id-badge", + "keywords": [ + "id", + "badge" + ] + }, + { + "value": "id-card", + "keywords": [ + "id", + "card" + ] + }, + { + "value": "id-card-clip", + "keywords": [ + "id", + "card", + "clip" + ] + }, + { + "value": "igloo" + }, + { + "value": "image" + }, + { + "value": "image-portrait", + "keywords": [ + "image", + "portrait" + ] + }, + { + "value": "images" + }, + { + "value": "inbox" + }, + { + "value": "indent" + }, + { + "value": "indian-rupee-sign", + "keywords": [ + "indian", + "rupee", + "sign" + ] + }, + { + "value": "industry" + }, + { + "value": "infinity" + }, + { + "value": "info" + }, + { + "value": "italic" + }, + { + "value": "j" + }, + { + "value": "jar" + }, + { + "value": "jar-wheat", + "keywords": [ + "jar", + "wheat" + ] + }, + { + "value": "jedi" + }, + { + "value": "jet-fighter", + "keywords": [ + "jet", + "fighter" + ] + }, + { + "value": "jet-fighter-up", + "keywords": [ + "jet", + "fighter", + "up" + ] + }, + { + "value": "joint" + }, + { + "value": "jug-detergent", + "keywords": [ + "jug", + "detergent" + ] + }, + { + "value": "k" + }, + { + "value": "kaaba" + }, + { + "value": "key" + }, + { + "value": "keyboard" + }, + { + "value": "khanda" + }, + { + "value": "kip-sign", + "keywords": [ + "kip", + "sign" + ] + }, + { + "value": "kit-medical", + "keywords": [ + "kit", + "medical" + ] + }, + { + "value": "kitchen-set", + "keywords": [ + "kitchen", + "set" + ] + }, + { + "value": "kiwi-bird", + "keywords": [ + "kiwi", + "bird" + ] + }, + { + "value": "l" + }, + { + "value": "land-mine-on", + "keywords": [ + "land", + "mine", + "on" + ] + }, + { + "value": "landmark" + }, + { + "value": "landmark-dome", + "keywords": [ + "landmark", + "dome" + ] + }, + { + "value": "landmark-flag", + "keywords": [ + "landmark", + "flag" + ] + }, + { + "value": "language" + }, + { + "value": "laptop" + }, + { + "value": "laptop-code", + "keywords": [ + "laptop", + "code" + ] + }, + { + "value": "laptop-file", + "keywords": [ + "laptop", + "file" + ] + }, + { + "value": "laptop-medical", + "keywords": [ + "laptop", + "medical" + ] + }, + { + "value": "lari-sign", + "keywords": [ + "lari", + "sign" + ] + }, + { + "value": "layer-group", + "keywords": [ + "layer", + "group" + ] + }, + { + "value": "leaf" + }, + { + "value": "left-long", + "keywords": [ + "left", + "long" + ] + }, + { + "value": "left-right", + "keywords": [ + "left", + "right" + ] + }, + { + "value": "lemon" + }, + { + "value": "less-than", + "keywords": [ + "less", + "than" + ] + }, + { + "value": "less-than-equal", + "keywords": [ + "less", + "than", + "equal" + ] + }, + { + "value": "life-ring", + "keywords": [ + "life", + "ring" + ] + }, + { + "value": "lightbulb" + }, + { + "value": "lines-leaning", + "keywords": [ + "lines", + "leaning" + ] + }, + { + "value": "link" + }, + { + "value": "link-slash", + "keywords": [ + "link", + "slash" + ] + }, + { + "value": "lira-sign", + "keywords": [ + "lira", + "sign" + ] + }, + { + "value": "list" + }, + { + "value": "list-check", + "keywords": [ + "list", + "check" + ] + }, + { + "value": "list-ol", + "keywords": [ + "list", + "ol" + ] + }, + { + "value": "list-ul", + "keywords": [ + "list", + "ul" + ] + }, + { + "value": "litecoin-sign", + "keywords": [ + "litecoin", + "sign" + ] + }, + { + "value": "location-arrow", + "keywords": [ + "location", + "arrow" + ] + }, + { + "value": "location-crosshairs", + "keywords": [ + "location", + "crosshairs" + ] + }, + { + "value": "location-dot", + "keywords": [ + "location", + "dot" + ] + }, + { + "value": "location-pin", + "keywords": [ + "location", + "pin" + ] + }, + { + "value": "location-pin-lock", + "keywords": [ + "location", + "pin", + "lock" + ] + }, + { + "value": "lock" + }, + { + "value": "lock-open", + "keywords": [ + "lock", + "open" + ] + }, + { + "value": "locust" + }, + { + "value": "lungs" + }, + { + "value": "lungs-virus", + "keywords": [ + "lungs", + "virus" + ] + }, + { + "value": "m" + }, + { + "value": "magnet" + }, + { + "value": "magnifying-glass", + "keywords": [ + "magnifying", + "glass" + ] + }, + { + "value": "magnifying-glass-arrow-right", + "keywords": [ + "magnifying", + "glass", + "arrow", + "right" + ] + }, + { + "value": "magnifying-glass-chart", + "keywords": [ + "magnifying", + "glass", + "chart" + ] + }, + { + "value": "magnifying-glass-dollar", + "keywords": [ + "magnifying", + "glass", + "dollar" + ] + }, + { + "value": "magnifying-glass-location", + "keywords": [ + "magnifying", + "glass", + "location" + ] + }, + { + "value": "magnifying-glass-minus", + "keywords": [ + "magnifying", + "glass", + "minus" + ] + }, + { + "value": "magnifying-glass-plus", + "keywords": [ + "magnifying", + "glass", + "plus" + ] + }, + { + "value": "manat-sign", + "keywords": [ + "manat", + "sign" + ] + }, + { + "value": "map" + }, + { + "value": "map-location", + "keywords": [ + "map", + "location" + ] + }, + { + "value": "map-location-dot", + "keywords": [ + "map", + "location", + "dot" + ] + }, + { + "value": "map-pin", + "keywords": [ + "map", + "pin" + ] + }, + { + "value": "marker" + }, + { + "value": "mars" + }, + { + "value": "mars-and-venus", + "keywords": [ + "mars", + "and", + "venus" + ] + }, + { + "value": "mars-and-venus-burst", + "keywords": [ + "mars", + "and", + "venus", + "burst" + ] + }, + { + "value": "mars-double", + "keywords": [ + "mars", + "double" + ] + }, + { + "value": "mars-stroke", + "keywords": [ + "mars", + "stroke" + ] + }, + { + "value": "mars-stroke-right", + "keywords": [ + "mars", + "stroke", + "right" + ] + }, + { + "value": "mars-stroke-up", + "keywords": [ + "mars", + "stroke", + "up" + ] + }, + { + "value": "martini-glass", + "keywords": [ + "martini", + "glass" + ] + }, + { + "value": "martini-glass-citrus", + "keywords": [ + "martini", + "glass", + "citrus" + ] + }, + { + "value": "martini-glass-empty", + "keywords": [ + "martini", + "glass", + "empty" + ] + }, + { + "value": "mask" + }, + { + "value": "mask-face", + "keywords": [ + "mask", + "face" + ] + }, + { + "value": "mask-ventilator", + "keywords": [ + "mask", + "ventilator" + ] + }, + { + "value": "masks-theater", + "keywords": [ + "masks", + "theater" + ] + }, + { + "value": "mattress-pillow", + "keywords": [ + "mattress", + "pillow" + ] + }, + { + "value": "maximize" + }, + { + "value": "medal" + }, + { + "value": "memory" + }, + { + "value": "menorah" + }, + { + "value": "mercury" + }, + { + "value": "message" + }, + { + "value": "meteor" + }, + { + "value": "microchip" + }, + { + "value": "microphone" + }, + { + "value": "microphone-lines", + "keywords": [ + "microphone", + "lines" + ] + }, + { + "value": "microphone-lines-slash", + "keywords": [ + "microphone", + "lines", + "slash" + ] + }, + { + "value": "microphone-slash", + "keywords": [ + "microphone", + "slash" + ] + }, + { + "value": "microscope" + }, + { + "value": "mill-sign", + "keywords": [ + "mill", + "sign" + ] + }, + { + "value": "minimize" + }, + { + "value": "minus" + }, + { + "value": "mitten" + }, + { + "value": "mobile" + }, + { + "value": "mobile-button", + "keywords": [ + "mobile", + "button" + ] + }, + { + "value": "mobile-retro", + "keywords": [ + "mobile", + "retro" + ] + }, + { + "value": "mobile-screen", + "keywords": [ + "mobile", + "screen" + ] + }, + { + "value": "mobile-screen-button", + "keywords": [ + "mobile", + "screen", + "button" + ] + }, + { + "value": "money-bill", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-transfer", + "keywords": [ + "money", + "bill", + "transfer" + ] + }, + { + "value": "money-bill-trend-up", + "keywords": [ + "money", + "bill", + "trend", + "up" + ] + }, + { + "value": "money-bill-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-wheat", + "keywords": [ + "money", + "bill", + "wheat" + ] + }, + { + "value": "money-bills", + "keywords": [ + "money", + "bills" + ] + }, + { + "value": "money-check", + "keywords": [ + "money", + "check" + ] + }, + { + "value": "money-check-dollar", + "keywords": [ + "money", + "check", + "dollar" + ] + }, + { + "value": "monument" + }, + { + "value": "moon" + }, + { + "value": "mortar-pestle", + "keywords": [ + "mortar", + "pestle" + ] + }, + { + "value": "mosque" + }, + { + "value": "mosquito" + }, + { + "value": "mosquito-net", + "keywords": [ + "mosquito", + "net" + ] + }, + { + "value": "motorcycle" + }, + { + "value": "mound" + }, + { + "value": "mountain" + }, + { + "value": "mountain-city", + "keywords": [ + "mountain", + "city" + ] + }, + { + "value": "mountain-sun", + "keywords": [ + "mountain", + "sun" + ] + }, + { + "value": "mug-hot", + "keywords": [ + "mug", + "hot" + ] + }, + { + "value": "mug-saucer", + "keywords": [ + "mug", + "saucer" + ] + }, + { + "value": "music" + }, + { + "value": "n" + }, + { + "value": "naira-sign", + "keywords": [ + "naira", + "sign" + ] + }, + { + "value": "network-wired", + "keywords": [ + "network", + "wired" + ] + }, + { + "value": "neuter" + }, + { + "value": "newspaper" + }, + { + "value": "not-equal", + "keywords": [ + "not", + "equal" + ] + }, + { + "value": "notdef" + }, + { + "value": "note-sticky", + "keywords": [ + "note", + "sticky" + ] + }, + { + "value": "notes-medical", + "keywords": [ + "notes", + "medical" + ] + }, + { + "value": "o" + }, + { + "value": "object-group", + "keywords": [ + "object", + "group" + ] + }, + { + "value": "object-ungroup", + "keywords": [ + "object", + "ungroup" + ] + }, + { + "value": "oil-can", + "keywords": [ + "oil", + "can" + ] + }, + { + "value": "oil-well", + "keywords": [ + "oil", + "well" + ] + }, + { + "value": "om" + }, + { + "value": "otter" + }, + { + "value": "outdent" + }, + { + "value": "p" + }, + { + "value": "pager" + }, + { + "value": "paint-roller", + "keywords": [ + "paint", + "roller" + ] + }, + { + "value": "paintbrush" + }, + { + "value": "palette" + }, + { + "value": "pallet" + }, + { + "value": "panorama" + }, + { + "value": "paper-plane", + "keywords": [ + "paper", + "plane" + ] + }, + { + "value": "paperclip" + }, + { + "value": "parachute-box", + "keywords": [ + "parachute", + "box" + ] + }, + { + "value": "paragraph" + }, + { + "value": "passport" + }, + { + "value": "paste" + }, + { + "value": "pause" + }, + { + "value": "paw" + }, + { + "value": "peace" + }, + { + "value": "pen" + }, + { + "value": "pen-clip", + "keywords": [ + "pen", + "clip" + ] + }, + { + "value": "pen-fancy", + "keywords": [ + "pen", + "fancy" + ] + }, + { + "value": "pen-nib", + "keywords": [ + "pen", + "nib" + ] + }, + { + "value": "pen-ruler", + "keywords": [ + "pen", + "ruler" + ] + }, + { + "value": "pen-to-square", + "keywords": [ + "pen", + "to", + "square" + ] + }, + { + "value": "pencil" + }, + { + "value": "people-arrows", + "keywords": [ + "people", + "arrows" + ] + }, + { + "value": "people-carry-box", + "keywords": [ + "people", + "carry", + "box" + ] + }, + { + "value": "people-group", + "keywords": [ + "people", + "group" + ] + }, + { + "value": "people-line", + "keywords": [ + "people", + "line" + ] + }, + { + "value": "people-pulling", + "keywords": [ + "people", + "pulling" + ] + }, + { + "value": "people-robbery", + "keywords": [ + "people", + "robbery" + ] + }, + { + "value": "people-roof", + "keywords": [ + "people", + "roof" + ] + }, + { + "value": "pepper-hot", + "keywords": [ + "pepper", + "hot" + ] + }, + { + "value": "percent" + }, + { + "value": "person" + }, + { + "value": "person-arrow-down-to-line", + "keywords": [ + "person", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "person-arrow-up-from-line", + "keywords": [ + "person", + "arrow", + "up", + "from", + "line" + ] + }, + { + "value": "person-biking", + "keywords": [ + "person", + "biking" + ] + }, + { + "value": "person-booth", + "keywords": [ + "person", + "booth" + ] + }, + { + "value": "person-breastfeeding", + "keywords": [ + "person", + "breastfeeding" + ] + }, + { + "value": "person-burst", + "keywords": [ + "person", + "burst" + ] + }, + { + "value": "person-cane", + "keywords": [ + "person", + "cane" + ] + }, + { + "value": "person-chalkboard", + "keywords": [ + "person", + "chalkboard" + ] + }, + { + "value": "person-circle-check", + "keywords": [ + "person", + "circle", + "check" + ] + }, + { + "value": "person-circle-exclamation", + "keywords": [ + "person", + "circle", + "exclamation" + ] + }, + { + "value": "person-circle-minus", + "keywords": [ + "person", + "circle", + "minus" + ] + }, + { + "value": "person-circle-plus", + "keywords": [ + "person", + "circle", + "plus" + ] + }, + { + "value": "person-circle-question", + "keywords": [ + "person", + "circle", + "question" + ] + }, + { + "value": "person-circle-xmark", + "keywords": [ + "person", + "circle", + "xmark" + ] + }, + { + "value": "person-digging", + "keywords": [ + "person", + "digging" + ] + }, + { + "value": "person-dots-from-line", + "keywords": [ + "person", + "dots", + "from", + "line" + ] + }, + { + "value": "person-dress", + "keywords": [ + "person", + "dress" + ] + }, + { + "value": "person-dress-burst", + "keywords": [ + "person", + "dress", + "burst" + ] + }, + { + "value": "person-drowning", + "keywords": [ + "person", + "drowning" + ] + }, + { + "value": "person-falling", + "keywords": [ + "person", + "falling" + ] + }, + { + "value": "person-falling-burst", + "keywords": [ + "person", + "falling", + "burst" + ] + }, + { + "value": "person-half-dress", + "keywords": [ + "person", + "half", + "dress" + ] + }, + { + "value": "person-harassing", + "keywords": [ + "person", + "harassing" + ] + }, + { + "value": "person-hiking", + "keywords": [ + "person", + "hiking" + ] + }, + { + "value": "person-military-pointing", + "keywords": [ + "person", + "military", + "pointing" + ] + }, + { + "value": "person-military-rifle", + "keywords": [ + "person", + "military", + "rifle" + ] + }, + { + "value": "person-military-to-person", + "keywords": [ + "person", + "military", + "to", + "person" + ] + }, + { + "value": "person-praying", + "keywords": [ + "person", + "praying" + ] + }, + { + "value": "person-pregnant", + "keywords": [ + "person", + "pregnant" + ] + }, + { + "value": "person-rays", + "keywords": [ + "person", + "rays" + ] + }, + { + "value": "person-rifle", + "keywords": [ + "person", + "rifle" + ] + }, + { + "value": "person-running", + "keywords": [ + "person", + "running" + ] + }, + { + "value": "person-shelter", + "keywords": [ + "person", + "shelter" + ] + }, + { + "value": "person-skating", + "keywords": [ + "person", + "skating" + ] + }, + { + "value": "person-skiing", + "keywords": [ + "person", + "skiing" + ] + }, + { + "value": "person-skiing-nordic", + "keywords": [ + "person", + "skiing", + "nordic" + ] + }, + { + "value": "person-snowboarding", + "keywords": [ + "person", + "snowboarding" + ] + }, + { + "value": "person-swimming", + "keywords": [ + "person", + "swimming" + ] + }, + { + "value": "person-through-window", + "keywords": [ + "person", + "through", + "window" + ] + }, + { + "value": "person-walking", + "keywords": [ + "person", + "walking" + ] + }, + { + "value": "person-walking-arrow-loop-left", + "keywords": [ + "person", + "walking", + "arrow", + "loop", + "left" + ] + }, + { + "value": "person-walking-arrow-right", + "keywords": [ + "person", + "walking", + "arrow", + "right" + ] + }, + { + "value": "person-walking-dashed-line-arrow-right", + "keywords": [ + "person", + "walking", + "dashed", + "line", + "arrow", + "right" + ] + }, + { + "value": "person-walking-luggage", + "keywords": [ + "person", + "walking", + "luggage" + ] + }, + { + "value": "person-walking-with-cane", + "keywords": [ + "person", + "walking", + "with", + "cane" + ] + }, + { + "value": "peseta-sign", + "keywords": [ + "peseta", + "sign" + ] + }, + { + "value": "peso-sign", + "keywords": [ + "peso", + "sign" + ] + }, + { + "value": "phone" + }, + { + "value": "phone-flip", + "keywords": [ + "phone", + "flip" + ] + }, + { + "value": "phone-slash", + "keywords": [ + "phone", + "slash" + ] + }, + { + "value": "phone-volume", + "keywords": [ + "phone", + "volume" + ] + }, + { + "value": "photo-film", + "keywords": [ + "photo", + "film" + ] + }, + { + "value": "piggy-bank", + "keywords": [ + "piggy", + "bank" + ] + }, + { + "value": "pills" + }, + { + "value": "pizza-slice", + "keywords": [ + "pizza", + "slice" + ] + }, + { + "value": "place-of-worship", + "keywords": [ + "place", + "of", + "worship" + ] + }, + { + "value": "plane" + }, + { + "value": "plane-arrival", + "keywords": [ + "plane", + "arrival" + ] + }, + { + "value": "plane-circle-check", + "keywords": [ + "plane", + "circle", + "check" + ] + }, + { + "value": "plane-circle-exclamation", + "keywords": [ + "plane", + "circle", + "exclamation" + ] + }, + { + "value": "plane-circle-xmark", + "keywords": [ + "plane", + "circle", + "xmark" + ] + }, + { + "value": "plane-departure", + "keywords": [ + "plane", + "departure" + ] + }, + { + "value": "plane-lock", + "keywords": [ + "plane", + "lock" + ] + }, + { + "value": "plane-slash", + "keywords": [ + "plane", + "slash" + ] + }, + { + "value": "plane-up", + "keywords": [ + "plane", + "up" + ] + }, + { + "value": "plant-wilt", + "keywords": [ + "plant", + "wilt" + ] + }, + { + "value": "plate-wheat", + "keywords": [ + "plate", + "wheat" + ] + }, + { + "value": "play" + }, + { + "value": "plug" + }, + { + "value": "plug-circle-bolt", + "keywords": [ + "plug", + "circle", + "bolt" + ] + }, + { + "value": "plug-circle-check", + "keywords": [ + "plug", + "circle", + "check" + ] + }, + { + "value": "plug-circle-exclamation", + "keywords": [ + "plug", + "circle", + "exclamation" + ] + }, + { + "value": "plug-circle-minus", + "keywords": [ + "plug", + "circle", + "minus" + ] + }, + { + "value": "plug-circle-plus", + "keywords": [ + "plug", + "circle", + "plus" + ] + }, + { + "value": "plug-circle-xmark", + "keywords": [ + "plug", + "circle", + "xmark" + ] + }, + { + "value": "plus" + }, + { + "value": "plus-minus", + "keywords": [ + "plus", + "minus" + ] + }, + { + "value": "podcast" + }, + { + "value": "poo" + }, + { + "value": "poo-storm", + "keywords": [ + "poo", + "storm" + ] + }, + { + "value": "poop" + }, + { + "value": "power-off", + "keywords": [ + "power", + "off" + ] + }, + { + "value": "prescription" + }, + { + "value": "prescription-bottle", + "keywords": [ + "prescription", + "bottle" + ] + }, + { + "value": "prescription-bottle-medical", + "keywords": [ + "prescription", + "bottle", + "medical" + ] + }, + { + "value": "print" + }, + { + "value": "pump-medical", + "keywords": [ + "pump", + "medical" + ] + }, + { + "value": "pump-soap", + "keywords": [ + "pump", + "soap" + ] + }, + { + "value": "puzzle-piece", + "keywords": [ + "puzzle", + "piece" + ] + }, + { + "value": "q" + }, + { + "value": "qrcode" + }, + { + "value": "question" + }, + { + "value": "quote-left", + "keywords": [ + "quote", + "left" + ] + }, + { + "value": "quote-right", + "keywords": [ + "quote", + "right" + ] + }, + { + "value": "r" + }, + { + "value": "radiation" + }, + { + "value": "radio" + }, + { + "value": "rainbow" + }, + { + "value": "ranking-star", + "keywords": [ + "ranking", + "star" + ] + }, + { + "value": "receipt" + }, + { + "value": "record-vinyl", + "keywords": [ + "record", + "vinyl" + ] + }, + { + "value": "rectangle-ad", + "keywords": [ + "rectangle", + "ad" + ] + }, + { + "value": "rectangle-list", + "keywords": [ + "rectangle", + "list" + ] + }, + { + "value": "rectangle-xmark", + "keywords": [ + "rectangle", + "xmark" + ] + }, + { + "value": "recycle" + }, + { + "value": "registered" + }, + { + "value": "repeat" + }, + { + "value": "reply" + }, + { + "value": "reply-all", + "keywords": [ + "reply", + "all" + ] + }, + { + "value": "republican" + }, + { + "value": "restroom" + }, + { + "value": "retweet" + }, + { + "value": "ribbon" + }, + { + "value": "right-from-bracket", + "keywords": [ + "right", + "from", + "bracket" + ] + }, + { + "value": "right-left", + "keywords": [ + "right", + "left" + ] + }, + { + "value": "right-long", + "keywords": [ + "right", + "long" + ] + }, + { + "value": "right-to-bracket", + "keywords": [ + "right", + "to", + "bracket" + ] + }, + { + "value": "ring" + }, + { + "value": "road" + }, + { + "value": "road-barrier", + "keywords": [ + "road", + "barrier" + ] + }, + { + "value": "road-bridge", + "keywords": [ + "road", + "bridge" + ] + }, + { + "value": "road-circle-check", + "keywords": [ + "road", + "circle", + "check" + ] + }, + { + "value": "road-circle-exclamation", + "keywords": [ + "road", + "circle", + "exclamation" + ] + }, + { + "value": "road-circle-xmark", + "keywords": [ + "road", + "circle", + "xmark" + ] + }, + { + "value": "road-lock", + "keywords": [ + "road", + "lock" + ] + }, + { + "value": "road-spikes", + "keywords": [ + "road", + "spikes" + ] + }, + { + "value": "robot" + }, + { + "value": "rocket" + }, + { + "value": "rotate" + }, + { + "value": "rotate-left", + "keywords": [ + "rotate", + "left" + ] + }, + { + "value": "rotate-right", + "keywords": [ + "rotate", + "right" + ] + }, + { + "value": "route" + }, + { + "value": "rss" + }, + { + "value": "ruble-sign", + "keywords": [ + "ruble", + "sign" + ] + }, + { + "value": "rug" + }, + { + "value": "ruler" + }, + { + "value": "ruler-combined", + "keywords": [ + "ruler", + "combined" + ] + }, + { + "value": "ruler-horizontal", + "keywords": [ + "ruler", + "horizontal" + ] + }, + { + "value": "ruler-vertical", + "keywords": [ + "ruler", + "vertical" + ] + }, + { + "value": "rupee-sign", + "keywords": [ + "rupee", + "sign" + ] + }, + { + "value": "rupiah-sign", + "keywords": [ + "rupiah", + "sign" + ] + }, + { + "value": "s" + }, + { + "value": "sack-dollar", + "keywords": [ + "sack", + "dollar" + ] + }, + { + "value": "sack-xmark", + "keywords": [ + "sack", + "xmark" + ] + }, + { + "value": "sailboat" + }, + { + "value": "satellite" + }, + { + "value": "satellite-dish", + "keywords": [ + "satellite", + "dish" + ] + }, + { + "value": "scale-balanced", + "keywords": [ + "scale", + "balanced" + ] + }, + { + "value": "scale-unbalanced", + "keywords": [ + "scale", + "unbalanced" + ] + }, + { + "value": "scale-unbalanced-flip", + "keywords": [ + "scale", + "unbalanced", + "flip" + ] + }, + { + "value": "school" + }, + { + "value": "school-circle-check", + "keywords": [ + "school", + "circle", + "check" + ] + }, + { + "value": "school-circle-exclamation", + "keywords": [ + "school", + "circle", + "exclamation" + ] + }, + { + "value": "school-circle-xmark", + "keywords": [ + "school", + "circle", + "xmark" + ] + }, + { + "value": "school-flag", + "keywords": [ + "school", + "flag" + ] + }, + { + "value": "school-lock", + "keywords": [ + "school", + "lock" + ] + }, + { + "value": "scissors" + }, + { + "value": "screwdriver" + }, + { + "value": "screwdriver-wrench", + "keywords": [ + "screwdriver", + "wrench" + ] + }, + { + "value": "scroll" + }, + { + "value": "scroll-torah", + "keywords": [ + "scroll", + "torah" + ] + }, + { + "value": "sd-card", + "keywords": [ + "sd", + "card" + ] + }, + { + "value": "section" + }, + { + "value": "seedling" + }, + { + "value": "server" + }, + { + "value": "shapes" + }, + { + "value": "share" + }, + { + "value": "share-from-square", + "keywords": [ + "share", + "from", + "square" + ] + }, + { + "value": "share-nodes", + "keywords": [ + "share", + "nodes" + ] + }, + { + "value": "sheet-plastic", + "keywords": [ + "sheet", + "plastic" + ] + }, + { + "value": "shekel-sign", + "keywords": [ + "shekel", + "sign" + ] + }, + { + "value": "shield" + }, + { + "value": "shield-cat", + "keywords": [ + "shield", + "cat" + ] + }, + { + "value": "shield-dog", + "keywords": [ + "shield", + "dog" + ] + }, + { + "value": "shield-halved", + "keywords": [ + "shield", + "halved" + ] + }, + { + "value": "shield-heart", + "keywords": [ + "shield", + "heart" + ] + }, + { + "value": "shield-virus", + "keywords": [ + "shield", + "virus" + ] + }, + { + "value": "ship" + }, + { + "value": "shirt" + }, + { + "value": "shoe-prints", + "keywords": [ + "shoe", + "prints" + ] + }, + { + "value": "shop" + }, + { + "value": "shop-lock", + "keywords": [ + "shop", + "lock" + ] + }, + { + "value": "shop-slash", + "keywords": [ + "shop", + "slash" + ] + }, + { + "value": "shower" + }, + { + "value": "shrimp" + }, + { + "value": "shuffle" + }, + { + "value": "shuttle-space", + "keywords": [ + "shuttle", + "space" + ] + }, + { + "value": "sign-hanging", + "keywords": [ + "sign", + "hanging" + ] + }, + { + "value": "signal" + }, + { + "value": "signature" + }, + { + "value": "signs-post", + "keywords": [ + "signs", + "post" + ] + }, + { + "value": "sim-card", + "keywords": [ + "sim", + "card" + ] + }, + { + "value": "sink" + }, + { + "value": "sitemap" + }, + { + "value": "skull" + }, + { + "value": "skull-crossbones", + "keywords": [ + "skull", + "crossbones" + ] + }, + { + "value": "slash" + }, + { + "value": "sleigh" + }, + { + "value": "sliders" + }, + { + "value": "smog" + }, + { + "value": "smoking" + }, + { + "value": "snowflake" + }, + { + "value": "snowman" + }, + { + "value": "snowplow" + }, + { + "value": "soap" + }, + { + "value": "socks" + }, + { + "value": "solar-panel", + "keywords": [ + "solar", + "panel" + ] + }, + { + "value": "sort" + }, + { + "value": "sort-down", + "keywords": [ + "sort", + "down" + ] + }, + { + "value": "sort-up", + "keywords": [ + "sort", + "up" + ] + }, + { + "value": "spa" + }, + { + "value": "spaghetti-monster-flying", + "keywords": [ + "spaghetti", + "monster", + "flying" + ] + }, + { + "value": "spell-check", + "keywords": [ + "spell", + "check" + ] + }, + { + "value": "spider" + }, + { + "value": "spinner" + }, + { + "value": "splotch" + }, + { + "value": "spoon" + }, + { + "value": "spray-can", + "keywords": [ + "spray", + "can" + ] + }, + { + "value": "spray-can-sparkles", + "keywords": [ + "spray", + "can", + "sparkles" + ] + }, + { + "value": "square" + }, + { + "value": "square-arrow-up-right", + "keywords": [ + "square", + "arrow", + "up", + "right" + ] + }, + { + "value": "square-caret-down", + "keywords": [ + "square", + "caret", + "down" + ] + }, + { + "value": "square-caret-left", + "keywords": [ + "square", + "caret", + "left" + ] + }, + { + "value": "square-caret-right", + "keywords": [ + "square", + "caret", + "right" + ] + }, + { + "value": "square-caret-up", + "keywords": [ + "square", + "caret", + "up" + ] + }, + { + "value": "square-check", + "keywords": [ + "square", + "check" + ] + }, + { + "value": "square-envelope", + "keywords": [ + "square", + "envelope" + ] + }, + { + "value": "square-full", + "keywords": [ + "square", + "full" + ] + }, + { + "value": "square-h" + }, + { + "value": "square-minus", + "keywords": [ + "square", + "minus" + ] + }, + { + "value": "square-nfi", + "keywords": [ + "square", + "nfi" + ] + }, + { + "value": "square-parking", + "keywords": [ + "square", + "parking" + ] + }, + { + "value": "square-pen", + "keywords": [ + "square", + "pen" + ] + }, + { + "value": "square-person-confined", + "keywords": [ + "square", + "person", + "confined" + ] + }, + { + "value": "square-phone", + "keywords": [ + "square", + "phone" + ] + }, + { + "value": "square-phone-flip", + "keywords": [ + "square", + "phone", + "flip" + ] + }, + { + "value": "square-plus", + "keywords": [ + "square", + "plus" + ] + }, + { + "value": "square-poll-horizontal", + "keywords": [ + "square", + "poll", + "horizontal" + ] + }, + { + "value": "square-poll-vertical", + "keywords": [ + "square", + "poll", + "vertical" + ] + }, + { + "value": "square-root-variable", + "keywords": [ + "square", + "root", + "variable" + ] + }, + { + "value": "square-rss", + "keywords": [ + "square", + "rss" + ] + }, + { + "value": "square-share-nodes", + "keywords": [ + "square", + "share", + "nodes" + ] + }, + { + "value": "square-up-right", + "keywords": [ + "square", + "up", + "right" + ] + }, + { + "value": "square-virus", + "keywords": [ + "square", + "virus" + ] + }, + { + "value": "square-xmark", + "keywords": [ + "square", + "xmark" + ] + }, + { + "value": "staff-snake", + "keywords": [ + "staff", + "snake" + ] + }, + { + "value": "stairs" + }, + { + "value": "stamp" + }, + { + "value": "stapler" + }, + { + "value": "star" + }, + { + "value": "star-and-crescent", + "keywords": [ + "star", + "and", + "crescent" + ] + }, + { + "value": "star-half", + "keywords": [ + "star", + "half" + ] + }, + { + "value": "star-half-stroke", + "keywords": [ + "star", + "half", + "stroke" + ] + }, + { + "value": "star-of-david", + "keywords": [ + "star", + "of", + "david" + ] + }, + { + "value": "star-of-life", + "keywords": [ + "star", + "of", + "life" + ] + }, + { + "value": "sterling-sign", + "keywords": [ + "sterling", + "sign" + ] + }, + { + "value": "stethoscope" + }, + { + "value": "stop" + }, + { + "value": "stopwatch" + }, + { + "value": "stopwatch-20", + "keywords": [ + "stopwatch", + "20" + ] + }, + { + "value": "store" + }, + { + "value": "store-slash", + "keywords": [ + "store", + "slash" + ] + }, + { + "value": "street-view", + "keywords": [ + "street", + "view" + ] + }, + { + "value": "strikethrough" + }, + { + "value": "stroopwafel" + }, + { + "value": "subscript" + }, + { + "value": "suitcase" + }, + { + "value": "suitcase-medical", + "keywords": [ + "suitcase", + "medical" + ] + }, + { + "value": "suitcase-rolling", + "keywords": [ + "suitcase", + "rolling" + ] + }, + { + "value": "sun" + }, + { + "value": "sun-plant-wilt", + "keywords": [ + "sun", + "plant", + "wilt" + ] + }, + { + "value": "superscript" + }, + { + "value": "swatchbook" + }, + { + "value": "synagogue" + }, + { + "value": "syringe" + }, + { + "value": "t" + }, + { + "value": "table" + }, + { + "value": "table-cells", + "keywords": [ + "table", + "cells" + ] + }, + { + "value": "table-cells-large", + "keywords": [ + "table", + "cells", + "large" + ] + }, + { + "value": "table-columns", + "keywords": [ + "table", + "columns" + ] + }, + { + "value": "table-list", + "keywords": [ + "table", + "list" + ] + }, + { + "value": "table-tennis-paddle-ball", + "keywords": [ + "table", + "tennis", + "paddle", + "ball" + ] + }, + { + "value": "tablet" + }, + { + "value": "tablet-button", + "keywords": [ + "tablet", + "button" + ] + }, + { + "value": "tablet-screen-button", + "keywords": [ + "tablet", + "screen", + "button" + ] + }, + { + "value": "tablets" + }, + { + "value": "tachograph-digital", + "keywords": [ + "tachograph", + "digital" + ] + }, + { + "value": "tag" + }, + { + "value": "tags" + }, + { + "value": "tape" + }, + { + "value": "tarp" + }, + { + "value": "tarp-droplet", + "keywords": [ + "tarp", + "droplet" + ] + }, + { + "value": "taxi" + }, + { + "value": "teeth" + }, + { + "value": "teeth-open", + "keywords": [ + "teeth", + "open" + ] + }, + { + "value": "temperature-arrow-down", + "keywords": [ + "temperature", + "arrow", + "down" + ] + }, + { + "value": "temperature-arrow-up", + "keywords": [ + "temperature", + "arrow", + "up" + ] + }, + { + "value": "temperature-empty", + "keywords": [ + "temperature", + "empty" + ] + }, + { + "value": "temperature-full", + "keywords": [ + "temperature", + "full" + ] + }, + { + "value": "temperature-half", + "keywords": [ + "temperature", + "half" + ] + }, + { + "value": "temperature-high", + "keywords": [ + "temperature", + "high" + ] + }, + { + "value": "temperature-low", + "keywords": [ + "temperature", + "low" + ] + }, + { + "value": "temperature-quarter", + "keywords": [ + "temperature", + "quarter" + ] + }, + { + "value": "temperature-three-quarters", + "keywords": [ + "temperature", + "three", + "quarters" + ] + }, + { + "value": "tenge-sign", + "keywords": [ + "tenge", + "sign" + ] + }, + { + "value": "tent" + }, + { + "value": "tent-arrow-down-to-line", + "keywords": [ + "tent", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "tent-arrow-left-right", + "keywords": [ + "tent", + "arrow", + "left", + "right" + ] + }, + { + "value": "tent-arrow-turn-left", + "keywords": [ + "tent", + "arrow", + "turn", + "left" + ] + }, + { + "value": "tent-arrows-down", + "keywords": [ + "tent", + "arrows", + "down" + ] + }, + { + "value": "tents" + }, + { + "value": "terminal" + }, + { + "value": "text-height", + "keywords": [ + "text", + "height" + ] + }, + { + "value": "text-slash", + "keywords": [ + "text", + "slash" + ] + }, + { + "value": "text-width", + "keywords": [ + "text", + "width" + ] + }, + { + "value": "thermometer" + }, + { + "value": "thumbs-down", + "keywords": [ + "thumbs", + "down" + ] + }, + { + "value": "thumbs-up", + "keywords": [ + "thumbs", + "up" + ] + }, + { + "value": "thumbtack" + }, + { + "value": "ticket" + }, + { + "value": "ticket-simple", + "keywords": [ + "ticket", + "simple" + ] + }, + { + "value": "timeline" + }, + { + "value": "toggle-off", + "keywords": [ + "toggle", + "off" + ] + }, + { + "value": "toggle-on", + "keywords": [ + "toggle", + "on" + ] + }, + { + "value": "toilet" + }, + { + "value": "toilet-paper", + "keywords": [ + "toilet", + "paper" + ] + }, + { + "value": "toilet-paper-slash", + "keywords": [ + "toilet", + "paper", + "slash" + ] + }, + { + "value": "toilet-portable", + "keywords": [ + "toilet", + "portable" + ] + }, + { + "value": "toilets-portable", + "keywords": [ + "toilets", + "portable" + ] + }, + { + "value": "toolbox" + }, + { + "value": "tooth" + }, + { + "value": "torii-gate", + "keywords": [ + "torii", + "gate" + ] + }, + { + "value": "tornado" + }, + { + "value": "tower-broadcast", + "keywords": [ + "tower", + "broadcast" + ] + }, + { + "value": "tower-cell", + "keywords": [ + "tower", + "cell" + ] + }, + { + "value": "tower-observation", + "keywords": [ + "tower", + "observation" + ] + }, + { + "value": "tractor" + }, + { + "value": "trademark" + }, + { + "value": "traffic-light", + "keywords": [ + "traffic", + "light" + ] + }, + { + "value": "trailer" + }, + { + "value": "train" + }, + { + "value": "train-subway", + "keywords": [ + "train", + "subway" + ] + }, + { + "value": "train-tram", + "keywords": [ + "train", + "tram" + ] + }, + { + "value": "transgender" + }, + { + "value": "trash" + }, + { + "value": "trash-arrow-up", + "keywords": [ + "trash", + "arrow", + "up" + ] + }, + { + "value": "trash-can", + "keywords": [ + "trash", + "can" + ] + }, + { + "value": "trash-can-arrow-up", + "keywords": [ + "trash", + "can", + "arrow", + "up" + ] + }, + { + "value": "tree" + }, + { + "value": "tree-city", + "keywords": [ + "tree", + "city" + ] + }, + { + "value": "triangle-exclamation", + "keywords": [ + "triangle", + "exclamation" + ] + }, + { + "value": "trophy" + }, + { + "value": "trowel" + }, + { + "value": "trowel-bricks", + "keywords": [ + "trowel", + "bricks" + ] + }, + { + "value": "truck" + }, + { + "value": "truck-arrow-right", + "keywords": [ + "truck", + "arrow", + "right" + ] + }, + { + "value": "truck-droplet", + "keywords": [ + "truck", + "droplet" + ] + }, + { + "value": "truck-fast", + "keywords": [ + "truck", + "fast" + ] + }, + { + "value": "truck-field", + "keywords": [ + "truck", + "field" + ] + }, + { + "value": "truck-field-un", + "keywords": [ + "truck", + "field", + "un" + ] + }, + { + "value": "truck-front", + "keywords": [ + "truck", + "front" + ] + }, + { + "value": "truck-medical", + "keywords": [ + "truck", + "medical" + ] + }, + { + "value": "truck-monster", + "keywords": [ + "truck", + "monster" + ] + }, + { + "value": "truck-moving", + "keywords": [ + "truck", + "moving" + ] + }, + { + "value": "truck-pickup", + "keywords": [ + "truck", + "pickup" + ] + }, + { + "value": "truck-plane", + "keywords": [ + "truck", + "plane" + ] + }, + { + "value": "truck-ramp-box", + "keywords": [ + "truck", + "ramp", + "box" + ] + }, + { + "value": "tty" + }, + { + "value": "turkish-lira-sign", + "keywords": [ + "turkish", + "lira", + "sign" + ] + }, + { + "value": "turn-down", + "keywords": [ + "turn", + "down" + ] + }, + { + "value": "turn-up", + "keywords": [ + "turn", + "up" + ] + }, + { + "value": "tv" + }, + { + "value": "u" + }, + { + "value": "umbrella" + }, + { + "value": "umbrella-beach", + "keywords": [ + "umbrella", + "beach" + ] + }, + { + "value": "underline" + }, + { + "value": "universal-access", + "keywords": [ + "universal", + "access" + ] + }, + { + "value": "unlock" + }, + { + "value": "unlock-keyhole", + "keywords": [ + "unlock", + "keyhole" + ] + }, + { + "value": "up-down", + "keywords": [ + "up", + "down" + ] + }, + { + "value": "up-down-left-right", + "keywords": [ + "up", + "down", + "left", + "right" + ] + }, + { + "value": "up-long", + "keywords": [ + "up", + "long" + ] + }, + { + "value": "up-right-and-down-left-from-center", + "keywords": [ + "up", + "right", + "and", + "down", + "left", + "from", + "center" + ] + }, + { + "value": "up-right-from-square", + "keywords": [ + "up", + "right", + "from", + "square" + ] + }, + { + "value": "upload" + }, + { + "value": "user" + }, + { + "value": "user-astronaut", + "keywords": [ + "user", + "astronaut" + ] + }, + { + "value": "user-check", + "keywords": [ + "user", + "check" + ] + }, + { + "value": "user-clock", + "keywords": [ + "user", + "clock" + ] + }, + { + "value": "user-doctor", + "keywords": [ + "user", + "doctor" + ] + }, + { + "value": "user-gear", + "keywords": [ + "user", + "gear" + ] + }, + { + "value": "user-graduate", + "keywords": [ + "user", + "graduate" + ] + }, + { + "value": "user-group", + "keywords": [ + "user", + "group" + ] + }, + { + "value": "user-injured", + "keywords": [ + "user", + "injured" + ] + }, + { + "value": "user-large", + "keywords": [ + "user", + "large" + ] + }, + { + "value": "user-large-slash", + "keywords": [ + "user", + "large", + "slash" + ] + }, + { + "value": "user-lock", + "keywords": [ + "user", + "lock" + ] + }, + { + "value": "user-minus", + "keywords": [ + "user", + "minus" + ] + }, + { + "value": "user-ninja", + "keywords": [ + "user", + "ninja" + ] + }, + { + "value": "user-nurse", + "keywords": [ + "user", + "nurse" + ] + }, + { + "value": "user-pen", + "keywords": [ + "user", + "pen" + ] + }, + { + "value": "user-plus", + "keywords": [ + "user", + "plus" + ] + }, + { + "value": "user-secret", + "keywords": [ + "user", + "secret" + ] + }, + { + "value": "user-shield", + "keywords": [ + "user", + "shield" + ] + }, + { + "value": "user-slash", + "keywords": [ + "user", + "slash" + ] + }, + { + "value": "user-tag", + "keywords": [ + "user", + "tag" + ] + }, + { + "value": "user-tie", + "keywords": [ + "user", + "tie" + ] + }, + { + "value": "user-xmark", + "keywords": [ + "user", + "xmark" + ] + }, + { + "value": "users" + }, + { + "value": "users-between-lines", + "keywords": [ + "users", + "between", + "lines" + ] + }, + { + "value": "users-gear", + "keywords": [ + "users", + "gear" + ] + }, + { + "value": "users-line", + "keywords": [ + "users", + "line" + ] + }, + { + "value": "users-rays", + "keywords": [ + "users", + "rays" + ] + }, + { + "value": "users-rectangle", + "keywords": [ + "users", + "rectangle" + ] + }, + { + "value": "users-slash", + "keywords": [ + "users", + "slash" + ] + }, + { + "value": "users-viewfinder", + "keywords": [ + "users", + "viewfinder" + ] + }, + { + "value": "utensils" + }, + { + "value": "v" + }, + { + "value": "van-shuttle", + "keywords": [ + "van", + "shuttle" + ] + }, + { + "value": "vault" + }, + { + "value": "vector-square", + "keywords": [ + "vector", + "square" + ] + }, + { + "value": "venus" + }, + { + "value": "venus-double", + "keywords": [ + "venus", + "double" + ] + }, + { + "value": "venus-mars", + "keywords": [ + "venus", + "mars" + ] + }, + { + "value": "vest" + }, + { + "value": "vest-patches", + "keywords": [ + "vest", + "patches" + ] + }, + { + "value": "vial" + }, + { + "value": "vial-circle-check", + "keywords": [ + "vial", + "circle", + "check" + ] + }, + { + "value": "vial-virus", + "keywords": [ + "vial", + "virus" + ] + }, + { + "value": "vials" + }, + { + "value": "video" + }, + { + "value": "video-slash", + "keywords": [ + "video", + "slash" + ] + }, + { + "value": "vihara" + }, + { + "value": "virus" + }, + { + "value": "virus-covid", + "keywords": [ + "virus", + "covid" + ] + }, + { + "value": "virus-covid-slash", + "keywords": [ + "virus", + "covid", + "slash" + ] + }, + { + "value": "virus-slash", + "keywords": [ + "virus", + "slash" + ] + }, + { + "value": "viruses" + }, + { + "value": "voicemail" + }, + { + "value": "volcano" + }, + { + "value": "volleyball" + }, + { + "value": "volume-high", + "keywords": [ + "volume", + "high" + ] + }, + { + "value": "volume-low", + "keywords": [ + "volume", + "low" + ] + }, + { + "value": "volume-off", + "keywords": [ + "volume", + "off" + ] + }, + { + "value": "volume-xmark", + "keywords": [ + "volume", + "xmark" + ] + }, + { + "value": "vr-cardboard", + "keywords": [ + "vr", + "cardboard" + ] + }, + { + "value": "w" + }, + { + "value": "walkie-talkie", + "keywords": [ + "walkie", + "talkie" + ] + }, + { + "value": "wallet" + }, + { + "value": "wand-magic", + "keywords": [ + "wand", + "magic" + ] + }, + { + "value": "wand-magic-sparkles", + "keywords": [ + "wand", + "magic", + "sparkles" + ] + }, + { + "value": "wand-sparkles", + "keywords": [ + "wand", + "sparkles" + ] + }, + { + "value": "warehouse" + }, + { + "value": "water" + }, + { + "value": "water-ladder", + "keywords": [ + "water", + "ladder" + ] + }, + { + "value": "wave-square", + "keywords": [ + "wave", + "square" + ] + }, + { + "value": "weight-hanging", + "keywords": [ + "weight", + "hanging" + ] + }, + { + "value": "weight-scale", + "keywords": [ + "weight", + "scale" + ] + }, + { + "value": "wheat-awn", + "keywords": [ + "wheat", + "awn" + ] + }, + { + "value": "wheat-awn-circle-exclamation", + "keywords": [ + "wheat", + "awn", + "circle", + "exclamation" + ] + }, + { + "value": "wheelchair" + }, + { + "value": "wheelchair-move", + "keywords": [ + "wheelchair", + "move" + ] + }, + { + "value": "whiskey-glass", + "keywords": [ + "whiskey", + "glass" + ] + }, + { + "value": "wifi" + }, + { + "value": "wind" + }, + { + "value": "window-maximize", + "keywords": [ + "window", + "maximize" + ] + }, + { + "value": "window-minimize", + "keywords": [ + "window", + "minimize" + ] + }, + { + "value": "window-restore", + "keywords": [ + "window", + "restore" + ] + }, + { + "value": "wine-bottle", + "keywords": [ + "wine", + "bottle" + ] + }, + { + "value": "wine-glass", + "keywords": [ + "wine", + "glass" + ] + }, + { + "value": "wine-glass-empty", + "keywords": [ + "wine", + "glass", + "empty" + ] + }, + { + "value": "won-sign", + "keywords": [ + "won", + "sign" + ] + }, + { + "value": "worm" + }, + { + "value": "wrench" + }, + { + "value": "x" + }, + { + "value": "x-ray" + }, + { + "value": "xmark" + }, + { + "value": "xmarks-lines", + "keywords": [ + "xmarks", + "lines" + ] + }, + { + "value": "y" + }, + { + "value": "yen-sign", + "keywords": [ + "yen", + "sign" + ] + }, + { + "value": "yin-yang", + "keywords": [ + "yin", + "yang" + ] + }, + { + "value": "z" + } + ] + }, + "esIllustSrc": { + "label": "$t:editor.control.es_illust_src.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "illustrationSrc" + } + }, + "esIllustAlt": { + "label": "$t:editor.control.es_illust_alt.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "illustrationAlt" + } + }, + "lsSize": { + "label": "$t:editor.control.ls_size.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "size" + }, + "options": [ + { + "value": "sm", + "label": "$t:editor.control.ls_size.sm" + }, + { + "value": "md", + "label": "$t:editor.control.ls_size.md" + }, + { + "value": "lg", + "label": "$t:editor.control.ls_size.lg" + }, + { + "value": "xl", + "label": "$t:editor.control.ls_size.xl" + } + ] + }, + "lsColor": { + "label": "$t:editor.control.ls_color.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "color" + } + }, + "lsFullscreen": { + "label": "$t:editor.control.ls_fullscreen.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "fullscreen" + } + }, + "lsText": { + "label": "$t:editor.control.ls_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "text" + } + }, + "phTitle": { + "label": "$t:editor.control.ph_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "title" + } + }, + "phDesc": { + "label": "$t:editor.control.ph_desc.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "description" + } + }, + "bcSeparator": { + "label": "$t:editor.control.bc_separator.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "separator" + } + }, + "bcShowHome": { + "label": "$t:editor.control.bc_show_home.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showHome" + } + }, + "bcHomeHref": { + "label": "$t:editor.control.bc_home_href.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "homeHref" + } + }, + "bcMaxItems": { + "label": "$t:editor.control.bc_max_items.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxItems" + } + }, + "tnActiveTabId": { + "label": "$t:editor.control.tn_active_tab_id.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "activeTabId" + } + }, + "tnVariant": { + "label": "$t:editor.control.tn_variant.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "variant" + }, + "options": [ + { + "value": "default", + "label": "$t:editor.control.tn_variant.default" + }, + { + "value": "pills", + "label": "$t:editor.control.tn_variant.pills" + }, + { + "value": "underline", + "label": "$t:editor.control.tn_variant.underline" + } + ] + }, + "tnMobileBreakpoint": { + "label": "$t:editor.control.tn_mobile_breakpoint.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "mobileBreakpoint" + } + }, + "tnsActiveTabId": { + "label": "$t:editor.control.tns_active_tab_id.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "activeTabId" + } + }, + "tnsSectionPrefix": { + "label": "$t:editor.control.tns_section_prefix.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "sectionIdPrefix" + } + }, + "tnsScrollOffset": { + "label": "$t:editor.control.tns_scroll_offset.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "scrollOffset" + } + }, + "tnsScrollDelay": { + "label": "$t:editor.control.tns_scroll_delay.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "scrollDelay" + } + }, + "tnsEnableSpy": { + "label": "$t:editor.control.tns_enable_spy.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "enableScrollSpy" + } + }, + "tnsSpyOffset": { + "label": "$t:editor.control.tns_spy_offset.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "scrollSpyOffset" + } + }, + "tnsContainerId": { + "label": "$t:editor.control.tns_container_id.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "scrollContainerId" + } + }, + "tgLabel": { + "label": "$t:editor.control.tg_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "tgDesc": { + "label": "$t:editor.control.tg_desc.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "description" + } + }, + "tgSize": { + "label": "$t:editor.control.tg_size.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "size" + }, + "options": [ + { + "value": "sm", + "label": "$t:editor.control.tg_size.sm" + }, + { + "value": "md", + "label": "$t:editor.control.tg_size.md" + }, + { + "value": "lg", + "label": "$t:editor.control.tg_size.lg" + } + ] + }, + "tgDisabled": { + "label": "$t:editor.control.tg_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "tgName": { + "label": "$t:editor.control.tg_name.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "name" + } + }, + "ffLabel": { + "label": "$t:editor.control.ff_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "ffRequired": { + "label": "$t:editor.control.ff_required.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "required" + } + }, + "ffError": { + "label": "$t:editor.control.ff_error.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "error" + } + }, + "ffHelper": { + "label": "$t:editor.control.ff_helper.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "helperText" + } + }, + "ffHorizontal": { + "label": "$t:editor.control.ff_horizontal.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "horizontal" + } + }, + "ffLabelWidth": { + "label": "$t:editor.control.ff_label_width.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "labelWidth" + } + }, + "rgInline": { + "label": "$t:editor.control.rg_inline.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "inline" + } + }, + "rgSize": { + "label": "$t:editor.control.rg_size.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "size" + }, + "options": [ + { + "value": "sm", + "label": "$t:editor.control.rg_size.sm" + }, + { + "value": "md", + "label": "$t:editor.control.rg_size.md" + }, + { + "value": "lg", + "label": "$t:editor.control.rg_size.lg" + } + ] + }, + "fiAccept": { + "label": "$t:editor.control.fi_accept.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "accept" + } + }, + "fiMaxSize": { + "label": "$t:editor.control.fi_max_size.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxSize" + } + }, + "fiButtonText": { + "label": "$t:editor.control.fi_button_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "buttonText" + } + }, + "fuType": { + "label": "$t:editor.control.fu_type.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "attachmentableType" + } + }, + "fuCollection": { + "label": "$t:editor.control.fu_collection.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "collection" + } + }, + "fuMaxFiles": { + "label": "$t:editor.control.fu_max_files.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxFiles" + } + }, + "fuMaxSize": { + "label": "$t:editor.control.fu_max_size.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxSize" + } + }, + "fuAccept": { + "label": "$t:editor.control.fu_accept.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "accept" + } + }, + "fuAutoUpload": { + "label": "$t:editor.control.fu_auto_upload.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "autoUpload" + } + }, + "fuConfirmRemove": { + "label": "$t:editor.control.fu_confirm_remove.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "confirmBeforeRemove" + } + }, + "fuPrimarySel": { + "label": "$t:editor.control.fu_primary_sel.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "enablePrimarySelection" + } + }, + "dgPagination": { + "label": "$t:editor.control.dg_pagination.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "pagination" + } + }, + "dgPageSize": { + "label": "$t:editor.control.dg_page_size.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "pageSize" + } + }, + "cgGridCols": { + "label": "$t:editor.control.cg_grid_cols.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "gridColumns" + } + }, + "cgGap": { + "label": "$t:editor.control.cg_gap.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "gap" + } + }, + "cgPagination": { + "label": "$t:editor.control.cg_pagination.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "pagination" + } + }, + "cgPageSize": { + "label": "$t:editor.control.cg_page_size.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "pageSize" + } + }, + "pgMaxVisible": { + "label": "$t:editor.control.pg_max_visible.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxVisiblePages" + } + }, + "pgShowFirstLast": { + "label": "$t:editor.control.pg_show_first_last.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showFirstLast" + } + }, + "pgPrevText": { + "label": "$t:editor.control.pg_prev_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "prevText" + } + }, + "pgNextText": { + "label": "$t:editor.control.pg_next_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "nextText" + } + }, + "sbPlaceholder": { + "label": "$t:editor.control.sb_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "sbShowButton": { + "label": "$t:editor.control.sb_show_button.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showButton" + } + }, + "sbShowSuggestions": { + "label": "$t:editor.control.sb_show_suggestions.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showSuggestions" + } + }, + "scValue": { + "label": "$t:editor.control.sc_value.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "value" + } + }, + "scLabel": { + "label": "$t:editor.control.sc_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "scChange": { + "label": "$t:editor.control.sc_change.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "change" + } + }, + "scChangeLabel": { + "label": "$t:editor.control.sc_change_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "changeLabel" + } + }, + "scIconName": { + "label": "$t:editor.control.sc_icon_name.label", + "widget": "icon-picker", + "apply": { + "type": "propValue", + "propKey": "iconName" + }, + "iconColumns": 8, + "icons": [ + { + "value": "0" + }, + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + }, + { + "value": "4" + }, + { + "value": "5" + }, + { + "value": "6" + }, + { + "value": "7" + }, + { + "value": "8" + }, + { + "value": "9" + }, + { + "value": "a" + }, + { + "value": "address-book", + "keywords": [ + "address", + "book" + ] + }, + { + "value": "address-card", + "keywords": [ + "address", + "card" + ] + }, + { + "value": "align-center", + "keywords": [ + "align", + "center" + ] + }, + { + "value": "align-justify", + "keywords": [ + "align", + "justify" + ] + }, + { + "value": "align-left", + "keywords": [ + "align", + "left" + ] + }, + { + "value": "align-right", + "keywords": [ + "align", + "right" + ] + }, + { + "value": "anchor" + }, + { + "value": "anchor-circle-check", + "keywords": [ + "anchor", + "circle", + "check" + ] + }, + { + "value": "anchor-circle-exclamation", + "keywords": [ + "anchor", + "circle", + "exclamation" + ] + }, + { + "value": "anchor-circle-xmark", + "keywords": [ + "anchor", + "circle", + "xmark" + ] + }, + { + "value": "anchor-lock", + "keywords": [ + "anchor", + "lock" + ] + }, + { + "value": "angle-down", + "keywords": [ + "angle", + "down" + ] + }, + { + "value": "angle-left", + "keywords": [ + "angle", + "left" + ] + }, + { + "value": "angle-right", + "keywords": [ + "angle", + "right" + ] + }, + { + "value": "angle-up", + "keywords": [ + "angle", + "up" + ] + }, + { + "value": "angles-down", + "keywords": [ + "angles", + "down" + ] + }, + { + "value": "angles-left", + "keywords": [ + "angles", + "left" + ] + }, + { + "value": "angles-right", + "keywords": [ + "angles", + "right" + ] + }, + { + "value": "angles-up", + "keywords": [ + "angles", + "up" + ] + }, + { + "value": "ankh" + }, + { + "value": "apple-whole", + "keywords": [ + "apple", + "whole" + ] + }, + { + "value": "archway" + }, + { + "value": "arrow-down", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-1-9", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-9-1", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-a-z", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-long", + "keywords": [ + "arrow", + "down", + "long" + ] + }, + { + "value": "arrow-down-short-wide", + "keywords": [ + "arrow", + "down", + "short", + "wide" + ] + }, + { + "value": "arrow-down-up-across-line", + "keywords": [ + "arrow", + "down", + "up", + "across", + "line" + ] + }, + { + "value": "arrow-down-up-lock", + "keywords": [ + "arrow", + "down", + "up", + "lock" + ] + }, + { + "value": "arrow-down-wide-short", + "keywords": [ + "arrow", + "down", + "wide", + "short" + ] + }, + { + "value": "arrow-down-z-a", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-left", + "keywords": [ + "arrow", + "left" + ] + }, + { + "value": "arrow-left-long", + "keywords": [ + "arrow", + "left", + "long" + ] + }, + { + "value": "arrow-pointer", + "keywords": [ + "arrow", + "pointer" + ] + }, + { + "value": "arrow-right", + "keywords": [ + "arrow", + "right" + ] + }, + { + "value": "arrow-right-arrow-left", + "keywords": [ + "arrow", + "right", + "arrow", + "left" + ] + }, + { + "value": "arrow-right-from-bracket", + "keywords": [ + "arrow", + "right", + "from", + "bracket" + ] + }, + { + "value": "arrow-right-long", + "keywords": [ + "arrow", + "right", + "long" + ] + }, + { + "value": "arrow-right-to-bracket", + "keywords": [ + "arrow", + "right", + "to", + "bracket" + ] + }, + { + "value": "arrow-right-to-city", + "keywords": [ + "arrow", + "right", + "to", + "city" + ] + }, + { + "value": "arrow-rotate-left", + "keywords": [ + "arrow", + "rotate", + "left" + ] + }, + { + "value": "arrow-rotate-right", + "keywords": [ + "arrow", + "rotate", + "right" + ] + }, + { + "value": "arrow-trend-down", + "keywords": [ + "arrow", + "trend", + "down" + ] + }, + { + "value": "arrow-trend-up", + "keywords": [ + "arrow", + "trend", + "up" + ] + }, + { + "value": "arrow-turn-down", + "keywords": [ + "arrow", + "turn", + "down" + ] + }, + { + "value": "arrow-turn-up", + "keywords": [ + "arrow", + "turn", + "up" + ] + }, + { + "value": "arrow-up", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-1-9", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-9-1", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-a-z", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-from-bracket", + "keywords": [ + "arrow", + "up", + "from", + "bracket" + ] + }, + { + "value": "arrow-up-from-ground-water", + "keywords": [ + "arrow", + "up", + "from", + "ground", + "water" + ] + }, + { + "value": "arrow-up-from-water-pump", + "keywords": [ + "arrow", + "up", + "from", + "water", + "pump" + ] + }, + { + "value": "arrow-up-long", + "keywords": [ + "arrow", + "up", + "long" + ] + }, + { + "value": "arrow-up-right-dots", + "keywords": [ + "arrow", + "up", + "right", + "dots" + ] + }, + { + "value": "arrow-up-right-from-square", + "keywords": [ + "arrow", + "up", + "right", + "from", + "square" + ] + }, + { + "value": "arrow-up-short-wide", + "keywords": [ + "arrow", + "up", + "short", + "wide" + ] + }, + { + "value": "arrow-up-wide-short", + "keywords": [ + "arrow", + "up", + "wide", + "short" + ] + }, + { + "value": "arrow-up-z-a", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrows-down-to-line", + "keywords": [ + "arrows", + "down", + "to", + "line" + ] + }, + { + "value": "arrows-down-to-people", + "keywords": [ + "arrows", + "down", + "to", + "people" + ] + }, + { + "value": "arrows-left-right", + "keywords": [ + "arrows", + "left", + "right" + ] + }, + { + "value": "arrows-left-right-to-line", + "keywords": [ + "arrows", + "left", + "right", + "to", + "line" + ] + }, + { + "value": "arrows-rotate", + "keywords": [ + "arrows", + "rotate" + ] + }, + { + "value": "arrows-spin", + "keywords": [ + "arrows", + "spin" + ] + }, + { + "value": "arrows-split-up-and-left", + "keywords": [ + "arrows", + "split", + "up", + "and", + "left" + ] + }, + { + "value": "arrows-to-circle", + "keywords": [ + "arrows", + "to", + "circle" + ] + }, + { + "value": "arrows-to-dot", + "keywords": [ + "arrows", + "to", + "dot" + ] + }, + { + "value": "arrows-to-eye", + "keywords": [ + "arrows", + "to", + "eye" + ] + }, + { + "value": "arrows-turn-right", + "keywords": [ + "arrows", + "turn", + "right" + ] + }, + { + "value": "arrows-turn-to-dots", + "keywords": [ + "arrows", + "turn", + "to", + "dots" + ] + }, + { + "value": "arrows-up-down", + "keywords": [ + "arrows", + "up", + "down" + ] + }, + { + "value": "arrows-up-down-left-right", + "keywords": [ + "arrows", + "up", + "down", + "left", + "right" + ] + }, + { + "value": "arrows-up-to-line", + "keywords": [ + "arrows", + "up", + "to", + "line" + ] + }, + { + "value": "asterisk" + }, + { + "value": "at" + }, + { + "value": "atom" + }, + { + "value": "audio-description", + "keywords": [ + "audio", + "description" + ] + }, + { + "value": "austral-sign", + "keywords": [ + "austral", + "sign" + ] + }, + { + "value": "award" + }, + { + "value": "b" + }, + { + "value": "baby" + }, + { + "value": "baby-carriage", + "keywords": [ + "baby", + "carriage" + ] + }, + { + "value": "backward" + }, + { + "value": "backward-fast", + "keywords": [ + "backward", + "fast" + ] + }, + { + "value": "backward-step", + "keywords": [ + "backward", + "step" + ] + }, + { + "value": "bacon" + }, + { + "value": "bacteria" + }, + { + "value": "bacterium" + }, + { + "value": "bag-shopping", + "keywords": [ + "bag", + "shopping" + ] + }, + { + "value": "bahai" + }, + { + "value": "baht-sign", + "keywords": [ + "baht", + "sign" + ] + }, + { + "value": "ban" + }, + { + "value": "ban-smoking", + "keywords": [ + "ban", + "smoking" + ] + }, + { + "value": "bandage" + }, + { + "value": "bangladeshi-taka-sign", + "keywords": [ + "bangladeshi", + "taka", + "sign" + ] + }, + { + "value": "barcode" + }, + { + "value": "bars" + }, + { + "value": "bars-progress", + "keywords": [ + "bars", + "progress" + ] + }, + { + "value": "bars-staggered", + "keywords": [ + "bars", + "staggered" + ] + }, + { + "value": "baseball" + }, + { + "value": "baseball-bat-ball", + "keywords": [ + "baseball", + "bat", + "ball" + ] + }, + { + "value": "basket-shopping", + "keywords": [ + "basket", + "shopping" + ] + }, + { + "value": "basketball" + }, + { + "value": "bath" + }, + { + "value": "battery-empty", + "keywords": [ + "battery", + "empty" + ] + }, + { + "value": "battery-full", + "keywords": [ + "battery", + "full" + ] + }, + { + "value": "battery-half", + "keywords": [ + "battery", + "half" + ] + }, + { + "value": "battery-quarter", + "keywords": [ + "battery", + "quarter" + ] + }, + { + "value": "battery-three-quarters", + "keywords": [ + "battery", + "three", + "quarters" + ] + }, + { + "value": "bed" + }, + { + "value": "bed-pulse", + "keywords": [ + "bed", + "pulse" + ] + }, + { + "value": "beer-mug-empty", + "keywords": [ + "beer", + "mug", + "empty" + ] + }, + { + "value": "bell" + }, + { + "value": "bell-concierge", + "keywords": [ + "bell", + "concierge" + ] + }, + { + "value": "bell-slash", + "keywords": [ + "bell", + "slash" + ] + }, + { + "value": "bezier-curve", + "keywords": [ + "bezier", + "curve" + ] + }, + { + "value": "bicycle" + }, + { + "value": "binoculars" + }, + { + "value": "biohazard" + }, + { + "value": "bitcoin-sign", + "keywords": [ + "bitcoin", + "sign" + ] + }, + { + "value": "blender" + }, + { + "value": "blender-phone", + "keywords": [ + "blender", + "phone" + ] + }, + { + "value": "blog" + }, + { + "value": "bold" + }, + { + "value": "bolt" + }, + { + "value": "bolt-lightning", + "keywords": [ + "bolt", + "lightning" + ] + }, + { + "value": "bomb" + }, + { + "value": "bone" + }, + { + "value": "bong" + }, + { + "value": "book" + }, + { + "value": "book-atlas", + "keywords": [ + "book", + "atlas" + ] + }, + { + "value": "book-bible", + "keywords": [ + "book", + "bible" + ] + }, + { + "value": "book-bookmark", + "keywords": [ + "book", + "bookmark" + ] + }, + { + "value": "book-journal-whills", + "keywords": [ + "book", + "journal", + "whills" + ] + }, + { + "value": "book-medical", + "keywords": [ + "book", + "medical" + ] + }, + { + "value": "book-open", + "keywords": [ + "book", + "open" + ] + }, + { + "value": "book-open-reader", + "keywords": [ + "book", + "open", + "reader" + ] + }, + { + "value": "book-quran", + "keywords": [ + "book", + "quran" + ] + }, + { + "value": "book-skull", + "keywords": [ + "book", + "skull" + ] + }, + { + "value": "book-tanakh", + "keywords": [ + "book", + "tanakh" + ] + }, + { + "value": "bookmark" + }, + { + "value": "border-all", + "keywords": [ + "border", + "all" + ] + }, + { + "value": "border-none", + "keywords": [ + "border", + "none" + ] + }, + { + "value": "border-top-left", + "keywords": [ + "border", + "top", + "left" + ] + }, + { + "value": "bore-hole", + "keywords": [ + "bore", + "hole" + ] + }, + { + "value": "bottle-droplet", + "keywords": [ + "bottle", + "droplet" + ] + }, + { + "value": "bottle-water", + "keywords": [ + "bottle", + "water" + ] + }, + { + "value": "bowl-food", + "keywords": [ + "bowl", + "food" + ] + }, + { + "value": "bowl-rice", + "keywords": [ + "bowl", + "rice" + ] + }, + { + "value": "bowling-ball", + "keywords": [ + "bowling", + "ball" + ] + }, + { + "value": "box" + }, + { + "value": "box-archive", + "keywords": [ + "box", + "archive" + ] + }, + { + "value": "box-open", + "keywords": [ + "box", + "open" + ] + }, + { + "value": "box-tissue", + "keywords": [ + "box", + "tissue" + ] + }, + { + "value": "boxes-packing", + "keywords": [ + "boxes", + "packing" + ] + }, + { + "value": "boxes-stacked", + "keywords": [ + "boxes", + "stacked" + ] + }, + { + "value": "braille" + }, + { + "value": "brain" + }, + { + "value": "brazilian-real-sign", + "keywords": [ + "brazilian", + "real", + "sign" + ] + }, + { + "value": "bread-slice", + "keywords": [ + "bread", + "slice" + ] + }, + { + "value": "bridge" + }, + { + "value": "bridge-circle-check", + "keywords": [ + "bridge", + "circle", + "check" + ] + }, + { + "value": "bridge-circle-exclamation", + "keywords": [ + "bridge", + "circle", + "exclamation" + ] + }, + { + "value": "bridge-circle-xmark", + "keywords": [ + "bridge", + "circle", + "xmark" + ] + }, + { + "value": "bridge-lock", + "keywords": [ + "bridge", + "lock" + ] + }, + { + "value": "bridge-water", + "keywords": [ + "bridge", + "water" + ] + }, + { + "value": "briefcase" + }, + { + "value": "briefcase-medical", + "keywords": [ + "briefcase", + "medical" + ] + }, + { + "value": "broom" + }, + { + "value": "broom-ball", + "keywords": [ + "broom", + "ball" + ] + }, + { + "value": "brush" + }, + { + "value": "bucket" + }, + { + "value": "bug" + }, + { + "value": "bug-slash", + "keywords": [ + "bug", + "slash" + ] + }, + { + "value": "bugs" + }, + { + "value": "building" + }, + { + "value": "building-circle-arrow-right", + "keywords": [ + "building", + "circle", + "arrow", + "right" + ] + }, + { + "value": "building-circle-check", + "keywords": [ + "building", + "circle", + "check" + ] + }, + { + "value": "building-circle-exclamation", + "keywords": [ + "building", + "circle", + "exclamation" + ] + }, + { + "value": "building-circle-xmark", + "keywords": [ + "building", + "circle", + "xmark" + ] + }, + { + "value": "building-columns", + "keywords": [ + "building", + "columns" + ] + }, + { + "value": "building-flag", + "keywords": [ + "building", + "flag" + ] + }, + { + "value": "building-lock", + "keywords": [ + "building", + "lock" + ] + }, + { + "value": "building-ngo", + "keywords": [ + "building", + "ngo" + ] + }, + { + "value": "building-shield", + "keywords": [ + "building", + "shield" + ] + }, + { + "value": "building-un", + "keywords": [ + "building", + "un" + ] + }, + { + "value": "building-user", + "keywords": [ + "building", + "user" + ] + }, + { + "value": "building-wheat", + "keywords": [ + "building", + "wheat" + ] + }, + { + "value": "bullhorn" + }, + { + "value": "bullseye" + }, + { + "value": "burger" + }, + { + "value": "burst" + }, + { + "value": "bus" + }, + { + "value": "bus-simple", + "keywords": [ + "bus", + "simple" + ] + }, + { + "value": "business-time", + "keywords": [ + "business", + "time" + ] + }, + { + "value": "c" + }, + { + "value": "cable-car", + "keywords": [ + "cable", + "car" + ] + }, + { + "value": "cake-candles", + "keywords": [ + "cake", + "candles" + ] + }, + { + "value": "calculator" + }, + { + "value": "calendar" + }, + { + "value": "calendar-check", + "keywords": [ + "calendar", + "check" + ] + }, + { + "value": "calendar-day", + "keywords": [ + "calendar", + "day" + ] + }, + { + "value": "calendar-days", + "keywords": [ + "calendar", + "days" + ] + }, + { + "value": "calendar-minus", + "keywords": [ + "calendar", + "minus" + ] + }, + { + "value": "calendar-plus", + "keywords": [ + "calendar", + "plus" + ] + }, + { + "value": "calendar-week", + "keywords": [ + "calendar", + "week" + ] + }, + { + "value": "calendar-xmark", + "keywords": [ + "calendar", + "xmark" + ] + }, + { + "value": "camera" + }, + { + "value": "camera-retro", + "keywords": [ + "camera", + "retro" + ] + }, + { + "value": "camera-rotate", + "keywords": [ + "camera", + "rotate" + ] + }, + { + "value": "campground" + }, + { + "value": "candy-cane", + "keywords": [ + "candy", + "cane" + ] + }, + { + "value": "cannabis" + }, + { + "value": "capsules" + }, + { + "value": "car" + }, + { + "value": "car-battery", + "keywords": [ + "car", + "battery" + ] + }, + { + "value": "car-burst", + "keywords": [ + "car", + "burst" + ] + }, + { + "value": "car-on", + "keywords": [ + "car", + "on" + ] + }, + { + "value": "car-rear", + "keywords": [ + "car", + "rear" + ] + }, + { + "value": "car-side", + "keywords": [ + "car", + "side" + ] + }, + { + "value": "car-tunnel", + "keywords": [ + "car", + "tunnel" + ] + }, + { + "value": "caravan" + }, + { + "value": "caret-down", + "keywords": [ + "caret", + "down" + ] + }, + { + "value": "caret-left", + "keywords": [ + "caret", + "left" + ] + }, + { + "value": "caret-right", + "keywords": [ + "caret", + "right" + ] + }, + { + "value": "caret-up", + "keywords": [ + "caret", + "up" + ] + }, + { + "value": "carrot" + }, + { + "value": "cart-arrow-down", + "keywords": [ + "cart", + "arrow", + "down" + ] + }, + { + "value": "cart-flatbed", + "keywords": [ + "cart", + "flatbed" + ] + }, + { + "value": "cart-flatbed-suitcase", + "keywords": [ + "cart", + "flatbed", + "suitcase" + ] + }, + { + "value": "cart-plus", + "keywords": [ + "cart", + "plus" + ] + }, + { + "value": "cart-shopping", + "keywords": [ + "cart", + "shopping" + ] + }, + { + "value": "cash-register", + "keywords": [ + "cash", + "register" + ] + }, + { + "value": "cat" + }, + { + "value": "cedi-sign", + "keywords": [ + "cedi", + "sign" + ] + }, + { + "value": "cent-sign", + "keywords": [ + "cent", + "sign" + ] + }, + { + "value": "certificate" + }, + { + "value": "chair" + }, + { + "value": "chalkboard" + }, + { + "value": "chalkboard-user", + "keywords": [ + "chalkboard", + "user" + ] + }, + { + "value": "champagne-glasses", + "keywords": [ + "champagne", + "glasses" + ] + }, + { + "value": "charging-station", + "keywords": [ + "charging", + "station" + ] + }, + { + "value": "chart-area", + "keywords": [ + "chart", + "area" + ] + }, + { + "value": "chart-bar", + "keywords": [ + "chart", + "bar" + ] + }, + { + "value": "chart-column", + "keywords": [ + "chart", + "column" + ] + }, + { + "value": "chart-gantt", + "keywords": [ + "chart", + "gantt" + ] + }, + { + "value": "chart-line", + "keywords": [ + "chart", + "line" + ] + }, + { + "value": "chart-pie", + "keywords": [ + "chart", + "pie" + ] + }, + { + "value": "chart-simple", + "keywords": [ + "chart", + "simple" + ] + }, + { + "value": "check" + }, + { + "value": "check-double", + "keywords": [ + "check", + "double" + ] + }, + { + "value": "check-to-slot", + "keywords": [ + "check", + "to", + "slot" + ] + }, + { + "value": "cheese" + }, + { + "value": "chess" + }, + { + "value": "chess-bishop", + "keywords": [ + "chess", + "bishop" + ] + }, + { + "value": "chess-board", + "keywords": [ + "chess", + "board" + ] + }, + { + "value": "chess-king", + "keywords": [ + "chess", + "king" + ] + }, + { + "value": "chess-knight", + "keywords": [ + "chess", + "knight" + ] + }, + { + "value": "chess-pawn", + "keywords": [ + "chess", + "pawn" + ] + }, + { + "value": "chess-queen", + "keywords": [ + "chess", + "queen" + ] + }, + { + "value": "chess-rook", + "keywords": [ + "chess", + "rook" + ] + }, + { + "value": "chevron-down", + "keywords": [ + "chevron", + "down" + ] + }, + { + "value": "chevron-left", + "keywords": [ + "chevron", + "left" + ] + }, + { + "value": "chevron-right", + "keywords": [ + "chevron", + "right" + ] + }, + { + "value": "chevron-up", + "keywords": [ + "chevron", + "up" + ] + }, + { + "value": "child" + }, + { + "value": "child-combatant", + "keywords": [ + "child", + "combatant" + ] + }, + { + "value": "child-dress", + "keywords": [ + "child", + "dress" + ] + }, + { + "value": "child-reaching", + "keywords": [ + "child", + "reaching" + ] + }, + { + "value": "children" + }, + { + "value": "church" + }, + { + "value": "circle" + }, + { + "value": "circle-arrow-down", + "keywords": [ + "circle", + "arrow", + "down" + ] + }, + { + "value": "circle-arrow-left", + "keywords": [ + "circle", + "arrow", + "left" + ] + }, + { + "value": "circle-arrow-right", + "keywords": [ + "circle", + "arrow", + "right" + ] + }, + { + "value": "circle-arrow-up", + "keywords": [ + "circle", + "arrow", + "up" + ] + }, + { + "value": "circle-check", + "keywords": [ + "circle", + "check" + ] + }, + { + "value": "circle-chevron-down", + "keywords": [ + "circle", + "chevron", + "down" + ] + }, + { + "value": "circle-chevron-left", + "keywords": [ + "circle", + "chevron", + "left" + ] + }, + { + "value": "circle-chevron-right", + "keywords": [ + "circle", + "chevron", + "right" + ] + }, + { + "value": "circle-chevron-up", + "keywords": [ + "circle", + "chevron", + "up" + ] + }, + { + "value": "circle-dollar-to-slot", + "keywords": [ + "circle", + "dollar", + "to", + "slot" + ] + }, + { + "value": "circle-dot", + "keywords": [ + "circle", + "dot" + ] + }, + { + "value": "circle-down", + "keywords": [ + "circle", + "down" + ] + }, + { + "value": "circle-exclamation", + "keywords": [ + "circle", + "exclamation" + ] + }, + { + "value": "circle-h" + }, + { + "value": "circle-half-stroke", + "keywords": [ + "circle", + "half", + "stroke" + ] + }, + { + "value": "circle-info", + "keywords": [ + "circle", + "info" + ] + }, + { + "value": "circle-left", + "keywords": [ + "circle", + "left" + ] + }, + { + "value": "circle-minus", + "keywords": [ + "circle", + "minus" + ] + }, + { + "value": "circle-nodes", + "keywords": [ + "circle", + "nodes" + ] + }, + { + "value": "circle-notch", + "keywords": [ + "circle", + "notch" + ] + }, + { + "value": "circle-pause", + "keywords": [ + "circle", + "pause" + ] + }, + { + "value": "circle-play", + "keywords": [ + "circle", + "play" + ] + }, + { + "value": "circle-plus", + "keywords": [ + "circle", + "plus" + ] + }, + { + "value": "circle-question", + "keywords": [ + "circle", + "question" + ] + }, + { + "value": "circle-radiation", + "keywords": [ + "circle", + "radiation" + ] + }, + { + "value": "circle-right", + "keywords": [ + "circle", + "right" + ] + }, + { + "value": "circle-stop", + "keywords": [ + "circle", + "stop" + ] + }, + { + "value": "circle-up", + "keywords": [ + "circle", + "up" + ] + }, + { + "value": "circle-user", + "keywords": [ + "circle", + "user" + ] + }, + { + "value": "circle-xmark", + "keywords": [ + "circle", + "xmark" + ] + }, + { + "value": "city" + }, + { + "value": "clapperboard" + }, + { + "value": "clipboard" + }, + { + "value": "clipboard-check", + "keywords": [ + "clipboard", + "check" + ] + }, + { + "value": "clipboard-list", + "keywords": [ + "clipboard", + "list" + ] + }, + { + "value": "clipboard-question", + "keywords": [ + "clipboard", + "question" + ] + }, + { + "value": "clipboard-user", + "keywords": [ + "clipboard", + "user" + ] + }, + { + "value": "clock" + }, + { + "value": "clock-rotate-left", + "keywords": [ + "clock", + "rotate", + "left" + ] + }, + { + "value": "clone" + }, + { + "value": "closed-captioning", + "keywords": [ + "closed", + "captioning" + ] + }, + { + "value": "cloud" + }, + { + "value": "cloud-arrow-down", + "keywords": [ + "cloud", + "arrow", + "down" + ] + }, + { + "value": "cloud-arrow-up", + "keywords": [ + "cloud", + "arrow", + "up" + ] + }, + { + "value": "cloud-bolt", + "keywords": [ + "cloud", + "bolt" + ] + }, + { + "value": "cloud-meatball", + "keywords": [ + "cloud", + "meatball" + ] + }, + { + "value": "cloud-moon", + "keywords": [ + "cloud", + "moon" + ] + }, + { + "value": "cloud-moon-rain", + "keywords": [ + "cloud", + "moon", + "rain" + ] + }, + { + "value": "cloud-rain", + "keywords": [ + "cloud", + "rain" + ] + }, + { + "value": "cloud-showers-heavy", + "keywords": [ + "cloud", + "showers", + "heavy" + ] + }, + { + "value": "cloud-showers-water", + "keywords": [ + "cloud", + "showers", + "water" + ] + }, + { + "value": "cloud-sun", + "keywords": [ + "cloud", + "sun" + ] + }, + { + "value": "cloud-sun-rain", + "keywords": [ + "cloud", + "sun", + "rain" + ] + }, + { + "value": "clover" + }, + { + "value": "code" + }, + { + "value": "code-branch", + "keywords": [ + "code", + "branch" + ] + }, + { + "value": "code-commit", + "keywords": [ + "code", + "commit" + ] + }, + { + "value": "code-compare", + "keywords": [ + "code", + "compare" + ] + }, + { + "value": "code-fork", + "keywords": [ + "code", + "fork" + ] + }, + { + "value": "code-merge", + "keywords": [ + "code", + "merge" + ] + }, + { + "value": "code-pull-request", + "keywords": [ + "code", + "pull", + "request" + ] + }, + { + "value": "coins" + }, + { + "value": "colon-sign", + "keywords": [ + "colon", + "sign" + ] + }, + { + "value": "comment" + }, + { + "value": "comment-dollar", + "keywords": [ + "comment", + "dollar" + ] + }, + { + "value": "comment-dots", + "keywords": [ + "comment", + "dots" + ] + }, + { + "value": "comment-medical", + "keywords": [ + "comment", + "medical" + ] + }, + { + "value": "comment-slash", + "keywords": [ + "comment", + "slash" + ] + }, + { + "value": "comment-sms", + "keywords": [ + "comment", + "sms" + ] + }, + { + "value": "comments" + }, + { + "value": "comments-dollar", + "keywords": [ + "comments", + "dollar" + ] + }, + { + "value": "compact-disc", + "keywords": [ + "compact", + "disc" + ] + }, + { + "value": "compass" + }, + { + "value": "compass-drafting", + "keywords": [ + "compass", + "drafting" + ] + }, + { + "value": "compress" + }, + { + "value": "computer" + }, + { + "value": "computer-mouse", + "keywords": [ + "computer", + "mouse" + ] + }, + { + "value": "cookie" + }, + { + "value": "cookie-bite", + "keywords": [ + "cookie", + "bite" + ] + }, + { + "value": "copy" + }, + { + "value": "copyright" + }, + { + "value": "couch" + }, + { + "value": "cow" + }, + { + "value": "credit-card", + "keywords": [ + "credit", + "card" + ] + }, + { + "value": "crop" + }, + { + "value": "crop-simple", + "keywords": [ + "crop", + "simple" + ] + }, + { + "value": "cross" + }, + { + "value": "crosshairs" + }, + { + "value": "crow" + }, + { + "value": "crown" + }, + { + "value": "crutch" + }, + { + "value": "cruzeiro-sign", + "keywords": [ + "cruzeiro", + "sign" + ] + }, + { + "value": "cube" + }, + { + "value": "cubes" + }, + { + "value": "cubes-stacked", + "keywords": [ + "cubes", + "stacked" + ] + }, + { + "value": "d" + }, + { + "value": "database" + }, + { + "value": "delete-left", + "keywords": [ + "delete", + "left" + ] + }, + { + "value": "democrat" + }, + { + "value": "desktop" + }, + { + "value": "dharmachakra" + }, + { + "value": "diagram-next", + "keywords": [ + "diagram", + "next" + ] + }, + { + "value": "diagram-predecessor", + "keywords": [ + "diagram", + "predecessor" + ] + }, + { + "value": "diagram-project", + "keywords": [ + "diagram", + "project" + ] + }, + { + "value": "diagram-successor", + "keywords": [ + "diagram", + "successor" + ] + }, + { + "value": "diamond" + }, + { + "value": "diamond-turn-right", + "keywords": [ + "diamond", + "turn", + "right" + ] + }, + { + "value": "dice" + }, + { + "value": "dice-d20", + "keywords": [ + "dice", + "d20" + ] + }, + { + "value": "dice-d6", + "keywords": [ + "dice", + "d6" + ] + }, + { + "value": "dice-five", + "keywords": [ + "dice", + "five" + ] + }, + { + "value": "dice-four", + "keywords": [ + "dice", + "four" + ] + }, + { + "value": "dice-one", + "keywords": [ + "dice", + "one" + ] + }, + { + "value": "dice-six", + "keywords": [ + "dice", + "six" + ] + }, + { + "value": "dice-three", + "keywords": [ + "dice", + "three" + ] + }, + { + "value": "dice-two", + "keywords": [ + "dice", + "two" + ] + }, + { + "value": "disease" + }, + { + "value": "display" + }, + { + "value": "divide" + }, + { + "value": "dna" + }, + { + "value": "dog" + }, + { + "value": "dollar-sign", + "keywords": [ + "dollar", + "sign" + ] + }, + { + "value": "dolly" + }, + { + "value": "dong-sign", + "keywords": [ + "dong", + "sign" + ] + }, + { + "value": "door-closed", + "keywords": [ + "door", + "closed" + ] + }, + { + "value": "door-open", + "keywords": [ + "door", + "open" + ] + }, + { + "value": "dove" + }, + { + "value": "down-left-and-up-right-to-center", + "keywords": [ + "down", + "left", + "and", + "up", + "right", + "to", + "center" + ] + }, + { + "value": "down-long", + "keywords": [ + "down", + "long" + ] + }, + { + "value": "download" + }, + { + "value": "dragon" + }, + { + "value": "draw-polygon", + "keywords": [ + "draw", + "polygon" + ] + }, + { + "value": "droplet" + }, + { + "value": "droplet-slash", + "keywords": [ + "droplet", + "slash" + ] + }, + { + "value": "drum" + }, + { + "value": "drum-steelpan", + "keywords": [ + "drum", + "steelpan" + ] + }, + { + "value": "drumstick-bite", + "keywords": [ + "drumstick", + "bite" + ] + }, + { + "value": "dumbbell" + }, + { + "value": "dumpster" + }, + { + "value": "dumpster-fire", + "keywords": [ + "dumpster", + "fire" + ] + }, + { + "value": "dungeon" + }, + { + "value": "e" + }, + { + "value": "ear-deaf", + "keywords": [ + "ear", + "deaf" + ] + }, + { + "value": "ear-listen", + "keywords": [ + "ear", + "listen" + ] + }, + { + "value": "earth-africa", + "keywords": [ + "earth", + "africa" + ] + }, + { + "value": "earth-americas", + "keywords": [ + "earth", + "americas" + ] + }, + { + "value": "earth-asia", + "keywords": [ + "earth", + "asia" + ] + }, + { + "value": "earth-europe", + "keywords": [ + "earth", + "europe" + ] + }, + { + "value": "earth-oceania", + "keywords": [ + "earth", + "oceania" + ] + }, + { + "value": "egg" + }, + { + "value": "eject" + }, + { + "value": "elevator" + }, + { + "value": "ellipsis" + }, + { + "value": "ellipsis-vertical", + "keywords": [ + "ellipsis", + "vertical" + ] + }, + { + "value": "envelope" + }, + { + "value": "envelope-circle-check", + "keywords": [ + "envelope", + "circle", + "check" + ] + }, + { + "value": "envelope-open", + "keywords": [ + "envelope", + "open" + ] + }, + { + "value": "envelope-open-text", + "keywords": [ + "envelope", + "open", + "text" + ] + }, + { + "value": "envelopes-bulk", + "keywords": [ + "envelopes", + "bulk" + ] + }, + { + "value": "equals" + }, + { + "value": "eraser" + }, + { + "value": "ethernet" + }, + { + "value": "euro-sign", + "keywords": [ + "euro", + "sign" + ] + }, + { + "value": "exclamation" + }, + { + "value": "expand" + }, + { + "value": "explosion" + }, + { + "value": "eye" + }, + { + "value": "eye-dropper", + "keywords": [ + "eye", + "dropper" + ] + }, + { + "value": "eye-low-vision", + "keywords": [ + "eye", + "low", + "vision" + ] + }, + { + "value": "eye-slash", + "keywords": [ + "eye", + "slash" + ] + }, + { + "value": "f" + }, + { + "value": "face-angry", + "keywords": [ + "face", + "angry" + ] + }, + { + "value": "face-dizzy", + "keywords": [ + "face", + "dizzy" + ] + }, + { + "value": "face-flushed", + "keywords": [ + "face", + "flushed" + ] + }, + { + "value": "face-frown", + "keywords": [ + "face", + "frown" + ] + }, + { + "value": "face-frown-open", + "keywords": [ + "face", + "frown", + "open" + ] + }, + { + "value": "face-grimace", + "keywords": [ + "face", + "grimace" + ] + }, + { + "value": "face-grin", + "keywords": [ + "face", + "grin" + ] + }, + { + "value": "face-grin-beam", + "keywords": [ + "face", + "grin", + "beam" + ] + }, + { + "value": "face-grin-beam-sweat", + "keywords": [ + "face", + "grin", + "beam", + "sweat" + ] + }, + { + "value": "face-grin-hearts", + "keywords": [ + "face", + "grin", + "hearts" + ] + }, + { + "value": "face-grin-squint", + "keywords": [ + "face", + "grin", + "squint" + ] + }, + { + "value": "face-grin-squint-tears", + "keywords": [ + "face", + "grin", + "squint", + "tears" + ] + }, + { + "value": "face-grin-stars", + "keywords": [ + "face", + "grin", + "stars" + ] + }, + { + "value": "face-grin-tears", + "keywords": [ + "face", + "grin", + "tears" + ] + }, + { + "value": "face-grin-tongue", + "keywords": [ + "face", + "grin", + "tongue" + ] + }, + { + "value": "face-grin-tongue-squint", + "keywords": [ + "face", + "grin", + "tongue", + "squint" + ] + }, + { + "value": "face-grin-tongue-wink", + "keywords": [ + "face", + "grin", + "tongue", + "wink" + ] + }, + { + "value": "face-grin-wide", + "keywords": [ + "face", + "grin", + "wide" + ] + }, + { + "value": "face-grin-wink", + "keywords": [ + "face", + "grin", + "wink" + ] + }, + { + "value": "face-kiss", + "keywords": [ + "face", + "kiss" + ] + }, + { + "value": "face-kiss-beam", + "keywords": [ + "face", + "kiss", + "beam" + ] + }, + { + "value": "face-kiss-wink-heart", + "keywords": [ + "face", + "kiss", + "wink", + "heart" + ] + }, + { + "value": "face-laugh", + "keywords": [ + "face", + "laugh" + ] + }, + { + "value": "face-laugh-beam", + "keywords": [ + "face", + "laugh", + "beam" + ] + }, + { + "value": "face-laugh-squint", + "keywords": [ + "face", + "laugh", + "squint" + ] + }, + { + "value": "face-laugh-wink", + "keywords": [ + "face", + "laugh", + "wink" + ] + }, + { + "value": "face-meh", + "keywords": [ + "face", + "meh" + ] + }, + { + "value": "face-meh-blank", + "keywords": [ + "face", + "meh", + "blank" + ] + }, + { + "value": "face-rolling-eyes", + "keywords": [ + "face", + "rolling", + "eyes" + ] + }, + { + "value": "face-sad-cry", + "keywords": [ + "face", + "sad", + "cry" + ] + }, + { + "value": "face-sad-tear", + "keywords": [ + "face", + "sad", + "tear" + ] + }, + { + "value": "face-smile", + "keywords": [ + "face", + "smile" + ] + }, + { + "value": "face-smile-beam", + "keywords": [ + "face", + "smile", + "beam" + ] + }, + { + "value": "face-smile-wink", + "keywords": [ + "face", + "smile", + "wink" + ] + }, + { + "value": "face-surprise", + "keywords": [ + "face", + "surprise" + ] + }, + { + "value": "face-tired", + "keywords": [ + "face", + "tired" + ] + }, + { + "value": "fan" + }, + { + "value": "faucet" + }, + { + "value": "faucet-drip", + "keywords": [ + "faucet", + "drip" + ] + }, + { + "value": "fax" + }, + { + "value": "feather" + }, + { + "value": "feather-pointed", + "keywords": [ + "feather", + "pointed" + ] + }, + { + "value": "ferry" + }, + { + "value": "file" + }, + { + "value": "file-arrow-down", + "keywords": [ + "file", + "arrow", + "down" + ] + }, + { + "value": "file-arrow-up", + "keywords": [ + "file", + "arrow", + "up" + ] + }, + { + "value": "file-audio", + "keywords": [ + "file", + "audio" + ] + }, + { + "value": "file-circle-check", + "keywords": [ + "file", + "circle", + "check" + ] + }, + { + "value": "file-circle-exclamation", + "keywords": [ + "file", + "circle", + "exclamation" + ] + }, + { + "value": "file-circle-minus", + "keywords": [ + "file", + "circle", + "minus" + ] + }, + { + "value": "file-circle-plus", + "keywords": [ + "file", + "circle", + "plus" + ] + }, + { + "value": "file-circle-question", + "keywords": [ + "file", + "circle", + "question" + ] + }, + { + "value": "file-circle-xmark", + "keywords": [ + "file", + "circle", + "xmark" + ] + }, + { + "value": "file-code", + "keywords": [ + "file", + "code" + ] + }, + { + "value": "file-contract", + "keywords": [ + "file", + "contract" + ] + }, + { + "value": "file-csv", + "keywords": [ + "file", + "csv" + ] + }, + { + "value": "file-excel", + "keywords": [ + "file", + "excel" + ] + }, + { + "value": "file-export", + "keywords": [ + "file", + "export" + ] + }, + { + "value": "file-image", + "keywords": [ + "file", + "image" + ] + }, + { + "value": "file-import", + "keywords": [ + "file", + "import" + ] + }, + { + "value": "file-invoice", + "keywords": [ + "file", + "invoice" + ] + }, + { + "value": "file-invoice-dollar", + "keywords": [ + "file", + "invoice", + "dollar" + ] + }, + { + "value": "file-lines", + "keywords": [ + "file", + "lines" + ] + }, + { + "value": "file-medical", + "keywords": [ + "file", + "medical" + ] + }, + { + "value": "file-pdf", + "keywords": [ + "file", + "pdf" + ] + }, + { + "value": "file-pen", + "keywords": [ + "file", + "pen" + ] + }, + { + "value": "file-powerpoint", + "keywords": [ + "file", + "powerpoint" + ] + }, + { + "value": "file-prescription", + "keywords": [ + "file", + "prescription" + ] + }, + { + "value": "file-shield", + "keywords": [ + "file", + "shield" + ] + }, + { + "value": "file-signature", + "keywords": [ + "file", + "signature" + ] + }, + { + "value": "file-video", + "keywords": [ + "file", + "video" + ] + }, + { + "value": "file-waveform", + "keywords": [ + "file", + "waveform" + ] + }, + { + "value": "file-word", + "keywords": [ + "file", + "word" + ] + }, + { + "value": "file-zipper", + "keywords": [ + "file", + "zipper" + ] + }, + { + "value": "fill" + }, + { + "value": "fill-drip", + "keywords": [ + "fill", + "drip" + ] + }, + { + "value": "film" + }, + { + "value": "filter" + }, + { + "value": "filter-circle-dollar", + "keywords": [ + "filter", + "circle", + "dollar" + ] + }, + { + "value": "filter-circle-xmark", + "keywords": [ + "filter", + "circle", + "xmark" + ] + }, + { + "value": "fingerprint" + }, + { + "value": "fire" + }, + { + "value": "fire-burner", + "keywords": [ + "fire", + "burner" + ] + }, + { + "value": "fire-extinguisher", + "keywords": [ + "fire", + "extinguisher" + ] + }, + { + "value": "fire-flame-curved", + "keywords": [ + "fire", + "flame", + "curved" + ] + }, + { + "value": "fire-flame-simple", + "keywords": [ + "fire", + "flame", + "simple" + ] + }, + { + "value": "fish" + }, + { + "value": "fish-fins", + "keywords": [ + "fish", + "fins" + ] + }, + { + "value": "flag" + }, + { + "value": "flag-checkered", + "keywords": [ + "flag", + "checkered" + ] + }, + { + "value": "flag-usa", + "keywords": [ + "flag", + "usa" + ] + }, + { + "value": "flask" + }, + { + "value": "flask-vial", + "keywords": [ + "flask", + "vial" + ] + }, + { + "value": "floppy-disk", + "keywords": [ + "floppy", + "disk" + ] + }, + { + "value": "florin-sign", + "keywords": [ + "florin", + "sign" + ] + }, + { + "value": "folder" + }, + { + "value": "folder-closed", + "keywords": [ + "folder", + "closed" + ] + }, + { + "value": "folder-minus", + "keywords": [ + "folder", + "minus" + ] + }, + { + "value": "folder-open", + "keywords": [ + "folder", + "open" + ] + }, + { + "value": "folder-plus", + "keywords": [ + "folder", + "plus" + ] + }, + { + "value": "folder-tree", + "keywords": [ + "folder", + "tree" + ] + }, + { + "value": "font" + }, + { + "value": "font-awesome", + "keywords": [ + "font", + "awesome" + ] + }, + { + "value": "football" + }, + { + "value": "forward" + }, + { + "value": "forward-fast", + "keywords": [ + "forward", + "fast" + ] + }, + { + "value": "forward-step", + "keywords": [ + "forward", + "step" + ] + }, + { + "value": "franc-sign", + "keywords": [ + "franc", + "sign" + ] + }, + { + "value": "frog" + }, + { + "value": "futbol" + }, + { + "value": "g" + }, + { + "value": "gamepad" + }, + { + "value": "gas-pump", + "keywords": [ + "gas", + "pump" + ] + }, + { + "value": "gauge" + }, + { + "value": "gauge-high", + "keywords": [ + "gauge", + "high" + ] + }, + { + "value": "gauge-simple", + "keywords": [ + "gauge", + "simple" + ] + }, + { + "value": "gauge-simple-high", + "keywords": [ + "gauge", + "simple", + "high" + ] + }, + { + "value": "gavel" + }, + { + "value": "gear" + }, + { + "value": "gears" + }, + { + "value": "gem" + }, + { + "value": "genderless" + }, + { + "value": "ghost" + }, + { + "value": "gift" + }, + { + "value": "gifts" + }, + { + "value": "glass-water", + "keywords": [ + "glass", + "water" + ] + }, + { + "value": "glass-water-droplet", + "keywords": [ + "glass", + "water", + "droplet" + ] + }, + { + "value": "glasses" + }, + { + "value": "globe" + }, + { + "value": "golf-ball-tee", + "keywords": [ + "golf", + "ball", + "tee" + ] + }, + { + "value": "gopuram" + }, + { + "value": "graduation-cap", + "keywords": [ + "graduation", + "cap" + ] + }, + { + "value": "greater-than", + "keywords": [ + "greater", + "than" + ] + }, + { + "value": "greater-than-equal", + "keywords": [ + "greater", + "than", + "equal" + ] + }, + { + "value": "grip" + }, + { + "value": "grip-lines", + "keywords": [ + "grip", + "lines" + ] + }, + { + "value": "grip-lines-vertical", + "keywords": [ + "grip", + "lines", + "vertical" + ] + }, + { + "value": "grip-vertical", + "keywords": [ + "grip", + "vertical" + ] + }, + { + "value": "group-arrows-rotate", + "keywords": [ + "group", + "arrows", + "rotate" + ] + }, + { + "value": "guarani-sign", + "keywords": [ + "guarani", + "sign" + ] + }, + { + "value": "guitar" + }, + { + "value": "gun" + }, + { + "value": "h" + }, + { + "value": "hammer" + }, + { + "value": "hamsa" + }, + { + "value": "hand" + }, + { + "value": "hand-back-fist", + "keywords": [ + "hand", + "back", + "fist" + ] + }, + { + "value": "hand-dots", + "keywords": [ + "hand", + "dots" + ] + }, + { + "value": "hand-fist", + "keywords": [ + "hand", + "fist" + ] + }, + { + "value": "hand-holding", + "keywords": [ + "hand", + "holding" + ] + }, + { + "value": "hand-holding-dollar", + "keywords": [ + "hand", + "holding", + "dollar" + ] + }, + { + "value": "hand-holding-droplet", + "keywords": [ + "hand", + "holding", + "droplet" + ] + }, + { + "value": "hand-holding-hand", + "keywords": [ + "hand", + "holding", + "hand" + ] + }, + { + "value": "hand-holding-heart", + "keywords": [ + "hand", + "holding", + "heart" + ] + }, + { + "value": "hand-holding-medical", + "keywords": [ + "hand", + "holding", + "medical" + ] + }, + { + "value": "hand-lizard", + "keywords": [ + "hand", + "lizard" + ] + }, + { + "value": "hand-middle-finger", + "keywords": [ + "hand", + "middle", + "finger" + ] + }, + { + "value": "hand-peace", + "keywords": [ + "hand", + "peace" + ] + }, + { + "value": "hand-point-down", + "keywords": [ + "hand", + "point", + "down" + ] + }, + { + "value": "hand-point-left", + "keywords": [ + "hand", + "point", + "left" + ] + }, + { + "value": "hand-point-right", + "keywords": [ + "hand", + "point", + "right" + ] + }, + { + "value": "hand-point-up", + "keywords": [ + "hand", + "point", + "up" + ] + }, + { + "value": "hand-pointer", + "keywords": [ + "hand", + "pointer" + ] + }, + { + "value": "hand-scissors", + "keywords": [ + "hand", + "scissors" + ] + }, + { + "value": "hand-sparkles", + "keywords": [ + "hand", + "sparkles" + ] + }, + { + "value": "hand-spock", + "keywords": [ + "hand", + "spock" + ] + }, + { + "value": "handcuffs" + }, + { + "value": "hands" + }, + { + "value": "hands-asl-interpreting", + "keywords": [ + "hands", + "asl", + "interpreting" + ] + }, + { + "value": "hands-bound", + "keywords": [ + "hands", + "bound" + ] + }, + { + "value": "hands-bubbles", + "keywords": [ + "hands", + "bubbles" + ] + }, + { + "value": "hands-clapping", + "keywords": [ + "hands", + "clapping" + ] + }, + { + "value": "hands-holding", + "keywords": [ + "hands", + "holding" + ] + }, + { + "value": "hands-holding-child", + "keywords": [ + "hands", + "holding", + "child" + ] + }, + { + "value": "hands-holding-circle", + "keywords": [ + "hands", + "holding", + "circle" + ] + }, + { + "value": "hands-praying", + "keywords": [ + "hands", + "praying" + ] + }, + { + "value": "handshake" + }, + { + "value": "handshake-angle", + "keywords": [ + "handshake", + "angle" + ] + }, + { + "value": "handshake-simple", + "keywords": [ + "handshake", + "simple" + ] + }, + { + "value": "handshake-simple-slash", + "keywords": [ + "handshake", + "simple", + "slash" + ] + }, + { + "value": "handshake-slash", + "keywords": [ + "handshake", + "slash" + ] + }, + { + "value": "hanukiah" + }, + { + "value": "hard-drive", + "keywords": [ + "hard", + "drive" + ] + }, + { + "value": "hashtag" + }, + { + "value": "hat-cowboy", + "keywords": [ + "hat", + "cowboy" + ] + }, + { + "value": "hat-cowboy-side", + "keywords": [ + "hat", + "cowboy", + "side" + ] + }, + { + "value": "hat-wizard", + "keywords": [ + "hat", + "wizard" + ] + }, + { + "value": "head-side-cough", + "keywords": [ + "head", + "side", + "cough" + ] + }, + { + "value": "head-side-cough-slash", + "keywords": [ + "head", + "side", + "cough", + "slash" + ] + }, + { + "value": "head-side-mask", + "keywords": [ + "head", + "side", + "mask" + ] + }, + { + "value": "head-side-virus", + "keywords": [ + "head", + "side", + "virus" + ] + }, + { + "value": "heading" + }, + { + "value": "headphones" + }, + { + "value": "headphones-simple", + "keywords": [ + "headphones", + "simple" + ] + }, + { + "value": "headset" + }, + { + "value": "heart" + }, + { + "value": "heart-circle-bolt", + "keywords": [ + "heart", + "circle", + "bolt" + ] + }, + { + "value": "heart-circle-check", + "keywords": [ + "heart", + "circle", + "check" + ] + }, + { + "value": "heart-circle-exclamation", + "keywords": [ + "heart", + "circle", + "exclamation" + ] + }, + { + "value": "heart-circle-minus", + "keywords": [ + "heart", + "circle", + "minus" + ] + }, + { + "value": "heart-circle-plus", + "keywords": [ + "heart", + "circle", + "plus" + ] + }, + { + "value": "heart-circle-xmark", + "keywords": [ + "heart", + "circle", + "xmark" + ] + }, + { + "value": "heart-crack", + "keywords": [ + "heart", + "crack" + ] + }, + { + "value": "heart-pulse", + "keywords": [ + "heart", + "pulse" + ] + }, + { + "value": "helicopter" + }, + { + "value": "helicopter-symbol", + "keywords": [ + "helicopter", + "symbol" + ] + }, + { + "value": "helmet-safety", + "keywords": [ + "helmet", + "safety" + ] + }, + { + "value": "helmet-un", + "keywords": [ + "helmet", + "un" + ] + }, + { + "value": "highlighter" + }, + { + "value": "hill-avalanche", + "keywords": [ + "hill", + "avalanche" + ] + }, + { + "value": "hill-rockslide", + "keywords": [ + "hill", + "rockslide" + ] + }, + { + "value": "hippo" + }, + { + "value": "hockey-puck", + "keywords": [ + "hockey", + "puck" + ] + }, + { + "value": "holly-berry", + "keywords": [ + "holly", + "berry" + ] + }, + { + "value": "horse" + }, + { + "value": "horse-head", + "keywords": [ + "horse", + "head" + ] + }, + { + "value": "hospital" + }, + { + "value": "hospital-user", + "keywords": [ + "hospital", + "user" + ] + }, + { + "value": "hot-tub-person", + "keywords": [ + "hot", + "tub", + "person" + ] + }, + { + "value": "hotdog" + }, + { + "value": "hotel" + }, + { + "value": "hourglass" + }, + { + "value": "hourglass-end", + "keywords": [ + "hourglass", + "end" + ] + }, + { + "value": "hourglass-half", + "keywords": [ + "hourglass", + "half" + ] + }, + { + "value": "hourglass-start", + "keywords": [ + "hourglass", + "start" + ] + }, + { + "value": "house" + }, + { + "value": "house-chimney", + "keywords": [ + "house", + "chimney" + ] + }, + { + "value": "house-chimney-crack", + "keywords": [ + "house", + "chimney", + "crack" + ] + }, + { + "value": "house-chimney-medical", + "keywords": [ + "house", + "chimney", + "medical" + ] + }, + { + "value": "house-chimney-user", + "keywords": [ + "house", + "chimney", + "user" + ] + }, + { + "value": "house-chimney-window", + "keywords": [ + "house", + "chimney", + "window" + ] + }, + { + "value": "house-circle-check", + "keywords": [ + "house", + "circle", + "check" + ] + }, + { + "value": "house-circle-exclamation", + "keywords": [ + "house", + "circle", + "exclamation" + ] + }, + { + "value": "house-circle-xmark", + "keywords": [ + "house", + "circle", + "xmark" + ] + }, + { + "value": "house-crack", + "keywords": [ + "house", + "crack" + ] + }, + { + "value": "house-fire", + "keywords": [ + "house", + "fire" + ] + }, + { + "value": "house-flag", + "keywords": [ + "house", + "flag" + ] + }, + { + "value": "house-flood-water", + "keywords": [ + "house", + "flood", + "water" + ] + }, + { + "value": "house-flood-water-circle-arrow-right", + "keywords": [ + "house", + "flood", + "water", + "circle", + "arrow", + "right" + ] + }, + { + "value": "house-laptop", + "keywords": [ + "house", + "laptop" + ] + }, + { + "value": "house-lock", + "keywords": [ + "house", + "lock" + ] + }, + { + "value": "house-medical", + "keywords": [ + "house", + "medical" + ] + }, + { + "value": "house-medical-circle-check", + "keywords": [ + "house", + "medical", + "circle", + "check" + ] + }, + { + "value": "house-medical-circle-exclamation", + "keywords": [ + "house", + "medical", + "circle", + "exclamation" + ] + }, + { + "value": "house-medical-circle-xmark", + "keywords": [ + "house", + "medical", + "circle", + "xmark" + ] + }, + { + "value": "house-medical-flag", + "keywords": [ + "house", + "medical", + "flag" + ] + }, + { + "value": "house-signal", + "keywords": [ + "house", + "signal" + ] + }, + { + "value": "house-tsunami", + "keywords": [ + "house", + "tsunami" + ] + }, + { + "value": "house-user", + "keywords": [ + "house", + "user" + ] + }, + { + "value": "hryvnia-sign", + "keywords": [ + "hryvnia", + "sign" + ] + }, + { + "value": "hurricane" + }, + { + "value": "i" + }, + { + "value": "i-cursor" + }, + { + "value": "ice-cream", + "keywords": [ + "ice", + "cream" + ] + }, + { + "value": "icicles" + }, + { + "value": "icons" + }, + { + "value": "id-badge", + "keywords": [ + "id", + "badge" + ] + }, + { + "value": "id-card", + "keywords": [ + "id", + "card" + ] + }, + { + "value": "id-card-clip", + "keywords": [ + "id", + "card", + "clip" + ] + }, + { + "value": "igloo" + }, + { + "value": "image" + }, + { + "value": "image-portrait", + "keywords": [ + "image", + "portrait" + ] + }, + { + "value": "images" + }, + { + "value": "inbox" + }, + { + "value": "indent" + }, + { + "value": "indian-rupee-sign", + "keywords": [ + "indian", + "rupee", + "sign" + ] + }, + { + "value": "industry" + }, + { + "value": "infinity" + }, + { + "value": "info" + }, + { + "value": "italic" + }, + { + "value": "j" + }, + { + "value": "jar" + }, + { + "value": "jar-wheat", + "keywords": [ + "jar", + "wheat" + ] + }, + { + "value": "jedi" + }, + { + "value": "jet-fighter", + "keywords": [ + "jet", + "fighter" + ] + }, + { + "value": "jet-fighter-up", + "keywords": [ + "jet", + "fighter", + "up" + ] + }, + { + "value": "joint" + }, + { + "value": "jug-detergent", + "keywords": [ + "jug", + "detergent" + ] + }, + { + "value": "k" + }, + { + "value": "kaaba" + }, + { + "value": "key" + }, + { + "value": "keyboard" + }, + { + "value": "khanda" + }, + { + "value": "kip-sign", + "keywords": [ + "kip", + "sign" + ] + }, + { + "value": "kit-medical", + "keywords": [ + "kit", + "medical" + ] + }, + { + "value": "kitchen-set", + "keywords": [ + "kitchen", + "set" + ] + }, + { + "value": "kiwi-bird", + "keywords": [ + "kiwi", + "bird" + ] + }, + { + "value": "l" + }, + { + "value": "land-mine-on", + "keywords": [ + "land", + "mine", + "on" + ] + }, + { + "value": "landmark" + }, + { + "value": "landmark-dome", + "keywords": [ + "landmark", + "dome" + ] + }, + { + "value": "landmark-flag", + "keywords": [ + "landmark", + "flag" + ] + }, + { + "value": "language" + }, + { + "value": "laptop" + }, + { + "value": "laptop-code", + "keywords": [ + "laptop", + "code" + ] + }, + { + "value": "laptop-file", + "keywords": [ + "laptop", + "file" + ] + }, + { + "value": "laptop-medical", + "keywords": [ + "laptop", + "medical" + ] + }, + { + "value": "lari-sign", + "keywords": [ + "lari", + "sign" + ] + }, + { + "value": "layer-group", + "keywords": [ + "layer", + "group" + ] + }, + { + "value": "leaf" + }, + { + "value": "left-long", + "keywords": [ + "left", + "long" + ] + }, + { + "value": "left-right", + "keywords": [ + "left", + "right" + ] + }, + { + "value": "lemon" + }, + { + "value": "less-than", + "keywords": [ + "less", + "than" + ] + }, + { + "value": "less-than-equal", + "keywords": [ + "less", + "than", + "equal" + ] + }, + { + "value": "life-ring", + "keywords": [ + "life", + "ring" + ] + }, + { + "value": "lightbulb" + }, + { + "value": "lines-leaning", + "keywords": [ + "lines", + "leaning" + ] + }, + { + "value": "link" + }, + { + "value": "link-slash", + "keywords": [ + "link", + "slash" + ] + }, + { + "value": "lira-sign", + "keywords": [ + "lira", + "sign" + ] + }, + { + "value": "list" + }, + { + "value": "list-check", + "keywords": [ + "list", + "check" + ] + }, + { + "value": "list-ol", + "keywords": [ + "list", + "ol" + ] + }, + { + "value": "list-ul", + "keywords": [ + "list", + "ul" + ] + }, + { + "value": "litecoin-sign", + "keywords": [ + "litecoin", + "sign" + ] + }, + { + "value": "location-arrow", + "keywords": [ + "location", + "arrow" + ] + }, + { + "value": "location-crosshairs", + "keywords": [ + "location", + "crosshairs" + ] + }, + { + "value": "location-dot", + "keywords": [ + "location", + "dot" + ] + }, + { + "value": "location-pin", + "keywords": [ + "location", + "pin" + ] + }, + { + "value": "location-pin-lock", + "keywords": [ + "location", + "pin", + "lock" + ] + }, + { + "value": "lock" + }, + { + "value": "lock-open", + "keywords": [ + "lock", + "open" + ] + }, + { + "value": "locust" + }, + { + "value": "lungs" + }, + { + "value": "lungs-virus", + "keywords": [ + "lungs", + "virus" + ] + }, + { + "value": "m" + }, + { + "value": "magnet" + }, + { + "value": "magnifying-glass", + "keywords": [ + "magnifying", + "glass" + ] + }, + { + "value": "magnifying-glass-arrow-right", + "keywords": [ + "magnifying", + "glass", + "arrow", + "right" + ] + }, + { + "value": "magnifying-glass-chart", + "keywords": [ + "magnifying", + "glass", + "chart" + ] + }, + { + "value": "magnifying-glass-dollar", + "keywords": [ + "magnifying", + "glass", + "dollar" + ] + }, + { + "value": "magnifying-glass-location", + "keywords": [ + "magnifying", + "glass", + "location" + ] + }, + { + "value": "magnifying-glass-minus", + "keywords": [ + "magnifying", + "glass", + "minus" + ] + }, + { + "value": "magnifying-glass-plus", + "keywords": [ + "magnifying", + "glass", + "plus" + ] + }, + { + "value": "manat-sign", + "keywords": [ + "manat", + "sign" + ] + }, + { + "value": "map" + }, + { + "value": "map-location", + "keywords": [ + "map", + "location" + ] + }, + { + "value": "map-location-dot", + "keywords": [ + "map", + "location", + "dot" + ] + }, + { + "value": "map-pin", + "keywords": [ + "map", + "pin" + ] + }, + { + "value": "marker" + }, + { + "value": "mars" + }, + { + "value": "mars-and-venus", + "keywords": [ + "mars", + "and", + "venus" + ] + }, + { + "value": "mars-and-venus-burst", + "keywords": [ + "mars", + "and", + "venus", + "burst" + ] + }, + { + "value": "mars-double", + "keywords": [ + "mars", + "double" + ] + }, + { + "value": "mars-stroke", + "keywords": [ + "mars", + "stroke" + ] + }, + { + "value": "mars-stroke-right", + "keywords": [ + "mars", + "stroke", + "right" + ] + }, + { + "value": "mars-stroke-up", + "keywords": [ + "mars", + "stroke", + "up" + ] + }, + { + "value": "martini-glass", + "keywords": [ + "martini", + "glass" + ] + }, + { + "value": "martini-glass-citrus", + "keywords": [ + "martini", + "glass", + "citrus" + ] + }, + { + "value": "martini-glass-empty", + "keywords": [ + "martini", + "glass", + "empty" + ] + }, + { + "value": "mask" + }, + { + "value": "mask-face", + "keywords": [ + "mask", + "face" + ] + }, + { + "value": "mask-ventilator", + "keywords": [ + "mask", + "ventilator" + ] + }, + { + "value": "masks-theater", + "keywords": [ + "masks", + "theater" + ] + }, + { + "value": "mattress-pillow", + "keywords": [ + "mattress", + "pillow" + ] + }, + { + "value": "maximize" + }, + { + "value": "medal" + }, + { + "value": "memory" + }, + { + "value": "menorah" + }, + { + "value": "mercury" + }, + { + "value": "message" + }, + { + "value": "meteor" + }, + { + "value": "microchip" + }, + { + "value": "microphone" + }, + { + "value": "microphone-lines", + "keywords": [ + "microphone", + "lines" + ] + }, + { + "value": "microphone-lines-slash", + "keywords": [ + "microphone", + "lines", + "slash" + ] + }, + { + "value": "microphone-slash", + "keywords": [ + "microphone", + "slash" + ] + }, + { + "value": "microscope" + }, + { + "value": "mill-sign", + "keywords": [ + "mill", + "sign" + ] + }, + { + "value": "minimize" + }, + { + "value": "minus" + }, + { + "value": "mitten" + }, + { + "value": "mobile" + }, + { + "value": "mobile-button", + "keywords": [ + "mobile", + "button" + ] + }, + { + "value": "mobile-retro", + "keywords": [ + "mobile", + "retro" + ] + }, + { + "value": "mobile-screen", + "keywords": [ + "mobile", + "screen" + ] + }, + { + "value": "mobile-screen-button", + "keywords": [ + "mobile", + "screen", + "button" + ] + }, + { + "value": "money-bill", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-transfer", + "keywords": [ + "money", + "bill", + "transfer" + ] + }, + { + "value": "money-bill-trend-up", + "keywords": [ + "money", + "bill", + "trend", + "up" + ] + }, + { + "value": "money-bill-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-wheat", + "keywords": [ + "money", + "bill", + "wheat" + ] + }, + { + "value": "money-bills", + "keywords": [ + "money", + "bills" + ] + }, + { + "value": "money-check", + "keywords": [ + "money", + "check" + ] + }, + { + "value": "money-check-dollar", + "keywords": [ + "money", + "check", + "dollar" + ] + }, + { + "value": "monument" + }, + { + "value": "moon" + }, + { + "value": "mortar-pestle", + "keywords": [ + "mortar", + "pestle" + ] + }, + { + "value": "mosque" + }, + { + "value": "mosquito" + }, + { + "value": "mosquito-net", + "keywords": [ + "mosquito", + "net" + ] + }, + { + "value": "motorcycle" + }, + { + "value": "mound" + }, + { + "value": "mountain" + }, + { + "value": "mountain-city", + "keywords": [ + "mountain", + "city" + ] + }, + { + "value": "mountain-sun", + "keywords": [ + "mountain", + "sun" + ] + }, + { + "value": "mug-hot", + "keywords": [ + "mug", + "hot" + ] + }, + { + "value": "mug-saucer", + "keywords": [ + "mug", + "saucer" + ] + }, + { + "value": "music" + }, + { + "value": "n" + }, + { + "value": "naira-sign", + "keywords": [ + "naira", + "sign" + ] + }, + { + "value": "network-wired", + "keywords": [ + "network", + "wired" + ] + }, + { + "value": "neuter" + }, + { + "value": "newspaper" + }, + { + "value": "not-equal", + "keywords": [ + "not", + "equal" + ] + }, + { + "value": "notdef" + }, + { + "value": "note-sticky", + "keywords": [ + "note", + "sticky" + ] + }, + { + "value": "notes-medical", + "keywords": [ + "notes", + "medical" + ] + }, + { + "value": "o" + }, + { + "value": "object-group", + "keywords": [ + "object", + "group" + ] + }, + { + "value": "object-ungroup", + "keywords": [ + "object", + "ungroup" + ] + }, + { + "value": "oil-can", + "keywords": [ + "oil", + "can" + ] + }, + { + "value": "oil-well", + "keywords": [ + "oil", + "well" + ] + }, + { + "value": "om" + }, + { + "value": "otter" + }, + { + "value": "outdent" + }, + { + "value": "p" + }, + { + "value": "pager" + }, + { + "value": "paint-roller", + "keywords": [ + "paint", + "roller" + ] + }, + { + "value": "paintbrush" + }, + { + "value": "palette" + }, + { + "value": "pallet" + }, + { + "value": "panorama" + }, + { + "value": "paper-plane", + "keywords": [ + "paper", + "plane" + ] + }, + { + "value": "paperclip" + }, + { + "value": "parachute-box", + "keywords": [ + "parachute", + "box" + ] + }, + { + "value": "paragraph" + }, + { + "value": "passport" + }, + { + "value": "paste" + }, + { + "value": "pause" + }, + { + "value": "paw" + }, + { + "value": "peace" + }, + { + "value": "pen" + }, + { + "value": "pen-clip", + "keywords": [ + "pen", + "clip" + ] + }, + { + "value": "pen-fancy", + "keywords": [ + "pen", + "fancy" + ] + }, + { + "value": "pen-nib", + "keywords": [ + "pen", + "nib" + ] + }, + { + "value": "pen-ruler", + "keywords": [ + "pen", + "ruler" + ] + }, + { + "value": "pen-to-square", + "keywords": [ + "pen", + "to", + "square" + ] + }, + { + "value": "pencil" + }, + { + "value": "people-arrows", + "keywords": [ + "people", + "arrows" + ] + }, + { + "value": "people-carry-box", + "keywords": [ + "people", + "carry", + "box" + ] + }, + { + "value": "people-group", + "keywords": [ + "people", + "group" + ] + }, + { + "value": "people-line", + "keywords": [ + "people", + "line" + ] + }, + { + "value": "people-pulling", + "keywords": [ + "people", + "pulling" + ] + }, + { + "value": "people-robbery", + "keywords": [ + "people", + "robbery" + ] + }, + { + "value": "people-roof", + "keywords": [ + "people", + "roof" + ] + }, + { + "value": "pepper-hot", + "keywords": [ + "pepper", + "hot" + ] + }, + { + "value": "percent" + }, + { + "value": "person" + }, + { + "value": "person-arrow-down-to-line", + "keywords": [ + "person", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "person-arrow-up-from-line", + "keywords": [ + "person", + "arrow", + "up", + "from", + "line" + ] + }, + { + "value": "person-biking", + "keywords": [ + "person", + "biking" + ] + }, + { + "value": "person-booth", + "keywords": [ + "person", + "booth" + ] + }, + { + "value": "person-breastfeeding", + "keywords": [ + "person", + "breastfeeding" + ] + }, + { + "value": "person-burst", + "keywords": [ + "person", + "burst" + ] + }, + { + "value": "person-cane", + "keywords": [ + "person", + "cane" + ] + }, + { + "value": "person-chalkboard", + "keywords": [ + "person", + "chalkboard" + ] + }, + { + "value": "person-circle-check", + "keywords": [ + "person", + "circle", + "check" + ] + }, + { + "value": "person-circle-exclamation", + "keywords": [ + "person", + "circle", + "exclamation" + ] + }, + { + "value": "person-circle-minus", + "keywords": [ + "person", + "circle", + "minus" + ] + }, + { + "value": "person-circle-plus", + "keywords": [ + "person", + "circle", + "plus" + ] + }, + { + "value": "person-circle-question", + "keywords": [ + "person", + "circle", + "question" + ] + }, + { + "value": "person-circle-xmark", + "keywords": [ + "person", + "circle", + "xmark" + ] + }, + { + "value": "person-digging", + "keywords": [ + "person", + "digging" + ] + }, + { + "value": "person-dots-from-line", + "keywords": [ + "person", + "dots", + "from", + "line" + ] + }, + { + "value": "person-dress", + "keywords": [ + "person", + "dress" + ] + }, + { + "value": "person-dress-burst", + "keywords": [ + "person", + "dress", + "burst" + ] + }, + { + "value": "person-drowning", + "keywords": [ + "person", + "drowning" + ] + }, + { + "value": "person-falling", + "keywords": [ + "person", + "falling" + ] + }, + { + "value": "person-falling-burst", + "keywords": [ + "person", + "falling", + "burst" + ] + }, + { + "value": "person-half-dress", + "keywords": [ + "person", + "half", + "dress" + ] + }, + { + "value": "person-harassing", + "keywords": [ + "person", + "harassing" + ] + }, + { + "value": "person-hiking", + "keywords": [ + "person", + "hiking" + ] + }, + { + "value": "person-military-pointing", + "keywords": [ + "person", + "military", + "pointing" + ] + }, + { + "value": "person-military-rifle", + "keywords": [ + "person", + "military", + "rifle" + ] + }, + { + "value": "person-military-to-person", + "keywords": [ + "person", + "military", + "to", + "person" + ] + }, + { + "value": "person-praying", + "keywords": [ + "person", + "praying" + ] + }, + { + "value": "person-pregnant", + "keywords": [ + "person", + "pregnant" + ] + }, + { + "value": "person-rays", + "keywords": [ + "person", + "rays" + ] + }, + { + "value": "person-rifle", + "keywords": [ + "person", + "rifle" + ] + }, + { + "value": "person-running", + "keywords": [ + "person", + "running" + ] + }, + { + "value": "person-shelter", + "keywords": [ + "person", + "shelter" + ] + }, + { + "value": "person-skating", + "keywords": [ + "person", + "skating" + ] + }, + { + "value": "person-skiing", + "keywords": [ + "person", + "skiing" + ] + }, + { + "value": "person-skiing-nordic", + "keywords": [ + "person", + "skiing", + "nordic" + ] + }, + { + "value": "person-snowboarding", + "keywords": [ + "person", + "snowboarding" + ] + }, + { + "value": "person-swimming", + "keywords": [ + "person", + "swimming" + ] + }, + { + "value": "person-through-window", + "keywords": [ + "person", + "through", + "window" + ] + }, + { + "value": "person-walking", + "keywords": [ + "person", + "walking" + ] + }, + { + "value": "person-walking-arrow-loop-left", + "keywords": [ + "person", + "walking", + "arrow", + "loop", + "left" + ] + }, + { + "value": "person-walking-arrow-right", + "keywords": [ + "person", + "walking", + "arrow", + "right" + ] + }, + { + "value": "person-walking-dashed-line-arrow-right", + "keywords": [ + "person", + "walking", + "dashed", + "line", + "arrow", + "right" + ] + }, + { + "value": "person-walking-luggage", + "keywords": [ + "person", + "walking", + "luggage" + ] + }, + { + "value": "person-walking-with-cane", + "keywords": [ + "person", + "walking", + "with", + "cane" + ] + }, + { + "value": "peseta-sign", + "keywords": [ + "peseta", + "sign" + ] + }, + { + "value": "peso-sign", + "keywords": [ + "peso", + "sign" + ] + }, + { + "value": "phone" + }, + { + "value": "phone-flip", + "keywords": [ + "phone", + "flip" + ] + }, + { + "value": "phone-slash", + "keywords": [ + "phone", + "slash" + ] + }, + { + "value": "phone-volume", + "keywords": [ + "phone", + "volume" + ] + }, + { + "value": "photo-film", + "keywords": [ + "photo", + "film" + ] + }, + { + "value": "piggy-bank", + "keywords": [ + "piggy", + "bank" + ] + }, + { + "value": "pills" + }, + { + "value": "pizza-slice", + "keywords": [ + "pizza", + "slice" + ] + }, + { + "value": "place-of-worship", + "keywords": [ + "place", + "of", + "worship" + ] + }, + { + "value": "plane" + }, + { + "value": "plane-arrival", + "keywords": [ + "plane", + "arrival" + ] + }, + { + "value": "plane-circle-check", + "keywords": [ + "plane", + "circle", + "check" + ] + }, + { + "value": "plane-circle-exclamation", + "keywords": [ + "plane", + "circle", + "exclamation" + ] + }, + { + "value": "plane-circle-xmark", + "keywords": [ + "plane", + "circle", + "xmark" + ] + }, + { + "value": "plane-departure", + "keywords": [ + "plane", + "departure" + ] + }, + { + "value": "plane-lock", + "keywords": [ + "plane", + "lock" + ] + }, + { + "value": "plane-slash", + "keywords": [ + "plane", + "slash" + ] + }, + { + "value": "plane-up", + "keywords": [ + "plane", + "up" + ] + }, + { + "value": "plant-wilt", + "keywords": [ + "plant", + "wilt" + ] + }, + { + "value": "plate-wheat", + "keywords": [ + "plate", + "wheat" + ] + }, + { + "value": "play" + }, + { + "value": "plug" + }, + { + "value": "plug-circle-bolt", + "keywords": [ + "plug", + "circle", + "bolt" + ] + }, + { + "value": "plug-circle-check", + "keywords": [ + "plug", + "circle", + "check" + ] + }, + { + "value": "plug-circle-exclamation", + "keywords": [ + "plug", + "circle", + "exclamation" + ] + }, + { + "value": "plug-circle-minus", + "keywords": [ + "plug", + "circle", + "minus" + ] + }, + { + "value": "plug-circle-plus", + "keywords": [ + "plug", + "circle", + "plus" + ] + }, + { + "value": "plug-circle-xmark", + "keywords": [ + "plug", + "circle", + "xmark" + ] + }, + { + "value": "plus" + }, + { + "value": "plus-minus", + "keywords": [ + "plus", + "minus" + ] + }, + { + "value": "podcast" + }, + { + "value": "poo" + }, + { + "value": "poo-storm", + "keywords": [ + "poo", + "storm" + ] + }, + { + "value": "poop" + }, + { + "value": "power-off", + "keywords": [ + "power", + "off" + ] + }, + { + "value": "prescription" + }, + { + "value": "prescription-bottle", + "keywords": [ + "prescription", + "bottle" + ] + }, + { + "value": "prescription-bottle-medical", + "keywords": [ + "prescription", + "bottle", + "medical" + ] + }, + { + "value": "print" + }, + { + "value": "pump-medical", + "keywords": [ + "pump", + "medical" + ] + }, + { + "value": "pump-soap", + "keywords": [ + "pump", + "soap" + ] + }, + { + "value": "puzzle-piece", + "keywords": [ + "puzzle", + "piece" + ] + }, + { + "value": "q" + }, + { + "value": "qrcode" + }, + { + "value": "question" + }, + { + "value": "quote-left", + "keywords": [ + "quote", + "left" + ] + }, + { + "value": "quote-right", + "keywords": [ + "quote", + "right" + ] + }, + { + "value": "r" + }, + { + "value": "radiation" + }, + { + "value": "radio" + }, + { + "value": "rainbow" + }, + { + "value": "ranking-star", + "keywords": [ + "ranking", + "star" + ] + }, + { + "value": "receipt" + }, + { + "value": "record-vinyl", + "keywords": [ + "record", + "vinyl" + ] + }, + { + "value": "rectangle-ad", + "keywords": [ + "rectangle", + "ad" + ] + }, + { + "value": "rectangle-list", + "keywords": [ + "rectangle", + "list" + ] + }, + { + "value": "rectangle-xmark", + "keywords": [ + "rectangle", + "xmark" + ] + }, + { + "value": "recycle" + }, + { + "value": "registered" + }, + { + "value": "repeat" + }, + { + "value": "reply" + }, + { + "value": "reply-all", + "keywords": [ + "reply", + "all" + ] + }, + { + "value": "republican" + }, + { + "value": "restroom" + }, + { + "value": "retweet" + }, + { + "value": "ribbon" + }, + { + "value": "right-from-bracket", + "keywords": [ + "right", + "from", + "bracket" + ] + }, + { + "value": "right-left", + "keywords": [ + "right", + "left" + ] + }, + { + "value": "right-long", + "keywords": [ + "right", + "long" + ] + }, + { + "value": "right-to-bracket", + "keywords": [ + "right", + "to", + "bracket" + ] + }, + { + "value": "ring" + }, + { + "value": "road" + }, + { + "value": "road-barrier", + "keywords": [ + "road", + "barrier" + ] + }, + { + "value": "road-bridge", + "keywords": [ + "road", + "bridge" + ] + }, + { + "value": "road-circle-check", + "keywords": [ + "road", + "circle", + "check" + ] + }, + { + "value": "road-circle-exclamation", + "keywords": [ + "road", + "circle", + "exclamation" + ] + }, + { + "value": "road-circle-xmark", + "keywords": [ + "road", + "circle", + "xmark" + ] + }, + { + "value": "road-lock", + "keywords": [ + "road", + "lock" + ] + }, + { + "value": "road-spikes", + "keywords": [ + "road", + "spikes" + ] + }, + { + "value": "robot" + }, + { + "value": "rocket" + }, + { + "value": "rotate" + }, + { + "value": "rotate-left", + "keywords": [ + "rotate", + "left" + ] + }, + { + "value": "rotate-right", + "keywords": [ + "rotate", + "right" + ] + }, + { + "value": "route" + }, + { + "value": "rss" + }, + { + "value": "ruble-sign", + "keywords": [ + "ruble", + "sign" + ] + }, + { + "value": "rug" + }, + { + "value": "ruler" + }, + { + "value": "ruler-combined", + "keywords": [ + "ruler", + "combined" + ] + }, + { + "value": "ruler-horizontal", + "keywords": [ + "ruler", + "horizontal" + ] + }, + { + "value": "ruler-vertical", + "keywords": [ + "ruler", + "vertical" + ] + }, + { + "value": "rupee-sign", + "keywords": [ + "rupee", + "sign" + ] + }, + { + "value": "rupiah-sign", + "keywords": [ + "rupiah", + "sign" + ] + }, + { + "value": "s" + }, + { + "value": "sack-dollar", + "keywords": [ + "sack", + "dollar" + ] + }, + { + "value": "sack-xmark", + "keywords": [ + "sack", + "xmark" + ] + }, + { + "value": "sailboat" + }, + { + "value": "satellite" + }, + { + "value": "satellite-dish", + "keywords": [ + "satellite", + "dish" + ] + }, + { + "value": "scale-balanced", + "keywords": [ + "scale", + "balanced" + ] + }, + { + "value": "scale-unbalanced", + "keywords": [ + "scale", + "unbalanced" + ] + }, + { + "value": "scale-unbalanced-flip", + "keywords": [ + "scale", + "unbalanced", + "flip" + ] + }, + { + "value": "school" + }, + { + "value": "school-circle-check", + "keywords": [ + "school", + "circle", + "check" + ] + }, + { + "value": "school-circle-exclamation", + "keywords": [ + "school", + "circle", + "exclamation" + ] + }, + { + "value": "school-circle-xmark", + "keywords": [ + "school", + "circle", + "xmark" + ] + }, + { + "value": "school-flag", + "keywords": [ + "school", + "flag" + ] + }, + { + "value": "school-lock", + "keywords": [ + "school", + "lock" + ] + }, + { + "value": "scissors" + }, + { + "value": "screwdriver" + }, + { + "value": "screwdriver-wrench", + "keywords": [ + "screwdriver", + "wrench" + ] + }, + { + "value": "scroll" + }, + { + "value": "scroll-torah", + "keywords": [ + "scroll", + "torah" + ] + }, + { + "value": "sd-card", + "keywords": [ + "sd", + "card" + ] + }, + { + "value": "section" + }, + { + "value": "seedling" + }, + { + "value": "server" + }, + { + "value": "shapes" + }, + { + "value": "share" + }, + { + "value": "share-from-square", + "keywords": [ + "share", + "from", + "square" + ] + }, + { + "value": "share-nodes", + "keywords": [ + "share", + "nodes" + ] + }, + { + "value": "sheet-plastic", + "keywords": [ + "sheet", + "plastic" + ] + }, + { + "value": "shekel-sign", + "keywords": [ + "shekel", + "sign" + ] + }, + { + "value": "shield" + }, + { + "value": "shield-cat", + "keywords": [ + "shield", + "cat" + ] + }, + { + "value": "shield-dog", + "keywords": [ + "shield", + "dog" + ] + }, + { + "value": "shield-halved", + "keywords": [ + "shield", + "halved" + ] + }, + { + "value": "shield-heart", + "keywords": [ + "shield", + "heart" + ] + }, + { + "value": "shield-virus", + "keywords": [ + "shield", + "virus" + ] + }, + { + "value": "ship" + }, + { + "value": "shirt" + }, + { + "value": "shoe-prints", + "keywords": [ + "shoe", + "prints" + ] + }, + { + "value": "shop" + }, + { + "value": "shop-lock", + "keywords": [ + "shop", + "lock" + ] + }, + { + "value": "shop-slash", + "keywords": [ + "shop", + "slash" + ] + }, + { + "value": "shower" + }, + { + "value": "shrimp" + }, + { + "value": "shuffle" + }, + { + "value": "shuttle-space", + "keywords": [ + "shuttle", + "space" + ] + }, + { + "value": "sign-hanging", + "keywords": [ + "sign", + "hanging" + ] + }, + { + "value": "signal" + }, + { + "value": "signature" + }, + { + "value": "signs-post", + "keywords": [ + "signs", + "post" + ] + }, + { + "value": "sim-card", + "keywords": [ + "sim", + "card" + ] + }, + { + "value": "sink" + }, + { + "value": "sitemap" + }, + { + "value": "skull" + }, + { + "value": "skull-crossbones", + "keywords": [ + "skull", + "crossbones" + ] + }, + { + "value": "slash" + }, + { + "value": "sleigh" + }, + { + "value": "sliders" + }, + { + "value": "smog" + }, + { + "value": "smoking" + }, + { + "value": "snowflake" + }, + { + "value": "snowman" + }, + { + "value": "snowplow" + }, + { + "value": "soap" + }, + { + "value": "socks" + }, + { + "value": "solar-panel", + "keywords": [ + "solar", + "panel" + ] + }, + { + "value": "sort" + }, + { + "value": "sort-down", + "keywords": [ + "sort", + "down" + ] + }, + { + "value": "sort-up", + "keywords": [ + "sort", + "up" + ] + }, + { + "value": "spa" + }, + { + "value": "spaghetti-monster-flying", + "keywords": [ + "spaghetti", + "monster", + "flying" + ] + }, + { + "value": "spell-check", + "keywords": [ + "spell", + "check" + ] + }, + { + "value": "spider" + }, + { + "value": "spinner" + }, + { + "value": "splotch" + }, + { + "value": "spoon" + }, + { + "value": "spray-can", + "keywords": [ + "spray", + "can" + ] + }, + { + "value": "spray-can-sparkles", + "keywords": [ + "spray", + "can", + "sparkles" + ] + }, + { + "value": "square" + }, + { + "value": "square-arrow-up-right", + "keywords": [ + "square", + "arrow", + "up", + "right" + ] + }, + { + "value": "square-caret-down", + "keywords": [ + "square", + "caret", + "down" + ] + }, + { + "value": "square-caret-left", + "keywords": [ + "square", + "caret", + "left" + ] + }, + { + "value": "square-caret-right", + "keywords": [ + "square", + "caret", + "right" + ] + }, + { + "value": "square-caret-up", + "keywords": [ + "square", + "caret", + "up" + ] + }, + { + "value": "square-check", + "keywords": [ + "square", + "check" + ] + }, + { + "value": "square-envelope", + "keywords": [ + "square", + "envelope" + ] + }, + { + "value": "square-full", + "keywords": [ + "square", + "full" + ] + }, + { + "value": "square-h" + }, + { + "value": "square-minus", + "keywords": [ + "square", + "minus" + ] + }, + { + "value": "square-nfi", + "keywords": [ + "square", + "nfi" + ] + }, + { + "value": "square-parking", + "keywords": [ + "square", + "parking" + ] + }, + { + "value": "square-pen", + "keywords": [ + "square", + "pen" + ] + }, + { + "value": "square-person-confined", + "keywords": [ + "square", + "person", + "confined" + ] + }, + { + "value": "square-phone", + "keywords": [ + "square", + "phone" + ] + }, + { + "value": "square-phone-flip", + "keywords": [ + "square", + "phone", + "flip" + ] + }, + { + "value": "square-plus", + "keywords": [ + "square", + "plus" + ] + }, + { + "value": "square-poll-horizontal", + "keywords": [ + "square", + "poll", + "horizontal" + ] + }, + { + "value": "square-poll-vertical", + "keywords": [ + "square", + "poll", + "vertical" + ] + }, + { + "value": "square-root-variable", + "keywords": [ + "square", + "root", + "variable" + ] + }, + { + "value": "square-rss", + "keywords": [ + "square", + "rss" + ] + }, + { + "value": "square-share-nodes", + "keywords": [ + "square", + "share", + "nodes" + ] + }, + { + "value": "square-up-right", + "keywords": [ + "square", + "up", + "right" + ] + }, + { + "value": "square-virus", + "keywords": [ + "square", + "virus" + ] + }, + { + "value": "square-xmark", + "keywords": [ + "square", + "xmark" + ] + }, + { + "value": "staff-snake", + "keywords": [ + "staff", + "snake" + ] + }, + { + "value": "stairs" + }, + { + "value": "stamp" + }, + { + "value": "stapler" + }, + { + "value": "star" + }, + { + "value": "star-and-crescent", + "keywords": [ + "star", + "and", + "crescent" + ] + }, + { + "value": "star-half", + "keywords": [ + "star", + "half" + ] + }, + { + "value": "star-half-stroke", + "keywords": [ + "star", + "half", + "stroke" + ] + }, + { + "value": "star-of-david", + "keywords": [ + "star", + "of", + "david" + ] + }, + { + "value": "star-of-life", + "keywords": [ + "star", + "of", + "life" + ] + }, + { + "value": "sterling-sign", + "keywords": [ + "sterling", + "sign" + ] + }, + { + "value": "stethoscope" + }, + { + "value": "stop" + }, + { + "value": "stopwatch" + }, + { + "value": "stopwatch-20", + "keywords": [ + "stopwatch", + "20" + ] + }, + { + "value": "store" + }, + { + "value": "store-slash", + "keywords": [ + "store", + "slash" + ] + }, + { + "value": "street-view", + "keywords": [ + "street", + "view" + ] + }, + { + "value": "strikethrough" + }, + { + "value": "stroopwafel" + }, + { + "value": "subscript" + }, + { + "value": "suitcase" + }, + { + "value": "suitcase-medical", + "keywords": [ + "suitcase", + "medical" + ] + }, + { + "value": "suitcase-rolling", + "keywords": [ + "suitcase", + "rolling" + ] + }, + { + "value": "sun" + }, + { + "value": "sun-plant-wilt", + "keywords": [ + "sun", + "plant", + "wilt" + ] + }, + { + "value": "superscript" + }, + { + "value": "swatchbook" + }, + { + "value": "synagogue" + }, + { + "value": "syringe" + }, + { + "value": "t" + }, + { + "value": "table" + }, + { + "value": "table-cells", + "keywords": [ + "table", + "cells" + ] + }, + { + "value": "table-cells-large", + "keywords": [ + "table", + "cells", + "large" + ] + }, + { + "value": "table-columns", + "keywords": [ + "table", + "columns" + ] + }, + { + "value": "table-list", + "keywords": [ + "table", + "list" + ] + }, + { + "value": "table-tennis-paddle-ball", + "keywords": [ + "table", + "tennis", + "paddle", + "ball" + ] + }, + { + "value": "tablet" + }, + { + "value": "tablet-button", + "keywords": [ + "tablet", + "button" + ] + }, + { + "value": "tablet-screen-button", + "keywords": [ + "tablet", + "screen", + "button" + ] + }, + { + "value": "tablets" + }, + { + "value": "tachograph-digital", + "keywords": [ + "tachograph", + "digital" + ] + }, + { + "value": "tag" + }, + { + "value": "tags" + }, + { + "value": "tape" + }, + { + "value": "tarp" + }, + { + "value": "tarp-droplet", + "keywords": [ + "tarp", + "droplet" + ] + }, + { + "value": "taxi" + }, + { + "value": "teeth" + }, + { + "value": "teeth-open", + "keywords": [ + "teeth", + "open" + ] + }, + { + "value": "temperature-arrow-down", + "keywords": [ + "temperature", + "arrow", + "down" + ] + }, + { + "value": "temperature-arrow-up", + "keywords": [ + "temperature", + "arrow", + "up" + ] + }, + { + "value": "temperature-empty", + "keywords": [ + "temperature", + "empty" + ] + }, + { + "value": "temperature-full", + "keywords": [ + "temperature", + "full" + ] + }, + { + "value": "temperature-half", + "keywords": [ + "temperature", + "half" + ] + }, + { + "value": "temperature-high", + "keywords": [ + "temperature", + "high" + ] + }, + { + "value": "temperature-low", + "keywords": [ + "temperature", + "low" + ] + }, + { + "value": "temperature-quarter", + "keywords": [ + "temperature", + "quarter" + ] + }, + { + "value": "temperature-three-quarters", + "keywords": [ + "temperature", + "three", + "quarters" + ] + }, + { + "value": "tenge-sign", + "keywords": [ + "tenge", + "sign" + ] + }, + { + "value": "tent" + }, + { + "value": "tent-arrow-down-to-line", + "keywords": [ + "tent", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "tent-arrow-left-right", + "keywords": [ + "tent", + "arrow", + "left", + "right" + ] + }, + { + "value": "tent-arrow-turn-left", + "keywords": [ + "tent", + "arrow", + "turn", + "left" + ] + }, + { + "value": "tent-arrows-down", + "keywords": [ + "tent", + "arrows", + "down" + ] + }, + { + "value": "tents" + }, + { + "value": "terminal" + }, + { + "value": "text-height", + "keywords": [ + "text", + "height" + ] + }, + { + "value": "text-slash", + "keywords": [ + "text", + "slash" + ] + }, + { + "value": "text-width", + "keywords": [ + "text", + "width" + ] + }, + { + "value": "thermometer" + }, + { + "value": "thumbs-down", + "keywords": [ + "thumbs", + "down" + ] + }, + { + "value": "thumbs-up", + "keywords": [ + "thumbs", + "up" + ] + }, + { + "value": "thumbtack" + }, + { + "value": "ticket" + }, + { + "value": "ticket-simple", + "keywords": [ + "ticket", + "simple" + ] + }, + { + "value": "timeline" + }, + { + "value": "toggle-off", + "keywords": [ + "toggle", + "off" + ] + }, + { + "value": "toggle-on", + "keywords": [ + "toggle", + "on" + ] + }, + { + "value": "toilet" + }, + { + "value": "toilet-paper", + "keywords": [ + "toilet", + "paper" + ] + }, + { + "value": "toilet-paper-slash", + "keywords": [ + "toilet", + "paper", + "slash" + ] + }, + { + "value": "toilet-portable", + "keywords": [ + "toilet", + "portable" + ] + }, + { + "value": "toilets-portable", + "keywords": [ + "toilets", + "portable" + ] + }, + { + "value": "toolbox" + }, + { + "value": "tooth" + }, + { + "value": "torii-gate", + "keywords": [ + "torii", + "gate" + ] + }, + { + "value": "tornado" + }, + { + "value": "tower-broadcast", + "keywords": [ + "tower", + "broadcast" + ] + }, + { + "value": "tower-cell", + "keywords": [ + "tower", + "cell" + ] + }, + { + "value": "tower-observation", + "keywords": [ + "tower", + "observation" + ] + }, + { + "value": "tractor" + }, + { + "value": "trademark" + }, + { + "value": "traffic-light", + "keywords": [ + "traffic", + "light" + ] + }, + { + "value": "trailer" + }, + { + "value": "train" + }, + { + "value": "train-subway", + "keywords": [ + "train", + "subway" + ] + }, + { + "value": "train-tram", + "keywords": [ + "train", + "tram" + ] + }, + { + "value": "transgender" + }, + { + "value": "trash" + }, + { + "value": "trash-arrow-up", + "keywords": [ + "trash", + "arrow", + "up" + ] + }, + { + "value": "trash-can", + "keywords": [ + "trash", + "can" + ] + }, + { + "value": "trash-can-arrow-up", + "keywords": [ + "trash", + "can", + "arrow", + "up" + ] + }, + { + "value": "tree" + }, + { + "value": "tree-city", + "keywords": [ + "tree", + "city" + ] + }, + { + "value": "triangle-exclamation", + "keywords": [ + "triangle", + "exclamation" + ] + }, + { + "value": "trophy" + }, + { + "value": "trowel" + }, + { + "value": "trowel-bricks", + "keywords": [ + "trowel", + "bricks" + ] + }, + { + "value": "truck" + }, + { + "value": "truck-arrow-right", + "keywords": [ + "truck", + "arrow", + "right" + ] + }, + { + "value": "truck-droplet", + "keywords": [ + "truck", + "droplet" + ] + }, + { + "value": "truck-fast", + "keywords": [ + "truck", + "fast" + ] + }, + { + "value": "truck-field", + "keywords": [ + "truck", + "field" + ] + }, + { + "value": "truck-field-un", + "keywords": [ + "truck", + "field", + "un" + ] + }, + { + "value": "truck-front", + "keywords": [ + "truck", + "front" + ] + }, + { + "value": "truck-medical", + "keywords": [ + "truck", + "medical" + ] + }, + { + "value": "truck-monster", + "keywords": [ + "truck", + "monster" + ] + }, + { + "value": "truck-moving", + "keywords": [ + "truck", + "moving" + ] + }, + { + "value": "truck-pickup", + "keywords": [ + "truck", + "pickup" + ] + }, + { + "value": "truck-plane", + "keywords": [ + "truck", + "plane" + ] + }, + { + "value": "truck-ramp-box", + "keywords": [ + "truck", + "ramp", + "box" + ] + }, + { + "value": "tty" + }, + { + "value": "turkish-lira-sign", + "keywords": [ + "turkish", + "lira", + "sign" + ] + }, + { + "value": "turn-down", + "keywords": [ + "turn", + "down" + ] + }, + { + "value": "turn-up", + "keywords": [ + "turn", + "up" + ] + }, + { + "value": "tv" + }, + { + "value": "u" + }, + { + "value": "umbrella" + }, + { + "value": "umbrella-beach", + "keywords": [ + "umbrella", + "beach" + ] + }, + { + "value": "underline" + }, + { + "value": "universal-access", + "keywords": [ + "universal", + "access" + ] + }, + { + "value": "unlock" + }, + { + "value": "unlock-keyhole", + "keywords": [ + "unlock", + "keyhole" + ] + }, + { + "value": "up-down", + "keywords": [ + "up", + "down" + ] + }, + { + "value": "up-down-left-right", + "keywords": [ + "up", + "down", + "left", + "right" + ] + }, + { + "value": "up-long", + "keywords": [ + "up", + "long" + ] + }, + { + "value": "up-right-and-down-left-from-center", + "keywords": [ + "up", + "right", + "and", + "down", + "left", + "from", + "center" + ] + }, + { + "value": "up-right-from-square", + "keywords": [ + "up", + "right", + "from", + "square" + ] + }, + { + "value": "upload" + }, + { + "value": "user" + }, + { + "value": "user-astronaut", + "keywords": [ + "user", + "astronaut" + ] + }, + { + "value": "user-check", + "keywords": [ + "user", + "check" + ] + }, + { + "value": "user-clock", + "keywords": [ + "user", + "clock" + ] + }, + { + "value": "user-doctor", + "keywords": [ + "user", + "doctor" + ] + }, + { + "value": "user-gear", + "keywords": [ + "user", + "gear" + ] + }, + { + "value": "user-graduate", + "keywords": [ + "user", + "graduate" + ] + }, + { + "value": "user-group", + "keywords": [ + "user", + "group" + ] + }, + { + "value": "user-injured", + "keywords": [ + "user", + "injured" + ] + }, + { + "value": "user-large", + "keywords": [ + "user", + "large" + ] + }, + { + "value": "user-large-slash", + "keywords": [ + "user", + "large", + "slash" + ] + }, + { + "value": "user-lock", + "keywords": [ + "user", + "lock" + ] + }, + { + "value": "user-minus", + "keywords": [ + "user", + "minus" + ] + }, + { + "value": "user-ninja", + "keywords": [ + "user", + "ninja" + ] + }, + { + "value": "user-nurse", + "keywords": [ + "user", + "nurse" + ] + }, + { + "value": "user-pen", + "keywords": [ + "user", + "pen" + ] + }, + { + "value": "user-plus", + "keywords": [ + "user", + "plus" + ] + }, + { + "value": "user-secret", + "keywords": [ + "user", + "secret" + ] + }, + { + "value": "user-shield", + "keywords": [ + "user", + "shield" + ] + }, + { + "value": "user-slash", + "keywords": [ + "user", + "slash" + ] + }, + { + "value": "user-tag", + "keywords": [ + "user", + "tag" + ] + }, + { + "value": "user-tie", + "keywords": [ + "user", + "tie" + ] + }, + { + "value": "user-xmark", + "keywords": [ + "user", + "xmark" + ] + }, + { + "value": "users" + }, + { + "value": "users-between-lines", + "keywords": [ + "users", + "between", + "lines" + ] + }, + { + "value": "users-gear", + "keywords": [ + "users", + "gear" + ] + }, + { + "value": "users-line", + "keywords": [ + "users", + "line" + ] + }, + { + "value": "users-rays", + "keywords": [ + "users", + "rays" + ] + }, + { + "value": "users-rectangle", + "keywords": [ + "users", + "rectangle" + ] + }, + { + "value": "users-slash", + "keywords": [ + "users", + "slash" + ] + }, + { + "value": "users-viewfinder", + "keywords": [ + "users", + "viewfinder" + ] + }, + { + "value": "utensils" + }, + { + "value": "v" + }, + { + "value": "van-shuttle", + "keywords": [ + "van", + "shuttle" + ] + }, + { + "value": "vault" + }, + { + "value": "vector-square", + "keywords": [ + "vector", + "square" + ] + }, + { + "value": "venus" + }, + { + "value": "venus-double", + "keywords": [ + "venus", + "double" + ] + }, + { + "value": "venus-mars", + "keywords": [ + "venus", + "mars" + ] + }, + { + "value": "vest" + }, + { + "value": "vest-patches", + "keywords": [ + "vest", + "patches" + ] + }, + { + "value": "vial" + }, + { + "value": "vial-circle-check", + "keywords": [ + "vial", + "circle", + "check" + ] + }, + { + "value": "vial-virus", + "keywords": [ + "vial", + "virus" + ] + }, + { + "value": "vials" + }, + { + "value": "video" + }, + { + "value": "video-slash", + "keywords": [ + "video", + "slash" + ] + }, + { + "value": "vihara" + }, + { + "value": "virus" + }, + { + "value": "virus-covid", + "keywords": [ + "virus", + "covid" + ] + }, + { + "value": "virus-covid-slash", + "keywords": [ + "virus", + "covid", + "slash" + ] + }, + { + "value": "virus-slash", + "keywords": [ + "virus", + "slash" + ] + }, + { + "value": "viruses" + }, + { + "value": "voicemail" + }, + { + "value": "volcano" + }, + { + "value": "volleyball" + }, + { + "value": "volume-high", + "keywords": [ + "volume", + "high" + ] + }, + { + "value": "volume-low", + "keywords": [ + "volume", + "low" + ] + }, + { + "value": "volume-off", + "keywords": [ + "volume", + "off" + ] + }, + { + "value": "volume-xmark", + "keywords": [ + "volume", + "xmark" + ] + }, + { + "value": "vr-cardboard", + "keywords": [ + "vr", + "cardboard" + ] + }, + { + "value": "w" + }, + { + "value": "walkie-talkie", + "keywords": [ + "walkie", + "talkie" + ] + }, + { + "value": "wallet" + }, + { + "value": "wand-magic", + "keywords": [ + "wand", + "magic" + ] + }, + { + "value": "wand-magic-sparkles", + "keywords": [ + "wand", + "magic", + "sparkles" + ] + }, + { + "value": "wand-sparkles", + "keywords": [ + "wand", + "sparkles" + ] + }, + { + "value": "warehouse" + }, + { + "value": "water" + }, + { + "value": "water-ladder", + "keywords": [ + "water", + "ladder" + ] + }, + { + "value": "wave-square", + "keywords": [ + "wave", + "square" + ] + }, + { + "value": "weight-hanging", + "keywords": [ + "weight", + "hanging" + ] + }, + { + "value": "weight-scale", + "keywords": [ + "weight", + "scale" + ] + }, + { + "value": "wheat-awn", + "keywords": [ + "wheat", + "awn" + ] + }, + { + "value": "wheat-awn-circle-exclamation", + "keywords": [ + "wheat", + "awn", + "circle", + "exclamation" + ] + }, + { + "value": "wheelchair" + }, + { + "value": "wheelchair-move", + "keywords": [ + "wheelchair", + "move" + ] + }, + { + "value": "whiskey-glass", + "keywords": [ + "whiskey", + "glass" + ] + }, + { + "value": "wifi" + }, + { + "value": "wind" + }, + { + "value": "window-maximize", + "keywords": [ + "window", + "maximize" + ] + }, + { + "value": "window-minimize", + "keywords": [ + "window", + "minimize" + ] + }, + { + "value": "window-restore", + "keywords": [ + "window", + "restore" + ] + }, + { + "value": "wine-bottle", + "keywords": [ + "wine", + "bottle" + ] + }, + { + "value": "wine-glass", + "keywords": [ + "wine", + "glass" + ] + }, + { + "value": "wine-glass-empty", + "keywords": [ + "wine", + "glass", + "empty" + ] + }, + { + "value": "won-sign", + "keywords": [ + "won", + "sign" + ] + }, + { + "value": "worm" + }, + { + "value": "wrench" + }, + { + "value": "x" + }, + { + "value": "x-ray" + }, + { + "value": "xmark" + }, + { + "value": "xmarks-lines", + "keywords": [ + "xmarks", + "lines" + ] + }, + { + "value": "y" + }, + { + "value": "yen-sign", + "keywords": [ + "yen", + "sign" + ] + }, + { + "value": "yin-yang", + "keywords": [ + "yin", + "yang" + ] + }, + { + "value": "z" + } + ] + }, + "scTrend": { + "label": "$t:editor.control.sc_trend.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "trend" + }, + "options": [ + { + "value": "up", + "label": "$t:editor.control.sc_trend.up" + }, + { + "value": "down", + "label": "$t:editor.control.sc_trend.down" + }, + { + "value": "neutral", + "label": "$t:editor.control.sc_trend.neutral" + } + ] + }, + "pcImageUrl": { + "label": "$t:editor.control.pc_image_url.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "imageUrl" + } + }, + "pcImageAlt": { + "label": "$t:editor.control.pc_image_alt.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "imageAlt" + } + }, + "pcTitle": { + "label": "$t:editor.control.pc_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "title" + } + }, + "pcSubtitle": { + "label": "$t:editor.control.pc_subtitle.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "subtitle" + } + }, + "pcDesc": { + "label": "$t:editor.control.pc_desc.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "description" + } + }, + "pcPrice": { + "label": "$t:editor.control.pc_price.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "price" + } + }, + "pcOrigPrice": { + "label": "$t:editor.control.pc_orig_price.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "originalPrice" + } + }, + "pcDiscount": { + "label": "$t:editor.control.pc_discount.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "discountRate" + } + }, + "pcCurrency": { + "label": "$t:editor.control.pc_currency.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "currency" + } + }, + "pcButtonText": { + "label": "$t:editor.control.pc_button_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "buttonText" + } + }, + "tcImage": { + "label": "$t:editor.control.tc_image.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "image" + } + }, + "tcImageAlt": { + "label": "$t:editor.control.tc_image_alt.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "imageAlt" + } + }, + "tcVendor": { + "label": "$t:editor.control.tc_vendor.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "vendor" + } + }, + "tcName": { + "label": "$t:editor.control.tc_name.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "name" + } + }, + "tcVersion": { + "label": "$t:editor.control.tc_version.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "version" + } + }, + "tcStatus": { + "label": "$t:editor.control.tc_status.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "status" + }, + "options": [ + { + "value": "active", + "label": "$t:editor.control.tc_status.active" + }, + { + "value": "inactive", + "label": "$t:editor.control.tc_status.inactive" + }, + { + "value": "pending", + "label": "$t:editor.control.tc_status.pending" + }, + { + "value": "error", + "label": "$t:editor.control.tc_status.error" + } + ] + }, + "tcUpdateAvail": { + "label": "$t:editor.control.tc_update_avail.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "updateAvailable" + } + }, + "tcLatestVersion": { + "label": "$t:editor.control.tc_latest_version.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "latestVersion" + } + }, + "tcShowLayoutBtn": { + "label": "$t:editor.control.tc_show_layout_btn.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showLayoutEditButton" + } + }, + "bcHeight": { + "label": "$t:editor.control.bc_height.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "height" + } + }, + "bcShowLegend": { + "label": "$t:editor.control.bc_show_legend.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showLegend" + } + }, + "bcShowGrid": { + "label": "$t:editor.control.bc_show_grid.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showGrid" + } + }, + "bcShowYGrid": { + "label": "$t:editor.control.bc_show_ygrid.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showYGrid" + } + }, + "bcShowYAxis": { + "label": "$t:editor.control.bc_show_yaxis.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showYAxis" + } + }, + "dcCenterLabel": { + "label": "$t:editor.control.dc_center_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "centerLabel" + } + }, + "dcCenterValue": { + "label": "$t:editor.control.dc_center_value.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "centerValue" + } + }, + "dcSize": { + "label": "$t:editor.control.dc_size.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "size" + } + }, + "dcCutout": { + "label": "$t:editor.control.dc_cutout.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "cutout" + } + }, + "dcShowLegend": { + "label": "$t:editor.control.dc_show_legend.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showLegend" + } + }, + "hcIsHtml": { + "label": "$t:editor.control.hc_is_html.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "isHtml" + } + }, + "heMultilingual": { + "label": "$t:editor.control.he_multilingual.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "multilingual" + } + }, + "heIsHtml": { + "label": "$t:editor.control.he_is_html.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "isHtml" + } + }, + "heRows": { + "label": "$t:editor.control.he_rows.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "rows" + } + }, + "hePlaceholder": { + "label": "$t:editor.control.he_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "heLabel": { + "label": "$t:editor.control.he_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "heShowHtmlToggle": { + "label": "$t:editor.control.he_show_html_toggle.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showHtmlModeToggle" + } + }, + "heName": { + "label": "$t:editor.control.he_name.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "name" + } + }, + "heHtmlFieldName": { + "label": "$t:editor.control.he_html_field_name.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "htmlFieldName" + } + }, + "heReadOnly": { + "label": "$t:editor.control.he_read_only.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "readOnly" + } + }, + "igEnableZoom": { + "label": "$t:editor.control.ig_enable_zoom.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "enableZoom" + } + }, + "igEnableSlideshow": { + "label": "$t:editor.control.ig_enable_slideshow.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "enableSlideshow" + } + }, + "igEnableFullscreen": { + "label": "$t:editor.control.ig_enable_fullscreen.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "enableFullscreen" + } + }, + "igShowCounter": { + "label": "$t:editor.control.ig_show_counter.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showCounter" + } + }, + "igShowDownload": { + "label": "$t:editor.control.ig_show_download.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showDownload" + } + }, + "igShowThumbnails": { + "label": "$t:editor.control.ig_show_thumbnails.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showThumbnails" + } + }, + "accDefaultOpen": { + "label": "$t:editor.control.acc_default_open.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "defaultOpen" + } + }, + "accDisabled": { + "label": "$t:editor.control.acc_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "ibIconName": { + "label": "$t:editor.control.ib_icon_name.label", + "widget": "icon-picker", + "apply": { + "type": "propValue", + "propKey": "iconName" + }, + "iconColumns": 8, + "icons": [ + { + "value": "0" + }, + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + }, + { + "value": "4" + }, + { + "value": "5" + }, + { + "value": "6" + }, + { + "value": "7" + }, + { + "value": "8" + }, + { + "value": "9" + }, + { + "value": "a" + }, + { + "value": "address-book", + "keywords": [ + "address", + "book" + ] + }, + { + "value": "address-card", + "keywords": [ + "address", + "card" + ] + }, + { + "value": "align-center", + "keywords": [ + "align", + "center" + ] + }, + { + "value": "align-justify", + "keywords": [ + "align", + "justify" + ] + }, + { + "value": "align-left", + "keywords": [ + "align", + "left" + ] + }, + { + "value": "align-right", + "keywords": [ + "align", + "right" + ] + }, + { + "value": "anchor" + }, + { + "value": "anchor-circle-check", + "keywords": [ + "anchor", + "circle", + "check" + ] + }, + { + "value": "anchor-circle-exclamation", + "keywords": [ + "anchor", + "circle", + "exclamation" + ] + }, + { + "value": "anchor-circle-xmark", + "keywords": [ + "anchor", + "circle", + "xmark" + ] + }, + { + "value": "anchor-lock", + "keywords": [ + "anchor", + "lock" + ] + }, + { + "value": "angle-down", + "keywords": [ + "angle", + "down" + ] + }, + { + "value": "angle-left", + "keywords": [ + "angle", + "left" + ] + }, + { + "value": "angle-right", + "keywords": [ + "angle", + "right" + ] + }, + { + "value": "angle-up", + "keywords": [ + "angle", + "up" + ] + }, + { + "value": "angles-down", + "keywords": [ + "angles", + "down" + ] + }, + { + "value": "angles-left", + "keywords": [ + "angles", + "left" + ] + }, + { + "value": "angles-right", + "keywords": [ + "angles", + "right" + ] + }, + { + "value": "angles-up", + "keywords": [ + "angles", + "up" + ] + }, + { + "value": "ankh" + }, + { + "value": "apple-whole", + "keywords": [ + "apple", + "whole" + ] + }, + { + "value": "archway" + }, + { + "value": "arrow-down", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-1-9", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-9-1", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-a-z", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-long", + "keywords": [ + "arrow", + "down", + "long" + ] + }, + { + "value": "arrow-down-short-wide", + "keywords": [ + "arrow", + "down", + "short", + "wide" + ] + }, + { + "value": "arrow-down-up-across-line", + "keywords": [ + "arrow", + "down", + "up", + "across", + "line" + ] + }, + { + "value": "arrow-down-up-lock", + "keywords": [ + "arrow", + "down", + "up", + "lock" + ] + }, + { + "value": "arrow-down-wide-short", + "keywords": [ + "arrow", + "down", + "wide", + "short" + ] + }, + { + "value": "arrow-down-z-a", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-left", + "keywords": [ + "arrow", + "left" + ] + }, + { + "value": "arrow-left-long", + "keywords": [ + "arrow", + "left", + "long" + ] + }, + { + "value": "arrow-pointer", + "keywords": [ + "arrow", + "pointer" + ] + }, + { + "value": "arrow-right", + "keywords": [ + "arrow", + "right" + ] + }, + { + "value": "arrow-right-arrow-left", + "keywords": [ + "arrow", + "right", + "arrow", + "left" + ] + }, + { + "value": "arrow-right-from-bracket", + "keywords": [ + "arrow", + "right", + "from", + "bracket" + ] + }, + { + "value": "arrow-right-long", + "keywords": [ + "arrow", + "right", + "long" + ] + }, + { + "value": "arrow-right-to-bracket", + "keywords": [ + "arrow", + "right", + "to", + "bracket" + ] + }, + { + "value": "arrow-right-to-city", + "keywords": [ + "arrow", + "right", + "to", + "city" + ] + }, + { + "value": "arrow-rotate-left", + "keywords": [ + "arrow", + "rotate", + "left" + ] + }, + { + "value": "arrow-rotate-right", + "keywords": [ + "arrow", + "rotate", + "right" + ] + }, + { + "value": "arrow-trend-down", + "keywords": [ + "arrow", + "trend", + "down" + ] + }, + { + "value": "arrow-trend-up", + "keywords": [ + "arrow", + "trend", + "up" + ] + }, + { + "value": "arrow-turn-down", + "keywords": [ + "arrow", + "turn", + "down" + ] + }, + { + "value": "arrow-turn-up", + "keywords": [ + "arrow", + "turn", + "up" + ] + }, + { + "value": "arrow-up", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-1-9", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-9-1", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-a-z", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-from-bracket", + "keywords": [ + "arrow", + "up", + "from", + "bracket" + ] + }, + { + "value": "arrow-up-from-ground-water", + "keywords": [ + "arrow", + "up", + "from", + "ground", + "water" + ] + }, + { + "value": "arrow-up-from-water-pump", + "keywords": [ + "arrow", + "up", + "from", + "water", + "pump" + ] + }, + { + "value": "arrow-up-long", + "keywords": [ + "arrow", + "up", + "long" + ] + }, + { + "value": "arrow-up-right-dots", + "keywords": [ + "arrow", + "up", + "right", + "dots" + ] + }, + { + "value": "arrow-up-right-from-square", + "keywords": [ + "arrow", + "up", + "right", + "from", + "square" + ] + }, + { + "value": "arrow-up-short-wide", + "keywords": [ + "arrow", + "up", + "short", + "wide" + ] + }, + { + "value": "arrow-up-wide-short", + "keywords": [ + "arrow", + "up", + "wide", + "short" + ] + }, + { + "value": "arrow-up-z-a", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrows-down-to-line", + "keywords": [ + "arrows", + "down", + "to", + "line" + ] + }, + { + "value": "arrows-down-to-people", + "keywords": [ + "arrows", + "down", + "to", + "people" + ] + }, + { + "value": "arrows-left-right", + "keywords": [ + "arrows", + "left", + "right" + ] + }, + { + "value": "arrows-left-right-to-line", + "keywords": [ + "arrows", + "left", + "right", + "to", + "line" + ] + }, + { + "value": "arrows-rotate", + "keywords": [ + "arrows", + "rotate" + ] + }, + { + "value": "arrows-spin", + "keywords": [ + "arrows", + "spin" + ] + }, + { + "value": "arrows-split-up-and-left", + "keywords": [ + "arrows", + "split", + "up", + "and", + "left" + ] + }, + { + "value": "arrows-to-circle", + "keywords": [ + "arrows", + "to", + "circle" + ] + }, + { + "value": "arrows-to-dot", + "keywords": [ + "arrows", + "to", + "dot" + ] + }, + { + "value": "arrows-to-eye", + "keywords": [ + "arrows", + "to", + "eye" + ] + }, + { + "value": "arrows-turn-right", + "keywords": [ + "arrows", + "turn", + "right" + ] + }, + { + "value": "arrows-turn-to-dots", + "keywords": [ + "arrows", + "turn", + "to", + "dots" + ] + }, + { + "value": "arrows-up-down", + "keywords": [ + "arrows", + "up", + "down" + ] + }, + { + "value": "arrows-up-down-left-right", + "keywords": [ + "arrows", + "up", + "down", + "left", + "right" + ] + }, + { + "value": "arrows-up-to-line", + "keywords": [ + "arrows", + "up", + "to", + "line" + ] + }, + { + "value": "asterisk" + }, + { + "value": "at" + }, + { + "value": "atom" + }, + { + "value": "audio-description", + "keywords": [ + "audio", + "description" + ] + }, + { + "value": "austral-sign", + "keywords": [ + "austral", + "sign" + ] + }, + { + "value": "award" + }, + { + "value": "b" + }, + { + "value": "baby" + }, + { + "value": "baby-carriage", + "keywords": [ + "baby", + "carriage" + ] + }, + { + "value": "backward" + }, + { + "value": "backward-fast", + "keywords": [ + "backward", + "fast" + ] + }, + { + "value": "backward-step", + "keywords": [ + "backward", + "step" + ] + }, + { + "value": "bacon" + }, + { + "value": "bacteria" + }, + { + "value": "bacterium" + }, + { + "value": "bag-shopping", + "keywords": [ + "bag", + "shopping" + ] + }, + { + "value": "bahai" + }, + { + "value": "baht-sign", + "keywords": [ + "baht", + "sign" + ] + }, + { + "value": "ban" + }, + { + "value": "ban-smoking", + "keywords": [ + "ban", + "smoking" + ] + }, + { + "value": "bandage" + }, + { + "value": "bangladeshi-taka-sign", + "keywords": [ + "bangladeshi", + "taka", + "sign" + ] + }, + { + "value": "barcode" + }, + { + "value": "bars" + }, + { + "value": "bars-progress", + "keywords": [ + "bars", + "progress" + ] + }, + { + "value": "bars-staggered", + "keywords": [ + "bars", + "staggered" + ] + }, + { + "value": "baseball" + }, + { + "value": "baseball-bat-ball", + "keywords": [ + "baseball", + "bat", + "ball" + ] + }, + { + "value": "basket-shopping", + "keywords": [ + "basket", + "shopping" + ] + }, + { + "value": "basketball" + }, + { + "value": "bath" + }, + { + "value": "battery-empty", + "keywords": [ + "battery", + "empty" + ] + }, + { + "value": "battery-full", + "keywords": [ + "battery", + "full" + ] + }, + { + "value": "battery-half", + "keywords": [ + "battery", + "half" + ] + }, + { + "value": "battery-quarter", + "keywords": [ + "battery", + "quarter" + ] + }, + { + "value": "battery-three-quarters", + "keywords": [ + "battery", + "three", + "quarters" + ] + }, + { + "value": "bed" + }, + { + "value": "bed-pulse", + "keywords": [ + "bed", + "pulse" + ] + }, + { + "value": "beer-mug-empty", + "keywords": [ + "beer", + "mug", + "empty" + ] + }, + { + "value": "bell" + }, + { + "value": "bell-concierge", + "keywords": [ + "bell", + "concierge" + ] + }, + { + "value": "bell-slash", + "keywords": [ + "bell", + "slash" + ] + }, + { + "value": "bezier-curve", + "keywords": [ + "bezier", + "curve" + ] + }, + { + "value": "bicycle" + }, + { + "value": "binoculars" + }, + { + "value": "biohazard" + }, + { + "value": "bitcoin-sign", + "keywords": [ + "bitcoin", + "sign" + ] + }, + { + "value": "blender" + }, + { + "value": "blender-phone", + "keywords": [ + "blender", + "phone" + ] + }, + { + "value": "blog" + }, + { + "value": "bold" + }, + { + "value": "bolt" + }, + { + "value": "bolt-lightning", + "keywords": [ + "bolt", + "lightning" + ] + }, + { + "value": "bomb" + }, + { + "value": "bone" + }, + { + "value": "bong" + }, + { + "value": "book" + }, + { + "value": "book-atlas", + "keywords": [ + "book", + "atlas" + ] + }, + { + "value": "book-bible", + "keywords": [ + "book", + "bible" + ] + }, + { + "value": "book-bookmark", + "keywords": [ + "book", + "bookmark" + ] + }, + { + "value": "book-journal-whills", + "keywords": [ + "book", + "journal", + "whills" + ] + }, + { + "value": "book-medical", + "keywords": [ + "book", + "medical" + ] + }, + { + "value": "book-open", + "keywords": [ + "book", + "open" + ] + }, + { + "value": "book-open-reader", + "keywords": [ + "book", + "open", + "reader" + ] + }, + { + "value": "book-quran", + "keywords": [ + "book", + "quran" + ] + }, + { + "value": "book-skull", + "keywords": [ + "book", + "skull" + ] + }, + { + "value": "book-tanakh", + "keywords": [ + "book", + "tanakh" + ] + }, + { + "value": "bookmark" + }, + { + "value": "border-all", + "keywords": [ + "border", + "all" + ] + }, + { + "value": "border-none", + "keywords": [ + "border", + "none" + ] + }, + { + "value": "border-top-left", + "keywords": [ + "border", + "top", + "left" + ] + }, + { + "value": "bore-hole", + "keywords": [ + "bore", + "hole" + ] + }, + { + "value": "bottle-droplet", + "keywords": [ + "bottle", + "droplet" + ] + }, + { + "value": "bottle-water", + "keywords": [ + "bottle", + "water" + ] + }, + { + "value": "bowl-food", + "keywords": [ + "bowl", + "food" + ] + }, + { + "value": "bowl-rice", + "keywords": [ + "bowl", + "rice" + ] + }, + { + "value": "bowling-ball", + "keywords": [ + "bowling", + "ball" + ] + }, + { + "value": "box" + }, + { + "value": "box-archive", + "keywords": [ + "box", + "archive" + ] + }, + { + "value": "box-open", + "keywords": [ + "box", + "open" + ] + }, + { + "value": "box-tissue", + "keywords": [ + "box", + "tissue" + ] + }, + { + "value": "boxes-packing", + "keywords": [ + "boxes", + "packing" + ] + }, + { + "value": "boxes-stacked", + "keywords": [ + "boxes", + "stacked" + ] + }, + { + "value": "braille" + }, + { + "value": "brain" + }, + { + "value": "brazilian-real-sign", + "keywords": [ + "brazilian", + "real", + "sign" + ] + }, + { + "value": "bread-slice", + "keywords": [ + "bread", + "slice" + ] + }, + { + "value": "bridge" + }, + { + "value": "bridge-circle-check", + "keywords": [ + "bridge", + "circle", + "check" + ] + }, + { + "value": "bridge-circle-exclamation", + "keywords": [ + "bridge", + "circle", + "exclamation" + ] + }, + { + "value": "bridge-circle-xmark", + "keywords": [ + "bridge", + "circle", + "xmark" + ] + }, + { + "value": "bridge-lock", + "keywords": [ + "bridge", + "lock" + ] + }, + { + "value": "bridge-water", + "keywords": [ + "bridge", + "water" + ] + }, + { + "value": "briefcase" + }, + { + "value": "briefcase-medical", + "keywords": [ + "briefcase", + "medical" + ] + }, + { + "value": "broom" + }, + { + "value": "broom-ball", + "keywords": [ + "broom", + "ball" + ] + }, + { + "value": "brush" + }, + { + "value": "bucket" + }, + { + "value": "bug" + }, + { + "value": "bug-slash", + "keywords": [ + "bug", + "slash" + ] + }, + { + "value": "bugs" + }, + { + "value": "building" + }, + { + "value": "building-circle-arrow-right", + "keywords": [ + "building", + "circle", + "arrow", + "right" + ] + }, + { + "value": "building-circle-check", + "keywords": [ + "building", + "circle", + "check" + ] + }, + { + "value": "building-circle-exclamation", + "keywords": [ + "building", + "circle", + "exclamation" + ] + }, + { + "value": "building-circle-xmark", + "keywords": [ + "building", + "circle", + "xmark" + ] + }, + { + "value": "building-columns", + "keywords": [ + "building", + "columns" + ] + }, + { + "value": "building-flag", + "keywords": [ + "building", + "flag" + ] + }, + { + "value": "building-lock", + "keywords": [ + "building", + "lock" + ] + }, + { + "value": "building-ngo", + "keywords": [ + "building", + "ngo" + ] + }, + { + "value": "building-shield", + "keywords": [ + "building", + "shield" + ] + }, + { + "value": "building-un", + "keywords": [ + "building", + "un" + ] + }, + { + "value": "building-user", + "keywords": [ + "building", + "user" + ] + }, + { + "value": "building-wheat", + "keywords": [ + "building", + "wheat" + ] + }, + { + "value": "bullhorn" + }, + { + "value": "bullseye" + }, + { + "value": "burger" + }, + { + "value": "burst" + }, + { + "value": "bus" + }, + { + "value": "bus-simple", + "keywords": [ + "bus", + "simple" + ] + }, + { + "value": "business-time", + "keywords": [ + "business", + "time" + ] + }, + { + "value": "c" + }, + { + "value": "cable-car", + "keywords": [ + "cable", + "car" + ] + }, + { + "value": "cake-candles", + "keywords": [ + "cake", + "candles" + ] + }, + { + "value": "calculator" + }, + { + "value": "calendar" + }, + { + "value": "calendar-check", + "keywords": [ + "calendar", + "check" + ] + }, + { + "value": "calendar-day", + "keywords": [ + "calendar", + "day" + ] + }, + { + "value": "calendar-days", + "keywords": [ + "calendar", + "days" + ] + }, + { + "value": "calendar-minus", + "keywords": [ + "calendar", + "minus" + ] + }, + { + "value": "calendar-plus", + "keywords": [ + "calendar", + "plus" + ] + }, + { + "value": "calendar-week", + "keywords": [ + "calendar", + "week" + ] + }, + { + "value": "calendar-xmark", + "keywords": [ + "calendar", + "xmark" + ] + }, + { + "value": "camera" + }, + { + "value": "camera-retro", + "keywords": [ + "camera", + "retro" + ] + }, + { + "value": "camera-rotate", + "keywords": [ + "camera", + "rotate" + ] + }, + { + "value": "campground" + }, + { + "value": "candy-cane", + "keywords": [ + "candy", + "cane" + ] + }, + { + "value": "cannabis" + }, + { + "value": "capsules" + }, + { + "value": "car" + }, + { + "value": "car-battery", + "keywords": [ + "car", + "battery" + ] + }, + { + "value": "car-burst", + "keywords": [ + "car", + "burst" + ] + }, + { + "value": "car-on", + "keywords": [ + "car", + "on" + ] + }, + { + "value": "car-rear", + "keywords": [ + "car", + "rear" + ] + }, + { + "value": "car-side", + "keywords": [ + "car", + "side" + ] + }, + { + "value": "car-tunnel", + "keywords": [ + "car", + "tunnel" + ] + }, + { + "value": "caravan" + }, + { + "value": "caret-down", + "keywords": [ + "caret", + "down" + ] + }, + { + "value": "caret-left", + "keywords": [ + "caret", + "left" + ] + }, + { + "value": "caret-right", + "keywords": [ + "caret", + "right" + ] + }, + { + "value": "caret-up", + "keywords": [ + "caret", + "up" + ] + }, + { + "value": "carrot" + }, + { + "value": "cart-arrow-down", + "keywords": [ + "cart", + "arrow", + "down" + ] + }, + { + "value": "cart-flatbed", + "keywords": [ + "cart", + "flatbed" + ] + }, + { + "value": "cart-flatbed-suitcase", + "keywords": [ + "cart", + "flatbed", + "suitcase" + ] + }, + { + "value": "cart-plus", + "keywords": [ + "cart", + "plus" + ] + }, + { + "value": "cart-shopping", + "keywords": [ + "cart", + "shopping" + ] + }, + { + "value": "cash-register", + "keywords": [ + "cash", + "register" + ] + }, + { + "value": "cat" + }, + { + "value": "cedi-sign", + "keywords": [ + "cedi", + "sign" + ] + }, + { + "value": "cent-sign", + "keywords": [ + "cent", + "sign" + ] + }, + { + "value": "certificate" + }, + { + "value": "chair" + }, + { + "value": "chalkboard" + }, + { + "value": "chalkboard-user", + "keywords": [ + "chalkboard", + "user" + ] + }, + { + "value": "champagne-glasses", + "keywords": [ + "champagne", + "glasses" + ] + }, + { + "value": "charging-station", + "keywords": [ + "charging", + "station" + ] + }, + { + "value": "chart-area", + "keywords": [ + "chart", + "area" + ] + }, + { + "value": "chart-bar", + "keywords": [ + "chart", + "bar" + ] + }, + { + "value": "chart-column", + "keywords": [ + "chart", + "column" + ] + }, + { + "value": "chart-gantt", + "keywords": [ + "chart", + "gantt" + ] + }, + { + "value": "chart-line", + "keywords": [ + "chart", + "line" + ] + }, + { + "value": "chart-pie", + "keywords": [ + "chart", + "pie" + ] + }, + { + "value": "chart-simple", + "keywords": [ + "chart", + "simple" + ] + }, + { + "value": "check" + }, + { + "value": "check-double", + "keywords": [ + "check", + "double" + ] + }, + { + "value": "check-to-slot", + "keywords": [ + "check", + "to", + "slot" + ] + }, + { + "value": "cheese" + }, + { + "value": "chess" + }, + { + "value": "chess-bishop", + "keywords": [ + "chess", + "bishop" + ] + }, + { + "value": "chess-board", + "keywords": [ + "chess", + "board" + ] + }, + { + "value": "chess-king", + "keywords": [ + "chess", + "king" + ] + }, + { + "value": "chess-knight", + "keywords": [ + "chess", + "knight" + ] + }, + { + "value": "chess-pawn", + "keywords": [ + "chess", + "pawn" + ] + }, + { + "value": "chess-queen", + "keywords": [ + "chess", + "queen" + ] + }, + { + "value": "chess-rook", + "keywords": [ + "chess", + "rook" + ] + }, + { + "value": "chevron-down", + "keywords": [ + "chevron", + "down" + ] + }, + { + "value": "chevron-left", + "keywords": [ + "chevron", + "left" + ] + }, + { + "value": "chevron-right", + "keywords": [ + "chevron", + "right" + ] + }, + { + "value": "chevron-up", + "keywords": [ + "chevron", + "up" + ] + }, + { + "value": "child" + }, + { + "value": "child-combatant", + "keywords": [ + "child", + "combatant" + ] + }, + { + "value": "child-dress", + "keywords": [ + "child", + "dress" + ] + }, + { + "value": "child-reaching", + "keywords": [ + "child", + "reaching" + ] + }, + { + "value": "children" + }, + { + "value": "church" + }, + { + "value": "circle" + }, + { + "value": "circle-arrow-down", + "keywords": [ + "circle", + "arrow", + "down" + ] + }, + { + "value": "circle-arrow-left", + "keywords": [ + "circle", + "arrow", + "left" + ] + }, + { + "value": "circle-arrow-right", + "keywords": [ + "circle", + "arrow", + "right" + ] + }, + { + "value": "circle-arrow-up", + "keywords": [ + "circle", + "arrow", + "up" + ] + }, + { + "value": "circle-check", + "keywords": [ + "circle", + "check" + ] + }, + { + "value": "circle-chevron-down", + "keywords": [ + "circle", + "chevron", + "down" + ] + }, + { + "value": "circle-chevron-left", + "keywords": [ + "circle", + "chevron", + "left" + ] + }, + { + "value": "circle-chevron-right", + "keywords": [ + "circle", + "chevron", + "right" + ] + }, + { + "value": "circle-chevron-up", + "keywords": [ + "circle", + "chevron", + "up" + ] + }, + { + "value": "circle-dollar-to-slot", + "keywords": [ + "circle", + "dollar", + "to", + "slot" + ] + }, + { + "value": "circle-dot", + "keywords": [ + "circle", + "dot" + ] + }, + { + "value": "circle-down", + "keywords": [ + "circle", + "down" + ] + }, + { + "value": "circle-exclamation", + "keywords": [ + "circle", + "exclamation" + ] + }, + { + "value": "circle-h" + }, + { + "value": "circle-half-stroke", + "keywords": [ + "circle", + "half", + "stroke" + ] + }, + { + "value": "circle-info", + "keywords": [ + "circle", + "info" + ] + }, + { + "value": "circle-left", + "keywords": [ + "circle", + "left" + ] + }, + { + "value": "circle-minus", + "keywords": [ + "circle", + "minus" + ] + }, + { + "value": "circle-nodes", + "keywords": [ + "circle", + "nodes" + ] + }, + { + "value": "circle-notch", + "keywords": [ + "circle", + "notch" + ] + }, + { + "value": "circle-pause", + "keywords": [ + "circle", + "pause" + ] + }, + { + "value": "circle-play", + "keywords": [ + "circle", + "play" + ] + }, + { + "value": "circle-plus", + "keywords": [ + "circle", + "plus" + ] + }, + { + "value": "circle-question", + "keywords": [ + "circle", + "question" + ] + }, + { + "value": "circle-radiation", + "keywords": [ + "circle", + "radiation" + ] + }, + { + "value": "circle-right", + "keywords": [ + "circle", + "right" + ] + }, + { + "value": "circle-stop", + "keywords": [ + "circle", + "stop" + ] + }, + { + "value": "circle-up", + "keywords": [ + "circle", + "up" + ] + }, + { + "value": "circle-user", + "keywords": [ + "circle", + "user" + ] + }, + { + "value": "circle-xmark", + "keywords": [ + "circle", + "xmark" + ] + }, + { + "value": "city" + }, + { + "value": "clapperboard" + }, + { + "value": "clipboard" + }, + { + "value": "clipboard-check", + "keywords": [ + "clipboard", + "check" + ] + }, + { + "value": "clipboard-list", + "keywords": [ + "clipboard", + "list" + ] + }, + { + "value": "clipboard-question", + "keywords": [ + "clipboard", + "question" + ] + }, + { + "value": "clipboard-user", + "keywords": [ + "clipboard", + "user" + ] + }, + { + "value": "clock" + }, + { + "value": "clock-rotate-left", + "keywords": [ + "clock", + "rotate", + "left" + ] + }, + { + "value": "clone" + }, + { + "value": "closed-captioning", + "keywords": [ + "closed", + "captioning" + ] + }, + { + "value": "cloud" + }, + { + "value": "cloud-arrow-down", + "keywords": [ + "cloud", + "arrow", + "down" + ] + }, + { + "value": "cloud-arrow-up", + "keywords": [ + "cloud", + "arrow", + "up" + ] + }, + { + "value": "cloud-bolt", + "keywords": [ + "cloud", + "bolt" + ] + }, + { + "value": "cloud-meatball", + "keywords": [ + "cloud", + "meatball" + ] + }, + { + "value": "cloud-moon", + "keywords": [ + "cloud", + "moon" + ] + }, + { + "value": "cloud-moon-rain", + "keywords": [ + "cloud", + "moon", + "rain" + ] + }, + { + "value": "cloud-rain", + "keywords": [ + "cloud", + "rain" + ] + }, + { + "value": "cloud-showers-heavy", + "keywords": [ + "cloud", + "showers", + "heavy" + ] + }, + { + "value": "cloud-showers-water", + "keywords": [ + "cloud", + "showers", + "water" + ] + }, + { + "value": "cloud-sun", + "keywords": [ + "cloud", + "sun" + ] + }, + { + "value": "cloud-sun-rain", + "keywords": [ + "cloud", + "sun", + "rain" + ] + }, + { + "value": "clover" + }, + { + "value": "code" + }, + { + "value": "code-branch", + "keywords": [ + "code", + "branch" + ] + }, + { + "value": "code-commit", + "keywords": [ + "code", + "commit" + ] + }, + { + "value": "code-compare", + "keywords": [ + "code", + "compare" + ] + }, + { + "value": "code-fork", + "keywords": [ + "code", + "fork" + ] + }, + { + "value": "code-merge", + "keywords": [ + "code", + "merge" + ] + }, + { + "value": "code-pull-request", + "keywords": [ + "code", + "pull", + "request" + ] + }, + { + "value": "coins" + }, + { + "value": "colon-sign", + "keywords": [ + "colon", + "sign" + ] + }, + { + "value": "comment" + }, + { + "value": "comment-dollar", + "keywords": [ + "comment", + "dollar" + ] + }, + { + "value": "comment-dots", + "keywords": [ + "comment", + "dots" + ] + }, + { + "value": "comment-medical", + "keywords": [ + "comment", + "medical" + ] + }, + { + "value": "comment-slash", + "keywords": [ + "comment", + "slash" + ] + }, + { + "value": "comment-sms", + "keywords": [ + "comment", + "sms" + ] + }, + { + "value": "comments" + }, + { + "value": "comments-dollar", + "keywords": [ + "comments", + "dollar" + ] + }, + { + "value": "compact-disc", + "keywords": [ + "compact", + "disc" + ] + }, + { + "value": "compass" + }, + { + "value": "compass-drafting", + "keywords": [ + "compass", + "drafting" + ] + }, + { + "value": "compress" + }, + { + "value": "computer" + }, + { + "value": "computer-mouse", + "keywords": [ + "computer", + "mouse" + ] + }, + { + "value": "cookie" + }, + { + "value": "cookie-bite", + "keywords": [ + "cookie", + "bite" + ] + }, + { + "value": "copy" + }, + { + "value": "copyright" + }, + { + "value": "couch" + }, + { + "value": "cow" + }, + { + "value": "credit-card", + "keywords": [ + "credit", + "card" + ] + }, + { + "value": "crop" + }, + { + "value": "crop-simple", + "keywords": [ + "crop", + "simple" + ] + }, + { + "value": "cross" + }, + { + "value": "crosshairs" + }, + { + "value": "crow" + }, + { + "value": "crown" + }, + { + "value": "crutch" + }, + { + "value": "cruzeiro-sign", + "keywords": [ + "cruzeiro", + "sign" + ] + }, + { + "value": "cube" + }, + { + "value": "cubes" + }, + { + "value": "cubes-stacked", + "keywords": [ + "cubes", + "stacked" + ] + }, + { + "value": "d" + }, + { + "value": "database" + }, + { + "value": "delete-left", + "keywords": [ + "delete", + "left" + ] + }, + { + "value": "democrat" + }, + { + "value": "desktop" + }, + { + "value": "dharmachakra" + }, + { + "value": "diagram-next", + "keywords": [ + "diagram", + "next" + ] + }, + { + "value": "diagram-predecessor", + "keywords": [ + "diagram", + "predecessor" + ] + }, + { + "value": "diagram-project", + "keywords": [ + "diagram", + "project" + ] + }, + { + "value": "diagram-successor", + "keywords": [ + "diagram", + "successor" + ] + }, + { + "value": "diamond" + }, + { + "value": "diamond-turn-right", + "keywords": [ + "diamond", + "turn", + "right" + ] + }, + { + "value": "dice" + }, + { + "value": "dice-d20", + "keywords": [ + "dice", + "d20" + ] + }, + { + "value": "dice-d6", + "keywords": [ + "dice", + "d6" + ] + }, + { + "value": "dice-five", + "keywords": [ + "dice", + "five" + ] + }, + { + "value": "dice-four", + "keywords": [ + "dice", + "four" + ] + }, + { + "value": "dice-one", + "keywords": [ + "dice", + "one" + ] + }, + { + "value": "dice-six", + "keywords": [ + "dice", + "six" + ] + }, + { + "value": "dice-three", + "keywords": [ + "dice", + "three" + ] + }, + { + "value": "dice-two", + "keywords": [ + "dice", + "two" + ] + }, + { + "value": "disease" + }, + { + "value": "display" + }, + { + "value": "divide" + }, + { + "value": "dna" + }, + { + "value": "dog" + }, + { + "value": "dollar-sign", + "keywords": [ + "dollar", + "sign" + ] + }, + { + "value": "dolly" + }, + { + "value": "dong-sign", + "keywords": [ + "dong", + "sign" + ] + }, + { + "value": "door-closed", + "keywords": [ + "door", + "closed" + ] + }, + { + "value": "door-open", + "keywords": [ + "door", + "open" + ] + }, + { + "value": "dove" + }, + { + "value": "down-left-and-up-right-to-center", + "keywords": [ + "down", + "left", + "and", + "up", + "right", + "to", + "center" + ] + }, + { + "value": "down-long", + "keywords": [ + "down", + "long" + ] + }, + { + "value": "download" + }, + { + "value": "dragon" + }, + { + "value": "draw-polygon", + "keywords": [ + "draw", + "polygon" + ] + }, + { + "value": "droplet" + }, + { + "value": "droplet-slash", + "keywords": [ + "droplet", + "slash" + ] + }, + { + "value": "drum" + }, + { + "value": "drum-steelpan", + "keywords": [ + "drum", + "steelpan" + ] + }, + { + "value": "drumstick-bite", + "keywords": [ + "drumstick", + "bite" + ] + }, + { + "value": "dumbbell" + }, + { + "value": "dumpster" + }, + { + "value": "dumpster-fire", + "keywords": [ + "dumpster", + "fire" + ] + }, + { + "value": "dungeon" + }, + { + "value": "e" + }, + { + "value": "ear-deaf", + "keywords": [ + "ear", + "deaf" + ] + }, + { + "value": "ear-listen", + "keywords": [ + "ear", + "listen" + ] + }, + { + "value": "earth-africa", + "keywords": [ + "earth", + "africa" + ] + }, + { + "value": "earth-americas", + "keywords": [ + "earth", + "americas" + ] + }, + { + "value": "earth-asia", + "keywords": [ + "earth", + "asia" + ] + }, + { + "value": "earth-europe", + "keywords": [ + "earth", + "europe" + ] + }, + { + "value": "earth-oceania", + "keywords": [ + "earth", + "oceania" + ] + }, + { + "value": "egg" + }, + { + "value": "eject" + }, + { + "value": "elevator" + }, + { + "value": "ellipsis" + }, + { + "value": "ellipsis-vertical", + "keywords": [ + "ellipsis", + "vertical" + ] + }, + { + "value": "envelope" + }, + { + "value": "envelope-circle-check", + "keywords": [ + "envelope", + "circle", + "check" + ] + }, + { + "value": "envelope-open", + "keywords": [ + "envelope", + "open" + ] + }, + { + "value": "envelope-open-text", + "keywords": [ + "envelope", + "open", + "text" + ] + }, + { + "value": "envelopes-bulk", + "keywords": [ + "envelopes", + "bulk" + ] + }, + { + "value": "equals" + }, + { + "value": "eraser" + }, + { + "value": "ethernet" + }, + { + "value": "euro-sign", + "keywords": [ + "euro", + "sign" + ] + }, + { + "value": "exclamation" + }, + { + "value": "expand" + }, + { + "value": "explosion" + }, + { + "value": "eye" + }, + { + "value": "eye-dropper", + "keywords": [ + "eye", + "dropper" + ] + }, + { + "value": "eye-low-vision", + "keywords": [ + "eye", + "low", + "vision" + ] + }, + { + "value": "eye-slash", + "keywords": [ + "eye", + "slash" + ] + }, + { + "value": "f" + }, + { + "value": "face-angry", + "keywords": [ + "face", + "angry" + ] + }, + { + "value": "face-dizzy", + "keywords": [ + "face", + "dizzy" + ] + }, + { + "value": "face-flushed", + "keywords": [ + "face", + "flushed" + ] + }, + { + "value": "face-frown", + "keywords": [ + "face", + "frown" + ] + }, + { + "value": "face-frown-open", + "keywords": [ + "face", + "frown", + "open" + ] + }, + { + "value": "face-grimace", + "keywords": [ + "face", + "grimace" + ] + }, + { + "value": "face-grin", + "keywords": [ + "face", + "grin" + ] + }, + { + "value": "face-grin-beam", + "keywords": [ + "face", + "grin", + "beam" + ] + }, + { + "value": "face-grin-beam-sweat", + "keywords": [ + "face", + "grin", + "beam", + "sweat" + ] + }, + { + "value": "face-grin-hearts", + "keywords": [ + "face", + "grin", + "hearts" + ] + }, + { + "value": "face-grin-squint", + "keywords": [ + "face", + "grin", + "squint" + ] + }, + { + "value": "face-grin-squint-tears", + "keywords": [ + "face", + "grin", + "squint", + "tears" + ] + }, + { + "value": "face-grin-stars", + "keywords": [ + "face", + "grin", + "stars" + ] + }, + { + "value": "face-grin-tears", + "keywords": [ + "face", + "grin", + "tears" + ] + }, + { + "value": "face-grin-tongue", + "keywords": [ + "face", + "grin", + "tongue" + ] + }, + { + "value": "face-grin-tongue-squint", + "keywords": [ + "face", + "grin", + "tongue", + "squint" + ] + }, + { + "value": "face-grin-tongue-wink", + "keywords": [ + "face", + "grin", + "tongue", + "wink" + ] + }, + { + "value": "face-grin-wide", + "keywords": [ + "face", + "grin", + "wide" + ] + }, + { + "value": "face-grin-wink", + "keywords": [ + "face", + "grin", + "wink" + ] + }, + { + "value": "face-kiss", + "keywords": [ + "face", + "kiss" + ] + }, + { + "value": "face-kiss-beam", + "keywords": [ + "face", + "kiss", + "beam" + ] + }, + { + "value": "face-kiss-wink-heart", + "keywords": [ + "face", + "kiss", + "wink", + "heart" + ] + }, + { + "value": "face-laugh", + "keywords": [ + "face", + "laugh" + ] + }, + { + "value": "face-laugh-beam", + "keywords": [ + "face", + "laugh", + "beam" + ] + }, + { + "value": "face-laugh-squint", + "keywords": [ + "face", + "laugh", + "squint" + ] + }, + { + "value": "face-laugh-wink", + "keywords": [ + "face", + "laugh", + "wink" + ] + }, + { + "value": "face-meh", + "keywords": [ + "face", + "meh" + ] + }, + { + "value": "face-meh-blank", + "keywords": [ + "face", + "meh", + "blank" + ] + }, + { + "value": "face-rolling-eyes", + "keywords": [ + "face", + "rolling", + "eyes" + ] + }, + { + "value": "face-sad-cry", + "keywords": [ + "face", + "sad", + "cry" + ] + }, + { + "value": "face-sad-tear", + "keywords": [ + "face", + "sad", + "tear" + ] + }, + { + "value": "face-smile", + "keywords": [ + "face", + "smile" + ] + }, + { + "value": "face-smile-beam", + "keywords": [ + "face", + "smile", + "beam" + ] + }, + { + "value": "face-smile-wink", + "keywords": [ + "face", + "smile", + "wink" + ] + }, + { + "value": "face-surprise", + "keywords": [ + "face", + "surprise" + ] + }, + { + "value": "face-tired", + "keywords": [ + "face", + "tired" + ] + }, + { + "value": "fan" + }, + { + "value": "faucet" + }, + { + "value": "faucet-drip", + "keywords": [ + "faucet", + "drip" + ] + }, + { + "value": "fax" + }, + { + "value": "feather" + }, + { + "value": "feather-pointed", + "keywords": [ + "feather", + "pointed" + ] + }, + { + "value": "ferry" + }, + { + "value": "file" + }, + { + "value": "file-arrow-down", + "keywords": [ + "file", + "arrow", + "down" + ] + }, + { + "value": "file-arrow-up", + "keywords": [ + "file", + "arrow", + "up" + ] + }, + { + "value": "file-audio", + "keywords": [ + "file", + "audio" + ] + }, + { + "value": "file-circle-check", + "keywords": [ + "file", + "circle", + "check" + ] + }, + { + "value": "file-circle-exclamation", + "keywords": [ + "file", + "circle", + "exclamation" + ] + }, + { + "value": "file-circle-minus", + "keywords": [ + "file", + "circle", + "minus" + ] + }, + { + "value": "file-circle-plus", + "keywords": [ + "file", + "circle", + "plus" + ] + }, + { + "value": "file-circle-question", + "keywords": [ + "file", + "circle", + "question" + ] + }, + { + "value": "file-circle-xmark", + "keywords": [ + "file", + "circle", + "xmark" + ] + }, + { + "value": "file-code", + "keywords": [ + "file", + "code" + ] + }, + { + "value": "file-contract", + "keywords": [ + "file", + "contract" + ] + }, + { + "value": "file-csv", + "keywords": [ + "file", + "csv" + ] + }, + { + "value": "file-excel", + "keywords": [ + "file", + "excel" + ] + }, + { + "value": "file-export", + "keywords": [ + "file", + "export" + ] + }, + { + "value": "file-image", + "keywords": [ + "file", + "image" + ] + }, + { + "value": "file-import", + "keywords": [ + "file", + "import" + ] + }, + { + "value": "file-invoice", + "keywords": [ + "file", + "invoice" + ] + }, + { + "value": "file-invoice-dollar", + "keywords": [ + "file", + "invoice", + "dollar" + ] + }, + { + "value": "file-lines", + "keywords": [ + "file", + "lines" + ] + }, + { + "value": "file-medical", + "keywords": [ + "file", + "medical" + ] + }, + { + "value": "file-pdf", + "keywords": [ + "file", + "pdf" + ] + }, + { + "value": "file-pen", + "keywords": [ + "file", + "pen" + ] + }, + { + "value": "file-powerpoint", + "keywords": [ + "file", + "powerpoint" + ] + }, + { + "value": "file-prescription", + "keywords": [ + "file", + "prescription" + ] + }, + { + "value": "file-shield", + "keywords": [ + "file", + "shield" + ] + }, + { + "value": "file-signature", + "keywords": [ + "file", + "signature" + ] + }, + { + "value": "file-video", + "keywords": [ + "file", + "video" + ] + }, + { + "value": "file-waveform", + "keywords": [ + "file", + "waveform" + ] + }, + { + "value": "file-word", + "keywords": [ + "file", + "word" + ] + }, + { + "value": "file-zipper", + "keywords": [ + "file", + "zipper" + ] + }, + { + "value": "fill" + }, + { + "value": "fill-drip", + "keywords": [ + "fill", + "drip" + ] + }, + { + "value": "film" + }, + { + "value": "filter" + }, + { + "value": "filter-circle-dollar", + "keywords": [ + "filter", + "circle", + "dollar" + ] + }, + { + "value": "filter-circle-xmark", + "keywords": [ + "filter", + "circle", + "xmark" + ] + }, + { + "value": "fingerprint" + }, + { + "value": "fire" + }, + { + "value": "fire-burner", + "keywords": [ + "fire", + "burner" + ] + }, + { + "value": "fire-extinguisher", + "keywords": [ + "fire", + "extinguisher" + ] + }, + { + "value": "fire-flame-curved", + "keywords": [ + "fire", + "flame", + "curved" + ] + }, + { + "value": "fire-flame-simple", + "keywords": [ + "fire", + "flame", + "simple" + ] + }, + { + "value": "fish" + }, + { + "value": "fish-fins", + "keywords": [ + "fish", + "fins" + ] + }, + { + "value": "flag" + }, + { + "value": "flag-checkered", + "keywords": [ + "flag", + "checkered" + ] + }, + { + "value": "flag-usa", + "keywords": [ + "flag", + "usa" + ] + }, + { + "value": "flask" + }, + { + "value": "flask-vial", + "keywords": [ + "flask", + "vial" + ] + }, + { + "value": "floppy-disk", + "keywords": [ + "floppy", + "disk" + ] + }, + { + "value": "florin-sign", + "keywords": [ + "florin", + "sign" + ] + }, + { + "value": "folder" + }, + { + "value": "folder-closed", + "keywords": [ + "folder", + "closed" + ] + }, + { + "value": "folder-minus", + "keywords": [ + "folder", + "minus" + ] + }, + { + "value": "folder-open", + "keywords": [ + "folder", + "open" + ] + }, + { + "value": "folder-plus", + "keywords": [ + "folder", + "plus" + ] + }, + { + "value": "folder-tree", + "keywords": [ + "folder", + "tree" + ] + }, + { + "value": "font" + }, + { + "value": "font-awesome", + "keywords": [ + "font", + "awesome" + ] + }, + { + "value": "football" + }, + { + "value": "forward" + }, + { + "value": "forward-fast", + "keywords": [ + "forward", + "fast" + ] + }, + { + "value": "forward-step", + "keywords": [ + "forward", + "step" + ] + }, + { + "value": "franc-sign", + "keywords": [ + "franc", + "sign" + ] + }, + { + "value": "frog" + }, + { + "value": "futbol" + }, + { + "value": "g" + }, + { + "value": "gamepad" + }, + { + "value": "gas-pump", + "keywords": [ + "gas", + "pump" + ] + }, + { + "value": "gauge" + }, + { + "value": "gauge-high", + "keywords": [ + "gauge", + "high" + ] + }, + { + "value": "gauge-simple", + "keywords": [ + "gauge", + "simple" + ] + }, + { + "value": "gauge-simple-high", + "keywords": [ + "gauge", + "simple", + "high" + ] + }, + { + "value": "gavel" + }, + { + "value": "gear" + }, + { + "value": "gears" + }, + { + "value": "gem" + }, + { + "value": "genderless" + }, + { + "value": "ghost" + }, + { + "value": "gift" + }, + { + "value": "gifts" + }, + { + "value": "glass-water", + "keywords": [ + "glass", + "water" + ] + }, + { + "value": "glass-water-droplet", + "keywords": [ + "glass", + "water", + "droplet" + ] + }, + { + "value": "glasses" + }, + { + "value": "globe" + }, + { + "value": "golf-ball-tee", + "keywords": [ + "golf", + "ball", + "tee" + ] + }, + { + "value": "gopuram" + }, + { + "value": "graduation-cap", + "keywords": [ + "graduation", + "cap" + ] + }, + { + "value": "greater-than", + "keywords": [ + "greater", + "than" + ] + }, + { + "value": "greater-than-equal", + "keywords": [ + "greater", + "than", + "equal" + ] + }, + { + "value": "grip" + }, + { + "value": "grip-lines", + "keywords": [ + "grip", + "lines" + ] + }, + { + "value": "grip-lines-vertical", + "keywords": [ + "grip", + "lines", + "vertical" + ] + }, + { + "value": "grip-vertical", + "keywords": [ + "grip", + "vertical" + ] + }, + { + "value": "group-arrows-rotate", + "keywords": [ + "group", + "arrows", + "rotate" + ] + }, + { + "value": "guarani-sign", + "keywords": [ + "guarani", + "sign" + ] + }, + { + "value": "guitar" + }, + { + "value": "gun" + }, + { + "value": "h" + }, + { + "value": "hammer" + }, + { + "value": "hamsa" + }, + { + "value": "hand" + }, + { + "value": "hand-back-fist", + "keywords": [ + "hand", + "back", + "fist" + ] + }, + { + "value": "hand-dots", + "keywords": [ + "hand", + "dots" + ] + }, + { + "value": "hand-fist", + "keywords": [ + "hand", + "fist" + ] + }, + { + "value": "hand-holding", + "keywords": [ + "hand", + "holding" + ] + }, + { + "value": "hand-holding-dollar", + "keywords": [ + "hand", + "holding", + "dollar" + ] + }, + { + "value": "hand-holding-droplet", + "keywords": [ + "hand", + "holding", + "droplet" + ] + }, + { + "value": "hand-holding-hand", + "keywords": [ + "hand", + "holding", + "hand" + ] + }, + { + "value": "hand-holding-heart", + "keywords": [ + "hand", + "holding", + "heart" + ] + }, + { + "value": "hand-holding-medical", + "keywords": [ + "hand", + "holding", + "medical" + ] + }, + { + "value": "hand-lizard", + "keywords": [ + "hand", + "lizard" + ] + }, + { + "value": "hand-middle-finger", + "keywords": [ + "hand", + "middle", + "finger" + ] + }, + { + "value": "hand-peace", + "keywords": [ + "hand", + "peace" + ] + }, + { + "value": "hand-point-down", + "keywords": [ + "hand", + "point", + "down" + ] + }, + { + "value": "hand-point-left", + "keywords": [ + "hand", + "point", + "left" + ] + }, + { + "value": "hand-point-right", + "keywords": [ + "hand", + "point", + "right" + ] + }, + { + "value": "hand-point-up", + "keywords": [ + "hand", + "point", + "up" + ] + }, + { + "value": "hand-pointer", + "keywords": [ + "hand", + "pointer" + ] + }, + { + "value": "hand-scissors", + "keywords": [ + "hand", + "scissors" + ] + }, + { + "value": "hand-sparkles", + "keywords": [ + "hand", + "sparkles" + ] + }, + { + "value": "hand-spock", + "keywords": [ + "hand", + "spock" + ] + }, + { + "value": "handcuffs" + }, + { + "value": "hands" + }, + { + "value": "hands-asl-interpreting", + "keywords": [ + "hands", + "asl", + "interpreting" + ] + }, + { + "value": "hands-bound", + "keywords": [ + "hands", + "bound" + ] + }, + { + "value": "hands-bubbles", + "keywords": [ + "hands", + "bubbles" + ] + }, + { + "value": "hands-clapping", + "keywords": [ + "hands", + "clapping" + ] + }, + { + "value": "hands-holding", + "keywords": [ + "hands", + "holding" + ] + }, + { + "value": "hands-holding-child", + "keywords": [ + "hands", + "holding", + "child" + ] + }, + { + "value": "hands-holding-circle", + "keywords": [ + "hands", + "holding", + "circle" + ] + }, + { + "value": "hands-praying", + "keywords": [ + "hands", + "praying" + ] + }, + { + "value": "handshake" + }, + { + "value": "handshake-angle", + "keywords": [ + "handshake", + "angle" + ] + }, + { + "value": "handshake-simple", + "keywords": [ + "handshake", + "simple" + ] + }, + { + "value": "handshake-simple-slash", + "keywords": [ + "handshake", + "simple", + "slash" + ] + }, + { + "value": "handshake-slash", + "keywords": [ + "handshake", + "slash" + ] + }, + { + "value": "hanukiah" + }, + { + "value": "hard-drive", + "keywords": [ + "hard", + "drive" + ] + }, + { + "value": "hashtag" + }, + { + "value": "hat-cowboy", + "keywords": [ + "hat", + "cowboy" + ] + }, + { + "value": "hat-cowboy-side", + "keywords": [ + "hat", + "cowboy", + "side" + ] + }, + { + "value": "hat-wizard", + "keywords": [ + "hat", + "wizard" + ] + }, + { + "value": "head-side-cough", + "keywords": [ + "head", + "side", + "cough" + ] + }, + { + "value": "head-side-cough-slash", + "keywords": [ + "head", + "side", + "cough", + "slash" + ] + }, + { + "value": "head-side-mask", + "keywords": [ + "head", + "side", + "mask" + ] + }, + { + "value": "head-side-virus", + "keywords": [ + "head", + "side", + "virus" + ] + }, + { + "value": "heading" + }, + { + "value": "headphones" + }, + { + "value": "headphones-simple", + "keywords": [ + "headphones", + "simple" + ] + }, + { + "value": "headset" + }, + { + "value": "heart" + }, + { + "value": "heart-circle-bolt", + "keywords": [ + "heart", + "circle", + "bolt" + ] + }, + { + "value": "heart-circle-check", + "keywords": [ + "heart", + "circle", + "check" + ] + }, + { + "value": "heart-circle-exclamation", + "keywords": [ + "heart", + "circle", + "exclamation" + ] + }, + { + "value": "heart-circle-minus", + "keywords": [ + "heart", + "circle", + "minus" + ] + }, + { + "value": "heart-circle-plus", + "keywords": [ + "heart", + "circle", + "plus" + ] + }, + { + "value": "heart-circle-xmark", + "keywords": [ + "heart", + "circle", + "xmark" + ] + }, + { + "value": "heart-crack", + "keywords": [ + "heart", + "crack" + ] + }, + { + "value": "heart-pulse", + "keywords": [ + "heart", + "pulse" + ] + }, + { + "value": "helicopter" + }, + { + "value": "helicopter-symbol", + "keywords": [ + "helicopter", + "symbol" + ] + }, + { + "value": "helmet-safety", + "keywords": [ + "helmet", + "safety" + ] + }, + { + "value": "helmet-un", + "keywords": [ + "helmet", + "un" + ] + }, + { + "value": "highlighter" + }, + { + "value": "hill-avalanche", + "keywords": [ + "hill", + "avalanche" + ] + }, + { + "value": "hill-rockslide", + "keywords": [ + "hill", + "rockslide" + ] + }, + { + "value": "hippo" + }, + { + "value": "hockey-puck", + "keywords": [ + "hockey", + "puck" + ] + }, + { + "value": "holly-berry", + "keywords": [ + "holly", + "berry" + ] + }, + { + "value": "horse" + }, + { + "value": "horse-head", + "keywords": [ + "horse", + "head" + ] + }, + { + "value": "hospital" + }, + { + "value": "hospital-user", + "keywords": [ + "hospital", + "user" + ] + }, + { + "value": "hot-tub-person", + "keywords": [ + "hot", + "tub", + "person" + ] + }, + { + "value": "hotdog" + }, + { + "value": "hotel" + }, + { + "value": "hourglass" + }, + { + "value": "hourglass-end", + "keywords": [ + "hourglass", + "end" + ] + }, + { + "value": "hourglass-half", + "keywords": [ + "hourglass", + "half" + ] + }, + { + "value": "hourglass-start", + "keywords": [ + "hourglass", + "start" + ] + }, + { + "value": "house" + }, + { + "value": "house-chimney", + "keywords": [ + "house", + "chimney" + ] + }, + { + "value": "house-chimney-crack", + "keywords": [ + "house", + "chimney", + "crack" + ] + }, + { + "value": "house-chimney-medical", + "keywords": [ + "house", + "chimney", + "medical" + ] + }, + { + "value": "house-chimney-user", + "keywords": [ + "house", + "chimney", + "user" + ] + }, + { + "value": "house-chimney-window", + "keywords": [ + "house", + "chimney", + "window" + ] + }, + { + "value": "house-circle-check", + "keywords": [ + "house", + "circle", + "check" + ] + }, + { + "value": "house-circle-exclamation", + "keywords": [ + "house", + "circle", + "exclamation" + ] + }, + { + "value": "house-circle-xmark", + "keywords": [ + "house", + "circle", + "xmark" + ] + }, + { + "value": "house-crack", + "keywords": [ + "house", + "crack" + ] + }, + { + "value": "house-fire", + "keywords": [ + "house", + "fire" + ] + }, + { + "value": "house-flag", + "keywords": [ + "house", + "flag" + ] + }, + { + "value": "house-flood-water", + "keywords": [ + "house", + "flood", + "water" + ] + }, + { + "value": "house-flood-water-circle-arrow-right", + "keywords": [ + "house", + "flood", + "water", + "circle", + "arrow", + "right" + ] + }, + { + "value": "house-laptop", + "keywords": [ + "house", + "laptop" + ] + }, + { + "value": "house-lock", + "keywords": [ + "house", + "lock" + ] + }, + { + "value": "house-medical", + "keywords": [ + "house", + "medical" + ] + }, + { + "value": "house-medical-circle-check", + "keywords": [ + "house", + "medical", + "circle", + "check" + ] + }, + { + "value": "house-medical-circle-exclamation", + "keywords": [ + "house", + "medical", + "circle", + "exclamation" + ] + }, + { + "value": "house-medical-circle-xmark", + "keywords": [ + "house", + "medical", + "circle", + "xmark" + ] + }, + { + "value": "house-medical-flag", + "keywords": [ + "house", + "medical", + "flag" + ] + }, + { + "value": "house-signal", + "keywords": [ + "house", + "signal" + ] + }, + { + "value": "house-tsunami", + "keywords": [ + "house", + "tsunami" + ] + }, + { + "value": "house-user", + "keywords": [ + "house", + "user" + ] + }, + { + "value": "hryvnia-sign", + "keywords": [ + "hryvnia", + "sign" + ] + }, + { + "value": "hurricane" + }, + { + "value": "i" + }, + { + "value": "i-cursor" + }, + { + "value": "ice-cream", + "keywords": [ + "ice", + "cream" + ] + }, + { + "value": "icicles" + }, + { + "value": "icons" + }, + { + "value": "id-badge", + "keywords": [ + "id", + "badge" + ] + }, + { + "value": "id-card", + "keywords": [ + "id", + "card" + ] + }, + { + "value": "id-card-clip", + "keywords": [ + "id", + "card", + "clip" + ] + }, + { + "value": "igloo" + }, + { + "value": "image" + }, + { + "value": "image-portrait", + "keywords": [ + "image", + "portrait" + ] + }, + { + "value": "images" + }, + { + "value": "inbox" + }, + { + "value": "indent" + }, + { + "value": "indian-rupee-sign", + "keywords": [ + "indian", + "rupee", + "sign" + ] + }, + { + "value": "industry" + }, + { + "value": "infinity" + }, + { + "value": "info" + }, + { + "value": "italic" + }, + { + "value": "j" + }, + { + "value": "jar" + }, + { + "value": "jar-wheat", + "keywords": [ + "jar", + "wheat" + ] + }, + { + "value": "jedi" + }, + { + "value": "jet-fighter", + "keywords": [ + "jet", + "fighter" + ] + }, + { + "value": "jet-fighter-up", + "keywords": [ + "jet", + "fighter", + "up" + ] + }, + { + "value": "joint" + }, + { + "value": "jug-detergent", + "keywords": [ + "jug", + "detergent" + ] + }, + { + "value": "k" + }, + { + "value": "kaaba" + }, + { + "value": "key" + }, + { + "value": "keyboard" + }, + { + "value": "khanda" + }, + { + "value": "kip-sign", + "keywords": [ + "kip", + "sign" + ] + }, + { + "value": "kit-medical", + "keywords": [ + "kit", + "medical" + ] + }, + { + "value": "kitchen-set", + "keywords": [ + "kitchen", + "set" + ] + }, + { + "value": "kiwi-bird", + "keywords": [ + "kiwi", + "bird" + ] + }, + { + "value": "l" + }, + { + "value": "land-mine-on", + "keywords": [ + "land", + "mine", + "on" + ] + }, + { + "value": "landmark" + }, + { + "value": "landmark-dome", + "keywords": [ + "landmark", + "dome" + ] + }, + { + "value": "landmark-flag", + "keywords": [ + "landmark", + "flag" + ] + }, + { + "value": "language" + }, + { + "value": "laptop" + }, + { + "value": "laptop-code", + "keywords": [ + "laptop", + "code" + ] + }, + { + "value": "laptop-file", + "keywords": [ + "laptop", + "file" + ] + }, + { + "value": "laptop-medical", + "keywords": [ + "laptop", + "medical" + ] + }, + { + "value": "lari-sign", + "keywords": [ + "lari", + "sign" + ] + }, + { + "value": "layer-group", + "keywords": [ + "layer", + "group" + ] + }, + { + "value": "leaf" + }, + { + "value": "left-long", + "keywords": [ + "left", + "long" + ] + }, + { + "value": "left-right", + "keywords": [ + "left", + "right" + ] + }, + { + "value": "lemon" + }, + { + "value": "less-than", + "keywords": [ + "less", + "than" + ] + }, + { + "value": "less-than-equal", + "keywords": [ + "less", + "than", + "equal" + ] + }, + { + "value": "life-ring", + "keywords": [ + "life", + "ring" + ] + }, + { + "value": "lightbulb" + }, + { + "value": "lines-leaning", + "keywords": [ + "lines", + "leaning" + ] + }, + { + "value": "link" + }, + { + "value": "link-slash", + "keywords": [ + "link", + "slash" + ] + }, + { + "value": "lira-sign", + "keywords": [ + "lira", + "sign" + ] + }, + { + "value": "list" + }, + { + "value": "list-check", + "keywords": [ + "list", + "check" + ] + }, + { + "value": "list-ol", + "keywords": [ + "list", + "ol" + ] + }, + { + "value": "list-ul", + "keywords": [ + "list", + "ul" + ] + }, + { + "value": "litecoin-sign", + "keywords": [ + "litecoin", + "sign" + ] + }, + { + "value": "location-arrow", + "keywords": [ + "location", + "arrow" + ] + }, + { + "value": "location-crosshairs", + "keywords": [ + "location", + "crosshairs" + ] + }, + { + "value": "location-dot", + "keywords": [ + "location", + "dot" + ] + }, + { + "value": "location-pin", + "keywords": [ + "location", + "pin" + ] + }, + { + "value": "location-pin-lock", + "keywords": [ + "location", + "pin", + "lock" + ] + }, + { + "value": "lock" + }, + { + "value": "lock-open", + "keywords": [ + "lock", + "open" + ] + }, + { + "value": "locust" + }, + { + "value": "lungs" + }, + { + "value": "lungs-virus", + "keywords": [ + "lungs", + "virus" + ] + }, + { + "value": "m" + }, + { + "value": "magnet" + }, + { + "value": "magnifying-glass", + "keywords": [ + "magnifying", + "glass" + ] + }, + { + "value": "magnifying-glass-arrow-right", + "keywords": [ + "magnifying", + "glass", + "arrow", + "right" + ] + }, + { + "value": "magnifying-glass-chart", + "keywords": [ + "magnifying", + "glass", + "chart" + ] + }, + { + "value": "magnifying-glass-dollar", + "keywords": [ + "magnifying", + "glass", + "dollar" + ] + }, + { + "value": "magnifying-glass-location", + "keywords": [ + "magnifying", + "glass", + "location" + ] + }, + { + "value": "magnifying-glass-minus", + "keywords": [ + "magnifying", + "glass", + "minus" + ] + }, + { + "value": "magnifying-glass-plus", + "keywords": [ + "magnifying", + "glass", + "plus" + ] + }, + { + "value": "manat-sign", + "keywords": [ + "manat", + "sign" + ] + }, + { + "value": "map" + }, + { + "value": "map-location", + "keywords": [ + "map", + "location" + ] + }, + { + "value": "map-location-dot", + "keywords": [ + "map", + "location", + "dot" + ] + }, + { + "value": "map-pin", + "keywords": [ + "map", + "pin" + ] + }, + { + "value": "marker" + }, + { + "value": "mars" + }, + { + "value": "mars-and-venus", + "keywords": [ + "mars", + "and", + "venus" + ] + }, + { + "value": "mars-and-venus-burst", + "keywords": [ + "mars", + "and", + "venus", + "burst" + ] + }, + { + "value": "mars-double", + "keywords": [ + "mars", + "double" + ] + }, + { + "value": "mars-stroke", + "keywords": [ + "mars", + "stroke" + ] + }, + { + "value": "mars-stroke-right", + "keywords": [ + "mars", + "stroke", + "right" + ] + }, + { + "value": "mars-stroke-up", + "keywords": [ + "mars", + "stroke", + "up" + ] + }, + { + "value": "martini-glass", + "keywords": [ + "martini", + "glass" + ] + }, + { + "value": "martini-glass-citrus", + "keywords": [ + "martini", + "glass", + "citrus" + ] + }, + { + "value": "martini-glass-empty", + "keywords": [ + "martini", + "glass", + "empty" + ] + }, + { + "value": "mask" + }, + { + "value": "mask-face", + "keywords": [ + "mask", + "face" + ] + }, + { + "value": "mask-ventilator", + "keywords": [ + "mask", + "ventilator" + ] + }, + { + "value": "masks-theater", + "keywords": [ + "masks", + "theater" + ] + }, + { + "value": "mattress-pillow", + "keywords": [ + "mattress", + "pillow" + ] + }, + { + "value": "maximize" + }, + { + "value": "medal" + }, + { + "value": "memory" + }, + { + "value": "menorah" + }, + { + "value": "mercury" + }, + { + "value": "message" + }, + { + "value": "meteor" + }, + { + "value": "microchip" + }, + { + "value": "microphone" + }, + { + "value": "microphone-lines", + "keywords": [ + "microphone", + "lines" + ] + }, + { + "value": "microphone-lines-slash", + "keywords": [ + "microphone", + "lines", + "slash" + ] + }, + { + "value": "microphone-slash", + "keywords": [ + "microphone", + "slash" + ] + }, + { + "value": "microscope" + }, + { + "value": "mill-sign", + "keywords": [ + "mill", + "sign" + ] + }, + { + "value": "minimize" + }, + { + "value": "minus" + }, + { + "value": "mitten" + }, + { + "value": "mobile" + }, + { + "value": "mobile-button", + "keywords": [ + "mobile", + "button" + ] + }, + { + "value": "mobile-retro", + "keywords": [ + "mobile", + "retro" + ] + }, + { + "value": "mobile-screen", + "keywords": [ + "mobile", + "screen" + ] + }, + { + "value": "mobile-screen-button", + "keywords": [ + "mobile", + "screen", + "button" + ] + }, + { + "value": "money-bill", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-transfer", + "keywords": [ + "money", + "bill", + "transfer" + ] + }, + { + "value": "money-bill-trend-up", + "keywords": [ + "money", + "bill", + "trend", + "up" + ] + }, + { + "value": "money-bill-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-wheat", + "keywords": [ + "money", + "bill", + "wheat" + ] + }, + { + "value": "money-bills", + "keywords": [ + "money", + "bills" + ] + }, + { + "value": "money-check", + "keywords": [ + "money", + "check" + ] + }, + { + "value": "money-check-dollar", + "keywords": [ + "money", + "check", + "dollar" + ] + }, + { + "value": "monument" + }, + { + "value": "moon" + }, + { + "value": "mortar-pestle", + "keywords": [ + "mortar", + "pestle" + ] + }, + { + "value": "mosque" + }, + { + "value": "mosquito" + }, + { + "value": "mosquito-net", + "keywords": [ + "mosquito", + "net" + ] + }, + { + "value": "motorcycle" + }, + { + "value": "mound" + }, + { + "value": "mountain" + }, + { + "value": "mountain-city", + "keywords": [ + "mountain", + "city" + ] + }, + { + "value": "mountain-sun", + "keywords": [ + "mountain", + "sun" + ] + }, + { + "value": "mug-hot", + "keywords": [ + "mug", + "hot" + ] + }, + { + "value": "mug-saucer", + "keywords": [ + "mug", + "saucer" + ] + }, + { + "value": "music" + }, + { + "value": "n" + }, + { + "value": "naira-sign", + "keywords": [ + "naira", + "sign" + ] + }, + { + "value": "network-wired", + "keywords": [ + "network", + "wired" + ] + }, + { + "value": "neuter" + }, + { + "value": "newspaper" + }, + { + "value": "not-equal", + "keywords": [ + "not", + "equal" + ] + }, + { + "value": "notdef" + }, + { + "value": "note-sticky", + "keywords": [ + "note", + "sticky" + ] + }, + { + "value": "notes-medical", + "keywords": [ + "notes", + "medical" + ] + }, + { + "value": "o" + }, + { + "value": "object-group", + "keywords": [ + "object", + "group" + ] + }, + { + "value": "object-ungroup", + "keywords": [ + "object", + "ungroup" + ] + }, + { + "value": "oil-can", + "keywords": [ + "oil", + "can" + ] + }, + { + "value": "oil-well", + "keywords": [ + "oil", + "well" + ] + }, + { + "value": "om" + }, + { + "value": "otter" + }, + { + "value": "outdent" + }, + { + "value": "p" + }, + { + "value": "pager" + }, + { + "value": "paint-roller", + "keywords": [ + "paint", + "roller" + ] + }, + { + "value": "paintbrush" + }, + { + "value": "palette" + }, + { + "value": "pallet" + }, + { + "value": "panorama" + }, + { + "value": "paper-plane", + "keywords": [ + "paper", + "plane" + ] + }, + { + "value": "paperclip" + }, + { + "value": "parachute-box", + "keywords": [ + "parachute", + "box" + ] + }, + { + "value": "paragraph" + }, + { + "value": "passport" + }, + { + "value": "paste" + }, + { + "value": "pause" + }, + { + "value": "paw" + }, + { + "value": "peace" + }, + { + "value": "pen" + }, + { + "value": "pen-clip", + "keywords": [ + "pen", + "clip" + ] + }, + { + "value": "pen-fancy", + "keywords": [ + "pen", + "fancy" + ] + }, + { + "value": "pen-nib", + "keywords": [ + "pen", + "nib" + ] + }, + { + "value": "pen-ruler", + "keywords": [ + "pen", + "ruler" + ] + }, + { + "value": "pen-to-square", + "keywords": [ + "pen", + "to", + "square" + ] + }, + { + "value": "pencil" + }, + { + "value": "people-arrows", + "keywords": [ + "people", + "arrows" + ] + }, + { + "value": "people-carry-box", + "keywords": [ + "people", + "carry", + "box" + ] + }, + { + "value": "people-group", + "keywords": [ + "people", + "group" + ] + }, + { + "value": "people-line", + "keywords": [ + "people", + "line" + ] + }, + { + "value": "people-pulling", + "keywords": [ + "people", + "pulling" + ] + }, + { + "value": "people-robbery", + "keywords": [ + "people", + "robbery" + ] + }, + { + "value": "people-roof", + "keywords": [ + "people", + "roof" + ] + }, + { + "value": "pepper-hot", + "keywords": [ + "pepper", + "hot" + ] + }, + { + "value": "percent" + }, + { + "value": "person" + }, + { + "value": "person-arrow-down-to-line", + "keywords": [ + "person", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "person-arrow-up-from-line", + "keywords": [ + "person", + "arrow", + "up", + "from", + "line" + ] + }, + { + "value": "person-biking", + "keywords": [ + "person", + "biking" + ] + }, + { + "value": "person-booth", + "keywords": [ + "person", + "booth" + ] + }, + { + "value": "person-breastfeeding", + "keywords": [ + "person", + "breastfeeding" + ] + }, + { + "value": "person-burst", + "keywords": [ + "person", + "burst" + ] + }, + { + "value": "person-cane", + "keywords": [ + "person", + "cane" + ] + }, + { + "value": "person-chalkboard", + "keywords": [ + "person", + "chalkboard" + ] + }, + { + "value": "person-circle-check", + "keywords": [ + "person", + "circle", + "check" + ] + }, + { + "value": "person-circle-exclamation", + "keywords": [ + "person", + "circle", + "exclamation" + ] + }, + { + "value": "person-circle-minus", + "keywords": [ + "person", + "circle", + "minus" + ] + }, + { + "value": "person-circle-plus", + "keywords": [ + "person", + "circle", + "plus" + ] + }, + { + "value": "person-circle-question", + "keywords": [ + "person", + "circle", + "question" + ] + }, + { + "value": "person-circle-xmark", + "keywords": [ + "person", + "circle", + "xmark" + ] + }, + { + "value": "person-digging", + "keywords": [ + "person", + "digging" + ] + }, + { + "value": "person-dots-from-line", + "keywords": [ + "person", + "dots", + "from", + "line" + ] + }, + { + "value": "person-dress", + "keywords": [ + "person", + "dress" + ] + }, + { + "value": "person-dress-burst", + "keywords": [ + "person", + "dress", + "burst" + ] + }, + { + "value": "person-drowning", + "keywords": [ + "person", + "drowning" + ] + }, + { + "value": "person-falling", + "keywords": [ + "person", + "falling" + ] + }, + { + "value": "person-falling-burst", + "keywords": [ + "person", + "falling", + "burst" + ] + }, + { + "value": "person-half-dress", + "keywords": [ + "person", + "half", + "dress" + ] + }, + { + "value": "person-harassing", + "keywords": [ + "person", + "harassing" + ] + }, + { + "value": "person-hiking", + "keywords": [ + "person", + "hiking" + ] + }, + { + "value": "person-military-pointing", + "keywords": [ + "person", + "military", + "pointing" + ] + }, + { + "value": "person-military-rifle", + "keywords": [ + "person", + "military", + "rifle" + ] + }, + { + "value": "person-military-to-person", + "keywords": [ + "person", + "military", + "to", + "person" + ] + }, + { + "value": "person-praying", + "keywords": [ + "person", + "praying" + ] + }, + { + "value": "person-pregnant", + "keywords": [ + "person", + "pregnant" + ] + }, + { + "value": "person-rays", + "keywords": [ + "person", + "rays" + ] + }, + { + "value": "person-rifle", + "keywords": [ + "person", + "rifle" + ] + }, + { + "value": "person-running", + "keywords": [ + "person", + "running" + ] + }, + { + "value": "person-shelter", + "keywords": [ + "person", + "shelter" + ] + }, + { + "value": "person-skating", + "keywords": [ + "person", + "skating" + ] + }, + { + "value": "person-skiing", + "keywords": [ + "person", + "skiing" + ] + }, + { + "value": "person-skiing-nordic", + "keywords": [ + "person", + "skiing", + "nordic" + ] + }, + { + "value": "person-snowboarding", + "keywords": [ + "person", + "snowboarding" + ] + }, + { + "value": "person-swimming", + "keywords": [ + "person", + "swimming" + ] + }, + { + "value": "person-through-window", + "keywords": [ + "person", + "through", + "window" + ] + }, + { + "value": "person-walking", + "keywords": [ + "person", + "walking" + ] + }, + { + "value": "person-walking-arrow-loop-left", + "keywords": [ + "person", + "walking", + "arrow", + "loop", + "left" + ] + }, + { + "value": "person-walking-arrow-right", + "keywords": [ + "person", + "walking", + "arrow", + "right" + ] + }, + { + "value": "person-walking-dashed-line-arrow-right", + "keywords": [ + "person", + "walking", + "dashed", + "line", + "arrow", + "right" + ] + }, + { + "value": "person-walking-luggage", + "keywords": [ + "person", + "walking", + "luggage" + ] + }, + { + "value": "person-walking-with-cane", + "keywords": [ + "person", + "walking", + "with", + "cane" + ] + }, + { + "value": "peseta-sign", + "keywords": [ + "peseta", + "sign" + ] + }, + { + "value": "peso-sign", + "keywords": [ + "peso", + "sign" + ] + }, + { + "value": "phone" + }, + { + "value": "phone-flip", + "keywords": [ + "phone", + "flip" + ] + }, + { + "value": "phone-slash", + "keywords": [ + "phone", + "slash" + ] + }, + { + "value": "phone-volume", + "keywords": [ + "phone", + "volume" + ] + }, + { + "value": "photo-film", + "keywords": [ + "photo", + "film" + ] + }, + { + "value": "piggy-bank", + "keywords": [ + "piggy", + "bank" + ] + }, + { + "value": "pills" + }, + { + "value": "pizza-slice", + "keywords": [ + "pizza", + "slice" + ] + }, + { + "value": "place-of-worship", + "keywords": [ + "place", + "of", + "worship" + ] + }, + { + "value": "plane" + }, + { + "value": "plane-arrival", + "keywords": [ + "plane", + "arrival" + ] + }, + { + "value": "plane-circle-check", + "keywords": [ + "plane", + "circle", + "check" + ] + }, + { + "value": "plane-circle-exclamation", + "keywords": [ + "plane", + "circle", + "exclamation" + ] + }, + { + "value": "plane-circle-xmark", + "keywords": [ + "plane", + "circle", + "xmark" + ] + }, + { + "value": "plane-departure", + "keywords": [ + "plane", + "departure" + ] + }, + { + "value": "plane-lock", + "keywords": [ + "plane", + "lock" + ] + }, + { + "value": "plane-slash", + "keywords": [ + "plane", + "slash" + ] + }, + { + "value": "plane-up", + "keywords": [ + "plane", + "up" + ] + }, + { + "value": "plant-wilt", + "keywords": [ + "plant", + "wilt" + ] + }, + { + "value": "plate-wheat", + "keywords": [ + "plate", + "wheat" + ] + }, + { + "value": "play" + }, + { + "value": "plug" + }, + { + "value": "plug-circle-bolt", + "keywords": [ + "plug", + "circle", + "bolt" + ] + }, + { + "value": "plug-circle-check", + "keywords": [ + "plug", + "circle", + "check" + ] + }, + { + "value": "plug-circle-exclamation", + "keywords": [ + "plug", + "circle", + "exclamation" + ] + }, + { + "value": "plug-circle-minus", + "keywords": [ + "plug", + "circle", + "minus" + ] + }, + { + "value": "plug-circle-plus", + "keywords": [ + "plug", + "circle", + "plus" + ] + }, + { + "value": "plug-circle-xmark", + "keywords": [ + "plug", + "circle", + "xmark" + ] + }, + { + "value": "plus" + }, + { + "value": "plus-minus", + "keywords": [ + "plus", + "minus" + ] + }, + { + "value": "podcast" + }, + { + "value": "poo" + }, + { + "value": "poo-storm", + "keywords": [ + "poo", + "storm" + ] + }, + { + "value": "poop" + }, + { + "value": "power-off", + "keywords": [ + "power", + "off" + ] + }, + { + "value": "prescription" + }, + { + "value": "prescription-bottle", + "keywords": [ + "prescription", + "bottle" + ] + }, + { + "value": "prescription-bottle-medical", + "keywords": [ + "prescription", + "bottle", + "medical" + ] + }, + { + "value": "print" + }, + { + "value": "pump-medical", + "keywords": [ + "pump", + "medical" + ] + }, + { + "value": "pump-soap", + "keywords": [ + "pump", + "soap" + ] + }, + { + "value": "puzzle-piece", + "keywords": [ + "puzzle", + "piece" + ] + }, + { + "value": "q" + }, + { + "value": "qrcode" + }, + { + "value": "question" + }, + { + "value": "quote-left", + "keywords": [ + "quote", + "left" + ] + }, + { + "value": "quote-right", + "keywords": [ + "quote", + "right" + ] + }, + { + "value": "r" + }, + { + "value": "radiation" + }, + { + "value": "radio" + }, + { + "value": "rainbow" + }, + { + "value": "ranking-star", + "keywords": [ + "ranking", + "star" + ] + }, + { + "value": "receipt" + }, + { + "value": "record-vinyl", + "keywords": [ + "record", + "vinyl" + ] + }, + { + "value": "rectangle-ad", + "keywords": [ + "rectangle", + "ad" + ] + }, + { + "value": "rectangle-list", + "keywords": [ + "rectangle", + "list" + ] + }, + { + "value": "rectangle-xmark", + "keywords": [ + "rectangle", + "xmark" + ] + }, + { + "value": "recycle" + }, + { + "value": "registered" + }, + { + "value": "repeat" + }, + { + "value": "reply" + }, + { + "value": "reply-all", + "keywords": [ + "reply", + "all" + ] + }, + { + "value": "republican" + }, + { + "value": "restroom" + }, + { + "value": "retweet" + }, + { + "value": "ribbon" + }, + { + "value": "right-from-bracket", + "keywords": [ + "right", + "from", + "bracket" + ] + }, + { + "value": "right-left", + "keywords": [ + "right", + "left" + ] + }, + { + "value": "right-long", + "keywords": [ + "right", + "long" + ] + }, + { + "value": "right-to-bracket", + "keywords": [ + "right", + "to", + "bracket" + ] + }, + { + "value": "ring" + }, + { + "value": "road" + }, + { + "value": "road-barrier", + "keywords": [ + "road", + "barrier" + ] + }, + { + "value": "road-bridge", + "keywords": [ + "road", + "bridge" + ] + }, + { + "value": "road-circle-check", + "keywords": [ + "road", + "circle", + "check" + ] + }, + { + "value": "road-circle-exclamation", + "keywords": [ + "road", + "circle", + "exclamation" + ] + }, + { + "value": "road-circle-xmark", + "keywords": [ + "road", + "circle", + "xmark" + ] + }, + { + "value": "road-lock", + "keywords": [ + "road", + "lock" + ] + }, + { + "value": "road-spikes", + "keywords": [ + "road", + "spikes" + ] + }, + { + "value": "robot" + }, + { + "value": "rocket" + }, + { + "value": "rotate" + }, + { + "value": "rotate-left", + "keywords": [ + "rotate", + "left" + ] + }, + { + "value": "rotate-right", + "keywords": [ + "rotate", + "right" + ] + }, + { + "value": "route" + }, + { + "value": "rss" + }, + { + "value": "ruble-sign", + "keywords": [ + "ruble", + "sign" + ] + }, + { + "value": "rug" + }, + { + "value": "ruler" + }, + { + "value": "ruler-combined", + "keywords": [ + "ruler", + "combined" + ] + }, + { + "value": "ruler-horizontal", + "keywords": [ + "ruler", + "horizontal" + ] + }, + { + "value": "ruler-vertical", + "keywords": [ + "ruler", + "vertical" + ] + }, + { + "value": "rupee-sign", + "keywords": [ + "rupee", + "sign" + ] + }, + { + "value": "rupiah-sign", + "keywords": [ + "rupiah", + "sign" + ] + }, + { + "value": "s" + }, + { + "value": "sack-dollar", + "keywords": [ + "sack", + "dollar" + ] + }, + { + "value": "sack-xmark", + "keywords": [ + "sack", + "xmark" + ] + }, + { + "value": "sailboat" + }, + { + "value": "satellite" + }, + { + "value": "satellite-dish", + "keywords": [ + "satellite", + "dish" + ] + }, + { + "value": "scale-balanced", + "keywords": [ + "scale", + "balanced" + ] + }, + { + "value": "scale-unbalanced", + "keywords": [ + "scale", + "unbalanced" + ] + }, + { + "value": "scale-unbalanced-flip", + "keywords": [ + "scale", + "unbalanced", + "flip" + ] + }, + { + "value": "school" + }, + { + "value": "school-circle-check", + "keywords": [ + "school", + "circle", + "check" + ] + }, + { + "value": "school-circle-exclamation", + "keywords": [ + "school", + "circle", + "exclamation" + ] + }, + { + "value": "school-circle-xmark", + "keywords": [ + "school", + "circle", + "xmark" + ] + }, + { + "value": "school-flag", + "keywords": [ + "school", + "flag" + ] + }, + { + "value": "school-lock", + "keywords": [ + "school", + "lock" + ] + }, + { + "value": "scissors" + }, + { + "value": "screwdriver" + }, + { + "value": "screwdriver-wrench", + "keywords": [ + "screwdriver", + "wrench" + ] + }, + { + "value": "scroll" + }, + { + "value": "scroll-torah", + "keywords": [ + "scroll", + "torah" + ] + }, + { + "value": "sd-card", + "keywords": [ + "sd", + "card" + ] + }, + { + "value": "section" + }, + { + "value": "seedling" + }, + { + "value": "server" + }, + { + "value": "shapes" + }, + { + "value": "share" + }, + { + "value": "share-from-square", + "keywords": [ + "share", + "from", + "square" + ] + }, + { + "value": "share-nodes", + "keywords": [ + "share", + "nodes" + ] + }, + { + "value": "sheet-plastic", + "keywords": [ + "sheet", + "plastic" + ] + }, + { + "value": "shekel-sign", + "keywords": [ + "shekel", + "sign" + ] + }, + { + "value": "shield" + }, + { + "value": "shield-cat", + "keywords": [ + "shield", + "cat" + ] + }, + { + "value": "shield-dog", + "keywords": [ + "shield", + "dog" + ] + }, + { + "value": "shield-halved", + "keywords": [ + "shield", + "halved" + ] + }, + { + "value": "shield-heart", + "keywords": [ + "shield", + "heart" + ] + }, + { + "value": "shield-virus", + "keywords": [ + "shield", + "virus" + ] + }, + { + "value": "ship" + }, + { + "value": "shirt" + }, + { + "value": "shoe-prints", + "keywords": [ + "shoe", + "prints" + ] + }, + { + "value": "shop" + }, + { + "value": "shop-lock", + "keywords": [ + "shop", + "lock" + ] + }, + { + "value": "shop-slash", + "keywords": [ + "shop", + "slash" + ] + }, + { + "value": "shower" + }, + { + "value": "shrimp" + }, + { + "value": "shuffle" + }, + { + "value": "shuttle-space", + "keywords": [ + "shuttle", + "space" + ] + }, + { + "value": "sign-hanging", + "keywords": [ + "sign", + "hanging" + ] + }, + { + "value": "signal" + }, + { + "value": "signature" + }, + { + "value": "signs-post", + "keywords": [ + "signs", + "post" + ] + }, + { + "value": "sim-card", + "keywords": [ + "sim", + "card" + ] + }, + { + "value": "sink" + }, + { + "value": "sitemap" + }, + { + "value": "skull" + }, + { + "value": "skull-crossbones", + "keywords": [ + "skull", + "crossbones" + ] + }, + { + "value": "slash" + }, + { + "value": "sleigh" + }, + { + "value": "sliders" + }, + { + "value": "smog" + }, + { + "value": "smoking" + }, + { + "value": "snowflake" + }, + { + "value": "snowman" + }, + { + "value": "snowplow" + }, + { + "value": "soap" + }, + { + "value": "socks" + }, + { + "value": "solar-panel", + "keywords": [ + "solar", + "panel" + ] + }, + { + "value": "sort" + }, + { + "value": "sort-down", + "keywords": [ + "sort", + "down" + ] + }, + { + "value": "sort-up", + "keywords": [ + "sort", + "up" + ] + }, + { + "value": "spa" + }, + { + "value": "spaghetti-monster-flying", + "keywords": [ + "spaghetti", + "monster", + "flying" + ] + }, + { + "value": "spell-check", + "keywords": [ + "spell", + "check" + ] + }, + { + "value": "spider" + }, + { + "value": "spinner" + }, + { + "value": "splotch" + }, + { + "value": "spoon" + }, + { + "value": "spray-can", + "keywords": [ + "spray", + "can" + ] + }, + { + "value": "spray-can-sparkles", + "keywords": [ + "spray", + "can", + "sparkles" + ] + }, + { + "value": "square" + }, + { + "value": "square-arrow-up-right", + "keywords": [ + "square", + "arrow", + "up", + "right" + ] + }, + { + "value": "square-caret-down", + "keywords": [ + "square", + "caret", + "down" + ] + }, + { + "value": "square-caret-left", + "keywords": [ + "square", + "caret", + "left" + ] + }, + { + "value": "square-caret-right", + "keywords": [ + "square", + "caret", + "right" + ] + }, + { + "value": "square-caret-up", + "keywords": [ + "square", + "caret", + "up" + ] + }, + { + "value": "square-check", + "keywords": [ + "square", + "check" + ] + }, + { + "value": "square-envelope", + "keywords": [ + "square", + "envelope" + ] + }, + { + "value": "square-full", + "keywords": [ + "square", + "full" + ] + }, + { + "value": "square-h" + }, + { + "value": "square-minus", + "keywords": [ + "square", + "minus" + ] + }, + { + "value": "square-nfi", + "keywords": [ + "square", + "nfi" + ] + }, + { + "value": "square-parking", + "keywords": [ + "square", + "parking" + ] + }, + { + "value": "square-pen", + "keywords": [ + "square", + "pen" + ] + }, + { + "value": "square-person-confined", + "keywords": [ + "square", + "person", + "confined" + ] + }, + { + "value": "square-phone", + "keywords": [ + "square", + "phone" + ] + }, + { + "value": "square-phone-flip", + "keywords": [ + "square", + "phone", + "flip" + ] + }, + { + "value": "square-plus", + "keywords": [ + "square", + "plus" + ] + }, + { + "value": "square-poll-horizontal", + "keywords": [ + "square", + "poll", + "horizontal" + ] + }, + { + "value": "square-poll-vertical", + "keywords": [ + "square", + "poll", + "vertical" + ] + }, + { + "value": "square-root-variable", + "keywords": [ + "square", + "root", + "variable" + ] + }, + { + "value": "square-rss", + "keywords": [ + "square", + "rss" + ] + }, + { + "value": "square-share-nodes", + "keywords": [ + "square", + "share", + "nodes" + ] + }, + { + "value": "square-up-right", + "keywords": [ + "square", + "up", + "right" + ] + }, + { + "value": "square-virus", + "keywords": [ + "square", + "virus" + ] + }, + { + "value": "square-xmark", + "keywords": [ + "square", + "xmark" + ] + }, + { + "value": "staff-snake", + "keywords": [ + "staff", + "snake" + ] + }, + { + "value": "stairs" + }, + { + "value": "stamp" + }, + { + "value": "stapler" + }, + { + "value": "star" + }, + { + "value": "star-and-crescent", + "keywords": [ + "star", + "and", + "crescent" + ] + }, + { + "value": "star-half", + "keywords": [ + "star", + "half" + ] + }, + { + "value": "star-half-stroke", + "keywords": [ + "star", + "half", + "stroke" + ] + }, + { + "value": "star-of-david", + "keywords": [ + "star", + "of", + "david" + ] + }, + { + "value": "star-of-life", + "keywords": [ + "star", + "of", + "life" + ] + }, + { + "value": "sterling-sign", + "keywords": [ + "sterling", + "sign" + ] + }, + { + "value": "stethoscope" + }, + { + "value": "stop" + }, + { + "value": "stopwatch" + }, + { + "value": "stopwatch-20", + "keywords": [ + "stopwatch", + "20" + ] + }, + { + "value": "store" + }, + { + "value": "store-slash", + "keywords": [ + "store", + "slash" + ] + }, + { + "value": "street-view", + "keywords": [ + "street", + "view" + ] + }, + { + "value": "strikethrough" + }, + { + "value": "stroopwafel" + }, + { + "value": "subscript" + }, + { + "value": "suitcase" + }, + { + "value": "suitcase-medical", + "keywords": [ + "suitcase", + "medical" + ] + }, + { + "value": "suitcase-rolling", + "keywords": [ + "suitcase", + "rolling" + ] + }, + { + "value": "sun" + }, + { + "value": "sun-plant-wilt", + "keywords": [ + "sun", + "plant", + "wilt" + ] + }, + { + "value": "superscript" + }, + { + "value": "swatchbook" + }, + { + "value": "synagogue" + }, + { + "value": "syringe" + }, + { + "value": "t" + }, + { + "value": "table" + }, + { + "value": "table-cells", + "keywords": [ + "table", + "cells" + ] + }, + { + "value": "table-cells-large", + "keywords": [ + "table", + "cells", + "large" + ] + }, + { + "value": "table-columns", + "keywords": [ + "table", + "columns" + ] + }, + { + "value": "table-list", + "keywords": [ + "table", + "list" + ] + }, + { + "value": "table-tennis-paddle-ball", + "keywords": [ + "table", + "tennis", + "paddle", + "ball" + ] + }, + { + "value": "tablet" + }, + { + "value": "tablet-button", + "keywords": [ + "tablet", + "button" + ] + }, + { + "value": "tablet-screen-button", + "keywords": [ + "tablet", + "screen", + "button" + ] + }, + { + "value": "tablets" + }, + { + "value": "tachograph-digital", + "keywords": [ + "tachograph", + "digital" + ] + }, + { + "value": "tag" + }, + { + "value": "tags" + }, + { + "value": "tape" + }, + { + "value": "tarp" + }, + { + "value": "tarp-droplet", + "keywords": [ + "tarp", + "droplet" + ] + }, + { + "value": "taxi" + }, + { + "value": "teeth" + }, + { + "value": "teeth-open", + "keywords": [ + "teeth", + "open" + ] + }, + { + "value": "temperature-arrow-down", + "keywords": [ + "temperature", + "arrow", + "down" + ] + }, + { + "value": "temperature-arrow-up", + "keywords": [ + "temperature", + "arrow", + "up" + ] + }, + { + "value": "temperature-empty", + "keywords": [ + "temperature", + "empty" + ] + }, + { + "value": "temperature-full", + "keywords": [ + "temperature", + "full" + ] + }, + { + "value": "temperature-half", + "keywords": [ + "temperature", + "half" + ] + }, + { + "value": "temperature-high", + "keywords": [ + "temperature", + "high" + ] + }, + { + "value": "temperature-low", + "keywords": [ + "temperature", + "low" + ] + }, + { + "value": "temperature-quarter", + "keywords": [ + "temperature", + "quarter" + ] + }, + { + "value": "temperature-three-quarters", + "keywords": [ + "temperature", + "three", + "quarters" + ] + }, + { + "value": "tenge-sign", + "keywords": [ + "tenge", + "sign" + ] + }, + { + "value": "tent" + }, + { + "value": "tent-arrow-down-to-line", + "keywords": [ + "tent", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "tent-arrow-left-right", + "keywords": [ + "tent", + "arrow", + "left", + "right" + ] + }, + { + "value": "tent-arrow-turn-left", + "keywords": [ + "tent", + "arrow", + "turn", + "left" + ] + }, + { + "value": "tent-arrows-down", + "keywords": [ + "tent", + "arrows", + "down" + ] + }, + { + "value": "tents" + }, + { + "value": "terminal" + }, + { + "value": "text-height", + "keywords": [ + "text", + "height" + ] + }, + { + "value": "text-slash", + "keywords": [ + "text", + "slash" + ] + }, + { + "value": "text-width", + "keywords": [ + "text", + "width" + ] + }, + { + "value": "thermometer" + }, + { + "value": "thumbs-down", + "keywords": [ + "thumbs", + "down" + ] + }, + { + "value": "thumbs-up", + "keywords": [ + "thumbs", + "up" + ] + }, + { + "value": "thumbtack" + }, + { + "value": "ticket" + }, + { + "value": "ticket-simple", + "keywords": [ + "ticket", + "simple" + ] + }, + { + "value": "timeline" + }, + { + "value": "toggle-off", + "keywords": [ + "toggle", + "off" + ] + }, + { + "value": "toggle-on", + "keywords": [ + "toggle", + "on" + ] + }, + { + "value": "toilet" + }, + { + "value": "toilet-paper", + "keywords": [ + "toilet", + "paper" + ] + }, + { + "value": "toilet-paper-slash", + "keywords": [ + "toilet", + "paper", + "slash" + ] + }, + { + "value": "toilet-portable", + "keywords": [ + "toilet", + "portable" + ] + }, + { + "value": "toilets-portable", + "keywords": [ + "toilets", + "portable" + ] + }, + { + "value": "toolbox" + }, + { + "value": "tooth" + }, + { + "value": "torii-gate", + "keywords": [ + "torii", + "gate" + ] + }, + { + "value": "tornado" + }, + { + "value": "tower-broadcast", + "keywords": [ + "tower", + "broadcast" + ] + }, + { + "value": "tower-cell", + "keywords": [ + "tower", + "cell" + ] + }, + { + "value": "tower-observation", + "keywords": [ + "tower", + "observation" + ] + }, + { + "value": "tractor" + }, + { + "value": "trademark" + }, + { + "value": "traffic-light", + "keywords": [ + "traffic", + "light" + ] + }, + { + "value": "trailer" + }, + { + "value": "train" + }, + { + "value": "train-subway", + "keywords": [ + "train", + "subway" + ] + }, + { + "value": "train-tram", + "keywords": [ + "train", + "tram" + ] + }, + { + "value": "transgender" + }, + { + "value": "trash" + }, + { + "value": "trash-arrow-up", + "keywords": [ + "trash", + "arrow", + "up" + ] + }, + { + "value": "trash-can", + "keywords": [ + "trash", + "can" + ] + }, + { + "value": "trash-can-arrow-up", + "keywords": [ + "trash", + "can", + "arrow", + "up" + ] + }, + { + "value": "tree" + }, + { + "value": "tree-city", + "keywords": [ + "tree", + "city" + ] + }, + { + "value": "triangle-exclamation", + "keywords": [ + "triangle", + "exclamation" + ] + }, + { + "value": "trophy" + }, + { + "value": "trowel" + }, + { + "value": "trowel-bricks", + "keywords": [ + "trowel", + "bricks" + ] + }, + { + "value": "truck" + }, + { + "value": "truck-arrow-right", + "keywords": [ + "truck", + "arrow", + "right" + ] + }, + { + "value": "truck-droplet", + "keywords": [ + "truck", + "droplet" + ] + }, + { + "value": "truck-fast", + "keywords": [ + "truck", + "fast" + ] + }, + { + "value": "truck-field", + "keywords": [ + "truck", + "field" + ] + }, + { + "value": "truck-field-un", + "keywords": [ + "truck", + "field", + "un" + ] + }, + { + "value": "truck-front", + "keywords": [ + "truck", + "front" + ] + }, + { + "value": "truck-medical", + "keywords": [ + "truck", + "medical" + ] + }, + { + "value": "truck-monster", + "keywords": [ + "truck", + "monster" + ] + }, + { + "value": "truck-moving", + "keywords": [ + "truck", + "moving" + ] + }, + { + "value": "truck-pickup", + "keywords": [ + "truck", + "pickup" + ] + }, + { + "value": "truck-plane", + "keywords": [ + "truck", + "plane" + ] + }, + { + "value": "truck-ramp-box", + "keywords": [ + "truck", + "ramp", + "box" + ] + }, + { + "value": "tty" + }, + { + "value": "turkish-lira-sign", + "keywords": [ + "turkish", + "lira", + "sign" + ] + }, + { + "value": "turn-down", + "keywords": [ + "turn", + "down" + ] + }, + { + "value": "turn-up", + "keywords": [ + "turn", + "up" + ] + }, + { + "value": "tv" + }, + { + "value": "u" + }, + { + "value": "umbrella" + }, + { + "value": "umbrella-beach", + "keywords": [ + "umbrella", + "beach" + ] + }, + { + "value": "underline" + }, + { + "value": "universal-access", + "keywords": [ + "universal", + "access" + ] + }, + { + "value": "unlock" + }, + { + "value": "unlock-keyhole", + "keywords": [ + "unlock", + "keyhole" + ] + }, + { + "value": "up-down", + "keywords": [ + "up", + "down" + ] + }, + { + "value": "up-down-left-right", + "keywords": [ + "up", + "down", + "left", + "right" + ] + }, + { + "value": "up-long", + "keywords": [ + "up", + "long" + ] + }, + { + "value": "up-right-and-down-left-from-center", + "keywords": [ + "up", + "right", + "and", + "down", + "left", + "from", + "center" + ] + }, + { + "value": "up-right-from-square", + "keywords": [ + "up", + "right", + "from", + "square" + ] + }, + { + "value": "upload" + }, + { + "value": "user" + }, + { + "value": "user-astronaut", + "keywords": [ + "user", + "astronaut" + ] + }, + { + "value": "user-check", + "keywords": [ + "user", + "check" + ] + }, + { + "value": "user-clock", + "keywords": [ + "user", + "clock" + ] + }, + { + "value": "user-doctor", + "keywords": [ + "user", + "doctor" + ] + }, + { + "value": "user-gear", + "keywords": [ + "user", + "gear" + ] + }, + { + "value": "user-graduate", + "keywords": [ + "user", + "graduate" + ] + }, + { + "value": "user-group", + "keywords": [ + "user", + "group" + ] + }, + { + "value": "user-injured", + "keywords": [ + "user", + "injured" + ] + }, + { + "value": "user-large", + "keywords": [ + "user", + "large" + ] + }, + { + "value": "user-large-slash", + "keywords": [ + "user", + "large", + "slash" + ] + }, + { + "value": "user-lock", + "keywords": [ + "user", + "lock" + ] + }, + { + "value": "user-minus", + "keywords": [ + "user", + "minus" + ] + }, + { + "value": "user-ninja", + "keywords": [ + "user", + "ninja" + ] + }, + { + "value": "user-nurse", + "keywords": [ + "user", + "nurse" + ] + }, + { + "value": "user-pen", + "keywords": [ + "user", + "pen" + ] + }, + { + "value": "user-plus", + "keywords": [ + "user", + "plus" + ] + }, + { + "value": "user-secret", + "keywords": [ + "user", + "secret" + ] + }, + { + "value": "user-shield", + "keywords": [ + "user", + "shield" + ] + }, + { + "value": "user-slash", + "keywords": [ + "user", + "slash" + ] + }, + { + "value": "user-tag", + "keywords": [ + "user", + "tag" + ] + }, + { + "value": "user-tie", + "keywords": [ + "user", + "tie" + ] + }, + { + "value": "user-xmark", + "keywords": [ + "user", + "xmark" + ] + }, + { + "value": "users" + }, + { + "value": "users-between-lines", + "keywords": [ + "users", + "between", + "lines" + ] + }, + { + "value": "users-gear", + "keywords": [ + "users", + "gear" + ] + }, + { + "value": "users-line", + "keywords": [ + "users", + "line" + ] + }, + { + "value": "users-rays", + "keywords": [ + "users", + "rays" + ] + }, + { + "value": "users-rectangle", + "keywords": [ + "users", + "rectangle" + ] + }, + { + "value": "users-slash", + "keywords": [ + "users", + "slash" + ] + }, + { + "value": "users-viewfinder", + "keywords": [ + "users", + "viewfinder" + ] + }, + { + "value": "utensils" + }, + { + "value": "v" + }, + { + "value": "van-shuttle", + "keywords": [ + "van", + "shuttle" + ] + }, + { + "value": "vault" + }, + { + "value": "vector-square", + "keywords": [ + "vector", + "square" + ] + }, + { + "value": "venus" + }, + { + "value": "venus-double", + "keywords": [ + "venus", + "double" + ] + }, + { + "value": "venus-mars", + "keywords": [ + "venus", + "mars" + ] + }, + { + "value": "vest" + }, + { + "value": "vest-patches", + "keywords": [ + "vest", + "patches" + ] + }, + { + "value": "vial" + }, + { + "value": "vial-circle-check", + "keywords": [ + "vial", + "circle", + "check" + ] + }, + { + "value": "vial-virus", + "keywords": [ + "vial", + "virus" + ] + }, + { + "value": "vials" + }, + { + "value": "video" + }, + { + "value": "video-slash", + "keywords": [ + "video", + "slash" + ] + }, + { + "value": "vihara" + }, + { + "value": "virus" + }, + { + "value": "virus-covid", + "keywords": [ + "virus", + "covid" + ] + }, + { + "value": "virus-covid-slash", + "keywords": [ + "virus", + "covid", + "slash" + ] + }, + { + "value": "virus-slash", + "keywords": [ + "virus", + "slash" + ] + }, + { + "value": "viruses" + }, + { + "value": "voicemail" + }, + { + "value": "volcano" + }, + { + "value": "volleyball" + }, + { + "value": "volume-high", + "keywords": [ + "volume", + "high" + ] + }, + { + "value": "volume-low", + "keywords": [ + "volume", + "low" + ] + }, + { + "value": "volume-off", + "keywords": [ + "volume", + "off" + ] + }, + { + "value": "volume-xmark", + "keywords": [ + "volume", + "xmark" + ] + }, + { + "value": "vr-cardboard", + "keywords": [ + "vr", + "cardboard" + ] + }, + { + "value": "w" + }, + { + "value": "walkie-talkie", + "keywords": [ + "walkie", + "talkie" + ] + }, + { + "value": "wallet" + }, + { + "value": "wand-magic", + "keywords": [ + "wand", + "magic" + ] + }, + { + "value": "wand-magic-sparkles", + "keywords": [ + "wand", + "magic", + "sparkles" + ] + }, + { + "value": "wand-sparkles", + "keywords": [ + "wand", + "sparkles" + ] + }, + { + "value": "warehouse" + }, + { + "value": "water" + }, + { + "value": "water-ladder", + "keywords": [ + "water", + "ladder" + ] + }, + { + "value": "wave-square", + "keywords": [ + "wave", + "square" + ] + }, + { + "value": "weight-hanging", + "keywords": [ + "weight", + "hanging" + ] + }, + { + "value": "weight-scale", + "keywords": [ + "weight", + "scale" + ] + }, + { + "value": "wheat-awn", + "keywords": [ + "wheat", + "awn" + ] + }, + { + "value": "wheat-awn-circle-exclamation", + "keywords": [ + "wheat", + "awn", + "circle", + "exclamation" + ] + }, + { + "value": "wheelchair" + }, + { + "value": "wheelchair-move", + "keywords": [ + "wheelchair", + "move" + ] + }, + { + "value": "whiskey-glass", + "keywords": [ + "whiskey", + "glass" + ] + }, + { + "value": "wifi" + }, + { + "value": "wind" + }, + { + "value": "window-maximize", + "keywords": [ + "window", + "maximize" + ] + }, + { + "value": "window-minimize", + "keywords": [ + "window", + "minimize" + ] + }, + { + "value": "window-restore", + "keywords": [ + "window", + "restore" + ] + }, + { + "value": "wine-bottle", + "keywords": [ + "wine", + "bottle" + ] + }, + { + "value": "wine-glass", + "keywords": [ + "wine", + "glass" + ] + }, + { + "value": "wine-glass-empty", + "keywords": [ + "wine", + "glass", + "empty" + ] + }, + { + "value": "won-sign", + "keywords": [ + "won", + "sign" + ] + }, + { + "value": "worm" + }, + { + "value": "wrench" + }, + { + "value": "x" + }, + { + "value": "x-ray" + }, + { + "value": "xmark" + }, + { + "value": "xmarks-lines", + "keywords": [ + "xmarks", + "lines" + ] + }, + { + "value": "y" + }, + { + "value": "yen-sign", + "keywords": [ + "yen", + "sign" + ] + }, + { + "value": "yin-yang", + "keywords": [ + "yin", + "yang" + ] + }, + { + "value": "z" + } + ] + }, + "ibLabel": { + "label": "$t:editor.control.ib_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "ibVariant": { + "label": "$t:editor.control.ib_variant.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "variant" + }, + "options": [ + { + "value": "primary", + "label": "$t:editor.control.ib_variant.primary" + }, + { + "value": "secondary", + "label": "$t:editor.control.ib_variant.secondary" + }, + { + "value": "danger", + "label": "$t:editor.control.ib_variant.danger" + }, + { + "value": "ghost", + "label": "$t:editor.control.ib_variant.ghost" + } + ] + }, + "ibSize": { + "label": "$t:editor.control.ib_size.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "size" + }, + "options": [ + { + "value": "sm", + "label": "$t:editor.control.ib_size.sm" + }, + { + "value": "md", + "label": "$t:editor.control.ib_size.md" + }, + { + "value": "lg", + "label": "$t:editor.control.ib_size.lg" + } + ] + }, + "ibDisabled": { + "label": "$t:editor.control.ib_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "ddLabel": { + "label": "$t:editor.control.dd_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "ddPosition": { + "label": "$t:editor.control.dd_position.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "position" + }, + "options": [ + { + "value": "bottom-left", + "label": "$t:editor.control.dd_position.bottom-left" + }, + { + "value": "bottom-right", + "label": "$t:editor.control.dd_position.bottom-right" + }, + { + "value": "top-left", + "label": "$t:editor.control.dd_position.top-left" + }, + { + "value": "top-right", + "label": "$t:editor.control.dd_position.top-right" + } + ] + }, + "ddVariant": { + "label": "$t:editor.control.dd_variant.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "variant" + }, + "options": [ + { + "value": "default", + "label": "$t:editor.control.dd_variant.default" + }, + { + "value": "text", + "label": "$t:editor.control.dd_variant.text" + } + ] + }, + "amTriggerLabel": { + "label": "$t:editor.control.am_trigger_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "triggerLabel" + } + }, + "amTriggerIcon": { + "label": "$t:editor.control.am_trigger_icon.label", + "widget": "icon-picker", + "apply": { + "type": "propValue", + "propKey": "triggerIconName" + }, + "iconColumns": 8, + "icons": [ + { + "value": "0" + }, + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + }, + { + "value": "4" + }, + { + "value": "5" + }, + { + "value": "6" + }, + { + "value": "7" + }, + { + "value": "8" + }, + { + "value": "9" + }, + { + "value": "a" + }, + { + "value": "address-book", + "keywords": [ + "address", + "book" + ] + }, + { + "value": "address-card", + "keywords": [ + "address", + "card" + ] + }, + { + "value": "align-center", + "keywords": [ + "align", + "center" + ] + }, + { + "value": "align-justify", + "keywords": [ + "align", + "justify" + ] + }, + { + "value": "align-left", + "keywords": [ + "align", + "left" + ] + }, + { + "value": "align-right", + "keywords": [ + "align", + "right" + ] + }, + { + "value": "anchor" + }, + { + "value": "anchor-circle-check", + "keywords": [ + "anchor", + "circle", + "check" + ] + }, + { + "value": "anchor-circle-exclamation", + "keywords": [ + "anchor", + "circle", + "exclamation" + ] + }, + { + "value": "anchor-circle-xmark", + "keywords": [ + "anchor", + "circle", + "xmark" + ] + }, + { + "value": "anchor-lock", + "keywords": [ + "anchor", + "lock" + ] + }, + { + "value": "angle-down", + "keywords": [ + "angle", + "down" + ] + }, + { + "value": "angle-left", + "keywords": [ + "angle", + "left" + ] + }, + { + "value": "angle-right", + "keywords": [ + "angle", + "right" + ] + }, + { + "value": "angle-up", + "keywords": [ + "angle", + "up" + ] + }, + { + "value": "angles-down", + "keywords": [ + "angles", + "down" + ] + }, + { + "value": "angles-left", + "keywords": [ + "angles", + "left" + ] + }, + { + "value": "angles-right", + "keywords": [ + "angles", + "right" + ] + }, + { + "value": "angles-up", + "keywords": [ + "angles", + "up" + ] + }, + { + "value": "ankh" + }, + { + "value": "apple-whole", + "keywords": [ + "apple", + "whole" + ] + }, + { + "value": "archway" + }, + { + "value": "arrow-down", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-1-9", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-9-1", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-a-z", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-long", + "keywords": [ + "arrow", + "down", + "long" + ] + }, + { + "value": "arrow-down-short-wide", + "keywords": [ + "arrow", + "down", + "short", + "wide" + ] + }, + { + "value": "arrow-down-up-across-line", + "keywords": [ + "arrow", + "down", + "up", + "across", + "line" + ] + }, + { + "value": "arrow-down-up-lock", + "keywords": [ + "arrow", + "down", + "up", + "lock" + ] + }, + { + "value": "arrow-down-wide-short", + "keywords": [ + "arrow", + "down", + "wide", + "short" + ] + }, + { + "value": "arrow-down-z-a", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-left", + "keywords": [ + "arrow", + "left" + ] + }, + { + "value": "arrow-left-long", + "keywords": [ + "arrow", + "left", + "long" + ] + }, + { + "value": "arrow-pointer", + "keywords": [ + "arrow", + "pointer" + ] + }, + { + "value": "arrow-right", + "keywords": [ + "arrow", + "right" + ] + }, + { + "value": "arrow-right-arrow-left", + "keywords": [ + "arrow", + "right", + "arrow", + "left" + ] + }, + { + "value": "arrow-right-from-bracket", + "keywords": [ + "arrow", + "right", + "from", + "bracket" + ] + }, + { + "value": "arrow-right-long", + "keywords": [ + "arrow", + "right", + "long" + ] + }, + { + "value": "arrow-right-to-bracket", + "keywords": [ + "arrow", + "right", + "to", + "bracket" + ] + }, + { + "value": "arrow-right-to-city", + "keywords": [ + "arrow", + "right", + "to", + "city" + ] + }, + { + "value": "arrow-rotate-left", + "keywords": [ + "arrow", + "rotate", + "left" + ] + }, + { + "value": "arrow-rotate-right", + "keywords": [ + "arrow", + "rotate", + "right" + ] + }, + { + "value": "arrow-trend-down", + "keywords": [ + "arrow", + "trend", + "down" + ] + }, + { + "value": "arrow-trend-up", + "keywords": [ + "arrow", + "trend", + "up" + ] + }, + { + "value": "arrow-turn-down", + "keywords": [ + "arrow", + "turn", + "down" + ] + }, + { + "value": "arrow-turn-up", + "keywords": [ + "arrow", + "turn", + "up" + ] + }, + { + "value": "arrow-up", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-1-9", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-9-1", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-a-z", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-from-bracket", + "keywords": [ + "arrow", + "up", + "from", + "bracket" + ] + }, + { + "value": "arrow-up-from-ground-water", + "keywords": [ + "arrow", + "up", + "from", + "ground", + "water" + ] + }, + { + "value": "arrow-up-from-water-pump", + "keywords": [ + "arrow", + "up", + "from", + "water", + "pump" + ] + }, + { + "value": "arrow-up-long", + "keywords": [ + "arrow", + "up", + "long" + ] + }, + { + "value": "arrow-up-right-dots", + "keywords": [ + "arrow", + "up", + "right", + "dots" + ] + }, + { + "value": "arrow-up-right-from-square", + "keywords": [ + "arrow", + "up", + "right", + "from", + "square" + ] + }, + { + "value": "arrow-up-short-wide", + "keywords": [ + "arrow", + "up", + "short", + "wide" + ] + }, + { + "value": "arrow-up-wide-short", + "keywords": [ + "arrow", + "up", + "wide", + "short" + ] + }, + { + "value": "arrow-up-z-a", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrows-down-to-line", + "keywords": [ + "arrows", + "down", + "to", + "line" + ] + }, + { + "value": "arrows-down-to-people", + "keywords": [ + "arrows", + "down", + "to", + "people" + ] + }, + { + "value": "arrows-left-right", + "keywords": [ + "arrows", + "left", + "right" + ] + }, + { + "value": "arrows-left-right-to-line", + "keywords": [ + "arrows", + "left", + "right", + "to", + "line" + ] + }, + { + "value": "arrows-rotate", + "keywords": [ + "arrows", + "rotate" + ] + }, + { + "value": "arrows-spin", + "keywords": [ + "arrows", + "spin" + ] + }, + { + "value": "arrows-split-up-and-left", + "keywords": [ + "arrows", + "split", + "up", + "and", + "left" + ] + }, + { + "value": "arrows-to-circle", + "keywords": [ + "arrows", + "to", + "circle" + ] + }, + { + "value": "arrows-to-dot", + "keywords": [ + "arrows", + "to", + "dot" + ] + }, + { + "value": "arrows-to-eye", + "keywords": [ + "arrows", + "to", + "eye" + ] + }, + { + "value": "arrows-turn-right", + "keywords": [ + "arrows", + "turn", + "right" + ] + }, + { + "value": "arrows-turn-to-dots", + "keywords": [ + "arrows", + "turn", + "to", + "dots" + ] + }, + { + "value": "arrows-up-down", + "keywords": [ + "arrows", + "up", + "down" + ] + }, + { + "value": "arrows-up-down-left-right", + "keywords": [ + "arrows", + "up", + "down", + "left", + "right" + ] + }, + { + "value": "arrows-up-to-line", + "keywords": [ + "arrows", + "up", + "to", + "line" + ] + }, + { + "value": "asterisk" + }, + { + "value": "at" + }, + { + "value": "atom" + }, + { + "value": "audio-description", + "keywords": [ + "audio", + "description" + ] + }, + { + "value": "austral-sign", + "keywords": [ + "austral", + "sign" + ] + }, + { + "value": "award" + }, + { + "value": "b" + }, + { + "value": "baby" + }, + { + "value": "baby-carriage", + "keywords": [ + "baby", + "carriage" + ] + }, + { + "value": "backward" + }, + { + "value": "backward-fast", + "keywords": [ + "backward", + "fast" + ] + }, + { + "value": "backward-step", + "keywords": [ + "backward", + "step" + ] + }, + { + "value": "bacon" + }, + { + "value": "bacteria" + }, + { + "value": "bacterium" + }, + { + "value": "bag-shopping", + "keywords": [ + "bag", + "shopping" + ] + }, + { + "value": "bahai" + }, + { + "value": "baht-sign", + "keywords": [ + "baht", + "sign" + ] + }, + { + "value": "ban" + }, + { + "value": "ban-smoking", + "keywords": [ + "ban", + "smoking" + ] + }, + { + "value": "bandage" + }, + { + "value": "bangladeshi-taka-sign", + "keywords": [ + "bangladeshi", + "taka", + "sign" + ] + }, + { + "value": "barcode" + }, + { + "value": "bars" + }, + { + "value": "bars-progress", + "keywords": [ + "bars", + "progress" + ] + }, + { + "value": "bars-staggered", + "keywords": [ + "bars", + "staggered" + ] + }, + { + "value": "baseball" + }, + { + "value": "baseball-bat-ball", + "keywords": [ + "baseball", + "bat", + "ball" + ] + }, + { + "value": "basket-shopping", + "keywords": [ + "basket", + "shopping" + ] + }, + { + "value": "basketball" + }, + { + "value": "bath" + }, + { + "value": "battery-empty", + "keywords": [ + "battery", + "empty" + ] + }, + { + "value": "battery-full", + "keywords": [ + "battery", + "full" + ] + }, + { + "value": "battery-half", + "keywords": [ + "battery", + "half" + ] + }, + { + "value": "battery-quarter", + "keywords": [ + "battery", + "quarter" + ] + }, + { + "value": "battery-three-quarters", + "keywords": [ + "battery", + "three", + "quarters" + ] + }, + { + "value": "bed" + }, + { + "value": "bed-pulse", + "keywords": [ + "bed", + "pulse" + ] + }, + { + "value": "beer-mug-empty", + "keywords": [ + "beer", + "mug", + "empty" + ] + }, + { + "value": "bell" + }, + { + "value": "bell-concierge", + "keywords": [ + "bell", + "concierge" + ] + }, + { + "value": "bell-slash", + "keywords": [ + "bell", + "slash" + ] + }, + { + "value": "bezier-curve", + "keywords": [ + "bezier", + "curve" + ] + }, + { + "value": "bicycle" + }, + { + "value": "binoculars" + }, + { + "value": "biohazard" + }, + { + "value": "bitcoin-sign", + "keywords": [ + "bitcoin", + "sign" + ] + }, + { + "value": "blender" + }, + { + "value": "blender-phone", + "keywords": [ + "blender", + "phone" + ] + }, + { + "value": "blog" + }, + { + "value": "bold" + }, + { + "value": "bolt" + }, + { + "value": "bolt-lightning", + "keywords": [ + "bolt", + "lightning" + ] + }, + { + "value": "bomb" + }, + { + "value": "bone" + }, + { + "value": "bong" + }, + { + "value": "book" + }, + { + "value": "book-atlas", + "keywords": [ + "book", + "atlas" + ] + }, + { + "value": "book-bible", + "keywords": [ + "book", + "bible" + ] + }, + { + "value": "book-bookmark", + "keywords": [ + "book", + "bookmark" + ] + }, + { + "value": "book-journal-whills", + "keywords": [ + "book", + "journal", + "whills" + ] + }, + { + "value": "book-medical", + "keywords": [ + "book", + "medical" + ] + }, + { + "value": "book-open", + "keywords": [ + "book", + "open" + ] + }, + { + "value": "book-open-reader", + "keywords": [ + "book", + "open", + "reader" + ] + }, + { + "value": "book-quran", + "keywords": [ + "book", + "quran" + ] + }, + { + "value": "book-skull", + "keywords": [ + "book", + "skull" + ] + }, + { + "value": "book-tanakh", + "keywords": [ + "book", + "tanakh" + ] + }, + { + "value": "bookmark" + }, + { + "value": "border-all", + "keywords": [ + "border", + "all" + ] + }, + { + "value": "border-none", + "keywords": [ + "border", + "none" + ] + }, + { + "value": "border-top-left", + "keywords": [ + "border", + "top", + "left" + ] + }, + { + "value": "bore-hole", + "keywords": [ + "bore", + "hole" + ] + }, + { + "value": "bottle-droplet", + "keywords": [ + "bottle", + "droplet" + ] + }, + { + "value": "bottle-water", + "keywords": [ + "bottle", + "water" + ] + }, + { + "value": "bowl-food", + "keywords": [ + "bowl", + "food" + ] + }, + { + "value": "bowl-rice", + "keywords": [ + "bowl", + "rice" + ] + }, + { + "value": "bowling-ball", + "keywords": [ + "bowling", + "ball" + ] + }, + { + "value": "box" + }, + { + "value": "box-archive", + "keywords": [ + "box", + "archive" + ] + }, + { + "value": "box-open", + "keywords": [ + "box", + "open" + ] + }, + { + "value": "box-tissue", + "keywords": [ + "box", + "tissue" + ] + }, + { + "value": "boxes-packing", + "keywords": [ + "boxes", + "packing" + ] + }, + { + "value": "boxes-stacked", + "keywords": [ + "boxes", + "stacked" + ] + }, + { + "value": "braille" + }, + { + "value": "brain" + }, + { + "value": "brazilian-real-sign", + "keywords": [ + "brazilian", + "real", + "sign" + ] + }, + { + "value": "bread-slice", + "keywords": [ + "bread", + "slice" + ] + }, + { + "value": "bridge" + }, + { + "value": "bridge-circle-check", + "keywords": [ + "bridge", + "circle", + "check" + ] + }, + { + "value": "bridge-circle-exclamation", + "keywords": [ + "bridge", + "circle", + "exclamation" + ] + }, + { + "value": "bridge-circle-xmark", + "keywords": [ + "bridge", + "circle", + "xmark" + ] + }, + { + "value": "bridge-lock", + "keywords": [ + "bridge", + "lock" + ] + }, + { + "value": "bridge-water", + "keywords": [ + "bridge", + "water" + ] + }, + { + "value": "briefcase" + }, + { + "value": "briefcase-medical", + "keywords": [ + "briefcase", + "medical" + ] + }, + { + "value": "broom" + }, + { + "value": "broom-ball", + "keywords": [ + "broom", + "ball" + ] + }, + { + "value": "brush" + }, + { + "value": "bucket" + }, + { + "value": "bug" + }, + { + "value": "bug-slash", + "keywords": [ + "bug", + "slash" + ] + }, + { + "value": "bugs" + }, + { + "value": "building" + }, + { + "value": "building-circle-arrow-right", + "keywords": [ + "building", + "circle", + "arrow", + "right" + ] + }, + { + "value": "building-circle-check", + "keywords": [ + "building", + "circle", + "check" + ] + }, + { + "value": "building-circle-exclamation", + "keywords": [ + "building", + "circle", + "exclamation" + ] + }, + { + "value": "building-circle-xmark", + "keywords": [ + "building", + "circle", + "xmark" + ] + }, + { + "value": "building-columns", + "keywords": [ + "building", + "columns" + ] + }, + { + "value": "building-flag", + "keywords": [ + "building", + "flag" + ] + }, + { + "value": "building-lock", + "keywords": [ + "building", + "lock" + ] + }, + { + "value": "building-ngo", + "keywords": [ + "building", + "ngo" + ] + }, + { + "value": "building-shield", + "keywords": [ + "building", + "shield" + ] + }, + { + "value": "building-un", + "keywords": [ + "building", + "un" + ] + }, + { + "value": "building-user", + "keywords": [ + "building", + "user" + ] + }, + { + "value": "building-wheat", + "keywords": [ + "building", + "wheat" + ] + }, + { + "value": "bullhorn" + }, + { + "value": "bullseye" + }, + { + "value": "burger" + }, + { + "value": "burst" + }, + { + "value": "bus" + }, + { + "value": "bus-simple", + "keywords": [ + "bus", + "simple" + ] + }, + { + "value": "business-time", + "keywords": [ + "business", + "time" + ] + }, + { + "value": "c" + }, + { + "value": "cable-car", + "keywords": [ + "cable", + "car" + ] + }, + { + "value": "cake-candles", + "keywords": [ + "cake", + "candles" + ] + }, + { + "value": "calculator" + }, + { + "value": "calendar" + }, + { + "value": "calendar-check", + "keywords": [ + "calendar", + "check" + ] + }, + { + "value": "calendar-day", + "keywords": [ + "calendar", + "day" + ] + }, + { + "value": "calendar-days", + "keywords": [ + "calendar", + "days" + ] + }, + { + "value": "calendar-minus", + "keywords": [ + "calendar", + "minus" + ] + }, + { + "value": "calendar-plus", + "keywords": [ + "calendar", + "plus" + ] + }, + { + "value": "calendar-week", + "keywords": [ + "calendar", + "week" + ] + }, + { + "value": "calendar-xmark", + "keywords": [ + "calendar", + "xmark" + ] + }, + { + "value": "camera" + }, + { + "value": "camera-retro", + "keywords": [ + "camera", + "retro" + ] + }, + { + "value": "camera-rotate", + "keywords": [ + "camera", + "rotate" + ] + }, + { + "value": "campground" + }, + { + "value": "candy-cane", + "keywords": [ + "candy", + "cane" + ] + }, + { + "value": "cannabis" + }, + { + "value": "capsules" + }, + { + "value": "car" + }, + { + "value": "car-battery", + "keywords": [ + "car", + "battery" + ] + }, + { + "value": "car-burst", + "keywords": [ + "car", + "burst" + ] + }, + { + "value": "car-on", + "keywords": [ + "car", + "on" + ] + }, + { + "value": "car-rear", + "keywords": [ + "car", + "rear" + ] + }, + { + "value": "car-side", + "keywords": [ + "car", + "side" + ] + }, + { + "value": "car-tunnel", + "keywords": [ + "car", + "tunnel" + ] + }, + { + "value": "caravan" + }, + { + "value": "caret-down", + "keywords": [ + "caret", + "down" + ] + }, + { + "value": "caret-left", + "keywords": [ + "caret", + "left" + ] + }, + { + "value": "caret-right", + "keywords": [ + "caret", + "right" + ] + }, + { + "value": "caret-up", + "keywords": [ + "caret", + "up" + ] + }, + { + "value": "carrot" + }, + { + "value": "cart-arrow-down", + "keywords": [ + "cart", + "arrow", + "down" + ] + }, + { + "value": "cart-flatbed", + "keywords": [ + "cart", + "flatbed" + ] + }, + { + "value": "cart-flatbed-suitcase", + "keywords": [ + "cart", + "flatbed", + "suitcase" + ] + }, + { + "value": "cart-plus", + "keywords": [ + "cart", + "plus" + ] + }, + { + "value": "cart-shopping", + "keywords": [ + "cart", + "shopping" + ] + }, + { + "value": "cash-register", + "keywords": [ + "cash", + "register" + ] + }, + { + "value": "cat" + }, + { + "value": "cedi-sign", + "keywords": [ + "cedi", + "sign" + ] + }, + { + "value": "cent-sign", + "keywords": [ + "cent", + "sign" + ] + }, + { + "value": "certificate" + }, + { + "value": "chair" + }, + { + "value": "chalkboard" + }, + { + "value": "chalkboard-user", + "keywords": [ + "chalkboard", + "user" + ] + }, + { + "value": "champagne-glasses", + "keywords": [ + "champagne", + "glasses" + ] + }, + { + "value": "charging-station", + "keywords": [ + "charging", + "station" + ] + }, + { + "value": "chart-area", + "keywords": [ + "chart", + "area" + ] + }, + { + "value": "chart-bar", + "keywords": [ + "chart", + "bar" + ] + }, + { + "value": "chart-column", + "keywords": [ + "chart", + "column" + ] + }, + { + "value": "chart-gantt", + "keywords": [ + "chart", + "gantt" + ] + }, + { + "value": "chart-line", + "keywords": [ + "chart", + "line" + ] + }, + { + "value": "chart-pie", + "keywords": [ + "chart", + "pie" + ] + }, + { + "value": "chart-simple", + "keywords": [ + "chart", + "simple" + ] + }, + { + "value": "check" + }, + { + "value": "check-double", + "keywords": [ + "check", + "double" + ] + }, + { + "value": "check-to-slot", + "keywords": [ + "check", + "to", + "slot" + ] + }, + { + "value": "cheese" + }, + { + "value": "chess" + }, + { + "value": "chess-bishop", + "keywords": [ + "chess", + "bishop" + ] + }, + { + "value": "chess-board", + "keywords": [ + "chess", + "board" + ] + }, + { + "value": "chess-king", + "keywords": [ + "chess", + "king" + ] + }, + { + "value": "chess-knight", + "keywords": [ + "chess", + "knight" + ] + }, + { + "value": "chess-pawn", + "keywords": [ + "chess", + "pawn" + ] + }, + { + "value": "chess-queen", + "keywords": [ + "chess", + "queen" + ] + }, + { + "value": "chess-rook", + "keywords": [ + "chess", + "rook" + ] + }, + { + "value": "chevron-down", + "keywords": [ + "chevron", + "down" + ] + }, + { + "value": "chevron-left", + "keywords": [ + "chevron", + "left" + ] + }, + { + "value": "chevron-right", + "keywords": [ + "chevron", + "right" + ] + }, + { + "value": "chevron-up", + "keywords": [ + "chevron", + "up" + ] + }, + { + "value": "child" + }, + { + "value": "child-combatant", + "keywords": [ + "child", + "combatant" + ] + }, + { + "value": "child-dress", + "keywords": [ + "child", + "dress" + ] + }, + { + "value": "child-reaching", + "keywords": [ + "child", + "reaching" + ] + }, + { + "value": "children" + }, + { + "value": "church" + }, + { + "value": "circle" + }, + { + "value": "circle-arrow-down", + "keywords": [ + "circle", + "arrow", + "down" + ] + }, + { + "value": "circle-arrow-left", + "keywords": [ + "circle", + "arrow", + "left" + ] + }, + { + "value": "circle-arrow-right", + "keywords": [ + "circle", + "arrow", + "right" + ] + }, + { + "value": "circle-arrow-up", + "keywords": [ + "circle", + "arrow", + "up" + ] + }, + { + "value": "circle-check", + "keywords": [ + "circle", + "check" + ] + }, + { + "value": "circle-chevron-down", + "keywords": [ + "circle", + "chevron", + "down" + ] + }, + { + "value": "circle-chevron-left", + "keywords": [ + "circle", + "chevron", + "left" + ] + }, + { + "value": "circle-chevron-right", + "keywords": [ + "circle", + "chevron", + "right" + ] + }, + { + "value": "circle-chevron-up", + "keywords": [ + "circle", + "chevron", + "up" + ] + }, + { + "value": "circle-dollar-to-slot", + "keywords": [ + "circle", + "dollar", + "to", + "slot" + ] + }, + { + "value": "circle-dot", + "keywords": [ + "circle", + "dot" + ] + }, + { + "value": "circle-down", + "keywords": [ + "circle", + "down" + ] + }, + { + "value": "circle-exclamation", + "keywords": [ + "circle", + "exclamation" + ] + }, + { + "value": "circle-h" + }, + { + "value": "circle-half-stroke", + "keywords": [ + "circle", + "half", + "stroke" + ] + }, + { + "value": "circle-info", + "keywords": [ + "circle", + "info" + ] + }, + { + "value": "circle-left", + "keywords": [ + "circle", + "left" + ] + }, + { + "value": "circle-minus", + "keywords": [ + "circle", + "minus" + ] + }, + { + "value": "circle-nodes", + "keywords": [ + "circle", + "nodes" + ] + }, + { + "value": "circle-notch", + "keywords": [ + "circle", + "notch" + ] + }, + { + "value": "circle-pause", + "keywords": [ + "circle", + "pause" + ] + }, + { + "value": "circle-play", + "keywords": [ + "circle", + "play" + ] + }, + { + "value": "circle-plus", + "keywords": [ + "circle", + "plus" + ] + }, + { + "value": "circle-question", + "keywords": [ + "circle", + "question" + ] + }, + { + "value": "circle-radiation", + "keywords": [ + "circle", + "radiation" + ] + }, + { + "value": "circle-right", + "keywords": [ + "circle", + "right" + ] + }, + { + "value": "circle-stop", + "keywords": [ + "circle", + "stop" + ] + }, + { + "value": "circle-up", + "keywords": [ + "circle", + "up" + ] + }, + { + "value": "circle-user", + "keywords": [ + "circle", + "user" + ] + }, + { + "value": "circle-xmark", + "keywords": [ + "circle", + "xmark" + ] + }, + { + "value": "city" + }, + { + "value": "clapperboard" + }, + { + "value": "clipboard" + }, + { + "value": "clipboard-check", + "keywords": [ + "clipboard", + "check" + ] + }, + { + "value": "clipboard-list", + "keywords": [ + "clipboard", + "list" + ] + }, + { + "value": "clipboard-question", + "keywords": [ + "clipboard", + "question" + ] + }, + { + "value": "clipboard-user", + "keywords": [ + "clipboard", + "user" + ] + }, + { + "value": "clock" + }, + { + "value": "clock-rotate-left", + "keywords": [ + "clock", + "rotate", + "left" + ] + }, + { + "value": "clone" + }, + { + "value": "closed-captioning", + "keywords": [ + "closed", + "captioning" + ] + }, + { + "value": "cloud" + }, + { + "value": "cloud-arrow-down", + "keywords": [ + "cloud", + "arrow", + "down" + ] + }, + { + "value": "cloud-arrow-up", + "keywords": [ + "cloud", + "arrow", + "up" + ] + }, + { + "value": "cloud-bolt", + "keywords": [ + "cloud", + "bolt" + ] + }, + { + "value": "cloud-meatball", + "keywords": [ + "cloud", + "meatball" + ] + }, + { + "value": "cloud-moon", + "keywords": [ + "cloud", + "moon" + ] + }, + { + "value": "cloud-moon-rain", + "keywords": [ + "cloud", + "moon", + "rain" + ] + }, + { + "value": "cloud-rain", + "keywords": [ + "cloud", + "rain" + ] + }, + { + "value": "cloud-showers-heavy", + "keywords": [ + "cloud", + "showers", + "heavy" + ] + }, + { + "value": "cloud-showers-water", + "keywords": [ + "cloud", + "showers", + "water" + ] + }, + { + "value": "cloud-sun", + "keywords": [ + "cloud", + "sun" + ] + }, + { + "value": "cloud-sun-rain", + "keywords": [ + "cloud", + "sun", + "rain" + ] + }, + { + "value": "clover" + }, + { + "value": "code" + }, + { + "value": "code-branch", + "keywords": [ + "code", + "branch" + ] + }, + { + "value": "code-commit", + "keywords": [ + "code", + "commit" + ] + }, + { + "value": "code-compare", + "keywords": [ + "code", + "compare" + ] + }, + { + "value": "code-fork", + "keywords": [ + "code", + "fork" + ] + }, + { + "value": "code-merge", + "keywords": [ + "code", + "merge" + ] + }, + { + "value": "code-pull-request", + "keywords": [ + "code", + "pull", + "request" + ] + }, + { + "value": "coins" + }, + { + "value": "colon-sign", + "keywords": [ + "colon", + "sign" + ] + }, + { + "value": "comment" + }, + { + "value": "comment-dollar", + "keywords": [ + "comment", + "dollar" + ] + }, + { + "value": "comment-dots", + "keywords": [ + "comment", + "dots" + ] + }, + { + "value": "comment-medical", + "keywords": [ + "comment", + "medical" + ] + }, + { + "value": "comment-slash", + "keywords": [ + "comment", + "slash" + ] + }, + { + "value": "comment-sms", + "keywords": [ + "comment", + "sms" + ] + }, + { + "value": "comments" + }, + { + "value": "comments-dollar", + "keywords": [ + "comments", + "dollar" + ] + }, + { + "value": "compact-disc", + "keywords": [ + "compact", + "disc" + ] + }, + { + "value": "compass" + }, + { + "value": "compass-drafting", + "keywords": [ + "compass", + "drafting" + ] + }, + { + "value": "compress" + }, + { + "value": "computer" + }, + { + "value": "computer-mouse", + "keywords": [ + "computer", + "mouse" + ] + }, + { + "value": "cookie" + }, + { + "value": "cookie-bite", + "keywords": [ + "cookie", + "bite" + ] + }, + { + "value": "copy" + }, + { + "value": "copyright" + }, + { + "value": "couch" + }, + { + "value": "cow" + }, + { + "value": "credit-card", + "keywords": [ + "credit", + "card" + ] + }, + { + "value": "crop" + }, + { + "value": "crop-simple", + "keywords": [ + "crop", + "simple" + ] + }, + { + "value": "cross" + }, + { + "value": "crosshairs" + }, + { + "value": "crow" + }, + { + "value": "crown" + }, + { + "value": "crutch" + }, + { + "value": "cruzeiro-sign", + "keywords": [ + "cruzeiro", + "sign" + ] + }, + { + "value": "cube" + }, + { + "value": "cubes" + }, + { + "value": "cubes-stacked", + "keywords": [ + "cubes", + "stacked" + ] + }, + { + "value": "d" + }, + { + "value": "database" + }, + { + "value": "delete-left", + "keywords": [ + "delete", + "left" + ] + }, + { + "value": "democrat" + }, + { + "value": "desktop" + }, + { + "value": "dharmachakra" + }, + { + "value": "diagram-next", + "keywords": [ + "diagram", + "next" + ] + }, + { + "value": "diagram-predecessor", + "keywords": [ + "diagram", + "predecessor" + ] + }, + { + "value": "diagram-project", + "keywords": [ + "diagram", + "project" + ] + }, + { + "value": "diagram-successor", + "keywords": [ + "diagram", + "successor" + ] + }, + { + "value": "diamond" + }, + { + "value": "diamond-turn-right", + "keywords": [ + "diamond", + "turn", + "right" + ] + }, + { + "value": "dice" + }, + { + "value": "dice-d20", + "keywords": [ + "dice", + "d20" + ] + }, + { + "value": "dice-d6", + "keywords": [ + "dice", + "d6" + ] + }, + { + "value": "dice-five", + "keywords": [ + "dice", + "five" + ] + }, + { + "value": "dice-four", + "keywords": [ + "dice", + "four" + ] + }, + { + "value": "dice-one", + "keywords": [ + "dice", + "one" + ] + }, + { + "value": "dice-six", + "keywords": [ + "dice", + "six" + ] + }, + { + "value": "dice-three", + "keywords": [ + "dice", + "three" + ] + }, + { + "value": "dice-two", + "keywords": [ + "dice", + "two" + ] + }, + { + "value": "disease" + }, + { + "value": "display" + }, + { + "value": "divide" + }, + { + "value": "dna" + }, + { + "value": "dog" + }, + { + "value": "dollar-sign", + "keywords": [ + "dollar", + "sign" + ] + }, + { + "value": "dolly" + }, + { + "value": "dong-sign", + "keywords": [ + "dong", + "sign" + ] + }, + { + "value": "door-closed", + "keywords": [ + "door", + "closed" + ] + }, + { + "value": "door-open", + "keywords": [ + "door", + "open" + ] + }, + { + "value": "dove" + }, + { + "value": "down-left-and-up-right-to-center", + "keywords": [ + "down", + "left", + "and", + "up", + "right", + "to", + "center" + ] + }, + { + "value": "down-long", + "keywords": [ + "down", + "long" + ] + }, + { + "value": "download" + }, + { + "value": "dragon" + }, + { + "value": "draw-polygon", + "keywords": [ + "draw", + "polygon" + ] + }, + { + "value": "droplet" + }, + { + "value": "droplet-slash", + "keywords": [ + "droplet", + "slash" + ] + }, + { + "value": "drum" + }, + { + "value": "drum-steelpan", + "keywords": [ + "drum", + "steelpan" + ] + }, + { + "value": "drumstick-bite", + "keywords": [ + "drumstick", + "bite" + ] + }, + { + "value": "dumbbell" + }, + { + "value": "dumpster" + }, + { + "value": "dumpster-fire", + "keywords": [ + "dumpster", + "fire" + ] + }, + { + "value": "dungeon" + }, + { + "value": "e" + }, + { + "value": "ear-deaf", + "keywords": [ + "ear", + "deaf" + ] + }, + { + "value": "ear-listen", + "keywords": [ + "ear", + "listen" + ] + }, + { + "value": "earth-africa", + "keywords": [ + "earth", + "africa" + ] + }, + { + "value": "earth-americas", + "keywords": [ + "earth", + "americas" + ] + }, + { + "value": "earth-asia", + "keywords": [ + "earth", + "asia" + ] + }, + { + "value": "earth-europe", + "keywords": [ + "earth", + "europe" + ] + }, + { + "value": "earth-oceania", + "keywords": [ + "earth", + "oceania" + ] + }, + { + "value": "egg" + }, + { + "value": "eject" + }, + { + "value": "elevator" + }, + { + "value": "ellipsis" + }, + { + "value": "ellipsis-vertical", + "keywords": [ + "ellipsis", + "vertical" + ] + }, + { + "value": "envelope" + }, + { + "value": "envelope-circle-check", + "keywords": [ + "envelope", + "circle", + "check" + ] + }, + { + "value": "envelope-open", + "keywords": [ + "envelope", + "open" + ] + }, + { + "value": "envelope-open-text", + "keywords": [ + "envelope", + "open", + "text" + ] + }, + { + "value": "envelopes-bulk", + "keywords": [ + "envelopes", + "bulk" + ] + }, + { + "value": "equals" + }, + { + "value": "eraser" + }, + { + "value": "ethernet" + }, + { + "value": "euro-sign", + "keywords": [ + "euro", + "sign" + ] + }, + { + "value": "exclamation" + }, + { + "value": "expand" + }, + { + "value": "explosion" + }, + { + "value": "eye" + }, + { + "value": "eye-dropper", + "keywords": [ + "eye", + "dropper" + ] + }, + { + "value": "eye-low-vision", + "keywords": [ + "eye", + "low", + "vision" + ] + }, + { + "value": "eye-slash", + "keywords": [ + "eye", + "slash" + ] + }, + { + "value": "f" + }, + { + "value": "face-angry", + "keywords": [ + "face", + "angry" + ] + }, + { + "value": "face-dizzy", + "keywords": [ + "face", + "dizzy" + ] + }, + { + "value": "face-flushed", + "keywords": [ + "face", + "flushed" + ] + }, + { + "value": "face-frown", + "keywords": [ + "face", + "frown" + ] + }, + { + "value": "face-frown-open", + "keywords": [ + "face", + "frown", + "open" + ] + }, + { + "value": "face-grimace", + "keywords": [ + "face", + "grimace" + ] + }, + { + "value": "face-grin", + "keywords": [ + "face", + "grin" + ] + }, + { + "value": "face-grin-beam", + "keywords": [ + "face", + "grin", + "beam" + ] + }, + { + "value": "face-grin-beam-sweat", + "keywords": [ + "face", + "grin", + "beam", + "sweat" + ] + }, + { + "value": "face-grin-hearts", + "keywords": [ + "face", + "grin", + "hearts" + ] + }, + { + "value": "face-grin-squint", + "keywords": [ + "face", + "grin", + "squint" + ] + }, + { + "value": "face-grin-squint-tears", + "keywords": [ + "face", + "grin", + "squint", + "tears" + ] + }, + { + "value": "face-grin-stars", + "keywords": [ + "face", + "grin", + "stars" + ] + }, + { + "value": "face-grin-tears", + "keywords": [ + "face", + "grin", + "tears" + ] + }, + { + "value": "face-grin-tongue", + "keywords": [ + "face", + "grin", + "tongue" + ] + }, + { + "value": "face-grin-tongue-squint", + "keywords": [ + "face", + "grin", + "tongue", + "squint" + ] + }, + { + "value": "face-grin-tongue-wink", + "keywords": [ + "face", + "grin", + "tongue", + "wink" + ] + }, + { + "value": "face-grin-wide", + "keywords": [ + "face", + "grin", + "wide" + ] + }, + { + "value": "face-grin-wink", + "keywords": [ + "face", + "grin", + "wink" + ] + }, + { + "value": "face-kiss", + "keywords": [ + "face", + "kiss" + ] + }, + { + "value": "face-kiss-beam", + "keywords": [ + "face", + "kiss", + "beam" + ] + }, + { + "value": "face-kiss-wink-heart", + "keywords": [ + "face", + "kiss", + "wink", + "heart" + ] + }, + { + "value": "face-laugh", + "keywords": [ + "face", + "laugh" + ] + }, + { + "value": "face-laugh-beam", + "keywords": [ + "face", + "laugh", + "beam" + ] + }, + { + "value": "face-laugh-squint", + "keywords": [ + "face", + "laugh", + "squint" + ] + }, + { + "value": "face-laugh-wink", + "keywords": [ + "face", + "laugh", + "wink" + ] + }, + { + "value": "face-meh", + "keywords": [ + "face", + "meh" + ] + }, + { + "value": "face-meh-blank", + "keywords": [ + "face", + "meh", + "blank" + ] + }, + { + "value": "face-rolling-eyes", + "keywords": [ + "face", + "rolling", + "eyes" + ] + }, + { + "value": "face-sad-cry", + "keywords": [ + "face", + "sad", + "cry" + ] + }, + { + "value": "face-sad-tear", + "keywords": [ + "face", + "sad", + "tear" + ] + }, + { + "value": "face-smile", + "keywords": [ + "face", + "smile" + ] + }, + { + "value": "face-smile-beam", + "keywords": [ + "face", + "smile", + "beam" + ] + }, + { + "value": "face-smile-wink", + "keywords": [ + "face", + "smile", + "wink" + ] + }, + { + "value": "face-surprise", + "keywords": [ + "face", + "surprise" + ] + }, + { + "value": "face-tired", + "keywords": [ + "face", + "tired" + ] + }, + { + "value": "fan" + }, + { + "value": "faucet" + }, + { + "value": "faucet-drip", + "keywords": [ + "faucet", + "drip" + ] + }, + { + "value": "fax" + }, + { + "value": "feather" + }, + { + "value": "feather-pointed", + "keywords": [ + "feather", + "pointed" + ] + }, + { + "value": "ferry" + }, + { + "value": "file" + }, + { + "value": "file-arrow-down", + "keywords": [ + "file", + "arrow", + "down" + ] + }, + { + "value": "file-arrow-up", + "keywords": [ + "file", + "arrow", + "up" + ] + }, + { + "value": "file-audio", + "keywords": [ + "file", + "audio" + ] + }, + { + "value": "file-circle-check", + "keywords": [ + "file", + "circle", + "check" + ] + }, + { + "value": "file-circle-exclamation", + "keywords": [ + "file", + "circle", + "exclamation" + ] + }, + { + "value": "file-circle-minus", + "keywords": [ + "file", + "circle", + "minus" + ] + }, + { + "value": "file-circle-plus", + "keywords": [ + "file", + "circle", + "plus" + ] + }, + { + "value": "file-circle-question", + "keywords": [ + "file", + "circle", + "question" + ] + }, + { + "value": "file-circle-xmark", + "keywords": [ + "file", + "circle", + "xmark" + ] + }, + { + "value": "file-code", + "keywords": [ + "file", + "code" + ] + }, + { + "value": "file-contract", + "keywords": [ + "file", + "contract" + ] + }, + { + "value": "file-csv", + "keywords": [ + "file", + "csv" + ] + }, + { + "value": "file-excel", + "keywords": [ + "file", + "excel" + ] + }, + { + "value": "file-export", + "keywords": [ + "file", + "export" + ] + }, + { + "value": "file-image", + "keywords": [ + "file", + "image" + ] + }, + { + "value": "file-import", + "keywords": [ + "file", + "import" + ] + }, + { + "value": "file-invoice", + "keywords": [ + "file", + "invoice" + ] + }, + { + "value": "file-invoice-dollar", + "keywords": [ + "file", + "invoice", + "dollar" + ] + }, + { + "value": "file-lines", + "keywords": [ + "file", + "lines" + ] + }, + { + "value": "file-medical", + "keywords": [ + "file", + "medical" + ] + }, + { + "value": "file-pdf", + "keywords": [ + "file", + "pdf" + ] + }, + { + "value": "file-pen", + "keywords": [ + "file", + "pen" + ] + }, + { + "value": "file-powerpoint", + "keywords": [ + "file", + "powerpoint" + ] + }, + { + "value": "file-prescription", + "keywords": [ + "file", + "prescription" + ] + }, + { + "value": "file-shield", + "keywords": [ + "file", + "shield" + ] + }, + { + "value": "file-signature", + "keywords": [ + "file", + "signature" + ] + }, + { + "value": "file-video", + "keywords": [ + "file", + "video" + ] + }, + { + "value": "file-waveform", + "keywords": [ + "file", + "waveform" + ] + }, + { + "value": "file-word", + "keywords": [ + "file", + "word" + ] + }, + { + "value": "file-zipper", + "keywords": [ + "file", + "zipper" + ] + }, + { + "value": "fill" + }, + { + "value": "fill-drip", + "keywords": [ + "fill", + "drip" + ] + }, + { + "value": "film" + }, + { + "value": "filter" + }, + { + "value": "filter-circle-dollar", + "keywords": [ + "filter", + "circle", + "dollar" + ] + }, + { + "value": "filter-circle-xmark", + "keywords": [ + "filter", + "circle", + "xmark" + ] + }, + { + "value": "fingerprint" + }, + { + "value": "fire" + }, + { + "value": "fire-burner", + "keywords": [ + "fire", + "burner" + ] + }, + { + "value": "fire-extinguisher", + "keywords": [ + "fire", + "extinguisher" + ] + }, + { + "value": "fire-flame-curved", + "keywords": [ + "fire", + "flame", + "curved" + ] + }, + { + "value": "fire-flame-simple", + "keywords": [ + "fire", + "flame", + "simple" + ] + }, + { + "value": "fish" + }, + { + "value": "fish-fins", + "keywords": [ + "fish", + "fins" + ] + }, + { + "value": "flag" + }, + { + "value": "flag-checkered", + "keywords": [ + "flag", + "checkered" + ] + }, + { + "value": "flag-usa", + "keywords": [ + "flag", + "usa" + ] + }, + { + "value": "flask" + }, + { + "value": "flask-vial", + "keywords": [ + "flask", + "vial" + ] + }, + { + "value": "floppy-disk", + "keywords": [ + "floppy", + "disk" + ] + }, + { + "value": "florin-sign", + "keywords": [ + "florin", + "sign" + ] + }, + { + "value": "folder" + }, + { + "value": "folder-closed", + "keywords": [ + "folder", + "closed" + ] + }, + { + "value": "folder-minus", + "keywords": [ + "folder", + "minus" + ] + }, + { + "value": "folder-open", + "keywords": [ + "folder", + "open" + ] + }, + { + "value": "folder-plus", + "keywords": [ + "folder", + "plus" + ] + }, + { + "value": "folder-tree", + "keywords": [ + "folder", + "tree" + ] + }, + { + "value": "font" + }, + { + "value": "font-awesome", + "keywords": [ + "font", + "awesome" + ] + }, + { + "value": "football" + }, + { + "value": "forward" + }, + { + "value": "forward-fast", + "keywords": [ + "forward", + "fast" + ] + }, + { + "value": "forward-step", + "keywords": [ + "forward", + "step" + ] + }, + { + "value": "franc-sign", + "keywords": [ + "franc", + "sign" + ] + }, + { + "value": "frog" + }, + { + "value": "futbol" + }, + { + "value": "g" + }, + { + "value": "gamepad" + }, + { + "value": "gas-pump", + "keywords": [ + "gas", + "pump" + ] + }, + { + "value": "gauge" + }, + { + "value": "gauge-high", + "keywords": [ + "gauge", + "high" + ] + }, + { + "value": "gauge-simple", + "keywords": [ + "gauge", + "simple" + ] + }, + { + "value": "gauge-simple-high", + "keywords": [ + "gauge", + "simple", + "high" + ] + }, + { + "value": "gavel" + }, + { + "value": "gear" + }, + { + "value": "gears" + }, + { + "value": "gem" + }, + { + "value": "genderless" + }, + { + "value": "ghost" + }, + { + "value": "gift" + }, + { + "value": "gifts" + }, + { + "value": "glass-water", + "keywords": [ + "glass", + "water" + ] + }, + { + "value": "glass-water-droplet", + "keywords": [ + "glass", + "water", + "droplet" + ] + }, + { + "value": "glasses" + }, + { + "value": "globe" + }, + { + "value": "golf-ball-tee", + "keywords": [ + "golf", + "ball", + "tee" + ] + }, + { + "value": "gopuram" + }, + { + "value": "graduation-cap", + "keywords": [ + "graduation", + "cap" + ] + }, + { + "value": "greater-than", + "keywords": [ + "greater", + "than" + ] + }, + { + "value": "greater-than-equal", + "keywords": [ + "greater", + "than", + "equal" + ] + }, + { + "value": "grip" + }, + { + "value": "grip-lines", + "keywords": [ + "grip", + "lines" + ] + }, + { + "value": "grip-lines-vertical", + "keywords": [ + "grip", + "lines", + "vertical" + ] + }, + { + "value": "grip-vertical", + "keywords": [ + "grip", + "vertical" + ] + }, + { + "value": "group-arrows-rotate", + "keywords": [ + "group", + "arrows", + "rotate" + ] + }, + { + "value": "guarani-sign", + "keywords": [ + "guarani", + "sign" + ] + }, + { + "value": "guitar" + }, + { + "value": "gun" + }, + { + "value": "h" + }, + { + "value": "hammer" + }, + { + "value": "hamsa" + }, + { + "value": "hand" + }, + { + "value": "hand-back-fist", + "keywords": [ + "hand", + "back", + "fist" + ] + }, + { + "value": "hand-dots", + "keywords": [ + "hand", + "dots" + ] + }, + { + "value": "hand-fist", + "keywords": [ + "hand", + "fist" + ] + }, + { + "value": "hand-holding", + "keywords": [ + "hand", + "holding" + ] + }, + { + "value": "hand-holding-dollar", + "keywords": [ + "hand", + "holding", + "dollar" + ] + }, + { + "value": "hand-holding-droplet", + "keywords": [ + "hand", + "holding", + "droplet" + ] + }, + { + "value": "hand-holding-hand", + "keywords": [ + "hand", + "holding", + "hand" + ] + }, + { + "value": "hand-holding-heart", + "keywords": [ + "hand", + "holding", + "heart" + ] + }, + { + "value": "hand-holding-medical", + "keywords": [ + "hand", + "holding", + "medical" + ] + }, + { + "value": "hand-lizard", + "keywords": [ + "hand", + "lizard" + ] + }, + { + "value": "hand-middle-finger", + "keywords": [ + "hand", + "middle", + "finger" + ] + }, + { + "value": "hand-peace", + "keywords": [ + "hand", + "peace" + ] + }, + { + "value": "hand-point-down", + "keywords": [ + "hand", + "point", + "down" + ] + }, + { + "value": "hand-point-left", + "keywords": [ + "hand", + "point", + "left" + ] + }, + { + "value": "hand-point-right", + "keywords": [ + "hand", + "point", + "right" + ] + }, + { + "value": "hand-point-up", + "keywords": [ + "hand", + "point", + "up" + ] + }, + { + "value": "hand-pointer", + "keywords": [ + "hand", + "pointer" + ] + }, + { + "value": "hand-scissors", + "keywords": [ + "hand", + "scissors" + ] + }, + { + "value": "hand-sparkles", + "keywords": [ + "hand", + "sparkles" + ] + }, + { + "value": "hand-spock", + "keywords": [ + "hand", + "spock" + ] + }, + { + "value": "handcuffs" + }, + { + "value": "hands" + }, + { + "value": "hands-asl-interpreting", + "keywords": [ + "hands", + "asl", + "interpreting" + ] + }, + { + "value": "hands-bound", + "keywords": [ + "hands", + "bound" + ] + }, + { + "value": "hands-bubbles", + "keywords": [ + "hands", + "bubbles" + ] + }, + { + "value": "hands-clapping", + "keywords": [ + "hands", + "clapping" + ] + }, + { + "value": "hands-holding", + "keywords": [ + "hands", + "holding" + ] + }, + { + "value": "hands-holding-child", + "keywords": [ + "hands", + "holding", + "child" + ] + }, + { + "value": "hands-holding-circle", + "keywords": [ + "hands", + "holding", + "circle" + ] + }, + { + "value": "hands-praying", + "keywords": [ + "hands", + "praying" + ] + }, + { + "value": "handshake" + }, + { + "value": "handshake-angle", + "keywords": [ + "handshake", + "angle" + ] + }, + { + "value": "handshake-simple", + "keywords": [ + "handshake", + "simple" + ] + }, + { + "value": "handshake-simple-slash", + "keywords": [ + "handshake", + "simple", + "slash" + ] + }, + { + "value": "handshake-slash", + "keywords": [ + "handshake", + "slash" + ] + }, + { + "value": "hanukiah" + }, + { + "value": "hard-drive", + "keywords": [ + "hard", + "drive" + ] + }, + { + "value": "hashtag" + }, + { + "value": "hat-cowboy", + "keywords": [ + "hat", + "cowboy" + ] + }, + { + "value": "hat-cowboy-side", + "keywords": [ + "hat", + "cowboy", + "side" + ] + }, + { + "value": "hat-wizard", + "keywords": [ + "hat", + "wizard" + ] + }, + { + "value": "head-side-cough", + "keywords": [ + "head", + "side", + "cough" + ] + }, + { + "value": "head-side-cough-slash", + "keywords": [ + "head", + "side", + "cough", + "slash" + ] + }, + { + "value": "head-side-mask", + "keywords": [ + "head", + "side", + "mask" + ] + }, + { + "value": "head-side-virus", + "keywords": [ + "head", + "side", + "virus" + ] + }, + { + "value": "heading" + }, + { + "value": "headphones" + }, + { + "value": "headphones-simple", + "keywords": [ + "headphones", + "simple" + ] + }, + { + "value": "headset" + }, + { + "value": "heart" + }, + { + "value": "heart-circle-bolt", + "keywords": [ + "heart", + "circle", + "bolt" + ] + }, + { + "value": "heart-circle-check", + "keywords": [ + "heart", + "circle", + "check" + ] + }, + { + "value": "heart-circle-exclamation", + "keywords": [ + "heart", + "circle", + "exclamation" + ] + }, + { + "value": "heart-circle-minus", + "keywords": [ + "heart", + "circle", + "minus" + ] + }, + { + "value": "heart-circle-plus", + "keywords": [ + "heart", + "circle", + "plus" + ] + }, + { + "value": "heart-circle-xmark", + "keywords": [ + "heart", + "circle", + "xmark" + ] + }, + { + "value": "heart-crack", + "keywords": [ + "heart", + "crack" + ] + }, + { + "value": "heart-pulse", + "keywords": [ + "heart", + "pulse" + ] + }, + { + "value": "helicopter" + }, + { + "value": "helicopter-symbol", + "keywords": [ + "helicopter", + "symbol" + ] + }, + { + "value": "helmet-safety", + "keywords": [ + "helmet", + "safety" + ] + }, + { + "value": "helmet-un", + "keywords": [ + "helmet", + "un" + ] + }, + { + "value": "highlighter" + }, + { + "value": "hill-avalanche", + "keywords": [ + "hill", + "avalanche" + ] + }, + { + "value": "hill-rockslide", + "keywords": [ + "hill", + "rockslide" + ] + }, + { + "value": "hippo" + }, + { + "value": "hockey-puck", + "keywords": [ + "hockey", + "puck" + ] + }, + { + "value": "holly-berry", + "keywords": [ + "holly", + "berry" + ] + }, + { + "value": "horse" + }, + { + "value": "horse-head", + "keywords": [ + "horse", + "head" + ] + }, + { + "value": "hospital" + }, + { + "value": "hospital-user", + "keywords": [ + "hospital", + "user" + ] + }, + { + "value": "hot-tub-person", + "keywords": [ + "hot", + "tub", + "person" + ] + }, + { + "value": "hotdog" + }, + { + "value": "hotel" + }, + { + "value": "hourglass" + }, + { + "value": "hourglass-end", + "keywords": [ + "hourglass", + "end" + ] + }, + { + "value": "hourglass-half", + "keywords": [ + "hourglass", + "half" + ] + }, + { + "value": "hourglass-start", + "keywords": [ + "hourglass", + "start" + ] + }, + { + "value": "house" + }, + { + "value": "house-chimney", + "keywords": [ + "house", + "chimney" + ] + }, + { + "value": "house-chimney-crack", + "keywords": [ + "house", + "chimney", + "crack" + ] + }, + { + "value": "house-chimney-medical", + "keywords": [ + "house", + "chimney", + "medical" + ] + }, + { + "value": "house-chimney-user", + "keywords": [ + "house", + "chimney", + "user" + ] + }, + { + "value": "house-chimney-window", + "keywords": [ + "house", + "chimney", + "window" + ] + }, + { + "value": "house-circle-check", + "keywords": [ + "house", + "circle", + "check" + ] + }, + { + "value": "house-circle-exclamation", + "keywords": [ + "house", + "circle", + "exclamation" + ] + }, + { + "value": "house-circle-xmark", + "keywords": [ + "house", + "circle", + "xmark" + ] + }, + { + "value": "house-crack", + "keywords": [ + "house", + "crack" + ] + }, + { + "value": "house-fire", + "keywords": [ + "house", + "fire" + ] + }, + { + "value": "house-flag", + "keywords": [ + "house", + "flag" + ] + }, + { + "value": "house-flood-water", + "keywords": [ + "house", + "flood", + "water" + ] + }, + { + "value": "house-flood-water-circle-arrow-right", + "keywords": [ + "house", + "flood", + "water", + "circle", + "arrow", + "right" + ] + }, + { + "value": "house-laptop", + "keywords": [ + "house", + "laptop" + ] + }, + { + "value": "house-lock", + "keywords": [ + "house", + "lock" + ] + }, + { + "value": "house-medical", + "keywords": [ + "house", + "medical" + ] + }, + { + "value": "house-medical-circle-check", + "keywords": [ + "house", + "medical", + "circle", + "check" + ] + }, + { + "value": "house-medical-circle-exclamation", + "keywords": [ + "house", + "medical", + "circle", + "exclamation" + ] + }, + { + "value": "house-medical-circle-xmark", + "keywords": [ + "house", + "medical", + "circle", + "xmark" + ] + }, + { + "value": "house-medical-flag", + "keywords": [ + "house", + "medical", + "flag" + ] + }, + { + "value": "house-signal", + "keywords": [ + "house", + "signal" + ] + }, + { + "value": "house-tsunami", + "keywords": [ + "house", + "tsunami" + ] + }, + { + "value": "house-user", + "keywords": [ + "house", + "user" + ] + }, + { + "value": "hryvnia-sign", + "keywords": [ + "hryvnia", + "sign" + ] + }, + { + "value": "hurricane" + }, + { + "value": "i" + }, + { + "value": "i-cursor" + }, + { + "value": "ice-cream", + "keywords": [ + "ice", + "cream" + ] + }, + { + "value": "icicles" + }, + { + "value": "icons" + }, + { + "value": "id-badge", + "keywords": [ + "id", + "badge" + ] + }, + { + "value": "id-card", + "keywords": [ + "id", + "card" + ] + }, + { + "value": "id-card-clip", + "keywords": [ + "id", + "card", + "clip" + ] + }, + { + "value": "igloo" + }, + { + "value": "image" + }, + { + "value": "image-portrait", + "keywords": [ + "image", + "portrait" + ] + }, + { + "value": "images" + }, + { + "value": "inbox" + }, + { + "value": "indent" + }, + { + "value": "indian-rupee-sign", + "keywords": [ + "indian", + "rupee", + "sign" + ] + }, + { + "value": "industry" + }, + { + "value": "infinity" + }, + { + "value": "info" + }, + { + "value": "italic" + }, + { + "value": "j" + }, + { + "value": "jar" + }, + { + "value": "jar-wheat", + "keywords": [ + "jar", + "wheat" + ] + }, + { + "value": "jedi" + }, + { + "value": "jet-fighter", + "keywords": [ + "jet", + "fighter" + ] + }, + { + "value": "jet-fighter-up", + "keywords": [ + "jet", + "fighter", + "up" + ] + }, + { + "value": "joint" + }, + { + "value": "jug-detergent", + "keywords": [ + "jug", + "detergent" + ] + }, + { + "value": "k" + }, + { + "value": "kaaba" + }, + { + "value": "key" + }, + { + "value": "keyboard" + }, + { + "value": "khanda" + }, + { + "value": "kip-sign", + "keywords": [ + "kip", + "sign" + ] + }, + { + "value": "kit-medical", + "keywords": [ + "kit", + "medical" + ] + }, + { + "value": "kitchen-set", + "keywords": [ + "kitchen", + "set" + ] + }, + { + "value": "kiwi-bird", + "keywords": [ + "kiwi", + "bird" + ] + }, + { + "value": "l" + }, + { + "value": "land-mine-on", + "keywords": [ + "land", + "mine", + "on" + ] + }, + { + "value": "landmark" + }, + { + "value": "landmark-dome", + "keywords": [ + "landmark", + "dome" + ] + }, + { + "value": "landmark-flag", + "keywords": [ + "landmark", + "flag" + ] + }, + { + "value": "language" + }, + { + "value": "laptop" + }, + { + "value": "laptop-code", + "keywords": [ + "laptop", + "code" + ] + }, + { + "value": "laptop-file", + "keywords": [ + "laptop", + "file" + ] + }, + { + "value": "laptop-medical", + "keywords": [ + "laptop", + "medical" + ] + }, + { + "value": "lari-sign", + "keywords": [ + "lari", + "sign" + ] + }, + { + "value": "layer-group", + "keywords": [ + "layer", + "group" + ] + }, + { + "value": "leaf" + }, + { + "value": "left-long", + "keywords": [ + "left", + "long" + ] + }, + { + "value": "left-right", + "keywords": [ + "left", + "right" + ] + }, + { + "value": "lemon" + }, + { + "value": "less-than", + "keywords": [ + "less", + "than" + ] + }, + { + "value": "less-than-equal", + "keywords": [ + "less", + "than", + "equal" + ] + }, + { + "value": "life-ring", + "keywords": [ + "life", + "ring" + ] + }, + { + "value": "lightbulb" + }, + { + "value": "lines-leaning", + "keywords": [ + "lines", + "leaning" + ] + }, + { + "value": "link" + }, + { + "value": "link-slash", + "keywords": [ + "link", + "slash" + ] + }, + { + "value": "lira-sign", + "keywords": [ + "lira", + "sign" + ] + }, + { + "value": "list" + }, + { + "value": "list-check", + "keywords": [ + "list", + "check" + ] + }, + { + "value": "list-ol", + "keywords": [ + "list", + "ol" + ] + }, + { + "value": "list-ul", + "keywords": [ + "list", + "ul" + ] + }, + { + "value": "litecoin-sign", + "keywords": [ + "litecoin", + "sign" + ] + }, + { + "value": "location-arrow", + "keywords": [ + "location", + "arrow" + ] + }, + { + "value": "location-crosshairs", + "keywords": [ + "location", + "crosshairs" + ] + }, + { + "value": "location-dot", + "keywords": [ + "location", + "dot" + ] + }, + { + "value": "location-pin", + "keywords": [ + "location", + "pin" + ] + }, + { + "value": "location-pin-lock", + "keywords": [ + "location", + "pin", + "lock" + ] + }, + { + "value": "lock" + }, + { + "value": "lock-open", + "keywords": [ + "lock", + "open" + ] + }, + { + "value": "locust" + }, + { + "value": "lungs" + }, + { + "value": "lungs-virus", + "keywords": [ + "lungs", + "virus" + ] + }, + { + "value": "m" + }, + { + "value": "magnet" + }, + { + "value": "magnifying-glass", + "keywords": [ + "magnifying", + "glass" + ] + }, + { + "value": "magnifying-glass-arrow-right", + "keywords": [ + "magnifying", + "glass", + "arrow", + "right" + ] + }, + { + "value": "magnifying-glass-chart", + "keywords": [ + "magnifying", + "glass", + "chart" + ] + }, + { + "value": "magnifying-glass-dollar", + "keywords": [ + "magnifying", + "glass", + "dollar" + ] + }, + { + "value": "magnifying-glass-location", + "keywords": [ + "magnifying", + "glass", + "location" + ] + }, + { + "value": "magnifying-glass-minus", + "keywords": [ + "magnifying", + "glass", + "minus" + ] + }, + { + "value": "magnifying-glass-plus", + "keywords": [ + "magnifying", + "glass", + "plus" + ] + }, + { + "value": "manat-sign", + "keywords": [ + "manat", + "sign" + ] + }, + { + "value": "map" + }, + { + "value": "map-location", + "keywords": [ + "map", + "location" + ] + }, + { + "value": "map-location-dot", + "keywords": [ + "map", + "location", + "dot" + ] + }, + { + "value": "map-pin", + "keywords": [ + "map", + "pin" + ] + }, + { + "value": "marker" + }, + { + "value": "mars" + }, + { + "value": "mars-and-venus", + "keywords": [ + "mars", + "and", + "venus" + ] + }, + { + "value": "mars-and-venus-burst", + "keywords": [ + "mars", + "and", + "venus", + "burst" + ] + }, + { + "value": "mars-double", + "keywords": [ + "mars", + "double" + ] + }, + { + "value": "mars-stroke", + "keywords": [ + "mars", + "stroke" + ] + }, + { + "value": "mars-stroke-right", + "keywords": [ + "mars", + "stroke", + "right" + ] + }, + { + "value": "mars-stroke-up", + "keywords": [ + "mars", + "stroke", + "up" + ] + }, + { + "value": "martini-glass", + "keywords": [ + "martini", + "glass" + ] + }, + { + "value": "martini-glass-citrus", + "keywords": [ + "martini", + "glass", + "citrus" + ] + }, + { + "value": "martini-glass-empty", + "keywords": [ + "martini", + "glass", + "empty" + ] + }, + { + "value": "mask" + }, + { + "value": "mask-face", + "keywords": [ + "mask", + "face" + ] + }, + { + "value": "mask-ventilator", + "keywords": [ + "mask", + "ventilator" + ] + }, + { + "value": "masks-theater", + "keywords": [ + "masks", + "theater" + ] + }, + { + "value": "mattress-pillow", + "keywords": [ + "mattress", + "pillow" + ] + }, + { + "value": "maximize" + }, + { + "value": "medal" + }, + { + "value": "memory" + }, + { + "value": "menorah" + }, + { + "value": "mercury" + }, + { + "value": "message" + }, + { + "value": "meteor" + }, + { + "value": "microchip" + }, + { + "value": "microphone" + }, + { + "value": "microphone-lines", + "keywords": [ + "microphone", + "lines" + ] + }, + { + "value": "microphone-lines-slash", + "keywords": [ + "microphone", + "lines", + "slash" + ] + }, + { + "value": "microphone-slash", + "keywords": [ + "microphone", + "slash" + ] + }, + { + "value": "microscope" + }, + { + "value": "mill-sign", + "keywords": [ + "mill", + "sign" + ] + }, + { + "value": "minimize" + }, + { + "value": "minus" + }, + { + "value": "mitten" + }, + { + "value": "mobile" + }, + { + "value": "mobile-button", + "keywords": [ + "mobile", + "button" + ] + }, + { + "value": "mobile-retro", + "keywords": [ + "mobile", + "retro" + ] + }, + { + "value": "mobile-screen", + "keywords": [ + "mobile", + "screen" + ] + }, + { + "value": "mobile-screen-button", + "keywords": [ + "mobile", + "screen", + "button" + ] + }, + { + "value": "money-bill", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-transfer", + "keywords": [ + "money", + "bill", + "transfer" + ] + }, + { + "value": "money-bill-trend-up", + "keywords": [ + "money", + "bill", + "trend", + "up" + ] + }, + { + "value": "money-bill-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-wheat", + "keywords": [ + "money", + "bill", + "wheat" + ] + }, + { + "value": "money-bills", + "keywords": [ + "money", + "bills" + ] + }, + { + "value": "money-check", + "keywords": [ + "money", + "check" + ] + }, + { + "value": "money-check-dollar", + "keywords": [ + "money", + "check", + "dollar" + ] + }, + { + "value": "monument" + }, + { + "value": "moon" + }, + { + "value": "mortar-pestle", + "keywords": [ + "mortar", + "pestle" + ] + }, + { + "value": "mosque" + }, + { + "value": "mosquito" + }, + { + "value": "mosquito-net", + "keywords": [ + "mosquito", + "net" + ] + }, + { + "value": "motorcycle" + }, + { + "value": "mound" + }, + { + "value": "mountain" + }, + { + "value": "mountain-city", + "keywords": [ + "mountain", + "city" + ] + }, + { + "value": "mountain-sun", + "keywords": [ + "mountain", + "sun" + ] + }, + { + "value": "mug-hot", + "keywords": [ + "mug", + "hot" + ] + }, + { + "value": "mug-saucer", + "keywords": [ + "mug", + "saucer" + ] + }, + { + "value": "music" + }, + { + "value": "n" + }, + { + "value": "naira-sign", + "keywords": [ + "naira", + "sign" + ] + }, + { + "value": "network-wired", + "keywords": [ + "network", + "wired" + ] + }, + { + "value": "neuter" + }, + { + "value": "newspaper" + }, + { + "value": "not-equal", + "keywords": [ + "not", + "equal" + ] + }, + { + "value": "notdef" + }, + { + "value": "note-sticky", + "keywords": [ + "note", + "sticky" + ] + }, + { + "value": "notes-medical", + "keywords": [ + "notes", + "medical" + ] + }, + { + "value": "o" + }, + { + "value": "object-group", + "keywords": [ + "object", + "group" + ] + }, + { + "value": "object-ungroup", + "keywords": [ + "object", + "ungroup" + ] + }, + { + "value": "oil-can", + "keywords": [ + "oil", + "can" + ] + }, + { + "value": "oil-well", + "keywords": [ + "oil", + "well" + ] + }, + { + "value": "om" + }, + { + "value": "otter" + }, + { + "value": "outdent" + }, + { + "value": "p" + }, + { + "value": "pager" + }, + { + "value": "paint-roller", + "keywords": [ + "paint", + "roller" + ] + }, + { + "value": "paintbrush" + }, + { + "value": "palette" + }, + { + "value": "pallet" + }, + { + "value": "panorama" + }, + { + "value": "paper-plane", + "keywords": [ + "paper", + "plane" + ] + }, + { + "value": "paperclip" + }, + { + "value": "parachute-box", + "keywords": [ + "parachute", + "box" + ] + }, + { + "value": "paragraph" + }, + { + "value": "passport" + }, + { + "value": "paste" + }, + { + "value": "pause" + }, + { + "value": "paw" + }, + { + "value": "peace" + }, + { + "value": "pen" + }, + { + "value": "pen-clip", + "keywords": [ + "pen", + "clip" + ] + }, + { + "value": "pen-fancy", + "keywords": [ + "pen", + "fancy" + ] + }, + { + "value": "pen-nib", + "keywords": [ + "pen", + "nib" + ] + }, + { + "value": "pen-ruler", + "keywords": [ + "pen", + "ruler" + ] + }, + { + "value": "pen-to-square", + "keywords": [ + "pen", + "to", + "square" + ] + }, + { + "value": "pencil" + }, + { + "value": "people-arrows", + "keywords": [ + "people", + "arrows" + ] + }, + { + "value": "people-carry-box", + "keywords": [ + "people", + "carry", + "box" + ] + }, + { + "value": "people-group", + "keywords": [ + "people", + "group" + ] + }, + { + "value": "people-line", + "keywords": [ + "people", + "line" + ] + }, + { + "value": "people-pulling", + "keywords": [ + "people", + "pulling" + ] + }, + { + "value": "people-robbery", + "keywords": [ + "people", + "robbery" + ] + }, + { + "value": "people-roof", + "keywords": [ + "people", + "roof" + ] + }, + { + "value": "pepper-hot", + "keywords": [ + "pepper", + "hot" + ] + }, + { + "value": "percent" + }, + { + "value": "person" + }, + { + "value": "person-arrow-down-to-line", + "keywords": [ + "person", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "person-arrow-up-from-line", + "keywords": [ + "person", + "arrow", + "up", + "from", + "line" + ] + }, + { + "value": "person-biking", + "keywords": [ + "person", + "biking" + ] + }, + { + "value": "person-booth", + "keywords": [ + "person", + "booth" + ] + }, + { + "value": "person-breastfeeding", + "keywords": [ + "person", + "breastfeeding" + ] + }, + { + "value": "person-burst", + "keywords": [ + "person", + "burst" + ] + }, + { + "value": "person-cane", + "keywords": [ + "person", + "cane" + ] + }, + { + "value": "person-chalkboard", + "keywords": [ + "person", + "chalkboard" + ] + }, + { + "value": "person-circle-check", + "keywords": [ + "person", + "circle", + "check" + ] + }, + { + "value": "person-circle-exclamation", + "keywords": [ + "person", + "circle", + "exclamation" + ] + }, + { + "value": "person-circle-minus", + "keywords": [ + "person", + "circle", + "minus" + ] + }, + { + "value": "person-circle-plus", + "keywords": [ + "person", + "circle", + "plus" + ] + }, + { + "value": "person-circle-question", + "keywords": [ + "person", + "circle", + "question" + ] + }, + { + "value": "person-circle-xmark", + "keywords": [ + "person", + "circle", + "xmark" + ] + }, + { + "value": "person-digging", + "keywords": [ + "person", + "digging" + ] + }, + { + "value": "person-dots-from-line", + "keywords": [ + "person", + "dots", + "from", + "line" + ] + }, + { + "value": "person-dress", + "keywords": [ + "person", + "dress" + ] + }, + { + "value": "person-dress-burst", + "keywords": [ + "person", + "dress", + "burst" + ] + }, + { + "value": "person-drowning", + "keywords": [ + "person", + "drowning" + ] + }, + { + "value": "person-falling", + "keywords": [ + "person", + "falling" + ] + }, + { + "value": "person-falling-burst", + "keywords": [ + "person", + "falling", + "burst" + ] + }, + { + "value": "person-half-dress", + "keywords": [ + "person", + "half", + "dress" + ] + }, + { + "value": "person-harassing", + "keywords": [ + "person", + "harassing" + ] + }, + { + "value": "person-hiking", + "keywords": [ + "person", + "hiking" + ] + }, + { + "value": "person-military-pointing", + "keywords": [ + "person", + "military", + "pointing" + ] + }, + { + "value": "person-military-rifle", + "keywords": [ + "person", + "military", + "rifle" + ] + }, + { + "value": "person-military-to-person", + "keywords": [ + "person", + "military", + "to", + "person" + ] + }, + { + "value": "person-praying", + "keywords": [ + "person", + "praying" + ] + }, + { + "value": "person-pregnant", + "keywords": [ + "person", + "pregnant" + ] + }, + { + "value": "person-rays", + "keywords": [ + "person", + "rays" + ] + }, + { + "value": "person-rifle", + "keywords": [ + "person", + "rifle" + ] + }, + { + "value": "person-running", + "keywords": [ + "person", + "running" + ] + }, + { + "value": "person-shelter", + "keywords": [ + "person", + "shelter" + ] + }, + { + "value": "person-skating", + "keywords": [ + "person", + "skating" + ] + }, + { + "value": "person-skiing", + "keywords": [ + "person", + "skiing" + ] + }, + { + "value": "person-skiing-nordic", + "keywords": [ + "person", + "skiing", + "nordic" + ] + }, + { + "value": "person-snowboarding", + "keywords": [ + "person", + "snowboarding" + ] + }, + { + "value": "person-swimming", + "keywords": [ + "person", + "swimming" + ] + }, + { + "value": "person-through-window", + "keywords": [ + "person", + "through", + "window" + ] + }, + { + "value": "person-walking", + "keywords": [ + "person", + "walking" + ] + }, + { + "value": "person-walking-arrow-loop-left", + "keywords": [ + "person", + "walking", + "arrow", + "loop", + "left" + ] + }, + { + "value": "person-walking-arrow-right", + "keywords": [ + "person", + "walking", + "arrow", + "right" + ] + }, + { + "value": "person-walking-dashed-line-arrow-right", + "keywords": [ + "person", + "walking", + "dashed", + "line", + "arrow", + "right" + ] + }, + { + "value": "person-walking-luggage", + "keywords": [ + "person", + "walking", + "luggage" + ] + }, + { + "value": "person-walking-with-cane", + "keywords": [ + "person", + "walking", + "with", + "cane" + ] + }, + { + "value": "peseta-sign", + "keywords": [ + "peseta", + "sign" + ] + }, + { + "value": "peso-sign", + "keywords": [ + "peso", + "sign" + ] + }, + { + "value": "phone" + }, + { + "value": "phone-flip", + "keywords": [ + "phone", + "flip" + ] + }, + { + "value": "phone-slash", + "keywords": [ + "phone", + "slash" + ] + }, + { + "value": "phone-volume", + "keywords": [ + "phone", + "volume" + ] + }, + { + "value": "photo-film", + "keywords": [ + "photo", + "film" + ] + }, + { + "value": "piggy-bank", + "keywords": [ + "piggy", + "bank" + ] + }, + { + "value": "pills" + }, + { + "value": "pizza-slice", + "keywords": [ + "pizza", + "slice" + ] + }, + { + "value": "place-of-worship", + "keywords": [ + "place", + "of", + "worship" + ] + }, + { + "value": "plane" + }, + { + "value": "plane-arrival", + "keywords": [ + "plane", + "arrival" + ] + }, + { + "value": "plane-circle-check", + "keywords": [ + "plane", + "circle", + "check" + ] + }, + { + "value": "plane-circle-exclamation", + "keywords": [ + "plane", + "circle", + "exclamation" + ] + }, + { + "value": "plane-circle-xmark", + "keywords": [ + "plane", + "circle", + "xmark" + ] + }, + { + "value": "plane-departure", + "keywords": [ + "plane", + "departure" + ] + }, + { + "value": "plane-lock", + "keywords": [ + "plane", + "lock" + ] + }, + { + "value": "plane-slash", + "keywords": [ + "plane", + "slash" + ] + }, + { + "value": "plane-up", + "keywords": [ + "plane", + "up" + ] + }, + { + "value": "plant-wilt", + "keywords": [ + "plant", + "wilt" + ] + }, + { + "value": "plate-wheat", + "keywords": [ + "plate", + "wheat" + ] + }, + { + "value": "play" + }, + { + "value": "plug" + }, + { + "value": "plug-circle-bolt", + "keywords": [ + "plug", + "circle", + "bolt" + ] + }, + { + "value": "plug-circle-check", + "keywords": [ + "plug", + "circle", + "check" + ] + }, + { + "value": "plug-circle-exclamation", + "keywords": [ + "plug", + "circle", + "exclamation" + ] + }, + { + "value": "plug-circle-minus", + "keywords": [ + "plug", + "circle", + "minus" + ] + }, + { + "value": "plug-circle-plus", + "keywords": [ + "plug", + "circle", + "plus" + ] + }, + { + "value": "plug-circle-xmark", + "keywords": [ + "plug", + "circle", + "xmark" + ] + }, + { + "value": "plus" + }, + { + "value": "plus-minus", + "keywords": [ + "plus", + "minus" + ] + }, + { + "value": "podcast" + }, + { + "value": "poo" + }, + { + "value": "poo-storm", + "keywords": [ + "poo", + "storm" + ] + }, + { + "value": "poop" + }, + { + "value": "power-off", + "keywords": [ + "power", + "off" + ] + }, + { + "value": "prescription" + }, + { + "value": "prescription-bottle", + "keywords": [ + "prescription", + "bottle" + ] + }, + { + "value": "prescription-bottle-medical", + "keywords": [ + "prescription", + "bottle", + "medical" + ] + }, + { + "value": "print" + }, + { + "value": "pump-medical", + "keywords": [ + "pump", + "medical" + ] + }, + { + "value": "pump-soap", + "keywords": [ + "pump", + "soap" + ] + }, + { + "value": "puzzle-piece", + "keywords": [ + "puzzle", + "piece" + ] + }, + { + "value": "q" + }, + { + "value": "qrcode" + }, + { + "value": "question" + }, + { + "value": "quote-left", + "keywords": [ + "quote", + "left" + ] + }, + { + "value": "quote-right", + "keywords": [ + "quote", + "right" + ] + }, + { + "value": "r" + }, + { + "value": "radiation" + }, + { + "value": "radio" + }, + { + "value": "rainbow" + }, + { + "value": "ranking-star", + "keywords": [ + "ranking", + "star" + ] + }, + { + "value": "receipt" + }, + { + "value": "record-vinyl", + "keywords": [ + "record", + "vinyl" + ] + }, + { + "value": "rectangle-ad", + "keywords": [ + "rectangle", + "ad" + ] + }, + { + "value": "rectangle-list", + "keywords": [ + "rectangle", + "list" + ] + }, + { + "value": "rectangle-xmark", + "keywords": [ + "rectangle", + "xmark" + ] + }, + { + "value": "recycle" + }, + { + "value": "registered" + }, + { + "value": "repeat" + }, + { + "value": "reply" + }, + { + "value": "reply-all", + "keywords": [ + "reply", + "all" + ] + }, + { + "value": "republican" + }, + { + "value": "restroom" + }, + { + "value": "retweet" + }, + { + "value": "ribbon" + }, + { + "value": "right-from-bracket", + "keywords": [ + "right", + "from", + "bracket" + ] + }, + { + "value": "right-left", + "keywords": [ + "right", + "left" + ] + }, + { + "value": "right-long", + "keywords": [ + "right", + "long" + ] + }, + { + "value": "right-to-bracket", + "keywords": [ + "right", + "to", + "bracket" + ] + }, + { + "value": "ring" + }, + { + "value": "road" + }, + { + "value": "road-barrier", + "keywords": [ + "road", + "barrier" + ] + }, + { + "value": "road-bridge", + "keywords": [ + "road", + "bridge" + ] + }, + { + "value": "road-circle-check", + "keywords": [ + "road", + "circle", + "check" + ] + }, + { + "value": "road-circle-exclamation", + "keywords": [ + "road", + "circle", + "exclamation" + ] + }, + { + "value": "road-circle-xmark", + "keywords": [ + "road", + "circle", + "xmark" + ] + }, + { + "value": "road-lock", + "keywords": [ + "road", + "lock" + ] + }, + { + "value": "road-spikes", + "keywords": [ + "road", + "spikes" + ] + }, + { + "value": "robot" + }, + { + "value": "rocket" + }, + { + "value": "rotate" + }, + { + "value": "rotate-left", + "keywords": [ + "rotate", + "left" + ] + }, + { + "value": "rotate-right", + "keywords": [ + "rotate", + "right" + ] + }, + { + "value": "route" + }, + { + "value": "rss" + }, + { + "value": "ruble-sign", + "keywords": [ + "ruble", + "sign" + ] + }, + { + "value": "rug" + }, + { + "value": "ruler" + }, + { + "value": "ruler-combined", + "keywords": [ + "ruler", + "combined" + ] + }, + { + "value": "ruler-horizontal", + "keywords": [ + "ruler", + "horizontal" + ] + }, + { + "value": "ruler-vertical", + "keywords": [ + "ruler", + "vertical" + ] + }, + { + "value": "rupee-sign", + "keywords": [ + "rupee", + "sign" + ] + }, + { + "value": "rupiah-sign", + "keywords": [ + "rupiah", + "sign" + ] + }, + { + "value": "s" + }, + { + "value": "sack-dollar", + "keywords": [ + "sack", + "dollar" + ] + }, + { + "value": "sack-xmark", + "keywords": [ + "sack", + "xmark" + ] + }, + { + "value": "sailboat" + }, + { + "value": "satellite" + }, + { + "value": "satellite-dish", + "keywords": [ + "satellite", + "dish" + ] + }, + { + "value": "scale-balanced", + "keywords": [ + "scale", + "balanced" + ] + }, + { + "value": "scale-unbalanced", + "keywords": [ + "scale", + "unbalanced" + ] + }, + { + "value": "scale-unbalanced-flip", + "keywords": [ + "scale", + "unbalanced", + "flip" + ] + }, + { + "value": "school" + }, + { + "value": "school-circle-check", + "keywords": [ + "school", + "circle", + "check" + ] + }, + { + "value": "school-circle-exclamation", + "keywords": [ + "school", + "circle", + "exclamation" + ] + }, + { + "value": "school-circle-xmark", + "keywords": [ + "school", + "circle", + "xmark" + ] + }, + { + "value": "school-flag", + "keywords": [ + "school", + "flag" + ] + }, + { + "value": "school-lock", + "keywords": [ + "school", + "lock" + ] + }, + { + "value": "scissors" + }, + { + "value": "screwdriver" + }, + { + "value": "screwdriver-wrench", + "keywords": [ + "screwdriver", + "wrench" + ] + }, + { + "value": "scroll" + }, + { + "value": "scroll-torah", + "keywords": [ + "scroll", + "torah" + ] + }, + { + "value": "sd-card", + "keywords": [ + "sd", + "card" + ] + }, + { + "value": "section" + }, + { + "value": "seedling" + }, + { + "value": "server" + }, + { + "value": "shapes" + }, + { + "value": "share" + }, + { + "value": "share-from-square", + "keywords": [ + "share", + "from", + "square" + ] + }, + { + "value": "share-nodes", + "keywords": [ + "share", + "nodes" + ] + }, + { + "value": "sheet-plastic", + "keywords": [ + "sheet", + "plastic" + ] + }, + { + "value": "shekel-sign", + "keywords": [ + "shekel", + "sign" + ] + }, + { + "value": "shield" + }, + { + "value": "shield-cat", + "keywords": [ + "shield", + "cat" + ] + }, + { + "value": "shield-dog", + "keywords": [ + "shield", + "dog" + ] + }, + { + "value": "shield-halved", + "keywords": [ + "shield", + "halved" + ] + }, + { + "value": "shield-heart", + "keywords": [ + "shield", + "heart" + ] + }, + { + "value": "shield-virus", + "keywords": [ + "shield", + "virus" + ] + }, + { + "value": "ship" + }, + { + "value": "shirt" + }, + { + "value": "shoe-prints", + "keywords": [ + "shoe", + "prints" + ] + }, + { + "value": "shop" + }, + { + "value": "shop-lock", + "keywords": [ + "shop", + "lock" + ] + }, + { + "value": "shop-slash", + "keywords": [ + "shop", + "slash" + ] + }, + { + "value": "shower" + }, + { + "value": "shrimp" + }, + { + "value": "shuffle" + }, + { + "value": "shuttle-space", + "keywords": [ + "shuttle", + "space" + ] + }, + { + "value": "sign-hanging", + "keywords": [ + "sign", + "hanging" + ] + }, + { + "value": "signal" + }, + { + "value": "signature" + }, + { + "value": "signs-post", + "keywords": [ + "signs", + "post" + ] + }, + { + "value": "sim-card", + "keywords": [ + "sim", + "card" + ] + }, + { + "value": "sink" + }, + { + "value": "sitemap" + }, + { + "value": "skull" + }, + { + "value": "skull-crossbones", + "keywords": [ + "skull", + "crossbones" + ] + }, + { + "value": "slash" + }, + { + "value": "sleigh" + }, + { + "value": "sliders" + }, + { + "value": "smog" + }, + { + "value": "smoking" + }, + { + "value": "snowflake" + }, + { + "value": "snowman" + }, + { + "value": "snowplow" + }, + { + "value": "soap" + }, + { + "value": "socks" + }, + { + "value": "solar-panel", + "keywords": [ + "solar", + "panel" + ] + }, + { + "value": "sort" + }, + { + "value": "sort-down", + "keywords": [ + "sort", + "down" + ] + }, + { + "value": "sort-up", + "keywords": [ + "sort", + "up" + ] + }, + { + "value": "spa" + }, + { + "value": "spaghetti-monster-flying", + "keywords": [ + "spaghetti", + "monster", + "flying" + ] + }, + { + "value": "spell-check", + "keywords": [ + "spell", + "check" + ] + }, + { + "value": "spider" + }, + { + "value": "spinner" + }, + { + "value": "splotch" + }, + { + "value": "spoon" + }, + { + "value": "spray-can", + "keywords": [ + "spray", + "can" + ] + }, + { + "value": "spray-can-sparkles", + "keywords": [ + "spray", + "can", + "sparkles" + ] + }, + { + "value": "square" + }, + { + "value": "square-arrow-up-right", + "keywords": [ + "square", + "arrow", + "up", + "right" + ] + }, + { + "value": "square-caret-down", + "keywords": [ + "square", + "caret", + "down" + ] + }, + { + "value": "square-caret-left", + "keywords": [ + "square", + "caret", + "left" + ] + }, + { + "value": "square-caret-right", + "keywords": [ + "square", + "caret", + "right" + ] + }, + { + "value": "square-caret-up", + "keywords": [ + "square", + "caret", + "up" + ] + }, + { + "value": "square-check", + "keywords": [ + "square", + "check" + ] + }, + { + "value": "square-envelope", + "keywords": [ + "square", + "envelope" + ] + }, + { + "value": "square-full", + "keywords": [ + "square", + "full" + ] + }, + { + "value": "square-h" + }, + { + "value": "square-minus", + "keywords": [ + "square", + "minus" + ] + }, + { + "value": "square-nfi", + "keywords": [ + "square", + "nfi" + ] + }, + { + "value": "square-parking", + "keywords": [ + "square", + "parking" + ] + }, + { + "value": "square-pen", + "keywords": [ + "square", + "pen" + ] + }, + { + "value": "square-person-confined", + "keywords": [ + "square", + "person", + "confined" + ] + }, + { + "value": "square-phone", + "keywords": [ + "square", + "phone" + ] + }, + { + "value": "square-phone-flip", + "keywords": [ + "square", + "phone", + "flip" + ] + }, + { + "value": "square-plus", + "keywords": [ + "square", + "plus" + ] + }, + { + "value": "square-poll-horizontal", + "keywords": [ + "square", + "poll", + "horizontal" + ] + }, + { + "value": "square-poll-vertical", + "keywords": [ + "square", + "poll", + "vertical" + ] + }, + { + "value": "square-root-variable", + "keywords": [ + "square", + "root", + "variable" + ] + }, + { + "value": "square-rss", + "keywords": [ + "square", + "rss" + ] + }, + { + "value": "square-share-nodes", + "keywords": [ + "square", + "share", + "nodes" + ] + }, + { + "value": "square-up-right", + "keywords": [ + "square", + "up", + "right" + ] + }, + { + "value": "square-virus", + "keywords": [ + "square", + "virus" + ] + }, + { + "value": "square-xmark", + "keywords": [ + "square", + "xmark" + ] + }, + { + "value": "staff-snake", + "keywords": [ + "staff", + "snake" + ] + }, + { + "value": "stairs" + }, + { + "value": "stamp" + }, + { + "value": "stapler" + }, + { + "value": "star" + }, + { + "value": "star-and-crescent", + "keywords": [ + "star", + "and", + "crescent" + ] + }, + { + "value": "star-half", + "keywords": [ + "star", + "half" + ] + }, + { + "value": "star-half-stroke", + "keywords": [ + "star", + "half", + "stroke" + ] + }, + { + "value": "star-of-david", + "keywords": [ + "star", + "of", + "david" + ] + }, + { + "value": "star-of-life", + "keywords": [ + "star", + "of", + "life" + ] + }, + { + "value": "sterling-sign", + "keywords": [ + "sterling", + "sign" + ] + }, + { + "value": "stethoscope" + }, + { + "value": "stop" + }, + { + "value": "stopwatch" + }, + { + "value": "stopwatch-20", + "keywords": [ + "stopwatch", + "20" + ] + }, + { + "value": "store" + }, + { + "value": "store-slash", + "keywords": [ + "store", + "slash" + ] + }, + { + "value": "street-view", + "keywords": [ + "street", + "view" + ] + }, + { + "value": "strikethrough" + }, + { + "value": "stroopwafel" + }, + { + "value": "subscript" + }, + { + "value": "suitcase" + }, + { + "value": "suitcase-medical", + "keywords": [ + "suitcase", + "medical" + ] + }, + { + "value": "suitcase-rolling", + "keywords": [ + "suitcase", + "rolling" + ] + }, + { + "value": "sun" + }, + { + "value": "sun-plant-wilt", + "keywords": [ + "sun", + "plant", + "wilt" + ] + }, + { + "value": "superscript" + }, + { + "value": "swatchbook" + }, + { + "value": "synagogue" + }, + { + "value": "syringe" + }, + { + "value": "t" + }, + { + "value": "table" + }, + { + "value": "table-cells", + "keywords": [ + "table", + "cells" + ] + }, + { + "value": "table-cells-large", + "keywords": [ + "table", + "cells", + "large" + ] + }, + { + "value": "table-columns", + "keywords": [ + "table", + "columns" + ] + }, + { + "value": "table-list", + "keywords": [ + "table", + "list" + ] + }, + { + "value": "table-tennis-paddle-ball", + "keywords": [ + "table", + "tennis", + "paddle", + "ball" + ] + }, + { + "value": "tablet" + }, + { + "value": "tablet-button", + "keywords": [ + "tablet", + "button" + ] + }, + { + "value": "tablet-screen-button", + "keywords": [ + "tablet", + "screen", + "button" + ] + }, + { + "value": "tablets" + }, + { + "value": "tachograph-digital", + "keywords": [ + "tachograph", + "digital" + ] + }, + { + "value": "tag" + }, + { + "value": "tags" + }, + { + "value": "tape" + }, + { + "value": "tarp" + }, + { + "value": "tarp-droplet", + "keywords": [ + "tarp", + "droplet" + ] + }, + { + "value": "taxi" + }, + { + "value": "teeth" + }, + { + "value": "teeth-open", + "keywords": [ + "teeth", + "open" + ] + }, + { + "value": "temperature-arrow-down", + "keywords": [ + "temperature", + "arrow", + "down" + ] + }, + { + "value": "temperature-arrow-up", + "keywords": [ + "temperature", + "arrow", + "up" + ] + }, + { + "value": "temperature-empty", + "keywords": [ + "temperature", + "empty" + ] + }, + { + "value": "temperature-full", + "keywords": [ + "temperature", + "full" + ] + }, + { + "value": "temperature-half", + "keywords": [ + "temperature", + "half" + ] + }, + { + "value": "temperature-high", + "keywords": [ + "temperature", + "high" + ] + }, + { + "value": "temperature-low", + "keywords": [ + "temperature", + "low" + ] + }, + { + "value": "temperature-quarter", + "keywords": [ + "temperature", + "quarter" + ] + }, + { + "value": "temperature-three-quarters", + "keywords": [ + "temperature", + "three", + "quarters" + ] + }, + { + "value": "tenge-sign", + "keywords": [ + "tenge", + "sign" + ] + }, + { + "value": "tent" + }, + { + "value": "tent-arrow-down-to-line", + "keywords": [ + "tent", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "tent-arrow-left-right", + "keywords": [ + "tent", + "arrow", + "left", + "right" + ] + }, + { + "value": "tent-arrow-turn-left", + "keywords": [ + "tent", + "arrow", + "turn", + "left" + ] + }, + { + "value": "tent-arrows-down", + "keywords": [ + "tent", + "arrows", + "down" + ] + }, + { + "value": "tents" + }, + { + "value": "terminal" + }, + { + "value": "text-height", + "keywords": [ + "text", + "height" + ] + }, + { + "value": "text-slash", + "keywords": [ + "text", + "slash" + ] + }, + { + "value": "text-width", + "keywords": [ + "text", + "width" + ] + }, + { + "value": "thermometer" + }, + { + "value": "thumbs-down", + "keywords": [ + "thumbs", + "down" + ] + }, + { + "value": "thumbs-up", + "keywords": [ + "thumbs", + "up" + ] + }, + { + "value": "thumbtack" + }, + { + "value": "ticket" + }, + { + "value": "ticket-simple", + "keywords": [ + "ticket", + "simple" + ] + }, + { + "value": "timeline" + }, + { + "value": "toggle-off", + "keywords": [ + "toggle", + "off" + ] + }, + { + "value": "toggle-on", + "keywords": [ + "toggle", + "on" + ] + }, + { + "value": "toilet" + }, + { + "value": "toilet-paper", + "keywords": [ + "toilet", + "paper" + ] + }, + { + "value": "toilet-paper-slash", + "keywords": [ + "toilet", + "paper", + "slash" + ] + }, + { + "value": "toilet-portable", + "keywords": [ + "toilet", + "portable" + ] + }, + { + "value": "toilets-portable", + "keywords": [ + "toilets", + "portable" + ] + }, + { + "value": "toolbox" + }, + { + "value": "tooth" + }, + { + "value": "torii-gate", + "keywords": [ + "torii", + "gate" + ] + }, + { + "value": "tornado" + }, + { + "value": "tower-broadcast", + "keywords": [ + "tower", + "broadcast" + ] + }, + { + "value": "tower-cell", + "keywords": [ + "tower", + "cell" + ] + }, + { + "value": "tower-observation", + "keywords": [ + "tower", + "observation" + ] + }, + { + "value": "tractor" + }, + { + "value": "trademark" + }, + { + "value": "traffic-light", + "keywords": [ + "traffic", + "light" + ] + }, + { + "value": "trailer" + }, + { + "value": "train" + }, + { + "value": "train-subway", + "keywords": [ + "train", + "subway" + ] + }, + { + "value": "train-tram", + "keywords": [ + "train", + "tram" + ] + }, + { + "value": "transgender" + }, + { + "value": "trash" + }, + { + "value": "trash-arrow-up", + "keywords": [ + "trash", + "arrow", + "up" + ] + }, + { + "value": "trash-can", + "keywords": [ + "trash", + "can" + ] + }, + { + "value": "trash-can-arrow-up", + "keywords": [ + "trash", + "can", + "arrow", + "up" + ] + }, + { + "value": "tree" + }, + { + "value": "tree-city", + "keywords": [ + "tree", + "city" + ] + }, + { + "value": "triangle-exclamation", + "keywords": [ + "triangle", + "exclamation" + ] + }, + { + "value": "trophy" + }, + { + "value": "trowel" + }, + { + "value": "trowel-bricks", + "keywords": [ + "trowel", + "bricks" + ] + }, + { + "value": "truck" + }, + { + "value": "truck-arrow-right", + "keywords": [ + "truck", + "arrow", + "right" + ] + }, + { + "value": "truck-droplet", + "keywords": [ + "truck", + "droplet" + ] + }, + { + "value": "truck-fast", + "keywords": [ + "truck", + "fast" + ] + }, + { + "value": "truck-field", + "keywords": [ + "truck", + "field" + ] + }, + { + "value": "truck-field-un", + "keywords": [ + "truck", + "field", + "un" + ] + }, + { + "value": "truck-front", + "keywords": [ + "truck", + "front" + ] + }, + { + "value": "truck-medical", + "keywords": [ + "truck", + "medical" + ] + }, + { + "value": "truck-monster", + "keywords": [ + "truck", + "monster" + ] + }, + { + "value": "truck-moving", + "keywords": [ + "truck", + "moving" + ] + }, + { + "value": "truck-pickup", + "keywords": [ + "truck", + "pickup" + ] + }, + { + "value": "truck-plane", + "keywords": [ + "truck", + "plane" + ] + }, + { + "value": "truck-ramp-box", + "keywords": [ + "truck", + "ramp", + "box" + ] + }, + { + "value": "tty" + }, + { + "value": "turkish-lira-sign", + "keywords": [ + "turkish", + "lira", + "sign" + ] + }, + { + "value": "turn-down", + "keywords": [ + "turn", + "down" + ] + }, + { + "value": "turn-up", + "keywords": [ + "turn", + "up" + ] + }, + { + "value": "tv" + }, + { + "value": "u" + }, + { + "value": "umbrella" + }, + { + "value": "umbrella-beach", + "keywords": [ + "umbrella", + "beach" + ] + }, + { + "value": "underline" + }, + { + "value": "universal-access", + "keywords": [ + "universal", + "access" + ] + }, + { + "value": "unlock" + }, + { + "value": "unlock-keyhole", + "keywords": [ + "unlock", + "keyhole" + ] + }, + { + "value": "up-down", + "keywords": [ + "up", + "down" + ] + }, + { + "value": "up-down-left-right", + "keywords": [ + "up", + "down", + "left", + "right" + ] + }, + { + "value": "up-long", + "keywords": [ + "up", + "long" + ] + }, + { + "value": "up-right-and-down-left-from-center", + "keywords": [ + "up", + "right", + "and", + "down", + "left", + "from", + "center" + ] + }, + { + "value": "up-right-from-square", + "keywords": [ + "up", + "right", + "from", + "square" + ] + }, + { + "value": "upload" + }, + { + "value": "user" + }, + { + "value": "user-astronaut", + "keywords": [ + "user", + "astronaut" + ] + }, + { + "value": "user-check", + "keywords": [ + "user", + "check" + ] + }, + { + "value": "user-clock", + "keywords": [ + "user", + "clock" + ] + }, + { + "value": "user-doctor", + "keywords": [ + "user", + "doctor" + ] + }, + { + "value": "user-gear", + "keywords": [ + "user", + "gear" + ] + }, + { + "value": "user-graduate", + "keywords": [ + "user", + "graduate" + ] + }, + { + "value": "user-group", + "keywords": [ + "user", + "group" + ] + }, + { + "value": "user-injured", + "keywords": [ + "user", + "injured" + ] + }, + { + "value": "user-large", + "keywords": [ + "user", + "large" + ] + }, + { + "value": "user-large-slash", + "keywords": [ + "user", + "large", + "slash" + ] + }, + { + "value": "user-lock", + "keywords": [ + "user", + "lock" + ] + }, + { + "value": "user-minus", + "keywords": [ + "user", + "minus" + ] + }, + { + "value": "user-ninja", + "keywords": [ + "user", + "ninja" + ] + }, + { + "value": "user-nurse", + "keywords": [ + "user", + "nurse" + ] + }, + { + "value": "user-pen", + "keywords": [ + "user", + "pen" + ] + }, + { + "value": "user-plus", + "keywords": [ + "user", + "plus" + ] + }, + { + "value": "user-secret", + "keywords": [ + "user", + "secret" + ] + }, + { + "value": "user-shield", + "keywords": [ + "user", + "shield" + ] + }, + { + "value": "user-slash", + "keywords": [ + "user", + "slash" + ] + }, + { + "value": "user-tag", + "keywords": [ + "user", + "tag" + ] + }, + { + "value": "user-tie", + "keywords": [ + "user", + "tie" + ] + }, + { + "value": "user-xmark", + "keywords": [ + "user", + "xmark" + ] + }, + { + "value": "users" + }, + { + "value": "users-between-lines", + "keywords": [ + "users", + "between", + "lines" + ] + }, + { + "value": "users-gear", + "keywords": [ + "users", + "gear" + ] + }, + { + "value": "users-line", + "keywords": [ + "users", + "line" + ] + }, + { + "value": "users-rays", + "keywords": [ + "users", + "rays" + ] + }, + { + "value": "users-rectangle", + "keywords": [ + "users", + "rectangle" + ] + }, + { + "value": "users-slash", + "keywords": [ + "users", + "slash" + ] + }, + { + "value": "users-viewfinder", + "keywords": [ + "users", + "viewfinder" + ] + }, + { + "value": "utensils" + }, + { + "value": "v" + }, + { + "value": "van-shuttle", + "keywords": [ + "van", + "shuttle" + ] + }, + { + "value": "vault" + }, + { + "value": "vector-square", + "keywords": [ + "vector", + "square" + ] + }, + { + "value": "venus" + }, + { + "value": "venus-double", + "keywords": [ + "venus", + "double" + ] + }, + { + "value": "venus-mars", + "keywords": [ + "venus", + "mars" + ] + }, + { + "value": "vest" + }, + { + "value": "vest-patches", + "keywords": [ + "vest", + "patches" + ] + }, + { + "value": "vial" + }, + { + "value": "vial-circle-check", + "keywords": [ + "vial", + "circle", + "check" + ] + }, + { + "value": "vial-virus", + "keywords": [ + "vial", + "virus" + ] + }, + { + "value": "vials" + }, + { + "value": "video" + }, + { + "value": "video-slash", + "keywords": [ + "video", + "slash" + ] + }, + { + "value": "vihara" + }, + { + "value": "virus" + }, + { + "value": "virus-covid", + "keywords": [ + "virus", + "covid" + ] + }, + { + "value": "virus-covid-slash", + "keywords": [ + "virus", + "covid", + "slash" + ] + }, + { + "value": "virus-slash", + "keywords": [ + "virus", + "slash" + ] + }, + { + "value": "viruses" + }, + { + "value": "voicemail" + }, + { + "value": "volcano" + }, + { + "value": "volleyball" + }, + { + "value": "volume-high", + "keywords": [ + "volume", + "high" + ] + }, + { + "value": "volume-low", + "keywords": [ + "volume", + "low" + ] + }, + { + "value": "volume-off", + "keywords": [ + "volume", + "off" + ] + }, + { + "value": "volume-xmark", + "keywords": [ + "volume", + "xmark" + ] + }, + { + "value": "vr-cardboard", + "keywords": [ + "vr", + "cardboard" + ] + }, + { + "value": "w" + }, + { + "value": "walkie-talkie", + "keywords": [ + "walkie", + "talkie" + ] + }, + { + "value": "wallet" + }, + { + "value": "wand-magic", + "keywords": [ + "wand", + "magic" + ] + }, + { + "value": "wand-magic-sparkles", + "keywords": [ + "wand", + "magic", + "sparkles" + ] + }, + { + "value": "wand-sparkles", + "keywords": [ + "wand", + "sparkles" + ] + }, + { + "value": "warehouse" + }, + { + "value": "water" + }, + { + "value": "water-ladder", + "keywords": [ + "water", + "ladder" + ] + }, + { + "value": "wave-square", + "keywords": [ + "wave", + "square" + ] + }, + { + "value": "weight-hanging", + "keywords": [ + "weight", + "hanging" + ] + }, + { + "value": "weight-scale", + "keywords": [ + "weight", + "scale" + ] + }, + { + "value": "wheat-awn", + "keywords": [ + "wheat", + "awn" + ] + }, + { + "value": "wheat-awn-circle-exclamation", + "keywords": [ + "wheat", + "awn", + "circle", + "exclamation" + ] + }, + { + "value": "wheelchair" + }, + { + "value": "wheelchair-move", + "keywords": [ + "wheelchair", + "move" + ] + }, + { + "value": "whiskey-glass", + "keywords": [ + "whiskey", + "glass" + ] + }, + { + "value": "wifi" + }, + { + "value": "wind" + }, + { + "value": "window-maximize", + "keywords": [ + "window", + "maximize" + ] + }, + { + "value": "window-minimize", + "keywords": [ + "window", + "minimize" + ] + }, + { + "value": "window-restore", + "keywords": [ + "window", + "restore" + ] + }, + { + "value": "wine-bottle", + "keywords": [ + "wine", + "bottle" + ] + }, + { + "value": "wine-glass", + "keywords": [ + "wine", + "glass" + ] + }, + { + "value": "wine-glass-empty", + "keywords": [ + "wine", + "glass", + "empty" + ] + }, + { + "value": "won-sign", + "keywords": [ + "won", + "sign" + ] + }, + { + "value": "worm" + }, + { + "value": "wrench" + }, + { + "value": "x" + }, + { + "value": "x-ray" + }, + { + "value": "xmark" + }, + { + "value": "xmarks-lines", + "keywords": [ + "xmarks", + "lines" + ] + }, + { + "value": "y" + }, + { + "value": "yen-sign", + "keywords": [ + "yen", + "sign" + ] + }, + { + "value": "yin-yang", + "keywords": [ + "yin", + "yang" + ] + }, + { + "value": "z" + } + ] + }, + "amPosition": { + "label": "$t:editor.control.am_position.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "position" + }, + "options": [ + { + "value": "left", + "label": "$t:editor.control.am_position.left" + }, + { + "value": "right", + "label": "$t:editor.control.am_position.right" + } + ] + }, + "tiPlaceholder": { + "label": "$t:editor.control.ti_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "tiCreatable": { + "label": "$t:editor.control.ti_creatable.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "creatable" + } + }, + "tiDisabled": { + "label": "$t:editor.control.ti_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "tiIsMulti": { + "label": "$t:editor.control.ti_is_multi.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "isMulti" + } + }, + "tiClearable": { + "label": "$t:editor.control.ti_clearable.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "isClearable" + } + }, + "tiSearchable": { + "label": "$t:editor.control.ti_searchable.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "isSearchable" + } + }, + "tiMaxItems": { + "label": "$t:editor.control.ti_max_items.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxItems" + } + }, + "sdMultiple": { + "label": "$t:editor.control.sd_multiple.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "multiple" + } + }, + "sdSearchPlaceholder": { + "label": "$t:editor.control.sd_search_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "searchPlaceholder" + } + }, + "sdDisabled": { + "label": "$t:editor.control.sd_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "sdTriggerLabel": { + "label": "$t:editor.control.sd_trigger_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "triggerLabel" + } + }, + "sdNoResults": { + "label": "$t:editor.control.sd_no_results.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "noResultsText" + } + }, + "sdInitial": { + "label": "$t:editor.control.sd_initial.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "initialText" + } + }, + "rsPlaceholder": { + "label": "$t:editor.control.rs_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "rsDisabled": { + "label": "$t:editor.control.rs_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "rsMaxHeight": { + "label": "$t:editor.control.rs_max_height.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxHeight" + } + }, + "tsPlaceholder": { + "label": "$t:editor.control.ts_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "tsDisabled": { + "label": "$t:editor.control.ts_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "isPlaceholder": { + "label": "$t:editor.control.is_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "isSearchPlaceholder": { + "label": "$t:editor.control.is_search_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "searchPlaceholder" + } + }, + "isNoResults": { + "label": "$t:editor.control.is_no_results.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "noResultsText" + } + }, + "isDisabled": { + "label": "$t:editor.control.is_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "ccValue": { + "label": "$t:editor.control.cc_value.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "value" + } + }, + "ccIcon": { + "label": "$t:editor.control.cc_icon.label", + "widget": "icon-picker", + "apply": { + "type": "propValue", + "propKey": "icon" + }, + "iconColumns": 8, + "icons": [ + { + "value": "0" + }, + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + }, + { + "value": "4" + }, + { + "value": "5" + }, + { + "value": "6" + }, + { + "value": "7" + }, + { + "value": "8" + }, + { + "value": "9" + }, + { + "value": "a" + }, + { + "value": "address-book", + "keywords": [ + "address", + "book" + ] + }, + { + "value": "address-card", + "keywords": [ + "address", + "card" + ] + }, + { + "value": "align-center", + "keywords": [ + "align", + "center" + ] + }, + { + "value": "align-justify", + "keywords": [ + "align", + "justify" + ] + }, + { + "value": "align-left", + "keywords": [ + "align", + "left" + ] + }, + { + "value": "align-right", + "keywords": [ + "align", + "right" + ] + }, + { + "value": "anchor" + }, + { + "value": "anchor-circle-check", + "keywords": [ + "anchor", + "circle", + "check" + ] + }, + { + "value": "anchor-circle-exclamation", + "keywords": [ + "anchor", + "circle", + "exclamation" + ] + }, + { + "value": "anchor-circle-xmark", + "keywords": [ + "anchor", + "circle", + "xmark" + ] + }, + { + "value": "anchor-lock", + "keywords": [ + "anchor", + "lock" + ] + }, + { + "value": "angle-down", + "keywords": [ + "angle", + "down" + ] + }, + { + "value": "angle-left", + "keywords": [ + "angle", + "left" + ] + }, + { + "value": "angle-right", + "keywords": [ + "angle", + "right" + ] + }, + { + "value": "angle-up", + "keywords": [ + "angle", + "up" + ] + }, + { + "value": "angles-down", + "keywords": [ + "angles", + "down" + ] + }, + { + "value": "angles-left", + "keywords": [ + "angles", + "left" + ] + }, + { + "value": "angles-right", + "keywords": [ + "angles", + "right" + ] + }, + { + "value": "angles-up", + "keywords": [ + "angles", + "up" + ] + }, + { + "value": "ankh" + }, + { + "value": "apple-whole", + "keywords": [ + "apple", + "whole" + ] + }, + { + "value": "archway" + }, + { + "value": "arrow-down", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-1-9", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-9-1", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-a-z", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-long", + "keywords": [ + "arrow", + "down", + "long" + ] + }, + { + "value": "arrow-down-short-wide", + "keywords": [ + "arrow", + "down", + "short", + "wide" + ] + }, + { + "value": "arrow-down-up-across-line", + "keywords": [ + "arrow", + "down", + "up", + "across", + "line" + ] + }, + { + "value": "arrow-down-up-lock", + "keywords": [ + "arrow", + "down", + "up", + "lock" + ] + }, + { + "value": "arrow-down-wide-short", + "keywords": [ + "arrow", + "down", + "wide", + "short" + ] + }, + { + "value": "arrow-down-z-a", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-left", + "keywords": [ + "arrow", + "left" + ] + }, + { + "value": "arrow-left-long", + "keywords": [ + "arrow", + "left", + "long" + ] + }, + { + "value": "arrow-pointer", + "keywords": [ + "arrow", + "pointer" + ] + }, + { + "value": "arrow-right", + "keywords": [ + "arrow", + "right" + ] + }, + { + "value": "arrow-right-arrow-left", + "keywords": [ + "arrow", + "right", + "arrow", + "left" + ] + }, + { + "value": "arrow-right-from-bracket", + "keywords": [ + "arrow", + "right", + "from", + "bracket" + ] + }, + { + "value": "arrow-right-long", + "keywords": [ + "arrow", + "right", + "long" + ] + }, + { + "value": "arrow-right-to-bracket", + "keywords": [ + "arrow", + "right", + "to", + "bracket" + ] + }, + { + "value": "arrow-right-to-city", + "keywords": [ + "arrow", + "right", + "to", + "city" + ] + }, + { + "value": "arrow-rotate-left", + "keywords": [ + "arrow", + "rotate", + "left" + ] + }, + { + "value": "arrow-rotate-right", + "keywords": [ + "arrow", + "rotate", + "right" + ] + }, + { + "value": "arrow-trend-down", + "keywords": [ + "arrow", + "trend", + "down" + ] + }, + { + "value": "arrow-trend-up", + "keywords": [ + "arrow", + "trend", + "up" + ] + }, + { + "value": "arrow-turn-down", + "keywords": [ + "arrow", + "turn", + "down" + ] + }, + { + "value": "arrow-turn-up", + "keywords": [ + "arrow", + "turn", + "up" + ] + }, + { + "value": "arrow-up", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-1-9", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-9-1", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-a-z", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-from-bracket", + "keywords": [ + "arrow", + "up", + "from", + "bracket" + ] + }, + { + "value": "arrow-up-from-ground-water", + "keywords": [ + "arrow", + "up", + "from", + "ground", + "water" + ] + }, + { + "value": "arrow-up-from-water-pump", + "keywords": [ + "arrow", + "up", + "from", + "water", + "pump" + ] + }, + { + "value": "arrow-up-long", + "keywords": [ + "arrow", + "up", + "long" + ] + }, + { + "value": "arrow-up-right-dots", + "keywords": [ + "arrow", + "up", + "right", + "dots" + ] + }, + { + "value": "arrow-up-right-from-square", + "keywords": [ + "arrow", + "up", + "right", + "from", + "square" + ] + }, + { + "value": "arrow-up-short-wide", + "keywords": [ + "arrow", + "up", + "short", + "wide" + ] + }, + { + "value": "arrow-up-wide-short", + "keywords": [ + "arrow", + "up", + "wide", + "short" + ] + }, + { + "value": "arrow-up-z-a", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrows-down-to-line", + "keywords": [ + "arrows", + "down", + "to", + "line" + ] + }, + { + "value": "arrows-down-to-people", + "keywords": [ + "arrows", + "down", + "to", + "people" + ] + }, + { + "value": "arrows-left-right", + "keywords": [ + "arrows", + "left", + "right" + ] + }, + { + "value": "arrows-left-right-to-line", + "keywords": [ + "arrows", + "left", + "right", + "to", + "line" + ] + }, + { + "value": "arrows-rotate", + "keywords": [ + "arrows", + "rotate" + ] + }, + { + "value": "arrows-spin", + "keywords": [ + "arrows", + "spin" + ] + }, + { + "value": "arrows-split-up-and-left", + "keywords": [ + "arrows", + "split", + "up", + "and", + "left" + ] + }, + { + "value": "arrows-to-circle", + "keywords": [ + "arrows", + "to", + "circle" + ] + }, + { + "value": "arrows-to-dot", + "keywords": [ + "arrows", + "to", + "dot" + ] + }, + { + "value": "arrows-to-eye", + "keywords": [ + "arrows", + "to", + "eye" + ] + }, + { + "value": "arrows-turn-right", + "keywords": [ + "arrows", + "turn", + "right" + ] + }, + { + "value": "arrows-turn-to-dots", + "keywords": [ + "arrows", + "turn", + "to", + "dots" + ] + }, + { + "value": "arrows-up-down", + "keywords": [ + "arrows", + "up", + "down" + ] + }, + { + "value": "arrows-up-down-left-right", + "keywords": [ + "arrows", + "up", + "down", + "left", + "right" + ] + }, + { + "value": "arrows-up-to-line", + "keywords": [ + "arrows", + "up", + "to", + "line" + ] + }, + { + "value": "asterisk" + }, + { + "value": "at" + }, + { + "value": "atom" + }, + { + "value": "audio-description", + "keywords": [ + "audio", + "description" + ] + }, + { + "value": "austral-sign", + "keywords": [ + "austral", + "sign" + ] + }, + { + "value": "award" + }, + { + "value": "b" + }, + { + "value": "baby" + }, + { + "value": "baby-carriage", + "keywords": [ + "baby", + "carriage" + ] + }, + { + "value": "backward" + }, + { + "value": "backward-fast", + "keywords": [ + "backward", + "fast" + ] + }, + { + "value": "backward-step", + "keywords": [ + "backward", + "step" + ] + }, + { + "value": "bacon" + }, + { + "value": "bacteria" + }, + { + "value": "bacterium" + }, + { + "value": "bag-shopping", + "keywords": [ + "bag", + "shopping" + ] + }, + { + "value": "bahai" + }, + { + "value": "baht-sign", + "keywords": [ + "baht", + "sign" + ] + }, + { + "value": "ban" + }, + { + "value": "ban-smoking", + "keywords": [ + "ban", + "smoking" + ] + }, + { + "value": "bandage" + }, + { + "value": "bangladeshi-taka-sign", + "keywords": [ + "bangladeshi", + "taka", + "sign" + ] + }, + { + "value": "barcode" + }, + { + "value": "bars" + }, + { + "value": "bars-progress", + "keywords": [ + "bars", + "progress" + ] + }, + { + "value": "bars-staggered", + "keywords": [ + "bars", + "staggered" + ] + }, + { + "value": "baseball" + }, + { + "value": "baseball-bat-ball", + "keywords": [ + "baseball", + "bat", + "ball" + ] + }, + { + "value": "basket-shopping", + "keywords": [ + "basket", + "shopping" + ] + }, + { + "value": "basketball" + }, + { + "value": "bath" + }, + { + "value": "battery-empty", + "keywords": [ + "battery", + "empty" + ] + }, + { + "value": "battery-full", + "keywords": [ + "battery", + "full" + ] + }, + { + "value": "battery-half", + "keywords": [ + "battery", + "half" + ] + }, + { + "value": "battery-quarter", + "keywords": [ + "battery", + "quarter" + ] + }, + { + "value": "battery-three-quarters", + "keywords": [ + "battery", + "three", + "quarters" + ] + }, + { + "value": "bed" + }, + { + "value": "bed-pulse", + "keywords": [ + "bed", + "pulse" + ] + }, + { + "value": "beer-mug-empty", + "keywords": [ + "beer", + "mug", + "empty" + ] + }, + { + "value": "bell" + }, + { + "value": "bell-concierge", + "keywords": [ + "bell", + "concierge" + ] + }, + { + "value": "bell-slash", + "keywords": [ + "bell", + "slash" + ] + }, + { + "value": "bezier-curve", + "keywords": [ + "bezier", + "curve" + ] + }, + { + "value": "bicycle" + }, + { + "value": "binoculars" + }, + { + "value": "biohazard" + }, + { + "value": "bitcoin-sign", + "keywords": [ + "bitcoin", + "sign" + ] + }, + { + "value": "blender" + }, + { + "value": "blender-phone", + "keywords": [ + "blender", + "phone" + ] + }, + { + "value": "blog" + }, + { + "value": "bold" + }, + { + "value": "bolt" + }, + { + "value": "bolt-lightning", + "keywords": [ + "bolt", + "lightning" + ] + }, + { + "value": "bomb" + }, + { + "value": "bone" + }, + { + "value": "bong" + }, + { + "value": "book" + }, + { + "value": "book-atlas", + "keywords": [ + "book", + "atlas" + ] + }, + { + "value": "book-bible", + "keywords": [ + "book", + "bible" + ] + }, + { + "value": "book-bookmark", + "keywords": [ + "book", + "bookmark" + ] + }, + { + "value": "book-journal-whills", + "keywords": [ + "book", + "journal", + "whills" + ] + }, + { + "value": "book-medical", + "keywords": [ + "book", + "medical" + ] + }, + { + "value": "book-open", + "keywords": [ + "book", + "open" + ] + }, + { + "value": "book-open-reader", + "keywords": [ + "book", + "open", + "reader" + ] + }, + { + "value": "book-quran", + "keywords": [ + "book", + "quran" + ] + }, + { + "value": "book-skull", + "keywords": [ + "book", + "skull" + ] + }, + { + "value": "book-tanakh", + "keywords": [ + "book", + "tanakh" + ] + }, + { + "value": "bookmark" + }, + { + "value": "border-all", + "keywords": [ + "border", + "all" + ] + }, + { + "value": "border-none", + "keywords": [ + "border", + "none" + ] + }, + { + "value": "border-top-left", + "keywords": [ + "border", + "top", + "left" + ] + }, + { + "value": "bore-hole", + "keywords": [ + "bore", + "hole" + ] + }, + { + "value": "bottle-droplet", + "keywords": [ + "bottle", + "droplet" + ] + }, + { + "value": "bottle-water", + "keywords": [ + "bottle", + "water" + ] + }, + { + "value": "bowl-food", + "keywords": [ + "bowl", + "food" + ] + }, + { + "value": "bowl-rice", + "keywords": [ + "bowl", + "rice" + ] + }, + { + "value": "bowling-ball", + "keywords": [ + "bowling", + "ball" + ] + }, + { + "value": "box" + }, + { + "value": "box-archive", + "keywords": [ + "box", + "archive" + ] + }, + { + "value": "box-open", + "keywords": [ + "box", + "open" + ] + }, + { + "value": "box-tissue", + "keywords": [ + "box", + "tissue" + ] + }, + { + "value": "boxes-packing", + "keywords": [ + "boxes", + "packing" + ] + }, + { + "value": "boxes-stacked", + "keywords": [ + "boxes", + "stacked" + ] + }, + { + "value": "braille" + }, + { + "value": "brain" + }, + { + "value": "brazilian-real-sign", + "keywords": [ + "brazilian", + "real", + "sign" + ] + }, + { + "value": "bread-slice", + "keywords": [ + "bread", + "slice" + ] + }, + { + "value": "bridge" + }, + { + "value": "bridge-circle-check", + "keywords": [ + "bridge", + "circle", + "check" + ] + }, + { + "value": "bridge-circle-exclamation", + "keywords": [ + "bridge", + "circle", + "exclamation" + ] + }, + { + "value": "bridge-circle-xmark", + "keywords": [ + "bridge", + "circle", + "xmark" + ] + }, + { + "value": "bridge-lock", + "keywords": [ + "bridge", + "lock" + ] + }, + { + "value": "bridge-water", + "keywords": [ + "bridge", + "water" + ] + }, + { + "value": "briefcase" + }, + { + "value": "briefcase-medical", + "keywords": [ + "briefcase", + "medical" + ] + }, + { + "value": "broom" + }, + { + "value": "broom-ball", + "keywords": [ + "broom", + "ball" + ] + }, + { + "value": "brush" + }, + { + "value": "bucket" + }, + { + "value": "bug" + }, + { + "value": "bug-slash", + "keywords": [ + "bug", + "slash" + ] + }, + { + "value": "bugs" + }, + { + "value": "building" + }, + { + "value": "building-circle-arrow-right", + "keywords": [ + "building", + "circle", + "arrow", + "right" + ] + }, + { + "value": "building-circle-check", + "keywords": [ + "building", + "circle", + "check" + ] + }, + { + "value": "building-circle-exclamation", + "keywords": [ + "building", + "circle", + "exclamation" + ] + }, + { + "value": "building-circle-xmark", + "keywords": [ + "building", + "circle", + "xmark" + ] + }, + { + "value": "building-columns", + "keywords": [ + "building", + "columns" + ] + }, + { + "value": "building-flag", + "keywords": [ + "building", + "flag" + ] + }, + { + "value": "building-lock", + "keywords": [ + "building", + "lock" + ] + }, + { + "value": "building-ngo", + "keywords": [ + "building", + "ngo" + ] + }, + { + "value": "building-shield", + "keywords": [ + "building", + "shield" + ] + }, + { + "value": "building-un", + "keywords": [ + "building", + "un" + ] + }, + { + "value": "building-user", + "keywords": [ + "building", + "user" + ] + }, + { + "value": "building-wheat", + "keywords": [ + "building", + "wheat" + ] + }, + { + "value": "bullhorn" + }, + { + "value": "bullseye" + }, + { + "value": "burger" + }, + { + "value": "burst" + }, + { + "value": "bus" + }, + { + "value": "bus-simple", + "keywords": [ + "bus", + "simple" + ] + }, + { + "value": "business-time", + "keywords": [ + "business", + "time" + ] + }, + { + "value": "c" + }, + { + "value": "cable-car", + "keywords": [ + "cable", + "car" + ] + }, + { + "value": "cake-candles", + "keywords": [ + "cake", + "candles" + ] + }, + { + "value": "calculator" + }, + { + "value": "calendar" + }, + { + "value": "calendar-check", + "keywords": [ + "calendar", + "check" + ] + }, + { + "value": "calendar-day", + "keywords": [ + "calendar", + "day" + ] + }, + { + "value": "calendar-days", + "keywords": [ + "calendar", + "days" + ] + }, + { + "value": "calendar-minus", + "keywords": [ + "calendar", + "minus" + ] + }, + { + "value": "calendar-plus", + "keywords": [ + "calendar", + "plus" + ] + }, + { + "value": "calendar-week", + "keywords": [ + "calendar", + "week" + ] + }, + { + "value": "calendar-xmark", + "keywords": [ + "calendar", + "xmark" + ] + }, + { + "value": "camera" + }, + { + "value": "camera-retro", + "keywords": [ + "camera", + "retro" + ] + }, + { + "value": "camera-rotate", + "keywords": [ + "camera", + "rotate" + ] + }, + { + "value": "campground" + }, + { + "value": "candy-cane", + "keywords": [ + "candy", + "cane" + ] + }, + { + "value": "cannabis" + }, + { + "value": "capsules" + }, + { + "value": "car" + }, + { + "value": "car-battery", + "keywords": [ + "car", + "battery" + ] + }, + { + "value": "car-burst", + "keywords": [ + "car", + "burst" + ] + }, + { + "value": "car-on", + "keywords": [ + "car", + "on" + ] + }, + { + "value": "car-rear", + "keywords": [ + "car", + "rear" + ] + }, + { + "value": "car-side", + "keywords": [ + "car", + "side" + ] + }, + { + "value": "car-tunnel", + "keywords": [ + "car", + "tunnel" + ] + }, + { + "value": "caravan" + }, + { + "value": "caret-down", + "keywords": [ + "caret", + "down" + ] + }, + { + "value": "caret-left", + "keywords": [ + "caret", + "left" + ] + }, + { + "value": "caret-right", + "keywords": [ + "caret", + "right" + ] + }, + { + "value": "caret-up", + "keywords": [ + "caret", + "up" + ] + }, + { + "value": "carrot" + }, + { + "value": "cart-arrow-down", + "keywords": [ + "cart", + "arrow", + "down" + ] + }, + { + "value": "cart-flatbed", + "keywords": [ + "cart", + "flatbed" + ] + }, + { + "value": "cart-flatbed-suitcase", + "keywords": [ + "cart", + "flatbed", + "suitcase" + ] + }, + { + "value": "cart-plus", + "keywords": [ + "cart", + "plus" + ] + }, + { + "value": "cart-shopping", + "keywords": [ + "cart", + "shopping" + ] + }, + { + "value": "cash-register", + "keywords": [ + "cash", + "register" + ] + }, + { + "value": "cat" + }, + { + "value": "cedi-sign", + "keywords": [ + "cedi", + "sign" + ] + }, + { + "value": "cent-sign", + "keywords": [ + "cent", + "sign" + ] + }, + { + "value": "certificate" + }, + { + "value": "chair" + }, + { + "value": "chalkboard" + }, + { + "value": "chalkboard-user", + "keywords": [ + "chalkboard", + "user" + ] + }, + { + "value": "champagne-glasses", + "keywords": [ + "champagne", + "glasses" + ] + }, + { + "value": "charging-station", + "keywords": [ + "charging", + "station" + ] + }, + { + "value": "chart-area", + "keywords": [ + "chart", + "area" + ] + }, + { + "value": "chart-bar", + "keywords": [ + "chart", + "bar" + ] + }, + { + "value": "chart-column", + "keywords": [ + "chart", + "column" + ] + }, + { + "value": "chart-gantt", + "keywords": [ + "chart", + "gantt" + ] + }, + { + "value": "chart-line", + "keywords": [ + "chart", + "line" + ] + }, + { + "value": "chart-pie", + "keywords": [ + "chart", + "pie" + ] + }, + { + "value": "chart-simple", + "keywords": [ + "chart", + "simple" + ] + }, + { + "value": "check" + }, + { + "value": "check-double", + "keywords": [ + "check", + "double" + ] + }, + { + "value": "check-to-slot", + "keywords": [ + "check", + "to", + "slot" + ] + }, + { + "value": "cheese" + }, + { + "value": "chess" + }, + { + "value": "chess-bishop", + "keywords": [ + "chess", + "bishop" + ] + }, + { + "value": "chess-board", + "keywords": [ + "chess", + "board" + ] + }, + { + "value": "chess-king", + "keywords": [ + "chess", + "king" + ] + }, + { + "value": "chess-knight", + "keywords": [ + "chess", + "knight" + ] + }, + { + "value": "chess-pawn", + "keywords": [ + "chess", + "pawn" + ] + }, + { + "value": "chess-queen", + "keywords": [ + "chess", + "queen" + ] + }, + { + "value": "chess-rook", + "keywords": [ + "chess", + "rook" + ] + }, + { + "value": "chevron-down", + "keywords": [ + "chevron", + "down" + ] + }, + { + "value": "chevron-left", + "keywords": [ + "chevron", + "left" + ] + }, + { + "value": "chevron-right", + "keywords": [ + "chevron", + "right" + ] + }, + { + "value": "chevron-up", + "keywords": [ + "chevron", + "up" + ] + }, + { + "value": "child" + }, + { + "value": "child-combatant", + "keywords": [ + "child", + "combatant" + ] + }, + { + "value": "child-dress", + "keywords": [ + "child", + "dress" + ] + }, + { + "value": "child-reaching", + "keywords": [ + "child", + "reaching" + ] + }, + { + "value": "children" + }, + { + "value": "church" + }, + { + "value": "circle" + }, + { + "value": "circle-arrow-down", + "keywords": [ + "circle", + "arrow", + "down" + ] + }, + { + "value": "circle-arrow-left", + "keywords": [ + "circle", + "arrow", + "left" + ] + }, + { + "value": "circle-arrow-right", + "keywords": [ + "circle", + "arrow", + "right" + ] + }, + { + "value": "circle-arrow-up", + "keywords": [ + "circle", + "arrow", + "up" + ] + }, + { + "value": "circle-check", + "keywords": [ + "circle", + "check" + ] + }, + { + "value": "circle-chevron-down", + "keywords": [ + "circle", + "chevron", + "down" + ] + }, + { + "value": "circle-chevron-left", + "keywords": [ + "circle", + "chevron", + "left" + ] + }, + { + "value": "circle-chevron-right", + "keywords": [ + "circle", + "chevron", + "right" + ] + }, + { + "value": "circle-chevron-up", + "keywords": [ + "circle", + "chevron", + "up" + ] + }, + { + "value": "circle-dollar-to-slot", + "keywords": [ + "circle", + "dollar", + "to", + "slot" + ] + }, + { + "value": "circle-dot", + "keywords": [ + "circle", + "dot" + ] + }, + { + "value": "circle-down", + "keywords": [ + "circle", + "down" + ] + }, + { + "value": "circle-exclamation", + "keywords": [ + "circle", + "exclamation" + ] + }, + { + "value": "circle-h" + }, + { + "value": "circle-half-stroke", + "keywords": [ + "circle", + "half", + "stroke" + ] + }, + { + "value": "circle-info", + "keywords": [ + "circle", + "info" + ] + }, + { + "value": "circle-left", + "keywords": [ + "circle", + "left" + ] + }, + { + "value": "circle-minus", + "keywords": [ + "circle", + "minus" + ] + }, + { + "value": "circle-nodes", + "keywords": [ + "circle", + "nodes" + ] + }, + { + "value": "circle-notch", + "keywords": [ + "circle", + "notch" + ] + }, + { + "value": "circle-pause", + "keywords": [ + "circle", + "pause" + ] + }, + { + "value": "circle-play", + "keywords": [ + "circle", + "play" + ] + }, + { + "value": "circle-plus", + "keywords": [ + "circle", + "plus" + ] + }, + { + "value": "circle-question", + "keywords": [ + "circle", + "question" + ] + }, + { + "value": "circle-radiation", + "keywords": [ + "circle", + "radiation" + ] + }, + { + "value": "circle-right", + "keywords": [ + "circle", + "right" + ] + }, + { + "value": "circle-stop", + "keywords": [ + "circle", + "stop" + ] + }, + { + "value": "circle-up", + "keywords": [ + "circle", + "up" + ] + }, + { + "value": "circle-user", + "keywords": [ + "circle", + "user" + ] + }, + { + "value": "circle-xmark", + "keywords": [ + "circle", + "xmark" + ] + }, + { + "value": "city" + }, + { + "value": "clapperboard" + }, + { + "value": "clipboard" + }, + { + "value": "clipboard-check", + "keywords": [ + "clipboard", + "check" + ] + }, + { + "value": "clipboard-list", + "keywords": [ + "clipboard", + "list" + ] + }, + { + "value": "clipboard-question", + "keywords": [ + "clipboard", + "question" + ] + }, + { + "value": "clipboard-user", + "keywords": [ + "clipboard", + "user" + ] + }, + { + "value": "clock" + }, + { + "value": "clock-rotate-left", + "keywords": [ + "clock", + "rotate", + "left" + ] + }, + { + "value": "clone" + }, + { + "value": "closed-captioning", + "keywords": [ + "closed", + "captioning" + ] + }, + { + "value": "cloud" + }, + { + "value": "cloud-arrow-down", + "keywords": [ + "cloud", + "arrow", + "down" + ] + }, + { + "value": "cloud-arrow-up", + "keywords": [ + "cloud", + "arrow", + "up" + ] + }, + { + "value": "cloud-bolt", + "keywords": [ + "cloud", + "bolt" + ] + }, + { + "value": "cloud-meatball", + "keywords": [ + "cloud", + "meatball" + ] + }, + { + "value": "cloud-moon", + "keywords": [ + "cloud", + "moon" + ] + }, + { + "value": "cloud-moon-rain", + "keywords": [ + "cloud", + "moon", + "rain" + ] + }, + { + "value": "cloud-rain", + "keywords": [ + "cloud", + "rain" + ] + }, + { + "value": "cloud-showers-heavy", + "keywords": [ + "cloud", + "showers", + "heavy" + ] + }, + { + "value": "cloud-showers-water", + "keywords": [ + "cloud", + "showers", + "water" + ] + }, + { + "value": "cloud-sun", + "keywords": [ + "cloud", + "sun" + ] + }, + { + "value": "cloud-sun-rain", + "keywords": [ + "cloud", + "sun", + "rain" + ] + }, + { + "value": "clover" + }, + { + "value": "code" + }, + { + "value": "code-branch", + "keywords": [ + "code", + "branch" + ] + }, + { + "value": "code-commit", + "keywords": [ + "code", + "commit" + ] + }, + { + "value": "code-compare", + "keywords": [ + "code", + "compare" + ] + }, + { + "value": "code-fork", + "keywords": [ + "code", + "fork" + ] + }, + { + "value": "code-merge", + "keywords": [ + "code", + "merge" + ] + }, + { + "value": "code-pull-request", + "keywords": [ + "code", + "pull", + "request" + ] + }, + { + "value": "coins" + }, + { + "value": "colon-sign", + "keywords": [ + "colon", + "sign" + ] + }, + { + "value": "comment" + }, + { + "value": "comment-dollar", + "keywords": [ + "comment", + "dollar" + ] + }, + { + "value": "comment-dots", + "keywords": [ + "comment", + "dots" + ] + }, + { + "value": "comment-medical", + "keywords": [ + "comment", + "medical" + ] + }, + { + "value": "comment-slash", + "keywords": [ + "comment", + "slash" + ] + }, + { + "value": "comment-sms", + "keywords": [ + "comment", + "sms" + ] + }, + { + "value": "comments" + }, + { + "value": "comments-dollar", + "keywords": [ + "comments", + "dollar" + ] + }, + { + "value": "compact-disc", + "keywords": [ + "compact", + "disc" + ] + }, + { + "value": "compass" + }, + { + "value": "compass-drafting", + "keywords": [ + "compass", + "drafting" + ] + }, + { + "value": "compress" + }, + { + "value": "computer" + }, + { + "value": "computer-mouse", + "keywords": [ + "computer", + "mouse" + ] + }, + { + "value": "cookie" + }, + { + "value": "cookie-bite", + "keywords": [ + "cookie", + "bite" + ] + }, + { + "value": "copy" + }, + { + "value": "copyright" + }, + { + "value": "couch" + }, + { + "value": "cow" + }, + { + "value": "credit-card", + "keywords": [ + "credit", + "card" + ] + }, + { + "value": "crop" + }, + { + "value": "crop-simple", + "keywords": [ + "crop", + "simple" + ] + }, + { + "value": "cross" + }, + { + "value": "crosshairs" + }, + { + "value": "crow" + }, + { + "value": "crown" + }, + { + "value": "crutch" + }, + { + "value": "cruzeiro-sign", + "keywords": [ + "cruzeiro", + "sign" + ] + }, + { + "value": "cube" + }, + { + "value": "cubes" + }, + { + "value": "cubes-stacked", + "keywords": [ + "cubes", + "stacked" + ] + }, + { + "value": "d" + }, + { + "value": "database" + }, + { + "value": "delete-left", + "keywords": [ + "delete", + "left" + ] + }, + { + "value": "democrat" + }, + { + "value": "desktop" + }, + { + "value": "dharmachakra" + }, + { + "value": "diagram-next", + "keywords": [ + "diagram", + "next" + ] + }, + { + "value": "diagram-predecessor", + "keywords": [ + "diagram", + "predecessor" + ] + }, + { + "value": "diagram-project", + "keywords": [ + "diagram", + "project" + ] + }, + { + "value": "diagram-successor", + "keywords": [ + "diagram", + "successor" + ] + }, + { + "value": "diamond" + }, + { + "value": "diamond-turn-right", + "keywords": [ + "diamond", + "turn", + "right" + ] + }, + { + "value": "dice" + }, + { + "value": "dice-d20", + "keywords": [ + "dice", + "d20" + ] + }, + { + "value": "dice-d6", + "keywords": [ + "dice", + "d6" + ] + }, + { + "value": "dice-five", + "keywords": [ + "dice", + "five" + ] + }, + { + "value": "dice-four", + "keywords": [ + "dice", + "four" + ] + }, + { + "value": "dice-one", + "keywords": [ + "dice", + "one" + ] + }, + { + "value": "dice-six", + "keywords": [ + "dice", + "six" + ] + }, + { + "value": "dice-three", + "keywords": [ + "dice", + "three" + ] + }, + { + "value": "dice-two", + "keywords": [ + "dice", + "two" + ] + }, + { + "value": "disease" + }, + { + "value": "display" + }, + { + "value": "divide" + }, + { + "value": "dna" + }, + { + "value": "dog" + }, + { + "value": "dollar-sign", + "keywords": [ + "dollar", + "sign" + ] + }, + { + "value": "dolly" + }, + { + "value": "dong-sign", + "keywords": [ + "dong", + "sign" + ] + }, + { + "value": "door-closed", + "keywords": [ + "door", + "closed" + ] + }, + { + "value": "door-open", + "keywords": [ + "door", + "open" + ] + }, + { + "value": "dove" + }, + { + "value": "down-left-and-up-right-to-center", + "keywords": [ + "down", + "left", + "and", + "up", + "right", + "to", + "center" + ] + }, + { + "value": "down-long", + "keywords": [ + "down", + "long" + ] + }, + { + "value": "download" + }, + { + "value": "dragon" + }, + { + "value": "draw-polygon", + "keywords": [ + "draw", + "polygon" + ] + }, + { + "value": "droplet" + }, + { + "value": "droplet-slash", + "keywords": [ + "droplet", + "slash" + ] + }, + { + "value": "drum" + }, + { + "value": "drum-steelpan", + "keywords": [ + "drum", + "steelpan" + ] + }, + { + "value": "drumstick-bite", + "keywords": [ + "drumstick", + "bite" + ] + }, + { + "value": "dumbbell" + }, + { + "value": "dumpster" + }, + { + "value": "dumpster-fire", + "keywords": [ + "dumpster", + "fire" + ] + }, + { + "value": "dungeon" + }, + { + "value": "e" + }, + { + "value": "ear-deaf", + "keywords": [ + "ear", + "deaf" + ] + }, + { + "value": "ear-listen", + "keywords": [ + "ear", + "listen" + ] + }, + { + "value": "earth-africa", + "keywords": [ + "earth", + "africa" + ] + }, + { + "value": "earth-americas", + "keywords": [ + "earth", + "americas" + ] + }, + { + "value": "earth-asia", + "keywords": [ + "earth", + "asia" + ] + }, + { + "value": "earth-europe", + "keywords": [ + "earth", + "europe" + ] + }, + { + "value": "earth-oceania", + "keywords": [ + "earth", + "oceania" + ] + }, + { + "value": "egg" + }, + { + "value": "eject" + }, + { + "value": "elevator" + }, + { + "value": "ellipsis" + }, + { + "value": "ellipsis-vertical", + "keywords": [ + "ellipsis", + "vertical" + ] + }, + { + "value": "envelope" + }, + { + "value": "envelope-circle-check", + "keywords": [ + "envelope", + "circle", + "check" + ] + }, + { + "value": "envelope-open", + "keywords": [ + "envelope", + "open" + ] + }, + { + "value": "envelope-open-text", + "keywords": [ + "envelope", + "open", + "text" + ] + }, + { + "value": "envelopes-bulk", + "keywords": [ + "envelopes", + "bulk" + ] + }, + { + "value": "equals" + }, + { + "value": "eraser" + }, + { + "value": "ethernet" + }, + { + "value": "euro-sign", + "keywords": [ + "euro", + "sign" + ] + }, + { + "value": "exclamation" + }, + { + "value": "expand" + }, + { + "value": "explosion" + }, + { + "value": "eye" + }, + { + "value": "eye-dropper", + "keywords": [ + "eye", + "dropper" + ] + }, + { + "value": "eye-low-vision", + "keywords": [ + "eye", + "low", + "vision" + ] + }, + { + "value": "eye-slash", + "keywords": [ + "eye", + "slash" + ] + }, + { + "value": "f" + }, + { + "value": "face-angry", + "keywords": [ + "face", + "angry" + ] + }, + { + "value": "face-dizzy", + "keywords": [ + "face", + "dizzy" + ] + }, + { + "value": "face-flushed", + "keywords": [ + "face", + "flushed" + ] + }, + { + "value": "face-frown", + "keywords": [ + "face", + "frown" + ] + }, + { + "value": "face-frown-open", + "keywords": [ + "face", + "frown", + "open" + ] + }, + { + "value": "face-grimace", + "keywords": [ + "face", + "grimace" + ] + }, + { + "value": "face-grin", + "keywords": [ + "face", + "grin" + ] + }, + { + "value": "face-grin-beam", + "keywords": [ + "face", + "grin", + "beam" + ] + }, + { + "value": "face-grin-beam-sweat", + "keywords": [ + "face", + "grin", + "beam", + "sweat" + ] + }, + { + "value": "face-grin-hearts", + "keywords": [ + "face", + "grin", + "hearts" + ] + }, + { + "value": "face-grin-squint", + "keywords": [ + "face", + "grin", + "squint" + ] + }, + { + "value": "face-grin-squint-tears", + "keywords": [ + "face", + "grin", + "squint", + "tears" + ] + }, + { + "value": "face-grin-stars", + "keywords": [ + "face", + "grin", + "stars" + ] + }, + { + "value": "face-grin-tears", + "keywords": [ + "face", + "grin", + "tears" + ] + }, + { + "value": "face-grin-tongue", + "keywords": [ + "face", + "grin", + "tongue" + ] + }, + { + "value": "face-grin-tongue-squint", + "keywords": [ + "face", + "grin", + "tongue", + "squint" + ] + }, + { + "value": "face-grin-tongue-wink", + "keywords": [ + "face", + "grin", + "tongue", + "wink" + ] + }, + { + "value": "face-grin-wide", + "keywords": [ + "face", + "grin", + "wide" + ] + }, + { + "value": "face-grin-wink", + "keywords": [ + "face", + "grin", + "wink" + ] + }, + { + "value": "face-kiss", + "keywords": [ + "face", + "kiss" + ] + }, + { + "value": "face-kiss-beam", + "keywords": [ + "face", + "kiss", + "beam" + ] + }, + { + "value": "face-kiss-wink-heart", + "keywords": [ + "face", + "kiss", + "wink", + "heart" + ] + }, + { + "value": "face-laugh", + "keywords": [ + "face", + "laugh" + ] + }, + { + "value": "face-laugh-beam", + "keywords": [ + "face", + "laugh", + "beam" + ] + }, + { + "value": "face-laugh-squint", + "keywords": [ + "face", + "laugh", + "squint" + ] + }, + { + "value": "face-laugh-wink", + "keywords": [ + "face", + "laugh", + "wink" + ] + }, + { + "value": "face-meh", + "keywords": [ + "face", + "meh" + ] + }, + { + "value": "face-meh-blank", + "keywords": [ + "face", + "meh", + "blank" + ] + }, + { + "value": "face-rolling-eyes", + "keywords": [ + "face", + "rolling", + "eyes" + ] + }, + { + "value": "face-sad-cry", + "keywords": [ + "face", + "sad", + "cry" + ] + }, + { + "value": "face-sad-tear", + "keywords": [ + "face", + "sad", + "tear" + ] + }, + { + "value": "face-smile", + "keywords": [ + "face", + "smile" + ] + }, + { + "value": "face-smile-beam", + "keywords": [ + "face", + "smile", + "beam" + ] + }, + { + "value": "face-smile-wink", + "keywords": [ + "face", + "smile", + "wink" + ] + }, + { + "value": "face-surprise", + "keywords": [ + "face", + "surprise" + ] + }, + { + "value": "face-tired", + "keywords": [ + "face", + "tired" + ] + }, + { + "value": "fan" + }, + { + "value": "faucet" + }, + { + "value": "faucet-drip", + "keywords": [ + "faucet", + "drip" + ] + }, + { + "value": "fax" + }, + { + "value": "feather" + }, + { + "value": "feather-pointed", + "keywords": [ + "feather", + "pointed" + ] + }, + { + "value": "ferry" + }, + { + "value": "file" + }, + { + "value": "file-arrow-down", + "keywords": [ + "file", + "arrow", + "down" + ] + }, + { + "value": "file-arrow-up", + "keywords": [ + "file", + "arrow", + "up" + ] + }, + { + "value": "file-audio", + "keywords": [ + "file", + "audio" + ] + }, + { + "value": "file-circle-check", + "keywords": [ + "file", + "circle", + "check" + ] + }, + { + "value": "file-circle-exclamation", + "keywords": [ + "file", + "circle", + "exclamation" + ] + }, + { + "value": "file-circle-minus", + "keywords": [ + "file", + "circle", + "minus" + ] + }, + { + "value": "file-circle-plus", + "keywords": [ + "file", + "circle", + "plus" + ] + }, + { + "value": "file-circle-question", + "keywords": [ + "file", + "circle", + "question" + ] + }, + { + "value": "file-circle-xmark", + "keywords": [ + "file", + "circle", + "xmark" + ] + }, + { + "value": "file-code", + "keywords": [ + "file", + "code" + ] + }, + { + "value": "file-contract", + "keywords": [ + "file", + "contract" + ] + }, + { + "value": "file-csv", + "keywords": [ + "file", + "csv" + ] + }, + { + "value": "file-excel", + "keywords": [ + "file", + "excel" + ] + }, + { + "value": "file-export", + "keywords": [ + "file", + "export" + ] + }, + { + "value": "file-image", + "keywords": [ + "file", + "image" + ] + }, + { + "value": "file-import", + "keywords": [ + "file", + "import" + ] + }, + { + "value": "file-invoice", + "keywords": [ + "file", + "invoice" + ] + }, + { + "value": "file-invoice-dollar", + "keywords": [ + "file", + "invoice", + "dollar" + ] + }, + { + "value": "file-lines", + "keywords": [ + "file", + "lines" + ] + }, + { + "value": "file-medical", + "keywords": [ + "file", + "medical" + ] + }, + { + "value": "file-pdf", + "keywords": [ + "file", + "pdf" + ] + }, + { + "value": "file-pen", + "keywords": [ + "file", + "pen" + ] + }, + { + "value": "file-powerpoint", + "keywords": [ + "file", + "powerpoint" + ] + }, + { + "value": "file-prescription", + "keywords": [ + "file", + "prescription" + ] + }, + { + "value": "file-shield", + "keywords": [ + "file", + "shield" + ] + }, + { + "value": "file-signature", + "keywords": [ + "file", + "signature" + ] + }, + { + "value": "file-video", + "keywords": [ + "file", + "video" + ] + }, + { + "value": "file-waveform", + "keywords": [ + "file", + "waveform" + ] + }, + { + "value": "file-word", + "keywords": [ + "file", + "word" + ] + }, + { + "value": "file-zipper", + "keywords": [ + "file", + "zipper" + ] + }, + { + "value": "fill" + }, + { + "value": "fill-drip", + "keywords": [ + "fill", + "drip" + ] + }, + { + "value": "film" + }, + { + "value": "filter" + }, + { + "value": "filter-circle-dollar", + "keywords": [ + "filter", + "circle", + "dollar" + ] + }, + { + "value": "filter-circle-xmark", + "keywords": [ + "filter", + "circle", + "xmark" + ] + }, + { + "value": "fingerprint" + }, + { + "value": "fire" + }, + { + "value": "fire-burner", + "keywords": [ + "fire", + "burner" + ] + }, + { + "value": "fire-extinguisher", + "keywords": [ + "fire", + "extinguisher" + ] + }, + { + "value": "fire-flame-curved", + "keywords": [ + "fire", + "flame", + "curved" + ] + }, + { + "value": "fire-flame-simple", + "keywords": [ + "fire", + "flame", + "simple" + ] + }, + { + "value": "fish" + }, + { + "value": "fish-fins", + "keywords": [ + "fish", + "fins" + ] + }, + { + "value": "flag" + }, + { + "value": "flag-checkered", + "keywords": [ + "flag", + "checkered" + ] + }, + { + "value": "flag-usa", + "keywords": [ + "flag", + "usa" + ] + }, + { + "value": "flask" + }, + { + "value": "flask-vial", + "keywords": [ + "flask", + "vial" + ] + }, + { + "value": "floppy-disk", + "keywords": [ + "floppy", + "disk" + ] + }, + { + "value": "florin-sign", + "keywords": [ + "florin", + "sign" + ] + }, + { + "value": "folder" + }, + { + "value": "folder-closed", + "keywords": [ + "folder", + "closed" + ] + }, + { + "value": "folder-minus", + "keywords": [ + "folder", + "minus" + ] + }, + { + "value": "folder-open", + "keywords": [ + "folder", + "open" + ] + }, + { + "value": "folder-plus", + "keywords": [ + "folder", + "plus" + ] + }, + { + "value": "folder-tree", + "keywords": [ + "folder", + "tree" + ] + }, + { + "value": "font" + }, + { + "value": "font-awesome", + "keywords": [ + "font", + "awesome" + ] + }, + { + "value": "football" + }, + { + "value": "forward" + }, + { + "value": "forward-fast", + "keywords": [ + "forward", + "fast" + ] + }, + { + "value": "forward-step", + "keywords": [ + "forward", + "step" + ] + }, + { + "value": "franc-sign", + "keywords": [ + "franc", + "sign" + ] + }, + { + "value": "frog" + }, + { + "value": "futbol" + }, + { + "value": "g" + }, + { + "value": "gamepad" + }, + { + "value": "gas-pump", + "keywords": [ + "gas", + "pump" + ] + }, + { + "value": "gauge" + }, + { + "value": "gauge-high", + "keywords": [ + "gauge", + "high" + ] + }, + { + "value": "gauge-simple", + "keywords": [ + "gauge", + "simple" + ] + }, + { + "value": "gauge-simple-high", + "keywords": [ + "gauge", + "simple", + "high" + ] + }, + { + "value": "gavel" + }, + { + "value": "gear" + }, + { + "value": "gears" + }, + { + "value": "gem" + }, + { + "value": "genderless" + }, + { + "value": "ghost" + }, + { + "value": "gift" + }, + { + "value": "gifts" + }, + { + "value": "glass-water", + "keywords": [ + "glass", + "water" + ] + }, + { + "value": "glass-water-droplet", + "keywords": [ + "glass", + "water", + "droplet" + ] + }, + { + "value": "glasses" + }, + { + "value": "globe" + }, + { + "value": "golf-ball-tee", + "keywords": [ + "golf", + "ball", + "tee" + ] + }, + { + "value": "gopuram" + }, + { + "value": "graduation-cap", + "keywords": [ + "graduation", + "cap" + ] + }, + { + "value": "greater-than", + "keywords": [ + "greater", + "than" + ] + }, + { + "value": "greater-than-equal", + "keywords": [ + "greater", + "than", + "equal" + ] + }, + { + "value": "grip" + }, + { + "value": "grip-lines", + "keywords": [ + "grip", + "lines" + ] + }, + { + "value": "grip-lines-vertical", + "keywords": [ + "grip", + "lines", + "vertical" + ] + }, + { + "value": "grip-vertical", + "keywords": [ + "grip", + "vertical" + ] + }, + { + "value": "group-arrows-rotate", + "keywords": [ + "group", + "arrows", + "rotate" + ] + }, + { + "value": "guarani-sign", + "keywords": [ + "guarani", + "sign" + ] + }, + { + "value": "guitar" + }, + { + "value": "gun" + }, + { + "value": "h" + }, + { + "value": "hammer" + }, + { + "value": "hamsa" + }, + { + "value": "hand" + }, + { + "value": "hand-back-fist", + "keywords": [ + "hand", + "back", + "fist" + ] + }, + { + "value": "hand-dots", + "keywords": [ + "hand", + "dots" + ] + }, + { + "value": "hand-fist", + "keywords": [ + "hand", + "fist" + ] + }, + { + "value": "hand-holding", + "keywords": [ + "hand", + "holding" + ] + }, + { + "value": "hand-holding-dollar", + "keywords": [ + "hand", + "holding", + "dollar" + ] + }, + { + "value": "hand-holding-droplet", + "keywords": [ + "hand", + "holding", + "droplet" + ] + }, + { + "value": "hand-holding-hand", + "keywords": [ + "hand", + "holding", + "hand" + ] + }, + { + "value": "hand-holding-heart", + "keywords": [ + "hand", + "holding", + "heart" + ] + }, + { + "value": "hand-holding-medical", + "keywords": [ + "hand", + "holding", + "medical" + ] + }, + { + "value": "hand-lizard", + "keywords": [ + "hand", + "lizard" + ] + }, + { + "value": "hand-middle-finger", + "keywords": [ + "hand", + "middle", + "finger" + ] + }, + { + "value": "hand-peace", + "keywords": [ + "hand", + "peace" + ] + }, + { + "value": "hand-point-down", + "keywords": [ + "hand", + "point", + "down" + ] + }, + { + "value": "hand-point-left", + "keywords": [ + "hand", + "point", + "left" + ] + }, + { + "value": "hand-point-right", + "keywords": [ + "hand", + "point", + "right" + ] + }, + { + "value": "hand-point-up", + "keywords": [ + "hand", + "point", + "up" + ] + }, + { + "value": "hand-pointer", + "keywords": [ + "hand", + "pointer" + ] + }, + { + "value": "hand-scissors", + "keywords": [ + "hand", + "scissors" + ] + }, + { + "value": "hand-sparkles", + "keywords": [ + "hand", + "sparkles" + ] + }, + { + "value": "hand-spock", + "keywords": [ + "hand", + "spock" + ] + }, + { + "value": "handcuffs" + }, + { + "value": "hands" + }, + { + "value": "hands-asl-interpreting", + "keywords": [ + "hands", + "asl", + "interpreting" + ] + }, + { + "value": "hands-bound", + "keywords": [ + "hands", + "bound" + ] + }, + { + "value": "hands-bubbles", + "keywords": [ + "hands", + "bubbles" + ] + }, + { + "value": "hands-clapping", + "keywords": [ + "hands", + "clapping" + ] + }, + { + "value": "hands-holding", + "keywords": [ + "hands", + "holding" + ] + }, + { + "value": "hands-holding-child", + "keywords": [ + "hands", + "holding", + "child" + ] + }, + { + "value": "hands-holding-circle", + "keywords": [ + "hands", + "holding", + "circle" + ] + }, + { + "value": "hands-praying", + "keywords": [ + "hands", + "praying" + ] + }, + { + "value": "handshake" + }, + { + "value": "handshake-angle", + "keywords": [ + "handshake", + "angle" + ] + }, + { + "value": "handshake-simple", + "keywords": [ + "handshake", + "simple" + ] + }, + { + "value": "handshake-simple-slash", + "keywords": [ + "handshake", + "simple", + "slash" + ] + }, + { + "value": "handshake-slash", + "keywords": [ + "handshake", + "slash" + ] + }, + { + "value": "hanukiah" + }, + { + "value": "hard-drive", + "keywords": [ + "hard", + "drive" + ] + }, + { + "value": "hashtag" + }, + { + "value": "hat-cowboy", + "keywords": [ + "hat", + "cowboy" + ] + }, + { + "value": "hat-cowboy-side", + "keywords": [ + "hat", + "cowboy", + "side" + ] + }, + { + "value": "hat-wizard", + "keywords": [ + "hat", + "wizard" + ] + }, + { + "value": "head-side-cough", + "keywords": [ + "head", + "side", + "cough" + ] + }, + { + "value": "head-side-cough-slash", + "keywords": [ + "head", + "side", + "cough", + "slash" + ] + }, + { + "value": "head-side-mask", + "keywords": [ + "head", + "side", + "mask" + ] + }, + { + "value": "head-side-virus", + "keywords": [ + "head", + "side", + "virus" + ] + }, + { + "value": "heading" + }, + { + "value": "headphones" + }, + { + "value": "headphones-simple", + "keywords": [ + "headphones", + "simple" + ] + }, + { + "value": "headset" + }, + { + "value": "heart" + }, + { + "value": "heart-circle-bolt", + "keywords": [ + "heart", + "circle", + "bolt" + ] + }, + { + "value": "heart-circle-check", + "keywords": [ + "heart", + "circle", + "check" + ] + }, + { + "value": "heart-circle-exclamation", + "keywords": [ + "heart", + "circle", + "exclamation" + ] + }, + { + "value": "heart-circle-minus", + "keywords": [ + "heart", + "circle", + "minus" + ] + }, + { + "value": "heart-circle-plus", + "keywords": [ + "heart", + "circle", + "plus" + ] + }, + { + "value": "heart-circle-xmark", + "keywords": [ + "heart", + "circle", + "xmark" + ] + }, + { + "value": "heart-crack", + "keywords": [ + "heart", + "crack" + ] + }, + { + "value": "heart-pulse", + "keywords": [ + "heart", + "pulse" + ] + }, + { + "value": "helicopter" + }, + { + "value": "helicopter-symbol", + "keywords": [ + "helicopter", + "symbol" + ] + }, + { + "value": "helmet-safety", + "keywords": [ + "helmet", + "safety" + ] + }, + { + "value": "helmet-un", + "keywords": [ + "helmet", + "un" + ] + }, + { + "value": "highlighter" + }, + { + "value": "hill-avalanche", + "keywords": [ + "hill", + "avalanche" + ] + }, + { + "value": "hill-rockslide", + "keywords": [ + "hill", + "rockslide" + ] + }, + { + "value": "hippo" + }, + { + "value": "hockey-puck", + "keywords": [ + "hockey", + "puck" + ] + }, + { + "value": "holly-berry", + "keywords": [ + "holly", + "berry" + ] + }, + { + "value": "horse" + }, + { + "value": "horse-head", + "keywords": [ + "horse", + "head" + ] + }, + { + "value": "hospital" + }, + { + "value": "hospital-user", + "keywords": [ + "hospital", + "user" + ] + }, + { + "value": "hot-tub-person", + "keywords": [ + "hot", + "tub", + "person" + ] + }, + { + "value": "hotdog" + }, + { + "value": "hotel" + }, + { + "value": "hourglass" + }, + { + "value": "hourglass-end", + "keywords": [ + "hourglass", + "end" + ] + }, + { + "value": "hourglass-half", + "keywords": [ + "hourglass", + "half" + ] + }, + { + "value": "hourglass-start", + "keywords": [ + "hourglass", + "start" + ] + }, + { + "value": "house" + }, + { + "value": "house-chimney", + "keywords": [ + "house", + "chimney" + ] + }, + { + "value": "house-chimney-crack", + "keywords": [ + "house", + "chimney", + "crack" + ] + }, + { + "value": "house-chimney-medical", + "keywords": [ + "house", + "chimney", + "medical" + ] + }, + { + "value": "house-chimney-user", + "keywords": [ + "house", + "chimney", + "user" + ] + }, + { + "value": "house-chimney-window", + "keywords": [ + "house", + "chimney", + "window" + ] + }, + { + "value": "house-circle-check", + "keywords": [ + "house", + "circle", + "check" + ] + }, + { + "value": "house-circle-exclamation", + "keywords": [ + "house", + "circle", + "exclamation" + ] + }, + { + "value": "house-circle-xmark", + "keywords": [ + "house", + "circle", + "xmark" + ] + }, + { + "value": "house-crack", + "keywords": [ + "house", + "crack" + ] + }, + { + "value": "house-fire", + "keywords": [ + "house", + "fire" + ] + }, + { + "value": "house-flag", + "keywords": [ + "house", + "flag" + ] + }, + { + "value": "house-flood-water", + "keywords": [ + "house", + "flood", + "water" + ] + }, + { + "value": "house-flood-water-circle-arrow-right", + "keywords": [ + "house", + "flood", + "water", + "circle", + "arrow", + "right" + ] + }, + { + "value": "house-laptop", + "keywords": [ + "house", + "laptop" + ] + }, + { + "value": "house-lock", + "keywords": [ + "house", + "lock" + ] + }, + { + "value": "house-medical", + "keywords": [ + "house", + "medical" + ] + }, + { + "value": "house-medical-circle-check", + "keywords": [ + "house", + "medical", + "circle", + "check" + ] + }, + { + "value": "house-medical-circle-exclamation", + "keywords": [ + "house", + "medical", + "circle", + "exclamation" + ] + }, + { + "value": "house-medical-circle-xmark", + "keywords": [ + "house", + "medical", + "circle", + "xmark" + ] + }, + { + "value": "house-medical-flag", + "keywords": [ + "house", + "medical", + "flag" + ] + }, + { + "value": "house-signal", + "keywords": [ + "house", + "signal" + ] + }, + { + "value": "house-tsunami", + "keywords": [ + "house", + "tsunami" + ] + }, + { + "value": "house-user", + "keywords": [ + "house", + "user" + ] + }, + { + "value": "hryvnia-sign", + "keywords": [ + "hryvnia", + "sign" + ] + }, + { + "value": "hurricane" + }, + { + "value": "i" + }, + { + "value": "i-cursor" + }, + { + "value": "ice-cream", + "keywords": [ + "ice", + "cream" + ] + }, + { + "value": "icicles" + }, + { + "value": "icons" + }, + { + "value": "id-badge", + "keywords": [ + "id", + "badge" + ] + }, + { + "value": "id-card", + "keywords": [ + "id", + "card" + ] + }, + { + "value": "id-card-clip", + "keywords": [ + "id", + "card", + "clip" + ] + }, + { + "value": "igloo" + }, + { + "value": "image" + }, + { + "value": "image-portrait", + "keywords": [ + "image", + "portrait" + ] + }, + { + "value": "images" + }, + { + "value": "inbox" + }, + { + "value": "indent" + }, + { + "value": "indian-rupee-sign", + "keywords": [ + "indian", + "rupee", + "sign" + ] + }, + { + "value": "industry" + }, + { + "value": "infinity" + }, + { + "value": "info" + }, + { + "value": "italic" + }, + { + "value": "j" + }, + { + "value": "jar" + }, + { + "value": "jar-wheat", + "keywords": [ + "jar", + "wheat" + ] + }, + { + "value": "jedi" + }, + { + "value": "jet-fighter", + "keywords": [ + "jet", + "fighter" + ] + }, + { + "value": "jet-fighter-up", + "keywords": [ + "jet", + "fighter", + "up" + ] + }, + { + "value": "joint" + }, + { + "value": "jug-detergent", + "keywords": [ + "jug", + "detergent" + ] + }, + { + "value": "k" + }, + { + "value": "kaaba" + }, + { + "value": "key" + }, + { + "value": "keyboard" + }, + { + "value": "khanda" + }, + { + "value": "kip-sign", + "keywords": [ + "kip", + "sign" + ] + }, + { + "value": "kit-medical", + "keywords": [ + "kit", + "medical" + ] + }, + { + "value": "kitchen-set", + "keywords": [ + "kitchen", + "set" + ] + }, + { + "value": "kiwi-bird", + "keywords": [ + "kiwi", + "bird" + ] + }, + { + "value": "l" + }, + { + "value": "land-mine-on", + "keywords": [ + "land", + "mine", + "on" + ] + }, + { + "value": "landmark" + }, + { + "value": "landmark-dome", + "keywords": [ + "landmark", + "dome" + ] + }, + { + "value": "landmark-flag", + "keywords": [ + "landmark", + "flag" + ] + }, + { + "value": "language" + }, + { + "value": "laptop" + }, + { + "value": "laptop-code", + "keywords": [ + "laptop", + "code" + ] + }, + { + "value": "laptop-file", + "keywords": [ + "laptop", + "file" + ] + }, + { + "value": "laptop-medical", + "keywords": [ + "laptop", + "medical" + ] + }, + { + "value": "lari-sign", + "keywords": [ + "lari", + "sign" + ] + }, + { + "value": "layer-group", + "keywords": [ + "layer", + "group" + ] + }, + { + "value": "leaf" + }, + { + "value": "left-long", + "keywords": [ + "left", + "long" + ] + }, + { + "value": "left-right", + "keywords": [ + "left", + "right" + ] + }, + { + "value": "lemon" + }, + { + "value": "less-than", + "keywords": [ + "less", + "than" + ] + }, + { + "value": "less-than-equal", + "keywords": [ + "less", + "than", + "equal" + ] + }, + { + "value": "life-ring", + "keywords": [ + "life", + "ring" + ] + }, + { + "value": "lightbulb" + }, + { + "value": "lines-leaning", + "keywords": [ + "lines", + "leaning" + ] + }, + { + "value": "link" + }, + { + "value": "link-slash", + "keywords": [ + "link", + "slash" + ] + }, + { + "value": "lira-sign", + "keywords": [ + "lira", + "sign" + ] + }, + { + "value": "list" + }, + { + "value": "list-check", + "keywords": [ + "list", + "check" + ] + }, + { + "value": "list-ol", + "keywords": [ + "list", + "ol" + ] + }, + { + "value": "list-ul", + "keywords": [ + "list", + "ul" + ] + }, + { + "value": "litecoin-sign", + "keywords": [ + "litecoin", + "sign" + ] + }, + { + "value": "location-arrow", + "keywords": [ + "location", + "arrow" + ] + }, + { + "value": "location-crosshairs", + "keywords": [ + "location", + "crosshairs" + ] + }, + { + "value": "location-dot", + "keywords": [ + "location", + "dot" + ] + }, + { + "value": "location-pin", + "keywords": [ + "location", + "pin" + ] + }, + { + "value": "location-pin-lock", + "keywords": [ + "location", + "pin", + "lock" + ] + }, + { + "value": "lock" + }, + { + "value": "lock-open", + "keywords": [ + "lock", + "open" + ] + }, + { + "value": "locust" + }, + { + "value": "lungs" + }, + { + "value": "lungs-virus", + "keywords": [ + "lungs", + "virus" + ] + }, + { + "value": "m" + }, + { + "value": "magnet" + }, + { + "value": "magnifying-glass", + "keywords": [ + "magnifying", + "glass" + ] + }, + { + "value": "magnifying-glass-arrow-right", + "keywords": [ + "magnifying", + "glass", + "arrow", + "right" + ] + }, + { + "value": "magnifying-glass-chart", + "keywords": [ + "magnifying", + "glass", + "chart" + ] + }, + { + "value": "magnifying-glass-dollar", + "keywords": [ + "magnifying", + "glass", + "dollar" + ] + }, + { + "value": "magnifying-glass-location", + "keywords": [ + "magnifying", + "glass", + "location" + ] + }, + { + "value": "magnifying-glass-minus", + "keywords": [ + "magnifying", + "glass", + "minus" + ] + }, + { + "value": "magnifying-glass-plus", + "keywords": [ + "magnifying", + "glass", + "plus" + ] + }, + { + "value": "manat-sign", + "keywords": [ + "manat", + "sign" + ] + }, + { + "value": "map" + }, + { + "value": "map-location", + "keywords": [ + "map", + "location" + ] + }, + { + "value": "map-location-dot", + "keywords": [ + "map", + "location", + "dot" + ] + }, + { + "value": "map-pin", + "keywords": [ + "map", + "pin" + ] + }, + { + "value": "marker" + }, + { + "value": "mars" + }, + { + "value": "mars-and-venus", + "keywords": [ + "mars", + "and", + "venus" + ] + }, + { + "value": "mars-and-venus-burst", + "keywords": [ + "mars", + "and", + "venus", + "burst" + ] + }, + { + "value": "mars-double", + "keywords": [ + "mars", + "double" + ] + }, + { + "value": "mars-stroke", + "keywords": [ + "mars", + "stroke" + ] + }, + { + "value": "mars-stroke-right", + "keywords": [ + "mars", + "stroke", + "right" + ] + }, + { + "value": "mars-stroke-up", + "keywords": [ + "mars", + "stroke", + "up" + ] + }, + { + "value": "martini-glass", + "keywords": [ + "martini", + "glass" + ] + }, + { + "value": "martini-glass-citrus", + "keywords": [ + "martini", + "glass", + "citrus" + ] + }, + { + "value": "martini-glass-empty", + "keywords": [ + "martini", + "glass", + "empty" + ] + }, + { + "value": "mask" + }, + { + "value": "mask-face", + "keywords": [ + "mask", + "face" + ] + }, + { + "value": "mask-ventilator", + "keywords": [ + "mask", + "ventilator" + ] + }, + { + "value": "masks-theater", + "keywords": [ + "masks", + "theater" + ] + }, + { + "value": "mattress-pillow", + "keywords": [ + "mattress", + "pillow" + ] + }, + { + "value": "maximize" + }, + { + "value": "medal" + }, + { + "value": "memory" + }, + { + "value": "menorah" + }, + { + "value": "mercury" + }, + { + "value": "message" + }, + { + "value": "meteor" + }, + { + "value": "microchip" + }, + { + "value": "microphone" + }, + { + "value": "microphone-lines", + "keywords": [ + "microphone", + "lines" + ] + }, + { + "value": "microphone-lines-slash", + "keywords": [ + "microphone", + "lines", + "slash" + ] + }, + { + "value": "microphone-slash", + "keywords": [ + "microphone", + "slash" + ] + }, + { + "value": "microscope" + }, + { + "value": "mill-sign", + "keywords": [ + "mill", + "sign" + ] + }, + { + "value": "minimize" + }, + { + "value": "minus" + }, + { + "value": "mitten" + }, + { + "value": "mobile" + }, + { + "value": "mobile-button", + "keywords": [ + "mobile", + "button" + ] + }, + { + "value": "mobile-retro", + "keywords": [ + "mobile", + "retro" + ] + }, + { + "value": "mobile-screen", + "keywords": [ + "mobile", + "screen" + ] + }, + { + "value": "mobile-screen-button", + "keywords": [ + "mobile", + "screen", + "button" + ] + }, + { + "value": "money-bill", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-transfer", + "keywords": [ + "money", + "bill", + "transfer" + ] + }, + { + "value": "money-bill-trend-up", + "keywords": [ + "money", + "bill", + "trend", + "up" + ] + }, + { + "value": "money-bill-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-wheat", + "keywords": [ + "money", + "bill", + "wheat" + ] + }, + { + "value": "money-bills", + "keywords": [ + "money", + "bills" + ] + }, + { + "value": "money-check", + "keywords": [ + "money", + "check" + ] + }, + { + "value": "money-check-dollar", + "keywords": [ + "money", + "check", + "dollar" + ] + }, + { + "value": "monument" + }, + { + "value": "moon" + }, + { + "value": "mortar-pestle", + "keywords": [ + "mortar", + "pestle" + ] + }, + { + "value": "mosque" + }, + { + "value": "mosquito" + }, + { + "value": "mosquito-net", + "keywords": [ + "mosquito", + "net" + ] + }, + { + "value": "motorcycle" + }, + { + "value": "mound" + }, + { + "value": "mountain" + }, + { + "value": "mountain-city", + "keywords": [ + "mountain", + "city" + ] + }, + { + "value": "mountain-sun", + "keywords": [ + "mountain", + "sun" + ] + }, + { + "value": "mug-hot", + "keywords": [ + "mug", + "hot" + ] + }, + { + "value": "mug-saucer", + "keywords": [ + "mug", + "saucer" + ] + }, + { + "value": "music" + }, + { + "value": "n" + }, + { + "value": "naira-sign", + "keywords": [ + "naira", + "sign" + ] + }, + { + "value": "network-wired", + "keywords": [ + "network", + "wired" + ] + }, + { + "value": "neuter" + }, + { + "value": "newspaper" + }, + { + "value": "not-equal", + "keywords": [ + "not", + "equal" + ] + }, + { + "value": "notdef" + }, + { + "value": "note-sticky", + "keywords": [ + "note", + "sticky" + ] + }, + { + "value": "notes-medical", + "keywords": [ + "notes", + "medical" + ] + }, + { + "value": "o" + }, + { + "value": "object-group", + "keywords": [ + "object", + "group" + ] + }, + { + "value": "object-ungroup", + "keywords": [ + "object", + "ungroup" + ] + }, + { + "value": "oil-can", + "keywords": [ + "oil", + "can" + ] + }, + { + "value": "oil-well", + "keywords": [ + "oil", + "well" + ] + }, + { + "value": "om" + }, + { + "value": "otter" + }, + { + "value": "outdent" + }, + { + "value": "p" + }, + { + "value": "pager" + }, + { + "value": "paint-roller", + "keywords": [ + "paint", + "roller" + ] + }, + { + "value": "paintbrush" + }, + { + "value": "palette" + }, + { + "value": "pallet" + }, + { + "value": "panorama" + }, + { + "value": "paper-plane", + "keywords": [ + "paper", + "plane" + ] + }, + { + "value": "paperclip" + }, + { + "value": "parachute-box", + "keywords": [ + "parachute", + "box" + ] + }, + { + "value": "paragraph" + }, + { + "value": "passport" + }, + { + "value": "paste" + }, + { + "value": "pause" + }, + { + "value": "paw" + }, + { + "value": "peace" + }, + { + "value": "pen" + }, + { + "value": "pen-clip", + "keywords": [ + "pen", + "clip" + ] + }, + { + "value": "pen-fancy", + "keywords": [ + "pen", + "fancy" + ] + }, + { + "value": "pen-nib", + "keywords": [ + "pen", + "nib" + ] + }, + { + "value": "pen-ruler", + "keywords": [ + "pen", + "ruler" + ] + }, + { + "value": "pen-to-square", + "keywords": [ + "pen", + "to", + "square" + ] + }, + { + "value": "pencil" + }, + { + "value": "people-arrows", + "keywords": [ + "people", + "arrows" + ] + }, + { + "value": "people-carry-box", + "keywords": [ + "people", + "carry", + "box" + ] + }, + { + "value": "people-group", + "keywords": [ + "people", + "group" + ] + }, + { + "value": "people-line", + "keywords": [ + "people", + "line" + ] + }, + { + "value": "people-pulling", + "keywords": [ + "people", + "pulling" + ] + }, + { + "value": "people-robbery", + "keywords": [ + "people", + "robbery" + ] + }, + { + "value": "people-roof", + "keywords": [ + "people", + "roof" + ] + }, + { + "value": "pepper-hot", + "keywords": [ + "pepper", + "hot" + ] + }, + { + "value": "percent" + }, + { + "value": "person" + }, + { + "value": "person-arrow-down-to-line", + "keywords": [ + "person", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "person-arrow-up-from-line", + "keywords": [ + "person", + "arrow", + "up", + "from", + "line" + ] + }, + { + "value": "person-biking", + "keywords": [ + "person", + "biking" + ] + }, + { + "value": "person-booth", + "keywords": [ + "person", + "booth" + ] + }, + { + "value": "person-breastfeeding", + "keywords": [ + "person", + "breastfeeding" + ] + }, + { + "value": "person-burst", + "keywords": [ + "person", + "burst" + ] + }, + { + "value": "person-cane", + "keywords": [ + "person", + "cane" + ] + }, + { + "value": "person-chalkboard", + "keywords": [ + "person", + "chalkboard" + ] + }, + { + "value": "person-circle-check", + "keywords": [ + "person", + "circle", + "check" + ] + }, + { + "value": "person-circle-exclamation", + "keywords": [ + "person", + "circle", + "exclamation" + ] + }, + { + "value": "person-circle-minus", + "keywords": [ + "person", + "circle", + "minus" + ] + }, + { + "value": "person-circle-plus", + "keywords": [ + "person", + "circle", + "plus" + ] + }, + { + "value": "person-circle-question", + "keywords": [ + "person", + "circle", + "question" + ] + }, + { + "value": "person-circle-xmark", + "keywords": [ + "person", + "circle", + "xmark" + ] + }, + { + "value": "person-digging", + "keywords": [ + "person", + "digging" + ] + }, + { + "value": "person-dots-from-line", + "keywords": [ + "person", + "dots", + "from", + "line" + ] + }, + { + "value": "person-dress", + "keywords": [ + "person", + "dress" + ] + }, + { + "value": "person-dress-burst", + "keywords": [ + "person", + "dress", + "burst" + ] + }, + { + "value": "person-drowning", + "keywords": [ + "person", + "drowning" + ] + }, + { + "value": "person-falling", + "keywords": [ + "person", + "falling" + ] + }, + { + "value": "person-falling-burst", + "keywords": [ + "person", + "falling", + "burst" + ] + }, + { + "value": "person-half-dress", + "keywords": [ + "person", + "half", + "dress" + ] + }, + { + "value": "person-harassing", + "keywords": [ + "person", + "harassing" + ] + }, + { + "value": "person-hiking", + "keywords": [ + "person", + "hiking" + ] + }, + { + "value": "person-military-pointing", + "keywords": [ + "person", + "military", + "pointing" + ] + }, + { + "value": "person-military-rifle", + "keywords": [ + "person", + "military", + "rifle" + ] + }, + { + "value": "person-military-to-person", + "keywords": [ + "person", + "military", + "to", + "person" + ] + }, + { + "value": "person-praying", + "keywords": [ + "person", + "praying" + ] + }, + { + "value": "person-pregnant", + "keywords": [ + "person", + "pregnant" + ] + }, + { + "value": "person-rays", + "keywords": [ + "person", + "rays" + ] + }, + { + "value": "person-rifle", + "keywords": [ + "person", + "rifle" + ] + }, + { + "value": "person-running", + "keywords": [ + "person", + "running" + ] + }, + { + "value": "person-shelter", + "keywords": [ + "person", + "shelter" + ] + }, + { + "value": "person-skating", + "keywords": [ + "person", + "skating" + ] + }, + { + "value": "person-skiing", + "keywords": [ + "person", + "skiing" + ] + }, + { + "value": "person-skiing-nordic", + "keywords": [ + "person", + "skiing", + "nordic" + ] + }, + { + "value": "person-snowboarding", + "keywords": [ + "person", + "snowboarding" + ] + }, + { + "value": "person-swimming", + "keywords": [ + "person", + "swimming" + ] + }, + { + "value": "person-through-window", + "keywords": [ + "person", + "through", + "window" + ] + }, + { + "value": "person-walking", + "keywords": [ + "person", + "walking" + ] + }, + { + "value": "person-walking-arrow-loop-left", + "keywords": [ + "person", + "walking", + "arrow", + "loop", + "left" + ] + }, + { + "value": "person-walking-arrow-right", + "keywords": [ + "person", + "walking", + "arrow", + "right" + ] + }, + { + "value": "person-walking-dashed-line-arrow-right", + "keywords": [ + "person", + "walking", + "dashed", + "line", + "arrow", + "right" + ] + }, + { + "value": "person-walking-luggage", + "keywords": [ + "person", + "walking", + "luggage" + ] + }, + { + "value": "person-walking-with-cane", + "keywords": [ + "person", + "walking", + "with", + "cane" + ] + }, + { + "value": "peseta-sign", + "keywords": [ + "peseta", + "sign" + ] + }, + { + "value": "peso-sign", + "keywords": [ + "peso", + "sign" + ] + }, + { + "value": "phone" + }, + { + "value": "phone-flip", + "keywords": [ + "phone", + "flip" + ] + }, + { + "value": "phone-slash", + "keywords": [ + "phone", + "slash" + ] + }, + { + "value": "phone-volume", + "keywords": [ + "phone", + "volume" + ] + }, + { + "value": "photo-film", + "keywords": [ + "photo", + "film" + ] + }, + { + "value": "piggy-bank", + "keywords": [ + "piggy", + "bank" + ] + }, + { + "value": "pills" + }, + { + "value": "pizza-slice", + "keywords": [ + "pizza", + "slice" + ] + }, + { + "value": "place-of-worship", + "keywords": [ + "place", + "of", + "worship" + ] + }, + { + "value": "plane" + }, + { + "value": "plane-arrival", + "keywords": [ + "plane", + "arrival" + ] + }, + { + "value": "plane-circle-check", + "keywords": [ + "plane", + "circle", + "check" + ] + }, + { + "value": "plane-circle-exclamation", + "keywords": [ + "plane", + "circle", + "exclamation" + ] + }, + { + "value": "plane-circle-xmark", + "keywords": [ + "plane", + "circle", + "xmark" + ] + }, + { + "value": "plane-departure", + "keywords": [ + "plane", + "departure" + ] + }, + { + "value": "plane-lock", + "keywords": [ + "plane", + "lock" + ] + }, + { + "value": "plane-slash", + "keywords": [ + "plane", + "slash" + ] + }, + { + "value": "plane-up", + "keywords": [ + "plane", + "up" + ] + }, + { + "value": "plant-wilt", + "keywords": [ + "plant", + "wilt" + ] + }, + { + "value": "plate-wheat", + "keywords": [ + "plate", + "wheat" + ] + }, + { + "value": "play" + }, + { + "value": "plug" + }, + { + "value": "plug-circle-bolt", + "keywords": [ + "plug", + "circle", + "bolt" + ] + }, + { + "value": "plug-circle-check", + "keywords": [ + "plug", + "circle", + "check" + ] + }, + { + "value": "plug-circle-exclamation", + "keywords": [ + "plug", + "circle", + "exclamation" + ] + }, + { + "value": "plug-circle-minus", + "keywords": [ + "plug", + "circle", + "minus" + ] + }, + { + "value": "plug-circle-plus", + "keywords": [ + "plug", + "circle", + "plus" + ] + }, + { + "value": "plug-circle-xmark", + "keywords": [ + "plug", + "circle", + "xmark" + ] + }, + { + "value": "plus" + }, + { + "value": "plus-minus", + "keywords": [ + "plus", + "minus" + ] + }, + { + "value": "podcast" + }, + { + "value": "poo" + }, + { + "value": "poo-storm", + "keywords": [ + "poo", + "storm" + ] + }, + { + "value": "poop" + }, + { + "value": "power-off", + "keywords": [ + "power", + "off" + ] + }, + { + "value": "prescription" + }, + { + "value": "prescription-bottle", + "keywords": [ + "prescription", + "bottle" + ] + }, + { + "value": "prescription-bottle-medical", + "keywords": [ + "prescription", + "bottle", + "medical" + ] + }, + { + "value": "print" + }, + { + "value": "pump-medical", + "keywords": [ + "pump", + "medical" + ] + }, + { + "value": "pump-soap", + "keywords": [ + "pump", + "soap" + ] + }, + { + "value": "puzzle-piece", + "keywords": [ + "puzzle", + "piece" + ] + }, + { + "value": "q" + }, + { + "value": "qrcode" + }, + { + "value": "question" + }, + { + "value": "quote-left", + "keywords": [ + "quote", + "left" + ] + }, + { + "value": "quote-right", + "keywords": [ + "quote", + "right" + ] + }, + { + "value": "r" + }, + { + "value": "radiation" + }, + { + "value": "radio" + }, + { + "value": "rainbow" + }, + { + "value": "ranking-star", + "keywords": [ + "ranking", + "star" + ] + }, + { + "value": "receipt" + }, + { + "value": "record-vinyl", + "keywords": [ + "record", + "vinyl" + ] + }, + { + "value": "rectangle-ad", + "keywords": [ + "rectangle", + "ad" + ] + }, + { + "value": "rectangle-list", + "keywords": [ + "rectangle", + "list" + ] + }, + { + "value": "rectangle-xmark", + "keywords": [ + "rectangle", + "xmark" + ] + }, + { + "value": "recycle" + }, + { + "value": "registered" + }, + { + "value": "repeat" + }, + { + "value": "reply" + }, + { + "value": "reply-all", + "keywords": [ + "reply", + "all" + ] + }, + { + "value": "republican" + }, + { + "value": "restroom" + }, + { + "value": "retweet" + }, + { + "value": "ribbon" + }, + { + "value": "right-from-bracket", + "keywords": [ + "right", + "from", + "bracket" + ] + }, + { + "value": "right-left", + "keywords": [ + "right", + "left" + ] + }, + { + "value": "right-long", + "keywords": [ + "right", + "long" + ] + }, + { + "value": "right-to-bracket", + "keywords": [ + "right", + "to", + "bracket" + ] + }, + { + "value": "ring" + }, + { + "value": "road" + }, + { + "value": "road-barrier", + "keywords": [ + "road", + "barrier" + ] + }, + { + "value": "road-bridge", + "keywords": [ + "road", + "bridge" + ] + }, + { + "value": "road-circle-check", + "keywords": [ + "road", + "circle", + "check" + ] + }, + { + "value": "road-circle-exclamation", + "keywords": [ + "road", + "circle", + "exclamation" + ] + }, + { + "value": "road-circle-xmark", + "keywords": [ + "road", + "circle", + "xmark" + ] + }, + { + "value": "road-lock", + "keywords": [ + "road", + "lock" + ] + }, + { + "value": "road-spikes", + "keywords": [ + "road", + "spikes" + ] + }, + { + "value": "robot" + }, + { + "value": "rocket" + }, + { + "value": "rotate" + }, + { + "value": "rotate-left", + "keywords": [ + "rotate", + "left" + ] + }, + { + "value": "rotate-right", + "keywords": [ + "rotate", + "right" + ] + }, + { + "value": "route" + }, + { + "value": "rss" + }, + { + "value": "ruble-sign", + "keywords": [ + "ruble", + "sign" + ] + }, + { + "value": "rug" + }, + { + "value": "ruler" + }, + { + "value": "ruler-combined", + "keywords": [ + "ruler", + "combined" + ] + }, + { + "value": "ruler-horizontal", + "keywords": [ + "ruler", + "horizontal" + ] + }, + { + "value": "ruler-vertical", + "keywords": [ + "ruler", + "vertical" + ] + }, + { + "value": "rupee-sign", + "keywords": [ + "rupee", + "sign" + ] + }, + { + "value": "rupiah-sign", + "keywords": [ + "rupiah", + "sign" + ] + }, + { + "value": "s" + }, + { + "value": "sack-dollar", + "keywords": [ + "sack", + "dollar" + ] + }, + { + "value": "sack-xmark", + "keywords": [ + "sack", + "xmark" + ] + }, + { + "value": "sailboat" + }, + { + "value": "satellite" + }, + { + "value": "satellite-dish", + "keywords": [ + "satellite", + "dish" + ] + }, + { + "value": "scale-balanced", + "keywords": [ + "scale", + "balanced" + ] + }, + { + "value": "scale-unbalanced", + "keywords": [ + "scale", + "unbalanced" + ] + }, + { + "value": "scale-unbalanced-flip", + "keywords": [ + "scale", + "unbalanced", + "flip" + ] + }, + { + "value": "school" + }, + { + "value": "school-circle-check", + "keywords": [ + "school", + "circle", + "check" + ] + }, + { + "value": "school-circle-exclamation", + "keywords": [ + "school", + "circle", + "exclamation" + ] + }, + { + "value": "school-circle-xmark", + "keywords": [ + "school", + "circle", + "xmark" + ] + }, + { + "value": "school-flag", + "keywords": [ + "school", + "flag" + ] + }, + { + "value": "school-lock", + "keywords": [ + "school", + "lock" + ] + }, + { + "value": "scissors" + }, + { + "value": "screwdriver" + }, + { + "value": "screwdriver-wrench", + "keywords": [ + "screwdriver", + "wrench" + ] + }, + { + "value": "scroll" + }, + { + "value": "scroll-torah", + "keywords": [ + "scroll", + "torah" + ] + }, + { + "value": "sd-card", + "keywords": [ + "sd", + "card" + ] + }, + { + "value": "section" + }, + { + "value": "seedling" + }, + { + "value": "server" + }, + { + "value": "shapes" + }, + { + "value": "share" + }, + { + "value": "share-from-square", + "keywords": [ + "share", + "from", + "square" + ] + }, + { + "value": "share-nodes", + "keywords": [ + "share", + "nodes" + ] + }, + { + "value": "sheet-plastic", + "keywords": [ + "sheet", + "plastic" + ] + }, + { + "value": "shekel-sign", + "keywords": [ + "shekel", + "sign" + ] + }, + { + "value": "shield" + }, + { + "value": "shield-cat", + "keywords": [ + "shield", + "cat" + ] + }, + { + "value": "shield-dog", + "keywords": [ + "shield", + "dog" + ] + }, + { + "value": "shield-halved", + "keywords": [ + "shield", + "halved" + ] + }, + { + "value": "shield-heart", + "keywords": [ + "shield", + "heart" + ] + }, + { + "value": "shield-virus", + "keywords": [ + "shield", + "virus" + ] + }, + { + "value": "ship" + }, + { + "value": "shirt" + }, + { + "value": "shoe-prints", + "keywords": [ + "shoe", + "prints" + ] + }, + { + "value": "shop" + }, + { + "value": "shop-lock", + "keywords": [ + "shop", + "lock" + ] + }, + { + "value": "shop-slash", + "keywords": [ + "shop", + "slash" + ] + }, + { + "value": "shower" + }, + { + "value": "shrimp" + }, + { + "value": "shuffle" + }, + { + "value": "shuttle-space", + "keywords": [ + "shuttle", + "space" + ] + }, + { + "value": "sign-hanging", + "keywords": [ + "sign", + "hanging" + ] + }, + { + "value": "signal" + }, + { + "value": "signature" + }, + { + "value": "signs-post", + "keywords": [ + "signs", + "post" + ] + }, + { + "value": "sim-card", + "keywords": [ + "sim", + "card" + ] + }, + { + "value": "sink" + }, + { + "value": "sitemap" + }, + { + "value": "skull" + }, + { + "value": "skull-crossbones", + "keywords": [ + "skull", + "crossbones" + ] + }, + { + "value": "slash" + }, + { + "value": "sleigh" + }, + { + "value": "sliders" + }, + { + "value": "smog" + }, + { + "value": "smoking" + }, + { + "value": "snowflake" + }, + { + "value": "snowman" + }, + { + "value": "snowplow" + }, + { + "value": "soap" + }, + { + "value": "socks" + }, + { + "value": "solar-panel", + "keywords": [ + "solar", + "panel" + ] + }, + { + "value": "sort" + }, + { + "value": "sort-down", + "keywords": [ + "sort", + "down" + ] + }, + { + "value": "sort-up", + "keywords": [ + "sort", + "up" + ] + }, + { + "value": "spa" + }, + { + "value": "spaghetti-monster-flying", + "keywords": [ + "spaghetti", + "monster", + "flying" + ] + }, + { + "value": "spell-check", + "keywords": [ + "spell", + "check" + ] + }, + { + "value": "spider" + }, + { + "value": "spinner" + }, + { + "value": "splotch" + }, + { + "value": "spoon" + }, + { + "value": "spray-can", + "keywords": [ + "spray", + "can" + ] + }, + { + "value": "spray-can-sparkles", + "keywords": [ + "spray", + "can", + "sparkles" + ] + }, + { + "value": "square" + }, + { + "value": "square-arrow-up-right", + "keywords": [ + "square", + "arrow", + "up", + "right" + ] + }, + { + "value": "square-caret-down", + "keywords": [ + "square", + "caret", + "down" + ] + }, + { + "value": "square-caret-left", + "keywords": [ + "square", + "caret", + "left" + ] + }, + { + "value": "square-caret-right", + "keywords": [ + "square", + "caret", + "right" + ] + }, + { + "value": "square-caret-up", + "keywords": [ + "square", + "caret", + "up" + ] + }, + { + "value": "square-check", + "keywords": [ + "square", + "check" + ] + }, + { + "value": "square-envelope", + "keywords": [ + "square", + "envelope" + ] + }, + { + "value": "square-full", + "keywords": [ + "square", + "full" + ] + }, + { + "value": "square-h" + }, + { + "value": "square-minus", + "keywords": [ + "square", + "minus" + ] + }, + { + "value": "square-nfi", + "keywords": [ + "square", + "nfi" + ] + }, + { + "value": "square-parking", + "keywords": [ + "square", + "parking" + ] + }, + { + "value": "square-pen", + "keywords": [ + "square", + "pen" + ] + }, + { + "value": "square-person-confined", + "keywords": [ + "square", + "person", + "confined" + ] + }, + { + "value": "square-phone", + "keywords": [ + "square", + "phone" + ] + }, + { + "value": "square-phone-flip", + "keywords": [ + "square", + "phone", + "flip" + ] + }, + { + "value": "square-plus", + "keywords": [ + "square", + "plus" + ] + }, + { + "value": "square-poll-horizontal", + "keywords": [ + "square", + "poll", + "horizontal" + ] + }, + { + "value": "square-poll-vertical", + "keywords": [ + "square", + "poll", + "vertical" + ] + }, + { + "value": "square-root-variable", + "keywords": [ + "square", + "root", + "variable" + ] + }, + { + "value": "square-rss", + "keywords": [ + "square", + "rss" + ] + }, + { + "value": "square-share-nodes", + "keywords": [ + "square", + "share", + "nodes" + ] + }, + { + "value": "square-up-right", + "keywords": [ + "square", + "up", + "right" + ] + }, + { + "value": "square-virus", + "keywords": [ + "square", + "virus" + ] + }, + { + "value": "square-xmark", + "keywords": [ + "square", + "xmark" + ] + }, + { + "value": "staff-snake", + "keywords": [ + "staff", + "snake" + ] + }, + { + "value": "stairs" + }, + { + "value": "stamp" + }, + { + "value": "stapler" + }, + { + "value": "star" + }, + { + "value": "star-and-crescent", + "keywords": [ + "star", + "and", + "crescent" + ] + }, + { + "value": "star-half", + "keywords": [ + "star", + "half" + ] + }, + { + "value": "star-half-stroke", + "keywords": [ + "star", + "half", + "stroke" + ] + }, + { + "value": "star-of-david", + "keywords": [ + "star", + "of", + "david" + ] + }, + { + "value": "star-of-life", + "keywords": [ + "star", + "of", + "life" + ] + }, + { + "value": "sterling-sign", + "keywords": [ + "sterling", + "sign" + ] + }, + { + "value": "stethoscope" + }, + { + "value": "stop" + }, + { + "value": "stopwatch" + }, + { + "value": "stopwatch-20", + "keywords": [ + "stopwatch", + "20" + ] + }, + { + "value": "store" + }, + { + "value": "store-slash", + "keywords": [ + "store", + "slash" + ] + }, + { + "value": "street-view", + "keywords": [ + "street", + "view" + ] + }, + { + "value": "strikethrough" + }, + { + "value": "stroopwafel" + }, + { + "value": "subscript" + }, + { + "value": "suitcase" + }, + { + "value": "suitcase-medical", + "keywords": [ + "suitcase", + "medical" + ] + }, + { + "value": "suitcase-rolling", + "keywords": [ + "suitcase", + "rolling" + ] + }, + { + "value": "sun" + }, + { + "value": "sun-plant-wilt", + "keywords": [ + "sun", + "plant", + "wilt" + ] + }, + { + "value": "superscript" + }, + { + "value": "swatchbook" + }, + { + "value": "synagogue" + }, + { + "value": "syringe" + }, + { + "value": "t" + }, + { + "value": "table" + }, + { + "value": "table-cells", + "keywords": [ + "table", + "cells" + ] + }, + { + "value": "table-cells-large", + "keywords": [ + "table", + "cells", + "large" + ] + }, + { + "value": "table-columns", + "keywords": [ + "table", + "columns" + ] + }, + { + "value": "table-list", + "keywords": [ + "table", + "list" + ] + }, + { + "value": "table-tennis-paddle-ball", + "keywords": [ + "table", + "tennis", + "paddle", + "ball" + ] + }, + { + "value": "tablet" + }, + { + "value": "tablet-button", + "keywords": [ + "tablet", + "button" + ] + }, + { + "value": "tablet-screen-button", + "keywords": [ + "tablet", + "screen", + "button" + ] + }, + { + "value": "tablets" + }, + { + "value": "tachograph-digital", + "keywords": [ + "tachograph", + "digital" + ] + }, + { + "value": "tag" + }, + { + "value": "tags" + }, + { + "value": "tape" + }, + { + "value": "tarp" + }, + { + "value": "tarp-droplet", + "keywords": [ + "tarp", + "droplet" + ] + }, + { + "value": "taxi" + }, + { + "value": "teeth" + }, + { + "value": "teeth-open", + "keywords": [ + "teeth", + "open" + ] + }, + { + "value": "temperature-arrow-down", + "keywords": [ + "temperature", + "arrow", + "down" + ] + }, + { + "value": "temperature-arrow-up", + "keywords": [ + "temperature", + "arrow", + "up" + ] + }, + { + "value": "temperature-empty", + "keywords": [ + "temperature", + "empty" + ] + }, + { + "value": "temperature-full", + "keywords": [ + "temperature", + "full" + ] + }, + { + "value": "temperature-half", + "keywords": [ + "temperature", + "half" + ] + }, + { + "value": "temperature-high", + "keywords": [ + "temperature", + "high" + ] + }, + { + "value": "temperature-low", + "keywords": [ + "temperature", + "low" + ] + }, + { + "value": "temperature-quarter", + "keywords": [ + "temperature", + "quarter" + ] + }, + { + "value": "temperature-three-quarters", + "keywords": [ + "temperature", + "three", + "quarters" + ] + }, + { + "value": "tenge-sign", + "keywords": [ + "tenge", + "sign" + ] + }, + { + "value": "tent" + }, + { + "value": "tent-arrow-down-to-line", + "keywords": [ + "tent", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "tent-arrow-left-right", + "keywords": [ + "tent", + "arrow", + "left", + "right" + ] + }, + { + "value": "tent-arrow-turn-left", + "keywords": [ + "tent", + "arrow", + "turn", + "left" + ] + }, + { + "value": "tent-arrows-down", + "keywords": [ + "tent", + "arrows", + "down" + ] + }, + { + "value": "tents" + }, + { + "value": "terminal" + }, + { + "value": "text-height", + "keywords": [ + "text", + "height" + ] + }, + { + "value": "text-slash", + "keywords": [ + "text", + "slash" + ] + }, + { + "value": "text-width", + "keywords": [ + "text", + "width" + ] + }, + { + "value": "thermometer" + }, + { + "value": "thumbs-down", + "keywords": [ + "thumbs", + "down" + ] + }, + { + "value": "thumbs-up", + "keywords": [ + "thumbs", + "up" + ] + }, + { + "value": "thumbtack" + }, + { + "value": "ticket" + }, + { + "value": "ticket-simple", + "keywords": [ + "ticket", + "simple" + ] + }, + { + "value": "timeline" + }, + { + "value": "toggle-off", + "keywords": [ + "toggle", + "off" + ] + }, + { + "value": "toggle-on", + "keywords": [ + "toggle", + "on" + ] + }, + { + "value": "toilet" + }, + { + "value": "toilet-paper", + "keywords": [ + "toilet", + "paper" + ] + }, + { + "value": "toilet-paper-slash", + "keywords": [ + "toilet", + "paper", + "slash" + ] + }, + { + "value": "toilet-portable", + "keywords": [ + "toilet", + "portable" + ] + }, + { + "value": "toilets-portable", + "keywords": [ + "toilets", + "portable" + ] + }, + { + "value": "toolbox" + }, + { + "value": "tooth" + }, + { + "value": "torii-gate", + "keywords": [ + "torii", + "gate" + ] + }, + { + "value": "tornado" + }, + { + "value": "tower-broadcast", + "keywords": [ + "tower", + "broadcast" + ] + }, + { + "value": "tower-cell", + "keywords": [ + "tower", + "cell" + ] + }, + { + "value": "tower-observation", + "keywords": [ + "tower", + "observation" + ] + }, + { + "value": "tractor" + }, + { + "value": "trademark" + }, + { + "value": "traffic-light", + "keywords": [ + "traffic", + "light" + ] + }, + { + "value": "trailer" + }, + { + "value": "train" + }, + { + "value": "train-subway", + "keywords": [ + "train", + "subway" + ] + }, + { + "value": "train-tram", + "keywords": [ + "train", + "tram" + ] + }, + { + "value": "transgender" + }, + { + "value": "trash" + }, + { + "value": "trash-arrow-up", + "keywords": [ + "trash", + "arrow", + "up" + ] + }, + { + "value": "trash-can", + "keywords": [ + "trash", + "can" + ] + }, + { + "value": "trash-can-arrow-up", + "keywords": [ + "trash", + "can", + "arrow", + "up" + ] + }, + { + "value": "tree" + }, + { + "value": "tree-city", + "keywords": [ + "tree", + "city" + ] + }, + { + "value": "triangle-exclamation", + "keywords": [ + "triangle", + "exclamation" + ] + }, + { + "value": "trophy" + }, + { + "value": "trowel" + }, + { + "value": "trowel-bricks", + "keywords": [ + "trowel", + "bricks" + ] + }, + { + "value": "truck" + }, + { + "value": "truck-arrow-right", + "keywords": [ + "truck", + "arrow", + "right" + ] + }, + { + "value": "truck-droplet", + "keywords": [ + "truck", + "droplet" + ] + }, + { + "value": "truck-fast", + "keywords": [ + "truck", + "fast" + ] + }, + { + "value": "truck-field", + "keywords": [ + "truck", + "field" + ] + }, + { + "value": "truck-field-un", + "keywords": [ + "truck", + "field", + "un" + ] + }, + { + "value": "truck-front", + "keywords": [ + "truck", + "front" + ] + }, + { + "value": "truck-medical", + "keywords": [ + "truck", + "medical" + ] + }, + { + "value": "truck-monster", + "keywords": [ + "truck", + "monster" + ] + }, + { + "value": "truck-moving", + "keywords": [ + "truck", + "moving" + ] + }, + { + "value": "truck-pickup", + "keywords": [ + "truck", + "pickup" + ] + }, + { + "value": "truck-plane", + "keywords": [ + "truck", + "plane" + ] + }, + { + "value": "truck-ramp-box", + "keywords": [ + "truck", + "ramp", + "box" + ] + }, + { + "value": "tty" + }, + { + "value": "turkish-lira-sign", + "keywords": [ + "turkish", + "lira", + "sign" + ] + }, + { + "value": "turn-down", + "keywords": [ + "turn", + "down" + ] + }, + { + "value": "turn-up", + "keywords": [ + "turn", + "up" + ] + }, + { + "value": "tv" + }, + { + "value": "u" + }, + { + "value": "umbrella" + }, + { + "value": "umbrella-beach", + "keywords": [ + "umbrella", + "beach" + ] + }, + { + "value": "underline" + }, + { + "value": "universal-access", + "keywords": [ + "universal", + "access" + ] + }, + { + "value": "unlock" + }, + { + "value": "unlock-keyhole", + "keywords": [ + "unlock", + "keyhole" + ] + }, + { + "value": "up-down", + "keywords": [ + "up", + "down" + ] + }, + { + "value": "up-down-left-right", + "keywords": [ + "up", + "down", + "left", + "right" + ] + }, + { + "value": "up-long", + "keywords": [ + "up", + "long" + ] + }, + { + "value": "up-right-and-down-left-from-center", + "keywords": [ + "up", + "right", + "and", + "down", + "left", + "from", + "center" + ] + }, + { + "value": "up-right-from-square", + "keywords": [ + "up", + "right", + "from", + "square" + ] + }, + { + "value": "upload" + }, + { + "value": "user" + }, + { + "value": "user-astronaut", + "keywords": [ + "user", + "astronaut" + ] + }, + { + "value": "user-check", + "keywords": [ + "user", + "check" + ] + }, + { + "value": "user-clock", + "keywords": [ + "user", + "clock" + ] + }, + { + "value": "user-doctor", + "keywords": [ + "user", + "doctor" + ] + }, + { + "value": "user-gear", + "keywords": [ + "user", + "gear" + ] + }, + { + "value": "user-graduate", + "keywords": [ + "user", + "graduate" + ] + }, + { + "value": "user-group", + "keywords": [ + "user", + "group" + ] + }, + { + "value": "user-injured", + "keywords": [ + "user", + "injured" + ] + }, + { + "value": "user-large", + "keywords": [ + "user", + "large" + ] + }, + { + "value": "user-large-slash", + "keywords": [ + "user", + "large", + "slash" + ] + }, + { + "value": "user-lock", + "keywords": [ + "user", + "lock" + ] + }, + { + "value": "user-minus", + "keywords": [ + "user", + "minus" + ] + }, + { + "value": "user-ninja", + "keywords": [ + "user", + "ninja" + ] + }, + { + "value": "user-nurse", + "keywords": [ + "user", + "nurse" + ] + }, + { + "value": "user-pen", + "keywords": [ + "user", + "pen" + ] + }, + { + "value": "user-plus", + "keywords": [ + "user", + "plus" + ] + }, + { + "value": "user-secret", + "keywords": [ + "user", + "secret" + ] + }, + { + "value": "user-shield", + "keywords": [ + "user", + "shield" + ] + }, + { + "value": "user-slash", + "keywords": [ + "user", + "slash" + ] + }, + { + "value": "user-tag", + "keywords": [ + "user", + "tag" + ] + }, + { + "value": "user-tie", + "keywords": [ + "user", + "tie" + ] + }, + { + "value": "user-xmark", + "keywords": [ + "user", + "xmark" + ] + }, + { + "value": "users" + }, + { + "value": "users-between-lines", + "keywords": [ + "users", + "between", + "lines" + ] + }, + { + "value": "users-gear", + "keywords": [ + "users", + "gear" + ] + }, + { + "value": "users-line", + "keywords": [ + "users", + "line" + ] + }, + { + "value": "users-rays", + "keywords": [ + "users", + "rays" + ] + }, + { + "value": "users-rectangle", + "keywords": [ + "users", + "rectangle" + ] + }, + { + "value": "users-slash", + "keywords": [ + "users", + "slash" + ] + }, + { + "value": "users-viewfinder", + "keywords": [ + "users", + "viewfinder" + ] + }, + { + "value": "utensils" + }, + { + "value": "v" + }, + { + "value": "van-shuttle", + "keywords": [ + "van", + "shuttle" + ] + }, + { + "value": "vault" + }, + { + "value": "vector-square", + "keywords": [ + "vector", + "square" + ] + }, + { + "value": "venus" + }, + { + "value": "venus-double", + "keywords": [ + "venus", + "double" + ] + }, + { + "value": "venus-mars", + "keywords": [ + "venus", + "mars" + ] + }, + { + "value": "vest" + }, + { + "value": "vest-patches", + "keywords": [ + "vest", + "patches" + ] + }, + { + "value": "vial" + }, + { + "value": "vial-circle-check", + "keywords": [ + "vial", + "circle", + "check" + ] + }, + { + "value": "vial-virus", + "keywords": [ + "vial", + "virus" + ] + }, + { + "value": "vials" + }, + { + "value": "video" + }, + { + "value": "video-slash", + "keywords": [ + "video", + "slash" + ] + }, + { + "value": "vihara" + }, + { + "value": "virus" + }, + { + "value": "virus-covid", + "keywords": [ + "virus", + "covid" + ] + }, + { + "value": "virus-covid-slash", + "keywords": [ + "virus", + "covid", + "slash" + ] + }, + { + "value": "virus-slash", + "keywords": [ + "virus", + "slash" + ] + }, + { + "value": "viruses" + }, + { + "value": "voicemail" + }, + { + "value": "volcano" + }, + { + "value": "volleyball" + }, + { + "value": "volume-high", + "keywords": [ + "volume", + "high" + ] + }, + { + "value": "volume-low", + "keywords": [ + "volume", + "low" + ] + }, + { + "value": "volume-off", + "keywords": [ + "volume", + "off" + ] + }, + { + "value": "volume-xmark", + "keywords": [ + "volume", + "xmark" + ] + }, + { + "value": "vr-cardboard", + "keywords": [ + "vr", + "cardboard" + ] + }, + { + "value": "w" + }, + { + "value": "walkie-talkie", + "keywords": [ + "walkie", + "talkie" + ] + }, + { + "value": "wallet" + }, + { + "value": "wand-magic", + "keywords": [ + "wand", + "magic" + ] + }, + { + "value": "wand-magic-sparkles", + "keywords": [ + "wand", + "magic", + "sparkles" + ] + }, + { + "value": "wand-sparkles", + "keywords": [ + "wand", + "sparkles" + ] + }, + { + "value": "warehouse" + }, + { + "value": "water" + }, + { + "value": "water-ladder", + "keywords": [ + "water", + "ladder" + ] + }, + { + "value": "wave-square", + "keywords": [ + "wave", + "square" + ] + }, + { + "value": "weight-hanging", + "keywords": [ + "weight", + "hanging" + ] + }, + { + "value": "weight-scale", + "keywords": [ + "weight", + "scale" + ] + }, + { + "value": "wheat-awn", + "keywords": [ + "wheat", + "awn" + ] + }, + { + "value": "wheat-awn-circle-exclamation", + "keywords": [ + "wheat", + "awn", + "circle", + "exclamation" + ] + }, + { + "value": "wheelchair" + }, + { + "value": "wheelchair-move", + "keywords": [ + "wheelchair", + "move" + ] + }, + { + "value": "whiskey-glass", + "keywords": [ + "whiskey", + "glass" + ] + }, + { + "value": "wifi" + }, + { + "value": "wind" + }, + { + "value": "window-maximize", + "keywords": [ + "window", + "maximize" + ] + }, + { + "value": "window-minimize", + "keywords": [ + "window", + "minimize" + ] + }, + { + "value": "window-restore", + "keywords": [ + "window", + "restore" + ] + }, + { + "value": "wine-bottle", + "keywords": [ + "wine", + "bottle" + ] + }, + { + "value": "wine-glass", + "keywords": [ + "wine", + "glass" + ] + }, + { + "value": "wine-glass-empty", + "keywords": [ + "wine", + "glass", + "empty" + ] + }, + { + "value": "won-sign", + "keywords": [ + "won", + "sign" + ] + }, + { + "value": "worm" + }, + { + "value": "wrench" + }, + { + "value": "x" + }, + { + "value": "x-ray" + }, + { + "value": "xmark" + }, + { + "value": "xmarks-lines", + "keywords": [ + "xmarks", + "lines" + ] + }, + { + "value": "y" + }, + { + "value": "yen-sign", + "keywords": [ + "yen", + "sign" + ] + }, + { + "value": "yin-yang", + "keywords": [ + "yin", + "yang" + ] + }, + { + "value": "z" + } + ] + }, + "ccLabel": { + "label": "$t:editor.control.cc_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "ccVariant": { + "label": "$t:editor.control.cc_variant.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "variant" + }, + "options": [ + { + "value": "green", + "label": "$t:editor.control.cc_variant.green" + }, + { + "value": "orange", + "label": "$t:editor.control.cc_variant.orange" + }, + { + "value": "yellow", + "label": "$t:editor.control.cc_variant.yellow" + }, + { + "value": "gray", + "label": "$t:editor.control.cc_variant.gray" + }, + { + "value": "blue", + "label": "$t:editor.control.cc_variant.blue" + } + ] + }, + "ccCustomColor": { + "label": "$t:editor.control.cc_custom_color.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "customColor" + } + }, + "miInputType": { + "label": "$t:editor.control.mi_input_type.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "inputType" + }, + "options": [ + { + "value": "text", + "label": "$t:editor.control.mi_input_type.text" + }, + { + "value": "textarea", + "label": "$t:editor.control.mi_input_type.textarea" + } + ] + }, + "miLayout": { + "label": "$t:editor.control.mi_layout.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "layout" + }, + "options": [ + { + "value": "inline", + "label": "$t:editor.control.mi_layout.inline" + }, + { + "value": "tabs", + "label": "$t:editor.control.mi_layout.tabs" + }, + { + "value": "compact", + "label": "$t:editor.control.mi_layout.compact" + } + ] + }, + "miPlaceholder": { + "label": "$t:editor.control.mi_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "miRequired": { + "label": "$t:editor.control.mi_required.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "required" + } + }, + "miDisabled": { + "label": "$t:editor.control.mi_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "miMaxLength": { + "label": "$t:editor.control.mi_max_length.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxLength" + } + }, + "miRows": { + "label": "$t:editor.control.mi_rows.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "rows" + } + }, + "mtiPlaceholder": { + "label": "$t:editor.control.mti_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "mtiDisabled": { + "label": "$t:editor.control.mti_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "mtiCreatable": { + "label": "$t:editor.control.mti_creatable.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "creatable" + } + }, + "mtiMaxItems": { + "label": "$t:editor.control.mti_max_items.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxItems" + } + }, + "mtiModalId": { + "label": "$t:editor.control.mti_modal_id.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "modalId" + } + }, + "mtiStatePath": { + "label": "$t:editor.control.mti_state_path.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "statePath" + } + }, + "lsLanguageText": { + "label": "$t:editor.control.ls_language_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "languageText" + } + }, + "lsApiEndpoint": { + "label": "$t:editor.control.ls_api_endpoint.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "apiEndpoint" + } + }, + "lsInline": { + "label": "$t:editor.control.ls_inline.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "inline" + } + }, + "ctSearchKeyword": { + "label": "$t:editor.control.ct_search_keyword.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "searchKeyword" + } + }, + "ctShowProductCount": { + "label": "$t:editor.control.ct_show_product_count.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showProductCount" + } + }, + "ctSelectable": { + "label": "$t:editor.control.ct_selectable.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "selectable" + } + }, + "ebType": { + "label": "$t:editor.control.eb_type.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "type" + }, + "options": [ + { + "value": "module", + "label": "$t:editor.control.eb_type.module" + }, + { + "value": "plugin", + "label": "$t:editor.control.eb_type.plugin" + } + ] + }, + "ebIdentifier": { + "label": "$t:editor.control.eb_identifier.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "identifier" + } + }, + "ebName": { + "label": "$t:editor.control.eb_name.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "name" + } + }, + "upProfileText": { + "label": "$t:editor.control.up_profile_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "profileText" + } + }, + "upLogoutText": { + "label": "$t:editor.control.up_logout_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "logoutText" + } + }, + "upLanguageText": { + "label": "$t:editor.control.up_language_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "languageText" + } + }, + "upLogoutEndpoint": { + "label": "$t:editor.control.up_logout_endpoint.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "logoutEndpoint" + } + }, + "upRedirectPath": { + "label": "$t:editor.control.up_redirect_path.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "redirectPath" + } + }, + "upShowChevron": { + "label": "$t:editor.control.up_show_chevron.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showChevron" + } + }, + "upDropdownDir": { + "label": "$t:editor.control.up_dropdown_dir.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "dropdownDirection" + }, + "options": [ + { + "value": "up", + "label": "$t:editor.control.up_dropdown_dir.up" + }, + { + "value": "down", + "label": "$t:editor.control.up_dropdown_dir.down" + } + ] + }, + "upDropdownOnly": { + "label": "$t:editor.control.up_dropdown_only.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "dropdownOnly" + } + }, + "fgTitle": { + "label": "$t:editor.control.fg_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "title" + } + }, + "fgShowReset": { + "label": "$t:editor.control.fg_show_reset.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showResetButton" + } + }, + "smlSelectedId": { + "label": "$t:editor.control.sml_selected_id.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "selectedId" + } + }, + "smlTitle": { + "label": "$t:editor.control.sml_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "title" + } + }, + "smlEnableDrag": { + "label": "$t:editor.control.sml_enable_drag.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "enableDrag" + } + }, + "smlToggleDisabled": { + "label": "$t:editor.control.sml_toggle_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "toggleDisabled" + } + }, + "dflMaxItems": { + "label": "$t:editor.control.dfl_max_items.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxItems" + } + }, + "tclLeftWidth": { + "label": "$t:editor.control.tcl_left_width.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "leftWidth" + } + }, + "tclRightWidth": { + "label": "$t:editor.control.tcl_right_width.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "rightWidth" + } + }, + "asLogo": { + "label": "$t:editor.control.as_logo.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "logo" + } + }, + "asLogoAlt": { + "label": "$t:editor.control.as_logo_alt.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "logoAlt" + } + }, + "asCollapsed": { + "label": "$t:editor.control.as_collapsed.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "collapsed" + } + }, + "asCurrentLocale": { + "label": "$t:editor.control.as_current_locale.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "currentLocale" + } + }, + "afCopyright": { + "label": "$t:editor.control.af_copyright.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "copyright" + } + }, + "afVersion": { + "label": "$t:editor.control.af_version.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "version" + } + }, + "afCopyrightModalId": { + "label": "$t:editor.control.af_copyright_modal_id.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "copyrightModalId" + } + }, + "afChangelogModalId": { + "label": "$t:editor.control.af_changelog_modal_id.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "changelogModalId" + } + }, + "ttAutoText": { + "label": "$t:editor.control.tt_auto_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "autoText" + } + }, + "ttLightText": { + "label": "$t:editor.control.tt_light_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "lightText" + } + }, + "ttDarkText": { + "label": "$t:editor.control.tt_dark_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "darkText" + } + }, + "ncTitleText": { + "label": "$t:editor.control.nc_title_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "titleText" + } + }, + "ncEmptyText": { + "label": "$t:editor.control.nc_empty_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "emptyText" + } + }, + "ncMarkAllReadText": { + "label": "$t:editor.control.nc_mark_all_read_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "markAllReadText" + } + }, + "ncDeleteAllText": { + "label": "$t:editor.control.nc_delete_all_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "deleteAllText" + } + }, + "ncUnreadOnlyText": { + "label": "$t:editor.control.nc_unread_only_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "unreadOnlyText" + } + }, + "ncUnreadOnly": { + "label": "$t:editor.control.nc_unread_only.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "unreadOnly" + } + }, + "ncDropdownAlign": { + "label": "$t:editor.control.nc_dropdown_align.label", + "widget": "segmented", + "apply": { + "type": "propValue", + "propKey": "dropdownAlign" + }, + "options": [ + { + "value": "left", + "label": "$t:editor.control.nc_dropdown_align.left" + }, + { + "value": "right", + "label": "$t:editor.control.nc_dropdown_align.right" + } + ] + }, + "csTriggerLabel": { + "label": "$t:editor.control.cs_trigger_label.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "triggerLabel" + } + }, + "csRequiredText": { + "label": "$t:editor.control.cs_required_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "requiredText" + } + }, + "csMenuTitle": { + "label": "$t:editor.control.cs_menu_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "menuTitle" + } + }, + "csMenuDescription": { + "label": "$t:editor.control.cs_menu_description.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "menuDescription" + } + }, + "csPosition": { + "label": "$t:editor.control.cs_position.label", + "widget": "segmented", + "apply": { + "type": "propValue", + "propKey": "position" + }, + "options": [ + { + "value": "left", + "label": "$t:editor.control.cs_position.left" + }, + { + "value": "right", + "label": "$t:editor.control.cs_position.right" + } + ] + }, + "csTriggerIconName": { + "label": "$t:editor.control.cs_trigger_icon_name.label", + "widget": "icon-picker", + "apply": { + "type": "propValue", + "propKey": "triggerIconName" + }, + "iconColumns": 8, + "icons": [ + { + "value": "0" + }, + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + }, + { + "value": "4" + }, + { + "value": "5" + }, + { + "value": "6" + }, + { + "value": "7" + }, + { + "value": "8" + }, + { + "value": "9" + }, + { + "value": "a" + }, + { + "value": "address-book", + "keywords": [ + "address", + "book" + ] + }, + { + "value": "address-card", + "keywords": [ + "address", + "card" + ] + }, + { + "value": "align-center", + "keywords": [ + "align", + "center" + ] + }, + { + "value": "align-justify", + "keywords": [ + "align", + "justify" + ] + }, + { + "value": "align-left", + "keywords": [ + "align", + "left" + ] + }, + { + "value": "align-right", + "keywords": [ + "align", + "right" + ] + }, + { + "value": "anchor" + }, + { + "value": "anchor-circle-check", + "keywords": [ + "anchor", + "circle", + "check" + ] + }, + { + "value": "anchor-circle-exclamation", + "keywords": [ + "anchor", + "circle", + "exclamation" + ] + }, + { + "value": "anchor-circle-xmark", + "keywords": [ + "anchor", + "circle", + "xmark" + ] + }, + { + "value": "anchor-lock", + "keywords": [ + "anchor", + "lock" + ] + }, + { + "value": "angle-down", + "keywords": [ + "angle", + "down" + ] + }, + { + "value": "angle-left", + "keywords": [ + "angle", + "left" + ] + }, + { + "value": "angle-right", + "keywords": [ + "angle", + "right" + ] + }, + { + "value": "angle-up", + "keywords": [ + "angle", + "up" + ] + }, + { + "value": "angles-down", + "keywords": [ + "angles", + "down" + ] + }, + { + "value": "angles-left", + "keywords": [ + "angles", + "left" + ] + }, + { + "value": "angles-right", + "keywords": [ + "angles", + "right" + ] + }, + { + "value": "angles-up", + "keywords": [ + "angles", + "up" + ] + }, + { + "value": "ankh" + }, + { + "value": "apple-whole", + "keywords": [ + "apple", + "whole" + ] + }, + { + "value": "archway" + }, + { + "value": "arrow-down", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-1-9", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-9-1", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-a-z", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-long", + "keywords": [ + "arrow", + "down", + "long" + ] + }, + { + "value": "arrow-down-short-wide", + "keywords": [ + "arrow", + "down", + "short", + "wide" + ] + }, + { + "value": "arrow-down-up-across-line", + "keywords": [ + "arrow", + "down", + "up", + "across", + "line" + ] + }, + { + "value": "arrow-down-up-lock", + "keywords": [ + "arrow", + "down", + "up", + "lock" + ] + }, + { + "value": "arrow-down-wide-short", + "keywords": [ + "arrow", + "down", + "wide", + "short" + ] + }, + { + "value": "arrow-down-z-a", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-left", + "keywords": [ + "arrow", + "left" + ] + }, + { + "value": "arrow-left-long", + "keywords": [ + "arrow", + "left", + "long" + ] + }, + { + "value": "arrow-pointer", + "keywords": [ + "arrow", + "pointer" + ] + }, + { + "value": "arrow-right", + "keywords": [ + "arrow", + "right" + ] + }, + { + "value": "arrow-right-arrow-left", + "keywords": [ + "arrow", + "right", + "arrow", + "left" + ] + }, + { + "value": "arrow-right-from-bracket", + "keywords": [ + "arrow", + "right", + "from", + "bracket" + ] + }, + { + "value": "arrow-right-long", + "keywords": [ + "arrow", + "right", + "long" + ] + }, + { + "value": "arrow-right-to-bracket", + "keywords": [ + "arrow", + "right", + "to", + "bracket" + ] + }, + { + "value": "arrow-right-to-city", + "keywords": [ + "arrow", + "right", + "to", + "city" + ] + }, + { + "value": "arrow-rotate-left", + "keywords": [ + "arrow", + "rotate", + "left" + ] + }, + { + "value": "arrow-rotate-right", + "keywords": [ + "arrow", + "rotate", + "right" + ] + }, + { + "value": "arrow-trend-down", + "keywords": [ + "arrow", + "trend", + "down" + ] + }, + { + "value": "arrow-trend-up", + "keywords": [ + "arrow", + "trend", + "up" + ] + }, + { + "value": "arrow-turn-down", + "keywords": [ + "arrow", + "turn", + "down" + ] + }, + { + "value": "arrow-turn-up", + "keywords": [ + "arrow", + "turn", + "up" + ] + }, + { + "value": "arrow-up", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-1-9", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-9-1", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-a-z", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-from-bracket", + "keywords": [ + "arrow", + "up", + "from", + "bracket" + ] + }, + { + "value": "arrow-up-from-ground-water", + "keywords": [ + "arrow", + "up", + "from", + "ground", + "water" + ] + }, + { + "value": "arrow-up-from-water-pump", + "keywords": [ + "arrow", + "up", + "from", + "water", + "pump" + ] + }, + { + "value": "arrow-up-long", + "keywords": [ + "arrow", + "up", + "long" + ] + }, + { + "value": "arrow-up-right-dots", + "keywords": [ + "arrow", + "up", + "right", + "dots" + ] + }, + { + "value": "arrow-up-right-from-square", + "keywords": [ + "arrow", + "up", + "right", + "from", + "square" + ] + }, + { + "value": "arrow-up-short-wide", + "keywords": [ + "arrow", + "up", + "short", + "wide" + ] + }, + { + "value": "arrow-up-wide-short", + "keywords": [ + "arrow", + "up", + "wide", + "short" + ] + }, + { + "value": "arrow-up-z-a", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrows-down-to-line", + "keywords": [ + "arrows", + "down", + "to", + "line" + ] + }, + { + "value": "arrows-down-to-people", + "keywords": [ + "arrows", + "down", + "to", + "people" + ] + }, + { + "value": "arrows-left-right", + "keywords": [ + "arrows", + "left", + "right" + ] + }, + { + "value": "arrows-left-right-to-line", + "keywords": [ + "arrows", + "left", + "right", + "to", + "line" + ] + }, + { + "value": "arrows-rotate", + "keywords": [ + "arrows", + "rotate" + ] + }, + { + "value": "arrows-spin", + "keywords": [ + "arrows", + "spin" + ] + }, + { + "value": "arrows-split-up-and-left", + "keywords": [ + "arrows", + "split", + "up", + "and", + "left" + ] + }, + { + "value": "arrows-to-circle", + "keywords": [ + "arrows", + "to", + "circle" + ] + }, + { + "value": "arrows-to-dot", + "keywords": [ + "arrows", + "to", + "dot" + ] + }, + { + "value": "arrows-to-eye", + "keywords": [ + "arrows", + "to", + "eye" + ] + }, + { + "value": "arrows-turn-right", + "keywords": [ + "arrows", + "turn", + "right" + ] + }, + { + "value": "arrows-turn-to-dots", + "keywords": [ + "arrows", + "turn", + "to", + "dots" + ] + }, + { + "value": "arrows-up-down", + "keywords": [ + "arrows", + "up", + "down" + ] + }, + { + "value": "arrows-up-down-left-right", + "keywords": [ + "arrows", + "up", + "down", + "left", + "right" + ] + }, + { + "value": "arrows-up-to-line", + "keywords": [ + "arrows", + "up", + "to", + "line" + ] + }, + { + "value": "asterisk" + }, + { + "value": "at" + }, + { + "value": "atom" + }, + { + "value": "audio-description", + "keywords": [ + "audio", + "description" + ] + }, + { + "value": "austral-sign", + "keywords": [ + "austral", + "sign" + ] + }, + { + "value": "award" + }, + { + "value": "b" + }, + { + "value": "baby" + }, + { + "value": "baby-carriage", + "keywords": [ + "baby", + "carriage" + ] + }, + { + "value": "backward" + }, + { + "value": "backward-fast", + "keywords": [ + "backward", + "fast" + ] + }, + { + "value": "backward-step", + "keywords": [ + "backward", + "step" + ] + }, + { + "value": "bacon" + }, + { + "value": "bacteria" + }, + { + "value": "bacterium" + }, + { + "value": "bag-shopping", + "keywords": [ + "bag", + "shopping" + ] + }, + { + "value": "bahai" + }, + { + "value": "baht-sign", + "keywords": [ + "baht", + "sign" + ] + }, + { + "value": "ban" + }, + { + "value": "ban-smoking", + "keywords": [ + "ban", + "smoking" + ] + }, + { + "value": "bandage" + }, + { + "value": "bangladeshi-taka-sign", + "keywords": [ + "bangladeshi", + "taka", + "sign" + ] + }, + { + "value": "barcode" + }, + { + "value": "bars" + }, + { + "value": "bars-progress", + "keywords": [ + "bars", + "progress" + ] + }, + { + "value": "bars-staggered", + "keywords": [ + "bars", + "staggered" + ] + }, + { + "value": "baseball" + }, + { + "value": "baseball-bat-ball", + "keywords": [ + "baseball", + "bat", + "ball" + ] + }, + { + "value": "basket-shopping", + "keywords": [ + "basket", + "shopping" + ] + }, + { + "value": "basketball" + }, + { + "value": "bath" + }, + { + "value": "battery-empty", + "keywords": [ + "battery", + "empty" + ] + }, + { + "value": "battery-full", + "keywords": [ + "battery", + "full" + ] + }, + { + "value": "battery-half", + "keywords": [ + "battery", + "half" + ] + }, + { + "value": "battery-quarter", + "keywords": [ + "battery", + "quarter" + ] + }, + { + "value": "battery-three-quarters", + "keywords": [ + "battery", + "three", + "quarters" + ] + }, + { + "value": "bed" + }, + { + "value": "bed-pulse", + "keywords": [ + "bed", + "pulse" + ] + }, + { + "value": "beer-mug-empty", + "keywords": [ + "beer", + "mug", + "empty" + ] + }, + { + "value": "bell" + }, + { + "value": "bell-concierge", + "keywords": [ + "bell", + "concierge" + ] + }, + { + "value": "bell-slash", + "keywords": [ + "bell", + "slash" + ] + }, + { + "value": "bezier-curve", + "keywords": [ + "bezier", + "curve" + ] + }, + { + "value": "bicycle" + }, + { + "value": "binoculars" + }, + { + "value": "biohazard" + }, + { + "value": "bitcoin-sign", + "keywords": [ + "bitcoin", + "sign" + ] + }, + { + "value": "blender" + }, + { + "value": "blender-phone", + "keywords": [ + "blender", + "phone" + ] + }, + { + "value": "blog" + }, + { + "value": "bold" + }, + { + "value": "bolt" + }, + { + "value": "bolt-lightning", + "keywords": [ + "bolt", + "lightning" + ] + }, + { + "value": "bomb" + }, + { + "value": "bone" + }, + { + "value": "bong" + }, + { + "value": "book" + }, + { + "value": "book-atlas", + "keywords": [ + "book", + "atlas" + ] + }, + { + "value": "book-bible", + "keywords": [ + "book", + "bible" + ] + }, + { + "value": "book-bookmark", + "keywords": [ + "book", + "bookmark" + ] + }, + { + "value": "book-journal-whills", + "keywords": [ + "book", + "journal", + "whills" + ] + }, + { + "value": "book-medical", + "keywords": [ + "book", + "medical" + ] + }, + { + "value": "book-open", + "keywords": [ + "book", + "open" + ] + }, + { + "value": "book-open-reader", + "keywords": [ + "book", + "open", + "reader" + ] + }, + { + "value": "book-quran", + "keywords": [ + "book", + "quran" + ] + }, + { + "value": "book-skull", + "keywords": [ + "book", + "skull" + ] + }, + { + "value": "book-tanakh", + "keywords": [ + "book", + "tanakh" + ] + }, + { + "value": "bookmark" + }, + { + "value": "border-all", + "keywords": [ + "border", + "all" + ] + }, + { + "value": "border-none", + "keywords": [ + "border", + "none" + ] + }, + { + "value": "border-top-left", + "keywords": [ + "border", + "top", + "left" + ] + }, + { + "value": "bore-hole", + "keywords": [ + "bore", + "hole" + ] + }, + { + "value": "bottle-droplet", + "keywords": [ + "bottle", + "droplet" + ] + }, + { + "value": "bottle-water", + "keywords": [ + "bottle", + "water" + ] + }, + { + "value": "bowl-food", + "keywords": [ + "bowl", + "food" + ] + }, + { + "value": "bowl-rice", + "keywords": [ + "bowl", + "rice" + ] + }, + { + "value": "bowling-ball", + "keywords": [ + "bowling", + "ball" + ] + }, + { + "value": "box" + }, + { + "value": "box-archive", + "keywords": [ + "box", + "archive" + ] + }, + { + "value": "box-open", + "keywords": [ + "box", + "open" + ] + }, + { + "value": "box-tissue", + "keywords": [ + "box", + "tissue" + ] + }, + { + "value": "boxes-packing", + "keywords": [ + "boxes", + "packing" + ] + }, + { + "value": "boxes-stacked", + "keywords": [ + "boxes", + "stacked" + ] + }, + { + "value": "braille" + }, + { + "value": "brain" + }, + { + "value": "brazilian-real-sign", + "keywords": [ + "brazilian", + "real", + "sign" + ] + }, + { + "value": "bread-slice", + "keywords": [ + "bread", + "slice" + ] + }, + { + "value": "bridge" + }, + { + "value": "bridge-circle-check", + "keywords": [ + "bridge", + "circle", + "check" + ] + }, + { + "value": "bridge-circle-exclamation", + "keywords": [ + "bridge", + "circle", + "exclamation" + ] + }, + { + "value": "bridge-circle-xmark", + "keywords": [ + "bridge", + "circle", + "xmark" + ] + }, + { + "value": "bridge-lock", + "keywords": [ + "bridge", + "lock" + ] + }, + { + "value": "bridge-water", + "keywords": [ + "bridge", + "water" + ] + }, + { + "value": "briefcase" + }, + { + "value": "briefcase-medical", + "keywords": [ + "briefcase", + "medical" + ] + }, + { + "value": "broom" + }, + { + "value": "broom-ball", + "keywords": [ + "broom", + "ball" + ] + }, + { + "value": "brush" + }, + { + "value": "bucket" + }, + { + "value": "bug" + }, + { + "value": "bug-slash", + "keywords": [ + "bug", + "slash" + ] + }, + { + "value": "bugs" + }, + { + "value": "building" + }, + { + "value": "building-circle-arrow-right", + "keywords": [ + "building", + "circle", + "arrow", + "right" + ] + }, + { + "value": "building-circle-check", + "keywords": [ + "building", + "circle", + "check" + ] + }, + { + "value": "building-circle-exclamation", + "keywords": [ + "building", + "circle", + "exclamation" + ] + }, + { + "value": "building-circle-xmark", + "keywords": [ + "building", + "circle", + "xmark" + ] + }, + { + "value": "building-columns", + "keywords": [ + "building", + "columns" + ] + }, + { + "value": "building-flag", + "keywords": [ + "building", + "flag" + ] + }, + { + "value": "building-lock", + "keywords": [ + "building", + "lock" + ] + }, + { + "value": "building-ngo", + "keywords": [ + "building", + "ngo" + ] + }, + { + "value": "building-shield", + "keywords": [ + "building", + "shield" + ] + }, + { + "value": "building-un", + "keywords": [ + "building", + "un" + ] + }, + { + "value": "building-user", + "keywords": [ + "building", + "user" + ] + }, + { + "value": "building-wheat", + "keywords": [ + "building", + "wheat" + ] + }, + { + "value": "bullhorn" + }, + { + "value": "bullseye" + }, + { + "value": "burger" + }, + { + "value": "burst" + }, + { + "value": "bus" + }, + { + "value": "bus-simple", + "keywords": [ + "bus", + "simple" + ] + }, + { + "value": "business-time", + "keywords": [ + "business", + "time" + ] + }, + { + "value": "c" + }, + { + "value": "cable-car", + "keywords": [ + "cable", + "car" + ] + }, + { + "value": "cake-candles", + "keywords": [ + "cake", + "candles" + ] + }, + { + "value": "calculator" + }, + { + "value": "calendar" + }, + { + "value": "calendar-check", + "keywords": [ + "calendar", + "check" + ] + }, + { + "value": "calendar-day", + "keywords": [ + "calendar", + "day" + ] + }, + { + "value": "calendar-days", + "keywords": [ + "calendar", + "days" + ] + }, + { + "value": "calendar-minus", + "keywords": [ + "calendar", + "minus" + ] + }, + { + "value": "calendar-plus", + "keywords": [ + "calendar", + "plus" + ] + }, + { + "value": "calendar-week", + "keywords": [ + "calendar", + "week" + ] + }, + { + "value": "calendar-xmark", + "keywords": [ + "calendar", + "xmark" + ] + }, + { + "value": "camera" + }, + { + "value": "camera-retro", + "keywords": [ + "camera", + "retro" + ] + }, + { + "value": "camera-rotate", + "keywords": [ + "camera", + "rotate" + ] + }, + { + "value": "campground" + }, + { + "value": "candy-cane", + "keywords": [ + "candy", + "cane" + ] + }, + { + "value": "cannabis" + }, + { + "value": "capsules" + }, + { + "value": "car" + }, + { + "value": "car-battery", + "keywords": [ + "car", + "battery" + ] + }, + { + "value": "car-burst", + "keywords": [ + "car", + "burst" + ] + }, + { + "value": "car-on", + "keywords": [ + "car", + "on" + ] + }, + { + "value": "car-rear", + "keywords": [ + "car", + "rear" + ] + }, + { + "value": "car-side", + "keywords": [ + "car", + "side" + ] + }, + { + "value": "car-tunnel", + "keywords": [ + "car", + "tunnel" + ] + }, + { + "value": "caravan" + }, + { + "value": "caret-down", + "keywords": [ + "caret", + "down" + ] + }, + { + "value": "caret-left", + "keywords": [ + "caret", + "left" + ] + }, + { + "value": "caret-right", + "keywords": [ + "caret", + "right" + ] + }, + { + "value": "caret-up", + "keywords": [ + "caret", + "up" + ] + }, + { + "value": "carrot" + }, + { + "value": "cart-arrow-down", + "keywords": [ + "cart", + "arrow", + "down" + ] + }, + { + "value": "cart-flatbed", + "keywords": [ + "cart", + "flatbed" + ] + }, + { + "value": "cart-flatbed-suitcase", + "keywords": [ + "cart", + "flatbed", + "suitcase" + ] + }, + { + "value": "cart-plus", + "keywords": [ + "cart", + "plus" + ] + }, + { + "value": "cart-shopping", + "keywords": [ + "cart", + "shopping" + ] + }, + { + "value": "cash-register", + "keywords": [ + "cash", + "register" + ] + }, + { + "value": "cat" + }, + { + "value": "cedi-sign", + "keywords": [ + "cedi", + "sign" + ] + }, + { + "value": "cent-sign", + "keywords": [ + "cent", + "sign" + ] + }, + { + "value": "certificate" + }, + { + "value": "chair" + }, + { + "value": "chalkboard" + }, + { + "value": "chalkboard-user", + "keywords": [ + "chalkboard", + "user" + ] + }, + { + "value": "champagne-glasses", + "keywords": [ + "champagne", + "glasses" + ] + }, + { + "value": "charging-station", + "keywords": [ + "charging", + "station" + ] + }, + { + "value": "chart-area", + "keywords": [ + "chart", + "area" + ] + }, + { + "value": "chart-bar", + "keywords": [ + "chart", + "bar" + ] + }, + { + "value": "chart-column", + "keywords": [ + "chart", + "column" + ] + }, + { + "value": "chart-gantt", + "keywords": [ + "chart", + "gantt" + ] + }, + { + "value": "chart-line", + "keywords": [ + "chart", + "line" + ] + }, + { + "value": "chart-pie", + "keywords": [ + "chart", + "pie" + ] + }, + { + "value": "chart-simple", + "keywords": [ + "chart", + "simple" + ] + }, + { + "value": "check" + }, + { + "value": "check-double", + "keywords": [ + "check", + "double" + ] + }, + { + "value": "check-to-slot", + "keywords": [ + "check", + "to", + "slot" + ] + }, + { + "value": "cheese" + }, + { + "value": "chess" + }, + { + "value": "chess-bishop", + "keywords": [ + "chess", + "bishop" + ] + }, + { + "value": "chess-board", + "keywords": [ + "chess", + "board" + ] + }, + { + "value": "chess-king", + "keywords": [ + "chess", + "king" + ] + }, + { + "value": "chess-knight", + "keywords": [ + "chess", + "knight" + ] + }, + { + "value": "chess-pawn", + "keywords": [ + "chess", + "pawn" + ] + }, + { + "value": "chess-queen", + "keywords": [ + "chess", + "queen" + ] + }, + { + "value": "chess-rook", + "keywords": [ + "chess", + "rook" + ] + }, + { + "value": "chevron-down", + "keywords": [ + "chevron", + "down" + ] + }, + { + "value": "chevron-left", + "keywords": [ + "chevron", + "left" + ] + }, + { + "value": "chevron-right", + "keywords": [ + "chevron", + "right" + ] + }, + { + "value": "chevron-up", + "keywords": [ + "chevron", + "up" + ] + }, + { + "value": "child" + }, + { + "value": "child-combatant", + "keywords": [ + "child", + "combatant" + ] + }, + { + "value": "child-dress", + "keywords": [ + "child", + "dress" + ] + }, + { + "value": "child-reaching", + "keywords": [ + "child", + "reaching" + ] + }, + { + "value": "children" + }, + { + "value": "church" + }, + { + "value": "circle" + }, + { + "value": "circle-arrow-down", + "keywords": [ + "circle", + "arrow", + "down" + ] + }, + { + "value": "circle-arrow-left", + "keywords": [ + "circle", + "arrow", + "left" + ] + }, + { + "value": "circle-arrow-right", + "keywords": [ + "circle", + "arrow", + "right" + ] + }, + { + "value": "circle-arrow-up", + "keywords": [ + "circle", + "arrow", + "up" + ] + }, + { + "value": "circle-check", + "keywords": [ + "circle", + "check" + ] + }, + { + "value": "circle-chevron-down", + "keywords": [ + "circle", + "chevron", + "down" + ] + }, + { + "value": "circle-chevron-left", + "keywords": [ + "circle", + "chevron", + "left" + ] + }, + { + "value": "circle-chevron-right", + "keywords": [ + "circle", + "chevron", + "right" + ] + }, + { + "value": "circle-chevron-up", + "keywords": [ + "circle", + "chevron", + "up" + ] + }, + { + "value": "circle-dollar-to-slot", + "keywords": [ + "circle", + "dollar", + "to", + "slot" + ] + }, + { + "value": "circle-dot", + "keywords": [ + "circle", + "dot" + ] + }, + { + "value": "circle-down", + "keywords": [ + "circle", + "down" + ] + }, + { + "value": "circle-exclamation", + "keywords": [ + "circle", + "exclamation" + ] + }, + { + "value": "circle-h" + }, + { + "value": "circle-half-stroke", + "keywords": [ + "circle", + "half", + "stroke" + ] + }, + { + "value": "circle-info", + "keywords": [ + "circle", + "info" + ] + }, + { + "value": "circle-left", + "keywords": [ + "circle", + "left" + ] + }, + { + "value": "circle-minus", + "keywords": [ + "circle", + "minus" + ] + }, + { + "value": "circle-nodes", + "keywords": [ + "circle", + "nodes" + ] + }, + { + "value": "circle-notch", + "keywords": [ + "circle", + "notch" + ] + }, + { + "value": "circle-pause", + "keywords": [ + "circle", + "pause" + ] + }, + { + "value": "circle-play", + "keywords": [ + "circle", + "play" + ] + }, + { + "value": "circle-plus", + "keywords": [ + "circle", + "plus" + ] + }, + { + "value": "circle-question", + "keywords": [ + "circle", + "question" + ] + }, + { + "value": "circle-radiation", + "keywords": [ + "circle", + "radiation" + ] + }, + { + "value": "circle-right", + "keywords": [ + "circle", + "right" + ] + }, + { + "value": "circle-stop", + "keywords": [ + "circle", + "stop" + ] + }, + { + "value": "circle-up", + "keywords": [ + "circle", + "up" + ] + }, + { + "value": "circle-user", + "keywords": [ + "circle", + "user" + ] + }, + { + "value": "circle-xmark", + "keywords": [ + "circle", + "xmark" + ] + }, + { + "value": "city" + }, + { + "value": "clapperboard" + }, + { + "value": "clipboard" + }, + { + "value": "clipboard-check", + "keywords": [ + "clipboard", + "check" + ] + }, + { + "value": "clipboard-list", + "keywords": [ + "clipboard", + "list" + ] + }, + { + "value": "clipboard-question", + "keywords": [ + "clipboard", + "question" + ] + }, + { + "value": "clipboard-user", + "keywords": [ + "clipboard", + "user" + ] + }, + { + "value": "clock" + }, + { + "value": "clock-rotate-left", + "keywords": [ + "clock", + "rotate", + "left" + ] + }, + { + "value": "clone" + }, + { + "value": "closed-captioning", + "keywords": [ + "closed", + "captioning" + ] + }, + { + "value": "cloud" + }, + { + "value": "cloud-arrow-down", + "keywords": [ + "cloud", + "arrow", + "down" + ] + }, + { + "value": "cloud-arrow-up", + "keywords": [ + "cloud", + "arrow", + "up" + ] + }, + { + "value": "cloud-bolt", + "keywords": [ + "cloud", + "bolt" + ] + }, + { + "value": "cloud-meatball", + "keywords": [ + "cloud", + "meatball" + ] + }, + { + "value": "cloud-moon", + "keywords": [ + "cloud", + "moon" + ] + }, + { + "value": "cloud-moon-rain", + "keywords": [ + "cloud", + "moon", + "rain" + ] + }, + { + "value": "cloud-rain", + "keywords": [ + "cloud", + "rain" + ] + }, + { + "value": "cloud-showers-heavy", + "keywords": [ + "cloud", + "showers", + "heavy" + ] + }, + { + "value": "cloud-showers-water", + "keywords": [ + "cloud", + "showers", + "water" + ] + }, + { + "value": "cloud-sun", + "keywords": [ + "cloud", + "sun" + ] + }, + { + "value": "cloud-sun-rain", + "keywords": [ + "cloud", + "sun", + "rain" + ] + }, + { + "value": "clover" + }, + { + "value": "code" + }, + { + "value": "code-branch", + "keywords": [ + "code", + "branch" + ] + }, + { + "value": "code-commit", + "keywords": [ + "code", + "commit" + ] + }, + { + "value": "code-compare", + "keywords": [ + "code", + "compare" + ] + }, + { + "value": "code-fork", + "keywords": [ + "code", + "fork" + ] + }, + { + "value": "code-merge", + "keywords": [ + "code", + "merge" + ] + }, + { + "value": "code-pull-request", + "keywords": [ + "code", + "pull", + "request" + ] + }, + { + "value": "coins" + }, + { + "value": "colon-sign", + "keywords": [ + "colon", + "sign" + ] + }, + { + "value": "comment" + }, + { + "value": "comment-dollar", + "keywords": [ + "comment", + "dollar" + ] + }, + { + "value": "comment-dots", + "keywords": [ + "comment", + "dots" + ] + }, + { + "value": "comment-medical", + "keywords": [ + "comment", + "medical" + ] + }, + { + "value": "comment-slash", + "keywords": [ + "comment", + "slash" + ] + }, + { + "value": "comment-sms", + "keywords": [ + "comment", + "sms" + ] + }, + { + "value": "comments" + }, + { + "value": "comments-dollar", + "keywords": [ + "comments", + "dollar" + ] + }, + { + "value": "compact-disc", + "keywords": [ + "compact", + "disc" + ] + }, + { + "value": "compass" + }, + { + "value": "compass-drafting", + "keywords": [ + "compass", + "drafting" + ] + }, + { + "value": "compress" + }, + { + "value": "computer" + }, + { + "value": "computer-mouse", + "keywords": [ + "computer", + "mouse" + ] + }, + { + "value": "cookie" + }, + { + "value": "cookie-bite", + "keywords": [ + "cookie", + "bite" + ] + }, + { + "value": "copy" + }, + { + "value": "copyright" + }, + { + "value": "couch" + }, + { + "value": "cow" + }, + { + "value": "credit-card", + "keywords": [ + "credit", + "card" + ] + }, + { + "value": "crop" + }, + { + "value": "crop-simple", + "keywords": [ + "crop", + "simple" + ] + }, + { + "value": "cross" + }, + { + "value": "crosshairs" + }, + { + "value": "crow" + }, + { + "value": "crown" + }, + { + "value": "crutch" + }, + { + "value": "cruzeiro-sign", + "keywords": [ + "cruzeiro", + "sign" + ] + }, + { + "value": "cube" + }, + { + "value": "cubes" + }, + { + "value": "cubes-stacked", + "keywords": [ + "cubes", + "stacked" + ] + }, + { + "value": "d" + }, + { + "value": "database" + }, + { + "value": "delete-left", + "keywords": [ + "delete", + "left" + ] + }, + { + "value": "democrat" + }, + { + "value": "desktop" + }, + { + "value": "dharmachakra" + }, + { + "value": "diagram-next", + "keywords": [ + "diagram", + "next" + ] + }, + { + "value": "diagram-predecessor", + "keywords": [ + "diagram", + "predecessor" + ] + }, + { + "value": "diagram-project", + "keywords": [ + "diagram", + "project" + ] + }, + { + "value": "diagram-successor", + "keywords": [ + "diagram", + "successor" + ] + }, + { + "value": "diamond" + }, + { + "value": "diamond-turn-right", + "keywords": [ + "diamond", + "turn", + "right" + ] + }, + { + "value": "dice" + }, + { + "value": "dice-d20", + "keywords": [ + "dice", + "d20" + ] + }, + { + "value": "dice-d6", + "keywords": [ + "dice", + "d6" + ] + }, + { + "value": "dice-five", + "keywords": [ + "dice", + "five" + ] + }, + { + "value": "dice-four", + "keywords": [ + "dice", + "four" + ] + }, + { + "value": "dice-one", + "keywords": [ + "dice", + "one" + ] + }, + { + "value": "dice-six", + "keywords": [ + "dice", + "six" + ] + }, + { + "value": "dice-three", + "keywords": [ + "dice", + "three" + ] + }, + { + "value": "dice-two", + "keywords": [ + "dice", + "two" + ] + }, + { + "value": "disease" + }, + { + "value": "display" + }, + { + "value": "divide" + }, + { + "value": "dna" + }, + { + "value": "dog" + }, + { + "value": "dollar-sign", + "keywords": [ + "dollar", + "sign" + ] + }, + { + "value": "dolly" + }, + { + "value": "dong-sign", + "keywords": [ + "dong", + "sign" + ] + }, + { + "value": "door-closed", + "keywords": [ + "door", + "closed" + ] + }, + { + "value": "door-open", + "keywords": [ + "door", + "open" + ] + }, + { + "value": "dove" + }, + { + "value": "down-left-and-up-right-to-center", + "keywords": [ + "down", + "left", + "and", + "up", + "right", + "to", + "center" + ] + }, + { + "value": "down-long", + "keywords": [ + "down", + "long" + ] + }, + { + "value": "download" + }, + { + "value": "dragon" + }, + { + "value": "draw-polygon", + "keywords": [ + "draw", + "polygon" + ] + }, + { + "value": "droplet" + }, + { + "value": "droplet-slash", + "keywords": [ + "droplet", + "slash" + ] + }, + { + "value": "drum" + }, + { + "value": "drum-steelpan", + "keywords": [ + "drum", + "steelpan" + ] + }, + { + "value": "drumstick-bite", + "keywords": [ + "drumstick", + "bite" + ] + }, + { + "value": "dumbbell" + }, + { + "value": "dumpster" + }, + { + "value": "dumpster-fire", + "keywords": [ + "dumpster", + "fire" + ] + }, + { + "value": "dungeon" + }, + { + "value": "e" + }, + { + "value": "ear-deaf", + "keywords": [ + "ear", + "deaf" + ] + }, + { + "value": "ear-listen", + "keywords": [ + "ear", + "listen" + ] + }, + { + "value": "earth-africa", + "keywords": [ + "earth", + "africa" + ] + }, + { + "value": "earth-americas", + "keywords": [ + "earth", + "americas" + ] + }, + { + "value": "earth-asia", + "keywords": [ + "earth", + "asia" + ] + }, + { + "value": "earth-europe", + "keywords": [ + "earth", + "europe" + ] + }, + { + "value": "earth-oceania", + "keywords": [ + "earth", + "oceania" + ] + }, + { + "value": "egg" + }, + { + "value": "eject" + }, + { + "value": "elevator" + }, + { + "value": "ellipsis" + }, + { + "value": "ellipsis-vertical", + "keywords": [ + "ellipsis", + "vertical" + ] + }, + { + "value": "envelope" + }, + { + "value": "envelope-circle-check", + "keywords": [ + "envelope", + "circle", + "check" + ] + }, + { + "value": "envelope-open", + "keywords": [ + "envelope", + "open" + ] + }, + { + "value": "envelope-open-text", + "keywords": [ + "envelope", + "open", + "text" + ] + }, + { + "value": "envelopes-bulk", + "keywords": [ + "envelopes", + "bulk" + ] + }, + { + "value": "equals" + }, + { + "value": "eraser" + }, + { + "value": "ethernet" + }, + { + "value": "euro-sign", + "keywords": [ + "euro", + "sign" + ] + }, + { + "value": "exclamation" + }, + { + "value": "expand" + }, + { + "value": "explosion" + }, + { + "value": "eye" + }, + { + "value": "eye-dropper", + "keywords": [ + "eye", + "dropper" + ] + }, + { + "value": "eye-low-vision", + "keywords": [ + "eye", + "low", + "vision" + ] + }, + { + "value": "eye-slash", + "keywords": [ + "eye", + "slash" + ] + }, + { + "value": "f" + }, + { + "value": "face-angry", + "keywords": [ + "face", + "angry" + ] + }, + { + "value": "face-dizzy", + "keywords": [ + "face", + "dizzy" + ] + }, + { + "value": "face-flushed", + "keywords": [ + "face", + "flushed" + ] + }, + { + "value": "face-frown", + "keywords": [ + "face", + "frown" + ] + }, + { + "value": "face-frown-open", + "keywords": [ + "face", + "frown", + "open" + ] + }, + { + "value": "face-grimace", + "keywords": [ + "face", + "grimace" + ] + }, + { + "value": "face-grin", + "keywords": [ + "face", + "grin" + ] + }, + { + "value": "face-grin-beam", + "keywords": [ + "face", + "grin", + "beam" + ] + }, + { + "value": "face-grin-beam-sweat", + "keywords": [ + "face", + "grin", + "beam", + "sweat" + ] + }, + { + "value": "face-grin-hearts", + "keywords": [ + "face", + "grin", + "hearts" + ] + }, + { + "value": "face-grin-squint", + "keywords": [ + "face", + "grin", + "squint" + ] + }, + { + "value": "face-grin-squint-tears", + "keywords": [ + "face", + "grin", + "squint", + "tears" + ] + }, + { + "value": "face-grin-stars", + "keywords": [ + "face", + "grin", + "stars" + ] + }, + { + "value": "face-grin-tears", + "keywords": [ + "face", + "grin", + "tears" + ] + }, + { + "value": "face-grin-tongue", + "keywords": [ + "face", + "grin", + "tongue" + ] + }, + { + "value": "face-grin-tongue-squint", + "keywords": [ + "face", + "grin", + "tongue", + "squint" + ] + }, + { + "value": "face-grin-tongue-wink", + "keywords": [ + "face", + "grin", + "tongue", + "wink" + ] + }, + { + "value": "face-grin-wide", + "keywords": [ + "face", + "grin", + "wide" + ] + }, + { + "value": "face-grin-wink", + "keywords": [ + "face", + "grin", + "wink" + ] + }, + { + "value": "face-kiss", + "keywords": [ + "face", + "kiss" + ] + }, + { + "value": "face-kiss-beam", + "keywords": [ + "face", + "kiss", + "beam" + ] + }, + { + "value": "face-kiss-wink-heart", + "keywords": [ + "face", + "kiss", + "wink", + "heart" + ] + }, + { + "value": "face-laugh", + "keywords": [ + "face", + "laugh" + ] + }, + { + "value": "face-laugh-beam", + "keywords": [ + "face", + "laugh", + "beam" + ] + }, + { + "value": "face-laugh-squint", + "keywords": [ + "face", + "laugh", + "squint" + ] + }, + { + "value": "face-laugh-wink", + "keywords": [ + "face", + "laugh", + "wink" + ] + }, + { + "value": "face-meh", + "keywords": [ + "face", + "meh" + ] + }, + { + "value": "face-meh-blank", + "keywords": [ + "face", + "meh", + "blank" + ] + }, + { + "value": "face-rolling-eyes", + "keywords": [ + "face", + "rolling", + "eyes" + ] + }, + { + "value": "face-sad-cry", + "keywords": [ + "face", + "sad", + "cry" + ] + }, + { + "value": "face-sad-tear", + "keywords": [ + "face", + "sad", + "tear" + ] + }, + { + "value": "face-smile", + "keywords": [ + "face", + "smile" + ] + }, + { + "value": "face-smile-beam", + "keywords": [ + "face", + "smile", + "beam" + ] + }, + { + "value": "face-smile-wink", + "keywords": [ + "face", + "smile", + "wink" + ] + }, + { + "value": "face-surprise", + "keywords": [ + "face", + "surprise" + ] + }, + { + "value": "face-tired", + "keywords": [ + "face", + "tired" + ] + }, + { + "value": "fan" + }, + { + "value": "faucet" + }, + { + "value": "faucet-drip", + "keywords": [ + "faucet", + "drip" + ] + }, + { + "value": "fax" + }, + { + "value": "feather" + }, + { + "value": "feather-pointed", + "keywords": [ + "feather", + "pointed" + ] + }, + { + "value": "ferry" + }, + { + "value": "file" + }, + { + "value": "file-arrow-down", + "keywords": [ + "file", + "arrow", + "down" + ] + }, + { + "value": "file-arrow-up", + "keywords": [ + "file", + "arrow", + "up" + ] + }, + { + "value": "file-audio", + "keywords": [ + "file", + "audio" + ] + }, + { + "value": "file-circle-check", + "keywords": [ + "file", + "circle", + "check" + ] + }, + { + "value": "file-circle-exclamation", + "keywords": [ + "file", + "circle", + "exclamation" + ] + }, + { + "value": "file-circle-minus", + "keywords": [ + "file", + "circle", + "minus" + ] + }, + { + "value": "file-circle-plus", + "keywords": [ + "file", + "circle", + "plus" + ] + }, + { + "value": "file-circle-question", + "keywords": [ + "file", + "circle", + "question" + ] + }, + { + "value": "file-circle-xmark", + "keywords": [ + "file", + "circle", + "xmark" + ] + }, + { + "value": "file-code", + "keywords": [ + "file", + "code" + ] + }, + { + "value": "file-contract", + "keywords": [ + "file", + "contract" + ] + }, + { + "value": "file-csv", + "keywords": [ + "file", + "csv" + ] + }, + { + "value": "file-excel", + "keywords": [ + "file", + "excel" + ] + }, + { + "value": "file-export", + "keywords": [ + "file", + "export" + ] + }, + { + "value": "file-image", + "keywords": [ + "file", + "image" + ] + }, + { + "value": "file-import", + "keywords": [ + "file", + "import" + ] + }, + { + "value": "file-invoice", + "keywords": [ + "file", + "invoice" + ] + }, + { + "value": "file-invoice-dollar", + "keywords": [ + "file", + "invoice", + "dollar" + ] + }, + { + "value": "file-lines", + "keywords": [ + "file", + "lines" + ] + }, + { + "value": "file-medical", + "keywords": [ + "file", + "medical" + ] + }, + { + "value": "file-pdf", + "keywords": [ + "file", + "pdf" + ] + }, + { + "value": "file-pen", + "keywords": [ + "file", + "pen" + ] + }, + { + "value": "file-powerpoint", + "keywords": [ + "file", + "powerpoint" + ] + }, + { + "value": "file-prescription", + "keywords": [ + "file", + "prescription" + ] + }, + { + "value": "file-shield", + "keywords": [ + "file", + "shield" + ] + }, + { + "value": "file-signature", + "keywords": [ + "file", + "signature" + ] + }, + { + "value": "file-video", + "keywords": [ + "file", + "video" + ] + }, + { + "value": "file-waveform", + "keywords": [ + "file", + "waveform" + ] + }, + { + "value": "file-word", + "keywords": [ + "file", + "word" + ] + }, + { + "value": "file-zipper", + "keywords": [ + "file", + "zipper" + ] + }, + { + "value": "fill" + }, + { + "value": "fill-drip", + "keywords": [ + "fill", + "drip" + ] + }, + { + "value": "film" + }, + { + "value": "filter" + }, + { + "value": "filter-circle-dollar", + "keywords": [ + "filter", + "circle", + "dollar" + ] + }, + { + "value": "filter-circle-xmark", + "keywords": [ + "filter", + "circle", + "xmark" + ] + }, + { + "value": "fingerprint" + }, + { + "value": "fire" + }, + { + "value": "fire-burner", + "keywords": [ + "fire", + "burner" + ] + }, + { + "value": "fire-extinguisher", + "keywords": [ + "fire", + "extinguisher" + ] + }, + { + "value": "fire-flame-curved", + "keywords": [ + "fire", + "flame", + "curved" + ] + }, + { + "value": "fire-flame-simple", + "keywords": [ + "fire", + "flame", + "simple" + ] + }, + { + "value": "fish" + }, + { + "value": "fish-fins", + "keywords": [ + "fish", + "fins" + ] + }, + { + "value": "flag" + }, + { + "value": "flag-checkered", + "keywords": [ + "flag", + "checkered" + ] + }, + { + "value": "flag-usa", + "keywords": [ + "flag", + "usa" + ] + }, + { + "value": "flask" + }, + { + "value": "flask-vial", + "keywords": [ + "flask", + "vial" + ] + }, + { + "value": "floppy-disk", + "keywords": [ + "floppy", + "disk" + ] + }, + { + "value": "florin-sign", + "keywords": [ + "florin", + "sign" + ] + }, + { + "value": "folder" + }, + { + "value": "folder-closed", + "keywords": [ + "folder", + "closed" + ] + }, + { + "value": "folder-minus", + "keywords": [ + "folder", + "minus" + ] + }, + { + "value": "folder-open", + "keywords": [ + "folder", + "open" + ] + }, + { + "value": "folder-plus", + "keywords": [ + "folder", + "plus" + ] + }, + { + "value": "folder-tree", + "keywords": [ + "folder", + "tree" + ] + }, + { + "value": "font" + }, + { + "value": "font-awesome", + "keywords": [ + "font", + "awesome" + ] + }, + { + "value": "football" + }, + { + "value": "forward" + }, + { + "value": "forward-fast", + "keywords": [ + "forward", + "fast" + ] + }, + { + "value": "forward-step", + "keywords": [ + "forward", + "step" + ] + }, + { + "value": "franc-sign", + "keywords": [ + "franc", + "sign" + ] + }, + { + "value": "frog" + }, + { + "value": "futbol" + }, + { + "value": "g" + }, + { + "value": "gamepad" + }, + { + "value": "gas-pump", + "keywords": [ + "gas", + "pump" + ] + }, + { + "value": "gauge" + }, + { + "value": "gauge-high", + "keywords": [ + "gauge", + "high" + ] + }, + { + "value": "gauge-simple", + "keywords": [ + "gauge", + "simple" + ] + }, + { + "value": "gauge-simple-high", + "keywords": [ + "gauge", + "simple", + "high" + ] + }, + { + "value": "gavel" + }, + { + "value": "gear" + }, + { + "value": "gears" + }, + { + "value": "gem" + }, + { + "value": "genderless" + }, + { + "value": "ghost" + }, + { + "value": "gift" + }, + { + "value": "gifts" + }, + { + "value": "glass-water", + "keywords": [ + "glass", + "water" + ] + }, + { + "value": "glass-water-droplet", + "keywords": [ + "glass", + "water", + "droplet" + ] + }, + { + "value": "glasses" + }, + { + "value": "globe" + }, + { + "value": "golf-ball-tee", + "keywords": [ + "golf", + "ball", + "tee" + ] + }, + { + "value": "gopuram" + }, + { + "value": "graduation-cap", + "keywords": [ + "graduation", + "cap" + ] + }, + { + "value": "greater-than", + "keywords": [ + "greater", + "than" + ] + }, + { + "value": "greater-than-equal", + "keywords": [ + "greater", + "than", + "equal" + ] + }, + { + "value": "grip" + }, + { + "value": "grip-lines", + "keywords": [ + "grip", + "lines" + ] + }, + { + "value": "grip-lines-vertical", + "keywords": [ + "grip", + "lines", + "vertical" + ] + }, + { + "value": "grip-vertical", + "keywords": [ + "grip", + "vertical" + ] + }, + { + "value": "group-arrows-rotate", + "keywords": [ + "group", + "arrows", + "rotate" + ] + }, + { + "value": "guarani-sign", + "keywords": [ + "guarani", + "sign" + ] + }, + { + "value": "guitar" + }, + { + "value": "gun" + }, + { + "value": "h" + }, + { + "value": "hammer" + }, + { + "value": "hamsa" + }, + { + "value": "hand" + }, + { + "value": "hand-back-fist", + "keywords": [ + "hand", + "back", + "fist" + ] + }, + { + "value": "hand-dots", + "keywords": [ + "hand", + "dots" + ] + }, + { + "value": "hand-fist", + "keywords": [ + "hand", + "fist" + ] + }, + { + "value": "hand-holding", + "keywords": [ + "hand", + "holding" + ] + }, + { + "value": "hand-holding-dollar", + "keywords": [ + "hand", + "holding", + "dollar" + ] + }, + { + "value": "hand-holding-droplet", + "keywords": [ + "hand", + "holding", + "droplet" + ] + }, + { + "value": "hand-holding-hand", + "keywords": [ + "hand", + "holding", + "hand" + ] + }, + { + "value": "hand-holding-heart", + "keywords": [ + "hand", + "holding", + "heart" + ] + }, + { + "value": "hand-holding-medical", + "keywords": [ + "hand", + "holding", + "medical" + ] + }, + { + "value": "hand-lizard", + "keywords": [ + "hand", + "lizard" + ] + }, + { + "value": "hand-middle-finger", + "keywords": [ + "hand", + "middle", + "finger" + ] + }, + { + "value": "hand-peace", + "keywords": [ + "hand", + "peace" + ] + }, + { + "value": "hand-point-down", + "keywords": [ + "hand", + "point", + "down" + ] + }, + { + "value": "hand-point-left", + "keywords": [ + "hand", + "point", + "left" + ] + }, + { + "value": "hand-point-right", + "keywords": [ + "hand", + "point", + "right" + ] + }, + { + "value": "hand-point-up", + "keywords": [ + "hand", + "point", + "up" + ] + }, + { + "value": "hand-pointer", + "keywords": [ + "hand", + "pointer" + ] + }, + { + "value": "hand-scissors", + "keywords": [ + "hand", + "scissors" + ] + }, + { + "value": "hand-sparkles", + "keywords": [ + "hand", + "sparkles" + ] + }, + { + "value": "hand-spock", + "keywords": [ + "hand", + "spock" + ] + }, + { + "value": "handcuffs" + }, + { + "value": "hands" + }, + { + "value": "hands-asl-interpreting", + "keywords": [ + "hands", + "asl", + "interpreting" + ] + }, + { + "value": "hands-bound", + "keywords": [ + "hands", + "bound" + ] + }, + { + "value": "hands-bubbles", + "keywords": [ + "hands", + "bubbles" + ] + }, + { + "value": "hands-clapping", + "keywords": [ + "hands", + "clapping" + ] + }, + { + "value": "hands-holding", + "keywords": [ + "hands", + "holding" + ] + }, + { + "value": "hands-holding-child", + "keywords": [ + "hands", + "holding", + "child" + ] + }, + { + "value": "hands-holding-circle", + "keywords": [ + "hands", + "holding", + "circle" + ] + }, + { + "value": "hands-praying", + "keywords": [ + "hands", + "praying" + ] + }, + { + "value": "handshake" + }, + { + "value": "handshake-angle", + "keywords": [ + "handshake", + "angle" + ] + }, + { + "value": "handshake-simple", + "keywords": [ + "handshake", + "simple" + ] + }, + { + "value": "handshake-simple-slash", + "keywords": [ + "handshake", + "simple", + "slash" + ] + }, + { + "value": "handshake-slash", + "keywords": [ + "handshake", + "slash" + ] + }, + { + "value": "hanukiah" + }, + { + "value": "hard-drive", + "keywords": [ + "hard", + "drive" + ] + }, + { + "value": "hashtag" + }, + { + "value": "hat-cowboy", + "keywords": [ + "hat", + "cowboy" + ] + }, + { + "value": "hat-cowboy-side", + "keywords": [ + "hat", + "cowboy", + "side" + ] + }, + { + "value": "hat-wizard", + "keywords": [ + "hat", + "wizard" + ] + }, + { + "value": "head-side-cough", + "keywords": [ + "head", + "side", + "cough" + ] + }, + { + "value": "head-side-cough-slash", + "keywords": [ + "head", + "side", + "cough", + "slash" + ] + }, + { + "value": "head-side-mask", + "keywords": [ + "head", + "side", + "mask" + ] + }, + { + "value": "head-side-virus", + "keywords": [ + "head", + "side", + "virus" + ] + }, + { + "value": "heading" + }, + { + "value": "headphones" + }, + { + "value": "headphones-simple", + "keywords": [ + "headphones", + "simple" + ] + }, + { + "value": "headset" + }, + { + "value": "heart" + }, + { + "value": "heart-circle-bolt", + "keywords": [ + "heart", + "circle", + "bolt" + ] + }, + { + "value": "heart-circle-check", + "keywords": [ + "heart", + "circle", + "check" + ] + }, + { + "value": "heart-circle-exclamation", + "keywords": [ + "heart", + "circle", + "exclamation" + ] + }, + { + "value": "heart-circle-minus", + "keywords": [ + "heart", + "circle", + "minus" + ] + }, + { + "value": "heart-circle-plus", + "keywords": [ + "heart", + "circle", + "plus" + ] + }, + { + "value": "heart-circle-xmark", + "keywords": [ + "heart", + "circle", + "xmark" + ] + }, + { + "value": "heart-crack", + "keywords": [ + "heart", + "crack" + ] + }, + { + "value": "heart-pulse", + "keywords": [ + "heart", + "pulse" + ] + }, + { + "value": "helicopter" + }, + { + "value": "helicopter-symbol", + "keywords": [ + "helicopter", + "symbol" + ] + }, + { + "value": "helmet-safety", + "keywords": [ + "helmet", + "safety" + ] + }, + { + "value": "helmet-un", + "keywords": [ + "helmet", + "un" + ] + }, + { + "value": "highlighter" + }, + { + "value": "hill-avalanche", + "keywords": [ + "hill", + "avalanche" + ] + }, + { + "value": "hill-rockslide", + "keywords": [ + "hill", + "rockslide" + ] + }, + { + "value": "hippo" + }, + { + "value": "hockey-puck", + "keywords": [ + "hockey", + "puck" + ] + }, + { + "value": "holly-berry", + "keywords": [ + "holly", + "berry" + ] + }, + { + "value": "horse" + }, + { + "value": "horse-head", + "keywords": [ + "horse", + "head" + ] + }, + { + "value": "hospital" + }, + { + "value": "hospital-user", + "keywords": [ + "hospital", + "user" + ] + }, + { + "value": "hot-tub-person", + "keywords": [ + "hot", + "tub", + "person" + ] + }, + { + "value": "hotdog" + }, + { + "value": "hotel" + }, + { + "value": "hourglass" + }, + { + "value": "hourglass-end", + "keywords": [ + "hourglass", + "end" + ] + }, + { + "value": "hourglass-half", + "keywords": [ + "hourglass", + "half" + ] + }, + { + "value": "hourglass-start", + "keywords": [ + "hourglass", + "start" + ] + }, + { + "value": "house" + }, + { + "value": "house-chimney", + "keywords": [ + "house", + "chimney" + ] + }, + { + "value": "house-chimney-crack", + "keywords": [ + "house", + "chimney", + "crack" + ] + }, + { + "value": "house-chimney-medical", + "keywords": [ + "house", + "chimney", + "medical" + ] + }, + { + "value": "house-chimney-user", + "keywords": [ + "house", + "chimney", + "user" + ] + }, + { + "value": "house-chimney-window", + "keywords": [ + "house", + "chimney", + "window" + ] + }, + { + "value": "house-circle-check", + "keywords": [ + "house", + "circle", + "check" + ] + }, + { + "value": "house-circle-exclamation", + "keywords": [ + "house", + "circle", + "exclamation" + ] + }, + { + "value": "house-circle-xmark", + "keywords": [ + "house", + "circle", + "xmark" + ] + }, + { + "value": "house-crack", + "keywords": [ + "house", + "crack" + ] + }, + { + "value": "house-fire", + "keywords": [ + "house", + "fire" + ] + }, + { + "value": "house-flag", + "keywords": [ + "house", + "flag" + ] + }, + { + "value": "house-flood-water", + "keywords": [ + "house", + "flood", + "water" + ] + }, + { + "value": "house-flood-water-circle-arrow-right", + "keywords": [ + "house", + "flood", + "water", + "circle", + "arrow", + "right" + ] + }, + { + "value": "house-laptop", + "keywords": [ + "house", + "laptop" + ] + }, + { + "value": "house-lock", + "keywords": [ + "house", + "lock" + ] + }, + { + "value": "house-medical", + "keywords": [ + "house", + "medical" + ] + }, + { + "value": "house-medical-circle-check", + "keywords": [ + "house", + "medical", + "circle", + "check" + ] + }, + { + "value": "house-medical-circle-exclamation", + "keywords": [ + "house", + "medical", + "circle", + "exclamation" + ] + }, + { + "value": "house-medical-circle-xmark", + "keywords": [ + "house", + "medical", + "circle", + "xmark" + ] + }, + { + "value": "house-medical-flag", + "keywords": [ + "house", + "medical", + "flag" + ] + }, + { + "value": "house-signal", + "keywords": [ + "house", + "signal" + ] + }, + { + "value": "house-tsunami", + "keywords": [ + "house", + "tsunami" + ] + }, + { + "value": "house-user", + "keywords": [ + "house", + "user" + ] + }, + { + "value": "hryvnia-sign", + "keywords": [ + "hryvnia", + "sign" + ] + }, + { + "value": "hurricane" + }, + { + "value": "i" + }, + { + "value": "i-cursor" + }, + { + "value": "ice-cream", + "keywords": [ + "ice", + "cream" + ] + }, + { + "value": "icicles" + }, + { + "value": "icons" + }, + { + "value": "id-badge", + "keywords": [ + "id", + "badge" + ] + }, + { + "value": "id-card", + "keywords": [ + "id", + "card" + ] + }, + { + "value": "id-card-clip", + "keywords": [ + "id", + "card", + "clip" + ] + }, + { + "value": "igloo" + }, + { + "value": "image" + }, + { + "value": "image-portrait", + "keywords": [ + "image", + "portrait" + ] + }, + { + "value": "images" + }, + { + "value": "inbox" + }, + { + "value": "indent" + }, + { + "value": "indian-rupee-sign", + "keywords": [ + "indian", + "rupee", + "sign" + ] + }, + { + "value": "industry" + }, + { + "value": "infinity" + }, + { + "value": "info" + }, + { + "value": "italic" + }, + { + "value": "j" + }, + { + "value": "jar" + }, + { + "value": "jar-wheat", + "keywords": [ + "jar", + "wheat" + ] + }, + { + "value": "jedi" + }, + { + "value": "jet-fighter", + "keywords": [ + "jet", + "fighter" + ] + }, + { + "value": "jet-fighter-up", + "keywords": [ + "jet", + "fighter", + "up" + ] + }, + { + "value": "joint" + }, + { + "value": "jug-detergent", + "keywords": [ + "jug", + "detergent" + ] + }, + { + "value": "k" + }, + { + "value": "kaaba" + }, + { + "value": "key" + }, + { + "value": "keyboard" + }, + { + "value": "khanda" + }, + { + "value": "kip-sign", + "keywords": [ + "kip", + "sign" + ] + }, + { + "value": "kit-medical", + "keywords": [ + "kit", + "medical" + ] + }, + { + "value": "kitchen-set", + "keywords": [ + "kitchen", + "set" + ] + }, + { + "value": "kiwi-bird", + "keywords": [ + "kiwi", + "bird" + ] + }, + { + "value": "l" + }, + { + "value": "land-mine-on", + "keywords": [ + "land", + "mine", + "on" + ] + }, + { + "value": "landmark" + }, + { + "value": "landmark-dome", + "keywords": [ + "landmark", + "dome" + ] + }, + { + "value": "landmark-flag", + "keywords": [ + "landmark", + "flag" + ] + }, + { + "value": "language" + }, + { + "value": "laptop" + }, + { + "value": "laptop-code", + "keywords": [ + "laptop", + "code" + ] + }, + { + "value": "laptop-file", + "keywords": [ + "laptop", + "file" + ] + }, + { + "value": "laptop-medical", + "keywords": [ + "laptop", + "medical" + ] + }, + { + "value": "lari-sign", + "keywords": [ + "lari", + "sign" + ] + }, + { + "value": "layer-group", + "keywords": [ + "layer", + "group" + ] + }, + { + "value": "leaf" + }, + { + "value": "left-long", + "keywords": [ + "left", + "long" + ] + }, + { + "value": "left-right", + "keywords": [ + "left", + "right" + ] + }, + { + "value": "lemon" + }, + { + "value": "less-than", + "keywords": [ + "less", + "than" + ] + }, + { + "value": "less-than-equal", + "keywords": [ + "less", + "than", + "equal" + ] + }, + { + "value": "life-ring", + "keywords": [ + "life", + "ring" + ] + }, + { + "value": "lightbulb" + }, + { + "value": "lines-leaning", + "keywords": [ + "lines", + "leaning" + ] + }, + { + "value": "link" + }, + { + "value": "link-slash", + "keywords": [ + "link", + "slash" + ] + }, + { + "value": "lira-sign", + "keywords": [ + "lira", + "sign" + ] + }, + { + "value": "list" + }, + { + "value": "list-check", + "keywords": [ + "list", + "check" + ] + }, + { + "value": "list-ol", + "keywords": [ + "list", + "ol" + ] + }, + { + "value": "list-ul", + "keywords": [ + "list", + "ul" + ] + }, + { + "value": "litecoin-sign", + "keywords": [ + "litecoin", + "sign" + ] + }, + { + "value": "location-arrow", + "keywords": [ + "location", + "arrow" + ] + }, + { + "value": "location-crosshairs", + "keywords": [ + "location", + "crosshairs" + ] + }, + { + "value": "location-dot", + "keywords": [ + "location", + "dot" + ] + }, + { + "value": "location-pin", + "keywords": [ + "location", + "pin" + ] + }, + { + "value": "location-pin-lock", + "keywords": [ + "location", + "pin", + "lock" + ] + }, + { + "value": "lock" + }, + { + "value": "lock-open", + "keywords": [ + "lock", + "open" + ] + }, + { + "value": "locust" + }, + { + "value": "lungs" + }, + { + "value": "lungs-virus", + "keywords": [ + "lungs", + "virus" + ] + }, + { + "value": "m" + }, + { + "value": "magnet" + }, + { + "value": "magnifying-glass", + "keywords": [ + "magnifying", + "glass" + ] + }, + { + "value": "magnifying-glass-arrow-right", + "keywords": [ + "magnifying", + "glass", + "arrow", + "right" + ] + }, + { + "value": "magnifying-glass-chart", + "keywords": [ + "magnifying", + "glass", + "chart" + ] + }, + { + "value": "magnifying-glass-dollar", + "keywords": [ + "magnifying", + "glass", + "dollar" + ] + }, + { + "value": "magnifying-glass-location", + "keywords": [ + "magnifying", + "glass", + "location" + ] + }, + { + "value": "magnifying-glass-minus", + "keywords": [ + "magnifying", + "glass", + "minus" + ] + }, + { + "value": "magnifying-glass-plus", + "keywords": [ + "magnifying", + "glass", + "plus" + ] + }, + { + "value": "manat-sign", + "keywords": [ + "manat", + "sign" + ] + }, + { + "value": "map" + }, + { + "value": "map-location", + "keywords": [ + "map", + "location" + ] + }, + { + "value": "map-location-dot", + "keywords": [ + "map", + "location", + "dot" + ] + }, + { + "value": "map-pin", + "keywords": [ + "map", + "pin" + ] + }, + { + "value": "marker" + }, + { + "value": "mars" + }, + { + "value": "mars-and-venus", + "keywords": [ + "mars", + "and", + "venus" + ] + }, + { + "value": "mars-and-venus-burst", + "keywords": [ + "mars", + "and", + "venus", + "burst" + ] + }, + { + "value": "mars-double", + "keywords": [ + "mars", + "double" + ] + }, + { + "value": "mars-stroke", + "keywords": [ + "mars", + "stroke" + ] + }, + { + "value": "mars-stroke-right", + "keywords": [ + "mars", + "stroke", + "right" + ] + }, + { + "value": "mars-stroke-up", + "keywords": [ + "mars", + "stroke", + "up" + ] + }, + { + "value": "martini-glass", + "keywords": [ + "martini", + "glass" + ] + }, + { + "value": "martini-glass-citrus", + "keywords": [ + "martini", + "glass", + "citrus" + ] + }, + { + "value": "martini-glass-empty", + "keywords": [ + "martini", + "glass", + "empty" + ] + }, + { + "value": "mask" + }, + { + "value": "mask-face", + "keywords": [ + "mask", + "face" + ] + }, + { + "value": "mask-ventilator", + "keywords": [ + "mask", + "ventilator" + ] + }, + { + "value": "masks-theater", + "keywords": [ + "masks", + "theater" + ] + }, + { + "value": "mattress-pillow", + "keywords": [ + "mattress", + "pillow" + ] + }, + { + "value": "maximize" + }, + { + "value": "medal" + }, + { + "value": "memory" + }, + { + "value": "menorah" + }, + { + "value": "mercury" + }, + { + "value": "message" + }, + { + "value": "meteor" + }, + { + "value": "microchip" + }, + { + "value": "microphone" + }, + { + "value": "microphone-lines", + "keywords": [ + "microphone", + "lines" + ] + }, + { + "value": "microphone-lines-slash", + "keywords": [ + "microphone", + "lines", + "slash" + ] + }, + { + "value": "microphone-slash", + "keywords": [ + "microphone", + "slash" + ] + }, + { + "value": "microscope" + }, + { + "value": "mill-sign", + "keywords": [ + "mill", + "sign" + ] + }, + { + "value": "minimize" + }, + { + "value": "minus" + }, + { + "value": "mitten" + }, + { + "value": "mobile" + }, + { + "value": "mobile-button", + "keywords": [ + "mobile", + "button" + ] + }, + { + "value": "mobile-retro", + "keywords": [ + "mobile", + "retro" + ] + }, + { + "value": "mobile-screen", + "keywords": [ + "mobile", + "screen" + ] + }, + { + "value": "mobile-screen-button", + "keywords": [ + "mobile", + "screen", + "button" + ] + }, + { + "value": "money-bill", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-transfer", + "keywords": [ + "money", + "bill", + "transfer" + ] + }, + { + "value": "money-bill-trend-up", + "keywords": [ + "money", + "bill", + "trend", + "up" + ] + }, + { + "value": "money-bill-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-wheat", + "keywords": [ + "money", + "bill", + "wheat" + ] + }, + { + "value": "money-bills", + "keywords": [ + "money", + "bills" + ] + }, + { + "value": "money-check", + "keywords": [ + "money", + "check" + ] + }, + { + "value": "money-check-dollar", + "keywords": [ + "money", + "check", + "dollar" + ] + }, + { + "value": "monument" + }, + { + "value": "moon" + }, + { + "value": "mortar-pestle", + "keywords": [ + "mortar", + "pestle" + ] + }, + { + "value": "mosque" + }, + { + "value": "mosquito" + }, + { + "value": "mosquito-net", + "keywords": [ + "mosquito", + "net" + ] + }, + { + "value": "motorcycle" + }, + { + "value": "mound" + }, + { + "value": "mountain" + }, + { + "value": "mountain-city", + "keywords": [ + "mountain", + "city" + ] + }, + { + "value": "mountain-sun", + "keywords": [ + "mountain", + "sun" + ] + }, + { + "value": "mug-hot", + "keywords": [ + "mug", + "hot" + ] + }, + { + "value": "mug-saucer", + "keywords": [ + "mug", + "saucer" + ] + }, + { + "value": "music" + }, + { + "value": "n" + }, + { + "value": "naira-sign", + "keywords": [ + "naira", + "sign" + ] + }, + { + "value": "network-wired", + "keywords": [ + "network", + "wired" + ] + }, + { + "value": "neuter" + }, + { + "value": "newspaper" + }, + { + "value": "not-equal", + "keywords": [ + "not", + "equal" + ] + }, + { + "value": "notdef" + }, + { + "value": "note-sticky", + "keywords": [ + "note", + "sticky" + ] + }, + { + "value": "notes-medical", + "keywords": [ + "notes", + "medical" + ] + }, + { + "value": "o" + }, + { + "value": "object-group", + "keywords": [ + "object", + "group" + ] + }, + { + "value": "object-ungroup", + "keywords": [ + "object", + "ungroup" + ] + }, + { + "value": "oil-can", + "keywords": [ + "oil", + "can" + ] + }, + { + "value": "oil-well", + "keywords": [ + "oil", + "well" + ] + }, + { + "value": "om" + }, + { + "value": "otter" + }, + { + "value": "outdent" + }, + { + "value": "p" + }, + { + "value": "pager" + }, + { + "value": "paint-roller", + "keywords": [ + "paint", + "roller" + ] + }, + { + "value": "paintbrush" + }, + { + "value": "palette" + }, + { + "value": "pallet" + }, + { + "value": "panorama" + }, + { + "value": "paper-plane", + "keywords": [ + "paper", + "plane" + ] + }, + { + "value": "paperclip" + }, + { + "value": "parachute-box", + "keywords": [ + "parachute", + "box" + ] + }, + { + "value": "paragraph" + }, + { + "value": "passport" + }, + { + "value": "paste" + }, + { + "value": "pause" + }, + { + "value": "paw" + }, + { + "value": "peace" + }, + { + "value": "pen" + }, + { + "value": "pen-clip", + "keywords": [ + "pen", + "clip" + ] + }, + { + "value": "pen-fancy", + "keywords": [ + "pen", + "fancy" + ] + }, + { + "value": "pen-nib", + "keywords": [ + "pen", + "nib" + ] + }, + { + "value": "pen-ruler", + "keywords": [ + "pen", + "ruler" + ] + }, + { + "value": "pen-to-square", + "keywords": [ + "pen", + "to", + "square" + ] + }, + { + "value": "pencil" + }, + { + "value": "people-arrows", + "keywords": [ + "people", + "arrows" + ] + }, + { + "value": "people-carry-box", + "keywords": [ + "people", + "carry", + "box" + ] + }, + { + "value": "people-group", + "keywords": [ + "people", + "group" + ] + }, + { + "value": "people-line", + "keywords": [ + "people", + "line" + ] + }, + { + "value": "people-pulling", + "keywords": [ + "people", + "pulling" + ] + }, + { + "value": "people-robbery", + "keywords": [ + "people", + "robbery" + ] + }, + { + "value": "people-roof", + "keywords": [ + "people", + "roof" + ] + }, + { + "value": "pepper-hot", + "keywords": [ + "pepper", + "hot" + ] + }, + { + "value": "percent" + }, + { + "value": "person" + }, + { + "value": "person-arrow-down-to-line", + "keywords": [ + "person", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "person-arrow-up-from-line", + "keywords": [ + "person", + "arrow", + "up", + "from", + "line" + ] + }, + { + "value": "person-biking", + "keywords": [ + "person", + "biking" + ] + }, + { + "value": "person-booth", + "keywords": [ + "person", + "booth" + ] + }, + { + "value": "person-breastfeeding", + "keywords": [ + "person", + "breastfeeding" + ] + }, + { + "value": "person-burst", + "keywords": [ + "person", + "burst" + ] + }, + { + "value": "person-cane", + "keywords": [ + "person", + "cane" + ] + }, + { + "value": "person-chalkboard", + "keywords": [ + "person", + "chalkboard" + ] + }, + { + "value": "person-circle-check", + "keywords": [ + "person", + "circle", + "check" + ] + }, + { + "value": "person-circle-exclamation", + "keywords": [ + "person", + "circle", + "exclamation" + ] + }, + { + "value": "person-circle-minus", + "keywords": [ + "person", + "circle", + "minus" + ] + }, + { + "value": "person-circle-plus", + "keywords": [ + "person", + "circle", + "plus" + ] + }, + { + "value": "person-circle-question", + "keywords": [ + "person", + "circle", + "question" + ] + }, + { + "value": "person-circle-xmark", + "keywords": [ + "person", + "circle", + "xmark" + ] + }, + { + "value": "person-digging", + "keywords": [ + "person", + "digging" + ] + }, + { + "value": "person-dots-from-line", + "keywords": [ + "person", + "dots", + "from", + "line" + ] + }, + { + "value": "person-dress", + "keywords": [ + "person", + "dress" + ] + }, + { + "value": "person-dress-burst", + "keywords": [ + "person", + "dress", + "burst" + ] + }, + { + "value": "person-drowning", + "keywords": [ + "person", + "drowning" + ] + }, + { + "value": "person-falling", + "keywords": [ + "person", + "falling" + ] + }, + { + "value": "person-falling-burst", + "keywords": [ + "person", + "falling", + "burst" + ] + }, + { + "value": "person-half-dress", + "keywords": [ + "person", + "half", + "dress" + ] + }, + { + "value": "person-harassing", + "keywords": [ + "person", + "harassing" + ] + }, + { + "value": "person-hiking", + "keywords": [ + "person", + "hiking" + ] + }, + { + "value": "person-military-pointing", + "keywords": [ + "person", + "military", + "pointing" + ] + }, + { + "value": "person-military-rifle", + "keywords": [ + "person", + "military", + "rifle" + ] + }, + { + "value": "person-military-to-person", + "keywords": [ + "person", + "military", + "to", + "person" + ] + }, + { + "value": "person-praying", + "keywords": [ + "person", + "praying" + ] + }, + { + "value": "person-pregnant", + "keywords": [ + "person", + "pregnant" + ] + }, + { + "value": "person-rays", + "keywords": [ + "person", + "rays" + ] + }, + { + "value": "person-rifle", + "keywords": [ + "person", + "rifle" + ] + }, + { + "value": "person-running", + "keywords": [ + "person", + "running" + ] + }, + { + "value": "person-shelter", + "keywords": [ + "person", + "shelter" + ] + }, + { + "value": "person-skating", + "keywords": [ + "person", + "skating" + ] + }, + { + "value": "person-skiing", + "keywords": [ + "person", + "skiing" + ] + }, + { + "value": "person-skiing-nordic", + "keywords": [ + "person", + "skiing", + "nordic" + ] + }, + { + "value": "person-snowboarding", + "keywords": [ + "person", + "snowboarding" + ] + }, + { + "value": "person-swimming", + "keywords": [ + "person", + "swimming" + ] + }, + { + "value": "person-through-window", + "keywords": [ + "person", + "through", + "window" + ] + }, + { + "value": "person-walking", + "keywords": [ + "person", + "walking" + ] + }, + { + "value": "person-walking-arrow-loop-left", + "keywords": [ + "person", + "walking", + "arrow", + "loop", + "left" + ] + }, + { + "value": "person-walking-arrow-right", + "keywords": [ + "person", + "walking", + "arrow", + "right" + ] + }, + { + "value": "person-walking-dashed-line-arrow-right", + "keywords": [ + "person", + "walking", + "dashed", + "line", + "arrow", + "right" + ] + }, + { + "value": "person-walking-luggage", + "keywords": [ + "person", + "walking", + "luggage" + ] + }, + { + "value": "person-walking-with-cane", + "keywords": [ + "person", + "walking", + "with", + "cane" + ] + }, + { + "value": "peseta-sign", + "keywords": [ + "peseta", + "sign" + ] + }, + { + "value": "peso-sign", + "keywords": [ + "peso", + "sign" + ] + }, + { + "value": "phone" + }, + { + "value": "phone-flip", + "keywords": [ + "phone", + "flip" + ] + }, + { + "value": "phone-slash", + "keywords": [ + "phone", + "slash" + ] + }, + { + "value": "phone-volume", + "keywords": [ + "phone", + "volume" + ] + }, + { + "value": "photo-film", + "keywords": [ + "photo", + "film" + ] + }, + { + "value": "piggy-bank", + "keywords": [ + "piggy", + "bank" + ] + }, + { + "value": "pills" + }, + { + "value": "pizza-slice", + "keywords": [ + "pizza", + "slice" + ] + }, + { + "value": "place-of-worship", + "keywords": [ + "place", + "of", + "worship" + ] + }, + { + "value": "plane" + }, + { + "value": "plane-arrival", + "keywords": [ + "plane", + "arrival" + ] + }, + { + "value": "plane-circle-check", + "keywords": [ + "plane", + "circle", + "check" + ] + }, + { + "value": "plane-circle-exclamation", + "keywords": [ + "plane", + "circle", + "exclamation" + ] + }, + { + "value": "plane-circle-xmark", + "keywords": [ + "plane", + "circle", + "xmark" + ] + }, + { + "value": "plane-departure", + "keywords": [ + "plane", + "departure" + ] + }, + { + "value": "plane-lock", + "keywords": [ + "plane", + "lock" + ] + }, + { + "value": "plane-slash", + "keywords": [ + "plane", + "slash" + ] + }, + { + "value": "plane-up", + "keywords": [ + "plane", + "up" + ] + }, + { + "value": "plant-wilt", + "keywords": [ + "plant", + "wilt" + ] + }, + { + "value": "plate-wheat", + "keywords": [ + "plate", + "wheat" + ] + }, + { + "value": "play" + }, + { + "value": "plug" + }, + { + "value": "plug-circle-bolt", + "keywords": [ + "plug", + "circle", + "bolt" + ] + }, + { + "value": "plug-circle-check", + "keywords": [ + "plug", + "circle", + "check" + ] + }, + { + "value": "plug-circle-exclamation", + "keywords": [ + "plug", + "circle", + "exclamation" + ] + }, + { + "value": "plug-circle-minus", + "keywords": [ + "plug", + "circle", + "minus" + ] + }, + { + "value": "plug-circle-plus", + "keywords": [ + "plug", + "circle", + "plus" + ] + }, + { + "value": "plug-circle-xmark", + "keywords": [ + "plug", + "circle", + "xmark" + ] + }, + { + "value": "plus" + }, + { + "value": "plus-minus", + "keywords": [ + "plus", + "minus" + ] + }, + { + "value": "podcast" + }, + { + "value": "poo" + }, + { + "value": "poo-storm", + "keywords": [ + "poo", + "storm" + ] + }, + { + "value": "poop" + }, + { + "value": "power-off", + "keywords": [ + "power", + "off" + ] + }, + { + "value": "prescription" + }, + { + "value": "prescription-bottle", + "keywords": [ + "prescription", + "bottle" + ] + }, + { + "value": "prescription-bottle-medical", + "keywords": [ + "prescription", + "bottle", + "medical" + ] + }, + { + "value": "print" + }, + { + "value": "pump-medical", + "keywords": [ + "pump", + "medical" + ] + }, + { + "value": "pump-soap", + "keywords": [ + "pump", + "soap" + ] + }, + { + "value": "puzzle-piece", + "keywords": [ + "puzzle", + "piece" + ] + }, + { + "value": "q" + }, + { + "value": "qrcode" + }, + { + "value": "question" + }, + { + "value": "quote-left", + "keywords": [ + "quote", + "left" + ] + }, + { + "value": "quote-right", + "keywords": [ + "quote", + "right" + ] + }, + { + "value": "r" + }, + { + "value": "radiation" + }, + { + "value": "radio" + }, + { + "value": "rainbow" + }, + { + "value": "ranking-star", + "keywords": [ + "ranking", + "star" + ] + }, + { + "value": "receipt" + }, + { + "value": "record-vinyl", + "keywords": [ + "record", + "vinyl" + ] + }, + { + "value": "rectangle-ad", + "keywords": [ + "rectangle", + "ad" + ] + }, + { + "value": "rectangle-list", + "keywords": [ + "rectangle", + "list" + ] + }, + { + "value": "rectangle-xmark", + "keywords": [ + "rectangle", + "xmark" + ] + }, + { + "value": "recycle" + }, + { + "value": "registered" + }, + { + "value": "repeat" + }, + { + "value": "reply" + }, + { + "value": "reply-all", + "keywords": [ + "reply", + "all" + ] + }, + { + "value": "republican" + }, + { + "value": "restroom" + }, + { + "value": "retweet" + }, + { + "value": "ribbon" + }, + { + "value": "right-from-bracket", + "keywords": [ + "right", + "from", + "bracket" + ] + }, + { + "value": "right-left", + "keywords": [ + "right", + "left" + ] + }, + { + "value": "right-long", + "keywords": [ + "right", + "long" + ] + }, + { + "value": "right-to-bracket", + "keywords": [ + "right", + "to", + "bracket" + ] + }, + { + "value": "ring" + }, + { + "value": "road" + }, + { + "value": "road-barrier", + "keywords": [ + "road", + "barrier" + ] + }, + { + "value": "road-bridge", + "keywords": [ + "road", + "bridge" + ] + }, + { + "value": "road-circle-check", + "keywords": [ + "road", + "circle", + "check" + ] + }, + { + "value": "road-circle-exclamation", + "keywords": [ + "road", + "circle", + "exclamation" + ] + }, + { + "value": "road-circle-xmark", + "keywords": [ + "road", + "circle", + "xmark" + ] + }, + { + "value": "road-lock", + "keywords": [ + "road", + "lock" + ] + }, + { + "value": "road-spikes", + "keywords": [ + "road", + "spikes" + ] + }, + { + "value": "robot" + }, + { + "value": "rocket" + }, + { + "value": "rotate" + }, + { + "value": "rotate-left", + "keywords": [ + "rotate", + "left" + ] + }, + { + "value": "rotate-right", + "keywords": [ + "rotate", + "right" + ] + }, + { + "value": "route" + }, + { + "value": "rss" + }, + { + "value": "ruble-sign", + "keywords": [ + "ruble", + "sign" + ] + }, + { + "value": "rug" + }, + { + "value": "ruler" + }, + { + "value": "ruler-combined", + "keywords": [ + "ruler", + "combined" + ] + }, + { + "value": "ruler-horizontal", + "keywords": [ + "ruler", + "horizontal" + ] + }, + { + "value": "ruler-vertical", + "keywords": [ + "ruler", + "vertical" + ] + }, + { + "value": "rupee-sign", + "keywords": [ + "rupee", + "sign" + ] + }, + { + "value": "rupiah-sign", + "keywords": [ + "rupiah", + "sign" + ] + }, + { + "value": "s" + }, + { + "value": "sack-dollar", + "keywords": [ + "sack", + "dollar" + ] + }, + { + "value": "sack-xmark", + "keywords": [ + "sack", + "xmark" + ] + }, + { + "value": "sailboat" + }, + { + "value": "satellite" + }, + { + "value": "satellite-dish", + "keywords": [ + "satellite", + "dish" + ] + }, + { + "value": "scale-balanced", + "keywords": [ + "scale", + "balanced" + ] + }, + { + "value": "scale-unbalanced", + "keywords": [ + "scale", + "unbalanced" + ] + }, + { + "value": "scale-unbalanced-flip", + "keywords": [ + "scale", + "unbalanced", + "flip" + ] + }, + { + "value": "school" + }, + { + "value": "school-circle-check", + "keywords": [ + "school", + "circle", + "check" + ] + }, + { + "value": "school-circle-exclamation", + "keywords": [ + "school", + "circle", + "exclamation" + ] + }, + { + "value": "school-circle-xmark", + "keywords": [ + "school", + "circle", + "xmark" + ] + }, + { + "value": "school-flag", + "keywords": [ + "school", + "flag" + ] + }, + { + "value": "school-lock", + "keywords": [ + "school", + "lock" + ] + }, + { + "value": "scissors" + }, + { + "value": "screwdriver" + }, + { + "value": "screwdriver-wrench", + "keywords": [ + "screwdriver", + "wrench" + ] + }, + { + "value": "scroll" + }, + { + "value": "scroll-torah", + "keywords": [ + "scroll", + "torah" + ] + }, + { + "value": "sd-card", + "keywords": [ + "sd", + "card" + ] + }, + { + "value": "section" + }, + { + "value": "seedling" + }, + { + "value": "server" + }, + { + "value": "shapes" + }, + { + "value": "share" + }, + { + "value": "share-from-square", + "keywords": [ + "share", + "from", + "square" + ] + }, + { + "value": "share-nodes", + "keywords": [ + "share", + "nodes" + ] + }, + { + "value": "sheet-plastic", + "keywords": [ + "sheet", + "plastic" + ] + }, + { + "value": "shekel-sign", + "keywords": [ + "shekel", + "sign" + ] + }, + { + "value": "shield" + }, + { + "value": "shield-cat", + "keywords": [ + "shield", + "cat" + ] + }, + { + "value": "shield-dog", + "keywords": [ + "shield", + "dog" + ] + }, + { + "value": "shield-halved", + "keywords": [ + "shield", + "halved" + ] + }, + { + "value": "shield-heart", + "keywords": [ + "shield", + "heart" + ] + }, + { + "value": "shield-virus", + "keywords": [ + "shield", + "virus" + ] + }, + { + "value": "ship" + }, + { + "value": "shirt" + }, + { + "value": "shoe-prints", + "keywords": [ + "shoe", + "prints" + ] + }, + { + "value": "shop" + }, + { + "value": "shop-lock", + "keywords": [ + "shop", + "lock" + ] + }, + { + "value": "shop-slash", + "keywords": [ + "shop", + "slash" + ] + }, + { + "value": "shower" + }, + { + "value": "shrimp" + }, + { + "value": "shuffle" + }, + { + "value": "shuttle-space", + "keywords": [ + "shuttle", + "space" + ] + }, + { + "value": "sign-hanging", + "keywords": [ + "sign", + "hanging" + ] + }, + { + "value": "signal" + }, + { + "value": "signature" + }, + { + "value": "signs-post", + "keywords": [ + "signs", + "post" + ] + }, + { + "value": "sim-card", + "keywords": [ + "sim", + "card" + ] + }, + { + "value": "sink" + }, + { + "value": "sitemap" + }, + { + "value": "skull" + }, + { + "value": "skull-crossbones", + "keywords": [ + "skull", + "crossbones" + ] + }, + { + "value": "slash" + }, + { + "value": "sleigh" + }, + { + "value": "sliders" + }, + { + "value": "smog" + }, + { + "value": "smoking" + }, + { + "value": "snowflake" + }, + { + "value": "snowman" + }, + { + "value": "snowplow" + }, + { + "value": "soap" + }, + { + "value": "socks" + }, + { + "value": "solar-panel", + "keywords": [ + "solar", + "panel" + ] + }, + { + "value": "sort" + }, + { + "value": "sort-down", + "keywords": [ + "sort", + "down" + ] + }, + { + "value": "sort-up", + "keywords": [ + "sort", + "up" + ] + }, + { + "value": "spa" + }, + { + "value": "spaghetti-monster-flying", + "keywords": [ + "spaghetti", + "monster", + "flying" + ] + }, + { + "value": "spell-check", + "keywords": [ + "spell", + "check" + ] + }, + { + "value": "spider" + }, + { + "value": "spinner" + }, + { + "value": "splotch" + }, + { + "value": "spoon" + }, + { + "value": "spray-can", + "keywords": [ + "spray", + "can" + ] + }, + { + "value": "spray-can-sparkles", + "keywords": [ + "spray", + "can", + "sparkles" + ] + }, + { + "value": "square" + }, + { + "value": "square-arrow-up-right", + "keywords": [ + "square", + "arrow", + "up", + "right" + ] + }, + { + "value": "square-caret-down", + "keywords": [ + "square", + "caret", + "down" + ] + }, + { + "value": "square-caret-left", + "keywords": [ + "square", + "caret", + "left" + ] + }, + { + "value": "square-caret-right", + "keywords": [ + "square", + "caret", + "right" + ] + }, + { + "value": "square-caret-up", + "keywords": [ + "square", + "caret", + "up" + ] + }, + { + "value": "square-check", + "keywords": [ + "square", + "check" + ] + }, + { + "value": "square-envelope", + "keywords": [ + "square", + "envelope" + ] + }, + { + "value": "square-full", + "keywords": [ + "square", + "full" + ] + }, + { + "value": "square-h" + }, + { + "value": "square-minus", + "keywords": [ + "square", + "minus" + ] + }, + { + "value": "square-nfi", + "keywords": [ + "square", + "nfi" + ] + }, + { + "value": "square-parking", + "keywords": [ + "square", + "parking" + ] + }, + { + "value": "square-pen", + "keywords": [ + "square", + "pen" + ] + }, + { + "value": "square-person-confined", + "keywords": [ + "square", + "person", + "confined" + ] + }, + { + "value": "square-phone", + "keywords": [ + "square", + "phone" + ] + }, + { + "value": "square-phone-flip", + "keywords": [ + "square", + "phone", + "flip" + ] + }, + { + "value": "square-plus", + "keywords": [ + "square", + "plus" + ] + }, + { + "value": "square-poll-horizontal", + "keywords": [ + "square", + "poll", + "horizontal" + ] + }, + { + "value": "square-poll-vertical", + "keywords": [ + "square", + "poll", + "vertical" + ] + }, + { + "value": "square-root-variable", + "keywords": [ + "square", + "root", + "variable" + ] + }, + { + "value": "square-rss", + "keywords": [ + "square", + "rss" + ] + }, + { + "value": "square-share-nodes", + "keywords": [ + "square", + "share", + "nodes" + ] + }, + { + "value": "square-up-right", + "keywords": [ + "square", + "up", + "right" + ] + }, + { + "value": "square-virus", + "keywords": [ + "square", + "virus" + ] + }, + { + "value": "square-xmark", + "keywords": [ + "square", + "xmark" + ] + }, + { + "value": "staff-snake", + "keywords": [ + "staff", + "snake" + ] + }, + { + "value": "stairs" + }, + { + "value": "stamp" + }, + { + "value": "stapler" + }, + { + "value": "star" + }, + { + "value": "star-and-crescent", + "keywords": [ + "star", + "and", + "crescent" + ] + }, + { + "value": "star-half", + "keywords": [ + "star", + "half" + ] + }, + { + "value": "star-half-stroke", + "keywords": [ + "star", + "half", + "stroke" + ] + }, + { + "value": "star-of-david", + "keywords": [ + "star", + "of", + "david" + ] + }, + { + "value": "star-of-life", + "keywords": [ + "star", + "of", + "life" + ] + }, + { + "value": "sterling-sign", + "keywords": [ + "sterling", + "sign" + ] + }, + { + "value": "stethoscope" + }, + { + "value": "stop" + }, + { + "value": "stopwatch" + }, + { + "value": "stopwatch-20", + "keywords": [ + "stopwatch", + "20" + ] + }, + { + "value": "store" + }, + { + "value": "store-slash", + "keywords": [ + "store", + "slash" + ] + }, + { + "value": "street-view", + "keywords": [ + "street", + "view" + ] + }, + { + "value": "strikethrough" + }, + { + "value": "stroopwafel" + }, + { + "value": "subscript" + }, + { + "value": "suitcase" + }, + { + "value": "suitcase-medical", + "keywords": [ + "suitcase", + "medical" + ] + }, + { + "value": "suitcase-rolling", + "keywords": [ + "suitcase", + "rolling" + ] + }, + { + "value": "sun" + }, + { + "value": "sun-plant-wilt", + "keywords": [ + "sun", + "plant", + "wilt" + ] + }, + { + "value": "superscript" + }, + { + "value": "swatchbook" + }, + { + "value": "synagogue" + }, + { + "value": "syringe" + }, + { + "value": "t" + }, + { + "value": "table" + }, + { + "value": "table-cells", + "keywords": [ + "table", + "cells" + ] + }, + { + "value": "table-cells-large", + "keywords": [ + "table", + "cells", + "large" + ] + }, + { + "value": "table-columns", + "keywords": [ + "table", + "columns" + ] + }, + { + "value": "table-list", + "keywords": [ + "table", + "list" + ] + }, + { + "value": "table-tennis-paddle-ball", + "keywords": [ + "table", + "tennis", + "paddle", + "ball" + ] + }, + { + "value": "tablet" + }, + { + "value": "tablet-button", + "keywords": [ + "tablet", + "button" + ] + }, + { + "value": "tablet-screen-button", + "keywords": [ + "tablet", + "screen", + "button" + ] + }, + { + "value": "tablets" + }, + { + "value": "tachograph-digital", + "keywords": [ + "tachograph", + "digital" + ] + }, + { + "value": "tag" + }, + { + "value": "tags" + }, + { + "value": "tape" + }, + { + "value": "tarp" + }, + { + "value": "tarp-droplet", + "keywords": [ + "tarp", + "droplet" + ] + }, + { + "value": "taxi" + }, + { + "value": "teeth" + }, + { + "value": "teeth-open", + "keywords": [ + "teeth", + "open" + ] + }, + { + "value": "temperature-arrow-down", + "keywords": [ + "temperature", + "arrow", + "down" + ] + }, + { + "value": "temperature-arrow-up", + "keywords": [ + "temperature", + "arrow", + "up" + ] + }, + { + "value": "temperature-empty", + "keywords": [ + "temperature", + "empty" + ] + }, + { + "value": "temperature-full", + "keywords": [ + "temperature", + "full" + ] + }, + { + "value": "temperature-half", + "keywords": [ + "temperature", + "half" + ] + }, + { + "value": "temperature-high", + "keywords": [ + "temperature", + "high" + ] + }, + { + "value": "temperature-low", + "keywords": [ + "temperature", + "low" + ] + }, + { + "value": "temperature-quarter", + "keywords": [ + "temperature", + "quarter" + ] + }, + { + "value": "temperature-three-quarters", + "keywords": [ + "temperature", + "three", + "quarters" + ] + }, + { + "value": "tenge-sign", + "keywords": [ + "tenge", + "sign" + ] + }, + { + "value": "tent" + }, + { + "value": "tent-arrow-down-to-line", + "keywords": [ + "tent", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "tent-arrow-left-right", + "keywords": [ + "tent", + "arrow", + "left", + "right" + ] + }, + { + "value": "tent-arrow-turn-left", + "keywords": [ + "tent", + "arrow", + "turn", + "left" + ] + }, + { + "value": "tent-arrows-down", + "keywords": [ + "tent", + "arrows", + "down" + ] + }, + { + "value": "tents" + }, + { + "value": "terminal" + }, + { + "value": "text-height", + "keywords": [ + "text", + "height" + ] + }, + { + "value": "text-slash", + "keywords": [ + "text", + "slash" + ] + }, + { + "value": "text-width", + "keywords": [ + "text", + "width" + ] + }, + { + "value": "thermometer" + }, + { + "value": "thumbs-down", + "keywords": [ + "thumbs", + "down" + ] + }, + { + "value": "thumbs-up", + "keywords": [ + "thumbs", + "up" + ] + }, + { + "value": "thumbtack" + }, + { + "value": "ticket" + }, + { + "value": "ticket-simple", + "keywords": [ + "ticket", + "simple" + ] + }, + { + "value": "timeline" + }, + { + "value": "toggle-off", + "keywords": [ + "toggle", + "off" + ] + }, + { + "value": "toggle-on", + "keywords": [ + "toggle", + "on" + ] + }, + { + "value": "toilet" + }, + { + "value": "toilet-paper", + "keywords": [ + "toilet", + "paper" + ] + }, + { + "value": "toilet-paper-slash", + "keywords": [ + "toilet", + "paper", + "slash" + ] + }, + { + "value": "toilet-portable", + "keywords": [ + "toilet", + "portable" + ] + }, + { + "value": "toilets-portable", + "keywords": [ + "toilets", + "portable" + ] + }, + { + "value": "toolbox" + }, + { + "value": "tooth" + }, + { + "value": "torii-gate", + "keywords": [ + "torii", + "gate" + ] + }, + { + "value": "tornado" + }, + { + "value": "tower-broadcast", + "keywords": [ + "tower", + "broadcast" + ] + }, + { + "value": "tower-cell", + "keywords": [ + "tower", + "cell" + ] + }, + { + "value": "tower-observation", + "keywords": [ + "tower", + "observation" + ] + }, + { + "value": "tractor" + }, + { + "value": "trademark" + }, + { + "value": "traffic-light", + "keywords": [ + "traffic", + "light" + ] + }, + { + "value": "trailer" + }, + { + "value": "train" + }, + { + "value": "train-subway", + "keywords": [ + "train", + "subway" + ] + }, + { + "value": "train-tram", + "keywords": [ + "train", + "tram" + ] + }, + { + "value": "transgender" + }, + { + "value": "trash" + }, + { + "value": "trash-arrow-up", + "keywords": [ + "trash", + "arrow", + "up" + ] + }, + { + "value": "trash-can", + "keywords": [ + "trash", + "can" + ] + }, + { + "value": "trash-can-arrow-up", + "keywords": [ + "trash", + "can", + "arrow", + "up" + ] + }, + { + "value": "tree" + }, + { + "value": "tree-city", + "keywords": [ + "tree", + "city" + ] + }, + { + "value": "triangle-exclamation", + "keywords": [ + "triangle", + "exclamation" + ] + }, + { + "value": "trophy" + }, + { + "value": "trowel" + }, + { + "value": "trowel-bricks", + "keywords": [ + "trowel", + "bricks" + ] + }, + { + "value": "truck" + }, + { + "value": "truck-arrow-right", + "keywords": [ + "truck", + "arrow", + "right" + ] + }, + { + "value": "truck-droplet", + "keywords": [ + "truck", + "droplet" + ] + }, + { + "value": "truck-fast", + "keywords": [ + "truck", + "fast" + ] + }, + { + "value": "truck-field", + "keywords": [ + "truck", + "field" + ] + }, + { + "value": "truck-field-un", + "keywords": [ + "truck", + "field", + "un" + ] + }, + { + "value": "truck-front", + "keywords": [ + "truck", + "front" + ] + }, + { + "value": "truck-medical", + "keywords": [ + "truck", + "medical" + ] + }, + { + "value": "truck-monster", + "keywords": [ + "truck", + "monster" + ] + }, + { + "value": "truck-moving", + "keywords": [ + "truck", + "moving" + ] + }, + { + "value": "truck-pickup", + "keywords": [ + "truck", + "pickup" + ] + }, + { + "value": "truck-plane", + "keywords": [ + "truck", + "plane" + ] + }, + { + "value": "truck-ramp-box", + "keywords": [ + "truck", + "ramp", + "box" + ] + }, + { + "value": "tty" + }, + { + "value": "turkish-lira-sign", + "keywords": [ + "turkish", + "lira", + "sign" + ] + }, + { + "value": "turn-down", + "keywords": [ + "turn", + "down" + ] + }, + { + "value": "turn-up", + "keywords": [ + "turn", + "up" + ] + }, + { + "value": "tv" + }, + { + "value": "u" + }, + { + "value": "umbrella" + }, + { + "value": "umbrella-beach", + "keywords": [ + "umbrella", + "beach" + ] + }, + { + "value": "underline" + }, + { + "value": "universal-access", + "keywords": [ + "universal", + "access" + ] + }, + { + "value": "unlock" + }, + { + "value": "unlock-keyhole", + "keywords": [ + "unlock", + "keyhole" + ] + }, + { + "value": "up-down", + "keywords": [ + "up", + "down" + ] + }, + { + "value": "up-down-left-right", + "keywords": [ + "up", + "down", + "left", + "right" + ] + }, + { + "value": "up-long", + "keywords": [ + "up", + "long" + ] + }, + { + "value": "up-right-and-down-left-from-center", + "keywords": [ + "up", + "right", + "and", + "down", + "left", + "from", + "center" + ] + }, + { + "value": "up-right-from-square", + "keywords": [ + "up", + "right", + "from", + "square" + ] + }, + { + "value": "upload" + }, + { + "value": "user" + }, + { + "value": "user-astronaut", + "keywords": [ + "user", + "astronaut" + ] + }, + { + "value": "user-check", + "keywords": [ + "user", + "check" + ] + }, + { + "value": "user-clock", + "keywords": [ + "user", + "clock" + ] + }, + { + "value": "user-doctor", + "keywords": [ + "user", + "doctor" + ] + }, + { + "value": "user-gear", + "keywords": [ + "user", + "gear" + ] + }, + { + "value": "user-graduate", + "keywords": [ + "user", + "graduate" + ] + }, + { + "value": "user-group", + "keywords": [ + "user", + "group" + ] + }, + { + "value": "user-injured", + "keywords": [ + "user", + "injured" + ] + }, + { + "value": "user-large", + "keywords": [ + "user", + "large" + ] + }, + { + "value": "user-large-slash", + "keywords": [ + "user", + "large", + "slash" + ] + }, + { + "value": "user-lock", + "keywords": [ + "user", + "lock" + ] + }, + { + "value": "user-minus", + "keywords": [ + "user", + "minus" + ] + }, + { + "value": "user-ninja", + "keywords": [ + "user", + "ninja" + ] + }, + { + "value": "user-nurse", + "keywords": [ + "user", + "nurse" + ] + }, + { + "value": "user-pen", + "keywords": [ + "user", + "pen" + ] + }, + { + "value": "user-plus", + "keywords": [ + "user", + "plus" + ] + }, + { + "value": "user-secret", + "keywords": [ + "user", + "secret" + ] + }, + { + "value": "user-shield", + "keywords": [ + "user", + "shield" + ] + }, + { + "value": "user-slash", + "keywords": [ + "user", + "slash" + ] + }, + { + "value": "user-tag", + "keywords": [ + "user", + "tag" + ] + }, + { + "value": "user-tie", + "keywords": [ + "user", + "tie" + ] + }, + { + "value": "user-xmark", + "keywords": [ + "user", + "xmark" + ] + }, + { + "value": "users" + }, + { + "value": "users-between-lines", + "keywords": [ + "users", + "between", + "lines" + ] + }, + { + "value": "users-gear", + "keywords": [ + "users", + "gear" + ] + }, + { + "value": "users-line", + "keywords": [ + "users", + "line" + ] + }, + { + "value": "users-rays", + "keywords": [ + "users", + "rays" + ] + }, + { + "value": "users-rectangle", + "keywords": [ + "users", + "rectangle" + ] + }, + { + "value": "users-slash", + "keywords": [ + "users", + "slash" + ] + }, + { + "value": "users-viewfinder", + "keywords": [ + "users", + "viewfinder" + ] + }, + { + "value": "utensils" + }, + { + "value": "v" + }, + { + "value": "van-shuttle", + "keywords": [ + "van", + "shuttle" + ] + }, + { + "value": "vault" + }, + { + "value": "vector-square", + "keywords": [ + "vector", + "square" + ] + }, + { + "value": "venus" + }, + { + "value": "venus-double", + "keywords": [ + "venus", + "double" + ] + }, + { + "value": "venus-mars", + "keywords": [ + "venus", + "mars" + ] + }, + { + "value": "vest" + }, + { + "value": "vest-patches", + "keywords": [ + "vest", + "patches" + ] + }, + { + "value": "vial" + }, + { + "value": "vial-circle-check", + "keywords": [ + "vial", + "circle", + "check" + ] + }, + { + "value": "vial-virus", + "keywords": [ + "vial", + "virus" + ] + }, + { + "value": "vials" + }, + { + "value": "video" + }, + { + "value": "video-slash", + "keywords": [ + "video", + "slash" + ] + }, + { + "value": "vihara" + }, + { + "value": "virus" + }, + { + "value": "virus-covid", + "keywords": [ + "virus", + "covid" + ] + }, + { + "value": "virus-covid-slash", + "keywords": [ + "virus", + "covid", + "slash" + ] + }, + { + "value": "virus-slash", + "keywords": [ + "virus", + "slash" + ] + }, + { + "value": "viruses" + }, + { + "value": "voicemail" + }, + { + "value": "volcano" + }, + { + "value": "volleyball" + }, + { + "value": "volume-high", + "keywords": [ + "volume", + "high" + ] + }, + { + "value": "volume-low", + "keywords": [ + "volume", + "low" + ] + }, + { + "value": "volume-off", + "keywords": [ + "volume", + "off" + ] + }, + { + "value": "volume-xmark", + "keywords": [ + "volume", + "xmark" + ] + }, + { + "value": "vr-cardboard", + "keywords": [ + "vr", + "cardboard" + ] + }, + { + "value": "w" + }, + { + "value": "walkie-talkie", + "keywords": [ + "walkie", + "talkie" + ] + }, + { + "value": "wallet" + }, + { + "value": "wand-magic", + "keywords": [ + "wand", + "magic" + ] + }, + { + "value": "wand-magic-sparkles", + "keywords": [ + "wand", + "magic", + "sparkles" + ] + }, + { + "value": "wand-sparkles", + "keywords": [ + "wand", + "sparkles" + ] + }, + { + "value": "warehouse" + }, + { + "value": "water" + }, + { + "value": "water-ladder", + "keywords": [ + "water", + "ladder" + ] + }, + { + "value": "wave-square", + "keywords": [ + "wave", + "square" + ] + }, + { + "value": "weight-hanging", + "keywords": [ + "weight", + "hanging" + ] + }, + { + "value": "weight-scale", + "keywords": [ + "weight", + "scale" + ] + }, + { + "value": "wheat-awn", + "keywords": [ + "wheat", + "awn" + ] + }, + { + "value": "wheat-awn-circle-exclamation", + "keywords": [ + "wheat", + "awn", + "circle", + "exclamation" + ] + }, + { + "value": "wheelchair" + }, + { + "value": "wheelchair-move", + "keywords": [ + "wheelchair", + "move" + ] + }, + { + "value": "whiskey-glass", + "keywords": [ + "whiskey", + "glass" + ] + }, + { + "value": "wifi" + }, + { + "value": "wind" + }, + { + "value": "window-maximize", + "keywords": [ + "window", + "maximize" + ] + }, + { + "value": "window-minimize", + "keywords": [ + "window", + "minimize" + ] + }, + { + "value": "window-restore", + "keywords": [ + "window", + "restore" + ] + }, + { + "value": "wine-bottle", + "keywords": [ + "wine", + "bottle" + ] + }, + { + "value": "wine-glass", + "keywords": [ + "wine", + "glass" + ] + }, + { + "value": "wine-glass-empty", + "keywords": [ + "wine", + "glass", + "empty" + ] + }, + { + "value": "won-sign", + "keywords": [ + "won", + "sign" + ] + }, + { + "value": "worm" + }, + { + "value": "wrench" + }, + { + "value": "x" + }, + { + "value": "x-ray" + }, + { + "value": "xmark" + }, + { + "value": "xmarks-lines", + "keywords": [ + "xmarks", + "lines" + ] + }, + { + "value": "y" + }, + { + "value": "yen-sign", + "keywords": [ + "yen", + "sign" + ] + }, + { + "value": "yin-yang", + "keywords": [ + "yin", + "yang" + ] + }, + { + "value": "z" + } + ] + }, + "shTitle": { + "label": "$t:editor.control.sh_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "title" + } + }, + "shDescription": { + "label": "$t:editor.control.sh_description.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "description" + } + } + }, + "componentCapabilities": { + "comment": "sirsoft-admin_basic 78개 draggable 전수 capability. propControls(속성 탭, controls.json propValue 참조) + styleControls(스타일 탭) + events(동작) + nodeEditor(구조 에디터 슬롯, 단계 2/3). no-editable 0. 부록1 1:1 + 소스검증 정정(EmptyState/Breadcrumb 무이벤트, StatusBadge iconName=icon-picker).", + "Div": { + "label": "$t:editor.component.div", + "coreProps": [ + "id", + "dataKey" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "height", + "textAlign", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "advanced": [ + "permissions", + "blur_until_loaded", + "comment" + ], + "flexEditor": "auto" + }, + "Span": { + "label": "$t:editor.component.span", + "styleControls": [ + "fontSize", + "fontWeight", + "textColor", + "fontItalic", + "textUnderline", + "whitespace" + ] + }, + "P": { + "label": "$t:editor.component.p", + "styleControls": [ + "textAlign", + "fontSize", + "textColor", + "marginAll", + "fontBold", + "fontItalic", + "textUnderline", + "whitespace" + ] + }, + "H1": { + "label": "$t:editor.component.h1", + "styleControls": [ + "textAlign", + "fontSize", + "fontWeight", + "textColor", + "marginAll", + "fontItalic", + "textUnderline", + "whitespace" + ] + }, + "H2": { + "label": "$t:editor.component.h2", + "styleControls": [ + "textAlign", + "fontSize", + "fontWeight", + "textColor", + "marginAll", + "fontItalic", + "textUnderline", + "whitespace" + ] + }, + "H3": { + "label": "$t:editor.component.h3", + "styleControls": [ + "textAlign", + "fontSize", + "fontWeight", + "textColor", + "marginAll", + "fontItalic", + "textUnderline", + "whitespace" + ] + }, + "H4": { + "label": "$t:editor.component.h4", + "styleControls": [ + "textAlign", + "fontSize", + "fontWeight", + "textColor", + "marginAll", + "fontItalic", + "textUnderline", + "whitespace" + ] + }, + "A": { + "label": "$t:editor.component.a", + "propControls": [ + "linkHref", + "linkTarget" + ], + "styleControls": [ + "fontSize", + "fontWeight", + "textColor", + "fontItalic", + "textUnderline", + "whitespace" + ], + "advanced": [ + "permissions" + ], + "events": [ + "onClick" + ] + }, + "Button": { + "label": "$t:editor.component.button", + "propControls": [ + "componentDisabled" + ], + "styleControls": [ + "width", + "height", + "paddingAll", + "marginAll", + "textColor", + "backgroundColor", + "fontBold", + "fontItalic", + "textUnderline", + "whitespace" + ], + "advanced": [ + "permissions", + "lifecycle" + ], + "events": [ + "onClick", + "onHover" + ] + }, + "Img": { + "label": "$t:editor.component.img", + "propControls": [ + "imgSrc", + "imgAlt" + ], + "styleControls": [ + "width", + "height", + "marginAll" + ] + }, + "Icon": { + "label": "$t:editor.component.icon", + "propControls": [ + "iconName", + "iconStyle", + "iconSize", + "iconColor", + "iconSpin", + "iconPulse", + "iconFixedWidth", + "iconAria" + ], + "styleControls": [ + "fontSize", + "textColor", + "marginAll" + ] + }, + "Hr": { + "label": "$t:editor.component.hr", + "styleControls": [ + "marginAll", + "borderStyle", + "borderColor", + "opacity" + ] + }, + "Ul": { + "label": "$t:editor.component.ul", + "styleControls": [ + "paddingAll", + "marginAll", + "textColor", + "fontSize" + ], + "nodeEditor": { + "kind": "children", + "params": { + "childComponent": "Li" + } + } + }, + "Ol": { + "label": "$t:editor.component.ol", + "styleControls": [ + "paddingAll", + "marginAll", + "textColor", + "fontSize" + ], + "nodeEditor": { + "kind": "children", + "params": { + "childComponent": "Li" + } + } + }, + "Li": { + "label": "$t:editor.component.li", + "styleControls": [ + "paddingAll", + "marginAll", + "textColor", + "fontSize", + "fontWeight", + "fontItalic", + "textUnderline" + ], + "nodeEditor": { + "kind": "children", + "params": { + "childComponent": "Span" + } + } + }, + "Nav": { + "label": "$t:editor.component.nav", + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "flexEditor": "auto", + "nodeEditor": { + "kind": "children", + "params": { + "childComponent": "A" + } + } + }, + "Section": { + "label": "$t:editor.component.section", + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "advanced": [ + "permissions" + ] + }, + "Code": { + "label": "$t:editor.component.code", + "styleControls": [ + "fontSize", + "textColor", + "backgroundColor", + "paddingAll", + "marginAll", + "borderRadius", + "whitespace" + ] + }, + "Pre": { + "label": "$t:editor.component.pre", + "styleControls": [ + "fontSize", + "textColor", + "backgroundColor", + "paddingAll", + "marginAll", + "borderRadius", + "overflow", + "whitespace" + ] + }, + "Container": { + "label": "$t:editor.component.container", + "coreProps": [ + "id", + "dataKey" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "advanced": [ + "permissions" + ], + "flexEditor": "auto" + }, + "Grid": { + "label": "$t:editor.component.grid", + "propControls": [ + "gridCols", + "gridGap", + "gridRowGap", + "gridColGap", + "gridAutoRows", + "gridAutoCols", + "gridFlow" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "events": [ + "onClick" + ] + }, + "Flex": { + "label": "$t:editor.component.flex", + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "height", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "events": [ + "onClick" + ], + "flexEditor": "container" + }, + "SectionLayout": { + "label": "$t:editor.component.section_layout", + "propControls": [ + "secTitle", + "secSubtitle", + "secPadding", + "secBackground", + "secMaxWidth", + "secCentered", + "secBorder", + "secShadow", + "secRounded" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "advanced": [ + "permissions" + ], + "events": [ + "onClick" + ] + }, + "ThreeColumnLayout": { + "label": "$t:editor.component.three_column_layout", + "propControls": [ + "tclLeftWidth", + "tclRightWidth" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "overflow" + ] + }, + "Card": { + "label": "$t:editor.component.card", + "propControls": [ + "cardTitle", + "cardContent", + "cardImageUrl", + "cardImageAlt" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "advanced": [ + "permissions" + ], + "events": [ + "onClick" + ], + "flexEditor": "item" + }, + "Badge": { + "label": "$t:editor.component.badge", + "propControls": [ + "badgeColor", + "badgeText", + "badgeSize" + ], + "styleControls": [ + "marginAll" + ] + }, + "StatusBadge": { + "label": "$t:editor.component.status_badge", + "propControls": [ + "sbStatus", + "sbLabel", + "sbShowIcon", + "sbIconName" + ], + "styleControls": [ + "marginAll" + ] + }, + "Alert": { + "label": "$t:editor.component.alert", + "propControls": [ + "alertType", + "alertMessage", + "alertDismissible" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onDismiss" + ] + }, + "EmptyState": { + "label": "$t:editor.component.empty_state", + "propControls": [ + "esTitle", + "esDesc", + "esIconName", + "esIllustSrc", + "esIllustAlt" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width", + "textAlign" + ] + }, + "LoadingSpinner": { + "label": "$t:editor.component.loading_spinner", + "propControls": [ + "lsSize", + "lsColor", + "lsFullscreen", + "lsText" + ], + "styleControls": [ + "marginAll" + ] + }, + "PageHeader": { + "label": "$t:editor.component.page_header", + "propControls": [ + "phTitle", + "phDesc" + ], + "styleControls": [ + "marginAll" + ], + "advanced": [ + "permissions" + ], + "dataProps": [ + { + "propKey": "tabs", + "shape": "array", + "label": "$t:editor.data_prop.tabs", + "itemFields": [ + "id", + "label", + "value" + ] + }, + { + "propKey": "breadcrumbItems", + "shape": "array", + "label": "$t:editor.data_prop.breadcrumb_items", + "itemFields": [ + "label", + "href" + ] + } + ] + }, + "Breadcrumb": { + "label": "$t:editor.component.breadcrumb", + "propControls": [ + "bcSeparator", + "bcShowHome", + "bcHomeHref", + "bcMaxItems" + ], + "styleControls": [ + "marginAll", + "fontSize", + "textColor" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "items", + "itemLabel": "$t:editor.array_item.crumb", + "newItem": { + "label": "" + }, + "fields": [ + { + "key": "label", + "widget": "i18n-text", + "label": "$t:editor.array_field.label", + "primary": true + }, + { + "key": "href", + "widget": "text", + "label": "$t:editor.array_field.href" + } + ] + } + } + }, + "TabNavigation": { + "label": "$t:editor.component.tab_navigation", + "propControls": [ + "tnActiveTabId", + "tnVariant", + "tnMobileBreakpoint" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onTabChange" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "tabs", + "itemLabel": "$t:editor.array_item.tab", + "newItem": { + "id": "", + "label": "" + }, + "fields": [ + { + "key": "label", + "widget": "i18n-text", + "label": "$t:editor.array_field.label", + "primary": true + }, + { + "key": "id", + "widget": "text", + "label": "$t:editor.array_field.id" + }, + { + "key": "iconName", + "widget": "icon", + "label": "$t:editor.array_field.icon" + }, + { + "key": "badge", + "widget": "i18n-text", + "label": "$t:editor.array_field.badge" + }, + { + "key": "disabled", + "widget": "boolean", + "label": "$t:editor.array_field.disabled" + } + ] + } + }, + "canvasOverlay": { + "kind": "tabnav", + "params": { + "arrayProp": "tabs" + } + } + }, + "TabNavigationScroll": { + "label": "$t:editor.component.tab_navigation_scroll", + "propControls": [ + "tnsActiveTabId", + "tnsSectionPrefix", + "tnsScrollOffset", + "tnsScrollDelay", + "tnsEnableSpy", + "tnsSpyOffset", + "tnsContainerId" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onTabChange" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "tabs", + "itemLabel": "$t:editor.array_item.tab", + "newItem": { + "id": "", + "label": "" + }, + "fields": [ + { + "key": "label", + "widget": "i18n-text", + "label": "$t:editor.array_field.label", + "primary": true + }, + { + "key": "id", + "widget": "text", + "label": "$t:editor.array_field.id" + }, + { + "key": "iconName", + "widget": "icon", + "label": "$t:editor.array_field.icon" + }, + { + "key": "badge", + "widget": "i18n-text", + "label": "$t:editor.array_field.badge" + }, + { + "key": "disabled", + "widget": "boolean", + "label": "$t:editor.array_field.disabled" + } + ] + } + }, + "dataProps": [ + { + "propKey": "tabs", + "shape": "array", + "label": "$t:editor.data_prop.tabs", + "itemFields": [ + "id", + "label" + ] + } + ] + }, + "Toggle": { + "label": "$t:editor.component.toggle", + "propControls": [ + "tgLabel", + "tgDesc", + "tgSize", + "tgDisabled", + "tgName" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onChange" + ] + }, + "FormField": { + "label": "$t:editor.component.form_field", + "propControls": [ + "ffLabel", + "ffRequired", + "ffError", + "ffHelper", + "ffHorizontal", + "ffLabelWidth" + ], + "styleControls": [ + "width", + "marginAll" + ], + "advanced": [ + "permissions" + ] + }, + "Input": { + "label": "$t:editor.component.input", + "propControls": [ + "inputType", + "inputPlaceholder", + "inputName", + "inputRequired", + "inputDisabled" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "value", + "shape": "scalar", + "label": "$t:editor.data_prop.value" + } + ] + }, + "Textarea": { + "label": "$t:editor.component.textarea", + "propControls": [ + "textareaRows", + "inputPlaceholder", + "inputName", + "inputDisabled" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "value", + "shape": "scalar", + "label": "$t:editor.data_prop.value" + } + ] + }, + "Label": { + "label": "$t:editor.component.label", + "propControls": [ + "htmlFor" + ], + "styleControls": [ + "fontSize", + "fontWeight", + "textColor", + "fontItalic", + "textUnderline", + "whitespace", + "marginAll" + ] + }, + "Select": { + "label": "$t:editor.component.select", + "propControls": [ + "selectPlaceholder", + "selectOptions", + "inputDisabled" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "value", + "shape": "scalar", + "label": "$t:editor.data_prop.value" + }, + { + "propKey": "options", + "shape": "array", + "label": "$t:editor.data_prop.options", + "itemFields": [ + "value", + "label", + "disabled" + ] + } + ] + }, + "Checkbox": { + "label": "$t:editor.component.checkbox", + "propControls": [ + "inputDisabled" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onChange" + ] + }, + "RadioGroup": { + "label": "$t:editor.component.radio_group", + "propControls": [ + "inputName", + "rgInline", + "rgSize", + "selectOptions", + "fieldLabel", + "fieldError", + "inputDisabled" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "value", + "shape": "scalar", + "label": "$t:editor.data_prop.value" + }, + { + "propKey": "options", + "shape": "array", + "label": "$t:editor.data_prop.options", + "itemFields": [ + "value", + "label", + "disabled" + ], + "required": true + } + ] + }, + "FileInput": { + "label": "$t:editor.component.file_input", + "propControls": [ + "fiAccept", + "fiMaxSize", + "fiButtonText", + "inputPlaceholder", + "inputDisabled" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ] + }, + "FileUploader": { + "label": "$t:editor.component.file_uploader", + "propControls": [ + "fuType", + "fuCollection", + "fuMaxFiles", + "fuMaxSize", + "fuAccept", + "fuAutoUpload", + "inputDisabled", + "fuConfirmRemove", + "fuPrimarySel" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onFilesChange" + ] + }, + "DataGrid": { + "label": "$t:editor.component.data_grid", + "propControls": [ + "dgPagination", + "dgPageSize" + ], + "styleControls": [ + "marginAll" + ], + "advanced": [ + "permissions" + ], + "events": [ + "onPageChange", + "onRowClick" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "columns", + "itemLabel": "$t:editor.array_item.column", + "newItem": { + "field": "", + "header": "" + }, + "fields": [ + { + "key": "header", + "widget": "i18n-text", + "label": "$t:editor.array_field.header", + "primary": true + }, + { + "key": "field", + "widget": "text", + "label": "$t:editor.array_field.field" + }, + { + "key": "width", + "widget": "text", + "label": "$t:editor.array_field.width" + }, + { + "key": "sortable", + "widget": "boolean", + "label": "$t:editor.array_field.sortable" + } + ] + } + }, + "dataProps": [ + { + "propKey": "data", + "shape": "array", + "label": "$t:editor.data_prop.data", + "itemFields": [ + "id", + "name" + ], + "required": true + } + ] + }, + "CardGrid": { + "label": "$t:editor.component.card_grid", + "propControls": [ + "cgGridCols", + "cgGap", + "cgPagination", + "cgPageSize" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onPageChange" + ], + "nodeEditor": { + "kind": "array-cell-tree", + "params": { + "arrayProp": "cardColumns", + "itemLabel": "$t:editor.array_item.card_column", + "idField": "id", + "cellChildrenProp": "cellChildren", + "cellChildComponent": "Div", + "newItem": { + "id": "", + "cellChildren": [] + } + } + }, + "dataProps": [ + { + "propKey": "data", + "shape": "array", + "label": "$t:editor.data_prop.data", + "itemFields": [ + "id", + "name" + ], + "required": true + } + ] + }, + "Pagination": { + "label": "$t:editor.component.pagination", + "propControls": [ + "pgMaxVisible", + "pgShowFirstLast", + "pgPrevText", + "pgNextText" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onPageChange" + ], + "dataProps": [ + { + "propKey": "currentPage", + "shape": "scalar", + "label": "$t:editor.data_prop.current_page" + }, + { + "propKey": "totalPages", + "shape": "scalar", + "label": "$t:editor.data_prop.total_pages" + } + ] + }, + "SearchBar": { + "label": "$t:editor.component.search_bar", + "propControls": [ + "sbPlaceholder", + "sbShowButton", + "sbShowSuggestions", + "inputName" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onChange", + "onSubmit" + ], + "dataProps": [ + { + "propKey": "suggestions", + "shape": "array", + "label": "$t:editor.data_prop.suggestions", + "itemFields": [ + "id", + "text" + ] + }, + { + "propKey": "value", + "shape": "scalar", + "label": "$t:editor.data_prop.value" + } + ] + }, + "StatCard": { + "label": "$t:editor.component.stat_card", + "propControls": [ + "scValue", + "scLabel", + "scChange", + "scChangeLabel", + "scIconName", + "scTrend" + ], + "styleControls": [ + "width", + "paddingAll", + "marginAll" + ] + }, + "ProductCard": { + "label": "$t:editor.component.product_card", + "propControls": [ + "pcImageUrl", + "pcImageAlt", + "pcTitle", + "pcSubtitle", + "pcDesc", + "pcPrice", + "pcOrigPrice", + "pcDiscount", + "pcCurrency", + "pcButtonText" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "events": [ + "onButtonClick" + ] + }, + "TemplateCard": { + "label": "$t:editor.component.template_card", + "propControls": [ + "tcImage", + "tcImageAlt", + "tcVendor", + "tcName", + "tcVersion", + "tcStatus", + "tcUpdateAvail", + "tcLatestVersion", + "tcShowLayoutBtn" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "events": [ + "onLayoutEditClick" + ] + }, + "BarChart": { + "label": "$t:editor.component.bar_chart", + "propControls": [ + "bcHeight", + "bcShowLegend", + "bcShowGrid", + "bcShowYGrid", + "bcShowYAxis" + ], + "styleControls": [ + "marginAll", + "width" + ], + "nodeEditor": { + "kind": "array-group", + "params": { + "groups": [ + { + "arrayProp": "labels", + "title": "$t:editor.array_group.chart_labels", + "itemLabel": "$t:editor.array_item.chart_label", + "newItem": "", + "fields": [ + { + "key": "value", + "widget": "i18n-text", + "label": "$t:editor.array_field.chart_label", + "primary": true + } + ] + }, + { + "arrayProp": "datasets", + "title": "$t:editor.array_group.chart_datasets", + "itemLabel": "$t:editor.array_item.chart_dataset", + "newItem": { + "label": "", + "data": [], + "backgroundColor": "#7C3AED" + }, + "fields": [ + { + "key": "label", + "widget": "i18n-text", + "label": "$t:editor.array_field.chart_series", + "primary": true + }, + { + "key": "data", + "widget": "number-list", + "label": "$t:editor.array_field.chart_data" + }, + { + "key": "backgroundColor", + "widget": "color", + "label": "$t:editor.array_field.chart_color" + } + ] + } + ] + } + }, + "dataProps": [ + { + "propKey": "datasets", + "shape": "array", + "label": "$t:editor.data_prop.datasets", + "itemFields": [ + "label", + "data", + "backgroundColor" + ], + "required": true + } + ] + }, + "DonutChart": { + "label": "$t:editor.component.donut_chart", + "propControls": [ + "dcCenterLabel", + "dcCenterValue", + "dcSize", + "dcCutout", + "dcShowLegend" + ], + "styleControls": [ + "marginAll", + "width" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "data", + "itemLabel": "$t:editor.array_item.chart_slice", + "newItem": { + "name": "", + "value": 0, + "color": "#7C3AED" + }, + "fields": [ + { + "key": "name", + "widget": "i18n-text", + "label": "$t:editor.array_field.chart_name", + "primary": true + }, + { + "key": "value", + "widget": "number", + "label": "$t:editor.array_field.chart_value" + }, + { + "key": "color", + "widget": "color", + "label": "$t:editor.array_field.chart_color" + } + ] + } + }, + "dataProps": [ + { + "propKey": "data", + "shape": "array", + "label": "$t:editor.data_prop.chart_data", + "itemFields": [ + "name", + "value", + "color" + ], + "required": true + } + ] + }, + "HtmlContent": { + "label": "$t:editor.component.html_content", + "propControls": [ + "hcIsHtml" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "textColor", + "fontSize" + ] + }, + "HtmlEditor": { + "label": "$t:editor.component.html_editor", + "propControls": [ + "heMultilingual", + "heIsHtml", + "heRows", + "hePlaceholder", + "heLabel", + "heShowHtmlToggle", + "heName", + "heHtmlFieldName", + "heReadOnly" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onChange" + ] + }, + "ImageGallery": { + "label": "$t:editor.component.image_gallery", + "propControls": [ + "igEnableZoom", + "igEnableSlideshow", + "igEnableFullscreen", + "igShowCounter", + "igShowDownload", + "igShowThumbnails" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onClose" + ], + "coreProps": true, + "dataProps": [ + { + "propKey": "images", + "shape": "array", + "label": "$t:editor.data_prop.images", + "itemFields": [ + "src", + "title", + "thumbnail" + ], + "required": true + } + ] + }, + "Form": { + "label": "$t:editor.component.form", + "coreProps": [ + "id", + "dataKey" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "events": [ + "onSubmit" + ], + "nodeEditor": { + "kind": "children", + "params": { + "childComponent": "Input", + "childLabel": "$t:layout_editor.palette.input.label", + "childTemplate": { + "type": "basic", + "name": "Div", + "children": [ + { + "type": "basic", + "name": "Label", + "props": { + "className": "block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1" + }, + "children": [ + { + "type": "basic", + "name": "Span", + "text": "" + } + ] + }, + { + "type": "basic", + "name": "Input", + "props": { + "type": "text", + "placeholder": "$t:layout_editor.palette.input.default_placeholder", + "className": "input" + } + } + ] + }, + "itemFields": [ + { + "kind": "text", + "label": "$t:layout_editor.list_editor.item_label" + }, + { + "kind": "prop", + "prop": "placeholder", + "label": "$t:layout_editor.list_editor.item_placeholder" + } + ] + } + } + }, + "Table": { + "label": "$t:editor.component.table", + "styleControls": [ + "width", + "height", + "marginAll", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "advanced": [ + "permissions" + ], + "nodeEditor": { + "kind": "table", + "params": { + "rowContainer": "Tbody", + "row": "Tr", + "cell": "Td", + "headerCell": "Th", + "colSpanProp": "colSpan", + "rowSpanProp": "rowSpan", + "cellBorder": { + "sides": [ + { + "value": "all", + "label": "$t:editor.cell_border.side_all", + "prefix": "border" + }, + { + "value": "top", + "label": "$t:editor.cell_border.side_top", + "prefix": "border-t" + }, + { + "value": "bottom", + "label": "$t:editor.cell_border.side_bottom", + "prefix": "border-b" + }, + { + "value": "left", + "label": "$t:editor.cell_border.side_left", + "prefix": "border-l" + }, + { + "value": "right", + "label": "$t:editor.cell_border.side_right", + "prefix": "border-r" + } + ], + "widths": [ + { + "value": "none", + "label": "$t:editor.cell_border.width_none" + }, + { + "value": "thin", + "label": "$t:editor.cell_border.width_thin", + "suffix": "" + }, + { + "value": "medium", + "label": "$t:editor.cell_border.width_medium", + "suffix": "-2" + }, + { + "value": "thick", + "label": "$t:editor.cell_border.width_thick", + "suffix": "-4" + } + ], + "colors": [ + { + "value": "gray-300", + "label": "$t:editor.cell_border.color_gray", + "swatch": "#d1d5db", + "token": "{MASKED}" + }, + { + "value": "gray-500", + "label": "$t:editor.cell_border.color_gray_dark", + "swatch": "#6b7280", + "token": "{MASKED}" + }, + { + "value": "slate-800", + "label": "$t:editor.cell_border.color_dark", + "swatch": "#1e293b", + "token": "{MASKED}" + }, + { + "value": "blue-500", + "label": "$t:editor.cell_border.color_blue", + "swatch": "#3b82f6", + "token": "{MASKED}" + }, + { + "value": "red-500", + "label": "$t:editor.cell_border.color_red", + "swatch": "#ef4444", + "token": "{MASKED}" + } + ] + }, + "cellBackground": { + "colors": [ + { + "value": "white", + "label": "$t:editor.cell_fill.color_white", + "swatch": "#ffffff", + "token": "{MASKED}" + }, + { + "value": "gray-100", + "label": "$t:editor.cell_fill.color_gray", + "swatch": "#f3f4f6", + "token": "{MASKED}" + }, + { + "value": "gray-200", + "label": "$t:editor.cell_fill.color_gray_dark", + "swatch": "#e5e7eb", + "token": "{MASKED}" + }, + { + "value": "yellow-100", + "label": "$t:editor.cell_fill.color_yellow", + "swatch": "#fef9c3", + "token": "{MASKED}" + }, + { + "value": "blue-100", + "label": "$t:editor.cell_fill.color_blue", + "swatch": "#dbeafe", + "token": "{MASKED}" + }, + { + "value": "green-100", + "label": "$t:editor.cell_fill.color_green", + "swatch": "#dcfce7", + "token": "{MASKED}" + }, + { + "value": "red-100", + "label": "$t:editor.cell_fill.color_red", + "swatch": "#fee2e2", + "token": "{MASKED}" + } + ] + }, + "cellPadding": { + "steps": [ + { + "value": "none", + "label": "$t:editor.cell_padding.step_none" + }, + { + "value": "narrow", + "label": "$t:editor.cell_padding.step_narrow", + "px": 4 + }, + { + "value": "normal", + "label": "$t:editor.cell_padding.step_normal", + "px": 8 + }, + { + "value": "wide", + "label": "$t:editor.cell_padding.step_wide", + "px": 16 + } + ] + } + } + }, + "canvasOverlay": { + "kind": "table", + "params": { + "rowContainer": "Tbody", + "row": "Tr", + "cell": "Td", + "headerCell": "Th", + "colSpanProp": "colSpan", + "rowSpanProp": "rowSpan", + "cellBorder": { + "sides": [ + { + "value": "all", + "label": "$t:editor.cell_border.side_all", + "prefix": "border" + }, + { + "value": "top", + "label": "$t:editor.cell_border.side_top", + "prefix": "border-t" + }, + { + "value": "bottom", + "label": "$t:editor.cell_border.side_bottom", + "prefix": "border-b" + }, + { + "value": "left", + "label": "$t:editor.cell_border.side_left", + "prefix": "border-l" + }, + { + "value": "right", + "label": "$t:editor.cell_border.side_right", + "prefix": "border-r" + } + ], + "widths": [ + { + "value": "none", + "label": "$t:editor.cell_border.width_none" + }, + { + "value": "thin", + "label": "$t:editor.cell_border.width_thin", + "suffix": "" + }, + { + "value": "medium", + "label": "$t:editor.cell_border.width_medium", + "suffix": "-2" + }, + { + "value": "thick", + "label": "$t:editor.cell_border.width_thick", + "suffix": "-4" + } + ], + "colors": [ + { + "value": "gray-300", + "label": "$t:editor.cell_border.color_gray", + "swatch": "#d1d5db", + "token": "{MASKED}" + }, + { + "value": "gray-500", + "label": "$t:editor.cell_border.color_gray_dark", + "swatch": "#6b7280", + "token": "{MASKED}" + }, + { + "value": "slate-800", + "label": "$t:editor.cell_border.color_dark", + "swatch": "#1e293b", + "token": "{MASKED}" + }, + { + "value": "blue-500", + "label": "$t:editor.cell_border.color_blue", + "swatch": "#3b82f6", + "token": "{MASKED}" + }, + { + "value": "red-500", + "label": "$t:editor.cell_border.color_red", + "swatch": "#ef4444", + "token": "{MASKED}" + } + ] + }, + "cellBackground": { + "colors": [ + { + "value": "white", + "label": "$t:editor.cell_fill.color_white", + "swatch": "#ffffff", + "token": "{MASKED}" + }, + { + "value": "gray-100", + "label": "$t:editor.cell_fill.color_gray", + "swatch": "#f3f4f6", + "token": "{MASKED}" + }, + { + "value": "gray-200", + "label": "$t:editor.cell_fill.color_gray_dark", + "swatch": "#e5e7eb", + "token": "{MASKED}" + }, + { + "value": "yellow-100", + "label": "$t:editor.cell_fill.color_yellow", + "swatch": "#fef9c3", + "token": "{MASKED}" + }, + { + "value": "blue-100", + "label": "$t:editor.cell_fill.color_blue", + "swatch": "#dbeafe", + "token": "{MASKED}" + }, + { + "value": "green-100", + "label": "$t:editor.cell_fill.color_green", + "swatch": "#dcfce7", + "token": "{MASKED}" + }, + { + "value": "red-100", + "label": "$t:editor.cell_fill.color_red", + "swatch": "#fee2e2", + "token": "{MASKED}" + } + ] + }, + "cellPadding": { + "steps": [ + { + "value": "none", + "label": "$t:editor.cell_padding.step_none" + }, + { + "value": "narrow", + "label": "$t:editor.cell_padding.step_narrow", + "px": 4 + }, + { + "value": "normal", + "label": "$t:editor.cell_padding.step_normal", + "px": 8 + }, + { + "value": "wide", + "label": "$t:editor.cell_padding.step_wide", + "px": 16 + } + ] + } + } + } + }, + "Accordion": { + "label": "$t:editor.component.accordion", + "propControls": [ + "accDefaultOpen", + "accDisabled" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "events": [ + "onToggle" + ] + }, + "IconButton": { + "label": "$t:editor.component.icon_button", + "propControls": [ + "ibIconName", + "ibLabel", + "ibVariant", + "ibSize", + "ibDisabled" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onClick" + ] + }, + "Dropdown": { + "label": "$t:editor.component.dropdown", + "propControls": [ + "ddLabel", + "ddPosition", + "ddVariant" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onItemClick" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "items", + "itemLabel": "$t:editor.array_item.menu_item", + "newItem": { + "label": "", + "value": "" + }, + "fields": [ + { + "key": "label", + "widget": "i18n-text", + "label": "$t:editor.array_field.label", + "primary": true + }, + { + "key": "value", + "widget": "text", + "label": "$t:editor.array_field.value" + }, + { + "key": "disabled", + "widget": "boolean", + "label": "$t:editor.array_field.disabled" + } + ] + } + } + }, + "ActionMenu": { + "label": "$t:editor.component.action_menu", + "propControls": [ + "amTriggerLabel", + "amTriggerIcon", + "amPosition" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onItemClick" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "items", + "itemLabel": "$t:editor.array_item.menu_item", + "newItem": { + "id": "", + "label": "" + }, + "fields": [ + { + "key": "label", + "widget": "i18n-text", + "label": "$t:editor.array_field.label", + "primary": true + }, + { + "key": "id", + "widget": "text", + "label": "$t:editor.array_field.id" + }, + { + "key": "iconName", + "widget": "icon", + "label": "$t:editor.array_field.icon" + }, + { + "key": "variant", + "widget": "select", + "label": "$t:editor.array_field.variant", + "options": [ + { + "value": "default", + "label": "$t:editor.array_field.variant_default" + }, + { + "value": "danger", + "label": "$t:editor.array_field.variant_danger" + } + ] + }, + { + "key": "divider", + "widget": "boolean", + "label": "$t:editor.array_field.divider" + }, + { + "key": "disabled", + "widget": "boolean", + "label": "$t:editor.array_field.disabled" + } + ] + } + } + }, + "TagInput": { + "label": "$t:editor.component.tag_input", + "propControls": [ + "selectOptions", + "tiPlaceholder", + "tiCreatable", + "tiDisabled", + "tiIsMulti", + "tiClearable", + "tiSearchable", + "tiMaxItems", + "inputName" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "value", + "shape": "array", + "label": "$t:editor.data_prop.selected_tags", + "itemFields": [ + "value", + "label" + ] + }, + { + "propKey": "options", + "shape": "array", + "label": "$t:editor.data_prop.options", + "itemFields": [ + "value", + "label", + "group", + "count" + ] + } + ] + }, + "SearchableDropdown": { + "label": "$t:editor.component.searchable_dropdown", + "propControls": [ + "selectOptions", + "sdMultiple", + "sdSearchPlaceholder", + "sdDisabled", + "sdTriggerLabel", + "sdNoResults", + "sdInitial" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "value", + "shape": "scalar", + "label": "$t:editor.data_prop.value" + }, + { + "propKey": "options", + "shape": "array", + "label": "$t:editor.data_prop.options", + "itemFields": [ + "value", + "label", + "disabled", + "description" + ] + } + ] + }, + "RichSelect": { + "label": "$t:editor.component.rich_select", + "propControls": [ + "selectOptions", + "rsPlaceholder", + "rsDisabled", + "rsMaxHeight" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "value", + "shape": "scalar", + "label": "$t:editor.data_prop.value" + }, + { + "propKey": "options", + "shape": "array", + "label": "$t:editor.data_prop.options", + "itemFields": [ + "value", + "label", + "disabled" + ] + } + ] + }, + "TagSelect": { + "label": "$t:editor.component.tag_select", + "propControls": [ + "selectOptions", + "tsPlaceholder", + "tsDisabled" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "value", + "shape": "array", + "label": "$t:editor.data_prop.selected_tags", + "itemFields": [ + "value", + "label" + ] + }, + { + "propKey": "options", + "shape": "array", + "label": "$t:editor.data_prop.options", + "itemFields": [ + "value", + "label" + ] + } + ] + }, + "IconSelect": { + "label": "$t:editor.component.icon_select", + "propControls": [ + "isPlaceholder", + "isSearchPlaceholder", + "isNoResults", + "isDisabled", + "inputName" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "options", + "itemLabel": "$t:editor.array_item.option", + "newItem": { + "value": "", + "label": "", + "faIcon": "" + }, + "fields": [ + { + "key": "label", + "widget": "i18n-text", + "label": "$t:editor.array_field.label", + "primary": true + }, + { + "key": "value", + "widget": "text", + "label": "$t:editor.array_field.value" + }, + { + "key": "faIcon", + "widget": "icon", + "label": "$t:editor.array_field.icon" + } + ], + "defaultItems": [ + { + "value": "LayoutDashboard", + "label": "LayoutDashboard", + "faIcon": "tachometer-alt" + }, + { + "value": "Settings", + "label": "Settings", + "faIcon": "cog" + }, + { + "value": "Menu", + "label": "Menu", + "faIcon": "bars" + }, + { + "value": "Users", + "label": "Users", + "faIcon": "users" + }, + { + "value": "Package", + "label": "Package", + "faIcon": "cube" + }, + { + "value": "Puzzle", + "label": "Puzzle", + "faIcon": "puzzle-piece" + }, + { + "value": "FileText", + "label": "FileText", + "faIcon": "file-alt" + }, + { + "value": "ShoppingCart", + "label": "ShoppingCart", + "faIcon": "shopping-cart" + }, + { + "value": "MessageSquare", + "label": "MessageSquare", + "faIcon": "comment" + }, + { + "value": "Home", + "label": "Home", + "faIcon": "home" + }, + { + "value": "User", + "label": "User", + "faIcon": "user" + }, + { + "value": "Search", + "label": "Search", + "faIcon": "search" + }, + { + "value": "Bell", + "label": "Bell", + "faIcon": "bell" + }, + { + "value": "Mail", + "label": "Mail", + "faIcon": "envelope" + }, + { + "value": "Calendar", + "label": "Calendar", + "faIcon": "calendar" + }, + { + "value": "Chart", + "label": "Chart", + "faIcon": "chart-bar" + }, + { + "value": "Database", + "label": "Database", + "faIcon": "database" + }, + { + "value": "Lock", + "label": "Lock", + "faIcon": "lock" + }, + { + "value": "Globe", + "label": "Globe", + "faIcon": "globe" + }, + { + "value": "Image", + "label": "Image", + "faIcon": "image" + } + ] + } + } + }, + "ChipCheckbox": { + "label": "$t:editor.component.chip_checkbox", + "propControls": [ + "ccValue", + "ccIcon", + "ccLabel", + "ccVariant", + "ccCustomColor" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onChange" + ] + }, + "MultilingualInput": { + "label": "$t:editor.component.multilingual_input", + "propControls": [ + "miInputType", + "miLayout", + "miPlaceholder", + "miRequired", + "miDisabled", + "miMaxLength", + "miRows", + "inputName", + "fieldError" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "availableLocales", + "shape": "array", + "label": "$t:editor.data_prop.available_locales", + "itemFields": [ + "code", + "name", + "nativeName" + ] + } + ] + }, + "MultilingualTagInput": { + "label": "$t:editor.component.multilingual_tag_input", + "propControls": [ + "mtiPlaceholder", + "mtiDisabled", + "mtiCreatable", + "mtiMaxItems", + "mtiModalId", + "mtiStatePath", + "inputName", + "fieldError" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ] + }, + "LanguageSelector": { + "label": "$t:editor.component.language_selector", + "propControls": [ + "lsLanguageText", + "lsApiEndpoint", + "lsInline" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onLanguageChange" + ], + "dataProps": [ + { + "propKey": "availableLocales", + "shape": "array", + "label": "$t:editor.data_prop.available_locales" + } + ] + }, + "PermissionTree": { + "label": "$t:editor.component.permission_tree", + "styleControls": [ + "marginAll", + "paddingAll", + "width", + "borderStyle", + "borderColor", + "borderRadius" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "data", + "shape": "array", + "label": "$t:editor.data_prop.data", + "itemFields": [ + "id", + "identifier", + "name", + "children" + ] + }, + { + "propKey": "value", + "shape": "array", + "label": "$t:editor.data_prop.selected_permissions", + "itemFields": [ + "id", + "scope_type" + ] + } + ] + }, + "CategoryTree": { + "label": "$t:editor.component.category_tree", + "propControls": [ + "ctSearchKeyword", + "ctShowProductCount", + "ctSelectable" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onToggle", + "onSelectionChange" + ], + "dataProps": [ + { + "propKey": "data", + "shape": "array", + "label": "$t:editor.data_prop.tree_data", + "itemFields": [ + "id", + "name", + "children" + ] + } + ] + }, + "ExtensionBadge": { + "label": "$t:editor.component.extension_badge", + "propControls": [ + "ebType", + "ebIdentifier", + "ebName" + ], + "styleControls": [ + "marginAll" + ] + }, + "UserProfile": { + "label": "$t:editor.component.user_profile", + "propControls": [ + "upProfileText", + "upLogoutText", + "upLanguageText", + "upLogoutEndpoint", + "upRedirectPath", + "upShowChevron", + "upDropdownDir", + "upDropdownOnly" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onProfileClick", + "onLogoutClick" + ], + "dataProps": [ + { + "propKey": "user", + "shape": "object", + "label": "$t:editor.data_prop.user", + "itemFields": [ + "id", + "name", + "email", + "avatar" + ], + "required": true + } + ] + }, + "FilterGroup": { + "label": "$t:editor.component.filter_group", + "propControls": [ + "fgTitle", + "fgShowReset" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onChange", + "onReset" + ], + "dataProps": [ + { + "propKey": "filters", + "shape": "array", + "label": "$t:editor.data_prop.filters", + "itemFields": [ + "id", + "label", + "type", + "options" + ], + "required": true + } + ] + }, + "SortableMenuList": { + "label": "$t:editor.component.sortable_menu_list", + "propControls": [ + "smlSelectedId", + "smlTitle", + "smlEnableDrag", + "smlToggleDisabled" + ], + "styleControls": [ + "marginAll", + "width" + ], + "events": [ + "onSelect", + "onOrderChange" + ], + "dataProps": [ + { + "propKey": "items", + "shape": "array", + "label": "$t:editor.data_prop.menu_items", + "itemFields": [ + "id", + "name", + "children" + ], + "required": true + } + ] + }, + "DynamicFieldList": { + "label": "$t:editor.component.dynamic_field_list", + "propControls": [ + "dflMaxItems" + ], + "styleControls": [ + "marginAll", + "width" + ], + "events": [ + "onItemAdd", + "onItemRemove" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "columns", + "itemLabel": "$t:editor.array_item.column", + "newItem": { + "key": "", + "type": "input", + "label": "", + "placeholder": "" + }, + "fields": [ + { + "key": "label", + "widget": "i18n-text", + "label": "$t:editor.array_field.label", + "primary": true + }, + { + "key": "key", + "widget": "text", + "label": "$t:editor.array_field.field" + }, + { + "key": "type", + "widget": "select", + "label": "$t:editor.array_field.col_type", + "options": [ + { + "value": "input", + "label": "$t:editor.col_type.input" + }, + { + "value": "number", + "label": "$t:editor.col_type.number" + }, + { + "value": "select", + "label": "$t:editor.col_type.select" + }, + { + "value": "textarea", + "label": "$t:editor.col_type.textarea" + }, + { + "value": "multilingual", + "label": "$t:editor.col_type.multilingual" + } + ] + }, + { + "key": "placeholder", + "widget": "i18n-text", + "label": "$t:editor.array_field.placeholder" + } + ] + } + }, + "dataProps": [ + { + "propKey": "items", + "shape": "array", + "label": "$t:editor.data_prop.items", + "required": true + } + ] + }, + "Td": { + "label": "$t:editor.component.td", + "styleControls": [ + "fontBold", + "fontItalic", + "textUnderline", + "textAlign", + "fontSize", + "textColor" + ] + }, + "Th": { + "label": "$t:editor.component.th", + "styleControls": [ + "fontBold", + "fontItalic", + "textUnderline", + "textAlign", + "fontSize", + "textColor" + ] + }, + "AdminSidebar": { + "label": "$t:editor.component.admin_sidebar", + "propControls": [ + "asLogo", + "asLogoAlt", + "asCollapsed", + "asCurrentLocale" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "dataProps": [ + { + "propKey": "menu", + "shape": "array", + "label": "$t:editor.data_prop.admin_sidebar_menu", + "itemFields": [ + "id", + "name", + "slug", + "url", + "icon", + "children" + ], + "required": true + } + ] + }, + "AdminFooter": { + "label": "$t:editor.component.admin_footer", + "propControls": [ + "afCopyright", + "afVersion", + "afCopyrightModalId", + "afChangelogModalId" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "backgroundColor", + "textColor" + ], + "dataProps": [ + { + "propKey": "quickLinks", + "shape": "array", + "label": "$t:editor.data_prop.admin_footer_quick_links", + "itemFields": [ + "id", + "label", + "url", + "iconName" + ] + } + ] + }, + "ThemeToggle": { + "label": "$t:editor.component.theme_toggle", + "propControls": [ + "ttAutoText", + "ttLightText", + "ttDarkText" + ], + "styleControls": [ + "marginAll" + ] + }, + "NotificationCenter": { + "label": "$t:editor.component.notification_center", + "propControls": [ + "ncTitleText", + "ncEmptyText", + "ncMarkAllReadText", + "ncDeleteAllText", + "ncUnreadOnlyText", + "ncUnreadOnly", + "ncDropdownAlign" + ], + "styleControls": [ + "marginAll" + ], + "dataProps": [ + { + "propKey": "notifications", + "shape": "array", + "label": "$t:editor.data_prop.notification_items", + "itemFields": [ + "id", + "title", + "message", + "read", + "created_at" + ] + }, + { + "propKey": "unreadCount", + "shape": "scalar", + "label": "$t:editor.data_prop.notification_unread_count" + } + ] + }, + "ColumnSelector": { + "label": "$t:editor.component.column_selector", + "propControls": [ + "csTriggerLabel", + "csRequiredText", + "csMenuTitle", + "csMenuDescription", + "csPosition", + "csTriggerIconName" + ], + "styleControls": [ + "marginAll" + ], + "dataProps": [ + { + "propKey": "columns", + "shape": "array", + "label": "$t:editor.data_prop.column_items", + "itemFields": [ + "field", + "label", + "visible" + ] + } + ] + }, + "SectionHeader": { + "label": "$t:editor.component.section_header", + "propControls": [ + "shTitle", + "shDescription" + ], + "styleControls": [ + "marginAll", + "paddingAll" + ], + "coreProps": [ + "id" + ] + } + }, + "actionRecipes": { + "comment": "admin 은 callServerThen 강조(폼/테이블 저장). params + build 풀 프레임워크.", + "goToPage": { + "label": "$t:editor.action.go_to_page.label", + "params": [ + { + "key": "url", + "label": "$t:editor.action.go_to_page.param_url", + "widget": "page-picker" + } + ], + "build": { + "handler": "navigate", + "params": { + "path": "{{url}}" + } + } + }, + "showMessage": { + "label": "$t:editor.action.show_message.label", + "params": [ + { + "key": "text", + "label": "$t:editor.action.show_message.param_text", + "widget": "i18n-text" + }, + { + "key": "tone", + "label": "$t:editor.action.show_message.param_tone", + "widget": "select", + "options": [ + { + "value": "success", + "label": "$t:editor.action.show_message.tone_success" + }, + { + "value": "error", + "label": "$t:editor.action.show_message.tone_error" + }, + { + "value": "info", + "label": "$t:editor.action.show_message.tone_info" + } + ] + } + ], + "build": { + "handler": "toast", + "params": { + "message": "{{text}}", + "type": "{{tone}}" + } + } + }, + "changeState": { + "label": "$t:editor.action.change_state.label", + "params": [ + { + "key": "key", + "label": "$t:editor.action.change_state.param_key", + "widget": "state-key-picker" + }, + { + "key": "value", + "label": "$t:editor.action.change_state.param_value", + "widget": "text" + } + ], + "build": { + "handler": "setState", + "target": "local", + "params": { + "{{key}}": "{{value}}" + } + } + }, + "refreshData": { + "label": "$t:editor.action.refresh_data.label", + "params": [ + { + "key": "src", + "label": "$t:editor.action.refresh_data.param_src", + "widget": "datasource-picker" + } + ], + "build": { + "handler": "refetchDataSource", + "params": { + "dataSourceId": "{{src}}" + } + } + }, + "callServerThen": { + "label": "$t:editor.action.call_server_then.label", + "params": [ + { + "key": "endpoint", + "label": "$t:editor.action.call_server_then.param_endpoint", + "widget": "text" + }, + { + "key": "onSuccess", + "label": "$t:editor.action.call_server_then.param_on_success", + "widget": "action-list" + }, + { + "key": "onError", + "label": "$t:editor.action.call_server_then.param_on_error", + "widget": "action-list" + } + ], + "build": { + "handler": "apiCall", + "target": "{{endpoint}}", + "onSuccess": "{{onSuccess}}", + "onError": "{{onError}}" + } + }, + "setLocale": { + "label": "$t:editor.action.set_locale.label", + "params": [ + { + "key": "target", + "label": "$t:editor.action.set_locale.param_target", + "widget": "select", + "options": [ + { + "value": "ko", + "label": "$t:editor.action.set_locale.target_ko" + }, + { + "value": "en", + "label": "$t:editor.action.set_locale.target_en" + }, + { + "value": "ja", + "label": "$t:editor.action.set_locale.target_ja" + } + ] + } + ], + "build": { + "handler": "setLocale", + "params": { + "target": "{{target}}" + } + } + }, + "setTheme": { + "label": "$t:editor.action.set_theme.label", + "params": [ + { + "key": "target", + "label": "$t:editor.action.set_theme.param_target", + "widget": "select", + "options": [ + { + "value": "auto", + "label": "$t:editor.action.set_theme.target_auto" + }, + { + "value": "light", + "label": "$t:editor.action.set_theme.target_light" + }, + { + "value": "dark", + "label": "$t:editor.action.set_theme.target_dark" + } + ] + } + ], + "build": { + "handler": "setTheme", + "params": { + "target": "{{target}}" + } + } + }, + "scrollToSection": { + "label": "$t:editor.action.scroll_to_section.label", + "params": [ + { + "key": "sectionId", + "label": "$t:editor.action.scroll_to_section.param_section_id", + "widget": "text" + } + ], + "build": { + "handler": "scrollToSection", + "params": { + "sectionId": "{{sectionId}}" + } + } + }, + "setDateRange": { + "label": "$t:editor.action.set_date_range.label", + "params": [ + { + "key": "preset", + "label": "$t:editor.action.set_date_range.param_preset", + "widget": "select", + "options": [ + { + "value": "today", + "label": "$t:editor.action.set_date_range.preset_today" + }, + { + "value": "week", + "label": "$t:editor.action.set_date_range.preset_week" + }, + { + "value": "month", + "label": "$t:editor.action.set_date_range.preset_month" + }, + { + "value": "year", + "label": "$t:editor.action.set_date_range.preset_year" + } + ] + } + ], + "build": { + "handler": "setDateRange", + "params": { + "preset": "{{preset}}" + } + } + }, + "toggleFilterVisibility": { + "label": "$t:editor.action.toggle_filter_visibility.label", + "params": [ + { + "key": "filterKey", + "label": "$t:editor.action.toggle_filter_visibility.param_filter_key", + "widget": "text" + } + ], + "build": { + "handler": "toggleFilterVisibility", + "params": { + "filterKey": "{{filterKey}}" + } + } + }, + "saveMultilingualTag": { + "label": "$t:editor.action.save_multilingual_tag.label", + "params": [ + { + "key": "tag", + "label": "$t:editor.action.save_multilingual_tag.param_tag", + "widget": "i18n-text" + } + ], + "build": { + "handler": "saveMultilingualTag", + "params": { + "tag": "{{tag}}" + } + } + }, + "initTheme": { + "label": "$t:editor.action.init_theme.label", + "params": [ + { + "key": "target", + "label": "$t:editor.action.init_theme.param_target", + "widget": "select", + "options": [ + { + "value": "auto", + "label": "$t:editor.action.init_theme.target_auto" + }, + { + "value": "light", + "label": "$t:editor.action.init_theme.target_light" + }, + { + "value": "dark", + "label": "$t:editor.action.init_theme.target_dark" + } + ] + } + ], + "build": { + "handler": "initTheme", + "params": { + "target": "{{target}}" + } + } + }, + "initMenuFromUrl": { + "label": "$t:editor.action.init_menu_from_url.label", + "params": [], + "build": { + "handler": "initMenuFromUrl" + } + }, + "initFilterVisibility": { + "label": "$t:editor.action.init_filter_visibility.label", + "params": [], + "build": { + "handler": "initFilterVisibility" + } + } + }, + "computedRecipes": { + "comment": "admin_basic 소유 자동 계산 친화 보기 프리셋 (R-P1~R-P4). expr 은 {{}} 없이 {paramKey} 플레이스홀더만.", + "filter_default": { + "label": "$t:editor.computed.filter_default.label", + "group": "common", + "params": [ + { + "key": "localPath", + "label": "$t:editor.computed.filter_default.param_local_path", + "widget": "text", + "required": true + }, + { + "key": "queryKey", + "label": "$t:editor.computed.filter_default.param_query_key", + "widget": "text", + "required": true + }, + { + "key": "fallback", + "label": "$t:editor.computed.filter_default.param_fallback", + "widget": "text" + } + ], + "expr": "_local.{localPath} ?? query.{queryKey} ?? '{fallback}'" + }, + "readonly_by_ability": { + "label": "$t:editor.computed.readonly_by_ability.label", + "group": "common", + "params": [ + { + "key": "source", + "label": "$t:editor.computed.readonly_by_ability.param_source", + "widget": "datasource-picker", + "required": true + }, + { + "key": "abilityKey", + "label": "$t:editor.computed.readonly_by_ability.param_ability_key", + "widget": "text", + "required": true + }, + { + "key": "requireRouteId", + "label": "$t:editor.computed.readonly_by_ability.param_require_route_id", + "widget": "toggle" + } + ], + "expr": "{source}?.data?.abilities?.{abilityKey} !== true" + }, + "options_from_api": { + "label": "$t:editor.computed.options_from_api.label", + "group": "common", + "params": [ + { + "key": "source", + "label": "$t:editor.computed.options_from_api.param_source", + "widget": "binding-picker", + "required": true + }, + { + "key": "filter", + "label": "$t:editor.computed.options_from_api.param_filter", + "widget": "condition" + }, + { + "key": "valueField", + "label": "$t:editor.computed.options_from_api.param_value_field", + "widget": "text", + "required": true + }, + { + "key": "labelField", + "label": "$t:editor.computed.options_from_api.param_label_field", + "widget": "text", + "required": true + } + ], + "expr": "({source} ?? []).filter({filter}).map(x => ({ value: x.{valueField}, label: x.{labelField} }))" + }, + "constant": { + "label": "$t:editor.computed.constant.label", + "group": "common", + "params": [ + { + "key": "valueKind", + "label": "$t:editor.computed.constant.param_value_kind", + "widget": "select", + "options": [ + { + "value": "string", + "label": "$t:editor.computed.constant.value_kind_string" + }, + { + "value": "number", + "label": "$t:editor.computed.constant.value_kind_number" + }, + { + "value": "boolean", + "label": "$t:editor.computed.constant.value_kind_boolean" + } + ] + }, + { + "key": "value", + "label": "$t:editor.computed.constant.param_value", + "widget": "text" + } + ], + "expr": "'{value}'" + } + }, + "errorRecipes": { + "comment": "-3 — 페이지 설정 [에러 처리] 탭. 403/404/500 등 오류 상황 친화 동작. 키 = 핸들러명(ErrorHandlingForm 이 r.id === handler 로 매칭). build/params 는 코어 시드(coreActionRecipes errorRecipes)와 정합 — setState 는 동적 키 단일이 아닌 state-key-value 스프레드(여러 상태 키·빈 값 입력 보존), openModal 은 top-level target(엔진 dispatch 가 읽는 위치), showErrorPage 는 표시 위치(content/full).", + "showErrorPage": { + "label": "$t:editor.error.show_error_page.label", + "params": [ + { + "key": "target", + "label": "$t:editor.error.show_error_page.param_target", + "widget": "select", + "options": [ + { + "value": "content" + }, + { + "value": "full" + } + ] + } + ], + "build": { + "handler": "showErrorPage", + "params": { + "target": "{{target}}" + } + } + }, + "navigate": { + "label": "$t:editor.error.navigate.label", + "params": [ + { + "key": "path", + "label": "$t:editor.error.navigate.param_path", + "widget": "page-picker" + } + ], + "build": { + "handler": "navigate", + "params": { + "path": "{{path}}" + } + } + }, + "toast": { + "label": "$t:editor.error.toast.label", + "params": [ + { + "key": "message", + "label": "$t:editor.error.toast.param_text", + "widget": "i18n-text" + } + ], + "build": { + "handler": "toast", + "params": { + "message": "{{message}}" + } + } + }, + "openModal": { + "label": "$t:editor.error.open_modal.label", + "params": [ + { + "key": "target", + "label": "$t:editor.error.open_modal.param_modal_id", + "widget": "modal-picker" + } + ], + "build": { + "handler": "openModal", + "target": "{{target}}" + } + }, + "setState": { + "label": "$t:editor.error.set_state.label", + "params": [ + { + "key": "target", + "label": "$t:editor.error.set_state.param_target", + "widget": "select", + "options": [ + { + "value": "local" + }, + { + "value": "global" + } + ] + }, + { + "key": "state", + "label": "$t:editor.error.set_state.param_state", + "widget": "state-key-value" + }, + { + "key": "merge", + "label": "$t:editor.error.set_state.param_merge", + "widget": "toggle" + } + ], + "build": { + "handler": "setState", + "params": { + "target": "{{target}}", + "merge": "{{merge}}", + "...": "{{state}}" + } + } + }, + "sequence": { + "label": "$t:editor.error.sequence.label", + "params": [ + { + "key": "actions", + "label": "$t:editor.error.sequence.param_actions", + "widget": "action-list" + } + ], + "build": { + "handler": "sequence", + "params": { + "actions": "{{actions}}" + } + } + }, + "parallel": { + "label": "$t:editor.error.parallel.label", + "params": [ + { + "key": "actions", + "label": "$t:editor.error.parallel.param_actions", + "widget": "action-list" + } + ], + "build": { + "handler": "parallel", + "params": { + "actions": "{{actions}}" + } + } + } + }, + "loadingComponents": { + "comment": "-4 — [로딩 화면] 탭 로딩 표시 컴포넌트 후보. components.json 에 실제 등록된 로딩 역할 컴포넌트만 (LoadingSpinner=spinner, PageLoading=page). skeleton 역할 전용 컴포넌트는 미등록.", + "loadingSpinner": { + "name": "LoadingSpinner", + "role": "spinner", + "label": "$t:editor.loading.loading_spinner" + }, + "pageLoading": { + "name": "PageLoading", + "role": "page", + "label": "$t:editor.loading.page_loading" + } + }, + "conditionRecipes": { + "comment": "admin 권한/능력(H)·폼 검증(G)·로딩/저장 상태 보강. expr 본문(중괄호 없음).", + "operators": [ + { + "value": "isAdmin", + "label": "$t:editor.condition.is_admin", + "expr": "_global?.currentUser?.is_admin === true" + }, + { + "value": "isLoggedIn", + "label": "$t:editor.condition.is_logged_in", + "expr": "_global?.currentUser?.uuid" + }, + { + "value": "isSaving", + "label": "$t:editor.condition.is_saving", + "expr": "_local?.isSaving" + }, + { + "value": "notSaving", + "label": "$t:editor.condition.not_saving", + "expr": "!_local?.isSaving" + }, + { + "value": "hasChanges", + "label": "$t:editor.condition.has_changes", + "expr": "_local?.hasChanges" + }, + { + "value": "hasErrors", + "label": "$t:editor.condition.has_errors", + "expr": "!!_local?.errors" + }, + { + "value": "noErrors", + "label": "$t:editor.condition.no_errors", + "expr": "!_local?.errors" + }, + { + "value": "dsHasData", + "label": "$t:editor.condition.ds_has_data", + "params": [ + { + "key": "src", + "label": "$t:editor.condition.param_src", + "widget": "datasource-picker" + } + ], + "expr": "({src}?.data?.length ?? 0) > 0" + }, + { + "value": "dsEmpty", + "label": "$t:editor.condition.ds_empty", + "params": [ + { + "key": "src", + "label": "$t:editor.condition.param_src", + "widget": "datasource-picker" + } + ], + "expr": "({src}?.data?.length ?? 0) === 0" + }, + { + "value": "dsLoading", + "label": "$t:editor.condition.ds_loading", + "params": [ + { + "key": "src", + "label": "$t:editor.condition.param_src", + "widget": "datasource-picker" + } + ], + "expr": "{src}?.loading" + }, + { + "value": "fieldEquals", + "label": "$t:editor.condition.field_equals", + "params": [ + { + "key": "field", + "label": "$t:editor.condition.param_field", + "widget": "text" + }, + { + "key": "value", + "label": "$t:editor.condition.param_value", + "widget": "text" + } + ], + "expr": "{field} === '{value}'", + "aliases": [ + "({field} ?? '{default}') === '{value}'", + "({field} ?? {default}) === '{value}'" + ] + }, + { + "value": "fieldNotEquals", + "label": "$t:editor.condition.field_not_equals", + "params": [ + { + "key": "field", + "label": "$t:editor.condition.param_field", + "widget": "text" + }, + { + "key": "value", + "label": "$t:editor.condition.param_value", + "widget": "text" + } + ], + "expr": "{field} !== '{value}'", + "aliases": [ + "({field} ?? '{default}') !== '{value}'", + "({field} ?? {default}) !== '{value}'" + ] + }, + { + "value": "stateEquals", + "label": "$t:editor.condition.state_equals", + "params": [ + { + "key": "key", + "label": "$t:editor.condition.param_state_key", + "widget": "state-key-picker" + }, + { + "key": "value", + "label": "$t:editor.condition.param_value", + "widget": "text" + } + ], + "expr": "{key} === '{value}'" + }, + { + "value": "isEditMode", + "label": "$t:editor.condition.is_edit_mode", + "expr": "!!route?.id" + }, + { + "value": "isCreateMode", + "label": "$t:editor.condition.is_create_mode", + "expr": "!route?.id" + }, + { + "value": "fieldHasError", + "label": "$t:editor.condition.field_has_error", + "params": [ + { + "key": "field", + "label": "$t:editor.condition.param_field", + "widget": "text" + } + ], + "expr": "!!_local?.errors?.['{field}']" + }, + { + "value": "hasAbility", + "label": "$t:editor.condition.has_ability", + "params": [ + { + "key": "scope", + "label": "$t:editor.condition.param_scope", + "widget": "text" + }, + { + "key": "ability", + "label": "$t:editor.condition.param_ability", + "widget": "text" + } + ], + "expr": "{scope}?.abilities?.{ability} !== false" + }, + { + "value": "valueTruthy", + "label": "$t:editor.condition.value_truthy", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path}", + "aliases": [ + "{path} ?? false", + "{path} ?? true" + ] + }, + { + "value": "valueFalsy", + "label": "$t:editor.condition.value_falsy", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "!{path}" + }, + { + "value": "listNonEmpty", + "label": "$t:editor.condition.list_non_empty", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "({path} ?? []).length > 0", + "aliases": [ + "{path} && {path}.length > 0", + "{path}?.length > 0", + "({path}?.length ?? 0) > 0" + ] + }, + { + "value": "listEmpty", + "label": "$t:editor.condition.list_empty", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "({path} ?? []).length === 0", + "aliases": [ + "!{path} || {path}.length === 0", + "{path}?.length === 0", + "({path}?.length ?? 0) === 0", + "!({path} ?? []).length", + "!{path}.length", + "!{path}?.length" + ] + }, + { + "value": "numGte", + "label": "$t:editor.condition.num_gte", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + }, + { + "key": "n", + "label": "$t:editor.condition.param_number", + "widget": "text" + } + ], + "expr": "{path} >= {n}", + "aliases": [ + "({path} ?? 0) >= {n}" + ] + }, + { + "value": "numLte", + "label": "$t:editor.condition.num_lte", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + }, + { + "key": "n", + "label": "$t:editor.condition.param_number", + "widget": "text" + } + ], + "expr": "{path} <= {n}", + "aliases": [ + "({path} ?? 0) <= {n}" + ] + }, + { + "value": "numGt", + "label": "$t:editor.condition.num_gt", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + }, + { + "key": "n", + "label": "$t:editor.condition.param_number", + "widget": "text" + } + ], + "expr": "{path} > {n}", + "aliases": [ + "({path} ?? 0) > {n}", + "({path} ?? []).length > {n}" + ] + }, + { + "value": "numLt", + "label": "$t:editor.condition.num_lt", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + }, + { + "key": "n", + "label": "$t:editor.condition.param_number", + "widget": "text" + } + ], + "expr": "{path} < {n}", + "aliases": [ + "({path} ?? 0) < {n}" + ] + }, + { + "value": "valueIsTrue", + "label": "$t:editor.condition.value_is_true", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path} === true" + }, + { + "value": "valueIsFalse", + "label": "$t:editor.condition.value_is_false", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path} === false" + }, + { + "value": "valueNotFalse", + "label": "$t:editor.condition.value_not_false", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path} !== false" + }, + { + "value": "valueNotTrue", + "label": "$t:editor.condition.value_not_true", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path} !== true" + }, + { + "value": "valueDefined", + "label": "$t:editor.condition.value_defined", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path} !== undefined" + }, + { + "value": "valueUndefined", + "label": "$t:editor.condition.value_undefined", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path} === undefined" + }, + { + "value": "valueNotNull", + "label": "$t:editor.condition.value_not_null", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path} !== null", + "aliases": [ + "{path} != null" + ] + }, + { + "value": "valueIsNull", + "label": "$t:editor.condition.value_is_null", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path} === null", + "aliases": [ + "{path} == null" + ] + }, + { + "value": "fieldMatches", + "label": "$t:editor.condition.field_matches", + "params": [ + { + "key": "a", + "label": "$t:editor.condition.param_field_a", + "widget": "state-key-picker" + }, + { + "key": "b", + "label": "$t:editor.condition.param_field_b", + "widget": "state-key-picker" + } + ], + "expr": "{a} === {b}", + "aliases": [ + "{a} === ({b} ?? '{default}')", + "({a} ?? 0) === {b}" + ] + }, + { + "value": "fieldDiffers", + "label": "$t:editor.condition.field_differs", + "params": [ + { + "key": "a", + "label": "$t:editor.condition.param_field_a", + "widget": "state-key-picker" + }, + { + "key": "b", + "label": "$t:editor.condition.param_field_b", + "widget": "state-key-picker" + } + ], + "expr": "{a} !== {b}", + "aliases": [ + "{a} != {b}", + "{a} !== ({b} ?? '{default}')" + ] + } + ] + }, + "sampleGlobal": { + "comment": "admin 베이스 레이아웃이 의존하는 _global.* baseline. 관리자 분기용 currentUser.is_admin: true + 권한. `$`-prefixed 키($locale/$locales)는 PreviewCanvas 가 렌더 컨텍스트 최상위로 끌어올리는 엔진 전역 샘플(런타임 createGlobalVariables 와 동일 위치) — 로그인 화면 등 로케일 선택 드롭다운(`{{$locales}}`) 미리보기용.", + "$locale": "ko", + "$locales": [ + "ko", + "en" + ], + "currentUser": { + "uuid": "sample-uuid-admin", + "id": 1, + "name": "샘플 관리자", + "nickname": "샘플 관리자", + "email": "admin@example.com", + "avatar": null, + "avatar_url": null, + "is_admin": true, + "roles": [ + "super_admin" + ], + "permissions": [ + "core.*" + ] + }, + "settings": { + "general": { + "site_name": "샘플 사이트", + "site_description": "편집 모드 미리보기 — 실제 사이트 설정은 운영 환경에서 적용됩니다.", + "site_logo_url": null + }, + "site_name": "샘플 사이트" + }, + "site": { + "name": "샘플 사이트" + } + }, + "sampleData": { + "comment": "admin 자체 + 코어 SSoT 도메인. locales/admin_menus/me/installed_modules/active_plugins/users 등. 실제 데이터소스 ID 는 착수 시점 admin 레이아웃 data_sources 로 재검증 — 본 블록은 코어 SSoT/공통 폴백.", + "byDataSourceId": { + "locales": { + "data": [ + { + "code": "ko", + "name": "한국어", + "native": "한국어", + "active": true, + "default": true + }, + { + "code": "en", + "name": "English", + "native": "English", + "active": true, + "default": false + }, + { + "code": "ja", + "name": "일본어", + "native": "日本語", + "active": true, + "default": false + } + ] + }, + "me": { + "data": { + "id": 1, + "uuid": "sample-uuid-admin", + "name": "샘플 관리자", + "email": "admin@example.com", + "profile_image": null, + "roles": [ + "super_admin" + ], + "permissions": [ + "core.*" + ], + "last_login_at": "2026-05-29T09:00:00+09:00" + } + }, + "installed_modules": { + "data": [ + { + "identifier": "sirsoft-ecommerce", + "name": "이커머스", + "version": "1.0.0", + "status": "active", + "enabled": true, + "description": "쇼핑몰 모듈" + }, + { + "identifier": "sirsoft-board", + "name": "게시판", + "version": "1.0.0", + "status": "active", + "enabled": true, + "description": "게시판 모듈" + }, + { + "identifier": "sirsoft-page", + "name": "페이지", + "version": "1.0.0", + "status": "active", + "enabled": true, + "description": "정적 페이지 모듈" + } + ] + }, + "active_plugins": { + "data": [ + { + "identifier": "sirsoft-payment", + "name": "결제", + "version": "1.0.0", + "status": "active", + "enabled": true, + "description": "결제 플러그인" + } + ] + }, + "users": { + "data": { + "data": [ + { + "number": 355, + "uuid": "00000000-0000-4000-8000-000000000003", + "name": "연윤미", + "nickname": null, + "email": "mijung32@example.net", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 362, + "identifier": "playwright_test_6a1a6f5400fff", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:02:11", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 354, + "uuid": "00000000-0000-4000-8000-000000000004", + "name": "임영길", + "nickname": null, + "email": "youngsoo58@example.com", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 361, + "identifier": "playwright_test_6a1a6f53f1137", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:02:11", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 353, + "uuid": "00000000-0000-4000-8000-000000000005", + "name": "함재호", + "nickname": null, + "email": "youngwhan.choi@example.org", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 359, + "identifier": "playwright_test_6a1a6f53f0fb7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:02:11", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 352, + "uuid": "00000000-0000-4000-8000-000000000006", + "name": "홍경춘", + "nickname": null, + "email": "sungjin59@example.com", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 360, + "identifier": "playwright_test_6a1a6f53f10d4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:02:11", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 351, + "uuid": "00000000-0000-4000-8000-000000000007", + "name": "정수연", + "nickname": null, + "email": "xgwon@example.org", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 358, + "identifier": "playwright_test_6a1a6f53eb332", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:02:11", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 350, + "uuid": "00000000-0000-4000-8000-000000000008", + "name": "탁홍선", + "nickname": null, + "email": "jaehun.bae@example.org", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 356, + "identifier": "playwright_test_6a1a6f02268a7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:00:49", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 349, + "uuid": "00000000-0000-4000-8000-000000000009", + "name": "표승현", + "nickname": null, + "email": "han.jina@example.net", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 355, + "identifier": "playwright_test_6a1a6f022390b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:00:49", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 348, + "uuid": "00000000-0000-4000-8000-000000000010", + "name": "구도연", + "nickname": null, + "email": "jihye06@example.org", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 354, + "identifier": "playwright_test_6a1a6f021f633", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:00:49", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 347, + "uuid": "00000000-0000-4000-8000-000000000011", + "name": "옥지혜", + "nickname": null, + "email": "cho.suran@example.org", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 353, + "identifier": "playwright_test_6a1a6f021f628", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:00:49", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 346, + "uuid": "00000000-0000-4000-8000-000000000012", + "name": "방윤미", + "nickname": null, + "email": "jungsoo04@example.org", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 357, + "identifier": "playwright_test_6a1a6f022f471", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:00:49", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 345, + "uuid": "00000000-0000-4000-8000-000000000013", + "name": "신예준", + "nickname": null, + "email": "sangjun71@example.com", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 352, + "identifier": "playwright_test_6a1a6e97a20cf", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 13:59:03", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 344, + "uuid": "00000000-0000-4000-8000-000000000014", + "name": "황수정", + "nickname": null, + "email": "rseo@example.net", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 351, + "identifier": "playwright_test_6a1a6e97a1e6b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 13:59:03", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 343, + "uuid": "00000000-0000-4000-8000-000000000015", + "name": "국상준", + "nickname": null, + "email": "chang.yeojin@example.net", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 350, + "identifier": "playwright_test_6a1a6e979de31", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 13:59:03", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 342, + "uuid": "00000000-0000-4000-8000-000000000016", + "name": "권형철", + "nickname": null, + "email": "hwang.miyoung@example.com", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 349, + "identifier": "playwright_test_6a1a6e979de4f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 13:59:03", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 341, + "uuid": "00000000-0000-4000-8000-000000000017", + "name": "노동현", + "nickname": null, + "email": "seo.banhee@example.net", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 348, + "identifier": "playwright_test_6a1a6e979dde1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 13:59:03", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + } + ], + "statistics": { + "total_users": 355, + "users_this_week": 354, + "users_this_month": 355, + "users_today": 0, + "active_users_this_week": 1 + }, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + }, + "pagination": { + "current_page": 1, + "last_page": 24, + "per_page": 15, + "total": 355, + "from": 1, + "to": 15, + "has_more_pages": true + } + } + }, + "roles": { + "data": { + "data": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자", + "name_raw": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "description": "시스템의 모든 기능에 접근할 수 있는 최고 관리자입니다.", + "description_raw": { + "ko": "시스템의 모든 기능에 접근할 수 있는 최고 관리자입니다.", + "en": "Super administrator with access to all system features.", + "ja": "システムのすべての機能にアクセスできる最高管理者です。" + }, + "extension_type": "core", + "extension_identifier": "core", + "extension_name": null, + "is_deletable": false, + "is_active": true, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 2, + "identifier": "manager", + "name": "매니저", + "name_raw": { + "ko": "매니저", + "en": "Manager", + "ja": "マネージャー" + }, + "description": "콘텐츠 및 사용자 관리 권한을 가진 관리자입니다.", + "description_raw": { + "ko": "콘텐츠 및 사용자 관리 권한을 가진 관리자입니다.", + "en": "Manager with content and user management permissions.", + "ja": "コンテンツおよびユーザー管理権限を持つ管理者です。" + }, + "extension_type": "core", + "extension_identifier": "core", + "extension_name": null, + "is_deletable": false, + "is_active": true, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 3, + "identifier": "user", + "name": "일반 사용자", + "name_raw": { + "ko": "일반 사용자", + "en": "User", + "ja": "一般ユーザー" + }, + "description": "기본 사용자 역할입니다.", + "description_raw": { + "ko": "기본 사용자 역할입니다.", + "en": "Default user role.", + "ja": "基本的なユーザーロールです。" + }, + "extension_type": "core", + "extension_identifier": "core", + "extension_name": null, + "is_deletable": false, + "is_active": true, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 4, + "identifier": "guest", + "name": "비회원", + "name_raw": { + "ko": "비회원", + "en": "Guest", + "ja": "非会員" + }, + "description": "인증되지 않은 사용자 역할입니다. 관리자가 권한을 부여할 수 있습니다.", + "description_raw": { + "ko": "인증되지 않은 사용자 역할입니다. 관리자가 권한을 부여할 수 있습니다.", + "en": "Unauthenticated user role. Permissions can be granted by administrators.", + "ja": "認証されていないユーザーロールです。管理者が権限を付与することができます。" + }, + "extension_type": "core", + "extension_identifier": "core", + "extension_name": null, + "is_deletable": false, + "is_active": true, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 5, + "identifier": "sirsoft-ecommerce.manager", + "name": "이커머스 관리자", + "name_raw": { + "ko": "이커머스 관리자", + "en": "Ecommerce Manager", + "ja": "eコマース管理者" + }, + "description": "이커머스 관리 권한을 가진 역할", + "description_raw": { + "ko": "이커머스 관리 권한을 가진 역할", + "en": "Role with ecommerce management permissions", + "ja": "eコマース管理権限を持つロール" + }, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "extension_name": "이커머스", + "is_deletable": false, + "is_active": true, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 6, + "identifier": "sirsoft-gdpr.privacy", + "name": "개인정보 운영자", + "name_raw": { + "ko": "개인정보 운영자", + "en": "Privacy Operator", + "ja": "個人情報管理者" + }, + "description": "GDPR 도메인 운영 권한 (설정·동의 이력 조회)", + "description_raw": { + "ko": "GDPR 도메인 운영 권한 (설정·동의 이력 조회)", + "en": "Operational authority over GDPR domain (settings, consent log)", + "ja": "GDPRドメイン運営権限(設定・同意履歴閲覧)" + }, + "extension_type": "plugin", + "extension_identifier": "sirsoft-gdpr", + "extension_name": "GDPR (일반 데이터 보호 규정)", + "is_deletable": false, + "is_active": true, + "created_at": "2026-05-23 22:43:42", + "updated_at": "2026-05-23 22:44:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 7, + "identifier": "sirsoft-board.notice.manager", + "name": "공지사항 게시판 관리자", + "name_raw": { + "ko": "공지사항 게시판 관리자", + "en": "Notice Board Manager" + }, + "description": "공지사항 게시판의 관리자 역할", + "description_raw": { + "ko": "공지사항 게시판의 관리자 역할", + "en": "Manager role for notice board" + }, + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "extension_name": "게시판", + "is_deletable": false, + "is_active": true, + "created_at": "2026-05-26 11:41:23", + "updated_at": "2026-05-26 11:41:23", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 8, + "identifier": "sirsoft-board.notice.step", + "name": "공지사항 게시판 스텝", + "name_raw": { + "ko": "공지사항 게시판 스텝", + "en": "Notice Board Step" + }, + "description": "공지사항 게시판의 스텝 역할", + "description_raw": { + "ko": "공지사항 게시판의 스텝 역할", + "en": "Step role for notice board" + }, + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "extension_name": "게시판", + "is_deletable": false, + "is_active": true, + "created_at": "2026-05-26 11:41:23", + "updated_at": "2026-05-26 11:41:23", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 9, + "identifier": "playwright_test_6a17dc96c7eb0", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:11:34", + "updated_at": "2026-05-28 15:11:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 10, + "identifier": "playwright_test_6a17dc96c7ec1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:11:34", + "updated_at": "2026-05-28 15:11:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 11, + "identifier": "playwright_test_6a17dc96c7edf", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:11:34", + "updated_at": "2026-05-28 15:11:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 12, + "identifier": "playwright_test_6a17dc96c8081", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:11:34", + "updated_at": "2026-05-28 15:11:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 13, + "identifier": "playwright_test_6a17dcc5ddad1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:12:21", + "updated_at": "2026-05-28 15:12:21", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 14, + "identifier": "playwright_test_6a17dcc5ddbd5", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:12:21", + "updated_at": "2026-05-28 15:12:21", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 15, + "identifier": "playwright_test_6a17dcc5e1b71", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:12:21", + "updated_at": "2026-05-28 15:12:21", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 16, + "identifier": "playwright_test_6a17dd2194edd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:13:53", + "updated_at": "2026-05-28 15:13:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 17, + "identifier": "playwright_test_6a17dd2194ee7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:13:53", + "updated_at": "2026-05-28 15:13:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 18, + "identifier": "playwright_test_6a17dd21985b9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:13:53", + "updated_at": "2026-05-28 15:13:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 19, + "identifier": "playwright_test_6a17dd21a9384", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:13:53", + "updated_at": "2026-05-28 15:13:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 20, + "identifier": "playwright_test_6a17dd7fafe12", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:15:27", + "updated_at": "2026-05-28 15:15:27", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 21, + "identifier": "playwright_test_6a17dd7fafe1c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:15:27", + "updated_at": "2026-05-28 15:15:27", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 22, + "identifier": "playwright_test_6a17dd7fafe0c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:15:27", + "updated_at": "2026-05-28 15:15:27", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 23, + "identifier": "playwright_test_6a17dd7fb32a7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:15:27", + "updated_at": "2026-05-28 15:15:27", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 24, + "identifier": "playwright_test_6a17dde5d21ad", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:17:09", + "updated_at": "2026-05-28 15:17:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 25, + "identifier": "playwright_test_6a17dde5d3abf", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:17:09", + "updated_at": "2026-05-28 15:17:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 26, + "identifier": "playwright_test_6a17dde5d5f60", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:17:09", + "updated_at": "2026-05-28 15:17:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 27, + "identifier": "playwright_test_6a17dde5dadda", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:17:09", + "updated_at": "2026-05-28 15:17:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 28, + "identifier": "playwright_test_6a17de242d897", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:18:12", + "updated_at": "2026-05-28 15:18:12", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 29, + "identifier": "playwright_test_6a17de2432df0", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:18:12", + "updated_at": "2026-05-28 15:18:12", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 30, + "identifier": "playwright_test_6a17de2432e95", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:18:12", + "updated_at": "2026-05-28 15:18:12", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 31, + "identifier": "playwright_test_6a17de24330d3", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:18:12", + "updated_at": "2026-05-28 15:18:12", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 32, + "identifier": "playwright_test_6a17e706bba23", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:56:06", + "updated_at": "2026-05-28 15:56:06", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 33, + "identifier": "playwright_test_6a17e706c111f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:56:06", + "updated_at": "2026-05-28 15:56:06", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 34, + "identifier": "playwright_test_6a17e706c3b29", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:56:06", + "updated_at": "2026-05-28 15:56:06", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 35, + "identifier": "playwright_test_6a17e706c548d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:56:06", + "updated_at": "2026-05-28 15:56:06", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 36, + "identifier": "playwright_test_6a17e7d64c039", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:59:34", + "updated_at": "2026-05-28 15:59:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 37, + "identifier": "playwright_test_6a17e7d65221c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:59:34", + "updated_at": "2026-05-28 15:59:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 38, + "identifier": "playwright_test_6a17e7d6566ee", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:59:34", + "updated_at": "2026-05-28 15:59:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 39, + "identifier": "playwright_test_6a17e7d65e293", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:59:34", + "updated_at": "2026-05-28 15:59:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 40, + "identifier": "playwright_test_6a17e81dde098", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:00:45", + "updated_at": "2026-05-28 16:00:45", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 41, + "identifier": "playwright_test_6a17e81dde1c6", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:00:45", + "updated_at": "2026-05-28 16:00:45", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 42, + "identifier": "playwright_test_6a17e81ddfb8a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:00:45", + "updated_at": "2026-05-28 16:00:45", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 43, + "identifier": "playwright_test_6a17e9164da2f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:04:54", + "updated_at": "2026-05-28 16:04:54", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 44, + "identifier": "playwright_test_6a17e91651700", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:04:54", + "updated_at": "2026-05-28 16:04:54", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 45, + "identifier": "playwright_test_6a17e916516db", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:04:54", + "updated_at": "2026-05-28 16:04:54", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 46, + "identifier": "playwright_test_6a17e916565c5", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:04:54", + "updated_at": "2026-05-28 16:04:54", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 47, + "identifier": "playwright_test_6a17ea5ec2240", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:10:22", + "updated_at": "2026-05-28 16:10:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 48, + "identifier": "playwright_test_6a17ea5ec5562", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:10:22", + "updated_at": "2026-05-28 16:10:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 49, + "identifier": "playwright_test_6a17ea5ecc4b4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:10:22", + "updated_at": "2026-05-28 16:10:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 50, + "identifier": "playwright_test_6a17ea5ee1c46", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:10:22", + "updated_at": "2026-05-28 16:10:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 51, + "identifier": "playwright_test_6a17f1db0af02", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:42:19", + "updated_at": "2026-05-28 16:42:19", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 52, + "identifier": "playwright_test_6a17f1db0ff11", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:42:19", + "updated_at": "2026-05-28 16:42:19", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 53, + "identifier": "playwright_test_6a17f1db13bb6", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:42:19", + "updated_at": "2026-05-28 16:42:19", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 54, + "identifier": "playwright_test_6a17f1db17f91", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:42:19", + "updated_at": "2026-05-28 16:42:19", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 55, + "identifier": "playwright_test_6a17f1db1b73d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:42:19", + "updated_at": "2026-05-28 16:42:19", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 56, + "identifier": "playwright_test_6a17f20d43d10", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:09", + "updated_at": "2026-05-28 16:43:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 57, + "identifier": "playwright_test_6a17f20d4a002", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:09", + "updated_at": "2026-05-28 16:43:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 58, + "identifier": "playwright_test_6a17f20d5e8b1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:09", + "updated_at": "2026-05-28 16:43:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 59, + "identifier": "playwright_test_6a17f20d5e917", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:09", + "updated_at": "2026-05-28 16:43:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 60, + "identifier": "playwright_test_6a17f20d6844b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:09", + "updated_at": "2026-05-28 16:43:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 61, + "identifier": "playwright_test_6a17f234cf3de", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:48", + "updated_at": "2026-05-28 16:43:48", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 62, + "identifier": "playwright_test_6a17f234d1bb7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:48", + "updated_at": "2026-05-28 16:43:48", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 63, + "identifier": "playwright_test_6a17f234d1d6b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:48", + "updated_at": "2026-05-28 16:43:48", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 64, + "identifier": "playwright_test_6a17f234d784b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:48", + "updated_at": "2026-05-28 16:43:48", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 65, + "identifier": "playwright_test_6a17f234da59d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:48", + "updated_at": "2026-05-28 16:43:48", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 66, + "identifier": "playwright_test_6a17f2e9e0038", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:46:49", + "updated_at": "2026-05-28 16:46:49", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 67, + "identifier": "playwright_test_6a17f2e9e01c7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:46:49", + "updated_at": "2026-05-28 16:46:49", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 68, + "identifier": "playwright_test_6a17f2fcc5543", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:47:08", + "updated_at": "2026-05-28 16:47:08", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 69, + "identifier": "playwright_test_6a17f2fcc8edc", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:47:08", + "updated_at": "2026-05-28 16:47:08", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 70, + "identifier": "playwright_test_6a17f2fcce288", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:47:08", + "updated_at": "2026-05-28 16:47:08", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 71, + "identifier": "playwright_test_6a17f2fcd271e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:47:08", + "updated_at": "2026-05-28 16:47:08", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 72, + "identifier": "playwright_test_6a17f61d4148b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 17:00:29", + "updated_at": "2026-05-28 17:00:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 73, + "identifier": "playwright_test_6a17f61d4149a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 17:00:29", + "updated_at": "2026-05-28 17:00:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 74, + "identifier": "playwright_test_6a17f61d45ee9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 17:00:29", + "updated_at": "2026-05-28 17:00:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 75, + "identifier": "playwright_test_6a17f61d4ed7a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 17:00:29", + "updated_at": "2026-05-28 17:00:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 76, + "identifier": "playwright_test_6a180583206cc", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 18:06:11", + "updated_at": "2026-05-28 18:06:11", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 77, + "identifier": "playwright_test_6a18058320716", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 18:06:11", + "updated_at": "2026-05-28 18:06:11", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 78, + "identifier": "playwright_test_6a18058320769", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 18:06:11", + "updated_at": "2026-05-28 18:06:11", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 80, + "identifier": "playwright_test_6a18058321211", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 18:06:11", + "updated_at": "2026-05-28 18:06:11", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 81, + "identifier": "playwright_test_6a1805d65fbcd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 18:07:34", + "updated_at": "2026-05-28 18:07:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 82, + "identifier": "playwright_test_6a180811ecc8c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 18:17:05", + "updated_at": "2026-05-28 18:17:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 83, + "identifier": "playwright_test_6a19031a3affd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:08:10", + "updated_at": "2026-05-29 12:08:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 84, + "identifier": "playwright_test_6a19031a3b01e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:08:10", + "updated_at": "2026-05-29 12:08:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 85, + "identifier": "playwright_test_6a19031a3b01a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:08:10", + "updated_at": "2026-05-29 12:08:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 86, + "identifier": "playwright_test_6a19034a882c6", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:08:58", + "updated_at": "2026-05-29 12:08:58", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 87, + "identifier": "playwright_test_6a19034a931e2", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:08:58", + "updated_at": "2026-05-29 12:08:58", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 88, + "identifier": "playwright_test_6a19034a9ae8b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:08:58", + "updated_at": "2026-05-29 12:08:58", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 89, + "identifier": "playwright_test_6a1903972c6a4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:10:15", + "updated_at": "2026-05-29 12:10:15", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 90, + "identifier": "playwright_test_6a1903972f066", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:10:15", + "updated_at": "2026-05-29 12:10:15", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 91, + "identifier": "playwright_test_6a1903972f0f9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:10:15", + "updated_at": "2026-05-29 12:10:15", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 92, + "identifier": "playwright_test_6a19040a9ec23", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:12:10", + "updated_at": "2026-05-29 12:12:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 93, + "identifier": "playwright_test_6a19040aa1996", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:12:10", + "updated_at": "2026-05-29 12:12:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 94, + "identifier": "playwright_test_6a19040aac473", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:12:10", + "updated_at": "2026-05-29 12:12:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 95, + "identifier": "playwright_test_6a1904247c017", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:12:36", + "updated_at": "2026-05-29 12:12:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 96, + "identifier": "playwright_test_6a19042487e7a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:12:36", + "updated_at": "2026-05-29 12:12:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 97, + "identifier": "playwright_test_6a1904248d0ba", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:12:36", + "updated_at": "2026-05-29 12:12:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 98, + "identifier": "playwright_test_6a19049930b74", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:14:33", + "updated_at": "2026-05-29 12:14:33", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 99, + "identifier": "playwright_test_6a19049934717", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:14:33", + "updated_at": "2026-05-29 12:14:33", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 100, + "identifier": "playwright_test_6a1904993845b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:14:33", + "updated_at": "2026-05-29 12:14:33", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 101, + "identifier": "playwright_test_6a19050d83538", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:16:29", + "updated_at": "2026-05-29 12:16:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 102, + "identifier": "playwright_test_6a19050d835a7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:16:29", + "updated_at": "2026-05-29 12:16:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 103, + "identifier": "playwright_test_6a19050d83708", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:16:29", + "updated_at": "2026-05-29 12:16:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 104, + "identifier": "playwright_test_6a1905d926fb6", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:19:53", + "updated_at": "2026-05-29 12:19:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 105, + "identifier": "playwright_test_6a1905d92700b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:19:53", + "updated_at": "2026-05-29 12:19:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 106, + "identifier": "playwright_test_6a1905d9299ba", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:19:53", + "updated_at": "2026-05-29 12:19:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 107, + "identifier": "playwright_test_6a1905ede4135", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:20:13", + "updated_at": "2026-05-29 12:20:13", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 108, + "identifier": "playwright_test_6a1905ede5c66", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:20:13", + "updated_at": "2026-05-29 12:20:13", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 109, + "identifier": "playwright_test_6a1905ede5c8a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:20:13", + "updated_at": "2026-05-29 12:20:13", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 110, + "identifier": "playwright_test_6a1908d0c735f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:32:32", + "updated_at": "2026-05-29 12:32:32", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 111, + "identifier": "playwright_test_6a1908d0cf540", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:32:32", + "updated_at": "2026-05-29 12:32:32", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 112, + "identifier": "playwright_test_6a1908d0cf52e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:32:32", + "updated_at": "2026-05-29 12:32:32", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 113, + "identifier": "playwright_test_6a190947db84d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:34:31", + "updated_at": "2026-05-29 12:34:31", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 114, + "identifier": "playwright_test_6a190947de88a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:34:31", + "updated_at": "2026-05-29 12:34:31", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 115, + "identifier": "playwright_test_6a190947e119b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:34:31", + "updated_at": "2026-05-29 12:34:31", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 116, + "identifier": "playwright_test_6a1909af2ecab", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:36:15", + "updated_at": "2026-05-29 12:36:15", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 117, + "identifier": "playwright_test_6a1909af2ec8c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:36:15", + "updated_at": "2026-05-29 12:36:15", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 118, + "identifier": "playwright_test_6a1909af34d5e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:36:15", + "updated_at": "2026-05-29 12:36:15", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 119, + "identifier": "playwright_test_6a190a734de69", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:39:31", + "updated_at": "2026-05-29 12:39:31", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 120, + "identifier": "playwright_test_6a190a734de6f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:39:31", + "updated_at": "2026-05-29 12:39:31", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 121, + "identifier": "playwright_test_6a190a734de52", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:39:31", + "updated_at": "2026-05-29 12:39:31", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 122, + "identifier": "playwright_test_6a190ac935cc8", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:40:57", + "updated_at": "2026-05-29 12:40:57", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 123, + "identifier": "playwright_test_6a190ac935cd3", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:40:57", + "updated_at": "2026-05-29 12:40:57", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 125, + "identifier": "playwright_test_6a190addb6c04", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:41:17", + "updated_at": "2026-05-29 12:41:17", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 126, + "identifier": "playwright_test_6a190ae21ae66", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:41:22", + "updated_at": "2026-05-29 12:41:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 127, + "identifier": "playwright_test_6a190ae5989a8", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:41:25", + "updated_at": "2026-05-29 12:41:25", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 128, + "identifier": "playwright_test_6a190b2593b90", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:42:29", + "updated_at": "2026-05-29 12:42:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 129, + "identifier": "playwright_test_6a190b2d26ee2", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:42:37", + "updated_at": "2026-05-29 12:42:37", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 130, + "identifier": "playwright_test_6a190b30a35d7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:42:40", + "updated_at": "2026-05-29 12:42:40", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 131, + "identifier": "playwright_test_6a190b952e4ec", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:44:21", + "updated_at": "2026-05-29 12:44:21", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 132, + "identifier": "playwright_test_6a190b9eca307", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:44:30", + "updated_at": "2026-05-29 12:44:30", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 133, + "identifier": "playwright_test_6a190ba24042e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:44:34", + "updated_at": "2026-05-29 12:44:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 134, + "identifier": "playwright_test_6a190bda433df", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:45:30", + "updated_at": "2026-05-29 12:45:30", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 135, + "identifier": "playwright_test_6a190be3e631d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:45:39", + "updated_at": "2026-05-29 12:45:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 136, + "identifier": "playwright_test_6a190be7558c8", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:45:43", + "updated_at": "2026-05-29 12:45:43", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 137, + "identifier": "playwright_test_6a190c2c3f6dc", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:46:52", + "updated_at": "2026-05-29 12:46:52", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 138, + "identifier": "playwright_test_6a190c35ede0a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:47:01", + "updated_at": "2026-05-29 12:47:01", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 139, + "identifier": "playwright_test_6a190c398dd03", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:47:05", + "updated_at": "2026-05-29 12:47:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 140, + "identifier": "playwright_test_6a190ca057e36", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:48:48", + "updated_at": "2026-05-29 12:48:48", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 141, + "identifier": "playwright_test_6a190ca38c0d4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:48:51", + "updated_at": "2026-05-29 12:48:51", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 142, + "identifier": "playwright_test_6a190ca71e680", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:48:55", + "updated_at": "2026-05-29 12:48:55", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 143, + "identifier": "playwright_test_6a191039e6138", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 13:04:09", + "updated_at": "2026-05-29 13:04:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 144, + "identifier": "playwright_test_6a19103fad1bf", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 13:04:15", + "updated_at": "2026-05-29 13:04:15", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 145, + "identifier": "playwright_test_6a1910430beaf", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 13:04:19", + "updated_at": "2026-05-29 13:04:19", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 146, + "identifier": "playwright_test_6a191093ab385", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 13:05:39", + "updated_at": "2026-05-29 13:05:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 147, + "identifier": "playwright_test_6a191096b500a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 13:05:42", + "updated_at": "2026-05-29 13:05:42", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 148, + "identifier": "playwright_test_6a19109a1dc50", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 13:05:46", + "updated_at": "2026-05-29 13:05:46", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 149, + "identifier": "playwright_test_6a195132a2c99", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 17:41:22", + "updated_at": "2026-05-29 17:41:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 150, + "identifier": "playwright_test_6a195132a2cd4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 17:41:22", + "updated_at": "2026-05-29 17:41:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 151, + "identifier": "playwright_test_6a195132a2cbd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 17:41:22", + "updated_at": "2026-05-29 17:41:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 152, + "identifier": "playwright_test_6a195132a3066", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 17:41:22", + "updated_at": "2026-05-29 17:41:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 153, + "identifier": "playwright_test_6a1951b12de6e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 17:43:29", + "updated_at": "2026-05-29 17:43:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 154, + "identifier": "playwright_test_6a1951b130dde", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 17:43:29", + "updated_at": "2026-05-29 17:43:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 155, + "identifier": "playwright_test_6a1951b137805", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 17:43:29", + "updated_at": "2026-05-29 17:43:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 156, + "identifier": "playwright_test_6a1951b13b460", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 17:43:29", + "updated_at": "2026-05-29 17:43:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 157, + "identifier": "playwright_test_6a1968cf8ff62", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:22:07", + "updated_at": "2026-05-29 19:22:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 158, + "identifier": "playwright_test_6a1968cf8ffaf", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:22:07", + "updated_at": "2026-05-29 19:22:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 159, + "identifier": "playwright_test_6a1968cf8ff36", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:22:07", + "updated_at": "2026-05-29 19:22:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 160, + "identifier": "playwright_test_6a1968cf94022", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:22:07", + "updated_at": "2026-05-29 19:22:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 161, + "identifier": "playwright_test_6a1968cf9414d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:22:07", + "updated_at": "2026-05-29 19:22:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 162, + "identifier": "playwright_test_6a1968cf9420d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:22:07", + "updated_at": "2026-05-29 19:22:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 163, + "identifier": "playwright_test_6a1968cf982e6", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:22:07", + "updated_at": "2026-05-29 19:22:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 164, + "identifier": "playwright_test_6a196981999ce", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:25:05", + "updated_at": "2026-05-29 19:25:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 165, + "identifier": "playwright_test_6a1969819bef4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:25:05", + "updated_at": "2026-05-29 19:25:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 166, + "identifier": "playwright_test_6a1969819fdf5", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:25:05", + "updated_at": "2026-05-29 19:25:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 167, + "identifier": "playwright_test_6a196981a2128", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:25:05", + "updated_at": "2026-05-29 19:25:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 168, + "identifier": "playwright_test_6a196981a3151", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:25:05", + "updated_at": "2026-05-29 19:25:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 169, + "identifier": "playwright_test_6a196981a6422", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:25:05", + "updated_at": "2026-05-29 19:25:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 170, + "identifier": "playwright_test_6a196981ae952", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:25:05", + "updated_at": "2026-05-29 19:25:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 171, + "identifier": "playwright_test_6a1969d527124", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:26:29", + "updated_at": "2026-05-29 19:26:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 172, + "identifier": "playwright_test_6a196a1b8e6a9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:27:39", + "updated_at": "2026-05-29 19:27:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 173, + "identifier": "playwright_test_6a196a1b93f1a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:27:39", + "updated_at": "2026-05-29 19:27:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 174, + "identifier": "playwright_test_6a196a1b9b0fc", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:27:39", + "updated_at": "2026-05-29 19:27:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 175, + "identifier": "playwright_test_6a196a1ba1ea0", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:27:39", + "updated_at": "2026-05-29 19:27:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 176, + "identifier": "playwright_test_6a196a1ba38a3", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:27:39", + "updated_at": "2026-05-29 19:27:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 177, + "identifier": "playwright_test_6a196a1ba5c65", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:27:39", + "updated_at": "2026-05-29 19:27:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 178, + "identifier": "playwright_test_6a196a1badd87", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:27:39", + "updated_at": "2026-05-29 19:27:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 179, + "identifier": "playwright_test_6a196a559103f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:28:37", + "updated_at": "2026-05-29 19:28:37", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 180, + "identifier": "playwright_test_6a196a5591034", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:28:37", + "updated_at": "2026-05-29 19:28:37", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 181, + "identifier": "playwright_test_6a196a559a3ed", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:28:37", + "updated_at": "2026-05-29 19:28:37", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 183, + "identifier": "playwright_test_6a196a559e084", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:28:37", + "updated_at": "2026-05-29 19:28:37", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 184, + "identifier": "playwright_test_6a196a55a05c8", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:28:37", + "updated_at": "2026-05-29 19:28:37", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 185, + "identifier": "playwright_test_6a196a55a5420", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:28:37", + "updated_at": "2026-05-29 19:28:37", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 186, + "identifier": "playwright_test_6a196a7312546", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:29:07", + "updated_at": "2026-05-29 19:29:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 187, + "identifier": "playwright_test_6a196aa30dfa9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:29:55", + "updated_at": "2026-05-29 19:29:55", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 188, + "identifier": "playwright_test_6a196aa3160c7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:29:55", + "updated_at": "2026-05-29 19:29:55", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 189, + "identifier": "playwright_test_6a196aa3189f0", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:29:55", + "updated_at": "2026-05-29 19:29:55", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 190, + "identifier": "playwright_test_6a196aa31bb0a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:29:55", + "updated_at": "2026-05-29 19:29:55", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 191, + "identifier": "playwright_test_6a196aa31caba", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:29:55", + "updated_at": "2026-05-29 19:29:55", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 192, + "identifier": "playwright_test_6a196aa322af8", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:29:55", + "updated_at": "2026-05-29 19:29:55", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 193, + "identifier": "playwright_test_6a196ac46d4e0", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:30:28", + "updated_at": "2026-05-29 19:30:28", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 194, + "identifier": "playwright_test_6a196ac7aeb96", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:30:31", + "updated_at": "2026-05-29 19:30:31", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 195, + "identifier": "playwright_test_6a196acbd0a6f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:30:35", + "updated_at": "2026-05-29 19:30:35", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 196, + "identifier": "playwright_test_6a196acfbce93", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:30:39", + "updated_at": "2026-05-29 19:30:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 197, + "identifier": "playwright_test_6a196ad38acb6", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:30:43", + "updated_at": "2026-05-29 19:30:43", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 198, + "identifier": "playwright_test_6a196ad78bf8b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:30:47", + "updated_at": "2026-05-29 19:30:47", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 199, + "identifier": "playwright_test_6a196adb5007c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:30:51", + "updated_at": "2026-05-29 19:30:51", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 200, + "identifier": "playwright_test_6a196b5867eff", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:32:56", + "updated_at": "2026-05-29 19:32:56", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 201, + "identifier": "playwright_test_6a196b5c349ae", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:33:00", + "updated_at": "2026-05-29 19:33:00", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 202, + "identifier": "playwright_test_6a196b60617c1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:33:04", + "updated_at": "2026-05-29 19:33:04", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 203, + "identifier": "playwright_test_6a196b647f926", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:33:08", + "updated_at": "2026-05-29 19:33:08", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 204, + "identifier": "playwright_test_6a196b686340d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:33:12", + "updated_at": "2026-05-29 19:33:12", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 205, + "identifier": "playwright_test_6a196b6c7d717", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:33:16", + "updated_at": "2026-05-29 19:33:16", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 206, + "identifier": "playwright_test_6a196b709e16c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:33:20", + "updated_at": "2026-05-29 19:33:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 207, + "identifier": "playwright_test_6a196b74b669d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:33:24", + "updated_at": "2026-05-29 19:33:24", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 208, + "identifier": "playwright_test_6a197b162ca81", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:06", + "updated_at": "2026-05-29 20:40:06", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 209, + "identifier": "playwright_test_6a197b1dd570c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:13", + "updated_at": "2026-05-29 20:40:13", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 210, + "identifier": "playwright_test_6a197b223cc18", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:18", + "updated_at": "2026-05-29 20:40:18", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 211, + "identifier": "playwright_test_6a197b26688d1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:22", + "updated_at": "2026-05-29 20:40:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 212, + "identifier": "playwright_test_6a197b2a1b129", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:26", + "updated_at": "2026-05-29 20:40:26", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 213, + "identifier": "playwright_test_6a197b2e90690", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:30", + "updated_at": "2026-05-29 20:40:30", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 214, + "identifier": "playwright_test_6a197b3334f28", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:35", + "updated_at": "2026-05-29 20:40:35", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 215, + "identifier": "playwright_test_6a197b3770379", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:39", + "updated_at": "2026-05-29 20:40:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 216, + "identifier": "playwright_test_6a197b3bc6cd1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:43", + "updated_at": "2026-05-29 20:40:43", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 217, + "identifier": "playwright_test_6a197b406df82", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:48", + "updated_at": "2026-05-29 20:40:48", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 218, + "identifier": "playwright_test_6a197b4479732", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:52", + "updated_at": "2026-05-29 20:40:52", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 219, + "identifier": "playwright_test_6a197b48ce74d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:56", + "updated_at": "2026-05-29 20:40:56", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 220, + "identifier": "playwright_test_6a197bafb53d7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:42:39", + "updated_at": "2026-05-29 20:42:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 221, + "identifier": "playwright_test_6a197bb2e3d67", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:42:42", + "updated_at": "2026-05-29 20:42:42", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 222, + "identifier": "playwright_test_6a197bb674dee", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:42:46", + "updated_at": "2026-05-29 20:42:46", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 223, + "identifier": "playwright_test_6a197bb9d458b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:42:49", + "updated_at": "2026-05-29 20:42:49", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 224, + "identifier": "playwright_test_6a197bbd558fd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:42:53", + "updated_at": "2026-05-29 20:42:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 225, + "identifier": "playwright_test_6a197bc1053aa", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:42:57", + "updated_at": "2026-05-29 20:42:57", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 226, + "identifier": "playwright_test_6a197bc48f611", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:43:00", + "updated_at": "2026-05-29 20:43:00", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 227, + "identifier": "playwright_test_6a197bc9373ab", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:43:05", + "updated_at": "2026-05-29 20:43:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 228, + "identifier": "playwright_test_6a197bcd6d60d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:43:09", + "updated_at": "2026-05-29 20:43:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 229, + "identifier": "playwright_test_6a197bd18cd49", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:43:13", + "updated_at": "2026-05-29 20:43:13", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 230, + "identifier": "playwright_test_6a197bd54fde8", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:43:17", + "updated_at": "2026-05-29 20:43:17", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 231, + "identifier": "playwright_test_6a197bd8d1237", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:43:20", + "updated_at": "2026-05-29 20:43:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 232, + "identifier": "playwright_test_6a197e5b69386", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:54:03", + "updated_at": "2026-05-29 20:54:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 233, + "identifier": "playwright_test_6a197e6cd6e32", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:54:20", + "updated_at": "2026-05-29 20:54:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 234, + "identifier": "playwright_test_6a197e6cdacd2", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:54:20", + "updated_at": "2026-05-29 20:54:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 235, + "identifier": "playwright_test_6a197e6cde04b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:54:20", + "updated_at": "2026-05-29 20:54:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 236, + "identifier": "playwright_test_6a197e6ce261e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:54:20", + "updated_at": "2026-05-29 20:54:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 237, + "identifier": "playwright_test_6a197e6ce50e9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:54:20", + "updated_at": "2026-05-29 20:54:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 238, + "identifier": "playwright_test_6a197e6cf0bf9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:54:20", + "updated_at": "2026-05-29 20:54:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 239, + "identifier": "playwright_test_6a197f13b4fca", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:57:07", + "updated_at": "2026-05-29 20:57:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 240, + "identifier": "playwright_test_6a19807e46cca", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:10", + "updated_at": "2026-05-29 21:03:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 241, + "identifier": "playwright_test_6a19807e51ab4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:10", + "updated_at": "2026-05-29 21:03:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 242, + "identifier": "playwright_test_6a19807e60d80", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:10", + "updated_at": "2026-05-29 21:03:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 243, + "identifier": "playwright_test_6a19807e646fb", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:10", + "updated_at": "2026-05-29 21:03:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 244, + "identifier": "playwright_test_6a19807e66d36", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:10", + "updated_at": "2026-05-29 21:03:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 245, + "identifier": "playwright_test_6a19807e71b02", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:10", + "updated_at": "2026-05-29 21:03:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 246, + "identifier": "playwright_test_6a19807e721b6", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:10", + "updated_at": "2026-05-29 21:03:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 247, + "identifier": "playwright_test_6a19808badf52", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:23", + "updated_at": "2026-05-29 21:03:23", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 248, + "identifier": "playwright_test_6a19808ef0916", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:26", + "updated_at": "2026-05-29 21:03:26", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 249, + "identifier": "playwright_test_6a19809010c07", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:28", + "updated_at": "2026-05-29 21:03:28", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 250, + "identifier": "playwright_test_6a198090aada0", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:28", + "updated_at": "2026-05-29 21:03:28", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 251, + "identifier": "playwright_test_6a198090cc5f0", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:28", + "updated_at": "2026-05-29 21:03:28", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 252, + "identifier": "playwright_test_6a1980916a6a5", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:29", + "updated_at": "2026-05-29 21:03:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 253, + "identifier": "playwright_test_6a198091c5301", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:29", + "updated_at": "2026-05-29 21:03:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 254, + "identifier": "playwright_test_6a19809882ec9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:36", + "updated_at": "2026-05-29 21:03:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 255, + "identifier": "playwright_test_6a19809d28eae", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:41", + "updated_at": "2026-05-29 21:03:41", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 256, + "identifier": "playwright_test_6a1980a06ba2e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:44", + "updated_at": "2026-05-29 21:03:44", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 257, + "identifier": "playwright_test_6a1980a0a6baf", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:44", + "updated_at": "2026-05-29 21:03:44", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 258, + "identifier": "playwright_test_6a1980a127908", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:45", + "updated_at": "2026-05-29 21:03:45", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 259, + "identifier": "playwright_test_6a1980a14e863", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:45", + "updated_at": "2026-05-29 21:03:45", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 260, + "identifier": "playwright_test_6a1980a1bf543", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:45", + "updated_at": "2026-05-29 21:03:45", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 261, + "identifier": "playwright_test_6a1980a642d1f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:50", + "updated_at": "2026-05-29 21:03:50", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 262, + "identifier": "playwright_test_6a1980a9cfea9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:53", + "updated_at": "2026-05-29 21:03:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 263, + "identifier": "playwright_test_6a1980ac9af4d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:56", + "updated_at": "2026-05-29 21:03:56", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 264, + "identifier": "playwright_test_6a1980aedb251", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:58", + "updated_at": "2026-05-29 21:03:58", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 265, + "identifier": "playwright_test_6a1980afae345", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:59", + "updated_at": "2026-05-29 21:03:59", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 266, + "identifier": "playwright_test_6a1980afd5b45", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:59", + "updated_at": "2026-05-29 21:03:59", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 267, + "identifier": "playwright_test_6a1980b0789e3", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:04:00", + "updated_at": "2026-05-29 21:04:00", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 268, + "identifier": "playwright_test_6a1980b43ca0a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:04:04", + "updated_at": "2026-05-29 21:04:04", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 269, + "identifier": "playwright_test_6a1980dbee2cc", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:04:43", + "updated_at": "2026-05-29 21:04:43", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 270, + "identifier": "playwright_test_6a1980fb1e5a1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:05:15", + "updated_at": "2026-05-29 21:05:15", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 271, + "identifier": "playwright_test_6a198105e1bb5", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:05:25", + "updated_at": "2026-05-29 21:05:25", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 272, + "identifier": "playwright_test_6a198141aa08d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:06:25", + "updated_at": "2026-05-29 21:06:25", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 273, + "identifier": "playwright_test_6a198141aa0bc", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:06:25", + "updated_at": "2026-05-29 21:06:25", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 274, + "identifier": "playwright_test_6a19814cd787d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:06:36", + "updated_at": "2026-05-29 21:06:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 275, + "identifier": "playwright_test_6a19816110b0f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:06:57", + "updated_at": "2026-05-29 21:06:57", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 276, + "identifier": "playwright_test_6a19816bb16e7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:07:07", + "updated_at": "2026-05-29 21:07:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 277, + "identifier": "playwright_test_6a198181c8dcd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:07:29", + "updated_at": "2026-05-29 21:07:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 278, + "identifier": "playwright_test_6a1981bc705b5", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:28", + "updated_at": "2026-05-29 21:08:28", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 279, + "identifier": "playwright_test_6a1981bc70573", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:28", + "updated_at": "2026-05-29 21:08:28", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 280, + "identifier": "playwright_test_6a1981bc7263a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:28", + "updated_at": "2026-05-29 21:08:28", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 281, + "identifier": "playwright_test_6a1981c478e33", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:36", + "updated_at": "2026-05-29 21:08:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 282, + "identifier": "playwright_test_6a1981c4a56dc", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:36", + "updated_at": "2026-05-29 21:08:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 283, + "identifier": "playwright_test_6a1981c4d291c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:36", + "updated_at": "2026-05-29 21:08:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 284, + "identifier": "playwright_test_6a1981cbb966a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:43", + "updated_at": "2026-05-29 21:08:43", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 285, + "identifier": "playwright_test_6a1981cd5b5d9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:45", + "updated_at": "2026-05-29 21:08:45", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 286, + "identifier": "playwright_test_6a1981ce9dc9c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:46", + "updated_at": "2026-05-29 21:08:46", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 287, + "identifier": "playwright_test_6a1981d226840", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:50", + "updated_at": "2026-05-29 21:08:50", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 288, + "identifier": "playwright_test_6a1981d481bb5", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:52", + "updated_at": "2026-05-29 21:08:52", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 289, + "identifier": "playwright_test_6a1981d59f078", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:53", + "updated_at": "2026-05-29 21:08:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 290, + "identifier": "playwright_test_6a1981d84b085", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:56", + "updated_at": "2026-05-29 21:08:56", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 291, + "identifier": "playwright_test_6a1981dae683b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:58", + "updated_at": "2026-05-29 21:08:58", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 292, + "identifier": "playwright_test_6a1981dcbe497", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:09:00", + "updated_at": "2026-05-29 21:09:00", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 293, + "identifier": "playwright_test_6a1981df27e59", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:09:03", + "updated_at": "2026-05-29 21:09:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 294, + "identifier": "playwright_test_6a1981e168db2", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:09:05", + "updated_at": "2026-05-29 21:09:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 295, + "identifier": "playwright_test_6a1981e3d08e4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:09:07", + "updated_at": "2026-05-29 21:09:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 296, + "identifier": "playwright_test_6a1981e5694da", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:09:09", + "updated_at": "2026-05-29 21:09:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 297, + "identifier": "playwright_test_6a1981e8196bd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:09:12", + "updated_at": "2026-05-29 21:09:12", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 298, + "identifier": "playwright_test_6a1981ea4b473", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:09:14", + "updated_at": "2026-05-29 21:09:14", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 299, + "identifier": "playwright_test_6a1981ec7598d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:09:16", + "updated_at": "2026-05-29 21:09:16", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 300, + "identifier": "playwright_test_6a1988375dd50", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:36:07", + "updated_at": "2026-05-29 21:36:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 301, + "identifier": "playwright_test_6a19885689f88", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:36:38", + "updated_at": "2026-05-29 21:36:38", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 302, + "identifier": "playwright_test_6a1988760bfcb", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:37:10", + "updated_at": "2026-05-29 21:37:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 303, + "identifier": "playwright_test_6a19889516326", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:37:41", + "updated_at": "2026-05-29 21:37:41", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 304, + "identifier": "playwright_test_6a19893190f90", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:40:17", + "updated_at": "2026-05-29 21:40:17", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 305, + "identifier": "playwright_test_6a19893191217", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:40:17", + "updated_at": "2026-05-29 21:40:17", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 306, + "identifier": "playwright_test_6a198940b9b31", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:40:32", + "updated_at": "2026-05-29 21:40:32", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 307, + "identifier": "playwright_test_6a198940b9b3b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:40:32", + "updated_at": "2026-05-29 21:40:32", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 308, + "identifier": "playwright_test_6a19894a52760", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:40:42", + "updated_at": "2026-05-29 21:40:42", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 309, + "identifier": "playwright_test_6a198950eae0a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:40:48", + "updated_at": "2026-05-29 21:40:48", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 310, + "identifier": "playwright_test_6a1989530b23a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:40:51", + "updated_at": "2026-05-29 21:40:51", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 311, + "identifier": "playwright_test_6a1989f8b1598", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:43:36", + "updated_at": "2026-05-29 21:43:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 312, + "identifier": "playwright_test_6a1989f8b1d0b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:43:36", + "updated_at": "2026-05-29 21:43:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 313, + "identifier": "playwright_test_6a1989ff76f16", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:43:43", + "updated_at": "2026-05-29 21:43:43", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 314, + "identifier": "playwright_test_6a198a162e1d9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:06", + "updated_at": "2026-05-29 21:44:06", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 315, + "identifier": "playwright_test_6a198a1803126", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:08", + "updated_at": "2026-05-29 21:44:08", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 316, + "identifier": "playwright_test_6a198a18dd42b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:08", + "updated_at": "2026-05-29 21:44:08", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 317, + "identifier": "playwright_test_6a198a2d55d8c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:29", + "updated_at": "2026-05-29 21:44:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 318, + "identifier": "playwright_test_6a198a32c717e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:34", + "updated_at": "2026-05-29 21:44:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 319, + "identifier": "playwright_test_6a198a33c221d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:35", + "updated_at": "2026-05-29 21:44:35", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 320, + "identifier": "playwright_test_6a198a3bea027", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:43", + "updated_at": "2026-05-29 21:44:43", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 321, + "identifier": "playwright_test_6a198a4163684", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:49", + "updated_at": "2026-05-29 21:44:49", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 322, + "identifier": "playwright_test_6a198a41b8f40", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:49", + "updated_at": "2026-05-29 21:44:49", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 323, + "identifier": "playwright_test_6a198a46a5aa6", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:54", + "updated_at": "2026-05-29 21:44:54", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 324, + "identifier": "playwright_test_6a198a4c625fd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:00", + "updated_at": "2026-05-29 21:45:00", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 325, + "identifier": "playwright_test_6a198a4e16d6e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:02", + "updated_at": "2026-05-29 21:45:02", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 326, + "identifier": "playwright_test_6a198a4fa8c7d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:03", + "updated_at": "2026-05-29 21:45:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 327, + "identifier": "playwright_test_6a198a5583846", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:09", + "updated_at": "2026-05-29 21:45:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 328, + "identifier": "playwright_test_6a198a58121df", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:12", + "updated_at": "2026-05-29 21:45:12", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 329, + "identifier": "playwright_test_6a198a595a542", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:13", + "updated_at": "2026-05-29 21:45:13", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 330, + "identifier": "playwright_test_6a198a5d8db59", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:17", + "updated_at": "2026-05-29 21:45:17", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 331, + "identifier": "playwright_test_6a198a60e76bd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:20", + "updated_at": "2026-05-29 21:45:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 332, + "identifier": "playwright_test_6a198a62d84e1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:22", + "updated_at": "2026-05-29 21:45:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 333, + "identifier": "playwright_test_6a198a6579e0a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:25", + "updated_at": "2026-05-29 21:45:25", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 334, + "identifier": "playwright_test_6a198a6abebe2", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:30", + "updated_at": "2026-05-29 21:45:30", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 335, + "identifier": "playwright_test_6a198a6fe8b40", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:35", + "updated_at": "2026-05-29 21:45:35", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 336, + "identifier": "playwright_test_6a198a729d80f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:38", + "updated_at": "2026-05-29 21:45:38", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 337, + "identifier": "playwright_test_6a198a789551c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:44", + "updated_at": "2026-05-29 21:45:44", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 338, + "identifier": "playwright_test_6a198a7e2a8a4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:50", + "updated_at": "2026-05-29 21:45:50", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 339, + "identifier": "playwright_test_6a198a804d094", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:52", + "updated_at": "2026-05-29 21:45:52", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 340, + "identifier": "playwright_test_6a198a85bd0bc", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:57", + "updated_at": "2026-05-29 21:45:57", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 341, + "identifier": "playwright_test_6a198a8b38116", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:46:03", + "updated_at": "2026-05-29 21:46:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 342, + "identifier": "playwright_test_6a198a916d135", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:46:09", + "updated_at": "2026-05-29 21:46:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 343, + "identifier": "playwright_test_6a1a6df0f3f90", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:56:16", + "updated_at": "2026-05-30 13:56:16", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 344, + "identifier": "playwright_test_6a1a6df0f3f9a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:56:16", + "updated_at": "2026-05-30 13:56:16", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 345, + "identifier": "playwright_test_6a1a6df0f3ec1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:56:16", + "updated_at": "2026-05-30 13:56:16", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 346, + "identifier": "playwright_test_6a1a6df0f4087", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:56:16", + "updated_at": "2026-05-30 13:56:16", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 347, + "identifier": "playwright_test_6a1a6df0f41ee", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:56:17", + "updated_at": "2026-05-30 13:56:17", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 348, + "identifier": "playwright_test_6a1a6e979dde1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:59:03", + "updated_at": "2026-05-30 13:59:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 349, + "identifier": "playwright_test_6a1a6e979de4f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:59:03", + "updated_at": "2026-05-30 13:59:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 350, + "identifier": "playwright_test_6a1a6e979de31", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:59:03", + "updated_at": "2026-05-30 13:59:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 351, + "identifier": "playwright_test_6a1a6e97a1e6b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:59:03", + "updated_at": "2026-05-30 13:59:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 352, + "identifier": "playwright_test_6a1a6e97a20cf", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:59:03", + "updated_at": "2026-05-30 13:59:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 353, + "identifier": "playwright_test_6a1a6f021f628", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:00:50", + "updated_at": "2026-05-30 14:00:50", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 354, + "identifier": "playwright_test_6a1a6f021f633", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:00:50", + "updated_at": "2026-05-30 14:00:50", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 355, + "identifier": "playwright_test_6a1a6f022390b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:00:50", + "updated_at": "2026-05-30 14:00:50", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 356, + "identifier": "playwright_test_6a1a6f02268a7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:00:50", + "updated_at": "2026-05-30 14:00:50", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 357, + "identifier": "playwright_test_6a1a6f022f471", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:00:50", + "updated_at": "2026-05-30 14:00:50", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 358, + "identifier": "playwright_test_6a1a6f53eb332", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:02:11", + "updated_at": "2026-05-30 14:02:11", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 359, + "identifier": "playwright_test_6a1a6f53f0fb7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:02:11", + "updated_at": "2026-05-30 14:02:11", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 360, + "identifier": "playwright_test_6a1a6f53f10d4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:02:11", + "updated_at": "2026-05-30 14:02:11", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 361, + "identifier": "playwright_test_6a1a6f53f1137", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:02:11", + "updated_at": "2026-05-30 14:02:11", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 362, + "identifier": "playwright_test_6a1a6f5400fff", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:02:12", + "updated_at": "2026-05-30 14:02:12", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + } + ], + "pagination": { + "current_page": 1, + "last_page": 1, + "total": 1, + "per_page": 15 + }, + "abilities": { + "can_create": true, + "can_assign_roles": true + } + } + }, + "availableChannels": { + "data": { + "channels": [ + { + "id": "mail", + "name_key": "notification.channels.mail.name", + "icon": "fas fa-envelope", + "description_key": "notification.channels.mail.description", + "source": "core", + "source_label_key": "notification.channels.core_default", + "name": "메일", + "description": "이메일로 알림 발송", + "source_label": "코어 기본 채널", + "readiness": { + "ready": false, + "reason": "notification.readiness.mail_smtp_host_empty" + } + }, + { + "id": "database", + "name_key": "notification.channels.database.name", + "icon": "fas fa-bell", + "description_key": "notification.channels.database.description", + "source": "core", + "source_label_key": "notification.channels.core_default", + "name": "사이트내 알림", + "description": "사이트내 알림 센터에 표시", + "source_label": "코어 기본 채널", + "readiness": { + "ready": true, + "reason": null + } + } + ] + } + }, + "identityProviders": { + "data": [ + { + "identifier": "kginicis", + "name": "KG이니시스", + "channels": [ + "mobile", + "ipin" + ], + "enabled": true, + "config_status": "configured" + }, + { + "identifier": "nice", + "name": "나이스", + "channels": [ + "mobile" + ], + "enabled": false, + "config_status": "pending" + } + ] + }, + "identityPurposes": { + "data": [ + { + "id": 1, + "key": "signup", + "name": { + "ko": "회원가입", + "en": "Sign up" + }, + "enabled": true, + "channels": [ + "mobile" + ] + } + ] + }, + "identityPolicies": { + "data": [ + { + "id": 1, + "purpose_key": "signup", + "provider_identifier": "kginicis", + "enforcement": "required", + "scope": "all" + } + ] + }, + "notificationDefinitions": { + "data": { + "data": [ + { + "number": 1, + "id": 1, + "type": "welcome", + "hook_prefix": "core.auth", + "extension_type": "core", + "extension_identifier": "core", + "name": { + "ko": "회원가입 환영", + "en": "Welcome", + "ja": "会員登録 ウェルカム" + }, + "description": { + "ko": "회원가입 완료 시 발송되는 환영 알림", + "en": "Welcome notification sent upon registration" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "action_url", + "description": "로그인 페이지 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "core.auth.after_register" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 1, + "definition_id": 1, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 회원가입을 환영합니다", + "en": "[{app_name}] Welcome to Our Service", + "ja": "[{app_name}] 会員登録をお待ちしておりました" + }, + "body": { + "ko": "

{name}님, 환영합니다!

{app_name}에 가입해 주셔서 감사합니다.

이제 모든 서비스를 이용하실 수 있습니다. 아래 버튼을 클릭하여 로그인해 주세요.

로그인하기

감사합니다,
{app_name}

", + "en": "

Welcome, {name}!

Thank you for joining {app_name}.

You now have access to all our services. Click the button below to log in.

Log In

Thank you,
{app_name}

", + "ja": "

{name}様、ようこそ!

{app_name}にご登録いただきありがとうございます。

これで全てのサービスをご利用いただけます。以下のボタンをクリックしてログインしてください。

ログインする

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 2, + "definition_id": 1, + "channel": "database", + "subject": { + "ko": "회원가입을 환영합니다", + "en": "Welcome to our service", + "ja": "会員登録をお待ちしておりました" + }, + "body": { + "ko": "{name}님, {app_name}에 가입해 주셔서 감사합니다.", + "en": "Welcome {name}, thank you for joining {app_name}.", + "ja": "{name}様、{app_name}にご登録いただきありがとうございます。" + }, + "click_url": "/mypage", + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:44:00", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 2, + "id": 2, + "type": "reset_password", + "hook_prefix": "core.auth", + "extension_type": "core", + "extension_identifier": "core", + "name": { + "ko": "비밀번호 재설정", + "en": "Password Reset", + "ja": "パスワード再設定" + }, + "description": { + "ko": "비밀번호 재설정 요청 시 발송되는 알림", + "en": "Notification sent when password reset is requested" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "action_url", + "description": "비밀번호 재설정 URL" + }, + { + "key": "expire_minutes", + "description": "링크 만료 시간(분)" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "core.auth.after_reset_password_request" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 3, + "definition_id": 2, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 비밀번호 재설정 안내", + "en": "[{app_name}] Password Reset Request", + "ja": "[{app_name}] パスワード再設定のご案内" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

비밀번호 재설정 요청을 받았습니다. 아래 버튼을 클릭하여 비밀번호를 재설정해 주세요.

이 링크는 {expire_minutes}분 후 만료됩니다.

비밀번호 재설정

비밀번호 재설정을 요청하지 않으셨다면, 이 이메일을 무시해 주세요.

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

We received a request to reset your password. Click the button below to set a new password.

This link will expire in {expire_minutes} minutes.

Reset Password

If you did not request a password reset, please ignore this email.

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

パスワード再設定のご要望を承りました。以下のボタンをクリックしてパスワードを再設定してください。

このリンクは{expire_minutes}分後に期限切れになります。

パスワード再設定

パスワード再設定をご要望でなかった場合は、このメールを無視してください。

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 4, + "definition_id": 2, + "channel": "database", + "subject": { + "ko": "비밀번호 재설정 안내", + "en": "Password Reset Request", + "ja": "パスワード再設定のご案内" + }, + "body": { + "ko": "{name}님, 비밀번호 재설정이 요청되었습니다. 본인이 요청하지 않았다면 이 알림을 무시해 주세요.", + "en": "{name}, a password reset has been requested. If you did not request this, please ignore this notification.", + "ja": "{name}様、パスワード再設定が要求されました。ご本人様による操作でない場合は、この通知を無視してください。" + }, + "click_url": "{action_url}", + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:44:00", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 3, + "id": 3, + "type": "password_changed", + "hook_prefix": "core.auth", + "extension_type": "core", + "extension_identifier": "core", + "name": { + "ko": "비밀번호 변경", + "en": "Password Changed", + "ja": "パスワード変更" + }, + "description": { + "ko": "비밀번호 변경 완료 시 발송되는 알림", + "en": "Notification sent when password is changed" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "action_url", + "description": "로그인 페이지 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "core.auth.after_password_changed" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 5, + "definition_id": 3, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 비밀번호가 변경되었습니다", + "en": "[{app_name}] Your Password Has Been Changed", + "ja": "[{app_name}] パスワードが変更されました" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

계정의 비밀번호가 성공적으로 변경되었습니다.

본인이 변경하지 않았다면, 즉시 고객 지원팀에 문의하시기 바랍니다.

로그인하기

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

Your account password has been successfully changed.

If you did not make this change, please contact our support team immediately.

Log In

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

アカウントのパスワードが正常に変更されました。

ご本人様による操作でない場合は、直ちにカスタマーサポートまでお問い合わせください。

ログインする

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 6, + "definition_id": 3, + "channel": "database", + "subject": { + "ko": "비밀번호가 변경되었습니다", + "en": "Your password has been changed", + "ja": "パスワードが変更されました" + }, + "body": { + "ko": "{name}님, 비밀번호가 변경되었습니다. 본인이 변경하지 않았다면 즉시 고객 지원팀에 문의하시기 바랍니다.", + "en": "{name}, your password has been changed. If you did not make this change, please contact support immediately.", + "ja": "{name}様、パスワードが変更されました。ご本人様による操作でない場合は、直ちにカスタマーサポートまでお問い合わせください。" + }, + "click_url": "/mypage/change-password", + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:44:00", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 4, + "id": 4, + "type": "new_comment", + "hook_prefix": "sirsoft-board", + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "name": { + "ko": "새 댓글 알림", + "en": "New Comment Notification", + "ja": "新しいコメント通知" + }, + "description": { + "ko": "게시글에 새 댓글이 작성되면 게시글 작성자에게 발송", + "en": "Sent to post author when a new comment is posted", + "ja": "投稿に新しいコメントが作成されると、投稿者に送信されます" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "board_name", + "description": "게시판 이름" + }, + { + "key": "post_title", + "description": "게시글 제목" + }, + { + "key": "comment_author", + "description": "댓글 작성자" + }, + { + "key": "comment_content", + "description": "댓글 내용 (200자)" + }, + { + "key": "post_url", + "description": "게시글 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-board.comment.after_create" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 7, + "definition_id": 4, + "channel": "mail", + "subject": { + "ko": "[{board_name}] 게시글에 새 댓글이 등록되었습니다", + "en": "[{board_name}] New comment on your post", + "ja": "[{board_name}] 投稿に新しいコメントが登録されました" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

{board_name} 게시판의 게시글에 {comment_author}님이 댓글을 남겼습니다.

{comment_content}
게시글 보기

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

{comment_author} commented on your post in {board_name}.

{comment_content}
View Post

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

{board_name} 掲示板の投稿に {comment_author}様がコメントを残しました。

{comment_content}
投稿を表示

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "related_user", + "relation": "post_author", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 8, + "definition_id": 4, + "channel": "database", + "subject": { + "ko": "게시글에 새 댓글이 달렸습니다", + "en": "New comment on your post", + "ja": "投稿に新しいコメントが付きました" + }, + "body": { + "ko": "{comment_author}님이 '{board_name}' 게시글 '{post_title}'에 댓글을 남겼습니다.", + "en": "{comment_author} commented on your post '{post_title}' in '{board_name}'.", + "ja": "{comment_author}様が '{board_name}' の投稿 '{post_title}' にコメントを残しました。" + }, + "click_url": "{post_url}", + "recipients": [ + { + "type": "related_user", + "relation": "post_author", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 5, + "id": 5, + "type": "reply_comment", + "hook_prefix": "sirsoft-board", + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "name": { + "ko": "대댓글 알림", + "en": "Reply Comment Notification", + "ja": "返信通知" + }, + "description": { + "ko": "댓글에 대댓글이 작성되면 댓글 작성자에게 발송", + "en": "Sent to comment author when a reply is posted", + "ja": "コメントに返信が作成されると、コメント作成者に送信されます" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "board_name", + "description": "게시판 이름" + }, + { + "key": "post_title", + "description": "게시글 제목" + }, + { + "key": "comment_author", + "description": "답글 작성자" + }, + { + "key": "comment_content", + "description": "답글 내용 (200자)" + }, + { + "key": "post_url", + "description": "게시글 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-board.comment.after_create" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 9, + "definition_id": 5, + "channel": "mail", + "subject": { + "ko": "[{board_name}] 댓글에 답글이 등록되었습니다", + "en": "[{board_name}] Reply to your comment", + "ja": "[{board_name}] コメントに返信が登録されました" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

{board_name} 게시판에서 {comment_author}님이 댓글에 답글을 남겼습니다.

{comment_content}
게시글 보기

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

{comment_author} replied to your comment in {board_name}.

{comment_content}
View Post

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

{board_name} 掲示板で {comment_author}様がコメントに返信を残しました。

{comment_content}
投稿を表示

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "related_user", + "relation": "parent_comment_author", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 10, + "definition_id": 5, + "channel": "database", + "subject": { + "ko": "댓글에 답글이 달렸습니다", + "en": "New reply to your comment", + "ja": "コメントに返信が付きました" + }, + "body": { + "ko": "{comment_author}님이 '{board_name}'의 댓글에 답글을 남겼습니다.", + "en": "{comment_author} replied to your comment in '{board_name}'.", + "ja": "{comment_author}様が '{board_name}' のコメントに返信を残しました。" + }, + "click_url": "{post_url}", + "recipients": [ + { + "type": "related_user", + "relation": "parent_comment_author", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 6, + "id": 6, + "type": "post_reply", + "hook_prefix": "sirsoft-board", + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "name": { + "ko": "답변글 알림", + "en": "Post Reply Notification", + "ja": "回答通知" + }, + "description": { + "ko": "게시글에 답변글이 작성되면 원글 작성자에게 발송", + "en": "Sent to original post author when a reply post is created", + "ja": "投稿に回答が作成されると、元の投稿者に送信されます" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "board_name", + "description": "게시판 이름" + }, + { + "key": "post_title", + "description": "게시글 제목" + }, + { + "key": "post_url", + "description": "게시글 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-board.post.after_create" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 11, + "definition_id": 6, + "channel": "mail", + "subject": { + "ko": "[{board_name}] 게시글에 답변글이 등록되었습니다", + "en": "[{board_name}] Reply to your post", + "ja": "[{board_name}] 投稿に回答が登録されました" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

{board_name} 게시판의 게시글 \"{post_title}\"에 답변글이 등록되었습니다.

게시글 보기

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

A reply has been posted to your post \"{post_title}\" in {board_name}.

View Post

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

{board_name} 掲示板の投稿 \"{post_title}\" に回答が登録されました。

投稿を表示

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "related_user", + "relation": "original_post_author", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 12, + "definition_id": 6, + "channel": "database", + "subject": { + "ko": "게시글에 답변이 등록되었습니다", + "en": "A reply has been posted to your post", + "ja": "投稿に回答が登録されました" + }, + "body": { + "ko": "'{board_name}'의 게시글 '{post_title}'에 답변이 등록되었습니다.", + "en": "A reply has been posted to your post '{post_title}' in '{board_name}'.", + "ja": "'{board_name}' の投稿 '{post_title}' に回答が登録されました。" + }, + "click_url": "{post_url}", + "recipients": [ + { + "type": "related_user", + "relation": "original_post_author", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 7, + "id": 7, + "type": "post_action", + "hook_prefix": "sirsoft-board", + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "name": { + "ko": "게시글/댓글 처리 알림", + "en": "Content Action Notification", + "ja": "投稿/コメント処理通知" + }, + "description": { + "ko": "게시글/댓글 블라인드/삭제/복원 시 작성자에게 발송", + "en": "Sent to author on blind/delete/restore actions", + "ja": "投稿/コメント非表示/削除/復元時に作成者に送信されます" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "board_name", + "description": "게시판 이름" + }, + { + "key": "post_title", + "description": "게시글 제목" + }, + { + "key": "action_type", + "description": "처리 유형 (블라인드/삭제/복원)" + }, + { + "key": "target_type", + "description": "처리 대상 (게시글/댓글)" + }, + { + "key": "post_url", + "description": "게시글 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-board.post.after_blind", + "sirsoft-board.post.after_delete", + "sirsoft-board.post.after_restore", + "sirsoft-board.comment.after_blind", + "sirsoft-board.comment.after_delete", + "sirsoft-board.comment.after_restore" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 13, + "definition_id": 7, + "channel": "mail", + "subject": { + "ko": "[{board_name}] '{post_title}' {target_type}이(가) {action_type} 처리되었습니다", + "en": "[{board_name}] Your {target_type} \"{post_title}\" has been {action_type}", + "ja": "[{board_name}] '{post_title}' {target_type}が {action_type} 処理されました" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

{board_name} 게시판의 \"{post_title}\" {target_type}이(가) 관리자에 의해 {action_type} 처리되었습니다.

문의사항이 있으시면 관리자에게 연락해 주세요.

게시글 보기

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

Your {target_type} \"{post_title}\" in {board_name} has been {action_type} by an administrator.

If you have any questions, please contact the administrator.

View Post

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

{board_name} 掲示板の \"{post_title}\" {target_type}が管理者により {action_type} 処理されました。

ご質問がございましたら、管理者にお問い合わせください。

投稿を表示

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "related_user", + "relation": "post_author" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 14, + "definition_id": 7, + "channel": "database", + "subject": { + "ko": "{target_type}이(가) 처리되었습니다", + "en": "Your {target_type} has been actioned", + "ja": "{target_type}が処理されました" + }, + "body": { + "ko": "'{board_name}'의 '{post_title}' {target_type}이(가) {action_type} 처리되었습니다.", + "en": "Your {target_type} '{post_title}' in '{board_name}' has been {action_type}.", + "ja": "'{board_name}' の '{post_title}' {target_type}が {action_type} 処理されました。" + }, + "click_url": "{post_url}", + "recipients": [ + { + "type": "related_user", + "relation": "post_author" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 8, + "id": 8, + "type": "new_post_admin", + "hook_prefix": "sirsoft-board", + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "name": { + "ko": "새 게시글 관리자 알림", + "en": "New Post Admin Notification", + "ja": "新規投稿管理者通知" + }, + "description": { + "ko": "새 게시글 작성 시 관리자에게 발송", + "en": "Sent to admin when a new post is created", + "ja": "新しい投稿が作成されると、管理者に送信されます" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름 (관리자)" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "board_name", + "description": "게시판 이름" + }, + { + "key": "post_title", + "description": "게시글 제목" + }, + { + "key": "post_author", + "description": "게시글 작성자" + }, + { + "key": "post_url", + "description": "게시글 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-board.post.after_create" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 15, + "definition_id": 8, + "channel": "mail", + "subject": { + "ko": "[{board_name}] 새 게시글이 등록되었습니다", + "en": "[{board_name}] New post has been created", + "ja": "[{board_name}] 新しい投稿が登録されました" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

{board_name} 게시판에 {post_author}님이 새 게시글을 등록했습니다.

게시글 제목: {post_title}

게시글 보기

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

{post_author} created a new post in {board_name}.

Title: {post_title}

View Post

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

{board_name} 掲示板に {post_author}様が新しい投稿を登録しました。

投稿タイトル: {post_title}

投稿を表示

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "related_user", + "relation": "board_managers", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 16, + "definition_id": 8, + "channel": "database", + "subject": { + "ko": "새 게시글이 등록되었습니다", + "en": "New post registered", + "ja": "新しい投稿が登録されました" + }, + "body": { + "ko": "{post_author}님이 '{board_name}'에 새 게시글 '{post_title}'을 등록했습니다.", + "en": "{post_author} posted '{post_title}' in '{board_name}'.", + "ja": "{post_author}様が '{board_name}' に新しい投稿 '{post_title}' を登録しました。" + }, + "click_url": "{post_url}", + "recipients": [ + { + "type": "related_user", + "relation": "board_managers", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 9, + "id": 9, + "type": "report_received_admin", + "hook_prefix": "sirsoft-board", + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "name": { + "ko": "신고 접수 관리자 알림", + "en": "Report Received Admin Notification", + "ja": "通報受付管理者通知" + }, + "description": { + "ko": "신고 접수 시 관리자에게 발송", + "en": "Sent to admin when a report is received", + "ja": "通報受付時に管理者に送信されます" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "board_name", + "description": "게시판 이름" + }, + { + "key": "post_title", + "description": "신고 대상 게시글 제목" + }, + { + "key": "target_type", + "description": "신고 대상 유형 (게시글/댓글)" + }, + { + "key": "reason_type", + "description": "신고 사유" + }, + { + "key": "report_url", + "description": "신고 관리 페이지 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-board.report.after_create" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 17, + "definition_id": 9, + "channel": "mail", + "subject": { + "ko": "[{board_name}] \"{post_title}\"에 대한 신고가 접수되었습니다", + "en": "[{board_name}] A new report has been received for \"{post_title}\"", + "ja": "[{board_name}] \"{post_title}\" の通報が受け付けられました" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

{board_name} 게시판에서 {target_type} \"{post_title}\"에 대한 새 신고가 접수되었습니다.

신고 사유: {reason_type}

신고 관리 페이지로 이동

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

A new report has been received for the {target_type} \"{post_title}\" in {board_name}.

Reason: {reason_type}

Go to Report Management

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

{board_name} 掲示板で {target_type} \"{post_title}\" に対する新しい通報が受け付けられました。

通報理由: {reason_type}

通報管理ページに移動

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "permission", + "value": "sirsoft-board.reports.manage", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 18, + "definition_id": 9, + "channel": "database", + "subject": { + "ko": "신고가 접수되었습니다", + "en": "New report received", + "ja": "通報が受け付けられました" + }, + "body": { + "ko": "'{board_name}'의 {target_type} '{post_title}'에 대한 신고({reason_type})가 접수되었습니다.", + "en": "A report ({reason_type}) on {target_type} '{post_title}' in '{board_name}' has been received.", + "ja": "'{board_name}' の {target_type} '{post_title}' に対する通報({reason_type})が受け付けられました。" + }, + "click_url": "{report_url}", + "recipients": [ + { + "type": "permission", + "value": "sirsoft-board.reports.manage", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 10, + "id": 10, + "type": "report_action", + "hook_prefix": "sirsoft-board", + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "name": { + "ko": "신고 처리 결과 알림", + "en": "Report Action Notification", + "ja": "通報処理結果通知" + }, + "description": { + "ko": "신고 처리 완료 시 게시글 작성자에게 발송", + "en": "Sent to post author when a report action is taken", + "ja": "通報処理完了時に投稿作成者に送信されます" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "board_name", + "description": "게시판 이름" + }, + { + "key": "post_title", + "description": "게시글 제목" + }, + { + "key": "action_type", + "description": "처리 유형 (블라인드/삭제/복원)" + }, + { + "key": "target_type", + "description": "처리 대상 (게시글/댓글)" + }, + { + "key": "post_url", + "description": "게시글 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-board.post.after_blind", + "sirsoft-board.post.after_delete", + "sirsoft-board.post.after_restore", + "sirsoft-board.comment.after_blind", + "sirsoft-board.comment.after_delete", + "sirsoft-board.comment.after_restore" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 19, + "definition_id": 10, + "channel": "mail", + "subject": { + "ko": "[{board_name}] '{post_title}' {target_type}이(가) {action_type} 처리되었습니다", + "en": "[{board_name}] Your {target_type} \"{post_title}\" has been {action_type}", + "ja": "[{board_name}] '{post_title}' {target_type}が {action_type} 処理されました" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

{board_name} 게시판의 \"{post_title}\" {target_type}이(가) 신고 처리에 의해 {action_type} 처리되었습니다.

문의사항이 있으시면 관리자에게 연락해 주세요.

게시글 보기

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

Your {target_type} \"{post_title}\" in {board_name} has been {action_type} due to reports.

If you have any questions, please contact the administrator.

View Post

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

{board_name} 掲示板の \"{post_title}\" {target_type}が通報処理により {action_type} 処理されました。

ご質問がございましたら、管理者にお問い合わせください。

投稿を表示

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "related_user", + "relation": "post_author" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 20, + "definition_id": 10, + "channel": "database", + "subject": { + "ko": "신고 처리 결과 안내", + "en": "Report action result", + "ja": "通報処理結果案内" + }, + "body": { + "ko": "'{board_name}'의 '{post_title}' {target_type}이(가) {action_type} 처리되었습니다.", + "en": "Your {target_type} '{post_title}' in '{board_name}' has been {action_type}.", + "ja": "'{board_name}' の '{post_title}' {target_type}が {action_type} 処理されました。" + }, + "click_url": "{post_url}", + "recipients": [ + { + "type": "related_user", + "relation": "post_author" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 11, + "id": 11, + "type": "order_confirmed", + "hook_prefix": "sirsoft-ecommerce", + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "name": { + "ko": "주문 확인", + "en": "Order Confirmed", + "ja": "注文確認" + }, + "description": { + "ko": "주문 확인 시 고객에게 발송", + "en": "Sent to customer when order is confirmed", + "ja": "注文確認時に顧客に送信" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트 이름" + }, + { + "key": "order_number", + "description": "주문번호" + }, + { + "key": "total_amount", + "description": "결제 금액" + }, + { + "key": "order_url", + "description": "주문 상세 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-ecommerce.order.after_confirm" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 21, + "definition_id": 11, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 주문이 확인되었습니다 (주문번호: {order_number})", + "en": "[{app_name}] Your order has been confirmed (Order #{order_number})", + "ja": "[{app_name}] ご注文が確認されました (注文番号: {order_number})" + }, + "body": { + "ko": "

주문 확인

{name}님, 주문해 주셔서 감사합니다.

주문번호: {order_number}

결제금액: {total_amount}

주문 상세 내용은 아래 버튼을 클릭하여 확인하실 수 있습니다.


본 메일은 {app_name}에서 발송되었습니다.

", + "en": "

Order Confirmed

Dear {name}, thank you for your order.

Order Number: {order_number}

Total Amount: {total_amount}

Click the button below to view your order details.


This email was sent from {app_name}.

", + "ja": "

注文確認

{name}様、ご注文ありがとうございます。

注文番号: {order_number}

決済金額: {total_amount}

ご注文の詳細については、下のボタンをクリックしてご確認いただけます。


本メールは{app_name}から送信されています。

" + }, + "click_url": null, + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 22, + "definition_id": 11, + "channel": "database", + "subject": { + "ko": "주문이 확인되었습니다", + "en": "Your order has been confirmed", + "ja": "ご注文が確認されました" + }, + "body": { + "ko": "{name}님, 주문번호 {order_number}의 주문이 확인되었습니다.", + "en": "{name}, your order {order_number} has been confirmed.", + "ja": "{name}様、注文番号{order_number}のご注文が確認されました。" + }, + "click_url": "{order_url}", + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 12, + "id": 12, + "type": "order_shipped", + "hook_prefix": "sirsoft-ecommerce", + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "name": { + "ko": "배송 시작", + "en": "Order Shipped", + "ja": "配送開始" + }, + "description": { + "ko": "배송 시작 시 고객에게 발송", + "en": "Sent to customer when order is shipped", + "ja": "配送開始時に顧客に送信" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트 이름" + }, + { + "key": "order_number", + "description": "주문번호" + }, + { + "key": "carrier_name", + "description": "택배사 이름" + }, + { + "key": "tracking_number", + "description": "운송장 번호" + }, + { + "key": "order_url", + "description": "주문 상세 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-ecommerce.order.after_ship" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 23, + "definition_id": 12, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 주문하신 상품이 발송되었습니다 (주문번호: {order_number})", + "en": "[{app_name}] Your order has been shipped (Order #{order_number})", + "ja": "[{app_name}] ご注文の商品が発送されました (注文番号: {order_number})" + }, + "body": { + "ko": "

배송 시작 안내

{name}님, 주문하신 상품이 발송되었습니다.

주문번호: {order_number}

택배사: {carrier_name}

운송장번호: {tracking_number}

주문 상세 및 배송 현황은 아래 버튼을 클릭하여 확인하실 수 있습니다.


본 메일은 {app_name}에서 발송되었습니다.

", + "en": "

Order Shipped

Dear {name}, your order has been shipped.

Order Number: {order_number}

Carrier: {carrier_name}

Tracking Number: {tracking_number}

Click the button below to view your order and tracking details.


This email was sent from {app_name}.

", + "ja": "

配送開始のお知らせ

{name}様、ご注文の商品が発送されました。

注文番号: {order_number}

配送業者: {carrier_name}

送り状番号: {tracking_number}

ご注文の詳細および配送状況は、下のボタンをクリックしてご確認いただけます。


本メールは{app_name}から送信されています。

" + }, + "click_url": null, + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 24, + "definition_id": 12, + "channel": "database", + "subject": { + "ko": "상품이 발송되었습니다", + "en": "Your order has been shipped", + "ja": "商品が発送されました" + }, + "body": { + "ko": "{name}님, 주문번호 {order_number}이 {carrier_name}(송장번호: {tracking_number})으로 발송되었습니다.", + "en": "{name}, your order {order_number} has been shipped via {carrier_name} (tracking: {tracking_number}).", + "ja": "{name}様、注文番号{order_number}が{carrier_name}(送り状番号: {tracking_number})で発送されました。" + }, + "click_url": "{order_url}", + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 13, + "id": 13, + "type": "order_completed", + "hook_prefix": "sirsoft-ecommerce", + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "name": { + "ko": "구매 확정", + "en": "Order Completed", + "ja": "購入確定" + }, + "description": { + "ko": "구매 확정 시 고객에게 발송", + "en": "Sent to customer when order is completed", + "ja": "購入確定時に顧客に送信" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트 이름" + }, + { + "key": "order_number", + "description": "주문번호" + }, + { + "key": "total_amount", + "description": "결제 금액" + }, + { + "key": "order_url", + "description": "주문 상세 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-ecommerce.order.after_complete" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 25, + "definition_id": 13, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 구매가 확정되었습니다 (주문번호: {order_number})", + "en": "[{app_name}] Your purchase has been completed (Order #{order_number})", + "ja": "[{app_name}] ご購入が確定されました (注文番号: {order_number})" + }, + "body": { + "ko": "

구매 확정 안내

{name}님, 구매가 확정되었습니다. 이용해 주셔서 감사합니다.

주문번호: {order_number}

결제금액: {total_amount}

주문 내역은 아래 버튼을 클릭하여 확인하실 수 있습니다.


본 메일은 {app_name}에서 발송되었습니다.

", + "en": "

Purchase Completed

Dear {name}, your purchase has been completed. Thank you for shopping with us.

Order Number: {order_number}

Total Amount: {total_amount}

Click the button below to view your order history.


This email was sent from {app_name}.

", + "ja": "

購入確定のお知らせ

{name}様、ご購入が確定されました。ご利用ありがとうございます。

注文番号: {order_number}

決済金額: {total_amount}

ご注文内容は、下のボタンをクリックしてご確認いただけます。


本メールは{app_name}から送信されています。

" + }, + "click_url": null, + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 26, + "definition_id": 13, + "channel": "database", + "subject": { + "ko": "구매가 확정되었습니다", + "en": "Your purchase has been confirmed", + "ja": "ご購入が確定されました" + }, + "body": { + "ko": "{name}님, 주문번호 {order_number}의 구매가 확정되었습니다.", + "en": "{name}, your order {order_number} has been confirmed.", + "ja": "{name}様、注文番号{order_number}のご購入が確定されました。" + }, + "click_url": "{order_url}", + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 14, + "id": 14, + "type": "order_cancelled", + "hook_prefix": "sirsoft-ecommerce", + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "name": { + "ko": "주문 취소", + "en": "Order Cancelled", + "ja": "注文キャンセル" + }, + "description": { + "ko": "주문 취소 시 고객에게 발송", + "en": "Sent to customer when order is cancelled", + "ja": "注文キャンセル時に顧客に送信" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트 이름" + }, + { + "key": "order_number", + "description": "주문번호" + }, + { + "key": "cancel_reason", + "description": "취소 사유" + }, + { + "key": "order_url", + "description": "주문 상세 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-ecommerce.order.after_cancel" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 27, + "definition_id": 14, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 주문이 취소되었습니다 (주문번호: {order_number})", + "en": "[{app_name}] Your order has been cancelled (Order #{order_number})", + "ja": "[{app_name}] ご注文がキャンセルされました (注文番号: {order_number})" + }, + "body": { + "ko": "

주문 취소 안내

{name}님, 주문이 취소되었습니다.

주문번호: {order_number}

취소 사유: {cancel_reason}

환불은 결제 수단에 따라 3~7영업일 이내에 처리됩니다. 주문 상세는 아래 버튼을 클릭하여 확인하실 수 있습니다.


본 메일은 {app_name}에서 발송되었습니다.

", + "en": "

Order Cancelled

Dear {name}, your order has been cancelled.

Order Number: {order_number}

Cancel Reason: {cancel_reason}

Refunds will be processed within 3-7 business days depending on your payment method. Click the button below to view your order details.


This email was sent from {app_name}.

", + "ja": "

注文キャンセルのお知らせ

{name}様、ご注文がキャンセルされました。

注文番号: {order_number}

キャンセル理由: {cancel_reason}

返金は、決済方法に応じて3~7営業日以内に処理されます。ご注文詳細は、下のボタンをクリックしてご確認いただけます。


本メールは{app_name}から送信されています。

" + }, + "click_url": null, + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 28, + "definition_id": 14, + "channel": "database", + "subject": { + "ko": "주문이 취소되었습니다", + "en": "Your order has been cancelled", + "ja": "ご注文がキャンセルされました" + }, + "body": { + "ko": "{name}님, 주문번호 {order_number}이 취소되었습니다. 사유: {cancel_reason}", + "en": "{name}, your order {order_number} has been cancelled. Reason: {cancel_reason}", + "ja": "{name}様、注文番号{order_number}がキャンセルされました。理由: {cancel_reason}" + }, + "click_url": "{order_url}", + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 15, + "id": 15, + "type": "new_order_admin", + "hook_prefix": "sirsoft-ecommerce", + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "name": { + "ko": "신규 주문 관리자 알림", + "en": "New Order Admin Notification", + "ja": "新規注文管理者通知" + }, + "description": { + "ko": "신규 주문 접수 시 관리자에게 발송", + "en": "Sent to admin when a new order is placed", + "ja": "新規注文受付時に管理者に送信" + }, + "variables": [ + { + "key": "name", + "description": "수신자(관리자) 이름" + }, + { + "key": "app_name", + "description": "사이트 이름" + }, + { + "key": "order_number", + "description": "주문번호" + }, + { + "key": "customer_name", + "description": "주문자 이름" + }, + { + "key": "total_amount", + "description": "결제 금액" + }, + { + "key": "order_url", + "description": "주문 관리 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-ecommerce.order.after_create" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 29, + "definition_id": 15, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 신규 주문이 접수되었습니다 (주문번호: {order_number})", + "en": "[{app_name}] New order received (Order #{order_number})", + "ja": "[{app_name}] 新規注文が受付されました (注文番号: {order_number})" + }, + "body": { + "ko": "

신규 주문 접수

{name}님, 새로운 주문이 접수되었습니다.

주문번호: {order_number}

주문자: {customer_name}

결제금액: {total_amount}

관리자 페이지에서 주문 상세를 확인해 주세요.


본 메일은 {app_name}에서 발송되었습니다.

", + "en": "

New Order Received

Dear {name}, a new order has been received.

Order Number: {order_number}

Customer: {customer_name}

Total Amount: {total_amount}

Please review the order details in the admin panel.


This email was sent from {app_name}.

", + "ja": "

新規注文受付

{name}様、新しいご注文が受付されました。

注文番号: {order_number}

ご注文者: {customer_name}

決済金額: {total_amount}

管理者ページでご注文詳細をご確認ください。


本メールは{app_name}から送信されています。

" + }, + "click_url": null, + "recipients": [ + { + "type": "role", + "value": "admin", + "exclude_trigger_user": true, + "display_name": "관리자" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 30, + "definition_id": 15, + "channel": "database", + "subject": { + "ko": "새로운 주문이 접수되었습니다", + "en": "New order received", + "ja": "新しいご注文が受付されました" + }, + "body": { + "ko": "{customer_name}님이 주문번호 {order_number} (결제금액: {total_amount})을 접수했습니다.", + "en": "{customer_name} placed order {order_number} (total: {total_amount}).", + "ja": "{customer_name}様が注文番号{order_number} (決済金額: {total_amount})を受付しました。" + }, + "click_url": "{order_url}", + "recipients": [ + { + "type": "role", + "value": "admin", + "exclude_trigger_user": true, + "display_name": "관리자" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 16, + "id": 16, + "type": "inquiry_received", + "hook_prefix": "sirsoft-ecommerce", + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "name": { + "ko": "상품 문의 접수", + "en": "Inquiry Received", + "ja": "商品問い合わせ受付" + }, + "description": { + "ko": "상품 문의 접수 시 관리자에게 발송", + "en": "Sent to admin when a product inquiry is received", + "ja": "商品問い合わせ受付時に管理者に送信" + }, + "variables": [ + { + "key": "name", + "description": "수신자(관리자) 이름" + }, + { + "key": "app_name", + "description": "사이트 이름" + }, + { + "key": "product_name", + "description": "상품명" + }, + { + "key": "customer_name", + "description": "문의자 이름" + }, + { + "key": "inquiry_content", + "description": "문의 내용 (요약)" + }, + { + "key": "inquiry_url", + "description": "문의 관리 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-ecommerce.product_inquiry.after_create" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 31, + "definition_id": 16, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 새로운 상품 문의가 접수되었습니다", + "en": "[{app_name}] New product inquiry received", + "ja": "[{app_name}] 新しい商品問い合わせが受付されました" + }, + "body": { + "ko": "

새 상품 문의 접수

{name}님, 새로운 상품 문의가 접수되었습니다.

상품명: {product_name}

문의자: {customer_name}

문의 내용: {inquiry_content}

관리자 페이지에서 문의 내용을 확인하고 답변해 주세요.


본 메일은 {app_name}에서 발송되었습니다.

", + "en": "

New Product Inquiry

Dear {name}, a new product inquiry has been received.

Product: {product_name}

Customer: {customer_name}

Inquiry: {inquiry_content}

Please review the inquiry and provide a response in the admin panel.


This email was sent from {app_name}.

", + "ja": "

新しい商品問い合わせ受付

{name}様、新しい商品問い合わせが受付されました。

商品名: {product_name}

お問い合わせ者: {customer_name}

問い合わせ内容: {inquiry_content}

管理者ページで問い合わせ内容をご確認いただき、回答してください。


本メールは{app_name}から送信されています。

" + }, + "click_url": null, + "recipients": [ + { + "type": "role", + "value": "admin", + "exclude_trigger_user": true, + "display_name": "관리자" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 32, + "definition_id": 16, + "channel": "database", + "subject": { + "ko": "새로운 상품 문의가 접수되었습니다", + "en": "New product inquiry received", + "ja": "新しい商品問い合わせが受付されました" + }, + "body": { + "ko": "{customer_name}님이 \"{product_name}\" 상품에 문의를 남겼습니다.", + "en": "{customer_name} left an inquiry on \"{product_name}\".", + "ja": "{customer_name}様が\"{product_name}\"商品について問い合わせを送信しました。" + }, + "click_url": "{inquiry_url}", + "recipients": [ + { + "type": "role", + "value": "admin", + "exclude_trigger_user": true, + "display_name": "관리자" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 17, + "id": 17, + "type": "inquiry_replied", + "hook_prefix": "sirsoft-ecommerce", + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "name": { + "ko": "문의 답변 완료", + "en": "Inquiry Replied", + "ja": "問い合わせ回答完了" + }, + "description": { + "ko": "문의 답변 시 고객에게 발송", + "en": "Sent to customer when inquiry is replied", + "ja": "問い合わせ回答時に顧客に送信" + }, + "variables": [ + { + "key": "name", + "description": "수신자(문의자) 이름" + }, + { + "key": "app_name", + "description": "사이트 이름" + }, + { + "key": "product_name", + "description": "상품명" + }, + { + "key": "inquiry_content", + "description": "원래 문의 내용 (요약)" + }, + { + "key": "inquiry_url", + "description": "문의 상세 URL (마이페이지)" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-ecommerce.product_inquiry.after_reply" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 33, + "definition_id": 17, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 상품 문의에 답변이 등록되었습니다", + "en": "[{app_name}] Your product inquiry has been answered", + "ja": "[{app_name}] 商品問い合わせへの回答が登録されました" + }, + "body": { + "ko": "

문의 답변 안내

{name}님, 문의하신 내용에 답변이 등록되었습니다.

상품명: {product_name}

문의 내용: {inquiry_content}

아래 버튼을 클릭하여 답변 내용을 확인하세요.


본 메일은 {app_name}에서 발송되었습니다.

", + "en": "

Inquiry Answered

Dear {name}, your product inquiry has been answered.

Product: {product_name}

Your Inquiry: {inquiry_content}

Click the button below to view the response.


This email was sent from {app_name}.

", + "ja": "

問い合わせ回答のお知らせ

{name}様、お問い合わせいただいた内容に回答が登録されました。

商品名: {product_name}

問い合わせ内容: {inquiry_content}

下のボタンをクリックして回答内容をご確認ください。


本メールは{app_name}から送信されています。

" + }, + "click_url": null, + "recipients": [ + { + "type": "related_user", + "relation": "author" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 34, + "definition_id": 17, + "channel": "database", + "subject": { + "ko": "문의 답변이 등록되었습니다", + "en": "Your inquiry has been answered", + "ja": "問い合わせ回答が登録されました" + }, + "body": { + "ko": "{name}님, \"{product_name}\" 상품 문의에 답변이 등록되었습니다.", + "en": "{name}, your inquiry on \"{product_name}\" has been answered.", + "ja": "{name}様、\"{product_name}\"商品の問い合わせに回答が登録されました。" + }, + "click_url": "{inquiry_url}", + "recipients": [ + { + "type": "related_user", + "relation": "author" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "pagination": { + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 17, + "from": 1, + "to": 17, + "has_more_pages": false + }, + "abilities": { + "can_update": true + } + } + }, + "activityLogs": { + "data": { + "data": [ + { + "id": 1, + "action": "user.login", + "description": "관리자 로그인", + "causer_name": "샘플 관리자", + "subject_type": "User", + "ip_address": "127.0.0.1", + "created_at": "2026-05-29T09:00:00+09:00" + }, + { + "id": 2, + "action": "post.created", + "description": "게시물 생성", + "causer_name": "샘플 회원", + "subject_type": "Post", + "ip_address": "192.168.0.10", + "created_at": "2026-05-28T15:30:00+09:00" + }, + { + "id": 3, + "action": "settings.updated", + "description": "환경설정 변경", + "causer_name": "샘플 관리자", + "subject_type": "Setting", + "ip_address": "127.0.0.1", + "created_at": "2026-05-27T11:20:00+09:00" + } + ], + "pagination": { + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3 + }, + "abilities": { + "can_delete": true + } + } + }, + "admin_menu": { + "data": [ + { + "id": 1, + "name": "대시보드", + "url": "/admin/dashboard", + "icon": "dashboard", + "parent_id": null, + "children": [] + }, + { + "id": 2, + "name": "회원 관리", + "url": "/admin/users", + "icon": "users", + "parent_id": null, + "children": [] + }, + { + "id": 3, + "name": "환경설정", + "url": "/admin/settings", + "icon": "settings", + "parent_id": null, + "children": [] + } + ] + }, + "adminIdentityPolicies": { + "data": { + "data": [ + { + "id": 21, + "key": "sirsoft-ecommerce.checkout.before_pay", + "scope": "hook", + "target": "sirsoft-ecommerce.checkout.before_payment", + "purpose": "checkout_verification", + "provider_id": null, + "grace_minutes": 30, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:43:19", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 20, + "key": "sirsoft-ecommerce.payment.confirm_deposit", + "scope": "hook", + "target": "sirsoft-ecommerce.payment.before_confirm_deposit", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:43:19", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 19, + "key": "sirsoft-ecommerce.payment.approve", + "scope": "hook", + "target": "sirsoft-ecommerce.payment.before_approve", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:43:19", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 18, + "key": "sirsoft-ecommerce.payment.cancel", + "scope": "hook", + "target": "sirsoft-ecommerce.payment.before_cancel", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "applies_to": "both", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:43:19", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 17, + "key": "sirsoft-board.post.user_create", + "scope": "hook", + "target": "sirsoft-board.post.before_create", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 16, + "key": "sirsoft-board.report.create", + "scope": "hook", + "target": "sirsoft-board.report.before_create", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 30, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 15, + "key": "sirsoft-board.comment.user_delete", + "scope": "hook", + "target": "sirsoft-board.comment.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 30, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 14, + "key": "sirsoft-board.post.user_delete", + "scope": "hook", + "target": "sirsoft-board.post.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 13, + "key": "sirsoft-board.report.delete", + "scope": "hook", + "target": "sirsoft-board.report.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 12, + "key": "sirsoft-board.report.bulk_action", + "scope": "hook", + "target": "sirsoft-board.report.before_bulk_update_status", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 11, + "key": "sirsoft-board.post.blind", + "scope": "hook", + "target": "sirsoft-board.post.before_blind", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 10, + "key": "sirsoft-board.post.delete", + "scope": "hook", + "target": "sirsoft-board.post.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 9, + "key": "core.admin.extension_uninstall", + "scope": "route", + "target": "api.admin.{modules,plugins}.uninstall", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 8, + "key": "core.admin.user_delete", + "scope": "hook", + "target": "core.user.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 7, + "key": "core.admin.app_key_regenerate", + "scope": "route", + "target": "api.admin.settings.regenerate-app-key", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 6, + "key": "core.account.withdraw", + "scope": "route", + "target": "api.me.destroy", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": true, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 5, + "key": "core.profile.contact_change", + "scope": "hook", + "target": "core.user.before_update", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": true, + "priority": 100, + "conditions": { + "changed_fields": [ + "email", + "phone", + "mobile" + ] + }, + "source_type": "core", + "source_identifier": "core", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 4, + "key": "core.profile.password_change", + "scope": "route", + "target": "api.me.password", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": true, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 3, + "key": "core.auth.password_reset", + "scope": "hook", + "target": "core.auth.before_reset_password", + "purpose": "password_reset", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "both", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 2, + "key": "core.auth.signup_after_create", + "scope": "hook", + "target": "core.auth.after_register", + "purpose": "signup", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": { + "signup_stage": "after_create" + }, + "source_type": "core", + "source_identifier": "core", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + }, + "meta": { + "current_page": 1, + "per_page": 20, + "total": 21, + "last_page": 2 + } + } + }, + "appKey": { + "data": { + "app_key": "{MASKED}" + } + }, + "auto_deactivated_banner": { + "data": { + "items": { + "modules": [ + { + "identifier": "sirsoft-legacy", + "name": "레거시 모듈", + "reason": "dependency_missing", + "deactivated_at": "2026-05-25T10:00:00+09:00" + } + ], + "plugins": [], + "templates": [] + } + } + }, + "clone_source": { + "data": { + "id": 2, + "name": { + "ko": "운영자", + "en": "Manager" + }, + "key": "manager", + "description": "운영 권한 역할", + "is_system": false, + "type": "custom", + "types": [ + "custom", + "system" + ], + "scope_options": [ + "all", + "own" + ], + "scopes": { + "core.posts": "all" + }, + "permission_scopes": { + "core.posts": "all" + }, + "permissions": [ + "core.users.view", + "core.posts.view", + "core.posts.edit" + ] + } + }, + "current_extension": { + "data": { + "identifier": "ecommerce_sidebar", + "extension_type": "module", + "target_name": "_admin_base", + "source_label": "이커머스", + "is_modified": false, + "lock_version": 3, + "content": "{\n \"target\": \"_admin_base\",\n \"components\": []\n}", + "abilities": { + "can_update": true + } + } + }, + "current_layout": { + "data": { + "name": "admin_dashboard.json", + "path": "layouts/admin_dashboard.json", + "description": "관리자 대시보드 레이아웃", + "content": "{\n \"extends\": \"_admin_base\",\n \"components\": []\n}", + "has_update": false, + "lock_version": 3, + "updated_at": "2026-05-28T10:00:00+09:00", + "abilities": { + "can_update": true + } + } + }, + "current_user": { + "data": { + "id": 1, + "uuid": "sample-uuid-admin", + "name": "샘플 관리자", + "email": "admin@example.com", + "avatar_url": null, + "roles": [ + "super_admin" + ], + "permissions": [ + "core.*" + ] + } + }, + "dashboard_activities": { + "data": [ + { + "id": 1, + "title": "관리자 로그인", + "subtitle": "샘플 관리자", + "description": "샘플 관리자님이 로그인했습니다.", + "time": "2026-05-29T09:00:00+09:00" + }, + { + "id": 2, + "title": "게시물 등록", + "subtitle": "샘플 회원", + "description": "새 게시물이 등록되었습니다.", + "time": "2026-05-28T15:30:00+09:00" + }, + { + "id": 3, + "title": "주문 발생", + "subtitle": "고객", + "description": "신규 주문이 접수되었습니다.", + "time": "2026-05-28T12:10:00+09:00" + } + ] + }, + "dashboard_recent_notifications": { + "data": [ + { + "id": 301, + "type": "user_registration", + "channel": "email", + "recipient": "관리자", + "subject": "새로운 사용자 가입: 홍길동", + "status": "sent", + "time": "2 hours ago", + "timestamp": "2026-06-21T14:00:00+09:00" + }, + { + "id": 302, + "type": "order_confirmed", + "channel": "email", + "recipient": "김영희", + "subject": "주문 확인 (주문번호: 20260621-0001)", + "status": "sent", + "time": "1 hour ago", + "timestamp": "2026-06-21T15:00:00+09:00" + }, + { + "id": 303, + "type": "payment_reminder", + "channel": "sms", + "recipient": "박철수", + "subject": "입금 대기 안내", + "status": "sent", + "time": "30 minutes ago", + "timestamp": "2026-06-21T15:30:00+09:00" + }, + { + "id": 304, + "type": "shipment_notification", + "channel": "database", + "recipient": "이순신", + "subject": "배송 시작 알림", + "status": "pending", + "time": "10 minutes ago", + "timestamp": "2026-06-21T15:50:00+09:00" + }, + { + "id": 305, + "type": "review_request", + "channel": "email", + "recipient": "정하윤", + "subject": "상품 리뷰 작성 요청", + "status": "failed", + "time": "5 minutes ago", + "timestamp": "2026-06-21T15:55:00+09:00" + } + ] + }, + "dashboard_alerts": { + "data": { + "data": [] + } + }, + "dashboard_modules": { + "data": { + "data": [ + { + "identifier": "sirsoft-ecommerce", + "name": "이커머스", + "version": "1.0.0", + "status": "active" + }, + { + "identifier": "sirsoft-board", + "name": "게시판", + "version": "1.0.0", + "status": "active" + }, + { + "identifier": "sirsoft-page", + "name": "페이지", + "version": "1.0.0", + "status": "active" + } + ], + "current_page": 1, + "last_page": 1, + "per_page": 5, + "total": 3 + } + }, + "dashboard_plugins": { + "data": { + "data": [ + { + "identifier": "sirsoft-payment", + "name": "결제", + "version": "1.0.0", + "status": "active" + }, + { + "identifier": "sirsoft-seo", + "name": "SEO", + "version": "1.1.0", + "status": "active" + }, + { + "identifier": "sirsoft-analytics", + "name": "통계", + "version": "0.9.0", + "status": "inactive" + } + ], + "current_page": 1, + "last_page": 1, + "per_page": 5, + "total": 3 + } + }, + "dashboard_resources": { + "data": { + "cpu": { + "percentage": 32 + }, + "memory": { + "percentage": 58 + }, + "disk": { + "percentage": 71 + } + } + }, + "dashboard_resources_ws": { + "data": [] + }, + "dashboard_stats": { + "data": { + "total_users": { + "count": 1284, + "change_display": "+5.2%" + }, + "installed_modules": { + "total": 3, + "active": 3 + }, + "active_plugins": { + "total": 3, + "active": 2 + }, + "system_status": { + "label": "정상" + }, + "today_orders": { + "pending_payment": 4, + "payment_complete": 12, + "preparing": 6, + "shipping_ready": 3, + "shipping": 8, + "cancellations": 1, + "returns": 2 + }, + "today_posts": { + "posts": 18, + "comments": 42 + } + } + }, + "dashboard_stats_ws": { + "data": [] + }, + "dashboard_templates": { + "data": { + "data": [ + { + "identifier": "sirsoft-admin_basic", + "name": "관리자 기본", + "version": "1.0.0", + "status": "active", + "type": "admin" + }, + { + "identifier": "sirsoft-basic", + "name": "사용자 기본", + "version": "1.0.0", + "status": "active", + "type": "user" + }, + { + "identifier": "sirsoft-shop", + "name": "쇼핑몰", + "version": "0.8.0", + "status": "inactive", + "type": "user" + } + ], + "current_page": 1, + "last_page": 1, + "per_page": 5, + "total": 3 + } + }, + "extension_versions": { + "data": [ + { + "id": 3, + "version": "1.0.0", + "created_at": "2026-05-28T10:00:00+09:00", + "is_current": true + }, + { + "id": 2, + "version": "0.9.0", + "created_at": "2026-05-20T10:00:00+09:00", + "is_current": false + }, + { + "id": 1, + "version": "0.8.0", + "created_at": "2026-05-10T10:00:00+09:00", + "is_current": false + } + ] + }, + "identityLogs": { + "data": { + "data": [ + { + "id": 1, + "provider": "KG이니시스", + "purpose": "회원가입", + "channel": "mobile", + "status": "success", + "created_at": "2026-05-29T09:00:00+09:00" + }, + { + "id": 2, + "provider": "나이스", + "purpose": "비밀번호 재설정", + "channel": "mobile", + "status": "failed", + "created_at": "2026-05-28T18:00:00+09:00" + }, + { + "id": 3, + "provider": "KG이니시스", + "purpose": "회원가입", + "channel": "ipin", + "status": "success", + "created_at": "2026-05-27T14:00:00+09:00" + } + ], + "pagination": { + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3 + }, + "abilities": { + "can_purge": true + } + } + }, + "identityMessages": { + "data": { + "data": [ + { + "key": "signup.request", + "name": "회원가입 인증 요청", + "channel": "mobile", + "enabled": true + }, + { + "key": "signup.success", + "name": "회원가입 인증 완료", + "channel": "mobile", + "enabled": true + }, + { + "key": "reset.request", + "name": "비밀번호 재설정 인증", + "channel": "mobile", + "enabled": false + } + ], + "meta": { + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3 + }, + "abilities": { + "can_create": true + } + } + }, + "installed_plugins": { + "data": [ + { + "identifier": "sirsoft-payment", + "name": "결제", + "version": "1.0.0", + "status": "active", + "enabled": true + }, + { + "identifier": "sirsoft-seo", + "name": "SEO", + "version": "1.1.0", + "status": "active", + "enabled": true + } + ] + }, + "items": { + "data": { + "data": [ + { + "id": 1, + "title": "샘플 항목 1", + "status": "published", + "created_at": "2026-05-29T09:00:00+09:00" + }, + { + "id": 2, + "title": "샘플 항목 2", + "status": "draft", + "created_at": "2026-05-28T09:00:00+09:00" + }, + { + "id": 3, + "title": "샘플 항목 3", + "status": "published", + "created_at": "2026-05-27T09:00:00+09:00" + } + ], + "meta": { + "total": 3, + "per_page": 20, + "current_page": 1, + "last_page": 1 + } + } + }, + "language_pack_changelog": { + "data": [ + { + "version": "1.2.0", + "date": "2026-05-25", + "changes": [ + "신규 키 12건 추가", + "오타 수정" + ] + }, + { + "version": "1.1.0", + "date": "2026-05-10", + "changes": [ + "일본어 번역 보강" + ] + }, + { + "version": "1.0.0", + "date": "2026-04-30", + "changes": [ + "최초 릴리스" + ] + } + ] + }, + "language_pack_detail": { + "data": { + "identifier": "g7-core-ja", + "name": "일본어 언어팩", + "version": "1.2.0", + "locale": "ja", + "locale_native_name": "日本語", + "scope": "core", + "vendor": "sirsoft", + "license": "MIT", + "description": "코어 일본어 번역 팩", + "status": "active", + "source_type": "bundled", + "source_url": "", + "github_url": "", + "text_direction": "ltr", + "is_protected": true, + "has_update": false, + "target_identifier": "core", + "target_version_constraint": "^1.0", + "target_version_mismatch": false, + "installed_at": "2026-04-30T09:00:00+09:00", + "activated_at": "2026-04-30T09:00:00+09:00", + "manifest": { + "g7_version": "^1.0" + }, + "source_meta": { + "latest_version": "1.2.0" + }, + "validation_summary": { + "depends_on_core_locale": false + }, + "changelog_entries": [ + { + "version": "1.2.0", + "date": "2026-05-25", + "changes": [ + "신규 키 12건 추가" + ] + }, + { + "version": "1.1.0", + "date": "2026-05-10", + "changes": [ + "번역 보강" + ] + } + ] + } + }, + "language_packs": { + "data": { + "data": [ + { + "id": 1, + "code": "ko", + "name": "한국어 언어팩", + "version": "1.2.0", + "installed": true + }, + { + "id": 2, + "code": "en", + "name": "English Pack", + "version": "1.1.0", + "installed": true + }, + { + "id": 3, + "code": "ja", + "name": "日本語パック", + "version": "1.0.0", + "installed": false + } + ], + "meta": { + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3 + }, + "abilities": { + "can_install": true, + "can_check_updates": true, + "can_refresh_cache": true, + "can_update": true + } + } + }, + "layout_extensions": { + "data": [ + { + "identifier": "ecommerce_sidebar", + "name": "이커머스 사이드바", + "target": "_admin_base", + "enabled": true + }, + { + "identifier": "board_widget", + "name": "게시판 위젯", + "target": "admin_dashboard", + "enabled": true + }, + { + "identifier": "page_footer", + "name": "페이지 푸터", + "target": "_user_base", + "enabled": false + } + ] + }, + "layout_files": { + "data": [ + { + "name": "admin_dashboard.json", + "path": "layouts/admin_dashboard.json" + }, + { + "name": "admin_user_list.json", + "path": "layouts/admin_user_list.json" + }, + { + "name": "_admin_base.json", + "path": "layouts/_admin_base.json" + } + ] + }, + "layout_versions": { + "data": [ + { + "id": 3, + "version": "v3", + "created_at": "2026-05-28T10:00:00+09:00", + "is_current": true + }, + { + "id": 2, + "version": "v2", + "created_at": "2026-05-20T10:00:00+09:00", + "is_current": false + }, + { + "id": 1, + "version": "v1", + "created_at": "2026-05-10T10:00:00+09:00", + "is_current": false + } + ] + }, + "menus": { + "data": { + "data": [ + { + "id": 1, + "name": { + "ko": "대시보드", + "en": "Dashboard", + "ja": "ダッシュボード" + }, + "slug": "admin-dashboard", + "url": "/admin/dashboard", + "icon": "fas fa-tachometer-alt", + "order": 1, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + }, + { + "id": 2, + "name": { + "ko": "매니저", + "en": "Manager", + "ja": "マネージャー" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 2, + "name": { + "ko": "환경설정", + "en": "Settings", + "ja": "環境設定" + }, + "slug": "admin-settings", + "url": "/admin/settings", + "icon": "fas fa-cog", + "order": 2, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 3, + "name": { + "ko": "알림 발송 이력", + "en": "Notification Logs", + "ja": "通知発送履歴" + }, + "slug": "admin-notification-logs", + "url": "/admin/notification-logs", + "icon": "fas fa-bell", + "order": 3, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 4, + "name": { + "ko": "본인인증 이력", + "en": "Identity Logs", + "ja": "本人認証履歴" + }, + "slug": "admin-identity-logs", + "url": "/admin/identity/logs", + "icon": "fas fa-clipboard-check", + "order": 4, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 5, + "name": { + "ko": "활동 로그", + "en": "Activity Logs", + "ja": "アクティビティログ" + }, + "slug": "admin-activity-logs", + "url": "/admin/activity-logs", + "icon": "fas fa-history", + "order": 5, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 6, + "name": { + "ko": "메뉴 관리", + "en": "Menu Management", + "ja": "メニュー管理" + }, + "slug": "admin-menus", + "url": "/admin/menus", + "icon": "fas fa-bars", + "order": 6, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 7, + "name": { + "ko": "사용자 관리", + "en": "User Management", + "ja": "ユーザー管理" + }, + "slug": "admin-users", + "url": "/admin/users", + "icon": "fas fa-users", + "order": 7, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 8, + "name": { + "ko": "권한 관리", + "en": "Permission Management", + "ja": "権限管理" + }, + "slug": "admin-roles", + "url": "/admin/roles", + "icon": "fas fa-lock", + "order": 8, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 9, + "name": { + "ko": "모듈 관리", + "en": "Module Management", + "ja": "モジュール管理" + }, + "slug": "admin-modules", + "url": "/admin/modules", + "icon": "fas fa-cube", + "order": 9, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 10, + "name": { + "ko": "플러그인 관리", + "en": "Plugin Management", + "ja": "プラグイン管理" + }, + "slug": "admin-plugins", + "url": "/admin/plugins", + "icon": "fas fa-puzzle-piece", + "order": 10, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 11, + "name": { + "ko": "템플릿 관리", + "en": "Template Management", + "ja": "テンプレート管理" + }, + "slug": "admin-templates", + "url": "/admin/templates", + "icon": "fas fa-palette", + "order": 11, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 12, + "name": { + "ko": "스케쥴 관리", + "en": "Schedule Management", + "ja": "スケジュール管理" + }, + "slug": "admin-schedules", + "url": "/admin/schedules", + "icon": "fas fa-clock", + "order": 12, + "is_active": false, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 28, + "name": { + "ko": "페이지 관리", + "en": "Page Management", + "ja": "ページ管理" + }, + "slug": "sirsoft-page", + "url": "/admin/pages", + "icon": "fas fa-file-alt", + "order": 25, + "is_active": true, + "parent_id": null, + "extension_type": "module", + "extension_identifier": "sirsoft-page", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:35", + "updated_at": "2026-05-23 22:44:03", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 13, + "name": { + "ko": "게시판 관리", + "en": "Board Management", + "ja": "掲示板管理" + }, + "slug": "sirsoft-board", + "url": null, + "icon": "fas fa-clipboard-list", + "order": 30, + "is_active": true, + "parent_id": null, + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "children": [ + { + "id": 14, + "name": { + "ko": "환경설정", + "en": "Settings", + "ja": "環境設定" + }, + "slug": "sirsoft-board-settings", + "url": "/admin/boards/settings", + "icon": "fas fa-cog", + "order": 1, + "is_active": true, + "parent_id": 13, + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 15, + "name": { + "ko": "게시판 목록", + "en": "Board List", + "ja": "掲示板一覧" + }, + "slug": "sirsoft-board-list", + "url": "/admin/boards", + "icon": "fas fa-list", + "order": 2, + "is_active": true, + "parent_id": 13, + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 16, + "name": { + "ko": "게시판 신고현황", + "en": "Board Reports", + "ja": "掲示板通報状況" + }, + "slug": "sirsoft-board-reports", + "url": "/admin/boards/reports", + "icon": "fas fa-flag", + "order": 3, + "is_active": true, + "parent_id": 13, + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + } + ], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 17, + "name": { + "ko": "이커머스", + "en": "Ecommerce", + "ja": "eコマース" + }, + "slug": "sirsoft-ecommerce", + "url": null, + "icon": "fas fa-shopping-cart", + "order": 40, + "is_active": true, + "parent_id": null, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "children": [ + { + "id": 18, + "name": { + "ko": "환경설정", + "en": "Settings", + "ja": "環境設定" + }, + "slug": "sirsoft-ecommerce-settings", + "url": "/admin/ecommerce/settings", + "icon": "fas fa-cog", + "order": 1, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 19, + "name": { + "ko": "상품 관리", + "en": "Products", + "ja": "商品管理" + }, + "slug": "sirsoft-ecommerce-products", + "url": "/admin/ecommerce/products", + "icon": "fas fa-box", + "order": 2, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 20, + "name": { + "ko": "카테고리 관리", + "en": "Categories", + "ja": "カテゴリ管理" + }, + "slug": "sirsoft-ecommerce-categories", + "url": "/admin/ecommerce/categories", + "icon": "fas fa-folder", + "order": 3, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 21, + "name": { + "ko": "브랜드 관리", + "en": "Brands", + "ja": "ブランド管理" + }, + "slug": "sirsoft-ecommerce-brands", + "url": "/admin/ecommerce/brands", + "icon": "fas fa-tag", + "order": 4, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 22, + "name": { + "ko": "상품정보제공고시", + "en": "Product Notice", + "ja": "商品情報提供告示" + }, + "slug": "sirsoft-ecommerce-product-notices", + "url": "/admin/ecommerce/product-notices", + "icon": "fas fa-file-alt", + "order": 5, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 23, + "name": { + "ko": "공통정보 관리", + "en": "Common Info", + "ja": "共通情報管理" + }, + "slug": "sirsoft-ecommerce-common-info", + "url": "/admin/ecommerce/common-info", + "icon": "fas fa-info-circle", + "order": 6, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 24, + "name": { + "ko": "주문 관리", + "en": "Orders", + "ja": "注文管理" + }, + "slug": "sirsoft-ecommerce-orders", + "url": "/admin/ecommerce/orders", + "icon": "fas fa-receipt", + "order": 7, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 25, + "name": { + "ko": "쿠폰 관리", + "en": "Coupons", + "ja": "クーポン管理" + }, + "slug": "sirsoft-ecommerce-promotion-coupons", + "url": "/admin/ecommerce/promotion-coupons", + "icon": "fas fa-ticket-alt", + "order": 8, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 26, + "name": { + "ko": "배송정책", + "en": "Shipping Policies", + "ja": "配送ポリシー" + }, + "slug": "sirsoft-ecommerce-shipping-policies", + "url": "/admin/ecommerce/shipping-policies", + "icon": "fas fa-truck", + "order": 9, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 27, + "name": { + "ko": "리뷰 관리", + "en": "Reviews", + "ja": "レビュー管理" + }, + "slug": "sirsoft-ecommerce-reviews", + "url": "/admin/ecommerce/reviews", + "icon": "fas fa-star", + "order": 10, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + } + ], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 29, + "name": { + "ko": "GDPR 동의 이력", + "en": "GDPR Consent Log" + }, + "slug": "sirsoft-gdpr-consent-log", + "url": "/admin/plugins/sirsoft-gdpr/consent-log", + "icon": "fas fa-user-shield", + "order": 50, + "is_active": true, + "parent_id": null, + "extension_type": "plugin", + "extension_identifier": "sirsoft-gdpr", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + }, + { + "id": 6, + "name": { + "ko": "개인정보 운영자", + "en": "Privacy Operator", + "ja": "個人情報管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:42", + "updated_at": "2026-05-23 22:43:42", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } + ], + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } + }, + "moduleDetail": { + "data": { + "identifier": "sirsoft-ecommerce", + "name": "이커머스", + "version": "1.0.0", + "description": "쇼핑몰 모듈", + "author": "sirsoft", + "status": "active", + "enabled": true, + "dependencies": [], + "permissions": [ + "ecommerce.products.manage", + "ecommerce.orders.manage" + ], + "menus": [ + { + "name": "상품 관리", + "url": "/admin/ecommerce/products" + } + ], + "changelog": [ + "1.0.0 최초 릴리스" + ], + "readme": "이커머스 모듈 안내 문서" + } + }, + "moduleInstallPreview": { + "data": { + "identifier": "sirsoft-ecommerce", + "name": "이커머스", + "version": "1.0.0", + "dependencies": [], + "permissions": [ + "ecommerce.products.manage" + ], + "menus": [ + { + "name": "상품 관리", + "url": "/admin/ecommerce/products" + } + ], + "conflicts": [], + "requires_migration": true + } + }, + "modules": { + "data": { + "data": [ + { + "identifier": "sirsoft-ecommerce", + "name": "이커머스", + "version": "1.0.0", + "status": "active", + "enabled": true, + "author": "sirsoft", + "description": "쇼핑몰 모듈" + }, + { + "identifier": "sirsoft-board", + "name": "게시판", + "version": "1.0.0", + "status": "active", + "enabled": true, + "author": "sirsoft", + "description": "게시판 모듈" + }, + { + "identifier": "sirsoft-page", + "name": "페이지", + "version": "1.0.0", + "status": "active", + "enabled": true, + "author": "sirsoft", + "description": "정적 페이지 모듈" + } + ], + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3, + "abilities": { + "can_install": true + } + } + }, + "notification_unread_count": { + "data": { + "unread_count": 5 + } + }, + "notification_ws": { + "data": [] + }, + "notificationChannels": { + "data": { + "channels": [ + { + "channel": "mail", + "name": "이메일", + "enabled": true + }, + { + "channel": "sms", + "name": "SMS", + "enabled": false + }, + { + "channel": "push", + "name": "푸시", + "enabled": true + } + ] + } + }, + "notificationLogs": { + "data": { + "data": [ + { + "id": 1, + "title": "주문 알림", + "channel": "mail", + "recipient": "member@example.com", + "status": "sent", + "created_at": "2026-05-29T09:00:00+09:00" + }, + { + "id": 2, + "title": "비밀번호 변경", + "channel": "sms", + "recipient": "01012345678", + "status": "failed", + "created_at": "2026-05-28T18:00:00+09:00" + }, + { + "id": 3, + "title": "공지사항", + "channel": "push", + "recipient": "all", + "status": "sent", + "created_at": "2026-05-27T10:00:00+09:00" + } + ], + "pagination": { + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3 + }, + "abilities": { + "can_delete": true + } + } + }, + "notifications": { + "data": { + "data": [ + { + "id": 1, + "subject": "신규 주문", + "body": "새 주문이 접수되었습니다.", + "read_at": null, + "url": "/admin/ecommerce/orders", + "data": [], + "created_at": "2026-05-29T09:00:00+09:00" + }, + { + "id": 2, + "subject": "회원 가입", + "body": "신규 회원이 가입했습니다.", + "read_at": null, + "url": "/admin/users", + "data": [], + "created_at": "2026-05-28T18:00:00+09:00" + }, + { + "id": 3, + "subject": "시스템 알림", + "body": "백업이 완료되었습니다.", + "read_at": "2026-05-27T04:00:00+09:00", + "url": "", + "data": [], + "created_at": "2026-05-27T03:00:00+09:00" + } + ], + "pagination": { + "current_page": 1, + "last_page": 1, + "per_page": 15, + "total": 3, + "has_more_pages": false + } + }, + "channels": [ + { + "key": "email", + "label": "이메일", + "enabled": true + }, + { + "key": "sms", + "label": "SMS", + "enabled": false + }, + { + "key": "push", + "label": "푸시", + "enabled": true + } + ] + }, + "permissions": { + "data": { + "data": { + "types": [ + "custom", + "system" + ], + "default_type": "custom", + "scope_options": [ + "all", + "own" + ], + "permissions": [ + { + "key": "core.users.view", + "name": "회원 조회", + "group": "users" + }, + { + "key": "core.users.edit", + "name": "회원 수정", + "group": "users" + }, + { + "key": "core.posts.view", + "name": "게시물 조회", + "group": "posts" + }, + { + "key": "core.settings.manage", + "name": "환경설정 관리", + "group": "settings" + } + ] + } + } + }, + "pluginDetail": { + "data": { + "identifier": "sirsoft-payment", + "name": "결제", + "version": "1.0.0", + "description": "결제 플러그인", + "author": "sirsoft", + "status": "active", + "enabled": true, + "dependencies": [ + "sirsoft-ecommerce" + ], + "permissions": [ + "payment.transactions.view" + ], + "changelog": [ + "1.0.0 최초 릴리스" + ], + "readme": "결제 플러그인 안내 문서" + } + }, + "pluginInstallPreview": { + "data": { + "identifier": "sirsoft-payment", + "name": "결제", + "version": "1.0.0", + "dependencies": [ + "sirsoft-ecommerce" + ], + "permissions": [ + "payment.transactions.view" + ], + "conflicts": [], + "requires_migration": false + } + }, + "plugins": { + "data": { + "data": [ + { + "identifier": "sirsoft-payment", + "name": "결제", + "version": "1.0.0", + "status": "active", + "enabled": true, + "author": "sirsoft", + "description": "결제 플러그인" + }, + { + "identifier": "sirsoft-seo", + "name": "SEO", + "version": "1.1.0", + "status": "active", + "enabled": true, + "author": "sirsoft", + "description": "SEO 최적화 플러그인" + }, + { + "identifier": "sirsoft-analytics", + "name": "통계", + "version": "0.9.0", + "status": "inactive", + "enabled": false, + "author": "sirsoft", + "description": "방문 통계 플러그인" + } + ], + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3, + "abilities": { + "can_install": true + } + } + }, + "policies": { + "data": { + "data": [ + { + "id": 21, + "key": "sirsoft-ecommerce.checkout.before_pay", + "scope": "hook", + "target": "sirsoft-ecommerce.checkout.before_payment", + "purpose": "checkout_verification", + "provider_id": null, + "grace_minutes": 30, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:43:19", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 20, + "key": "sirsoft-ecommerce.payment.confirm_deposit", + "scope": "hook", + "target": "sirsoft-ecommerce.payment.before_confirm_deposit", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:43:19", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 19, + "key": "sirsoft-ecommerce.payment.approve", + "scope": "hook", + "target": "sirsoft-ecommerce.payment.before_approve", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:43:19", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 18, + "key": "sirsoft-ecommerce.payment.cancel", + "scope": "hook", + "target": "sirsoft-ecommerce.payment.before_cancel", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "applies_to": "both", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:43:19", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 17, + "key": "sirsoft-board.post.user_create", + "scope": "hook", + "target": "sirsoft-board.post.before_create", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 16, + "key": "sirsoft-board.report.create", + "scope": "hook", + "target": "sirsoft-board.report.before_create", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 30, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 15, + "key": "sirsoft-board.comment.user_delete", + "scope": "hook", + "target": "sirsoft-board.comment.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 30, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 14, + "key": "sirsoft-board.post.user_delete", + "scope": "hook", + "target": "sirsoft-board.post.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 13, + "key": "sirsoft-board.report.delete", + "scope": "hook", + "target": "sirsoft-board.report.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 12, + "key": "sirsoft-board.report.bulk_action", + "scope": "hook", + "target": "sirsoft-board.report.before_bulk_update_status", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 11, + "key": "sirsoft-board.post.blind", + "scope": "hook", + "target": "sirsoft-board.post.before_blind", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 10, + "key": "sirsoft-board.post.delete", + "scope": "hook", + "target": "sirsoft-board.post.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 9, + "key": "core.admin.extension_uninstall", + "scope": "route", + "target": "api.admin.{modules,plugins}.uninstall", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 8, + "key": "core.admin.user_delete", + "scope": "hook", + "target": "core.user.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 7, + "key": "core.admin.app_key_regenerate", + "scope": "route", + "target": "api.admin.settings.regenerate-app-key", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 6, + "key": "core.account.withdraw", + "scope": "route", + "target": "api.me.destroy", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": true, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 5, + "key": "core.profile.contact_change", + "scope": "hook", + "target": "core.user.before_update", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": true, + "priority": 100, + "conditions": { + "changed_fields": [ + "email", + "phone", + "mobile" + ] + }, + "source_type": "core", + "source_identifier": "core", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 4, + "key": "core.profile.password_change", + "scope": "route", + "target": "api.me.password", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": true, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 3, + "key": "core.auth.password_reset", + "scope": "hook", + "target": "core.auth.before_reset_password", + "purpose": "password_reset", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "both", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 2, + "key": "core.auth.signup_after_create", + "scope": "hook", + "target": "core.auth.after_register", + "purpose": "signup", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": { + "signup_stage": "after_create" + }, + "source_type": "core", + "source_identifier": "core", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + }, + "meta": { + "current_page": 1, + "per_page": 20, + "total": 21, + "last_page": 2 + } + } + }, + "role": { + "data": { + "id": 2, + "name": { + "ko": "운영자", + "en": "Manager" + }, + "key": "manager", + "description": "운영 권한 역할", + "is_system": false, + "type": "custom", + "types": [ + "custom", + "system" + ], + "scope_options": [ + "all", + "own" + ], + "scopes": { + "core.posts": "all" + }, + "permission_scopes": { + "core.posts": "all" + }, + "permissions": [ + "core.users.view", + "core.posts.view", + "core.posts.edit" + ] + } + }, + "role_check": { + "data": { + "data": [ + { + "id": 1, + "key": "super_admin", + "name": { + "ko": "최고 관리자", + "en": "Super Admin" + } + }, + { + "id": 2, + "key": "manager", + "name": { + "ko": "운영자", + "en": "Manager" + } + }, + { + "id": 3, + "key": "member", + "name": { + "ko": "일반 회원", + "en": "Member" + } + } + ], + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3 + } + }, + "schedule_history": { + "data": [ + { + "id": 1, + "status": "success", + "duration_ms": 1240, + "ran_at": "2026-05-29T03:00:00+09:00" + }, + { + "id": 2, + "status": "success", + "duration_ms": 980, + "ran_at": "2026-05-28T03:00:00+09:00" + }, + { + "id": 3, + "status": "failed", + "duration_ms": 0, + "ran_at": "2026-05-27T03:00:00+09:00" + } + ] + }, + "schedules": { + "data": { + "data": [ + { + "id": 1, + "name": "일일 백업", + "command": "backup:run", + "type": "artisan", + "frequency_label": "매일", + "frequency_detail": "0 3 * * *", + "is_active": true, + "last_result": "success", + "last_run_at": "2026-05-29T03:00:00+09:00", + "last_duration": "1.2초", + "next_run_at": "2026-05-30T03:00:00+09:00" + }, + { + "id": 2, + "name": "캐시 정리", + "command": "cache:clear", + "type": "artisan", + "frequency_label": "매일", + "frequency_detail": "0 4 * * *", + "is_active": true, + "last_result": "success", + "last_run_at": "2026-05-29T04:00:00+09:00", + "last_duration": "0.9초", + "next_run_at": "2026-05-30T04:00:00+09:00" + }, + { + "id": 3, + "name": "통계 집계", + "command": "stats:aggregate", + "type": "shell", + "frequency_label": "매주", + "frequency_detail": "0 1 * * 1", + "is_active": false, + "last_result": "failed", + "last_run_at": "2026-05-26T01:00:00+09:00", + "last_duration": "-", + "next_run_at": null + } + ], + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3, + "statistics": { + "total": 3, + "active": 2, + "success": 2, + "failed": 1 + } + } + }, + "settings": { + "data": { + "general": { + "site_name": "그누보드7", + "site_url": "https://example.com", + "site_description": "", + "admin_email": "admin@example.com", + "timezone": "Asia/Seoul", + "language": "ko", + "currency": "KRW", + "maintenance_mode": false, + "site_logo": [] + }, + "security": { + "force_https": false, + "login_attempt_enabled": true, + "auth_token_lifetime": "{MASKED}", + "max_login_attempts": 5, + "login_lockout_time": 5, + "two_factor_auth": false, + "password_min_length": "{MASKED}", + "require_password_special_char": "{MASKED}" + }, + "mail": { + "mailer": "smtp", + "host": "", + "port": 587, + "username": "", + "password": "{MASKED}", + "encryption": "tls", + "mailgun_domain": "", + "mailgun_secret": "{MASKED}", + "mailgun_endpoint": "api.mailgun.net", + "ses_key": "", + "ses_secret": "{MASKED}", + "ses_region": "ap-northeast-2", + "from_address": "admin@example.com", + "from_name": "그누보드7" + }, + "upload": { + "max_file_size": 10, + "allowed_extensions": [ + "jpg", + "jpeg", + "png", + "gif", + "webp", + "pdf", + "doc", + "docx", + "xls", + "xlsx", + "zip" + ], + "image_max_width": 2000, + "image_max_height": 2000, + "image_quality": 85 + }, + "seo": { + "meta_title_suffix": "", + "meta_description": "", + "meta_keywords": "", + "google_analytics_id": "", + "google_site_verification": "", + "naver_site_verification": "", + "bot_user_agents": [ + "kakaotalk-scrap", + "Meta-ExternalAgent", + "ChatGPT-User" + ], + "bot_detection_enabled": true, + "bot_detection_library_enabled": true, + "og_default_site_name": "", + "og_image_default_width": 1200, + "og_image_default_height": 630, + "twitter_default_card": "summary_large_image", + "twitter_default_site": "", + "cache_enabled": true, + "cache_ttl": 7200, + "sitemap_enabled": true, + "sitemap_cache_ttl": 86400, + "sitemap_schedule": "daily", + "sitemap_schedule_time": "02:00", + "sitemap_last_updated_at": "", + "generator_enabled": true, + "generator_content": "" + }, + "advanced": { + "cache_enabled": true, + "cache_default_ttl": 86400, + "layout_cache_enabled": true, + "layout_cache_ttl": 3600, + "seo_cache_enabled": true, + "seo_cache_ttl": 7200, + "seo_sitemap_cache_ttl": 86400, + "stats_cache_enabled": true, + "stats_cache_ttl": 1800, + "notification_cache_ttl": 3600, + "extension_status_cache_ttl": 86400, + "geoip_cache_enabled": true, + "geoip_cache_ttl": 86400, + "version_check_cache_ttl": 3600, + "debug_mode": true, + "sql_query_log": false, + "log_level": "error", + "core_update_github_url": "https://github.com/gnuboard/g7", + "core_update_github_token": null, + "geoip_enabled": false, + "geoip_license_key": null, + "geoip_auto_update_enabled": true, + "geoip_last_updated_at": "" + }, + "cache": { + "cache_enabled": true, + "cache_default_ttl": 86400, + "layout_cache_enabled": true, + "layout_cache_ttl": 3600, + "seo_cache_enabled": true, + "seo_cache_ttl": 7200, + "seo_sitemap_cache_ttl": 86400, + "stats_cache_enabled": true, + "stats_cache_ttl": 1800, + "notification_cache_ttl": 3600, + "extension_status_cache_ttl": 86400, + "geoip_cache_enabled": true, + "geoip_cache_ttl": 86400, + "version_check_cache_ttl": 3600 + }, + "debug": { + "debug_mode": true, + "sql_query_log": false, + "log_level": "error" + }, + "drivers": { + "storage_driver": "local", + "s3_bucket": "", + "s3_region": "ap-northeast-2", + "s3_access_key": "", + "s3_secret_key": "{MASKED}", + "s3_url": "", + "cache_driver": "file", + "redis_host": "127.0.0.1", + "redis_port": 6379, + "redis_password": "{MASKED}", + "redis_database": 0, + "memcached_host": "127.0.0.1", + "memcached_port": 11211, + "session_driver": "file", + "session_lifetime": 120, + "queue_driver": "sync", + "log_driver": "daily", + "log_level": "error", + "log_days": 14, + "websocket_enabled": false, + "websocket_app_id": "", + "websocket_app_key": "{MASKED}", + "websocket_app_secret": "{MASKED}", + "websocket_host": "localhost", + "websocket_port": 8080, + "websocket_scheme": "https", + "websocket_verify_ssl": true, + "websocket_server_host": "127.0.0.1", + "websocket_server_port": 8080, + "websocket_server_scheme": "http", + "search_engine_driver": "mysql-fulltext" + }, + "core_update": { + "core_update_github_url": "https://github.com/gnuboard/g7", + "core_update_github_token": null + }, + "geoip": { + "geoip_enabled": false, + "geoip_license_key": null, + "geoip_auto_update_enabled": true, + "geoip_last_updated_at": "" + }, + "notifications": { + "channels": [ + { + "id": "mail", + "is_active": true, + "sort_order": 1 + }, + { + "id": "database", + "is_active": true, + "sort_order": 2 + } + ] + }, + "identity": { + "default_provider": "g7:core.mail", + "purpose_providers": { + "password_reset": null, + "self_update": null, + "sensitive_action": null + }, + "challenge_ttl_minutes": 15, + "max_attempts": 5 + }, + "available_drivers": { + "storage": [ + { + "id": "local", + "label": { + "ko": "로컬", + "en": "Local", + "ja": "ローカル" + } + }, + { + "id": "s3", + "label": { + "ko": "Amazon S3", + "en": "Amazon S3", + "ja": "Amazon S3" + } + } + ], + "cache": [ + { + "id": "file", + "label": { + "ko": "파일", + "en": "File", + "ja": "ファイル" + } + }, + { + "id": "redis", + "label": { + "ko": "Redis", + "en": "Redis", + "ja": "Redis" + } + } + ], + "session": [ + { + "id": "file", + "label": { + "ko": "파일", + "en": "File", + "ja": "ファイル" + } + }, + { + "id": "database", + "label": { + "ko": "데이터베이스", + "en": "Database", + "ja": "データベース" + } + }, + { + "id": "redis", + "label": { + "ko": "Redis", + "en": "Redis", + "ja": "Redis" + } + } + ], + "queue": [ + { + "id": "sync", + "label": { + "ko": "동기", + "en": "Sync", + "ja": "同期" + } + }, + { + "id": "database", + "label": { + "ko": "데이터베이스", + "en": "Database", + "ja": "データベース" + } + }, + { + "id": "redis", + "label": { + "ko": "Redis", + "en": "Redis", + "ja": "Redis" + } + } + ], + "log": [ + { + "id": "single", + "label": { + "ko": "단일 파일", + "en": "Single File", + "ja": "単一ファイル" + } + }, + { + "id": "daily", + "label": { + "ko": "일별 파일", + "en": "Daily File", + "ja": "日別ファイル" + } + } + ], + "websocket": [ + { + "id": "reverb", + "label": { + "ko": "Laravel Reverb", + "en": "Laravel Reverb", + "ja": "Laravel Reverb" + } + } + ], + "mail": [ + { + "id": "smtp", + "label": { + "ko": "SMTP", + "en": "SMTP", + "ja": "SMTP" + } + }, + { + "id": "mailgun", + "label": { + "ko": "Mailgun", + "en": "Mailgun", + "ja": "Mailgun" + } + }, + { + "id": "ses", + "label": { + "ko": "SES (Amazon)", + "en": "SES (Amazon)", + "ja": "SES (Amazon)" + } + } + ] + }, + "abilities": { + "can_update": true + } + } + }, + "systemInfo": { + "data": { + "os_info": "Windows NT 10.0", + "web_server": "Apache/2.4.62 (Win64) OpenSSL/3.0.15 PHP/8.3.26", + "php_version": "8.3.26", + "mysql_version": "Mysql 8.4.3", + "g7_version": "7.0.0-beta.8", + "g7_release_year": "2026", + "laravel_version": "12.54.1", + "environment": "production", + "cpu_info": "Intel(R) Core(TM) Ultra 5 225H", + "memory_usage": { + "total": "31.49 GB", + "used": "21.93 GB", + "free": "9.56 GB", + "percentage": 69.64 + }, + "disk_usage": { + "total": "474.72 GB", + "used": "325.41 GB", + "free": "149.3 GB", + "percentage": 68.55 + }, + "php_memory_limit": "512M", + "max_execution_time": "36000초", + "upload_max_filesize": "2G", + "install_path": "/var/www/g7", + "config_path": "/var/www/g7/storage/app/settings", + "log_path": "/var/www/g7/storage/logs", + "upload_path": "/var/www/g7/storage/app/public", + "php_extensions": { + "required": { + "openssl": true, + "pdo": true, + "mbstring": true, + "tokenizer": "{MASKED}", + "xml": true, + "curl": true, + "json": true, + "zip": true, + "fileinfo": true, + "bcmath": true + }, + "optional": { + "gd": true, + "imagick": false, + "redis": true, + "memcached": false, + "sodium": true, + "exif": true, + "intl": true, + "ldap": false, + "zlib": true + } + }, + "database_config": { + "has_read_write_split": false, + "write": { + "host": "localhost", + "port": 3306, + "database": "g7", + "username": "g7" + }, + "read": [] + }, + "timezone": "UTC", + "server_time": "2026-05-31 08:40:37" + } + }, + "template_info": { + "data": { + "identifier": "sirsoft-admin_basic", + "name": "관리자 기본", + "type": "admin" + } + }, + "templateDetail": { + "data": { + "identifier": "sirsoft-admin_basic", + "name": "관리자 기본", + "version": "1.0.0", + "description": "관리자 기본 템플릿", + "author": "sirsoft", + "type": "admin", + "status": "active", + "preview_image": "/images/placeholder.png", + "changelog": [ + "1.0.0 최초 릴리스" + ], + "readme": "관리자 기본 템플릿 안내 문서" + } + }, + "templateInstallPreview": { + "data": { + "identifier": "sirsoft-admin_basic", + "name": "관리자 기본", + "version": "1.0.0", + "type": "admin", + "conflicts": [], + "requires_migration": false + } + }, + "templates": { + "data": { + "data": [ + { + "identifier": "sirsoft-admin_basic", + "vendor": "sirsoft", + "name": "Admin Basic", + "version": "1.0.0-beta.8", + "type": "admin", + "status": "active", + "description": "그누보드7 기본 관리자 템플릿", + "dependencies": { + "modules": [], + "plugins": [] + }, + "dependencies_met": true, + "update_available": false, + "update_source": null, + "latest_version": "1.0.0-beta.8", + "file_version": "1.0.0-beta.8", + "github_url": "https://github.com/gnuboard/g7-template-sirsoft-admin_basic", + "github_changelog_url": "https://github.com/gnuboard/g7-template-sirsoft-admin_basic/releases", + "is_pending": false, + "is_bundled": false, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true, + "can_edit_layouts": true + } + }, + { + "identifier": "sirsoft-basic", + "vendor": "sirsoft", + "name": "Basic", + "version": "1.0.0-beta.6", + "type": "user", + "status": "active", + "description": "그누보드7 기본 사용자 템플릿", + "dependencies": { + "modules": [ + { + "identifier": "sirsoft-board", + "name": "게시판", + "type": "module" + }, + { + "identifier": "sirsoft-ecommerce", + "name": "이커머스", + "type": "module" + }, + { + "identifier": "sirsoft-page", + "name": "페이지", + "type": "module" + } + ], + "plugins": [ + { + "identifier": "sirsoft-daum_postcode", + "name": "Daum 우편번호", + "type": "plugin" + } + ] + }, + "dependencies_met": true, + "update_available": false, + "update_source": null, + "latest_version": "1.0.0-beta.6", + "file_version": "1.0.0-beta.6", + "github_url": "https://github.com/gnuboard/g7-template-sirsoft-basic", + "github_changelog_url": "https://github.com/gnuboard/g7-template-sirsoft-basic/releases", + "is_pending": false, + "is_bundled": false, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true, + "can_edit_layouts": true + } + } + ], + "current_page": 1, + "last_page": 1, + "total": 1, + "per_page": 15, + "abilities": { + "can_create": true, + "can_install": true + } + } + }, + "tokenValidation": { + "data": { + "valid": true, + "email": "admin@example.com", + "token": "{MASKED}" + } + }, + "user": { + "data": { + "uuid": "00000000-0000-4000-8000-000000000018", + "name": "이서연", + "nickname": "서연", + "email": "seoyeon.lee@example.com", + "avatar": "/images/placeholder.png", + "language": "ko", + "language_label": "한국어", + "country": "KR", + "country_name": "대한민국", + "status": "active", + "status_label": "활성", + "status_variant": "success", + "is_admin": true, + "is_super": false, + "homepage": "https://seoyeon.example.com", + "mobile": "010-3456-7890", + "phone": "02-777-8800", + "zipcode": "06292", + "address": "서울특별시 강남구 강남대로 382", + "address_detail": "메리츠타워 22층", + "signature": "운영팀 이서연입니다.", + "bio": "커뮤니티 운영과 CS를 담당하고 있습니다.", + "timezone": "Asia/Seoul", + "admin_memo": "2025년 우수 운영자. CS 응대 만족도 1위. 콘텐츠 신고 처리 권한 보유.", + "ip_address": "203.241.18.92", + "email_verified_at": "2025-08-20 10:14:55", + "last_login_at": "2026-06-03 08:40:12", + "created_at": "2025-08-20 09:58:31", + "blocked_at": null, + "withdrawn_at": null, + "roles": [ + { + "id": 2, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 5, + "identifier": "cs-manager", + "name": "CS 매니저" + } + ], + "terms_consent": { + "agreed_at": "2025-08-20 09:58:31" + }, + "privacy_consent": { + "agreed_at": "2025-08-20 09:58:31" + }, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + } + }, + "marketing_settings": { + "data": { + "marketing_consent_enabled": true, + "marketing_consent_terms_slug": "marketing-terms", + "marketing_consent_terms_slug_set": true, + "third_party_consent_enabled": true, + "third_party_consent_terms_slug": null, + "third_party_consent_terms_slug_set": false, + "info_disclosure_enabled": true, + "info_disclosure_terms_slug": null, + "info_disclosure_terms_slug_set": false, + "channels": [ + { + "key": "email_subscription", + "label": "광고성 이메일 수신", + "label_i18n": { + "ko": "광고성 이메일 수신", + "en": "Email Marketing" + }, + "enabled": true, + "terms_slug": null, + "terms_slug_set": false + } + ] + } + } + } + }, + "states": { + "comment": "admin 목록/폼 상태 세트. with_data/empty_data/loading + edit_existing/validation_failed/saving.", + "groups": [ + { + "scope": { + "kind": "route", + "match": "*/admin/users" + }, + "items": [ + { + "id": "with_data", + "label": "$t:editor.state.with_data", + "default": true + }, + { + "id": "empty_data", + "label": "$t:editor.state.empty_data", + "sampleDataOverrides": { + "byDataSourceId": { + "users": { + "data": { + "data": [], + "meta": { + "total": 0, + "per_page": 20, + "current_page": 1 + } + } + } + } + } + } + ] + }, + { + "scope": { + "kind": "route", + "match": "*/admin/users/:id/edit" + }, + "items": [ + { + "id": "edit_existing", + "label": "$t:editor.state.edit_existing", + "default": true, + "comment": "/1.1-bis — 편집기는 데이터소스 initLocal(\"form\")을 실행하지 않으므로(runtime API→form 흐름 부재) 수정 폼 입력칸이 비어 보인다. user.data 와 동일 값으로 _local.form 을 직접 시드해 캔버스에 prefill 한다(읽기전용 표시는 user.data, 입력칸은 _local.form). 필드명 = admin_user_form.json 의 name= 입력.", + "initialState": { + "local": { + "form": { + "name": "이서연", + "email": "seoyeon.lee@example.com", + "nickname": "서연", + "role_ids": [ + 2, + 5 + ], + "status": "active", + "mobile": "010-3456-7890", + "phone": "02-777-8800", + "homepage": "https://seoyeon.example.com", + "zipcode": "06292", + "address": "서울특별시 강남구 강남대로 382", + "address_detail": "메리츠타워 22층", + "country": "KR", + "language": "ko", + "timezone": "Asia/Seoul", + "signature": "운영팀 이서연입니다.", + "bio": "커뮤니티 운영과 CS를 담당하고 있습니다.", + "admin_memo": "2025년 우수 운영자. CS 응대 만족도 1위. 콘텐츠 신고 처리 권한 보유." + } + } + } + }, + { + "id": "create_mode", + "label": "$t:editor.state.create_mode", + "comment": " route 패치 — admin_user_form 은 {{route?.id}} 유무로 수정/신규 분기(제목·엔드포인트·메서드 PUT/POST). route.id 를 null 로 제거해 신규 작성 모드 화면을 미리본다. 신규 모드는 빈 폼이 의도이므로 _local.form 시드 없음.", + "initialState": { + "route": { + "id": null + } + } + }, + { + "id": "validation_failed", + "label": "$t:editor.state.validation_failed", + "comment": "관리자 회원 폼(admin_user_form)은 _local.errors.{field}?.[0] (배열)을 읽으므로 그 경로로 배열 메시지를 주입한다(경로 직접 지정). 수정 컨텍스트이므로 edit_existing 과 동일 폼 시드 위에 검증 오류를 얹는다.", + "initialState": { + "local": { + "form": { + "name": "", + "email": "invalid-email", + "nickname": "서연", + "role_ids": [ + 2, + 5 + ], + "status": "active", + "mobile": "010-3456-7890", + "phone": "02-777-8800", + "homepage": "https://seoyeon.example.com", + "zipcode": "06292", + "address": "서울특별시 강남구 강남대로 382", + "address_detail": "메리츠타워 22층", + "country": "KR", + "language": "ko", + "timezone": "Asia/Seoul", + "signature": "운영팀 이서연입니다.", + "bio": "커뮤니티 운영과 CS를 담당하고 있습니다.", + "admin_memo": "2025년 우수 운영자. CS 응대 만족도 1위. 콘텐츠 신고 처리 권한 보유." + } + } + }, + "formErrors": { + "_local.errors.name": [ + "필수 입력 항목입니다" + ], + "_local.errors.email": [ + "올바른 이메일 형식이 아닙니다" + ] + } + } + ] + }, + { + "comment": " query 패치 실증 — admin_settings 는 {{_global.activeSettingsTab || query.tab || 'general'}} 으로 탭 화면을 분기한다. 편집기는 평소 query 가 비어 있어 SEO 등 비-기본 탭을 미리볼 수 없으므로, query.tab + 우선 키 _global.activeSettingsTab 을 함께 주입해 탭 변종을 미리본다.", + "scope": { + "kind": "route", + "match": "*/admin/settings" + }, + "items": [ + { + "id": "settings_general", + "label": "$t:editor.state.settings_general", + "default": true, + "initialState": { + "query": { + "tab": "general" + }, + "global": { + "activeSettingsTab": "general" + } + } + }, + { + "id": "settings_mail", + "label": "$t:editor.state.settings_mail", + "initialState": { + "query": { + "tab": "mail" + }, + "global": { + "activeSettingsTab": "mail" + } + } + }, + { + "id": "settings_upload", + "label": "$t:editor.state.settings_upload", + "initialState": { + "query": { + "tab": "upload" + }, + "global": { + "activeSettingsTab": "upload" + } + } + }, + { + "id": "settings_seo", + "label": "$t:editor.state.settings_seo", + "initialState": { + "query": { + "tab": "seo" + }, + "global": { + "activeSettingsTab": "seo" + } + } + }, + { + "id": "settings_security", + "label": "$t:editor.state.settings_security", + "initialState": { + "query": { + "tab": "security" + }, + "global": { + "activeSettingsTab": "security" + } + } + }, + { + "id": "settings_drivers", + "label": "$t:editor.state.settings_drivers", + "initialState": { + "query": { + "tab": "drivers" + }, + "global": { + "activeSettingsTab": "drivers" + } + } + }, + { + "id": "settings_advanced", + "label": "$t:editor.state.settings_advanced", + "initialState": { + "query": { + "tab": "advanced" + }, + "global": { + "activeSettingsTab": "advanced" + } + } + }, + { + "id": "settings_notification_definitions", + "label": "$t:editor.state.settings_notification_definitions", + "initialState": { + "query": { + "tab": "notification_definitions" + }, + "global": { + "activeSettingsTab": "notification_definitions" + } + } + }, + { + "id": "settings_language_packs", + "label": "$t:editor.state.settings_language_packs", + "initialState": { + "query": { + "tab": "language_packs" + }, + "global": { + "activeSettingsTab": "language_packs" + } + } + }, + { + "id": "settings_identity", + "label": "$t:editor.state.settings_identity", + "initialState": { + "query": { + "tab": "identity" + }, + "global": { + "activeSettingsTab": "identity" + } + } + }, + { + "id": "settings_info", + "label": "$t:editor.state.settings_info", + "initialState": { + "query": { + "tab": "info" + }, + "global": { + "activeSettingsTab": "info" + } + } + } + ] + }, + { + "comment": "관리자 비밀번호 재설정. admin_reset_password 는 _local.tokenError / _local.success 로 토큰오류·재설정폼·완료 화면을 if 분기하고(본문 line 97/212/262), 검증 실패는 _local.resetErrors.{password,password_confirmation} 인라인 필드 에러로 표시한다(본문 line 361/370/411).", + "scope": { + "kind": "route", + "match": "*/admin/reset-password" + }, + "items": [ + { + "id": "token_valid", + "label": "$t:editor.state.token_valid", + "default": true, + "initialState": { + "local": { + "tokenError": "{MASKED}", + "success": false + } + } + }, + { + "id": "token_invalid", + "label": "$t:editor.state.token_invalid", + "initialState": { + "local": { + "tokenError": "{MASKED}" + } + } + }, + { + "id": "validation_failed", + "label": "$t:editor.state.validation_failed", + "initialState": { + "local": { + "tokenError": "{MASKED}", + "success": false + } + }, + "formErrors": { + "_local.resetErrors.password": [ + "필수 입력 항목입니다" + ], + "_local.resetErrors.password_confirmation": [ + "필수 입력 항목입니다" + ] + } + }, + { + "id": "success", + "label": "$t:editor.state.reset_success", + "initialState": { + "local": { + "tokenError": "{MASKED}", + "success": true + } + } + } + ] + }, + { + "comment": "권한(역할) 폼. admin_role_form 은 {{route?.id}} 유무로 수정/신규를 분기한다(본문 line 33/71). 검증 오류는 회원 폼과 달리 _global.formErrors.{field}?.[0] 경로를 읽는다(본문 line 210/484 — 경로 직접 지정).", + "scope": { + "kind": "route", + "match": "*/admin/roles/:id/edit" + }, + "items": [ + { + "id": "edit_existing", + "label": "$t:editor.state.edit_existing", + "default": true + }, + { + "id": "create_mode", + "label": "$t:editor.state.create_mode", + "initialState": { + "route": { + "id": null + } + } + }, + { + "id": "validation_failed", + "label": "$t:editor.state.validation_failed", + "formErrors": { + "_global.formErrors.name": [ + "필수 입력 항목입니다" + ] + } + } + ] + }, + { + "comment": "관리자 본인인증 챌린지. auth/identity_challenge 는 (_local.render_hint ?? 'text_code') 값(text_code/link/external_redirect)으로 세 화면을 if 분기한다(본문 line 94/324/369).", + "scope": { + "kind": "route", + "match": "*/admin/identity/challenge" + }, + "items": [ + { + "id": "text_code", + "label": "$t:editor.state.challenge_text_code", + "default": true, + "initialState": { + "local": { + "render_hint": "text_code" + } + } + }, + { + "id": "link", + "label": "$t:editor.state.challenge_link", + "initialState": { + "local": { + "render_hint": "link" + } + } + }, + { + "id": "external_redirect", + "label": "$t:editor.state.challenge_external", + "initialState": { + "local": { + "render_hint": "external_redirect" + } + } + }, + { + "id": "code_error", + "label": "$t:editor.state.challenge_error", + "comment": "코드 입력 화면에서 인증 실패 시 _local.error 배너 표시.", + "initialState": { + "local": { + "render_hint": "text_code", + "error": "인증번호가 올바르지 않습니다. 다시 시도해 주세요." + } + } + } + ] + }, + { + "comment": "템플릿 목록. admin_template_list 는 라우트 path param route.type(user/admin)으로 데이터소스 type 파라미터를 분기한다(본문 line 45/600). 탭 하이라이트는 _global.activeTemplateTab 이지만 목록 내용은 route.type 이 SSoT 이므로 두 값을 함께 주입한다.", + "scope": { + "kind": "route", + "match": "*/admin/templates/:type" + }, + "items": [ + { + "id": "user_templates", + "label": "$t:editor.state.tab.template_user", + "default": true, + "initialState": { + "route": { + "type": "user" + }, + "global": { + "activeTemplateTab": "user" + } + } + }, + { + "id": "admin_templates", + "label": "$t:editor.state.tab.template_admin", + "initialState": { + "route": { + "type": "admin" + }, + "global": { + "activeTemplateTab": "admin" + } + } + } + ] + }, + { + "comment": "관리자 로그인. admin_login 은 _local.loginError 배너 + _local.loginErrors.{email,password} 인라인 필드 에러로 로그인 실패를 표시한다(본문 line 139/178/221).", + "scope": { + "kind": "route", + "match": "*/admin/login" + }, + "items": [ + { + "id": "default", + "label": "$t:editor.state.login_default", + "default": true + }, + { + "id": "login_failed", + "label": "$t:editor.state.login_failed", + "formErrors": { + "_local.loginError": "올바른 이메일 형식이 아닙니다", + "_local.loginErrors.email": [ + "올바른 이메일 형식이 아닙니다" + ], + "_local.loginErrors.password": [ + "필수 입력 항목입니다" + ] + } + } + ] + }, + { + "comment": "관리자 비밀번호 찾기. admin_forgot_password 는 {{_local.success}} 로 입력 폼/메일 발송 완료 화면을 if 분기한다(본문 line 93/106).", + "scope": { + "kind": "route", + "match": "*/admin/forgot-password" + }, + "items": [ + { + "id": "default", + "label": "$t:editor.state.forgot_default", + "default": true, + "initialState": { + "local": { + "success": false + } + } + }, + { + "id": "success", + "label": "$t:editor.state.forgot_success", + "initialState": { + "local": { + "success": true + } + } + } + ] + } + ] + }, + "stateLabels": [ + { + "key": "currentUser", + "scope": "_global", + "label_key": "$t:editor.state_label.current_user" + }, + { + "key": "currentUser.name", + "scope": "_global", + "label_key": "$t:editor.state_label.current_user_name" + }, + { + "key": "currentUser.email", + "scope": "_global", + "label_key": "$t:editor.state_label.current_user_email" + }, + { + "key": "currentUser.id", + "scope": "_global", + "label_key": "$t:editor.state_label.current_user_id" + }, + { + "key": "currentUser.is_admin", + "scope": "_global", + "label_key": "$t:editor.state_label.current_user_is_admin" + }, + { + "key": "settings.general.site_name", + "scope": "_global", + "label_key": "$t:editor.state_label.site_name" + }, + { + "key": "site.name", + "scope": "_global", + "label_key": "$t:editor.state_label.site_name" + }, + { + "key": "q", + "scope": "query", + "label_key": "$t:editor.state_label.query_q" + } + ] + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1394,8 +93168,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1518,8 +93293,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1720,8 +93496,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1788,9 +93565,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2081,9 +93858,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2146,9 +93923,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2187,6 +93964,8 @@ Authorization: Bearer {YOUR_TOKEN} **응답 예시** + + ```http HTTP/1.1 200 ``` @@ -2204,9 +93983,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2263,9 +94042,9 @@ Content-Disposition: form-data; name="layout_name" | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2303,6 +94082,8 @@ _단건 응답: `data` 객체의 필드._ **응답 예시** + + ```http HTTP/1.1 200 ``` @@ -2324,6 +94105,7 @@ HTTP/1.1 200 | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2366,6 +94148,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2408,6 +94191,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | 해당 식별자의 템플릿이 설치되어 있지 않은 경우 (레이아웃 0건과 구분됨) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2451,9 +94235,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2498,9 +94282,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2553,9 +94337,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2597,8 +94381,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2652,9 +94437,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2695,8 +94480,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.install`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2739,6 +94525,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2782,6 +94569,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2803,6 +94591,8 @@ Authorization: Bearer {YOUR_TOKEN} | expected_lock_version | body | integer | 예 | min 0 | 낙관적 잠금 버전 (동시 편집 충돌 감지) | | content | body | array | 예 | — | 본문 내용 | | priority | body | integer | 아니오 | min 0, max 9999 | 우선순위 (작을수록 우선) | +| content.priority | body | integer | 아니오 | min 0, max 9999 | | +| content.data_sources | body | array | 아니오 | — | | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`core.layout_extension.update_content_validation_rules`). @@ -2820,7 +94610,11 @@ Content-Type: application/json "content": [ "예시 내용입니다." ], - "priority": 1 + "priority": 1, + "content.priority": 1, + "content.data_sources": [ + "예시 내용입니다." + ] } ``` @@ -2837,9 +94631,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2894,8 +94688,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2943,6 +94737,7 @@ Authorization: Bearer {YOUR_TOKEN} | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2985,8 +94780,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3031,6 +94827,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3120,6 +94917,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3163,6 +94961,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3183,6 +94982,65 @@ Authorization: Bearer {YOUR_TOKEN} | name | path | string | 예 | — | 대상의 이름/명칭 | | expected_lock_version | body | integer | 예 | min 0 | 낙관적 잠금 버전 (동시 편집 충돌 감지) | | content | body | array | 예 | — | 본문 내용 | +| content.version | body | string | 예 | — | | +| content.layout_name | body | string | 예 | max 255 | content.layout 이름 (식별자) | +| content.extends | body | string | 아니오 | — | | +| content.slots | body | array | 아니오 | — | | +| content.data_sources | body | array | 아니오 | — | | +| content.metadata | body | array | 아니오 | — | | +| content.meta | body | array | 아니오 | — | | +| content.meta.title | body | string | 아니오 | — | | +| content.meta.description | body | string | 아니오 | — | | +| content.meta.keywords | body | string | 아니오 | — | | +| content.meta.auth_required | body | boolean | 아니오 | — | | +| content.meta.is_base | body | boolean | 아니오 | — | | +| content.meta.guest_only | body | boolean | 아니오 | — | | +| content.meta.is_error_layout | body | boolean | 아니오 | — | | +| content.meta.error_code | body | integer | 아니오 | — | | +| content.meta.seo | body | array | 아니오 | — | | +| content.meta.seo.enabled | body | boolean | 아니오 | — | | +| content.meta.seo.data_sources | body | array | 아니오 | — | | +| content.meta.seo.priority | body | number | 아니오 | min 0, max 1 | | +| content.meta.seo.changefreq | body | string | 아니오 | `always`, `hourly`, `daily`, `weekly`, `monthly`, `yearly`, `never` | | +| content.meta.seo.og | body | array | 아니오 | — | | +| content.meta.seo.structured_data | body | array | 아니오 | — | | +| content.meta.seo.page_type | body | string | 아니오 | — | | +| content.meta.seo.toggle_setting | body | string | 아니오 | — | | +| content.meta.seo.vars | body | array | 아니오 | — | | +| content.meta.seo.extensions | body | array | 아니오 | — | | +| content.modals | body | array | 아니오 | — | | +| content.state | body | array | 아니오 | — | | +| content.init_actions | body | array | 아니오 | — | | +| content.defines | body | array | 아니오 | — | | +| content.init_state | body | array | 아니오 | — | | +| content.initLocal | body | array | 아니오 | — | | +| content.initGlobal | body | array | 아니오 | — | | +| content.initIsolated | body | array | 아니오 | — | | +| content.global_state | body | array | 아니오 | — | | +| content.errorHandling | body | array | 아니오 | — | | +| content.actions | body | array | 아니오 | — | | +| content.pageConfig | body | array | 아니오 | — | | +| content.schema | body | array | 아니오 | — | | +| content.routes | body | array | 아니오 | — | | +| content.computed | body | array | 아니오 | — | | +| content.named_actions | body | array | 아니오 | — | | +| content.permissions | body | string | 아니오 | — | | +| content.globalHeaders | body | array | 아니오 | — | | +| content.transition_overlay | body | string | 아니오 | — | | +| content.transition_overlay.enabled | body | boolean | 아니오 | — | | +| content.transition_overlay.style | body | string | 아니오 | — | | +| content.transition_overlay.target | body | string | 아니오 | max 100 | | +| content.transition_overlay.fallback_target | body | string | 아니오 | max 100 | | +| content.transition_overlay.skeleton | body | array | 아니오 | — | | +| content.transition_overlay.skeleton.component | body | string | 아니오 | max 100 | | +| content.transition_overlay.skeleton.animation | body | string | 아니오 | — | | +| content.transition_overlay.skeleton.iteration_count | body | integer | 아니오 | min 1, max 50 | | +| content.transition_overlay.spinner | body | array | 아니오 | — | | +| content.transition_overlay.spinner.component | body | string | 아니오 | max 100 | | +| content.transition_overlay.spinner.text | body | string | 아니오 | max 200 | | +| content.transition_overlay.wait_for | body | array | 아니오 | — | | +| content.endpoint | body | string | 아니오 | — | | +| content.components | body | array | 예 | — | | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`core.layout.update_content_validation_rules`). @@ -3199,6 +95057,127 @@ Content-Type: application/json "expected_lock_version": 1, "content": [ "예시 내용입니다." + ], + "content.version": "예시 내용입니다.", + "content.layout_name": "예시 이름", + "content.extends": "예시 내용입니다.", + "content.slots": [ + "예시 내용입니다." + ], + "content.data_sources": [ + "예시 내용입니다." + ], + "content.metadata": [ + "예시 내용입니다." + ], + "content.meta": [ + "예시 내용입니다." + ], + "content.meta.title": "예시 제목", + "content.meta.description": "예시 내용입니다.", + "content.meta.keywords": "예시 내용입니다.", + "content.meta.auth_required": true, + "content.meta.is_base": true, + "content.meta.guest_only": true, + "content.meta.is_error_layout": true, + "content.meta.error_code": 1, + "content.meta.seo": [ + "예시 내용입니다." + ], + "content.meta.seo.enabled": true, + "content.meta.seo.data_sources": [ + "예시 내용입니다." + ], + "content.meta.seo.priority": 1, + "content.meta.seo.changefreq": "always", + "content.meta.seo.og": [ + "예시 내용입니다." + ], + "content.meta.seo.structured_data": [ + "예시 내용입니다." + ], + "content.meta.seo.page_type": "예시 내용입니다.", + "content.meta.seo.toggle_setting": "예시 내용입니다.", + "content.meta.seo.vars": [ + "예시 내용입니다." + ], + "content.meta.seo.extensions": [ + "예시 내용입니다." + ], + "content.modals": [ + "예시 내용입니다." + ], + "content.state": [ + "예시 내용입니다." + ], + "content.init_actions": [ + "예시 내용입니다." + ], + "content.defines": [ + "예시 내용입니다." + ], + "content.init_state": [ + "예시 내용입니다." + ], + "content.initLocal": [ + "예시 내용입니다." + ], + "content.initGlobal": [ + "예시 내용입니다." + ], + "content.initIsolated": [ + "예시 내용입니다." + ], + "content.global_state": [ + "예시 내용입니다." + ], + "content.errorHandling": [ + "예시 내용입니다." + ], + "content.actions": [ + "예시 내용입니다." + ], + "content.pageConfig": [ + "예시 내용입니다." + ], + "content.schema": [ + "예시 내용입니다." + ], + "content.routes": [ + "예시 내용입니다." + ], + "content.computed": [ + "예시 내용입니다." + ], + "content.named_actions": [ + "예시 이름" + ], + "content.permissions": "예시 내용입니다.", + "content.globalHeaders": [ + "예시 내용입니다." + ], + "content.transition_overlay": "예시 내용입니다.", + "content.transition_overlay.enabled": true, + "content.transition_overlay.style": "예시 내용입니다.", + "content.transition_overlay.target": "예시 내용입니다.", + "content.transition_overlay.fallback_target": "예시 내용입니다.", + "content.transition_overlay.skeleton": [ + "예시 내용입니다." + ], + "content.transition_overlay.skeleton.component": "예시 내용입니다.", + "content.transition_overlay.skeleton.animation": "예시 내용입니다.", + "content.transition_overlay.skeleton.iteration_count": 1, + "content.transition_overlay.spinner": [ + "예시 내용입니다." + ], + "content.transition_overlay.spinner.component": "예시 내용입니다.", + "content.transition_overlay.spinner.text": "예시 내용입니다.", + "content.transition_overlay.wait_for": [ + "예시 내용입니다." + ], + "content.endpoint": "예시 내용입니다.", + "content.components": [ + "예시 내용입니다." ] } ``` @@ -3216,9 +95195,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3269,8 +95248,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3318,6 +95297,7 @@ Authorization: Bearer {YOUR_TOKEN} | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3360,8 +95340,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.layouts.edit`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3406,6 +95387,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3446,8 +95428,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.uninstall`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3498,9 +95481,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.install`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3581,8 +95564,10 @@ Accept: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3673,7 +95658,10 @@ Accept: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3933,7 +95921,10 @@ Accept: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -4027,17 +96018,91783 @@ Accept: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-admin_basic` | 템플릿 고유 식별자 (vendor-name 형식, 예: sirsoft-admin_basic) | +| spec | object | `{"$schema":"https:\/\/json-schema.org\/draft\/2020-12\/sc…` | 스펙 정의 객체 (편집기/컴포넌트 선언 스키마 등) | **응답 예시** - + + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "편집기 스펙을 조회했습니다.", + "data": { + "identifier": "sirsoft-admin_basic", + "spec": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "templateId": "sirsoft-admin_basic", + "version": "1.0.0", + "description": "레이아웃 편집기 스펙 — Phase 3 (nesting + componentPalette 블록). controls/componentCapabilities/actionRecipes 등은 Phase 4/5 에서 추가.", + "styleSystem": "tailwind", + "darkMode": { + "comment": "Tailwind 다크는 조상.dark 클래스. 편집기 프리뷰 격리: 코어 CSS 서빙 API 가 편집기용 CSS 의.dark 셀렉터를 프리뷰 전용 마커(.g7le-preview-dark)로 치환해 서빙한다. 사용자 페이지 CSS 는 원본 그대로.", + "strategy": "ancestor-class", + "ancestorSelector": ".dark", + "previewIsolation": { + "rewriteSelector": ".dark", + "replaceWith": ".g7le-preview-dark", + "flattenLayers": true + } + }, + "componentPalette": { + "comment": "entries 의 모든 사용자 가시 문자열은 다국어 키 ($t:layout_editor.palette..) 사용. admin 템플릿은 Tailwind 디자인 시스템 사용 — className 토큰 적용. 다른 템플릿은 자기 CSS 시스템에 맞춰 inline style 또는 다른 토큰을 사용한다.", + "groups": [ + { + "label": "$t:layout_editor.palette.group.design", + "kind": "design", + "components": [ + "Div", + "Container", + "Flex", + "Grid", + "SectionLayout", + "ThreeColumnLayout", + "Section", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Hr", + "Ul", + "Ol", + "Li", + "Nav", + "Code", + "Pre", + "Card", + "Badge", + "StatusBadge", + "Alert", + "EmptyState", + "LoadingSpinner", + "PageHeader", + "SectionHeader", + "Breadcrumb", + "TabNavigation", + "TabNavigationScroll", + "Toggle", + "Accordion", + "FormField", + "Form", + "Table", + "Input", + "Textarea", + "Label", + "Select", + "Checkbox", + "RadioGroup", + "FileInput", + "FileUploader", + "HtmlContent", + "HtmlEditor", + "IconButton", + "Dropdown", + "ActionMenu", + "TagInput", + "SearchableDropdown", + "RichSelect", + "TagSelect", + "IconSelect", + "ChipCheckbox", + "MultilingualInput", + "MultilingualTagInput", + "LanguageSelector" + ] + }, + { + "label": "$t:layout_editor.palette.group.db", + "kind": "data", + "components": [ + "DataGrid", + "CardGrid", + "Pagination", + "SearchBar", + "StatCard", + "ProductCard", + "TemplateCard", + "BarChart", + "DonutChart", + "ImageGallery", + "PermissionTree", + "CategoryTree", + "ExtensionBadge", + "UserProfile", + "FilterGroup", + "SortableMenuList", + "DynamicFieldList" + ] + } + ], + "entries": { + "Div": { + "label": "$t:layout_editor.palette.div.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Div", + "props": { + "className": "min-h-[40px] p-2 border border-dashed border-gray-300 dark:border-gray-600" + } + } + }, + "Container": { + "label": "$t:layout_editor.palette.container.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "layout", + "name": "Container", + "props": { + "className": "min-h-[60px] p-4" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "text": "$t:layout_editor.palette.container.default_child_text" + } + ] + } + }, + "Flex": { + "label": "$t:layout_editor.palette.flex.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "layout", + "name": "Flex", + "props": { + "className": "flex flex-wrap gap-3 min-h-[40px] p-2 border border-dashed border-gray-300 dark:border-gray-600" + } + } + }, + "Grid": { + "label": "$t:layout_editor.palette.grid.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "layout", + "name": "Grid", + "props": { + "className": "grid grid-cols-1 md:grid-cols-2 gap-4 min-h-[40px] p-2 border border-dashed border-gray-300 dark:border-gray-600" + } + } + }, + "SectionLayout": { + "label": "$t:layout_editor.palette.section_layout.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "layout", + "name": "SectionLayout", + "props": { + "className": "min-h-[80px] p-4 border border-dashed border-gray-300 dark:border-gray-600" + } + } + }, + "ThreeColumnLayout": { + "label": "$t:layout_editor.palette.three_column_layout.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "layout", + "name": "ThreeColumnLayout", + "props": { + "className": "min-h-[80px] p-4 border border-dashed border-gray-300 dark:border-gray-600" + } + } + }, + "Section": { + "label": "$t:layout_editor.palette.section.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Section", + "props": { + "className": "min-h-[40px] p-4 sm:p-6 border border-dashed border-gray-300 dark:border-gray-600" + } + } + }, + "Span": { + "label": "$t:layout_editor.palette.span.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Span", + "props": { + "className": "font-semibold text-gray-900 dark:text-white" + }, + "text": "$t:layout_editor.palette.span.default_text" + } + }, + "P": { + "label": "$t:layout_editor.palette.p.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "P", + "props": { + "className": "text-sm text-gray-500 dark:text-gray-400" + }, + "text": "$t:layout_editor.palette.p.default_text" + } + }, + "H1": { + "label": "$t:layout_editor.palette.h1.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "H1", + "props": { + "className": "text-xl sm:text-2xl font-semibold text-gray-900 dark:text-white" + }, + "text": "$t:layout_editor.palette.h1.default_text" + } + }, + "H2": { + "label": "$t:layout_editor.palette.h2.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "H2", + "props": { + "className": "text-lg font-semibold text-gray-900 dark:text-white" + }, + "text": "$t:layout_editor.palette.h2.default_text" + } + }, + "H3": { + "label": "$t:layout_editor.palette.h3.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "H3", + "props": { + "className": "text-base font-semibold text-slate-900 dark:text-white" + }, + "text": "$t:layout_editor.palette.h3.default_text" + } + }, + "H4": { + "label": "$t:layout_editor.palette.h4.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "H4", + "props": { + "className": "text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider mb-3" + }, + "text": "$t:layout_editor.palette.h4.default_text" + } + }, + "A": { + "label": "$t:layout_editor.palette.a.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "A", + "props": { + "href": "#", + "className": "text-sm text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300 transition-colors" + }, + "text": "$t:layout_editor.palette.a.default_text" + } + }, + "Button": { + "label": "$t:layout_editor.palette.button.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Button", + "props": { + "type": "button", + "className": "w-full px-4 py-3 rounded-lg font-medium bg-blue-600 hover:bg-blue-700 dark:bg-blue-500 dark:hover:bg-blue-600 text-white focus:outline-none focus:ring-2 focus:ring-blue-500 disabled:opacity-50 disabled:cursor-not-allowed transition-colors" + }, + "text": "$t:layout_editor.palette.button.default_text" + } + }, + "Img": { + "label": "$t:layout_editor.palette.img.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Img", + "props": { + "src": "https://via.placeholder.com/200x120", + "alt": "$t:layout_editor.palette.img.default_alt", + "className": "w-full h-auto object-cover" + } + } + }, + "Icon": { + "label": "$t:layout_editor.palette.icon.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Icon", + "props": { + "name": "star", + "size": "md" + } + } + }, + "Hr": { + "label": "$t:layout_editor.palette.hr.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Hr", + "props": { + "className": "my-3 border-t border-gray-200 dark:border-gray-700" + } + } + }, + "Ul": { + "label": "$t:layout_editor.palette.ul.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Ul", + "props": { + "className": "mt-2 list-disc list-inside space-y-1 text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Li", + "text": "$t:layout_editor.palette.ul.default_item_text" + } + ] + } + }, + "Ol": { + "label": "$t:layout_editor.palette.ol.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Ol", + "props": { + "className": "mt-2 list-decimal list-inside space-y-1 text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Li", + "text": "$t:layout_editor.palette.ol.default_item_text" + } + ] + } + }, + "Li": { + "label": "$t:layout_editor.palette.li.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Li", + "props": { + "className": "text-sm text-gray-700 dark:text-gray-300" + }, + "text": "$t:layout_editor.palette.li.default_text" + } + }, + "Nav": { + "label": "$t:layout_editor.palette.nav.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Nav", + "props": { + "className": "flex gap-3" + }, + "children": [ + { + "type": "basic", + "name": "A", + "props": { + "href": "#", + "className": "text-sm text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300 transition-colors" + }, + "text": "$t:layout_editor.palette.nav.default_item_text" + } + ] + } + }, + "Code": { + "label": "$t:layout_editor.palette.code.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Code", + "props": { + "className": "px-1.5 py-0.5 bg-gray-100 dark:bg-gray-900 rounded text-sm font-mono text-gray-800 dark:text-gray-200" + }, + "text": "$t:layout_editor.palette.code.default_text" + } + }, + "Pre": { + "label": "$t:layout_editor.palette.pre.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Pre", + "props": { + "className": "whitespace-pre-wrap text-sm text-gray-700 dark:text-gray-300 font-mono leading-relaxed p-3 bg-gray-100 dark:bg-gray-900 rounded overflow-auto" + }, + "text": "$t:layout_editor.palette.pre.default_text" + } + }, + "Card": { + "label": "$t:layout_editor.palette.card.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "Card", + "props": { + "title": "$t:layout_editor.palette.card.default_title" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "text": "$t:layout_editor.palette.card.default_body" + } + ] + } + }, + "Badge": { + "label": "$t:layout_editor.palette.badge.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "Badge", + "props": { + "variant": "default" + }, + "text": "$t:layout_editor.palette.badge.default_text" + } + }, + "StatusBadge": { + "label": "$t:layout_editor.palette.status_badge.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "StatusBadge", + "props": { + "status": "active", + "label": "$t:layout_editor.palette.status_badge.default_label" + } + } + }, + "Alert": { + "label": "$t:layout_editor.palette.alert.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "Alert", + "props": { + "type": "info", + "message": "$t:layout_editor.palette.alert.default_message" + } + } + }, + "EmptyState": { + "label": "$t:layout_editor.palette.empty_state.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "EmptyState", + "props": { + "title": "$t:layout_editor.palette.empty_state.default_title", + "description": "$t:layout_editor.palette.empty_state.default_description" + } + } + }, + "LoadingSpinner": { + "label": "$t:layout_editor.palette.loading_spinner.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "LoadingSpinner", + "props": { + "size": "md" + } + } + }, + "PageHeader": { + "label": "$t:layout_editor.palette.page_header.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "PageHeader", + "props": { + "title": "$t:layout_editor.palette.page_header.default_title", + "subtitle": "$t:layout_editor.palette.page_header.default_subtitle" + } + } + }, + "SectionHeader": { + "label": "$t:layout_editor.palette.section_header.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "SectionHeader", + "props": { + "title": "$t:layout_editor.palette.section_header.default_title", + "description": "$t:layout_editor.palette.section_header.default_description" + } + } + }, + "Breadcrumb": { + "label": "$t:layout_editor.palette.breadcrumb.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "Breadcrumb", + "props": { + "items": [ + { + "label": "$t:layout_editor.palette.breadcrumb.default_item1_label", + "href": "/" + }, + { + "label": "$t:layout_editor.palette.breadcrumb.default_item2_label" + } + ] + } + } + }, + "TabNavigation": { + "label": "$t:layout_editor.palette.tab_navigation.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "TabNavigation", + "props": { + "tabs": [ + { + "key": "tab1", + "label": "$t:layout_editor.palette.tab_navigation.default_tab1_label" + }, + { + "key": "tab2", + "label": "$t:layout_editor.palette.tab_navigation.default_tab2_label" + } + ] + } + } + }, + "TabNavigationScroll": { + "label": "$t:layout_editor.palette.tab_navigation_scroll.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "TabNavigationScroll", + "props": { + "tabs": [ + { + "key": "tab1", + "label": "$t:layout_editor.palette.tab_navigation_scroll.default_tab1_label" + }, + { + "key": "tab2", + "label": "$t:layout_editor.palette.tab_navigation_scroll.default_tab2_label" + } + ] + } + } + }, + "Toggle": { + "label": "$t:layout_editor.palette.toggle.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "Toggle", + "props": { + "label": "$t:layout_editor.palette.toggle.default_label", + "checked": false + } + } + }, + "FormField": { + "label": "$t:layout_editor.palette.form_field.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "FormField", + "props": { + "label": "$t:layout_editor.palette.form_field.default_label" + }, + "children": [ + { + "type": "basic", + "name": "Input", + "props": { + "type": "text" + } + } + ] + } + }, + "Input": { + "label": "$t:layout_editor.palette.input.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Input", + "props": { + "type": "text", + "placeholder": "$t:layout_editor.palette.input.default_placeholder", + "className": "input" + } + } + }, + "Textarea": { + "label": "$t:layout_editor.palette.textarea.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Textarea", + "props": { + "rows": 4, + "placeholder": "$t:layout_editor.palette.textarea.default_placeholder", + "className": "w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-white text-sm focus:ring-2 focus:ring-blue-500 focus:border-blue-500 resize-none" + } + } + }, + "Label": { + "label": "$t:layout_editor.palette.label.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Label", + "props": { + "className": "block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2" + }, + "text": "$t:layout_editor.palette.label.default_text" + } + }, + "Select": { + "label": "$t:layout_editor.palette.select.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Select", + "props": { + "className": "w-full px-3 py-2 bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg text-sm", + "value": "{{_local.selectValue ?? ''}}", + "options": [ + { + "value": "1", + "label": "$t:layout_editor.palette.select.default_option1_label" + }, + { + "value": "2", + "label": "$t:layout_editor.palette.select.default_option2_label" + } + ] + }, + "actions": [ + { + "type": "change", + "handler": "setState", + "target": "local", + "params": { + "selectValue": "{{$event.target.value}}" + } + } + ] + } + }, + "Checkbox": { + "label": "$t:layout_editor.palette.checkbox.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Label", + "props": { + "className": "flex items-center gap-2 cursor-pointer text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Checkbox", + "props": { + "className": "w-4 h-4 rounded border-gray-300 dark:border-gray-600 text-blue-600 dark:text-blue-400 focus:ring-blue-500" + } + }, + { + "type": "basic", + "name": "Span", + "text": "$t:layout_editor.palette.checkbox.default_label" + } + ] + } + }, + "RadioGroup": { + "label": "$t:layout_editor.palette.radio_group.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "RadioGroup", + "props": { + "options": [ + { + "value": "1", + "label": "$t:layout_editor.palette.radio_group.default_option1_label" + }, + { + "value": "2", + "label": "$t:layout_editor.palette.radio_group.default_option2_label" + } + ] + } + } + }, + "FileInput": { + "label": "$t:layout_editor.palette.file_input.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "FileInput", + "props": { + "accept": "*/*", + "className": "block w-full text-sm text-gray-700 dark:text-gray-300" + } + } + }, + "FileUploader": { + "label": "$t:layout_editor.palette.file_uploader.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "FileUploader", + "props": { + "label": "$t:layout_editor.palette.file_uploader.default_label" + } + } + }, + "HtmlContent": { + "label": "$t:layout_editor.palette.html_content.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "HtmlContent", + "props": { + "content": "$t:layout_editor.palette.html_content.default_text", + "isHtml": false, + "className": "prose dark:prose-invert prose-sm max-w-none text-gray-700 dark:text-gray-300" + } + } + }, + "HtmlEditor": { + "label": "$t:layout_editor.palette.html_editor.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "HtmlEditor", + "props": { + "value": "", + "placeholder": "$t:layout_editor.palette.html_editor.default_placeholder" + } + } + }, + "DataGrid": { + "label": "$t:layout_editor.palette.data_grid.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "DataGrid", + "props": { + "columns": [ + { + "field": "id", + "header": "$t:layout_editor.palette.data_grid.default_column_id_label" + }, + { + "field": "name", + "header": "$t:layout_editor.palette.data_grid.default_column_name_label" + } + ], + "data": [] + } + } + }, + "CardGrid": { + "label": "$t:layout_editor.palette.card_grid.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "CardGrid", + "props": { + "items": [] + } + } + }, + "Pagination": { + "label": "$t:layout_editor.palette.pagination.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "Pagination", + "props": { + "total": 100, + "perPage": 10, + "currentPage": 1 + } + } + }, + "SearchBar": { + "label": "$t:layout_editor.palette.search_bar.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "SearchBar", + "props": { + "placeholder": "$t:layout_editor.palette.search_bar.default_placeholder", + "className": "w-64" + } + } + }, + "StatCard": { + "label": "$t:layout_editor.palette.stat_card.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "StatCard", + "props": { + "title": "$t:layout_editor.palette.stat_card.default_title", + "value": "0" + } + } + }, + "ProductCard": { + "label": "$t:layout_editor.palette.product_card.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "ProductCard", + "props": { + "title": "$t:layout_editor.palette.product_card.default_name", + "price": 10000, + "imageUrl": "https://via.placeholder.com/240" + } + } + }, + "TemplateCard": { + "label": "$t:layout_editor.palette.template_card.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "TemplateCard", + "props": { + "template": { + "id": "sample", + "name": "$t:layout_editor.palette.template_card.default_name", + "description": "$t:layout_editor.palette.template_card.default_description" + } + } + } + }, + "BarChart": { + "label": "$t:layout_editor.palette.bar_chart.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "BarChart", + "props": { + "labels": [ + "$t:layout_editor.palette.bar_chart.default_label1", + "$t:layout_editor.palette.bar_chart.default_label2" + ], + "datasets": [ + { + "label": "$t:layout_editor.palette.bar_chart.label", + "data": [ + 30, + 70 + ] + } + ] + } + } + }, + "DonutChart": { + "label": "$t:layout_editor.palette.donut_chart.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "DonutChart", + "props": { + "data": [ + { + "name": "$t:layout_editor.palette.donut_chart.default_label1", + "value": 40, + "color": "#8B5CF6" + }, + { + "name": "$t:layout_editor.palette.donut_chart.default_label2", + "value": 60, + "color": "#EC4899" + } + ] + } + } + }, + "ImageGallery": { + "label": "$t:layout_editor.palette.image_gallery.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "ImageGallery", + "props": { + "images": [ + { + "src": "https://via.placeholder.com/200", + "alt": "$t:layout_editor.palette.image_gallery.default_alt1" + }, + { + "src": "https://via.placeholder.com/200", + "alt": "$t:layout_editor.palette.image_gallery.default_alt2" + } + ] + } + } + }, + "Form": { + "label": "$t:layout_editor.palette.form.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Form", + "props": { + "className": "space-y-6" + }, + "children": [ + { + "type": "composite", + "name": "FormField", + "props": { + "label": "$t:layout_editor.palette.form.default_label_text" + }, + "children": [ + { + "type": "basic", + "name": "Input", + "props": { + "type": "text", + "className": "input" + } + } + ] + }, + { + "type": "basic", + "name": "Button", + "props": { + "type": "submit", + "className": "w-full px-4 py-3 rounded-lg font-medium bg-blue-600 hover:bg-blue-700 dark:bg-blue-500 dark:hover:bg-blue-600 text-white focus:outline-none focus:ring-2 focus:ring-blue-500 disabled:opacity-50 disabled:cursor-not-allowed transition-colors" + }, + "text": "$t:layout_editor.palette.form.default_submit_text" + } + ] + } + }, + "Table": { + "label": "$t:layout_editor.palette.table.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "basic", + "name": "Table", + "props": { + "className": "w-full text-sm text-left text-gray-700 dark:text-gray-300 border border-gray-200 dark:border-gray-700 border-collapse" + }, + "children": [ + { + "type": "basic", + "name": "Thead", + "props": { + "className": "bg-gray-50 dark:bg-gray-800" + }, + "children": [ + { + "type": "basic", + "name": "Tr", + "children": [ + { + "type": "basic", + "name": "Th", + "props": { + "className": "px-4 py-2 border border-gray-200 dark:border-gray-700 font-semibold" + }, + "text": "$t:layout_editor.palette.table.header_1" + }, + { + "type": "basic", + "name": "Th", + "props": { + "className": "px-4 py-2 border border-gray-200 dark:border-gray-700 font-semibold" + }, + "text": "$t:layout_editor.palette.table.header_2" + } + ] + } + ] + }, + { + "type": "basic", + "name": "Tbody", + "children": [ + { + "type": "basic", + "name": "Tr", + "children": [ + { + "type": "basic", + "name": "Td", + "props": { + "className": "px-4 py-2 border border-gray-200 dark:border-gray-700" + }, + "text": "$t:layout_editor.palette.table.cell" + }, + { + "type": "basic", + "name": "Td", + "props": { + "className": "px-4 py-2 border border-gray-200 dark:border-gray-700" + }, + "text": "$t:layout_editor.palette.table.cell" + } + ] + }, + { + "type": "basic", + "name": "Tr", + "children": [ + { + "type": "basic", + "name": "Td", + "props": { + "className": "px-4 py-2 border border-gray-200 dark:border-gray-700" + }, + "text": "$t:layout_editor.palette.table.cell" + }, + { + "type": "basic", + "name": "Td", + "props": { + "className": "px-4 py-2 border border-gray-200 dark:border-gray-700" + }, + "text": "$t:layout_editor.palette.table.cell" + } + ] + } + ] + } + ] + } + }, + "Accordion": { + "label": "$t:layout_editor.palette.accordion.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "Accordion", + "props": { + "defaultOpen": false, + "className": "border border-gray-200 dark:border-gray-700 rounded-lg" + }, + "children": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "p-4 text-sm text-gray-700 dark:text-gray-300" + }, + "text": "$t:layout_editor.palette.accordion.default_body" + } + ] + } + }, + "IconButton": { + "label": "$t:layout_editor.palette.icon_button.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "IconButton", + "props": { + "iconName": "ellipsis-vertical", + "label": "$t:layout_editor.palette.icon_button.default_label", + "variant": "ghost", + "size": "md" + } + } + }, + "Dropdown": { + "label": "$t:layout_editor.palette.dropdown.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "Dropdown", + "props": { + "label": "$t:layout_editor.palette.dropdown.default_label", + "items": [ + { + "value": "1", + "label": "$t:layout_editor.palette.dropdown.default_item1_label" + }, + { + "value": "2", + "label": "$t:layout_editor.palette.dropdown.default_item2_label" + } + ] + } + } + }, + "ActionMenu": { + "label": "$t:layout_editor.palette.action_menu.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "ActionMenu", + "props": { + "triggerLabel": "$t:layout_editor.palette.action_menu.default_trigger_label", + "items": [ + { + "id": "edit", + "label": "$t:layout_editor.palette.action_menu.default_item1_label", + "iconName": "pen" + }, + { + "id": "delete", + "label": "$t:layout_editor.palette.action_menu.default_item2_label", + "iconName": "trash" + } + ] + } + } + }, + "TagInput": { + "label": "$t:layout_editor.palette.tag_input.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "TagInput", + "props": { + "value": [], + "options": [ + { + "value": "1", + "label": "$t:layout_editor.palette.tag_input.default_option1_label" + }, + { + "value": "2", + "label": "$t:layout_editor.palette.tag_input.default_option2_label" + } + ], + "placeholder": "$t:layout_editor.palette.tag_input.default_placeholder" + } + } + }, + "SearchableDropdown": { + "label": "$t:layout_editor.palette.searchable_dropdown.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "SearchableDropdown", + "props": { + "value": null, + "options": [ + { + "value": "1", + "label": "$t:layout_editor.palette.searchable_dropdown.default_option1_label" + }, + { + "value": "2", + "label": "$t:layout_editor.palette.searchable_dropdown.default_option2_label" + } + ], + "searchPlaceholder": "$t:layout_editor.palette.searchable_dropdown.default_search_placeholder" + } + } + }, + "RichSelect": { + "label": "$t:layout_editor.palette.rich_select.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "RichSelect", + "props": { + "value": null, + "options": [ + { + "value": "1", + "label": "$t:layout_editor.palette.rich_select.default_option1_label" + }, + { + "value": "2", + "label": "$t:layout_editor.palette.rich_select.default_option2_label" + } + ], + "placeholder": "$t:layout_editor.palette.rich_select.default_placeholder" + } + } + }, + "TagSelect": { + "label": "$t:layout_editor.palette.tag_select.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "TagSelect", + "props": { + "value": [], + "options": [ + { + "value": "1", + "label": "$t:layout_editor.palette.tag_select.default_option1_label" + }, + { + "value": "2", + "label": "$t:layout_editor.palette.tag_select.default_option2_label" + } + ], + "placeholder": "$t:layout_editor.palette.tag_select.default_placeholder" + } + } + }, + "IconSelect": { + "label": "$t:layout_editor.palette.icon_select.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "IconSelect", + "props": { + "value": "", + "placeholder": "$t:layout_editor.palette.icon_select.default_placeholder", + "searchPlaceholder": "$t:layout_editor.palette.icon_select.default_search_placeholder" + } + } + }, + "ChipCheckbox": { + "label": "$t:layout_editor.palette.chip_checkbox.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "ChipCheckbox", + "props": { + "value": "1", + "checked": false, + "label": "$t:layout_editor.palette.chip_checkbox.default_label" + } + } + }, + "MultilingualInput": { + "label": "$t:layout_editor.palette.multilingual_input.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "MultilingualInput", + "props": { + "value": [], + "inputType": "text", + "placeholder": "$t:layout_editor.palette.multilingual_input.default_placeholder" + } + } + }, + "MultilingualTagInput": { + "label": "$t:layout_editor.palette.multilingual_tag_input.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "MultilingualTagInput", + "props": { + "value": [], + "placeholder": "$t:layout_editor.palette.multilingual_tag_input.default_placeholder" + } + } + }, + "LanguageSelector": { + "label": "$t:layout_editor.palette.language_selector.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "LanguageSelector", + "props": { + "inline": true + } + } + }, + "PermissionTree": { + "label": "$t:layout_editor.palette.permission_tree.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "PermissionTree", + "props": { + "data": [], + "value": [] + } + } + }, + "CategoryTree": { + "label": "$t:layout_editor.palette.category_tree.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "CategoryTree", + "props": { + "data": [ + { + "id": 1, + "name": "$t:layout_editor.palette.category_tree.sample_node1", + "products_count": 12, + "children": [ + { + "id": 2, + "name": "$t:layout_editor.palette.category_tree.sample_node2", + "products_count": 5, + "children": [] + } + ] + } + ], + "selectable": true + } + } + }, + "ExtensionBadge": { + "label": "$t:layout_editor.palette.extension_badge.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "ExtensionBadge", + "props": { + "type": "module", + "name": "$t:layout_editor.palette.extension_badge.default_name" + } + } + }, + "UserProfile": { + "label": "$t:layout_editor.palette.user_profile.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "UserProfile", + "props": { + "user": { + "name": "$t:layout_editor.palette.user_profile.default_name", + "email": "user@example.com" + } + } + } + }, + "FilterGroup": { + "label": "$t:layout_editor.palette.filter_group.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "FilterGroup", + "props": { + "title": "$t:layout_editor.palette.filter_group.default_title", + "filters": [] + } + } + }, + "SortableMenuList": { + "label": "$t:layout_editor.palette.sortable_menu_list.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "SortableMenuList", + "props": { + "title": "$t:layout_editor.palette.sortable_menu_list.label", + "items": [ + { + "id": 1, + "name": "$t:layout_editor.palette.sortable_menu_list.sample_item1", + "slug": "item-1", + "url": "#", + "icon": "fas fa-bars", + "order": 1, + "is_active": true, + "parent_id": null, + "module_id": null, + "children": [] + }, + { + "id": 2, + "name": "$t:layout_editor.palette.sortable_menu_list.sample_item2", + "slug": "item-2", + "url": "#", + "icon": "fas fa-bars", + "order": 2, + "is_active": true, + "parent_id": null, + "module_id": null, + "children": [] + } + ], + "enableDrag": true + } + } + }, + "DynamicFieldList": { + "label": "$t:layout_editor.palette.dynamic_field_list.label", + "requiresDefaultNode": true, + "defaultNode": { + "type": "composite", + "name": "DynamicFieldList", + "props": { + "items": [], + "columns": [], + "addLabel": "$t:layout_editor.palette.dynamic_field_list.default_add_label" + } + } + } + } + }, + "nesting": { + "comment": "draggable = 편집기에서 드래그/팔레트 배치 가능한 컴포넌트 목록. containers.accepts = 해당 컨테이너가 자식으로 받을 수 있는 컴포넌트 이름 목록. Img/Hr/Icon 등 leaf 는 accepts:[] 로 자식 거부. composite 는 통째 이동만 허용(자체는 draggable 에 포함되나 내부 accepts 는 [] 로 비편집).", + "draggable": [ + "Div", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Hr", + "Ul", + "Ol", + "Li", + "Nav", + "Section", + "Code", + "Pre", + "Container", + "Grid", + "Flex", + "SectionLayout", + "ThreeColumnLayout", + "Card", + "Badge", + "StatusBadge", + "Alert", + "EmptyState", + "LoadingSpinner", + "PageHeader", + "Breadcrumb", + "TabNavigation", + "TabNavigationScroll", + "Toggle", + "FormField", + "Input", + "Textarea", + "Label", + "Select", + "Checkbox", + "RadioGroup", + "FileInput", + "FileUploader", + "DataGrid", + "CardGrid", + "Pagination", + "SearchBar", + "StatCard", + "ProductCard", + "TemplateCard", + "BarChart", + "DonutChart", + "HtmlContent", + "HtmlEditor", + "ImageGallery", + "Form", + "Table", + "Accordion", + "IconButton", + "Dropdown", + "ActionMenu", + "TagInput", + "SearchableDropdown", + "RichSelect", + "TagSelect", + "IconSelect", + "ChipCheckbox", + "MultilingualInput", + "MultilingualTagInput", + "LanguageSelector", + "PermissionTree", + "CategoryTree", + "ExtensionBadge", + "UserProfile", + "FilterGroup", + "SortableMenuList", + "DynamicFieldList", + "SectionHeader", + "ThemeToggle", + "NotificationCenter", + "ColumnSelector", + "AdminSidebar", + "AdminFooter" + ], + "containers": { + "Div": { + "accepts": [ + "Div", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Hr", + "Ul", + "Ol", + "Nav", + "Section", + "Code", + "Pre", + "Container", + "Grid", + "Flex", + "SectionLayout", + "ThreeColumnLayout", + "Card", + "Badge", + "StatusBadge", + "Alert", + "EmptyState", + "LoadingSpinner", + "PageHeader", + "Breadcrumb", + "TabNavigation", + "TabNavigationScroll", + "Toggle", + "FormField", + "Input", + "Textarea", + "Label", + "Select", + "Checkbox", + "RadioGroup", + "FileInput", + "FileUploader", + "DataGrid", + "CardGrid", + "Pagination", + "SearchBar", + "StatCard", + "ProductCard", + "TemplateCard", + "BarChart", + "DonutChart", + "HtmlContent", + "HtmlEditor", + "ImageGallery", + "Form", + "Table", + "Accordion", + "IconButton", + "Dropdown", + "ActionMenu", + "TagInput", + "SearchableDropdown", + "RichSelect", + "TagSelect", + "IconSelect", + "ChipCheckbox", + "MultilingualInput", + "MultilingualTagInput", + "LanguageSelector", + "PermissionTree", + "CategoryTree", + "ExtensionBadge", + "UserProfile", + "FilterGroup", + "SortableMenuList", + "DynamicFieldList", + "SectionHeader", + "ThemeToggle", + "NotificationCenter", + "ColumnSelector", + "AdminSidebar", + "AdminFooter" + ] + }, + "Section": { + "accepts": [ + "Div", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Hr", + "Container", + "Grid", + "Flex", + "Card", + "PageHeader", + "DataGrid", + "CardGrid", + "SectionHeader", + "ThemeToggle", + "NotificationCenter", + "ColumnSelector", + "AdminSidebar", + "AdminFooter" + ] + }, + "Nav": { + "accepts": [ + "Ul", + "Ol", + "A", + "Button", + "Span", + "Icon", + "Div" + ] + }, + "P": { + "accepts": [ + "Span", + "A", + "Img", + "Icon", + "Code" + ] + }, + "Span": { + "accepts": [ + "Span", + "A", + "Img", + "Icon" + ] + }, + "A": { + "accepts": [ + "Span", + "Img", + "Icon" + ] + }, + "Ul": { + "accepts": [ + "Li" + ] + }, + "Ol": { + "accepts": [ + "Li" + ] + }, + "Li": { + "accepts": [ + "Span", + "A", + "Img", + "Icon", + "P", + "Div", + "Button" + ] + }, + "Container": { + "accepts": [ + "Div", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Hr", + "Ul", + "Ol", + "Section", + "Grid", + "Flex", + "SectionLayout", + "ThreeColumnLayout", + "Card", + "PageHeader", + "Breadcrumb", + "TabNavigation", + "DataGrid", + "CardGrid", + "Pagination", + "SectionHeader", + "ThemeToggle", + "NotificationCenter", + "ColumnSelector", + "AdminSidebar", + "AdminFooter" + ] + }, + "Grid": { + "accepts": [ + "Div", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Card", + "StatCard", + "ProductCard", + "TemplateCard" + ] + }, + "Flex": { + "accepts": [ + "Div", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Hr", + "Card", + "Badge", + "StatusBadge" + ] + }, + "SectionLayout": { + "accepts": [ + "Div", + "Section", + "Container", + "Grid", + "Flex", + "Card", + "PageHeader", + "SectionHeader", + "ThemeToggle", + "NotificationCenter", + "ColumnSelector", + "AdminSidebar", + "AdminFooter" + ] + }, + "ThreeColumnLayout": { + "accepts": [ + "Div", + "Section", + "Container", + "Grid", + "Flex", + "Card", + "PageHeader", + "SectionHeader", + "ThemeToggle", + "NotificationCenter", + "ColumnSelector", + "AdminSidebar", + "AdminFooter" + ] + }, + "Card": { + "accepts": [ + "Div", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Hr", + "Badge", + "StatusBadge", + "Ul", + "Ol" + ] + }, + "Form": { + "accepts": [ + "Div", + "Span", + "P", + "Label", + "Input", + "Textarea", + "Select", + "Checkbox", + "RadioGroup", + "FileInput", + "FileUploader", + "Button", + "FormField", + "Container", + "Grid", + "Flex", + "Hr", + "MultilingualInput", + "MultilingualTagInput", + "TagInput", + "TagSelect", + "SearchableDropdown", + "RichSelect", + "IconSelect", + "ChipCheckbox", + "DynamicFieldList" + ] + }, + "FormField": { + "accepts": [ + "Input", + "Textarea", + "Select", + "Checkbox", + "RadioGroup", + "FileInput", + "FileUploader", + "Label", + "Span", + "MultilingualInput", + "MultilingualTagInput", + "TagInput", + "TagSelect", + "SearchableDropdown", + "RichSelect", + "IconSelect" + ] + }, + "Table": { + "accepts": [] + }, + "Accordion": { + "accepts": [ + "Div", + "Span", + "P", + "H1", + "H2", + "H3", + "H4", + "A", + "Button", + "Img", + "Icon", + "Hr", + "Ul", + "Ol", + "Container", + "Grid", + "Flex", + "Card", + "DataGrid", + "Table", + "FormField", + "Input", + "Textarea", + "Select", + "Checkbox", + "Label" + ] + } + } + }, + "controls": { + "comment": "admin 도 Tailwind. 폼/테이블/카드 비중이 높음. classToken 토큰 + 색상 styleProp.", + "textAlign": { + "label": "$t:editor.control.text_align.label", + "widget": "segmented", + "group": "text-align", + "options": [ + { + "value": "left", + "label": "$t:editor.control.text_align.left", + "apply": { + "type": "classToken", + "tokens": [ + "text-left" + ] + } + }, + { + "value": "center", + "label": "$t:editor.control.text_align.center", + "apply": { + "type": "classToken", + "tokens": [ + "text-center" + ] + } + }, + { + "value": "right", + "label": "$t:editor.control.text_align.right", + "apply": { + "type": "classToken", + "tokens": [ + "text-right" + ] + } + }, + { + "value": "justify", + "label": "$t:editor.control.text_align.justify", + "apply": { + "type": "classToken", + "tokens": [ + "text-justify" + ] + } + } + ], + "groupTokens": [ + "text-left", + "text-center", + "text-right", + "text-justify", + "text-start", + "text-end" + ] + }, + "fontSize": { + "label": "$t:editor.control.font_size.label", + "widget": "slider", + "group": "font-size", + "scale": [ + "text-xs", + "text-sm", + "text-base", + "text-lg", + "text-xl", + "text-2xl" + ], + "options": [ + { + "value": "text-xs", + "apply": { + "type": "classToken", + "tokens": [ + "text-xs" + ] + } + }, + { + "value": "text-sm", + "apply": { + "type": "classToken", + "tokens": [ + "text-sm" + ] + } + }, + { + "value": "text-base", + "apply": { + "type": "classToken", + "tokens": [ + "text-base" + ] + } + }, + { + "value": "text-lg", + "apply": { + "type": "classToken", + "tokens": [ + "text-lg" + ] + } + }, + { + "value": "text-xl", + "apply": { + "type": "classToken", + "tokens": [ + "text-xl" + ] + } + }, + { + "value": "text-2xl", + "apply": { + "type": "classToken", + "tokens": [ + "text-2xl" + ] + } + } + ], + "groupTokens": [ + "text-xs", + "text-sm", + "text-base", + "text-lg", + "text-xl", + "text-2xl", + "text-3xl", + "text-4xl", + "text-5xl", + "text-6xl", + "text-7xl", + "text-8xl", + "text-9xl" + ] + }, + "fontWeight": { + "label": "$t:editor.control.font_weight.label", + "widget": "segmented", + "group": "font-weight", + "options": [ + { + "value": "font-normal", + "label": "$t:editor.control.font_weight.normal", + "apply": { + "type": "classToken", + "tokens": [ + "font-normal" + ] + } + }, + { + "value": "font-medium", + "label": "$t:editor.control.font_weight.semibold", + "apply": { + "type": "classToken", + "tokens": [ + "font-medium" + ] + } + }, + { + "value": "font-bold", + "label": "$t:editor.control.font_weight.bold", + "apply": { + "type": "classToken", + "tokens": [ + "font-bold" + ] + } + } + ], + "groupTokens": [ + "font-thin", + "font-extralight", + "font-light", + "font-normal", + "font-medium", + "font-semibold", + "font-bold", + "font-extrabold", + "font-black" + ] + }, + "textColor": { + "comment": "Tailwind classToken(원칙 4.8). 프리셋 색은 라이트·다크 모두(dark: prefix, safelist 자동), 자유 HEX(text-[{value}])는 라이트 전용(임의값 dark: 빌드 불가).", + "label": "$t:editor.control.text_color.label", + "widget": "color", + "group": "text-color", + "apply": { + "type": "classToken", + "tokenTemplate": "{MASKED}" + }, + "options": [ + { + "value": "text-gray-900", + "swatch": "#111827", + "label": "$t:editor.control.color_preset.gray_900", + "apply": { + "type": "classToken", + "tokens": [ + "text-gray-900" + ] + } + }, + { + "value": "text-gray-700", + "swatch": "#374151", + "label": "$t:editor.control.color_preset.gray_700", + "apply": { + "type": "classToken", + "tokens": [ + "text-gray-700" + ] + } + }, + { + "value": "text-gray-500", + "swatch": "#6b7280", + "label": "$t:editor.control.color_preset.gray_500", + "apply": { + "type": "classToken", + "tokens": [ + "text-gray-500" + ] + } + }, + { + "value": "text-white", + "swatch": "#ffffff", + "label": "$t:editor.control.color_preset.white", + "apply": { + "type": "classToken", + "tokens": [ + "text-white" + ] + } + }, + { + "value": "text-blue-600", + "swatch": "#2563eb", + "label": "$t:editor.control.color_preset.blue_600", + "apply": { + "type": "classToken", + "tokens": [ + "text-blue-600" + ] + } + }, + { + "value": "text-red-600", + "swatch": "#dc2626", + "label": "$t:editor.control.color_preset.red_600", + "apply": { + "type": "classToken", + "tokens": [ + "text-red-600" + ] + } + }, + { + "value": "text-green-600", + "swatch": "#16a34a", + "label": "$t:editor.control.color_preset.green_600", + "apply": { + "type": "classToken", + "tokens": [ + "text-green-600" + ] + } + } + ], + "groupTokens": [ + "text-slate-50", + "text-slate-100", + "text-slate-200", + "text-slate-300", + "text-slate-400", + "text-slate-500", + "text-slate-600", + "text-slate-700", + "text-slate-800", + "text-slate-900", + "text-slate-950", + "text-gray-50", + "text-gray-100", + "text-gray-200", + "text-gray-300", + "text-gray-400", + "text-gray-500", + "text-gray-600", + "text-gray-700", + "text-gray-800", + "text-gray-900", + "text-gray-950", + "text-zinc-50", + "text-zinc-100", + "text-zinc-200", + "text-zinc-300", + "text-zinc-400", + "text-zinc-500", + "text-zinc-600", + "text-zinc-700", + "text-zinc-800", + "text-zinc-900", + "text-zinc-950", + "text-neutral-50", + "text-neutral-100", + "text-neutral-200", + "text-neutral-300", + "text-neutral-400", + "text-neutral-500", + "text-neutral-600", + "text-neutral-700", + "text-neutral-800", + "text-neutral-900", + "text-neutral-950", + "text-stone-50", + "text-stone-100", + "text-stone-200", + "text-stone-300", + "text-stone-400", + "text-stone-500", + "text-stone-600", + "text-stone-700", + "text-stone-800", + "text-stone-900", + "text-stone-950", + "text-red-50", + "text-red-100", + "text-red-200", + "text-red-300", + "text-red-400", + "text-red-500", + "text-red-600", + "text-red-700", + "text-red-800", + "text-red-900", + "text-red-950", + "text-orange-50", + "text-orange-100", + "text-orange-200", + "text-orange-300", + "text-orange-400", + "text-orange-500", + "text-orange-600", + "text-orange-700", + "text-orange-800", + "text-orange-900", + "text-orange-950", + "text-amber-50", + "text-amber-100", + "text-amber-200", + "text-amber-300", + "text-amber-400", + "text-amber-500", + "text-amber-600", + "text-amber-700", + "text-amber-800", + "text-amber-900", + "text-amber-950", + "text-yellow-50", + "text-yellow-100", + "text-yellow-200", + "text-yellow-300", + "text-yellow-400", + "text-yellow-500", + "text-yellow-600", + "text-yellow-700", + "text-yellow-800", + "text-yellow-900", + "text-yellow-950", + "text-lime-50", + "text-lime-100", + "text-lime-200", + "text-lime-300", + "text-lime-400", + "text-lime-500", + "text-lime-600", + "text-lime-700", + "text-lime-800", + "text-lime-900", + "text-lime-950", + "text-green-50", + "text-green-100", + "text-green-200", + "text-green-300", + "text-green-400", + "text-green-500", + "text-green-600", + "text-green-700", + "text-green-800", + "text-green-900", + "text-green-950", + "text-emerald-50", + "text-emerald-100", + "text-emerald-200", + "text-emerald-300", + "text-emerald-400", + "text-emerald-500", + "text-emerald-600", + "text-emerald-700", + "text-emerald-800", + "text-emerald-900", + "text-emerald-950", + "text-teal-50", + "text-teal-100", + "text-teal-200", + "text-teal-300", + "text-teal-400", + "text-teal-500", + "text-teal-600", + "text-teal-700", + "text-teal-800", + "text-teal-900", + "text-teal-950", + "text-cyan-50", + "text-cyan-100", + "text-cyan-200", + "text-cyan-300", + "text-cyan-400", + "text-cyan-500", + "text-cyan-600", + "text-cyan-700", + "text-cyan-800", + "text-cyan-900", + "text-cyan-950", + "text-sky-50", + "text-sky-100", + "text-sky-200", + "text-sky-300", + "text-sky-400", + "text-sky-500", + "text-sky-600", + "text-sky-700", + "text-sky-800", + "text-sky-900", + "text-sky-950", + "text-blue-50", + "text-blue-100", + "text-blue-200", + "text-blue-300", + "text-blue-400", + "text-blue-500", + "text-blue-600", + "text-blue-700", + "text-blue-800", + "text-blue-900", + "text-blue-950", + "text-indigo-50", + "text-indigo-100", + "text-indigo-200", + "text-indigo-300", + "text-indigo-400", + "text-indigo-500", + "text-indigo-600", + "text-indigo-700", + "text-indigo-800", + "text-indigo-900", + "text-indigo-950", + "text-violet-50", + "text-violet-100", + "text-violet-200", + "text-violet-300", + "text-violet-400", + "text-violet-500", + "text-violet-600", + "text-violet-700", + "text-violet-800", + "text-violet-900", + "text-violet-950", + "text-purple-50", + "text-purple-100", + "text-purple-200", + "text-purple-300", + "text-purple-400", + "text-purple-500", + "text-purple-600", + "text-purple-700", + "text-purple-800", + "text-purple-900", + "text-purple-950", + "text-fuchsia-50", + "text-fuchsia-100", + "text-fuchsia-200", + "text-fuchsia-300", + "text-fuchsia-400", + "text-fuchsia-500", + "text-fuchsia-600", + "text-fuchsia-700", + "text-fuchsia-800", + "text-fuchsia-900", + "text-fuchsia-950", + "text-pink-50", + "text-pink-100", + "text-pink-200", + "text-pink-300", + "text-pink-400", + "text-pink-500", + "text-pink-600", + "text-pink-700", + "text-pink-800", + "text-pink-900", + "text-pink-950", + "text-rose-50", + "text-rose-100", + "text-rose-200", + "text-rose-300", + "text-rose-400", + "text-rose-500", + "text-rose-600", + "text-rose-700", + "text-rose-800", + "text-rose-900", + "text-rose-950", + "text-white", + "text-black", + "text-transparent", + "text-current", + "text-inherit" + ] + }, + "backgroundColor": { + "comment": "Tailwind classToken. 프리셋 배경은 라이트·다크 모두, 자유 HEX(bg-[{value}])는 라이트 전용.", + "label": "$t:editor.control.background_color.label", + "widget": "color", + "group": "bg-color", + "apply": { + "type": "classToken", + "tokenTemplate": "{MASKED}" + }, + "options": [ + { + "value": "bg-white", + "swatch": "#ffffff", + "label": "$t:editor.control.color_preset.white", + "apply": { + "type": "classToken", + "tokens": [ + "bg-white" + ] + } + }, + { + "value": "bg-gray-50", + "swatch": "#f9fafb", + "label": "$t:editor.control.color_preset.gray_50", + "apply": { + "type": "classToken", + "tokens": [ + "bg-gray-50" + ] + } + }, + { + "value": "bg-gray-100", + "swatch": "#f3f4f6", + "label": "$t:editor.control.color_preset.gray_100", + "apply": { + "type": "classToken", + "tokens": [ + "bg-gray-100" + ] + } + }, + { + "value": "bg-gray-800", + "swatch": "#1f2937", + "label": "$t:editor.control.color_preset.gray_800", + "apply": { + "type": "classToken", + "tokens": [ + "bg-gray-800" + ] + } + }, + { + "value": "bg-gray-900", + "swatch": "#111827", + "label": "$t:editor.control.color_preset.gray_900", + "apply": { + "type": "classToken", + "tokens": [ + "bg-gray-900" + ] + } + }, + { + "value": "bg-blue-600", + "swatch": "#2563eb", + "label": "$t:editor.control.color_preset.blue_600", + "apply": { + "type": "classToken", + "tokens": [ + "bg-blue-600" + ] + } + }, + { + "value": "bg-red-600", + "swatch": "#dc2626", + "label": "$t:editor.control.color_preset.red_600", + "apply": { + "type": "classToken", + "tokens": [ + "bg-red-600" + ] + } + } + ], + "groupTokens": [ + "bg-slate-50", + "bg-slate-100", + "bg-slate-200", + "bg-slate-300", + "bg-slate-400", + "bg-slate-500", + "bg-slate-600", + "bg-slate-700", + "bg-slate-800", + "bg-slate-900", + "bg-slate-950", + "bg-gray-50", + "bg-gray-100", + "bg-gray-200", + "bg-gray-300", + "bg-gray-400", + "bg-gray-500", + "bg-gray-600", + "bg-gray-700", + "bg-gray-800", + "bg-gray-900", + "bg-gray-950", + "bg-zinc-50", + "bg-zinc-100", + "bg-zinc-200", + "bg-zinc-300", + "bg-zinc-400", + "bg-zinc-500", + "bg-zinc-600", + "bg-zinc-700", + "bg-zinc-800", + "bg-zinc-900", + "bg-zinc-950", + "bg-neutral-50", + "bg-neutral-100", + "bg-neutral-200", + "bg-neutral-300", + "bg-neutral-400", + "bg-neutral-500", + "bg-neutral-600", + "bg-neutral-700", + "bg-neutral-800", + "bg-neutral-900", + "bg-neutral-950", + "bg-stone-50", + "bg-stone-100", + "bg-stone-200", + "bg-stone-300", + "bg-stone-400", + "bg-stone-500", + "bg-stone-600", + "bg-stone-700", + "bg-stone-800", + "bg-stone-900", + "bg-stone-950", + "bg-red-50", + "bg-red-100", + "bg-red-200", + "bg-red-300", + "bg-red-400", + "bg-red-500", + "bg-red-600", + "bg-red-700", + "bg-red-800", + "bg-red-900", + "bg-red-950", + "bg-orange-50", + "bg-orange-100", + "bg-orange-200", + "bg-orange-300", + "bg-orange-400", + "bg-orange-500", + "bg-orange-600", + "bg-orange-700", + "bg-orange-800", + "bg-orange-900", + "bg-orange-950", + "bg-amber-50", + "bg-amber-100", + "bg-amber-200", + "bg-amber-300", + "bg-amber-400", + "bg-amber-500", + "bg-amber-600", + "bg-amber-700", + "bg-amber-800", + "bg-amber-900", + "bg-amber-950", + "bg-yellow-50", + "bg-yellow-100", + "bg-yellow-200", + "bg-yellow-300", + "bg-yellow-400", + "bg-yellow-500", + "bg-yellow-600", + "bg-yellow-700", + "bg-yellow-800", + "bg-yellow-900", + "bg-yellow-950", + "bg-lime-50", + "bg-lime-100", + "bg-lime-200", + "bg-lime-300", + "bg-lime-400", + "bg-lime-500", + "bg-lime-600", + "bg-lime-700", + "bg-lime-800", + "bg-lime-900", + "bg-lime-950", + "bg-green-50", + "bg-green-100", + "bg-green-200", + "bg-green-300", + "bg-green-400", + "bg-green-500", + "bg-green-600", + "bg-green-700", + "bg-green-800", + "bg-green-900", + "bg-green-950", + "bg-emerald-50", + "bg-emerald-100", + "bg-emerald-200", + "bg-emerald-300", + "bg-emerald-400", + "bg-emerald-500", + "bg-emerald-600", + "bg-emerald-700", + "bg-emerald-800", + "bg-emerald-900", + "bg-emerald-950", + "bg-teal-50", + "bg-teal-100", + "bg-teal-200", + "bg-teal-300", + "bg-teal-400", + "bg-teal-500", + "bg-teal-600", + "bg-teal-700", + "bg-teal-800", + "bg-teal-900", + "bg-teal-950", + "bg-cyan-50", + "bg-cyan-100", + "bg-cyan-200", + "bg-cyan-300", + "bg-cyan-400", + "bg-cyan-500", + "bg-cyan-600", + "bg-cyan-700", + "bg-cyan-800", + "bg-cyan-900", + "bg-cyan-950", + "bg-sky-50", + "bg-sky-100", + "bg-sky-200", + "bg-sky-300", + "bg-sky-400", + "bg-sky-500", + "bg-sky-600", + "bg-sky-700", + "bg-sky-800", + "bg-sky-900", + "bg-sky-950", + "bg-blue-50", + "bg-blue-100", + "bg-blue-200", + "bg-blue-300", + "bg-blue-400", + "bg-blue-500", + "bg-blue-600", + "bg-blue-700", + "bg-blue-800", + "bg-blue-900", + "bg-blue-950", + "bg-indigo-50", + "bg-indigo-100", + "bg-indigo-200", + "bg-indigo-300", + "bg-indigo-400", + "bg-indigo-500", + "bg-indigo-600", + "bg-indigo-700", + "bg-indigo-800", + "bg-indigo-900", + "bg-indigo-950", + "bg-violet-50", + "bg-violet-100", + "bg-violet-200", + "bg-violet-300", + "bg-violet-400", + "bg-violet-500", + "bg-violet-600", + "bg-violet-700", + "bg-violet-800", + "bg-violet-900", + "bg-violet-950", + "bg-purple-50", + "bg-purple-100", + "bg-purple-200", + "bg-purple-300", + "bg-purple-400", + "bg-purple-500", + "bg-purple-600", + "bg-purple-700", + "bg-purple-800", + "bg-purple-900", + "bg-purple-950", + "bg-fuchsia-50", + "bg-fuchsia-100", + "bg-fuchsia-200", + "bg-fuchsia-300", + "bg-fuchsia-400", + "bg-fuchsia-500", + "bg-fuchsia-600", + "bg-fuchsia-700", + "bg-fuchsia-800", + "bg-fuchsia-900", + "bg-fuchsia-950", + "bg-pink-50", + "bg-pink-100", + "bg-pink-200", + "bg-pink-300", + "bg-pink-400", + "bg-pink-500", + "bg-pink-600", + "bg-pink-700", + "bg-pink-800", + "bg-pink-900", + "bg-pink-950", + "bg-rose-50", + "bg-rose-100", + "bg-rose-200", + "bg-rose-300", + "bg-rose-400", + "bg-rose-500", + "bg-rose-600", + "bg-rose-700", + "bg-rose-800", + "bg-rose-900", + "bg-rose-950", + "bg-white", + "bg-black", + "bg-transparent", + "bg-current", + "bg-inherit" + ] + }, + "paddingAll": { + "label": "$t:editor.control.padding.label", + "widget": "spacing", + "group": "padding", + "spacingPrefix": "p", + "scale": [ + "0", + "2", + "3", + "4", + "6" + ], + "apply": { + "type": "classToken", + "tokenTemplate": "{MASKED}" + }, + "groupPrefixes": [ + "p-", + "px-", + "py-", + "pt-", + "pr-", + "pb-", + "pl-" + ] + }, + "marginAll": { + "label": "$t:editor.control.margin.label", + "widget": "spacing", + "group": "margin", + "spacingPrefix": "m", + "scale": [ + "0", + "2", + "3", + "4", + "6" + ], + "apply": { + "type": "classToken", + "tokenTemplate": "{MASKED}" + }, + "groupPrefixes": [ + "m-", + "mx-", + "my-", + "mt-", + "mr-", + "mb-", + "ml-" + ] + }, + "width": { + "label": "$t:editor.control.width.label", + "widget": "dimension", + "group": "width", + "apply": { + "type": "styleProp", + "prop": "width" + }, + "options": [ + { + "value": "100%", + "label": "$t:editor.control.width.full" + }, + { + "value": "50%", + "label": "$t:editor.control.width.half" + }, + { + "value": "auto", + "label": "$t:editor.control.height.auto" + } + ] + }, + "height": { + "label": "$t:editor.control.height.label", + "widget": "dimension", + "group": "height", + "apply": { + "type": "styleProp", + "prop": "height" + }, + "options": [ + { + "value": "auto", + "label": "$t:editor.control.height.auto" + }, + { + "value": "240px", + "label": "240px" + }, + { + "value": "360px", + "label": "360px" + } + ] + }, + "flexDirection": { + "label": "$t:editor.control.flex_direction.label", + "widget": "segmented", + "group": "flex-direction", + "options": [ + { + "value": "row", + "label": "$t:editor.control.flex_direction.row", + "apply": { + "type": "classToken", + "tokens": [ + "flex-row" + ] + } + }, + { + "value": "column", + "label": "$t:editor.control.flex_direction.column", + "apply": { + "type": "classToken", + "tokens": [ + "flex-col" + ] + } + } + ], + "groupTokens": [ + "flex-row", + "flex-row-reverse", + "flex-col", + "flex-col-reverse" + ] + }, + "flexJustify": { + "label": "$t:editor.control.flex_justify.label", + "widget": "segmented", + "group": "flex-justify", + "options": [ + { + "value": "start", + "label": "$t:editor.control.flex_justify.start", + "apply": { + "type": "classToken", + "tokens": [ + "justify-start" + ] + } + }, + { + "value": "center", + "label": "$t:editor.control.flex_justify.center", + "apply": { + "type": "classToken", + "tokens": [ + "justify-center" + ] + } + }, + { + "value": "end", + "label": "$t:editor.control.flex_justify.end", + "apply": { + "type": "classToken", + "tokens": [ + "justify-end" + ] + } + }, + { + "value": "between", + "label": "$t:editor.control.flex_justify.between", + "apply": { + "type": "classToken", + "tokens": [ + "justify-between" + ] + } + }, + { + "value": "around", + "label": "$t:editor.control.flex_justify.around", + "apply": { + "type": "classToken", + "tokens": [ + "justify-around" + ] + } + } + ], + "groupTokens": [ + "justify-start", + "justify-center", + "justify-end", + "justify-between", + "justify-around", + "justify-evenly" + ] + }, + "flexAlign": { + "label": "$t:editor.control.flex_align.label", + "widget": "segmented", + "group": "flex-align", + "options": [ + { + "value": "start", + "label": "$t:editor.control.flex_align.start", + "apply": { + "type": "classToken", + "tokens": [ + "items-start" + ] + } + }, + { + "value": "center", + "label": "$t:editor.control.flex_align.center", + "apply": { + "type": "classToken", + "tokens": [ + "items-center" + ] + } + }, + { + "value": "end", + "label": "$t:editor.control.flex_align.end", + "apply": { + "type": "classToken", + "tokens": [ + "items-end" + ] + } + }, + { + "value": "stretch", + "label": "$t:editor.control.flex_align.stretch", + "apply": { + "type": "classToken", + "tokens": [ + "items-stretch" + ] + } + } + ], + "groupTokens": [ + "items-start", + "items-center", + "items-end", + "items-stretch", + "items-baseline" + ] + }, + "flexWrap": { + "label": "$t:editor.control.flex_wrap.label", + "widget": "toggle", + "group": "flex-wrap", + "options": [ + { + "value": "nowrap", + "label": "$t:editor.control.flex_wrap.off" + }, + { + "value": "wrap", + "label": "$t:editor.control.flex_wrap.on", + "apply": { + "type": "classToken", + "tokens": [ + "flex-wrap" + ] + } + } + ] + }, + "flexGap": { + "label": "$t:editor.control.flex_gap.label", + "widget": "slider", + "group": "flex-gap", + "scale": [ + "0", + "1", + "2", + "4", + "6", + "8" + ], + "apply": { + "type": "classToken", + "tokenTemplate": "{MASKED}" + } + }, + "flexEnable": { + "label": "$t:editor.control.flex_enable.label", + "widget": "segmented", + "group": "flex-enable", + "onValue": "flex", + "apply": { + "type": "classToken", + "tokens": [ + "flex" + ] + }, + "options": [ + { + "value": "flex", + "label": "$t:editor.control.flex_enable.on", + "apply": { + "type": "classToken", + "tokens": [ + "flex" + ] + } + }, + { + "value": "block", + "label": "$t:editor.control.flex_enable.off", + "apply": { + "type": "classToken", + "tokens": [ + "block" + ] + } + } + ] + }, + "flexItemGrow": { + "label": "$t:editor.control.flex_item_grow.label", + "widget": "segmented", + "group": "flex-item-grow", + "options": [ + { + "value": "fixed", + "label": "$t:editor.control.flex_item_grow.fixed", + "apply": { + "type": "classToken", + "tokens": [ + "flex-none" + ] + } + }, + { + "value": "fill", + "label": "$t:editor.control.flex_item_grow.fill", + "apply": { + "type": "classToken", + "tokens": [ + "flex-1" + ] + } + }, + { + "value": "ratio", + "label": "$t:editor.control.flex_item_grow.ratio", + "apply": { + "type": "classToken", + "tokens": [ + "flex-auto" + ] + } + } + ], + "groupTokens": [ + "flex-none", + "flex-1", + "flex-auto", + "flex-initial" + ] + }, + "flexItemAlign": { + "label": "$t:editor.control.flex_item_align.label", + "widget": "segmented", + "group": "flex-item-align", + "options": [ + { + "value": "start", + "label": "$t:editor.control.flex_item_align.start", + "apply": { + "type": "classToken", + "tokens": [ + "self-start" + ] + } + }, + { + "value": "center", + "label": "$t:editor.control.flex_item_align.center", + "apply": { + "type": "classToken", + "tokens": [ + "self-center" + ] + } + }, + { + "value": "end", + "label": "$t:editor.control.flex_item_align.end", + "apply": { + "type": "classToken", + "tokens": [ + "self-end" + ] + } + }, + { + "value": "stretch", + "label": "$t:editor.control.flex_item_align.stretch", + "apply": { + "type": "classToken", + "tokens": [ + "self-stretch" + ] + } + } + ], + "groupTokens": [ + "self-auto", + "self-start", + "self-center", + "self-end", + "self-stretch", + "self-baseline" + ] + }, + "flexItemOrder": { + "label": "$t:editor.control.flex_item_order.label", + "widget": "dimension", + "group": "flex-item-order", + "apply": { + "type": "styleProp", + "prop": "order" + } + }, + "boxShadow": { + "label": "$t:editor.control.box_shadow.label", + "widget": "select", + "group": "box-shadow", + "options": [ + { + "value": "shadow-none", + "label": "$t:editor.control.box_shadow.none", + "apply": { + "type": "classToken", + "tokens": [ + "shadow-none" + ] + } + }, + { + "value": "shadow-sm", + "label": "$t:editor.control.box_shadow.sm", + "apply": { + "type": "classToken", + "tokens": [ + "shadow-sm" + ] + } + }, + { + "value": "shadow", + "label": "$t:editor.control.box_shadow.md", + "apply": { + "type": "classToken", + "tokens": [ + "shadow" + ] + } + }, + { + "value": "shadow-lg", + "label": "$t:editor.control.box_shadow.lg", + "apply": { + "type": "classToken", + "tokens": [ + "shadow-lg" + ] + } + }, + { + "value": "shadow-xl", + "label": "$t:editor.control.box_shadow.xl", + "apply": { + "type": "classToken", + "tokens": [ + "shadow-xl" + ] + } + }, + { + "value": "shadow-2xl", + "label": "$t:editor.control.box_shadow.xxl", + "apply": { + "type": "classToken", + "tokens": [ + "shadow-2xl" + ] + } + } + ], + "groupTokens": [ + "shadow-none", + "shadow-sm", + "shadow", + "shadow-md", + "shadow-lg", + "shadow-xl", + "shadow-2xl", + "shadow-inner" + ] + }, + "borderStyle": { + "label": "$t:editor.control.border_style.label", + "widget": "select", + "group": "border-style", + "options": [ + { + "value": "none", + "label": "$t:editor.control.border_style.none", + "apply": { + "type": "classToken", + "tokens": [ + "border-0" + ] + } + }, + { + "value": "solid", + "label": "$t:editor.control.border_style.solid", + "apply": { + "type": "classToken", + "tokens": [ + "border", + "border-solid" + ] + } + }, + { + "value": "dashed", + "label": "$t:editor.control.border_style.dashed", + "apply": { + "type": "classToken", + "tokens": [ + "border", + "border-dashed" + ] + } + }, + { + "value": "dotted", + "label": "$t:editor.control.border_style.dotted", + "apply": { + "type": "classToken", + "tokens": [ + "border", + "border-dotted" + ] + } + } + ] + }, + "borderColor": { + "label": "$t:editor.control.border_color.label", + "widget": "color", + "group": "border-color", + "apply": { + "type": "classToken", + "tokenTemplate": "{MASKED}" + }, + "options": [ + { + "value": "border-gray-900", + "swatch": "#111827", + "label": "$t:editor.control.color_preset.gray_900", + "apply": { + "type": "classToken", + "tokens": [ + "border-gray-900" + ] + } + }, + { + "value": "border-gray-700", + "swatch": "#374151", + "label": "$t:editor.control.color_preset.gray_700", + "apply": { + "type": "classToken", + "tokens": [ + "border-gray-700" + ] + } + }, + { + "value": "border-gray-500", + "swatch": "#6b7280", + "label": "$t:editor.control.color_preset.gray_500", + "apply": { + "type": "classToken", + "tokens": [ + "border-gray-500" + ] + } + }, + { + "value": "border-gray-300", + "swatch": "#d1d5db", + "label": "$t:editor.control.color_preset.gray_300", + "apply": { + "type": "classToken", + "tokens": [ + "border-gray-300" + ] + } + }, + { + "value": "border-white", + "swatch": "#ffffff", + "label": "$t:editor.control.color_preset.white", + "apply": { + "type": "classToken", + "tokens": [ + "border-white" + ] + } + }, + { + "value": "border-blue-600", + "swatch": "#2563eb", + "label": "$t:editor.control.color_preset.blue_600", + "apply": { + "type": "classToken", + "tokens": [ + "border-blue-600" + ] + } + }, + { + "value": "border-red-600", + "swatch": "#dc2626", + "label": "$t:editor.control.color_preset.red_600", + "apply": { + "type": "classToken", + "tokens": [ + "border-red-600" + ] + } + }, + { + "value": "border-green-600", + "swatch": "#16a34a", + "label": "$t:editor.control.color_preset.green_600", + "apply": { + "type": "classToken", + "tokens": [ + "border-green-600" + ] + } + } + ], + "groupTokens": [ + "border-slate-50", + "border-slate-100", + "border-slate-200", + "border-slate-300", + "border-slate-400", + "border-slate-500", + "border-slate-600", + "border-slate-700", + "border-slate-800", + "border-slate-900", + "border-slate-950", + "border-gray-50", + "border-gray-100", + "border-gray-200", + "border-gray-300", + "border-gray-400", + "border-gray-500", + "border-gray-600", + "border-gray-700", + "border-gray-800", + "border-gray-900", + "border-gray-950", + "border-zinc-50", + "border-zinc-100", + "border-zinc-200", + "border-zinc-300", + "border-zinc-400", + "border-zinc-500", + "border-zinc-600", + "border-zinc-700", + "border-zinc-800", + "border-zinc-900", + "border-zinc-950", + "border-neutral-50", + "border-neutral-100", + "border-neutral-200", + "border-neutral-300", + "border-neutral-400", + "border-neutral-500", + "border-neutral-600", + "border-neutral-700", + "border-neutral-800", + "border-neutral-900", + "border-neutral-950", + "border-stone-50", + "border-stone-100", + "border-stone-200", + "border-stone-300", + "border-stone-400", + "border-stone-500", + "border-stone-600", + "border-stone-700", + "border-stone-800", + "border-stone-900", + "border-stone-950", + "border-red-50", + "border-red-100", + "border-red-200", + "border-red-300", + "border-red-400", + "border-red-500", + "border-red-600", + "border-red-700", + "border-red-800", + "border-red-900", + "border-red-950", + "border-orange-50", + "border-orange-100", + "border-orange-200", + "border-orange-300", + "border-orange-400", + "border-orange-500", + "border-orange-600", + "border-orange-700", + "border-orange-800", + "border-orange-900", + "border-orange-950", + "border-amber-50", + "border-amber-100", + "border-amber-200", + "border-amber-300", + "border-amber-400", + "border-amber-500", + "border-amber-600", + "border-amber-700", + "border-amber-800", + "border-amber-900", + "border-amber-950", + "border-yellow-50", + "border-yellow-100", + "border-yellow-200", + "border-yellow-300", + "border-yellow-400", + "border-yellow-500", + "border-yellow-600", + "border-yellow-700", + "border-yellow-800", + "border-yellow-900", + "border-yellow-950", + "border-lime-50", + "border-lime-100", + "border-lime-200", + "border-lime-300", + "border-lime-400", + "border-lime-500", + "border-lime-600", + "border-lime-700", + "border-lime-800", + "border-lime-900", + "border-lime-950", + "border-green-50", + "border-green-100", + "border-green-200", + "border-green-300", + "border-green-400", + "border-green-500", + "border-green-600", + "border-green-700", + "border-green-800", + "border-green-900", + "border-green-950", + "border-emerald-50", + "border-emerald-100", + "border-emerald-200", + "border-emerald-300", + "border-emerald-400", + "border-emerald-500", + "border-emerald-600", + "border-emerald-700", + "border-emerald-800", + "border-emerald-900", + "border-emerald-950", + "border-teal-50", + "border-teal-100", + "border-teal-200", + "border-teal-300", + "border-teal-400", + "border-teal-500", + "border-teal-600", + "border-teal-700", + "border-teal-800", + "border-teal-900", + "border-teal-950", + "border-cyan-50", + "border-cyan-100", + "border-cyan-200", + "border-cyan-300", + "border-cyan-400", + "border-cyan-500", + "border-cyan-600", + "border-cyan-700", + "border-cyan-800", + "border-cyan-900", + "border-cyan-950", + "border-sky-50", + "border-sky-100", + "border-sky-200", + "border-sky-300", + "border-sky-400", + "border-sky-500", + "border-sky-600", + "border-sky-700", + "border-sky-800", + "border-sky-900", + "border-sky-950", + "border-blue-50", + "border-blue-100", + "border-blue-200", + "border-blue-300", + "border-blue-400", + "border-blue-500", + "border-blue-600", + "border-blue-700", + "border-blue-800", + "border-blue-900", + "border-blue-950", + "border-indigo-50", + "border-indigo-100", + "border-indigo-200", + "border-indigo-300", + "border-indigo-400", + "border-indigo-500", + "border-indigo-600", + "border-indigo-700", + "border-indigo-800", + "border-indigo-900", + "border-indigo-950", + "border-violet-50", + "border-violet-100", + "border-violet-200", + "border-violet-300", + "border-violet-400", + "border-violet-500", + "border-violet-600", + "border-violet-700", + "border-violet-800", + "border-violet-900", + "border-violet-950", + "border-purple-50", + "border-purple-100", + "border-purple-200", + "border-purple-300", + "border-purple-400", + "border-purple-500", + "border-purple-600", + "border-purple-700", + "border-purple-800", + "border-purple-900", + "border-purple-950", + "border-fuchsia-50", + "border-fuchsia-100", + "border-fuchsia-200", + "border-fuchsia-300", + "border-fuchsia-400", + "border-fuchsia-500", + "border-fuchsia-600", + "border-fuchsia-700", + "border-fuchsia-800", + "border-fuchsia-900", + "border-fuchsia-950", + "border-pink-50", + "border-pink-100", + "border-pink-200", + "border-pink-300", + "border-pink-400", + "border-pink-500", + "border-pink-600", + "border-pink-700", + "border-pink-800", + "border-pink-900", + "border-pink-950", + "border-rose-50", + "border-rose-100", + "border-rose-200", + "border-rose-300", + "border-rose-400", + "border-rose-500", + "border-rose-600", + "border-rose-700", + "border-rose-800", + "border-rose-900", + "border-rose-950", + "border-white", + "border-black", + "border-transparent", + "border-current", + "border-inherit" + ] + }, + "borderRadius": { + "label": "$t:editor.control.border_radius.label", + "widget": "select", + "group": "border-radius", + "options": [ + { + "value": "rounded-none", + "label": "$t:editor.control.border_radius.none", + "apply": { + "type": "classToken", + "tokens": [ + "rounded-none" + ] + } + }, + { + "value": "rounded-sm", + "label": "$t:editor.control.border_radius.sm", + "apply": { + "type": "classToken", + "tokens": [ + "rounded-sm" + ] + } + }, + { + "value": "rounded", + "label": "$t:editor.control.border_radius.md", + "apply": { + "type": "classToken", + "tokens": [ + "rounded" + ] + } + }, + { + "value": "rounded-lg", + "label": "$t:editor.control.border_radius.lg", + "apply": { + "type": "classToken", + "tokens": [ + "rounded-lg" + ] + } + }, + { + "value": "rounded-xl", + "label": "$t:editor.control.border_radius.xl", + "apply": { + "type": "classToken", + "tokens": [ + "rounded-xl" + ] + } + }, + { + "value": "rounded-full", + "label": "$t:editor.control.border_radius.full", + "apply": { + "type": "classToken", + "tokens": [ + "rounded-full" + ] + } + } + ], + "groupTokens": [ + "rounded-none", + "rounded-sm", + "rounded", + "rounded-md", + "rounded-lg", + "rounded-xl", + "rounded-2xl", + "rounded-3xl", + "rounded-full" + ] + }, + "opacity": { + "label": "$t:editor.control.opacity.label", + "widget": "slider", + "group": "opacity", + "apply": { + "type": "classToken", + "tokenTemplate": "{MASKED}" + }, + "groupPrefixes": [ + "opacity-" + ], + "scale": [ + "opacity-0", + "opacity-25", + "opacity-50", + "opacity-75", + "opacity-100" + ] + }, + "overflow": { + "label": "$t:editor.control.overflow.label", + "widget": "select", + "group": "overflow", + "options": [ + { + "value": "overflow-auto", + "label": "$t:editor.control.overflow.auto", + "apply": { + "type": "classToken", + "tokens": [ + "overflow-auto" + ] + } + }, + { + "value": "overflow-hidden", + "label": "$t:editor.control.overflow.hidden", + "apply": { + "type": "classToken", + "tokens": [ + "overflow-hidden" + ] + } + }, + { + "value": "overflow-x-auto", + "label": "$t:editor.control.overflow.x_auto", + "apply": { + "type": "classToken", + "tokens": [ + "overflow-x-auto" + ] + } + }, + { + "value": "overflow-y-auto", + "label": "$t:editor.control.overflow.y_auto", + "apply": { + "type": "classToken", + "tokens": [ + "overflow-y-auto" + ] + } + }, + { + "value": "overflow-visible", + "label": "$t:editor.control.overflow.visible", + "apply": { + "type": "classToken", + "tokens": [ + "overflow-visible" + ] + } + } + ], + "groupTokens": [ + "overflow-auto", + "overflow-hidden", + "overflow-visible", + "overflow-scroll", + "overflow-clip", + "overflow-x-auto", + "overflow-y-auto", + "overflow-x-hidden", + "overflow-y-hidden", + "overflow-x-visible", + "overflow-y-visible", + "overflow-x-scroll", + "overflow-y-scroll" + ] + }, + "fontBold": { + "label": "$t:editor.control.font_bold.label", + "widget": "toggle", + "group": "font-bold", + "options": [ + { + "label": "$t:editor.control.toggle.off" + }, + { + "value": "font-bold", + "label": "$t:editor.control.toggle.on", + "apply": { + "type": "classToken", + "tokens": [ + "font-bold" + ] + } + } + ] + }, + "fontItalic": { + "label": "$t:editor.control.font_italic.label", + "widget": "toggle", + "group": "font-italic", + "options": [ + { + "label": "$t:editor.control.toggle.off" + }, + { + "value": "italic", + "label": "$t:editor.control.toggle.on", + "apply": { + "type": "classToken", + "tokens": [ + "italic" + ] + } + } + ] + }, + "textUnderline": { + "label": "$t:editor.control.text_underline.label", + "widget": "toggle", + "group": "text-underline", + "options": [ + { + "label": "$t:editor.control.toggle.off" + }, + { + "value": "underline", + "label": "$t:editor.control.toggle.on", + "apply": { + "type": "classToken", + "tokens": [ + "underline" + ] + } + } + ] + }, + "whitespace": { + "label": "$t:editor.control.whitespace.label", + "widget": "select", + "group": "whitespace", + "options": [ + { + "value": "normal", + "label": "$t:editor.control.whitespace.normal", + "apply": { + "type": "classToken", + "tokens": [ + "whitespace-normal" + ] + } + }, + { + "value": "nowrap", + "label": "$t:editor.control.whitespace.nowrap", + "apply": { + "type": "classToken", + "tokens": [ + "whitespace-nowrap" + ] + } + }, + { + "value": "pre-wrap", + "label": "$t:editor.control.whitespace.pre_wrap", + "apply": { + "type": "classToken", + "tokens": [ + "whitespace-pre-wrap" + ] + } + } + ], + "groupTokens": [ + "whitespace-normal", + "whitespace-nowrap", + "whitespace-pre", + "whitespace-pre-line", + "whitespace-pre-wrap", + "whitespace-break-spaces" + ] + }, + "_propControlsComment": "비-스타일 prop(propValue) 편집 컨트롤. componentCapabilities.propControls 가 키로 참조한다. 위젯: text=자유문자열 / i18n-text=다국어문자열 / select=택1 / toggle=불리언 / icon-picker=아이콘명(카탈로그는 iconName.icons 인라인) / options-list=정적 선택지 배열. apply 는 모두 propValue(node.props[propKey] 기록).", + "iconName": { + "label": "$t:editor.control.icon_name.label", + "widget": "icon-picker", + "apply": { + "type": "propValue", + "propKey": "name" + }, + "iconColumns": 8, + "icons": [ + { + "value": "0" + }, + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + }, + { + "value": "4" + }, + { + "value": "5" + }, + { + "value": "6" + }, + { + "value": "7" + }, + { + "value": "8" + }, + { + "value": "9" + }, + { + "value": "a" + }, + { + "value": "address-book", + "keywords": [ + "address", + "book" + ] + }, + { + "value": "address-card", + "keywords": [ + "address", + "card" + ] + }, + { + "value": "align-center", + "keywords": [ + "align", + "center" + ] + }, + { + "value": "align-justify", + "keywords": [ + "align", + "justify" + ] + }, + { + "value": "align-left", + "keywords": [ + "align", + "left" + ] + }, + { + "value": "align-right", + "keywords": [ + "align", + "right" + ] + }, + { + "value": "anchor" + }, + { + "value": "anchor-circle-check", + "keywords": [ + "anchor", + "circle", + "check" + ] + }, + { + "value": "anchor-circle-exclamation", + "keywords": [ + "anchor", + "circle", + "exclamation" + ] + }, + { + "value": "anchor-circle-xmark", + "keywords": [ + "anchor", + "circle", + "xmark" + ] + }, + { + "value": "anchor-lock", + "keywords": [ + "anchor", + "lock" + ] + }, + { + "value": "angle-down", + "keywords": [ + "angle", + "down" + ] + }, + { + "value": "angle-left", + "keywords": [ + "angle", + "left" + ] + }, + { + "value": "angle-right", + "keywords": [ + "angle", + "right" + ] + }, + { + "value": "angle-up", + "keywords": [ + "angle", + "up" + ] + }, + { + "value": "angles-down", + "keywords": [ + "angles", + "down" + ] + }, + { + "value": "angles-left", + "keywords": [ + "angles", + "left" + ] + }, + { + "value": "angles-right", + "keywords": [ + "angles", + "right" + ] + }, + { + "value": "angles-up", + "keywords": [ + "angles", + "up" + ] + }, + { + "value": "ankh" + }, + { + "value": "apple-whole", + "keywords": [ + "apple", + "whole" + ] + }, + { + "value": "archway" + }, + { + "value": "arrow-down", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-1-9", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-9-1", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-a-z", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-long", + "keywords": [ + "arrow", + "down", + "long" + ] + }, + { + "value": "arrow-down-short-wide", + "keywords": [ + "arrow", + "down", + "short", + "wide" + ] + }, + { + "value": "arrow-down-up-across-line", + "keywords": [ + "arrow", + "down", + "up", + "across", + "line" + ] + }, + { + "value": "arrow-down-up-lock", + "keywords": [ + "arrow", + "down", + "up", + "lock" + ] + }, + { + "value": "arrow-down-wide-short", + "keywords": [ + "arrow", + "down", + "wide", + "short" + ] + }, + { + "value": "arrow-down-z-a", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-left", + "keywords": [ + "arrow", + "left" + ] + }, + { + "value": "arrow-left-long", + "keywords": [ + "arrow", + "left", + "long" + ] + }, + { + "value": "arrow-pointer", + "keywords": [ + "arrow", + "pointer" + ] + }, + { + "value": "arrow-right", + "keywords": [ + "arrow", + "right" + ] + }, + { + "value": "arrow-right-arrow-left", + "keywords": [ + "arrow", + "right", + "arrow", + "left" + ] + }, + { + "value": "arrow-right-from-bracket", + "keywords": [ + "arrow", + "right", + "from", + "bracket" + ] + }, + { + "value": "arrow-right-long", + "keywords": [ + "arrow", + "right", + "long" + ] + }, + { + "value": "arrow-right-to-bracket", + "keywords": [ + "arrow", + "right", + "to", + "bracket" + ] + }, + { + "value": "arrow-right-to-city", + "keywords": [ + "arrow", + "right", + "to", + "city" + ] + }, + { + "value": "arrow-rotate-left", + "keywords": [ + "arrow", + "rotate", + "left" + ] + }, + { + "value": "arrow-rotate-right", + "keywords": [ + "arrow", + "rotate", + "right" + ] + }, + { + "value": "arrow-trend-down", + "keywords": [ + "arrow", + "trend", + "down" + ] + }, + { + "value": "arrow-trend-up", + "keywords": [ + "arrow", + "trend", + "up" + ] + }, + { + "value": "arrow-turn-down", + "keywords": [ + "arrow", + "turn", + "down" + ] + }, + { + "value": "arrow-turn-up", + "keywords": [ + "arrow", + "turn", + "up" + ] + }, + { + "value": "arrow-up", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-1-9", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-9-1", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-a-z", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-from-bracket", + "keywords": [ + "arrow", + "up", + "from", + "bracket" + ] + }, + { + "value": "arrow-up-from-ground-water", + "keywords": [ + "arrow", + "up", + "from", + "ground", + "water" + ] + }, + { + "value": "arrow-up-from-water-pump", + "keywords": [ + "arrow", + "up", + "from", + "water", + "pump" + ] + }, + { + "value": "arrow-up-long", + "keywords": [ + "arrow", + "up", + "long" + ] + }, + { + "value": "arrow-up-right-dots", + "keywords": [ + "arrow", + "up", + "right", + "dots" + ] + }, + { + "value": "arrow-up-right-from-square", + "keywords": [ + "arrow", + "up", + "right", + "from", + "square" + ] + }, + { + "value": "arrow-up-short-wide", + "keywords": [ + "arrow", + "up", + "short", + "wide" + ] + }, + { + "value": "arrow-up-wide-short", + "keywords": [ + "arrow", + "up", + "wide", + "short" + ] + }, + { + "value": "arrow-up-z-a", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrows-down-to-line", + "keywords": [ + "arrows", + "down", + "to", + "line" + ] + }, + { + "value": "arrows-down-to-people", + "keywords": [ + "arrows", + "down", + "to", + "people" + ] + }, + { + "value": "arrows-left-right", + "keywords": [ + "arrows", + "left", + "right" + ] + }, + { + "value": "arrows-left-right-to-line", + "keywords": [ + "arrows", + "left", + "right", + "to", + "line" + ] + }, + { + "value": "arrows-rotate", + "keywords": [ + "arrows", + "rotate" + ] + }, + { + "value": "arrows-spin", + "keywords": [ + "arrows", + "spin" + ] + }, + { + "value": "arrows-split-up-and-left", + "keywords": [ + "arrows", + "split", + "up", + "and", + "left" + ] + }, + { + "value": "arrows-to-circle", + "keywords": [ + "arrows", + "to", + "circle" + ] + }, + { + "value": "arrows-to-dot", + "keywords": [ + "arrows", + "to", + "dot" + ] + }, + { + "value": "arrows-to-eye", + "keywords": [ + "arrows", + "to", + "eye" + ] + }, + { + "value": "arrows-turn-right", + "keywords": [ + "arrows", + "turn", + "right" + ] + }, + { + "value": "arrows-turn-to-dots", + "keywords": [ + "arrows", + "turn", + "to", + "dots" + ] + }, + { + "value": "arrows-up-down", + "keywords": [ + "arrows", + "up", + "down" + ] + }, + { + "value": "arrows-up-down-left-right", + "keywords": [ + "arrows", + "up", + "down", + "left", + "right" + ] + }, + { + "value": "arrows-up-to-line", + "keywords": [ + "arrows", + "up", + "to", + "line" + ] + }, + { + "value": "asterisk" + }, + { + "value": "at" + }, + { + "value": "atom" + }, + { + "value": "audio-description", + "keywords": [ + "audio", + "description" + ] + }, + { + "value": "austral-sign", + "keywords": [ + "austral", + "sign" + ] + }, + { + "value": "award" + }, + { + "value": "b" + }, + { + "value": "baby" + }, + { + "value": "baby-carriage", + "keywords": [ + "baby", + "carriage" + ] + }, + { + "value": "backward" + }, + { + "value": "backward-fast", + "keywords": [ + "backward", + "fast" + ] + }, + { + "value": "backward-step", + "keywords": [ + "backward", + "step" + ] + }, + { + "value": "bacon" + }, + { + "value": "bacteria" + }, + { + "value": "bacterium" + }, + { + "value": "bag-shopping", + "keywords": [ + "bag", + "shopping" + ] + }, + { + "value": "bahai" + }, + { + "value": "baht-sign", + "keywords": [ + "baht", + "sign" + ] + }, + { + "value": "ban" + }, + { + "value": "ban-smoking", + "keywords": [ + "ban", + "smoking" + ] + }, + { + "value": "bandage" + }, + { + "value": "bangladeshi-taka-sign", + "keywords": [ + "bangladeshi", + "taka", + "sign" + ] + }, + { + "value": "barcode" + }, + { + "value": "bars" + }, + { + "value": "bars-progress", + "keywords": [ + "bars", + "progress" + ] + }, + { + "value": "bars-staggered", + "keywords": [ + "bars", + "staggered" + ] + }, + { + "value": "baseball" + }, + { + "value": "baseball-bat-ball", + "keywords": [ + "baseball", + "bat", + "ball" + ] + }, + { + "value": "basket-shopping", + "keywords": [ + "basket", + "shopping" + ] + }, + { + "value": "basketball" + }, + { + "value": "bath" + }, + { + "value": "battery-empty", + "keywords": [ + "battery", + "empty" + ] + }, + { + "value": "battery-full", + "keywords": [ + "battery", + "full" + ] + }, + { + "value": "battery-half", + "keywords": [ + "battery", + "half" + ] + }, + { + "value": "battery-quarter", + "keywords": [ + "battery", + "quarter" + ] + }, + { + "value": "battery-three-quarters", + "keywords": [ + "battery", + "three", + "quarters" + ] + }, + { + "value": "bed" + }, + { + "value": "bed-pulse", + "keywords": [ + "bed", + "pulse" + ] + }, + { + "value": "beer-mug-empty", + "keywords": [ + "beer", + "mug", + "empty" + ] + }, + { + "value": "bell" + }, + { + "value": "bell-concierge", + "keywords": [ + "bell", + "concierge" + ] + }, + { + "value": "bell-slash", + "keywords": [ + "bell", + "slash" + ] + }, + { + "value": "bezier-curve", + "keywords": [ + "bezier", + "curve" + ] + }, + { + "value": "bicycle" + }, + { + "value": "binoculars" + }, + { + "value": "biohazard" + }, + { + "value": "bitcoin-sign", + "keywords": [ + "bitcoin", + "sign" + ] + }, + { + "value": "blender" + }, + { + "value": "blender-phone", + "keywords": [ + "blender", + "phone" + ] + }, + { + "value": "blog" + }, + { + "value": "bold" + }, + { + "value": "bolt" + }, + { + "value": "bolt-lightning", + "keywords": [ + "bolt", + "lightning" + ] + }, + { + "value": "bomb" + }, + { + "value": "bone" + }, + { + "value": "bong" + }, + { + "value": "book" + }, + { + "value": "book-atlas", + "keywords": [ + "book", + "atlas" + ] + }, + { + "value": "book-bible", + "keywords": [ + "book", + "bible" + ] + }, + { + "value": "book-bookmark", + "keywords": [ + "book", + "bookmark" + ] + }, + { + "value": "book-journal-whills", + "keywords": [ + "book", + "journal", + "whills" + ] + }, + { + "value": "book-medical", + "keywords": [ + "book", + "medical" + ] + }, + { + "value": "book-open", + "keywords": [ + "book", + "open" + ] + }, + { + "value": "book-open-reader", + "keywords": [ + "book", + "open", + "reader" + ] + }, + { + "value": "book-quran", + "keywords": [ + "book", + "quran" + ] + }, + { + "value": "book-skull", + "keywords": [ + "book", + "skull" + ] + }, + { + "value": "book-tanakh", + "keywords": [ + "book", + "tanakh" + ] + }, + { + "value": "bookmark" + }, + { + "value": "border-all", + "keywords": [ + "border", + "all" + ] + }, + { + "value": "border-none", + "keywords": [ + "border", + "none" + ] + }, + { + "value": "border-top-left", + "keywords": [ + "border", + "top", + "left" + ] + }, + { + "value": "bore-hole", + "keywords": [ + "bore", + "hole" + ] + }, + { + "value": "bottle-droplet", + "keywords": [ + "bottle", + "droplet" + ] + }, + { + "value": "bottle-water", + "keywords": [ + "bottle", + "water" + ] + }, + { + "value": "bowl-food", + "keywords": [ + "bowl", + "food" + ] + }, + { + "value": "bowl-rice", + "keywords": [ + "bowl", + "rice" + ] + }, + { + "value": "bowling-ball", + "keywords": [ + "bowling", + "ball" + ] + }, + { + "value": "box" + }, + { + "value": "box-archive", + "keywords": [ + "box", + "archive" + ] + }, + { + "value": "box-open", + "keywords": [ + "box", + "open" + ] + }, + { + "value": "box-tissue", + "keywords": [ + "box", + "tissue" + ] + }, + { + "value": "boxes-packing", + "keywords": [ + "boxes", + "packing" + ] + }, + { + "value": "boxes-stacked", + "keywords": [ + "boxes", + "stacked" + ] + }, + { + "value": "braille" + }, + { + "value": "brain" + }, + { + "value": "brazilian-real-sign", + "keywords": [ + "brazilian", + "real", + "sign" + ] + }, + { + "value": "bread-slice", + "keywords": [ + "bread", + "slice" + ] + }, + { + "value": "bridge" + }, + { + "value": "bridge-circle-check", + "keywords": [ + "bridge", + "circle", + "check" + ] + }, + { + "value": "bridge-circle-exclamation", + "keywords": [ + "bridge", + "circle", + "exclamation" + ] + }, + { + "value": "bridge-circle-xmark", + "keywords": [ + "bridge", + "circle", + "xmark" + ] + }, + { + "value": "bridge-lock", + "keywords": [ + "bridge", + "lock" + ] + }, + { + "value": "bridge-water", + "keywords": [ + "bridge", + "water" + ] + }, + { + "value": "briefcase" + }, + { + "value": "briefcase-medical", + "keywords": [ + "briefcase", + "medical" + ] + }, + { + "value": "broom" + }, + { + "value": "broom-ball", + "keywords": [ + "broom", + "ball" + ] + }, + { + "value": "brush" + }, + { + "value": "bucket" + }, + { + "value": "bug" + }, + { + "value": "bug-slash", + "keywords": [ + "bug", + "slash" + ] + }, + { + "value": "bugs" + }, + { + "value": "building" + }, + { + "value": "building-circle-arrow-right", + "keywords": [ + "building", + "circle", + "arrow", + "right" + ] + }, + { + "value": "building-circle-check", + "keywords": [ + "building", + "circle", + "check" + ] + }, + { + "value": "building-circle-exclamation", + "keywords": [ + "building", + "circle", + "exclamation" + ] + }, + { + "value": "building-circle-xmark", + "keywords": [ + "building", + "circle", + "xmark" + ] + }, + { + "value": "building-columns", + "keywords": [ + "building", + "columns" + ] + }, + { + "value": "building-flag", + "keywords": [ + "building", + "flag" + ] + }, + { + "value": "building-lock", + "keywords": [ + "building", + "lock" + ] + }, + { + "value": "building-ngo", + "keywords": [ + "building", + "ngo" + ] + }, + { + "value": "building-shield", + "keywords": [ + "building", + "shield" + ] + }, + { + "value": "building-un", + "keywords": [ + "building", + "un" + ] + }, + { + "value": "building-user", + "keywords": [ + "building", + "user" + ] + }, + { + "value": "building-wheat", + "keywords": [ + "building", + "wheat" + ] + }, + { + "value": "bullhorn" + }, + { + "value": "bullseye" + }, + { + "value": "burger" + }, + { + "value": "burst" + }, + { + "value": "bus" + }, + { + "value": "bus-simple", + "keywords": [ + "bus", + "simple" + ] + }, + { + "value": "business-time", + "keywords": [ + "business", + "time" + ] + }, + { + "value": "c" + }, + { + "value": "cable-car", + "keywords": [ + "cable", + "car" + ] + }, + { + "value": "cake-candles", + "keywords": [ + "cake", + "candles" + ] + }, + { + "value": "calculator" + }, + { + "value": "calendar" + }, + { + "value": "calendar-check", + "keywords": [ + "calendar", + "check" + ] + }, + { + "value": "calendar-day", + "keywords": [ + "calendar", + "day" + ] + }, + { + "value": "calendar-days", + "keywords": [ + "calendar", + "days" + ] + }, + { + "value": "calendar-minus", + "keywords": [ + "calendar", + "minus" + ] + }, + { + "value": "calendar-plus", + "keywords": [ + "calendar", + "plus" + ] + }, + { + "value": "calendar-week", + "keywords": [ + "calendar", + "week" + ] + }, + { + "value": "calendar-xmark", + "keywords": [ + "calendar", + "xmark" + ] + }, + { + "value": "camera" + }, + { + "value": "camera-retro", + "keywords": [ + "camera", + "retro" + ] + }, + { + "value": "camera-rotate", + "keywords": [ + "camera", + "rotate" + ] + }, + { + "value": "campground" + }, + { + "value": "candy-cane", + "keywords": [ + "candy", + "cane" + ] + }, + { + "value": "cannabis" + }, + { + "value": "capsules" + }, + { + "value": "car" + }, + { + "value": "car-battery", + "keywords": [ + "car", + "battery" + ] + }, + { + "value": "car-burst", + "keywords": [ + "car", + "burst" + ] + }, + { + "value": "car-on", + "keywords": [ + "car", + "on" + ] + }, + { + "value": "car-rear", + "keywords": [ + "car", + "rear" + ] + }, + { + "value": "car-side", + "keywords": [ + "car", + "side" + ] + }, + { + "value": "car-tunnel", + "keywords": [ + "car", + "tunnel" + ] + }, + { + "value": "caravan" + }, + { + "value": "caret-down", + "keywords": [ + "caret", + "down" + ] + }, + { + "value": "caret-left", + "keywords": [ + "caret", + "left" + ] + }, + { + "value": "caret-right", + "keywords": [ + "caret", + "right" + ] + }, + { + "value": "caret-up", + "keywords": [ + "caret", + "up" + ] + }, + { + "value": "carrot" + }, + { + "value": "cart-arrow-down", + "keywords": [ + "cart", + "arrow", + "down" + ] + }, + { + "value": "cart-flatbed", + "keywords": [ + "cart", + "flatbed" + ] + }, + { + "value": "cart-flatbed-suitcase", + "keywords": [ + "cart", + "flatbed", + "suitcase" + ] + }, + { + "value": "cart-plus", + "keywords": [ + "cart", + "plus" + ] + }, + { + "value": "cart-shopping", + "keywords": [ + "cart", + "shopping" + ] + }, + { + "value": "cash-register", + "keywords": [ + "cash", + "register" + ] + }, + { + "value": "cat" + }, + { + "value": "cedi-sign", + "keywords": [ + "cedi", + "sign" + ] + }, + { + "value": "cent-sign", + "keywords": [ + "cent", + "sign" + ] + }, + { + "value": "certificate" + }, + { + "value": "chair" + }, + { + "value": "chalkboard" + }, + { + "value": "chalkboard-user", + "keywords": [ + "chalkboard", + "user" + ] + }, + { + "value": "champagne-glasses", + "keywords": [ + "champagne", + "glasses" + ] + }, + { + "value": "charging-station", + "keywords": [ + "charging", + "station" + ] + }, + { + "value": "chart-area", + "keywords": [ + "chart", + "area" + ] + }, + { + "value": "chart-bar", + "keywords": [ + "chart", + "bar" + ] + }, + { + "value": "chart-column", + "keywords": [ + "chart", + "column" + ] + }, + { + "value": "chart-gantt", + "keywords": [ + "chart", + "gantt" + ] + }, + { + "value": "chart-line", + "keywords": [ + "chart", + "line" + ] + }, + { + "value": "chart-pie", + "keywords": [ + "chart", + "pie" + ] + }, + { + "value": "chart-simple", + "keywords": [ + "chart", + "simple" + ] + }, + { + "value": "check" + }, + { + "value": "check-double", + "keywords": [ + "check", + "double" + ] + }, + { + "value": "check-to-slot", + "keywords": [ + "check", + "to", + "slot" + ] + }, + { + "value": "cheese" + }, + { + "value": "chess" + }, + { + "value": "chess-bishop", + "keywords": [ + "chess", + "bishop" + ] + }, + { + "value": "chess-board", + "keywords": [ + "chess", + "board" + ] + }, + { + "value": "chess-king", + "keywords": [ + "chess", + "king" + ] + }, + { + "value": "chess-knight", + "keywords": [ + "chess", + "knight" + ] + }, + { + "value": "chess-pawn", + "keywords": [ + "chess", + "pawn" + ] + }, + { + "value": "chess-queen", + "keywords": [ + "chess", + "queen" + ] + }, + { + "value": "chess-rook", + "keywords": [ + "chess", + "rook" + ] + }, + { + "value": "chevron-down", + "keywords": [ + "chevron", + "down" + ] + }, + { + "value": "chevron-left", + "keywords": [ + "chevron", + "left" + ] + }, + { + "value": "chevron-right", + "keywords": [ + "chevron", + "right" + ] + }, + { + "value": "chevron-up", + "keywords": [ + "chevron", + "up" + ] + }, + { + "value": "child" + }, + { + "value": "child-combatant", + "keywords": [ + "child", + "combatant" + ] + }, + { + "value": "child-dress", + "keywords": [ + "child", + "dress" + ] + }, + { + "value": "child-reaching", + "keywords": [ + "child", + "reaching" + ] + }, + { + "value": "children" + }, + { + "value": "church" + }, + { + "value": "circle" + }, + { + "value": "circle-arrow-down", + "keywords": [ + "circle", + "arrow", + "down" + ] + }, + { + "value": "circle-arrow-left", + "keywords": [ + "circle", + "arrow", + "left" + ] + }, + { + "value": "circle-arrow-right", + "keywords": [ + "circle", + "arrow", + "right" + ] + }, + { + "value": "circle-arrow-up", + "keywords": [ + "circle", + "arrow", + "up" + ] + }, + { + "value": "circle-check", + "keywords": [ + "circle", + "check" + ] + }, + { + "value": "circle-chevron-down", + "keywords": [ + "circle", + "chevron", + "down" + ] + }, + { + "value": "circle-chevron-left", + "keywords": [ + "circle", + "chevron", + "left" + ] + }, + { + "value": "circle-chevron-right", + "keywords": [ + "circle", + "chevron", + "right" + ] + }, + { + "value": "circle-chevron-up", + "keywords": [ + "circle", + "chevron", + "up" + ] + }, + { + "value": "circle-dollar-to-slot", + "keywords": [ + "circle", + "dollar", + "to", + "slot" + ] + }, + { + "value": "circle-dot", + "keywords": [ + "circle", + "dot" + ] + }, + { + "value": "circle-down", + "keywords": [ + "circle", + "down" + ] + }, + { + "value": "circle-exclamation", + "keywords": [ + "circle", + "exclamation" + ] + }, + { + "value": "circle-h" + }, + { + "value": "circle-half-stroke", + "keywords": [ + "circle", + "half", + "stroke" + ] + }, + { + "value": "circle-info", + "keywords": [ + "circle", + "info" + ] + }, + { + "value": "circle-left", + "keywords": [ + "circle", + "left" + ] + }, + { + "value": "circle-minus", + "keywords": [ + "circle", + "minus" + ] + }, + { + "value": "circle-nodes", + "keywords": [ + "circle", + "nodes" + ] + }, + { + "value": "circle-notch", + "keywords": [ + "circle", + "notch" + ] + }, + { + "value": "circle-pause", + "keywords": [ + "circle", + "pause" + ] + }, + { + "value": "circle-play", + "keywords": [ + "circle", + "play" + ] + }, + { + "value": "circle-plus", + "keywords": [ + "circle", + "plus" + ] + }, + { + "value": "circle-question", + "keywords": [ + "circle", + "question" + ] + }, + { + "value": "circle-radiation", + "keywords": [ + "circle", + "radiation" + ] + }, + { + "value": "circle-right", + "keywords": [ + "circle", + "right" + ] + }, + { + "value": "circle-stop", + "keywords": [ + "circle", + "stop" + ] + }, + { + "value": "circle-up", + "keywords": [ + "circle", + "up" + ] + }, + { + "value": "circle-user", + "keywords": [ + "circle", + "user" + ] + }, + { + "value": "circle-xmark", + "keywords": [ + "circle", + "xmark" + ] + }, + { + "value": "city" + }, + { + "value": "clapperboard" + }, + { + "value": "clipboard" + }, + { + "value": "clipboard-check", + "keywords": [ + "clipboard", + "check" + ] + }, + { + "value": "clipboard-list", + "keywords": [ + "clipboard", + "list" + ] + }, + { + "value": "clipboard-question", + "keywords": [ + "clipboard", + "question" + ] + }, + { + "value": "clipboard-user", + "keywords": [ + "clipboard", + "user" + ] + }, + { + "value": "clock" + }, + { + "value": "clock-rotate-left", + "keywords": [ + "clock", + "rotate", + "left" + ] + }, + { + "value": "clone" + }, + { + "value": "closed-captioning", + "keywords": [ + "closed", + "captioning" + ] + }, + { + "value": "cloud" + }, + { + "value": "cloud-arrow-down", + "keywords": [ + "cloud", + "arrow", + "down" + ] + }, + { + "value": "cloud-arrow-up", + "keywords": [ + "cloud", + "arrow", + "up" + ] + }, + { + "value": "cloud-bolt", + "keywords": [ + "cloud", + "bolt" + ] + }, + { + "value": "cloud-meatball", + "keywords": [ + "cloud", + "meatball" + ] + }, + { + "value": "cloud-moon", + "keywords": [ + "cloud", + "moon" + ] + }, + { + "value": "cloud-moon-rain", + "keywords": [ + "cloud", + "moon", + "rain" + ] + }, + { + "value": "cloud-rain", + "keywords": [ + "cloud", + "rain" + ] + }, + { + "value": "cloud-showers-heavy", + "keywords": [ + "cloud", + "showers", + "heavy" + ] + }, + { + "value": "cloud-showers-water", + "keywords": [ + "cloud", + "showers", + "water" + ] + }, + { + "value": "cloud-sun", + "keywords": [ + "cloud", + "sun" + ] + }, + { + "value": "cloud-sun-rain", + "keywords": [ + "cloud", + "sun", + "rain" + ] + }, + { + "value": "clover" + }, + { + "value": "code" + }, + { + "value": "code-branch", + "keywords": [ + "code", + "branch" + ] + }, + { + "value": "code-commit", + "keywords": [ + "code", + "commit" + ] + }, + { + "value": "code-compare", + "keywords": [ + "code", + "compare" + ] + }, + { + "value": "code-fork", + "keywords": [ + "code", + "fork" + ] + }, + { + "value": "code-merge", + "keywords": [ + "code", + "merge" + ] + }, + { + "value": "code-pull-request", + "keywords": [ + "code", + "pull", + "request" + ] + }, + { + "value": "coins" + }, + { + "value": "colon-sign", + "keywords": [ + "colon", + "sign" + ] + }, + { + "value": "comment" + }, + { + "value": "comment-dollar", + "keywords": [ + "comment", + "dollar" + ] + }, + { + "value": "comment-dots", + "keywords": [ + "comment", + "dots" + ] + }, + { + "value": "comment-medical", + "keywords": [ + "comment", + "medical" + ] + }, + { + "value": "comment-slash", + "keywords": [ + "comment", + "slash" + ] + }, + { + "value": "comment-sms", + "keywords": [ + "comment", + "sms" + ] + }, + { + "value": "comments" + }, + { + "value": "comments-dollar", + "keywords": [ + "comments", + "dollar" + ] + }, + { + "value": "compact-disc", + "keywords": [ + "compact", + "disc" + ] + }, + { + "value": "compass" + }, + { + "value": "compass-drafting", + "keywords": [ + "compass", + "drafting" + ] + }, + { + "value": "compress" + }, + { + "value": "computer" + }, + { + "value": "computer-mouse", + "keywords": [ + "computer", + "mouse" + ] + }, + { + "value": "cookie" + }, + { + "value": "cookie-bite", + "keywords": [ + "cookie", + "bite" + ] + }, + { + "value": "copy" + }, + { + "value": "copyright" + }, + { + "value": "couch" + }, + { + "value": "cow" + }, + { + "value": "credit-card", + "keywords": [ + "credit", + "card" + ] + }, + { + "value": "crop" + }, + { + "value": "crop-simple", + "keywords": [ + "crop", + "simple" + ] + }, + { + "value": "cross" + }, + { + "value": "crosshairs" + }, + { + "value": "crow" + }, + { + "value": "crown" + }, + { + "value": "crutch" + }, + { + "value": "cruzeiro-sign", + "keywords": [ + "cruzeiro", + "sign" + ] + }, + { + "value": "cube" + }, + { + "value": "cubes" + }, + { + "value": "cubes-stacked", + "keywords": [ + "cubes", + "stacked" + ] + }, + { + "value": "d" + }, + { + "value": "database" + }, + { + "value": "delete-left", + "keywords": [ + "delete", + "left" + ] + }, + { + "value": "democrat" + }, + { + "value": "desktop" + }, + { + "value": "dharmachakra" + }, + { + "value": "diagram-next", + "keywords": [ + "diagram", + "next" + ] + }, + { + "value": "diagram-predecessor", + "keywords": [ + "diagram", + "predecessor" + ] + }, + { + "value": "diagram-project", + "keywords": [ + "diagram", + "project" + ] + }, + { + "value": "diagram-successor", + "keywords": [ + "diagram", + "successor" + ] + }, + { + "value": "diamond" + }, + { + "value": "diamond-turn-right", + "keywords": [ + "diamond", + "turn", + "right" + ] + }, + { + "value": "dice" + }, + { + "value": "dice-d20", + "keywords": [ + "dice", + "d20" + ] + }, + { + "value": "dice-d6", + "keywords": [ + "dice", + "d6" + ] + }, + { + "value": "dice-five", + "keywords": [ + "dice", + "five" + ] + }, + { + "value": "dice-four", + "keywords": [ + "dice", + "four" + ] + }, + { + "value": "dice-one", + "keywords": [ + "dice", + "one" + ] + }, + { + "value": "dice-six", + "keywords": [ + "dice", + "six" + ] + }, + { + "value": "dice-three", + "keywords": [ + "dice", + "three" + ] + }, + { + "value": "dice-two", + "keywords": [ + "dice", + "two" + ] + }, + { + "value": "disease" + }, + { + "value": "display" + }, + { + "value": "divide" + }, + { + "value": "dna" + }, + { + "value": "dog" + }, + { + "value": "dollar-sign", + "keywords": [ + "dollar", + "sign" + ] + }, + { + "value": "dolly" + }, + { + "value": "dong-sign", + "keywords": [ + "dong", + "sign" + ] + }, + { + "value": "door-closed", + "keywords": [ + "door", + "closed" + ] + }, + { + "value": "door-open", + "keywords": [ + "door", + "open" + ] + }, + { + "value": "dove" + }, + { + "value": "down-left-and-up-right-to-center", + "keywords": [ + "down", + "left", + "and", + "up", + "right", + "to", + "center" + ] + }, + { + "value": "down-long", + "keywords": [ + "down", + "long" + ] + }, + { + "value": "download" + }, + { + "value": "dragon" + }, + { + "value": "draw-polygon", + "keywords": [ + "draw", + "polygon" + ] + }, + { + "value": "droplet" + }, + { + "value": "droplet-slash", + "keywords": [ + "droplet", + "slash" + ] + }, + { + "value": "drum" + }, + { + "value": "drum-steelpan", + "keywords": [ + "drum", + "steelpan" + ] + }, + { + "value": "drumstick-bite", + "keywords": [ + "drumstick", + "bite" + ] + }, + { + "value": "dumbbell" + }, + { + "value": "dumpster" + }, + { + "value": "dumpster-fire", + "keywords": [ + "dumpster", + "fire" + ] + }, + { + "value": "dungeon" + }, + { + "value": "e" + }, + { + "value": "ear-deaf", + "keywords": [ + "ear", + "deaf" + ] + }, + { + "value": "ear-listen", + "keywords": [ + "ear", + "listen" + ] + }, + { + "value": "earth-africa", + "keywords": [ + "earth", + "africa" + ] + }, + { + "value": "earth-americas", + "keywords": [ + "earth", + "americas" + ] + }, + { + "value": "earth-asia", + "keywords": [ + "earth", + "asia" + ] + }, + { + "value": "earth-europe", + "keywords": [ + "earth", + "europe" + ] + }, + { + "value": "earth-oceania", + "keywords": [ + "earth", + "oceania" + ] + }, + { + "value": "egg" + }, + { + "value": "eject" + }, + { + "value": "elevator" + }, + { + "value": "ellipsis" + }, + { + "value": "ellipsis-vertical", + "keywords": [ + "ellipsis", + "vertical" + ] + }, + { + "value": "envelope" + }, + { + "value": "envelope-circle-check", + "keywords": [ + "envelope", + "circle", + "check" + ] + }, + { + "value": "envelope-open", + "keywords": [ + "envelope", + "open" + ] + }, + { + "value": "envelope-open-text", + "keywords": [ + "envelope", + "open", + "text" + ] + }, + { + "value": "envelopes-bulk", + "keywords": [ + "envelopes", + "bulk" + ] + }, + { + "value": "equals" + }, + { + "value": "eraser" + }, + { + "value": "ethernet" + }, + { + "value": "euro-sign", + "keywords": [ + "euro", + "sign" + ] + }, + { + "value": "exclamation" + }, + { + "value": "expand" + }, + { + "value": "explosion" + }, + { + "value": "eye" + }, + { + "value": "eye-dropper", + "keywords": [ + "eye", + "dropper" + ] + }, + { + "value": "eye-low-vision", + "keywords": [ + "eye", + "low", + "vision" + ] + }, + { + "value": "eye-slash", + "keywords": [ + "eye", + "slash" + ] + }, + { + "value": "f" + }, + { + "value": "face-angry", + "keywords": [ + "face", + "angry" + ] + }, + { + "value": "face-dizzy", + "keywords": [ + "face", + "dizzy" + ] + }, + { + "value": "face-flushed", + "keywords": [ + "face", + "flushed" + ] + }, + { + "value": "face-frown", + "keywords": [ + "face", + "frown" + ] + }, + { + "value": "face-frown-open", + "keywords": [ + "face", + "frown", + "open" + ] + }, + { + "value": "face-grimace", + "keywords": [ + "face", + "grimace" + ] + }, + { + "value": "face-grin", + "keywords": [ + "face", + "grin" + ] + }, + { + "value": "face-grin-beam", + "keywords": [ + "face", + "grin", + "beam" + ] + }, + { + "value": "face-grin-beam-sweat", + "keywords": [ + "face", + "grin", + "beam", + "sweat" + ] + }, + { + "value": "face-grin-hearts", + "keywords": [ + "face", + "grin", + "hearts" + ] + }, + { + "value": "face-grin-squint", + "keywords": [ + "face", + "grin", + "squint" + ] + }, + { + "value": "face-grin-squint-tears", + "keywords": [ + "face", + "grin", + "squint", + "tears" + ] + }, + { + "value": "face-grin-stars", + "keywords": [ + "face", + "grin", + "stars" + ] + }, + { + "value": "face-grin-tears", + "keywords": [ + "face", + "grin", + "tears" + ] + }, + { + "value": "face-grin-tongue", + "keywords": [ + "face", + "grin", + "tongue" + ] + }, + { + "value": "face-grin-tongue-squint", + "keywords": [ + "face", + "grin", + "tongue", + "squint" + ] + }, + { + "value": "face-grin-tongue-wink", + "keywords": [ + "face", + "grin", + "tongue", + "wink" + ] + }, + { + "value": "face-grin-wide", + "keywords": [ + "face", + "grin", + "wide" + ] + }, + { + "value": "face-grin-wink", + "keywords": [ + "face", + "grin", + "wink" + ] + }, + { + "value": "face-kiss", + "keywords": [ + "face", + "kiss" + ] + }, + { + "value": "face-kiss-beam", + "keywords": [ + "face", + "kiss", + "beam" + ] + }, + { + "value": "face-kiss-wink-heart", + "keywords": [ + "face", + "kiss", + "wink", + "heart" + ] + }, + { + "value": "face-laugh", + "keywords": [ + "face", + "laugh" + ] + }, + { + "value": "face-laugh-beam", + "keywords": [ + "face", + "laugh", + "beam" + ] + }, + { + "value": "face-laugh-squint", + "keywords": [ + "face", + "laugh", + "squint" + ] + }, + { + "value": "face-laugh-wink", + "keywords": [ + "face", + "laugh", + "wink" + ] + }, + { + "value": "face-meh", + "keywords": [ + "face", + "meh" + ] + }, + { + "value": "face-meh-blank", + "keywords": [ + "face", + "meh", + "blank" + ] + }, + { + "value": "face-rolling-eyes", + "keywords": [ + "face", + "rolling", + "eyes" + ] + }, + { + "value": "face-sad-cry", + "keywords": [ + "face", + "sad", + "cry" + ] + }, + { + "value": "face-sad-tear", + "keywords": [ + "face", + "sad", + "tear" + ] + }, + { + "value": "face-smile", + "keywords": [ + "face", + "smile" + ] + }, + { + "value": "face-smile-beam", + "keywords": [ + "face", + "smile", + "beam" + ] + }, + { + "value": "face-smile-wink", + "keywords": [ + "face", + "smile", + "wink" + ] + }, + { + "value": "face-surprise", + "keywords": [ + "face", + "surprise" + ] + }, + { + "value": "face-tired", + "keywords": [ + "face", + "tired" + ] + }, + { + "value": "fan" + }, + { + "value": "faucet" + }, + { + "value": "faucet-drip", + "keywords": [ + "faucet", + "drip" + ] + }, + { + "value": "fax" + }, + { + "value": "feather" + }, + { + "value": "feather-pointed", + "keywords": [ + "feather", + "pointed" + ] + }, + { + "value": "ferry" + }, + { + "value": "file" + }, + { + "value": "file-arrow-down", + "keywords": [ + "file", + "arrow", + "down" + ] + }, + { + "value": "file-arrow-up", + "keywords": [ + "file", + "arrow", + "up" + ] + }, + { + "value": "file-audio", + "keywords": [ + "file", + "audio" + ] + }, + { + "value": "file-circle-check", + "keywords": [ + "file", + "circle", + "check" + ] + }, + { + "value": "file-circle-exclamation", + "keywords": [ + "file", + "circle", + "exclamation" + ] + }, + { + "value": "file-circle-minus", + "keywords": [ + "file", + "circle", + "minus" + ] + }, + { + "value": "file-circle-plus", + "keywords": [ + "file", + "circle", + "plus" + ] + }, + { + "value": "file-circle-question", + "keywords": [ + "file", + "circle", + "question" + ] + }, + { + "value": "file-circle-xmark", + "keywords": [ + "file", + "circle", + "xmark" + ] + }, + { + "value": "file-code", + "keywords": [ + "file", + "code" + ] + }, + { + "value": "file-contract", + "keywords": [ + "file", + "contract" + ] + }, + { + "value": "file-csv", + "keywords": [ + "file", + "csv" + ] + }, + { + "value": "file-excel", + "keywords": [ + "file", + "excel" + ] + }, + { + "value": "file-export", + "keywords": [ + "file", + "export" + ] + }, + { + "value": "file-image", + "keywords": [ + "file", + "image" + ] + }, + { + "value": "file-import", + "keywords": [ + "file", + "import" + ] + }, + { + "value": "file-invoice", + "keywords": [ + "file", + "invoice" + ] + }, + { + "value": "file-invoice-dollar", + "keywords": [ + "file", + "invoice", + "dollar" + ] + }, + { + "value": "file-lines", + "keywords": [ + "file", + "lines" + ] + }, + { + "value": "file-medical", + "keywords": [ + "file", + "medical" + ] + }, + { + "value": "file-pdf", + "keywords": [ + "file", + "pdf" + ] + }, + { + "value": "file-pen", + "keywords": [ + "file", + "pen" + ] + }, + { + "value": "file-powerpoint", + "keywords": [ + "file", + "powerpoint" + ] + }, + { + "value": "file-prescription", + "keywords": [ + "file", + "prescription" + ] + }, + { + "value": "file-shield", + "keywords": [ + "file", + "shield" + ] + }, + { + "value": "file-signature", + "keywords": [ + "file", + "signature" + ] + }, + { + "value": "file-video", + "keywords": [ + "file", + "video" + ] + }, + { + "value": "file-waveform", + "keywords": [ + "file", + "waveform" + ] + }, + { + "value": "file-word", + "keywords": [ + "file", + "word" + ] + }, + { + "value": "file-zipper", + "keywords": [ + "file", + "zipper" + ] + }, + { + "value": "fill" + }, + { + "value": "fill-drip", + "keywords": [ + "fill", + "drip" + ] + }, + { + "value": "film" + }, + { + "value": "filter" + }, + { + "value": "filter-circle-dollar", + "keywords": [ + "filter", + "circle", + "dollar" + ] + }, + { + "value": "filter-circle-xmark", + "keywords": [ + "filter", + "circle", + "xmark" + ] + }, + { + "value": "fingerprint" + }, + { + "value": "fire" + }, + { + "value": "fire-burner", + "keywords": [ + "fire", + "burner" + ] + }, + { + "value": "fire-extinguisher", + "keywords": [ + "fire", + "extinguisher" + ] + }, + { + "value": "fire-flame-curved", + "keywords": [ + "fire", + "flame", + "curved" + ] + }, + { + "value": "fire-flame-simple", + "keywords": [ + "fire", + "flame", + "simple" + ] + }, + { + "value": "fish" + }, + { + "value": "fish-fins", + "keywords": [ + "fish", + "fins" + ] + }, + { + "value": "flag" + }, + { + "value": "flag-checkered", + "keywords": [ + "flag", + "checkered" + ] + }, + { + "value": "flag-usa", + "keywords": [ + "flag", + "usa" + ] + }, + { + "value": "flask" + }, + { + "value": "flask-vial", + "keywords": [ + "flask", + "vial" + ] + }, + { + "value": "floppy-disk", + "keywords": [ + "floppy", + "disk" + ] + }, + { + "value": "florin-sign", + "keywords": [ + "florin", + "sign" + ] + }, + { + "value": "folder" + }, + { + "value": "folder-closed", + "keywords": [ + "folder", + "closed" + ] + }, + { + "value": "folder-minus", + "keywords": [ + "folder", + "minus" + ] + }, + { + "value": "folder-open", + "keywords": [ + "folder", + "open" + ] + }, + { + "value": "folder-plus", + "keywords": [ + "folder", + "plus" + ] + }, + { + "value": "folder-tree", + "keywords": [ + "folder", + "tree" + ] + }, + { + "value": "font" + }, + { + "value": "font-awesome", + "keywords": [ + "font", + "awesome" + ] + }, + { + "value": "football" + }, + { + "value": "forward" + }, + { + "value": "forward-fast", + "keywords": [ + "forward", + "fast" + ] + }, + { + "value": "forward-step", + "keywords": [ + "forward", + "step" + ] + }, + { + "value": "franc-sign", + "keywords": [ + "franc", + "sign" + ] + }, + { + "value": "frog" + }, + { + "value": "futbol" + }, + { + "value": "g" + }, + { + "value": "gamepad" + }, + { + "value": "gas-pump", + "keywords": [ + "gas", + "pump" + ] + }, + { + "value": "gauge" + }, + { + "value": "gauge-high", + "keywords": [ + "gauge", + "high" + ] + }, + { + "value": "gauge-simple", + "keywords": [ + "gauge", + "simple" + ] + }, + { + "value": "gauge-simple-high", + "keywords": [ + "gauge", + "simple", + "high" + ] + }, + { + "value": "gavel" + }, + { + "value": "gear" + }, + { + "value": "gears" + }, + { + "value": "gem" + }, + { + "value": "genderless" + }, + { + "value": "ghost" + }, + { + "value": "gift" + }, + { + "value": "gifts" + }, + { + "value": "glass-water", + "keywords": [ + "glass", + "water" + ] + }, + { + "value": "glass-water-droplet", + "keywords": [ + "glass", + "water", + "droplet" + ] + }, + { + "value": "glasses" + }, + { + "value": "globe" + }, + { + "value": "golf-ball-tee", + "keywords": [ + "golf", + "ball", + "tee" + ] + }, + { + "value": "gopuram" + }, + { + "value": "graduation-cap", + "keywords": [ + "graduation", + "cap" + ] + }, + { + "value": "greater-than", + "keywords": [ + "greater", + "than" + ] + }, + { + "value": "greater-than-equal", + "keywords": [ + "greater", + "than", + "equal" + ] + }, + { + "value": "grip" + }, + { + "value": "grip-lines", + "keywords": [ + "grip", + "lines" + ] + }, + { + "value": "grip-lines-vertical", + "keywords": [ + "grip", + "lines", + "vertical" + ] + }, + { + "value": "grip-vertical", + "keywords": [ + "grip", + "vertical" + ] + }, + { + "value": "group-arrows-rotate", + "keywords": [ + "group", + "arrows", + "rotate" + ] + }, + { + "value": "guarani-sign", + "keywords": [ + "guarani", + "sign" + ] + }, + { + "value": "guitar" + }, + { + "value": "gun" + }, + { + "value": "h" + }, + { + "value": "hammer" + }, + { + "value": "hamsa" + }, + { + "value": "hand" + }, + { + "value": "hand-back-fist", + "keywords": [ + "hand", + "back", + "fist" + ] + }, + { + "value": "hand-dots", + "keywords": [ + "hand", + "dots" + ] + }, + { + "value": "hand-fist", + "keywords": [ + "hand", + "fist" + ] + }, + { + "value": "hand-holding", + "keywords": [ + "hand", + "holding" + ] + }, + { + "value": "hand-holding-dollar", + "keywords": [ + "hand", + "holding", + "dollar" + ] + }, + { + "value": "hand-holding-droplet", + "keywords": [ + "hand", + "holding", + "droplet" + ] + }, + { + "value": "hand-holding-hand", + "keywords": [ + "hand", + "holding", + "hand" + ] + }, + { + "value": "hand-holding-heart", + "keywords": [ + "hand", + "holding", + "heart" + ] + }, + { + "value": "hand-holding-medical", + "keywords": [ + "hand", + "holding", + "medical" + ] + }, + { + "value": "hand-lizard", + "keywords": [ + "hand", + "lizard" + ] + }, + { + "value": "hand-middle-finger", + "keywords": [ + "hand", + "middle", + "finger" + ] + }, + { + "value": "hand-peace", + "keywords": [ + "hand", + "peace" + ] + }, + { + "value": "hand-point-down", + "keywords": [ + "hand", + "point", + "down" + ] + }, + { + "value": "hand-point-left", + "keywords": [ + "hand", + "point", + "left" + ] + }, + { + "value": "hand-point-right", + "keywords": [ + "hand", + "point", + "right" + ] + }, + { + "value": "hand-point-up", + "keywords": [ + "hand", + "point", + "up" + ] + }, + { + "value": "hand-pointer", + "keywords": [ + "hand", + "pointer" + ] + }, + { + "value": "hand-scissors", + "keywords": [ + "hand", + "scissors" + ] + }, + { + "value": "hand-sparkles", + "keywords": [ + "hand", + "sparkles" + ] + }, + { + "value": "hand-spock", + "keywords": [ + "hand", + "spock" + ] + }, + { + "value": "handcuffs" + }, + { + "value": "hands" + }, + { + "value": "hands-asl-interpreting", + "keywords": [ + "hands", + "asl", + "interpreting" + ] + }, + { + "value": "hands-bound", + "keywords": [ + "hands", + "bound" + ] + }, + { + "value": "hands-bubbles", + "keywords": [ + "hands", + "bubbles" + ] + }, + { + "value": "hands-clapping", + "keywords": [ + "hands", + "clapping" + ] + }, + { + "value": "hands-holding", + "keywords": [ + "hands", + "holding" + ] + }, + { + "value": "hands-holding-child", + "keywords": [ + "hands", + "holding", + "child" + ] + }, + { + "value": "hands-holding-circle", + "keywords": [ + "hands", + "holding", + "circle" + ] + }, + { + "value": "hands-praying", + "keywords": [ + "hands", + "praying" + ] + }, + { + "value": "handshake" + }, + { + "value": "handshake-angle", + "keywords": [ + "handshake", + "angle" + ] + }, + { + "value": "handshake-simple", + "keywords": [ + "handshake", + "simple" + ] + }, + { + "value": "handshake-simple-slash", + "keywords": [ + "handshake", + "simple", + "slash" + ] + }, + { + "value": "handshake-slash", + "keywords": [ + "handshake", + "slash" + ] + }, + { + "value": "hanukiah" + }, + { + "value": "hard-drive", + "keywords": [ + "hard", + "drive" + ] + }, + { + "value": "hashtag" + }, + { + "value": "hat-cowboy", + "keywords": [ + "hat", + "cowboy" + ] + }, + { + "value": "hat-cowboy-side", + "keywords": [ + "hat", + "cowboy", + "side" + ] + }, + { + "value": "hat-wizard", + "keywords": [ + "hat", + "wizard" + ] + }, + { + "value": "head-side-cough", + "keywords": [ + "head", + "side", + "cough" + ] + }, + { + "value": "head-side-cough-slash", + "keywords": [ + "head", + "side", + "cough", + "slash" + ] + }, + { + "value": "head-side-mask", + "keywords": [ + "head", + "side", + "mask" + ] + }, + { + "value": "head-side-virus", + "keywords": [ + "head", + "side", + "virus" + ] + }, + { + "value": "heading" + }, + { + "value": "headphones" + }, + { + "value": "headphones-simple", + "keywords": [ + "headphones", + "simple" + ] + }, + { + "value": "headset" + }, + { + "value": "heart" + }, + { + "value": "heart-circle-bolt", + "keywords": [ + "heart", + "circle", + "bolt" + ] + }, + { + "value": "heart-circle-check", + "keywords": [ + "heart", + "circle", + "check" + ] + }, + { + "value": "heart-circle-exclamation", + "keywords": [ + "heart", + "circle", + "exclamation" + ] + }, + { + "value": "heart-circle-minus", + "keywords": [ + "heart", + "circle", + "minus" + ] + }, + { + "value": "heart-circle-plus", + "keywords": [ + "heart", + "circle", + "plus" + ] + }, + { + "value": "heart-circle-xmark", + "keywords": [ + "heart", + "circle", + "xmark" + ] + }, + { + "value": "heart-crack", + "keywords": [ + "heart", + "crack" + ] + }, + { + "value": "heart-pulse", + "keywords": [ + "heart", + "pulse" + ] + }, + { + "value": "helicopter" + }, + { + "value": "helicopter-symbol", + "keywords": [ + "helicopter", + "symbol" + ] + }, + { + "value": "helmet-safety", + "keywords": [ + "helmet", + "safety" + ] + }, + { + "value": "helmet-un", + "keywords": [ + "helmet", + "un" + ] + }, + { + "value": "highlighter" + }, + { + "value": "hill-avalanche", + "keywords": [ + "hill", + "avalanche" + ] + }, + { + "value": "hill-rockslide", + "keywords": [ + "hill", + "rockslide" + ] + }, + { + "value": "hippo" + }, + { + "value": "hockey-puck", + "keywords": [ + "hockey", + "puck" + ] + }, + { + "value": "holly-berry", + "keywords": [ + "holly", + "berry" + ] + }, + { + "value": "horse" + }, + { + "value": "horse-head", + "keywords": [ + "horse", + "head" + ] + }, + { + "value": "hospital" + }, + { + "value": "hospital-user", + "keywords": [ + "hospital", + "user" + ] + }, + { + "value": "hot-tub-person", + "keywords": [ + "hot", + "tub", + "person" + ] + }, + { + "value": "hotdog" + }, + { + "value": "hotel" + }, + { + "value": "hourglass" + }, + { + "value": "hourglass-end", + "keywords": [ + "hourglass", + "end" + ] + }, + { + "value": "hourglass-half", + "keywords": [ + "hourglass", + "half" + ] + }, + { + "value": "hourglass-start", + "keywords": [ + "hourglass", + "start" + ] + }, + { + "value": "house" + }, + { + "value": "house-chimney", + "keywords": [ + "house", + "chimney" + ] + }, + { + "value": "house-chimney-crack", + "keywords": [ + "house", + "chimney", + "crack" + ] + }, + { + "value": "house-chimney-medical", + "keywords": [ + "house", + "chimney", + "medical" + ] + }, + { + "value": "house-chimney-user", + "keywords": [ + "house", + "chimney", + "user" + ] + }, + { + "value": "house-chimney-window", + "keywords": [ + "house", + "chimney", + "window" + ] + }, + { + "value": "house-circle-check", + "keywords": [ + "house", + "circle", + "check" + ] + }, + { + "value": "house-circle-exclamation", + "keywords": [ + "house", + "circle", + "exclamation" + ] + }, + { + "value": "house-circle-xmark", + "keywords": [ + "house", + "circle", + "xmark" + ] + }, + { + "value": "house-crack", + "keywords": [ + "house", + "crack" + ] + }, + { + "value": "house-fire", + "keywords": [ + "house", + "fire" + ] + }, + { + "value": "house-flag", + "keywords": [ + "house", + "flag" + ] + }, + { + "value": "house-flood-water", + "keywords": [ + "house", + "flood", + "water" + ] + }, + { + "value": "house-flood-water-circle-arrow-right", + "keywords": [ + "house", + "flood", + "water", + "circle", + "arrow", + "right" + ] + }, + { + "value": "house-laptop", + "keywords": [ + "house", + "laptop" + ] + }, + { + "value": "house-lock", + "keywords": [ + "house", + "lock" + ] + }, + { + "value": "house-medical", + "keywords": [ + "house", + "medical" + ] + }, + { + "value": "house-medical-circle-check", + "keywords": [ + "house", + "medical", + "circle", + "check" + ] + }, + { + "value": "house-medical-circle-exclamation", + "keywords": [ + "house", + "medical", + "circle", + "exclamation" + ] + }, + { + "value": "house-medical-circle-xmark", + "keywords": [ + "house", + "medical", + "circle", + "xmark" + ] + }, + { + "value": "house-medical-flag", + "keywords": [ + "house", + "medical", + "flag" + ] + }, + { + "value": "house-signal", + "keywords": [ + "house", + "signal" + ] + }, + { + "value": "house-tsunami", + "keywords": [ + "house", + "tsunami" + ] + }, + { + "value": "house-user", + "keywords": [ + "house", + "user" + ] + }, + { + "value": "hryvnia-sign", + "keywords": [ + "hryvnia", + "sign" + ] + }, + { + "value": "hurricane" + }, + { + "value": "i" + }, + { + "value": "i-cursor" + }, + { + "value": "ice-cream", + "keywords": [ + "ice", + "cream" + ] + }, + { + "value": "icicles" + }, + { + "value": "icons" + }, + { + "value": "id-badge", + "keywords": [ + "id", + "badge" + ] + }, + { + "value": "id-card", + "keywords": [ + "id", + "card" + ] + }, + { + "value": "id-card-clip", + "keywords": [ + "id", + "card", + "clip" + ] + }, + { + "value": "igloo" + }, + { + "value": "image" + }, + { + "value": "image-portrait", + "keywords": [ + "image", + "portrait" + ] + }, + { + "value": "images" + }, + { + "value": "inbox" + }, + { + "value": "indent" + }, + { + "value": "indian-rupee-sign", + "keywords": [ + "indian", + "rupee", + "sign" + ] + }, + { + "value": "industry" + }, + { + "value": "infinity" + }, + { + "value": "info" + }, + { + "value": "italic" + }, + { + "value": "j" + }, + { + "value": "jar" + }, + { + "value": "jar-wheat", + "keywords": [ + "jar", + "wheat" + ] + }, + { + "value": "jedi" + }, + { + "value": "jet-fighter", + "keywords": [ + "jet", + "fighter" + ] + }, + { + "value": "jet-fighter-up", + "keywords": [ + "jet", + "fighter", + "up" + ] + }, + { + "value": "joint" + }, + { + "value": "jug-detergent", + "keywords": [ + "jug", + "detergent" + ] + }, + { + "value": "k" + }, + { + "value": "kaaba" + }, + { + "value": "key" + }, + { + "value": "keyboard" + }, + { + "value": "khanda" + }, + { + "value": "kip-sign", + "keywords": [ + "kip", + "sign" + ] + }, + { + "value": "kit-medical", + "keywords": [ + "kit", + "medical" + ] + }, + { + "value": "kitchen-set", + "keywords": [ + "kitchen", + "set" + ] + }, + { + "value": "kiwi-bird", + "keywords": [ + "kiwi", + "bird" + ] + }, + { + "value": "l" + }, + { + "value": "land-mine-on", + "keywords": [ + "land", + "mine", + "on" + ] + }, + { + "value": "landmark" + }, + { + "value": "landmark-dome", + "keywords": [ + "landmark", + "dome" + ] + }, + { + "value": "landmark-flag", + "keywords": [ + "landmark", + "flag" + ] + }, + { + "value": "language" + }, + { + "value": "laptop" + }, + { + "value": "laptop-code", + "keywords": [ + "laptop", + "code" + ] + }, + { + "value": "laptop-file", + "keywords": [ + "laptop", + "file" + ] + }, + { + "value": "laptop-medical", + "keywords": [ + "laptop", + "medical" + ] + }, + { + "value": "lari-sign", + "keywords": [ + "lari", + "sign" + ] + }, + { + "value": "layer-group", + "keywords": [ + "layer", + "group" + ] + }, + { + "value": "leaf" + }, + { + "value": "left-long", + "keywords": [ + "left", + "long" + ] + }, + { + "value": "left-right", + "keywords": [ + "left", + "right" + ] + }, + { + "value": "lemon" + }, + { + "value": "less-than", + "keywords": [ + "less", + "than" + ] + }, + { + "value": "less-than-equal", + "keywords": [ + "less", + "than", + "equal" + ] + }, + { + "value": "life-ring", + "keywords": [ + "life", + "ring" + ] + }, + { + "value": "lightbulb" + }, + { + "value": "lines-leaning", + "keywords": [ + "lines", + "leaning" + ] + }, + { + "value": "link" + }, + { + "value": "link-slash", + "keywords": [ + "link", + "slash" + ] + }, + { + "value": "lira-sign", + "keywords": [ + "lira", + "sign" + ] + }, + { + "value": "list" + }, + { + "value": "list-check", + "keywords": [ + "list", + "check" + ] + }, + { + "value": "list-ol", + "keywords": [ + "list", + "ol" + ] + }, + { + "value": "list-ul", + "keywords": [ + "list", + "ul" + ] + }, + { + "value": "litecoin-sign", + "keywords": [ + "litecoin", + "sign" + ] + }, + { + "value": "location-arrow", + "keywords": [ + "location", + "arrow" + ] + }, + { + "value": "location-crosshairs", + "keywords": [ + "location", + "crosshairs" + ] + }, + { + "value": "location-dot", + "keywords": [ + "location", + "dot" + ] + }, + { + "value": "location-pin", + "keywords": [ + "location", + "pin" + ] + }, + { + "value": "location-pin-lock", + "keywords": [ + "location", + "pin", + "lock" + ] + }, + { + "value": "lock" + }, + { + "value": "lock-open", + "keywords": [ + "lock", + "open" + ] + }, + { + "value": "locust" + }, + { + "value": "lungs" + }, + { + "value": "lungs-virus", + "keywords": [ + "lungs", + "virus" + ] + }, + { + "value": "m" + }, + { + "value": "magnet" + }, + { + "value": "magnifying-glass", + "keywords": [ + "magnifying", + "glass" + ] + }, + { + "value": "magnifying-glass-arrow-right", + "keywords": [ + "magnifying", + "glass", + "arrow", + "right" + ] + }, + { + "value": "magnifying-glass-chart", + "keywords": [ + "magnifying", + "glass", + "chart" + ] + }, + { + "value": "magnifying-glass-dollar", + "keywords": [ + "magnifying", + "glass", + "dollar" + ] + }, + { + "value": "magnifying-glass-location", + "keywords": [ + "magnifying", + "glass", + "location" + ] + }, + { + "value": "magnifying-glass-minus", + "keywords": [ + "magnifying", + "glass", + "minus" + ] + }, + { + "value": "magnifying-glass-plus", + "keywords": [ + "magnifying", + "glass", + "plus" + ] + }, + { + "value": "manat-sign", + "keywords": [ + "manat", + "sign" + ] + }, + { + "value": "map" + }, + { + "value": "map-location", + "keywords": [ + "map", + "location" + ] + }, + { + "value": "map-location-dot", + "keywords": [ + "map", + "location", + "dot" + ] + }, + { + "value": "map-pin", + "keywords": [ + "map", + "pin" + ] + }, + { + "value": "marker" + }, + { + "value": "mars" + }, + { + "value": "mars-and-venus", + "keywords": [ + "mars", + "and", + "venus" + ] + }, + { + "value": "mars-and-venus-burst", + "keywords": [ + "mars", + "and", + "venus", + "burst" + ] + }, + { + "value": "mars-double", + "keywords": [ + "mars", + "double" + ] + }, + { + "value": "mars-stroke", + "keywords": [ + "mars", + "stroke" + ] + }, + { + "value": "mars-stroke-right", + "keywords": [ + "mars", + "stroke", + "right" + ] + }, + { + "value": "mars-stroke-up", + "keywords": [ + "mars", + "stroke", + "up" + ] + }, + { + "value": "martini-glass", + "keywords": [ + "martini", + "glass" + ] + }, + { + "value": "martini-glass-citrus", + "keywords": [ + "martini", + "glass", + "citrus" + ] + }, + { + "value": "martini-glass-empty", + "keywords": [ + "martini", + "glass", + "empty" + ] + }, + { + "value": "mask" + }, + { + "value": "mask-face", + "keywords": [ + "mask", + "face" + ] + }, + { + "value": "mask-ventilator", + "keywords": [ + "mask", + "ventilator" + ] + }, + { + "value": "masks-theater", + "keywords": [ + "masks", + "theater" + ] + }, + { + "value": "mattress-pillow", + "keywords": [ + "mattress", + "pillow" + ] + }, + { + "value": "maximize" + }, + { + "value": "medal" + }, + { + "value": "memory" + }, + { + "value": "menorah" + }, + { + "value": "mercury" + }, + { + "value": "message" + }, + { + "value": "meteor" + }, + { + "value": "microchip" + }, + { + "value": "microphone" + }, + { + "value": "microphone-lines", + "keywords": [ + "microphone", + "lines" + ] + }, + { + "value": "microphone-lines-slash", + "keywords": [ + "microphone", + "lines", + "slash" + ] + }, + { + "value": "microphone-slash", + "keywords": [ + "microphone", + "slash" + ] + }, + { + "value": "microscope" + }, + { + "value": "mill-sign", + "keywords": [ + "mill", + "sign" + ] + }, + { + "value": "minimize" + }, + { + "value": "minus" + }, + { + "value": "mitten" + }, + { + "value": "mobile" + }, + { + "value": "mobile-button", + "keywords": [ + "mobile", + "button" + ] + }, + { + "value": "mobile-retro", + "keywords": [ + "mobile", + "retro" + ] + }, + { + "value": "mobile-screen", + "keywords": [ + "mobile", + "screen" + ] + }, + { + "value": "mobile-screen-button", + "keywords": [ + "mobile", + "screen", + "button" + ] + }, + { + "value": "money-bill", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-transfer", + "keywords": [ + "money", + "bill", + "transfer" + ] + }, + { + "value": "money-bill-trend-up", + "keywords": [ + "money", + "bill", + "trend", + "up" + ] + }, + { + "value": "money-bill-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-wheat", + "keywords": [ + "money", + "bill", + "wheat" + ] + }, + { + "value": "money-bills", + "keywords": [ + "money", + "bills" + ] + }, + { + "value": "money-check", + "keywords": [ + "money", + "check" + ] + }, + { + "value": "money-check-dollar", + "keywords": [ + "money", + "check", + "dollar" + ] + }, + { + "value": "monument" + }, + { + "value": "moon" + }, + { + "value": "mortar-pestle", + "keywords": [ + "mortar", + "pestle" + ] + }, + { + "value": "mosque" + }, + { + "value": "mosquito" + }, + { + "value": "mosquito-net", + "keywords": [ + "mosquito", + "net" + ] + }, + { + "value": "motorcycle" + }, + { + "value": "mound" + }, + { + "value": "mountain" + }, + { + "value": "mountain-city", + "keywords": [ + "mountain", + "city" + ] + }, + { + "value": "mountain-sun", + "keywords": [ + "mountain", + "sun" + ] + }, + { + "value": "mug-hot", + "keywords": [ + "mug", + "hot" + ] + }, + { + "value": "mug-saucer", + "keywords": [ + "mug", + "saucer" + ] + }, + { + "value": "music" + }, + { + "value": "n" + }, + { + "value": "naira-sign", + "keywords": [ + "naira", + "sign" + ] + }, + { + "value": "network-wired", + "keywords": [ + "network", + "wired" + ] + }, + { + "value": "neuter" + }, + { + "value": "newspaper" + }, + { + "value": "not-equal", + "keywords": [ + "not", + "equal" + ] + }, + { + "value": "notdef" + }, + { + "value": "note-sticky", + "keywords": [ + "note", + "sticky" + ] + }, + { + "value": "notes-medical", + "keywords": [ + "notes", + "medical" + ] + }, + { + "value": "o" + }, + { + "value": "object-group", + "keywords": [ + "object", + "group" + ] + }, + { + "value": "object-ungroup", + "keywords": [ + "object", + "ungroup" + ] + }, + { + "value": "oil-can", + "keywords": [ + "oil", + "can" + ] + }, + { + "value": "oil-well", + "keywords": [ + "oil", + "well" + ] + }, + { + "value": "om" + }, + { + "value": "otter" + }, + { + "value": "outdent" + }, + { + "value": "p" + }, + { + "value": "pager" + }, + { + "value": "paint-roller", + "keywords": [ + "paint", + "roller" + ] + }, + { + "value": "paintbrush" + }, + { + "value": "palette" + }, + { + "value": "pallet" + }, + { + "value": "panorama" + }, + { + "value": "paper-plane", + "keywords": [ + "paper", + "plane" + ] + }, + { + "value": "paperclip" + }, + { + "value": "parachute-box", + "keywords": [ + "parachute", + "box" + ] + }, + { + "value": "paragraph" + }, + { + "value": "passport" + }, + { + "value": "paste" + }, + { + "value": "pause" + }, + { + "value": "paw" + }, + { + "value": "peace" + }, + { + "value": "pen" + }, + { + "value": "pen-clip", + "keywords": [ + "pen", + "clip" + ] + }, + { + "value": "pen-fancy", + "keywords": [ + "pen", + "fancy" + ] + }, + { + "value": "pen-nib", + "keywords": [ + "pen", + "nib" + ] + }, + { + "value": "pen-ruler", + "keywords": [ + "pen", + "ruler" + ] + }, + { + "value": "pen-to-square", + "keywords": [ + "pen", + "to", + "square" + ] + }, + { + "value": "pencil" + }, + { + "value": "people-arrows", + "keywords": [ + "people", + "arrows" + ] + }, + { + "value": "people-carry-box", + "keywords": [ + "people", + "carry", + "box" + ] + }, + { + "value": "people-group", + "keywords": [ + "people", + "group" + ] + }, + { + "value": "people-line", + "keywords": [ + "people", + "line" + ] + }, + { + "value": "people-pulling", + "keywords": [ + "people", + "pulling" + ] + }, + { + "value": "people-robbery", + "keywords": [ + "people", + "robbery" + ] + }, + { + "value": "people-roof", + "keywords": [ + "people", + "roof" + ] + }, + { + "value": "pepper-hot", + "keywords": [ + "pepper", + "hot" + ] + }, + { + "value": "percent" + }, + { + "value": "person" + }, + { + "value": "person-arrow-down-to-line", + "keywords": [ + "person", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "person-arrow-up-from-line", + "keywords": [ + "person", + "arrow", + "up", + "from", + "line" + ] + }, + { + "value": "person-biking", + "keywords": [ + "person", + "biking" + ] + }, + { + "value": "person-booth", + "keywords": [ + "person", + "booth" + ] + }, + { + "value": "person-breastfeeding", + "keywords": [ + "person", + "breastfeeding" + ] + }, + { + "value": "person-burst", + "keywords": [ + "person", + "burst" + ] + }, + { + "value": "person-cane", + "keywords": [ + "person", + "cane" + ] + }, + { + "value": "person-chalkboard", + "keywords": [ + "person", + "chalkboard" + ] + }, + { + "value": "person-circle-check", + "keywords": [ + "person", + "circle", + "check" + ] + }, + { + "value": "person-circle-exclamation", + "keywords": [ + "person", + "circle", + "exclamation" + ] + }, + { + "value": "person-circle-minus", + "keywords": [ + "person", + "circle", + "minus" + ] + }, + { + "value": "person-circle-plus", + "keywords": [ + "person", + "circle", + "plus" + ] + }, + { + "value": "person-circle-question", + "keywords": [ + "person", + "circle", + "question" + ] + }, + { + "value": "person-circle-xmark", + "keywords": [ + "person", + "circle", + "xmark" + ] + }, + { + "value": "person-digging", + "keywords": [ + "person", + "digging" + ] + }, + { + "value": "person-dots-from-line", + "keywords": [ + "person", + "dots", + "from", + "line" + ] + }, + { + "value": "person-dress", + "keywords": [ + "person", + "dress" + ] + }, + { + "value": "person-dress-burst", + "keywords": [ + "person", + "dress", + "burst" + ] + }, + { + "value": "person-drowning", + "keywords": [ + "person", + "drowning" + ] + }, + { + "value": "person-falling", + "keywords": [ + "person", + "falling" + ] + }, + { + "value": "person-falling-burst", + "keywords": [ + "person", + "falling", + "burst" + ] + }, + { + "value": "person-half-dress", + "keywords": [ + "person", + "half", + "dress" + ] + }, + { + "value": "person-harassing", + "keywords": [ + "person", + "harassing" + ] + }, + { + "value": "person-hiking", + "keywords": [ + "person", + "hiking" + ] + }, + { + "value": "person-military-pointing", + "keywords": [ + "person", + "military", + "pointing" + ] + }, + { + "value": "person-military-rifle", + "keywords": [ + "person", + "military", + "rifle" + ] + }, + { + "value": "person-military-to-person", + "keywords": [ + "person", + "military", + "to", + "person" + ] + }, + { + "value": "person-praying", + "keywords": [ + "person", + "praying" + ] + }, + { + "value": "person-pregnant", + "keywords": [ + "person", + "pregnant" + ] + }, + { + "value": "person-rays", + "keywords": [ + "person", + "rays" + ] + }, + { + "value": "person-rifle", + "keywords": [ + "person", + "rifle" + ] + }, + { + "value": "person-running", + "keywords": [ + "person", + "running" + ] + }, + { + "value": "person-shelter", + "keywords": [ + "person", + "shelter" + ] + }, + { + "value": "person-skating", + "keywords": [ + "person", + "skating" + ] + }, + { + "value": "person-skiing", + "keywords": [ + "person", + "skiing" + ] + }, + { + "value": "person-skiing-nordic", + "keywords": [ + "person", + "skiing", + "nordic" + ] + }, + { + "value": "person-snowboarding", + "keywords": [ + "person", + "snowboarding" + ] + }, + { + "value": "person-swimming", + "keywords": [ + "person", + "swimming" + ] + }, + { + "value": "person-through-window", + "keywords": [ + "person", + "through", + "window" + ] + }, + { + "value": "person-walking", + "keywords": [ + "person", + "walking" + ] + }, + { + "value": "person-walking-arrow-loop-left", + "keywords": [ + "person", + "walking", + "arrow", + "loop", + "left" + ] + }, + { + "value": "person-walking-arrow-right", + "keywords": [ + "person", + "walking", + "arrow", + "right" + ] + }, + { + "value": "person-walking-dashed-line-arrow-right", + "keywords": [ + "person", + "walking", + "dashed", + "line", + "arrow", + "right" + ] + }, + { + "value": "person-walking-luggage", + "keywords": [ + "person", + "walking", + "luggage" + ] + }, + { + "value": "person-walking-with-cane", + "keywords": [ + "person", + "walking", + "with", + "cane" + ] + }, + { + "value": "peseta-sign", + "keywords": [ + "peseta", + "sign" + ] + }, + { + "value": "peso-sign", + "keywords": [ + "peso", + "sign" + ] + }, + { + "value": "phone" + }, + { + "value": "phone-flip", + "keywords": [ + "phone", + "flip" + ] + }, + { + "value": "phone-slash", + "keywords": [ + "phone", + "slash" + ] + }, + { + "value": "phone-volume", + "keywords": [ + "phone", + "volume" + ] + }, + { + "value": "photo-film", + "keywords": [ + "photo", + "film" + ] + }, + { + "value": "piggy-bank", + "keywords": [ + "piggy", + "bank" + ] + }, + { + "value": "pills" + }, + { + "value": "pizza-slice", + "keywords": [ + "pizza", + "slice" + ] + }, + { + "value": "place-of-worship", + "keywords": [ + "place", + "of", + "worship" + ] + }, + { + "value": "plane" + }, + { + "value": "plane-arrival", + "keywords": [ + "plane", + "arrival" + ] + }, + { + "value": "plane-circle-check", + "keywords": [ + "plane", + "circle", + "check" + ] + }, + { + "value": "plane-circle-exclamation", + "keywords": [ + "plane", + "circle", + "exclamation" + ] + }, + { + "value": "plane-circle-xmark", + "keywords": [ + "plane", + "circle", + "xmark" + ] + }, + { + "value": "plane-departure", + "keywords": [ + "plane", + "departure" + ] + }, + { + "value": "plane-lock", + "keywords": [ + "plane", + "lock" + ] + }, + { + "value": "plane-slash", + "keywords": [ + "plane", + "slash" + ] + }, + { + "value": "plane-up", + "keywords": [ + "plane", + "up" + ] + }, + { + "value": "plant-wilt", + "keywords": [ + "plant", + "wilt" + ] + }, + { + "value": "plate-wheat", + "keywords": [ + "plate", + "wheat" + ] + }, + { + "value": "play" + }, + { + "value": "plug" + }, + { + "value": "plug-circle-bolt", + "keywords": [ + "plug", + "circle", + "bolt" + ] + }, + { + "value": "plug-circle-check", + "keywords": [ + "plug", + "circle", + "check" + ] + }, + { + "value": "plug-circle-exclamation", + "keywords": [ + "plug", + "circle", + "exclamation" + ] + }, + { + "value": "plug-circle-minus", + "keywords": [ + "plug", + "circle", + "minus" + ] + }, + { + "value": "plug-circle-plus", + "keywords": [ + "plug", + "circle", + "plus" + ] + }, + { + "value": "plug-circle-xmark", + "keywords": [ + "plug", + "circle", + "xmark" + ] + }, + { + "value": "plus" + }, + { + "value": "plus-minus", + "keywords": [ + "plus", + "minus" + ] + }, + { + "value": "podcast" + }, + { + "value": "poo" + }, + { + "value": "poo-storm", + "keywords": [ + "poo", + "storm" + ] + }, + { + "value": "poop" + }, + { + "value": "power-off", + "keywords": [ + "power", + "off" + ] + }, + { + "value": "prescription" + }, + { + "value": "prescription-bottle", + "keywords": [ + "prescription", + "bottle" + ] + }, + { + "value": "prescription-bottle-medical", + "keywords": [ + "prescription", + "bottle", + "medical" + ] + }, + { + "value": "print" + }, + { + "value": "pump-medical", + "keywords": [ + "pump", + "medical" + ] + }, + { + "value": "pump-soap", + "keywords": [ + "pump", + "soap" + ] + }, + { + "value": "puzzle-piece", + "keywords": [ + "puzzle", + "piece" + ] + }, + { + "value": "q" + }, + { + "value": "qrcode" + }, + { + "value": "question" + }, + { + "value": "quote-left", + "keywords": [ + "quote", + "left" + ] + }, + { + "value": "quote-right", + "keywords": [ + "quote", + "right" + ] + }, + { + "value": "r" + }, + { + "value": "radiation" + }, + { + "value": "radio" + }, + { + "value": "rainbow" + }, + { + "value": "ranking-star", + "keywords": [ + "ranking", + "star" + ] + }, + { + "value": "receipt" + }, + { + "value": "record-vinyl", + "keywords": [ + "record", + "vinyl" + ] + }, + { + "value": "rectangle-ad", + "keywords": [ + "rectangle", + "ad" + ] + }, + { + "value": "rectangle-list", + "keywords": [ + "rectangle", + "list" + ] + }, + { + "value": "rectangle-xmark", + "keywords": [ + "rectangle", + "xmark" + ] + }, + { + "value": "recycle" + }, + { + "value": "registered" + }, + { + "value": "repeat" + }, + { + "value": "reply" + }, + { + "value": "reply-all", + "keywords": [ + "reply", + "all" + ] + }, + { + "value": "republican" + }, + { + "value": "restroom" + }, + { + "value": "retweet" + }, + { + "value": "ribbon" + }, + { + "value": "right-from-bracket", + "keywords": [ + "right", + "from", + "bracket" + ] + }, + { + "value": "right-left", + "keywords": [ + "right", + "left" + ] + }, + { + "value": "right-long", + "keywords": [ + "right", + "long" + ] + }, + { + "value": "right-to-bracket", + "keywords": [ + "right", + "to", + "bracket" + ] + }, + { + "value": "ring" + }, + { + "value": "road" + }, + { + "value": "road-barrier", + "keywords": [ + "road", + "barrier" + ] + }, + { + "value": "road-bridge", + "keywords": [ + "road", + "bridge" + ] + }, + { + "value": "road-circle-check", + "keywords": [ + "road", + "circle", + "check" + ] + }, + { + "value": "road-circle-exclamation", + "keywords": [ + "road", + "circle", + "exclamation" + ] + }, + { + "value": "road-circle-xmark", + "keywords": [ + "road", + "circle", + "xmark" + ] + }, + { + "value": "road-lock", + "keywords": [ + "road", + "lock" + ] + }, + { + "value": "road-spikes", + "keywords": [ + "road", + "spikes" + ] + }, + { + "value": "robot" + }, + { + "value": "rocket" + }, + { + "value": "rotate" + }, + { + "value": "rotate-left", + "keywords": [ + "rotate", + "left" + ] + }, + { + "value": "rotate-right", + "keywords": [ + "rotate", + "right" + ] + }, + { + "value": "route" + }, + { + "value": "rss" + }, + { + "value": "ruble-sign", + "keywords": [ + "ruble", + "sign" + ] + }, + { + "value": "rug" + }, + { + "value": "ruler" + }, + { + "value": "ruler-combined", + "keywords": [ + "ruler", + "combined" + ] + }, + { + "value": "ruler-horizontal", + "keywords": [ + "ruler", + "horizontal" + ] + }, + { + "value": "ruler-vertical", + "keywords": [ + "ruler", + "vertical" + ] + }, + { + "value": "rupee-sign", + "keywords": [ + "rupee", + "sign" + ] + }, + { + "value": "rupiah-sign", + "keywords": [ + "rupiah", + "sign" + ] + }, + { + "value": "s" + }, + { + "value": "sack-dollar", + "keywords": [ + "sack", + "dollar" + ] + }, + { + "value": "sack-xmark", + "keywords": [ + "sack", + "xmark" + ] + }, + { + "value": "sailboat" + }, + { + "value": "satellite" + }, + { + "value": "satellite-dish", + "keywords": [ + "satellite", + "dish" + ] + }, + { + "value": "scale-balanced", + "keywords": [ + "scale", + "balanced" + ] + }, + { + "value": "scale-unbalanced", + "keywords": [ + "scale", + "unbalanced" + ] + }, + { + "value": "scale-unbalanced-flip", + "keywords": [ + "scale", + "unbalanced", + "flip" + ] + }, + { + "value": "school" + }, + { + "value": "school-circle-check", + "keywords": [ + "school", + "circle", + "check" + ] + }, + { + "value": "school-circle-exclamation", + "keywords": [ + "school", + "circle", + "exclamation" + ] + }, + { + "value": "school-circle-xmark", + "keywords": [ + "school", + "circle", + "xmark" + ] + }, + { + "value": "school-flag", + "keywords": [ + "school", + "flag" + ] + }, + { + "value": "school-lock", + "keywords": [ + "school", + "lock" + ] + }, + { + "value": "scissors" + }, + { + "value": "screwdriver" + }, + { + "value": "screwdriver-wrench", + "keywords": [ + "screwdriver", + "wrench" + ] + }, + { + "value": "scroll" + }, + { + "value": "scroll-torah", + "keywords": [ + "scroll", + "torah" + ] + }, + { + "value": "sd-card", + "keywords": [ + "sd", + "card" + ] + }, + { + "value": "section" + }, + { + "value": "seedling" + }, + { + "value": "server" + }, + { + "value": "shapes" + }, + { + "value": "share" + }, + { + "value": "share-from-square", + "keywords": [ + "share", + "from", + "square" + ] + }, + { + "value": "share-nodes", + "keywords": [ + "share", + "nodes" + ] + }, + { + "value": "sheet-plastic", + "keywords": [ + "sheet", + "plastic" + ] + }, + { + "value": "shekel-sign", + "keywords": [ + "shekel", + "sign" + ] + }, + { + "value": "shield" + }, + { + "value": "shield-cat", + "keywords": [ + "shield", + "cat" + ] + }, + { + "value": "shield-dog", + "keywords": [ + "shield", + "dog" + ] + }, + { + "value": "shield-halved", + "keywords": [ + "shield", + "halved" + ] + }, + { + "value": "shield-heart", + "keywords": [ + "shield", + "heart" + ] + }, + { + "value": "shield-virus", + "keywords": [ + "shield", + "virus" + ] + }, + { + "value": "ship" + }, + { + "value": "shirt" + }, + { + "value": "shoe-prints", + "keywords": [ + "shoe", + "prints" + ] + }, + { + "value": "shop" + }, + { + "value": "shop-lock", + "keywords": [ + "shop", + "lock" + ] + }, + { + "value": "shop-slash", + "keywords": [ + "shop", + "slash" + ] + }, + { + "value": "shower" + }, + { + "value": "shrimp" + }, + { + "value": "shuffle" + }, + { + "value": "shuttle-space", + "keywords": [ + "shuttle", + "space" + ] + }, + { + "value": "sign-hanging", + "keywords": [ + "sign", + "hanging" + ] + }, + { + "value": "signal" + }, + { + "value": "signature" + }, + { + "value": "signs-post", + "keywords": [ + "signs", + "post" + ] + }, + { + "value": "sim-card", + "keywords": [ + "sim", + "card" + ] + }, + { + "value": "sink" + }, + { + "value": "sitemap" + }, + { + "value": "skull" + }, + { + "value": "skull-crossbones", + "keywords": [ + "skull", + "crossbones" + ] + }, + { + "value": "slash" + }, + { + "value": "sleigh" + }, + { + "value": "sliders" + }, + { + "value": "smog" + }, + { + "value": "smoking" + }, + { + "value": "snowflake" + }, + { + "value": "snowman" + }, + { + "value": "snowplow" + }, + { + "value": "soap" + }, + { + "value": "socks" + }, + { + "value": "solar-panel", + "keywords": [ + "solar", + "panel" + ] + }, + { + "value": "sort" + }, + { + "value": "sort-down", + "keywords": [ + "sort", + "down" + ] + }, + { + "value": "sort-up", + "keywords": [ + "sort", + "up" + ] + }, + { + "value": "spa" + }, + { + "value": "spaghetti-monster-flying", + "keywords": [ + "spaghetti", + "monster", + "flying" + ] + }, + { + "value": "spell-check", + "keywords": [ + "spell", + "check" + ] + }, + { + "value": "spider" + }, + { + "value": "spinner" + }, + { + "value": "splotch" + }, + { + "value": "spoon" + }, + { + "value": "spray-can", + "keywords": [ + "spray", + "can" + ] + }, + { + "value": "spray-can-sparkles", + "keywords": [ + "spray", + "can", + "sparkles" + ] + }, + { + "value": "square" + }, + { + "value": "square-arrow-up-right", + "keywords": [ + "square", + "arrow", + "up", + "right" + ] + }, + { + "value": "square-caret-down", + "keywords": [ + "square", + "caret", + "down" + ] + }, + { + "value": "square-caret-left", + "keywords": [ + "square", + "caret", + "left" + ] + }, + { + "value": "square-caret-right", + "keywords": [ + "square", + "caret", + "right" + ] + }, + { + "value": "square-caret-up", + "keywords": [ + "square", + "caret", + "up" + ] + }, + { + "value": "square-check", + "keywords": [ + "square", + "check" + ] + }, + { + "value": "square-envelope", + "keywords": [ + "square", + "envelope" + ] + }, + { + "value": "square-full", + "keywords": [ + "square", + "full" + ] + }, + { + "value": "square-h" + }, + { + "value": "square-minus", + "keywords": [ + "square", + "minus" + ] + }, + { + "value": "square-nfi", + "keywords": [ + "square", + "nfi" + ] + }, + { + "value": "square-parking", + "keywords": [ + "square", + "parking" + ] + }, + { + "value": "square-pen", + "keywords": [ + "square", + "pen" + ] + }, + { + "value": "square-person-confined", + "keywords": [ + "square", + "person", + "confined" + ] + }, + { + "value": "square-phone", + "keywords": [ + "square", + "phone" + ] + }, + { + "value": "square-phone-flip", + "keywords": [ + "square", + "phone", + "flip" + ] + }, + { + "value": "square-plus", + "keywords": [ + "square", + "plus" + ] + }, + { + "value": "square-poll-horizontal", + "keywords": [ + "square", + "poll", + "horizontal" + ] + }, + { + "value": "square-poll-vertical", + "keywords": [ + "square", + "poll", + "vertical" + ] + }, + { + "value": "square-root-variable", + "keywords": [ + "square", + "root", + "variable" + ] + }, + { + "value": "square-rss", + "keywords": [ + "square", + "rss" + ] + }, + { + "value": "square-share-nodes", + "keywords": [ + "square", + "share", + "nodes" + ] + }, + { + "value": "square-up-right", + "keywords": [ + "square", + "up", + "right" + ] + }, + { + "value": "square-virus", + "keywords": [ + "square", + "virus" + ] + }, + { + "value": "square-xmark", + "keywords": [ + "square", + "xmark" + ] + }, + { + "value": "staff-snake", + "keywords": [ + "staff", + "snake" + ] + }, + { + "value": "stairs" + }, + { + "value": "stamp" + }, + { + "value": "stapler" + }, + { + "value": "star" + }, + { + "value": "star-and-crescent", + "keywords": [ + "star", + "and", + "crescent" + ] + }, + { + "value": "star-half", + "keywords": [ + "star", + "half" + ] + }, + { + "value": "star-half-stroke", + "keywords": [ + "star", + "half", + "stroke" + ] + }, + { + "value": "star-of-david", + "keywords": [ + "star", + "of", + "david" + ] + }, + { + "value": "star-of-life", + "keywords": [ + "star", + "of", + "life" + ] + }, + { + "value": "sterling-sign", + "keywords": [ + "sterling", + "sign" + ] + }, + { + "value": "stethoscope" + }, + { + "value": "stop" + }, + { + "value": "stopwatch" + }, + { + "value": "stopwatch-20", + "keywords": [ + "stopwatch", + "20" + ] + }, + { + "value": "store" + }, + { + "value": "store-slash", + "keywords": [ + "store", + "slash" + ] + }, + { + "value": "street-view", + "keywords": [ + "street", + "view" + ] + }, + { + "value": "strikethrough" + }, + { + "value": "stroopwafel" + }, + { + "value": "subscript" + }, + { + "value": "suitcase" + }, + { + "value": "suitcase-medical", + "keywords": [ + "suitcase", + "medical" + ] + }, + { + "value": "suitcase-rolling", + "keywords": [ + "suitcase", + "rolling" + ] + }, + { + "value": "sun" + }, + { + "value": "sun-plant-wilt", + "keywords": [ + "sun", + "plant", + "wilt" + ] + }, + { + "value": "superscript" + }, + { + "value": "swatchbook" + }, + { + "value": "synagogue" + }, + { + "value": "syringe" + }, + { + "value": "t" + }, + { + "value": "table" + }, + { + "value": "table-cells", + "keywords": [ + "table", + "cells" + ] + }, + { + "value": "table-cells-large", + "keywords": [ + "table", + "cells", + "large" + ] + }, + { + "value": "table-columns", + "keywords": [ + "table", + "columns" + ] + }, + { + "value": "table-list", + "keywords": [ + "table", + "list" + ] + }, + { + "value": "table-tennis-paddle-ball", + "keywords": [ + "table", + "tennis", + "paddle", + "ball" + ] + }, + { + "value": "tablet" + }, + { + "value": "tablet-button", + "keywords": [ + "tablet", + "button" + ] + }, + { + "value": "tablet-screen-button", + "keywords": [ + "tablet", + "screen", + "button" + ] + }, + { + "value": "tablets" + }, + { + "value": "tachograph-digital", + "keywords": [ + "tachograph", + "digital" + ] + }, + { + "value": "tag" + }, + { + "value": "tags" + }, + { + "value": "tape" + }, + { + "value": "tarp" + }, + { + "value": "tarp-droplet", + "keywords": [ + "tarp", + "droplet" + ] + }, + { + "value": "taxi" + }, + { + "value": "teeth" + }, + { + "value": "teeth-open", + "keywords": [ + "teeth", + "open" + ] + }, + { + "value": "temperature-arrow-down", + "keywords": [ + "temperature", + "arrow", + "down" + ] + }, + { + "value": "temperature-arrow-up", + "keywords": [ + "temperature", + "arrow", + "up" + ] + }, + { + "value": "temperature-empty", + "keywords": [ + "temperature", + "empty" + ] + }, + { + "value": "temperature-full", + "keywords": [ + "temperature", + "full" + ] + }, + { + "value": "temperature-half", + "keywords": [ + "temperature", + "half" + ] + }, + { + "value": "temperature-high", + "keywords": [ + "temperature", + "high" + ] + }, + { + "value": "temperature-low", + "keywords": [ + "temperature", + "low" + ] + }, + { + "value": "temperature-quarter", + "keywords": [ + "temperature", + "quarter" + ] + }, + { + "value": "temperature-three-quarters", + "keywords": [ + "temperature", + "three", + "quarters" + ] + }, + { + "value": "tenge-sign", + "keywords": [ + "tenge", + "sign" + ] + }, + { + "value": "tent" + }, + { + "value": "tent-arrow-down-to-line", + "keywords": [ + "tent", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "tent-arrow-left-right", + "keywords": [ + "tent", + "arrow", + "left", + "right" + ] + }, + { + "value": "tent-arrow-turn-left", + "keywords": [ + "tent", + "arrow", + "turn", + "left" + ] + }, + { + "value": "tent-arrows-down", + "keywords": [ + "tent", + "arrows", + "down" + ] + }, + { + "value": "tents" + }, + { + "value": "terminal" + }, + { + "value": "text-height", + "keywords": [ + "text", + "height" + ] + }, + { + "value": "text-slash", + "keywords": [ + "text", + "slash" + ] + }, + { + "value": "text-width", + "keywords": [ + "text", + "width" + ] + }, + { + "value": "thermometer" + }, + { + "value": "thumbs-down", + "keywords": [ + "thumbs", + "down" + ] + }, + { + "value": "thumbs-up", + "keywords": [ + "thumbs", + "up" + ] + }, + { + "value": "thumbtack" + }, + { + "value": "ticket" + }, + { + "value": "ticket-simple", + "keywords": [ + "ticket", + "simple" + ] + }, + { + "value": "timeline" + }, + { + "value": "toggle-off", + "keywords": [ + "toggle", + "off" + ] + }, + { + "value": "toggle-on", + "keywords": [ + "toggle", + "on" + ] + }, + { + "value": "toilet" + }, + { + "value": "toilet-paper", + "keywords": [ + "toilet", + "paper" + ] + }, + { + "value": "toilet-paper-slash", + "keywords": [ + "toilet", + "paper", + "slash" + ] + }, + { + "value": "toilet-portable", + "keywords": [ + "toilet", + "portable" + ] + }, + { + "value": "toilets-portable", + "keywords": [ + "toilets", + "portable" + ] + }, + { + "value": "toolbox" + }, + { + "value": "tooth" + }, + { + "value": "torii-gate", + "keywords": [ + "torii", + "gate" + ] + }, + { + "value": "tornado" + }, + { + "value": "tower-broadcast", + "keywords": [ + "tower", + "broadcast" + ] + }, + { + "value": "tower-cell", + "keywords": [ + "tower", + "cell" + ] + }, + { + "value": "tower-observation", + "keywords": [ + "tower", + "observation" + ] + }, + { + "value": "tractor" + }, + { + "value": "trademark" + }, + { + "value": "traffic-light", + "keywords": [ + "traffic", + "light" + ] + }, + { + "value": "trailer" + }, + { + "value": "train" + }, + { + "value": "train-subway", + "keywords": [ + "train", + "subway" + ] + }, + { + "value": "train-tram", + "keywords": [ + "train", + "tram" + ] + }, + { + "value": "transgender" + }, + { + "value": "trash" + }, + { + "value": "trash-arrow-up", + "keywords": [ + "trash", + "arrow", + "up" + ] + }, + { + "value": "trash-can", + "keywords": [ + "trash", + "can" + ] + }, + { + "value": "trash-can-arrow-up", + "keywords": [ + "trash", + "can", + "arrow", + "up" + ] + }, + { + "value": "tree" + }, + { + "value": "tree-city", + "keywords": [ + "tree", + "city" + ] + }, + { + "value": "triangle-exclamation", + "keywords": [ + "triangle", + "exclamation" + ] + }, + { + "value": "trophy" + }, + { + "value": "trowel" + }, + { + "value": "trowel-bricks", + "keywords": [ + "trowel", + "bricks" + ] + }, + { + "value": "truck" + }, + { + "value": "truck-arrow-right", + "keywords": [ + "truck", + "arrow", + "right" + ] + }, + { + "value": "truck-droplet", + "keywords": [ + "truck", + "droplet" + ] + }, + { + "value": "truck-fast", + "keywords": [ + "truck", + "fast" + ] + }, + { + "value": "truck-field", + "keywords": [ + "truck", + "field" + ] + }, + { + "value": "truck-field-un", + "keywords": [ + "truck", + "field", + "un" + ] + }, + { + "value": "truck-front", + "keywords": [ + "truck", + "front" + ] + }, + { + "value": "truck-medical", + "keywords": [ + "truck", + "medical" + ] + }, + { + "value": "truck-monster", + "keywords": [ + "truck", + "monster" + ] + }, + { + "value": "truck-moving", + "keywords": [ + "truck", + "moving" + ] + }, + { + "value": "truck-pickup", + "keywords": [ + "truck", + "pickup" + ] + }, + { + "value": "truck-plane", + "keywords": [ + "truck", + "plane" + ] + }, + { + "value": "truck-ramp-box", + "keywords": [ + "truck", + "ramp", + "box" + ] + }, + { + "value": "tty" + }, + { + "value": "turkish-lira-sign", + "keywords": [ + "turkish", + "lira", + "sign" + ] + }, + { + "value": "turn-down", + "keywords": [ + "turn", + "down" + ] + }, + { + "value": "turn-up", + "keywords": [ + "turn", + "up" + ] + }, + { + "value": "tv" + }, + { + "value": "u" + }, + { + "value": "umbrella" + }, + { + "value": "umbrella-beach", + "keywords": [ + "umbrella", + "beach" + ] + }, + { + "value": "underline" + }, + { + "value": "universal-access", + "keywords": [ + "universal", + "access" + ] + }, + { + "value": "unlock" + }, + { + "value": "unlock-keyhole", + "keywords": [ + "unlock", + "keyhole" + ] + }, + { + "value": "up-down", + "keywords": [ + "up", + "down" + ] + }, + { + "value": "up-down-left-right", + "keywords": [ + "up", + "down", + "left", + "right" + ] + }, + { + "value": "up-long", + "keywords": [ + "up", + "long" + ] + }, + { + "value": "up-right-and-down-left-from-center", + "keywords": [ + "up", + "right", + "and", + "down", + "left", + "from", + "center" + ] + }, + { + "value": "up-right-from-square", + "keywords": [ + "up", + "right", + "from", + "square" + ] + }, + { + "value": "upload" + }, + { + "value": "user" + }, + { + "value": "user-astronaut", + "keywords": [ + "user", + "astronaut" + ] + }, + { + "value": "user-check", + "keywords": [ + "user", + "check" + ] + }, + { + "value": "user-clock", + "keywords": [ + "user", + "clock" + ] + }, + { + "value": "user-doctor", + "keywords": [ + "user", + "doctor" + ] + }, + { + "value": "user-gear", + "keywords": [ + "user", + "gear" + ] + }, + { + "value": "user-graduate", + "keywords": [ + "user", + "graduate" + ] + }, + { + "value": "user-group", + "keywords": [ + "user", + "group" + ] + }, + { + "value": "user-injured", + "keywords": [ + "user", + "injured" + ] + }, + { + "value": "user-large", + "keywords": [ + "user", + "large" + ] + }, + { + "value": "user-large-slash", + "keywords": [ + "user", + "large", + "slash" + ] + }, + { + "value": "user-lock", + "keywords": [ + "user", + "lock" + ] + }, + { + "value": "user-minus", + "keywords": [ + "user", + "minus" + ] + }, + { + "value": "user-ninja", + "keywords": [ + "user", + "ninja" + ] + }, + { + "value": "user-nurse", + "keywords": [ + "user", + "nurse" + ] + }, + { + "value": "user-pen", + "keywords": [ + "user", + "pen" + ] + }, + { + "value": "user-plus", + "keywords": [ + "user", + "plus" + ] + }, + { + "value": "user-secret", + "keywords": [ + "user", + "secret" + ] + }, + { + "value": "user-shield", + "keywords": [ + "user", + "shield" + ] + }, + { + "value": "user-slash", + "keywords": [ + "user", + "slash" + ] + }, + { + "value": "user-tag", + "keywords": [ + "user", + "tag" + ] + }, + { + "value": "user-tie", + "keywords": [ + "user", + "tie" + ] + }, + { + "value": "user-xmark", + "keywords": [ + "user", + "xmark" + ] + }, + { + "value": "users" + }, + { + "value": "users-between-lines", + "keywords": [ + "users", + "between", + "lines" + ] + }, + { + "value": "users-gear", + "keywords": [ + "users", + "gear" + ] + }, + { + "value": "users-line", + "keywords": [ + "users", + "line" + ] + }, + { + "value": "users-rays", + "keywords": [ + "users", + "rays" + ] + }, + { + "value": "users-rectangle", + "keywords": [ + "users", + "rectangle" + ] + }, + { + "value": "users-slash", + "keywords": [ + "users", + "slash" + ] + }, + { + "value": "users-viewfinder", + "keywords": [ + "users", + "viewfinder" + ] + }, + { + "value": "utensils" + }, + { + "value": "v" + }, + { + "value": "van-shuttle", + "keywords": [ + "van", + "shuttle" + ] + }, + { + "value": "vault" + }, + { + "value": "vector-square", + "keywords": [ + "vector", + "square" + ] + }, + { + "value": "venus" + }, + { + "value": "venus-double", + "keywords": [ + "venus", + "double" + ] + }, + { + "value": "venus-mars", + "keywords": [ + "venus", + "mars" + ] + }, + { + "value": "vest" + }, + { + "value": "vest-patches", + "keywords": [ + "vest", + "patches" + ] + }, + { + "value": "vial" + }, + { + "value": "vial-circle-check", + "keywords": [ + "vial", + "circle", + "check" + ] + }, + { + "value": "vial-virus", + "keywords": [ + "vial", + "virus" + ] + }, + { + "value": "vials" + }, + { + "value": "video" + }, + { + "value": "video-slash", + "keywords": [ + "video", + "slash" + ] + }, + { + "value": "vihara" + }, + { + "value": "virus" + }, + { + "value": "virus-covid", + "keywords": [ + "virus", + "covid" + ] + }, + { + "value": "virus-covid-slash", + "keywords": [ + "virus", + "covid", + "slash" + ] + }, + { + "value": "virus-slash", + "keywords": [ + "virus", + "slash" + ] + }, + { + "value": "viruses" + }, + { + "value": "voicemail" + }, + { + "value": "volcano" + }, + { + "value": "volleyball" + }, + { + "value": "volume-high", + "keywords": [ + "volume", + "high" + ] + }, + { + "value": "volume-low", + "keywords": [ + "volume", + "low" + ] + }, + { + "value": "volume-off", + "keywords": [ + "volume", + "off" + ] + }, + { + "value": "volume-xmark", + "keywords": [ + "volume", + "xmark" + ] + }, + { + "value": "vr-cardboard", + "keywords": [ + "vr", + "cardboard" + ] + }, + { + "value": "w" + }, + { + "value": "walkie-talkie", + "keywords": [ + "walkie", + "talkie" + ] + }, + { + "value": "wallet" + }, + { + "value": "wand-magic", + "keywords": [ + "wand", + "magic" + ] + }, + { + "value": "wand-magic-sparkles", + "keywords": [ + "wand", + "magic", + "sparkles" + ] + }, + { + "value": "wand-sparkles", + "keywords": [ + "wand", + "sparkles" + ] + }, + { + "value": "warehouse" + }, + { + "value": "water" + }, + { + "value": "water-ladder", + "keywords": [ + "water", + "ladder" + ] + }, + { + "value": "wave-square", + "keywords": [ + "wave", + "square" + ] + }, + { + "value": "weight-hanging", + "keywords": [ + "weight", + "hanging" + ] + }, + { + "value": "weight-scale", + "keywords": [ + "weight", + "scale" + ] + }, + { + "value": "wheat-awn", + "keywords": [ + "wheat", + "awn" + ] + }, + { + "value": "wheat-awn-circle-exclamation", + "keywords": [ + "wheat", + "awn", + "circle", + "exclamation" + ] + }, + { + "value": "wheelchair" + }, + { + "value": "wheelchair-move", + "keywords": [ + "wheelchair", + "move" + ] + }, + { + "value": "whiskey-glass", + "keywords": [ + "whiskey", + "glass" + ] + }, + { + "value": "wifi" + }, + { + "value": "wind" + }, + { + "value": "window-maximize", + "keywords": [ + "window", + "maximize" + ] + }, + { + "value": "window-minimize", + "keywords": [ + "window", + "minimize" + ] + }, + { + "value": "window-restore", + "keywords": [ + "window", + "restore" + ] + }, + { + "value": "wine-bottle", + "keywords": [ + "wine", + "bottle" + ] + }, + { + "value": "wine-glass", + "keywords": [ + "wine", + "glass" + ] + }, + { + "value": "wine-glass-empty", + "keywords": [ + "wine", + "glass", + "empty" + ] + }, + { + "value": "won-sign", + "keywords": [ + "won", + "sign" + ] + }, + { + "value": "worm" + }, + { + "value": "wrench" + }, + { + "value": "x" + }, + { + "value": "x-ray" + }, + { + "value": "xmark" + }, + { + "value": "xmarks-lines", + "keywords": [ + "xmarks", + "lines" + ] + }, + { + "value": "y" + }, + { + "value": "yen-sign", + "keywords": [ + "yen", + "sign" + ] + }, + { + "value": "yin-yang", + "keywords": [ + "yin", + "yang" + ] + }, + { + "value": "z" + } + ] + }, + "imgSrc": { + "label": "$t:editor.control.img_src.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "src" + } + }, + "imgAlt": { + "label": "$t:editor.control.img_alt.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "alt" + } + }, + "linkHref": { + "label": "$t:editor.control.link_href.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "href" + } + }, + "linkTarget": { + "label": "$t:editor.control.link_target.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "target" + }, + "options": [ + { + "value": "_self", + "label": "$t:editor.control.link_target.self" + }, + { + "value": "_blank", + "label": "$t:editor.control.link_target.blank" + }, + { + "value": "_parent", + "label": "$t:editor.control.link_target.parent" + }, + { + "value": "_top", + "label": "$t:editor.control.link_target.top" + } + ] + }, + "inputType": { + "label": "$t:editor.control.input_type.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "type" + }, + "options": [ + { + "value": "text", + "label": "$t:editor.control.input_type.text" + }, + { + "value": "email", + "label": "$t:editor.control.input_type.email" + }, + { + "value": "password", + "label": "$t:editor.control.input_type.password" + }, + { + "value": "number", + "label": "$t:editor.control.input_type.number" + }, + { + "value": "tel", + "label": "$t:editor.control.input_type.tel" + }, + { + "value": "url", + "label": "$t:editor.control.input_type.url" + }, + { + "value": "date", + "label": "$t:editor.control.input_type.date" + }, + { + "value": "search", + "label": "$t:editor.control.input_type.search" + } + ] + }, + "inputPlaceholder": { + "label": "$t:editor.control.input_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "inputName": { + "label": "$t:editor.control.input_name.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "name" + } + }, + "inputRequired": { + "label": "$t:editor.control.input_required.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "required" + } + }, + "inputDisabled": { + "label": "$t:editor.control.input_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "fieldLabel": { + "label": "$t:editor.control.field_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "fieldError": { + "label": "$t:editor.control.field_error.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "error" + } + }, + "fieldHelper": { + "label": "$t:editor.control.field_helper.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "helperText" + } + }, + "htmlFor": { + "label": "$t:editor.control.html_for.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "htmlFor" + } + }, + "textareaRows": { + "label": "$t:editor.control.textarea_rows.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "rows" + } + }, + "selectPlaceholder": { + "label": "$t:editor.control.select_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "selectOptions": { + "label": "$t:editor.control.select_options.label", + "widget": "options-list", + "apply": { + "type": "propValue", + "propKey": "options" + } + }, + "componentSize": { + "label": "$t:editor.control.component_size.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "size" + }, + "options": [ + { + "value": "sm", + "label": "$t:editor.control.component_size.sm" + }, + { + "value": "md", + "label": "$t:editor.control.component_size.md" + }, + { + "value": "lg", + "label": "$t:editor.control.component_size.lg" + } + ] + }, + "buttonVariant": { + "label": "$t:editor.control.button_variant.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "variant" + }, + "options": [ + { + "value": "primary", + "label": "$t:editor.control.button_variant.primary" + }, + { + "value": "secondary", + "label": "$t:editor.control.button_variant.secondary" + }, + { + "value": "danger", + "label": "$t:editor.control.button_variant.danger" + }, + { + "value": "success", + "label": "$t:editor.control.button_variant.success" + } + ] + }, + "componentDisabled": { + "label": "$t:editor.control.component_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "iconStyle": { + "label": "$t:editor.control.icon_style.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "iconStyle" + }, + "options": [ + { + "value": "solid", + "label": "$t:editor.control.icon_style.solid" + }, + { + "value": "regular", + "label": "$t:editor.control.icon_style.regular" + }, + { + "value": "light", + "label": "$t:editor.control.icon_style.light" + }, + { + "value": "duotone", + "label": "$t:editor.control.icon_style.duotone" + }, + { + "value": "brands", + "label": "$t:editor.control.icon_style.brands" + } + ] + }, + "iconSize": { + "label": "$t:editor.control.icon_size.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "size" + }, + "options": [ + { + "value": "xs", + "label": "$t:editor.control.icon_size.xs" + }, + { + "value": "sm", + "label": "$t:editor.control.icon_size.sm" + }, + { + "value": "lg", + "label": "$t:editor.control.icon_size.lg" + }, + { + "value": "xl", + "label": "$t:editor.control.icon_size.xl" + }, + { + "value": "2x", + "label": "$t:editor.control.icon_size.2x" + }, + { + "value": "3x", + "label": "$t:editor.control.icon_size.3x" + } + ] + }, + "iconColor": { + "label": "$t:editor.control.icon_color.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "color" + } + }, + "iconSpin": { + "label": "$t:editor.control.icon_spin.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "spin" + } + }, + "iconPulse": { + "label": "$t:editor.control.icon_pulse.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "pulse" + } + }, + "iconFixedWidth": { + "label": "$t:editor.control.icon_fixed_width.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "fixedWidth" + } + }, + "iconAria": { + "label": "$t:editor.control.icon_aria.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "ariaLabel" + } + }, + "gridCols": { + "label": "$t:editor.control.grid_cols.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "cols" + } + }, + "gridGap": { + "label": "$t:editor.control.grid_gap.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "gap" + } + }, + "gridRowGap": { + "label": "$t:editor.control.grid_row_gap.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "rowGap" + } + }, + "gridColGap": { + "label": "$t:editor.control.grid_col_gap.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "colGap" + } + }, + "gridAutoRows": { + "label": "$t:editor.control.grid_auto_rows.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "autoRows" + }, + "options": [ + { + "value": "auto", + "label": "$t:editor.control.grid_auto_rows.auto" + }, + { + "value": "min", + "label": "$t:editor.control.grid_auto_rows.min" + }, + { + "value": "max", + "label": "$t:editor.control.grid_auto_rows.max" + }, + { + "value": "fr", + "label": "$t:editor.control.grid_auto_rows.fr" + } + ] + }, + "gridAutoCols": { + "label": "$t:editor.control.grid_auto_cols.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "autoCols" + }, + "options": [ + { + "value": "auto", + "label": "$t:editor.control.grid_auto_cols.auto" + }, + { + "value": "min", + "label": "$t:editor.control.grid_auto_cols.min" + }, + { + "value": "max", + "label": "$t:editor.control.grid_auto_cols.max" + }, + { + "value": "fr", + "label": "$t:editor.control.grid_auto_cols.fr" + } + ] + }, + "gridFlow": { + "label": "$t:editor.control.grid_flow.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "flow" + }, + "options": [ + { + "value": "row", + "label": "$t:editor.control.grid_flow.row" + }, + { + "value": "col", + "label": "$t:editor.control.grid_flow.col" + }, + { + "value": "dense", + "label": "$t:editor.control.grid_flow.dense" + }, + { + "value": "row-dense", + "label": "$t:editor.control.grid_flow.row-dense" + }, + { + "value": "col-dense", + "label": "$t:editor.control.grid_flow.col-dense" + } + ] + }, + "secTitle": { + "label": "$t:editor.control.sec_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "title" + } + }, + "secSubtitle": { + "label": "$t:editor.control.sec_subtitle.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "subtitle" + } + }, + "secPadding": { + "label": "$t:editor.control.sec_padding.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "padding" + }, + "options": [ + { + "value": "none", + "label": "$t:editor.control.sec_padding.none" + }, + { + "value": "sm", + "label": "$t:editor.control.sec_padding.sm" + }, + { + "value": "md", + "label": "$t:editor.control.sec_padding.md" + }, + { + "value": "lg", + "label": "$t:editor.control.sec_padding.lg" + }, + { + "value": "xl", + "label": "$t:editor.control.sec_padding.xl" + } + ] + }, + "secBackground": { + "label": "$t:editor.control.sec_background.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "background" + }, + "options": [ + { + "value": "none", + "label": "$t:editor.control.sec_background.none" + }, + { + "value": "white", + "label": "$t:editor.control.sec_background.white" + }, + { + "value": "gray", + "label": "$t:editor.control.sec_background.gray" + }, + { + "value": "primary", + "label": "$t:editor.control.sec_background.primary" + }, + { + "value": "secondary", + "label": "$t:editor.control.sec_background.secondary" + } + ] + }, + "secMaxWidth": { + "label": "$t:editor.control.sec_max_width.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "maxWidth" + }, + "options": [ + { + "value": "sm", + "label": "$t:editor.control.sec_max_width.sm" + }, + { + "value": "md", + "label": "$t:editor.control.sec_max_width.md" + }, + { + "value": "lg", + "label": "$t:editor.control.sec_max_width.lg" + }, + { + "value": "xl", + "label": "$t:editor.control.sec_max_width.xl" + }, + { + "value": "2xl", + "label": "$t:editor.control.sec_max_width.2xl" + }, + { + "value": "4xl", + "label": "$t:editor.control.sec_max_width.4xl" + }, + { + "value": "6xl", + "label": "$t:editor.control.sec_max_width.6xl" + }, + { + "value": "7xl", + "label": "$t:editor.control.sec_max_width.7xl" + }, + { + "value": "full", + "label": "$t:editor.control.sec_max_width.full" + } + ] + }, + "secCentered": { + "label": "$t:editor.control.sec_centered.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "centered" + } + }, + "secBorder": { + "label": "$t:editor.control.sec_border.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "border" + } + }, + "secShadow": { + "label": "$t:editor.control.sec_shadow.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "shadow" + }, + "options": [ + { + "value": "none", + "label": "$t:editor.control.sec_shadow.none" + }, + { + "value": "sm", + "label": "$t:editor.control.sec_shadow.sm" + }, + { + "value": "md", + "label": "$t:editor.control.sec_shadow.md" + }, + { + "value": "lg", + "label": "$t:editor.control.sec_shadow.lg" + }, + { + "value": "xl", + "label": "$t:editor.control.sec_shadow.xl" + } + ] + }, + "secRounded": { + "label": "$t:editor.control.sec_rounded.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "rounded" + } + }, + "cardTitle": { + "label": "$t:editor.control.card_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "title" + } + }, + "cardContent": { + "label": "$t:editor.control.card_content.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "content" + } + }, + "cardImageUrl": { + "label": "$t:editor.control.card_image_url.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "imageUrl" + } + }, + "cardImageAlt": { + "label": "$t:editor.control.card_image_alt.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "imageAlt" + } + }, + "badgeColor": { + "label": "$t:editor.control.badge_color.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "color" + }, + "options": [ + { + "value": "blue", + "label": "$t:editor.control.badge_color.blue" + }, + { + "value": "green", + "label": "$t:editor.control.badge_color.green" + }, + { + "value": "red", + "label": "$t:editor.control.badge_color.red" + }, + { + "value": "gray", + "label": "$t:editor.control.badge_color.gray" + }, + { + "value": "yellow", + "label": "$t:editor.control.badge_color.yellow" + }, + { + "value": "purple", + "label": "$t:editor.control.badge_color.purple" + }, + { + "value": "orange", + "label": "$t:editor.control.badge_color.orange" + }, + { + "value": "teal", + "label": "$t:editor.control.badge_color.teal" + }, + { + "value": "cyan", + "label": "$t:editor.control.badge_color.cyan" + } + ] + }, + "badgeText": { + "label": "$t:editor.control.badge_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "text" + } + }, + "badgeSize": { + "label": "$t:editor.control.badge_size.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "size" + }, + "options": [ + { + "value": "sm", + "label": "$t:editor.control.badge_size.sm" + }, + { + "value": "md", + "label": "$t:editor.control.badge_size.md" + }, + { + "value": "lg", + "label": "$t:editor.control.badge_size.lg" + } + ] + }, + "sbStatus": { + "label": "$t:editor.control.sb_status.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "status" + }, + "options": [ + { + "value": "success", + "label": "$t:editor.control.sb_status.success" + }, + { + "value": "warning", + "label": "$t:editor.control.sb_status.warning" + }, + { + "value": "error", + "label": "$t:editor.control.sb_status.error" + }, + { + "value": "info", + "label": "$t:editor.control.sb_status.info" + }, + { + "value": "pending", + "label": "$t:editor.control.sb_status.pending" + }, + { + "value": "default", + "label": "$t:editor.control.sb_status.default" + } + ] + }, + "sbLabel": { + "label": "$t:editor.control.sb_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "sbShowIcon": { + "label": "$t:editor.control.sb_show_icon.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showIcon" + } + }, + "sbIconName": { + "label": "$t:editor.control.sb_icon_name.label", + "widget": "icon-picker", + "apply": { + "type": "propValue", + "propKey": "iconName" + }, + "iconColumns": 8, + "icons": [ + { + "value": "0" + }, + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + }, + { + "value": "4" + }, + { + "value": "5" + }, + { + "value": "6" + }, + { + "value": "7" + }, + { + "value": "8" + }, + { + "value": "9" + }, + { + "value": "a" + }, + { + "value": "address-book", + "keywords": [ + "address", + "book" + ] + }, + { + "value": "address-card", + "keywords": [ + "address", + "card" + ] + }, + { + "value": "align-center", + "keywords": [ + "align", + "center" + ] + }, + { + "value": "align-justify", + "keywords": [ + "align", + "justify" + ] + }, + { + "value": "align-left", + "keywords": [ + "align", + "left" + ] + }, + { + "value": "align-right", + "keywords": [ + "align", + "right" + ] + }, + { + "value": "anchor" + }, + { + "value": "anchor-circle-check", + "keywords": [ + "anchor", + "circle", + "check" + ] + }, + { + "value": "anchor-circle-exclamation", + "keywords": [ + "anchor", + "circle", + "exclamation" + ] + }, + { + "value": "anchor-circle-xmark", + "keywords": [ + "anchor", + "circle", + "xmark" + ] + }, + { + "value": "anchor-lock", + "keywords": [ + "anchor", + "lock" + ] + }, + { + "value": "angle-down", + "keywords": [ + "angle", + "down" + ] + }, + { + "value": "angle-left", + "keywords": [ + "angle", + "left" + ] + }, + { + "value": "angle-right", + "keywords": [ + "angle", + "right" + ] + }, + { + "value": "angle-up", + "keywords": [ + "angle", + "up" + ] + }, + { + "value": "angles-down", + "keywords": [ + "angles", + "down" + ] + }, + { + "value": "angles-left", + "keywords": [ + "angles", + "left" + ] + }, + { + "value": "angles-right", + "keywords": [ + "angles", + "right" + ] + }, + { + "value": "angles-up", + "keywords": [ + "angles", + "up" + ] + }, + { + "value": "ankh" + }, + { + "value": "apple-whole", + "keywords": [ + "apple", + "whole" + ] + }, + { + "value": "archway" + }, + { + "value": "arrow-down", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-1-9", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-9-1", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-a-z", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-long", + "keywords": [ + "arrow", + "down", + "long" + ] + }, + { + "value": "arrow-down-short-wide", + "keywords": [ + "arrow", + "down", + "short", + "wide" + ] + }, + { + "value": "arrow-down-up-across-line", + "keywords": [ + "arrow", + "down", + "up", + "across", + "line" + ] + }, + { + "value": "arrow-down-up-lock", + "keywords": [ + "arrow", + "down", + "up", + "lock" + ] + }, + { + "value": "arrow-down-wide-short", + "keywords": [ + "arrow", + "down", + "wide", + "short" + ] + }, + { + "value": "arrow-down-z-a", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-left", + "keywords": [ + "arrow", + "left" + ] + }, + { + "value": "arrow-left-long", + "keywords": [ + "arrow", + "left", + "long" + ] + }, + { + "value": "arrow-pointer", + "keywords": [ + "arrow", + "pointer" + ] + }, + { + "value": "arrow-right", + "keywords": [ + "arrow", + "right" + ] + }, + { + "value": "arrow-right-arrow-left", + "keywords": [ + "arrow", + "right", + "arrow", + "left" + ] + }, + { + "value": "arrow-right-from-bracket", + "keywords": [ + "arrow", + "right", + "from", + "bracket" + ] + }, + { + "value": "arrow-right-long", + "keywords": [ + "arrow", + "right", + "long" + ] + }, + { + "value": "arrow-right-to-bracket", + "keywords": [ + "arrow", + "right", + "to", + "bracket" + ] + }, + { + "value": "arrow-right-to-city", + "keywords": [ + "arrow", + "right", + "to", + "city" + ] + }, + { + "value": "arrow-rotate-left", + "keywords": [ + "arrow", + "rotate", + "left" + ] + }, + { + "value": "arrow-rotate-right", + "keywords": [ + "arrow", + "rotate", + "right" + ] + }, + { + "value": "arrow-trend-down", + "keywords": [ + "arrow", + "trend", + "down" + ] + }, + { + "value": "arrow-trend-up", + "keywords": [ + "arrow", + "trend", + "up" + ] + }, + { + "value": "arrow-turn-down", + "keywords": [ + "arrow", + "turn", + "down" + ] + }, + { + "value": "arrow-turn-up", + "keywords": [ + "arrow", + "turn", + "up" + ] + }, + { + "value": "arrow-up", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-1-9", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-9-1", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-a-z", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-from-bracket", + "keywords": [ + "arrow", + "up", + "from", + "bracket" + ] + }, + { + "value": "arrow-up-from-ground-water", + "keywords": [ + "arrow", + "up", + "from", + "ground", + "water" + ] + }, + { + "value": "arrow-up-from-water-pump", + "keywords": [ + "arrow", + "up", + "from", + "water", + "pump" + ] + }, + { + "value": "arrow-up-long", + "keywords": [ + "arrow", + "up", + "long" + ] + }, + { + "value": "arrow-up-right-dots", + "keywords": [ + "arrow", + "up", + "right", + "dots" + ] + }, + { + "value": "arrow-up-right-from-square", + "keywords": [ + "arrow", + "up", + "right", + "from", + "square" + ] + }, + { + "value": "arrow-up-short-wide", + "keywords": [ + "arrow", + "up", + "short", + "wide" + ] + }, + { + "value": "arrow-up-wide-short", + "keywords": [ + "arrow", + "up", + "wide", + "short" + ] + }, + { + "value": "arrow-up-z-a", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrows-down-to-line", + "keywords": [ + "arrows", + "down", + "to", + "line" + ] + }, + { + "value": "arrows-down-to-people", + "keywords": [ + "arrows", + "down", + "to", + "people" + ] + }, + { + "value": "arrows-left-right", + "keywords": [ + "arrows", + "left", + "right" + ] + }, + { + "value": "arrows-left-right-to-line", + "keywords": [ + "arrows", + "left", + "right", + "to", + "line" + ] + }, + { + "value": "arrows-rotate", + "keywords": [ + "arrows", + "rotate" + ] + }, + { + "value": "arrows-spin", + "keywords": [ + "arrows", + "spin" + ] + }, + { + "value": "arrows-split-up-and-left", + "keywords": [ + "arrows", + "split", + "up", + "and", + "left" + ] + }, + { + "value": "arrows-to-circle", + "keywords": [ + "arrows", + "to", + "circle" + ] + }, + { + "value": "arrows-to-dot", + "keywords": [ + "arrows", + "to", + "dot" + ] + }, + { + "value": "arrows-to-eye", + "keywords": [ + "arrows", + "to", + "eye" + ] + }, + { + "value": "arrows-turn-right", + "keywords": [ + "arrows", + "turn", + "right" + ] + }, + { + "value": "arrows-turn-to-dots", + "keywords": [ + "arrows", + "turn", + "to", + "dots" + ] + }, + { + "value": "arrows-up-down", + "keywords": [ + "arrows", + "up", + "down" + ] + }, + { + "value": "arrows-up-down-left-right", + "keywords": [ + "arrows", + "up", + "down", + "left", + "right" + ] + }, + { + "value": "arrows-up-to-line", + "keywords": [ + "arrows", + "up", + "to", + "line" + ] + }, + { + "value": "asterisk" + }, + { + "value": "at" + }, + { + "value": "atom" + }, + { + "value": "audio-description", + "keywords": [ + "audio", + "description" + ] + }, + { + "value": "austral-sign", + "keywords": [ + "austral", + "sign" + ] + }, + { + "value": "award" + }, + { + "value": "b" + }, + { + "value": "baby" + }, + { + "value": "baby-carriage", + "keywords": [ + "baby", + "carriage" + ] + }, + { + "value": "backward" + }, + { + "value": "backward-fast", + "keywords": [ + "backward", + "fast" + ] + }, + { + "value": "backward-step", + "keywords": [ + "backward", + "step" + ] + }, + { + "value": "bacon" + }, + { + "value": "bacteria" + }, + { + "value": "bacterium" + }, + { + "value": "bag-shopping", + "keywords": [ + "bag", + "shopping" + ] + }, + { + "value": "bahai" + }, + { + "value": "baht-sign", + "keywords": [ + "baht", + "sign" + ] + }, + { + "value": "ban" + }, + { + "value": "ban-smoking", + "keywords": [ + "ban", + "smoking" + ] + }, + { + "value": "bandage" + }, + { + "value": "bangladeshi-taka-sign", + "keywords": [ + "bangladeshi", + "taka", + "sign" + ] + }, + { + "value": "barcode" + }, + { + "value": "bars" + }, + { + "value": "bars-progress", + "keywords": [ + "bars", + "progress" + ] + }, + { + "value": "bars-staggered", + "keywords": [ + "bars", + "staggered" + ] + }, + { + "value": "baseball" + }, + { + "value": "baseball-bat-ball", + "keywords": [ + "baseball", + "bat", + "ball" + ] + }, + { + "value": "basket-shopping", + "keywords": [ + "basket", + "shopping" + ] + }, + { + "value": "basketball" + }, + { + "value": "bath" + }, + { + "value": "battery-empty", + "keywords": [ + "battery", + "empty" + ] + }, + { + "value": "battery-full", + "keywords": [ + "battery", + "full" + ] + }, + { + "value": "battery-half", + "keywords": [ + "battery", + "half" + ] + }, + { + "value": "battery-quarter", + "keywords": [ + "battery", + "quarter" + ] + }, + { + "value": "battery-three-quarters", + "keywords": [ + "battery", + "three", + "quarters" + ] + }, + { + "value": "bed" + }, + { + "value": "bed-pulse", + "keywords": [ + "bed", + "pulse" + ] + }, + { + "value": "beer-mug-empty", + "keywords": [ + "beer", + "mug", + "empty" + ] + }, + { + "value": "bell" + }, + { + "value": "bell-concierge", + "keywords": [ + "bell", + "concierge" + ] + }, + { + "value": "bell-slash", + "keywords": [ + "bell", + "slash" + ] + }, + { + "value": "bezier-curve", + "keywords": [ + "bezier", + "curve" + ] + }, + { + "value": "bicycle" + }, + { + "value": "binoculars" + }, + { + "value": "biohazard" + }, + { + "value": "bitcoin-sign", + "keywords": [ + "bitcoin", + "sign" + ] + }, + { + "value": "blender" + }, + { + "value": "blender-phone", + "keywords": [ + "blender", + "phone" + ] + }, + { + "value": "blog" + }, + { + "value": "bold" + }, + { + "value": "bolt" + }, + { + "value": "bolt-lightning", + "keywords": [ + "bolt", + "lightning" + ] + }, + { + "value": "bomb" + }, + { + "value": "bone" + }, + { + "value": "bong" + }, + { + "value": "book" + }, + { + "value": "book-atlas", + "keywords": [ + "book", + "atlas" + ] + }, + { + "value": "book-bible", + "keywords": [ + "book", + "bible" + ] + }, + { + "value": "book-bookmark", + "keywords": [ + "book", + "bookmark" + ] + }, + { + "value": "book-journal-whills", + "keywords": [ + "book", + "journal", + "whills" + ] + }, + { + "value": "book-medical", + "keywords": [ + "book", + "medical" + ] + }, + { + "value": "book-open", + "keywords": [ + "book", + "open" + ] + }, + { + "value": "book-open-reader", + "keywords": [ + "book", + "open", + "reader" + ] + }, + { + "value": "book-quran", + "keywords": [ + "book", + "quran" + ] + }, + { + "value": "book-skull", + "keywords": [ + "book", + "skull" + ] + }, + { + "value": "book-tanakh", + "keywords": [ + "book", + "tanakh" + ] + }, + { + "value": "bookmark" + }, + { + "value": "border-all", + "keywords": [ + "border", + "all" + ] + }, + { + "value": "border-none", + "keywords": [ + "border", + "none" + ] + }, + { + "value": "border-top-left", + "keywords": [ + "border", + "top", + "left" + ] + }, + { + "value": "bore-hole", + "keywords": [ + "bore", + "hole" + ] + }, + { + "value": "bottle-droplet", + "keywords": [ + "bottle", + "droplet" + ] + }, + { + "value": "bottle-water", + "keywords": [ + "bottle", + "water" + ] + }, + { + "value": "bowl-food", + "keywords": [ + "bowl", + "food" + ] + }, + { + "value": "bowl-rice", + "keywords": [ + "bowl", + "rice" + ] + }, + { + "value": "bowling-ball", + "keywords": [ + "bowling", + "ball" + ] + }, + { + "value": "box" + }, + { + "value": "box-archive", + "keywords": [ + "box", + "archive" + ] + }, + { + "value": "box-open", + "keywords": [ + "box", + "open" + ] + }, + { + "value": "box-tissue", + "keywords": [ + "box", + "tissue" + ] + }, + { + "value": "boxes-packing", + "keywords": [ + "boxes", + "packing" + ] + }, + { + "value": "boxes-stacked", + "keywords": [ + "boxes", + "stacked" + ] + }, + { + "value": "braille" + }, + { + "value": "brain" + }, + { + "value": "brazilian-real-sign", + "keywords": [ + "brazilian", + "real", + "sign" + ] + }, + { + "value": "bread-slice", + "keywords": [ + "bread", + "slice" + ] + }, + { + "value": "bridge" + }, + { + "value": "bridge-circle-check", + "keywords": [ + "bridge", + "circle", + "check" + ] + }, + { + "value": "bridge-circle-exclamation", + "keywords": [ + "bridge", + "circle", + "exclamation" + ] + }, + { + "value": "bridge-circle-xmark", + "keywords": [ + "bridge", + "circle", + "xmark" + ] + }, + { + "value": "bridge-lock", + "keywords": [ + "bridge", + "lock" + ] + }, + { + "value": "bridge-water", + "keywords": [ + "bridge", + "water" + ] + }, + { + "value": "briefcase" + }, + { + "value": "briefcase-medical", + "keywords": [ + "briefcase", + "medical" + ] + }, + { + "value": "broom" + }, + { + "value": "broom-ball", + "keywords": [ + "broom", + "ball" + ] + }, + { + "value": "brush" + }, + { + "value": "bucket" + }, + { + "value": "bug" + }, + { + "value": "bug-slash", + "keywords": [ + "bug", + "slash" + ] + }, + { + "value": "bugs" + }, + { + "value": "building" + }, + { + "value": "building-circle-arrow-right", + "keywords": [ + "building", + "circle", + "arrow", + "right" + ] + }, + { + "value": "building-circle-check", + "keywords": [ + "building", + "circle", + "check" + ] + }, + { + "value": "building-circle-exclamation", + "keywords": [ + "building", + "circle", + "exclamation" + ] + }, + { + "value": "building-circle-xmark", + "keywords": [ + "building", + "circle", + "xmark" + ] + }, + { + "value": "building-columns", + "keywords": [ + "building", + "columns" + ] + }, + { + "value": "building-flag", + "keywords": [ + "building", + "flag" + ] + }, + { + "value": "building-lock", + "keywords": [ + "building", + "lock" + ] + }, + { + "value": "building-ngo", + "keywords": [ + "building", + "ngo" + ] + }, + { + "value": "building-shield", + "keywords": [ + "building", + "shield" + ] + }, + { + "value": "building-un", + "keywords": [ + "building", + "un" + ] + }, + { + "value": "building-user", + "keywords": [ + "building", + "user" + ] + }, + { + "value": "building-wheat", + "keywords": [ + "building", + "wheat" + ] + }, + { + "value": "bullhorn" + }, + { + "value": "bullseye" + }, + { + "value": "burger" + }, + { + "value": "burst" + }, + { + "value": "bus" + }, + { + "value": "bus-simple", + "keywords": [ + "bus", + "simple" + ] + }, + { + "value": "business-time", + "keywords": [ + "business", + "time" + ] + }, + { + "value": "c" + }, + { + "value": "cable-car", + "keywords": [ + "cable", + "car" + ] + }, + { + "value": "cake-candles", + "keywords": [ + "cake", + "candles" + ] + }, + { + "value": "calculator" + }, + { + "value": "calendar" + }, + { + "value": "calendar-check", + "keywords": [ + "calendar", + "check" + ] + }, + { + "value": "calendar-day", + "keywords": [ + "calendar", + "day" + ] + }, + { + "value": "calendar-days", + "keywords": [ + "calendar", + "days" + ] + }, + { + "value": "calendar-minus", + "keywords": [ + "calendar", + "minus" + ] + }, + { + "value": "calendar-plus", + "keywords": [ + "calendar", + "plus" + ] + }, + { + "value": "calendar-week", + "keywords": [ + "calendar", + "week" + ] + }, + { + "value": "calendar-xmark", + "keywords": [ + "calendar", + "xmark" + ] + }, + { + "value": "camera" + }, + { + "value": "camera-retro", + "keywords": [ + "camera", + "retro" + ] + }, + { + "value": "camera-rotate", + "keywords": [ + "camera", + "rotate" + ] + }, + { + "value": "campground" + }, + { + "value": "candy-cane", + "keywords": [ + "candy", + "cane" + ] + }, + { + "value": "cannabis" + }, + { + "value": "capsules" + }, + { + "value": "car" + }, + { + "value": "car-battery", + "keywords": [ + "car", + "battery" + ] + }, + { + "value": "car-burst", + "keywords": [ + "car", + "burst" + ] + }, + { + "value": "car-on", + "keywords": [ + "car", + "on" + ] + }, + { + "value": "car-rear", + "keywords": [ + "car", + "rear" + ] + }, + { + "value": "car-side", + "keywords": [ + "car", + "side" + ] + }, + { + "value": "car-tunnel", + "keywords": [ + "car", + "tunnel" + ] + }, + { + "value": "caravan" + }, + { + "value": "caret-down", + "keywords": [ + "caret", + "down" + ] + }, + { + "value": "caret-left", + "keywords": [ + "caret", + "left" + ] + }, + { + "value": "caret-right", + "keywords": [ + "caret", + "right" + ] + }, + { + "value": "caret-up", + "keywords": [ + "caret", + "up" + ] + }, + { + "value": "carrot" + }, + { + "value": "cart-arrow-down", + "keywords": [ + "cart", + "arrow", + "down" + ] + }, + { + "value": "cart-flatbed", + "keywords": [ + "cart", + "flatbed" + ] + }, + { + "value": "cart-flatbed-suitcase", + "keywords": [ + "cart", + "flatbed", + "suitcase" + ] + }, + { + "value": "cart-plus", + "keywords": [ + "cart", + "plus" + ] + }, + { + "value": "cart-shopping", + "keywords": [ + "cart", + "shopping" + ] + }, + { + "value": "cash-register", + "keywords": [ + "cash", + "register" + ] + }, + { + "value": "cat" + }, + { + "value": "cedi-sign", + "keywords": [ + "cedi", + "sign" + ] + }, + { + "value": "cent-sign", + "keywords": [ + "cent", + "sign" + ] + }, + { + "value": "certificate" + }, + { + "value": "chair" + }, + { + "value": "chalkboard" + }, + { + "value": "chalkboard-user", + "keywords": [ + "chalkboard", + "user" + ] + }, + { + "value": "champagne-glasses", + "keywords": [ + "champagne", + "glasses" + ] + }, + { + "value": "charging-station", + "keywords": [ + "charging", + "station" + ] + }, + { + "value": "chart-area", + "keywords": [ + "chart", + "area" + ] + }, + { + "value": "chart-bar", + "keywords": [ + "chart", + "bar" + ] + }, + { + "value": "chart-column", + "keywords": [ + "chart", + "column" + ] + }, + { + "value": "chart-gantt", + "keywords": [ + "chart", + "gantt" + ] + }, + { + "value": "chart-line", + "keywords": [ + "chart", + "line" + ] + }, + { + "value": "chart-pie", + "keywords": [ + "chart", + "pie" + ] + }, + { + "value": "chart-simple", + "keywords": [ + "chart", + "simple" + ] + }, + { + "value": "check" + }, + { + "value": "check-double", + "keywords": [ + "check", + "double" + ] + }, + { + "value": "check-to-slot", + "keywords": [ + "check", + "to", + "slot" + ] + }, + { + "value": "cheese" + }, + { + "value": "chess" + }, + { + "value": "chess-bishop", + "keywords": [ + "chess", + "bishop" + ] + }, + { + "value": "chess-board", + "keywords": [ + "chess", + "board" + ] + }, + { + "value": "chess-king", + "keywords": [ + "chess", + "king" + ] + }, + { + "value": "chess-knight", + "keywords": [ + "chess", + "knight" + ] + }, + { + "value": "chess-pawn", + "keywords": [ + "chess", + "pawn" + ] + }, + { + "value": "chess-queen", + "keywords": [ + "chess", + "queen" + ] + }, + { + "value": "chess-rook", + "keywords": [ + "chess", + "rook" + ] + }, + { + "value": "chevron-down", + "keywords": [ + "chevron", + "down" + ] + }, + { + "value": "chevron-left", + "keywords": [ + "chevron", + "left" + ] + }, + { + "value": "chevron-right", + "keywords": [ + "chevron", + "right" + ] + }, + { + "value": "chevron-up", + "keywords": [ + "chevron", + "up" + ] + }, + { + "value": "child" + }, + { + "value": "child-combatant", + "keywords": [ + "child", + "combatant" + ] + }, + { + "value": "child-dress", + "keywords": [ + "child", + "dress" + ] + }, + { + "value": "child-reaching", + "keywords": [ + "child", + "reaching" + ] + }, + { + "value": "children" + }, + { + "value": "church" + }, + { + "value": "circle" + }, + { + "value": "circle-arrow-down", + "keywords": [ + "circle", + "arrow", + "down" + ] + }, + { + "value": "circle-arrow-left", + "keywords": [ + "circle", + "arrow", + "left" + ] + }, + { + "value": "circle-arrow-right", + "keywords": [ + "circle", + "arrow", + "right" + ] + }, + { + "value": "circle-arrow-up", + "keywords": [ + "circle", + "arrow", + "up" + ] + }, + { + "value": "circle-check", + "keywords": [ + "circle", + "check" + ] + }, + { + "value": "circle-chevron-down", + "keywords": [ + "circle", + "chevron", + "down" + ] + }, + { + "value": "circle-chevron-left", + "keywords": [ + "circle", + "chevron", + "left" + ] + }, + { + "value": "circle-chevron-right", + "keywords": [ + "circle", + "chevron", + "right" + ] + }, + { + "value": "circle-chevron-up", + "keywords": [ + "circle", + "chevron", + "up" + ] + }, + { + "value": "circle-dollar-to-slot", + "keywords": [ + "circle", + "dollar", + "to", + "slot" + ] + }, + { + "value": "circle-dot", + "keywords": [ + "circle", + "dot" + ] + }, + { + "value": "circle-down", + "keywords": [ + "circle", + "down" + ] + }, + { + "value": "circle-exclamation", + "keywords": [ + "circle", + "exclamation" + ] + }, + { + "value": "circle-h" + }, + { + "value": "circle-half-stroke", + "keywords": [ + "circle", + "half", + "stroke" + ] + }, + { + "value": "circle-info", + "keywords": [ + "circle", + "info" + ] + }, + { + "value": "circle-left", + "keywords": [ + "circle", + "left" + ] + }, + { + "value": "circle-minus", + "keywords": [ + "circle", + "minus" + ] + }, + { + "value": "circle-nodes", + "keywords": [ + "circle", + "nodes" + ] + }, + { + "value": "circle-notch", + "keywords": [ + "circle", + "notch" + ] + }, + { + "value": "circle-pause", + "keywords": [ + "circle", + "pause" + ] + }, + { + "value": "circle-play", + "keywords": [ + "circle", + "play" + ] + }, + { + "value": "circle-plus", + "keywords": [ + "circle", + "plus" + ] + }, + { + "value": "circle-question", + "keywords": [ + "circle", + "question" + ] + }, + { + "value": "circle-radiation", + "keywords": [ + "circle", + "radiation" + ] + }, + { + "value": "circle-right", + "keywords": [ + "circle", + "right" + ] + }, + { + "value": "circle-stop", + "keywords": [ + "circle", + "stop" + ] + }, + { + "value": "circle-up", + "keywords": [ + "circle", + "up" + ] + }, + { + "value": "circle-user", + "keywords": [ + "circle", + "user" + ] + }, + { + "value": "circle-xmark", + "keywords": [ + "circle", + "xmark" + ] + }, + { + "value": "city" + }, + { + "value": "clapperboard" + }, + { + "value": "clipboard" + }, + { + "value": "clipboard-check", + "keywords": [ + "clipboard", + "check" + ] + }, + { + "value": "clipboard-list", + "keywords": [ + "clipboard", + "list" + ] + }, + { + "value": "clipboard-question", + "keywords": [ + "clipboard", + "question" + ] + }, + { + "value": "clipboard-user", + "keywords": [ + "clipboard", + "user" + ] + }, + { + "value": "clock" + }, + { + "value": "clock-rotate-left", + "keywords": [ + "clock", + "rotate", + "left" + ] + }, + { + "value": "clone" + }, + { + "value": "closed-captioning", + "keywords": [ + "closed", + "captioning" + ] + }, + { + "value": "cloud" + }, + { + "value": "cloud-arrow-down", + "keywords": [ + "cloud", + "arrow", + "down" + ] + }, + { + "value": "cloud-arrow-up", + "keywords": [ + "cloud", + "arrow", + "up" + ] + }, + { + "value": "cloud-bolt", + "keywords": [ + "cloud", + "bolt" + ] + }, + { + "value": "cloud-meatball", + "keywords": [ + "cloud", + "meatball" + ] + }, + { + "value": "cloud-moon", + "keywords": [ + "cloud", + "moon" + ] + }, + { + "value": "cloud-moon-rain", + "keywords": [ + "cloud", + "moon", + "rain" + ] + }, + { + "value": "cloud-rain", + "keywords": [ + "cloud", + "rain" + ] + }, + { + "value": "cloud-showers-heavy", + "keywords": [ + "cloud", + "showers", + "heavy" + ] + }, + { + "value": "cloud-showers-water", + "keywords": [ + "cloud", + "showers", + "water" + ] + }, + { + "value": "cloud-sun", + "keywords": [ + "cloud", + "sun" + ] + }, + { + "value": "cloud-sun-rain", + "keywords": [ + "cloud", + "sun", + "rain" + ] + }, + { + "value": "clover" + }, + { + "value": "code" + }, + { + "value": "code-branch", + "keywords": [ + "code", + "branch" + ] + }, + { + "value": "code-commit", + "keywords": [ + "code", + "commit" + ] + }, + { + "value": "code-compare", + "keywords": [ + "code", + "compare" + ] + }, + { + "value": "code-fork", + "keywords": [ + "code", + "fork" + ] + }, + { + "value": "code-merge", + "keywords": [ + "code", + "merge" + ] + }, + { + "value": "code-pull-request", + "keywords": [ + "code", + "pull", + "request" + ] + }, + { + "value": "coins" + }, + { + "value": "colon-sign", + "keywords": [ + "colon", + "sign" + ] + }, + { + "value": "comment" + }, + { + "value": "comment-dollar", + "keywords": [ + "comment", + "dollar" + ] + }, + { + "value": "comment-dots", + "keywords": [ + "comment", + "dots" + ] + }, + { + "value": "comment-medical", + "keywords": [ + "comment", + "medical" + ] + }, + { + "value": "comment-slash", + "keywords": [ + "comment", + "slash" + ] + }, + { + "value": "comment-sms", + "keywords": [ + "comment", + "sms" + ] + }, + { + "value": "comments" + }, + { + "value": "comments-dollar", + "keywords": [ + "comments", + "dollar" + ] + }, + { + "value": "compact-disc", + "keywords": [ + "compact", + "disc" + ] + }, + { + "value": "compass" + }, + { + "value": "compass-drafting", + "keywords": [ + "compass", + "drafting" + ] + }, + { + "value": "compress" + }, + { + "value": "computer" + }, + { + "value": "computer-mouse", + "keywords": [ + "computer", + "mouse" + ] + }, + { + "value": "cookie" + }, + { + "value": "cookie-bite", + "keywords": [ + "cookie", + "bite" + ] + }, + { + "value": "copy" + }, + { + "value": "copyright" + }, + { + "value": "couch" + }, + { + "value": "cow" + }, + { + "value": "credit-card", + "keywords": [ + "credit", + "card" + ] + }, + { + "value": "crop" + }, + { + "value": "crop-simple", + "keywords": [ + "crop", + "simple" + ] + }, + { + "value": "cross" + }, + { + "value": "crosshairs" + }, + { + "value": "crow" + }, + { + "value": "crown" + }, + { + "value": "crutch" + }, + { + "value": "cruzeiro-sign", + "keywords": [ + "cruzeiro", + "sign" + ] + }, + { + "value": "cube" + }, + { + "value": "cubes" + }, + { + "value": "cubes-stacked", + "keywords": [ + "cubes", + "stacked" + ] + }, + { + "value": "d" + }, + { + "value": "database" + }, + { + "value": "delete-left", + "keywords": [ + "delete", + "left" + ] + }, + { + "value": "democrat" + }, + { + "value": "desktop" + }, + { + "value": "dharmachakra" + }, + { + "value": "diagram-next", + "keywords": [ + "diagram", + "next" + ] + }, + { + "value": "diagram-predecessor", + "keywords": [ + "diagram", + "predecessor" + ] + }, + { + "value": "diagram-project", + "keywords": [ + "diagram", + "project" + ] + }, + { + "value": "diagram-successor", + "keywords": [ + "diagram", + "successor" + ] + }, + { + "value": "diamond" + }, + { + "value": "diamond-turn-right", + "keywords": [ + "diamond", + "turn", + "right" + ] + }, + { + "value": "dice" + }, + { + "value": "dice-d20", + "keywords": [ + "dice", + "d20" + ] + }, + { + "value": "dice-d6", + "keywords": [ + "dice", + "d6" + ] + }, + { + "value": "dice-five", + "keywords": [ + "dice", + "five" + ] + }, + { + "value": "dice-four", + "keywords": [ + "dice", + "four" + ] + }, + { + "value": "dice-one", + "keywords": [ + "dice", + "one" + ] + }, + { + "value": "dice-six", + "keywords": [ + "dice", + "six" + ] + }, + { + "value": "dice-three", + "keywords": [ + "dice", + "three" + ] + }, + { + "value": "dice-two", + "keywords": [ + "dice", + "two" + ] + }, + { + "value": "disease" + }, + { + "value": "display" + }, + { + "value": "divide" + }, + { + "value": "dna" + }, + { + "value": "dog" + }, + { + "value": "dollar-sign", + "keywords": [ + "dollar", + "sign" + ] + }, + { + "value": "dolly" + }, + { + "value": "dong-sign", + "keywords": [ + "dong", + "sign" + ] + }, + { + "value": "door-closed", + "keywords": [ + "door", + "closed" + ] + }, + { + "value": "door-open", + "keywords": [ + "door", + "open" + ] + }, + { + "value": "dove" + }, + { + "value": "down-left-and-up-right-to-center", + "keywords": [ + "down", + "left", + "and", + "up", + "right", + "to", + "center" + ] + }, + { + "value": "down-long", + "keywords": [ + "down", + "long" + ] + }, + { + "value": "download" + }, + { + "value": "dragon" + }, + { + "value": "draw-polygon", + "keywords": [ + "draw", + "polygon" + ] + }, + { + "value": "droplet" + }, + { + "value": "droplet-slash", + "keywords": [ + "droplet", + "slash" + ] + }, + { + "value": "drum" + }, + { + "value": "drum-steelpan", + "keywords": [ + "drum", + "steelpan" + ] + }, + { + "value": "drumstick-bite", + "keywords": [ + "drumstick", + "bite" + ] + }, + { + "value": "dumbbell" + }, + { + "value": "dumpster" + }, + { + "value": "dumpster-fire", + "keywords": [ + "dumpster", + "fire" + ] + }, + { + "value": "dungeon" + }, + { + "value": "e" + }, + { + "value": "ear-deaf", + "keywords": [ + "ear", + "deaf" + ] + }, + { + "value": "ear-listen", + "keywords": [ + "ear", + "listen" + ] + }, + { + "value": "earth-africa", + "keywords": [ + "earth", + "africa" + ] + }, + { + "value": "earth-americas", + "keywords": [ + "earth", + "americas" + ] + }, + { + "value": "earth-asia", + "keywords": [ + "earth", + "asia" + ] + }, + { + "value": "earth-europe", + "keywords": [ + "earth", + "europe" + ] + }, + { + "value": "earth-oceania", + "keywords": [ + "earth", + "oceania" + ] + }, + { + "value": "egg" + }, + { + "value": "eject" + }, + { + "value": "elevator" + }, + { + "value": "ellipsis" + }, + { + "value": "ellipsis-vertical", + "keywords": [ + "ellipsis", + "vertical" + ] + }, + { + "value": "envelope" + }, + { + "value": "envelope-circle-check", + "keywords": [ + "envelope", + "circle", + "check" + ] + }, + { + "value": "envelope-open", + "keywords": [ + "envelope", + "open" + ] + }, + { + "value": "envelope-open-text", + "keywords": [ + "envelope", + "open", + "text" + ] + }, + { + "value": "envelopes-bulk", + "keywords": [ + "envelopes", + "bulk" + ] + }, + { + "value": "equals" + }, + { + "value": "eraser" + }, + { + "value": "ethernet" + }, + { + "value": "euro-sign", + "keywords": [ + "euro", + "sign" + ] + }, + { + "value": "exclamation" + }, + { + "value": "expand" + }, + { + "value": "explosion" + }, + { + "value": "eye" + }, + { + "value": "eye-dropper", + "keywords": [ + "eye", + "dropper" + ] + }, + { + "value": "eye-low-vision", + "keywords": [ + "eye", + "low", + "vision" + ] + }, + { + "value": "eye-slash", + "keywords": [ + "eye", + "slash" + ] + }, + { + "value": "f" + }, + { + "value": "face-angry", + "keywords": [ + "face", + "angry" + ] + }, + { + "value": "face-dizzy", + "keywords": [ + "face", + "dizzy" + ] + }, + { + "value": "face-flushed", + "keywords": [ + "face", + "flushed" + ] + }, + { + "value": "face-frown", + "keywords": [ + "face", + "frown" + ] + }, + { + "value": "face-frown-open", + "keywords": [ + "face", + "frown", + "open" + ] + }, + { + "value": "face-grimace", + "keywords": [ + "face", + "grimace" + ] + }, + { + "value": "face-grin", + "keywords": [ + "face", + "grin" + ] + }, + { + "value": "face-grin-beam", + "keywords": [ + "face", + "grin", + "beam" + ] + }, + { + "value": "face-grin-beam-sweat", + "keywords": [ + "face", + "grin", + "beam", + "sweat" + ] + }, + { + "value": "face-grin-hearts", + "keywords": [ + "face", + "grin", + "hearts" + ] + }, + { + "value": "face-grin-squint", + "keywords": [ + "face", + "grin", + "squint" + ] + }, + { + "value": "face-grin-squint-tears", + "keywords": [ + "face", + "grin", + "squint", + "tears" + ] + }, + { + "value": "face-grin-stars", + "keywords": [ + "face", + "grin", + "stars" + ] + }, + { + "value": "face-grin-tears", + "keywords": [ + "face", + "grin", + "tears" + ] + }, + { + "value": "face-grin-tongue", + "keywords": [ + "face", + "grin", + "tongue" + ] + }, + { + "value": "face-grin-tongue-squint", + "keywords": [ + "face", + "grin", + "tongue", + "squint" + ] + }, + { + "value": "face-grin-tongue-wink", + "keywords": [ + "face", + "grin", + "tongue", + "wink" + ] + }, + { + "value": "face-grin-wide", + "keywords": [ + "face", + "grin", + "wide" + ] + }, + { + "value": "face-grin-wink", + "keywords": [ + "face", + "grin", + "wink" + ] + }, + { + "value": "face-kiss", + "keywords": [ + "face", + "kiss" + ] + }, + { + "value": "face-kiss-beam", + "keywords": [ + "face", + "kiss", + "beam" + ] + }, + { + "value": "face-kiss-wink-heart", + "keywords": [ + "face", + "kiss", + "wink", + "heart" + ] + }, + { + "value": "face-laugh", + "keywords": [ + "face", + "laugh" + ] + }, + { + "value": "face-laugh-beam", + "keywords": [ + "face", + "laugh", + "beam" + ] + }, + { + "value": "face-laugh-squint", + "keywords": [ + "face", + "laugh", + "squint" + ] + }, + { + "value": "face-laugh-wink", + "keywords": [ + "face", + "laugh", + "wink" + ] + }, + { + "value": "face-meh", + "keywords": [ + "face", + "meh" + ] + }, + { + "value": "face-meh-blank", + "keywords": [ + "face", + "meh", + "blank" + ] + }, + { + "value": "face-rolling-eyes", + "keywords": [ + "face", + "rolling", + "eyes" + ] + }, + { + "value": "face-sad-cry", + "keywords": [ + "face", + "sad", + "cry" + ] + }, + { + "value": "face-sad-tear", + "keywords": [ + "face", + "sad", + "tear" + ] + }, + { + "value": "face-smile", + "keywords": [ + "face", + "smile" + ] + }, + { + "value": "face-smile-beam", + "keywords": [ + "face", + "smile", + "beam" + ] + }, + { + "value": "face-smile-wink", + "keywords": [ + "face", + "smile", + "wink" + ] + }, + { + "value": "face-surprise", + "keywords": [ + "face", + "surprise" + ] + }, + { + "value": "face-tired", + "keywords": [ + "face", + "tired" + ] + }, + { + "value": "fan" + }, + { + "value": "faucet" + }, + { + "value": "faucet-drip", + "keywords": [ + "faucet", + "drip" + ] + }, + { + "value": "fax" + }, + { + "value": "feather" + }, + { + "value": "feather-pointed", + "keywords": [ + "feather", + "pointed" + ] + }, + { + "value": "ferry" + }, + { + "value": "file" + }, + { + "value": "file-arrow-down", + "keywords": [ + "file", + "arrow", + "down" + ] + }, + { + "value": "file-arrow-up", + "keywords": [ + "file", + "arrow", + "up" + ] + }, + { + "value": "file-audio", + "keywords": [ + "file", + "audio" + ] + }, + { + "value": "file-circle-check", + "keywords": [ + "file", + "circle", + "check" + ] + }, + { + "value": "file-circle-exclamation", + "keywords": [ + "file", + "circle", + "exclamation" + ] + }, + { + "value": "file-circle-minus", + "keywords": [ + "file", + "circle", + "minus" + ] + }, + { + "value": "file-circle-plus", + "keywords": [ + "file", + "circle", + "plus" + ] + }, + { + "value": "file-circle-question", + "keywords": [ + "file", + "circle", + "question" + ] + }, + { + "value": "file-circle-xmark", + "keywords": [ + "file", + "circle", + "xmark" + ] + }, + { + "value": "file-code", + "keywords": [ + "file", + "code" + ] + }, + { + "value": "file-contract", + "keywords": [ + "file", + "contract" + ] + }, + { + "value": "file-csv", + "keywords": [ + "file", + "csv" + ] + }, + { + "value": "file-excel", + "keywords": [ + "file", + "excel" + ] + }, + { + "value": "file-export", + "keywords": [ + "file", + "export" + ] + }, + { + "value": "file-image", + "keywords": [ + "file", + "image" + ] + }, + { + "value": "file-import", + "keywords": [ + "file", + "import" + ] + }, + { + "value": "file-invoice", + "keywords": [ + "file", + "invoice" + ] + }, + { + "value": "file-invoice-dollar", + "keywords": [ + "file", + "invoice", + "dollar" + ] + }, + { + "value": "file-lines", + "keywords": [ + "file", + "lines" + ] + }, + { + "value": "file-medical", + "keywords": [ + "file", + "medical" + ] + }, + { + "value": "file-pdf", + "keywords": [ + "file", + "pdf" + ] + }, + { + "value": "file-pen", + "keywords": [ + "file", + "pen" + ] + }, + { + "value": "file-powerpoint", + "keywords": [ + "file", + "powerpoint" + ] + }, + { + "value": "file-prescription", + "keywords": [ + "file", + "prescription" + ] + }, + { + "value": "file-shield", + "keywords": [ + "file", + "shield" + ] + }, + { + "value": "file-signature", + "keywords": [ + "file", + "signature" + ] + }, + { + "value": "file-video", + "keywords": [ + "file", + "video" + ] + }, + { + "value": "file-waveform", + "keywords": [ + "file", + "waveform" + ] + }, + { + "value": "file-word", + "keywords": [ + "file", + "word" + ] + }, + { + "value": "file-zipper", + "keywords": [ + "file", + "zipper" + ] + }, + { + "value": "fill" + }, + { + "value": "fill-drip", + "keywords": [ + "fill", + "drip" + ] + }, + { + "value": "film" + }, + { + "value": "filter" + }, + { + "value": "filter-circle-dollar", + "keywords": [ + "filter", + "circle", + "dollar" + ] + }, + { + "value": "filter-circle-xmark", + "keywords": [ + "filter", + "circle", + "xmark" + ] + }, + { + "value": "fingerprint" + }, + { + "value": "fire" + }, + { + "value": "fire-burner", + "keywords": [ + "fire", + "burner" + ] + }, + { + "value": "fire-extinguisher", + "keywords": [ + "fire", + "extinguisher" + ] + }, + { + "value": "fire-flame-curved", + "keywords": [ + "fire", + "flame", + "curved" + ] + }, + { + "value": "fire-flame-simple", + "keywords": [ + "fire", + "flame", + "simple" + ] + }, + { + "value": "fish" + }, + { + "value": "fish-fins", + "keywords": [ + "fish", + "fins" + ] + }, + { + "value": "flag" + }, + { + "value": "flag-checkered", + "keywords": [ + "flag", + "checkered" + ] + }, + { + "value": "flag-usa", + "keywords": [ + "flag", + "usa" + ] + }, + { + "value": "flask" + }, + { + "value": "flask-vial", + "keywords": [ + "flask", + "vial" + ] + }, + { + "value": "floppy-disk", + "keywords": [ + "floppy", + "disk" + ] + }, + { + "value": "florin-sign", + "keywords": [ + "florin", + "sign" + ] + }, + { + "value": "folder" + }, + { + "value": "folder-closed", + "keywords": [ + "folder", + "closed" + ] + }, + { + "value": "folder-minus", + "keywords": [ + "folder", + "minus" + ] + }, + { + "value": "folder-open", + "keywords": [ + "folder", + "open" + ] + }, + { + "value": "folder-plus", + "keywords": [ + "folder", + "plus" + ] + }, + { + "value": "folder-tree", + "keywords": [ + "folder", + "tree" + ] + }, + { + "value": "font" + }, + { + "value": "font-awesome", + "keywords": [ + "font", + "awesome" + ] + }, + { + "value": "football" + }, + { + "value": "forward" + }, + { + "value": "forward-fast", + "keywords": [ + "forward", + "fast" + ] + }, + { + "value": "forward-step", + "keywords": [ + "forward", + "step" + ] + }, + { + "value": "franc-sign", + "keywords": [ + "franc", + "sign" + ] + }, + { + "value": "frog" + }, + { + "value": "futbol" + }, + { + "value": "g" + }, + { + "value": "gamepad" + }, + { + "value": "gas-pump", + "keywords": [ + "gas", + "pump" + ] + }, + { + "value": "gauge" + }, + { + "value": "gauge-high", + "keywords": [ + "gauge", + "high" + ] + }, + { + "value": "gauge-simple", + "keywords": [ + "gauge", + "simple" + ] + }, + { + "value": "gauge-simple-high", + "keywords": [ + "gauge", + "simple", + "high" + ] + }, + { + "value": "gavel" + }, + { + "value": "gear" + }, + { + "value": "gears" + }, + { + "value": "gem" + }, + { + "value": "genderless" + }, + { + "value": "ghost" + }, + { + "value": "gift" + }, + { + "value": "gifts" + }, + { + "value": "glass-water", + "keywords": [ + "glass", + "water" + ] + }, + { + "value": "glass-water-droplet", + "keywords": [ + "glass", + "water", + "droplet" + ] + }, + { + "value": "glasses" + }, + { + "value": "globe" + }, + { + "value": "golf-ball-tee", + "keywords": [ + "golf", + "ball", + "tee" + ] + }, + { + "value": "gopuram" + }, + { + "value": "graduation-cap", + "keywords": [ + "graduation", + "cap" + ] + }, + { + "value": "greater-than", + "keywords": [ + "greater", + "than" + ] + }, + { + "value": "greater-than-equal", + "keywords": [ + "greater", + "than", + "equal" + ] + }, + { + "value": "grip" + }, + { + "value": "grip-lines", + "keywords": [ + "grip", + "lines" + ] + }, + { + "value": "grip-lines-vertical", + "keywords": [ + "grip", + "lines", + "vertical" + ] + }, + { + "value": "grip-vertical", + "keywords": [ + "grip", + "vertical" + ] + }, + { + "value": "group-arrows-rotate", + "keywords": [ + "group", + "arrows", + "rotate" + ] + }, + { + "value": "guarani-sign", + "keywords": [ + "guarani", + "sign" + ] + }, + { + "value": "guitar" + }, + { + "value": "gun" + }, + { + "value": "h" + }, + { + "value": "hammer" + }, + { + "value": "hamsa" + }, + { + "value": "hand" + }, + { + "value": "hand-back-fist", + "keywords": [ + "hand", + "back", + "fist" + ] + }, + { + "value": "hand-dots", + "keywords": [ + "hand", + "dots" + ] + }, + { + "value": "hand-fist", + "keywords": [ + "hand", + "fist" + ] + }, + { + "value": "hand-holding", + "keywords": [ + "hand", + "holding" + ] + }, + { + "value": "hand-holding-dollar", + "keywords": [ + "hand", + "holding", + "dollar" + ] + }, + { + "value": "hand-holding-droplet", + "keywords": [ + "hand", + "holding", + "droplet" + ] + }, + { + "value": "hand-holding-hand", + "keywords": [ + "hand", + "holding", + "hand" + ] + }, + { + "value": "hand-holding-heart", + "keywords": [ + "hand", + "holding", + "heart" + ] + }, + { + "value": "hand-holding-medical", + "keywords": [ + "hand", + "holding", + "medical" + ] + }, + { + "value": "hand-lizard", + "keywords": [ + "hand", + "lizard" + ] + }, + { + "value": "hand-middle-finger", + "keywords": [ + "hand", + "middle", + "finger" + ] + }, + { + "value": "hand-peace", + "keywords": [ + "hand", + "peace" + ] + }, + { + "value": "hand-point-down", + "keywords": [ + "hand", + "point", + "down" + ] + }, + { + "value": "hand-point-left", + "keywords": [ + "hand", + "point", + "left" + ] + }, + { + "value": "hand-point-right", + "keywords": [ + "hand", + "point", + "right" + ] + }, + { + "value": "hand-point-up", + "keywords": [ + "hand", + "point", + "up" + ] + }, + { + "value": "hand-pointer", + "keywords": [ + "hand", + "pointer" + ] + }, + { + "value": "hand-scissors", + "keywords": [ + "hand", + "scissors" + ] + }, + { + "value": "hand-sparkles", + "keywords": [ + "hand", + "sparkles" + ] + }, + { + "value": "hand-spock", + "keywords": [ + "hand", + "spock" + ] + }, + { + "value": "handcuffs" + }, + { + "value": "hands" + }, + { + "value": "hands-asl-interpreting", + "keywords": [ + "hands", + "asl", + "interpreting" + ] + }, + { + "value": "hands-bound", + "keywords": [ + "hands", + "bound" + ] + }, + { + "value": "hands-bubbles", + "keywords": [ + "hands", + "bubbles" + ] + }, + { + "value": "hands-clapping", + "keywords": [ + "hands", + "clapping" + ] + }, + { + "value": "hands-holding", + "keywords": [ + "hands", + "holding" + ] + }, + { + "value": "hands-holding-child", + "keywords": [ + "hands", + "holding", + "child" + ] + }, + { + "value": "hands-holding-circle", + "keywords": [ + "hands", + "holding", + "circle" + ] + }, + { + "value": "hands-praying", + "keywords": [ + "hands", + "praying" + ] + }, + { + "value": "handshake" + }, + { + "value": "handshake-angle", + "keywords": [ + "handshake", + "angle" + ] + }, + { + "value": "handshake-simple", + "keywords": [ + "handshake", + "simple" + ] + }, + { + "value": "handshake-simple-slash", + "keywords": [ + "handshake", + "simple", + "slash" + ] + }, + { + "value": "handshake-slash", + "keywords": [ + "handshake", + "slash" + ] + }, + { + "value": "hanukiah" + }, + { + "value": "hard-drive", + "keywords": [ + "hard", + "drive" + ] + }, + { + "value": "hashtag" + }, + { + "value": "hat-cowboy", + "keywords": [ + "hat", + "cowboy" + ] + }, + { + "value": "hat-cowboy-side", + "keywords": [ + "hat", + "cowboy", + "side" + ] + }, + { + "value": "hat-wizard", + "keywords": [ + "hat", + "wizard" + ] + }, + { + "value": "head-side-cough", + "keywords": [ + "head", + "side", + "cough" + ] + }, + { + "value": "head-side-cough-slash", + "keywords": [ + "head", + "side", + "cough", + "slash" + ] + }, + { + "value": "head-side-mask", + "keywords": [ + "head", + "side", + "mask" + ] + }, + { + "value": "head-side-virus", + "keywords": [ + "head", + "side", + "virus" + ] + }, + { + "value": "heading" + }, + { + "value": "headphones" + }, + { + "value": "headphones-simple", + "keywords": [ + "headphones", + "simple" + ] + }, + { + "value": "headset" + }, + { + "value": "heart" + }, + { + "value": "heart-circle-bolt", + "keywords": [ + "heart", + "circle", + "bolt" + ] + }, + { + "value": "heart-circle-check", + "keywords": [ + "heart", + "circle", + "check" + ] + }, + { + "value": "heart-circle-exclamation", + "keywords": [ + "heart", + "circle", + "exclamation" + ] + }, + { + "value": "heart-circle-minus", + "keywords": [ + "heart", + "circle", + "minus" + ] + }, + { + "value": "heart-circle-plus", + "keywords": [ + "heart", + "circle", + "plus" + ] + }, + { + "value": "heart-circle-xmark", + "keywords": [ + "heart", + "circle", + "xmark" + ] + }, + { + "value": "heart-crack", + "keywords": [ + "heart", + "crack" + ] + }, + { + "value": "heart-pulse", + "keywords": [ + "heart", + "pulse" + ] + }, + { + "value": "helicopter" + }, + { + "value": "helicopter-symbol", + "keywords": [ + "helicopter", + "symbol" + ] + }, + { + "value": "helmet-safety", + "keywords": [ + "helmet", + "safety" + ] + }, + { + "value": "helmet-un", + "keywords": [ + "helmet", + "un" + ] + }, + { + "value": "highlighter" + }, + { + "value": "hill-avalanche", + "keywords": [ + "hill", + "avalanche" + ] + }, + { + "value": "hill-rockslide", + "keywords": [ + "hill", + "rockslide" + ] + }, + { + "value": "hippo" + }, + { + "value": "hockey-puck", + "keywords": [ + "hockey", + "puck" + ] + }, + { + "value": "holly-berry", + "keywords": [ + "holly", + "berry" + ] + }, + { + "value": "horse" + }, + { + "value": "horse-head", + "keywords": [ + "horse", + "head" + ] + }, + { + "value": "hospital" + }, + { + "value": "hospital-user", + "keywords": [ + "hospital", + "user" + ] + }, + { + "value": "hot-tub-person", + "keywords": [ + "hot", + "tub", + "person" + ] + }, + { + "value": "hotdog" + }, + { + "value": "hotel" + }, + { + "value": "hourglass" + }, + { + "value": "hourglass-end", + "keywords": [ + "hourglass", + "end" + ] + }, + { + "value": "hourglass-half", + "keywords": [ + "hourglass", + "half" + ] + }, + { + "value": "hourglass-start", + "keywords": [ + "hourglass", + "start" + ] + }, + { + "value": "house" + }, + { + "value": "house-chimney", + "keywords": [ + "house", + "chimney" + ] + }, + { + "value": "house-chimney-crack", + "keywords": [ + "house", + "chimney", + "crack" + ] + }, + { + "value": "house-chimney-medical", + "keywords": [ + "house", + "chimney", + "medical" + ] + }, + { + "value": "house-chimney-user", + "keywords": [ + "house", + "chimney", + "user" + ] + }, + { + "value": "house-chimney-window", + "keywords": [ + "house", + "chimney", + "window" + ] + }, + { + "value": "house-circle-check", + "keywords": [ + "house", + "circle", + "check" + ] + }, + { + "value": "house-circle-exclamation", + "keywords": [ + "house", + "circle", + "exclamation" + ] + }, + { + "value": "house-circle-xmark", + "keywords": [ + "house", + "circle", + "xmark" + ] + }, + { + "value": "house-crack", + "keywords": [ + "house", + "crack" + ] + }, + { + "value": "house-fire", + "keywords": [ + "house", + "fire" + ] + }, + { + "value": "house-flag", + "keywords": [ + "house", + "flag" + ] + }, + { + "value": "house-flood-water", + "keywords": [ + "house", + "flood", + "water" + ] + }, + { + "value": "house-flood-water-circle-arrow-right", + "keywords": [ + "house", + "flood", + "water", + "circle", + "arrow", + "right" + ] + }, + { + "value": "house-laptop", + "keywords": [ + "house", + "laptop" + ] + }, + { + "value": "house-lock", + "keywords": [ + "house", + "lock" + ] + }, + { + "value": "house-medical", + "keywords": [ + "house", + "medical" + ] + }, + { + "value": "house-medical-circle-check", + "keywords": [ + "house", + "medical", + "circle", + "check" + ] + }, + { + "value": "house-medical-circle-exclamation", + "keywords": [ + "house", + "medical", + "circle", + "exclamation" + ] + }, + { + "value": "house-medical-circle-xmark", + "keywords": [ + "house", + "medical", + "circle", + "xmark" + ] + }, + { + "value": "house-medical-flag", + "keywords": [ + "house", + "medical", + "flag" + ] + }, + { + "value": "house-signal", + "keywords": [ + "house", + "signal" + ] + }, + { + "value": "house-tsunami", + "keywords": [ + "house", + "tsunami" + ] + }, + { + "value": "house-user", + "keywords": [ + "house", + "user" + ] + }, + { + "value": "hryvnia-sign", + "keywords": [ + "hryvnia", + "sign" + ] + }, + { + "value": "hurricane" + }, + { + "value": "i" + }, + { + "value": "i-cursor" + }, + { + "value": "ice-cream", + "keywords": [ + "ice", + "cream" + ] + }, + { + "value": "icicles" + }, + { + "value": "icons" + }, + { + "value": "id-badge", + "keywords": [ + "id", + "badge" + ] + }, + { + "value": "id-card", + "keywords": [ + "id", + "card" + ] + }, + { + "value": "id-card-clip", + "keywords": [ + "id", + "card", + "clip" + ] + }, + { + "value": "igloo" + }, + { + "value": "image" + }, + { + "value": "image-portrait", + "keywords": [ + "image", + "portrait" + ] + }, + { + "value": "images" + }, + { + "value": "inbox" + }, + { + "value": "indent" + }, + { + "value": "indian-rupee-sign", + "keywords": [ + "indian", + "rupee", + "sign" + ] + }, + { + "value": "industry" + }, + { + "value": "infinity" + }, + { + "value": "info" + }, + { + "value": "italic" + }, + { + "value": "j" + }, + { + "value": "jar" + }, + { + "value": "jar-wheat", + "keywords": [ + "jar", + "wheat" + ] + }, + { + "value": "jedi" + }, + { + "value": "jet-fighter", + "keywords": [ + "jet", + "fighter" + ] + }, + { + "value": "jet-fighter-up", + "keywords": [ + "jet", + "fighter", + "up" + ] + }, + { + "value": "joint" + }, + { + "value": "jug-detergent", + "keywords": [ + "jug", + "detergent" + ] + }, + { + "value": "k" + }, + { + "value": "kaaba" + }, + { + "value": "key" + }, + { + "value": "keyboard" + }, + { + "value": "khanda" + }, + { + "value": "kip-sign", + "keywords": [ + "kip", + "sign" + ] + }, + { + "value": "kit-medical", + "keywords": [ + "kit", + "medical" + ] + }, + { + "value": "kitchen-set", + "keywords": [ + "kitchen", + "set" + ] + }, + { + "value": "kiwi-bird", + "keywords": [ + "kiwi", + "bird" + ] + }, + { + "value": "l" + }, + { + "value": "land-mine-on", + "keywords": [ + "land", + "mine", + "on" + ] + }, + { + "value": "landmark" + }, + { + "value": "landmark-dome", + "keywords": [ + "landmark", + "dome" + ] + }, + { + "value": "landmark-flag", + "keywords": [ + "landmark", + "flag" + ] + }, + { + "value": "language" + }, + { + "value": "laptop" + }, + { + "value": "laptop-code", + "keywords": [ + "laptop", + "code" + ] + }, + { + "value": "laptop-file", + "keywords": [ + "laptop", + "file" + ] + }, + { + "value": "laptop-medical", + "keywords": [ + "laptop", + "medical" + ] + }, + { + "value": "lari-sign", + "keywords": [ + "lari", + "sign" + ] + }, + { + "value": "layer-group", + "keywords": [ + "layer", + "group" + ] + }, + { + "value": "leaf" + }, + { + "value": "left-long", + "keywords": [ + "left", + "long" + ] + }, + { + "value": "left-right", + "keywords": [ + "left", + "right" + ] + }, + { + "value": "lemon" + }, + { + "value": "less-than", + "keywords": [ + "less", + "than" + ] + }, + { + "value": "less-than-equal", + "keywords": [ + "less", + "than", + "equal" + ] + }, + { + "value": "life-ring", + "keywords": [ + "life", + "ring" + ] + }, + { + "value": "lightbulb" + }, + { + "value": "lines-leaning", + "keywords": [ + "lines", + "leaning" + ] + }, + { + "value": "link" + }, + { + "value": "link-slash", + "keywords": [ + "link", + "slash" + ] + }, + { + "value": "lira-sign", + "keywords": [ + "lira", + "sign" + ] + }, + { + "value": "list" + }, + { + "value": "list-check", + "keywords": [ + "list", + "check" + ] + }, + { + "value": "list-ol", + "keywords": [ + "list", + "ol" + ] + }, + { + "value": "list-ul", + "keywords": [ + "list", + "ul" + ] + }, + { + "value": "litecoin-sign", + "keywords": [ + "litecoin", + "sign" + ] + }, + { + "value": "location-arrow", + "keywords": [ + "location", + "arrow" + ] + }, + { + "value": "location-crosshairs", + "keywords": [ + "location", + "crosshairs" + ] + }, + { + "value": "location-dot", + "keywords": [ + "location", + "dot" + ] + }, + { + "value": "location-pin", + "keywords": [ + "location", + "pin" + ] + }, + { + "value": "location-pin-lock", + "keywords": [ + "location", + "pin", + "lock" + ] + }, + { + "value": "lock" + }, + { + "value": "lock-open", + "keywords": [ + "lock", + "open" + ] + }, + { + "value": "locust" + }, + { + "value": "lungs" + }, + { + "value": "lungs-virus", + "keywords": [ + "lungs", + "virus" + ] + }, + { + "value": "m" + }, + { + "value": "magnet" + }, + { + "value": "magnifying-glass", + "keywords": [ + "magnifying", + "glass" + ] + }, + { + "value": "magnifying-glass-arrow-right", + "keywords": [ + "magnifying", + "glass", + "arrow", + "right" + ] + }, + { + "value": "magnifying-glass-chart", + "keywords": [ + "magnifying", + "glass", + "chart" + ] + }, + { + "value": "magnifying-glass-dollar", + "keywords": [ + "magnifying", + "glass", + "dollar" + ] + }, + { + "value": "magnifying-glass-location", + "keywords": [ + "magnifying", + "glass", + "location" + ] + }, + { + "value": "magnifying-glass-minus", + "keywords": [ + "magnifying", + "glass", + "minus" + ] + }, + { + "value": "magnifying-glass-plus", + "keywords": [ + "magnifying", + "glass", + "plus" + ] + }, + { + "value": "manat-sign", + "keywords": [ + "manat", + "sign" + ] + }, + { + "value": "map" + }, + { + "value": "map-location", + "keywords": [ + "map", + "location" + ] + }, + { + "value": "map-location-dot", + "keywords": [ + "map", + "location", + "dot" + ] + }, + { + "value": "map-pin", + "keywords": [ + "map", + "pin" + ] + }, + { + "value": "marker" + }, + { + "value": "mars" + }, + { + "value": "mars-and-venus", + "keywords": [ + "mars", + "and", + "venus" + ] + }, + { + "value": "mars-and-venus-burst", + "keywords": [ + "mars", + "and", + "venus", + "burst" + ] + }, + { + "value": "mars-double", + "keywords": [ + "mars", + "double" + ] + }, + { + "value": "mars-stroke", + "keywords": [ + "mars", + "stroke" + ] + }, + { + "value": "mars-stroke-right", + "keywords": [ + "mars", + "stroke", + "right" + ] + }, + { + "value": "mars-stroke-up", + "keywords": [ + "mars", + "stroke", + "up" + ] + }, + { + "value": "martini-glass", + "keywords": [ + "martini", + "glass" + ] + }, + { + "value": "martini-glass-citrus", + "keywords": [ + "martini", + "glass", + "citrus" + ] + }, + { + "value": "martini-glass-empty", + "keywords": [ + "martini", + "glass", + "empty" + ] + }, + { + "value": "mask" + }, + { + "value": "mask-face", + "keywords": [ + "mask", + "face" + ] + }, + { + "value": "mask-ventilator", + "keywords": [ + "mask", + "ventilator" + ] + }, + { + "value": "masks-theater", + "keywords": [ + "masks", + "theater" + ] + }, + { + "value": "mattress-pillow", + "keywords": [ + "mattress", + "pillow" + ] + }, + { + "value": "maximize" + }, + { + "value": "medal" + }, + { + "value": "memory" + }, + { + "value": "menorah" + }, + { + "value": "mercury" + }, + { + "value": "message" + }, + { + "value": "meteor" + }, + { + "value": "microchip" + }, + { + "value": "microphone" + }, + { + "value": "microphone-lines", + "keywords": [ + "microphone", + "lines" + ] + }, + { + "value": "microphone-lines-slash", + "keywords": [ + "microphone", + "lines", + "slash" + ] + }, + { + "value": "microphone-slash", + "keywords": [ + "microphone", + "slash" + ] + }, + { + "value": "microscope" + }, + { + "value": "mill-sign", + "keywords": [ + "mill", + "sign" + ] + }, + { + "value": "minimize" + }, + { + "value": "minus" + }, + { + "value": "mitten" + }, + { + "value": "mobile" + }, + { + "value": "mobile-button", + "keywords": [ + "mobile", + "button" + ] + }, + { + "value": "mobile-retro", + "keywords": [ + "mobile", + "retro" + ] + }, + { + "value": "mobile-screen", + "keywords": [ + "mobile", + "screen" + ] + }, + { + "value": "mobile-screen-button", + "keywords": [ + "mobile", + "screen", + "button" + ] + }, + { + "value": "money-bill", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-transfer", + "keywords": [ + "money", + "bill", + "transfer" + ] + }, + { + "value": "money-bill-trend-up", + "keywords": [ + "money", + "bill", + "trend", + "up" + ] + }, + { + "value": "money-bill-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-wheat", + "keywords": [ + "money", + "bill", + "wheat" + ] + }, + { + "value": "money-bills", + "keywords": [ + "money", + "bills" + ] + }, + { + "value": "money-check", + "keywords": [ + "money", + "check" + ] + }, + { + "value": "money-check-dollar", + "keywords": [ + "money", + "check", + "dollar" + ] + }, + { + "value": "monument" + }, + { + "value": "moon" + }, + { + "value": "mortar-pestle", + "keywords": [ + "mortar", + "pestle" + ] + }, + { + "value": "mosque" + }, + { + "value": "mosquito" + }, + { + "value": "mosquito-net", + "keywords": [ + "mosquito", + "net" + ] + }, + { + "value": "motorcycle" + }, + { + "value": "mound" + }, + { + "value": "mountain" + }, + { + "value": "mountain-city", + "keywords": [ + "mountain", + "city" + ] + }, + { + "value": "mountain-sun", + "keywords": [ + "mountain", + "sun" + ] + }, + { + "value": "mug-hot", + "keywords": [ + "mug", + "hot" + ] + }, + { + "value": "mug-saucer", + "keywords": [ + "mug", + "saucer" + ] + }, + { + "value": "music" + }, + { + "value": "n" + }, + { + "value": "naira-sign", + "keywords": [ + "naira", + "sign" + ] + }, + { + "value": "network-wired", + "keywords": [ + "network", + "wired" + ] + }, + { + "value": "neuter" + }, + { + "value": "newspaper" + }, + { + "value": "not-equal", + "keywords": [ + "not", + "equal" + ] + }, + { + "value": "notdef" + }, + { + "value": "note-sticky", + "keywords": [ + "note", + "sticky" + ] + }, + { + "value": "notes-medical", + "keywords": [ + "notes", + "medical" + ] + }, + { + "value": "o" + }, + { + "value": "object-group", + "keywords": [ + "object", + "group" + ] + }, + { + "value": "object-ungroup", + "keywords": [ + "object", + "ungroup" + ] + }, + { + "value": "oil-can", + "keywords": [ + "oil", + "can" + ] + }, + { + "value": "oil-well", + "keywords": [ + "oil", + "well" + ] + }, + { + "value": "om" + }, + { + "value": "otter" + }, + { + "value": "outdent" + }, + { + "value": "p" + }, + { + "value": "pager" + }, + { + "value": "paint-roller", + "keywords": [ + "paint", + "roller" + ] + }, + { + "value": "paintbrush" + }, + { + "value": "palette" + }, + { + "value": "pallet" + }, + { + "value": "panorama" + }, + { + "value": "paper-plane", + "keywords": [ + "paper", + "plane" + ] + }, + { + "value": "paperclip" + }, + { + "value": "parachute-box", + "keywords": [ + "parachute", + "box" + ] + }, + { + "value": "paragraph" + }, + { + "value": "passport" + }, + { + "value": "paste" + }, + { + "value": "pause" + }, + { + "value": "paw" + }, + { + "value": "peace" + }, + { + "value": "pen" + }, + { + "value": "pen-clip", + "keywords": [ + "pen", + "clip" + ] + }, + { + "value": "pen-fancy", + "keywords": [ + "pen", + "fancy" + ] + }, + { + "value": "pen-nib", + "keywords": [ + "pen", + "nib" + ] + }, + { + "value": "pen-ruler", + "keywords": [ + "pen", + "ruler" + ] + }, + { + "value": "pen-to-square", + "keywords": [ + "pen", + "to", + "square" + ] + }, + { + "value": "pencil" + }, + { + "value": "people-arrows", + "keywords": [ + "people", + "arrows" + ] + }, + { + "value": "people-carry-box", + "keywords": [ + "people", + "carry", + "box" + ] + }, + { + "value": "people-group", + "keywords": [ + "people", + "group" + ] + }, + { + "value": "people-line", + "keywords": [ + "people", + "line" + ] + }, + { + "value": "people-pulling", + "keywords": [ + "people", + "pulling" + ] + }, + { + "value": "people-robbery", + "keywords": [ + "people", + "robbery" + ] + }, + { + "value": "people-roof", + "keywords": [ + "people", + "roof" + ] + }, + { + "value": "pepper-hot", + "keywords": [ + "pepper", + "hot" + ] + }, + { + "value": "percent" + }, + { + "value": "person" + }, + { + "value": "person-arrow-down-to-line", + "keywords": [ + "person", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "person-arrow-up-from-line", + "keywords": [ + "person", + "arrow", + "up", + "from", + "line" + ] + }, + { + "value": "person-biking", + "keywords": [ + "person", + "biking" + ] + }, + { + "value": "person-booth", + "keywords": [ + "person", + "booth" + ] + }, + { + "value": "person-breastfeeding", + "keywords": [ + "person", + "breastfeeding" + ] + }, + { + "value": "person-burst", + "keywords": [ + "person", + "burst" + ] + }, + { + "value": "person-cane", + "keywords": [ + "person", + "cane" + ] + }, + { + "value": "person-chalkboard", + "keywords": [ + "person", + "chalkboard" + ] + }, + { + "value": "person-circle-check", + "keywords": [ + "person", + "circle", + "check" + ] + }, + { + "value": "person-circle-exclamation", + "keywords": [ + "person", + "circle", + "exclamation" + ] + }, + { + "value": "person-circle-minus", + "keywords": [ + "person", + "circle", + "minus" + ] + }, + { + "value": "person-circle-plus", + "keywords": [ + "person", + "circle", + "plus" + ] + }, + { + "value": "person-circle-question", + "keywords": [ + "person", + "circle", + "question" + ] + }, + { + "value": "person-circle-xmark", + "keywords": [ + "person", + "circle", + "xmark" + ] + }, + { + "value": "person-digging", + "keywords": [ + "person", + "digging" + ] + }, + { + "value": "person-dots-from-line", + "keywords": [ + "person", + "dots", + "from", + "line" + ] + }, + { + "value": "person-dress", + "keywords": [ + "person", + "dress" + ] + }, + { + "value": "person-dress-burst", + "keywords": [ + "person", + "dress", + "burst" + ] + }, + { + "value": "person-drowning", + "keywords": [ + "person", + "drowning" + ] + }, + { + "value": "person-falling", + "keywords": [ + "person", + "falling" + ] + }, + { + "value": "person-falling-burst", + "keywords": [ + "person", + "falling", + "burst" + ] + }, + { + "value": "person-half-dress", + "keywords": [ + "person", + "half", + "dress" + ] + }, + { + "value": "person-harassing", + "keywords": [ + "person", + "harassing" + ] + }, + { + "value": "person-hiking", + "keywords": [ + "person", + "hiking" + ] + }, + { + "value": "person-military-pointing", + "keywords": [ + "person", + "military", + "pointing" + ] + }, + { + "value": "person-military-rifle", + "keywords": [ + "person", + "military", + "rifle" + ] + }, + { + "value": "person-military-to-person", + "keywords": [ + "person", + "military", + "to", + "person" + ] + }, + { + "value": "person-praying", + "keywords": [ + "person", + "praying" + ] + }, + { + "value": "person-pregnant", + "keywords": [ + "person", + "pregnant" + ] + }, + { + "value": "person-rays", + "keywords": [ + "person", + "rays" + ] + }, + { + "value": "person-rifle", + "keywords": [ + "person", + "rifle" + ] + }, + { + "value": "person-running", + "keywords": [ + "person", + "running" + ] + }, + { + "value": "person-shelter", + "keywords": [ + "person", + "shelter" + ] + }, + { + "value": "person-skating", + "keywords": [ + "person", + "skating" + ] + }, + { + "value": "person-skiing", + "keywords": [ + "person", + "skiing" + ] + }, + { + "value": "person-skiing-nordic", + "keywords": [ + "person", + "skiing", + "nordic" + ] + }, + { + "value": "person-snowboarding", + "keywords": [ + "person", + "snowboarding" + ] + }, + { + "value": "person-swimming", + "keywords": [ + "person", + "swimming" + ] + }, + { + "value": "person-through-window", + "keywords": [ + "person", + "through", + "window" + ] + }, + { + "value": "person-walking", + "keywords": [ + "person", + "walking" + ] + }, + { + "value": "person-walking-arrow-loop-left", + "keywords": [ + "person", + "walking", + "arrow", + "loop", + "left" + ] + }, + { + "value": "person-walking-arrow-right", + "keywords": [ + "person", + "walking", + "arrow", + "right" + ] + }, + { + "value": "person-walking-dashed-line-arrow-right", + "keywords": [ + "person", + "walking", + "dashed", + "line", + "arrow", + "right" + ] + }, + { + "value": "person-walking-luggage", + "keywords": [ + "person", + "walking", + "luggage" + ] + }, + { + "value": "person-walking-with-cane", + "keywords": [ + "person", + "walking", + "with", + "cane" + ] + }, + { + "value": "peseta-sign", + "keywords": [ + "peseta", + "sign" + ] + }, + { + "value": "peso-sign", + "keywords": [ + "peso", + "sign" + ] + }, + { + "value": "phone" + }, + { + "value": "phone-flip", + "keywords": [ + "phone", + "flip" + ] + }, + { + "value": "phone-slash", + "keywords": [ + "phone", + "slash" + ] + }, + { + "value": "phone-volume", + "keywords": [ + "phone", + "volume" + ] + }, + { + "value": "photo-film", + "keywords": [ + "photo", + "film" + ] + }, + { + "value": "piggy-bank", + "keywords": [ + "piggy", + "bank" + ] + }, + { + "value": "pills" + }, + { + "value": "pizza-slice", + "keywords": [ + "pizza", + "slice" + ] + }, + { + "value": "place-of-worship", + "keywords": [ + "place", + "of", + "worship" + ] + }, + { + "value": "plane" + }, + { + "value": "plane-arrival", + "keywords": [ + "plane", + "arrival" + ] + }, + { + "value": "plane-circle-check", + "keywords": [ + "plane", + "circle", + "check" + ] + }, + { + "value": "plane-circle-exclamation", + "keywords": [ + "plane", + "circle", + "exclamation" + ] + }, + { + "value": "plane-circle-xmark", + "keywords": [ + "plane", + "circle", + "xmark" + ] + }, + { + "value": "plane-departure", + "keywords": [ + "plane", + "departure" + ] + }, + { + "value": "plane-lock", + "keywords": [ + "plane", + "lock" + ] + }, + { + "value": "plane-slash", + "keywords": [ + "plane", + "slash" + ] + }, + { + "value": "plane-up", + "keywords": [ + "plane", + "up" + ] + }, + { + "value": "plant-wilt", + "keywords": [ + "plant", + "wilt" + ] + }, + { + "value": "plate-wheat", + "keywords": [ + "plate", + "wheat" + ] + }, + { + "value": "play" + }, + { + "value": "plug" + }, + { + "value": "plug-circle-bolt", + "keywords": [ + "plug", + "circle", + "bolt" + ] + }, + { + "value": "plug-circle-check", + "keywords": [ + "plug", + "circle", + "check" + ] + }, + { + "value": "plug-circle-exclamation", + "keywords": [ + "plug", + "circle", + "exclamation" + ] + }, + { + "value": "plug-circle-minus", + "keywords": [ + "plug", + "circle", + "minus" + ] + }, + { + "value": "plug-circle-plus", + "keywords": [ + "plug", + "circle", + "plus" + ] + }, + { + "value": "plug-circle-xmark", + "keywords": [ + "plug", + "circle", + "xmark" + ] + }, + { + "value": "plus" + }, + { + "value": "plus-minus", + "keywords": [ + "plus", + "minus" + ] + }, + { + "value": "podcast" + }, + { + "value": "poo" + }, + { + "value": "poo-storm", + "keywords": [ + "poo", + "storm" + ] + }, + { + "value": "poop" + }, + { + "value": "power-off", + "keywords": [ + "power", + "off" + ] + }, + { + "value": "prescription" + }, + { + "value": "prescription-bottle", + "keywords": [ + "prescription", + "bottle" + ] + }, + { + "value": "prescription-bottle-medical", + "keywords": [ + "prescription", + "bottle", + "medical" + ] + }, + { + "value": "print" + }, + { + "value": "pump-medical", + "keywords": [ + "pump", + "medical" + ] + }, + { + "value": "pump-soap", + "keywords": [ + "pump", + "soap" + ] + }, + { + "value": "puzzle-piece", + "keywords": [ + "puzzle", + "piece" + ] + }, + { + "value": "q" + }, + { + "value": "qrcode" + }, + { + "value": "question" + }, + { + "value": "quote-left", + "keywords": [ + "quote", + "left" + ] + }, + { + "value": "quote-right", + "keywords": [ + "quote", + "right" + ] + }, + { + "value": "r" + }, + { + "value": "radiation" + }, + { + "value": "radio" + }, + { + "value": "rainbow" + }, + { + "value": "ranking-star", + "keywords": [ + "ranking", + "star" + ] + }, + { + "value": "receipt" + }, + { + "value": "record-vinyl", + "keywords": [ + "record", + "vinyl" + ] + }, + { + "value": "rectangle-ad", + "keywords": [ + "rectangle", + "ad" + ] + }, + { + "value": "rectangle-list", + "keywords": [ + "rectangle", + "list" + ] + }, + { + "value": "rectangle-xmark", + "keywords": [ + "rectangle", + "xmark" + ] + }, + { + "value": "recycle" + }, + { + "value": "registered" + }, + { + "value": "repeat" + }, + { + "value": "reply" + }, + { + "value": "reply-all", + "keywords": [ + "reply", + "all" + ] + }, + { + "value": "republican" + }, + { + "value": "restroom" + }, + { + "value": "retweet" + }, + { + "value": "ribbon" + }, + { + "value": "right-from-bracket", + "keywords": [ + "right", + "from", + "bracket" + ] + }, + { + "value": "right-left", + "keywords": [ + "right", + "left" + ] + }, + { + "value": "right-long", + "keywords": [ + "right", + "long" + ] + }, + { + "value": "right-to-bracket", + "keywords": [ + "right", + "to", + "bracket" + ] + }, + { + "value": "ring" + }, + { + "value": "road" + }, + { + "value": "road-barrier", + "keywords": [ + "road", + "barrier" + ] + }, + { + "value": "road-bridge", + "keywords": [ + "road", + "bridge" + ] + }, + { + "value": "road-circle-check", + "keywords": [ + "road", + "circle", + "check" + ] + }, + { + "value": "road-circle-exclamation", + "keywords": [ + "road", + "circle", + "exclamation" + ] + }, + { + "value": "road-circle-xmark", + "keywords": [ + "road", + "circle", + "xmark" + ] + }, + { + "value": "road-lock", + "keywords": [ + "road", + "lock" + ] + }, + { + "value": "road-spikes", + "keywords": [ + "road", + "spikes" + ] + }, + { + "value": "robot" + }, + { + "value": "rocket" + }, + { + "value": "rotate" + }, + { + "value": "rotate-left", + "keywords": [ + "rotate", + "left" + ] + }, + { + "value": "rotate-right", + "keywords": [ + "rotate", + "right" + ] + }, + { + "value": "route" + }, + { + "value": "rss" + }, + { + "value": "ruble-sign", + "keywords": [ + "ruble", + "sign" + ] + }, + { + "value": "rug" + }, + { + "value": "ruler" + }, + { + "value": "ruler-combined", + "keywords": [ + "ruler", + "combined" + ] + }, + { + "value": "ruler-horizontal", + "keywords": [ + "ruler", + "horizontal" + ] + }, + { + "value": "ruler-vertical", + "keywords": [ + "ruler", + "vertical" + ] + }, + { + "value": "rupee-sign", + "keywords": [ + "rupee", + "sign" + ] + }, + { + "value": "rupiah-sign", + "keywords": [ + "rupiah", + "sign" + ] + }, + { + "value": "s" + }, + { + "value": "sack-dollar", + "keywords": [ + "sack", + "dollar" + ] + }, + { + "value": "sack-xmark", + "keywords": [ + "sack", + "xmark" + ] + }, + { + "value": "sailboat" + }, + { + "value": "satellite" + }, + { + "value": "satellite-dish", + "keywords": [ + "satellite", + "dish" + ] + }, + { + "value": "scale-balanced", + "keywords": [ + "scale", + "balanced" + ] + }, + { + "value": "scale-unbalanced", + "keywords": [ + "scale", + "unbalanced" + ] + }, + { + "value": "scale-unbalanced-flip", + "keywords": [ + "scale", + "unbalanced", + "flip" + ] + }, + { + "value": "school" + }, + { + "value": "school-circle-check", + "keywords": [ + "school", + "circle", + "check" + ] + }, + { + "value": "school-circle-exclamation", + "keywords": [ + "school", + "circle", + "exclamation" + ] + }, + { + "value": "school-circle-xmark", + "keywords": [ + "school", + "circle", + "xmark" + ] + }, + { + "value": "school-flag", + "keywords": [ + "school", + "flag" + ] + }, + { + "value": "school-lock", + "keywords": [ + "school", + "lock" + ] + }, + { + "value": "scissors" + }, + { + "value": "screwdriver" + }, + { + "value": "screwdriver-wrench", + "keywords": [ + "screwdriver", + "wrench" + ] + }, + { + "value": "scroll" + }, + { + "value": "scroll-torah", + "keywords": [ + "scroll", + "torah" + ] + }, + { + "value": "sd-card", + "keywords": [ + "sd", + "card" + ] + }, + { + "value": "section" + }, + { + "value": "seedling" + }, + { + "value": "server" + }, + { + "value": "shapes" + }, + { + "value": "share" + }, + { + "value": "share-from-square", + "keywords": [ + "share", + "from", + "square" + ] + }, + { + "value": "share-nodes", + "keywords": [ + "share", + "nodes" + ] + }, + { + "value": "sheet-plastic", + "keywords": [ + "sheet", + "plastic" + ] + }, + { + "value": "shekel-sign", + "keywords": [ + "shekel", + "sign" + ] + }, + { + "value": "shield" + }, + { + "value": "shield-cat", + "keywords": [ + "shield", + "cat" + ] + }, + { + "value": "shield-dog", + "keywords": [ + "shield", + "dog" + ] + }, + { + "value": "shield-halved", + "keywords": [ + "shield", + "halved" + ] + }, + { + "value": "shield-heart", + "keywords": [ + "shield", + "heart" + ] + }, + { + "value": "shield-virus", + "keywords": [ + "shield", + "virus" + ] + }, + { + "value": "ship" + }, + { + "value": "shirt" + }, + { + "value": "shoe-prints", + "keywords": [ + "shoe", + "prints" + ] + }, + { + "value": "shop" + }, + { + "value": "shop-lock", + "keywords": [ + "shop", + "lock" + ] + }, + { + "value": "shop-slash", + "keywords": [ + "shop", + "slash" + ] + }, + { + "value": "shower" + }, + { + "value": "shrimp" + }, + { + "value": "shuffle" + }, + { + "value": "shuttle-space", + "keywords": [ + "shuttle", + "space" + ] + }, + { + "value": "sign-hanging", + "keywords": [ + "sign", + "hanging" + ] + }, + { + "value": "signal" + }, + { + "value": "signature" + }, + { + "value": "signs-post", + "keywords": [ + "signs", + "post" + ] + }, + { + "value": "sim-card", + "keywords": [ + "sim", + "card" + ] + }, + { + "value": "sink" + }, + { + "value": "sitemap" + }, + { + "value": "skull" + }, + { + "value": "skull-crossbones", + "keywords": [ + "skull", + "crossbones" + ] + }, + { + "value": "slash" + }, + { + "value": "sleigh" + }, + { + "value": "sliders" + }, + { + "value": "smog" + }, + { + "value": "smoking" + }, + { + "value": "snowflake" + }, + { + "value": "snowman" + }, + { + "value": "snowplow" + }, + { + "value": "soap" + }, + { + "value": "socks" + }, + { + "value": "solar-panel", + "keywords": [ + "solar", + "panel" + ] + }, + { + "value": "sort" + }, + { + "value": "sort-down", + "keywords": [ + "sort", + "down" + ] + }, + { + "value": "sort-up", + "keywords": [ + "sort", + "up" + ] + }, + { + "value": "spa" + }, + { + "value": "spaghetti-monster-flying", + "keywords": [ + "spaghetti", + "monster", + "flying" + ] + }, + { + "value": "spell-check", + "keywords": [ + "spell", + "check" + ] + }, + { + "value": "spider" + }, + { + "value": "spinner" + }, + { + "value": "splotch" + }, + { + "value": "spoon" + }, + { + "value": "spray-can", + "keywords": [ + "spray", + "can" + ] + }, + { + "value": "spray-can-sparkles", + "keywords": [ + "spray", + "can", + "sparkles" + ] + }, + { + "value": "square" + }, + { + "value": "square-arrow-up-right", + "keywords": [ + "square", + "arrow", + "up", + "right" + ] + }, + { + "value": "square-caret-down", + "keywords": [ + "square", + "caret", + "down" + ] + }, + { + "value": "square-caret-left", + "keywords": [ + "square", + "caret", + "left" + ] + }, + { + "value": "square-caret-right", + "keywords": [ + "square", + "caret", + "right" + ] + }, + { + "value": "square-caret-up", + "keywords": [ + "square", + "caret", + "up" + ] + }, + { + "value": "square-check", + "keywords": [ + "square", + "check" + ] + }, + { + "value": "square-envelope", + "keywords": [ + "square", + "envelope" + ] + }, + { + "value": "square-full", + "keywords": [ + "square", + "full" + ] + }, + { + "value": "square-h" + }, + { + "value": "square-minus", + "keywords": [ + "square", + "minus" + ] + }, + { + "value": "square-nfi", + "keywords": [ + "square", + "nfi" + ] + }, + { + "value": "square-parking", + "keywords": [ + "square", + "parking" + ] + }, + { + "value": "square-pen", + "keywords": [ + "square", + "pen" + ] + }, + { + "value": "square-person-confined", + "keywords": [ + "square", + "person", + "confined" + ] + }, + { + "value": "square-phone", + "keywords": [ + "square", + "phone" + ] + }, + { + "value": "square-phone-flip", + "keywords": [ + "square", + "phone", + "flip" + ] + }, + { + "value": "square-plus", + "keywords": [ + "square", + "plus" + ] + }, + { + "value": "square-poll-horizontal", + "keywords": [ + "square", + "poll", + "horizontal" + ] + }, + { + "value": "square-poll-vertical", + "keywords": [ + "square", + "poll", + "vertical" + ] + }, + { + "value": "square-root-variable", + "keywords": [ + "square", + "root", + "variable" + ] + }, + { + "value": "square-rss", + "keywords": [ + "square", + "rss" + ] + }, + { + "value": "square-share-nodes", + "keywords": [ + "square", + "share", + "nodes" + ] + }, + { + "value": "square-up-right", + "keywords": [ + "square", + "up", + "right" + ] + }, + { + "value": "square-virus", + "keywords": [ + "square", + "virus" + ] + }, + { + "value": "square-xmark", + "keywords": [ + "square", + "xmark" + ] + }, + { + "value": "staff-snake", + "keywords": [ + "staff", + "snake" + ] + }, + { + "value": "stairs" + }, + { + "value": "stamp" + }, + { + "value": "stapler" + }, + { + "value": "star" + }, + { + "value": "star-and-crescent", + "keywords": [ + "star", + "and", + "crescent" + ] + }, + { + "value": "star-half", + "keywords": [ + "star", + "half" + ] + }, + { + "value": "star-half-stroke", + "keywords": [ + "star", + "half", + "stroke" + ] + }, + { + "value": "star-of-david", + "keywords": [ + "star", + "of", + "david" + ] + }, + { + "value": "star-of-life", + "keywords": [ + "star", + "of", + "life" + ] + }, + { + "value": "sterling-sign", + "keywords": [ + "sterling", + "sign" + ] + }, + { + "value": "stethoscope" + }, + { + "value": "stop" + }, + { + "value": "stopwatch" + }, + { + "value": "stopwatch-20", + "keywords": [ + "stopwatch", + "20" + ] + }, + { + "value": "store" + }, + { + "value": "store-slash", + "keywords": [ + "store", + "slash" + ] + }, + { + "value": "street-view", + "keywords": [ + "street", + "view" + ] + }, + { + "value": "strikethrough" + }, + { + "value": "stroopwafel" + }, + { + "value": "subscript" + }, + { + "value": "suitcase" + }, + { + "value": "suitcase-medical", + "keywords": [ + "suitcase", + "medical" + ] + }, + { + "value": "suitcase-rolling", + "keywords": [ + "suitcase", + "rolling" + ] + }, + { + "value": "sun" + }, + { + "value": "sun-plant-wilt", + "keywords": [ + "sun", + "plant", + "wilt" + ] + }, + { + "value": "superscript" + }, + { + "value": "swatchbook" + }, + { + "value": "synagogue" + }, + { + "value": "syringe" + }, + { + "value": "t" + }, + { + "value": "table" + }, + { + "value": "table-cells", + "keywords": [ + "table", + "cells" + ] + }, + { + "value": "table-cells-large", + "keywords": [ + "table", + "cells", + "large" + ] + }, + { + "value": "table-columns", + "keywords": [ + "table", + "columns" + ] + }, + { + "value": "table-list", + "keywords": [ + "table", + "list" + ] + }, + { + "value": "table-tennis-paddle-ball", + "keywords": [ + "table", + "tennis", + "paddle", + "ball" + ] + }, + { + "value": "tablet" + }, + { + "value": "tablet-button", + "keywords": [ + "tablet", + "button" + ] + }, + { + "value": "tablet-screen-button", + "keywords": [ + "tablet", + "screen", + "button" + ] + }, + { + "value": "tablets" + }, + { + "value": "tachograph-digital", + "keywords": [ + "tachograph", + "digital" + ] + }, + { + "value": "tag" + }, + { + "value": "tags" + }, + { + "value": "tape" + }, + { + "value": "tarp" + }, + { + "value": "tarp-droplet", + "keywords": [ + "tarp", + "droplet" + ] + }, + { + "value": "taxi" + }, + { + "value": "teeth" + }, + { + "value": "teeth-open", + "keywords": [ + "teeth", + "open" + ] + }, + { + "value": "temperature-arrow-down", + "keywords": [ + "temperature", + "arrow", + "down" + ] + }, + { + "value": "temperature-arrow-up", + "keywords": [ + "temperature", + "arrow", + "up" + ] + }, + { + "value": "temperature-empty", + "keywords": [ + "temperature", + "empty" + ] + }, + { + "value": "temperature-full", + "keywords": [ + "temperature", + "full" + ] + }, + { + "value": "temperature-half", + "keywords": [ + "temperature", + "half" + ] + }, + { + "value": "temperature-high", + "keywords": [ + "temperature", + "high" + ] + }, + { + "value": "temperature-low", + "keywords": [ + "temperature", + "low" + ] + }, + { + "value": "temperature-quarter", + "keywords": [ + "temperature", + "quarter" + ] + }, + { + "value": "temperature-three-quarters", + "keywords": [ + "temperature", + "three", + "quarters" + ] + }, + { + "value": "tenge-sign", + "keywords": [ + "tenge", + "sign" + ] + }, + { + "value": "tent" + }, + { + "value": "tent-arrow-down-to-line", + "keywords": [ + "tent", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "tent-arrow-left-right", + "keywords": [ + "tent", + "arrow", + "left", + "right" + ] + }, + { + "value": "tent-arrow-turn-left", + "keywords": [ + "tent", + "arrow", + "turn", + "left" + ] + }, + { + "value": "tent-arrows-down", + "keywords": [ + "tent", + "arrows", + "down" + ] + }, + { + "value": "tents" + }, + { + "value": "terminal" + }, + { + "value": "text-height", + "keywords": [ + "text", + "height" + ] + }, + { + "value": "text-slash", + "keywords": [ + "text", + "slash" + ] + }, + { + "value": "text-width", + "keywords": [ + "text", + "width" + ] + }, + { + "value": "thermometer" + }, + { + "value": "thumbs-down", + "keywords": [ + "thumbs", + "down" + ] + }, + { + "value": "thumbs-up", + "keywords": [ + "thumbs", + "up" + ] + }, + { + "value": "thumbtack" + }, + { + "value": "ticket" + }, + { + "value": "ticket-simple", + "keywords": [ + "ticket", + "simple" + ] + }, + { + "value": "timeline" + }, + { + "value": "toggle-off", + "keywords": [ + "toggle", + "off" + ] + }, + { + "value": "toggle-on", + "keywords": [ + "toggle", + "on" + ] + }, + { + "value": "toilet" + }, + { + "value": "toilet-paper", + "keywords": [ + "toilet", + "paper" + ] + }, + { + "value": "toilet-paper-slash", + "keywords": [ + "toilet", + "paper", + "slash" + ] + }, + { + "value": "toilet-portable", + "keywords": [ + "toilet", + "portable" + ] + }, + { + "value": "toilets-portable", + "keywords": [ + "toilets", + "portable" + ] + }, + { + "value": "toolbox" + }, + { + "value": "tooth" + }, + { + "value": "torii-gate", + "keywords": [ + "torii", + "gate" + ] + }, + { + "value": "tornado" + }, + { + "value": "tower-broadcast", + "keywords": [ + "tower", + "broadcast" + ] + }, + { + "value": "tower-cell", + "keywords": [ + "tower", + "cell" + ] + }, + { + "value": "tower-observation", + "keywords": [ + "tower", + "observation" + ] + }, + { + "value": "tractor" + }, + { + "value": "trademark" + }, + { + "value": "traffic-light", + "keywords": [ + "traffic", + "light" + ] + }, + { + "value": "trailer" + }, + { + "value": "train" + }, + { + "value": "train-subway", + "keywords": [ + "train", + "subway" + ] + }, + { + "value": "train-tram", + "keywords": [ + "train", + "tram" + ] + }, + { + "value": "transgender" + }, + { + "value": "trash" + }, + { + "value": "trash-arrow-up", + "keywords": [ + "trash", + "arrow", + "up" + ] + }, + { + "value": "trash-can", + "keywords": [ + "trash", + "can" + ] + }, + { + "value": "trash-can-arrow-up", + "keywords": [ + "trash", + "can", + "arrow", + "up" + ] + }, + { + "value": "tree" + }, + { + "value": "tree-city", + "keywords": [ + "tree", + "city" + ] + }, + { + "value": "triangle-exclamation", + "keywords": [ + "triangle", + "exclamation" + ] + }, + { + "value": "trophy" + }, + { + "value": "trowel" + }, + { + "value": "trowel-bricks", + "keywords": [ + "trowel", + "bricks" + ] + }, + { + "value": "truck" + }, + { + "value": "truck-arrow-right", + "keywords": [ + "truck", + "arrow", + "right" + ] + }, + { + "value": "truck-droplet", + "keywords": [ + "truck", + "droplet" + ] + }, + { + "value": "truck-fast", + "keywords": [ + "truck", + "fast" + ] + }, + { + "value": "truck-field", + "keywords": [ + "truck", + "field" + ] + }, + { + "value": "truck-field-un", + "keywords": [ + "truck", + "field", + "un" + ] + }, + { + "value": "truck-front", + "keywords": [ + "truck", + "front" + ] + }, + { + "value": "truck-medical", + "keywords": [ + "truck", + "medical" + ] + }, + { + "value": "truck-monster", + "keywords": [ + "truck", + "monster" + ] + }, + { + "value": "truck-moving", + "keywords": [ + "truck", + "moving" + ] + }, + { + "value": "truck-pickup", + "keywords": [ + "truck", + "pickup" + ] + }, + { + "value": "truck-plane", + "keywords": [ + "truck", + "plane" + ] + }, + { + "value": "truck-ramp-box", + "keywords": [ + "truck", + "ramp", + "box" + ] + }, + { + "value": "tty" + }, + { + "value": "turkish-lira-sign", + "keywords": [ + "turkish", + "lira", + "sign" + ] + }, + { + "value": "turn-down", + "keywords": [ + "turn", + "down" + ] + }, + { + "value": "turn-up", + "keywords": [ + "turn", + "up" + ] + }, + { + "value": "tv" + }, + { + "value": "u" + }, + { + "value": "umbrella" + }, + { + "value": "umbrella-beach", + "keywords": [ + "umbrella", + "beach" + ] + }, + { + "value": "underline" + }, + { + "value": "universal-access", + "keywords": [ + "universal", + "access" + ] + }, + { + "value": "unlock" + }, + { + "value": "unlock-keyhole", + "keywords": [ + "unlock", + "keyhole" + ] + }, + { + "value": "up-down", + "keywords": [ + "up", + "down" + ] + }, + { + "value": "up-down-left-right", + "keywords": [ + "up", + "down", + "left", + "right" + ] + }, + { + "value": "up-long", + "keywords": [ + "up", + "long" + ] + }, + { + "value": "up-right-and-down-left-from-center", + "keywords": [ + "up", + "right", + "and", + "down", + "left", + "from", + "center" + ] + }, + { + "value": "up-right-from-square", + "keywords": [ + "up", + "right", + "from", + "square" + ] + }, + { + "value": "upload" + }, + { + "value": "user" + }, + { + "value": "user-astronaut", + "keywords": [ + "user", + "astronaut" + ] + }, + { + "value": "user-check", + "keywords": [ + "user", + "check" + ] + }, + { + "value": "user-clock", + "keywords": [ + "user", + "clock" + ] + }, + { + "value": "user-doctor", + "keywords": [ + "user", + "doctor" + ] + }, + { + "value": "user-gear", + "keywords": [ + "user", + "gear" + ] + }, + { + "value": "user-graduate", + "keywords": [ + "user", + "graduate" + ] + }, + { + "value": "user-group", + "keywords": [ + "user", + "group" + ] + }, + { + "value": "user-injured", + "keywords": [ + "user", + "injured" + ] + }, + { + "value": "user-large", + "keywords": [ + "user", + "large" + ] + }, + { + "value": "user-large-slash", + "keywords": [ + "user", + "large", + "slash" + ] + }, + { + "value": "user-lock", + "keywords": [ + "user", + "lock" + ] + }, + { + "value": "user-minus", + "keywords": [ + "user", + "minus" + ] + }, + { + "value": "user-ninja", + "keywords": [ + "user", + "ninja" + ] + }, + { + "value": "user-nurse", + "keywords": [ + "user", + "nurse" + ] + }, + { + "value": "user-pen", + "keywords": [ + "user", + "pen" + ] + }, + { + "value": "user-plus", + "keywords": [ + "user", + "plus" + ] + }, + { + "value": "user-secret", + "keywords": [ + "user", + "secret" + ] + }, + { + "value": "user-shield", + "keywords": [ + "user", + "shield" + ] + }, + { + "value": "user-slash", + "keywords": [ + "user", + "slash" + ] + }, + { + "value": "user-tag", + "keywords": [ + "user", + "tag" + ] + }, + { + "value": "user-tie", + "keywords": [ + "user", + "tie" + ] + }, + { + "value": "user-xmark", + "keywords": [ + "user", + "xmark" + ] + }, + { + "value": "users" + }, + { + "value": "users-between-lines", + "keywords": [ + "users", + "between", + "lines" + ] + }, + { + "value": "users-gear", + "keywords": [ + "users", + "gear" + ] + }, + { + "value": "users-line", + "keywords": [ + "users", + "line" + ] + }, + { + "value": "users-rays", + "keywords": [ + "users", + "rays" + ] + }, + { + "value": "users-rectangle", + "keywords": [ + "users", + "rectangle" + ] + }, + { + "value": "users-slash", + "keywords": [ + "users", + "slash" + ] + }, + { + "value": "users-viewfinder", + "keywords": [ + "users", + "viewfinder" + ] + }, + { + "value": "utensils" + }, + { + "value": "v" + }, + { + "value": "van-shuttle", + "keywords": [ + "van", + "shuttle" + ] + }, + { + "value": "vault" + }, + { + "value": "vector-square", + "keywords": [ + "vector", + "square" + ] + }, + { + "value": "venus" + }, + { + "value": "venus-double", + "keywords": [ + "venus", + "double" + ] + }, + { + "value": "venus-mars", + "keywords": [ + "venus", + "mars" + ] + }, + { + "value": "vest" + }, + { + "value": "vest-patches", + "keywords": [ + "vest", + "patches" + ] + }, + { + "value": "vial" + }, + { + "value": "vial-circle-check", + "keywords": [ + "vial", + "circle", + "check" + ] + }, + { + "value": "vial-virus", + "keywords": [ + "vial", + "virus" + ] + }, + { + "value": "vials" + }, + { + "value": "video" + }, + { + "value": "video-slash", + "keywords": [ + "video", + "slash" + ] + }, + { + "value": "vihara" + }, + { + "value": "virus" + }, + { + "value": "virus-covid", + "keywords": [ + "virus", + "covid" + ] + }, + { + "value": "virus-covid-slash", + "keywords": [ + "virus", + "covid", + "slash" + ] + }, + { + "value": "virus-slash", + "keywords": [ + "virus", + "slash" + ] + }, + { + "value": "viruses" + }, + { + "value": "voicemail" + }, + { + "value": "volcano" + }, + { + "value": "volleyball" + }, + { + "value": "volume-high", + "keywords": [ + "volume", + "high" + ] + }, + { + "value": "volume-low", + "keywords": [ + "volume", + "low" + ] + }, + { + "value": "volume-off", + "keywords": [ + "volume", + "off" + ] + }, + { + "value": "volume-xmark", + "keywords": [ + "volume", + "xmark" + ] + }, + { + "value": "vr-cardboard", + "keywords": [ + "vr", + "cardboard" + ] + }, + { + "value": "w" + }, + { + "value": "walkie-talkie", + "keywords": [ + "walkie", + "talkie" + ] + }, + { + "value": "wallet" + }, + { + "value": "wand-magic", + "keywords": [ + "wand", + "magic" + ] + }, + { + "value": "wand-magic-sparkles", + "keywords": [ + "wand", + "magic", + "sparkles" + ] + }, + { + "value": "wand-sparkles", + "keywords": [ + "wand", + "sparkles" + ] + }, + { + "value": "warehouse" + }, + { + "value": "water" + }, + { + "value": "water-ladder", + "keywords": [ + "water", + "ladder" + ] + }, + { + "value": "wave-square", + "keywords": [ + "wave", + "square" + ] + }, + { + "value": "weight-hanging", + "keywords": [ + "weight", + "hanging" + ] + }, + { + "value": "weight-scale", + "keywords": [ + "weight", + "scale" + ] + }, + { + "value": "wheat-awn", + "keywords": [ + "wheat", + "awn" + ] + }, + { + "value": "wheat-awn-circle-exclamation", + "keywords": [ + "wheat", + "awn", + "circle", + "exclamation" + ] + }, + { + "value": "wheelchair" + }, + { + "value": "wheelchair-move", + "keywords": [ + "wheelchair", + "move" + ] + }, + { + "value": "whiskey-glass", + "keywords": [ + "whiskey", + "glass" + ] + }, + { + "value": "wifi" + }, + { + "value": "wind" + }, + { + "value": "window-maximize", + "keywords": [ + "window", + "maximize" + ] + }, + { + "value": "window-minimize", + "keywords": [ + "window", + "minimize" + ] + }, + { + "value": "window-restore", + "keywords": [ + "window", + "restore" + ] + }, + { + "value": "wine-bottle", + "keywords": [ + "wine", + "bottle" + ] + }, + { + "value": "wine-glass", + "keywords": [ + "wine", + "glass" + ] + }, + { + "value": "wine-glass-empty", + "keywords": [ + "wine", + "glass", + "empty" + ] + }, + { + "value": "won-sign", + "keywords": [ + "won", + "sign" + ] + }, + { + "value": "worm" + }, + { + "value": "wrench" + }, + { + "value": "x" + }, + { + "value": "x-ray" + }, + { + "value": "xmark" + }, + { + "value": "xmarks-lines", + "keywords": [ + "xmarks", + "lines" + ] + }, + { + "value": "y" + }, + { + "value": "yen-sign", + "keywords": [ + "yen", + "sign" + ] + }, + { + "value": "yin-yang", + "keywords": [ + "yin", + "yang" + ] + }, + { + "value": "z" + } + ] + }, + "alertType": { + "label": "$t:editor.control.alert_type.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "type" + }, + "options": [ + { + "value": "info", + "label": "$t:editor.control.alert_type.info" + }, + { + "value": "success", + "label": "$t:editor.control.alert_type.success" + }, + { + "value": "warning", + "label": "$t:editor.control.alert_type.warning" + }, + { + "value": "error", + "label": "$t:editor.control.alert_type.error" + } + ] + }, + "alertMessage": { + "label": "$t:editor.control.alert_message.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "message" + } + }, + "alertDismissible": { + "label": "$t:editor.control.alert_dismissible.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "dismissible" + } + }, + "esTitle": { + "label": "$t:editor.control.es_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "title" + } + }, + "esDesc": { + "label": "$t:editor.control.es_desc.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "description" + } + }, + "esIconName": { + "label": "$t:editor.control.es_icon_name.label", + "widget": "icon-picker", + "apply": { + "type": "propValue", + "propKey": "iconName" + }, + "iconColumns": 8, + "icons": [ + { + "value": "0" + }, + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + }, + { + "value": "4" + }, + { + "value": "5" + }, + { + "value": "6" + }, + { + "value": "7" + }, + { + "value": "8" + }, + { + "value": "9" + }, + { + "value": "a" + }, + { + "value": "address-book", + "keywords": [ + "address", + "book" + ] + }, + { + "value": "address-card", + "keywords": [ + "address", + "card" + ] + }, + { + "value": "align-center", + "keywords": [ + "align", + "center" + ] + }, + { + "value": "align-justify", + "keywords": [ + "align", + "justify" + ] + }, + { + "value": "align-left", + "keywords": [ + "align", + "left" + ] + }, + { + "value": "align-right", + "keywords": [ + "align", + "right" + ] + }, + { + "value": "anchor" + }, + { + "value": "anchor-circle-check", + "keywords": [ + "anchor", + "circle", + "check" + ] + }, + { + "value": "anchor-circle-exclamation", + "keywords": [ + "anchor", + "circle", + "exclamation" + ] + }, + { + "value": "anchor-circle-xmark", + "keywords": [ + "anchor", + "circle", + "xmark" + ] + }, + { + "value": "anchor-lock", + "keywords": [ + "anchor", + "lock" + ] + }, + { + "value": "angle-down", + "keywords": [ + "angle", + "down" + ] + }, + { + "value": "angle-left", + "keywords": [ + "angle", + "left" + ] + }, + { + "value": "angle-right", + "keywords": [ + "angle", + "right" + ] + }, + { + "value": "angle-up", + "keywords": [ + "angle", + "up" + ] + }, + { + "value": "angles-down", + "keywords": [ + "angles", + "down" + ] + }, + { + "value": "angles-left", + "keywords": [ + "angles", + "left" + ] + }, + { + "value": "angles-right", + "keywords": [ + "angles", + "right" + ] + }, + { + "value": "angles-up", + "keywords": [ + "angles", + "up" + ] + }, + { + "value": "ankh" + }, + { + "value": "apple-whole", + "keywords": [ + "apple", + "whole" + ] + }, + { + "value": "archway" + }, + { + "value": "arrow-down", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-1-9", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-9-1", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-a-z", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-long", + "keywords": [ + "arrow", + "down", + "long" + ] + }, + { + "value": "arrow-down-short-wide", + "keywords": [ + "arrow", + "down", + "short", + "wide" + ] + }, + { + "value": "arrow-down-up-across-line", + "keywords": [ + "arrow", + "down", + "up", + "across", + "line" + ] + }, + { + "value": "arrow-down-up-lock", + "keywords": [ + "arrow", + "down", + "up", + "lock" + ] + }, + { + "value": "arrow-down-wide-short", + "keywords": [ + "arrow", + "down", + "wide", + "short" + ] + }, + { + "value": "arrow-down-z-a", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-left", + "keywords": [ + "arrow", + "left" + ] + }, + { + "value": "arrow-left-long", + "keywords": [ + "arrow", + "left", + "long" + ] + }, + { + "value": "arrow-pointer", + "keywords": [ + "arrow", + "pointer" + ] + }, + { + "value": "arrow-right", + "keywords": [ + "arrow", + "right" + ] + }, + { + "value": "arrow-right-arrow-left", + "keywords": [ + "arrow", + "right", + "arrow", + "left" + ] + }, + { + "value": "arrow-right-from-bracket", + "keywords": [ + "arrow", + "right", + "from", + "bracket" + ] + }, + { + "value": "arrow-right-long", + "keywords": [ + "arrow", + "right", + "long" + ] + }, + { + "value": "arrow-right-to-bracket", + "keywords": [ + "arrow", + "right", + "to", + "bracket" + ] + }, + { + "value": "arrow-right-to-city", + "keywords": [ + "arrow", + "right", + "to", + "city" + ] + }, + { + "value": "arrow-rotate-left", + "keywords": [ + "arrow", + "rotate", + "left" + ] + }, + { + "value": "arrow-rotate-right", + "keywords": [ + "arrow", + "rotate", + "right" + ] + }, + { + "value": "arrow-trend-down", + "keywords": [ + "arrow", + "trend", + "down" + ] + }, + { + "value": "arrow-trend-up", + "keywords": [ + "arrow", + "trend", + "up" + ] + }, + { + "value": "arrow-turn-down", + "keywords": [ + "arrow", + "turn", + "down" + ] + }, + { + "value": "arrow-turn-up", + "keywords": [ + "arrow", + "turn", + "up" + ] + }, + { + "value": "arrow-up", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-1-9", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-9-1", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-a-z", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-from-bracket", + "keywords": [ + "arrow", + "up", + "from", + "bracket" + ] + }, + { + "value": "arrow-up-from-ground-water", + "keywords": [ + "arrow", + "up", + "from", + "ground", + "water" + ] + }, + { + "value": "arrow-up-from-water-pump", + "keywords": [ + "arrow", + "up", + "from", + "water", + "pump" + ] + }, + { + "value": "arrow-up-long", + "keywords": [ + "arrow", + "up", + "long" + ] + }, + { + "value": "arrow-up-right-dots", + "keywords": [ + "arrow", + "up", + "right", + "dots" + ] + }, + { + "value": "arrow-up-right-from-square", + "keywords": [ + "arrow", + "up", + "right", + "from", + "square" + ] + }, + { + "value": "arrow-up-short-wide", + "keywords": [ + "arrow", + "up", + "short", + "wide" + ] + }, + { + "value": "arrow-up-wide-short", + "keywords": [ + "arrow", + "up", + "wide", + "short" + ] + }, + { + "value": "arrow-up-z-a", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrows-down-to-line", + "keywords": [ + "arrows", + "down", + "to", + "line" + ] + }, + { + "value": "arrows-down-to-people", + "keywords": [ + "arrows", + "down", + "to", + "people" + ] + }, + { + "value": "arrows-left-right", + "keywords": [ + "arrows", + "left", + "right" + ] + }, + { + "value": "arrows-left-right-to-line", + "keywords": [ + "arrows", + "left", + "right", + "to", + "line" + ] + }, + { + "value": "arrows-rotate", + "keywords": [ + "arrows", + "rotate" + ] + }, + { + "value": "arrows-spin", + "keywords": [ + "arrows", + "spin" + ] + }, + { + "value": "arrows-split-up-and-left", + "keywords": [ + "arrows", + "split", + "up", + "and", + "left" + ] + }, + { + "value": "arrows-to-circle", + "keywords": [ + "arrows", + "to", + "circle" + ] + }, + { + "value": "arrows-to-dot", + "keywords": [ + "arrows", + "to", + "dot" + ] + }, + { + "value": "arrows-to-eye", + "keywords": [ + "arrows", + "to", + "eye" + ] + }, + { + "value": "arrows-turn-right", + "keywords": [ + "arrows", + "turn", + "right" + ] + }, + { + "value": "arrows-turn-to-dots", + "keywords": [ + "arrows", + "turn", + "to", + "dots" + ] + }, + { + "value": "arrows-up-down", + "keywords": [ + "arrows", + "up", + "down" + ] + }, + { + "value": "arrows-up-down-left-right", + "keywords": [ + "arrows", + "up", + "down", + "left", + "right" + ] + }, + { + "value": "arrows-up-to-line", + "keywords": [ + "arrows", + "up", + "to", + "line" + ] + }, + { + "value": "asterisk" + }, + { + "value": "at" + }, + { + "value": "atom" + }, + { + "value": "audio-description", + "keywords": [ + "audio", + "description" + ] + }, + { + "value": "austral-sign", + "keywords": [ + "austral", + "sign" + ] + }, + { + "value": "award" + }, + { + "value": "b" + }, + { + "value": "baby" + }, + { + "value": "baby-carriage", + "keywords": [ + "baby", + "carriage" + ] + }, + { + "value": "backward" + }, + { + "value": "backward-fast", + "keywords": [ + "backward", + "fast" + ] + }, + { + "value": "backward-step", + "keywords": [ + "backward", + "step" + ] + }, + { + "value": "bacon" + }, + { + "value": "bacteria" + }, + { + "value": "bacterium" + }, + { + "value": "bag-shopping", + "keywords": [ + "bag", + "shopping" + ] + }, + { + "value": "bahai" + }, + { + "value": "baht-sign", + "keywords": [ + "baht", + "sign" + ] + }, + { + "value": "ban" + }, + { + "value": "ban-smoking", + "keywords": [ + "ban", + "smoking" + ] + }, + { + "value": "bandage" + }, + { + "value": "bangladeshi-taka-sign", + "keywords": [ + "bangladeshi", + "taka", + "sign" + ] + }, + { + "value": "barcode" + }, + { + "value": "bars" + }, + { + "value": "bars-progress", + "keywords": [ + "bars", + "progress" + ] + }, + { + "value": "bars-staggered", + "keywords": [ + "bars", + "staggered" + ] + }, + { + "value": "baseball" + }, + { + "value": "baseball-bat-ball", + "keywords": [ + "baseball", + "bat", + "ball" + ] + }, + { + "value": "basket-shopping", + "keywords": [ + "basket", + "shopping" + ] + }, + { + "value": "basketball" + }, + { + "value": "bath" + }, + { + "value": "battery-empty", + "keywords": [ + "battery", + "empty" + ] + }, + { + "value": "battery-full", + "keywords": [ + "battery", + "full" + ] + }, + { + "value": "battery-half", + "keywords": [ + "battery", + "half" + ] + }, + { + "value": "battery-quarter", + "keywords": [ + "battery", + "quarter" + ] + }, + { + "value": "battery-three-quarters", + "keywords": [ + "battery", + "three", + "quarters" + ] + }, + { + "value": "bed" + }, + { + "value": "bed-pulse", + "keywords": [ + "bed", + "pulse" + ] + }, + { + "value": "beer-mug-empty", + "keywords": [ + "beer", + "mug", + "empty" + ] + }, + { + "value": "bell" + }, + { + "value": "bell-concierge", + "keywords": [ + "bell", + "concierge" + ] + }, + { + "value": "bell-slash", + "keywords": [ + "bell", + "slash" + ] + }, + { + "value": "bezier-curve", + "keywords": [ + "bezier", + "curve" + ] + }, + { + "value": "bicycle" + }, + { + "value": "binoculars" + }, + { + "value": "biohazard" + }, + { + "value": "bitcoin-sign", + "keywords": [ + "bitcoin", + "sign" + ] + }, + { + "value": "blender" + }, + { + "value": "blender-phone", + "keywords": [ + "blender", + "phone" + ] + }, + { + "value": "blog" + }, + { + "value": "bold" + }, + { + "value": "bolt" + }, + { + "value": "bolt-lightning", + "keywords": [ + "bolt", + "lightning" + ] + }, + { + "value": "bomb" + }, + { + "value": "bone" + }, + { + "value": "bong" + }, + { + "value": "book" + }, + { + "value": "book-atlas", + "keywords": [ + "book", + "atlas" + ] + }, + { + "value": "book-bible", + "keywords": [ + "book", + "bible" + ] + }, + { + "value": "book-bookmark", + "keywords": [ + "book", + "bookmark" + ] + }, + { + "value": "book-journal-whills", + "keywords": [ + "book", + "journal", + "whills" + ] + }, + { + "value": "book-medical", + "keywords": [ + "book", + "medical" + ] + }, + { + "value": "book-open", + "keywords": [ + "book", + "open" + ] + }, + { + "value": "book-open-reader", + "keywords": [ + "book", + "open", + "reader" + ] + }, + { + "value": "book-quran", + "keywords": [ + "book", + "quran" + ] + }, + { + "value": "book-skull", + "keywords": [ + "book", + "skull" + ] + }, + { + "value": "book-tanakh", + "keywords": [ + "book", + "tanakh" + ] + }, + { + "value": "bookmark" + }, + { + "value": "border-all", + "keywords": [ + "border", + "all" + ] + }, + { + "value": "border-none", + "keywords": [ + "border", + "none" + ] + }, + { + "value": "border-top-left", + "keywords": [ + "border", + "top", + "left" + ] + }, + { + "value": "bore-hole", + "keywords": [ + "bore", + "hole" + ] + }, + { + "value": "bottle-droplet", + "keywords": [ + "bottle", + "droplet" + ] + }, + { + "value": "bottle-water", + "keywords": [ + "bottle", + "water" + ] + }, + { + "value": "bowl-food", + "keywords": [ + "bowl", + "food" + ] + }, + { + "value": "bowl-rice", + "keywords": [ + "bowl", + "rice" + ] + }, + { + "value": "bowling-ball", + "keywords": [ + "bowling", + "ball" + ] + }, + { + "value": "box" + }, + { + "value": "box-archive", + "keywords": [ + "box", + "archive" + ] + }, + { + "value": "box-open", + "keywords": [ + "box", + "open" + ] + }, + { + "value": "box-tissue", + "keywords": [ + "box", + "tissue" + ] + }, + { + "value": "boxes-packing", + "keywords": [ + "boxes", + "packing" + ] + }, + { + "value": "boxes-stacked", + "keywords": [ + "boxes", + "stacked" + ] + }, + { + "value": "braille" + }, + { + "value": "brain" + }, + { + "value": "brazilian-real-sign", + "keywords": [ + "brazilian", + "real", + "sign" + ] + }, + { + "value": "bread-slice", + "keywords": [ + "bread", + "slice" + ] + }, + { + "value": "bridge" + }, + { + "value": "bridge-circle-check", + "keywords": [ + "bridge", + "circle", + "check" + ] + }, + { + "value": "bridge-circle-exclamation", + "keywords": [ + "bridge", + "circle", + "exclamation" + ] + }, + { + "value": "bridge-circle-xmark", + "keywords": [ + "bridge", + "circle", + "xmark" + ] + }, + { + "value": "bridge-lock", + "keywords": [ + "bridge", + "lock" + ] + }, + { + "value": "bridge-water", + "keywords": [ + "bridge", + "water" + ] + }, + { + "value": "briefcase" + }, + { + "value": "briefcase-medical", + "keywords": [ + "briefcase", + "medical" + ] + }, + { + "value": "broom" + }, + { + "value": "broom-ball", + "keywords": [ + "broom", + "ball" + ] + }, + { + "value": "brush" + }, + { + "value": "bucket" + }, + { + "value": "bug" + }, + { + "value": "bug-slash", + "keywords": [ + "bug", + "slash" + ] + }, + { + "value": "bugs" + }, + { + "value": "building" + }, + { + "value": "building-circle-arrow-right", + "keywords": [ + "building", + "circle", + "arrow", + "right" + ] + }, + { + "value": "building-circle-check", + "keywords": [ + "building", + "circle", + "check" + ] + }, + { + "value": "building-circle-exclamation", + "keywords": [ + "building", + "circle", + "exclamation" + ] + }, + { + "value": "building-circle-xmark", + "keywords": [ + "building", + "circle", + "xmark" + ] + }, + { + "value": "building-columns", + "keywords": [ + "building", + "columns" + ] + }, + { + "value": "building-flag", + "keywords": [ + "building", + "flag" + ] + }, + { + "value": "building-lock", + "keywords": [ + "building", + "lock" + ] + }, + { + "value": "building-ngo", + "keywords": [ + "building", + "ngo" + ] + }, + { + "value": "building-shield", + "keywords": [ + "building", + "shield" + ] + }, + { + "value": "building-un", + "keywords": [ + "building", + "un" + ] + }, + { + "value": "building-user", + "keywords": [ + "building", + "user" + ] + }, + { + "value": "building-wheat", + "keywords": [ + "building", + "wheat" + ] + }, + { + "value": "bullhorn" + }, + { + "value": "bullseye" + }, + { + "value": "burger" + }, + { + "value": "burst" + }, + { + "value": "bus" + }, + { + "value": "bus-simple", + "keywords": [ + "bus", + "simple" + ] + }, + { + "value": "business-time", + "keywords": [ + "business", + "time" + ] + }, + { + "value": "c" + }, + { + "value": "cable-car", + "keywords": [ + "cable", + "car" + ] + }, + { + "value": "cake-candles", + "keywords": [ + "cake", + "candles" + ] + }, + { + "value": "calculator" + }, + { + "value": "calendar" + }, + { + "value": "calendar-check", + "keywords": [ + "calendar", + "check" + ] + }, + { + "value": "calendar-day", + "keywords": [ + "calendar", + "day" + ] + }, + { + "value": "calendar-days", + "keywords": [ + "calendar", + "days" + ] + }, + { + "value": "calendar-minus", + "keywords": [ + "calendar", + "minus" + ] + }, + { + "value": "calendar-plus", + "keywords": [ + "calendar", + "plus" + ] + }, + { + "value": "calendar-week", + "keywords": [ + "calendar", + "week" + ] + }, + { + "value": "calendar-xmark", + "keywords": [ + "calendar", + "xmark" + ] + }, + { + "value": "camera" + }, + { + "value": "camera-retro", + "keywords": [ + "camera", + "retro" + ] + }, + { + "value": "camera-rotate", + "keywords": [ + "camera", + "rotate" + ] + }, + { + "value": "campground" + }, + { + "value": "candy-cane", + "keywords": [ + "candy", + "cane" + ] + }, + { + "value": "cannabis" + }, + { + "value": "capsules" + }, + { + "value": "car" + }, + { + "value": "car-battery", + "keywords": [ + "car", + "battery" + ] + }, + { + "value": "car-burst", + "keywords": [ + "car", + "burst" + ] + }, + { + "value": "car-on", + "keywords": [ + "car", + "on" + ] + }, + { + "value": "car-rear", + "keywords": [ + "car", + "rear" + ] + }, + { + "value": "car-side", + "keywords": [ + "car", + "side" + ] + }, + { + "value": "car-tunnel", + "keywords": [ + "car", + "tunnel" + ] + }, + { + "value": "caravan" + }, + { + "value": "caret-down", + "keywords": [ + "caret", + "down" + ] + }, + { + "value": "caret-left", + "keywords": [ + "caret", + "left" + ] + }, + { + "value": "caret-right", + "keywords": [ + "caret", + "right" + ] + }, + { + "value": "caret-up", + "keywords": [ + "caret", + "up" + ] + }, + { + "value": "carrot" + }, + { + "value": "cart-arrow-down", + "keywords": [ + "cart", + "arrow", + "down" + ] + }, + { + "value": "cart-flatbed", + "keywords": [ + "cart", + "flatbed" + ] + }, + { + "value": "cart-flatbed-suitcase", + "keywords": [ + "cart", + "flatbed", + "suitcase" + ] + }, + { + "value": "cart-plus", + "keywords": [ + "cart", + "plus" + ] + }, + { + "value": "cart-shopping", + "keywords": [ + "cart", + "shopping" + ] + }, + { + "value": "cash-register", + "keywords": [ + "cash", + "register" + ] + }, + { + "value": "cat" + }, + { + "value": "cedi-sign", + "keywords": [ + "cedi", + "sign" + ] + }, + { + "value": "cent-sign", + "keywords": [ + "cent", + "sign" + ] + }, + { + "value": "certificate" + }, + { + "value": "chair" + }, + { + "value": "chalkboard" + }, + { + "value": "chalkboard-user", + "keywords": [ + "chalkboard", + "user" + ] + }, + { + "value": "champagne-glasses", + "keywords": [ + "champagne", + "glasses" + ] + }, + { + "value": "charging-station", + "keywords": [ + "charging", + "station" + ] + }, + { + "value": "chart-area", + "keywords": [ + "chart", + "area" + ] + }, + { + "value": "chart-bar", + "keywords": [ + "chart", + "bar" + ] + }, + { + "value": "chart-column", + "keywords": [ + "chart", + "column" + ] + }, + { + "value": "chart-gantt", + "keywords": [ + "chart", + "gantt" + ] + }, + { + "value": "chart-line", + "keywords": [ + "chart", + "line" + ] + }, + { + "value": "chart-pie", + "keywords": [ + "chart", + "pie" + ] + }, + { + "value": "chart-simple", + "keywords": [ + "chart", + "simple" + ] + }, + { + "value": "check" + }, + { + "value": "check-double", + "keywords": [ + "check", + "double" + ] + }, + { + "value": "check-to-slot", + "keywords": [ + "check", + "to", + "slot" + ] + }, + { + "value": "cheese" + }, + { + "value": "chess" + }, + { + "value": "chess-bishop", + "keywords": [ + "chess", + "bishop" + ] + }, + { + "value": "chess-board", + "keywords": [ + "chess", + "board" + ] + }, + { + "value": "chess-king", + "keywords": [ + "chess", + "king" + ] + }, + { + "value": "chess-knight", + "keywords": [ + "chess", + "knight" + ] + }, + { + "value": "chess-pawn", + "keywords": [ + "chess", + "pawn" + ] + }, + { + "value": "chess-queen", + "keywords": [ + "chess", + "queen" + ] + }, + { + "value": "chess-rook", + "keywords": [ + "chess", + "rook" + ] + }, + { + "value": "chevron-down", + "keywords": [ + "chevron", + "down" + ] + }, + { + "value": "chevron-left", + "keywords": [ + "chevron", + "left" + ] + }, + { + "value": "chevron-right", + "keywords": [ + "chevron", + "right" + ] + }, + { + "value": "chevron-up", + "keywords": [ + "chevron", + "up" + ] + }, + { + "value": "child" + }, + { + "value": "child-combatant", + "keywords": [ + "child", + "combatant" + ] + }, + { + "value": "child-dress", + "keywords": [ + "child", + "dress" + ] + }, + { + "value": "child-reaching", + "keywords": [ + "child", + "reaching" + ] + }, + { + "value": "children" + }, + { + "value": "church" + }, + { + "value": "circle" + }, + { + "value": "circle-arrow-down", + "keywords": [ + "circle", + "arrow", + "down" + ] + }, + { + "value": "circle-arrow-left", + "keywords": [ + "circle", + "arrow", + "left" + ] + }, + { + "value": "circle-arrow-right", + "keywords": [ + "circle", + "arrow", + "right" + ] + }, + { + "value": "circle-arrow-up", + "keywords": [ + "circle", + "arrow", + "up" + ] + }, + { + "value": "circle-check", + "keywords": [ + "circle", + "check" + ] + }, + { + "value": "circle-chevron-down", + "keywords": [ + "circle", + "chevron", + "down" + ] + }, + { + "value": "circle-chevron-left", + "keywords": [ + "circle", + "chevron", + "left" + ] + }, + { + "value": "circle-chevron-right", + "keywords": [ + "circle", + "chevron", + "right" + ] + }, + { + "value": "circle-chevron-up", + "keywords": [ + "circle", + "chevron", + "up" + ] + }, + { + "value": "circle-dollar-to-slot", + "keywords": [ + "circle", + "dollar", + "to", + "slot" + ] + }, + { + "value": "circle-dot", + "keywords": [ + "circle", + "dot" + ] + }, + { + "value": "circle-down", + "keywords": [ + "circle", + "down" + ] + }, + { + "value": "circle-exclamation", + "keywords": [ + "circle", + "exclamation" + ] + }, + { + "value": "circle-h" + }, + { + "value": "circle-half-stroke", + "keywords": [ + "circle", + "half", + "stroke" + ] + }, + { + "value": "circle-info", + "keywords": [ + "circle", + "info" + ] + }, + { + "value": "circle-left", + "keywords": [ + "circle", + "left" + ] + }, + { + "value": "circle-minus", + "keywords": [ + "circle", + "minus" + ] + }, + { + "value": "circle-nodes", + "keywords": [ + "circle", + "nodes" + ] + }, + { + "value": "circle-notch", + "keywords": [ + "circle", + "notch" + ] + }, + { + "value": "circle-pause", + "keywords": [ + "circle", + "pause" + ] + }, + { + "value": "circle-play", + "keywords": [ + "circle", + "play" + ] + }, + { + "value": "circle-plus", + "keywords": [ + "circle", + "plus" + ] + }, + { + "value": "circle-question", + "keywords": [ + "circle", + "question" + ] + }, + { + "value": "circle-radiation", + "keywords": [ + "circle", + "radiation" + ] + }, + { + "value": "circle-right", + "keywords": [ + "circle", + "right" + ] + }, + { + "value": "circle-stop", + "keywords": [ + "circle", + "stop" + ] + }, + { + "value": "circle-up", + "keywords": [ + "circle", + "up" + ] + }, + { + "value": "circle-user", + "keywords": [ + "circle", + "user" + ] + }, + { + "value": "circle-xmark", + "keywords": [ + "circle", + "xmark" + ] + }, + { + "value": "city" + }, + { + "value": "clapperboard" + }, + { + "value": "clipboard" + }, + { + "value": "clipboard-check", + "keywords": [ + "clipboard", + "check" + ] + }, + { + "value": "clipboard-list", + "keywords": [ + "clipboard", + "list" + ] + }, + { + "value": "clipboard-question", + "keywords": [ + "clipboard", + "question" + ] + }, + { + "value": "clipboard-user", + "keywords": [ + "clipboard", + "user" + ] + }, + { + "value": "clock" + }, + { + "value": "clock-rotate-left", + "keywords": [ + "clock", + "rotate", + "left" + ] + }, + { + "value": "clone" + }, + { + "value": "closed-captioning", + "keywords": [ + "closed", + "captioning" + ] + }, + { + "value": "cloud" + }, + { + "value": "cloud-arrow-down", + "keywords": [ + "cloud", + "arrow", + "down" + ] + }, + { + "value": "cloud-arrow-up", + "keywords": [ + "cloud", + "arrow", + "up" + ] + }, + { + "value": "cloud-bolt", + "keywords": [ + "cloud", + "bolt" + ] + }, + { + "value": "cloud-meatball", + "keywords": [ + "cloud", + "meatball" + ] + }, + { + "value": "cloud-moon", + "keywords": [ + "cloud", + "moon" + ] + }, + { + "value": "cloud-moon-rain", + "keywords": [ + "cloud", + "moon", + "rain" + ] + }, + { + "value": "cloud-rain", + "keywords": [ + "cloud", + "rain" + ] + }, + { + "value": "cloud-showers-heavy", + "keywords": [ + "cloud", + "showers", + "heavy" + ] + }, + { + "value": "cloud-showers-water", + "keywords": [ + "cloud", + "showers", + "water" + ] + }, + { + "value": "cloud-sun", + "keywords": [ + "cloud", + "sun" + ] + }, + { + "value": "cloud-sun-rain", + "keywords": [ + "cloud", + "sun", + "rain" + ] + }, + { + "value": "clover" + }, + { + "value": "code" + }, + { + "value": "code-branch", + "keywords": [ + "code", + "branch" + ] + }, + { + "value": "code-commit", + "keywords": [ + "code", + "commit" + ] + }, + { + "value": "code-compare", + "keywords": [ + "code", + "compare" + ] + }, + { + "value": "code-fork", + "keywords": [ + "code", + "fork" + ] + }, + { + "value": "code-merge", + "keywords": [ + "code", + "merge" + ] + }, + { + "value": "code-pull-request", + "keywords": [ + "code", + "pull", + "request" + ] + }, + { + "value": "coins" + }, + { + "value": "colon-sign", + "keywords": [ + "colon", + "sign" + ] + }, + { + "value": "comment" + }, + { + "value": "comment-dollar", + "keywords": [ + "comment", + "dollar" + ] + }, + { + "value": "comment-dots", + "keywords": [ + "comment", + "dots" + ] + }, + { + "value": "comment-medical", + "keywords": [ + "comment", + "medical" + ] + }, + { + "value": "comment-slash", + "keywords": [ + "comment", + "slash" + ] + }, + { + "value": "comment-sms", + "keywords": [ + "comment", + "sms" + ] + }, + { + "value": "comments" + }, + { + "value": "comments-dollar", + "keywords": [ + "comments", + "dollar" + ] + }, + { + "value": "compact-disc", + "keywords": [ + "compact", + "disc" + ] + }, + { + "value": "compass" + }, + { + "value": "compass-drafting", + "keywords": [ + "compass", + "drafting" + ] + }, + { + "value": "compress" + }, + { + "value": "computer" + }, + { + "value": "computer-mouse", + "keywords": [ + "computer", + "mouse" + ] + }, + { + "value": "cookie" + }, + { + "value": "cookie-bite", + "keywords": [ + "cookie", + "bite" + ] + }, + { + "value": "copy" + }, + { + "value": "copyright" + }, + { + "value": "couch" + }, + { + "value": "cow" + }, + { + "value": "credit-card", + "keywords": [ + "credit", + "card" + ] + }, + { + "value": "crop" + }, + { + "value": "crop-simple", + "keywords": [ + "crop", + "simple" + ] + }, + { + "value": "cross" + }, + { + "value": "crosshairs" + }, + { + "value": "crow" + }, + { + "value": "crown" + }, + { + "value": "crutch" + }, + { + "value": "cruzeiro-sign", + "keywords": [ + "cruzeiro", + "sign" + ] + }, + { + "value": "cube" + }, + { + "value": "cubes" + }, + { + "value": "cubes-stacked", + "keywords": [ + "cubes", + "stacked" + ] + }, + { + "value": "d" + }, + { + "value": "database" + }, + { + "value": "delete-left", + "keywords": [ + "delete", + "left" + ] + }, + { + "value": "democrat" + }, + { + "value": "desktop" + }, + { + "value": "dharmachakra" + }, + { + "value": "diagram-next", + "keywords": [ + "diagram", + "next" + ] + }, + { + "value": "diagram-predecessor", + "keywords": [ + "diagram", + "predecessor" + ] + }, + { + "value": "diagram-project", + "keywords": [ + "diagram", + "project" + ] + }, + { + "value": "diagram-successor", + "keywords": [ + "diagram", + "successor" + ] + }, + { + "value": "diamond" + }, + { + "value": "diamond-turn-right", + "keywords": [ + "diamond", + "turn", + "right" + ] + }, + { + "value": "dice" + }, + { + "value": "dice-d20", + "keywords": [ + "dice", + "d20" + ] + }, + { + "value": "dice-d6", + "keywords": [ + "dice", + "d6" + ] + }, + { + "value": "dice-five", + "keywords": [ + "dice", + "five" + ] + }, + { + "value": "dice-four", + "keywords": [ + "dice", + "four" + ] + }, + { + "value": "dice-one", + "keywords": [ + "dice", + "one" + ] + }, + { + "value": "dice-six", + "keywords": [ + "dice", + "six" + ] + }, + { + "value": "dice-three", + "keywords": [ + "dice", + "three" + ] + }, + { + "value": "dice-two", + "keywords": [ + "dice", + "two" + ] + }, + { + "value": "disease" + }, + { + "value": "display" + }, + { + "value": "divide" + }, + { + "value": "dna" + }, + { + "value": "dog" + }, + { + "value": "dollar-sign", + "keywords": [ + "dollar", + "sign" + ] + }, + { + "value": "dolly" + }, + { + "value": "dong-sign", + "keywords": [ + "dong", + "sign" + ] + }, + { + "value": "door-closed", + "keywords": [ + "door", + "closed" + ] + }, + { + "value": "door-open", + "keywords": [ + "door", + "open" + ] + }, + { + "value": "dove" + }, + { + "value": "down-left-and-up-right-to-center", + "keywords": [ + "down", + "left", + "and", + "up", + "right", + "to", + "center" + ] + }, + { + "value": "down-long", + "keywords": [ + "down", + "long" + ] + }, + { + "value": "download" + }, + { + "value": "dragon" + }, + { + "value": "draw-polygon", + "keywords": [ + "draw", + "polygon" + ] + }, + { + "value": "droplet" + }, + { + "value": "droplet-slash", + "keywords": [ + "droplet", + "slash" + ] + }, + { + "value": "drum" + }, + { + "value": "drum-steelpan", + "keywords": [ + "drum", + "steelpan" + ] + }, + { + "value": "drumstick-bite", + "keywords": [ + "drumstick", + "bite" + ] + }, + { + "value": "dumbbell" + }, + { + "value": "dumpster" + }, + { + "value": "dumpster-fire", + "keywords": [ + "dumpster", + "fire" + ] + }, + { + "value": "dungeon" + }, + { + "value": "e" + }, + { + "value": "ear-deaf", + "keywords": [ + "ear", + "deaf" + ] + }, + { + "value": "ear-listen", + "keywords": [ + "ear", + "listen" + ] + }, + { + "value": "earth-africa", + "keywords": [ + "earth", + "africa" + ] + }, + { + "value": "earth-americas", + "keywords": [ + "earth", + "americas" + ] + }, + { + "value": "earth-asia", + "keywords": [ + "earth", + "asia" + ] + }, + { + "value": "earth-europe", + "keywords": [ + "earth", + "europe" + ] + }, + { + "value": "earth-oceania", + "keywords": [ + "earth", + "oceania" + ] + }, + { + "value": "egg" + }, + { + "value": "eject" + }, + { + "value": "elevator" + }, + { + "value": "ellipsis" + }, + { + "value": "ellipsis-vertical", + "keywords": [ + "ellipsis", + "vertical" + ] + }, + { + "value": "envelope" + }, + { + "value": "envelope-circle-check", + "keywords": [ + "envelope", + "circle", + "check" + ] + }, + { + "value": "envelope-open", + "keywords": [ + "envelope", + "open" + ] + }, + { + "value": "envelope-open-text", + "keywords": [ + "envelope", + "open", + "text" + ] + }, + { + "value": "envelopes-bulk", + "keywords": [ + "envelopes", + "bulk" + ] + }, + { + "value": "equals" + }, + { + "value": "eraser" + }, + { + "value": "ethernet" + }, + { + "value": "euro-sign", + "keywords": [ + "euro", + "sign" + ] + }, + { + "value": "exclamation" + }, + { + "value": "expand" + }, + { + "value": "explosion" + }, + { + "value": "eye" + }, + { + "value": "eye-dropper", + "keywords": [ + "eye", + "dropper" + ] + }, + { + "value": "eye-low-vision", + "keywords": [ + "eye", + "low", + "vision" + ] + }, + { + "value": "eye-slash", + "keywords": [ + "eye", + "slash" + ] + }, + { + "value": "f" + }, + { + "value": "face-angry", + "keywords": [ + "face", + "angry" + ] + }, + { + "value": "face-dizzy", + "keywords": [ + "face", + "dizzy" + ] + }, + { + "value": "face-flushed", + "keywords": [ + "face", + "flushed" + ] + }, + { + "value": "face-frown", + "keywords": [ + "face", + "frown" + ] + }, + { + "value": "face-frown-open", + "keywords": [ + "face", + "frown", + "open" + ] + }, + { + "value": "face-grimace", + "keywords": [ + "face", + "grimace" + ] + }, + { + "value": "face-grin", + "keywords": [ + "face", + "grin" + ] + }, + { + "value": "face-grin-beam", + "keywords": [ + "face", + "grin", + "beam" + ] + }, + { + "value": "face-grin-beam-sweat", + "keywords": [ + "face", + "grin", + "beam", + "sweat" + ] + }, + { + "value": "face-grin-hearts", + "keywords": [ + "face", + "grin", + "hearts" + ] + }, + { + "value": "face-grin-squint", + "keywords": [ + "face", + "grin", + "squint" + ] + }, + { + "value": "face-grin-squint-tears", + "keywords": [ + "face", + "grin", + "squint", + "tears" + ] + }, + { + "value": "face-grin-stars", + "keywords": [ + "face", + "grin", + "stars" + ] + }, + { + "value": "face-grin-tears", + "keywords": [ + "face", + "grin", + "tears" + ] + }, + { + "value": "face-grin-tongue", + "keywords": [ + "face", + "grin", + "tongue" + ] + }, + { + "value": "face-grin-tongue-squint", + "keywords": [ + "face", + "grin", + "tongue", + "squint" + ] + }, + { + "value": "face-grin-tongue-wink", + "keywords": [ + "face", + "grin", + "tongue", + "wink" + ] + }, + { + "value": "face-grin-wide", + "keywords": [ + "face", + "grin", + "wide" + ] + }, + { + "value": "face-grin-wink", + "keywords": [ + "face", + "grin", + "wink" + ] + }, + { + "value": "face-kiss", + "keywords": [ + "face", + "kiss" + ] + }, + { + "value": "face-kiss-beam", + "keywords": [ + "face", + "kiss", + "beam" + ] + }, + { + "value": "face-kiss-wink-heart", + "keywords": [ + "face", + "kiss", + "wink", + "heart" + ] + }, + { + "value": "face-laugh", + "keywords": [ + "face", + "laugh" + ] + }, + { + "value": "face-laugh-beam", + "keywords": [ + "face", + "laugh", + "beam" + ] + }, + { + "value": "face-laugh-squint", + "keywords": [ + "face", + "laugh", + "squint" + ] + }, + { + "value": "face-laugh-wink", + "keywords": [ + "face", + "laugh", + "wink" + ] + }, + { + "value": "face-meh", + "keywords": [ + "face", + "meh" + ] + }, + { + "value": "face-meh-blank", + "keywords": [ + "face", + "meh", + "blank" + ] + }, + { + "value": "face-rolling-eyes", + "keywords": [ + "face", + "rolling", + "eyes" + ] + }, + { + "value": "face-sad-cry", + "keywords": [ + "face", + "sad", + "cry" + ] + }, + { + "value": "face-sad-tear", + "keywords": [ + "face", + "sad", + "tear" + ] + }, + { + "value": "face-smile", + "keywords": [ + "face", + "smile" + ] + }, + { + "value": "face-smile-beam", + "keywords": [ + "face", + "smile", + "beam" + ] + }, + { + "value": "face-smile-wink", + "keywords": [ + "face", + "smile", + "wink" + ] + }, + { + "value": "face-surprise", + "keywords": [ + "face", + "surprise" + ] + }, + { + "value": "face-tired", + "keywords": [ + "face", + "tired" + ] + }, + { + "value": "fan" + }, + { + "value": "faucet" + }, + { + "value": "faucet-drip", + "keywords": [ + "faucet", + "drip" + ] + }, + { + "value": "fax" + }, + { + "value": "feather" + }, + { + "value": "feather-pointed", + "keywords": [ + "feather", + "pointed" + ] + }, + { + "value": "ferry" + }, + { + "value": "file" + }, + { + "value": "file-arrow-down", + "keywords": [ + "file", + "arrow", + "down" + ] + }, + { + "value": "file-arrow-up", + "keywords": [ + "file", + "arrow", + "up" + ] + }, + { + "value": "file-audio", + "keywords": [ + "file", + "audio" + ] + }, + { + "value": "file-circle-check", + "keywords": [ + "file", + "circle", + "check" + ] + }, + { + "value": "file-circle-exclamation", + "keywords": [ + "file", + "circle", + "exclamation" + ] + }, + { + "value": "file-circle-minus", + "keywords": [ + "file", + "circle", + "minus" + ] + }, + { + "value": "file-circle-plus", + "keywords": [ + "file", + "circle", + "plus" + ] + }, + { + "value": "file-circle-question", + "keywords": [ + "file", + "circle", + "question" + ] + }, + { + "value": "file-circle-xmark", + "keywords": [ + "file", + "circle", + "xmark" + ] + }, + { + "value": "file-code", + "keywords": [ + "file", + "code" + ] + }, + { + "value": "file-contract", + "keywords": [ + "file", + "contract" + ] + }, + { + "value": "file-csv", + "keywords": [ + "file", + "csv" + ] + }, + { + "value": "file-excel", + "keywords": [ + "file", + "excel" + ] + }, + { + "value": "file-export", + "keywords": [ + "file", + "export" + ] + }, + { + "value": "file-image", + "keywords": [ + "file", + "image" + ] + }, + { + "value": "file-import", + "keywords": [ + "file", + "import" + ] + }, + { + "value": "file-invoice", + "keywords": [ + "file", + "invoice" + ] + }, + { + "value": "file-invoice-dollar", + "keywords": [ + "file", + "invoice", + "dollar" + ] + }, + { + "value": "file-lines", + "keywords": [ + "file", + "lines" + ] + }, + { + "value": "file-medical", + "keywords": [ + "file", + "medical" + ] + }, + { + "value": "file-pdf", + "keywords": [ + "file", + "pdf" + ] + }, + { + "value": "file-pen", + "keywords": [ + "file", + "pen" + ] + }, + { + "value": "file-powerpoint", + "keywords": [ + "file", + "powerpoint" + ] + }, + { + "value": "file-prescription", + "keywords": [ + "file", + "prescription" + ] + }, + { + "value": "file-shield", + "keywords": [ + "file", + "shield" + ] + }, + { + "value": "file-signature", + "keywords": [ + "file", + "signature" + ] + }, + { + "value": "file-video", + "keywords": [ + "file", + "video" + ] + }, + { + "value": "file-waveform", + "keywords": [ + "file", + "waveform" + ] + }, + { + "value": "file-word", + "keywords": [ + "file", + "word" + ] + }, + { + "value": "file-zipper", + "keywords": [ + "file", + "zipper" + ] + }, + { + "value": "fill" + }, + { + "value": "fill-drip", + "keywords": [ + "fill", + "drip" + ] + }, + { + "value": "film" + }, + { + "value": "filter" + }, + { + "value": "filter-circle-dollar", + "keywords": [ + "filter", + "circle", + "dollar" + ] + }, + { + "value": "filter-circle-xmark", + "keywords": [ + "filter", + "circle", + "xmark" + ] + }, + { + "value": "fingerprint" + }, + { + "value": "fire" + }, + { + "value": "fire-burner", + "keywords": [ + "fire", + "burner" + ] + }, + { + "value": "fire-extinguisher", + "keywords": [ + "fire", + "extinguisher" + ] + }, + { + "value": "fire-flame-curved", + "keywords": [ + "fire", + "flame", + "curved" + ] + }, + { + "value": "fire-flame-simple", + "keywords": [ + "fire", + "flame", + "simple" + ] + }, + { + "value": "fish" + }, + { + "value": "fish-fins", + "keywords": [ + "fish", + "fins" + ] + }, + { + "value": "flag" + }, + { + "value": "flag-checkered", + "keywords": [ + "flag", + "checkered" + ] + }, + { + "value": "flag-usa", + "keywords": [ + "flag", + "usa" + ] + }, + { + "value": "flask" + }, + { + "value": "flask-vial", + "keywords": [ + "flask", + "vial" + ] + }, + { + "value": "floppy-disk", + "keywords": [ + "floppy", + "disk" + ] + }, + { + "value": "florin-sign", + "keywords": [ + "florin", + "sign" + ] + }, + { + "value": "folder" + }, + { + "value": "folder-closed", + "keywords": [ + "folder", + "closed" + ] + }, + { + "value": "folder-minus", + "keywords": [ + "folder", + "minus" + ] + }, + { + "value": "folder-open", + "keywords": [ + "folder", + "open" + ] + }, + { + "value": "folder-plus", + "keywords": [ + "folder", + "plus" + ] + }, + { + "value": "folder-tree", + "keywords": [ + "folder", + "tree" + ] + }, + { + "value": "font" + }, + { + "value": "font-awesome", + "keywords": [ + "font", + "awesome" + ] + }, + { + "value": "football" + }, + { + "value": "forward" + }, + { + "value": "forward-fast", + "keywords": [ + "forward", + "fast" + ] + }, + { + "value": "forward-step", + "keywords": [ + "forward", + "step" + ] + }, + { + "value": "franc-sign", + "keywords": [ + "franc", + "sign" + ] + }, + { + "value": "frog" + }, + { + "value": "futbol" + }, + { + "value": "g" + }, + { + "value": "gamepad" + }, + { + "value": "gas-pump", + "keywords": [ + "gas", + "pump" + ] + }, + { + "value": "gauge" + }, + { + "value": "gauge-high", + "keywords": [ + "gauge", + "high" + ] + }, + { + "value": "gauge-simple", + "keywords": [ + "gauge", + "simple" + ] + }, + { + "value": "gauge-simple-high", + "keywords": [ + "gauge", + "simple", + "high" + ] + }, + { + "value": "gavel" + }, + { + "value": "gear" + }, + { + "value": "gears" + }, + { + "value": "gem" + }, + { + "value": "genderless" + }, + { + "value": "ghost" + }, + { + "value": "gift" + }, + { + "value": "gifts" + }, + { + "value": "glass-water", + "keywords": [ + "glass", + "water" + ] + }, + { + "value": "glass-water-droplet", + "keywords": [ + "glass", + "water", + "droplet" + ] + }, + { + "value": "glasses" + }, + { + "value": "globe" + }, + { + "value": "golf-ball-tee", + "keywords": [ + "golf", + "ball", + "tee" + ] + }, + { + "value": "gopuram" + }, + { + "value": "graduation-cap", + "keywords": [ + "graduation", + "cap" + ] + }, + { + "value": "greater-than", + "keywords": [ + "greater", + "than" + ] + }, + { + "value": "greater-than-equal", + "keywords": [ + "greater", + "than", + "equal" + ] + }, + { + "value": "grip" + }, + { + "value": "grip-lines", + "keywords": [ + "grip", + "lines" + ] + }, + { + "value": "grip-lines-vertical", + "keywords": [ + "grip", + "lines", + "vertical" + ] + }, + { + "value": "grip-vertical", + "keywords": [ + "grip", + "vertical" + ] + }, + { + "value": "group-arrows-rotate", + "keywords": [ + "group", + "arrows", + "rotate" + ] + }, + { + "value": "guarani-sign", + "keywords": [ + "guarani", + "sign" + ] + }, + { + "value": "guitar" + }, + { + "value": "gun" + }, + { + "value": "h" + }, + { + "value": "hammer" + }, + { + "value": "hamsa" + }, + { + "value": "hand" + }, + { + "value": "hand-back-fist", + "keywords": [ + "hand", + "back", + "fist" + ] + }, + { + "value": "hand-dots", + "keywords": [ + "hand", + "dots" + ] + }, + { + "value": "hand-fist", + "keywords": [ + "hand", + "fist" + ] + }, + { + "value": "hand-holding", + "keywords": [ + "hand", + "holding" + ] + }, + { + "value": "hand-holding-dollar", + "keywords": [ + "hand", + "holding", + "dollar" + ] + }, + { + "value": "hand-holding-droplet", + "keywords": [ + "hand", + "holding", + "droplet" + ] + }, + { + "value": "hand-holding-hand", + "keywords": [ + "hand", + "holding", + "hand" + ] + }, + { + "value": "hand-holding-heart", + "keywords": [ + "hand", + "holding", + "heart" + ] + }, + { + "value": "hand-holding-medical", + "keywords": [ + "hand", + "holding", + "medical" + ] + }, + { + "value": "hand-lizard", + "keywords": [ + "hand", + "lizard" + ] + }, + { + "value": "hand-middle-finger", + "keywords": [ + "hand", + "middle", + "finger" + ] + }, + { + "value": "hand-peace", + "keywords": [ + "hand", + "peace" + ] + }, + { + "value": "hand-point-down", + "keywords": [ + "hand", + "point", + "down" + ] + }, + { + "value": "hand-point-left", + "keywords": [ + "hand", + "point", + "left" + ] + }, + { + "value": "hand-point-right", + "keywords": [ + "hand", + "point", + "right" + ] + }, + { + "value": "hand-point-up", + "keywords": [ + "hand", + "point", + "up" + ] + }, + { + "value": "hand-pointer", + "keywords": [ + "hand", + "pointer" + ] + }, + { + "value": "hand-scissors", + "keywords": [ + "hand", + "scissors" + ] + }, + { + "value": "hand-sparkles", + "keywords": [ + "hand", + "sparkles" + ] + }, + { + "value": "hand-spock", + "keywords": [ + "hand", + "spock" + ] + }, + { + "value": "handcuffs" + }, + { + "value": "hands" + }, + { + "value": "hands-asl-interpreting", + "keywords": [ + "hands", + "asl", + "interpreting" + ] + }, + { + "value": "hands-bound", + "keywords": [ + "hands", + "bound" + ] + }, + { + "value": "hands-bubbles", + "keywords": [ + "hands", + "bubbles" + ] + }, + { + "value": "hands-clapping", + "keywords": [ + "hands", + "clapping" + ] + }, + { + "value": "hands-holding", + "keywords": [ + "hands", + "holding" + ] + }, + { + "value": "hands-holding-child", + "keywords": [ + "hands", + "holding", + "child" + ] + }, + { + "value": "hands-holding-circle", + "keywords": [ + "hands", + "holding", + "circle" + ] + }, + { + "value": "hands-praying", + "keywords": [ + "hands", + "praying" + ] + }, + { + "value": "handshake" + }, + { + "value": "handshake-angle", + "keywords": [ + "handshake", + "angle" + ] + }, + { + "value": "handshake-simple", + "keywords": [ + "handshake", + "simple" + ] + }, + { + "value": "handshake-simple-slash", + "keywords": [ + "handshake", + "simple", + "slash" + ] + }, + { + "value": "handshake-slash", + "keywords": [ + "handshake", + "slash" + ] + }, + { + "value": "hanukiah" + }, + { + "value": "hard-drive", + "keywords": [ + "hard", + "drive" + ] + }, + { + "value": "hashtag" + }, + { + "value": "hat-cowboy", + "keywords": [ + "hat", + "cowboy" + ] + }, + { + "value": "hat-cowboy-side", + "keywords": [ + "hat", + "cowboy", + "side" + ] + }, + { + "value": "hat-wizard", + "keywords": [ + "hat", + "wizard" + ] + }, + { + "value": "head-side-cough", + "keywords": [ + "head", + "side", + "cough" + ] + }, + { + "value": "head-side-cough-slash", + "keywords": [ + "head", + "side", + "cough", + "slash" + ] + }, + { + "value": "head-side-mask", + "keywords": [ + "head", + "side", + "mask" + ] + }, + { + "value": "head-side-virus", + "keywords": [ + "head", + "side", + "virus" + ] + }, + { + "value": "heading" + }, + { + "value": "headphones" + }, + { + "value": "headphones-simple", + "keywords": [ + "headphones", + "simple" + ] + }, + { + "value": "headset" + }, + { + "value": "heart" + }, + { + "value": "heart-circle-bolt", + "keywords": [ + "heart", + "circle", + "bolt" + ] + }, + { + "value": "heart-circle-check", + "keywords": [ + "heart", + "circle", + "check" + ] + }, + { + "value": "heart-circle-exclamation", + "keywords": [ + "heart", + "circle", + "exclamation" + ] + }, + { + "value": "heart-circle-minus", + "keywords": [ + "heart", + "circle", + "minus" + ] + }, + { + "value": "heart-circle-plus", + "keywords": [ + "heart", + "circle", + "plus" + ] + }, + { + "value": "heart-circle-xmark", + "keywords": [ + "heart", + "circle", + "xmark" + ] + }, + { + "value": "heart-crack", + "keywords": [ + "heart", + "crack" + ] + }, + { + "value": "heart-pulse", + "keywords": [ + "heart", + "pulse" + ] + }, + { + "value": "helicopter" + }, + { + "value": "helicopter-symbol", + "keywords": [ + "helicopter", + "symbol" + ] + }, + { + "value": "helmet-safety", + "keywords": [ + "helmet", + "safety" + ] + }, + { + "value": "helmet-un", + "keywords": [ + "helmet", + "un" + ] + }, + { + "value": "highlighter" + }, + { + "value": "hill-avalanche", + "keywords": [ + "hill", + "avalanche" + ] + }, + { + "value": "hill-rockslide", + "keywords": [ + "hill", + "rockslide" + ] + }, + { + "value": "hippo" + }, + { + "value": "hockey-puck", + "keywords": [ + "hockey", + "puck" + ] + }, + { + "value": "holly-berry", + "keywords": [ + "holly", + "berry" + ] + }, + { + "value": "horse" + }, + { + "value": "horse-head", + "keywords": [ + "horse", + "head" + ] + }, + { + "value": "hospital" + }, + { + "value": "hospital-user", + "keywords": [ + "hospital", + "user" + ] + }, + { + "value": "hot-tub-person", + "keywords": [ + "hot", + "tub", + "person" + ] + }, + { + "value": "hotdog" + }, + { + "value": "hotel" + }, + { + "value": "hourglass" + }, + { + "value": "hourglass-end", + "keywords": [ + "hourglass", + "end" + ] + }, + { + "value": "hourglass-half", + "keywords": [ + "hourglass", + "half" + ] + }, + { + "value": "hourglass-start", + "keywords": [ + "hourglass", + "start" + ] + }, + { + "value": "house" + }, + { + "value": "house-chimney", + "keywords": [ + "house", + "chimney" + ] + }, + { + "value": "house-chimney-crack", + "keywords": [ + "house", + "chimney", + "crack" + ] + }, + { + "value": "house-chimney-medical", + "keywords": [ + "house", + "chimney", + "medical" + ] + }, + { + "value": "house-chimney-user", + "keywords": [ + "house", + "chimney", + "user" + ] + }, + { + "value": "house-chimney-window", + "keywords": [ + "house", + "chimney", + "window" + ] + }, + { + "value": "house-circle-check", + "keywords": [ + "house", + "circle", + "check" + ] + }, + { + "value": "house-circle-exclamation", + "keywords": [ + "house", + "circle", + "exclamation" + ] + }, + { + "value": "house-circle-xmark", + "keywords": [ + "house", + "circle", + "xmark" + ] + }, + { + "value": "house-crack", + "keywords": [ + "house", + "crack" + ] + }, + { + "value": "house-fire", + "keywords": [ + "house", + "fire" + ] + }, + { + "value": "house-flag", + "keywords": [ + "house", + "flag" + ] + }, + { + "value": "house-flood-water", + "keywords": [ + "house", + "flood", + "water" + ] + }, + { + "value": "house-flood-water-circle-arrow-right", + "keywords": [ + "house", + "flood", + "water", + "circle", + "arrow", + "right" + ] + }, + { + "value": "house-laptop", + "keywords": [ + "house", + "laptop" + ] + }, + { + "value": "house-lock", + "keywords": [ + "house", + "lock" + ] + }, + { + "value": "house-medical", + "keywords": [ + "house", + "medical" + ] + }, + { + "value": "house-medical-circle-check", + "keywords": [ + "house", + "medical", + "circle", + "check" + ] + }, + { + "value": "house-medical-circle-exclamation", + "keywords": [ + "house", + "medical", + "circle", + "exclamation" + ] + }, + { + "value": "house-medical-circle-xmark", + "keywords": [ + "house", + "medical", + "circle", + "xmark" + ] + }, + { + "value": "house-medical-flag", + "keywords": [ + "house", + "medical", + "flag" + ] + }, + { + "value": "house-signal", + "keywords": [ + "house", + "signal" + ] + }, + { + "value": "house-tsunami", + "keywords": [ + "house", + "tsunami" + ] + }, + { + "value": "house-user", + "keywords": [ + "house", + "user" + ] + }, + { + "value": "hryvnia-sign", + "keywords": [ + "hryvnia", + "sign" + ] + }, + { + "value": "hurricane" + }, + { + "value": "i" + }, + { + "value": "i-cursor" + }, + { + "value": "ice-cream", + "keywords": [ + "ice", + "cream" + ] + }, + { + "value": "icicles" + }, + { + "value": "icons" + }, + { + "value": "id-badge", + "keywords": [ + "id", + "badge" + ] + }, + { + "value": "id-card", + "keywords": [ + "id", + "card" + ] + }, + { + "value": "id-card-clip", + "keywords": [ + "id", + "card", + "clip" + ] + }, + { + "value": "igloo" + }, + { + "value": "image" + }, + { + "value": "image-portrait", + "keywords": [ + "image", + "portrait" + ] + }, + { + "value": "images" + }, + { + "value": "inbox" + }, + { + "value": "indent" + }, + { + "value": "indian-rupee-sign", + "keywords": [ + "indian", + "rupee", + "sign" + ] + }, + { + "value": "industry" + }, + { + "value": "infinity" + }, + { + "value": "info" + }, + { + "value": "italic" + }, + { + "value": "j" + }, + { + "value": "jar" + }, + { + "value": "jar-wheat", + "keywords": [ + "jar", + "wheat" + ] + }, + { + "value": "jedi" + }, + { + "value": "jet-fighter", + "keywords": [ + "jet", + "fighter" + ] + }, + { + "value": "jet-fighter-up", + "keywords": [ + "jet", + "fighter", + "up" + ] + }, + { + "value": "joint" + }, + { + "value": "jug-detergent", + "keywords": [ + "jug", + "detergent" + ] + }, + { + "value": "k" + }, + { + "value": "kaaba" + }, + { + "value": "key" + }, + { + "value": "keyboard" + }, + { + "value": "khanda" + }, + { + "value": "kip-sign", + "keywords": [ + "kip", + "sign" + ] + }, + { + "value": "kit-medical", + "keywords": [ + "kit", + "medical" + ] + }, + { + "value": "kitchen-set", + "keywords": [ + "kitchen", + "set" + ] + }, + { + "value": "kiwi-bird", + "keywords": [ + "kiwi", + "bird" + ] + }, + { + "value": "l" + }, + { + "value": "land-mine-on", + "keywords": [ + "land", + "mine", + "on" + ] + }, + { + "value": "landmark" + }, + { + "value": "landmark-dome", + "keywords": [ + "landmark", + "dome" + ] + }, + { + "value": "landmark-flag", + "keywords": [ + "landmark", + "flag" + ] + }, + { + "value": "language" + }, + { + "value": "laptop" + }, + { + "value": "laptop-code", + "keywords": [ + "laptop", + "code" + ] + }, + { + "value": "laptop-file", + "keywords": [ + "laptop", + "file" + ] + }, + { + "value": "laptop-medical", + "keywords": [ + "laptop", + "medical" + ] + }, + { + "value": "lari-sign", + "keywords": [ + "lari", + "sign" + ] + }, + { + "value": "layer-group", + "keywords": [ + "layer", + "group" + ] + }, + { + "value": "leaf" + }, + { + "value": "left-long", + "keywords": [ + "left", + "long" + ] + }, + { + "value": "left-right", + "keywords": [ + "left", + "right" + ] + }, + { + "value": "lemon" + }, + { + "value": "less-than", + "keywords": [ + "less", + "than" + ] + }, + { + "value": "less-than-equal", + "keywords": [ + "less", + "than", + "equal" + ] + }, + { + "value": "life-ring", + "keywords": [ + "life", + "ring" + ] + }, + { + "value": "lightbulb" + }, + { + "value": "lines-leaning", + "keywords": [ + "lines", + "leaning" + ] + }, + { + "value": "link" + }, + { + "value": "link-slash", + "keywords": [ + "link", + "slash" + ] + }, + { + "value": "lira-sign", + "keywords": [ + "lira", + "sign" + ] + }, + { + "value": "list" + }, + { + "value": "list-check", + "keywords": [ + "list", + "check" + ] + }, + { + "value": "list-ol", + "keywords": [ + "list", + "ol" + ] + }, + { + "value": "list-ul", + "keywords": [ + "list", + "ul" + ] + }, + { + "value": "litecoin-sign", + "keywords": [ + "litecoin", + "sign" + ] + }, + { + "value": "location-arrow", + "keywords": [ + "location", + "arrow" + ] + }, + { + "value": "location-crosshairs", + "keywords": [ + "location", + "crosshairs" + ] + }, + { + "value": "location-dot", + "keywords": [ + "location", + "dot" + ] + }, + { + "value": "location-pin", + "keywords": [ + "location", + "pin" + ] + }, + { + "value": "location-pin-lock", + "keywords": [ + "location", + "pin", + "lock" + ] + }, + { + "value": "lock" + }, + { + "value": "lock-open", + "keywords": [ + "lock", + "open" + ] + }, + { + "value": "locust" + }, + { + "value": "lungs" + }, + { + "value": "lungs-virus", + "keywords": [ + "lungs", + "virus" + ] + }, + { + "value": "m" + }, + { + "value": "magnet" + }, + { + "value": "magnifying-glass", + "keywords": [ + "magnifying", + "glass" + ] + }, + { + "value": "magnifying-glass-arrow-right", + "keywords": [ + "magnifying", + "glass", + "arrow", + "right" + ] + }, + { + "value": "magnifying-glass-chart", + "keywords": [ + "magnifying", + "glass", + "chart" + ] + }, + { + "value": "magnifying-glass-dollar", + "keywords": [ + "magnifying", + "glass", + "dollar" + ] + }, + { + "value": "magnifying-glass-location", + "keywords": [ + "magnifying", + "glass", + "location" + ] + }, + { + "value": "magnifying-glass-minus", + "keywords": [ + "magnifying", + "glass", + "minus" + ] + }, + { + "value": "magnifying-glass-plus", + "keywords": [ + "magnifying", + "glass", + "plus" + ] + }, + { + "value": "manat-sign", + "keywords": [ + "manat", + "sign" + ] + }, + { + "value": "map" + }, + { + "value": "map-location", + "keywords": [ + "map", + "location" + ] + }, + { + "value": "map-location-dot", + "keywords": [ + "map", + "location", + "dot" + ] + }, + { + "value": "map-pin", + "keywords": [ + "map", + "pin" + ] + }, + { + "value": "marker" + }, + { + "value": "mars" + }, + { + "value": "mars-and-venus", + "keywords": [ + "mars", + "and", + "venus" + ] + }, + { + "value": "mars-and-venus-burst", + "keywords": [ + "mars", + "and", + "venus", + "burst" + ] + }, + { + "value": "mars-double", + "keywords": [ + "mars", + "double" + ] + }, + { + "value": "mars-stroke", + "keywords": [ + "mars", + "stroke" + ] + }, + { + "value": "mars-stroke-right", + "keywords": [ + "mars", + "stroke", + "right" + ] + }, + { + "value": "mars-stroke-up", + "keywords": [ + "mars", + "stroke", + "up" + ] + }, + { + "value": "martini-glass", + "keywords": [ + "martini", + "glass" + ] + }, + { + "value": "martini-glass-citrus", + "keywords": [ + "martini", + "glass", + "citrus" + ] + }, + { + "value": "martini-glass-empty", + "keywords": [ + "martini", + "glass", + "empty" + ] + }, + { + "value": "mask" + }, + { + "value": "mask-face", + "keywords": [ + "mask", + "face" + ] + }, + { + "value": "mask-ventilator", + "keywords": [ + "mask", + "ventilator" + ] + }, + { + "value": "masks-theater", + "keywords": [ + "masks", + "theater" + ] + }, + { + "value": "mattress-pillow", + "keywords": [ + "mattress", + "pillow" + ] + }, + { + "value": "maximize" + }, + { + "value": "medal" + }, + { + "value": "memory" + }, + { + "value": "menorah" + }, + { + "value": "mercury" + }, + { + "value": "message" + }, + { + "value": "meteor" + }, + { + "value": "microchip" + }, + { + "value": "microphone" + }, + { + "value": "microphone-lines", + "keywords": [ + "microphone", + "lines" + ] + }, + { + "value": "microphone-lines-slash", + "keywords": [ + "microphone", + "lines", + "slash" + ] + }, + { + "value": "microphone-slash", + "keywords": [ + "microphone", + "slash" + ] + }, + { + "value": "microscope" + }, + { + "value": "mill-sign", + "keywords": [ + "mill", + "sign" + ] + }, + { + "value": "minimize" + }, + { + "value": "minus" + }, + { + "value": "mitten" + }, + { + "value": "mobile" + }, + { + "value": "mobile-button", + "keywords": [ + "mobile", + "button" + ] + }, + { + "value": "mobile-retro", + "keywords": [ + "mobile", + "retro" + ] + }, + { + "value": "mobile-screen", + "keywords": [ + "mobile", + "screen" + ] + }, + { + "value": "mobile-screen-button", + "keywords": [ + "mobile", + "screen", + "button" + ] + }, + { + "value": "money-bill", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-transfer", + "keywords": [ + "money", + "bill", + "transfer" + ] + }, + { + "value": "money-bill-trend-up", + "keywords": [ + "money", + "bill", + "trend", + "up" + ] + }, + { + "value": "money-bill-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-wheat", + "keywords": [ + "money", + "bill", + "wheat" + ] + }, + { + "value": "money-bills", + "keywords": [ + "money", + "bills" + ] + }, + { + "value": "money-check", + "keywords": [ + "money", + "check" + ] + }, + { + "value": "money-check-dollar", + "keywords": [ + "money", + "check", + "dollar" + ] + }, + { + "value": "monument" + }, + { + "value": "moon" + }, + { + "value": "mortar-pestle", + "keywords": [ + "mortar", + "pestle" + ] + }, + { + "value": "mosque" + }, + { + "value": "mosquito" + }, + { + "value": "mosquito-net", + "keywords": [ + "mosquito", + "net" + ] + }, + { + "value": "motorcycle" + }, + { + "value": "mound" + }, + { + "value": "mountain" + }, + { + "value": "mountain-city", + "keywords": [ + "mountain", + "city" + ] + }, + { + "value": "mountain-sun", + "keywords": [ + "mountain", + "sun" + ] + }, + { + "value": "mug-hot", + "keywords": [ + "mug", + "hot" + ] + }, + { + "value": "mug-saucer", + "keywords": [ + "mug", + "saucer" + ] + }, + { + "value": "music" + }, + { + "value": "n" + }, + { + "value": "naira-sign", + "keywords": [ + "naira", + "sign" + ] + }, + { + "value": "network-wired", + "keywords": [ + "network", + "wired" + ] + }, + { + "value": "neuter" + }, + { + "value": "newspaper" + }, + { + "value": "not-equal", + "keywords": [ + "not", + "equal" + ] + }, + { + "value": "notdef" + }, + { + "value": "note-sticky", + "keywords": [ + "note", + "sticky" + ] + }, + { + "value": "notes-medical", + "keywords": [ + "notes", + "medical" + ] + }, + { + "value": "o" + }, + { + "value": "object-group", + "keywords": [ + "object", + "group" + ] + }, + { + "value": "object-ungroup", + "keywords": [ + "object", + "ungroup" + ] + }, + { + "value": "oil-can", + "keywords": [ + "oil", + "can" + ] + }, + { + "value": "oil-well", + "keywords": [ + "oil", + "well" + ] + }, + { + "value": "om" + }, + { + "value": "otter" + }, + { + "value": "outdent" + }, + { + "value": "p" + }, + { + "value": "pager" + }, + { + "value": "paint-roller", + "keywords": [ + "paint", + "roller" + ] + }, + { + "value": "paintbrush" + }, + { + "value": "palette" + }, + { + "value": "pallet" + }, + { + "value": "panorama" + }, + { + "value": "paper-plane", + "keywords": [ + "paper", + "plane" + ] + }, + { + "value": "paperclip" + }, + { + "value": "parachute-box", + "keywords": [ + "parachute", + "box" + ] + }, + { + "value": "paragraph" + }, + { + "value": "passport" + }, + { + "value": "paste" + }, + { + "value": "pause" + }, + { + "value": "paw" + }, + { + "value": "peace" + }, + { + "value": "pen" + }, + { + "value": "pen-clip", + "keywords": [ + "pen", + "clip" + ] + }, + { + "value": "pen-fancy", + "keywords": [ + "pen", + "fancy" + ] + }, + { + "value": "pen-nib", + "keywords": [ + "pen", + "nib" + ] + }, + { + "value": "pen-ruler", + "keywords": [ + "pen", + "ruler" + ] + }, + { + "value": "pen-to-square", + "keywords": [ + "pen", + "to", + "square" + ] + }, + { + "value": "pencil" + }, + { + "value": "people-arrows", + "keywords": [ + "people", + "arrows" + ] + }, + { + "value": "people-carry-box", + "keywords": [ + "people", + "carry", + "box" + ] + }, + { + "value": "people-group", + "keywords": [ + "people", + "group" + ] + }, + { + "value": "people-line", + "keywords": [ + "people", + "line" + ] + }, + { + "value": "people-pulling", + "keywords": [ + "people", + "pulling" + ] + }, + { + "value": "people-robbery", + "keywords": [ + "people", + "robbery" + ] + }, + { + "value": "people-roof", + "keywords": [ + "people", + "roof" + ] + }, + { + "value": "pepper-hot", + "keywords": [ + "pepper", + "hot" + ] + }, + { + "value": "percent" + }, + { + "value": "person" + }, + { + "value": "person-arrow-down-to-line", + "keywords": [ + "person", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "person-arrow-up-from-line", + "keywords": [ + "person", + "arrow", + "up", + "from", + "line" + ] + }, + { + "value": "person-biking", + "keywords": [ + "person", + "biking" + ] + }, + { + "value": "person-booth", + "keywords": [ + "person", + "booth" + ] + }, + { + "value": "person-breastfeeding", + "keywords": [ + "person", + "breastfeeding" + ] + }, + { + "value": "person-burst", + "keywords": [ + "person", + "burst" + ] + }, + { + "value": "person-cane", + "keywords": [ + "person", + "cane" + ] + }, + { + "value": "person-chalkboard", + "keywords": [ + "person", + "chalkboard" + ] + }, + { + "value": "person-circle-check", + "keywords": [ + "person", + "circle", + "check" + ] + }, + { + "value": "person-circle-exclamation", + "keywords": [ + "person", + "circle", + "exclamation" + ] + }, + { + "value": "person-circle-minus", + "keywords": [ + "person", + "circle", + "minus" + ] + }, + { + "value": "person-circle-plus", + "keywords": [ + "person", + "circle", + "plus" + ] + }, + { + "value": "person-circle-question", + "keywords": [ + "person", + "circle", + "question" + ] + }, + { + "value": "person-circle-xmark", + "keywords": [ + "person", + "circle", + "xmark" + ] + }, + { + "value": "person-digging", + "keywords": [ + "person", + "digging" + ] + }, + { + "value": "person-dots-from-line", + "keywords": [ + "person", + "dots", + "from", + "line" + ] + }, + { + "value": "person-dress", + "keywords": [ + "person", + "dress" + ] + }, + { + "value": "person-dress-burst", + "keywords": [ + "person", + "dress", + "burst" + ] + }, + { + "value": "person-drowning", + "keywords": [ + "person", + "drowning" + ] + }, + { + "value": "person-falling", + "keywords": [ + "person", + "falling" + ] + }, + { + "value": "person-falling-burst", + "keywords": [ + "person", + "falling", + "burst" + ] + }, + { + "value": "person-half-dress", + "keywords": [ + "person", + "half", + "dress" + ] + }, + { + "value": "person-harassing", + "keywords": [ + "person", + "harassing" + ] + }, + { + "value": "person-hiking", + "keywords": [ + "person", + "hiking" + ] + }, + { + "value": "person-military-pointing", + "keywords": [ + "person", + "military", + "pointing" + ] + }, + { + "value": "person-military-rifle", + "keywords": [ + "person", + "military", + "rifle" + ] + }, + { + "value": "person-military-to-person", + "keywords": [ + "person", + "military", + "to", + "person" + ] + }, + { + "value": "person-praying", + "keywords": [ + "person", + "praying" + ] + }, + { + "value": "person-pregnant", + "keywords": [ + "person", + "pregnant" + ] + }, + { + "value": "person-rays", + "keywords": [ + "person", + "rays" + ] + }, + { + "value": "person-rifle", + "keywords": [ + "person", + "rifle" + ] + }, + { + "value": "person-running", + "keywords": [ + "person", + "running" + ] + }, + { + "value": "person-shelter", + "keywords": [ + "person", + "shelter" + ] + }, + { + "value": "person-skating", + "keywords": [ + "person", + "skating" + ] + }, + { + "value": "person-skiing", + "keywords": [ + "person", + "skiing" + ] + }, + { + "value": "person-skiing-nordic", + "keywords": [ + "person", + "skiing", + "nordic" + ] + }, + { + "value": "person-snowboarding", + "keywords": [ + "person", + "snowboarding" + ] + }, + { + "value": "person-swimming", + "keywords": [ + "person", + "swimming" + ] + }, + { + "value": "person-through-window", + "keywords": [ + "person", + "through", + "window" + ] + }, + { + "value": "person-walking", + "keywords": [ + "person", + "walking" + ] + }, + { + "value": "person-walking-arrow-loop-left", + "keywords": [ + "person", + "walking", + "arrow", + "loop", + "left" + ] + }, + { + "value": "person-walking-arrow-right", + "keywords": [ + "person", + "walking", + "arrow", + "right" + ] + }, + { + "value": "person-walking-dashed-line-arrow-right", + "keywords": [ + "person", + "walking", + "dashed", + "line", + "arrow", + "right" + ] + }, + { + "value": "person-walking-luggage", + "keywords": [ + "person", + "walking", + "luggage" + ] + }, + { + "value": "person-walking-with-cane", + "keywords": [ + "person", + "walking", + "with", + "cane" + ] + }, + { + "value": "peseta-sign", + "keywords": [ + "peseta", + "sign" + ] + }, + { + "value": "peso-sign", + "keywords": [ + "peso", + "sign" + ] + }, + { + "value": "phone" + }, + { + "value": "phone-flip", + "keywords": [ + "phone", + "flip" + ] + }, + { + "value": "phone-slash", + "keywords": [ + "phone", + "slash" + ] + }, + { + "value": "phone-volume", + "keywords": [ + "phone", + "volume" + ] + }, + { + "value": "photo-film", + "keywords": [ + "photo", + "film" + ] + }, + { + "value": "piggy-bank", + "keywords": [ + "piggy", + "bank" + ] + }, + { + "value": "pills" + }, + { + "value": "pizza-slice", + "keywords": [ + "pizza", + "slice" + ] + }, + { + "value": "place-of-worship", + "keywords": [ + "place", + "of", + "worship" + ] + }, + { + "value": "plane" + }, + { + "value": "plane-arrival", + "keywords": [ + "plane", + "arrival" + ] + }, + { + "value": "plane-circle-check", + "keywords": [ + "plane", + "circle", + "check" + ] + }, + { + "value": "plane-circle-exclamation", + "keywords": [ + "plane", + "circle", + "exclamation" + ] + }, + { + "value": "plane-circle-xmark", + "keywords": [ + "plane", + "circle", + "xmark" + ] + }, + { + "value": "plane-departure", + "keywords": [ + "plane", + "departure" + ] + }, + { + "value": "plane-lock", + "keywords": [ + "plane", + "lock" + ] + }, + { + "value": "plane-slash", + "keywords": [ + "plane", + "slash" + ] + }, + { + "value": "plane-up", + "keywords": [ + "plane", + "up" + ] + }, + { + "value": "plant-wilt", + "keywords": [ + "plant", + "wilt" + ] + }, + { + "value": "plate-wheat", + "keywords": [ + "plate", + "wheat" + ] + }, + { + "value": "play" + }, + { + "value": "plug" + }, + { + "value": "plug-circle-bolt", + "keywords": [ + "plug", + "circle", + "bolt" + ] + }, + { + "value": "plug-circle-check", + "keywords": [ + "plug", + "circle", + "check" + ] + }, + { + "value": "plug-circle-exclamation", + "keywords": [ + "plug", + "circle", + "exclamation" + ] + }, + { + "value": "plug-circle-minus", + "keywords": [ + "plug", + "circle", + "minus" + ] + }, + { + "value": "plug-circle-plus", + "keywords": [ + "plug", + "circle", + "plus" + ] + }, + { + "value": "plug-circle-xmark", + "keywords": [ + "plug", + "circle", + "xmark" + ] + }, + { + "value": "plus" + }, + { + "value": "plus-minus", + "keywords": [ + "plus", + "minus" + ] + }, + { + "value": "podcast" + }, + { + "value": "poo" + }, + { + "value": "poo-storm", + "keywords": [ + "poo", + "storm" + ] + }, + { + "value": "poop" + }, + { + "value": "power-off", + "keywords": [ + "power", + "off" + ] + }, + { + "value": "prescription" + }, + { + "value": "prescription-bottle", + "keywords": [ + "prescription", + "bottle" + ] + }, + { + "value": "prescription-bottle-medical", + "keywords": [ + "prescription", + "bottle", + "medical" + ] + }, + { + "value": "print" + }, + { + "value": "pump-medical", + "keywords": [ + "pump", + "medical" + ] + }, + { + "value": "pump-soap", + "keywords": [ + "pump", + "soap" + ] + }, + { + "value": "puzzle-piece", + "keywords": [ + "puzzle", + "piece" + ] + }, + { + "value": "q" + }, + { + "value": "qrcode" + }, + { + "value": "question" + }, + { + "value": "quote-left", + "keywords": [ + "quote", + "left" + ] + }, + { + "value": "quote-right", + "keywords": [ + "quote", + "right" + ] + }, + { + "value": "r" + }, + { + "value": "radiation" + }, + { + "value": "radio" + }, + { + "value": "rainbow" + }, + { + "value": "ranking-star", + "keywords": [ + "ranking", + "star" + ] + }, + { + "value": "receipt" + }, + { + "value": "record-vinyl", + "keywords": [ + "record", + "vinyl" + ] + }, + { + "value": "rectangle-ad", + "keywords": [ + "rectangle", + "ad" + ] + }, + { + "value": "rectangle-list", + "keywords": [ + "rectangle", + "list" + ] + }, + { + "value": "rectangle-xmark", + "keywords": [ + "rectangle", + "xmark" + ] + }, + { + "value": "recycle" + }, + { + "value": "registered" + }, + { + "value": "repeat" + }, + { + "value": "reply" + }, + { + "value": "reply-all", + "keywords": [ + "reply", + "all" + ] + }, + { + "value": "republican" + }, + { + "value": "restroom" + }, + { + "value": "retweet" + }, + { + "value": "ribbon" + }, + { + "value": "right-from-bracket", + "keywords": [ + "right", + "from", + "bracket" + ] + }, + { + "value": "right-left", + "keywords": [ + "right", + "left" + ] + }, + { + "value": "right-long", + "keywords": [ + "right", + "long" + ] + }, + { + "value": "right-to-bracket", + "keywords": [ + "right", + "to", + "bracket" + ] + }, + { + "value": "ring" + }, + { + "value": "road" + }, + { + "value": "road-barrier", + "keywords": [ + "road", + "barrier" + ] + }, + { + "value": "road-bridge", + "keywords": [ + "road", + "bridge" + ] + }, + { + "value": "road-circle-check", + "keywords": [ + "road", + "circle", + "check" + ] + }, + { + "value": "road-circle-exclamation", + "keywords": [ + "road", + "circle", + "exclamation" + ] + }, + { + "value": "road-circle-xmark", + "keywords": [ + "road", + "circle", + "xmark" + ] + }, + { + "value": "road-lock", + "keywords": [ + "road", + "lock" + ] + }, + { + "value": "road-spikes", + "keywords": [ + "road", + "spikes" + ] + }, + { + "value": "robot" + }, + { + "value": "rocket" + }, + { + "value": "rotate" + }, + { + "value": "rotate-left", + "keywords": [ + "rotate", + "left" + ] + }, + { + "value": "rotate-right", + "keywords": [ + "rotate", + "right" + ] + }, + { + "value": "route" + }, + { + "value": "rss" + }, + { + "value": "ruble-sign", + "keywords": [ + "ruble", + "sign" + ] + }, + { + "value": "rug" + }, + { + "value": "ruler" + }, + { + "value": "ruler-combined", + "keywords": [ + "ruler", + "combined" + ] + }, + { + "value": "ruler-horizontal", + "keywords": [ + "ruler", + "horizontal" + ] + }, + { + "value": "ruler-vertical", + "keywords": [ + "ruler", + "vertical" + ] + }, + { + "value": "rupee-sign", + "keywords": [ + "rupee", + "sign" + ] + }, + { + "value": "rupiah-sign", + "keywords": [ + "rupiah", + "sign" + ] + }, + { + "value": "s" + }, + { + "value": "sack-dollar", + "keywords": [ + "sack", + "dollar" + ] + }, + { + "value": "sack-xmark", + "keywords": [ + "sack", + "xmark" + ] + }, + { + "value": "sailboat" + }, + { + "value": "satellite" + }, + { + "value": "satellite-dish", + "keywords": [ + "satellite", + "dish" + ] + }, + { + "value": "scale-balanced", + "keywords": [ + "scale", + "balanced" + ] + }, + { + "value": "scale-unbalanced", + "keywords": [ + "scale", + "unbalanced" + ] + }, + { + "value": "scale-unbalanced-flip", + "keywords": [ + "scale", + "unbalanced", + "flip" + ] + }, + { + "value": "school" + }, + { + "value": "school-circle-check", + "keywords": [ + "school", + "circle", + "check" + ] + }, + { + "value": "school-circle-exclamation", + "keywords": [ + "school", + "circle", + "exclamation" + ] + }, + { + "value": "school-circle-xmark", + "keywords": [ + "school", + "circle", + "xmark" + ] + }, + { + "value": "school-flag", + "keywords": [ + "school", + "flag" + ] + }, + { + "value": "school-lock", + "keywords": [ + "school", + "lock" + ] + }, + { + "value": "scissors" + }, + { + "value": "screwdriver" + }, + { + "value": "screwdriver-wrench", + "keywords": [ + "screwdriver", + "wrench" + ] + }, + { + "value": "scroll" + }, + { + "value": "scroll-torah", + "keywords": [ + "scroll", + "torah" + ] + }, + { + "value": "sd-card", + "keywords": [ + "sd", + "card" + ] + }, + { + "value": "section" + }, + { + "value": "seedling" + }, + { + "value": "server" + }, + { + "value": "shapes" + }, + { + "value": "share" + }, + { + "value": "share-from-square", + "keywords": [ + "share", + "from", + "square" + ] + }, + { + "value": "share-nodes", + "keywords": [ + "share", + "nodes" + ] + }, + { + "value": "sheet-plastic", + "keywords": [ + "sheet", + "plastic" + ] + }, + { + "value": "shekel-sign", + "keywords": [ + "shekel", + "sign" + ] + }, + { + "value": "shield" + }, + { + "value": "shield-cat", + "keywords": [ + "shield", + "cat" + ] + }, + { + "value": "shield-dog", + "keywords": [ + "shield", + "dog" + ] + }, + { + "value": "shield-halved", + "keywords": [ + "shield", + "halved" + ] + }, + { + "value": "shield-heart", + "keywords": [ + "shield", + "heart" + ] + }, + { + "value": "shield-virus", + "keywords": [ + "shield", + "virus" + ] + }, + { + "value": "ship" + }, + { + "value": "shirt" + }, + { + "value": "shoe-prints", + "keywords": [ + "shoe", + "prints" + ] + }, + { + "value": "shop" + }, + { + "value": "shop-lock", + "keywords": [ + "shop", + "lock" + ] + }, + { + "value": "shop-slash", + "keywords": [ + "shop", + "slash" + ] + }, + { + "value": "shower" + }, + { + "value": "shrimp" + }, + { + "value": "shuffle" + }, + { + "value": "shuttle-space", + "keywords": [ + "shuttle", + "space" + ] + }, + { + "value": "sign-hanging", + "keywords": [ + "sign", + "hanging" + ] + }, + { + "value": "signal" + }, + { + "value": "signature" + }, + { + "value": "signs-post", + "keywords": [ + "signs", + "post" + ] + }, + { + "value": "sim-card", + "keywords": [ + "sim", + "card" + ] + }, + { + "value": "sink" + }, + { + "value": "sitemap" + }, + { + "value": "skull" + }, + { + "value": "skull-crossbones", + "keywords": [ + "skull", + "crossbones" + ] + }, + { + "value": "slash" + }, + { + "value": "sleigh" + }, + { + "value": "sliders" + }, + { + "value": "smog" + }, + { + "value": "smoking" + }, + { + "value": "snowflake" + }, + { + "value": "snowman" + }, + { + "value": "snowplow" + }, + { + "value": "soap" + }, + { + "value": "socks" + }, + { + "value": "solar-panel", + "keywords": [ + "solar", + "panel" + ] + }, + { + "value": "sort" + }, + { + "value": "sort-down", + "keywords": [ + "sort", + "down" + ] + }, + { + "value": "sort-up", + "keywords": [ + "sort", + "up" + ] + }, + { + "value": "spa" + }, + { + "value": "spaghetti-monster-flying", + "keywords": [ + "spaghetti", + "monster", + "flying" + ] + }, + { + "value": "spell-check", + "keywords": [ + "spell", + "check" + ] + }, + { + "value": "spider" + }, + { + "value": "spinner" + }, + { + "value": "splotch" + }, + { + "value": "spoon" + }, + { + "value": "spray-can", + "keywords": [ + "spray", + "can" + ] + }, + { + "value": "spray-can-sparkles", + "keywords": [ + "spray", + "can", + "sparkles" + ] + }, + { + "value": "square" + }, + { + "value": "square-arrow-up-right", + "keywords": [ + "square", + "arrow", + "up", + "right" + ] + }, + { + "value": "square-caret-down", + "keywords": [ + "square", + "caret", + "down" + ] + }, + { + "value": "square-caret-left", + "keywords": [ + "square", + "caret", + "left" + ] + }, + { + "value": "square-caret-right", + "keywords": [ + "square", + "caret", + "right" + ] + }, + { + "value": "square-caret-up", + "keywords": [ + "square", + "caret", + "up" + ] + }, + { + "value": "square-check", + "keywords": [ + "square", + "check" + ] + }, + { + "value": "square-envelope", + "keywords": [ + "square", + "envelope" + ] + }, + { + "value": "square-full", + "keywords": [ + "square", + "full" + ] + }, + { + "value": "square-h" + }, + { + "value": "square-minus", + "keywords": [ + "square", + "minus" + ] + }, + { + "value": "square-nfi", + "keywords": [ + "square", + "nfi" + ] + }, + { + "value": "square-parking", + "keywords": [ + "square", + "parking" + ] + }, + { + "value": "square-pen", + "keywords": [ + "square", + "pen" + ] + }, + { + "value": "square-person-confined", + "keywords": [ + "square", + "person", + "confined" + ] + }, + { + "value": "square-phone", + "keywords": [ + "square", + "phone" + ] + }, + { + "value": "square-phone-flip", + "keywords": [ + "square", + "phone", + "flip" + ] + }, + { + "value": "square-plus", + "keywords": [ + "square", + "plus" + ] + }, + { + "value": "square-poll-horizontal", + "keywords": [ + "square", + "poll", + "horizontal" + ] + }, + { + "value": "square-poll-vertical", + "keywords": [ + "square", + "poll", + "vertical" + ] + }, + { + "value": "square-root-variable", + "keywords": [ + "square", + "root", + "variable" + ] + }, + { + "value": "square-rss", + "keywords": [ + "square", + "rss" + ] + }, + { + "value": "square-share-nodes", + "keywords": [ + "square", + "share", + "nodes" + ] + }, + { + "value": "square-up-right", + "keywords": [ + "square", + "up", + "right" + ] + }, + { + "value": "square-virus", + "keywords": [ + "square", + "virus" + ] + }, + { + "value": "square-xmark", + "keywords": [ + "square", + "xmark" + ] + }, + { + "value": "staff-snake", + "keywords": [ + "staff", + "snake" + ] + }, + { + "value": "stairs" + }, + { + "value": "stamp" + }, + { + "value": "stapler" + }, + { + "value": "star" + }, + { + "value": "star-and-crescent", + "keywords": [ + "star", + "and", + "crescent" + ] + }, + { + "value": "star-half", + "keywords": [ + "star", + "half" + ] + }, + { + "value": "star-half-stroke", + "keywords": [ + "star", + "half", + "stroke" + ] + }, + { + "value": "star-of-david", + "keywords": [ + "star", + "of", + "david" + ] + }, + { + "value": "star-of-life", + "keywords": [ + "star", + "of", + "life" + ] + }, + { + "value": "sterling-sign", + "keywords": [ + "sterling", + "sign" + ] + }, + { + "value": "stethoscope" + }, + { + "value": "stop" + }, + { + "value": "stopwatch" + }, + { + "value": "stopwatch-20", + "keywords": [ + "stopwatch", + "20" + ] + }, + { + "value": "store" + }, + { + "value": "store-slash", + "keywords": [ + "store", + "slash" + ] + }, + { + "value": "street-view", + "keywords": [ + "street", + "view" + ] + }, + { + "value": "strikethrough" + }, + { + "value": "stroopwafel" + }, + { + "value": "subscript" + }, + { + "value": "suitcase" + }, + { + "value": "suitcase-medical", + "keywords": [ + "suitcase", + "medical" + ] + }, + { + "value": "suitcase-rolling", + "keywords": [ + "suitcase", + "rolling" + ] + }, + { + "value": "sun" + }, + { + "value": "sun-plant-wilt", + "keywords": [ + "sun", + "plant", + "wilt" + ] + }, + { + "value": "superscript" + }, + { + "value": "swatchbook" + }, + { + "value": "synagogue" + }, + { + "value": "syringe" + }, + { + "value": "t" + }, + { + "value": "table" + }, + { + "value": "table-cells", + "keywords": [ + "table", + "cells" + ] + }, + { + "value": "table-cells-large", + "keywords": [ + "table", + "cells", + "large" + ] + }, + { + "value": "table-columns", + "keywords": [ + "table", + "columns" + ] + }, + { + "value": "table-list", + "keywords": [ + "table", + "list" + ] + }, + { + "value": "table-tennis-paddle-ball", + "keywords": [ + "table", + "tennis", + "paddle", + "ball" + ] + }, + { + "value": "tablet" + }, + { + "value": "tablet-button", + "keywords": [ + "tablet", + "button" + ] + }, + { + "value": "tablet-screen-button", + "keywords": [ + "tablet", + "screen", + "button" + ] + }, + { + "value": "tablets" + }, + { + "value": "tachograph-digital", + "keywords": [ + "tachograph", + "digital" + ] + }, + { + "value": "tag" + }, + { + "value": "tags" + }, + { + "value": "tape" + }, + { + "value": "tarp" + }, + { + "value": "tarp-droplet", + "keywords": [ + "tarp", + "droplet" + ] + }, + { + "value": "taxi" + }, + { + "value": "teeth" + }, + { + "value": "teeth-open", + "keywords": [ + "teeth", + "open" + ] + }, + { + "value": "temperature-arrow-down", + "keywords": [ + "temperature", + "arrow", + "down" + ] + }, + { + "value": "temperature-arrow-up", + "keywords": [ + "temperature", + "arrow", + "up" + ] + }, + { + "value": "temperature-empty", + "keywords": [ + "temperature", + "empty" + ] + }, + { + "value": "temperature-full", + "keywords": [ + "temperature", + "full" + ] + }, + { + "value": "temperature-half", + "keywords": [ + "temperature", + "half" + ] + }, + { + "value": "temperature-high", + "keywords": [ + "temperature", + "high" + ] + }, + { + "value": "temperature-low", + "keywords": [ + "temperature", + "low" + ] + }, + { + "value": "temperature-quarter", + "keywords": [ + "temperature", + "quarter" + ] + }, + { + "value": "temperature-three-quarters", + "keywords": [ + "temperature", + "three", + "quarters" + ] + }, + { + "value": "tenge-sign", + "keywords": [ + "tenge", + "sign" + ] + }, + { + "value": "tent" + }, + { + "value": "tent-arrow-down-to-line", + "keywords": [ + "tent", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "tent-arrow-left-right", + "keywords": [ + "tent", + "arrow", + "left", + "right" + ] + }, + { + "value": "tent-arrow-turn-left", + "keywords": [ + "tent", + "arrow", + "turn", + "left" + ] + }, + { + "value": "tent-arrows-down", + "keywords": [ + "tent", + "arrows", + "down" + ] + }, + { + "value": "tents" + }, + { + "value": "terminal" + }, + { + "value": "text-height", + "keywords": [ + "text", + "height" + ] + }, + { + "value": "text-slash", + "keywords": [ + "text", + "slash" + ] + }, + { + "value": "text-width", + "keywords": [ + "text", + "width" + ] + }, + { + "value": "thermometer" + }, + { + "value": "thumbs-down", + "keywords": [ + "thumbs", + "down" + ] + }, + { + "value": "thumbs-up", + "keywords": [ + "thumbs", + "up" + ] + }, + { + "value": "thumbtack" + }, + { + "value": "ticket" + }, + { + "value": "ticket-simple", + "keywords": [ + "ticket", + "simple" + ] + }, + { + "value": "timeline" + }, + { + "value": "toggle-off", + "keywords": [ + "toggle", + "off" + ] + }, + { + "value": "toggle-on", + "keywords": [ + "toggle", + "on" + ] + }, + { + "value": "toilet" + }, + { + "value": "toilet-paper", + "keywords": [ + "toilet", + "paper" + ] + }, + { + "value": "toilet-paper-slash", + "keywords": [ + "toilet", + "paper", + "slash" + ] + }, + { + "value": "toilet-portable", + "keywords": [ + "toilet", + "portable" + ] + }, + { + "value": "toilets-portable", + "keywords": [ + "toilets", + "portable" + ] + }, + { + "value": "toolbox" + }, + { + "value": "tooth" + }, + { + "value": "torii-gate", + "keywords": [ + "torii", + "gate" + ] + }, + { + "value": "tornado" + }, + { + "value": "tower-broadcast", + "keywords": [ + "tower", + "broadcast" + ] + }, + { + "value": "tower-cell", + "keywords": [ + "tower", + "cell" + ] + }, + { + "value": "tower-observation", + "keywords": [ + "tower", + "observation" + ] + }, + { + "value": "tractor" + }, + { + "value": "trademark" + }, + { + "value": "traffic-light", + "keywords": [ + "traffic", + "light" + ] + }, + { + "value": "trailer" + }, + { + "value": "train" + }, + { + "value": "train-subway", + "keywords": [ + "train", + "subway" + ] + }, + { + "value": "train-tram", + "keywords": [ + "train", + "tram" + ] + }, + { + "value": "transgender" + }, + { + "value": "trash" + }, + { + "value": "trash-arrow-up", + "keywords": [ + "trash", + "arrow", + "up" + ] + }, + { + "value": "trash-can", + "keywords": [ + "trash", + "can" + ] + }, + { + "value": "trash-can-arrow-up", + "keywords": [ + "trash", + "can", + "arrow", + "up" + ] + }, + { + "value": "tree" + }, + { + "value": "tree-city", + "keywords": [ + "tree", + "city" + ] + }, + { + "value": "triangle-exclamation", + "keywords": [ + "triangle", + "exclamation" + ] + }, + { + "value": "trophy" + }, + { + "value": "trowel" + }, + { + "value": "trowel-bricks", + "keywords": [ + "trowel", + "bricks" + ] + }, + { + "value": "truck" + }, + { + "value": "truck-arrow-right", + "keywords": [ + "truck", + "arrow", + "right" + ] + }, + { + "value": "truck-droplet", + "keywords": [ + "truck", + "droplet" + ] + }, + { + "value": "truck-fast", + "keywords": [ + "truck", + "fast" + ] + }, + { + "value": "truck-field", + "keywords": [ + "truck", + "field" + ] + }, + { + "value": "truck-field-un", + "keywords": [ + "truck", + "field", + "un" + ] + }, + { + "value": "truck-front", + "keywords": [ + "truck", + "front" + ] + }, + { + "value": "truck-medical", + "keywords": [ + "truck", + "medical" + ] + }, + { + "value": "truck-monster", + "keywords": [ + "truck", + "monster" + ] + }, + { + "value": "truck-moving", + "keywords": [ + "truck", + "moving" + ] + }, + { + "value": "truck-pickup", + "keywords": [ + "truck", + "pickup" + ] + }, + { + "value": "truck-plane", + "keywords": [ + "truck", + "plane" + ] + }, + { + "value": "truck-ramp-box", + "keywords": [ + "truck", + "ramp", + "box" + ] + }, + { + "value": "tty" + }, + { + "value": "turkish-lira-sign", + "keywords": [ + "turkish", + "lira", + "sign" + ] + }, + { + "value": "turn-down", + "keywords": [ + "turn", + "down" + ] + }, + { + "value": "turn-up", + "keywords": [ + "turn", + "up" + ] + }, + { + "value": "tv" + }, + { + "value": "u" + }, + { + "value": "umbrella" + }, + { + "value": "umbrella-beach", + "keywords": [ + "umbrella", + "beach" + ] + }, + { + "value": "underline" + }, + { + "value": "universal-access", + "keywords": [ + "universal", + "access" + ] + }, + { + "value": "unlock" + }, + { + "value": "unlock-keyhole", + "keywords": [ + "unlock", + "keyhole" + ] + }, + { + "value": "up-down", + "keywords": [ + "up", + "down" + ] + }, + { + "value": "up-down-left-right", + "keywords": [ + "up", + "down", + "left", + "right" + ] + }, + { + "value": "up-long", + "keywords": [ + "up", + "long" + ] + }, + { + "value": "up-right-and-down-left-from-center", + "keywords": [ + "up", + "right", + "and", + "down", + "left", + "from", + "center" + ] + }, + { + "value": "up-right-from-square", + "keywords": [ + "up", + "right", + "from", + "square" + ] + }, + { + "value": "upload" + }, + { + "value": "user" + }, + { + "value": "user-astronaut", + "keywords": [ + "user", + "astronaut" + ] + }, + { + "value": "user-check", + "keywords": [ + "user", + "check" + ] + }, + { + "value": "user-clock", + "keywords": [ + "user", + "clock" + ] + }, + { + "value": "user-doctor", + "keywords": [ + "user", + "doctor" + ] + }, + { + "value": "user-gear", + "keywords": [ + "user", + "gear" + ] + }, + { + "value": "user-graduate", + "keywords": [ + "user", + "graduate" + ] + }, + { + "value": "user-group", + "keywords": [ + "user", + "group" + ] + }, + { + "value": "user-injured", + "keywords": [ + "user", + "injured" + ] + }, + { + "value": "user-large", + "keywords": [ + "user", + "large" + ] + }, + { + "value": "user-large-slash", + "keywords": [ + "user", + "large", + "slash" + ] + }, + { + "value": "user-lock", + "keywords": [ + "user", + "lock" + ] + }, + { + "value": "user-minus", + "keywords": [ + "user", + "minus" + ] + }, + { + "value": "user-ninja", + "keywords": [ + "user", + "ninja" + ] + }, + { + "value": "user-nurse", + "keywords": [ + "user", + "nurse" + ] + }, + { + "value": "user-pen", + "keywords": [ + "user", + "pen" + ] + }, + { + "value": "user-plus", + "keywords": [ + "user", + "plus" + ] + }, + { + "value": "user-secret", + "keywords": [ + "user", + "secret" + ] + }, + { + "value": "user-shield", + "keywords": [ + "user", + "shield" + ] + }, + { + "value": "user-slash", + "keywords": [ + "user", + "slash" + ] + }, + { + "value": "user-tag", + "keywords": [ + "user", + "tag" + ] + }, + { + "value": "user-tie", + "keywords": [ + "user", + "tie" + ] + }, + { + "value": "user-xmark", + "keywords": [ + "user", + "xmark" + ] + }, + { + "value": "users" + }, + { + "value": "users-between-lines", + "keywords": [ + "users", + "between", + "lines" + ] + }, + { + "value": "users-gear", + "keywords": [ + "users", + "gear" + ] + }, + { + "value": "users-line", + "keywords": [ + "users", + "line" + ] + }, + { + "value": "users-rays", + "keywords": [ + "users", + "rays" + ] + }, + { + "value": "users-rectangle", + "keywords": [ + "users", + "rectangle" + ] + }, + { + "value": "users-slash", + "keywords": [ + "users", + "slash" + ] + }, + { + "value": "users-viewfinder", + "keywords": [ + "users", + "viewfinder" + ] + }, + { + "value": "utensils" + }, + { + "value": "v" + }, + { + "value": "van-shuttle", + "keywords": [ + "van", + "shuttle" + ] + }, + { + "value": "vault" + }, + { + "value": "vector-square", + "keywords": [ + "vector", + "square" + ] + }, + { + "value": "venus" + }, + { + "value": "venus-double", + "keywords": [ + "venus", + "double" + ] + }, + { + "value": "venus-mars", + "keywords": [ + "venus", + "mars" + ] + }, + { + "value": "vest" + }, + { + "value": "vest-patches", + "keywords": [ + "vest", + "patches" + ] + }, + { + "value": "vial" + }, + { + "value": "vial-circle-check", + "keywords": [ + "vial", + "circle", + "check" + ] + }, + { + "value": "vial-virus", + "keywords": [ + "vial", + "virus" + ] + }, + { + "value": "vials" + }, + { + "value": "video" + }, + { + "value": "video-slash", + "keywords": [ + "video", + "slash" + ] + }, + { + "value": "vihara" + }, + { + "value": "virus" + }, + { + "value": "virus-covid", + "keywords": [ + "virus", + "covid" + ] + }, + { + "value": "virus-covid-slash", + "keywords": [ + "virus", + "covid", + "slash" + ] + }, + { + "value": "virus-slash", + "keywords": [ + "virus", + "slash" + ] + }, + { + "value": "viruses" + }, + { + "value": "voicemail" + }, + { + "value": "volcano" + }, + { + "value": "volleyball" + }, + { + "value": "volume-high", + "keywords": [ + "volume", + "high" + ] + }, + { + "value": "volume-low", + "keywords": [ + "volume", + "low" + ] + }, + { + "value": "volume-off", + "keywords": [ + "volume", + "off" + ] + }, + { + "value": "volume-xmark", + "keywords": [ + "volume", + "xmark" + ] + }, + { + "value": "vr-cardboard", + "keywords": [ + "vr", + "cardboard" + ] + }, + { + "value": "w" + }, + { + "value": "walkie-talkie", + "keywords": [ + "walkie", + "talkie" + ] + }, + { + "value": "wallet" + }, + { + "value": "wand-magic", + "keywords": [ + "wand", + "magic" + ] + }, + { + "value": "wand-magic-sparkles", + "keywords": [ + "wand", + "magic", + "sparkles" + ] + }, + { + "value": "wand-sparkles", + "keywords": [ + "wand", + "sparkles" + ] + }, + { + "value": "warehouse" + }, + { + "value": "water" + }, + { + "value": "water-ladder", + "keywords": [ + "water", + "ladder" + ] + }, + { + "value": "wave-square", + "keywords": [ + "wave", + "square" + ] + }, + { + "value": "weight-hanging", + "keywords": [ + "weight", + "hanging" + ] + }, + { + "value": "weight-scale", + "keywords": [ + "weight", + "scale" + ] + }, + { + "value": "wheat-awn", + "keywords": [ + "wheat", + "awn" + ] + }, + { + "value": "wheat-awn-circle-exclamation", + "keywords": [ + "wheat", + "awn", + "circle", + "exclamation" + ] + }, + { + "value": "wheelchair" + }, + { + "value": "wheelchair-move", + "keywords": [ + "wheelchair", + "move" + ] + }, + { + "value": "whiskey-glass", + "keywords": [ + "whiskey", + "glass" + ] + }, + { + "value": "wifi" + }, + { + "value": "wind" + }, + { + "value": "window-maximize", + "keywords": [ + "window", + "maximize" + ] + }, + { + "value": "window-minimize", + "keywords": [ + "window", + "minimize" + ] + }, + { + "value": "window-restore", + "keywords": [ + "window", + "restore" + ] + }, + { + "value": "wine-bottle", + "keywords": [ + "wine", + "bottle" + ] + }, + { + "value": "wine-glass", + "keywords": [ + "wine", + "glass" + ] + }, + { + "value": "wine-glass-empty", + "keywords": [ + "wine", + "glass", + "empty" + ] + }, + { + "value": "won-sign", + "keywords": [ + "won", + "sign" + ] + }, + { + "value": "worm" + }, + { + "value": "wrench" + }, + { + "value": "x" + }, + { + "value": "x-ray" + }, + { + "value": "xmark" + }, + { + "value": "xmarks-lines", + "keywords": [ + "xmarks", + "lines" + ] + }, + { + "value": "y" + }, + { + "value": "yen-sign", + "keywords": [ + "yen", + "sign" + ] + }, + { + "value": "yin-yang", + "keywords": [ + "yin", + "yang" + ] + }, + { + "value": "z" + } + ] + }, + "esIllustSrc": { + "label": "$t:editor.control.es_illust_src.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "illustrationSrc" + } + }, + "esIllustAlt": { + "label": "$t:editor.control.es_illust_alt.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "illustrationAlt" + } + }, + "lsSize": { + "label": "$t:editor.control.ls_size.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "size" + }, + "options": [ + { + "value": "sm", + "label": "$t:editor.control.ls_size.sm" + }, + { + "value": "md", + "label": "$t:editor.control.ls_size.md" + }, + { + "value": "lg", + "label": "$t:editor.control.ls_size.lg" + }, + { + "value": "xl", + "label": "$t:editor.control.ls_size.xl" + } + ] + }, + "lsColor": { + "label": "$t:editor.control.ls_color.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "color" + } + }, + "lsFullscreen": { + "label": "$t:editor.control.ls_fullscreen.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "fullscreen" + } + }, + "lsText": { + "label": "$t:editor.control.ls_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "text" + } + }, + "phTitle": { + "label": "$t:editor.control.ph_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "title" + } + }, + "phDesc": { + "label": "$t:editor.control.ph_desc.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "description" + } + }, + "bcSeparator": { + "label": "$t:editor.control.bc_separator.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "separator" + } + }, + "bcShowHome": { + "label": "$t:editor.control.bc_show_home.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showHome" + } + }, + "bcHomeHref": { + "label": "$t:editor.control.bc_home_href.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "homeHref" + } + }, + "bcMaxItems": { + "label": "$t:editor.control.bc_max_items.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxItems" + } + }, + "tnActiveTabId": { + "label": "$t:editor.control.tn_active_tab_id.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "activeTabId" + } + }, + "tnVariant": { + "label": "$t:editor.control.tn_variant.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "variant" + }, + "options": [ + { + "value": "default", + "label": "$t:editor.control.tn_variant.default" + }, + { + "value": "pills", + "label": "$t:editor.control.tn_variant.pills" + }, + { + "value": "underline", + "label": "$t:editor.control.tn_variant.underline" + } + ] + }, + "tnMobileBreakpoint": { + "label": "$t:editor.control.tn_mobile_breakpoint.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "mobileBreakpoint" + } + }, + "tnsActiveTabId": { + "label": "$t:editor.control.tns_active_tab_id.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "activeTabId" + } + }, + "tnsSectionPrefix": { + "label": "$t:editor.control.tns_section_prefix.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "sectionIdPrefix" + } + }, + "tnsScrollOffset": { + "label": "$t:editor.control.tns_scroll_offset.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "scrollOffset" + } + }, + "tnsScrollDelay": { + "label": "$t:editor.control.tns_scroll_delay.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "scrollDelay" + } + }, + "tnsEnableSpy": { + "label": "$t:editor.control.tns_enable_spy.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "enableScrollSpy" + } + }, + "tnsSpyOffset": { + "label": "$t:editor.control.tns_spy_offset.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "scrollSpyOffset" + } + }, + "tnsContainerId": { + "label": "$t:editor.control.tns_container_id.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "scrollContainerId" + } + }, + "tgLabel": { + "label": "$t:editor.control.tg_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "tgDesc": { + "label": "$t:editor.control.tg_desc.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "description" + } + }, + "tgSize": { + "label": "$t:editor.control.tg_size.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "size" + }, + "options": [ + { + "value": "sm", + "label": "$t:editor.control.tg_size.sm" + }, + { + "value": "md", + "label": "$t:editor.control.tg_size.md" + }, + { + "value": "lg", + "label": "$t:editor.control.tg_size.lg" + } + ] + }, + "tgDisabled": { + "label": "$t:editor.control.tg_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "tgName": { + "label": "$t:editor.control.tg_name.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "name" + } + }, + "ffLabel": { + "label": "$t:editor.control.ff_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "ffRequired": { + "label": "$t:editor.control.ff_required.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "required" + } + }, + "ffError": { + "label": "$t:editor.control.ff_error.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "error" + } + }, + "ffHelper": { + "label": "$t:editor.control.ff_helper.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "helperText" + } + }, + "ffHorizontal": { + "label": "$t:editor.control.ff_horizontal.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "horizontal" + } + }, + "ffLabelWidth": { + "label": "$t:editor.control.ff_label_width.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "labelWidth" + } + }, + "rgInline": { + "label": "$t:editor.control.rg_inline.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "inline" + } + }, + "rgSize": { + "label": "$t:editor.control.rg_size.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "size" + }, + "options": [ + { + "value": "sm", + "label": "$t:editor.control.rg_size.sm" + }, + { + "value": "md", + "label": "$t:editor.control.rg_size.md" + }, + { + "value": "lg", + "label": "$t:editor.control.rg_size.lg" + } + ] + }, + "fiAccept": { + "label": "$t:editor.control.fi_accept.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "accept" + } + }, + "fiMaxSize": { + "label": "$t:editor.control.fi_max_size.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxSize" + } + }, + "fiButtonText": { + "label": "$t:editor.control.fi_button_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "buttonText" + } + }, + "fuType": { + "label": "$t:editor.control.fu_type.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "attachmentableType" + } + }, + "fuCollection": { + "label": "$t:editor.control.fu_collection.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "collection" + } + }, + "fuMaxFiles": { + "label": "$t:editor.control.fu_max_files.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxFiles" + } + }, + "fuMaxSize": { + "label": "$t:editor.control.fu_max_size.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxSize" + } + }, + "fuAccept": { + "label": "$t:editor.control.fu_accept.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "accept" + } + }, + "fuAutoUpload": { + "label": "$t:editor.control.fu_auto_upload.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "autoUpload" + } + }, + "fuConfirmRemove": { + "label": "$t:editor.control.fu_confirm_remove.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "confirmBeforeRemove" + } + }, + "fuPrimarySel": { + "label": "$t:editor.control.fu_primary_sel.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "enablePrimarySelection" + } + }, + "dgPagination": { + "label": "$t:editor.control.dg_pagination.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "pagination" + } + }, + "dgPageSize": { + "label": "$t:editor.control.dg_page_size.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "pageSize" + } + }, + "cgGridCols": { + "label": "$t:editor.control.cg_grid_cols.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "gridColumns" + } + }, + "cgGap": { + "label": "$t:editor.control.cg_gap.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "gap" + } + }, + "cgPagination": { + "label": "$t:editor.control.cg_pagination.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "pagination" + } + }, + "cgPageSize": { + "label": "$t:editor.control.cg_page_size.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "pageSize" + } + }, + "pgMaxVisible": { + "label": "$t:editor.control.pg_max_visible.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxVisiblePages" + } + }, + "pgShowFirstLast": { + "label": "$t:editor.control.pg_show_first_last.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showFirstLast" + } + }, + "pgPrevText": { + "label": "$t:editor.control.pg_prev_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "prevText" + } + }, + "pgNextText": { + "label": "$t:editor.control.pg_next_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "nextText" + } + }, + "sbPlaceholder": { + "label": "$t:editor.control.sb_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "sbShowButton": { + "label": "$t:editor.control.sb_show_button.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showButton" + } + }, + "sbShowSuggestions": { + "label": "$t:editor.control.sb_show_suggestions.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showSuggestions" + } + }, + "scValue": { + "label": "$t:editor.control.sc_value.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "value" + } + }, + "scLabel": { + "label": "$t:editor.control.sc_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "scChange": { + "label": "$t:editor.control.sc_change.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "change" + } + }, + "scChangeLabel": { + "label": "$t:editor.control.sc_change_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "changeLabel" + } + }, + "scIconName": { + "label": "$t:editor.control.sc_icon_name.label", + "widget": "icon-picker", + "apply": { + "type": "propValue", + "propKey": "iconName" + }, + "iconColumns": 8, + "icons": [ + { + "value": "0" + }, + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + }, + { + "value": "4" + }, + { + "value": "5" + }, + { + "value": "6" + }, + { + "value": "7" + }, + { + "value": "8" + }, + { + "value": "9" + }, + { + "value": "a" + }, + { + "value": "address-book", + "keywords": [ + "address", + "book" + ] + }, + { + "value": "address-card", + "keywords": [ + "address", + "card" + ] + }, + { + "value": "align-center", + "keywords": [ + "align", + "center" + ] + }, + { + "value": "align-justify", + "keywords": [ + "align", + "justify" + ] + }, + { + "value": "align-left", + "keywords": [ + "align", + "left" + ] + }, + { + "value": "align-right", + "keywords": [ + "align", + "right" + ] + }, + { + "value": "anchor" + }, + { + "value": "anchor-circle-check", + "keywords": [ + "anchor", + "circle", + "check" + ] + }, + { + "value": "anchor-circle-exclamation", + "keywords": [ + "anchor", + "circle", + "exclamation" + ] + }, + { + "value": "anchor-circle-xmark", + "keywords": [ + "anchor", + "circle", + "xmark" + ] + }, + { + "value": "anchor-lock", + "keywords": [ + "anchor", + "lock" + ] + }, + { + "value": "angle-down", + "keywords": [ + "angle", + "down" + ] + }, + { + "value": "angle-left", + "keywords": [ + "angle", + "left" + ] + }, + { + "value": "angle-right", + "keywords": [ + "angle", + "right" + ] + }, + { + "value": "angle-up", + "keywords": [ + "angle", + "up" + ] + }, + { + "value": "angles-down", + "keywords": [ + "angles", + "down" + ] + }, + { + "value": "angles-left", + "keywords": [ + "angles", + "left" + ] + }, + { + "value": "angles-right", + "keywords": [ + "angles", + "right" + ] + }, + { + "value": "angles-up", + "keywords": [ + "angles", + "up" + ] + }, + { + "value": "ankh" + }, + { + "value": "apple-whole", + "keywords": [ + "apple", + "whole" + ] + }, + { + "value": "archway" + }, + { + "value": "arrow-down", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-1-9", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-9-1", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-a-z", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-long", + "keywords": [ + "arrow", + "down", + "long" + ] + }, + { + "value": "arrow-down-short-wide", + "keywords": [ + "arrow", + "down", + "short", + "wide" + ] + }, + { + "value": "arrow-down-up-across-line", + "keywords": [ + "arrow", + "down", + "up", + "across", + "line" + ] + }, + { + "value": "arrow-down-up-lock", + "keywords": [ + "arrow", + "down", + "up", + "lock" + ] + }, + { + "value": "arrow-down-wide-short", + "keywords": [ + "arrow", + "down", + "wide", + "short" + ] + }, + { + "value": "arrow-down-z-a", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-left", + "keywords": [ + "arrow", + "left" + ] + }, + { + "value": "arrow-left-long", + "keywords": [ + "arrow", + "left", + "long" + ] + }, + { + "value": "arrow-pointer", + "keywords": [ + "arrow", + "pointer" + ] + }, + { + "value": "arrow-right", + "keywords": [ + "arrow", + "right" + ] + }, + { + "value": "arrow-right-arrow-left", + "keywords": [ + "arrow", + "right", + "arrow", + "left" + ] + }, + { + "value": "arrow-right-from-bracket", + "keywords": [ + "arrow", + "right", + "from", + "bracket" + ] + }, + { + "value": "arrow-right-long", + "keywords": [ + "arrow", + "right", + "long" + ] + }, + { + "value": "arrow-right-to-bracket", + "keywords": [ + "arrow", + "right", + "to", + "bracket" + ] + }, + { + "value": "arrow-right-to-city", + "keywords": [ + "arrow", + "right", + "to", + "city" + ] + }, + { + "value": "arrow-rotate-left", + "keywords": [ + "arrow", + "rotate", + "left" + ] + }, + { + "value": "arrow-rotate-right", + "keywords": [ + "arrow", + "rotate", + "right" + ] + }, + { + "value": "arrow-trend-down", + "keywords": [ + "arrow", + "trend", + "down" + ] + }, + { + "value": "arrow-trend-up", + "keywords": [ + "arrow", + "trend", + "up" + ] + }, + { + "value": "arrow-turn-down", + "keywords": [ + "arrow", + "turn", + "down" + ] + }, + { + "value": "arrow-turn-up", + "keywords": [ + "arrow", + "turn", + "up" + ] + }, + { + "value": "arrow-up", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-1-9", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-9-1", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-a-z", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-from-bracket", + "keywords": [ + "arrow", + "up", + "from", + "bracket" + ] + }, + { + "value": "arrow-up-from-ground-water", + "keywords": [ + "arrow", + "up", + "from", + "ground", + "water" + ] + }, + { + "value": "arrow-up-from-water-pump", + "keywords": [ + "arrow", + "up", + "from", + "water", + "pump" + ] + }, + { + "value": "arrow-up-long", + "keywords": [ + "arrow", + "up", + "long" + ] + }, + { + "value": "arrow-up-right-dots", + "keywords": [ + "arrow", + "up", + "right", + "dots" + ] + }, + { + "value": "arrow-up-right-from-square", + "keywords": [ + "arrow", + "up", + "right", + "from", + "square" + ] + }, + { + "value": "arrow-up-short-wide", + "keywords": [ + "arrow", + "up", + "short", + "wide" + ] + }, + { + "value": "arrow-up-wide-short", + "keywords": [ + "arrow", + "up", + "wide", + "short" + ] + }, + { + "value": "arrow-up-z-a", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrows-down-to-line", + "keywords": [ + "arrows", + "down", + "to", + "line" + ] + }, + { + "value": "arrows-down-to-people", + "keywords": [ + "arrows", + "down", + "to", + "people" + ] + }, + { + "value": "arrows-left-right", + "keywords": [ + "arrows", + "left", + "right" + ] + }, + { + "value": "arrows-left-right-to-line", + "keywords": [ + "arrows", + "left", + "right", + "to", + "line" + ] + }, + { + "value": "arrows-rotate", + "keywords": [ + "arrows", + "rotate" + ] + }, + { + "value": "arrows-spin", + "keywords": [ + "arrows", + "spin" + ] + }, + { + "value": "arrows-split-up-and-left", + "keywords": [ + "arrows", + "split", + "up", + "and", + "left" + ] + }, + { + "value": "arrows-to-circle", + "keywords": [ + "arrows", + "to", + "circle" + ] + }, + { + "value": "arrows-to-dot", + "keywords": [ + "arrows", + "to", + "dot" + ] + }, + { + "value": "arrows-to-eye", + "keywords": [ + "arrows", + "to", + "eye" + ] + }, + { + "value": "arrows-turn-right", + "keywords": [ + "arrows", + "turn", + "right" + ] + }, + { + "value": "arrows-turn-to-dots", + "keywords": [ + "arrows", + "turn", + "to", + "dots" + ] + }, + { + "value": "arrows-up-down", + "keywords": [ + "arrows", + "up", + "down" + ] + }, + { + "value": "arrows-up-down-left-right", + "keywords": [ + "arrows", + "up", + "down", + "left", + "right" + ] + }, + { + "value": "arrows-up-to-line", + "keywords": [ + "arrows", + "up", + "to", + "line" + ] + }, + { + "value": "asterisk" + }, + { + "value": "at" + }, + { + "value": "atom" + }, + { + "value": "audio-description", + "keywords": [ + "audio", + "description" + ] + }, + { + "value": "austral-sign", + "keywords": [ + "austral", + "sign" + ] + }, + { + "value": "award" + }, + { + "value": "b" + }, + { + "value": "baby" + }, + { + "value": "baby-carriage", + "keywords": [ + "baby", + "carriage" + ] + }, + { + "value": "backward" + }, + { + "value": "backward-fast", + "keywords": [ + "backward", + "fast" + ] + }, + { + "value": "backward-step", + "keywords": [ + "backward", + "step" + ] + }, + { + "value": "bacon" + }, + { + "value": "bacteria" + }, + { + "value": "bacterium" + }, + { + "value": "bag-shopping", + "keywords": [ + "bag", + "shopping" + ] + }, + { + "value": "bahai" + }, + { + "value": "baht-sign", + "keywords": [ + "baht", + "sign" + ] + }, + { + "value": "ban" + }, + { + "value": "ban-smoking", + "keywords": [ + "ban", + "smoking" + ] + }, + { + "value": "bandage" + }, + { + "value": "bangladeshi-taka-sign", + "keywords": [ + "bangladeshi", + "taka", + "sign" + ] + }, + { + "value": "barcode" + }, + { + "value": "bars" + }, + { + "value": "bars-progress", + "keywords": [ + "bars", + "progress" + ] + }, + { + "value": "bars-staggered", + "keywords": [ + "bars", + "staggered" + ] + }, + { + "value": "baseball" + }, + { + "value": "baseball-bat-ball", + "keywords": [ + "baseball", + "bat", + "ball" + ] + }, + { + "value": "basket-shopping", + "keywords": [ + "basket", + "shopping" + ] + }, + { + "value": "basketball" + }, + { + "value": "bath" + }, + { + "value": "battery-empty", + "keywords": [ + "battery", + "empty" + ] + }, + { + "value": "battery-full", + "keywords": [ + "battery", + "full" + ] + }, + { + "value": "battery-half", + "keywords": [ + "battery", + "half" + ] + }, + { + "value": "battery-quarter", + "keywords": [ + "battery", + "quarter" + ] + }, + { + "value": "battery-three-quarters", + "keywords": [ + "battery", + "three", + "quarters" + ] + }, + { + "value": "bed" + }, + { + "value": "bed-pulse", + "keywords": [ + "bed", + "pulse" + ] + }, + { + "value": "beer-mug-empty", + "keywords": [ + "beer", + "mug", + "empty" + ] + }, + { + "value": "bell" + }, + { + "value": "bell-concierge", + "keywords": [ + "bell", + "concierge" + ] + }, + { + "value": "bell-slash", + "keywords": [ + "bell", + "slash" + ] + }, + { + "value": "bezier-curve", + "keywords": [ + "bezier", + "curve" + ] + }, + { + "value": "bicycle" + }, + { + "value": "binoculars" + }, + { + "value": "biohazard" + }, + { + "value": "bitcoin-sign", + "keywords": [ + "bitcoin", + "sign" + ] + }, + { + "value": "blender" + }, + { + "value": "blender-phone", + "keywords": [ + "blender", + "phone" + ] + }, + { + "value": "blog" + }, + { + "value": "bold" + }, + { + "value": "bolt" + }, + { + "value": "bolt-lightning", + "keywords": [ + "bolt", + "lightning" + ] + }, + { + "value": "bomb" + }, + { + "value": "bone" + }, + { + "value": "bong" + }, + { + "value": "book" + }, + { + "value": "book-atlas", + "keywords": [ + "book", + "atlas" + ] + }, + { + "value": "book-bible", + "keywords": [ + "book", + "bible" + ] + }, + { + "value": "book-bookmark", + "keywords": [ + "book", + "bookmark" + ] + }, + { + "value": "book-journal-whills", + "keywords": [ + "book", + "journal", + "whills" + ] + }, + { + "value": "book-medical", + "keywords": [ + "book", + "medical" + ] + }, + { + "value": "book-open", + "keywords": [ + "book", + "open" + ] + }, + { + "value": "book-open-reader", + "keywords": [ + "book", + "open", + "reader" + ] + }, + { + "value": "book-quran", + "keywords": [ + "book", + "quran" + ] + }, + { + "value": "book-skull", + "keywords": [ + "book", + "skull" + ] + }, + { + "value": "book-tanakh", + "keywords": [ + "book", + "tanakh" + ] + }, + { + "value": "bookmark" + }, + { + "value": "border-all", + "keywords": [ + "border", + "all" + ] + }, + { + "value": "border-none", + "keywords": [ + "border", + "none" + ] + }, + { + "value": "border-top-left", + "keywords": [ + "border", + "top", + "left" + ] + }, + { + "value": "bore-hole", + "keywords": [ + "bore", + "hole" + ] + }, + { + "value": "bottle-droplet", + "keywords": [ + "bottle", + "droplet" + ] + }, + { + "value": "bottle-water", + "keywords": [ + "bottle", + "water" + ] + }, + { + "value": "bowl-food", + "keywords": [ + "bowl", + "food" + ] + }, + { + "value": "bowl-rice", + "keywords": [ + "bowl", + "rice" + ] + }, + { + "value": "bowling-ball", + "keywords": [ + "bowling", + "ball" + ] + }, + { + "value": "box" + }, + { + "value": "box-archive", + "keywords": [ + "box", + "archive" + ] + }, + { + "value": "box-open", + "keywords": [ + "box", + "open" + ] + }, + { + "value": "box-tissue", + "keywords": [ + "box", + "tissue" + ] + }, + { + "value": "boxes-packing", + "keywords": [ + "boxes", + "packing" + ] + }, + { + "value": "boxes-stacked", + "keywords": [ + "boxes", + "stacked" + ] + }, + { + "value": "braille" + }, + { + "value": "brain" + }, + { + "value": "brazilian-real-sign", + "keywords": [ + "brazilian", + "real", + "sign" + ] + }, + { + "value": "bread-slice", + "keywords": [ + "bread", + "slice" + ] + }, + { + "value": "bridge" + }, + { + "value": "bridge-circle-check", + "keywords": [ + "bridge", + "circle", + "check" + ] + }, + { + "value": "bridge-circle-exclamation", + "keywords": [ + "bridge", + "circle", + "exclamation" + ] + }, + { + "value": "bridge-circle-xmark", + "keywords": [ + "bridge", + "circle", + "xmark" + ] + }, + { + "value": "bridge-lock", + "keywords": [ + "bridge", + "lock" + ] + }, + { + "value": "bridge-water", + "keywords": [ + "bridge", + "water" + ] + }, + { + "value": "briefcase" + }, + { + "value": "briefcase-medical", + "keywords": [ + "briefcase", + "medical" + ] + }, + { + "value": "broom" + }, + { + "value": "broom-ball", + "keywords": [ + "broom", + "ball" + ] + }, + { + "value": "brush" + }, + { + "value": "bucket" + }, + { + "value": "bug" + }, + { + "value": "bug-slash", + "keywords": [ + "bug", + "slash" + ] + }, + { + "value": "bugs" + }, + { + "value": "building" + }, + { + "value": "building-circle-arrow-right", + "keywords": [ + "building", + "circle", + "arrow", + "right" + ] + }, + { + "value": "building-circle-check", + "keywords": [ + "building", + "circle", + "check" + ] + }, + { + "value": "building-circle-exclamation", + "keywords": [ + "building", + "circle", + "exclamation" + ] + }, + { + "value": "building-circle-xmark", + "keywords": [ + "building", + "circle", + "xmark" + ] + }, + { + "value": "building-columns", + "keywords": [ + "building", + "columns" + ] + }, + { + "value": "building-flag", + "keywords": [ + "building", + "flag" + ] + }, + { + "value": "building-lock", + "keywords": [ + "building", + "lock" + ] + }, + { + "value": "building-ngo", + "keywords": [ + "building", + "ngo" + ] + }, + { + "value": "building-shield", + "keywords": [ + "building", + "shield" + ] + }, + { + "value": "building-un", + "keywords": [ + "building", + "un" + ] + }, + { + "value": "building-user", + "keywords": [ + "building", + "user" + ] + }, + { + "value": "building-wheat", + "keywords": [ + "building", + "wheat" + ] + }, + { + "value": "bullhorn" + }, + { + "value": "bullseye" + }, + { + "value": "burger" + }, + { + "value": "burst" + }, + { + "value": "bus" + }, + { + "value": "bus-simple", + "keywords": [ + "bus", + "simple" + ] + }, + { + "value": "business-time", + "keywords": [ + "business", + "time" + ] + }, + { + "value": "c" + }, + { + "value": "cable-car", + "keywords": [ + "cable", + "car" + ] + }, + { + "value": "cake-candles", + "keywords": [ + "cake", + "candles" + ] + }, + { + "value": "calculator" + }, + { + "value": "calendar" + }, + { + "value": "calendar-check", + "keywords": [ + "calendar", + "check" + ] + }, + { + "value": "calendar-day", + "keywords": [ + "calendar", + "day" + ] + }, + { + "value": "calendar-days", + "keywords": [ + "calendar", + "days" + ] + }, + { + "value": "calendar-minus", + "keywords": [ + "calendar", + "minus" + ] + }, + { + "value": "calendar-plus", + "keywords": [ + "calendar", + "plus" + ] + }, + { + "value": "calendar-week", + "keywords": [ + "calendar", + "week" + ] + }, + { + "value": "calendar-xmark", + "keywords": [ + "calendar", + "xmark" + ] + }, + { + "value": "camera" + }, + { + "value": "camera-retro", + "keywords": [ + "camera", + "retro" + ] + }, + { + "value": "camera-rotate", + "keywords": [ + "camera", + "rotate" + ] + }, + { + "value": "campground" + }, + { + "value": "candy-cane", + "keywords": [ + "candy", + "cane" + ] + }, + { + "value": "cannabis" + }, + { + "value": "capsules" + }, + { + "value": "car" + }, + { + "value": "car-battery", + "keywords": [ + "car", + "battery" + ] + }, + { + "value": "car-burst", + "keywords": [ + "car", + "burst" + ] + }, + { + "value": "car-on", + "keywords": [ + "car", + "on" + ] + }, + { + "value": "car-rear", + "keywords": [ + "car", + "rear" + ] + }, + { + "value": "car-side", + "keywords": [ + "car", + "side" + ] + }, + { + "value": "car-tunnel", + "keywords": [ + "car", + "tunnel" + ] + }, + { + "value": "caravan" + }, + { + "value": "caret-down", + "keywords": [ + "caret", + "down" + ] + }, + { + "value": "caret-left", + "keywords": [ + "caret", + "left" + ] + }, + { + "value": "caret-right", + "keywords": [ + "caret", + "right" + ] + }, + { + "value": "caret-up", + "keywords": [ + "caret", + "up" + ] + }, + { + "value": "carrot" + }, + { + "value": "cart-arrow-down", + "keywords": [ + "cart", + "arrow", + "down" + ] + }, + { + "value": "cart-flatbed", + "keywords": [ + "cart", + "flatbed" + ] + }, + { + "value": "cart-flatbed-suitcase", + "keywords": [ + "cart", + "flatbed", + "suitcase" + ] + }, + { + "value": "cart-plus", + "keywords": [ + "cart", + "plus" + ] + }, + { + "value": "cart-shopping", + "keywords": [ + "cart", + "shopping" + ] + }, + { + "value": "cash-register", + "keywords": [ + "cash", + "register" + ] + }, + { + "value": "cat" + }, + { + "value": "cedi-sign", + "keywords": [ + "cedi", + "sign" + ] + }, + { + "value": "cent-sign", + "keywords": [ + "cent", + "sign" + ] + }, + { + "value": "certificate" + }, + { + "value": "chair" + }, + { + "value": "chalkboard" + }, + { + "value": "chalkboard-user", + "keywords": [ + "chalkboard", + "user" + ] + }, + { + "value": "champagne-glasses", + "keywords": [ + "champagne", + "glasses" + ] + }, + { + "value": "charging-station", + "keywords": [ + "charging", + "station" + ] + }, + { + "value": "chart-area", + "keywords": [ + "chart", + "area" + ] + }, + { + "value": "chart-bar", + "keywords": [ + "chart", + "bar" + ] + }, + { + "value": "chart-column", + "keywords": [ + "chart", + "column" + ] + }, + { + "value": "chart-gantt", + "keywords": [ + "chart", + "gantt" + ] + }, + { + "value": "chart-line", + "keywords": [ + "chart", + "line" + ] + }, + { + "value": "chart-pie", + "keywords": [ + "chart", + "pie" + ] + }, + { + "value": "chart-simple", + "keywords": [ + "chart", + "simple" + ] + }, + { + "value": "check" + }, + { + "value": "check-double", + "keywords": [ + "check", + "double" + ] + }, + { + "value": "check-to-slot", + "keywords": [ + "check", + "to", + "slot" + ] + }, + { + "value": "cheese" + }, + { + "value": "chess" + }, + { + "value": "chess-bishop", + "keywords": [ + "chess", + "bishop" + ] + }, + { + "value": "chess-board", + "keywords": [ + "chess", + "board" + ] + }, + { + "value": "chess-king", + "keywords": [ + "chess", + "king" + ] + }, + { + "value": "chess-knight", + "keywords": [ + "chess", + "knight" + ] + }, + { + "value": "chess-pawn", + "keywords": [ + "chess", + "pawn" + ] + }, + { + "value": "chess-queen", + "keywords": [ + "chess", + "queen" + ] + }, + { + "value": "chess-rook", + "keywords": [ + "chess", + "rook" + ] + }, + { + "value": "chevron-down", + "keywords": [ + "chevron", + "down" + ] + }, + { + "value": "chevron-left", + "keywords": [ + "chevron", + "left" + ] + }, + { + "value": "chevron-right", + "keywords": [ + "chevron", + "right" + ] + }, + { + "value": "chevron-up", + "keywords": [ + "chevron", + "up" + ] + }, + { + "value": "child" + }, + { + "value": "child-combatant", + "keywords": [ + "child", + "combatant" + ] + }, + { + "value": "child-dress", + "keywords": [ + "child", + "dress" + ] + }, + { + "value": "child-reaching", + "keywords": [ + "child", + "reaching" + ] + }, + { + "value": "children" + }, + { + "value": "church" + }, + { + "value": "circle" + }, + { + "value": "circle-arrow-down", + "keywords": [ + "circle", + "arrow", + "down" + ] + }, + { + "value": "circle-arrow-left", + "keywords": [ + "circle", + "arrow", + "left" + ] + }, + { + "value": "circle-arrow-right", + "keywords": [ + "circle", + "arrow", + "right" + ] + }, + { + "value": "circle-arrow-up", + "keywords": [ + "circle", + "arrow", + "up" + ] + }, + { + "value": "circle-check", + "keywords": [ + "circle", + "check" + ] + }, + { + "value": "circle-chevron-down", + "keywords": [ + "circle", + "chevron", + "down" + ] + }, + { + "value": "circle-chevron-left", + "keywords": [ + "circle", + "chevron", + "left" + ] + }, + { + "value": "circle-chevron-right", + "keywords": [ + "circle", + "chevron", + "right" + ] + }, + { + "value": "circle-chevron-up", + "keywords": [ + "circle", + "chevron", + "up" + ] + }, + { + "value": "circle-dollar-to-slot", + "keywords": [ + "circle", + "dollar", + "to", + "slot" + ] + }, + { + "value": "circle-dot", + "keywords": [ + "circle", + "dot" + ] + }, + { + "value": "circle-down", + "keywords": [ + "circle", + "down" + ] + }, + { + "value": "circle-exclamation", + "keywords": [ + "circle", + "exclamation" + ] + }, + { + "value": "circle-h" + }, + { + "value": "circle-half-stroke", + "keywords": [ + "circle", + "half", + "stroke" + ] + }, + { + "value": "circle-info", + "keywords": [ + "circle", + "info" + ] + }, + { + "value": "circle-left", + "keywords": [ + "circle", + "left" + ] + }, + { + "value": "circle-minus", + "keywords": [ + "circle", + "minus" + ] + }, + { + "value": "circle-nodes", + "keywords": [ + "circle", + "nodes" + ] + }, + { + "value": "circle-notch", + "keywords": [ + "circle", + "notch" + ] + }, + { + "value": "circle-pause", + "keywords": [ + "circle", + "pause" + ] + }, + { + "value": "circle-play", + "keywords": [ + "circle", + "play" + ] + }, + { + "value": "circle-plus", + "keywords": [ + "circle", + "plus" + ] + }, + { + "value": "circle-question", + "keywords": [ + "circle", + "question" + ] + }, + { + "value": "circle-radiation", + "keywords": [ + "circle", + "radiation" + ] + }, + { + "value": "circle-right", + "keywords": [ + "circle", + "right" + ] + }, + { + "value": "circle-stop", + "keywords": [ + "circle", + "stop" + ] + }, + { + "value": "circle-up", + "keywords": [ + "circle", + "up" + ] + }, + { + "value": "circle-user", + "keywords": [ + "circle", + "user" + ] + }, + { + "value": "circle-xmark", + "keywords": [ + "circle", + "xmark" + ] + }, + { + "value": "city" + }, + { + "value": "clapperboard" + }, + { + "value": "clipboard" + }, + { + "value": "clipboard-check", + "keywords": [ + "clipboard", + "check" + ] + }, + { + "value": "clipboard-list", + "keywords": [ + "clipboard", + "list" + ] + }, + { + "value": "clipboard-question", + "keywords": [ + "clipboard", + "question" + ] + }, + { + "value": "clipboard-user", + "keywords": [ + "clipboard", + "user" + ] + }, + { + "value": "clock" + }, + { + "value": "clock-rotate-left", + "keywords": [ + "clock", + "rotate", + "left" + ] + }, + { + "value": "clone" + }, + { + "value": "closed-captioning", + "keywords": [ + "closed", + "captioning" + ] + }, + { + "value": "cloud" + }, + { + "value": "cloud-arrow-down", + "keywords": [ + "cloud", + "arrow", + "down" + ] + }, + { + "value": "cloud-arrow-up", + "keywords": [ + "cloud", + "arrow", + "up" + ] + }, + { + "value": "cloud-bolt", + "keywords": [ + "cloud", + "bolt" + ] + }, + { + "value": "cloud-meatball", + "keywords": [ + "cloud", + "meatball" + ] + }, + { + "value": "cloud-moon", + "keywords": [ + "cloud", + "moon" + ] + }, + { + "value": "cloud-moon-rain", + "keywords": [ + "cloud", + "moon", + "rain" + ] + }, + { + "value": "cloud-rain", + "keywords": [ + "cloud", + "rain" + ] + }, + { + "value": "cloud-showers-heavy", + "keywords": [ + "cloud", + "showers", + "heavy" + ] + }, + { + "value": "cloud-showers-water", + "keywords": [ + "cloud", + "showers", + "water" + ] + }, + { + "value": "cloud-sun", + "keywords": [ + "cloud", + "sun" + ] + }, + { + "value": "cloud-sun-rain", + "keywords": [ + "cloud", + "sun", + "rain" + ] + }, + { + "value": "clover" + }, + { + "value": "code" + }, + { + "value": "code-branch", + "keywords": [ + "code", + "branch" + ] + }, + { + "value": "code-commit", + "keywords": [ + "code", + "commit" + ] + }, + { + "value": "code-compare", + "keywords": [ + "code", + "compare" + ] + }, + { + "value": "code-fork", + "keywords": [ + "code", + "fork" + ] + }, + { + "value": "code-merge", + "keywords": [ + "code", + "merge" + ] + }, + { + "value": "code-pull-request", + "keywords": [ + "code", + "pull", + "request" + ] + }, + { + "value": "coins" + }, + { + "value": "colon-sign", + "keywords": [ + "colon", + "sign" + ] + }, + { + "value": "comment" + }, + { + "value": "comment-dollar", + "keywords": [ + "comment", + "dollar" + ] + }, + { + "value": "comment-dots", + "keywords": [ + "comment", + "dots" + ] + }, + { + "value": "comment-medical", + "keywords": [ + "comment", + "medical" + ] + }, + { + "value": "comment-slash", + "keywords": [ + "comment", + "slash" + ] + }, + { + "value": "comment-sms", + "keywords": [ + "comment", + "sms" + ] + }, + { + "value": "comments" + }, + { + "value": "comments-dollar", + "keywords": [ + "comments", + "dollar" + ] + }, + { + "value": "compact-disc", + "keywords": [ + "compact", + "disc" + ] + }, + { + "value": "compass" + }, + { + "value": "compass-drafting", + "keywords": [ + "compass", + "drafting" + ] + }, + { + "value": "compress" + }, + { + "value": "computer" + }, + { + "value": "computer-mouse", + "keywords": [ + "computer", + "mouse" + ] + }, + { + "value": "cookie" + }, + { + "value": "cookie-bite", + "keywords": [ + "cookie", + "bite" + ] + }, + { + "value": "copy" + }, + { + "value": "copyright" + }, + { + "value": "couch" + }, + { + "value": "cow" + }, + { + "value": "credit-card", + "keywords": [ + "credit", + "card" + ] + }, + { + "value": "crop" + }, + { + "value": "crop-simple", + "keywords": [ + "crop", + "simple" + ] + }, + { + "value": "cross" + }, + { + "value": "crosshairs" + }, + { + "value": "crow" + }, + { + "value": "crown" + }, + { + "value": "crutch" + }, + { + "value": "cruzeiro-sign", + "keywords": [ + "cruzeiro", + "sign" + ] + }, + { + "value": "cube" + }, + { + "value": "cubes" + }, + { + "value": "cubes-stacked", + "keywords": [ + "cubes", + "stacked" + ] + }, + { + "value": "d" + }, + { + "value": "database" + }, + { + "value": "delete-left", + "keywords": [ + "delete", + "left" + ] + }, + { + "value": "democrat" + }, + { + "value": "desktop" + }, + { + "value": "dharmachakra" + }, + { + "value": "diagram-next", + "keywords": [ + "diagram", + "next" + ] + }, + { + "value": "diagram-predecessor", + "keywords": [ + "diagram", + "predecessor" + ] + }, + { + "value": "diagram-project", + "keywords": [ + "diagram", + "project" + ] + }, + { + "value": "diagram-successor", + "keywords": [ + "diagram", + "successor" + ] + }, + { + "value": "diamond" + }, + { + "value": "diamond-turn-right", + "keywords": [ + "diamond", + "turn", + "right" + ] + }, + { + "value": "dice" + }, + { + "value": "dice-d20", + "keywords": [ + "dice", + "d20" + ] + }, + { + "value": "dice-d6", + "keywords": [ + "dice", + "d6" + ] + }, + { + "value": "dice-five", + "keywords": [ + "dice", + "five" + ] + }, + { + "value": "dice-four", + "keywords": [ + "dice", + "four" + ] + }, + { + "value": "dice-one", + "keywords": [ + "dice", + "one" + ] + }, + { + "value": "dice-six", + "keywords": [ + "dice", + "six" + ] + }, + { + "value": "dice-three", + "keywords": [ + "dice", + "three" + ] + }, + { + "value": "dice-two", + "keywords": [ + "dice", + "two" + ] + }, + { + "value": "disease" + }, + { + "value": "display" + }, + { + "value": "divide" + }, + { + "value": "dna" + }, + { + "value": "dog" + }, + { + "value": "dollar-sign", + "keywords": [ + "dollar", + "sign" + ] + }, + { + "value": "dolly" + }, + { + "value": "dong-sign", + "keywords": [ + "dong", + "sign" + ] + }, + { + "value": "door-closed", + "keywords": [ + "door", + "closed" + ] + }, + { + "value": "door-open", + "keywords": [ + "door", + "open" + ] + }, + { + "value": "dove" + }, + { + "value": "down-left-and-up-right-to-center", + "keywords": [ + "down", + "left", + "and", + "up", + "right", + "to", + "center" + ] + }, + { + "value": "down-long", + "keywords": [ + "down", + "long" + ] + }, + { + "value": "download" + }, + { + "value": "dragon" + }, + { + "value": "draw-polygon", + "keywords": [ + "draw", + "polygon" + ] + }, + { + "value": "droplet" + }, + { + "value": "droplet-slash", + "keywords": [ + "droplet", + "slash" + ] + }, + { + "value": "drum" + }, + { + "value": "drum-steelpan", + "keywords": [ + "drum", + "steelpan" + ] + }, + { + "value": "drumstick-bite", + "keywords": [ + "drumstick", + "bite" + ] + }, + { + "value": "dumbbell" + }, + { + "value": "dumpster" + }, + { + "value": "dumpster-fire", + "keywords": [ + "dumpster", + "fire" + ] + }, + { + "value": "dungeon" + }, + { + "value": "e" + }, + { + "value": "ear-deaf", + "keywords": [ + "ear", + "deaf" + ] + }, + { + "value": "ear-listen", + "keywords": [ + "ear", + "listen" + ] + }, + { + "value": "earth-africa", + "keywords": [ + "earth", + "africa" + ] + }, + { + "value": "earth-americas", + "keywords": [ + "earth", + "americas" + ] + }, + { + "value": "earth-asia", + "keywords": [ + "earth", + "asia" + ] + }, + { + "value": "earth-europe", + "keywords": [ + "earth", + "europe" + ] + }, + { + "value": "earth-oceania", + "keywords": [ + "earth", + "oceania" + ] + }, + { + "value": "egg" + }, + { + "value": "eject" + }, + { + "value": "elevator" + }, + { + "value": "ellipsis" + }, + { + "value": "ellipsis-vertical", + "keywords": [ + "ellipsis", + "vertical" + ] + }, + { + "value": "envelope" + }, + { + "value": "envelope-circle-check", + "keywords": [ + "envelope", + "circle", + "check" + ] + }, + { + "value": "envelope-open", + "keywords": [ + "envelope", + "open" + ] + }, + { + "value": "envelope-open-text", + "keywords": [ + "envelope", + "open", + "text" + ] + }, + { + "value": "envelopes-bulk", + "keywords": [ + "envelopes", + "bulk" + ] + }, + { + "value": "equals" + }, + { + "value": "eraser" + }, + { + "value": "ethernet" + }, + { + "value": "euro-sign", + "keywords": [ + "euro", + "sign" + ] + }, + { + "value": "exclamation" + }, + { + "value": "expand" + }, + { + "value": "explosion" + }, + { + "value": "eye" + }, + { + "value": "eye-dropper", + "keywords": [ + "eye", + "dropper" + ] + }, + { + "value": "eye-low-vision", + "keywords": [ + "eye", + "low", + "vision" + ] + }, + { + "value": "eye-slash", + "keywords": [ + "eye", + "slash" + ] + }, + { + "value": "f" + }, + { + "value": "face-angry", + "keywords": [ + "face", + "angry" + ] + }, + { + "value": "face-dizzy", + "keywords": [ + "face", + "dizzy" + ] + }, + { + "value": "face-flushed", + "keywords": [ + "face", + "flushed" + ] + }, + { + "value": "face-frown", + "keywords": [ + "face", + "frown" + ] + }, + { + "value": "face-frown-open", + "keywords": [ + "face", + "frown", + "open" + ] + }, + { + "value": "face-grimace", + "keywords": [ + "face", + "grimace" + ] + }, + { + "value": "face-grin", + "keywords": [ + "face", + "grin" + ] + }, + { + "value": "face-grin-beam", + "keywords": [ + "face", + "grin", + "beam" + ] + }, + { + "value": "face-grin-beam-sweat", + "keywords": [ + "face", + "grin", + "beam", + "sweat" + ] + }, + { + "value": "face-grin-hearts", + "keywords": [ + "face", + "grin", + "hearts" + ] + }, + { + "value": "face-grin-squint", + "keywords": [ + "face", + "grin", + "squint" + ] + }, + { + "value": "face-grin-squint-tears", + "keywords": [ + "face", + "grin", + "squint", + "tears" + ] + }, + { + "value": "face-grin-stars", + "keywords": [ + "face", + "grin", + "stars" + ] + }, + { + "value": "face-grin-tears", + "keywords": [ + "face", + "grin", + "tears" + ] + }, + { + "value": "face-grin-tongue", + "keywords": [ + "face", + "grin", + "tongue" + ] + }, + { + "value": "face-grin-tongue-squint", + "keywords": [ + "face", + "grin", + "tongue", + "squint" + ] + }, + { + "value": "face-grin-tongue-wink", + "keywords": [ + "face", + "grin", + "tongue", + "wink" + ] + }, + { + "value": "face-grin-wide", + "keywords": [ + "face", + "grin", + "wide" + ] + }, + { + "value": "face-grin-wink", + "keywords": [ + "face", + "grin", + "wink" + ] + }, + { + "value": "face-kiss", + "keywords": [ + "face", + "kiss" + ] + }, + { + "value": "face-kiss-beam", + "keywords": [ + "face", + "kiss", + "beam" + ] + }, + { + "value": "face-kiss-wink-heart", + "keywords": [ + "face", + "kiss", + "wink", + "heart" + ] + }, + { + "value": "face-laugh", + "keywords": [ + "face", + "laugh" + ] + }, + { + "value": "face-laugh-beam", + "keywords": [ + "face", + "laugh", + "beam" + ] + }, + { + "value": "face-laugh-squint", + "keywords": [ + "face", + "laugh", + "squint" + ] + }, + { + "value": "face-laugh-wink", + "keywords": [ + "face", + "laugh", + "wink" + ] + }, + { + "value": "face-meh", + "keywords": [ + "face", + "meh" + ] + }, + { + "value": "face-meh-blank", + "keywords": [ + "face", + "meh", + "blank" + ] + }, + { + "value": "face-rolling-eyes", + "keywords": [ + "face", + "rolling", + "eyes" + ] + }, + { + "value": "face-sad-cry", + "keywords": [ + "face", + "sad", + "cry" + ] + }, + { + "value": "face-sad-tear", + "keywords": [ + "face", + "sad", + "tear" + ] + }, + { + "value": "face-smile", + "keywords": [ + "face", + "smile" + ] + }, + { + "value": "face-smile-beam", + "keywords": [ + "face", + "smile", + "beam" + ] + }, + { + "value": "face-smile-wink", + "keywords": [ + "face", + "smile", + "wink" + ] + }, + { + "value": "face-surprise", + "keywords": [ + "face", + "surprise" + ] + }, + { + "value": "face-tired", + "keywords": [ + "face", + "tired" + ] + }, + { + "value": "fan" + }, + { + "value": "faucet" + }, + { + "value": "faucet-drip", + "keywords": [ + "faucet", + "drip" + ] + }, + { + "value": "fax" + }, + { + "value": "feather" + }, + { + "value": "feather-pointed", + "keywords": [ + "feather", + "pointed" + ] + }, + { + "value": "ferry" + }, + { + "value": "file" + }, + { + "value": "file-arrow-down", + "keywords": [ + "file", + "arrow", + "down" + ] + }, + { + "value": "file-arrow-up", + "keywords": [ + "file", + "arrow", + "up" + ] + }, + { + "value": "file-audio", + "keywords": [ + "file", + "audio" + ] + }, + { + "value": "file-circle-check", + "keywords": [ + "file", + "circle", + "check" + ] + }, + { + "value": "file-circle-exclamation", + "keywords": [ + "file", + "circle", + "exclamation" + ] + }, + { + "value": "file-circle-minus", + "keywords": [ + "file", + "circle", + "minus" + ] + }, + { + "value": "file-circle-plus", + "keywords": [ + "file", + "circle", + "plus" + ] + }, + { + "value": "file-circle-question", + "keywords": [ + "file", + "circle", + "question" + ] + }, + { + "value": "file-circle-xmark", + "keywords": [ + "file", + "circle", + "xmark" + ] + }, + { + "value": "file-code", + "keywords": [ + "file", + "code" + ] + }, + { + "value": "file-contract", + "keywords": [ + "file", + "contract" + ] + }, + { + "value": "file-csv", + "keywords": [ + "file", + "csv" + ] + }, + { + "value": "file-excel", + "keywords": [ + "file", + "excel" + ] + }, + { + "value": "file-export", + "keywords": [ + "file", + "export" + ] + }, + { + "value": "file-image", + "keywords": [ + "file", + "image" + ] + }, + { + "value": "file-import", + "keywords": [ + "file", + "import" + ] + }, + { + "value": "file-invoice", + "keywords": [ + "file", + "invoice" + ] + }, + { + "value": "file-invoice-dollar", + "keywords": [ + "file", + "invoice", + "dollar" + ] + }, + { + "value": "file-lines", + "keywords": [ + "file", + "lines" + ] + }, + { + "value": "file-medical", + "keywords": [ + "file", + "medical" + ] + }, + { + "value": "file-pdf", + "keywords": [ + "file", + "pdf" + ] + }, + { + "value": "file-pen", + "keywords": [ + "file", + "pen" + ] + }, + { + "value": "file-powerpoint", + "keywords": [ + "file", + "powerpoint" + ] + }, + { + "value": "file-prescription", + "keywords": [ + "file", + "prescription" + ] + }, + { + "value": "file-shield", + "keywords": [ + "file", + "shield" + ] + }, + { + "value": "file-signature", + "keywords": [ + "file", + "signature" + ] + }, + { + "value": "file-video", + "keywords": [ + "file", + "video" + ] + }, + { + "value": "file-waveform", + "keywords": [ + "file", + "waveform" + ] + }, + { + "value": "file-word", + "keywords": [ + "file", + "word" + ] + }, + { + "value": "file-zipper", + "keywords": [ + "file", + "zipper" + ] + }, + { + "value": "fill" + }, + { + "value": "fill-drip", + "keywords": [ + "fill", + "drip" + ] + }, + { + "value": "film" + }, + { + "value": "filter" + }, + { + "value": "filter-circle-dollar", + "keywords": [ + "filter", + "circle", + "dollar" + ] + }, + { + "value": "filter-circle-xmark", + "keywords": [ + "filter", + "circle", + "xmark" + ] + }, + { + "value": "fingerprint" + }, + { + "value": "fire" + }, + { + "value": "fire-burner", + "keywords": [ + "fire", + "burner" + ] + }, + { + "value": "fire-extinguisher", + "keywords": [ + "fire", + "extinguisher" + ] + }, + { + "value": "fire-flame-curved", + "keywords": [ + "fire", + "flame", + "curved" + ] + }, + { + "value": "fire-flame-simple", + "keywords": [ + "fire", + "flame", + "simple" + ] + }, + { + "value": "fish" + }, + { + "value": "fish-fins", + "keywords": [ + "fish", + "fins" + ] + }, + { + "value": "flag" + }, + { + "value": "flag-checkered", + "keywords": [ + "flag", + "checkered" + ] + }, + { + "value": "flag-usa", + "keywords": [ + "flag", + "usa" + ] + }, + { + "value": "flask" + }, + { + "value": "flask-vial", + "keywords": [ + "flask", + "vial" + ] + }, + { + "value": "floppy-disk", + "keywords": [ + "floppy", + "disk" + ] + }, + { + "value": "florin-sign", + "keywords": [ + "florin", + "sign" + ] + }, + { + "value": "folder" + }, + { + "value": "folder-closed", + "keywords": [ + "folder", + "closed" + ] + }, + { + "value": "folder-minus", + "keywords": [ + "folder", + "minus" + ] + }, + { + "value": "folder-open", + "keywords": [ + "folder", + "open" + ] + }, + { + "value": "folder-plus", + "keywords": [ + "folder", + "plus" + ] + }, + { + "value": "folder-tree", + "keywords": [ + "folder", + "tree" + ] + }, + { + "value": "font" + }, + { + "value": "font-awesome", + "keywords": [ + "font", + "awesome" + ] + }, + { + "value": "football" + }, + { + "value": "forward" + }, + { + "value": "forward-fast", + "keywords": [ + "forward", + "fast" + ] + }, + { + "value": "forward-step", + "keywords": [ + "forward", + "step" + ] + }, + { + "value": "franc-sign", + "keywords": [ + "franc", + "sign" + ] + }, + { + "value": "frog" + }, + { + "value": "futbol" + }, + { + "value": "g" + }, + { + "value": "gamepad" + }, + { + "value": "gas-pump", + "keywords": [ + "gas", + "pump" + ] + }, + { + "value": "gauge" + }, + { + "value": "gauge-high", + "keywords": [ + "gauge", + "high" + ] + }, + { + "value": "gauge-simple", + "keywords": [ + "gauge", + "simple" + ] + }, + { + "value": "gauge-simple-high", + "keywords": [ + "gauge", + "simple", + "high" + ] + }, + { + "value": "gavel" + }, + { + "value": "gear" + }, + { + "value": "gears" + }, + { + "value": "gem" + }, + { + "value": "genderless" + }, + { + "value": "ghost" + }, + { + "value": "gift" + }, + { + "value": "gifts" + }, + { + "value": "glass-water", + "keywords": [ + "glass", + "water" + ] + }, + { + "value": "glass-water-droplet", + "keywords": [ + "glass", + "water", + "droplet" + ] + }, + { + "value": "glasses" + }, + { + "value": "globe" + }, + { + "value": "golf-ball-tee", + "keywords": [ + "golf", + "ball", + "tee" + ] + }, + { + "value": "gopuram" + }, + { + "value": "graduation-cap", + "keywords": [ + "graduation", + "cap" + ] + }, + { + "value": "greater-than", + "keywords": [ + "greater", + "than" + ] + }, + { + "value": "greater-than-equal", + "keywords": [ + "greater", + "than", + "equal" + ] + }, + { + "value": "grip" + }, + { + "value": "grip-lines", + "keywords": [ + "grip", + "lines" + ] + }, + { + "value": "grip-lines-vertical", + "keywords": [ + "grip", + "lines", + "vertical" + ] + }, + { + "value": "grip-vertical", + "keywords": [ + "grip", + "vertical" + ] + }, + { + "value": "group-arrows-rotate", + "keywords": [ + "group", + "arrows", + "rotate" + ] + }, + { + "value": "guarani-sign", + "keywords": [ + "guarani", + "sign" + ] + }, + { + "value": "guitar" + }, + { + "value": "gun" + }, + { + "value": "h" + }, + { + "value": "hammer" + }, + { + "value": "hamsa" + }, + { + "value": "hand" + }, + { + "value": "hand-back-fist", + "keywords": [ + "hand", + "back", + "fist" + ] + }, + { + "value": "hand-dots", + "keywords": [ + "hand", + "dots" + ] + }, + { + "value": "hand-fist", + "keywords": [ + "hand", + "fist" + ] + }, + { + "value": "hand-holding", + "keywords": [ + "hand", + "holding" + ] + }, + { + "value": "hand-holding-dollar", + "keywords": [ + "hand", + "holding", + "dollar" + ] + }, + { + "value": "hand-holding-droplet", + "keywords": [ + "hand", + "holding", + "droplet" + ] + }, + { + "value": "hand-holding-hand", + "keywords": [ + "hand", + "holding", + "hand" + ] + }, + { + "value": "hand-holding-heart", + "keywords": [ + "hand", + "holding", + "heart" + ] + }, + { + "value": "hand-holding-medical", + "keywords": [ + "hand", + "holding", + "medical" + ] + }, + { + "value": "hand-lizard", + "keywords": [ + "hand", + "lizard" + ] + }, + { + "value": "hand-middle-finger", + "keywords": [ + "hand", + "middle", + "finger" + ] + }, + { + "value": "hand-peace", + "keywords": [ + "hand", + "peace" + ] + }, + { + "value": "hand-point-down", + "keywords": [ + "hand", + "point", + "down" + ] + }, + { + "value": "hand-point-left", + "keywords": [ + "hand", + "point", + "left" + ] + }, + { + "value": "hand-point-right", + "keywords": [ + "hand", + "point", + "right" + ] + }, + { + "value": "hand-point-up", + "keywords": [ + "hand", + "point", + "up" + ] + }, + { + "value": "hand-pointer", + "keywords": [ + "hand", + "pointer" + ] + }, + { + "value": "hand-scissors", + "keywords": [ + "hand", + "scissors" + ] + }, + { + "value": "hand-sparkles", + "keywords": [ + "hand", + "sparkles" + ] + }, + { + "value": "hand-spock", + "keywords": [ + "hand", + "spock" + ] + }, + { + "value": "handcuffs" + }, + { + "value": "hands" + }, + { + "value": "hands-asl-interpreting", + "keywords": [ + "hands", + "asl", + "interpreting" + ] + }, + { + "value": "hands-bound", + "keywords": [ + "hands", + "bound" + ] + }, + { + "value": "hands-bubbles", + "keywords": [ + "hands", + "bubbles" + ] + }, + { + "value": "hands-clapping", + "keywords": [ + "hands", + "clapping" + ] + }, + { + "value": "hands-holding", + "keywords": [ + "hands", + "holding" + ] + }, + { + "value": "hands-holding-child", + "keywords": [ + "hands", + "holding", + "child" + ] + }, + { + "value": "hands-holding-circle", + "keywords": [ + "hands", + "holding", + "circle" + ] + }, + { + "value": "hands-praying", + "keywords": [ + "hands", + "praying" + ] + }, + { + "value": "handshake" + }, + { + "value": "handshake-angle", + "keywords": [ + "handshake", + "angle" + ] + }, + { + "value": "handshake-simple", + "keywords": [ + "handshake", + "simple" + ] + }, + { + "value": "handshake-simple-slash", + "keywords": [ + "handshake", + "simple", + "slash" + ] + }, + { + "value": "handshake-slash", + "keywords": [ + "handshake", + "slash" + ] + }, + { + "value": "hanukiah" + }, + { + "value": "hard-drive", + "keywords": [ + "hard", + "drive" + ] + }, + { + "value": "hashtag" + }, + { + "value": "hat-cowboy", + "keywords": [ + "hat", + "cowboy" + ] + }, + { + "value": "hat-cowboy-side", + "keywords": [ + "hat", + "cowboy", + "side" + ] + }, + { + "value": "hat-wizard", + "keywords": [ + "hat", + "wizard" + ] + }, + { + "value": "head-side-cough", + "keywords": [ + "head", + "side", + "cough" + ] + }, + { + "value": "head-side-cough-slash", + "keywords": [ + "head", + "side", + "cough", + "slash" + ] + }, + { + "value": "head-side-mask", + "keywords": [ + "head", + "side", + "mask" + ] + }, + { + "value": "head-side-virus", + "keywords": [ + "head", + "side", + "virus" + ] + }, + { + "value": "heading" + }, + { + "value": "headphones" + }, + { + "value": "headphones-simple", + "keywords": [ + "headphones", + "simple" + ] + }, + { + "value": "headset" + }, + { + "value": "heart" + }, + { + "value": "heart-circle-bolt", + "keywords": [ + "heart", + "circle", + "bolt" + ] + }, + { + "value": "heart-circle-check", + "keywords": [ + "heart", + "circle", + "check" + ] + }, + { + "value": "heart-circle-exclamation", + "keywords": [ + "heart", + "circle", + "exclamation" + ] + }, + { + "value": "heart-circle-minus", + "keywords": [ + "heart", + "circle", + "minus" + ] + }, + { + "value": "heart-circle-plus", + "keywords": [ + "heart", + "circle", + "plus" + ] + }, + { + "value": "heart-circle-xmark", + "keywords": [ + "heart", + "circle", + "xmark" + ] + }, + { + "value": "heart-crack", + "keywords": [ + "heart", + "crack" + ] + }, + { + "value": "heart-pulse", + "keywords": [ + "heart", + "pulse" + ] + }, + { + "value": "helicopter" + }, + { + "value": "helicopter-symbol", + "keywords": [ + "helicopter", + "symbol" + ] + }, + { + "value": "helmet-safety", + "keywords": [ + "helmet", + "safety" + ] + }, + { + "value": "helmet-un", + "keywords": [ + "helmet", + "un" + ] + }, + { + "value": "highlighter" + }, + { + "value": "hill-avalanche", + "keywords": [ + "hill", + "avalanche" + ] + }, + { + "value": "hill-rockslide", + "keywords": [ + "hill", + "rockslide" + ] + }, + { + "value": "hippo" + }, + { + "value": "hockey-puck", + "keywords": [ + "hockey", + "puck" + ] + }, + { + "value": "holly-berry", + "keywords": [ + "holly", + "berry" + ] + }, + { + "value": "horse" + }, + { + "value": "horse-head", + "keywords": [ + "horse", + "head" + ] + }, + { + "value": "hospital" + }, + { + "value": "hospital-user", + "keywords": [ + "hospital", + "user" + ] + }, + { + "value": "hot-tub-person", + "keywords": [ + "hot", + "tub", + "person" + ] + }, + { + "value": "hotdog" + }, + { + "value": "hotel" + }, + { + "value": "hourglass" + }, + { + "value": "hourglass-end", + "keywords": [ + "hourglass", + "end" + ] + }, + { + "value": "hourglass-half", + "keywords": [ + "hourglass", + "half" + ] + }, + { + "value": "hourglass-start", + "keywords": [ + "hourglass", + "start" + ] + }, + { + "value": "house" + }, + { + "value": "house-chimney", + "keywords": [ + "house", + "chimney" + ] + }, + { + "value": "house-chimney-crack", + "keywords": [ + "house", + "chimney", + "crack" + ] + }, + { + "value": "house-chimney-medical", + "keywords": [ + "house", + "chimney", + "medical" + ] + }, + { + "value": "house-chimney-user", + "keywords": [ + "house", + "chimney", + "user" + ] + }, + { + "value": "house-chimney-window", + "keywords": [ + "house", + "chimney", + "window" + ] + }, + { + "value": "house-circle-check", + "keywords": [ + "house", + "circle", + "check" + ] + }, + { + "value": "house-circle-exclamation", + "keywords": [ + "house", + "circle", + "exclamation" + ] + }, + { + "value": "house-circle-xmark", + "keywords": [ + "house", + "circle", + "xmark" + ] + }, + { + "value": "house-crack", + "keywords": [ + "house", + "crack" + ] + }, + { + "value": "house-fire", + "keywords": [ + "house", + "fire" + ] + }, + { + "value": "house-flag", + "keywords": [ + "house", + "flag" + ] + }, + { + "value": "house-flood-water", + "keywords": [ + "house", + "flood", + "water" + ] + }, + { + "value": "house-flood-water-circle-arrow-right", + "keywords": [ + "house", + "flood", + "water", + "circle", + "arrow", + "right" + ] + }, + { + "value": "house-laptop", + "keywords": [ + "house", + "laptop" + ] + }, + { + "value": "house-lock", + "keywords": [ + "house", + "lock" + ] + }, + { + "value": "house-medical", + "keywords": [ + "house", + "medical" + ] + }, + { + "value": "house-medical-circle-check", + "keywords": [ + "house", + "medical", + "circle", + "check" + ] + }, + { + "value": "house-medical-circle-exclamation", + "keywords": [ + "house", + "medical", + "circle", + "exclamation" + ] + }, + { + "value": "house-medical-circle-xmark", + "keywords": [ + "house", + "medical", + "circle", + "xmark" + ] + }, + { + "value": "house-medical-flag", + "keywords": [ + "house", + "medical", + "flag" + ] + }, + { + "value": "house-signal", + "keywords": [ + "house", + "signal" + ] + }, + { + "value": "house-tsunami", + "keywords": [ + "house", + "tsunami" + ] + }, + { + "value": "house-user", + "keywords": [ + "house", + "user" + ] + }, + { + "value": "hryvnia-sign", + "keywords": [ + "hryvnia", + "sign" + ] + }, + { + "value": "hurricane" + }, + { + "value": "i" + }, + { + "value": "i-cursor" + }, + { + "value": "ice-cream", + "keywords": [ + "ice", + "cream" + ] + }, + { + "value": "icicles" + }, + { + "value": "icons" + }, + { + "value": "id-badge", + "keywords": [ + "id", + "badge" + ] + }, + { + "value": "id-card", + "keywords": [ + "id", + "card" + ] + }, + { + "value": "id-card-clip", + "keywords": [ + "id", + "card", + "clip" + ] + }, + { + "value": "igloo" + }, + { + "value": "image" + }, + { + "value": "image-portrait", + "keywords": [ + "image", + "portrait" + ] + }, + { + "value": "images" + }, + { + "value": "inbox" + }, + { + "value": "indent" + }, + { + "value": "indian-rupee-sign", + "keywords": [ + "indian", + "rupee", + "sign" + ] + }, + { + "value": "industry" + }, + { + "value": "infinity" + }, + { + "value": "info" + }, + { + "value": "italic" + }, + { + "value": "j" + }, + { + "value": "jar" + }, + { + "value": "jar-wheat", + "keywords": [ + "jar", + "wheat" + ] + }, + { + "value": "jedi" + }, + { + "value": "jet-fighter", + "keywords": [ + "jet", + "fighter" + ] + }, + { + "value": "jet-fighter-up", + "keywords": [ + "jet", + "fighter", + "up" + ] + }, + { + "value": "joint" + }, + { + "value": "jug-detergent", + "keywords": [ + "jug", + "detergent" + ] + }, + { + "value": "k" + }, + { + "value": "kaaba" + }, + { + "value": "key" + }, + { + "value": "keyboard" + }, + { + "value": "khanda" + }, + { + "value": "kip-sign", + "keywords": [ + "kip", + "sign" + ] + }, + { + "value": "kit-medical", + "keywords": [ + "kit", + "medical" + ] + }, + { + "value": "kitchen-set", + "keywords": [ + "kitchen", + "set" + ] + }, + { + "value": "kiwi-bird", + "keywords": [ + "kiwi", + "bird" + ] + }, + { + "value": "l" + }, + { + "value": "land-mine-on", + "keywords": [ + "land", + "mine", + "on" + ] + }, + { + "value": "landmark" + }, + { + "value": "landmark-dome", + "keywords": [ + "landmark", + "dome" + ] + }, + { + "value": "landmark-flag", + "keywords": [ + "landmark", + "flag" + ] + }, + { + "value": "language" + }, + { + "value": "laptop" + }, + { + "value": "laptop-code", + "keywords": [ + "laptop", + "code" + ] + }, + { + "value": "laptop-file", + "keywords": [ + "laptop", + "file" + ] + }, + { + "value": "laptop-medical", + "keywords": [ + "laptop", + "medical" + ] + }, + { + "value": "lari-sign", + "keywords": [ + "lari", + "sign" + ] + }, + { + "value": "layer-group", + "keywords": [ + "layer", + "group" + ] + }, + { + "value": "leaf" + }, + { + "value": "left-long", + "keywords": [ + "left", + "long" + ] + }, + { + "value": "left-right", + "keywords": [ + "left", + "right" + ] + }, + { + "value": "lemon" + }, + { + "value": "less-than", + "keywords": [ + "less", + "than" + ] + }, + { + "value": "less-than-equal", + "keywords": [ + "less", + "than", + "equal" + ] + }, + { + "value": "life-ring", + "keywords": [ + "life", + "ring" + ] + }, + { + "value": "lightbulb" + }, + { + "value": "lines-leaning", + "keywords": [ + "lines", + "leaning" + ] + }, + { + "value": "link" + }, + { + "value": "link-slash", + "keywords": [ + "link", + "slash" + ] + }, + { + "value": "lira-sign", + "keywords": [ + "lira", + "sign" + ] + }, + { + "value": "list" + }, + { + "value": "list-check", + "keywords": [ + "list", + "check" + ] + }, + { + "value": "list-ol", + "keywords": [ + "list", + "ol" + ] + }, + { + "value": "list-ul", + "keywords": [ + "list", + "ul" + ] + }, + { + "value": "litecoin-sign", + "keywords": [ + "litecoin", + "sign" + ] + }, + { + "value": "location-arrow", + "keywords": [ + "location", + "arrow" + ] + }, + { + "value": "location-crosshairs", + "keywords": [ + "location", + "crosshairs" + ] + }, + { + "value": "location-dot", + "keywords": [ + "location", + "dot" + ] + }, + { + "value": "location-pin", + "keywords": [ + "location", + "pin" + ] + }, + { + "value": "location-pin-lock", + "keywords": [ + "location", + "pin", + "lock" + ] + }, + { + "value": "lock" + }, + { + "value": "lock-open", + "keywords": [ + "lock", + "open" + ] + }, + { + "value": "locust" + }, + { + "value": "lungs" + }, + { + "value": "lungs-virus", + "keywords": [ + "lungs", + "virus" + ] + }, + { + "value": "m" + }, + { + "value": "magnet" + }, + { + "value": "magnifying-glass", + "keywords": [ + "magnifying", + "glass" + ] + }, + { + "value": "magnifying-glass-arrow-right", + "keywords": [ + "magnifying", + "glass", + "arrow", + "right" + ] + }, + { + "value": "magnifying-glass-chart", + "keywords": [ + "magnifying", + "glass", + "chart" + ] + }, + { + "value": "magnifying-glass-dollar", + "keywords": [ + "magnifying", + "glass", + "dollar" + ] + }, + { + "value": "magnifying-glass-location", + "keywords": [ + "magnifying", + "glass", + "location" + ] + }, + { + "value": "magnifying-glass-minus", + "keywords": [ + "magnifying", + "glass", + "minus" + ] + }, + { + "value": "magnifying-glass-plus", + "keywords": [ + "magnifying", + "glass", + "plus" + ] + }, + { + "value": "manat-sign", + "keywords": [ + "manat", + "sign" + ] + }, + { + "value": "map" + }, + { + "value": "map-location", + "keywords": [ + "map", + "location" + ] + }, + { + "value": "map-location-dot", + "keywords": [ + "map", + "location", + "dot" + ] + }, + { + "value": "map-pin", + "keywords": [ + "map", + "pin" + ] + }, + { + "value": "marker" + }, + { + "value": "mars" + }, + { + "value": "mars-and-venus", + "keywords": [ + "mars", + "and", + "venus" + ] + }, + { + "value": "mars-and-venus-burst", + "keywords": [ + "mars", + "and", + "venus", + "burst" + ] + }, + { + "value": "mars-double", + "keywords": [ + "mars", + "double" + ] + }, + { + "value": "mars-stroke", + "keywords": [ + "mars", + "stroke" + ] + }, + { + "value": "mars-stroke-right", + "keywords": [ + "mars", + "stroke", + "right" + ] + }, + { + "value": "mars-stroke-up", + "keywords": [ + "mars", + "stroke", + "up" + ] + }, + { + "value": "martini-glass", + "keywords": [ + "martini", + "glass" + ] + }, + { + "value": "martini-glass-citrus", + "keywords": [ + "martini", + "glass", + "citrus" + ] + }, + { + "value": "martini-glass-empty", + "keywords": [ + "martini", + "glass", + "empty" + ] + }, + { + "value": "mask" + }, + { + "value": "mask-face", + "keywords": [ + "mask", + "face" + ] + }, + { + "value": "mask-ventilator", + "keywords": [ + "mask", + "ventilator" + ] + }, + { + "value": "masks-theater", + "keywords": [ + "masks", + "theater" + ] + }, + { + "value": "mattress-pillow", + "keywords": [ + "mattress", + "pillow" + ] + }, + { + "value": "maximize" + }, + { + "value": "medal" + }, + { + "value": "memory" + }, + { + "value": "menorah" + }, + { + "value": "mercury" + }, + { + "value": "message" + }, + { + "value": "meteor" + }, + { + "value": "microchip" + }, + { + "value": "microphone" + }, + { + "value": "microphone-lines", + "keywords": [ + "microphone", + "lines" + ] + }, + { + "value": "microphone-lines-slash", + "keywords": [ + "microphone", + "lines", + "slash" + ] + }, + { + "value": "microphone-slash", + "keywords": [ + "microphone", + "slash" + ] + }, + { + "value": "microscope" + }, + { + "value": "mill-sign", + "keywords": [ + "mill", + "sign" + ] + }, + { + "value": "minimize" + }, + { + "value": "minus" + }, + { + "value": "mitten" + }, + { + "value": "mobile" + }, + { + "value": "mobile-button", + "keywords": [ + "mobile", + "button" + ] + }, + { + "value": "mobile-retro", + "keywords": [ + "mobile", + "retro" + ] + }, + { + "value": "mobile-screen", + "keywords": [ + "mobile", + "screen" + ] + }, + { + "value": "mobile-screen-button", + "keywords": [ + "mobile", + "screen", + "button" + ] + }, + { + "value": "money-bill", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-transfer", + "keywords": [ + "money", + "bill", + "transfer" + ] + }, + { + "value": "money-bill-trend-up", + "keywords": [ + "money", + "bill", + "trend", + "up" + ] + }, + { + "value": "money-bill-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-wheat", + "keywords": [ + "money", + "bill", + "wheat" + ] + }, + { + "value": "money-bills", + "keywords": [ + "money", + "bills" + ] + }, + { + "value": "money-check", + "keywords": [ + "money", + "check" + ] + }, + { + "value": "money-check-dollar", + "keywords": [ + "money", + "check", + "dollar" + ] + }, + { + "value": "monument" + }, + { + "value": "moon" + }, + { + "value": "mortar-pestle", + "keywords": [ + "mortar", + "pestle" + ] + }, + { + "value": "mosque" + }, + { + "value": "mosquito" + }, + { + "value": "mosquito-net", + "keywords": [ + "mosquito", + "net" + ] + }, + { + "value": "motorcycle" + }, + { + "value": "mound" + }, + { + "value": "mountain" + }, + { + "value": "mountain-city", + "keywords": [ + "mountain", + "city" + ] + }, + { + "value": "mountain-sun", + "keywords": [ + "mountain", + "sun" + ] + }, + { + "value": "mug-hot", + "keywords": [ + "mug", + "hot" + ] + }, + { + "value": "mug-saucer", + "keywords": [ + "mug", + "saucer" + ] + }, + { + "value": "music" + }, + { + "value": "n" + }, + { + "value": "naira-sign", + "keywords": [ + "naira", + "sign" + ] + }, + { + "value": "network-wired", + "keywords": [ + "network", + "wired" + ] + }, + { + "value": "neuter" + }, + { + "value": "newspaper" + }, + { + "value": "not-equal", + "keywords": [ + "not", + "equal" + ] + }, + { + "value": "notdef" + }, + { + "value": "note-sticky", + "keywords": [ + "note", + "sticky" + ] + }, + { + "value": "notes-medical", + "keywords": [ + "notes", + "medical" + ] + }, + { + "value": "o" + }, + { + "value": "object-group", + "keywords": [ + "object", + "group" + ] + }, + { + "value": "object-ungroup", + "keywords": [ + "object", + "ungroup" + ] + }, + { + "value": "oil-can", + "keywords": [ + "oil", + "can" + ] + }, + { + "value": "oil-well", + "keywords": [ + "oil", + "well" + ] + }, + { + "value": "om" + }, + { + "value": "otter" + }, + { + "value": "outdent" + }, + { + "value": "p" + }, + { + "value": "pager" + }, + { + "value": "paint-roller", + "keywords": [ + "paint", + "roller" + ] + }, + { + "value": "paintbrush" + }, + { + "value": "palette" + }, + { + "value": "pallet" + }, + { + "value": "panorama" + }, + { + "value": "paper-plane", + "keywords": [ + "paper", + "plane" + ] + }, + { + "value": "paperclip" + }, + { + "value": "parachute-box", + "keywords": [ + "parachute", + "box" + ] + }, + { + "value": "paragraph" + }, + { + "value": "passport" + }, + { + "value": "paste" + }, + { + "value": "pause" + }, + { + "value": "paw" + }, + { + "value": "peace" + }, + { + "value": "pen" + }, + { + "value": "pen-clip", + "keywords": [ + "pen", + "clip" + ] + }, + { + "value": "pen-fancy", + "keywords": [ + "pen", + "fancy" + ] + }, + { + "value": "pen-nib", + "keywords": [ + "pen", + "nib" + ] + }, + { + "value": "pen-ruler", + "keywords": [ + "pen", + "ruler" + ] + }, + { + "value": "pen-to-square", + "keywords": [ + "pen", + "to", + "square" + ] + }, + { + "value": "pencil" + }, + { + "value": "people-arrows", + "keywords": [ + "people", + "arrows" + ] + }, + { + "value": "people-carry-box", + "keywords": [ + "people", + "carry", + "box" + ] + }, + { + "value": "people-group", + "keywords": [ + "people", + "group" + ] + }, + { + "value": "people-line", + "keywords": [ + "people", + "line" + ] + }, + { + "value": "people-pulling", + "keywords": [ + "people", + "pulling" + ] + }, + { + "value": "people-robbery", + "keywords": [ + "people", + "robbery" + ] + }, + { + "value": "people-roof", + "keywords": [ + "people", + "roof" + ] + }, + { + "value": "pepper-hot", + "keywords": [ + "pepper", + "hot" + ] + }, + { + "value": "percent" + }, + { + "value": "person" + }, + { + "value": "person-arrow-down-to-line", + "keywords": [ + "person", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "person-arrow-up-from-line", + "keywords": [ + "person", + "arrow", + "up", + "from", + "line" + ] + }, + { + "value": "person-biking", + "keywords": [ + "person", + "biking" + ] + }, + { + "value": "person-booth", + "keywords": [ + "person", + "booth" + ] + }, + { + "value": "person-breastfeeding", + "keywords": [ + "person", + "breastfeeding" + ] + }, + { + "value": "person-burst", + "keywords": [ + "person", + "burst" + ] + }, + { + "value": "person-cane", + "keywords": [ + "person", + "cane" + ] + }, + { + "value": "person-chalkboard", + "keywords": [ + "person", + "chalkboard" + ] + }, + { + "value": "person-circle-check", + "keywords": [ + "person", + "circle", + "check" + ] + }, + { + "value": "person-circle-exclamation", + "keywords": [ + "person", + "circle", + "exclamation" + ] + }, + { + "value": "person-circle-minus", + "keywords": [ + "person", + "circle", + "minus" + ] + }, + { + "value": "person-circle-plus", + "keywords": [ + "person", + "circle", + "plus" + ] + }, + { + "value": "person-circle-question", + "keywords": [ + "person", + "circle", + "question" + ] + }, + { + "value": "person-circle-xmark", + "keywords": [ + "person", + "circle", + "xmark" + ] + }, + { + "value": "person-digging", + "keywords": [ + "person", + "digging" + ] + }, + { + "value": "person-dots-from-line", + "keywords": [ + "person", + "dots", + "from", + "line" + ] + }, + { + "value": "person-dress", + "keywords": [ + "person", + "dress" + ] + }, + { + "value": "person-dress-burst", + "keywords": [ + "person", + "dress", + "burst" + ] + }, + { + "value": "person-drowning", + "keywords": [ + "person", + "drowning" + ] + }, + { + "value": "person-falling", + "keywords": [ + "person", + "falling" + ] + }, + { + "value": "person-falling-burst", + "keywords": [ + "person", + "falling", + "burst" + ] + }, + { + "value": "person-half-dress", + "keywords": [ + "person", + "half", + "dress" + ] + }, + { + "value": "person-harassing", + "keywords": [ + "person", + "harassing" + ] + }, + { + "value": "person-hiking", + "keywords": [ + "person", + "hiking" + ] + }, + { + "value": "person-military-pointing", + "keywords": [ + "person", + "military", + "pointing" + ] + }, + { + "value": "person-military-rifle", + "keywords": [ + "person", + "military", + "rifle" + ] + }, + { + "value": "person-military-to-person", + "keywords": [ + "person", + "military", + "to", + "person" + ] + }, + { + "value": "person-praying", + "keywords": [ + "person", + "praying" + ] + }, + { + "value": "person-pregnant", + "keywords": [ + "person", + "pregnant" + ] + }, + { + "value": "person-rays", + "keywords": [ + "person", + "rays" + ] + }, + { + "value": "person-rifle", + "keywords": [ + "person", + "rifle" + ] + }, + { + "value": "person-running", + "keywords": [ + "person", + "running" + ] + }, + { + "value": "person-shelter", + "keywords": [ + "person", + "shelter" + ] + }, + { + "value": "person-skating", + "keywords": [ + "person", + "skating" + ] + }, + { + "value": "person-skiing", + "keywords": [ + "person", + "skiing" + ] + }, + { + "value": "person-skiing-nordic", + "keywords": [ + "person", + "skiing", + "nordic" + ] + }, + { + "value": "person-snowboarding", + "keywords": [ + "person", + "snowboarding" + ] + }, + { + "value": "person-swimming", + "keywords": [ + "person", + "swimming" + ] + }, + { + "value": "person-through-window", + "keywords": [ + "person", + "through", + "window" + ] + }, + { + "value": "person-walking", + "keywords": [ + "person", + "walking" + ] + }, + { + "value": "person-walking-arrow-loop-left", + "keywords": [ + "person", + "walking", + "arrow", + "loop", + "left" + ] + }, + { + "value": "person-walking-arrow-right", + "keywords": [ + "person", + "walking", + "arrow", + "right" + ] + }, + { + "value": "person-walking-dashed-line-arrow-right", + "keywords": [ + "person", + "walking", + "dashed", + "line", + "arrow", + "right" + ] + }, + { + "value": "person-walking-luggage", + "keywords": [ + "person", + "walking", + "luggage" + ] + }, + { + "value": "person-walking-with-cane", + "keywords": [ + "person", + "walking", + "with", + "cane" + ] + }, + { + "value": "peseta-sign", + "keywords": [ + "peseta", + "sign" + ] + }, + { + "value": "peso-sign", + "keywords": [ + "peso", + "sign" + ] + }, + { + "value": "phone" + }, + { + "value": "phone-flip", + "keywords": [ + "phone", + "flip" + ] + }, + { + "value": "phone-slash", + "keywords": [ + "phone", + "slash" + ] + }, + { + "value": "phone-volume", + "keywords": [ + "phone", + "volume" + ] + }, + { + "value": "photo-film", + "keywords": [ + "photo", + "film" + ] + }, + { + "value": "piggy-bank", + "keywords": [ + "piggy", + "bank" + ] + }, + { + "value": "pills" + }, + { + "value": "pizza-slice", + "keywords": [ + "pizza", + "slice" + ] + }, + { + "value": "place-of-worship", + "keywords": [ + "place", + "of", + "worship" + ] + }, + { + "value": "plane" + }, + { + "value": "plane-arrival", + "keywords": [ + "plane", + "arrival" + ] + }, + { + "value": "plane-circle-check", + "keywords": [ + "plane", + "circle", + "check" + ] + }, + { + "value": "plane-circle-exclamation", + "keywords": [ + "plane", + "circle", + "exclamation" + ] + }, + { + "value": "plane-circle-xmark", + "keywords": [ + "plane", + "circle", + "xmark" + ] + }, + { + "value": "plane-departure", + "keywords": [ + "plane", + "departure" + ] + }, + { + "value": "plane-lock", + "keywords": [ + "plane", + "lock" + ] + }, + { + "value": "plane-slash", + "keywords": [ + "plane", + "slash" + ] + }, + { + "value": "plane-up", + "keywords": [ + "plane", + "up" + ] + }, + { + "value": "plant-wilt", + "keywords": [ + "plant", + "wilt" + ] + }, + { + "value": "plate-wheat", + "keywords": [ + "plate", + "wheat" + ] + }, + { + "value": "play" + }, + { + "value": "plug" + }, + { + "value": "plug-circle-bolt", + "keywords": [ + "plug", + "circle", + "bolt" + ] + }, + { + "value": "plug-circle-check", + "keywords": [ + "plug", + "circle", + "check" + ] + }, + { + "value": "plug-circle-exclamation", + "keywords": [ + "plug", + "circle", + "exclamation" + ] + }, + { + "value": "plug-circle-minus", + "keywords": [ + "plug", + "circle", + "minus" + ] + }, + { + "value": "plug-circle-plus", + "keywords": [ + "plug", + "circle", + "plus" + ] + }, + { + "value": "plug-circle-xmark", + "keywords": [ + "plug", + "circle", + "xmark" + ] + }, + { + "value": "plus" + }, + { + "value": "plus-minus", + "keywords": [ + "plus", + "minus" + ] + }, + { + "value": "podcast" + }, + { + "value": "poo" + }, + { + "value": "poo-storm", + "keywords": [ + "poo", + "storm" + ] + }, + { + "value": "poop" + }, + { + "value": "power-off", + "keywords": [ + "power", + "off" + ] + }, + { + "value": "prescription" + }, + { + "value": "prescription-bottle", + "keywords": [ + "prescription", + "bottle" + ] + }, + { + "value": "prescription-bottle-medical", + "keywords": [ + "prescription", + "bottle", + "medical" + ] + }, + { + "value": "print" + }, + { + "value": "pump-medical", + "keywords": [ + "pump", + "medical" + ] + }, + { + "value": "pump-soap", + "keywords": [ + "pump", + "soap" + ] + }, + { + "value": "puzzle-piece", + "keywords": [ + "puzzle", + "piece" + ] + }, + { + "value": "q" + }, + { + "value": "qrcode" + }, + { + "value": "question" + }, + { + "value": "quote-left", + "keywords": [ + "quote", + "left" + ] + }, + { + "value": "quote-right", + "keywords": [ + "quote", + "right" + ] + }, + { + "value": "r" + }, + { + "value": "radiation" + }, + { + "value": "radio" + }, + { + "value": "rainbow" + }, + { + "value": "ranking-star", + "keywords": [ + "ranking", + "star" + ] + }, + { + "value": "receipt" + }, + { + "value": "record-vinyl", + "keywords": [ + "record", + "vinyl" + ] + }, + { + "value": "rectangle-ad", + "keywords": [ + "rectangle", + "ad" + ] + }, + { + "value": "rectangle-list", + "keywords": [ + "rectangle", + "list" + ] + }, + { + "value": "rectangle-xmark", + "keywords": [ + "rectangle", + "xmark" + ] + }, + { + "value": "recycle" + }, + { + "value": "registered" + }, + { + "value": "repeat" + }, + { + "value": "reply" + }, + { + "value": "reply-all", + "keywords": [ + "reply", + "all" + ] + }, + { + "value": "republican" + }, + { + "value": "restroom" + }, + { + "value": "retweet" + }, + { + "value": "ribbon" + }, + { + "value": "right-from-bracket", + "keywords": [ + "right", + "from", + "bracket" + ] + }, + { + "value": "right-left", + "keywords": [ + "right", + "left" + ] + }, + { + "value": "right-long", + "keywords": [ + "right", + "long" + ] + }, + { + "value": "right-to-bracket", + "keywords": [ + "right", + "to", + "bracket" + ] + }, + { + "value": "ring" + }, + { + "value": "road" + }, + { + "value": "road-barrier", + "keywords": [ + "road", + "barrier" + ] + }, + { + "value": "road-bridge", + "keywords": [ + "road", + "bridge" + ] + }, + { + "value": "road-circle-check", + "keywords": [ + "road", + "circle", + "check" + ] + }, + { + "value": "road-circle-exclamation", + "keywords": [ + "road", + "circle", + "exclamation" + ] + }, + { + "value": "road-circle-xmark", + "keywords": [ + "road", + "circle", + "xmark" + ] + }, + { + "value": "road-lock", + "keywords": [ + "road", + "lock" + ] + }, + { + "value": "road-spikes", + "keywords": [ + "road", + "spikes" + ] + }, + { + "value": "robot" + }, + { + "value": "rocket" + }, + { + "value": "rotate" + }, + { + "value": "rotate-left", + "keywords": [ + "rotate", + "left" + ] + }, + { + "value": "rotate-right", + "keywords": [ + "rotate", + "right" + ] + }, + { + "value": "route" + }, + { + "value": "rss" + }, + { + "value": "ruble-sign", + "keywords": [ + "ruble", + "sign" + ] + }, + { + "value": "rug" + }, + { + "value": "ruler" + }, + { + "value": "ruler-combined", + "keywords": [ + "ruler", + "combined" + ] + }, + { + "value": "ruler-horizontal", + "keywords": [ + "ruler", + "horizontal" + ] + }, + { + "value": "ruler-vertical", + "keywords": [ + "ruler", + "vertical" + ] + }, + { + "value": "rupee-sign", + "keywords": [ + "rupee", + "sign" + ] + }, + { + "value": "rupiah-sign", + "keywords": [ + "rupiah", + "sign" + ] + }, + { + "value": "s" + }, + { + "value": "sack-dollar", + "keywords": [ + "sack", + "dollar" + ] + }, + { + "value": "sack-xmark", + "keywords": [ + "sack", + "xmark" + ] + }, + { + "value": "sailboat" + }, + { + "value": "satellite" + }, + { + "value": "satellite-dish", + "keywords": [ + "satellite", + "dish" + ] + }, + { + "value": "scale-balanced", + "keywords": [ + "scale", + "balanced" + ] + }, + { + "value": "scale-unbalanced", + "keywords": [ + "scale", + "unbalanced" + ] + }, + { + "value": "scale-unbalanced-flip", + "keywords": [ + "scale", + "unbalanced", + "flip" + ] + }, + { + "value": "school" + }, + { + "value": "school-circle-check", + "keywords": [ + "school", + "circle", + "check" + ] + }, + { + "value": "school-circle-exclamation", + "keywords": [ + "school", + "circle", + "exclamation" + ] + }, + { + "value": "school-circle-xmark", + "keywords": [ + "school", + "circle", + "xmark" + ] + }, + { + "value": "school-flag", + "keywords": [ + "school", + "flag" + ] + }, + { + "value": "school-lock", + "keywords": [ + "school", + "lock" + ] + }, + { + "value": "scissors" + }, + { + "value": "screwdriver" + }, + { + "value": "screwdriver-wrench", + "keywords": [ + "screwdriver", + "wrench" + ] + }, + { + "value": "scroll" + }, + { + "value": "scroll-torah", + "keywords": [ + "scroll", + "torah" + ] + }, + { + "value": "sd-card", + "keywords": [ + "sd", + "card" + ] + }, + { + "value": "section" + }, + { + "value": "seedling" + }, + { + "value": "server" + }, + { + "value": "shapes" + }, + { + "value": "share" + }, + { + "value": "share-from-square", + "keywords": [ + "share", + "from", + "square" + ] + }, + { + "value": "share-nodes", + "keywords": [ + "share", + "nodes" + ] + }, + { + "value": "sheet-plastic", + "keywords": [ + "sheet", + "plastic" + ] + }, + { + "value": "shekel-sign", + "keywords": [ + "shekel", + "sign" + ] + }, + { + "value": "shield" + }, + { + "value": "shield-cat", + "keywords": [ + "shield", + "cat" + ] + }, + { + "value": "shield-dog", + "keywords": [ + "shield", + "dog" + ] + }, + { + "value": "shield-halved", + "keywords": [ + "shield", + "halved" + ] + }, + { + "value": "shield-heart", + "keywords": [ + "shield", + "heart" + ] + }, + { + "value": "shield-virus", + "keywords": [ + "shield", + "virus" + ] + }, + { + "value": "ship" + }, + { + "value": "shirt" + }, + { + "value": "shoe-prints", + "keywords": [ + "shoe", + "prints" + ] + }, + { + "value": "shop" + }, + { + "value": "shop-lock", + "keywords": [ + "shop", + "lock" + ] + }, + { + "value": "shop-slash", + "keywords": [ + "shop", + "slash" + ] + }, + { + "value": "shower" + }, + { + "value": "shrimp" + }, + { + "value": "shuffle" + }, + { + "value": "shuttle-space", + "keywords": [ + "shuttle", + "space" + ] + }, + { + "value": "sign-hanging", + "keywords": [ + "sign", + "hanging" + ] + }, + { + "value": "signal" + }, + { + "value": "signature" + }, + { + "value": "signs-post", + "keywords": [ + "signs", + "post" + ] + }, + { + "value": "sim-card", + "keywords": [ + "sim", + "card" + ] + }, + { + "value": "sink" + }, + { + "value": "sitemap" + }, + { + "value": "skull" + }, + { + "value": "skull-crossbones", + "keywords": [ + "skull", + "crossbones" + ] + }, + { + "value": "slash" + }, + { + "value": "sleigh" + }, + { + "value": "sliders" + }, + { + "value": "smog" + }, + { + "value": "smoking" + }, + { + "value": "snowflake" + }, + { + "value": "snowman" + }, + { + "value": "snowplow" + }, + { + "value": "soap" + }, + { + "value": "socks" + }, + { + "value": "solar-panel", + "keywords": [ + "solar", + "panel" + ] + }, + { + "value": "sort" + }, + { + "value": "sort-down", + "keywords": [ + "sort", + "down" + ] + }, + { + "value": "sort-up", + "keywords": [ + "sort", + "up" + ] + }, + { + "value": "spa" + }, + { + "value": "spaghetti-monster-flying", + "keywords": [ + "spaghetti", + "monster", + "flying" + ] + }, + { + "value": "spell-check", + "keywords": [ + "spell", + "check" + ] + }, + { + "value": "spider" + }, + { + "value": "spinner" + }, + { + "value": "splotch" + }, + { + "value": "spoon" + }, + { + "value": "spray-can", + "keywords": [ + "spray", + "can" + ] + }, + { + "value": "spray-can-sparkles", + "keywords": [ + "spray", + "can", + "sparkles" + ] + }, + { + "value": "square" + }, + { + "value": "square-arrow-up-right", + "keywords": [ + "square", + "arrow", + "up", + "right" + ] + }, + { + "value": "square-caret-down", + "keywords": [ + "square", + "caret", + "down" + ] + }, + { + "value": "square-caret-left", + "keywords": [ + "square", + "caret", + "left" + ] + }, + { + "value": "square-caret-right", + "keywords": [ + "square", + "caret", + "right" + ] + }, + { + "value": "square-caret-up", + "keywords": [ + "square", + "caret", + "up" + ] + }, + { + "value": "square-check", + "keywords": [ + "square", + "check" + ] + }, + { + "value": "square-envelope", + "keywords": [ + "square", + "envelope" + ] + }, + { + "value": "square-full", + "keywords": [ + "square", + "full" + ] + }, + { + "value": "square-h" + }, + { + "value": "square-minus", + "keywords": [ + "square", + "minus" + ] + }, + { + "value": "square-nfi", + "keywords": [ + "square", + "nfi" + ] + }, + { + "value": "square-parking", + "keywords": [ + "square", + "parking" + ] + }, + { + "value": "square-pen", + "keywords": [ + "square", + "pen" + ] + }, + { + "value": "square-person-confined", + "keywords": [ + "square", + "person", + "confined" + ] + }, + { + "value": "square-phone", + "keywords": [ + "square", + "phone" + ] + }, + { + "value": "square-phone-flip", + "keywords": [ + "square", + "phone", + "flip" + ] + }, + { + "value": "square-plus", + "keywords": [ + "square", + "plus" + ] + }, + { + "value": "square-poll-horizontal", + "keywords": [ + "square", + "poll", + "horizontal" + ] + }, + { + "value": "square-poll-vertical", + "keywords": [ + "square", + "poll", + "vertical" + ] + }, + { + "value": "square-root-variable", + "keywords": [ + "square", + "root", + "variable" + ] + }, + { + "value": "square-rss", + "keywords": [ + "square", + "rss" + ] + }, + { + "value": "square-share-nodes", + "keywords": [ + "square", + "share", + "nodes" + ] + }, + { + "value": "square-up-right", + "keywords": [ + "square", + "up", + "right" + ] + }, + { + "value": "square-virus", + "keywords": [ + "square", + "virus" + ] + }, + { + "value": "square-xmark", + "keywords": [ + "square", + "xmark" + ] + }, + { + "value": "staff-snake", + "keywords": [ + "staff", + "snake" + ] + }, + { + "value": "stairs" + }, + { + "value": "stamp" + }, + { + "value": "stapler" + }, + { + "value": "star" + }, + { + "value": "star-and-crescent", + "keywords": [ + "star", + "and", + "crescent" + ] + }, + { + "value": "star-half", + "keywords": [ + "star", + "half" + ] + }, + { + "value": "star-half-stroke", + "keywords": [ + "star", + "half", + "stroke" + ] + }, + { + "value": "star-of-david", + "keywords": [ + "star", + "of", + "david" + ] + }, + { + "value": "star-of-life", + "keywords": [ + "star", + "of", + "life" + ] + }, + { + "value": "sterling-sign", + "keywords": [ + "sterling", + "sign" + ] + }, + { + "value": "stethoscope" + }, + { + "value": "stop" + }, + { + "value": "stopwatch" + }, + { + "value": "stopwatch-20", + "keywords": [ + "stopwatch", + "20" + ] + }, + { + "value": "store" + }, + { + "value": "store-slash", + "keywords": [ + "store", + "slash" + ] + }, + { + "value": "street-view", + "keywords": [ + "street", + "view" + ] + }, + { + "value": "strikethrough" + }, + { + "value": "stroopwafel" + }, + { + "value": "subscript" + }, + { + "value": "suitcase" + }, + { + "value": "suitcase-medical", + "keywords": [ + "suitcase", + "medical" + ] + }, + { + "value": "suitcase-rolling", + "keywords": [ + "suitcase", + "rolling" + ] + }, + { + "value": "sun" + }, + { + "value": "sun-plant-wilt", + "keywords": [ + "sun", + "plant", + "wilt" + ] + }, + { + "value": "superscript" + }, + { + "value": "swatchbook" + }, + { + "value": "synagogue" + }, + { + "value": "syringe" + }, + { + "value": "t" + }, + { + "value": "table" + }, + { + "value": "table-cells", + "keywords": [ + "table", + "cells" + ] + }, + { + "value": "table-cells-large", + "keywords": [ + "table", + "cells", + "large" + ] + }, + { + "value": "table-columns", + "keywords": [ + "table", + "columns" + ] + }, + { + "value": "table-list", + "keywords": [ + "table", + "list" + ] + }, + { + "value": "table-tennis-paddle-ball", + "keywords": [ + "table", + "tennis", + "paddle", + "ball" + ] + }, + { + "value": "tablet" + }, + { + "value": "tablet-button", + "keywords": [ + "tablet", + "button" + ] + }, + { + "value": "tablet-screen-button", + "keywords": [ + "tablet", + "screen", + "button" + ] + }, + { + "value": "tablets" + }, + { + "value": "tachograph-digital", + "keywords": [ + "tachograph", + "digital" + ] + }, + { + "value": "tag" + }, + { + "value": "tags" + }, + { + "value": "tape" + }, + { + "value": "tarp" + }, + { + "value": "tarp-droplet", + "keywords": [ + "tarp", + "droplet" + ] + }, + { + "value": "taxi" + }, + { + "value": "teeth" + }, + { + "value": "teeth-open", + "keywords": [ + "teeth", + "open" + ] + }, + { + "value": "temperature-arrow-down", + "keywords": [ + "temperature", + "arrow", + "down" + ] + }, + { + "value": "temperature-arrow-up", + "keywords": [ + "temperature", + "arrow", + "up" + ] + }, + { + "value": "temperature-empty", + "keywords": [ + "temperature", + "empty" + ] + }, + { + "value": "temperature-full", + "keywords": [ + "temperature", + "full" + ] + }, + { + "value": "temperature-half", + "keywords": [ + "temperature", + "half" + ] + }, + { + "value": "temperature-high", + "keywords": [ + "temperature", + "high" + ] + }, + { + "value": "temperature-low", + "keywords": [ + "temperature", + "low" + ] + }, + { + "value": "temperature-quarter", + "keywords": [ + "temperature", + "quarter" + ] + }, + { + "value": "temperature-three-quarters", + "keywords": [ + "temperature", + "three", + "quarters" + ] + }, + { + "value": "tenge-sign", + "keywords": [ + "tenge", + "sign" + ] + }, + { + "value": "tent" + }, + { + "value": "tent-arrow-down-to-line", + "keywords": [ + "tent", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "tent-arrow-left-right", + "keywords": [ + "tent", + "arrow", + "left", + "right" + ] + }, + { + "value": "tent-arrow-turn-left", + "keywords": [ + "tent", + "arrow", + "turn", + "left" + ] + }, + { + "value": "tent-arrows-down", + "keywords": [ + "tent", + "arrows", + "down" + ] + }, + { + "value": "tents" + }, + { + "value": "terminal" + }, + { + "value": "text-height", + "keywords": [ + "text", + "height" + ] + }, + { + "value": "text-slash", + "keywords": [ + "text", + "slash" + ] + }, + { + "value": "text-width", + "keywords": [ + "text", + "width" + ] + }, + { + "value": "thermometer" + }, + { + "value": "thumbs-down", + "keywords": [ + "thumbs", + "down" + ] + }, + { + "value": "thumbs-up", + "keywords": [ + "thumbs", + "up" + ] + }, + { + "value": "thumbtack" + }, + { + "value": "ticket" + }, + { + "value": "ticket-simple", + "keywords": [ + "ticket", + "simple" + ] + }, + { + "value": "timeline" + }, + { + "value": "toggle-off", + "keywords": [ + "toggle", + "off" + ] + }, + { + "value": "toggle-on", + "keywords": [ + "toggle", + "on" + ] + }, + { + "value": "toilet" + }, + { + "value": "toilet-paper", + "keywords": [ + "toilet", + "paper" + ] + }, + { + "value": "toilet-paper-slash", + "keywords": [ + "toilet", + "paper", + "slash" + ] + }, + { + "value": "toilet-portable", + "keywords": [ + "toilet", + "portable" + ] + }, + { + "value": "toilets-portable", + "keywords": [ + "toilets", + "portable" + ] + }, + { + "value": "toolbox" + }, + { + "value": "tooth" + }, + { + "value": "torii-gate", + "keywords": [ + "torii", + "gate" + ] + }, + { + "value": "tornado" + }, + { + "value": "tower-broadcast", + "keywords": [ + "tower", + "broadcast" + ] + }, + { + "value": "tower-cell", + "keywords": [ + "tower", + "cell" + ] + }, + { + "value": "tower-observation", + "keywords": [ + "tower", + "observation" + ] + }, + { + "value": "tractor" + }, + { + "value": "trademark" + }, + { + "value": "traffic-light", + "keywords": [ + "traffic", + "light" + ] + }, + { + "value": "trailer" + }, + { + "value": "train" + }, + { + "value": "train-subway", + "keywords": [ + "train", + "subway" + ] + }, + { + "value": "train-tram", + "keywords": [ + "train", + "tram" + ] + }, + { + "value": "transgender" + }, + { + "value": "trash" + }, + { + "value": "trash-arrow-up", + "keywords": [ + "trash", + "arrow", + "up" + ] + }, + { + "value": "trash-can", + "keywords": [ + "trash", + "can" + ] + }, + { + "value": "trash-can-arrow-up", + "keywords": [ + "trash", + "can", + "arrow", + "up" + ] + }, + { + "value": "tree" + }, + { + "value": "tree-city", + "keywords": [ + "tree", + "city" + ] + }, + { + "value": "triangle-exclamation", + "keywords": [ + "triangle", + "exclamation" + ] + }, + { + "value": "trophy" + }, + { + "value": "trowel" + }, + { + "value": "trowel-bricks", + "keywords": [ + "trowel", + "bricks" + ] + }, + { + "value": "truck" + }, + { + "value": "truck-arrow-right", + "keywords": [ + "truck", + "arrow", + "right" + ] + }, + { + "value": "truck-droplet", + "keywords": [ + "truck", + "droplet" + ] + }, + { + "value": "truck-fast", + "keywords": [ + "truck", + "fast" + ] + }, + { + "value": "truck-field", + "keywords": [ + "truck", + "field" + ] + }, + { + "value": "truck-field-un", + "keywords": [ + "truck", + "field", + "un" + ] + }, + { + "value": "truck-front", + "keywords": [ + "truck", + "front" + ] + }, + { + "value": "truck-medical", + "keywords": [ + "truck", + "medical" + ] + }, + { + "value": "truck-monster", + "keywords": [ + "truck", + "monster" + ] + }, + { + "value": "truck-moving", + "keywords": [ + "truck", + "moving" + ] + }, + { + "value": "truck-pickup", + "keywords": [ + "truck", + "pickup" + ] + }, + { + "value": "truck-plane", + "keywords": [ + "truck", + "plane" + ] + }, + { + "value": "truck-ramp-box", + "keywords": [ + "truck", + "ramp", + "box" + ] + }, + { + "value": "tty" + }, + { + "value": "turkish-lira-sign", + "keywords": [ + "turkish", + "lira", + "sign" + ] + }, + { + "value": "turn-down", + "keywords": [ + "turn", + "down" + ] + }, + { + "value": "turn-up", + "keywords": [ + "turn", + "up" + ] + }, + { + "value": "tv" + }, + { + "value": "u" + }, + { + "value": "umbrella" + }, + { + "value": "umbrella-beach", + "keywords": [ + "umbrella", + "beach" + ] + }, + { + "value": "underline" + }, + { + "value": "universal-access", + "keywords": [ + "universal", + "access" + ] + }, + { + "value": "unlock" + }, + { + "value": "unlock-keyhole", + "keywords": [ + "unlock", + "keyhole" + ] + }, + { + "value": "up-down", + "keywords": [ + "up", + "down" + ] + }, + { + "value": "up-down-left-right", + "keywords": [ + "up", + "down", + "left", + "right" + ] + }, + { + "value": "up-long", + "keywords": [ + "up", + "long" + ] + }, + { + "value": "up-right-and-down-left-from-center", + "keywords": [ + "up", + "right", + "and", + "down", + "left", + "from", + "center" + ] + }, + { + "value": "up-right-from-square", + "keywords": [ + "up", + "right", + "from", + "square" + ] + }, + { + "value": "upload" + }, + { + "value": "user" + }, + { + "value": "user-astronaut", + "keywords": [ + "user", + "astronaut" + ] + }, + { + "value": "user-check", + "keywords": [ + "user", + "check" + ] + }, + { + "value": "user-clock", + "keywords": [ + "user", + "clock" + ] + }, + { + "value": "user-doctor", + "keywords": [ + "user", + "doctor" + ] + }, + { + "value": "user-gear", + "keywords": [ + "user", + "gear" + ] + }, + { + "value": "user-graduate", + "keywords": [ + "user", + "graduate" + ] + }, + { + "value": "user-group", + "keywords": [ + "user", + "group" + ] + }, + { + "value": "user-injured", + "keywords": [ + "user", + "injured" + ] + }, + { + "value": "user-large", + "keywords": [ + "user", + "large" + ] + }, + { + "value": "user-large-slash", + "keywords": [ + "user", + "large", + "slash" + ] + }, + { + "value": "user-lock", + "keywords": [ + "user", + "lock" + ] + }, + { + "value": "user-minus", + "keywords": [ + "user", + "minus" + ] + }, + { + "value": "user-ninja", + "keywords": [ + "user", + "ninja" + ] + }, + { + "value": "user-nurse", + "keywords": [ + "user", + "nurse" + ] + }, + { + "value": "user-pen", + "keywords": [ + "user", + "pen" + ] + }, + { + "value": "user-plus", + "keywords": [ + "user", + "plus" + ] + }, + { + "value": "user-secret", + "keywords": [ + "user", + "secret" + ] + }, + { + "value": "user-shield", + "keywords": [ + "user", + "shield" + ] + }, + { + "value": "user-slash", + "keywords": [ + "user", + "slash" + ] + }, + { + "value": "user-tag", + "keywords": [ + "user", + "tag" + ] + }, + { + "value": "user-tie", + "keywords": [ + "user", + "tie" + ] + }, + { + "value": "user-xmark", + "keywords": [ + "user", + "xmark" + ] + }, + { + "value": "users" + }, + { + "value": "users-between-lines", + "keywords": [ + "users", + "between", + "lines" + ] + }, + { + "value": "users-gear", + "keywords": [ + "users", + "gear" + ] + }, + { + "value": "users-line", + "keywords": [ + "users", + "line" + ] + }, + { + "value": "users-rays", + "keywords": [ + "users", + "rays" + ] + }, + { + "value": "users-rectangle", + "keywords": [ + "users", + "rectangle" + ] + }, + { + "value": "users-slash", + "keywords": [ + "users", + "slash" + ] + }, + { + "value": "users-viewfinder", + "keywords": [ + "users", + "viewfinder" + ] + }, + { + "value": "utensils" + }, + { + "value": "v" + }, + { + "value": "van-shuttle", + "keywords": [ + "van", + "shuttle" + ] + }, + { + "value": "vault" + }, + { + "value": "vector-square", + "keywords": [ + "vector", + "square" + ] + }, + { + "value": "venus" + }, + { + "value": "venus-double", + "keywords": [ + "venus", + "double" + ] + }, + { + "value": "venus-mars", + "keywords": [ + "venus", + "mars" + ] + }, + { + "value": "vest" + }, + { + "value": "vest-patches", + "keywords": [ + "vest", + "patches" + ] + }, + { + "value": "vial" + }, + { + "value": "vial-circle-check", + "keywords": [ + "vial", + "circle", + "check" + ] + }, + { + "value": "vial-virus", + "keywords": [ + "vial", + "virus" + ] + }, + { + "value": "vials" + }, + { + "value": "video" + }, + { + "value": "video-slash", + "keywords": [ + "video", + "slash" + ] + }, + { + "value": "vihara" + }, + { + "value": "virus" + }, + { + "value": "virus-covid", + "keywords": [ + "virus", + "covid" + ] + }, + { + "value": "virus-covid-slash", + "keywords": [ + "virus", + "covid", + "slash" + ] + }, + { + "value": "virus-slash", + "keywords": [ + "virus", + "slash" + ] + }, + { + "value": "viruses" + }, + { + "value": "voicemail" + }, + { + "value": "volcano" + }, + { + "value": "volleyball" + }, + { + "value": "volume-high", + "keywords": [ + "volume", + "high" + ] + }, + { + "value": "volume-low", + "keywords": [ + "volume", + "low" + ] + }, + { + "value": "volume-off", + "keywords": [ + "volume", + "off" + ] + }, + { + "value": "volume-xmark", + "keywords": [ + "volume", + "xmark" + ] + }, + { + "value": "vr-cardboard", + "keywords": [ + "vr", + "cardboard" + ] + }, + { + "value": "w" + }, + { + "value": "walkie-talkie", + "keywords": [ + "walkie", + "talkie" + ] + }, + { + "value": "wallet" + }, + { + "value": "wand-magic", + "keywords": [ + "wand", + "magic" + ] + }, + { + "value": "wand-magic-sparkles", + "keywords": [ + "wand", + "magic", + "sparkles" + ] + }, + { + "value": "wand-sparkles", + "keywords": [ + "wand", + "sparkles" + ] + }, + { + "value": "warehouse" + }, + { + "value": "water" + }, + { + "value": "water-ladder", + "keywords": [ + "water", + "ladder" + ] + }, + { + "value": "wave-square", + "keywords": [ + "wave", + "square" + ] + }, + { + "value": "weight-hanging", + "keywords": [ + "weight", + "hanging" + ] + }, + { + "value": "weight-scale", + "keywords": [ + "weight", + "scale" + ] + }, + { + "value": "wheat-awn", + "keywords": [ + "wheat", + "awn" + ] + }, + { + "value": "wheat-awn-circle-exclamation", + "keywords": [ + "wheat", + "awn", + "circle", + "exclamation" + ] + }, + { + "value": "wheelchair" + }, + { + "value": "wheelchair-move", + "keywords": [ + "wheelchair", + "move" + ] + }, + { + "value": "whiskey-glass", + "keywords": [ + "whiskey", + "glass" + ] + }, + { + "value": "wifi" + }, + { + "value": "wind" + }, + { + "value": "window-maximize", + "keywords": [ + "window", + "maximize" + ] + }, + { + "value": "window-minimize", + "keywords": [ + "window", + "minimize" + ] + }, + { + "value": "window-restore", + "keywords": [ + "window", + "restore" + ] + }, + { + "value": "wine-bottle", + "keywords": [ + "wine", + "bottle" + ] + }, + { + "value": "wine-glass", + "keywords": [ + "wine", + "glass" + ] + }, + { + "value": "wine-glass-empty", + "keywords": [ + "wine", + "glass", + "empty" + ] + }, + { + "value": "won-sign", + "keywords": [ + "won", + "sign" + ] + }, + { + "value": "worm" + }, + { + "value": "wrench" + }, + { + "value": "x" + }, + { + "value": "x-ray" + }, + { + "value": "xmark" + }, + { + "value": "xmarks-lines", + "keywords": [ + "xmarks", + "lines" + ] + }, + { + "value": "y" + }, + { + "value": "yen-sign", + "keywords": [ + "yen", + "sign" + ] + }, + { + "value": "yin-yang", + "keywords": [ + "yin", + "yang" + ] + }, + { + "value": "z" + } + ] + }, + "scTrend": { + "label": "$t:editor.control.sc_trend.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "trend" + }, + "options": [ + { + "value": "up", + "label": "$t:editor.control.sc_trend.up" + }, + { + "value": "down", + "label": "$t:editor.control.sc_trend.down" + }, + { + "value": "neutral", + "label": "$t:editor.control.sc_trend.neutral" + } + ] + }, + "pcImageUrl": { + "label": "$t:editor.control.pc_image_url.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "imageUrl" + } + }, + "pcImageAlt": { + "label": "$t:editor.control.pc_image_alt.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "imageAlt" + } + }, + "pcTitle": { + "label": "$t:editor.control.pc_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "title" + } + }, + "pcSubtitle": { + "label": "$t:editor.control.pc_subtitle.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "subtitle" + } + }, + "pcDesc": { + "label": "$t:editor.control.pc_desc.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "description" + } + }, + "pcPrice": { + "label": "$t:editor.control.pc_price.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "price" + } + }, + "pcOrigPrice": { + "label": "$t:editor.control.pc_orig_price.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "originalPrice" + } + }, + "pcDiscount": { + "label": "$t:editor.control.pc_discount.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "discountRate" + } + }, + "pcCurrency": { + "label": "$t:editor.control.pc_currency.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "currency" + } + }, + "pcButtonText": { + "label": "$t:editor.control.pc_button_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "buttonText" + } + }, + "tcImage": { + "label": "$t:editor.control.tc_image.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "image" + } + }, + "tcImageAlt": { + "label": "$t:editor.control.tc_image_alt.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "imageAlt" + } + }, + "tcVendor": { + "label": "$t:editor.control.tc_vendor.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "vendor" + } + }, + "tcName": { + "label": "$t:editor.control.tc_name.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "name" + } + }, + "tcVersion": { + "label": "$t:editor.control.tc_version.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "version" + } + }, + "tcStatus": { + "label": "$t:editor.control.tc_status.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "status" + }, + "options": [ + { + "value": "active", + "label": "$t:editor.control.tc_status.active" + }, + { + "value": "inactive", + "label": "$t:editor.control.tc_status.inactive" + }, + { + "value": "pending", + "label": "$t:editor.control.tc_status.pending" + }, + { + "value": "error", + "label": "$t:editor.control.tc_status.error" + } + ] + }, + "tcUpdateAvail": { + "label": "$t:editor.control.tc_update_avail.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "updateAvailable" + } + }, + "tcLatestVersion": { + "label": "$t:editor.control.tc_latest_version.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "latestVersion" + } + }, + "tcShowLayoutBtn": { + "label": "$t:editor.control.tc_show_layout_btn.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showLayoutEditButton" + } + }, + "bcHeight": { + "label": "$t:editor.control.bc_height.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "height" + } + }, + "bcShowLegend": { + "label": "$t:editor.control.bc_show_legend.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showLegend" + } + }, + "bcShowGrid": { + "label": "$t:editor.control.bc_show_grid.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showGrid" + } + }, + "bcShowYGrid": { + "label": "$t:editor.control.bc_show_ygrid.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showYGrid" + } + }, + "bcShowYAxis": { + "label": "$t:editor.control.bc_show_yaxis.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showYAxis" + } + }, + "dcCenterLabel": { + "label": "$t:editor.control.dc_center_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "centerLabel" + } + }, + "dcCenterValue": { + "label": "$t:editor.control.dc_center_value.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "centerValue" + } + }, + "dcSize": { + "label": "$t:editor.control.dc_size.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "size" + } + }, + "dcCutout": { + "label": "$t:editor.control.dc_cutout.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "cutout" + } + }, + "dcShowLegend": { + "label": "$t:editor.control.dc_show_legend.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showLegend" + } + }, + "hcIsHtml": { + "label": "$t:editor.control.hc_is_html.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "isHtml" + } + }, + "heMultilingual": { + "label": "$t:editor.control.he_multilingual.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "multilingual" + } + }, + "heIsHtml": { + "label": "$t:editor.control.he_is_html.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "isHtml" + } + }, + "heRows": { + "label": "$t:editor.control.he_rows.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "rows" + } + }, + "hePlaceholder": { + "label": "$t:editor.control.he_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "heLabel": { + "label": "$t:editor.control.he_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "heShowHtmlToggle": { + "label": "$t:editor.control.he_show_html_toggle.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showHtmlModeToggle" + } + }, + "heName": { + "label": "$t:editor.control.he_name.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "name" + } + }, + "heHtmlFieldName": { + "label": "$t:editor.control.he_html_field_name.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "htmlFieldName" + } + }, + "heReadOnly": { + "label": "$t:editor.control.he_read_only.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "readOnly" + } + }, + "igEnableZoom": { + "label": "$t:editor.control.ig_enable_zoom.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "enableZoom" + } + }, + "igEnableSlideshow": { + "label": "$t:editor.control.ig_enable_slideshow.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "enableSlideshow" + } + }, + "igEnableFullscreen": { + "label": "$t:editor.control.ig_enable_fullscreen.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "enableFullscreen" + } + }, + "igShowCounter": { + "label": "$t:editor.control.ig_show_counter.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showCounter" + } + }, + "igShowDownload": { + "label": "$t:editor.control.ig_show_download.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showDownload" + } + }, + "igShowThumbnails": { + "label": "$t:editor.control.ig_show_thumbnails.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showThumbnails" + } + }, + "accDefaultOpen": { + "label": "$t:editor.control.acc_default_open.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "defaultOpen" + } + }, + "accDisabled": { + "label": "$t:editor.control.acc_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "ibIconName": { + "label": "$t:editor.control.ib_icon_name.label", + "widget": "icon-picker", + "apply": { + "type": "propValue", + "propKey": "iconName" + }, + "iconColumns": 8, + "icons": [ + { + "value": "0" + }, + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + }, + { + "value": "4" + }, + { + "value": "5" + }, + { + "value": "6" + }, + { + "value": "7" + }, + { + "value": "8" + }, + { + "value": "9" + }, + { + "value": "a" + }, + { + "value": "address-book", + "keywords": [ + "address", + "book" + ] + }, + { + "value": "address-card", + "keywords": [ + "address", + "card" + ] + }, + { + "value": "align-center", + "keywords": [ + "align", + "center" + ] + }, + { + "value": "align-justify", + "keywords": [ + "align", + "justify" + ] + }, + { + "value": "align-left", + "keywords": [ + "align", + "left" + ] + }, + { + "value": "align-right", + "keywords": [ + "align", + "right" + ] + }, + { + "value": "anchor" + }, + { + "value": "anchor-circle-check", + "keywords": [ + "anchor", + "circle", + "check" + ] + }, + { + "value": "anchor-circle-exclamation", + "keywords": [ + "anchor", + "circle", + "exclamation" + ] + }, + { + "value": "anchor-circle-xmark", + "keywords": [ + "anchor", + "circle", + "xmark" + ] + }, + { + "value": "anchor-lock", + "keywords": [ + "anchor", + "lock" + ] + }, + { + "value": "angle-down", + "keywords": [ + "angle", + "down" + ] + }, + { + "value": "angle-left", + "keywords": [ + "angle", + "left" + ] + }, + { + "value": "angle-right", + "keywords": [ + "angle", + "right" + ] + }, + { + "value": "angle-up", + "keywords": [ + "angle", + "up" + ] + }, + { + "value": "angles-down", + "keywords": [ + "angles", + "down" + ] + }, + { + "value": "angles-left", + "keywords": [ + "angles", + "left" + ] + }, + { + "value": "angles-right", + "keywords": [ + "angles", + "right" + ] + }, + { + "value": "angles-up", + "keywords": [ + "angles", + "up" + ] + }, + { + "value": "ankh" + }, + { + "value": "apple-whole", + "keywords": [ + "apple", + "whole" + ] + }, + { + "value": "archway" + }, + { + "value": "arrow-down", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-1-9", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-9-1", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-a-z", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-long", + "keywords": [ + "arrow", + "down", + "long" + ] + }, + { + "value": "arrow-down-short-wide", + "keywords": [ + "arrow", + "down", + "short", + "wide" + ] + }, + { + "value": "arrow-down-up-across-line", + "keywords": [ + "arrow", + "down", + "up", + "across", + "line" + ] + }, + { + "value": "arrow-down-up-lock", + "keywords": [ + "arrow", + "down", + "up", + "lock" + ] + }, + { + "value": "arrow-down-wide-short", + "keywords": [ + "arrow", + "down", + "wide", + "short" + ] + }, + { + "value": "arrow-down-z-a", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-left", + "keywords": [ + "arrow", + "left" + ] + }, + { + "value": "arrow-left-long", + "keywords": [ + "arrow", + "left", + "long" + ] + }, + { + "value": "arrow-pointer", + "keywords": [ + "arrow", + "pointer" + ] + }, + { + "value": "arrow-right", + "keywords": [ + "arrow", + "right" + ] + }, + { + "value": "arrow-right-arrow-left", + "keywords": [ + "arrow", + "right", + "arrow", + "left" + ] + }, + { + "value": "arrow-right-from-bracket", + "keywords": [ + "arrow", + "right", + "from", + "bracket" + ] + }, + { + "value": "arrow-right-long", + "keywords": [ + "arrow", + "right", + "long" + ] + }, + { + "value": "arrow-right-to-bracket", + "keywords": [ + "arrow", + "right", + "to", + "bracket" + ] + }, + { + "value": "arrow-right-to-city", + "keywords": [ + "arrow", + "right", + "to", + "city" + ] + }, + { + "value": "arrow-rotate-left", + "keywords": [ + "arrow", + "rotate", + "left" + ] + }, + { + "value": "arrow-rotate-right", + "keywords": [ + "arrow", + "rotate", + "right" + ] + }, + { + "value": "arrow-trend-down", + "keywords": [ + "arrow", + "trend", + "down" + ] + }, + { + "value": "arrow-trend-up", + "keywords": [ + "arrow", + "trend", + "up" + ] + }, + { + "value": "arrow-turn-down", + "keywords": [ + "arrow", + "turn", + "down" + ] + }, + { + "value": "arrow-turn-up", + "keywords": [ + "arrow", + "turn", + "up" + ] + }, + { + "value": "arrow-up", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-1-9", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-9-1", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-a-z", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-from-bracket", + "keywords": [ + "arrow", + "up", + "from", + "bracket" + ] + }, + { + "value": "arrow-up-from-ground-water", + "keywords": [ + "arrow", + "up", + "from", + "ground", + "water" + ] + }, + { + "value": "arrow-up-from-water-pump", + "keywords": [ + "arrow", + "up", + "from", + "water", + "pump" + ] + }, + { + "value": "arrow-up-long", + "keywords": [ + "arrow", + "up", + "long" + ] + }, + { + "value": "arrow-up-right-dots", + "keywords": [ + "arrow", + "up", + "right", + "dots" + ] + }, + { + "value": "arrow-up-right-from-square", + "keywords": [ + "arrow", + "up", + "right", + "from", + "square" + ] + }, + { + "value": "arrow-up-short-wide", + "keywords": [ + "arrow", + "up", + "short", + "wide" + ] + }, + { + "value": "arrow-up-wide-short", + "keywords": [ + "arrow", + "up", + "wide", + "short" + ] + }, + { + "value": "arrow-up-z-a", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrows-down-to-line", + "keywords": [ + "arrows", + "down", + "to", + "line" + ] + }, + { + "value": "arrows-down-to-people", + "keywords": [ + "arrows", + "down", + "to", + "people" + ] + }, + { + "value": "arrows-left-right", + "keywords": [ + "arrows", + "left", + "right" + ] + }, + { + "value": "arrows-left-right-to-line", + "keywords": [ + "arrows", + "left", + "right", + "to", + "line" + ] + }, + { + "value": "arrows-rotate", + "keywords": [ + "arrows", + "rotate" + ] + }, + { + "value": "arrows-spin", + "keywords": [ + "arrows", + "spin" + ] + }, + { + "value": "arrows-split-up-and-left", + "keywords": [ + "arrows", + "split", + "up", + "and", + "left" + ] + }, + { + "value": "arrows-to-circle", + "keywords": [ + "arrows", + "to", + "circle" + ] + }, + { + "value": "arrows-to-dot", + "keywords": [ + "arrows", + "to", + "dot" + ] + }, + { + "value": "arrows-to-eye", + "keywords": [ + "arrows", + "to", + "eye" + ] + }, + { + "value": "arrows-turn-right", + "keywords": [ + "arrows", + "turn", + "right" + ] + }, + { + "value": "arrows-turn-to-dots", + "keywords": [ + "arrows", + "turn", + "to", + "dots" + ] + }, + { + "value": "arrows-up-down", + "keywords": [ + "arrows", + "up", + "down" + ] + }, + { + "value": "arrows-up-down-left-right", + "keywords": [ + "arrows", + "up", + "down", + "left", + "right" + ] + }, + { + "value": "arrows-up-to-line", + "keywords": [ + "arrows", + "up", + "to", + "line" + ] + }, + { + "value": "asterisk" + }, + { + "value": "at" + }, + { + "value": "atom" + }, + { + "value": "audio-description", + "keywords": [ + "audio", + "description" + ] + }, + { + "value": "austral-sign", + "keywords": [ + "austral", + "sign" + ] + }, + { + "value": "award" + }, + { + "value": "b" + }, + { + "value": "baby" + }, + { + "value": "baby-carriage", + "keywords": [ + "baby", + "carriage" + ] + }, + { + "value": "backward" + }, + { + "value": "backward-fast", + "keywords": [ + "backward", + "fast" + ] + }, + { + "value": "backward-step", + "keywords": [ + "backward", + "step" + ] + }, + { + "value": "bacon" + }, + { + "value": "bacteria" + }, + { + "value": "bacterium" + }, + { + "value": "bag-shopping", + "keywords": [ + "bag", + "shopping" + ] + }, + { + "value": "bahai" + }, + { + "value": "baht-sign", + "keywords": [ + "baht", + "sign" + ] + }, + { + "value": "ban" + }, + { + "value": "ban-smoking", + "keywords": [ + "ban", + "smoking" + ] + }, + { + "value": "bandage" + }, + { + "value": "bangladeshi-taka-sign", + "keywords": [ + "bangladeshi", + "taka", + "sign" + ] + }, + { + "value": "barcode" + }, + { + "value": "bars" + }, + { + "value": "bars-progress", + "keywords": [ + "bars", + "progress" + ] + }, + { + "value": "bars-staggered", + "keywords": [ + "bars", + "staggered" + ] + }, + { + "value": "baseball" + }, + { + "value": "baseball-bat-ball", + "keywords": [ + "baseball", + "bat", + "ball" + ] + }, + { + "value": "basket-shopping", + "keywords": [ + "basket", + "shopping" + ] + }, + { + "value": "basketball" + }, + { + "value": "bath" + }, + { + "value": "battery-empty", + "keywords": [ + "battery", + "empty" + ] + }, + { + "value": "battery-full", + "keywords": [ + "battery", + "full" + ] + }, + { + "value": "battery-half", + "keywords": [ + "battery", + "half" + ] + }, + { + "value": "battery-quarter", + "keywords": [ + "battery", + "quarter" + ] + }, + { + "value": "battery-three-quarters", + "keywords": [ + "battery", + "three", + "quarters" + ] + }, + { + "value": "bed" + }, + { + "value": "bed-pulse", + "keywords": [ + "bed", + "pulse" + ] + }, + { + "value": "beer-mug-empty", + "keywords": [ + "beer", + "mug", + "empty" + ] + }, + { + "value": "bell" + }, + { + "value": "bell-concierge", + "keywords": [ + "bell", + "concierge" + ] + }, + { + "value": "bell-slash", + "keywords": [ + "bell", + "slash" + ] + }, + { + "value": "bezier-curve", + "keywords": [ + "bezier", + "curve" + ] + }, + { + "value": "bicycle" + }, + { + "value": "binoculars" + }, + { + "value": "biohazard" + }, + { + "value": "bitcoin-sign", + "keywords": [ + "bitcoin", + "sign" + ] + }, + { + "value": "blender" + }, + { + "value": "blender-phone", + "keywords": [ + "blender", + "phone" + ] + }, + { + "value": "blog" + }, + { + "value": "bold" + }, + { + "value": "bolt" + }, + { + "value": "bolt-lightning", + "keywords": [ + "bolt", + "lightning" + ] + }, + { + "value": "bomb" + }, + { + "value": "bone" + }, + { + "value": "bong" + }, + { + "value": "book" + }, + { + "value": "book-atlas", + "keywords": [ + "book", + "atlas" + ] + }, + { + "value": "book-bible", + "keywords": [ + "book", + "bible" + ] + }, + { + "value": "book-bookmark", + "keywords": [ + "book", + "bookmark" + ] + }, + { + "value": "book-journal-whills", + "keywords": [ + "book", + "journal", + "whills" + ] + }, + { + "value": "book-medical", + "keywords": [ + "book", + "medical" + ] + }, + { + "value": "book-open", + "keywords": [ + "book", + "open" + ] + }, + { + "value": "book-open-reader", + "keywords": [ + "book", + "open", + "reader" + ] + }, + { + "value": "book-quran", + "keywords": [ + "book", + "quran" + ] + }, + { + "value": "book-skull", + "keywords": [ + "book", + "skull" + ] + }, + { + "value": "book-tanakh", + "keywords": [ + "book", + "tanakh" + ] + }, + { + "value": "bookmark" + }, + { + "value": "border-all", + "keywords": [ + "border", + "all" + ] + }, + { + "value": "border-none", + "keywords": [ + "border", + "none" + ] + }, + { + "value": "border-top-left", + "keywords": [ + "border", + "top", + "left" + ] + }, + { + "value": "bore-hole", + "keywords": [ + "bore", + "hole" + ] + }, + { + "value": "bottle-droplet", + "keywords": [ + "bottle", + "droplet" + ] + }, + { + "value": "bottle-water", + "keywords": [ + "bottle", + "water" + ] + }, + { + "value": "bowl-food", + "keywords": [ + "bowl", + "food" + ] + }, + { + "value": "bowl-rice", + "keywords": [ + "bowl", + "rice" + ] + }, + { + "value": "bowling-ball", + "keywords": [ + "bowling", + "ball" + ] + }, + { + "value": "box" + }, + { + "value": "box-archive", + "keywords": [ + "box", + "archive" + ] + }, + { + "value": "box-open", + "keywords": [ + "box", + "open" + ] + }, + { + "value": "box-tissue", + "keywords": [ + "box", + "tissue" + ] + }, + { + "value": "boxes-packing", + "keywords": [ + "boxes", + "packing" + ] + }, + { + "value": "boxes-stacked", + "keywords": [ + "boxes", + "stacked" + ] + }, + { + "value": "braille" + }, + { + "value": "brain" + }, + { + "value": "brazilian-real-sign", + "keywords": [ + "brazilian", + "real", + "sign" + ] + }, + { + "value": "bread-slice", + "keywords": [ + "bread", + "slice" + ] + }, + { + "value": "bridge" + }, + { + "value": "bridge-circle-check", + "keywords": [ + "bridge", + "circle", + "check" + ] + }, + { + "value": "bridge-circle-exclamation", + "keywords": [ + "bridge", + "circle", + "exclamation" + ] + }, + { + "value": "bridge-circle-xmark", + "keywords": [ + "bridge", + "circle", + "xmark" + ] + }, + { + "value": "bridge-lock", + "keywords": [ + "bridge", + "lock" + ] + }, + { + "value": "bridge-water", + "keywords": [ + "bridge", + "water" + ] + }, + { + "value": "briefcase" + }, + { + "value": "briefcase-medical", + "keywords": [ + "briefcase", + "medical" + ] + }, + { + "value": "broom" + }, + { + "value": "broom-ball", + "keywords": [ + "broom", + "ball" + ] + }, + { + "value": "brush" + }, + { + "value": "bucket" + }, + { + "value": "bug" + }, + { + "value": "bug-slash", + "keywords": [ + "bug", + "slash" + ] + }, + { + "value": "bugs" + }, + { + "value": "building" + }, + { + "value": "building-circle-arrow-right", + "keywords": [ + "building", + "circle", + "arrow", + "right" + ] + }, + { + "value": "building-circle-check", + "keywords": [ + "building", + "circle", + "check" + ] + }, + { + "value": "building-circle-exclamation", + "keywords": [ + "building", + "circle", + "exclamation" + ] + }, + { + "value": "building-circle-xmark", + "keywords": [ + "building", + "circle", + "xmark" + ] + }, + { + "value": "building-columns", + "keywords": [ + "building", + "columns" + ] + }, + { + "value": "building-flag", + "keywords": [ + "building", + "flag" + ] + }, + { + "value": "building-lock", + "keywords": [ + "building", + "lock" + ] + }, + { + "value": "building-ngo", + "keywords": [ + "building", + "ngo" + ] + }, + { + "value": "building-shield", + "keywords": [ + "building", + "shield" + ] + }, + { + "value": "building-un", + "keywords": [ + "building", + "un" + ] + }, + { + "value": "building-user", + "keywords": [ + "building", + "user" + ] + }, + { + "value": "building-wheat", + "keywords": [ + "building", + "wheat" + ] + }, + { + "value": "bullhorn" + }, + { + "value": "bullseye" + }, + { + "value": "burger" + }, + { + "value": "burst" + }, + { + "value": "bus" + }, + { + "value": "bus-simple", + "keywords": [ + "bus", + "simple" + ] + }, + { + "value": "business-time", + "keywords": [ + "business", + "time" + ] + }, + { + "value": "c" + }, + { + "value": "cable-car", + "keywords": [ + "cable", + "car" + ] + }, + { + "value": "cake-candles", + "keywords": [ + "cake", + "candles" + ] + }, + { + "value": "calculator" + }, + { + "value": "calendar" + }, + { + "value": "calendar-check", + "keywords": [ + "calendar", + "check" + ] + }, + { + "value": "calendar-day", + "keywords": [ + "calendar", + "day" + ] + }, + { + "value": "calendar-days", + "keywords": [ + "calendar", + "days" + ] + }, + { + "value": "calendar-minus", + "keywords": [ + "calendar", + "minus" + ] + }, + { + "value": "calendar-plus", + "keywords": [ + "calendar", + "plus" + ] + }, + { + "value": "calendar-week", + "keywords": [ + "calendar", + "week" + ] + }, + { + "value": "calendar-xmark", + "keywords": [ + "calendar", + "xmark" + ] + }, + { + "value": "camera" + }, + { + "value": "camera-retro", + "keywords": [ + "camera", + "retro" + ] + }, + { + "value": "camera-rotate", + "keywords": [ + "camera", + "rotate" + ] + }, + { + "value": "campground" + }, + { + "value": "candy-cane", + "keywords": [ + "candy", + "cane" + ] + }, + { + "value": "cannabis" + }, + { + "value": "capsules" + }, + { + "value": "car" + }, + { + "value": "car-battery", + "keywords": [ + "car", + "battery" + ] + }, + { + "value": "car-burst", + "keywords": [ + "car", + "burst" + ] + }, + { + "value": "car-on", + "keywords": [ + "car", + "on" + ] + }, + { + "value": "car-rear", + "keywords": [ + "car", + "rear" + ] + }, + { + "value": "car-side", + "keywords": [ + "car", + "side" + ] + }, + { + "value": "car-tunnel", + "keywords": [ + "car", + "tunnel" + ] + }, + { + "value": "caravan" + }, + { + "value": "caret-down", + "keywords": [ + "caret", + "down" + ] + }, + { + "value": "caret-left", + "keywords": [ + "caret", + "left" + ] + }, + { + "value": "caret-right", + "keywords": [ + "caret", + "right" + ] + }, + { + "value": "caret-up", + "keywords": [ + "caret", + "up" + ] + }, + { + "value": "carrot" + }, + { + "value": "cart-arrow-down", + "keywords": [ + "cart", + "arrow", + "down" + ] + }, + { + "value": "cart-flatbed", + "keywords": [ + "cart", + "flatbed" + ] + }, + { + "value": "cart-flatbed-suitcase", + "keywords": [ + "cart", + "flatbed", + "suitcase" + ] + }, + { + "value": "cart-plus", + "keywords": [ + "cart", + "plus" + ] + }, + { + "value": "cart-shopping", + "keywords": [ + "cart", + "shopping" + ] + }, + { + "value": "cash-register", + "keywords": [ + "cash", + "register" + ] + }, + { + "value": "cat" + }, + { + "value": "cedi-sign", + "keywords": [ + "cedi", + "sign" + ] + }, + { + "value": "cent-sign", + "keywords": [ + "cent", + "sign" + ] + }, + { + "value": "certificate" + }, + { + "value": "chair" + }, + { + "value": "chalkboard" + }, + { + "value": "chalkboard-user", + "keywords": [ + "chalkboard", + "user" + ] + }, + { + "value": "champagne-glasses", + "keywords": [ + "champagne", + "glasses" + ] + }, + { + "value": "charging-station", + "keywords": [ + "charging", + "station" + ] + }, + { + "value": "chart-area", + "keywords": [ + "chart", + "area" + ] + }, + { + "value": "chart-bar", + "keywords": [ + "chart", + "bar" + ] + }, + { + "value": "chart-column", + "keywords": [ + "chart", + "column" + ] + }, + { + "value": "chart-gantt", + "keywords": [ + "chart", + "gantt" + ] + }, + { + "value": "chart-line", + "keywords": [ + "chart", + "line" + ] + }, + { + "value": "chart-pie", + "keywords": [ + "chart", + "pie" + ] + }, + { + "value": "chart-simple", + "keywords": [ + "chart", + "simple" + ] + }, + { + "value": "check" + }, + { + "value": "check-double", + "keywords": [ + "check", + "double" + ] + }, + { + "value": "check-to-slot", + "keywords": [ + "check", + "to", + "slot" + ] + }, + { + "value": "cheese" + }, + { + "value": "chess" + }, + { + "value": "chess-bishop", + "keywords": [ + "chess", + "bishop" + ] + }, + { + "value": "chess-board", + "keywords": [ + "chess", + "board" + ] + }, + { + "value": "chess-king", + "keywords": [ + "chess", + "king" + ] + }, + { + "value": "chess-knight", + "keywords": [ + "chess", + "knight" + ] + }, + { + "value": "chess-pawn", + "keywords": [ + "chess", + "pawn" + ] + }, + { + "value": "chess-queen", + "keywords": [ + "chess", + "queen" + ] + }, + { + "value": "chess-rook", + "keywords": [ + "chess", + "rook" + ] + }, + { + "value": "chevron-down", + "keywords": [ + "chevron", + "down" + ] + }, + { + "value": "chevron-left", + "keywords": [ + "chevron", + "left" + ] + }, + { + "value": "chevron-right", + "keywords": [ + "chevron", + "right" + ] + }, + { + "value": "chevron-up", + "keywords": [ + "chevron", + "up" + ] + }, + { + "value": "child" + }, + { + "value": "child-combatant", + "keywords": [ + "child", + "combatant" + ] + }, + { + "value": "child-dress", + "keywords": [ + "child", + "dress" + ] + }, + { + "value": "child-reaching", + "keywords": [ + "child", + "reaching" + ] + }, + { + "value": "children" + }, + { + "value": "church" + }, + { + "value": "circle" + }, + { + "value": "circle-arrow-down", + "keywords": [ + "circle", + "arrow", + "down" + ] + }, + { + "value": "circle-arrow-left", + "keywords": [ + "circle", + "arrow", + "left" + ] + }, + { + "value": "circle-arrow-right", + "keywords": [ + "circle", + "arrow", + "right" + ] + }, + { + "value": "circle-arrow-up", + "keywords": [ + "circle", + "arrow", + "up" + ] + }, + { + "value": "circle-check", + "keywords": [ + "circle", + "check" + ] + }, + { + "value": "circle-chevron-down", + "keywords": [ + "circle", + "chevron", + "down" + ] + }, + { + "value": "circle-chevron-left", + "keywords": [ + "circle", + "chevron", + "left" + ] + }, + { + "value": "circle-chevron-right", + "keywords": [ + "circle", + "chevron", + "right" + ] + }, + { + "value": "circle-chevron-up", + "keywords": [ + "circle", + "chevron", + "up" + ] + }, + { + "value": "circle-dollar-to-slot", + "keywords": [ + "circle", + "dollar", + "to", + "slot" + ] + }, + { + "value": "circle-dot", + "keywords": [ + "circle", + "dot" + ] + }, + { + "value": "circle-down", + "keywords": [ + "circle", + "down" + ] + }, + { + "value": "circle-exclamation", + "keywords": [ + "circle", + "exclamation" + ] + }, + { + "value": "circle-h" + }, + { + "value": "circle-half-stroke", + "keywords": [ + "circle", + "half", + "stroke" + ] + }, + { + "value": "circle-info", + "keywords": [ + "circle", + "info" + ] + }, + { + "value": "circle-left", + "keywords": [ + "circle", + "left" + ] + }, + { + "value": "circle-minus", + "keywords": [ + "circle", + "minus" + ] + }, + { + "value": "circle-nodes", + "keywords": [ + "circle", + "nodes" + ] + }, + { + "value": "circle-notch", + "keywords": [ + "circle", + "notch" + ] + }, + { + "value": "circle-pause", + "keywords": [ + "circle", + "pause" + ] + }, + { + "value": "circle-play", + "keywords": [ + "circle", + "play" + ] + }, + { + "value": "circle-plus", + "keywords": [ + "circle", + "plus" + ] + }, + { + "value": "circle-question", + "keywords": [ + "circle", + "question" + ] + }, + { + "value": "circle-radiation", + "keywords": [ + "circle", + "radiation" + ] + }, + { + "value": "circle-right", + "keywords": [ + "circle", + "right" + ] + }, + { + "value": "circle-stop", + "keywords": [ + "circle", + "stop" + ] + }, + { + "value": "circle-up", + "keywords": [ + "circle", + "up" + ] + }, + { + "value": "circle-user", + "keywords": [ + "circle", + "user" + ] + }, + { + "value": "circle-xmark", + "keywords": [ + "circle", + "xmark" + ] + }, + { + "value": "city" + }, + { + "value": "clapperboard" + }, + { + "value": "clipboard" + }, + { + "value": "clipboard-check", + "keywords": [ + "clipboard", + "check" + ] + }, + { + "value": "clipboard-list", + "keywords": [ + "clipboard", + "list" + ] + }, + { + "value": "clipboard-question", + "keywords": [ + "clipboard", + "question" + ] + }, + { + "value": "clipboard-user", + "keywords": [ + "clipboard", + "user" + ] + }, + { + "value": "clock" + }, + { + "value": "clock-rotate-left", + "keywords": [ + "clock", + "rotate", + "left" + ] + }, + { + "value": "clone" + }, + { + "value": "closed-captioning", + "keywords": [ + "closed", + "captioning" + ] + }, + { + "value": "cloud" + }, + { + "value": "cloud-arrow-down", + "keywords": [ + "cloud", + "arrow", + "down" + ] + }, + { + "value": "cloud-arrow-up", + "keywords": [ + "cloud", + "arrow", + "up" + ] + }, + { + "value": "cloud-bolt", + "keywords": [ + "cloud", + "bolt" + ] + }, + { + "value": "cloud-meatball", + "keywords": [ + "cloud", + "meatball" + ] + }, + { + "value": "cloud-moon", + "keywords": [ + "cloud", + "moon" + ] + }, + { + "value": "cloud-moon-rain", + "keywords": [ + "cloud", + "moon", + "rain" + ] + }, + { + "value": "cloud-rain", + "keywords": [ + "cloud", + "rain" + ] + }, + { + "value": "cloud-showers-heavy", + "keywords": [ + "cloud", + "showers", + "heavy" + ] + }, + { + "value": "cloud-showers-water", + "keywords": [ + "cloud", + "showers", + "water" + ] + }, + { + "value": "cloud-sun", + "keywords": [ + "cloud", + "sun" + ] + }, + { + "value": "cloud-sun-rain", + "keywords": [ + "cloud", + "sun", + "rain" + ] + }, + { + "value": "clover" + }, + { + "value": "code" + }, + { + "value": "code-branch", + "keywords": [ + "code", + "branch" + ] + }, + { + "value": "code-commit", + "keywords": [ + "code", + "commit" + ] + }, + { + "value": "code-compare", + "keywords": [ + "code", + "compare" + ] + }, + { + "value": "code-fork", + "keywords": [ + "code", + "fork" + ] + }, + { + "value": "code-merge", + "keywords": [ + "code", + "merge" + ] + }, + { + "value": "code-pull-request", + "keywords": [ + "code", + "pull", + "request" + ] + }, + { + "value": "coins" + }, + { + "value": "colon-sign", + "keywords": [ + "colon", + "sign" + ] + }, + { + "value": "comment" + }, + { + "value": "comment-dollar", + "keywords": [ + "comment", + "dollar" + ] + }, + { + "value": "comment-dots", + "keywords": [ + "comment", + "dots" + ] + }, + { + "value": "comment-medical", + "keywords": [ + "comment", + "medical" + ] + }, + { + "value": "comment-slash", + "keywords": [ + "comment", + "slash" + ] + }, + { + "value": "comment-sms", + "keywords": [ + "comment", + "sms" + ] + }, + { + "value": "comments" + }, + { + "value": "comments-dollar", + "keywords": [ + "comments", + "dollar" + ] + }, + { + "value": "compact-disc", + "keywords": [ + "compact", + "disc" + ] + }, + { + "value": "compass" + }, + { + "value": "compass-drafting", + "keywords": [ + "compass", + "drafting" + ] + }, + { + "value": "compress" + }, + { + "value": "computer" + }, + { + "value": "computer-mouse", + "keywords": [ + "computer", + "mouse" + ] + }, + { + "value": "cookie" + }, + { + "value": "cookie-bite", + "keywords": [ + "cookie", + "bite" + ] + }, + { + "value": "copy" + }, + { + "value": "copyright" + }, + { + "value": "couch" + }, + { + "value": "cow" + }, + { + "value": "credit-card", + "keywords": [ + "credit", + "card" + ] + }, + { + "value": "crop" + }, + { + "value": "crop-simple", + "keywords": [ + "crop", + "simple" + ] + }, + { + "value": "cross" + }, + { + "value": "crosshairs" + }, + { + "value": "crow" + }, + { + "value": "crown" + }, + { + "value": "crutch" + }, + { + "value": "cruzeiro-sign", + "keywords": [ + "cruzeiro", + "sign" + ] + }, + { + "value": "cube" + }, + { + "value": "cubes" + }, + { + "value": "cubes-stacked", + "keywords": [ + "cubes", + "stacked" + ] + }, + { + "value": "d" + }, + { + "value": "database" + }, + { + "value": "delete-left", + "keywords": [ + "delete", + "left" + ] + }, + { + "value": "democrat" + }, + { + "value": "desktop" + }, + { + "value": "dharmachakra" + }, + { + "value": "diagram-next", + "keywords": [ + "diagram", + "next" + ] + }, + { + "value": "diagram-predecessor", + "keywords": [ + "diagram", + "predecessor" + ] + }, + { + "value": "diagram-project", + "keywords": [ + "diagram", + "project" + ] + }, + { + "value": "diagram-successor", + "keywords": [ + "diagram", + "successor" + ] + }, + { + "value": "diamond" + }, + { + "value": "diamond-turn-right", + "keywords": [ + "diamond", + "turn", + "right" + ] + }, + { + "value": "dice" + }, + { + "value": "dice-d20", + "keywords": [ + "dice", + "d20" + ] + }, + { + "value": "dice-d6", + "keywords": [ + "dice", + "d6" + ] + }, + { + "value": "dice-five", + "keywords": [ + "dice", + "five" + ] + }, + { + "value": "dice-four", + "keywords": [ + "dice", + "four" + ] + }, + { + "value": "dice-one", + "keywords": [ + "dice", + "one" + ] + }, + { + "value": "dice-six", + "keywords": [ + "dice", + "six" + ] + }, + { + "value": "dice-three", + "keywords": [ + "dice", + "three" + ] + }, + { + "value": "dice-two", + "keywords": [ + "dice", + "two" + ] + }, + { + "value": "disease" + }, + { + "value": "display" + }, + { + "value": "divide" + }, + { + "value": "dna" + }, + { + "value": "dog" + }, + { + "value": "dollar-sign", + "keywords": [ + "dollar", + "sign" + ] + }, + { + "value": "dolly" + }, + { + "value": "dong-sign", + "keywords": [ + "dong", + "sign" + ] + }, + { + "value": "door-closed", + "keywords": [ + "door", + "closed" + ] + }, + { + "value": "door-open", + "keywords": [ + "door", + "open" + ] + }, + { + "value": "dove" + }, + { + "value": "down-left-and-up-right-to-center", + "keywords": [ + "down", + "left", + "and", + "up", + "right", + "to", + "center" + ] + }, + { + "value": "down-long", + "keywords": [ + "down", + "long" + ] + }, + { + "value": "download" + }, + { + "value": "dragon" + }, + { + "value": "draw-polygon", + "keywords": [ + "draw", + "polygon" + ] + }, + { + "value": "droplet" + }, + { + "value": "droplet-slash", + "keywords": [ + "droplet", + "slash" + ] + }, + { + "value": "drum" + }, + { + "value": "drum-steelpan", + "keywords": [ + "drum", + "steelpan" + ] + }, + { + "value": "drumstick-bite", + "keywords": [ + "drumstick", + "bite" + ] + }, + { + "value": "dumbbell" + }, + { + "value": "dumpster" + }, + { + "value": "dumpster-fire", + "keywords": [ + "dumpster", + "fire" + ] + }, + { + "value": "dungeon" + }, + { + "value": "e" + }, + { + "value": "ear-deaf", + "keywords": [ + "ear", + "deaf" + ] + }, + { + "value": "ear-listen", + "keywords": [ + "ear", + "listen" + ] + }, + { + "value": "earth-africa", + "keywords": [ + "earth", + "africa" + ] + }, + { + "value": "earth-americas", + "keywords": [ + "earth", + "americas" + ] + }, + { + "value": "earth-asia", + "keywords": [ + "earth", + "asia" + ] + }, + { + "value": "earth-europe", + "keywords": [ + "earth", + "europe" + ] + }, + { + "value": "earth-oceania", + "keywords": [ + "earth", + "oceania" + ] + }, + { + "value": "egg" + }, + { + "value": "eject" + }, + { + "value": "elevator" + }, + { + "value": "ellipsis" + }, + { + "value": "ellipsis-vertical", + "keywords": [ + "ellipsis", + "vertical" + ] + }, + { + "value": "envelope" + }, + { + "value": "envelope-circle-check", + "keywords": [ + "envelope", + "circle", + "check" + ] + }, + { + "value": "envelope-open", + "keywords": [ + "envelope", + "open" + ] + }, + { + "value": "envelope-open-text", + "keywords": [ + "envelope", + "open", + "text" + ] + }, + { + "value": "envelopes-bulk", + "keywords": [ + "envelopes", + "bulk" + ] + }, + { + "value": "equals" + }, + { + "value": "eraser" + }, + { + "value": "ethernet" + }, + { + "value": "euro-sign", + "keywords": [ + "euro", + "sign" + ] + }, + { + "value": "exclamation" + }, + { + "value": "expand" + }, + { + "value": "explosion" + }, + { + "value": "eye" + }, + { + "value": "eye-dropper", + "keywords": [ + "eye", + "dropper" + ] + }, + { + "value": "eye-low-vision", + "keywords": [ + "eye", + "low", + "vision" + ] + }, + { + "value": "eye-slash", + "keywords": [ + "eye", + "slash" + ] + }, + { + "value": "f" + }, + { + "value": "face-angry", + "keywords": [ + "face", + "angry" + ] + }, + { + "value": "face-dizzy", + "keywords": [ + "face", + "dizzy" + ] + }, + { + "value": "face-flushed", + "keywords": [ + "face", + "flushed" + ] + }, + { + "value": "face-frown", + "keywords": [ + "face", + "frown" + ] + }, + { + "value": "face-frown-open", + "keywords": [ + "face", + "frown", + "open" + ] + }, + { + "value": "face-grimace", + "keywords": [ + "face", + "grimace" + ] + }, + { + "value": "face-grin", + "keywords": [ + "face", + "grin" + ] + }, + { + "value": "face-grin-beam", + "keywords": [ + "face", + "grin", + "beam" + ] + }, + { + "value": "face-grin-beam-sweat", + "keywords": [ + "face", + "grin", + "beam", + "sweat" + ] + }, + { + "value": "face-grin-hearts", + "keywords": [ + "face", + "grin", + "hearts" + ] + }, + { + "value": "face-grin-squint", + "keywords": [ + "face", + "grin", + "squint" + ] + }, + { + "value": "face-grin-squint-tears", + "keywords": [ + "face", + "grin", + "squint", + "tears" + ] + }, + { + "value": "face-grin-stars", + "keywords": [ + "face", + "grin", + "stars" + ] + }, + { + "value": "face-grin-tears", + "keywords": [ + "face", + "grin", + "tears" + ] + }, + { + "value": "face-grin-tongue", + "keywords": [ + "face", + "grin", + "tongue" + ] + }, + { + "value": "face-grin-tongue-squint", + "keywords": [ + "face", + "grin", + "tongue", + "squint" + ] + }, + { + "value": "face-grin-tongue-wink", + "keywords": [ + "face", + "grin", + "tongue", + "wink" + ] + }, + { + "value": "face-grin-wide", + "keywords": [ + "face", + "grin", + "wide" + ] + }, + { + "value": "face-grin-wink", + "keywords": [ + "face", + "grin", + "wink" + ] + }, + { + "value": "face-kiss", + "keywords": [ + "face", + "kiss" + ] + }, + { + "value": "face-kiss-beam", + "keywords": [ + "face", + "kiss", + "beam" + ] + }, + { + "value": "face-kiss-wink-heart", + "keywords": [ + "face", + "kiss", + "wink", + "heart" + ] + }, + { + "value": "face-laugh", + "keywords": [ + "face", + "laugh" + ] + }, + { + "value": "face-laugh-beam", + "keywords": [ + "face", + "laugh", + "beam" + ] + }, + { + "value": "face-laugh-squint", + "keywords": [ + "face", + "laugh", + "squint" + ] + }, + { + "value": "face-laugh-wink", + "keywords": [ + "face", + "laugh", + "wink" + ] + }, + { + "value": "face-meh", + "keywords": [ + "face", + "meh" + ] + }, + { + "value": "face-meh-blank", + "keywords": [ + "face", + "meh", + "blank" + ] + }, + { + "value": "face-rolling-eyes", + "keywords": [ + "face", + "rolling", + "eyes" + ] + }, + { + "value": "face-sad-cry", + "keywords": [ + "face", + "sad", + "cry" + ] + }, + { + "value": "face-sad-tear", + "keywords": [ + "face", + "sad", + "tear" + ] + }, + { + "value": "face-smile", + "keywords": [ + "face", + "smile" + ] + }, + { + "value": "face-smile-beam", + "keywords": [ + "face", + "smile", + "beam" + ] + }, + { + "value": "face-smile-wink", + "keywords": [ + "face", + "smile", + "wink" + ] + }, + { + "value": "face-surprise", + "keywords": [ + "face", + "surprise" + ] + }, + { + "value": "face-tired", + "keywords": [ + "face", + "tired" + ] + }, + { + "value": "fan" + }, + { + "value": "faucet" + }, + { + "value": "faucet-drip", + "keywords": [ + "faucet", + "drip" + ] + }, + { + "value": "fax" + }, + { + "value": "feather" + }, + { + "value": "feather-pointed", + "keywords": [ + "feather", + "pointed" + ] + }, + { + "value": "ferry" + }, + { + "value": "file" + }, + { + "value": "file-arrow-down", + "keywords": [ + "file", + "arrow", + "down" + ] + }, + { + "value": "file-arrow-up", + "keywords": [ + "file", + "arrow", + "up" + ] + }, + { + "value": "file-audio", + "keywords": [ + "file", + "audio" + ] + }, + { + "value": "file-circle-check", + "keywords": [ + "file", + "circle", + "check" + ] + }, + { + "value": "file-circle-exclamation", + "keywords": [ + "file", + "circle", + "exclamation" + ] + }, + { + "value": "file-circle-minus", + "keywords": [ + "file", + "circle", + "minus" + ] + }, + { + "value": "file-circle-plus", + "keywords": [ + "file", + "circle", + "plus" + ] + }, + { + "value": "file-circle-question", + "keywords": [ + "file", + "circle", + "question" + ] + }, + { + "value": "file-circle-xmark", + "keywords": [ + "file", + "circle", + "xmark" + ] + }, + { + "value": "file-code", + "keywords": [ + "file", + "code" + ] + }, + { + "value": "file-contract", + "keywords": [ + "file", + "contract" + ] + }, + { + "value": "file-csv", + "keywords": [ + "file", + "csv" + ] + }, + { + "value": "file-excel", + "keywords": [ + "file", + "excel" + ] + }, + { + "value": "file-export", + "keywords": [ + "file", + "export" + ] + }, + { + "value": "file-image", + "keywords": [ + "file", + "image" + ] + }, + { + "value": "file-import", + "keywords": [ + "file", + "import" + ] + }, + { + "value": "file-invoice", + "keywords": [ + "file", + "invoice" + ] + }, + { + "value": "file-invoice-dollar", + "keywords": [ + "file", + "invoice", + "dollar" + ] + }, + { + "value": "file-lines", + "keywords": [ + "file", + "lines" + ] + }, + { + "value": "file-medical", + "keywords": [ + "file", + "medical" + ] + }, + { + "value": "file-pdf", + "keywords": [ + "file", + "pdf" + ] + }, + { + "value": "file-pen", + "keywords": [ + "file", + "pen" + ] + }, + { + "value": "file-powerpoint", + "keywords": [ + "file", + "powerpoint" + ] + }, + { + "value": "file-prescription", + "keywords": [ + "file", + "prescription" + ] + }, + { + "value": "file-shield", + "keywords": [ + "file", + "shield" + ] + }, + { + "value": "file-signature", + "keywords": [ + "file", + "signature" + ] + }, + { + "value": "file-video", + "keywords": [ + "file", + "video" + ] + }, + { + "value": "file-waveform", + "keywords": [ + "file", + "waveform" + ] + }, + { + "value": "file-word", + "keywords": [ + "file", + "word" + ] + }, + { + "value": "file-zipper", + "keywords": [ + "file", + "zipper" + ] + }, + { + "value": "fill" + }, + { + "value": "fill-drip", + "keywords": [ + "fill", + "drip" + ] + }, + { + "value": "film" + }, + { + "value": "filter" + }, + { + "value": "filter-circle-dollar", + "keywords": [ + "filter", + "circle", + "dollar" + ] + }, + { + "value": "filter-circle-xmark", + "keywords": [ + "filter", + "circle", + "xmark" + ] + }, + { + "value": "fingerprint" + }, + { + "value": "fire" + }, + { + "value": "fire-burner", + "keywords": [ + "fire", + "burner" + ] + }, + { + "value": "fire-extinguisher", + "keywords": [ + "fire", + "extinguisher" + ] + }, + { + "value": "fire-flame-curved", + "keywords": [ + "fire", + "flame", + "curved" + ] + }, + { + "value": "fire-flame-simple", + "keywords": [ + "fire", + "flame", + "simple" + ] + }, + { + "value": "fish" + }, + { + "value": "fish-fins", + "keywords": [ + "fish", + "fins" + ] + }, + { + "value": "flag" + }, + { + "value": "flag-checkered", + "keywords": [ + "flag", + "checkered" + ] + }, + { + "value": "flag-usa", + "keywords": [ + "flag", + "usa" + ] + }, + { + "value": "flask" + }, + { + "value": "flask-vial", + "keywords": [ + "flask", + "vial" + ] + }, + { + "value": "floppy-disk", + "keywords": [ + "floppy", + "disk" + ] + }, + { + "value": "florin-sign", + "keywords": [ + "florin", + "sign" + ] + }, + { + "value": "folder" + }, + { + "value": "folder-closed", + "keywords": [ + "folder", + "closed" + ] + }, + { + "value": "folder-minus", + "keywords": [ + "folder", + "minus" + ] + }, + { + "value": "folder-open", + "keywords": [ + "folder", + "open" + ] + }, + { + "value": "folder-plus", + "keywords": [ + "folder", + "plus" + ] + }, + { + "value": "folder-tree", + "keywords": [ + "folder", + "tree" + ] + }, + { + "value": "font" + }, + { + "value": "font-awesome", + "keywords": [ + "font", + "awesome" + ] + }, + { + "value": "football" + }, + { + "value": "forward" + }, + { + "value": "forward-fast", + "keywords": [ + "forward", + "fast" + ] + }, + { + "value": "forward-step", + "keywords": [ + "forward", + "step" + ] + }, + { + "value": "franc-sign", + "keywords": [ + "franc", + "sign" + ] + }, + { + "value": "frog" + }, + { + "value": "futbol" + }, + { + "value": "g" + }, + { + "value": "gamepad" + }, + { + "value": "gas-pump", + "keywords": [ + "gas", + "pump" + ] + }, + { + "value": "gauge" + }, + { + "value": "gauge-high", + "keywords": [ + "gauge", + "high" + ] + }, + { + "value": "gauge-simple", + "keywords": [ + "gauge", + "simple" + ] + }, + { + "value": "gauge-simple-high", + "keywords": [ + "gauge", + "simple", + "high" + ] + }, + { + "value": "gavel" + }, + { + "value": "gear" + }, + { + "value": "gears" + }, + { + "value": "gem" + }, + { + "value": "genderless" + }, + { + "value": "ghost" + }, + { + "value": "gift" + }, + { + "value": "gifts" + }, + { + "value": "glass-water", + "keywords": [ + "glass", + "water" + ] + }, + { + "value": "glass-water-droplet", + "keywords": [ + "glass", + "water", + "droplet" + ] + }, + { + "value": "glasses" + }, + { + "value": "globe" + }, + { + "value": "golf-ball-tee", + "keywords": [ + "golf", + "ball", + "tee" + ] + }, + { + "value": "gopuram" + }, + { + "value": "graduation-cap", + "keywords": [ + "graduation", + "cap" + ] + }, + { + "value": "greater-than", + "keywords": [ + "greater", + "than" + ] + }, + { + "value": "greater-than-equal", + "keywords": [ + "greater", + "than", + "equal" + ] + }, + { + "value": "grip" + }, + { + "value": "grip-lines", + "keywords": [ + "grip", + "lines" + ] + }, + { + "value": "grip-lines-vertical", + "keywords": [ + "grip", + "lines", + "vertical" + ] + }, + { + "value": "grip-vertical", + "keywords": [ + "grip", + "vertical" + ] + }, + { + "value": "group-arrows-rotate", + "keywords": [ + "group", + "arrows", + "rotate" + ] + }, + { + "value": "guarani-sign", + "keywords": [ + "guarani", + "sign" + ] + }, + { + "value": "guitar" + }, + { + "value": "gun" + }, + { + "value": "h" + }, + { + "value": "hammer" + }, + { + "value": "hamsa" + }, + { + "value": "hand" + }, + { + "value": "hand-back-fist", + "keywords": [ + "hand", + "back", + "fist" + ] + }, + { + "value": "hand-dots", + "keywords": [ + "hand", + "dots" + ] + }, + { + "value": "hand-fist", + "keywords": [ + "hand", + "fist" + ] + }, + { + "value": "hand-holding", + "keywords": [ + "hand", + "holding" + ] + }, + { + "value": "hand-holding-dollar", + "keywords": [ + "hand", + "holding", + "dollar" + ] + }, + { + "value": "hand-holding-droplet", + "keywords": [ + "hand", + "holding", + "droplet" + ] + }, + { + "value": "hand-holding-hand", + "keywords": [ + "hand", + "holding", + "hand" + ] + }, + { + "value": "hand-holding-heart", + "keywords": [ + "hand", + "holding", + "heart" + ] + }, + { + "value": "hand-holding-medical", + "keywords": [ + "hand", + "holding", + "medical" + ] + }, + { + "value": "hand-lizard", + "keywords": [ + "hand", + "lizard" + ] + }, + { + "value": "hand-middle-finger", + "keywords": [ + "hand", + "middle", + "finger" + ] + }, + { + "value": "hand-peace", + "keywords": [ + "hand", + "peace" + ] + }, + { + "value": "hand-point-down", + "keywords": [ + "hand", + "point", + "down" + ] + }, + { + "value": "hand-point-left", + "keywords": [ + "hand", + "point", + "left" + ] + }, + { + "value": "hand-point-right", + "keywords": [ + "hand", + "point", + "right" + ] + }, + { + "value": "hand-point-up", + "keywords": [ + "hand", + "point", + "up" + ] + }, + { + "value": "hand-pointer", + "keywords": [ + "hand", + "pointer" + ] + }, + { + "value": "hand-scissors", + "keywords": [ + "hand", + "scissors" + ] + }, + { + "value": "hand-sparkles", + "keywords": [ + "hand", + "sparkles" + ] + }, + { + "value": "hand-spock", + "keywords": [ + "hand", + "spock" + ] + }, + { + "value": "handcuffs" + }, + { + "value": "hands" + }, + { + "value": "hands-asl-interpreting", + "keywords": [ + "hands", + "asl", + "interpreting" + ] + }, + { + "value": "hands-bound", + "keywords": [ + "hands", + "bound" + ] + }, + { + "value": "hands-bubbles", + "keywords": [ + "hands", + "bubbles" + ] + }, + { + "value": "hands-clapping", + "keywords": [ + "hands", + "clapping" + ] + }, + { + "value": "hands-holding", + "keywords": [ + "hands", + "holding" + ] + }, + { + "value": "hands-holding-child", + "keywords": [ + "hands", + "holding", + "child" + ] + }, + { + "value": "hands-holding-circle", + "keywords": [ + "hands", + "holding", + "circle" + ] + }, + { + "value": "hands-praying", + "keywords": [ + "hands", + "praying" + ] + }, + { + "value": "handshake" + }, + { + "value": "handshake-angle", + "keywords": [ + "handshake", + "angle" + ] + }, + { + "value": "handshake-simple", + "keywords": [ + "handshake", + "simple" + ] + }, + { + "value": "handshake-simple-slash", + "keywords": [ + "handshake", + "simple", + "slash" + ] + }, + { + "value": "handshake-slash", + "keywords": [ + "handshake", + "slash" + ] + }, + { + "value": "hanukiah" + }, + { + "value": "hard-drive", + "keywords": [ + "hard", + "drive" + ] + }, + { + "value": "hashtag" + }, + { + "value": "hat-cowboy", + "keywords": [ + "hat", + "cowboy" + ] + }, + { + "value": "hat-cowboy-side", + "keywords": [ + "hat", + "cowboy", + "side" + ] + }, + { + "value": "hat-wizard", + "keywords": [ + "hat", + "wizard" + ] + }, + { + "value": "head-side-cough", + "keywords": [ + "head", + "side", + "cough" + ] + }, + { + "value": "head-side-cough-slash", + "keywords": [ + "head", + "side", + "cough", + "slash" + ] + }, + { + "value": "head-side-mask", + "keywords": [ + "head", + "side", + "mask" + ] + }, + { + "value": "head-side-virus", + "keywords": [ + "head", + "side", + "virus" + ] + }, + { + "value": "heading" + }, + { + "value": "headphones" + }, + { + "value": "headphones-simple", + "keywords": [ + "headphones", + "simple" + ] + }, + { + "value": "headset" + }, + { + "value": "heart" + }, + { + "value": "heart-circle-bolt", + "keywords": [ + "heart", + "circle", + "bolt" + ] + }, + { + "value": "heart-circle-check", + "keywords": [ + "heart", + "circle", + "check" + ] + }, + { + "value": "heart-circle-exclamation", + "keywords": [ + "heart", + "circle", + "exclamation" + ] + }, + { + "value": "heart-circle-minus", + "keywords": [ + "heart", + "circle", + "minus" + ] + }, + { + "value": "heart-circle-plus", + "keywords": [ + "heart", + "circle", + "plus" + ] + }, + { + "value": "heart-circle-xmark", + "keywords": [ + "heart", + "circle", + "xmark" + ] + }, + { + "value": "heart-crack", + "keywords": [ + "heart", + "crack" + ] + }, + { + "value": "heart-pulse", + "keywords": [ + "heart", + "pulse" + ] + }, + { + "value": "helicopter" + }, + { + "value": "helicopter-symbol", + "keywords": [ + "helicopter", + "symbol" + ] + }, + { + "value": "helmet-safety", + "keywords": [ + "helmet", + "safety" + ] + }, + { + "value": "helmet-un", + "keywords": [ + "helmet", + "un" + ] + }, + { + "value": "highlighter" + }, + { + "value": "hill-avalanche", + "keywords": [ + "hill", + "avalanche" + ] + }, + { + "value": "hill-rockslide", + "keywords": [ + "hill", + "rockslide" + ] + }, + { + "value": "hippo" + }, + { + "value": "hockey-puck", + "keywords": [ + "hockey", + "puck" + ] + }, + { + "value": "holly-berry", + "keywords": [ + "holly", + "berry" + ] + }, + { + "value": "horse" + }, + { + "value": "horse-head", + "keywords": [ + "horse", + "head" + ] + }, + { + "value": "hospital" + }, + { + "value": "hospital-user", + "keywords": [ + "hospital", + "user" + ] + }, + { + "value": "hot-tub-person", + "keywords": [ + "hot", + "tub", + "person" + ] + }, + { + "value": "hotdog" + }, + { + "value": "hotel" + }, + { + "value": "hourglass" + }, + { + "value": "hourglass-end", + "keywords": [ + "hourglass", + "end" + ] + }, + { + "value": "hourglass-half", + "keywords": [ + "hourglass", + "half" + ] + }, + { + "value": "hourglass-start", + "keywords": [ + "hourglass", + "start" + ] + }, + { + "value": "house" + }, + { + "value": "house-chimney", + "keywords": [ + "house", + "chimney" + ] + }, + { + "value": "house-chimney-crack", + "keywords": [ + "house", + "chimney", + "crack" + ] + }, + { + "value": "house-chimney-medical", + "keywords": [ + "house", + "chimney", + "medical" + ] + }, + { + "value": "house-chimney-user", + "keywords": [ + "house", + "chimney", + "user" + ] + }, + { + "value": "house-chimney-window", + "keywords": [ + "house", + "chimney", + "window" + ] + }, + { + "value": "house-circle-check", + "keywords": [ + "house", + "circle", + "check" + ] + }, + { + "value": "house-circle-exclamation", + "keywords": [ + "house", + "circle", + "exclamation" + ] + }, + { + "value": "house-circle-xmark", + "keywords": [ + "house", + "circle", + "xmark" + ] + }, + { + "value": "house-crack", + "keywords": [ + "house", + "crack" + ] + }, + { + "value": "house-fire", + "keywords": [ + "house", + "fire" + ] + }, + { + "value": "house-flag", + "keywords": [ + "house", + "flag" + ] + }, + { + "value": "house-flood-water", + "keywords": [ + "house", + "flood", + "water" + ] + }, + { + "value": "house-flood-water-circle-arrow-right", + "keywords": [ + "house", + "flood", + "water", + "circle", + "arrow", + "right" + ] + }, + { + "value": "house-laptop", + "keywords": [ + "house", + "laptop" + ] + }, + { + "value": "house-lock", + "keywords": [ + "house", + "lock" + ] + }, + { + "value": "house-medical", + "keywords": [ + "house", + "medical" + ] + }, + { + "value": "house-medical-circle-check", + "keywords": [ + "house", + "medical", + "circle", + "check" + ] + }, + { + "value": "house-medical-circle-exclamation", + "keywords": [ + "house", + "medical", + "circle", + "exclamation" + ] + }, + { + "value": "house-medical-circle-xmark", + "keywords": [ + "house", + "medical", + "circle", + "xmark" + ] + }, + { + "value": "house-medical-flag", + "keywords": [ + "house", + "medical", + "flag" + ] + }, + { + "value": "house-signal", + "keywords": [ + "house", + "signal" + ] + }, + { + "value": "house-tsunami", + "keywords": [ + "house", + "tsunami" + ] + }, + { + "value": "house-user", + "keywords": [ + "house", + "user" + ] + }, + { + "value": "hryvnia-sign", + "keywords": [ + "hryvnia", + "sign" + ] + }, + { + "value": "hurricane" + }, + { + "value": "i" + }, + { + "value": "i-cursor" + }, + { + "value": "ice-cream", + "keywords": [ + "ice", + "cream" + ] + }, + { + "value": "icicles" + }, + { + "value": "icons" + }, + { + "value": "id-badge", + "keywords": [ + "id", + "badge" + ] + }, + { + "value": "id-card", + "keywords": [ + "id", + "card" + ] + }, + { + "value": "id-card-clip", + "keywords": [ + "id", + "card", + "clip" + ] + }, + { + "value": "igloo" + }, + { + "value": "image" + }, + { + "value": "image-portrait", + "keywords": [ + "image", + "portrait" + ] + }, + { + "value": "images" + }, + { + "value": "inbox" + }, + { + "value": "indent" + }, + { + "value": "indian-rupee-sign", + "keywords": [ + "indian", + "rupee", + "sign" + ] + }, + { + "value": "industry" + }, + { + "value": "infinity" + }, + { + "value": "info" + }, + { + "value": "italic" + }, + { + "value": "j" + }, + { + "value": "jar" + }, + { + "value": "jar-wheat", + "keywords": [ + "jar", + "wheat" + ] + }, + { + "value": "jedi" + }, + { + "value": "jet-fighter", + "keywords": [ + "jet", + "fighter" + ] + }, + { + "value": "jet-fighter-up", + "keywords": [ + "jet", + "fighter", + "up" + ] + }, + { + "value": "joint" + }, + { + "value": "jug-detergent", + "keywords": [ + "jug", + "detergent" + ] + }, + { + "value": "k" + }, + { + "value": "kaaba" + }, + { + "value": "key" + }, + { + "value": "keyboard" + }, + { + "value": "khanda" + }, + { + "value": "kip-sign", + "keywords": [ + "kip", + "sign" + ] + }, + { + "value": "kit-medical", + "keywords": [ + "kit", + "medical" + ] + }, + { + "value": "kitchen-set", + "keywords": [ + "kitchen", + "set" + ] + }, + { + "value": "kiwi-bird", + "keywords": [ + "kiwi", + "bird" + ] + }, + { + "value": "l" + }, + { + "value": "land-mine-on", + "keywords": [ + "land", + "mine", + "on" + ] + }, + { + "value": "landmark" + }, + { + "value": "landmark-dome", + "keywords": [ + "landmark", + "dome" + ] + }, + { + "value": "landmark-flag", + "keywords": [ + "landmark", + "flag" + ] + }, + { + "value": "language" + }, + { + "value": "laptop" + }, + { + "value": "laptop-code", + "keywords": [ + "laptop", + "code" + ] + }, + { + "value": "laptop-file", + "keywords": [ + "laptop", + "file" + ] + }, + { + "value": "laptop-medical", + "keywords": [ + "laptop", + "medical" + ] + }, + { + "value": "lari-sign", + "keywords": [ + "lari", + "sign" + ] + }, + { + "value": "layer-group", + "keywords": [ + "layer", + "group" + ] + }, + { + "value": "leaf" + }, + { + "value": "left-long", + "keywords": [ + "left", + "long" + ] + }, + { + "value": "left-right", + "keywords": [ + "left", + "right" + ] + }, + { + "value": "lemon" + }, + { + "value": "less-than", + "keywords": [ + "less", + "than" + ] + }, + { + "value": "less-than-equal", + "keywords": [ + "less", + "than", + "equal" + ] + }, + { + "value": "life-ring", + "keywords": [ + "life", + "ring" + ] + }, + { + "value": "lightbulb" + }, + { + "value": "lines-leaning", + "keywords": [ + "lines", + "leaning" + ] + }, + { + "value": "link" + }, + { + "value": "link-slash", + "keywords": [ + "link", + "slash" + ] + }, + { + "value": "lira-sign", + "keywords": [ + "lira", + "sign" + ] + }, + { + "value": "list" + }, + { + "value": "list-check", + "keywords": [ + "list", + "check" + ] + }, + { + "value": "list-ol", + "keywords": [ + "list", + "ol" + ] + }, + { + "value": "list-ul", + "keywords": [ + "list", + "ul" + ] + }, + { + "value": "litecoin-sign", + "keywords": [ + "litecoin", + "sign" + ] + }, + { + "value": "location-arrow", + "keywords": [ + "location", + "arrow" + ] + }, + { + "value": "location-crosshairs", + "keywords": [ + "location", + "crosshairs" + ] + }, + { + "value": "location-dot", + "keywords": [ + "location", + "dot" + ] + }, + { + "value": "location-pin", + "keywords": [ + "location", + "pin" + ] + }, + { + "value": "location-pin-lock", + "keywords": [ + "location", + "pin", + "lock" + ] + }, + { + "value": "lock" + }, + { + "value": "lock-open", + "keywords": [ + "lock", + "open" + ] + }, + { + "value": "locust" + }, + { + "value": "lungs" + }, + { + "value": "lungs-virus", + "keywords": [ + "lungs", + "virus" + ] + }, + { + "value": "m" + }, + { + "value": "magnet" + }, + { + "value": "magnifying-glass", + "keywords": [ + "magnifying", + "glass" + ] + }, + { + "value": "magnifying-glass-arrow-right", + "keywords": [ + "magnifying", + "glass", + "arrow", + "right" + ] + }, + { + "value": "magnifying-glass-chart", + "keywords": [ + "magnifying", + "glass", + "chart" + ] + }, + { + "value": "magnifying-glass-dollar", + "keywords": [ + "magnifying", + "glass", + "dollar" + ] + }, + { + "value": "magnifying-glass-location", + "keywords": [ + "magnifying", + "glass", + "location" + ] + }, + { + "value": "magnifying-glass-minus", + "keywords": [ + "magnifying", + "glass", + "minus" + ] + }, + { + "value": "magnifying-glass-plus", + "keywords": [ + "magnifying", + "glass", + "plus" + ] + }, + { + "value": "manat-sign", + "keywords": [ + "manat", + "sign" + ] + }, + { + "value": "map" + }, + { + "value": "map-location", + "keywords": [ + "map", + "location" + ] + }, + { + "value": "map-location-dot", + "keywords": [ + "map", + "location", + "dot" + ] + }, + { + "value": "map-pin", + "keywords": [ + "map", + "pin" + ] + }, + { + "value": "marker" + }, + { + "value": "mars" + }, + { + "value": "mars-and-venus", + "keywords": [ + "mars", + "and", + "venus" + ] + }, + { + "value": "mars-and-venus-burst", + "keywords": [ + "mars", + "and", + "venus", + "burst" + ] + }, + { + "value": "mars-double", + "keywords": [ + "mars", + "double" + ] + }, + { + "value": "mars-stroke", + "keywords": [ + "mars", + "stroke" + ] + }, + { + "value": "mars-stroke-right", + "keywords": [ + "mars", + "stroke", + "right" + ] + }, + { + "value": "mars-stroke-up", + "keywords": [ + "mars", + "stroke", + "up" + ] + }, + { + "value": "martini-glass", + "keywords": [ + "martini", + "glass" + ] + }, + { + "value": "martini-glass-citrus", + "keywords": [ + "martini", + "glass", + "citrus" + ] + }, + { + "value": "martini-glass-empty", + "keywords": [ + "martini", + "glass", + "empty" + ] + }, + { + "value": "mask" + }, + { + "value": "mask-face", + "keywords": [ + "mask", + "face" + ] + }, + { + "value": "mask-ventilator", + "keywords": [ + "mask", + "ventilator" + ] + }, + { + "value": "masks-theater", + "keywords": [ + "masks", + "theater" + ] + }, + { + "value": "mattress-pillow", + "keywords": [ + "mattress", + "pillow" + ] + }, + { + "value": "maximize" + }, + { + "value": "medal" + }, + { + "value": "memory" + }, + { + "value": "menorah" + }, + { + "value": "mercury" + }, + { + "value": "message" + }, + { + "value": "meteor" + }, + { + "value": "microchip" + }, + { + "value": "microphone" + }, + { + "value": "microphone-lines", + "keywords": [ + "microphone", + "lines" + ] + }, + { + "value": "microphone-lines-slash", + "keywords": [ + "microphone", + "lines", + "slash" + ] + }, + { + "value": "microphone-slash", + "keywords": [ + "microphone", + "slash" + ] + }, + { + "value": "microscope" + }, + { + "value": "mill-sign", + "keywords": [ + "mill", + "sign" + ] + }, + { + "value": "minimize" + }, + { + "value": "minus" + }, + { + "value": "mitten" + }, + { + "value": "mobile" + }, + { + "value": "mobile-button", + "keywords": [ + "mobile", + "button" + ] + }, + { + "value": "mobile-retro", + "keywords": [ + "mobile", + "retro" + ] + }, + { + "value": "mobile-screen", + "keywords": [ + "mobile", + "screen" + ] + }, + { + "value": "mobile-screen-button", + "keywords": [ + "mobile", + "screen", + "button" + ] + }, + { + "value": "money-bill", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-transfer", + "keywords": [ + "money", + "bill", + "transfer" + ] + }, + { + "value": "money-bill-trend-up", + "keywords": [ + "money", + "bill", + "trend", + "up" + ] + }, + { + "value": "money-bill-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-wheat", + "keywords": [ + "money", + "bill", + "wheat" + ] + }, + { + "value": "money-bills", + "keywords": [ + "money", + "bills" + ] + }, + { + "value": "money-check", + "keywords": [ + "money", + "check" + ] + }, + { + "value": "money-check-dollar", + "keywords": [ + "money", + "check", + "dollar" + ] + }, + { + "value": "monument" + }, + { + "value": "moon" + }, + { + "value": "mortar-pestle", + "keywords": [ + "mortar", + "pestle" + ] + }, + { + "value": "mosque" + }, + { + "value": "mosquito" + }, + { + "value": "mosquito-net", + "keywords": [ + "mosquito", + "net" + ] + }, + { + "value": "motorcycle" + }, + { + "value": "mound" + }, + { + "value": "mountain" + }, + { + "value": "mountain-city", + "keywords": [ + "mountain", + "city" + ] + }, + { + "value": "mountain-sun", + "keywords": [ + "mountain", + "sun" + ] + }, + { + "value": "mug-hot", + "keywords": [ + "mug", + "hot" + ] + }, + { + "value": "mug-saucer", + "keywords": [ + "mug", + "saucer" + ] + }, + { + "value": "music" + }, + { + "value": "n" + }, + { + "value": "naira-sign", + "keywords": [ + "naira", + "sign" + ] + }, + { + "value": "network-wired", + "keywords": [ + "network", + "wired" + ] + }, + { + "value": "neuter" + }, + { + "value": "newspaper" + }, + { + "value": "not-equal", + "keywords": [ + "not", + "equal" + ] + }, + { + "value": "notdef" + }, + { + "value": "note-sticky", + "keywords": [ + "note", + "sticky" + ] + }, + { + "value": "notes-medical", + "keywords": [ + "notes", + "medical" + ] + }, + { + "value": "o" + }, + { + "value": "object-group", + "keywords": [ + "object", + "group" + ] + }, + { + "value": "object-ungroup", + "keywords": [ + "object", + "ungroup" + ] + }, + { + "value": "oil-can", + "keywords": [ + "oil", + "can" + ] + }, + { + "value": "oil-well", + "keywords": [ + "oil", + "well" + ] + }, + { + "value": "om" + }, + { + "value": "otter" + }, + { + "value": "outdent" + }, + { + "value": "p" + }, + { + "value": "pager" + }, + { + "value": "paint-roller", + "keywords": [ + "paint", + "roller" + ] + }, + { + "value": "paintbrush" + }, + { + "value": "palette" + }, + { + "value": "pallet" + }, + { + "value": "panorama" + }, + { + "value": "paper-plane", + "keywords": [ + "paper", + "plane" + ] + }, + { + "value": "paperclip" + }, + { + "value": "parachute-box", + "keywords": [ + "parachute", + "box" + ] + }, + { + "value": "paragraph" + }, + { + "value": "passport" + }, + { + "value": "paste" + }, + { + "value": "pause" + }, + { + "value": "paw" + }, + { + "value": "peace" + }, + { + "value": "pen" + }, + { + "value": "pen-clip", + "keywords": [ + "pen", + "clip" + ] + }, + { + "value": "pen-fancy", + "keywords": [ + "pen", + "fancy" + ] + }, + { + "value": "pen-nib", + "keywords": [ + "pen", + "nib" + ] + }, + { + "value": "pen-ruler", + "keywords": [ + "pen", + "ruler" + ] + }, + { + "value": "pen-to-square", + "keywords": [ + "pen", + "to", + "square" + ] + }, + { + "value": "pencil" + }, + { + "value": "people-arrows", + "keywords": [ + "people", + "arrows" + ] + }, + { + "value": "people-carry-box", + "keywords": [ + "people", + "carry", + "box" + ] + }, + { + "value": "people-group", + "keywords": [ + "people", + "group" + ] + }, + { + "value": "people-line", + "keywords": [ + "people", + "line" + ] + }, + { + "value": "people-pulling", + "keywords": [ + "people", + "pulling" + ] + }, + { + "value": "people-robbery", + "keywords": [ + "people", + "robbery" + ] + }, + { + "value": "people-roof", + "keywords": [ + "people", + "roof" + ] + }, + { + "value": "pepper-hot", + "keywords": [ + "pepper", + "hot" + ] + }, + { + "value": "percent" + }, + { + "value": "person" + }, + { + "value": "person-arrow-down-to-line", + "keywords": [ + "person", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "person-arrow-up-from-line", + "keywords": [ + "person", + "arrow", + "up", + "from", + "line" + ] + }, + { + "value": "person-biking", + "keywords": [ + "person", + "biking" + ] + }, + { + "value": "person-booth", + "keywords": [ + "person", + "booth" + ] + }, + { + "value": "person-breastfeeding", + "keywords": [ + "person", + "breastfeeding" + ] + }, + { + "value": "person-burst", + "keywords": [ + "person", + "burst" + ] + }, + { + "value": "person-cane", + "keywords": [ + "person", + "cane" + ] + }, + { + "value": "person-chalkboard", + "keywords": [ + "person", + "chalkboard" + ] + }, + { + "value": "person-circle-check", + "keywords": [ + "person", + "circle", + "check" + ] + }, + { + "value": "person-circle-exclamation", + "keywords": [ + "person", + "circle", + "exclamation" + ] + }, + { + "value": "person-circle-minus", + "keywords": [ + "person", + "circle", + "minus" + ] + }, + { + "value": "person-circle-plus", + "keywords": [ + "person", + "circle", + "plus" + ] + }, + { + "value": "person-circle-question", + "keywords": [ + "person", + "circle", + "question" + ] + }, + { + "value": "person-circle-xmark", + "keywords": [ + "person", + "circle", + "xmark" + ] + }, + { + "value": "person-digging", + "keywords": [ + "person", + "digging" + ] + }, + { + "value": "person-dots-from-line", + "keywords": [ + "person", + "dots", + "from", + "line" + ] + }, + { + "value": "person-dress", + "keywords": [ + "person", + "dress" + ] + }, + { + "value": "person-dress-burst", + "keywords": [ + "person", + "dress", + "burst" + ] + }, + { + "value": "person-drowning", + "keywords": [ + "person", + "drowning" + ] + }, + { + "value": "person-falling", + "keywords": [ + "person", + "falling" + ] + }, + { + "value": "person-falling-burst", + "keywords": [ + "person", + "falling", + "burst" + ] + }, + { + "value": "person-half-dress", + "keywords": [ + "person", + "half", + "dress" + ] + }, + { + "value": "person-harassing", + "keywords": [ + "person", + "harassing" + ] + }, + { + "value": "person-hiking", + "keywords": [ + "person", + "hiking" + ] + }, + { + "value": "person-military-pointing", + "keywords": [ + "person", + "military", + "pointing" + ] + }, + { + "value": "person-military-rifle", + "keywords": [ + "person", + "military", + "rifle" + ] + }, + { + "value": "person-military-to-person", + "keywords": [ + "person", + "military", + "to", + "person" + ] + }, + { + "value": "person-praying", + "keywords": [ + "person", + "praying" + ] + }, + { + "value": "person-pregnant", + "keywords": [ + "person", + "pregnant" + ] + }, + { + "value": "person-rays", + "keywords": [ + "person", + "rays" + ] + }, + { + "value": "person-rifle", + "keywords": [ + "person", + "rifle" + ] + }, + { + "value": "person-running", + "keywords": [ + "person", + "running" + ] + }, + { + "value": "person-shelter", + "keywords": [ + "person", + "shelter" + ] + }, + { + "value": "person-skating", + "keywords": [ + "person", + "skating" + ] + }, + { + "value": "person-skiing", + "keywords": [ + "person", + "skiing" + ] + }, + { + "value": "person-skiing-nordic", + "keywords": [ + "person", + "skiing", + "nordic" + ] + }, + { + "value": "person-snowboarding", + "keywords": [ + "person", + "snowboarding" + ] + }, + { + "value": "person-swimming", + "keywords": [ + "person", + "swimming" + ] + }, + { + "value": "person-through-window", + "keywords": [ + "person", + "through", + "window" + ] + }, + { + "value": "person-walking", + "keywords": [ + "person", + "walking" + ] + }, + { + "value": "person-walking-arrow-loop-left", + "keywords": [ + "person", + "walking", + "arrow", + "loop", + "left" + ] + }, + { + "value": "person-walking-arrow-right", + "keywords": [ + "person", + "walking", + "arrow", + "right" + ] + }, + { + "value": "person-walking-dashed-line-arrow-right", + "keywords": [ + "person", + "walking", + "dashed", + "line", + "arrow", + "right" + ] + }, + { + "value": "person-walking-luggage", + "keywords": [ + "person", + "walking", + "luggage" + ] + }, + { + "value": "person-walking-with-cane", + "keywords": [ + "person", + "walking", + "with", + "cane" + ] + }, + { + "value": "peseta-sign", + "keywords": [ + "peseta", + "sign" + ] + }, + { + "value": "peso-sign", + "keywords": [ + "peso", + "sign" + ] + }, + { + "value": "phone" + }, + { + "value": "phone-flip", + "keywords": [ + "phone", + "flip" + ] + }, + { + "value": "phone-slash", + "keywords": [ + "phone", + "slash" + ] + }, + { + "value": "phone-volume", + "keywords": [ + "phone", + "volume" + ] + }, + { + "value": "photo-film", + "keywords": [ + "photo", + "film" + ] + }, + { + "value": "piggy-bank", + "keywords": [ + "piggy", + "bank" + ] + }, + { + "value": "pills" + }, + { + "value": "pizza-slice", + "keywords": [ + "pizza", + "slice" + ] + }, + { + "value": "place-of-worship", + "keywords": [ + "place", + "of", + "worship" + ] + }, + { + "value": "plane" + }, + { + "value": "plane-arrival", + "keywords": [ + "plane", + "arrival" + ] + }, + { + "value": "plane-circle-check", + "keywords": [ + "plane", + "circle", + "check" + ] + }, + { + "value": "plane-circle-exclamation", + "keywords": [ + "plane", + "circle", + "exclamation" + ] + }, + { + "value": "plane-circle-xmark", + "keywords": [ + "plane", + "circle", + "xmark" + ] + }, + { + "value": "plane-departure", + "keywords": [ + "plane", + "departure" + ] + }, + { + "value": "plane-lock", + "keywords": [ + "plane", + "lock" + ] + }, + { + "value": "plane-slash", + "keywords": [ + "plane", + "slash" + ] + }, + { + "value": "plane-up", + "keywords": [ + "plane", + "up" + ] + }, + { + "value": "plant-wilt", + "keywords": [ + "plant", + "wilt" + ] + }, + { + "value": "plate-wheat", + "keywords": [ + "plate", + "wheat" + ] + }, + { + "value": "play" + }, + { + "value": "plug" + }, + { + "value": "plug-circle-bolt", + "keywords": [ + "plug", + "circle", + "bolt" + ] + }, + { + "value": "plug-circle-check", + "keywords": [ + "plug", + "circle", + "check" + ] + }, + { + "value": "plug-circle-exclamation", + "keywords": [ + "plug", + "circle", + "exclamation" + ] + }, + { + "value": "plug-circle-minus", + "keywords": [ + "plug", + "circle", + "minus" + ] + }, + { + "value": "plug-circle-plus", + "keywords": [ + "plug", + "circle", + "plus" + ] + }, + { + "value": "plug-circle-xmark", + "keywords": [ + "plug", + "circle", + "xmark" + ] + }, + { + "value": "plus" + }, + { + "value": "plus-minus", + "keywords": [ + "plus", + "minus" + ] + }, + { + "value": "podcast" + }, + { + "value": "poo" + }, + { + "value": "poo-storm", + "keywords": [ + "poo", + "storm" + ] + }, + { + "value": "poop" + }, + { + "value": "power-off", + "keywords": [ + "power", + "off" + ] + }, + { + "value": "prescription" + }, + { + "value": "prescription-bottle", + "keywords": [ + "prescription", + "bottle" + ] + }, + { + "value": "prescription-bottle-medical", + "keywords": [ + "prescription", + "bottle", + "medical" + ] + }, + { + "value": "print" + }, + { + "value": "pump-medical", + "keywords": [ + "pump", + "medical" + ] + }, + { + "value": "pump-soap", + "keywords": [ + "pump", + "soap" + ] + }, + { + "value": "puzzle-piece", + "keywords": [ + "puzzle", + "piece" + ] + }, + { + "value": "q" + }, + { + "value": "qrcode" + }, + { + "value": "question" + }, + { + "value": "quote-left", + "keywords": [ + "quote", + "left" + ] + }, + { + "value": "quote-right", + "keywords": [ + "quote", + "right" + ] + }, + { + "value": "r" + }, + { + "value": "radiation" + }, + { + "value": "radio" + }, + { + "value": "rainbow" + }, + { + "value": "ranking-star", + "keywords": [ + "ranking", + "star" + ] + }, + { + "value": "receipt" + }, + { + "value": "record-vinyl", + "keywords": [ + "record", + "vinyl" + ] + }, + { + "value": "rectangle-ad", + "keywords": [ + "rectangle", + "ad" + ] + }, + { + "value": "rectangle-list", + "keywords": [ + "rectangle", + "list" + ] + }, + { + "value": "rectangle-xmark", + "keywords": [ + "rectangle", + "xmark" + ] + }, + { + "value": "recycle" + }, + { + "value": "registered" + }, + { + "value": "repeat" + }, + { + "value": "reply" + }, + { + "value": "reply-all", + "keywords": [ + "reply", + "all" + ] + }, + { + "value": "republican" + }, + { + "value": "restroom" + }, + { + "value": "retweet" + }, + { + "value": "ribbon" + }, + { + "value": "right-from-bracket", + "keywords": [ + "right", + "from", + "bracket" + ] + }, + { + "value": "right-left", + "keywords": [ + "right", + "left" + ] + }, + { + "value": "right-long", + "keywords": [ + "right", + "long" + ] + }, + { + "value": "right-to-bracket", + "keywords": [ + "right", + "to", + "bracket" + ] + }, + { + "value": "ring" + }, + { + "value": "road" + }, + { + "value": "road-barrier", + "keywords": [ + "road", + "barrier" + ] + }, + { + "value": "road-bridge", + "keywords": [ + "road", + "bridge" + ] + }, + { + "value": "road-circle-check", + "keywords": [ + "road", + "circle", + "check" + ] + }, + { + "value": "road-circle-exclamation", + "keywords": [ + "road", + "circle", + "exclamation" + ] + }, + { + "value": "road-circle-xmark", + "keywords": [ + "road", + "circle", + "xmark" + ] + }, + { + "value": "road-lock", + "keywords": [ + "road", + "lock" + ] + }, + { + "value": "road-spikes", + "keywords": [ + "road", + "spikes" + ] + }, + { + "value": "robot" + }, + { + "value": "rocket" + }, + { + "value": "rotate" + }, + { + "value": "rotate-left", + "keywords": [ + "rotate", + "left" + ] + }, + { + "value": "rotate-right", + "keywords": [ + "rotate", + "right" + ] + }, + { + "value": "route" + }, + { + "value": "rss" + }, + { + "value": "ruble-sign", + "keywords": [ + "ruble", + "sign" + ] + }, + { + "value": "rug" + }, + { + "value": "ruler" + }, + { + "value": "ruler-combined", + "keywords": [ + "ruler", + "combined" + ] + }, + { + "value": "ruler-horizontal", + "keywords": [ + "ruler", + "horizontal" + ] + }, + { + "value": "ruler-vertical", + "keywords": [ + "ruler", + "vertical" + ] + }, + { + "value": "rupee-sign", + "keywords": [ + "rupee", + "sign" + ] + }, + { + "value": "rupiah-sign", + "keywords": [ + "rupiah", + "sign" + ] + }, + { + "value": "s" + }, + { + "value": "sack-dollar", + "keywords": [ + "sack", + "dollar" + ] + }, + { + "value": "sack-xmark", + "keywords": [ + "sack", + "xmark" + ] + }, + { + "value": "sailboat" + }, + { + "value": "satellite" + }, + { + "value": "satellite-dish", + "keywords": [ + "satellite", + "dish" + ] + }, + { + "value": "scale-balanced", + "keywords": [ + "scale", + "balanced" + ] + }, + { + "value": "scale-unbalanced", + "keywords": [ + "scale", + "unbalanced" + ] + }, + { + "value": "scale-unbalanced-flip", + "keywords": [ + "scale", + "unbalanced", + "flip" + ] + }, + { + "value": "school" + }, + { + "value": "school-circle-check", + "keywords": [ + "school", + "circle", + "check" + ] + }, + { + "value": "school-circle-exclamation", + "keywords": [ + "school", + "circle", + "exclamation" + ] + }, + { + "value": "school-circle-xmark", + "keywords": [ + "school", + "circle", + "xmark" + ] + }, + { + "value": "school-flag", + "keywords": [ + "school", + "flag" + ] + }, + { + "value": "school-lock", + "keywords": [ + "school", + "lock" + ] + }, + { + "value": "scissors" + }, + { + "value": "screwdriver" + }, + { + "value": "screwdriver-wrench", + "keywords": [ + "screwdriver", + "wrench" + ] + }, + { + "value": "scroll" + }, + { + "value": "scroll-torah", + "keywords": [ + "scroll", + "torah" + ] + }, + { + "value": "sd-card", + "keywords": [ + "sd", + "card" + ] + }, + { + "value": "section" + }, + { + "value": "seedling" + }, + { + "value": "server" + }, + { + "value": "shapes" + }, + { + "value": "share" + }, + { + "value": "share-from-square", + "keywords": [ + "share", + "from", + "square" + ] + }, + { + "value": "share-nodes", + "keywords": [ + "share", + "nodes" + ] + }, + { + "value": "sheet-plastic", + "keywords": [ + "sheet", + "plastic" + ] + }, + { + "value": "shekel-sign", + "keywords": [ + "shekel", + "sign" + ] + }, + { + "value": "shield" + }, + { + "value": "shield-cat", + "keywords": [ + "shield", + "cat" + ] + }, + { + "value": "shield-dog", + "keywords": [ + "shield", + "dog" + ] + }, + { + "value": "shield-halved", + "keywords": [ + "shield", + "halved" + ] + }, + { + "value": "shield-heart", + "keywords": [ + "shield", + "heart" + ] + }, + { + "value": "shield-virus", + "keywords": [ + "shield", + "virus" + ] + }, + { + "value": "ship" + }, + { + "value": "shirt" + }, + { + "value": "shoe-prints", + "keywords": [ + "shoe", + "prints" + ] + }, + { + "value": "shop" + }, + { + "value": "shop-lock", + "keywords": [ + "shop", + "lock" + ] + }, + { + "value": "shop-slash", + "keywords": [ + "shop", + "slash" + ] + }, + { + "value": "shower" + }, + { + "value": "shrimp" + }, + { + "value": "shuffle" + }, + { + "value": "shuttle-space", + "keywords": [ + "shuttle", + "space" + ] + }, + { + "value": "sign-hanging", + "keywords": [ + "sign", + "hanging" + ] + }, + { + "value": "signal" + }, + { + "value": "signature" + }, + { + "value": "signs-post", + "keywords": [ + "signs", + "post" + ] + }, + { + "value": "sim-card", + "keywords": [ + "sim", + "card" + ] + }, + { + "value": "sink" + }, + { + "value": "sitemap" + }, + { + "value": "skull" + }, + { + "value": "skull-crossbones", + "keywords": [ + "skull", + "crossbones" + ] + }, + { + "value": "slash" + }, + { + "value": "sleigh" + }, + { + "value": "sliders" + }, + { + "value": "smog" + }, + { + "value": "smoking" + }, + { + "value": "snowflake" + }, + { + "value": "snowman" + }, + { + "value": "snowplow" + }, + { + "value": "soap" + }, + { + "value": "socks" + }, + { + "value": "solar-panel", + "keywords": [ + "solar", + "panel" + ] + }, + { + "value": "sort" + }, + { + "value": "sort-down", + "keywords": [ + "sort", + "down" + ] + }, + { + "value": "sort-up", + "keywords": [ + "sort", + "up" + ] + }, + { + "value": "spa" + }, + { + "value": "spaghetti-monster-flying", + "keywords": [ + "spaghetti", + "monster", + "flying" + ] + }, + { + "value": "spell-check", + "keywords": [ + "spell", + "check" + ] + }, + { + "value": "spider" + }, + { + "value": "spinner" + }, + { + "value": "splotch" + }, + { + "value": "spoon" + }, + { + "value": "spray-can", + "keywords": [ + "spray", + "can" + ] + }, + { + "value": "spray-can-sparkles", + "keywords": [ + "spray", + "can", + "sparkles" + ] + }, + { + "value": "square" + }, + { + "value": "square-arrow-up-right", + "keywords": [ + "square", + "arrow", + "up", + "right" + ] + }, + { + "value": "square-caret-down", + "keywords": [ + "square", + "caret", + "down" + ] + }, + { + "value": "square-caret-left", + "keywords": [ + "square", + "caret", + "left" + ] + }, + { + "value": "square-caret-right", + "keywords": [ + "square", + "caret", + "right" + ] + }, + { + "value": "square-caret-up", + "keywords": [ + "square", + "caret", + "up" + ] + }, + { + "value": "square-check", + "keywords": [ + "square", + "check" + ] + }, + { + "value": "square-envelope", + "keywords": [ + "square", + "envelope" + ] + }, + { + "value": "square-full", + "keywords": [ + "square", + "full" + ] + }, + { + "value": "square-h" + }, + { + "value": "square-minus", + "keywords": [ + "square", + "minus" + ] + }, + { + "value": "square-nfi", + "keywords": [ + "square", + "nfi" + ] + }, + { + "value": "square-parking", + "keywords": [ + "square", + "parking" + ] + }, + { + "value": "square-pen", + "keywords": [ + "square", + "pen" + ] + }, + { + "value": "square-person-confined", + "keywords": [ + "square", + "person", + "confined" + ] + }, + { + "value": "square-phone", + "keywords": [ + "square", + "phone" + ] + }, + { + "value": "square-phone-flip", + "keywords": [ + "square", + "phone", + "flip" + ] + }, + { + "value": "square-plus", + "keywords": [ + "square", + "plus" + ] + }, + { + "value": "square-poll-horizontal", + "keywords": [ + "square", + "poll", + "horizontal" + ] + }, + { + "value": "square-poll-vertical", + "keywords": [ + "square", + "poll", + "vertical" + ] + }, + { + "value": "square-root-variable", + "keywords": [ + "square", + "root", + "variable" + ] + }, + { + "value": "square-rss", + "keywords": [ + "square", + "rss" + ] + }, + { + "value": "square-share-nodes", + "keywords": [ + "square", + "share", + "nodes" + ] + }, + { + "value": "square-up-right", + "keywords": [ + "square", + "up", + "right" + ] + }, + { + "value": "square-virus", + "keywords": [ + "square", + "virus" + ] + }, + { + "value": "square-xmark", + "keywords": [ + "square", + "xmark" + ] + }, + { + "value": "staff-snake", + "keywords": [ + "staff", + "snake" + ] + }, + { + "value": "stairs" + }, + { + "value": "stamp" + }, + { + "value": "stapler" + }, + { + "value": "star" + }, + { + "value": "star-and-crescent", + "keywords": [ + "star", + "and", + "crescent" + ] + }, + { + "value": "star-half", + "keywords": [ + "star", + "half" + ] + }, + { + "value": "star-half-stroke", + "keywords": [ + "star", + "half", + "stroke" + ] + }, + { + "value": "star-of-david", + "keywords": [ + "star", + "of", + "david" + ] + }, + { + "value": "star-of-life", + "keywords": [ + "star", + "of", + "life" + ] + }, + { + "value": "sterling-sign", + "keywords": [ + "sterling", + "sign" + ] + }, + { + "value": "stethoscope" + }, + { + "value": "stop" + }, + { + "value": "stopwatch" + }, + { + "value": "stopwatch-20", + "keywords": [ + "stopwatch", + "20" + ] + }, + { + "value": "store" + }, + { + "value": "store-slash", + "keywords": [ + "store", + "slash" + ] + }, + { + "value": "street-view", + "keywords": [ + "street", + "view" + ] + }, + { + "value": "strikethrough" + }, + { + "value": "stroopwafel" + }, + { + "value": "subscript" + }, + { + "value": "suitcase" + }, + { + "value": "suitcase-medical", + "keywords": [ + "suitcase", + "medical" + ] + }, + { + "value": "suitcase-rolling", + "keywords": [ + "suitcase", + "rolling" + ] + }, + { + "value": "sun" + }, + { + "value": "sun-plant-wilt", + "keywords": [ + "sun", + "plant", + "wilt" + ] + }, + { + "value": "superscript" + }, + { + "value": "swatchbook" + }, + { + "value": "synagogue" + }, + { + "value": "syringe" + }, + { + "value": "t" + }, + { + "value": "table" + }, + { + "value": "table-cells", + "keywords": [ + "table", + "cells" + ] + }, + { + "value": "table-cells-large", + "keywords": [ + "table", + "cells", + "large" + ] + }, + { + "value": "table-columns", + "keywords": [ + "table", + "columns" + ] + }, + { + "value": "table-list", + "keywords": [ + "table", + "list" + ] + }, + { + "value": "table-tennis-paddle-ball", + "keywords": [ + "table", + "tennis", + "paddle", + "ball" + ] + }, + { + "value": "tablet" + }, + { + "value": "tablet-button", + "keywords": [ + "tablet", + "button" + ] + }, + { + "value": "tablet-screen-button", + "keywords": [ + "tablet", + "screen", + "button" + ] + }, + { + "value": "tablets" + }, + { + "value": "tachograph-digital", + "keywords": [ + "tachograph", + "digital" + ] + }, + { + "value": "tag" + }, + { + "value": "tags" + }, + { + "value": "tape" + }, + { + "value": "tarp" + }, + { + "value": "tarp-droplet", + "keywords": [ + "tarp", + "droplet" + ] + }, + { + "value": "taxi" + }, + { + "value": "teeth" + }, + { + "value": "teeth-open", + "keywords": [ + "teeth", + "open" + ] + }, + { + "value": "temperature-arrow-down", + "keywords": [ + "temperature", + "arrow", + "down" + ] + }, + { + "value": "temperature-arrow-up", + "keywords": [ + "temperature", + "arrow", + "up" + ] + }, + { + "value": "temperature-empty", + "keywords": [ + "temperature", + "empty" + ] + }, + { + "value": "temperature-full", + "keywords": [ + "temperature", + "full" + ] + }, + { + "value": "temperature-half", + "keywords": [ + "temperature", + "half" + ] + }, + { + "value": "temperature-high", + "keywords": [ + "temperature", + "high" + ] + }, + { + "value": "temperature-low", + "keywords": [ + "temperature", + "low" + ] + }, + { + "value": "temperature-quarter", + "keywords": [ + "temperature", + "quarter" + ] + }, + { + "value": "temperature-three-quarters", + "keywords": [ + "temperature", + "three", + "quarters" + ] + }, + { + "value": "tenge-sign", + "keywords": [ + "tenge", + "sign" + ] + }, + { + "value": "tent" + }, + { + "value": "tent-arrow-down-to-line", + "keywords": [ + "tent", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "tent-arrow-left-right", + "keywords": [ + "tent", + "arrow", + "left", + "right" + ] + }, + { + "value": "tent-arrow-turn-left", + "keywords": [ + "tent", + "arrow", + "turn", + "left" + ] + }, + { + "value": "tent-arrows-down", + "keywords": [ + "tent", + "arrows", + "down" + ] + }, + { + "value": "tents" + }, + { + "value": "terminal" + }, + { + "value": "text-height", + "keywords": [ + "text", + "height" + ] + }, + { + "value": "text-slash", + "keywords": [ + "text", + "slash" + ] + }, + { + "value": "text-width", + "keywords": [ + "text", + "width" + ] + }, + { + "value": "thermometer" + }, + { + "value": "thumbs-down", + "keywords": [ + "thumbs", + "down" + ] + }, + { + "value": "thumbs-up", + "keywords": [ + "thumbs", + "up" + ] + }, + { + "value": "thumbtack" + }, + { + "value": "ticket" + }, + { + "value": "ticket-simple", + "keywords": [ + "ticket", + "simple" + ] + }, + { + "value": "timeline" + }, + { + "value": "toggle-off", + "keywords": [ + "toggle", + "off" + ] + }, + { + "value": "toggle-on", + "keywords": [ + "toggle", + "on" + ] + }, + { + "value": "toilet" + }, + { + "value": "toilet-paper", + "keywords": [ + "toilet", + "paper" + ] + }, + { + "value": "toilet-paper-slash", + "keywords": [ + "toilet", + "paper", + "slash" + ] + }, + { + "value": "toilet-portable", + "keywords": [ + "toilet", + "portable" + ] + }, + { + "value": "toilets-portable", + "keywords": [ + "toilets", + "portable" + ] + }, + { + "value": "toolbox" + }, + { + "value": "tooth" + }, + { + "value": "torii-gate", + "keywords": [ + "torii", + "gate" + ] + }, + { + "value": "tornado" + }, + { + "value": "tower-broadcast", + "keywords": [ + "tower", + "broadcast" + ] + }, + { + "value": "tower-cell", + "keywords": [ + "tower", + "cell" + ] + }, + { + "value": "tower-observation", + "keywords": [ + "tower", + "observation" + ] + }, + { + "value": "tractor" + }, + { + "value": "trademark" + }, + { + "value": "traffic-light", + "keywords": [ + "traffic", + "light" + ] + }, + { + "value": "trailer" + }, + { + "value": "train" + }, + { + "value": "train-subway", + "keywords": [ + "train", + "subway" + ] + }, + { + "value": "train-tram", + "keywords": [ + "train", + "tram" + ] + }, + { + "value": "transgender" + }, + { + "value": "trash" + }, + { + "value": "trash-arrow-up", + "keywords": [ + "trash", + "arrow", + "up" + ] + }, + { + "value": "trash-can", + "keywords": [ + "trash", + "can" + ] + }, + { + "value": "trash-can-arrow-up", + "keywords": [ + "trash", + "can", + "arrow", + "up" + ] + }, + { + "value": "tree" + }, + { + "value": "tree-city", + "keywords": [ + "tree", + "city" + ] + }, + { + "value": "triangle-exclamation", + "keywords": [ + "triangle", + "exclamation" + ] + }, + { + "value": "trophy" + }, + { + "value": "trowel" + }, + { + "value": "trowel-bricks", + "keywords": [ + "trowel", + "bricks" + ] + }, + { + "value": "truck" + }, + { + "value": "truck-arrow-right", + "keywords": [ + "truck", + "arrow", + "right" + ] + }, + { + "value": "truck-droplet", + "keywords": [ + "truck", + "droplet" + ] + }, + { + "value": "truck-fast", + "keywords": [ + "truck", + "fast" + ] + }, + { + "value": "truck-field", + "keywords": [ + "truck", + "field" + ] + }, + { + "value": "truck-field-un", + "keywords": [ + "truck", + "field", + "un" + ] + }, + { + "value": "truck-front", + "keywords": [ + "truck", + "front" + ] + }, + { + "value": "truck-medical", + "keywords": [ + "truck", + "medical" + ] + }, + { + "value": "truck-monster", + "keywords": [ + "truck", + "monster" + ] + }, + { + "value": "truck-moving", + "keywords": [ + "truck", + "moving" + ] + }, + { + "value": "truck-pickup", + "keywords": [ + "truck", + "pickup" + ] + }, + { + "value": "truck-plane", + "keywords": [ + "truck", + "plane" + ] + }, + { + "value": "truck-ramp-box", + "keywords": [ + "truck", + "ramp", + "box" + ] + }, + { + "value": "tty" + }, + { + "value": "turkish-lira-sign", + "keywords": [ + "turkish", + "lira", + "sign" + ] + }, + { + "value": "turn-down", + "keywords": [ + "turn", + "down" + ] + }, + { + "value": "turn-up", + "keywords": [ + "turn", + "up" + ] + }, + { + "value": "tv" + }, + { + "value": "u" + }, + { + "value": "umbrella" + }, + { + "value": "umbrella-beach", + "keywords": [ + "umbrella", + "beach" + ] + }, + { + "value": "underline" + }, + { + "value": "universal-access", + "keywords": [ + "universal", + "access" + ] + }, + { + "value": "unlock" + }, + { + "value": "unlock-keyhole", + "keywords": [ + "unlock", + "keyhole" + ] + }, + { + "value": "up-down", + "keywords": [ + "up", + "down" + ] + }, + { + "value": "up-down-left-right", + "keywords": [ + "up", + "down", + "left", + "right" + ] + }, + { + "value": "up-long", + "keywords": [ + "up", + "long" + ] + }, + { + "value": "up-right-and-down-left-from-center", + "keywords": [ + "up", + "right", + "and", + "down", + "left", + "from", + "center" + ] + }, + { + "value": "up-right-from-square", + "keywords": [ + "up", + "right", + "from", + "square" + ] + }, + { + "value": "upload" + }, + { + "value": "user" + }, + { + "value": "user-astronaut", + "keywords": [ + "user", + "astronaut" + ] + }, + { + "value": "user-check", + "keywords": [ + "user", + "check" + ] + }, + { + "value": "user-clock", + "keywords": [ + "user", + "clock" + ] + }, + { + "value": "user-doctor", + "keywords": [ + "user", + "doctor" + ] + }, + { + "value": "user-gear", + "keywords": [ + "user", + "gear" + ] + }, + { + "value": "user-graduate", + "keywords": [ + "user", + "graduate" + ] + }, + { + "value": "user-group", + "keywords": [ + "user", + "group" + ] + }, + { + "value": "user-injured", + "keywords": [ + "user", + "injured" + ] + }, + { + "value": "user-large", + "keywords": [ + "user", + "large" + ] + }, + { + "value": "user-large-slash", + "keywords": [ + "user", + "large", + "slash" + ] + }, + { + "value": "user-lock", + "keywords": [ + "user", + "lock" + ] + }, + { + "value": "user-minus", + "keywords": [ + "user", + "minus" + ] + }, + { + "value": "user-ninja", + "keywords": [ + "user", + "ninja" + ] + }, + { + "value": "user-nurse", + "keywords": [ + "user", + "nurse" + ] + }, + { + "value": "user-pen", + "keywords": [ + "user", + "pen" + ] + }, + { + "value": "user-plus", + "keywords": [ + "user", + "plus" + ] + }, + { + "value": "user-secret", + "keywords": [ + "user", + "secret" + ] + }, + { + "value": "user-shield", + "keywords": [ + "user", + "shield" + ] + }, + { + "value": "user-slash", + "keywords": [ + "user", + "slash" + ] + }, + { + "value": "user-tag", + "keywords": [ + "user", + "tag" + ] + }, + { + "value": "user-tie", + "keywords": [ + "user", + "tie" + ] + }, + { + "value": "user-xmark", + "keywords": [ + "user", + "xmark" + ] + }, + { + "value": "users" + }, + { + "value": "users-between-lines", + "keywords": [ + "users", + "between", + "lines" + ] + }, + { + "value": "users-gear", + "keywords": [ + "users", + "gear" + ] + }, + { + "value": "users-line", + "keywords": [ + "users", + "line" + ] + }, + { + "value": "users-rays", + "keywords": [ + "users", + "rays" + ] + }, + { + "value": "users-rectangle", + "keywords": [ + "users", + "rectangle" + ] + }, + { + "value": "users-slash", + "keywords": [ + "users", + "slash" + ] + }, + { + "value": "users-viewfinder", + "keywords": [ + "users", + "viewfinder" + ] + }, + { + "value": "utensils" + }, + { + "value": "v" + }, + { + "value": "van-shuttle", + "keywords": [ + "van", + "shuttle" + ] + }, + { + "value": "vault" + }, + { + "value": "vector-square", + "keywords": [ + "vector", + "square" + ] + }, + { + "value": "venus" + }, + { + "value": "venus-double", + "keywords": [ + "venus", + "double" + ] + }, + { + "value": "venus-mars", + "keywords": [ + "venus", + "mars" + ] + }, + { + "value": "vest" + }, + { + "value": "vest-patches", + "keywords": [ + "vest", + "patches" + ] + }, + { + "value": "vial" + }, + { + "value": "vial-circle-check", + "keywords": [ + "vial", + "circle", + "check" + ] + }, + { + "value": "vial-virus", + "keywords": [ + "vial", + "virus" + ] + }, + { + "value": "vials" + }, + { + "value": "video" + }, + { + "value": "video-slash", + "keywords": [ + "video", + "slash" + ] + }, + { + "value": "vihara" + }, + { + "value": "virus" + }, + { + "value": "virus-covid", + "keywords": [ + "virus", + "covid" + ] + }, + { + "value": "virus-covid-slash", + "keywords": [ + "virus", + "covid", + "slash" + ] + }, + { + "value": "virus-slash", + "keywords": [ + "virus", + "slash" + ] + }, + { + "value": "viruses" + }, + { + "value": "voicemail" + }, + { + "value": "volcano" + }, + { + "value": "volleyball" + }, + { + "value": "volume-high", + "keywords": [ + "volume", + "high" + ] + }, + { + "value": "volume-low", + "keywords": [ + "volume", + "low" + ] + }, + { + "value": "volume-off", + "keywords": [ + "volume", + "off" + ] + }, + { + "value": "volume-xmark", + "keywords": [ + "volume", + "xmark" + ] + }, + { + "value": "vr-cardboard", + "keywords": [ + "vr", + "cardboard" + ] + }, + { + "value": "w" + }, + { + "value": "walkie-talkie", + "keywords": [ + "walkie", + "talkie" + ] + }, + { + "value": "wallet" + }, + { + "value": "wand-magic", + "keywords": [ + "wand", + "magic" + ] + }, + { + "value": "wand-magic-sparkles", + "keywords": [ + "wand", + "magic", + "sparkles" + ] + }, + { + "value": "wand-sparkles", + "keywords": [ + "wand", + "sparkles" + ] + }, + { + "value": "warehouse" + }, + { + "value": "water" + }, + { + "value": "water-ladder", + "keywords": [ + "water", + "ladder" + ] + }, + { + "value": "wave-square", + "keywords": [ + "wave", + "square" + ] + }, + { + "value": "weight-hanging", + "keywords": [ + "weight", + "hanging" + ] + }, + { + "value": "weight-scale", + "keywords": [ + "weight", + "scale" + ] + }, + { + "value": "wheat-awn", + "keywords": [ + "wheat", + "awn" + ] + }, + { + "value": "wheat-awn-circle-exclamation", + "keywords": [ + "wheat", + "awn", + "circle", + "exclamation" + ] + }, + { + "value": "wheelchair" + }, + { + "value": "wheelchair-move", + "keywords": [ + "wheelchair", + "move" + ] + }, + { + "value": "whiskey-glass", + "keywords": [ + "whiskey", + "glass" + ] + }, + { + "value": "wifi" + }, + { + "value": "wind" + }, + { + "value": "window-maximize", + "keywords": [ + "window", + "maximize" + ] + }, + { + "value": "window-minimize", + "keywords": [ + "window", + "minimize" + ] + }, + { + "value": "window-restore", + "keywords": [ + "window", + "restore" + ] + }, + { + "value": "wine-bottle", + "keywords": [ + "wine", + "bottle" + ] + }, + { + "value": "wine-glass", + "keywords": [ + "wine", + "glass" + ] + }, + { + "value": "wine-glass-empty", + "keywords": [ + "wine", + "glass", + "empty" + ] + }, + { + "value": "won-sign", + "keywords": [ + "won", + "sign" + ] + }, + { + "value": "worm" + }, + { + "value": "wrench" + }, + { + "value": "x" + }, + { + "value": "x-ray" + }, + { + "value": "xmark" + }, + { + "value": "xmarks-lines", + "keywords": [ + "xmarks", + "lines" + ] + }, + { + "value": "y" + }, + { + "value": "yen-sign", + "keywords": [ + "yen", + "sign" + ] + }, + { + "value": "yin-yang", + "keywords": [ + "yin", + "yang" + ] + }, + { + "value": "z" + } + ] + }, + "ibLabel": { + "label": "$t:editor.control.ib_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "ibVariant": { + "label": "$t:editor.control.ib_variant.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "variant" + }, + "options": [ + { + "value": "primary", + "label": "$t:editor.control.ib_variant.primary" + }, + { + "value": "secondary", + "label": "$t:editor.control.ib_variant.secondary" + }, + { + "value": "danger", + "label": "$t:editor.control.ib_variant.danger" + }, + { + "value": "ghost", + "label": "$t:editor.control.ib_variant.ghost" + } + ] + }, + "ibSize": { + "label": "$t:editor.control.ib_size.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "size" + }, + "options": [ + { + "value": "sm", + "label": "$t:editor.control.ib_size.sm" + }, + { + "value": "md", + "label": "$t:editor.control.ib_size.md" + }, + { + "value": "lg", + "label": "$t:editor.control.ib_size.lg" + } + ] + }, + "ibDisabled": { + "label": "$t:editor.control.ib_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "ddLabel": { + "label": "$t:editor.control.dd_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "ddPosition": { + "label": "$t:editor.control.dd_position.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "position" + }, + "options": [ + { + "value": "bottom-left", + "label": "$t:editor.control.dd_position.bottom-left" + }, + { + "value": "bottom-right", + "label": "$t:editor.control.dd_position.bottom-right" + }, + { + "value": "top-left", + "label": "$t:editor.control.dd_position.top-left" + }, + { + "value": "top-right", + "label": "$t:editor.control.dd_position.top-right" + } + ] + }, + "ddVariant": { + "label": "$t:editor.control.dd_variant.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "variant" + }, + "options": [ + { + "value": "default", + "label": "$t:editor.control.dd_variant.default" + }, + { + "value": "text", + "label": "$t:editor.control.dd_variant.text" + } + ] + }, + "amTriggerLabel": { + "label": "$t:editor.control.am_trigger_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "triggerLabel" + } + }, + "amTriggerIcon": { + "label": "$t:editor.control.am_trigger_icon.label", + "widget": "icon-picker", + "apply": { + "type": "propValue", + "propKey": "triggerIconName" + }, + "iconColumns": 8, + "icons": [ + { + "value": "0" + }, + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + }, + { + "value": "4" + }, + { + "value": "5" + }, + { + "value": "6" + }, + { + "value": "7" + }, + { + "value": "8" + }, + { + "value": "9" + }, + { + "value": "a" + }, + { + "value": "address-book", + "keywords": [ + "address", + "book" + ] + }, + { + "value": "address-card", + "keywords": [ + "address", + "card" + ] + }, + { + "value": "align-center", + "keywords": [ + "align", + "center" + ] + }, + { + "value": "align-justify", + "keywords": [ + "align", + "justify" + ] + }, + { + "value": "align-left", + "keywords": [ + "align", + "left" + ] + }, + { + "value": "align-right", + "keywords": [ + "align", + "right" + ] + }, + { + "value": "anchor" + }, + { + "value": "anchor-circle-check", + "keywords": [ + "anchor", + "circle", + "check" + ] + }, + { + "value": "anchor-circle-exclamation", + "keywords": [ + "anchor", + "circle", + "exclamation" + ] + }, + { + "value": "anchor-circle-xmark", + "keywords": [ + "anchor", + "circle", + "xmark" + ] + }, + { + "value": "anchor-lock", + "keywords": [ + "anchor", + "lock" + ] + }, + { + "value": "angle-down", + "keywords": [ + "angle", + "down" + ] + }, + { + "value": "angle-left", + "keywords": [ + "angle", + "left" + ] + }, + { + "value": "angle-right", + "keywords": [ + "angle", + "right" + ] + }, + { + "value": "angle-up", + "keywords": [ + "angle", + "up" + ] + }, + { + "value": "angles-down", + "keywords": [ + "angles", + "down" + ] + }, + { + "value": "angles-left", + "keywords": [ + "angles", + "left" + ] + }, + { + "value": "angles-right", + "keywords": [ + "angles", + "right" + ] + }, + { + "value": "angles-up", + "keywords": [ + "angles", + "up" + ] + }, + { + "value": "ankh" + }, + { + "value": "apple-whole", + "keywords": [ + "apple", + "whole" + ] + }, + { + "value": "archway" + }, + { + "value": "arrow-down", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-1-9", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-9-1", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-a-z", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-long", + "keywords": [ + "arrow", + "down", + "long" + ] + }, + { + "value": "arrow-down-short-wide", + "keywords": [ + "arrow", + "down", + "short", + "wide" + ] + }, + { + "value": "arrow-down-up-across-line", + "keywords": [ + "arrow", + "down", + "up", + "across", + "line" + ] + }, + { + "value": "arrow-down-up-lock", + "keywords": [ + "arrow", + "down", + "up", + "lock" + ] + }, + { + "value": "arrow-down-wide-short", + "keywords": [ + "arrow", + "down", + "wide", + "short" + ] + }, + { + "value": "arrow-down-z-a", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-left", + "keywords": [ + "arrow", + "left" + ] + }, + { + "value": "arrow-left-long", + "keywords": [ + "arrow", + "left", + "long" + ] + }, + { + "value": "arrow-pointer", + "keywords": [ + "arrow", + "pointer" + ] + }, + { + "value": "arrow-right", + "keywords": [ + "arrow", + "right" + ] + }, + { + "value": "arrow-right-arrow-left", + "keywords": [ + "arrow", + "right", + "arrow", + "left" + ] + }, + { + "value": "arrow-right-from-bracket", + "keywords": [ + "arrow", + "right", + "from", + "bracket" + ] + }, + { + "value": "arrow-right-long", + "keywords": [ + "arrow", + "right", + "long" + ] + }, + { + "value": "arrow-right-to-bracket", + "keywords": [ + "arrow", + "right", + "to", + "bracket" + ] + }, + { + "value": "arrow-right-to-city", + "keywords": [ + "arrow", + "right", + "to", + "city" + ] + }, + { + "value": "arrow-rotate-left", + "keywords": [ + "arrow", + "rotate", + "left" + ] + }, + { + "value": "arrow-rotate-right", + "keywords": [ + "arrow", + "rotate", + "right" + ] + }, + { + "value": "arrow-trend-down", + "keywords": [ + "arrow", + "trend", + "down" + ] + }, + { + "value": "arrow-trend-up", + "keywords": [ + "arrow", + "trend", + "up" + ] + }, + { + "value": "arrow-turn-down", + "keywords": [ + "arrow", + "turn", + "down" + ] + }, + { + "value": "arrow-turn-up", + "keywords": [ + "arrow", + "turn", + "up" + ] + }, + { + "value": "arrow-up", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-1-9", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-9-1", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-a-z", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-from-bracket", + "keywords": [ + "arrow", + "up", + "from", + "bracket" + ] + }, + { + "value": "arrow-up-from-ground-water", + "keywords": [ + "arrow", + "up", + "from", + "ground", + "water" + ] + }, + { + "value": "arrow-up-from-water-pump", + "keywords": [ + "arrow", + "up", + "from", + "water", + "pump" + ] + }, + { + "value": "arrow-up-long", + "keywords": [ + "arrow", + "up", + "long" + ] + }, + { + "value": "arrow-up-right-dots", + "keywords": [ + "arrow", + "up", + "right", + "dots" + ] + }, + { + "value": "arrow-up-right-from-square", + "keywords": [ + "arrow", + "up", + "right", + "from", + "square" + ] + }, + { + "value": "arrow-up-short-wide", + "keywords": [ + "arrow", + "up", + "short", + "wide" + ] + }, + { + "value": "arrow-up-wide-short", + "keywords": [ + "arrow", + "up", + "wide", + "short" + ] + }, + { + "value": "arrow-up-z-a", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrows-down-to-line", + "keywords": [ + "arrows", + "down", + "to", + "line" + ] + }, + { + "value": "arrows-down-to-people", + "keywords": [ + "arrows", + "down", + "to", + "people" + ] + }, + { + "value": "arrows-left-right", + "keywords": [ + "arrows", + "left", + "right" + ] + }, + { + "value": "arrows-left-right-to-line", + "keywords": [ + "arrows", + "left", + "right", + "to", + "line" + ] + }, + { + "value": "arrows-rotate", + "keywords": [ + "arrows", + "rotate" + ] + }, + { + "value": "arrows-spin", + "keywords": [ + "arrows", + "spin" + ] + }, + { + "value": "arrows-split-up-and-left", + "keywords": [ + "arrows", + "split", + "up", + "and", + "left" + ] + }, + { + "value": "arrows-to-circle", + "keywords": [ + "arrows", + "to", + "circle" + ] + }, + { + "value": "arrows-to-dot", + "keywords": [ + "arrows", + "to", + "dot" + ] + }, + { + "value": "arrows-to-eye", + "keywords": [ + "arrows", + "to", + "eye" + ] + }, + { + "value": "arrows-turn-right", + "keywords": [ + "arrows", + "turn", + "right" + ] + }, + { + "value": "arrows-turn-to-dots", + "keywords": [ + "arrows", + "turn", + "to", + "dots" + ] + }, + { + "value": "arrows-up-down", + "keywords": [ + "arrows", + "up", + "down" + ] + }, + { + "value": "arrows-up-down-left-right", + "keywords": [ + "arrows", + "up", + "down", + "left", + "right" + ] + }, + { + "value": "arrows-up-to-line", + "keywords": [ + "arrows", + "up", + "to", + "line" + ] + }, + { + "value": "asterisk" + }, + { + "value": "at" + }, + { + "value": "atom" + }, + { + "value": "audio-description", + "keywords": [ + "audio", + "description" + ] + }, + { + "value": "austral-sign", + "keywords": [ + "austral", + "sign" + ] + }, + { + "value": "award" + }, + { + "value": "b" + }, + { + "value": "baby" + }, + { + "value": "baby-carriage", + "keywords": [ + "baby", + "carriage" + ] + }, + { + "value": "backward" + }, + { + "value": "backward-fast", + "keywords": [ + "backward", + "fast" + ] + }, + { + "value": "backward-step", + "keywords": [ + "backward", + "step" + ] + }, + { + "value": "bacon" + }, + { + "value": "bacteria" + }, + { + "value": "bacterium" + }, + { + "value": "bag-shopping", + "keywords": [ + "bag", + "shopping" + ] + }, + { + "value": "bahai" + }, + { + "value": "baht-sign", + "keywords": [ + "baht", + "sign" + ] + }, + { + "value": "ban" + }, + { + "value": "ban-smoking", + "keywords": [ + "ban", + "smoking" + ] + }, + { + "value": "bandage" + }, + { + "value": "bangladeshi-taka-sign", + "keywords": [ + "bangladeshi", + "taka", + "sign" + ] + }, + { + "value": "barcode" + }, + { + "value": "bars" + }, + { + "value": "bars-progress", + "keywords": [ + "bars", + "progress" + ] + }, + { + "value": "bars-staggered", + "keywords": [ + "bars", + "staggered" + ] + }, + { + "value": "baseball" + }, + { + "value": "baseball-bat-ball", + "keywords": [ + "baseball", + "bat", + "ball" + ] + }, + { + "value": "basket-shopping", + "keywords": [ + "basket", + "shopping" + ] + }, + { + "value": "basketball" + }, + { + "value": "bath" + }, + { + "value": "battery-empty", + "keywords": [ + "battery", + "empty" + ] + }, + { + "value": "battery-full", + "keywords": [ + "battery", + "full" + ] + }, + { + "value": "battery-half", + "keywords": [ + "battery", + "half" + ] + }, + { + "value": "battery-quarter", + "keywords": [ + "battery", + "quarter" + ] + }, + { + "value": "battery-three-quarters", + "keywords": [ + "battery", + "three", + "quarters" + ] + }, + { + "value": "bed" + }, + { + "value": "bed-pulse", + "keywords": [ + "bed", + "pulse" + ] + }, + { + "value": "beer-mug-empty", + "keywords": [ + "beer", + "mug", + "empty" + ] + }, + { + "value": "bell" + }, + { + "value": "bell-concierge", + "keywords": [ + "bell", + "concierge" + ] + }, + { + "value": "bell-slash", + "keywords": [ + "bell", + "slash" + ] + }, + { + "value": "bezier-curve", + "keywords": [ + "bezier", + "curve" + ] + }, + { + "value": "bicycle" + }, + { + "value": "binoculars" + }, + { + "value": "biohazard" + }, + { + "value": "bitcoin-sign", + "keywords": [ + "bitcoin", + "sign" + ] + }, + { + "value": "blender" + }, + { + "value": "blender-phone", + "keywords": [ + "blender", + "phone" + ] + }, + { + "value": "blog" + }, + { + "value": "bold" + }, + { + "value": "bolt" + }, + { + "value": "bolt-lightning", + "keywords": [ + "bolt", + "lightning" + ] + }, + { + "value": "bomb" + }, + { + "value": "bone" + }, + { + "value": "bong" + }, + { + "value": "book" + }, + { + "value": "book-atlas", + "keywords": [ + "book", + "atlas" + ] + }, + { + "value": "book-bible", + "keywords": [ + "book", + "bible" + ] + }, + { + "value": "book-bookmark", + "keywords": [ + "book", + "bookmark" + ] + }, + { + "value": "book-journal-whills", + "keywords": [ + "book", + "journal", + "whills" + ] + }, + { + "value": "book-medical", + "keywords": [ + "book", + "medical" + ] + }, + { + "value": "book-open", + "keywords": [ + "book", + "open" + ] + }, + { + "value": "book-open-reader", + "keywords": [ + "book", + "open", + "reader" + ] + }, + { + "value": "book-quran", + "keywords": [ + "book", + "quran" + ] + }, + { + "value": "book-skull", + "keywords": [ + "book", + "skull" + ] + }, + { + "value": "book-tanakh", + "keywords": [ + "book", + "tanakh" + ] + }, + { + "value": "bookmark" + }, + { + "value": "border-all", + "keywords": [ + "border", + "all" + ] + }, + { + "value": "border-none", + "keywords": [ + "border", + "none" + ] + }, + { + "value": "border-top-left", + "keywords": [ + "border", + "top", + "left" + ] + }, + { + "value": "bore-hole", + "keywords": [ + "bore", + "hole" + ] + }, + { + "value": "bottle-droplet", + "keywords": [ + "bottle", + "droplet" + ] + }, + { + "value": "bottle-water", + "keywords": [ + "bottle", + "water" + ] + }, + { + "value": "bowl-food", + "keywords": [ + "bowl", + "food" + ] + }, + { + "value": "bowl-rice", + "keywords": [ + "bowl", + "rice" + ] + }, + { + "value": "bowling-ball", + "keywords": [ + "bowling", + "ball" + ] + }, + { + "value": "box" + }, + { + "value": "box-archive", + "keywords": [ + "box", + "archive" + ] + }, + { + "value": "box-open", + "keywords": [ + "box", + "open" + ] + }, + { + "value": "box-tissue", + "keywords": [ + "box", + "tissue" + ] + }, + { + "value": "boxes-packing", + "keywords": [ + "boxes", + "packing" + ] + }, + { + "value": "boxes-stacked", + "keywords": [ + "boxes", + "stacked" + ] + }, + { + "value": "braille" + }, + { + "value": "brain" + }, + { + "value": "brazilian-real-sign", + "keywords": [ + "brazilian", + "real", + "sign" + ] + }, + { + "value": "bread-slice", + "keywords": [ + "bread", + "slice" + ] + }, + { + "value": "bridge" + }, + { + "value": "bridge-circle-check", + "keywords": [ + "bridge", + "circle", + "check" + ] + }, + { + "value": "bridge-circle-exclamation", + "keywords": [ + "bridge", + "circle", + "exclamation" + ] + }, + { + "value": "bridge-circle-xmark", + "keywords": [ + "bridge", + "circle", + "xmark" + ] + }, + { + "value": "bridge-lock", + "keywords": [ + "bridge", + "lock" + ] + }, + { + "value": "bridge-water", + "keywords": [ + "bridge", + "water" + ] + }, + { + "value": "briefcase" + }, + { + "value": "briefcase-medical", + "keywords": [ + "briefcase", + "medical" + ] + }, + { + "value": "broom" + }, + { + "value": "broom-ball", + "keywords": [ + "broom", + "ball" + ] + }, + { + "value": "brush" + }, + { + "value": "bucket" + }, + { + "value": "bug" + }, + { + "value": "bug-slash", + "keywords": [ + "bug", + "slash" + ] + }, + { + "value": "bugs" + }, + { + "value": "building" + }, + { + "value": "building-circle-arrow-right", + "keywords": [ + "building", + "circle", + "arrow", + "right" + ] + }, + { + "value": "building-circle-check", + "keywords": [ + "building", + "circle", + "check" + ] + }, + { + "value": "building-circle-exclamation", + "keywords": [ + "building", + "circle", + "exclamation" + ] + }, + { + "value": "building-circle-xmark", + "keywords": [ + "building", + "circle", + "xmark" + ] + }, + { + "value": "building-columns", + "keywords": [ + "building", + "columns" + ] + }, + { + "value": "building-flag", + "keywords": [ + "building", + "flag" + ] + }, + { + "value": "building-lock", + "keywords": [ + "building", + "lock" + ] + }, + { + "value": "building-ngo", + "keywords": [ + "building", + "ngo" + ] + }, + { + "value": "building-shield", + "keywords": [ + "building", + "shield" + ] + }, + { + "value": "building-un", + "keywords": [ + "building", + "un" + ] + }, + { + "value": "building-user", + "keywords": [ + "building", + "user" + ] + }, + { + "value": "building-wheat", + "keywords": [ + "building", + "wheat" + ] + }, + { + "value": "bullhorn" + }, + { + "value": "bullseye" + }, + { + "value": "burger" + }, + { + "value": "burst" + }, + { + "value": "bus" + }, + { + "value": "bus-simple", + "keywords": [ + "bus", + "simple" + ] + }, + { + "value": "business-time", + "keywords": [ + "business", + "time" + ] + }, + { + "value": "c" + }, + { + "value": "cable-car", + "keywords": [ + "cable", + "car" + ] + }, + { + "value": "cake-candles", + "keywords": [ + "cake", + "candles" + ] + }, + { + "value": "calculator" + }, + { + "value": "calendar" + }, + { + "value": "calendar-check", + "keywords": [ + "calendar", + "check" + ] + }, + { + "value": "calendar-day", + "keywords": [ + "calendar", + "day" + ] + }, + { + "value": "calendar-days", + "keywords": [ + "calendar", + "days" + ] + }, + { + "value": "calendar-minus", + "keywords": [ + "calendar", + "minus" + ] + }, + { + "value": "calendar-plus", + "keywords": [ + "calendar", + "plus" + ] + }, + { + "value": "calendar-week", + "keywords": [ + "calendar", + "week" + ] + }, + { + "value": "calendar-xmark", + "keywords": [ + "calendar", + "xmark" + ] + }, + { + "value": "camera" + }, + { + "value": "camera-retro", + "keywords": [ + "camera", + "retro" + ] + }, + { + "value": "camera-rotate", + "keywords": [ + "camera", + "rotate" + ] + }, + { + "value": "campground" + }, + { + "value": "candy-cane", + "keywords": [ + "candy", + "cane" + ] + }, + { + "value": "cannabis" + }, + { + "value": "capsules" + }, + { + "value": "car" + }, + { + "value": "car-battery", + "keywords": [ + "car", + "battery" + ] + }, + { + "value": "car-burst", + "keywords": [ + "car", + "burst" + ] + }, + { + "value": "car-on", + "keywords": [ + "car", + "on" + ] + }, + { + "value": "car-rear", + "keywords": [ + "car", + "rear" + ] + }, + { + "value": "car-side", + "keywords": [ + "car", + "side" + ] + }, + { + "value": "car-tunnel", + "keywords": [ + "car", + "tunnel" + ] + }, + { + "value": "caravan" + }, + { + "value": "caret-down", + "keywords": [ + "caret", + "down" + ] + }, + { + "value": "caret-left", + "keywords": [ + "caret", + "left" + ] + }, + { + "value": "caret-right", + "keywords": [ + "caret", + "right" + ] + }, + { + "value": "caret-up", + "keywords": [ + "caret", + "up" + ] + }, + { + "value": "carrot" + }, + { + "value": "cart-arrow-down", + "keywords": [ + "cart", + "arrow", + "down" + ] + }, + { + "value": "cart-flatbed", + "keywords": [ + "cart", + "flatbed" + ] + }, + { + "value": "cart-flatbed-suitcase", + "keywords": [ + "cart", + "flatbed", + "suitcase" + ] + }, + { + "value": "cart-plus", + "keywords": [ + "cart", + "plus" + ] + }, + { + "value": "cart-shopping", + "keywords": [ + "cart", + "shopping" + ] + }, + { + "value": "cash-register", + "keywords": [ + "cash", + "register" + ] + }, + { + "value": "cat" + }, + { + "value": "cedi-sign", + "keywords": [ + "cedi", + "sign" + ] + }, + { + "value": "cent-sign", + "keywords": [ + "cent", + "sign" + ] + }, + { + "value": "certificate" + }, + { + "value": "chair" + }, + { + "value": "chalkboard" + }, + { + "value": "chalkboard-user", + "keywords": [ + "chalkboard", + "user" + ] + }, + { + "value": "champagne-glasses", + "keywords": [ + "champagne", + "glasses" + ] + }, + { + "value": "charging-station", + "keywords": [ + "charging", + "station" + ] + }, + { + "value": "chart-area", + "keywords": [ + "chart", + "area" + ] + }, + { + "value": "chart-bar", + "keywords": [ + "chart", + "bar" + ] + }, + { + "value": "chart-column", + "keywords": [ + "chart", + "column" + ] + }, + { + "value": "chart-gantt", + "keywords": [ + "chart", + "gantt" + ] + }, + { + "value": "chart-line", + "keywords": [ + "chart", + "line" + ] + }, + { + "value": "chart-pie", + "keywords": [ + "chart", + "pie" + ] + }, + { + "value": "chart-simple", + "keywords": [ + "chart", + "simple" + ] + }, + { + "value": "check" + }, + { + "value": "check-double", + "keywords": [ + "check", + "double" + ] + }, + { + "value": "check-to-slot", + "keywords": [ + "check", + "to", + "slot" + ] + }, + { + "value": "cheese" + }, + { + "value": "chess" + }, + { + "value": "chess-bishop", + "keywords": [ + "chess", + "bishop" + ] + }, + { + "value": "chess-board", + "keywords": [ + "chess", + "board" + ] + }, + { + "value": "chess-king", + "keywords": [ + "chess", + "king" + ] + }, + { + "value": "chess-knight", + "keywords": [ + "chess", + "knight" + ] + }, + { + "value": "chess-pawn", + "keywords": [ + "chess", + "pawn" + ] + }, + { + "value": "chess-queen", + "keywords": [ + "chess", + "queen" + ] + }, + { + "value": "chess-rook", + "keywords": [ + "chess", + "rook" + ] + }, + { + "value": "chevron-down", + "keywords": [ + "chevron", + "down" + ] + }, + { + "value": "chevron-left", + "keywords": [ + "chevron", + "left" + ] + }, + { + "value": "chevron-right", + "keywords": [ + "chevron", + "right" + ] + }, + { + "value": "chevron-up", + "keywords": [ + "chevron", + "up" + ] + }, + { + "value": "child" + }, + { + "value": "child-combatant", + "keywords": [ + "child", + "combatant" + ] + }, + { + "value": "child-dress", + "keywords": [ + "child", + "dress" + ] + }, + { + "value": "child-reaching", + "keywords": [ + "child", + "reaching" + ] + }, + { + "value": "children" + }, + { + "value": "church" + }, + { + "value": "circle" + }, + { + "value": "circle-arrow-down", + "keywords": [ + "circle", + "arrow", + "down" + ] + }, + { + "value": "circle-arrow-left", + "keywords": [ + "circle", + "arrow", + "left" + ] + }, + { + "value": "circle-arrow-right", + "keywords": [ + "circle", + "arrow", + "right" + ] + }, + { + "value": "circle-arrow-up", + "keywords": [ + "circle", + "arrow", + "up" + ] + }, + { + "value": "circle-check", + "keywords": [ + "circle", + "check" + ] + }, + { + "value": "circle-chevron-down", + "keywords": [ + "circle", + "chevron", + "down" + ] + }, + { + "value": "circle-chevron-left", + "keywords": [ + "circle", + "chevron", + "left" + ] + }, + { + "value": "circle-chevron-right", + "keywords": [ + "circle", + "chevron", + "right" + ] + }, + { + "value": "circle-chevron-up", + "keywords": [ + "circle", + "chevron", + "up" + ] + }, + { + "value": "circle-dollar-to-slot", + "keywords": [ + "circle", + "dollar", + "to", + "slot" + ] + }, + { + "value": "circle-dot", + "keywords": [ + "circle", + "dot" + ] + }, + { + "value": "circle-down", + "keywords": [ + "circle", + "down" + ] + }, + { + "value": "circle-exclamation", + "keywords": [ + "circle", + "exclamation" + ] + }, + { + "value": "circle-h" + }, + { + "value": "circle-half-stroke", + "keywords": [ + "circle", + "half", + "stroke" + ] + }, + { + "value": "circle-info", + "keywords": [ + "circle", + "info" + ] + }, + { + "value": "circle-left", + "keywords": [ + "circle", + "left" + ] + }, + { + "value": "circle-minus", + "keywords": [ + "circle", + "minus" + ] + }, + { + "value": "circle-nodes", + "keywords": [ + "circle", + "nodes" + ] + }, + { + "value": "circle-notch", + "keywords": [ + "circle", + "notch" + ] + }, + { + "value": "circle-pause", + "keywords": [ + "circle", + "pause" + ] + }, + { + "value": "circle-play", + "keywords": [ + "circle", + "play" + ] + }, + { + "value": "circle-plus", + "keywords": [ + "circle", + "plus" + ] + }, + { + "value": "circle-question", + "keywords": [ + "circle", + "question" + ] + }, + { + "value": "circle-radiation", + "keywords": [ + "circle", + "radiation" + ] + }, + { + "value": "circle-right", + "keywords": [ + "circle", + "right" + ] + }, + { + "value": "circle-stop", + "keywords": [ + "circle", + "stop" + ] + }, + { + "value": "circle-up", + "keywords": [ + "circle", + "up" + ] + }, + { + "value": "circle-user", + "keywords": [ + "circle", + "user" + ] + }, + { + "value": "circle-xmark", + "keywords": [ + "circle", + "xmark" + ] + }, + { + "value": "city" + }, + { + "value": "clapperboard" + }, + { + "value": "clipboard" + }, + { + "value": "clipboard-check", + "keywords": [ + "clipboard", + "check" + ] + }, + { + "value": "clipboard-list", + "keywords": [ + "clipboard", + "list" + ] + }, + { + "value": "clipboard-question", + "keywords": [ + "clipboard", + "question" + ] + }, + { + "value": "clipboard-user", + "keywords": [ + "clipboard", + "user" + ] + }, + { + "value": "clock" + }, + { + "value": "clock-rotate-left", + "keywords": [ + "clock", + "rotate", + "left" + ] + }, + { + "value": "clone" + }, + { + "value": "closed-captioning", + "keywords": [ + "closed", + "captioning" + ] + }, + { + "value": "cloud" + }, + { + "value": "cloud-arrow-down", + "keywords": [ + "cloud", + "arrow", + "down" + ] + }, + { + "value": "cloud-arrow-up", + "keywords": [ + "cloud", + "arrow", + "up" + ] + }, + { + "value": "cloud-bolt", + "keywords": [ + "cloud", + "bolt" + ] + }, + { + "value": "cloud-meatball", + "keywords": [ + "cloud", + "meatball" + ] + }, + { + "value": "cloud-moon", + "keywords": [ + "cloud", + "moon" + ] + }, + { + "value": "cloud-moon-rain", + "keywords": [ + "cloud", + "moon", + "rain" + ] + }, + { + "value": "cloud-rain", + "keywords": [ + "cloud", + "rain" + ] + }, + { + "value": "cloud-showers-heavy", + "keywords": [ + "cloud", + "showers", + "heavy" + ] + }, + { + "value": "cloud-showers-water", + "keywords": [ + "cloud", + "showers", + "water" + ] + }, + { + "value": "cloud-sun", + "keywords": [ + "cloud", + "sun" + ] + }, + { + "value": "cloud-sun-rain", + "keywords": [ + "cloud", + "sun", + "rain" + ] + }, + { + "value": "clover" + }, + { + "value": "code" + }, + { + "value": "code-branch", + "keywords": [ + "code", + "branch" + ] + }, + { + "value": "code-commit", + "keywords": [ + "code", + "commit" + ] + }, + { + "value": "code-compare", + "keywords": [ + "code", + "compare" + ] + }, + { + "value": "code-fork", + "keywords": [ + "code", + "fork" + ] + }, + { + "value": "code-merge", + "keywords": [ + "code", + "merge" + ] + }, + { + "value": "code-pull-request", + "keywords": [ + "code", + "pull", + "request" + ] + }, + { + "value": "coins" + }, + { + "value": "colon-sign", + "keywords": [ + "colon", + "sign" + ] + }, + { + "value": "comment" + }, + { + "value": "comment-dollar", + "keywords": [ + "comment", + "dollar" + ] + }, + { + "value": "comment-dots", + "keywords": [ + "comment", + "dots" + ] + }, + { + "value": "comment-medical", + "keywords": [ + "comment", + "medical" + ] + }, + { + "value": "comment-slash", + "keywords": [ + "comment", + "slash" + ] + }, + { + "value": "comment-sms", + "keywords": [ + "comment", + "sms" + ] + }, + { + "value": "comments" + }, + { + "value": "comments-dollar", + "keywords": [ + "comments", + "dollar" + ] + }, + { + "value": "compact-disc", + "keywords": [ + "compact", + "disc" + ] + }, + { + "value": "compass" + }, + { + "value": "compass-drafting", + "keywords": [ + "compass", + "drafting" + ] + }, + { + "value": "compress" + }, + { + "value": "computer" + }, + { + "value": "computer-mouse", + "keywords": [ + "computer", + "mouse" + ] + }, + { + "value": "cookie" + }, + { + "value": "cookie-bite", + "keywords": [ + "cookie", + "bite" + ] + }, + { + "value": "copy" + }, + { + "value": "copyright" + }, + { + "value": "couch" + }, + { + "value": "cow" + }, + { + "value": "credit-card", + "keywords": [ + "credit", + "card" + ] + }, + { + "value": "crop" + }, + { + "value": "crop-simple", + "keywords": [ + "crop", + "simple" + ] + }, + { + "value": "cross" + }, + { + "value": "crosshairs" + }, + { + "value": "crow" + }, + { + "value": "crown" + }, + { + "value": "crutch" + }, + { + "value": "cruzeiro-sign", + "keywords": [ + "cruzeiro", + "sign" + ] + }, + { + "value": "cube" + }, + { + "value": "cubes" + }, + { + "value": "cubes-stacked", + "keywords": [ + "cubes", + "stacked" + ] + }, + { + "value": "d" + }, + { + "value": "database" + }, + { + "value": "delete-left", + "keywords": [ + "delete", + "left" + ] + }, + { + "value": "democrat" + }, + { + "value": "desktop" + }, + { + "value": "dharmachakra" + }, + { + "value": "diagram-next", + "keywords": [ + "diagram", + "next" + ] + }, + { + "value": "diagram-predecessor", + "keywords": [ + "diagram", + "predecessor" + ] + }, + { + "value": "diagram-project", + "keywords": [ + "diagram", + "project" + ] + }, + { + "value": "diagram-successor", + "keywords": [ + "diagram", + "successor" + ] + }, + { + "value": "diamond" + }, + { + "value": "diamond-turn-right", + "keywords": [ + "diamond", + "turn", + "right" + ] + }, + { + "value": "dice" + }, + { + "value": "dice-d20", + "keywords": [ + "dice", + "d20" + ] + }, + { + "value": "dice-d6", + "keywords": [ + "dice", + "d6" + ] + }, + { + "value": "dice-five", + "keywords": [ + "dice", + "five" + ] + }, + { + "value": "dice-four", + "keywords": [ + "dice", + "four" + ] + }, + { + "value": "dice-one", + "keywords": [ + "dice", + "one" + ] + }, + { + "value": "dice-six", + "keywords": [ + "dice", + "six" + ] + }, + { + "value": "dice-three", + "keywords": [ + "dice", + "three" + ] + }, + { + "value": "dice-two", + "keywords": [ + "dice", + "two" + ] + }, + { + "value": "disease" + }, + { + "value": "display" + }, + { + "value": "divide" + }, + { + "value": "dna" + }, + { + "value": "dog" + }, + { + "value": "dollar-sign", + "keywords": [ + "dollar", + "sign" + ] + }, + { + "value": "dolly" + }, + { + "value": "dong-sign", + "keywords": [ + "dong", + "sign" + ] + }, + { + "value": "door-closed", + "keywords": [ + "door", + "closed" + ] + }, + { + "value": "door-open", + "keywords": [ + "door", + "open" + ] + }, + { + "value": "dove" + }, + { + "value": "down-left-and-up-right-to-center", + "keywords": [ + "down", + "left", + "and", + "up", + "right", + "to", + "center" + ] + }, + { + "value": "down-long", + "keywords": [ + "down", + "long" + ] + }, + { + "value": "download" + }, + { + "value": "dragon" + }, + { + "value": "draw-polygon", + "keywords": [ + "draw", + "polygon" + ] + }, + { + "value": "droplet" + }, + { + "value": "droplet-slash", + "keywords": [ + "droplet", + "slash" + ] + }, + { + "value": "drum" + }, + { + "value": "drum-steelpan", + "keywords": [ + "drum", + "steelpan" + ] + }, + { + "value": "drumstick-bite", + "keywords": [ + "drumstick", + "bite" + ] + }, + { + "value": "dumbbell" + }, + { + "value": "dumpster" + }, + { + "value": "dumpster-fire", + "keywords": [ + "dumpster", + "fire" + ] + }, + { + "value": "dungeon" + }, + { + "value": "e" + }, + { + "value": "ear-deaf", + "keywords": [ + "ear", + "deaf" + ] + }, + { + "value": "ear-listen", + "keywords": [ + "ear", + "listen" + ] + }, + { + "value": "earth-africa", + "keywords": [ + "earth", + "africa" + ] + }, + { + "value": "earth-americas", + "keywords": [ + "earth", + "americas" + ] + }, + { + "value": "earth-asia", + "keywords": [ + "earth", + "asia" + ] + }, + { + "value": "earth-europe", + "keywords": [ + "earth", + "europe" + ] + }, + { + "value": "earth-oceania", + "keywords": [ + "earth", + "oceania" + ] + }, + { + "value": "egg" + }, + { + "value": "eject" + }, + { + "value": "elevator" + }, + { + "value": "ellipsis" + }, + { + "value": "ellipsis-vertical", + "keywords": [ + "ellipsis", + "vertical" + ] + }, + { + "value": "envelope" + }, + { + "value": "envelope-circle-check", + "keywords": [ + "envelope", + "circle", + "check" + ] + }, + { + "value": "envelope-open", + "keywords": [ + "envelope", + "open" + ] + }, + { + "value": "envelope-open-text", + "keywords": [ + "envelope", + "open", + "text" + ] + }, + { + "value": "envelopes-bulk", + "keywords": [ + "envelopes", + "bulk" + ] + }, + { + "value": "equals" + }, + { + "value": "eraser" + }, + { + "value": "ethernet" + }, + { + "value": "euro-sign", + "keywords": [ + "euro", + "sign" + ] + }, + { + "value": "exclamation" + }, + { + "value": "expand" + }, + { + "value": "explosion" + }, + { + "value": "eye" + }, + { + "value": "eye-dropper", + "keywords": [ + "eye", + "dropper" + ] + }, + { + "value": "eye-low-vision", + "keywords": [ + "eye", + "low", + "vision" + ] + }, + { + "value": "eye-slash", + "keywords": [ + "eye", + "slash" + ] + }, + { + "value": "f" + }, + { + "value": "face-angry", + "keywords": [ + "face", + "angry" + ] + }, + { + "value": "face-dizzy", + "keywords": [ + "face", + "dizzy" + ] + }, + { + "value": "face-flushed", + "keywords": [ + "face", + "flushed" + ] + }, + { + "value": "face-frown", + "keywords": [ + "face", + "frown" + ] + }, + { + "value": "face-frown-open", + "keywords": [ + "face", + "frown", + "open" + ] + }, + { + "value": "face-grimace", + "keywords": [ + "face", + "grimace" + ] + }, + { + "value": "face-grin", + "keywords": [ + "face", + "grin" + ] + }, + { + "value": "face-grin-beam", + "keywords": [ + "face", + "grin", + "beam" + ] + }, + { + "value": "face-grin-beam-sweat", + "keywords": [ + "face", + "grin", + "beam", + "sweat" + ] + }, + { + "value": "face-grin-hearts", + "keywords": [ + "face", + "grin", + "hearts" + ] + }, + { + "value": "face-grin-squint", + "keywords": [ + "face", + "grin", + "squint" + ] + }, + { + "value": "face-grin-squint-tears", + "keywords": [ + "face", + "grin", + "squint", + "tears" + ] + }, + { + "value": "face-grin-stars", + "keywords": [ + "face", + "grin", + "stars" + ] + }, + { + "value": "face-grin-tears", + "keywords": [ + "face", + "grin", + "tears" + ] + }, + { + "value": "face-grin-tongue", + "keywords": [ + "face", + "grin", + "tongue" + ] + }, + { + "value": "face-grin-tongue-squint", + "keywords": [ + "face", + "grin", + "tongue", + "squint" + ] + }, + { + "value": "face-grin-tongue-wink", + "keywords": [ + "face", + "grin", + "tongue", + "wink" + ] + }, + { + "value": "face-grin-wide", + "keywords": [ + "face", + "grin", + "wide" + ] + }, + { + "value": "face-grin-wink", + "keywords": [ + "face", + "grin", + "wink" + ] + }, + { + "value": "face-kiss", + "keywords": [ + "face", + "kiss" + ] + }, + { + "value": "face-kiss-beam", + "keywords": [ + "face", + "kiss", + "beam" + ] + }, + { + "value": "face-kiss-wink-heart", + "keywords": [ + "face", + "kiss", + "wink", + "heart" + ] + }, + { + "value": "face-laugh", + "keywords": [ + "face", + "laugh" + ] + }, + { + "value": "face-laugh-beam", + "keywords": [ + "face", + "laugh", + "beam" + ] + }, + { + "value": "face-laugh-squint", + "keywords": [ + "face", + "laugh", + "squint" + ] + }, + { + "value": "face-laugh-wink", + "keywords": [ + "face", + "laugh", + "wink" + ] + }, + { + "value": "face-meh", + "keywords": [ + "face", + "meh" + ] + }, + { + "value": "face-meh-blank", + "keywords": [ + "face", + "meh", + "blank" + ] + }, + { + "value": "face-rolling-eyes", + "keywords": [ + "face", + "rolling", + "eyes" + ] + }, + { + "value": "face-sad-cry", + "keywords": [ + "face", + "sad", + "cry" + ] + }, + { + "value": "face-sad-tear", + "keywords": [ + "face", + "sad", + "tear" + ] + }, + { + "value": "face-smile", + "keywords": [ + "face", + "smile" + ] + }, + { + "value": "face-smile-beam", + "keywords": [ + "face", + "smile", + "beam" + ] + }, + { + "value": "face-smile-wink", + "keywords": [ + "face", + "smile", + "wink" + ] + }, + { + "value": "face-surprise", + "keywords": [ + "face", + "surprise" + ] + }, + { + "value": "face-tired", + "keywords": [ + "face", + "tired" + ] + }, + { + "value": "fan" + }, + { + "value": "faucet" + }, + { + "value": "faucet-drip", + "keywords": [ + "faucet", + "drip" + ] + }, + { + "value": "fax" + }, + { + "value": "feather" + }, + { + "value": "feather-pointed", + "keywords": [ + "feather", + "pointed" + ] + }, + { + "value": "ferry" + }, + { + "value": "file" + }, + { + "value": "file-arrow-down", + "keywords": [ + "file", + "arrow", + "down" + ] + }, + { + "value": "file-arrow-up", + "keywords": [ + "file", + "arrow", + "up" + ] + }, + { + "value": "file-audio", + "keywords": [ + "file", + "audio" + ] + }, + { + "value": "file-circle-check", + "keywords": [ + "file", + "circle", + "check" + ] + }, + { + "value": "file-circle-exclamation", + "keywords": [ + "file", + "circle", + "exclamation" + ] + }, + { + "value": "file-circle-minus", + "keywords": [ + "file", + "circle", + "minus" + ] + }, + { + "value": "file-circle-plus", + "keywords": [ + "file", + "circle", + "plus" + ] + }, + { + "value": "file-circle-question", + "keywords": [ + "file", + "circle", + "question" + ] + }, + { + "value": "file-circle-xmark", + "keywords": [ + "file", + "circle", + "xmark" + ] + }, + { + "value": "file-code", + "keywords": [ + "file", + "code" + ] + }, + { + "value": "file-contract", + "keywords": [ + "file", + "contract" + ] + }, + { + "value": "file-csv", + "keywords": [ + "file", + "csv" + ] + }, + { + "value": "file-excel", + "keywords": [ + "file", + "excel" + ] + }, + { + "value": "file-export", + "keywords": [ + "file", + "export" + ] + }, + { + "value": "file-image", + "keywords": [ + "file", + "image" + ] + }, + { + "value": "file-import", + "keywords": [ + "file", + "import" + ] + }, + { + "value": "file-invoice", + "keywords": [ + "file", + "invoice" + ] + }, + { + "value": "file-invoice-dollar", + "keywords": [ + "file", + "invoice", + "dollar" + ] + }, + { + "value": "file-lines", + "keywords": [ + "file", + "lines" + ] + }, + { + "value": "file-medical", + "keywords": [ + "file", + "medical" + ] + }, + { + "value": "file-pdf", + "keywords": [ + "file", + "pdf" + ] + }, + { + "value": "file-pen", + "keywords": [ + "file", + "pen" + ] + }, + { + "value": "file-powerpoint", + "keywords": [ + "file", + "powerpoint" + ] + }, + { + "value": "file-prescription", + "keywords": [ + "file", + "prescription" + ] + }, + { + "value": "file-shield", + "keywords": [ + "file", + "shield" + ] + }, + { + "value": "file-signature", + "keywords": [ + "file", + "signature" + ] + }, + { + "value": "file-video", + "keywords": [ + "file", + "video" + ] + }, + { + "value": "file-waveform", + "keywords": [ + "file", + "waveform" + ] + }, + { + "value": "file-word", + "keywords": [ + "file", + "word" + ] + }, + { + "value": "file-zipper", + "keywords": [ + "file", + "zipper" + ] + }, + { + "value": "fill" + }, + { + "value": "fill-drip", + "keywords": [ + "fill", + "drip" + ] + }, + { + "value": "film" + }, + { + "value": "filter" + }, + { + "value": "filter-circle-dollar", + "keywords": [ + "filter", + "circle", + "dollar" + ] + }, + { + "value": "filter-circle-xmark", + "keywords": [ + "filter", + "circle", + "xmark" + ] + }, + { + "value": "fingerprint" + }, + { + "value": "fire" + }, + { + "value": "fire-burner", + "keywords": [ + "fire", + "burner" + ] + }, + { + "value": "fire-extinguisher", + "keywords": [ + "fire", + "extinguisher" + ] + }, + { + "value": "fire-flame-curved", + "keywords": [ + "fire", + "flame", + "curved" + ] + }, + { + "value": "fire-flame-simple", + "keywords": [ + "fire", + "flame", + "simple" + ] + }, + { + "value": "fish" + }, + { + "value": "fish-fins", + "keywords": [ + "fish", + "fins" + ] + }, + { + "value": "flag" + }, + { + "value": "flag-checkered", + "keywords": [ + "flag", + "checkered" + ] + }, + { + "value": "flag-usa", + "keywords": [ + "flag", + "usa" + ] + }, + { + "value": "flask" + }, + { + "value": "flask-vial", + "keywords": [ + "flask", + "vial" + ] + }, + { + "value": "floppy-disk", + "keywords": [ + "floppy", + "disk" + ] + }, + { + "value": "florin-sign", + "keywords": [ + "florin", + "sign" + ] + }, + { + "value": "folder" + }, + { + "value": "folder-closed", + "keywords": [ + "folder", + "closed" + ] + }, + { + "value": "folder-minus", + "keywords": [ + "folder", + "minus" + ] + }, + { + "value": "folder-open", + "keywords": [ + "folder", + "open" + ] + }, + { + "value": "folder-plus", + "keywords": [ + "folder", + "plus" + ] + }, + { + "value": "folder-tree", + "keywords": [ + "folder", + "tree" + ] + }, + { + "value": "font" + }, + { + "value": "font-awesome", + "keywords": [ + "font", + "awesome" + ] + }, + { + "value": "football" + }, + { + "value": "forward" + }, + { + "value": "forward-fast", + "keywords": [ + "forward", + "fast" + ] + }, + { + "value": "forward-step", + "keywords": [ + "forward", + "step" + ] + }, + { + "value": "franc-sign", + "keywords": [ + "franc", + "sign" + ] + }, + { + "value": "frog" + }, + { + "value": "futbol" + }, + { + "value": "g" + }, + { + "value": "gamepad" + }, + { + "value": "gas-pump", + "keywords": [ + "gas", + "pump" + ] + }, + { + "value": "gauge" + }, + { + "value": "gauge-high", + "keywords": [ + "gauge", + "high" + ] + }, + { + "value": "gauge-simple", + "keywords": [ + "gauge", + "simple" + ] + }, + { + "value": "gauge-simple-high", + "keywords": [ + "gauge", + "simple", + "high" + ] + }, + { + "value": "gavel" + }, + { + "value": "gear" + }, + { + "value": "gears" + }, + { + "value": "gem" + }, + { + "value": "genderless" + }, + { + "value": "ghost" + }, + { + "value": "gift" + }, + { + "value": "gifts" + }, + { + "value": "glass-water", + "keywords": [ + "glass", + "water" + ] + }, + { + "value": "glass-water-droplet", + "keywords": [ + "glass", + "water", + "droplet" + ] + }, + { + "value": "glasses" + }, + { + "value": "globe" + }, + { + "value": "golf-ball-tee", + "keywords": [ + "golf", + "ball", + "tee" + ] + }, + { + "value": "gopuram" + }, + { + "value": "graduation-cap", + "keywords": [ + "graduation", + "cap" + ] + }, + { + "value": "greater-than", + "keywords": [ + "greater", + "than" + ] + }, + { + "value": "greater-than-equal", + "keywords": [ + "greater", + "than", + "equal" + ] + }, + { + "value": "grip" + }, + { + "value": "grip-lines", + "keywords": [ + "grip", + "lines" + ] + }, + { + "value": "grip-lines-vertical", + "keywords": [ + "grip", + "lines", + "vertical" + ] + }, + { + "value": "grip-vertical", + "keywords": [ + "grip", + "vertical" + ] + }, + { + "value": "group-arrows-rotate", + "keywords": [ + "group", + "arrows", + "rotate" + ] + }, + { + "value": "guarani-sign", + "keywords": [ + "guarani", + "sign" + ] + }, + { + "value": "guitar" + }, + { + "value": "gun" + }, + { + "value": "h" + }, + { + "value": "hammer" + }, + { + "value": "hamsa" + }, + { + "value": "hand" + }, + { + "value": "hand-back-fist", + "keywords": [ + "hand", + "back", + "fist" + ] + }, + { + "value": "hand-dots", + "keywords": [ + "hand", + "dots" + ] + }, + { + "value": "hand-fist", + "keywords": [ + "hand", + "fist" + ] + }, + { + "value": "hand-holding", + "keywords": [ + "hand", + "holding" + ] + }, + { + "value": "hand-holding-dollar", + "keywords": [ + "hand", + "holding", + "dollar" + ] + }, + { + "value": "hand-holding-droplet", + "keywords": [ + "hand", + "holding", + "droplet" + ] + }, + { + "value": "hand-holding-hand", + "keywords": [ + "hand", + "holding", + "hand" + ] + }, + { + "value": "hand-holding-heart", + "keywords": [ + "hand", + "holding", + "heart" + ] + }, + { + "value": "hand-holding-medical", + "keywords": [ + "hand", + "holding", + "medical" + ] + }, + { + "value": "hand-lizard", + "keywords": [ + "hand", + "lizard" + ] + }, + { + "value": "hand-middle-finger", + "keywords": [ + "hand", + "middle", + "finger" + ] + }, + { + "value": "hand-peace", + "keywords": [ + "hand", + "peace" + ] + }, + { + "value": "hand-point-down", + "keywords": [ + "hand", + "point", + "down" + ] + }, + { + "value": "hand-point-left", + "keywords": [ + "hand", + "point", + "left" + ] + }, + { + "value": "hand-point-right", + "keywords": [ + "hand", + "point", + "right" + ] + }, + { + "value": "hand-point-up", + "keywords": [ + "hand", + "point", + "up" + ] + }, + { + "value": "hand-pointer", + "keywords": [ + "hand", + "pointer" + ] + }, + { + "value": "hand-scissors", + "keywords": [ + "hand", + "scissors" + ] + }, + { + "value": "hand-sparkles", + "keywords": [ + "hand", + "sparkles" + ] + }, + { + "value": "hand-spock", + "keywords": [ + "hand", + "spock" + ] + }, + { + "value": "handcuffs" + }, + { + "value": "hands" + }, + { + "value": "hands-asl-interpreting", + "keywords": [ + "hands", + "asl", + "interpreting" + ] + }, + { + "value": "hands-bound", + "keywords": [ + "hands", + "bound" + ] + }, + { + "value": "hands-bubbles", + "keywords": [ + "hands", + "bubbles" + ] + }, + { + "value": "hands-clapping", + "keywords": [ + "hands", + "clapping" + ] + }, + { + "value": "hands-holding", + "keywords": [ + "hands", + "holding" + ] + }, + { + "value": "hands-holding-child", + "keywords": [ + "hands", + "holding", + "child" + ] + }, + { + "value": "hands-holding-circle", + "keywords": [ + "hands", + "holding", + "circle" + ] + }, + { + "value": "hands-praying", + "keywords": [ + "hands", + "praying" + ] + }, + { + "value": "handshake" + }, + { + "value": "handshake-angle", + "keywords": [ + "handshake", + "angle" + ] + }, + { + "value": "handshake-simple", + "keywords": [ + "handshake", + "simple" + ] + }, + { + "value": "handshake-simple-slash", + "keywords": [ + "handshake", + "simple", + "slash" + ] + }, + { + "value": "handshake-slash", + "keywords": [ + "handshake", + "slash" + ] + }, + { + "value": "hanukiah" + }, + { + "value": "hard-drive", + "keywords": [ + "hard", + "drive" + ] + }, + { + "value": "hashtag" + }, + { + "value": "hat-cowboy", + "keywords": [ + "hat", + "cowboy" + ] + }, + { + "value": "hat-cowboy-side", + "keywords": [ + "hat", + "cowboy", + "side" + ] + }, + { + "value": "hat-wizard", + "keywords": [ + "hat", + "wizard" + ] + }, + { + "value": "head-side-cough", + "keywords": [ + "head", + "side", + "cough" + ] + }, + { + "value": "head-side-cough-slash", + "keywords": [ + "head", + "side", + "cough", + "slash" + ] + }, + { + "value": "head-side-mask", + "keywords": [ + "head", + "side", + "mask" + ] + }, + { + "value": "head-side-virus", + "keywords": [ + "head", + "side", + "virus" + ] + }, + { + "value": "heading" + }, + { + "value": "headphones" + }, + { + "value": "headphones-simple", + "keywords": [ + "headphones", + "simple" + ] + }, + { + "value": "headset" + }, + { + "value": "heart" + }, + { + "value": "heart-circle-bolt", + "keywords": [ + "heart", + "circle", + "bolt" + ] + }, + { + "value": "heart-circle-check", + "keywords": [ + "heart", + "circle", + "check" + ] + }, + { + "value": "heart-circle-exclamation", + "keywords": [ + "heart", + "circle", + "exclamation" + ] + }, + { + "value": "heart-circle-minus", + "keywords": [ + "heart", + "circle", + "minus" + ] + }, + { + "value": "heart-circle-plus", + "keywords": [ + "heart", + "circle", + "plus" + ] + }, + { + "value": "heart-circle-xmark", + "keywords": [ + "heart", + "circle", + "xmark" + ] + }, + { + "value": "heart-crack", + "keywords": [ + "heart", + "crack" + ] + }, + { + "value": "heart-pulse", + "keywords": [ + "heart", + "pulse" + ] + }, + { + "value": "helicopter" + }, + { + "value": "helicopter-symbol", + "keywords": [ + "helicopter", + "symbol" + ] + }, + { + "value": "helmet-safety", + "keywords": [ + "helmet", + "safety" + ] + }, + { + "value": "helmet-un", + "keywords": [ + "helmet", + "un" + ] + }, + { + "value": "highlighter" + }, + { + "value": "hill-avalanche", + "keywords": [ + "hill", + "avalanche" + ] + }, + { + "value": "hill-rockslide", + "keywords": [ + "hill", + "rockslide" + ] + }, + { + "value": "hippo" + }, + { + "value": "hockey-puck", + "keywords": [ + "hockey", + "puck" + ] + }, + { + "value": "holly-berry", + "keywords": [ + "holly", + "berry" + ] + }, + { + "value": "horse" + }, + { + "value": "horse-head", + "keywords": [ + "horse", + "head" + ] + }, + { + "value": "hospital" + }, + { + "value": "hospital-user", + "keywords": [ + "hospital", + "user" + ] + }, + { + "value": "hot-tub-person", + "keywords": [ + "hot", + "tub", + "person" + ] + }, + { + "value": "hotdog" + }, + { + "value": "hotel" + }, + { + "value": "hourglass" + }, + { + "value": "hourglass-end", + "keywords": [ + "hourglass", + "end" + ] + }, + { + "value": "hourglass-half", + "keywords": [ + "hourglass", + "half" + ] + }, + { + "value": "hourglass-start", + "keywords": [ + "hourglass", + "start" + ] + }, + { + "value": "house" + }, + { + "value": "house-chimney", + "keywords": [ + "house", + "chimney" + ] + }, + { + "value": "house-chimney-crack", + "keywords": [ + "house", + "chimney", + "crack" + ] + }, + { + "value": "house-chimney-medical", + "keywords": [ + "house", + "chimney", + "medical" + ] + }, + { + "value": "house-chimney-user", + "keywords": [ + "house", + "chimney", + "user" + ] + }, + { + "value": "house-chimney-window", + "keywords": [ + "house", + "chimney", + "window" + ] + }, + { + "value": "house-circle-check", + "keywords": [ + "house", + "circle", + "check" + ] + }, + { + "value": "house-circle-exclamation", + "keywords": [ + "house", + "circle", + "exclamation" + ] + }, + { + "value": "house-circle-xmark", + "keywords": [ + "house", + "circle", + "xmark" + ] + }, + { + "value": "house-crack", + "keywords": [ + "house", + "crack" + ] + }, + { + "value": "house-fire", + "keywords": [ + "house", + "fire" + ] + }, + { + "value": "house-flag", + "keywords": [ + "house", + "flag" + ] + }, + { + "value": "house-flood-water", + "keywords": [ + "house", + "flood", + "water" + ] + }, + { + "value": "house-flood-water-circle-arrow-right", + "keywords": [ + "house", + "flood", + "water", + "circle", + "arrow", + "right" + ] + }, + { + "value": "house-laptop", + "keywords": [ + "house", + "laptop" + ] + }, + { + "value": "house-lock", + "keywords": [ + "house", + "lock" + ] + }, + { + "value": "house-medical", + "keywords": [ + "house", + "medical" + ] + }, + { + "value": "house-medical-circle-check", + "keywords": [ + "house", + "medical", + "circle", + "check" + ] + }, + { + "value": "house-medical-circle-exclamation", + "keywords": [ + "house", + "medical", + "circle", + "exclamation" + ] + }, + { + "value": "house-medical-circle-xmark", + "keywords": [ + "house", + "medical", + "circle", + "xmark" + ] + }, + { + "value": "house-medical-flag", + "keywords": [ + "house", + "medical", + "flag" + ] + }, + { + "value": "house-signal", + "keywords": [ + "house", + "signal" + ] + }, + { + "value": "house-tsunami", + "keywords": [ + "house", + "tsunami" + ] + }, + { + "value": "house-user", + "keywords": [ + "house", + "user" + ] + }, + { + "value": "hryvnia-sign", + "keywords": [ + "hryvnia", + "sign" + ] + }, + { + "value": "hurricane" + }, + { + "value": "i" + }, + { + "value": "i-cursor" + }, + { + "value": "ice-cream", + "keywords": [ + "ice", + "cream" + ] + }, + { + "value": "icicles" + }, + { + "value": "icons" + }, + { + "value": "id-badge", + "keywords": [ + "id", + "badge" + ] + }, + { + "value": "id-card", + "keywords": [ + "id", + "card" + ] + }, + { + "value": "id-card-clip", + "keywords": [ + "id", + "card", + "clip" + ] + }, + { + "value": "igloo" + }, + { + "value": "image" + }, + { + "value": "image-portrait", + "keywords": [ + "image", + "portrait" + ] + }, + { + "value": "images" + }, + { + "value": "inbox" + }, + { + "value": "indent" + }, + { + "value": "indian-rupee-sign", + "keywords": [ + "indian", + "rupee", + "sign" + ] + }, + { + "value": "industry" + }, + { + "value": "infinity" + }, + { + "value": "info" + }, + { + "value": "italic" + }, + { + "value": "j" + }, + { + "value": "jar" + }, + { + "value": "jar-wheat", + "keywords": [ + "jar", + "wheat" + ] + }, + { + "value": "jedi" + }, + { + "value": "jet-fighter", + "keywords": [ + "jet", + "fighter" + ] + }, + { + "value": "jet-fighter-up", + "keywords": [ + "jet", + "fighter", + "up" + ] + }, + { + "value": "joint" + }, + { + "value": "jug-detergent", + "keywords": [ + "jug", + "detergent" + ] + }, + { + "value": "k" + }, + { + "value": "kaaba" + }, + { + "value": "key" + }, + { + "value": "keyboard" + }, + { + "value": "khanda" + }, + { + "value": "kip-sign", + "keywords": [ + "kip", + "sign" + ] + }, + { + "value": "kit-medical", + "keywords": [ + "kit", + "medical" + ] + }, + { + "value": "kitchen-set", + "keywords": [ + "kitchen", + "set" + ] + }, + { + "value": "kiwi-bird", + "keywords": [ + "kiwi", + "bird" + ] + }, + { + "value": "l" + }, + { + "value": "land-mine-on", + "keywords": [ + "land", + "mine", + "on" + ] + }, + { + "value": "landmark" + }, + { + "value": "landmark-dome", + "keywords": [ + "landmark", + "dome" + ] + }, + { + "value": "landmark-flag", + "keywords": [ + "landmark", + "flag" + ] + }, + { + "value": "language" + }, + { + "value": "laptop" + }, + { + "value": "laptop-code", + "keywords": [ + "laptop", + "code" + ] + }, + { + "value": "laptop-file", + "keywords": [ + "laptop", + "file" + ] + }, + { + "value": "laptop-medical", + "keywords": [ + "laptop", + "medical" + ] + }, + { + "value": "lari-sign", + "keywords": [ + "lari", + "sign" + ] + }, + { + "value": "layer-group", + "keywords": [ + "layer", + "group" + ] + }, + { + "value": "leaf" + }, + { + "value": "left-long", + "keywords": [ + "left", + "long" + ] + }, + { + "value": "left-right", + "keywords": [ + "left", + "right" + ] + }, + { + "value": "lemon" + }, + { + "value": "less-than", + "keywords": [ + "less", + "than" + ] + }, + { + "value": "less-than-equal", + "keywords": [ + "less", + "than", + "equal" + ] + }, + { + "value": "life-ring", + "keywords": [ + "life", + "ring" + ] + }, + { + "value": "lightbulb" + }, + { + "value": "lines-leaning", + "keywords": [ + "lines", + "leaning" + ] + }, + { + "value": "link" + }, + { + "value": "link-slash", + "keywords": [ + "link", + "slash" + ] + }, + { + "value": "lira-sign", + "keywords": [ + "lira", + "sign" + ] + }, + { + "value": "list" + }, + { + "value": "list-check", + "keywords": [ + "list", + "check" + ] + }, + { + "value": "list-ol", + "keywords": [ + "list", + "ol" + ] + }, + { + "value": "list-ul", + "keywords": [ + "list", + "ul" + ] + }, + { + "value": "litecoin-sign", + "keywords": [ + "litecoin", + "sign" + ] + }, + { + "value": "location-arrow", + "keywords": [ + "location", + "arrow" + ] + }, + { + "value": "location-crosshairs", + "keywords": [ + "location", + "crosshairs" + ] + }, + { + "value": "location-dot", + "keywords": [ + "location", + "dot" + ] + }, + { + "value": "location-pin", + "keywords": [ + "location", + "pin" + ] + }, + { + "value": "location-pin-lock", + "keywords": [ + "location", + "pin", + "lock" + ] + }, + { + "value": "lock" + }, + { + "value": "lock-open", + "keywords": [ + "lock", + "open" + ] + }, + { + "value": "locust" + }, + { + "value": "lungs" + }, + { + "value": "lungs-virus", + "keywords": [ + "lungs", + "virus" + ] + }, + { + "value": "m" + }, + { + "value": "magnet" + }, + { + "value": "magnifying-glass", + "keywords": [ + "magnifying", + "glass" + ] + }, + { + "value": "magnifying-glass-arrow-right", + "keywords": [ + "magnifying", + "glass", + "arrow", + "right" + ] + }, + { + "value": "magnifying-glass-chart", + "keywords": [ + "magnifying", + "glass", + "chart" + ] + }, + { + "value": "magnifying-glass-dollar", + "keywords": [ + "magnifying", + "glass", + "dollar" + ] + }, + { + "value": "magnifying-glass-location", + "keywords": [ + "magnifying", + "glass", + "location" + ] + }, + { + "value": "magnifying-glass-minus", + "keywords": [ + "magnifying", + "glass", + "minus" + ] + }, + { + "value": "magnifying-glass-plus", + "keywords": [ + "magnifying", + "glass", + "plus" + ] + }, + { + "value": "manat-sign", + "keywords": [ + "manat", + "sign" + ] + }, + { + "value": "map" + }, + { + "value": "map-location", + "keywords": [ + "map", + "location" + ] + }, + { + "value": "map-location-dot", + "keywords": [ + "map", + "location", + "dot" + ] + }, + { + "value": "map-pin", + "keywords": [ + "map", + "pin" + ] + }, + { + "value": "marker" + }, + { + "value": "mars" + }, + { + "value": "mars-and-venus", + "keywords": [ + "mars", + "and", + "venus" + ] + }, + { + "value": "mars-and-venus-burst", + "keywords": [ + "mars", + "and", + "venus", + "burst" + ] + }, + { + "value": "mars-double", + "keywords": [ + "mars", + "double" + ] + }, + { + "value": "mars-stroke", + "keywords": [ + "mars", + "stroke" + ] + }, + { + "value": "mars-stroke-right", + "keywords": [ + "mars", + "stroke", + "right" + ] + }, + { + "value": "mars-stroke-up", + "keywords": [ + "mars", + "stroke", + "up" + ] + }, + { + "value": "martini-glass", + "keywords": [ + "martini", + "glass" + ] + }, + { + "value": "martini-glass-citrus", + "keywords": [ + "martini", + "glass", + "citrus" + ] + }, + { + "value": "martini-glass-empty", + "keywords": [ + "martini", + "glass", + "empty" + ] + }, + { + "value": "mask" + }, + { + "value": "mask-face", + "keywords": [ + "mask", + "face" + ] + }, + { + "value": "mask-ventilator", + "keywords": [ + "mask", + "ventilator" + ] + }, + { + "value": "masks-theater", + "keywords": [ + "masks", + "theater" + ] + }, + { + "value": "mattress-pillow", + "keywords": [ + "mattress", + "pillow" + ] + }, + { + "value": "maximize" + }, + { + "value": "medal" + }, + { + "value": "memory" + }, + { + "value": "menorah" + }, + { + "value": "mercury" + }, + { + "value": "message" + }, + { + "value": "meteor" + }, + { + "value": "microchip" + }, + { + "value": "microphone" + }, + { + "value": "microphone-lines", + "keywords": [ + "microphone", + "lines" + ] + }, + { + "value": "microphone-lines-slash", + "keywords": [ + "microphone", + "lines", + "slash" + ] + }, + { + "value": "microphone-slash", + "keywords": [ + "microphone", + "slash" + ] + }, + { + "value": "microscope" + }, + { + "value": "mill-sign", + "keywords": [ + "mill", + "sign" + ] + }, + { + "value": "minimize" + }, + { + "value": "minus" + }, + { + "value": "mitten" + }, + { + "value": "mobile" + }, + { + "value": "mobile-button", + "keywords": [ + "mobile", + "button" + ] + }, + { + "value": "mobile-retro", + "keywords": [ + "mobile", + "retro" + ] + }, + { + "value": "mobile-screen", + "keywords": [ + "mobile", + "screen" + ] + }, + { + "value": "mobile-screen-button", + "keywords": [ + "mobile", + "screen", + "button" + ] + }, + { + "value": "money-bill", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-transfer", + "keywords": [ + "money", + "bill", + "transfer" + ] + }, + { + "value": "money-bill-trend-up", + "keywords": [ + "money", + "bill", + "trend", + "up" + ] + }, + { + "value": "money-bill-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-wheat", + "keywords": [ + "money", + "bill", + "wheat" + ] + }, + { + "value": "money-bills", + "keywords": [ + "money", + "bills" + ] + }, + { + "value": "money-check", + "keywords": [ + "money", + "check" + ] + }, + { + "value": "money-check-dollar", + "keywords": [ + "money", + "check", + "dollar" + ] + }, + { + "value": "monument" + }, + { + "value": "moon" + }, + { + "value": "mortar-pestle", + "keywords": [ + "mortar", + "pestle" + ] + }, + { + "value": "mosque" + }, + { + "value": "mosquito" + }, + { + "value": "mosquito-net", + "keywords": [ + "mosquito", + "net" + ] + }, + { + "value": "motorcycle" + }, + { + "value": "mound" + }, + { + "value": "mountain" + }, + { + "value": "mountain-city", + "keywords": [ + "mountain", + "city" + ] + }, + { + "value": "mountain-sun", + "keywords": [ + "mountain", + "sun" + ] + }, + { + "value": "mug-hot", + "keywords": [ + "mug", + "hot" + ] + }, + { + "value": "mug-saucer", + "keywords": [ + "mug", + "saucer" + ] + }, + { + "value": "music" + }, + { + "value": "n" + }, + { + "value": "naira-sign", + "keywords": [ + "naira", + "sign" + ] + }, + { + "value": "network-wired", + "keywords": [ + "network", + "wired" + ] + }, + { + "value": "neuter" + }, + { + "value": "newspaper" + }, + { + "value": "not-equal", + "keywords": [ + "not", + "equal" + ] + }, + { + "value": "notdef" + }, + { + "value": "note-sticky", + "keywords": [ + "note", + "sticky" + ] + }, + { + "value": "notes-medical", + "keywords": [ + "notes", + "medical" + ] + }, + { + "value": "o" + }, + { + "value": "object-group", + "keywords": [ + "object", + "group" + ] + }, + { + "value": "object-ungroup", + "keywords": [ + "object", + "ungroup" + ] + }, + { + "value": "oil-can", + "keywords": [ + "oil", + "can" + ] + }, + { + "value": "oil-well", + "keywords": [ + "oil", + "well" + ] + }, + { + "value": "om" + }, + { + "value": "otter" + }, + { + "value": "outdent" + }, + { + "value": "p" + }, + { + "value": "pager" + }, + { + "value": "paint-roller", + "keywords": [ + "paint", + "roller" + ] + }, + { + "value": "paintbrush" + }, + { + "value": "palette" + }, + { + "value": "pallet" + }, + { + "value": "panorama" + }, + { + "value": "paper-plane", + "keywords": [ + "paper", + "plane" + ] + }, + { + "value": "paperclip" + }, + { + "value": "parachute-box", + "keywords": [ + "parachute", + "box" + ] + }, + { + "value": "paragraph" + }, + { + "value": "passport" + }, + { + "value": "paste" + }, + { + "value": "pause" + }, + { + "value": "paw" + }, + { + "value": "peace" + }, + { + "value": "pen" + }, + { + "value": "pen-clip", + "keywords": [ + "pen", + "clip" + ] + }, + { + "value": "pen-fancy", + "keywords": [ + "pen", + "fancy" + ] + }, + { + "value": "pen-nib", + "keywords": [ + "pen", + "nib" + ] + }, + { + "value": "pen-ruler", + "keywords": [ + "pen", + "ruler" + ] + }, + { + "value": "pen-to-square", + "keywords": [ + "pen", + "to", + "square" + ] + }, + { + "value": "pencil" + }, + { + "value": "people-arrows", + "keywords": [ + "people", + "arrows" + ] + }, + { + "value": "people-carry-box", + "keywords": [ + "people", + "carry", + "box" + ] + }, + { + "value": "people-group", + "keywords": [ + "people", + "group" + ] + }, + { + "value": "people-line", + "keywords": [ + "people", + "line" + ] + }, + { + "value": "people-pulling", + "keywords": [ + "people", + "pulling" + ] + }, + { + "value": "people-robbery", + "keywords": [ + "people", + "robbery" + ] + }, + { + "value": "people-roof", + "keywords": [ + "people", + "roof" + ] + }, + { + "value": "pepper-hot", + "keywords": [ + "pepper", + "hot" + ] + }, + { + "value": "percent" + }, + { + "value": "person" + }, + { + "value": "person-arrow-down-to-line", + "keywords": [ + "person", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "person-arrow-up-from-line", + "keywords": [ + "person", + "arrow", + "up", + "from", + "line" + ] + }, + { + "value": "person-biking", + "keywords": [ + "person", + "biking" + ] + }, + { + "value": "person-booth", + "keywords": [ + "person", + "booth" + ] + }, + { + "value": "person-breastfeeding", + "keywords": [ + "person", + "breastfeeding" + ] + }, + { + "value": "person-burst", + "keywords": [ + "person", + "burst" + ] + }, + { + "value": "person-cane", + "keywords": [ + "person", + "cane" + ] + }, + { + "value": "person-chalkboard", + "keywords": [ + "person", + "chalkboard" + ] + }, + { + "value": "person-circle-check", + "keywords": [ + "person", + "circle", + "check" + ] + }, + { + "value": "person-circle-exclamation", + "keywords": [ + "person", + "circle", + "exclamation" + ] + }, + { + "value": "person-circle-minus", + "keywords": [ + "person", + "circle", + "minus" + ] + }, + { + "value": "person-circle-plus", + "keywords": [ + "person", + "circle", + "plus" + ] + }, + { + "value": "person-circle-question", + "keywords": [ + "person", + "circle", + "question" + ] + }, + { + "value": "person-circle-xmark", + "keywords": [ + "person", + "circle", + "xmark" + ] + }, + { + "value": "person-digging", + "keywords": [ + "person", + "digging" + ] + }, + { + "value": "person-dots-from-line", + "keywords": [ + "person", + "dots", + "from", + "line" + ] + }, + { + "value": "person-dress", + "keywords": [ + "person", + "dress" + ] + }, + { + "value": "person-dress-burst", + "keywords": [ + "person", + "dress", + "burst" + ] + }, + { + "value": "person-drowning", + "keywords": [ + "person", + "drowning" + ] + }, + { + "value": "person-falling", + "keywords": [ + "person", + "falling" + ] + }, + { + "value": "person-falling-burst", + "keywords": [ + "person", + "falling", + "burst" + ] + }, + { + "value": "person-half-dress", + "keywords": [ + "person", + "half", + "dress" + ] + }, + { + "value": "person-harassing", + "keywords": [ + "person", + "harassing" + ] + }, + { + "value": "person-hiking", + "keywords": [ + "person", + "hiking" + ] + }, + { + "value": "person-military-pointing", + "keywords": [ + "person", + "military", + "pointing" + ] + }, + { + "value": "person-military-rifle", + "keywords": [ + "person", + "military", + "rifle" + ] + }, + { + "value": "person-military-to-person", + "keywords": [ + "person", + "military", + "to", + "person" + ] + }, + { + "value": "person-praying", + "keywords": [ + "person", + "praying" + ] + }, + { + "value": "person-pregnant", + "keywords": [ + "person", + "pregnant" + ] + }, + { + "value": "person-rays", + "keywords": [ + "person", + "rays" + ] + }, + { + "value": "person-rifle", + "keywords": [ + "person", + "rifle" + ] + }, + { + "value": "person-running", + "keywords": [ + "person", + "running" + ] + }, + { + "value": "person-shelter", + "keywords": [ + "person", + "shelter" + ] + }, + { + "value": "person-skating", + "keywords": [ + "person", + "skating" + ] + }, + { + "value": "person-skiing", + "keywords": [ + "person", + "skiing" + ] + }, + { + "value": "person-skiing-nordic", + "keywords": [ + "person", + "skiing", + "nordic" + ] + }, + { + "value": "person-snowboarding", + "keywords": [ + "person", + "snowboarding" + ] + }, + { + "value": "person-swimming", + "keywords": [ + "person", + "swimming" + ] + }, + { + "value": "person-through-window", + "keywords": [ + "person", + "through", + "window" + ] + }, + { + "value": "person-walking", + "keywords": [ + "person", + "walking" + ] + }, + { + "value": "person-walking-arrow-loop-left", + "keywords": [ + "person", + "walking", + "arrow", + "loop", + "left" + ] + }, + { + "value": "person-walking-arrow-right", + "keywords": [ + "person", + "walking", + "arrow", + "right" + ] + }, + { + "value": "person-walking-dashed-line-arrow-right", + "keywords": [ + "person", + "walking", + "dashed", + "line", + "arrow", + "right" + ] + }, + { + "value": "person-walking-luggage", + "keywords": [ + "person", + "walking", + "luggage" + ] + }, + { + "value": "person-walking-with-cane", + "keywords": [ + "person", + "walking", + "with", + "cane" + ] + }, + { + "value": "peseta-sign", + "keywords": [ + "peseta", + "sign" + ] + }, + { + "value": "peso-sign", + "keywords": [ + "peso", + "sign" + ] + }, + { + "value": "phone" + }, + { + "value": "phone-flip", + "keywords": [ + "phone", + "flip" + ] + }, + { + "value": "phone-slash", + "keywords": [ + "phone", + "slash" + ] + }, + { + "value": "phone-volume", + "keywords": [ + "phone", + "volume" + ] + }, + { + "value": "photo-film", + "keywords": [ + "photo", + "film" + ] + }, + { + "value": "piggy-bank", + "keywords": [ + "piggy", + "bank" + ] + }, + { + "value": "pills" + }, + { + "value": "pizza-slice", + "keywords": [ + "pizza", + "slice" + ] + }, + { + "value": "place-of-worship", + "keywords": [ + "place", + "of", + "worship" + ] + }, + { + "value": "plane" + }, + { + "value": "plane-arrival", + "keywords": [ + "plane", + "arrival" + ] + }, + { + "value": "plane-circle-check", + "keywords": [ + "plane", + "circle", + "check" + ] + }, + { + "value": "plane-circle-exclamation", + "keywords": [ + "plane", + "circle", + "exclamation" + ] + }, + { + "value": "plane-circle-xmark", + "keywords": [ + "plane", + "circle", + "xmark" + ] + }, + { + "value": "plane-departure", + "keywords": [ + "plane", + "departure" + ] + }, + { + "value": "plane-lock", + "keywords": [ + "plane", + "lock" + ] + }, + { + "value": "plane-slash", + "keywords": [ + "plane", + "slash" + ] + }, + { + "value": "plane-up", + "keywords": [ + "plane", + "up" + ] + }, + { + "value": "plant-wilt", + "keywords": [ + "plant", + "wilt" + ] + }, + { + "value": "plate-wheat", + "keywords": [ + "plate", + "wheat" + ] + }, + { + "value": "play" + }, + { + "value": "plug" + }, + { + "value": "plug-circle-bolt", + "keywords": [ + "plug", + "circle", + "bolt" + ] + }, + { + "value": "plug-circle-check", + "keywords": [ + "plug", + "circle", + "check" + ] + }, + { + "value": "plug-circle-exclamation", + "keywords": [ + "plug", + "circle", + "exclamation" + ] + }, + { + "value": "plug-circle-minus", + "keywords": [ + "plug", + "circle", + "minus" + ] + }, + { + "value": "plug-circle-plus", + "keywords": [ + "plug", + "circle", + "plus" + ] + }, + { + "value": "plug-circle-xmark", + "keywords": [ + "plug", + "circle", + "xmark" + ] + }, + { + "value": "plus" + }, + { + "value": "plus-minus", + "keywords": [ + "plus", + "minus" + ] + }, + { + "value": "podcast" + }, + { + "value": "poo" + }, + { + "value": "poo-storm", + "keywords": [ + "poo", + "storm" + ] + }, + { + "value": "poop" + }, + { + "value": "power-off", + "keywords": [ + "power", + "off" + ] + }, + { + "value": "prescription" + }, + { + "value": "prescription-bottle", + "keywords": [ + "prescription", + "bottle" + ] + }, + { + "value": "prescription-bottle-medical", + "keywords": [ + "prescription", + "bottle", + "medical" + ] + }, + { + "value": "print" + }, + { + "value": "pump-medical", + "keywords": [ + "pump", + "medical" + ] + }, + { + "value": "pump-soap", + "keywords": [ + "pump", + "soap" + ] + }, + { + "value": "puzzle-piece", + "keywords": [ + "puzzle", + "piece" + ] + }, + { + "value": "q" + }, + { + "value": "qrcode" + }, + { + "value": "question" + }, + { + "value": "quote-left", + "keywords": [ + "quote", + "left" + ] + }, + { + "value": "quote-right", + "keywords": [ + "quote", + "right" + ] + }, + { + "value": "r" + }, + { + "value": "radiation" + }, + { + "value": "radio" + }, + { + "value": "rainbow" + }, + { + "value": "ranking-star", + "keywords": [ + "ranking", + "star" + ] + }, + { + "value": "receipt" + }, + { + "value": "record-vinyl", + "keywords": [ + "record", + "vinyl" + ] + }, + { + "value": "rectangle-ad", + "keywords": [ + "rectangle", + "ad" + ] + }, + { + "value": "rectangle-list", + "keywords": [ + "rectangle", + "list" + ] + }, + { + "value": "rectangle-xmark", + "keywords": [ + "rectangle", + "xmark" + ] + }, + { + "value": "recycle" + }, + { + "value": "registered" + }, + { + "value": "repeat" + }, + { + "value": "reply" + }, + { + "value": "reply-all", + "keywords": [ + "reply", + "all" + ] + }, + { + "value": "republican" + }, + { + "value": "restroom" + }, + { + "value": "retweet" + }, + { + "value": "ribbon" + }, + { + "value": "right-from-bracket", + "keywords": [ + "right", + "from", + "bracket" + ] + }, + { + "value": "right-left", + "keywords": [ + "right", + "left" + ] + }, + { + "value": "right-long", + "keywords": [ + "right", + "long" + ] + }, + { + "value": "right-to-bracket", + "keywords": [ + "right", + "to", + "bracket" + ] + }, + { + "value": "ring" + }, + { + "value": "road" + }, + { + "value": "road-barrier", + "keywords": [ + "road", + "barrier" + ] + }, + { + "value": "road-bridge", + "keywords": [ + "road", + "bridge" + ] + }, + { + "value": "road-circle-check", + "keywords": [ + "road", + "circle", + "check" + ] + }, + { + "value": "road-circle-exclamation", + "keywords": [ + "road", + "circle", + "exclamation" + ] + }, + { + "value": "road-circle-xmark", + "keywords": [ + "road", + "circle", + "xmark" + ] + }, + { + "value": "road-lock", + "keywords": [ + "road", + "lock" + ] + }, + { + "value": "road-spikes", + "keywords": [ + "road", + "spikes" + ] + }, + { + "value": "robot" + }, + { + "value": "rocket" + }, + { + "value": "rotate" + }, + { + "value": "rotate-left", + "keywords": [ + "rotate", + "left" + ] + }, + { + "value": "rotate-right", + "keywords": [ + "rotate", + "right" + ] + }, + { + "value": "route" + }, + { + "value": "rss" + }, + { + "value": "ruble-sign", + "keywords": [ + "ruble", + "sign" + ] + }, + { + "value": "rug" + }, + { + "value": "ruler" + }, + { + "value": "ruler-combined", + "keywords": [ + "ruler", + "combined" + ] + }, + { + "value": "ruler-horizontal", + "keywords": [ + "ruler", + "horizontal" + ] + }, + { + "value": "ruler-vertical", + "keywords": [ + "ruler", + "vertical" + ] + }, + { + "value": "rupee-sign", + "keywords": [ + "rupee", + "sign" + ] + }, + { + "value": "rupiah-sign", + "keywords": [ + "rupiah", + "sign" + ] + }, + { + "value": "s" + }, + { + "value": "sack-dollar", + "keywords": [ + "sack", + "dollar" + ] + }, + { + "value": "sack-xmark", + "keywords": [ + "sack", + "xmark" + ] + }, + { + "value": "sailboat" + }, + { + "value": "satellite" + }, + { + "value": "satellite-dish", + "keywords": [ + "satellite", + "dish" + ] + }, + { + "value": "scale-balanced", + "keywords": [ + "scale", + "balanced" + ] + }, + { + "value": "scale-unbalanced", + "keywords": [ + "scale", + "unbalanced" + ] + }, + { + "value": "scale-unbalanced-flip", + "keywords": [ + "scale", + "unbalanced", + "flip" + ] + }, + { + "value": "school" + }, + { + "value": "school-circle-check", + "keywords": [ + "school", + "circle", + "check" + ] + }, + { + "value": "school-circle-exclamation", + "keywords": [ + "school", + "circle", + "exclamation" + ] + }, + { + "value": "school-circle-xmark", + "keywords": [ + "school", + "circle", + "xmark" + ] + }, + { + "value": "school-flag", + "keywords": [ + "school", + "flag" + ] + }, + { + "value": "school-lock", + "keywords": [ + "school", + "lock" + ] + }, + { + "value": "scissors" + }, + { + "value": "screwdriver" + }, + { + "value": "screwdriver-wrench", + "keywords": [ + "screwdriver", + "wrench" + ] + }, + { + "value": "scroll" + }, + { + "value": "scroll-torah", + "keywords": [ + "scroll", + "torah" + ] + }, + { + "value": "sd-card", + "keywords": [ + "sd", + "card" + ] + }, + { + "value": "section" + }, + { + "value": "seedling" + }, + { + "value": "server" + }, + { + "value": "shapes" + }, + { + "value": "share" + }, + { + "value": "share-from-square", + "keywords": [ + "share", + "from", + "square" + ] + }, + { + "value": "share-nodes", + "keywords": [ + "share", + "nodes" + ] + }, + { + "value": "sheet-plastic", + "keywords": [ + "sheet", + "plastic" + ] + }, + { + "value": "shekel-sign", + "keywords": [ + "shekel", + "sign" + ] + }, + { + "value": "shield" + }, + { + "value": "shield-cat", + "keywords": [ + "shield", + "cat" + ] + }, + { + "value": "shield-dog", + "keywords": [ + "shield", + "dog" + ] + }, + { + "value": "shield-halved", + "keywords": [ + "shield", + "halved" + ] + }, + { + "value": "shield-heart", + "keywords": [ + "shield", + "heart" + ] + }, + { + "value": "shield-virus", + "keywords": [ + "shield", + "virus" + ] + }, + { + "value": "ship" + }, + { + "value": "shirt" + }, + { + "value": "shoe-prints", + "keywords": [ + "shoe", + "prints" + ] + }, + { + "value": "shop" + }, + { + "value": "shop-lock", + "keywords": [ + "shop", + "lock" + ] + }, + { + "value": "shop-slash", + "keywords": [ + "shop", + "slash" + ] + }, + { + "value": "shower" + }, + { + "value": "shrimp" + }, + { + "value": "shuffle" + }, + { + "value": "shuttle-space", + "keywords": [ + "shuttle", + "space" + ] + }, + { + "value": "sign-hanging", + "keywords": [ + "sign", + "hanging" + ] + }, + { + "value": "signal" + }, + { + "value": "signature" + }, + { + "value": "signs-post", + "keywords": [ + "signs", + "post" + ] + }, + { + "value": "sim-card", + "keywords": [ + "sim", + "card" + ] + }, + { + "value": "sink" + }, + { + "value": "sitemap" + }, + { + "value": "skull" + }, + { + "value": "skull-crossbones", + "keywords": [ + "skull", + "crossbones" + ] + }, + { + "value": "slash" + }, + { + "value": "sleigh" + }, + { + "value": "sliders" + }, + { + "value": "smog" + }, + { + "value": "smoking" + }, + { + "value": "snowflake" + }, + { + "value": "snowman" + }, + { + "value": "snowplow" + }, + { + "value": "soap" + }, + { + "value": "socks" + }, + { + "value": "solar-panel", + "keywords": [ + "solar", + "panel" + ] + }, + { + "value": "sort" + }, + { + "value": "sort-down", + "keywords": [ + "sort", + "down" + ] + }, + { + "value": "sort-up", + "keywords": [ + "sort", + "up" + ] + }, + { + "value": "spa" + }, + { + "value": "spaghetti-monster-flying", + "keywords": [ + "spaghetti", + "monster", + "flying" + ] + }, + { + "value": "spell-check", + "keywords": [ + "spell", + "check" + ] + }, + { + "value": "spider" + }, + { + "value": "spinner" + }, + { + "value": "splotch" + }, + { + "value": "spoon" + }, + { + "value": "spray-can", + "keywords": [ + "spray", + "can" + ] + }, + { + "value": "spray-can-sparkles", + "keywords": [ + "spray", + "can", + "sparkles" + ] + }, + { + "value": "square" + }, + { + "value": "square-arrow-up-right", + "keywords": [ + "square", + "arrow", + "up", + "right" + ] + }, + { + "value": "square-caret-down", + "keywords": [ + "square", + "caret", + "down" + ] + }, + { + "value": "square-caret-left", + "keywords": [ + "square", + "caret", + "left" + ] + }, + { + "value": "square-caret-right", + "keywords": [ + "square", + "caret", + "right" + ] + }, + { + "value": "square-caret-up", + "keywords": [ + "square", + "caret", + "up" + ] + }, + { + "value": "square-check", + "keywords": [ + "square", + "check" + ] + }, + { + "value": "square-envelope", + "keywords": [ + "square", + "envelope" + ] + }, + { + "value": "square-full", + "keywords": [ + "square", + "full" + ] + }, + { + "value": "square-h" + }, + { + "value": "square-minus", + "keywords": [ + "square", + "minus" + ] + }, + { + "value": "square-nfi", + "keywords": [ + "square", + "nfi" + ] + }, + { + "value": "square-parking", + "keywords": [ + "square", + "parking" + ] + }, + { + "value": "square-pen", + "keywords": [ + "square", + "pen" + ] + }, + { + "value": "square-person-confined", + "keywords": [ + "square", + "person", + "confined" + ] + }, + { + "value": "square-phone", + "keywords": [ + "square", + "phone" + ] + }, + { + "value": "square-phone-flip", + "keywords": [ + "square", + "phone", + "flip" + ] + }, + { + "value": "square-plus", + "keywords": [ + "square", + "plus" + ] + }, + { + "value": "square-poll-horizontal", + "keywords": [ + "square", + "poll", + "horizontal" + ] + }, + { + "value": "square-poll-vertical", + "keywords": [ + "square", + "poll", + "vertical" + ] + }, + { + "value": "square-root-variable", + "keywords": [ + "square", + "root", + "variable" + ] + }, + { + "value": "square-rss", + "keywords": [ + "square", + "rss" + ] + }, + { + "value": "square-share-nodes", + "keywords": [ + "square", + "share", + "nodes" + ] + }, + { + "value": "square-up-right", + "keywords": [ + "square", + "up", + "right" + ] + }, + { + "value": "square-virus", + "keywords": [ + "square", + "virus" + ] + }, + { + "value": "square-xmark", + "keywords": [ + "square", + "xmark" + ] + }, + { + "value": "staff-snake", + "keywords": [ + "staff", + "snake" + ] + }, + { + "value": "stairs" + }, + { + "value": "stamp" + }, + { + "value": "stapler" + }, + { + "value": "star" + }, + { + "value": "star-and-crescent", + "keywords": [ + "star", + "and", + "crescent" + ] + }, + { + "value": "star-half", + "keywords": [ + "star", + "half" + ] + }, + { + "value": "star-half-stroke", + "keywords": [ + "star", + "half", + "stroke" + ] + }, + { + "value": "star-of-david", + "keywords": [ + "star", + "of", + "david" + ] + }, + { + "value": "star-of-life", + "keywords": [ + "star", + "of", + "life" + ] + }, + { + "value": "sterling-sign", + "keywords": [ + "sterling", + "sign" + ] + }, + { + "value": "stethoscope" + }, + { + "value": "stop" + }, + { + "value": "stopwatch" + }, + { + "value": "stopwatch-20", + "keywords": [ + "stopwatch", + "20" + ] + }, + { + "value": "store" + }, + { + "value": "store-slash", + "keywords": [ + "store", + "slash" + ] + }, + { + "value": "street-view", + "keywords": [ + "street", + "view" + ] + }, + { + "value": "strikethrough" + }, + { + "value": "stroopwafel" + }, + { + "value": "subscript" + }, + { + "value": "suitcase" + }, + { + "value": "suitcase-medical", + "keywords": [ + "suitcase", + "medical" + ] + }, + { + "value": "suitcase-rolling", + "keywords": [ + "suitcase", + "rolling" + ] + }, + { + "value": "sun" + }, + { + "value": "sun-plant-wilt", + "keywords": [ + "sun", + "plant", + "wilt" + ] + }, + { + "value": "superscript" + }, + { + "value": "swatchbook" + }, + { + "value": "synagogue" + }, + { + "value": "syringe" + }, + { + "value": "t" + }, + { + "value": "table" + }, + { + "value": "table-cells", + "keywords": [ + "table", + "cells" + ] + }, + { + "value": "table-cells-large", + "keywords": [ + "table", + "cells", + "large" + ] + }, + { + "value": "table-columns", + "keywords": [ + "table", + "columns" + ] + }, + { + "value": "table-list", + "keywords": [ + "table", + "list" + ] + }, + { + "value": "table-tennis-paddle-ball", + "keywords": [ + "table", + "tennis", + "paddle", + "ball" + ] + }, + { + "value": "tablet" + }, + { + "value": "tablet-button", + "keywords": [ + "tablet", + "button" + ] + }, + { + "value": "tablet-screen-button", + "keywords": [ + "tablet", + "screen", + "button" + ] + }, + { + "value": "tablets" + }, + { + "value": "tachograph-digital", + "keywords": [ + "tachograph", + "digital" + ] + }, + { + "value": "tag" + }, + { + "value": "tags" + }, + { + "value": "tape" + }, + { + "value": "tarp" + }, + { + "value": "tarp-droplet", + "keywords": [ + "tarp", + "droplet" + ] + }, + { + "value": "taxi" + }, + { + "value": "teeth" + }, + { + "value": "teeth-open", + "keywords": [ + "teeth", + "open" + ] + }, + { + "value": "temperature-arrow-down", + "keywords": [ + "temperature", + "arrow", + "down" + ] + }, + { + "value": "temperature-arrow-up", + "keywords": [ + "temperature", + "arrow", + "up" + ] + }, + { + "value": "temperature-empty", + "keywords": [ + "temperature", + "empty" + ] + }, + { + "value": "temperature-full", + "keywords": [ + "temperature", + "full" + ] + }, + { + "value": "temperature-half", + "keywords": [ + "temperature", + "half" + ] + }, + { + "value": "temperature-high", + "keywords": [ + "temperature", + "high" + ] + }, + { + "value": "temperature-low", + "keywords": [ + "temperature", + "low" + ] + }, + { + "value": "temperature-quarter", + "keywords": [ + "temperature", + "quarter" + ] + }, + { + "value": "temperature-three-quarters", + "keywords": [ + "temperature", + "three", + "quarters" + ] + }, + { + "value": "tenge-sign", + "keywords": [ + "tenge", + "sign" + ] + }, + { + "value": "tent" + }, + { + "value": "tent-arrow-down-to-line", + "keywords": [ + "tent", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "tent-arrow-left-right", + "keywords": [ + "tent", + "arrow", + "left", + "right" + ] + }, + { + "value": "tent-arrow-turn-left", + "keywords": [ + "tent", + "arrow", + "turn", + "left" + ] + }, + { + "value": "tent-arrows-down", + "keywords": [ + "tent", + "arrows", + "down" + ] + }, + { + "value": "tents" + }, + { + "value": "terminal" + }, + { + "value": "text-height", + "keywords": [ + "text", + "height" + ] + }, + { + "value": "text-slash", + "keywords": [ + "text", + "slash" + ] + }, + { + "value": "text-width", + "keywords": [ + "text", + "width" + ] + }, + { + "value": "thermometer" + }, + { + "value": "thumbs-down", + "keywords": [ + "thumbs", + "down" + ] + }, + { + "value": "thumbs-up", + "keywords": [ + "thumbs", + "up" + ] + }, + { + "value": "thumbtack" + }, + { + "value": "ticket" + }, + { + "value": "ticket-simple", + "keywords": [ + "ticket", + "simple" + ] + }, + { + "value": "timeline" + }, + { + "value": "toggle-off", + "keywords": [ + "toggle", + "off" + ] + }, + { + "value": "toggle-on", + "keywords": [ + "toggle", + "on" + ] + }, + { + "value": "toilet" + }, + { + "value": "toilet-paper", + "keywords": [ + "toilet", + "paper" + ] + }, + { + "value": "toilet-paper-slash", + "keywords": [ + "toilet", + "paper", + "slash" + ] + }, + { + "value": "toilet-portable", + "keywords": [ + "toilet", + "portable" + ] + }, + { + "value": "toilets-portable", + "keywords": [ + "toilets", + "portable" + ] + }, + { + "value": "toolbox" + }, + { + "value": "tooth" + }, + { + "value": "torii-gate", + "keywords": [ + "torii", + "gate" + ] + }, + { + "value": "tornado" + }, + { + "value": "tower-broadcast", + "keywords": [ + "tower", + "broadcast" + ] + }, + { + "value": "tower-cell", + "keywords": [ + "tower", + "cell" + ] + }, + { + "value": "tower-observation", + "keywords": [ + "tower", + "observation" + ] + }, + { + "value": "tractor" + }, + { + "value": "trademark" + }, + { + "value": "traffic-light", + "keywords": [ + "traffic", + "light" + ] + }, + { + "value": "trailer" + }, + { + "value": "train" + }, + { + "value": "train-subway", + "keywords": [ + "train", + "subway" + ] + }, + { + "value": "train-tram", + "keywords": [ + "train", + "tram" + ] + }, + { + "value": "transgender" + }, + { + "value": "trash" + }, + { + "value": "trash-arrow-up", + "keywords": [ + "trash", + "arrow", + "up" + ] + }, + { + "value": "trash-can", + "keywords": [ + "trash", + "can" + ] + }, + { + "value": "trash-can-arrow-up", + "keywords": [ + "trash", + "can", + "arrow", + "up" + ] + }, + { + "value": "tree" + }, + { + "value": "tree-city", + "keywords": [ + "tree", + "city" + ] + }, + { + "value": "triangle-exclamation", + "keywords": [ + "triangle", + "exclamation" + ] + }, + { + "value": "trophy" + }, + { + "value": "trowel" + }, + { + "value": "trowel-bricks", + "keywords": [ + "trowel", + "bricks" + ] + }, + { + "value": "truck" + }, + { + "value": "truck-arrow-right", + "keywords": [ + "truck", + "arrow", + "right" + ] + }, + { + "value": "truck-droplet", + "keywords": [ + "truck", + "droplet" + ] + }, + { + "value": "truck-fast", + "keywords": [ + "truck", + "fast" + ] + }, + { + "value": "truck-field", + "keywords": [ + "truck", + "field" + ] + }, + { + "value": "truck-field-un", + "keywords": [ + "truck", + "field", + "un" + ] + }, + { + "value": "truck-front", + "keywords": [ + "truck", + "front" + ] + }, + { + "value": "truck-medical", + "keywords": [ + "truck", + "medical" + ] + }, + { + "value": "truck-monster", + "keywords": [ + "truck", + "monster" + ] + }, + { + "value": "truck-moving", + "keywords": [ + "truck", + "moving" + ] + }, + { + "value": "truck-pickup", + "keywords": [ + "truck", + "pickup" + ] + }, + { + "value": "truck-plane", + "keywords": [ + "truck", + "plane" + ] + }, + { + "value": "truck-ramp-box", + "keywords": [ + "truck", + "ramp", + "box" + ] + }, + { + "value": "tty" + }, + { + "value": "turkish-lira-sign", + "keywords": [ + "turkish", + "lira", + "sign" + ] + }, + { + "value": "turn-down", + "keywords": [ + "turn", + "down" + ] + }, + { + "value": "turn-up", + "keywords": [ + "turn", + "up" + ] + }, + { + "value": "tv" + }, + { + "value": "u" + }, + { + "value": "umbrella" + }, + { + "value": "umbrella-beach", + "keywords": [ + "umbrella", + "beach" + ] + }, + { + "value": "underline" + }, + { + "value": "universal-access", + "keywords": [ + "universal", + "access" + ] + }, + { + "value": "unlock" + }, + { + "value": "unlock-keyhole", + "keywords": [ + "unlock", + "keyhole" + ] + }, + { + "value": "up-down", + "keywords": [ + "up", + "down" + ] + }, + { + "value": "up-down-left-right", + "keywords": [ + "up", + "down", + "left", + "right" + ] + }, + { + "value": "up-long", + "keywords": [ + "up", + "long" + ] + }, + { + "value": "up-right-and-down-left-from-center", + "keywords": [ + "up", + "right", + "and", + "down", + "left", + "from", + "center" + ] + }, + { + "value": "up-right-from-square", + "keywords": [ + "up", + "right", + "from", + "square" + ] + }, + { + "value": "upload" + }, + { + "value": "user" + }, + { + "value": "user-astronaut", + "keywords": [ + "user", + "astronaut" + ] + }, + { + "value": "user-check", + "keywords": [ + "user", + "check" + ] + }, + { + "value": "user-clock", + "keywords": [ + "user", + "clock" + ] + }, + { + "value": "user-doctor", + "keywords": [ + "user", + "doctor" + ] + }, + { + "value": "user-gear", + "keywords": [ + "user", + "gear" + ] + }, + { + "value": "user-graduate", + "keywords": [ + "user", + "graduate" + ] + }, + { + "value": "user-group", + "keywords": [ + "user", + "group" + ] + }, + { + "value": "user-injured", + "keywords": [ + "user", + "injured" + ] + }, + { + "value": "user-large", + "keywords": [ + "user", + "large" + ] + }, + { + "value": "user-large-slash", + "keywords": [ + "user", + "large", + "slash" + ] + }, + { + "value": "user-lock", + "keywords": [ + "user", + "lock" + ] + }, + { + "value": "user-minus", + "keywords": [ + "user", + "minus" + ] + }, + { + "value": "user-ninja", + "keywords": [ + "user", + "ninja" + ] + }, + { + "value": "user-nurse", + "keywords": [ + "user", + "nurse" + ] + }, + { + "value": "user-pen", + "keywords": [ + "user", + "pen" + ] + }, + { + "value": "user-plus", + "keywords": [ + "user", + "plus" + ] + }, + { + "value": "user-secret", + "keywords": [ + "user", + "secret" + ] + }, + { + "value": "user-shield", + "keywords": [ + "user", + "shield" + ] + }, + { + "value": "user-slash", + "keywords": [ + "user", + "slash" + ] + }, + { + "value": "user-tag", + "keywords": [ + "user", + "tag" + ] + }, + { + "value": "user-tie", + "keywords": [ + "user", + "tie" + ] + }, + { + "value": "user-xmark", + "keywords": [ + "user", + "xmark" + ] + }, + { + "value": "users" + }, + { + "value": "users-between-lines", + "keywords": [ + "users", + "between", + "lines" + ] + }, + { + "value": "users-gear", + "keywords": [ + "users", + "gear" + ] + }, + { + "value": "users-line", + "keywords": [ + "users", + "line" + ] + }, + { + "value": "users-rays", + "keywords": [ + "users", + "rays" + ] + }, + { + "value": "users-rectangle", + "keywords": [ + "users", + "rectangle" + ] + }, + { + "value": "users-slash", + "keywords": [ + "users", + "slash" + ] + }, + { + "value": "users-viewfinder", + "keywords": [ + "users", + "viewfinder" + ] + }, + { + "value": "utensils" + }, + { + "value": "v" + }, + { + "value": "van-shuttle", + "keywords": [ + "van", + "shuttle" + ] + }, + { + "value": "vault" + }, + { + "value": "vector-square", + "keywords": [ + "vector", + "square" + ] + }, + { + "value": "venus" + }, + { + "value": "venus-double", + "keywords": [ + "venus", + "double" + ] + }, + { + "value": "venus-mars", + "keywords": [ + "venus", + "mars" + ] + }, + { + "value": "vest" + }, + { + "value": "vest-patches", + "keywords": [ + "vest", + "patches" + ] + }, + { + "value": "vial" + }, + { + "value": "vial-circle-check", + "keywords": [ + "vial", + "circle", + "check" + ] + }, + { + "value": "vial-virus", + "keywords": [ + "vial", + "virus" + ] + }, + { + "value": "vials" + }, + { + "value": "video" + }, + { + "value": "video-slash", + "keywords": [ + "video", + "slash" + ] + }, + { + "value": "vihara" + }, + { + "value": "virus" + }, + { + "value": "virus-covid", + "keywords": [ + "virus", + "covid" + ] + }, + { + "value": "virus-covid-slash", + "keywords": [ + "virus", + "covid", + "slash" + ] + }, + { + "value": "virus-slash", + "keywords": [ + "virus", + "slash" + ] + }, + { + "value": "viruses" + }, + { + "value": "voicemail" + }, + { + "value": "volcano" + }, + { + "value": "volleyball" + }, + { + "value": "volume-high", + "keywords": [ + "volume", + "high" + ] + }, + { + "value": "volume-low", + "keywords": [ + "volume", + "low" + ] + }, + { + "value": "volume-off", + "keywords": [ + "volume", + "off" + ] + }, + { + "value": "volume-xmark", + "keywords": [ + "volume", + "xmark" + ] + }, + { + "value": "vr-cardboard", + "keywords": [ + "vr", + "cardboard" + ] + }, + { + "value": "w" + }, + { + "value": "walkie-talkie", + "keywords": [ + "walkie", + "talkie" + ] + }, + { + "value": "wallet" + }, + { + "value": "wand-magic", + "keywords": [ + "wand", + "magic" + ] + }, + { + "value": "wand-magic-sparkles", + "keywords": [ + "wand", + "magic", + "sparkles" + ] + }, + { + "value": "wand-sparkles", + "keywords": [ + "wand", + "sparkles" + ] + }, + { + "value": "warehouse" + }, + { + "value": "water" + }, + { + "value": "water-ladder", + "keywords": [ + "water", + "ladder" + ] + }, + { + "value": "wave-square", + "keywords": [ + "wave", + "square" + ] + }, + { + "value": "weight-hanging", + "keywords": [ + "weight", + "hanging" + ] + }, + { + "value": "weight-scale", + "keywords": [ + "weight", + "scale" + ] + }, + { + "value": "wheat-awn", + "keywords": [ + "wheat", + "awn" + ] + }, + { + "value": "wheat-awn-circle-exclamation", + "keywords": [ + "wheat", + "awn", + "circle", + "exclamation" + ] + }, + { + "value": "wheelchair" + }, + { + "value": "wheelchair-move", + "keywords": [ + "wheelchair", + "move" + ] + }, + { + "value": "whiskey-glass", + "keywords": [ + "whiskey", + "glass" + ] + }, + { + "value": "wifi" + }, + { + "value": "wind" + }, + { + "value": "window-maximize", + "keywords": [ + "window", + "maximize" + ] + }, + { + "value": "window-minimize", + "keywords": [ + "window", + "minimize" + ] + }, + { + "value": "window-restore", + "keywords": [ + "window", + "restore" + ] + }, + { + "value": "wine-bottle", + "keywords": [ + "wine", + "bottle" + ] + }, + { + "value": "wine-glass", + "keywords": [ + "wine", + "glass" + ] + }, + { + "value": "wine-glass-empty", + "keywords": [ + "wine", + "glass", + "empty" + ] + }, + { + "value": "won-sign", + "keywords": [ + "won", + "sign" + ] + }, + { + "value": "worm" + }, + { + "value": "wrench" + }, + { + "value": "x" + }, + { + "value": "x-ray" + }, + { + "value": "xmark" + }, + { + "value": "xmarks-lines", + "keywords": [ + "xmarks", + "lines" + ] + }, + { + "value": "y" + }, + { + "value": "yen-sign", + "keywords": [ + "yen", + "sign" + ] + }, + { + "value": "yin-yang", + "keywords": [ + "yin", + "yang" + ] + }, + { + "value": "z" + } + ] + }, + "amPosition": { + "label": "$t:editor.control.am_position.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "position" + }, + "options": [ + { + "value": "left", + "label": "$t:editor.control.am_position.left" + }, + { + "value": "right", + "label": "$t:editor.control.am_position.right" + } + ] + }, + "tiPlaceholder": { + "label": "$t:editor.control.ti_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "tiCreatable": { + "label": "$t:editor.control.ti_creatable.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "creatable" + } + }, + "tiDisabled": { + "label": "$t:editor.control.ti_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "tiIsMulti": { + "label": "$t:editor.control.ti_is_multi.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "isMulti" + } + }, + "tiClearable": { + "label": "$t:editor.control.ti_clearable.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "isClearable" + } + }, + "tiSearchable": { + "label": "$t:editor.control.ti_searchable.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "isSearchable" + } + }, + "tiMaxItems": { + "label": "$t:editor.control.ti_max_items.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxItems" + } + }, + "sdMultiple": { + "label": "$t:editor.control.sd_multiple.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "multiple" + } + }, + "sdSearchPlaceholder": { + "label": "$t:editor.control.sd_search_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "searchPlaceholder" + } + }, + "sdDisabled": { + "label": "$t:editor.control.sd_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "sdTriggerLabel": { + "label": "$t:editor.control.sd_trigger_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "triggerLabel" + } + }, + "sdNoResults": { + "label": "$t:editor.control.sd_no_results.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "noResultsText" + } + }, + "sdInitial": { + "label": "$t:editor.control.sd_initial.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "initialText" + } + }, + "rsPlaceholder": { + "label": "$t:editor.control.rs_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "rsDisabled": { + "label": "$t:editor.control.rs_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "rsMaxHeight": { + "label": "$t:editor.control.rs_max_height.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxHeight" + } + }, + "tsPlaceholder": { + "label": "$t:editor.control.ts_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "tsDisabled": { + "label": "$t:editor.control.ts_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "isPlaceholder": { + "label": "$t:editor.control.is_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "isSearchPlaceholder": { + "label": "$t:editor.control.is_search_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "searchPlaceholder" + } + }, + "isNoResults": { + "label": "$t:editor.control.is_no_results.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "noResultsText" + } + }, + "isDisabled": { + "label": "$t:editor.control.is_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "ccValue": { + "label": "$t:editor.control.cc_value.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "value" + } + }, + "ccIcon": { + "label": "$t:editor.control.cc_icon.label", + "widget": "icon-picker", + "apply": { + "type": "propValue", + "propKey": "icon" + }, + "iconColumns": 8, + "icons": [ + { + "value": "0" + }, + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + }, + { + "value": "4" + }, + { + "value": "5" + }, + { + "value": "6" + }, + { + "value": "7" + }, + { + "value": "8" + }, + { + "value": "9" + }, + { + "value": "a" + }, + { + "value": "address-book", + "keywords": [ + "address", + "book" + ] + }, + { + "value": "address-card", + "keywords": [ + "address", + "card" + ] + }, + { + "value": "align-center", + "keywords": [ + "align", + "center" + ] + }, + { + "value": "align-justify", + "keywords": [ + "align", + "justify" + ] + }, + { + "value": "align-left", + "keywords": [ + "align", + "left" + ] + }, + { + "value": "align-right", + "keywords": [ + "align", + "right" + ] + }, + { + "value": "anchor" + }, + { + "value": "anchor-circle-check", + "keywords": [ + "anchor", + "circle", + "check" + ] + }, + { + "value": "anchor-circle-exclamation", + "keywords": [ + "anchor", + "circle", + "exclamation" + ] + }, + { + "value": "anchor-circle-xmark", + "keywords": [ + "anchor", + "circle", + "xmark" + ] + }, + { + "value": "anchor-lock", + "keywords": [ + "anchor", + "lock" + ] + }, + { + "value": "angle-down", + "keywords": [ + "angle", + "down" + ] + }, + { + "value": "angle-left", + "keywords": [ + "angle", + "left" + ] + }, + { + "value": "angle-right", + "keywords": [ + "angle", + "right" + ] + }, + { + "value": "angle-up", + "keywords": [ + "angle", + "up" + ] + }, + { + "value": "angles-down", + "keywords": [ + "angles", + "down" + ] + }, + { + "value": "angles-left", + "keywords": [ + "angles", + "left" + ] + }, + { + "value": "angles-right", + "keywords": [ + "angles", + "right" + ] + }, + { + "value": "angles-up", + "keywords": [ + "angles", + "up" + ] + }, + { + "value": "ankh" + }, + { + "value": "apple-whole", + "keywords": [ + "apple", + "whole" + ] + }, + { + "value": "archway" + }, + { + "value": "arrow-down", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-1-9", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-9-1", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-a-z", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-long", + "keywords": [ + "arrow", + "down", + "long" + ] + }, + { + "value": "arrow-down-short-wide", + "keywords": [ + "arrow", + "down", + "short", + "wide" + ] + }, + { + "value": "arrow-down-up-across-line", + "keywords": [ + "arrow", + "down", + "up", + "across", + "line" + ] + }, + { + "value": "arrow-down-up-lock", + "keywords": [ + "arrow", + "down", + "up", + "lock" + ] + }, + { + "value": "arrow-down-wide-short", + "keywords": [ + "arrow", + "down", + "wide", + "short" + ] + }, + { + "value": "arrow-down-z-a", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-left", + "keywords": [ + "arrow", + "left" + ] + }, + { + "value": "arrow-left-long", + "keywords": [ + "arrow", + "left", + "long" + ] + }, + { + "value": "arrow-pointer", + "keywords": [ + "arrow", + "pointer" + ] + }, + { + "value": "arrow-right", + "keywords": [ + "arrow", + "right" + ] + }, + { + "value": "arrow-right-arrow-left", + "keywords": [ + "arrow", + "right", + "arrow", + "left" + ] + }, + { + "value": "arrow-right-from-bracket", + "keywords": [ + "arrow", + "right", + "from", + "bracket" + ] + }, + { + "value": "arrow-right-long", + "keywords": [ + "arrow", + "right", + "long" + ] + }, + { + "value": "arrow-right-to-bracket", + "keywords": [ + "arrow", + "right", + "to", + "bracket" + ] + }, + { + "value": "arrow-right-to-city", + "keywords": [ + "arrow", + "right", + "to", + "city" + ] + }, + { + "value": "arrow-rotate-left", + "keywords": [ + "arrow", + "rotate", + "left" + ] + }, + { + "value": "arrow-rotate-right", + "keywords": [ + "arrow", + "rotate", + "right" + ] + }, + { + "value": "arrow-trend-down", + "keywords": [ + "arrow", + "trend", + "down" + ] + }, + { + "value": "arrow-trend-up", + "keywords": [ + "arrow", + "trend", + "up" + ] + }, + { + "value": "arrow-turn-down", + "keywords": [ + "arrow", + "turn", + "down" + ] + }, + { + "value": "arrow-turn-up", + "keywords": [ + "arrow", + "turn", + "up" + ] + }, + { + "value": "arrow-up", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-1-9", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-9-1", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-a-z", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-from-bracket", + "keywords": [ + "arrow", + "up", + "from", + "bracket" + ] + }, + { + "value": "arrow-up-from-ground-water", + "keywords": [ + "arrow", + "up", + "from", + "ground", + "water" + ] + }, + { + "value": "arrow-up-from-water-pump", + "keywords": [ + "arrow", + "up", + "from", + "water", + "pump" + ] + }, + { + "value": "arrow-up-long", + "keywords": [ + "arrow", + "up", + "long" + ] + }, + { + "value": "arrow-up-right-dots", + "keywords": [ + "arrow", + "up", + "right", + "dots" + ] + }, + { + "value": "arrow-up-right-from-square", + "keywords": [ + "arrow", + "up", + "right", + "from", + "square" + ] + }, + { + "value": "arrow-up-short-wide", + "keywords": [ + "arrow", + "up", + "short", + "wide" + ] + }, + { + "value": "arrow-up-wide-short", + "keywords": [ + "arrow", + "up", + "wide", + "short" + ] + }, + { + "value": "arrow-up-z-a", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrows-down-to-line", + "keywords": [ + "arrows", + "down", + "to", + "line" + ] + }, + { + "value": "arrows-down-to-people", + "keywords": [ + "arrows", + "down", + "to", + "people" + ] + }, + { + "value": "arrows-left-right", + "keywords": [ + "arrows", + "left", + "right" + ] + }, + { + "value": "arrows-left-right-to-line", + "keywords": [ + "arrows", + "left", + "right", + "to", + "line" + ] + }, + { + "value": "arrows-rotate", + "keywords": [ + "arrows", + "rotate" + ] + }, + { + "value": "arrows-spin", + "keywords": [ + "arrows", + "spin" + ] + }, + { + "value": "arrows-split-up-and-left", + "keywords": [ + "arrows", + "split", + "up", + "and", + "left" + ] + }, + { + "value": "arrows-to-circle", + "keywords": [ + "arrows", + "to", + "circle" + ] + }, + { + "value": "arrows-to-dot", + "keywords": [ + "arrows", + "to", + "dot" + ] + }, + { + "value": "arrows-to-eye", + "keywords": [ + "arrows", + "to", + "eye" + ] + }, + { + "value": "arrows-turn-right", + "keywords": [ + "arrows", + "turn", + "right" + ] + }, + { + "value": "arrows-turn-to-dots", + "keywords": [ + "arrows", + "turn", + "to", + "dots" + ] + }, + { + "value": "arrows-up-down", + "keywords": [ + "arrows", + "up", + "down" + ] + }, + { + "value": "arrows-up-down-left-right", + "keywords": [ + "arrows", + "up", + "down", + "left", + "right" + ] + }, + { + "value": "arrows-up-to-line", + "keywords": [ + "arrows", + "up", + "to", + "line" + ] + }, + { + "value": "asterisk" + }, + { + "value": "at" + }, + { + "value": "atom" + }, + { + "value": "audio-description", + "keywords": [ + "audio", + "description" + ] + }, + { + "value": "austral-sign", + "keywords": [ + "austral", + "sign" + ] + }, + { + "value": "award" + }, + { + "value": "b" + }, + { + "value": "baby" + }, + { + "value": "baby-carriage", + "keywords": [ + "baby", + "carriage" + ] + }, + { + "value": "backward" + }, + { + "value": "backward-fast", + "keywords": [ + "backward", + "fast" + ] + }, + { + "value": "backward-step", + "keywords": [ + "backward", + "step" + ] + }, + { + "value": "bacon" + }, + { + "value": "bacteria" + }, + { + "value": "bacterium" + }, + { + "value": "bag-shopping", + "keywords": [ + "bag", + "shopping" + ] + }, + { + "value": "bahai" + }, + { + "value": "baht-sign", + "keywords": [ + "baht", + "sign" + ] + }, + { + "value": "ban" + }, + { + "value": "ban-smoking", + "keywords": [ + "ban", + "smoking" + ] + }, + { + "value": "bandage" + }, + { + "value": "bangladeshi-taka-sign", + "keywords": [ + "bangladeshi", + "taka", + "sign" + ] + }, + { + "value": "barcode" + }, + { + "value": "bars" + }, + { + "value": "bars-progress", + "keywords": [ + "bars", + "progress" + ] + }, + { + "value": "bars-staggered", + "keywords": [ + "bars", + "staggered" + ] + }, + { + "value": "baseball" + }, + { + "value": "baseball-bat-ball", + "keywords": [ + "baseball", + "bat", + "ball" + ] + }, + { + "value": "basket-shopping", + "keywords": [ + "basket", + "shopping" + ] + }, + { + "value": "basketball" + }, + { + "value": "bath" + }, + { + "value": "battery-empty", + "keywords": [ + "battery", + "empty" + ] + }, + { + "value": "battery-full", + "keywords": [ + "battery", + "full" + ] + }, + { + "value": "battery-half", + "keywords": [ + "battery", + "half" + ] + }, + { + "value": "battery-quarter", + "keywords": [ + "battery", + "quarter" + ] + }, + { + "value": "battery-three-quarters", + "keywords": [ + "battery", + "three", + "quarters" + ] + }, + { + "value": "bed" + }, + { + "value": "bed-pulse", + "keywords": [ + "bed", + "pulse" + ] + }, + { + "value": "beer-mug-empty", + "keywords": [ + "beer", + "mug", + "empty" + ] + }, + { + "value": "bell" + }, + { + "value": "bell-concierge", + "keywords": [ + "bell", + "concierge" + ] + }, + { + "value": "bell-slash", + "keywords": [ + "bell", + "slash" + ] + }, + { + "value": "bezier-curve", + "keywords": [ + "bezier", + "curve" + ] + }, + { + "value": "bicycle" + }, + { + "value": "binoculars" + }, + { + "value": "biohazard" + }, + { + "value": "bitcoin-sign", + "keywords": [ + "bitcoin", + "sign" + ] + }, + { + "value": "blender" + }, + { + "value": "blender-phone", + "keywords": [ + "blender", + "phone" + ] + }, + { + "value": "blog" + }, + { + "value": "bold" + }, + { + "value": "bolt" + }, + { + "value": "bolt-lightning", + "keywords": [ + "bolt", + "lightning" + ] + }, + { + "value": "bomb" + }, + { + "value": "bone" + }, + { + "value": "bong" + }, + { + "value": "book" + }, + { + "value": "book-atlas", + "keywords": [ + "book", + "atlas" + ] + }, + { + "value": "book-bible", + "keywords": [ + "book", + "bible" + ] + }, + { + "value": "book-bookmark", + "keywords": [ + "book", + "bookmark" + ] + }, + { + "value": "book-journal-whills", + "keywords": [ + "book", + "journal", + "whills" + ] + }, + { + "value": "book-medical", + "keywords": [ + "book", + "medical" + ] + }, + { + "value": "book-open", + "keywords": [ + "book", + "open" + ] + }, + { + "value": "book-open-reader", + "keywords": [ + "book", + "open", + "reader" + ] + }, + { + "value": "book-quran", + "keywords": [ + "book", + "quran" + ] + }, + { + "value": "book-skull", + "keywords": [ + "book", + "skull" + ] + }, + { + "value": "book-tanakh", + "keywords": [ + "book", + "tanakh" + ] + }, + { + "value": "bookmark" + }, + { + "value": "border-all", + "keywords": [ + "border", + "all" + ] + }, + { + "value": "border-none", + "keywords": [ + "border", + "none" + ] + }, + { + "value": "border-top-left", + "keywords": [ + "border", + "top", + "left" + ] + }, + { + "value": "bore-hole", + "keywords": [ + "bore", + "hole" + ] + }, + { + "value": "bottle-droplet", + "keywords": [ + "bottle", + "droplet" + ] + }, + { + "value": "bottle-water", + "keywords": [ + "bottle", + "water" + ] + }, + { + "value": "bowl-food", + "keywords": [ + "bowl", + "food" + ] + }, + { + "value": "bowl-rice", + "keywords": [ + "bowl", + "rice" + ] + }, + { + "value": "bowling-ball", + "keywords": [ + "bowling", + "ball" + ] + }, + { + "value": "box" + }, + { + "value": "box-archive", + "keywords": [ + "box", + "archive" + ] + }, + { + "value": "box-open", + "keywords": [ + "box", + "open" + ] + }, + { + "value": "box-tissue", + "keywords": [ + "box", + "tissue" + ] + }, + { + "value": "boxes-packing", + "keywords": [ + "boxes", + "packing" + ] + }, + { + "value": "boxes-stacked", + "keywords": [ + "boxes", + "stacked" + ] + }, + { + "value": "braille" + }, + { + "value": "brain" + }, + { + "value": "brazilian-real-sign", + "keywords": [ + "brazilian", + "real", + "sign" + ] + }, + { + "value": "bread-slice", + "keywords": [ + "bread", + "slice" + ] + }, + { + "value": "bridge" + }, + { + "value": "bridge-circle-check", + "keywords": [ + "bridge", + "circle", + "check" + ] + }, + { + "value": "bridge-circle-exclamation", + "keywords": [ + "bridge", + "circle", + "exclamation" + ] + }, + { + "value": "bridge-circle-xmark", + "keywords": [ + "bridge", + "circle", + "xmark" + ] + }, + { + "value": "bridge-lock", + "keywords": [ + "bridge", + "lock" + ] + }, + { + "value": "bridge-water", + "keywords": [ + "bridge", + "water" + ] + }, + { + "value": "briefcase" + }, + { + "value": "briefcase-medical", + "keywords": [ + "briefcase", + "medical" + ] + }, + { + "value": "broom" + }, + { + "value": "broom-ball", + "keywords": [ + "broom", + "ball" + ] + }, + { + "value": "brush" + }, + { + "value": "bucket" + }, + { + "value": "bug" + }, + { + "value": "bug-slash", + "keywords": [ + "bug", + "slash" + ] + }, + { + "value": "bugs" + }, + { + "value": "building" + }, + { + "value": "building-circle-arrow-right", + "keywords": [ + "building", + "circle", + "arrow", + "right" + ] + }, + { + "value": "building-circle-check", + "keywords": [ + "building", + "circle", + "check" + ] + }, + { + "value": "building-circle-exclamation", + "keywords": [ + "building", + "circle", + "exclamation" + ] + }, + { + "value": "building-circle-xmark", + "keywords": [ + "building", + "circle", + "xmark" + ] + }, + { + "value": "building-columns", + "keywords": [ + "building", + "columns" + ] + }, + { + "value": "building-flag", + "keywords": [ + "building", + "flag" + ] + }, + { + "value": "building-lock", + "keywords": [ + "building", + "lock" + ] + }, + { + "value": "building-ngo", + "keywords": [ + "building", + "ngo" + ] + }, + { + "value": "building-shield", + "keywords": [ + "building", + "shield" + ] + }, + { + "value": "building-un", + "keywords": [ + "building", + "un" + ] + }, + { + "value": "building-user", + "keywords": [ + "building", + "user" + ] + }, + { + "value": "building-wheat", + "keywords": [ + "building", + "wheat" + ] + }, + { + "value": "bullhorn" + }, + { + "value": "bullseye" + }, + { + "value": "burger" + }, + { + "value": "burst" + }, + { + "value": "bus" + }, + { + "value": "bus-simple", + "keywords": [ + "bus", + "simple" + ] + }, + { + "value": "business-time", + "keywords": [ + "business", + "time" + ] + }, + { + "value": "c" + }, + { + "value": "cable-car", + "keywords": [ + "cable", + "car" + ] + }, + { + "value": "cake-candles", + "keywords": [ + "cake", + "candles" + ] + }, + { + "value": "calculator" + }, + { + "value": "calendar" + }, + { + "value": "calendar-check", + "keywords": [ + "calendar", + "check" + ] + }, + { + "value": "calendar-day", + "keywords": [ + "calendar", + "day" + ] + }, + { + "value": "calendar-days", + "keywords": [ + "calendar", + "days" + ] + }, + { + "value": "calendar-minus", + "keywords": [ + "calendar", + "minus" + ] + }, + { + "value": "calendar-plus", + "keywords": [ + "calendar", + "plus" + ] + }, + { + "value": "calendar-week", + "keywords": [ + "calendar", + "week" + ] + }, + { + "value": "calendar-xmark", + "keywords": [ + "calendar", + "xmark" + ] + }, + { + "value": "camera" + }, + { + "value": "camera-retro", + "keywords": [ + "camera", + "retro" + ] + }, + { + "value": "camera-rotate", + "keywords": [ + "camera", + "rotate" + ] + }, + { + "value": "campground" + }, + { + "value": "candy-cane", + "keywords": [ + "candy", + "cane" + ] + }, + { + "value": "cannabis" + }, + { + "value": "capsules" + }, + { + "value": "car" + }, + { + "value": "car-battery", + "keywords": [ + "car", + "battery" + ] + }, + { + "value": "car-burst", + "keywords": [ + "car", + "burst" + ] + }, + { + "value": "car-on", + "keywords": [ + "car", + "on" + ] + }, + { + "value": "car-rear", + "keywords": [ + "car", + "rear" + ] + }, + { + "value": "car-side", + "keywords": [ + "car", + "side" + ] + }, + { + "value": "car-tunnel", + "keywords": [ + "car", + "tunnel" + ] + }, + { + "value": "caravan" + }, + { + "value": "caret-down", + "keywords": [ + "caret", + "down" + ] + }, + { + "value": "caret-left", + "keywords": [ + "caret", + "left" + ] + }, + { + "value": "caret-right", + "keywords": [ + "caret", + "right" + ] + }, + { + "value": "caret-up", + "keywords": [ + "caret", + "up" + ] + }, + { + "value": "carrot" + }, + { + "value": "cart-arrow-down", + "keywords": [ + "cart", + "arrow", + "down" + ] + }, + { + "value": "cart-flatbed", + "keywords": [ + "cart", + "flatbed" + ] + }, + { + "value": "cart-flatbed-suitcase", + "keywords": [ + "cart", + "flatbed", + "suitcase" + ] + }, + { + "value": "cart-plus", + "keywords": [ + "cart", + "plus" + ] + }, + { + "value": "cart-shopping", + "keywords": [ + "cart", + "shopping" + ] + }, + { + "value": "cash-register", + "keywords": [ + "cash", + "register" + ] + }, + { + "value": "cat" + }, + { + "value": "cedi-sign", + "keywords": [ + "cedi", + "sign" + ] + }, + { + "value": "cent-sign", + "keywords": [ + "cent", + "sign" + ] + }, + { + "value": "certificate" + }, + { + "value": "chair" + }, + { + "value": "chalkboard" + }, + { + "value": "chalkboard-user", + "keywords": [ + "chalkboard", + "user" + ] + }, + { + "value": "champagne-glasses", + "keywords": [ + "champagne", + "glasses" + ] + }, + { + "value": "charging-station", + "keywords": [ + "charging", + "station" + ] + }, + { + "value": "chart-area", + "keywords": [ + "chart", + "area" + ] + }, + { + "value": "chart-bar", + "keywords": [ + "chart", + "bar" + ] + }, + { + "value": "chart-column", + "keywords": [ + "chart", + "column" + ] + }, + { + "value": "chart-gantt", + "keywords": [ + "chart", + "gantt" + ] + }, + { + "value": "chart-line", + "keywords": [ + "chart", + "line" + ] + }, + { + "value": "chart-pie", + "keywords": [ + "chart", + "pie" + ] + }, + { + "value": "chart-simple", + "keywords": [ + "chart", + "simple" + ] + }, + { + "value": "check" + }, + { + "value": "check-double", + "keywords": [ + "check", + "double" + ] + }, + { + "value": "check-to-slot", + "keywords": [ + "check", + "to", + "slot" + ] + }, + { + "value": "cheese" + }, + { + "value": "chess" + }, + { + "value": "chess-bishop", + "keywords": [ + "chess", + "bishop" + ] + }, + { + "value": "chess-board", + "keywords": [ + "chess", + "board" + ] + }, + { + "value": "chess-king", + "keywords": [ + "chess", + "king" + ] + }, + { + "value": "chess-knight", + "keywords": [ + "chess", + "knight" + ] + }, + { + "value": "chess-pawn", + "keywords": [ + "chess", + "pawn" + ] + }, + { + "value": "chess-queen", + "keywords": [ + "chess", + "queen" + ] + }, + { + "value": "chess-rook", + "keywords": [ + "chess", + "rook" + ] + }, + { + "value": "chevron-down", + "keywords": [ + "chevron", + "down" + ] + }, + { + "value": "chevron-left", + "keywords": [ + "chevron", + "left" + ] + }, + { + "value": "chevron-right", + "keywords": [ + "chevron", + "right" + ] + }, + { + "value": "chevron-up", + "keywords": [ + "chevron", + "up" + ] + }, + { + "value": "child" + }, + { + "value": "child-combatant", + "keywords": [ + "child", + "combatant" + ] + }, + { + "value": "child-dress", + "keywords": [ + "child", + "dress" + ] + }, + { + "value": "child-reaching", + "keywords": [ + "child", + "reaching" + ] + }, + { + "value": "children" + }, + { + "value": "church" + }, + { + "value": "circle" + }, + { + "value": "circle-arrow-down", + "keywords": [ + "circle", + "arrow", + "down" + ] + }, + { + "value": "circle-arrow-left", + "keywords": [ + "circle", + "arrow", + "left" + ] + }, + { + "value": "circle-arrow-right", + "keywords": [ + "circle", + "arrow", + "right" + ] + }, + { + "value": "circle-arrow-up", + "keywords": [ + "circle", + "arrow", + "up" + ] + }, + { + "value": "circle-check", + "keywords": [ + "circle", + "check" + ] + }, + { + "value": "circle-chevron-down", + "keywords": [ + "circle", + "chevron", + "down" + ] + }, + { + "value": "circle-chevron-left", + "keywords": [ + "circle", + "chevron", + "left" + ] + }, + { + "value": "circle-chevron-right", + "keywords": [ + "circle", + "chevron", + "right" + ] + }, + { + "value": "circle-chevron-up", + "keywords": [ + "circle", + "chevron", + "up" + ] + }, + { + "value": "circle-dollar-to-slot", + "keywords": [ + "circle", + "dollar", + "to", + "slot" + ] + }, + { + "value": "circle-dot", + "keywords": [ + "circle", + "dot" + ] + }, + { + "value": "circle-down", + "keywords": [ + "circle", + "down" + ] + }, + { + "value": "circle-exclamation", + "keywords": [ + "circle", + "exclamation" + ] + }, + { + "value": "circle-h" + }, + { + "value": "circle-half-stroke", + "keywords": [ + "circle", + "half", + "stroke" + ] + }, + { + "value": "circle-info", + "keywords": [ + "circle", + "info" + ] + }, + { + "value": "circle-left", + "keywords": [ + "circle", + "left" + ] + }, + { + "value": "circle-minus", + "keywords": [ + "circle", + "minus" + ] + }, + { + "value": "circle-nodes", + "keywords": [ + "circle", + "nodes" + ] + }, + { + "value": "circle-notch", + "keywords": [ + "circle", + "notch" + ] + }, + { + "value": "circle-pause", + "keywords": [ + "circle", + "pause" + ] + }, + { + "value": "circle-play", + "keywords": [ + "circle", + "play" + ] + }, + { + "value": "circle-plus", + "keywords": [ + "circle", + "plus" + ] + }, + { + "value": "circle-question", + "keywords": [ + "circle", + "question" + ] + }, + { + "value": "circle-radiation", + "keywords": [ + "circle", + "radiation" + ] + }, + { + "value": "circle-right", + "keywords": [ + "circle", + "right" + ] + }, + { + "value": "circle-stop", + "keywords": [ + "circle", + "stop" + ] + }, + { + "value": "circle-up", + "keywords": [ + "circle", + "up" + ] + }, + { + "value": "circle-user", + "keywords": [ + "circle", + "user" + ] + }, + { + "value": "circle-xmark", + "keywords": [ + "circle", + "xmark" + ] + }, + { + "value": "city" + }, + { + "value": "clapperboard" + }, + { + "value": "clipboard" + }, + { + "value": "clipboard-check", + "keywords": [ + "clipboard", + "check" + ] + }, + { + "value": "clipboard-list", + "keywords": [ + "clipboard", + "list" + ] + }, + { + "value": "clipboard-question", + "keywords": [ + "clipboard", + "question" + ] + }, + { + "value": "clipboard-user", + "keywords": [ + "clipboard", + "user" + ] + }, + { + "value": "clock" + }, + { + "value": "clock-rotate-left", + "keywords": [ + "clock", + "rotate", + "left" + ] + }, + { + "value": "clone" + }, + { + "value": "closed-captioning", + "keywords": [ + "closed", + "captioning" + ] + }, + { + "value": "cloud" + }, + { + "value": "cloud-arrow-down", + "keywords": [ + "cloud", + "arrow", + "down" + ] + }, + { + "value": "cloud-arrow-up", + "keywords": [ + "cloud", + "arrow", + "up" + ] + }, + { + "value": "cloud-bolt", + "keywords": [ + "cloud", + "bolt" + ] + }, + { + "value": "cloud-meatball", + "keywords": [ + "cloud", + "meatball" + ] + }, + { + "value": "cloud-moon", + "keywords": [ + "cloud", + "moon" + ] + }, + { + "value": "cloud-moon-rain", + "keywords": [ + "cloud", + "moon", + "rain" + ] + }, + { + "value": "cloud-rain", + "keywords": [ + "cloud", + "rain" + ] + }, + { + "value": "cloud-showers-heavy", + "keywords": [ + "cloud", + "showers", + "heavy" + ] + }, + { + "value": "cloud-showers-water", + "keywords": [ + "cloud", + "showers", + "water" + ] + }, + { + "value": "cloud-sun", + "keywords": [ + "cloud", + "sun" + ] + }, + { + "value": "cloud-sun-rain", + "keywords": [ + "cloud", + "sun", + "rain" + ] + }, + { + "value": "clover" + }, + { + "value": "code" + }, + { + "value": "code-branch", + "keywords": [ + "code", + "branch" + ] + }, + { + "value": "code-commit", + "keywords": [ + "code", + "commit" + ] + }, + { + "value": "code-compare", + "keywords": [ + "code", + "compare" + ] + }, + { + "value": "code-fork", + "keywords": [ + "code", + "fork" + ] + }, + { + "value": "code-merge", + "keywords": [ + "code", + "merge" + ] + }, + { + "value": "code-pull-request", + "keywords": [ + "code", + "pull", + "request" + ] + }, + { + "value": "coins" + }, + { + "value": "colon-sign", + "keywords": [ + "colon", + "sign" + ] + }, + { + "value": "comment" + }, + { + "value": "comment-dollar", + "keywords": [ + "comment", + "dollar" + ] + }, + { + "value": "comment-dots", + "keywords": [ + "comment", + "dots" + ] + }, + { + "value": "comment-medical", + "keywords": [ + "comment", + "medical" + ] + }, + { + "value": "comment-slash", + "keywords": [ + "comment", + "slash" + ] + }, + { + "value": "comment-sms", + "keywords": [ + "comment", + "sms" + ] + }, + { + "value": "comments" + }, + { + "value": "comments-dollar", + "keywords": [ + "comments", + "dollar" + ] + }, + { + "value": "compact-disc", + "keywords": [ + "compact", + "disc" + ] + }, + { + "value": "compass" + }, + { + "value": "compass-drafting", + "keywords": [ + "compass", + "drafting" + ] + }, + { + "value": "compress" + }, + { + "value": "computer" + }, + { + "value": "computer-mouse", + "keywords": [ + "computer", + "mouse" + ] + }, + { + "value": "cookie" + }, + { + "value": "cookie-bite", + "keywords": [ + "cookie", + "bite" + ] + }, + { + "value": "copy" + }, + { + "value": "copyright" + }, + { + "value": "couch" + }, + { + "value": "cow" + }, + { + "value": "credit-card", + "keywords": [ + "credit", + "card" + ] + }, + { + "value": "crop" + }, + { + "value": "crop-simple", + "keywords": [ + "crop", + "simple" + ] + }, + { + "value": "cross" + }, + { + "value": "crosshairs" + }, + { + "value": "crow" + }, + { + "value": "crown" + }, + { + "value": "crutch" + }, + { + "value": "cruzeiro-sign", + "keywords": [ + "cruzeiro", + "sign" + ] + }, + { + "value": "cube" + }, + { + "value": "cubes" + }, + { + "value": "cubes-stacked", + "keywords": [ + "cubes", + "stacked" + ] + }, + { + "value": "d" + }, + { + "value": "database" + }, + { + "value": "delete-left", + "keywords": [ + "delete", + "left" + ] + }, + { + "value": "democrat" + }, + { + "value": "desktop" + }, + { + "value": "dharmachakra" + }, + { + "value": "diagram-next", + "keywords": [ + "diagram", + "next" + ] + }, + { + "value": "diagram-predecessor", + "keywords": [ + "diagram", + "predecessor" + ] + }, + { + "value": "diagram-project", + "keywords": [ + "diagram", + "project" + ] + }, + { + "value": "diagram-successor", + "keywords": [ + "diagram", + "successor" + ] + }, + { + "value": "diamond" + }, + { + "value": "diamond-turn-right", + "keywords": [ + "diamond", + "turn", + "right" + ] + }, + { + "value": "dice" + }, + { + "value": "dice-d20", + "keywords": [ + "dice", + "d20" + ] + }, + { + "value": "dice-d6", + "keywords": [ + "dice", + "d6" + ] + }, + { + "value": "dice-five", + "keywords": [ + "dice", + "five" + ] + }, + { + "value": "dice-four", + "keywords": [ + "dice", + "four" + ] + }, + { + "value": "dice-one", + "keywords": [ + "dice", + "one" + ] + }, + { + "value": "dice-six", + "keywords": [ + "dice", + "six" + ] + }, + { + "value": "dice-three", + "keywords": [ + "dice", + "three" + ] + }, + { + "value": "dice-two", + "keywords": [ + "dice", + "two" + ] + }, + { + "value": "disease" + }, + { + "value": "display" + }, + { + "value": "divide" + }, + { + "value": "dna" + }, + { + "value": "dog" + }, + { + "value": "dollar-sign", + "keywords": [ + "dollar", + "sign" + ] + }, + { + "value": "dolly" + }, + { + "value": "dong-sign", + "keywords": [ + "dong", + "sign" + ] + }, + { + "value": "door-closed", + "keywords": [ + "door", + "closed" + ] + }, + { + "value": "door-open", + "keywords": [ + "door", + "open" + ] + }, + { + "value": "dove" + }, + { + "value": "down-left-and-up-right-to-center", + "keywords": [ + "down", + "left", + "and", + "up", + "right", + "to", + "center" + ] + }, + { + "value": "down-long", + "keywords": [ + "down", + "long" + ] + }, + { + "value": "download" + }, + { + "value": "dragon" + }, + { + "value": "draw-polygon", + "keywords": [ + "draw", + "polygon" + ] + }, + { + "value": "droplet" + }, + { + "value": "droplet-slash", + "keywords": [ + "droplet", + "slash" + ] + }, + { + "value": "drum" + }, + { + "value": "drum-steelpan", + "keywords": [ + "drum", + "steelpan" + ] + }, + { + "value": "drumstick-bite", + "keywords": [ + "drumstick", + "bite" + ] + }, + { + "value": "dumbbell" + }, + { + "value": "dumpster" + }, + { + "value": "dumpster-fire", + "keywords": [ + "dumpster", + "fire" + ] + }, + { + "value": "dungeon" + }, + { + "value": "e" + }, + { + "value": "ear-deaf", + "keywords": [ + "ear", + "deaf" + ] + }, + { + "value": "ear-listen", + "keywords": [ + "ear", + "listen" + ] + }, + { + "value": "earth-africa", + "keywords": [ + "earth", + "africa" + ] + }, + { + "value": "earth-americas", + "keywords": [ + "earth", + "americas" + ] + }, + { + "value": "earth-asia", + "keywords": [ + "earth", + "asia" + ] + }, + { + "value": "earth-europe", + "keywords": [ + "earth", + "europe" + ] + }, + { + "value": "earth-oceania", + "keywords": [ + "earth", + "oceania" + ] + }, + { + "value": "egg" + }, + { + "value": "eject" + }, + { + "value": "elevator" + }, + { + "value": "ellipsis" + }, + { + "value": "ellipsis-vertical", + "keywords": [ + "ellipsis", + "vertical" + ] + }, + { + "value": "envelope" + }, + { + "value": "envelope-circle-check", + "keywords": [ + "envelope", + "circle", + "check" + ] + }, + { + "value": "envelope-open", + "keywords": [ + "envelope", + "open" + ] + }, + { + "value": "envelope-open-text", + "keywords": [ + "envelope", + "open", + "text" + ] + }, + { + "value": "envelopes-bulk", + "keywords": [ + "envelopes", + "bulk" + ] + }, + { + "value": "equals" + }, + { + "value": "eraser" + }, + { + "value": "ethernet" + }, + { + "value": "euro-sign", + "keywords": [ + "euro", + "sign" + ] + }, + { + "value": "exclamation" + }, + { + "value": "expand" + }, + { + "value": "explosion" + }, + { + "value": "eye" + }, + { + "value": "eye-dropper", + "keywords": [ + "eye", + "dropper" + ] + }, + { + "value": "eye-low-vision", + "keywords": [ + "eye", + "low", + "vision" + ] + }, + { + "value": "eye-slash", + "keywords": [ + "eye", + "slash" + ] + }, + { + "value": "f" + }, + { + "value": "face-angry", + "keywords": [ + "face", + "angry" + ] + }, + { + "value": "face-dizzy", + "keywords": [ + "face", + "dizzy" + ] + }, + { + "value": "face-flushed", + "keywords": [ + "face", + "flushed" + ] + }, + { + "value": "face-frown", + "keywords": [ + "face", + "frown" + ] + }, + { + "value": "face-frown-open", + "keywords": [ + "face", + "frown", + "open" + ] + }, + { + "value": "face-grimace", + "keywords": [ + "face", + "grimace" + ] + }, + { + "value": "face-grin", + "keywords": [ + "face", + "grin" + ] + }, + { + "value": "face-grin-beam", + "keywords": [ + "face", + "grin", + "beam" + ] + }, + { + "value": "face-grin-beam-sweat", + "keywords": [ + "face", + "grin", + "beam", + "sweat" + ] + }, + { + "value": "face-grin-hearts", + "keywords": [ + "face", + "grin", + "hearts" + ] + }, + { + "value": "face-grin-squint", + "keywords": [ + "face", + "grin", + "squint" + ] + }, + { + "value": "face-grin-squint-tears", + "keywords": [ + "face", + "grin", + "squint", + "tears" + ] + }, + { + "value": "face-grin-stars", + "keywords": [ + "face", + "grin", + "stars" + ] + }, + { + "value": "face-grin-tears", + "keywords": [ + "face", + "grin", + "tears" + ] + }, + { + "value": "face-grin-tongue", + "keywords": [ + "face", + "grin", + "tongue" + ] + }, + { + "value": "face-grin-tongue-squint", + "keywords": [ + "face", + "grin", + "tongue", + "squint" + ] + }, + { + "value": "face-grin-tongue-wink", + "keywords": [ + "face", + "grin", + "tongue", + "wink" + ] + }, + { + "value": "face-grin-wide", + "keywords": [ + "face", + "grin", + "wide" + ] + }, + { + "value": "face-grin-wink", + "keywords": [ + "face", + "grin", + "wink" + ] + }, + { + "value": "face-kiss", + "keywords": [ + "face", + "kiss" + ] + }, + { + "value": "face-kiss-beam", + "keywords": [ + "face", + "kiss", + "beam" + ] + }, + { + "value": "face-kiss-wink-heart", + "keywords": [ + "face", + "kiss", + "wink", + "heart" + ] + }, + { + "value": "face-laugh", + "keywords": [ + "face", + "laugh" + ] + }, + { + "value": "face-laugh-beam", + "keywords": [ + "face", + "laugh", + "beam" + ] + }, + { + "value": "face-laugh-squint", + "keywords": [ + "face", + "laugh", + "squint" + ] + }, + { + "value": "face-laugh-wink", + "keywords": [ + "face", + "laugh", + "wink" + ] + }, + { + "value": "face-meh", + "keywords": [ + "face", + "meh" + ] + }, + { + "value": "face-meh-blank", + "keywords": [ + "face", + "meh", + "blank" + ] + }, + { + "value": "face-rolling-eyes", + "keywords": [ + "face", + "rolling", + "eyes" + ] + }, + { + "value": "face-sad-cry", + "keywords": [ + "face", + "sad", + "cry" + ] + }, + { + "value": "face-sad-tear", + "keywords": [ + "face", + "sad", + "tear" + ] + }, + { + "value": "face-smile", + "keywords": [ + "face", + "smile" + ] + }, + { + "value": "face-smile-beam", + "keywords": [ + "face", + "smile", + "beam" + ] + }, + { + "value": "face-smile-wink", + "keywords": [ + "face", + "smile", + "wink" + ] + }, + { + "value": "face-surprise", + "keywords": [ + "face", + "surprise" + ] + }, + { + "value": "face-tired", + "keywords": [ + "face", + "tired" + ] + }, + { + "value": "fan" + }, + { + "value": "faucet" + }, + { + "value": "faucet-drip", + "keywords": [ + "faucet", + "drip" + ] + }, + { + "value": "fax" + }, + { + "value": "feather" + }, + { + "value": "feather-pointed", + "keywords": [ + "feather", + "pointed" + ] + }, + { + "value": "ferry" + }, + { + "value": "file" + }, + { + "value": "file-arrow-down", + "keywords": [ + "file", + "arrow", + "down" + ] + }, + { + "value": "file-arrow-up", + "keywords": [ + "file", + "arrow", + "up" + ] + }, + { + "value": "file-audio", + "keywords": [ + "file", + "audio" + ] + }, + { + "value": "file-circle-check", + "keywords": [ + "file", + "circle", + "check" + ] + }, + { + "value": "file-circle-exclamation", + "keywords": [ + "file", + "circle", + "exclamation" + ] + }, + { + "value": "file-circle-minus", + "keywords": [ + "file", + "circle", + "minus" + ] + }, + { + "value": "file-circle-plus", + "keywords": [ + "file", + "circle", + "plus" + ] + }, + { + "value": "file-circle-question", + "keywords": [ + "file", + "circle", + "question" + ] + }, + { + "value": "file-circle-xmark", + "keywords": [ + "file", + "circle", + "xmark" + ] + }, + { + "value": "file-code", + "keywords": [ + "file", + "code" + ] + }, + { + "value": "file-contract", + "keywords": [ + "file", + "contract" + ] + }, + { + "value": "file-csv", + "keywords": [ + "file", + "csv" + ] + }, + { + "value": "file-excel", + "keywords": [ + "file", + "excel" + ] + }, + { + "value": "file-export", + "keywords": [ + "file", + "export" + ] + }, + { + "value": "file-image", + "keywords": [ + "file", + "image" + ] + }, + { + "value": "file-import", + "keywords": [ + "file", + "import" + ] + }, + { + "value": "file-invoice", + "keywords": [ + "file", + "invoice" + ] + }, + { + "value": "file-invoice-dollar", + "keywords": [ + "file", + "invoice", + "dollar" + ] + }, + { + "value": "file-lines", + "keywords": [ + "file", + "lines" + ] + }, + { + "value": "file-medical", + "keywords": [ + "file", + "medical" + ] + }, + { + "value": "file-pdf", + "keywords": [ + "file", + "pdf" + ] + }, + { + "value": "file-pen", + "keywords": [ + "file", + "pen" + ] + }, + { + "value": "file-powerpoint", + "keywords": [ + "file", + "powerpoint" + ] + }, + { + "value": "file-prescription", + "keywords": [ + "file", + "prescription" + ] + }, + { + "value": "file-shield", + "keywords": [ + "file", + "shield" + ] + }, + { + "value": "file-signature", + "keywords": [ + "file", + "signature" + ] + }, + { + "value": "file-video", + "keywords": [ + "file", + "video" + ] + }, + { + "value": "file-waveform", + "keywords": [ + "file", + "waveform" + ] + }, + { + "value": "file-word", + "keywords": [ + "file", + "word" + ] + }, + { + "value": "file-zipper", + "keywords": [ + "file", + "zipper" + ] + }, + { + "value": "fill" + }, + { + "value": "fill-drip", + "keywords": [ + "fill", + "drip" + ] + }, + { + "value": "film" + }, + { + "value": "filter" + }, + { + "value": "filter-circle-dollar", + "keywords": [ + "filter", + "circle", + "dollar" + ] + }, + { + "value": "filter-circle-xmark", + "keywords": [ + "filter", + "circle", + "xmark" + ] + }, + { + "value": "fingerprint" + }, + { + "value": "fire" + }, + { + "value": "fire-burner", + "keywords": [ + "fire", + "burner" + ] + }, + { + "value": "fire-extinguisher", + "keywords": [ + "fire", + "extinguisher" + ] + }, + { + "value": "fire-flame-curved", + "keywords": [ + "fire", + "flame", + "curved" + ] + }, + { + "value": "fire-flame-simple", + "keywords": [ + "fire", + "flame", + "simple" + ] + }, + { + "value": "fish" + }, + { + "value": "fish-fins", + "keywords": [ + "fish", + "fins" + ] + }, + { + "value": "flag" + }, + { + "value": "flag-checkered", + "keywords": [ + "flag", + "checkered" + ] + }, + { + "value": "flag-usa", + "keywords": [ + "flag", + "usa" + ] + }, + { + "value": "flask" + }, + { + "value": "flask-vial", + "keywords": [ + "flask", + "vial" + ] + }, + { + "value": "floppy-disk", + "keywords": [ + "floppy", + "disk" + ] + }, + { + "value": "florin-sign", + "keywords": [ + "florin", + "sign" + ] + }, + { + "value": "folder" + }, + { + "value": "folder-closed", + "keywords": [ + "folder", + "closed" + ] + }, + { + "value": "folder-minus", + "keywords": [ + "folder", + "minus" + ] + }, + { + "value": "folder-open", + "keywords": [ + "folder", + "open" + ] + }, + { + "value": "folder-plus", + "keywords": [ + "folder", + "plus" + ] + }, + { + "value": "folder-tree", + "keywords": [ + "folder", + "tree" + ] + }, + { + "value": "font" + }, + { + "value": "font-awesome", + "keywords": [ + "font", + "awesome" + ] + }, + { + "value": "football" + }, + { + "value": "forward" + }, + { + "value": "forward-fast", + "keywords": [ + "forward", + "fast" + ] + }, + { + "value": "forward-step", + "keywords": [ + "forward", + "step" + ] + }, + { + "value": "franc-sign", + "keywords": [ + "franc", + "sign" + ] + }, + { + "value": "frog" + }, + { + "value": "futbol" + }, + { + "value": "g" + }, + { + "value": "gamepad" + }, + { + "value": "gas-pump", + "keywords": [ + "gas", + "pump" + ] + }, + { + "value": "gauge" + }, + { + "value": "gauge-high", + "keywords": [ + "gauge", + "high" + ] + }, + { + "value": "gauge-simple", + "keywords": [ + "gauge", + "simple" + ] + }, + { + "value": "gauge-simple-high", + "keywords": [ + "gauge", + "simple", + "high" + ] + }, + { + "value": "gavel" + }, + { + "value": "gear" + }, + { + "value": "gears" + }, + { + "value": "gem" + }, + { + "value": "genderless" + }, + { + "value": "ghost" + }, + { + "value": "gift" + }, + { + "value": "gifts" + }, + { + "value": "glass-water", + "keywords": [ + "glass", + "water" + ] + }, + { + "value": "glass-water-droplet", + "keywords": [ + "glass", + "water", + "droplet" + ] + }, + { + "value": "glasses" + }, + { + "value": "globe" + }, + { + "value": "golf-ball-tee", + "keywords": [ + "golf", + "ball", + "tee" + ] + }, + { + "value": "gopuram" + }, + { + "value": "graduation-cap", + "keywords": [ + "graduation", + "cap" + ] + }, + { + "value": "greater-than", + "keywords": [ + "greater", + "than" + ] + }, + { + "value": "greater-than-equal", + "keywords": [ + "greater", + "than", + "equal" + ] + }, + { + "value": "grip" + }, + { + "value": "grip-lines", + "keywords": [ + "grip", + "lines" + ] + }, + { + "value": "grip-lines-vertical", + "keywords": [ + "grip", + "lines", + "vertical" + ] + }, + { + "value": "grip-vertical", + "keywords": [ + "grip", + "vertical" + ] + }, + { + "value": "group-arrows-rotate", + "keywords": [ + "group", + "arrows", + "rotate" + ] + }, + { + "value": "guarani-sign", + "keywords": [ + "guarani", + "sign" + ] + }, + { + "value": "guitar" + }, + { + "value": "gun" + }, + { + "value": "h" + }, + { + "value": "hammer" + }, + { + "value": "hamsa" + }, + { + "value": "hand" + }, + { + "value": "hand-back-fist", + "keywords": [ + "hand", + "back", + "fist" + ] + }, + { + "value": "hand-dots", + "keywords": [ + "hand", + "dots" + ] + }, + { + "value": "hand-fist", + "keywords": [ + "hand", + "fist" + ] + }, + { + "value": "hand-holding", + "keywords": [ + "hand", + "holding" + ] + }, + { + "value": "hand-holding-dollar", + "keywords": [ + "hand", + "holding", + "dollar" + ] + }, + { + "value": "hand-holding-droplet", + "keywords": [ + "hand", + "holding", + "droplet" + ] + }, + { + "value": "hand-holding-hand", + "keywords": [ + "hand", + "holding", + "hand" + ] + }, + { + "value": "hand-holding-heart", + "keywords": [ + "hand", + "holding", + "heart" + ] + }, + { + "value": "hand-holding-medical", + "keywords": [ + "hand", + "holding", + "medical" + ] + }, + { + "value": "hand-lizard", + "keywords": [ + "hand", + "lizard" + ] + }, + { + "value": "hand-middle-finger", + "keywords": [ + "hand", + "middle", + "finger" + ] + }, + { + "value": "hand-peace", + "keywords": [ + "hand", + "peace" + ] + }, + { + "value": "hand-point-down", + "keywords": [ + "hand", + "point", + "down" + ] + }, + { + "value": "hand-point-left", + "keywords": [ + "hand", + "point", + "left" + ] + }, + { + "value": "hand-point-right", + "keywords": [ + "hand", + "point", + "right" + ] + }, + { + "value": "hand-point-up", + "keywords": [ + "hand", + "point", + "up" + ] + }, + { + "value": "hand-pointer", + "keywords": [ + "hand", + "pointer" + ] + }, + { + "value": "hand-scissors", + "keywords": [ + "hand", + "scissors" + ] + }, + { + "value": "hand-sparkles", + "keywords": [ + "hand", + "sparkles" + ] + }, + { + "value": "hand-spock", + "keywords": [ + "hand", + "spock" + ] + }, + { + "value": "handcuffs" + }, + { + "value": "hands" + }, + { + "value": "hands-asl-interpreting", + "keywords": [ + "hands", + "asl", + "interpreting" + ] + }, + { + "value": "hands-bound", + "keywords": [ + "hands", + "bound" + ] + }, + { + "value": "hands-bubbles", + "keywords": [ + "hands", + "bubbles" + ] + }, + { + "value": "hands-clapping", + "keywords": [ + "hands", + "clapping" + ] + }, + { + "value": "hands-holding", + "keywords": [ + "hands", + "holding" + ] + }, + { + "value": "hands-holding-child", + "keywords": [ + "hands", + "holding", + "child" + ] + }, + { + "value": "hands-holding-circle", + "keywords": [ + "hands", + "holding", + "circle" + ] + }, + { + "value": "hands-praying", + "keywords": [ + "hands", + "praying" + ] + }, + { + "value": "handshake" + }, + { + "value": "handshake-angle", + "keywords": [ + "handshake", + "angle" + ] + }, + { + "value": "handshake-simple", + "keywords": [ + "handshake", + "simple" + ] + }, + { + "value": "handshake-simple-slash", + "keywords": [ + "handshake", + "simple", + "slash" + ] + }, + { + "value": "handshake-slash", + "keywords": [ + "handshake", + "slash" + ] + }, + { + "value": "hanukiah" + }, + { + "value": "hard-drive", + "keywords": [ + "hard", + "drive" + ] + }, + { + "value": "hashtag" + }, + { + "value": "hat-cowboy", + "keywords": [ + "hat", + "cowboy" + ] + }, + { + "value": "hat-cowboy-side", + "keywords": [ + "hat", + "cowboy", + "side" + ] + }, + { + "value": "hat-wizard", + "keywords": [ + "hat", + "wizard" + ] + }, + { + "value": "head-side-cough", + "keywords": [ + "head", + "side", + "cough" + ] + }, + { + "value": "head-side-cough-slash", + "keywords": [ + "head", + "side", + "cough", + "slash" + ] + }, + { + "value": "head-side-mask", + "keywords": [ + "head", + "side", + "mask" + ] + }, + { + "value": "head-side-virus", + "keywords": [ + "head", + "side", + "virus" + ] + }, + { + "value": "heading" + }, + { + "value": "headphones" + }, + { + "value": "headphones-simple", + "keywords": [ + "headphones", + "simple" + ] + }, + { + "value": "headset" + }, + { + "value": "heart" + }, + { + "value": "heart-circle-bolt", + "keywords": [ + "heart", + "circle", + "bolt" + ] + }, + { + "value": "heart-circle-check", + "keywords": [ + "heart", + "circle", + "check" + ] + }, + { + "value": "heart-circle-exclamation", + "keywords": [ + "heart", + "circle", + "exclamation" + ] + }, + { + "value": "heart-circle-minus", + "keywords": [ + "heart", + "circle", + "minus" + ] + }, + { + "value": "heart-circle-plus", + "keywords": [ + "heart", + "circle", + "plus" + ] + }, + { + "value": "heart-circle-xmark", + "keywords": [ + "heart", + "circle", + "xmark" + ] + }, + { + "value": "heart-crack", + "keywords": [ + "heart", + "crack" + ] + }, + { + "value": "heart-pulse", + "keywords": [ + "heart", + "pulse" + ] + }, + { + "value": "helicopter" + }, + { + "value": "helicopter-symbol", + "keywords": [ + "helicopter", + "symbol" + ] + }, + { + "value": "helmet-safety", + "keywords": [ + "helmet", + "safety" + ] + }, + { + "value": "helmet-un", + "keywords": [ + "helmet", + "un" + ] + }, + { + "value": "highlighter" + }, + { + "value": "hill-avalanche", + "keywords": [ + "hill", + "avalanche" + ] + }, + { + "value": "hill-rockslide", + "keywords": [ + "hill", + "rockslide" + ] + }, + { + "value": "hippo" + }, + { + "value": "hockey-puck", + "keywords": [ + "hockey", + "puck" + ] + }, + { + "value": "holly-berry", + "keywords": [ + "holly", + "berry" + ] + }, + { + "value": "horse" + }, + { + "value": "horse-head", + "keywords": [ + "horse", + "head" + ] + }, + { + "value": "hospital" + }, + { + "value": "hospital-user", + "keywords": [ + "hospital", + "user" + ] + }, + { + "value": "hot-tub-person", + "keywords": [ + "hot", + "tub", + "person" + ] + }, + { + "value": "hotdog" + }, + { + "value": "hotel" + }, + { + "value": "hourglass" + }, + { + "value": "hourglass-end", + "keywords": [ + "hourglass", + "end" + ] + }, + { + "value": "hourglass-half", + "keywords": [ + "hourglass", + "half" + ] + }, + { + "value": "hourglass-start", + "keywords": [ + "hourglass", + "start" + ] + }, + { + "value": "house" + }, + { + "value": "house-chimney", + "keywords": [ + "house", + "chimney" + ] + }, + { + "value": "house-chimney-crack", + "keywords": [ + "house", + "chimney", + "crack" + ] + }, + { + "value": "house-chimney-medical", + "keywords": [ + "house", + "chimney", + "medical" + ] + }, + { + "value": "house-chimney-user", + "keywords": [ + "house", + "chimney", + "user" + ] + }, + { + "value": "house-chimney-window", + "keywords": [ + "house", + "chimney", + "window" + ] + }, + { + "value": "house-circle-check", + "keywords": [ + "house", + "circle", + "check" + ] + }, + { + "value": "house-circle-exclamation", + "keywords": [ + "house", + "circle", + "exclamation" + ] + }, + { + "value": "house-circle-xmark", + "keywords": [ + "house", + "circle", + "xmark" + ] + }, + { + "value": "house-crack", + "keywords": [ + "house", + "crack" + ] + }, + { + "value": "house-fire", + "keywords": [ + "house", + "fire" + ] + }, + { + "value": "house-flag", + "keywords": [ + "house", + "flag" + ] + }, + { + "value": "house-flood-water", + "keywords": [ + "house", + "flood", + "water" + ] + }, + { + "value": "house-flood-water-circle-arrow-right", + "keywords": [ + "house", + "flood", + "water", + "circle", + "arrow", + "right" + ] + }, + { + "value": "house-laptop", + "keywords": [ + "house", + "laptop" + ] + }, + { + "value": "house-lock", + "keywords": [ + "house", + "lock" + ] + }, + { + "value": "house-medical", + "keywords": [ + "house", + "medical" + ] + }, + { + "value": "house-medical-circle-check", + "keywords": [ + "house", + "medical", + "circle", + "check" + ] + }, + { + "value": "house-medical-circle-exclamation", + "keywords": [ + "house", + "medical", + "circle", + "exclamation" + ] + }, + { + "value": "house-medical-circle-xmark", + "keywords": [ + "house", + "medical", + "circle", + "xmark" + ] + }, + { + "value": "house-medical-flag", + "keywords": [ + "house", + "medical", + "flag" + ] + }, + { + "value": "house-signal", + "keywords": [ + "house", + "signal" + ] + }, + { + "value": "house-tsunami", + "keywords": [ + "house", + "tsunami" + ] + }, + { + "value": "house-user", + "keywords": [ + "house", + "user" + ] + }, + { + "value": "hryvnia-sign", + "keywords": [ + "hryvnia", + "sign" + ] + }, + { + "value": "hurricane" + }, + { + "value": "i" + }, + { + "value": "i-cursor" + }, + { + "value": "ice-cream", + "keywords": [ + "ice", + "cream" + ] + }, + { + "value": "icicles" + }, + { + "value": "icons" + }, + { + "value": "id-badge", + "keywords": [ + "id", + "badge" + ] + }, + { + "value": "id-card", + "keywords": [ + "id", + "card" + ] + }, + { + "value": "id-card-clip", + "keywords": [ + "id", + "card", + "clip" + ] + }, + { + "value": "igloo" + }, + { + "value": "image" + }, + { + "value": "image-portrait", + "keywords": [ + "image", + "portrait" + ] + }, + { + "value": "images" + }, + { + "value": "inbox" + }, + { + "value": "indent" + }, + { + "value": "indian-rupee-sign", + "keywords": [ + "indian", + "rupee", + "sign" + ] + }, + { + "value": "industry" + }, + { + "value": "infinity" + }, + { + "value": "info" + }, + { + "value": "italic" + }, + { + "value": "j" + }, + { + "value": "jar" + }, + { + "value": "jar-wheat", + "keywords": [ + "jar", + "wheat" + ] + }, + { + "value": "jedi" + }, + { + "value": "jet-fighter", + "keywords": [ + "jet", + "fighter" + ] + }, + { + "value": "jet-fighter-up", + "keywords": [ + "jet", + "fighter", + "up" + ] + }, + { + "value": "joint" + }, + { + "value": "jug-detergent", + "keywords": [ + "jug", + "detergent" + ] + }, + { + "value": "k" + }, + { + "value": "kaaba" + }, + { + "value": "key" + }, + { + "value": "keyboard" + }, + { + "value": "khanda" + }, + { + "value": "kip-sign", + "keywords": [ + "kip", + "sign" + ] + }, + { + "value": "kit-medical", + "keywords": [ + "kit", + "medical" + ] + }, + { + "value": "kitchen-set", + "keywords": [ + "kitchen", + "set" + ] + }, + { + "value": "kiwi-bird", + "keywords": [ + "kiwi", + "bird" + ] + }, + { + "value": "l" + }, + { + "value": "land-mine-on", + "keywords": [ + "land", + "mine", + "on" + ] + }, + { + "value": "landmark" + }, + { + "value": "landmark-dome", + "keywords": [ + "landmark", + "dome" + ] + }, + { + "value": "landmark-flag", + "keywords": [ + "landmark", + "flag" + ] + }, + { + "value": "language" + }, + { + "value": "laptop" + }, + { + "value": "laptop-code", + "keywords": [ + "laptop", + "code" + ] + }, + { + "value": "laptop-file", + "keywords": [ + "laptop", + "file" + ] + }, + { + "value": "laptop-medical", + "keywords": [ + "laptop", + "medical" + ] + }, + { + "value": "lari-sign", + "keywords": [ + "lari", + "sign" + ] + }, + { + "value": "layer-group", + "keywords": [ + "layer", + "group" + ] + }, + { + "value": "leaf" + }, + { + "value": "left-long", + "keywords": [ + "left", + "long" + ] + }, + { + "value": "left-right", + "keywords": [ + "left", + "right" + ] + }, + { + "value": "lemon" + }, + { + "value": "less-than", + "keywords": [ + "less", + "than" + ] + }, + { + "value": "less-than-equal", + "keywords": [ + "less", + "than", + "equal" + ] + }, + { + "value": "life-ring", + "keywords": [ + "life", + "ring" + ] + }, + { + "value": "lightbulb" + }, + { + "value": "lines-leaning", + "keywords": [ + "lines", + "leaning" + ] + }, + { + "value": "link" + }, + { + "value": "link-slash", + "keywords": [ + "link", + "slash" + ] + }, + { + "value": "lira-sign", + "keywords": [ + "lira", + "sign" + ] + }, + { + "value": "list" + }, + { + "value": "list-check", + "keywords": [ + "list", + "check" + ] + }, + { + "value": "list-ol", + "keywords": [ + "list", + "ol" + ] + }, + { + "value": "list-ul", + "keywords": [ + "list", + "ul" + ] + }, + { + "value": "litecoin-sign", + "keywords": [ + "litecoin", + "sign" + ] + }, + { + "value": "location-arrow", + "keywords": [ + "location", + "arrow" + ] + }, + { + "value": "location-crosshairs", + "keywords": [ + "location", + "crosshairs" + ] + }, + { + "value": "location-dot", + "keywords": [ + "location", + "dot" + ] + }, + { + "value": "location-pin", + "keywords": [ + "location", + "pin" + ] + }, + { + "value": "location-pin-lock", + "keywords": [ + "location", + "pin", + "lock" + ] + }, + { + "value": "lock" + }, + { + "value": "lock-open", + "keywords": [ + "lock", + "open" + ] + }, + { + "value": "locust" + }, + { + "value": "lungs" + }, + { + "value": "lungs-virus", + "keywords": [ + "lungs", + "virus" + ] + }, + { + "value": "m" + }, + { + "value": "magnet" + }, + { + "value": "magnifying-glass", + "keywords": [ + "magnifying", + "glass" + ] + }, + { + "value": "magnifying-glass-arrow-right", + "keywords": [ + "magnifying", + "glass", + "arrow", + "right" + ] + }, + { + "value": "magnifying-glass-chart", + "keywords": [ + "magnifying", + "glass", + "chart" + ] + }, + { + "value": "magnifying-glass-dollar", + "keywords": [ + "magnifying", + "glass", + "dollar" + ] + }, + { + "value": "magnifying-glass-location", + "keywords": [ + "magnifying", + "glass", + "location" + ] + }, + { + "value": "magnifying-glass-minus", + "keywords": [ + "magnifying", + "glass", + "minus" + ] + }, + { + "value": "magnifying-glass-plus", + "keywords": [ + "magnifying", + "glass", + "plus" + ] + }, + { + "value": "manat-sign", + "keywords": [ + "manat", + "sign" + ] + }, + { + "value": "map" + }, + { + "value": "map-location", + "keywords": [ + "map", + "location" + ] + }, + { + "value": "map-location-dot", + "keywords": [ + "map", + "location", + "dot" + ] + }, + { + "value": "map-pin", + "keywords": [ + "map", + "pin" + ] + }, + { + "value": "marker" + }, + { + "value": "mars" + }, + { + "value": "mars-and-venus", + "keywords": [ + "mars", + "and", + "venus" + ] + }, + { + "value": "mars-and-venus-burst", + "keywords": [ + "mars", + "and", + "venus", + "burst" + ] + }, + { + "value": "mars-double", + "keywords": [ + "mars", + "double" + ] + }, + { + "value": "mars-stroke", + "keywords": [ + "mars", + "stroke" + ] + }, + { + "value": "mars-stroke-right", + "keywords": [ + "mars", + "stroke", + "right" + ] + }, + { + "value": "mars-stroke-up", + "keywords": [ + "mars", + "stroke", + "up" + ] + }, + { + "value": "martini-glass", + "keywords": [ + "martini", + "glass" + ] + }, + { + "value": "martini-glass-citrus", + "keywords": [ + "martini", + "glass", + "citrus" + ] + }, + { + "value": "martini-glass-empty", + "keywords": [ + "martini", + "glass", + "empty" + ] + }, + { + "value": "mask" + }, + { + "value": "mask-face", + "keywords": [ + "mask", + "face" + ] + }, + { + "value": "mask-ventilator", + "keywords": [ + "mask", + "ventilator" + ] + }, + { + "value": "masks-theater", + "keywords": [ + "masks", + "theater" + ] + }, + { + "value": "mattress-pillow", + "keywords": [ + "mattress", + "pillow" + ] + }, + { + "value": "maximize" + }, + { + "value": "medal" + }, + { + "value": "memory" + }, + { + "value": "menorah" + }, + { + "value": "mercury" + }, + { + "value": "message" + }, + { + "value": "meteor" + }, + { + "value": "microchip" + }, + { + "value": "microphone" + }, + { + "value": "microphone-lines", + "keywords": [ + "microphone", + "lines" + ] + }, + { + "value": "microphone-lines-slash", + "keywords": [ + "microphone", + "lines", + "slash" + ] + }, + { + "value": "microphone-slash", + "keywords": [ + "microphone", + "slash" + ] + }, + { + "value": "microscope" + }, + { + "value": "mill-sign", + "keywords": [ + "mill", + "sign" + ] + }, + { + "value": "minimize" + }, + { + "value": "minus" + }, + { + "value": "mitten" + }, + { + "value": "mobile" + }, + { + "value": "mobile-button", + "keywords": [ + "mobile", + "button" + ] + }, + { + "value": "mobile-retro", + "keywords": [ + "mobile", + "retro" + ] + }, + { + "value": "mobile-screen", + "keywords": [ + "mobile", + "screen" + ] + }, + { + "value": "mobile-screen-button", + "keywords": [ + "mobile", + "screen", + "button" + ] + }, + { + "value": "money-bill", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-transfer", + "keywords": [ + "money", + "bill", + "transfer" + ] + }, + { + "value": "money-bill-trend-up", + "keywords": [ + "money", + "bill", + "trend", + "up" + ] + }, + { + "value": "money-bill-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-wheat", + "keywords": [ + "money", + "bill", + "wheat" + ] + }, + { + "value": "money-bills", + "keywords": [ + "money", + "bills" + ] + }, + { + "value": "money-check", + "keywords": [ + "money", + "check" + ] + }, + { + "value": "money-check-dollar", + "keywords": [ + "money", + "check", + "dollar" + ] + }, + { + "value": "monument" + }, + { + "value": "moon" + }, + { + "value": "mortar-pestle", + "keywords": [ + "mortar", + "pestle" + ] + }, + { + "value": "mosque" + }, + { + "value": "mosquito" + }, + { + "value": "mosquito-net", + "keywords": [ + "mosquito", + "net" + ] + }, + { + "value": "motorcycle" + }, + { + "value": "mound" + }, + { + "value": "mountain" + }, + { + "value": "mountain-city", + "keywords": [ + "mountain", + "city" + ] + }, + { + "value": "mountain-sun", + "keywords": [ + "mountain", + "sun" + ] + }, + { + "value": "mug-hot", + "keywords": [ + "mug", + "hot" + ] + }, + { + "value": "mug-saucer", + "keywords": [ + "mug", + "saucer" + ] + }, + { + "value": "music" + }, + { + "value": "n" + }, + { + "value": "naira-sign", + "keywords": [ + "naira", + "sign" + ] + }, + { + "value": "network-wired", + "keywords": [ + "network", + "wired" + ] + }, + { + "value": "neuter" + }, + { + "value": "newspaper" + }, + { + "value": "not-equal", + "keywords": [ + "not", + "equal" + ] + }, + { + "value": "notdef" + }, + { + "value": "note-sticky", + "keywords": [ + "note", + "sticky" + ] + }, + { + "value": "notes-medical", + "keywords": [ + "notes", + "medical" + ] + }, + { + "value": "o" + }, + { + "value": "object-group", + "keywords": [ + "object", + "group" + ] + }, + { + "value": "object-ungroup", + "keywords": [ + "object", + "ungroup" + ] + }, + { + "value": "oil-can", + "keywords": [ + "oil", + "can" + ] + }, + { + "value": "oil-well", + "keywords": [ + "oil", + "well" + ] + }, + { + "value": "om" + }, + { + "value": "otter" + }, + { + "value": "outdent" + }, + { + "value": "p" + }, + { + "value": "pager" + }, + { + "value": "paint-roller", + "keywords": [ + "paint", + "roller" + ] + }, + { + "value": "paintbrush" + }, + { + "value": "palette" + }, + { + "value": "pallet" + }, + { + "value": "panorama" + }, + { + "value": "paper-plane", + "keywords": [ + "paper", + "plane" + ] + }, + { + "value": "paperclip" + }, + { + "value": "parachute-box", + "keywords": [ + "parachute", + "box" + ] + }, + { + "value": "paragraph" + }, + { + "value": "passport" + }, + { + "value": "paste" + }, + { + "value": "pause" + }, + { + "value": "paw" + }, + { + "value": "peace" + }, + { + "value": "pen" + }, + { + "value": "pen-clip", + "keywords": [ + "pen", + "clip" + ] + }, + { + "value": "pen-fancy", + "keywords": [ + "pen", + "fancy" + ] + }, + { + "value": "pen-nib", + "keywords": [ + "pen", + "nib" + ] + }, + { + "value": "pen-ruler", + "keywords": [ + "pen", + "ruler" + ] + }, + { + "value": "pen-to-square", + "keywords": [ + "pen", + "to", + "square" + ] + }, + { + "value": "pencil" + }, + { + "value": "people-arrows", + "keywords": [ + "people", + "arrows" + ] + }, + { + "value": "people-carry-box", + "keywords": [ + "people", + "carry", + "box" + ] + }, + { + "value": "people-group", + "keywords": [ + "people", + "group" + ] + }, + { + "value": "people-line", + "keywords": [ + "people", + "line" + ] + }, + { + "value": "people-pulling", + "keywords": [ + "people", + "pulling" + ] + }, + { + "value": "people-robbery", + "keywords": [ + "people", + "robbery" + ] + }, + { + "value": "people-roof", + "keywords": [ + "people", + "roof" + ] + }, + { + "value": "pepper-hot", + "keywords": [ + "pepper", + "hot" + ] + }, + { + "value": "percent" + }, + { + "value": "person" + }, + { + "value": "person-arrow-down-to-line", + "keywords": [ + "person", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "person-arrow-up-from-line", + "keywords": [ + "person", + "arrow", + "up", + "from", + "line" + ] + }, + { + "value": "person-biking", + "keywords": [ + "person", + "biking" + ] + }, + { + "value": "person-booth", + "keywords": [ + "person", + "booth" + ] + }, + { + "value": "person-breastfeeding", + "keywords": [ + "person", + "breastfeeding" + ] + }, + { + "value": "person-burst", + "keywords": [ + "person", + "burst" + ] + }, + { + "value": "person-cane", + "keywords": [ + "person", + "cane" + ] + }, + { + "value": "person-chalkboard", + "keywords": [ + "person", + "chalkboard" + ] + }, + { + "value": "person-circle-check", + "keywords": [ + "person", + "circle", + "check" + ] + }, + { + "value": "person-circle-exclamation", + "keywords": [ + "person", + "circle", + "exclamation" + ] + }, + { + "value": "person-circle-minus", + "keywords": [ + "person", + "circle", + "minus" + ] + }, + { + "value": "person-circle-plus", + "keywords": [ + "person", + "circle", + "plus" + ] + }, + { + "value": "person-circle-question", + "keywords": [ + "person", + "circle", + "question" + ] + }, + { + "value": "person-circle-xmark", + "keywords": [ + "person", + "circle", + "xmark" + ] + }, + { + "value": "person-digging", + "keywords": [ + "person", + "digging" + ] + }, + { + "value": "person-dots-from-line", + "keywords": [ + "person", + "dots", + "from", + "line" + ] + }, + { + "value": "person-dress", + "keywords": [ + "person", + "dress" + ] + }, + { + "value": "person-dress-burst", + "keywords": [ + "person", + "dress", + "burst" + ] + }, + { + "value": "person-drowning", + "keywords": [ + "person", + "drowning" + ] + }, + { + "value": "person-falling", + "keywords": [ + "person", + "falling" + ] + }, + { + "value": "person-falling-burst", + "keywords": [ + "person", + "falling", + "burst" + ] + }, + { + "value": "person-half-dress", + "keywords": [ + "person", + "half", + "dress" + ] + }, + { + "value": "person-harassing", + "keywords": [ + "person", + "harassing" + ] + }, + { + "value": "person-hiking", + "keywords": [ + "person", + "hiking" + ] + }, + { + "value": "person-military-pointing", + "keywords": [ + "person", + "military", + "pointing" + ] + }, + { + "value": "person-military-rifle", + "keywords": [ + "person", + "military", + "rifle" + ] + }, + { + "value": "person-military-to-person", + "keywords": [ + "person", + "military", + "to", + "person" + ] + }, + { + "value": "person-praying", + "keywords": [ + "person", + "praying" + ] + }, + { + "value": "person-pregnant", + "keywords": [ + "person", + "pregnant" + ] + }, + { + "value": "person-rays", + "keywords": [ + "person", + "rays" + ] + }, + { + "value": "person-rifle", + "keywords": [ + "person", + "rifle" + ] + }, + { + "value": "person-running", + "keywords": [ + "person", + "running" + ] + }, + { + "value": "person-shelter", + "keywords": [ + "person", + "shelter" + ] + }, + { + "value": "person-skating", + "keywords": [ + "person", + "skating" + ] + }, + { + "value": "person-skiing", + "keywords": [ + "person", + "skiing" + ] + }, + { + "value": "person-skiing-nordic", + "keywords": [ + "person", + "skiing", + "nordic" + ] + }, + { + "value": "person-snowboarding", + "keywords": [ + "person", + "snowboarding" + ] + }, + { + "value": "person-swimming", + "keywords": [ + "person", + "swimming" + ] + }, + { + "value": "person-through-window", + "keywords": [ + "person", + "through", + "window" + ] + }, + { + "value": "person-walking", + "keywords": [ + "person", + "walking" + ] + }, + { + "value": "person-walking-arrow-loop-left", + "keywords": [ + "person", + "walking", + "arrow", + "loop", + "left" + ] + }, + { + "value": "person-walking-arrow-right", + "keywords": [ + "person", + "walking", + "arrow", + "right" + ] + }, + { + "value": "person-walking-dashed-line-arrow-right", + "keywords": [ + "person", + "walking", + "dashed", + "line", + "arrow", + "right" + ] + }, + { + "value": "person-walking-luggage", + "keywords": [ + "person", + "walking", + "luggage" + ] + }, + { + "value": "person-walking-with-cane", + "keywords": [ + "person", + "walking", + "with", + "cane" + ] + }, + { + "value": "peseta-sign", + "keywords": [ + "peseta", + "sign" + ] + }, + { + "value": "peso-sign", + "keywords": [ + "peso", + "sign" + ] + }, + { + "value": "phone" + }, + { + "value": "phone-flip", + "keywords": [ + "phone", + "flip" + ] + }, + { + "value": "phone-slash", + "keywords": [ + "phone", + "slash" + ] + }, + { + "value": "phone-volume", + "keywords": [ + "phone", + "volume" + ] + }, + { + "value": "photo-film", + "keywords": [ + "photo", + "film" + ] + }, + { + "value": "piggy-bank", + "keywords": [ + "piggy", + "bank" + ] + }, + { + "value": "pills" + }, + { + "value": "pizza-slice", + "keywords": [ + "pizza", + "slice" + ] + }, + { + "value": "place-of-worship", + "keywords": [ + "place", + "of", + "worship" + ] + }, + { + "value": "plane" + }, + { + "value": "plane-arrival", + "keywords": [ + "plane", + "arrival" + ] + }, + { + "value": "plane-circle-check", + "keywords": [ + "plane", + "circle", + "check" + ] + }, + { + "value": "plane-circle-exclamation", + "keywords": [ + "plane", + "circle", + "exclamation" + ] + }, + { + "value": "plane-circle-xmark", + "keywords": [ + "plane", + "circle", + "xmark" + ] + }, + { + "value": "plane-departure", + "keywords": [ + "plane", + "departure" + ] + }, + { + "value": "plane-lock", + "keywords": [ + "plane", + "lock" + ] + }, + { + "value": "plane-slash", + "keywords": [ + "plane", + "slash" + ] + }, + { + "value": "plane-up", + "keywords": [ + "plane", + "up" + ] + }, + { + "value": "plant-wilt", + "keywords": [ + "plant", + "wilt" + ] + }, + { + "value": "plate-wheat", + "keywords": [ + "plate", + "wheat" + ] + }, + { + "value": "play" + }, + { + "value": "plug" + }, + { + "value": "plug-circle-bolt", + "keywords": [ + "plug", + "circle", + "bolt" + ] + }, + { + "value": "plug-circle-check", + "keywords": [ + "plug", + "circle", + "check" + ] + }, + { + "value": "plug-circle-exclamation", + "keywords": [ + "plug", + "circle", + "exclamation" + ] + }, + { + "value": "plug-circle-minus", + "keywords": [ + "plug", + "circle", + "minus" + ] + }, + { + "value": "plug-circle-plus", + "keywords": [ + "plug", + "circle", + "plus" + ] + }, + { + "value": "plug-circle-xmark", + "keywords": [ + "plug", + "circle", + "xmark" + ] + }, + { + "value": "plus" + }, + { + "value": "plus-minus", + "keywords": [ + "plus", + "minus" + ] + }, + { + "value": "podcast" + }, + { + "value": "poo" + }, + { + "value": "poo-storm", + "keywords": [ + "poo", + "storm" + ] + }, + { + "value": "poop" + }, + { + "value": "power-off", + "keywords": [ + "power", + "off" + ] + }, + { + "value": "prescription" + }, + { + "value": "prescription-bottle", + "keywords": [ + "prescription", + "bottle" + ] + }, + { + "value": "prescription-bottle-medical", + "keywords": [ + "prescription", + "bottle", + "medical" + ] + }, + { + "value": "print" + }, + { + "value": "pump-medical", + "keywords": [ + "pump", + "medical" + ] + }, + { + "value": "pump-soap", + "keywords": [ + "pump", + "soap" + ] + }, + { + "value": "puzzle-piece", + "keywords": [ + "puzzle", + "piece" + ] + }, + { + "value": "q" + }, + { + "value": "qrcode" + }, + { + "value": "question" + }, + { + "value": "quote-left", + "keywords": [ + "quote", + "left" + ] + }, + { + "value": "quote-right", + "keywords": [ + "quote", + "right" + ] + }, + { + "value": "r" + }, + { + "value": "radiation" + }, + { + "value": "radio" + }, + { + "value": "rainbow" + }, + { + "value": "ranking-star", + "keywords": [ + "ranking", + "star" + ] + }, + { + "value": "receipt" + }, + { + "value": "record-vinyl", + "keywords": [ + "record", + "vinyl" + ] + }, + { + "value": "rectangle-ad", + "keywords": [ + "rectangle", + "ad" + ] + }, + { + "value": "rectangle-list", + "keywords": [ + "rectangle", + "list" + ] + }, + { + "value": "rectangle-xmark", + "keywords": [ + "rectangle", + "xmark" + ] + }, + { + "value": "recycle" + }, + { + "value": "registered" + }, + { + "value": "repeat" + }, + { + "value": "reply" + }, + { + "value": "reply-all", + "keywords": [ + "reply", + "all" + ] + }, + { + "value": "republican" + }, + { + "value": "restroom" + }, + { + "value": "retweet" + }, + { + "value": "ribbon" + }, + { + "value": "right-from-bracket", + "keywords": [ + "right", + "from", + "bracket" + ] + }, + { + "value": "right-left", + "keywords": [ + "right", + "left" + ] + }, + { + "value": "right-long", + "keywords": [ + "right", + "long" + ] + }, + { + "value": "right-to-bracket", + "keywords": [ + "right", + "to", + "bracket" + ] + }, + { + "value": "ring" + }, + { + "value": "road" + }, + { + "value": "road-barrier", + "keywords": [ + "road", + "barrier" + ] + }, + { + "value": "road-bridge", + "keywords": [ + "road", + "bridge" + ] + }, + { + "value": "road-circle-check", + "keywords": [ + "road", + "circle", + "check" + ] + }, + { + "value": "road-circle-exclamation", + "keywords": [ + "road", + "circle", + "exclamation" + ] + }, + { + "value": "road-circle-xmark", + "keywords": [ + "road", + "circle", + "xmark" + ] + }, + { + "value": "road-lock", + "keywords": [ + "road", + "lock" + ] + }, + { + "value": "road-spikes", + "keywords": [ + "road", + "spikes" + ] + }, + { + "value": "robot" + }, + { + "value": "rocket" + }, + { + "value": "rotate" + }, + { + "value": "rotate-left", + "keywords": [ + "rotate", + "left" + ] + }, + { + "value": "rotate-right", + "keywords": [ + "rotate", + "right" + ] + }, + { + "value": "route" + }, + { + "value": "rss" + }, + { + "value": "ruble-sign", + "keywords": [ + "ruble", + "sign" + ] + }, + { + "value": "rug" + }, + { + "value": "ruler" + }, + { + "value": "ruler-combined", + "keywords": [ + "ruler", + "combined" + ] + }, + { + "value": "ruler-horizontal", + "keywords": [ + "ruler", + "horizontal" + ] + }, + { + "value": "ruler-vertical", + "keywords": [ + "ruler", + "vertical" + ] + }, + { + "value": "rupee-sign", + "keywords": [ + "rupee", + "sign" + ] + }, + { + "value": "rupiah-sign", + "keywords": [ + "rupiah", + "sign" + ] + }, + { + "value": "s" + }, + { + "value": "sack-dollar", + "keywords": [ + "sack", + "dollar" + ] + }, + { + "value": "sack-xmark", + "keywords": [ + "sack", + "xmark" + ] + }, + { + "value": "sailboat" + }, + { + "value": "satellite" + }, + { + "value": "satellite-dish", + "keywords": [ + "satellite", + "dish" + ] + }, + { + "value": "scale-balanced", + "keywords": [ + "scale", + "balanced" + ] + }, + { + "value": "scale-unbalanced", + "keywords": [ + "scale", + "unbalanced" + ] + }, + { + "value": "scale-unbalanced-flip", + "keywords": [ + "scale", + "unbalanced", + "flip" + ] + }, + { + "value": "school" + }, + { + "value": "school-circle-check", + "keywords": [ + "school", + "circle", + "check" + ] + }, + { + "value": "school-circle-exclamation", + "keywords": [ + "school", + "circle", + "exclamation" + ] + }, + { + "value": "school-circle-xmark", + "keywords": [ + "school", + "circle", + "xmark" + ] + }, + { + "value": "school-flag", + "keywords": [ + "school", + "flag" + ] + }, + { + "value": "school-lock", + "keywords": [ + "school", + "lock" + ] + }, + { + "value": "scissors" + }, + { + "value": "screwdriver" + }, + { + "value": "screwdriver-wrench", + "keywords": [ + "screwdriver", + "wrench" + ] + }, + { + "value": "scroll" + }, + { + "value": "scroll-torah", + "keywords": [ + "scroll", + "torah" + ] + }, + { + "value": "sd-card", + "keywords": [ + "sd", + "card" + ] + }, + { + "value": "section" + }, + { + "value": "seedling" + }, + { + "value": "server" + }, + { + "value": "shapes" + }, + { + "value": "share" + }, + { + "value": "share-from-square", + "keywords": [ + "share", + "from", + "square" + ] + }, + { + "value": "share-nodes", + "keywords": [ + "share", + "nodes" + ] + }, + { + "value": "sheet-plastic", + "keywords": [ + "sheet", + "plastic" + ] + }, + { + "value": "shekel-sign", + "keywords": [ + "shekel", + "sign" + ] + }, + { + "value": "shield" + }, + { + "value": "shield-cat", + "keywords": [ + "shield", + "cat" + ] + }, + { + "value": "shield-dog", + "keywords": [ + "shield", + "dog" + ] + }, + { + "value": "shield-halved", + "keywords": [ + "shield", + "halved" + ] + }, + { + "value": "shield-heart", + "keywords": [ + "shield", + "heart" + ] + }, + { + "value": "shield-virus", + "keywords": [ + "shield", + "virus" + ] + }, + { + "value": "ship" + }, + { + "value": "shirt" + }, + { + "value": "shoe-prints", + "keywords": [ + "shoe", + "prints" + ] + }, + { + "value": "shop" + }, + { + "value": "shop-lock", + "keywords": [ + "shop", + "lock" + ] + }, + { + "value": "shop-slash", + "keywords": [ + "shop", + "slash" + ] + }, + { + "value": "shower" + }, + { + "value": "shrimp" + }, + { + "value": "shuffle" + }, + { + "value": "shuttle-space", + "keywords": [ + "shuttle", + "space" + ] + }, + { + "value": "sign-hanging", + "keywords": [ + "sign", + "hanging" + ] + }, + { + "value": "signal" + }, + { + "value": "signature" + }, + { + "value": "signs-post", + "keywords": [ + "signs", + "post" + ] + }, + { + "value": "sim-card", + "keywords": [ + "sim", + "card" + ] + }, + { + "value": "sink" + }, + { + "value": "sitemap" + }, + { + "value": "skull" + }, + { + "value": "skull-crossbones", + "keywords": [ + "skull", + "crossbones" + ] + }, + { + "value": "slash" + }, + { + "value": "sleigh" + }, + { + "value": "sliders" + }, + { + "value": "smog" + }, + { + "value": "smoking" + }, + { + "value": "snowflake" + }, + { + "value": "snowman" + }, + { + "value": "snowplow" + }, + { + "value": "soap" + }, + { + "value": "socks" + }, + { + "value": "solar-panel", + "keywords": [ + "solar", + "panel" + ] + }, + { + "value": "sort" + }, + { + "value": "sort-down", + "keywords": [ + "sort", + "down" + ] + }, + { + "value": "sort-up", + "keywords": [ + "sort", + "up" + ] + }, + { + "value": "spa" + }, + { + "value": "spaghetti-monster-flying", + "keywords": [ + "spaghetti", + "monster", + "flying" + ] + }, + { + "value": "spell-check", + "keywords": [ + "spell", + "check" + ] + }, + { + "value": "spider" + }, + { + "value": "spinner" + }, + { + "value": "splotch" + }, + { + "value": "spoon" + }, + { + "value": "spray-can", + "keywords": [ + "spray", + "can" + ] + }, + { + "value": "spray-can-sparkles", + "keywords": [ + "spray", + "can", + "sparkles" + ] + }, + { + "value": "square" + }, + { + "value": "square-arrow-up-right", + "keywords": [ + "square", + "arrow", + "up", + "right" + ] + }, + { + "value": "square-caret-down", + "keywords": [ + "square", + "caret", + "down" + ] + }, + { + "value": "square-caret-left", + "keywords": [ + "square", + "caret", + "left" + ] + }, + { + "value": "square-caret-right", + "keywords": [ + "square", + "caret", + "right" + ] + }, + { + "value": "square-caret-up", + "keywords": [ + "square", + "caret", + "up" + ] + }, + { + "value": "square-check", + "keywords": [ + "square", + "check" + ] + }, + { + "value": "square-envelope", + "keywords": [ + "square", + "envelope" + ] + }, + { + "value": "square-full", + "keywords": [ + "square", + "full" + ] + }, + { + "value": "square-h" + }, + { + "value": "square-minus", + "keywords": [ + "square", + "minus" + ] + }, + { + "value": "square-nfi", + "keywords": [ + "square", + "nfi" + ] + }, + { + "value": "square-parking", + "keywords": [ + "square", + "parking" + ] + }, + { + "value": "square-pen", + "keywords": [ + "square", + "pen" + ] + }, + { + "value": "square-person-confined", + "keywords": [ + "square", + "person", + "confined" + ] + }, + { + "value": "square-phone", + "keywords": [ + "square", + "phone" + ] + }, + { + "value": "square-phone-flip", + "keywords": [ + "square", + "phone", + "flip" + ] + }, + { + "value": "square-plus", + "keywords": [ + "square", + "plus" + ] + }, + { + "value": "square-poll-horizontal", + "keywords": [ + "square", + "poll", + "horizontal" + ] + }, + { + "value": "square-poll-vertical", + "keywords": [ + "square", + "poll", + "vertical" + ] + }, + { + "value": "square-root-variable", + "keywords": [ + "square", + "root", + "variable" + ] + }, + { + "value": "square-rss", + "keywords": [ + "square", + "rss" + ] + }, + { + "value": "square-share-nodes", + "keywords": [ + "square", + "share", + "nodes" + ] + }, + { + "value": "square-up-right", + "keywords": [ + "square", + "up", + "right" + ] + }, + { + "value": "square-virus", + "keywords": [ + "square", + "virus" + ] + }, + { + "value": "square-xmark", + "keywords": [ + "square", + "xmark" + ] + }, + { + "value": "staff-snake", + "keywords": [ + "staff", + "snake" + ] + }, + { + "value": "stairs" + }, + { + "value": "stamp" + }, + { + "value": "stapler" + }, + { + "value": "star" + }, + { + "value": "star-and-crescent", + "keywords": [ + "star", + "and", + "crescent" + ] + }, + { + "value": "star-half", + "keywords": [ + "star", + "half" + ] + }, + { + "value": "star-half-stroke", + "keywords": [ + "star", + "half", + "stroke" + ] + }, + { + "value": "star-of-david", + "keywords": [ + "star", + "of", + "david" + ] + }, + { + "value": "star-of-life", + "keywords": [ + "star", + "of", + "life" + ] + }, + { + "value": "sterling-sign", + "keywords": [ + "sterling", + "sign" + ] + }, + { + "value": "stethoscope" + }, + { + "value": "stop" + }, + { + "value": "stopwatch" + }, + { + "value": "stopwatch-20", + "keywords": [ + "stopwatch", + "20" + ] + }, + { + "value": "store" + }, + { + "value": "store-slash", + "keywords": [ + "store", + "slash" + ] + }, + { + "value": "street-view", + "keywords": [ + "street", + "view" + ] + }, + { + "value": "strikethrough" + }, + { + "value": "stroopwafel" + }, + { + "value": "subscript" + }, + { + "value": "suitcase" + }, + { + "value": "suitcase-medical", + "keywords": [ + "suitcase", + "medical" + ] + }, + { + "value": "suitcase-rolling", + "keywords": [ + "suitcase", + "rolling" + ] + }, + { + "value": "sun" + }, + { + "value": "sun-plant-wilt", + "keywords": [ + "sun", + "plant", + "wilt" + ] + }, + { + "value": "superscript" + }, + { + "value": "swatchbook" + }, + { + "value": "synagogue" + }, + { + "value": "syringe" + }, + { + "value": "t" + }, + { + "value": "table" + }, + { + "value": "table-cells", + "keywords": [ + "table", + "cells" + ] + }, + { + "value": "table-cells-large", + "keywords": [ + "table", + "cells", + "large" + ] + }, + { + "value": "table-columns", + "keywords": [ + "table", + "columns" + ] + }, + { + "value": "table-list", + "keywords": [ + "table", + "list" + ] + }, + { + "value": "table-tennis-paddle-ball", + "keywords": [ + "table", + "tennis", + "paddle", + "ball" + ] + }, + { + "value": "tablet" + }, + { + "value": "tablet-button", + "keywords": [ + "tablet", + "button" + ] + }, + { + "value": "tablet-screen-button", + "keywords": [ + "tablet", + "screen", + "button" + ] + }, + { + "value": "tablets" + }, + { + "value": "tachograph-digital", + "keywords": [ + "tachograph", + "digital" + ] + }, + { + "value": "tag" + }, + { + "value": "tags" + }, + { + "value": "tape" + }, + { + "value": "tarp" + }, + { + "value": "tarp-droplet", + "keywords": [ + "tarp", + "droplet" + ] + }, + { + "value": "taxi" + }, + { + "value": "teeth" + }, + { + "value": "teeth-open", + "keywords": [ + "teeth", + "open" + ] + }, + { + "value": "temperature-arrow-down", + "keywords": [ + "temperature", + "arrow", + "down" + ] + }, + { + "value": "temperature-arrow-up", + "keywords": [ + "temperature", + "arrow", + "up" + ] + }, + { + "value": "temperature-empty", + "keywords": [ + "temperature", + "empty" + ] + }, + { + "value": "temperature-full", + "keywords": [ + "temperature", + "full" + ] + }, + { + "value": "temperature-half", + "keywords": [ + "temperature", + "half" + ] + }, + { + "value": "temperature-high", + "keywords": [ + "temperature", + "high" + ] + }, + { + "value": "temperature-low", + "keywords": [ + "temperature", + "low" + ] + }, + { + "value": "temperature-quarter", + "keywords": [ + "temperature", + "quarter" + ] + }, + { + "value": "temperature-three-quarters", + "keywords": [ + "temperature", + "three", + "quarters" + ] + }, + { + "value": "tenge-sign", + "keywords": [ + "tenge", + "sign" + ] + }, + { + "value": "tent" + }, + { + "value": "tent-arrow-down-to-line", + "keywords": [ + "tent", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "tent-arrow-left-right", + "keywords": [ + "tent", + "arrow", + "left", + "right" + ] + }, + { + "value": "tent-arrow-turn-left", + "keywords": [ + "tent", + "arrow", + "turn", + "left" + ] + }, + { + "value": "tent-arrows-down", + "keywords": [ + "tent", + "arrows", + "down" + ] + }, + { + "value": "tents" + }, + { + "value": "terminal" + }, + { + "value": "text-height", + "keywords": [ + "text", + "height" + ] + }, + { + "value": "text-slash", + "keywords": [ + "text", + "slash" + ] + }, + { + "value": "text-width", + "keywords": [ + "text", + "width" + ] + }, + { + "value": "thermometer" + }, + { + "value": "thumbs-down", + "keywords": [ + "thumbs", + "down" + ] + }, + { + "value": "thumbs-up", + "keywords": [ + "thumbs", + "up" + ] + }, + { + "value": "thumbtack" + }, + { + "value": "ticket" + }, + { + "value": "ticket-simple", + "keywords": [ + "ticket", + "simple" + ] + }, + { + "value": "timeline" + }, + { + "value": "toggle-off", + "keywords": [ + "toggle", + "off" + ] + }, + { + "value": "toggle-on", + "keywords": [ + "toggle", + "on" + ] + }, + { + "value": "toilet" + }, + { + "value": "toilet-paper", + "keywords": [ + "toilet", + "paper" + ] + }, + { + "value": "toilet-paper-slash", + "keywords": [ + "toilet", + "paper", + "slash" + ] + }, + { + "value": "toilet-portable", + "keywords": [ + "toilet", + "portable" + ] + }, + { + "value": "toilets-portable", + "keywords": [ + "toilets", + "portable" + ] + }, + { + "value": "toolbox" + }, + { + "value": "tooth" + }, + { + "value": "torii-gate", + "keywords": [ + "torii", + "gate" + ] + }, + { + "value": "tornado" + }, + { + "value": "tower-broadcast", + "keywords": [ + "tower", + "broadcast" + ] + }, + { + "value": "tower-cell", + "keywords": [ + "tower", + "cell" + ] + }, + { + "value": "tower-observation", + "keywords": [ + "tower", + "observation" + ] + }, + { + "value": "tractor" + }, + { + "value": "trademark" + }, + { + "value": "traffic-light", + "keywords": [ + "traffic", + "light" + ] + }, + { + "value": "trailer" + }, + { + "value": "train" + }, + { + "value": "train-subway", + "keywords": [ + "train", + "subway" + ] + }, + { + "value": "train-tram", + "keywords": [ + "train", + "tram" + ] + }, + { + "value": "transgender" + }, + { + "value": "trash" + }, + { + "value": "trash-arrow-up", + "keywords": [ + "trash", + "arrow", + "up" + ] + }, + { + "value": "trash-can", + "keywords": [ + "trash", + "can" + ] + }, + { + "value": "trash-can-arrow-up", + "keywords": [ + "trash", + "can", + "arrow", + "up" + ] + }, + { + "value": "tree" + }, + { + "value": "tree-city", + "keywords": [ + "tree", + "city" + ] + }, + { + "value": "triangle-exclamation", + "keywords": [ + "triangle", + "exclamation" + ] + }, + { + "value": "trophy" + }, + { + "value": "trowel" + }, + { + "value": "trowel-bricks", + "keywords": [ + "trowel", + "bricks" + ] + }, + { + "value": "truck" + }, + { + "value": "truck-arrow-right", + "keywords": [ + "truck", + "arrow", + "right" + ] + }, + { + "value": "truck-droplet", + "keywords": [ + "truck", + "droplet" + ] + }, + { + "value": "truck-fast", + "keywords": [ + "truck", + "fast" + ] + }, + { + "value": "truck-field", + "keywords": [ + "truck", + "field" + ] + }, + { + "value": "truck-field-un", + "keywords": [ + "truck", + "field", + "un" + ] + }, + { + "value": "truck-front", + "keywords": [ + "truck", + "front" + ] + }, + { + "value": "truck-medical", + "keywords": [ + "truck", + "medical" + ] + }, + { + "value": "truck-monster", + "keywords": [ + "truck", + "monster" + ] + }, + { + "value": "truck-moving", + "keywords": [ + "truck", + "moving" + ] + }, + { + "value": "truck-pickup", + "keywords": [ + "truck", + "pickup" + ] + }, + { + "value": "truck-plane", + "keywords": [ + "truck", + "plane" + ] + }, + { + "value": "truck-ramp-box", + "keywords": [ + "truck", + "ramp", + "box" + ] + }, + { + "value": "tty" + }, + { + "value": "turkish-lira-sign", + "keywords": [ + "turkish", + "lira", + "sign" + ] + }, + { + "value": "turn-down", + "keywords": [ + "turn", + "down" + ] + }, + { + "value": "turn-up", + "keywords": [ + "turn", + "up" + ] + }, + { + "value": "tv" + }, + { + "value": "u" + }, + { + "value": "umbrella" + }, + { + "value": "umbrella-beach", + "keywords": [ + "umbrella", + "beach" + ] + }, + { + "value": "underline" + }, + { + "value": "universal-access", + "keywords": [ + "universal", + "access" + ] + }, + { + "value": "unlock" + }, + { + "value": "unlock-keyhole", + "keywords": [ + "unlock", + "keyhole" + ] + }, + { + "value": "up-down", + "keywords": [ + "up", + "down" + ] + }, + { + "value": "up-down-left-right", + "keywords": [ + "up", + "down", + "left", + "right" + ] + }, + { + "value": "up-long", + "keywords": [ + "up", + "long" + ] + }, + { + "value": "up-right-and-down-left-from-center", + "keywords": [ + "up", + "right", + "and", + "down", + "left", + "from", + "center" + ] + }, + { + "value": "up-right-from-square", + "keywords": [ + "up", + "right", + "from", + "square" + ] + }, + { + "value": "upload" + }, + { + "value": "user" + }, + { + "value": "user-astronaut", + "keywords": [ + "user", + "astronaut" + ] + }, + { + "value": "user-check", + "keywords": [ + "user", + "check" + ] + }, + { + "value": "user-clock", + "keywords": [ + "user", + "clock" + ] + }, + { + "value": "user-doctor", + "keywords": [ + "user", + "doctor" + ] + }, + { + "value": "user-gear", + "keywords": [ + "user", + "gear" + ] + }, + { + "value": "user-graduate", + "keywords": [ + "user", + "graduate" + ] + }, + { + "value": "user-group", + "keywords": [ + "user", + "group" + ] + }, + { + "value": "user-injured", + "keywords": [ + "user", + "injured" + ] + }, + { + "value": "user-large", + "keywords": [ + "user", + "large" + ] + }, + { + "value": "user-large-slash", + "keywords": [ + "user", + "large", + "slash" + ] + }, + { + "value": "user-lock", + "keywords": [ + "user", + "lock" + ] + }, + { + "value": "user-minus", + "keywords": [ + "user", + "minus" + ] + }, + { + "value": "user-ninja", + "keywords": [ + "user", + "ninja" + ] + }, + { + "value": "user-nurse", + "keywords": [ + "user", + "nurse" + ] + }, + { + "value": "user-pen", + "keywords": [ + "user", + "pen" + ] + }, + { + "value": "user-plus", + "keywords": [ + "user", + "plus" + ] + }, + { + "value": "user-secret", + "keywords": [ + "user", + "secret" + ] + }, + { + "value": "user-shield", + "keywords": [ + "user", + "shield" + ] + }, + { + "value": "user-slash", + "keywords": [ + "user", + "slash" + ] + }, + { + "value": "user-tag", + "keywords": [ + "user", + "tag" + ] + }, + { + "value": "user-tie", + "keywords": [ + "user", + "tie" + ] + }, + { + "value": "user-xmark", + "keywords": [ + "user", + "xmark" + ] + }, + { + "value": "users" + }, + { + "value": "users-between-lines", + "keywords": [ + "users", + "between", + "lines" + ] + }, + { + "value": "users-gear", + "keywords": [ + "users", + "gear" + ] + }, + { + "value": "users-line", + "keywords": [ + "users", + "line" + ] + }, + { + "value": "users-rays", + "keywords": [ + "users", + "rays" + ] + }, + { + "value": "users-rectangle", + "keywords": [ + "users", + "rectangle" + ] + }, + { + "value": "users-slash", + "keywords": [ + "users", + "slash" + ] + }, + { + "value": "users-viewfinder", + "keywords": [ + "users", + "viewfinder" + ] + }, + { + "value": "utensils" + }, + { + "value": "v" + }, + { + "value": "van-shuttle", + "keywords": [ + "van", + "shuttle" + ] + }, + { + "value": "vault" + }, + { + "value": "vector-square", + "keywords": [ + "vector", + "square" + ] + }, + { + "value": "venus" + }, + { + "value": "venus-double", + "keywords": [ + "venus", + "double" + ] + }, + { + "value": "venus-mars", + "keywords": [ + "venus", + "mars" + ] + }, + { + "value": "vest" + }, + { + "value": "vest-patches", + "keywords": [ + "vest", + "patches" + ] + }, + { + "value": "vial" + }, + { + "value": "vial-circle-check", + "keywords": [ + "vial", + "circle", + "check" + ] + }, + { + "value": "vial-virus", + "keywords": [ + "vial", + "virus" + ] + }, + { + "value": "vials" + }, + { + "value": "video" + }, + { + "value": "video-slash", + "keywords": [ + "video", + "slash" + ] + }, + { + "value": "vihara" + }, + { + "value": "virus" + }, + { + "value": "virus-covid", + "keywords": [ + "virus", + "covid" + ] + }, + { + "value": "virus-covid-slash", + "keywords": [ + "virus", + "covid", + "slash" + ] + }, + { + "value": "virus-slash", + "keywords": [ + "virus", + "slash" + ] + }, + { + "value": "viruses" + }, + { + "value": "voicemail" + }, + { + "value": "volcano" + }, + { + "value": "volleyball" + }, + { + "value": "volume-high", + "keywords": [ + "volume", + "high" + ] + }, + { + "value": "volume-low", + "keywords": [ + "volume", + "low" + ] + }, + { + "value": "volume-off", + "keywords": [ + "volume", + "off" + ] + }, + { + "value": "volume-xmark", + "keywords": [ + "volume", + "xmark" + ] + }, + { + "value": "vr-cardboard", + "keywords": [ + "vr", + "cardboard" + ] + }, + { + "value": "w" + }, + { + "value": "walkie-talkie", + "keywords": [ + "walkie", + "talkie" + ] + }, + { + "value": "wallet" + }, + { + "value": "wand-magic", + "keywords": [ + "wand", + "magic" + ] + }, + { + "value": "wand-magic-sparkles", + "keywords": [ + "wand", + "magic", + "sparkles" + ] + }, + { + "value": "wand-sparkles", + "keywords": [ + "wand", + "sparkles" + ] + }, + { + "value": "warehouse" + }, + { + "value": "water" + }, + { + "value": "water-ladder", + "keywords": [ + "water", + "ladder" + ] + }, + { + "value": "wave-square", + "keywords": [ + "wave", + "square" + ] + }, + { + "value": "weight-hanging", + "keywords": [ + "weight", + "hanging" + ] + }, + { + "value": "weight-scale", + "keywords": [ + "weight", + "scale" + ] + }, + { + "value": "wheat-awn", + "keywords": [ + "wheat", + "awn" + ] + }, + { + "value": "wheat-awn-circle-exclamation", + "keywords": [ + "wheat", + "awn", + "circle", + "exclamation" + ] + }, + { + "value": "wheelchair" + }, + { + "value": "wheelchair-move", + "keywords": [ + "wheelchair", + "move" + ] + }, + { + "value": "whiskey-glass", + "keywords": [ + "whiskey", + "glass" + ] + }, + { + "value": "wifi" + }, + { + "value": "wind" + }, + { + "value": "window-maximize", + "keywords": [ + "window", + "maximize" + ] + }, + { + "value": "window-minimize", + "keywords": [ + "window", + "minimize" + ] + }, + { + "value": "window-restore", + "keywords": [ + "window", + "restore" + ] + }, + { + "value": "wine-bottle", + "keywords": [ + "wine", + "bottle" + ] + }, + { + "value": "wine-glass", + "keywords": [ + "wine", + "glass" + ] + }, + { + "value": "wine-glass-empty", + "keywords": [ + "wine", + "glass", + "empty" + ] + }, + { + "value": "won-sign", + "keywords": [ + "won", + "sign" + ] + }, + { + "value": "worm" + }, + { + "value": "wrench" + }, + { + "value": "x" + }, + { + "value": "x-ray" + }, + { + "value": "xmark" + }, + { + "value": "xmarks-lines", + "keywords": [ + "xmarks", + "lines" + ] + }, + { + "value": "y" + }, + { + "value": "yen-sign", + "keywords": [ + "yen", + "sign" + ] + }, + { + "value": "yin-yang", + "keywords": [ + "yin", + "yang" + ] + }, + { + "value": "z" + } + ] + }, + "ccLabel": { + "label": "$t:editor.control.cc_label.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "label" + } + }, + "ccVariant": { + "label": "$t:editor.control.cc_variant.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "variant" + }, + "options": [ + { + "value": "green", + "label": "$t:editor.control.cc_variant.green" + }, + { + "value": "orange", + "label": "$t:editor.control.cc_variant.orange" + }, + { + "value": "yellow", + "label": "$t:editor.control.cc_variant.yellow" + }, + { + "value": "gray", + "label": "$t:editor.control.cc_variant.gray" + }, + { + "value": "blue", + "label": "$t:editor.control.cc_variant.blue" + } + ] + }, + "ccCustomColor": { + "label": "$t:editor.control.cc_custom_color.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "customColor" + } + }, + "miInputType": { + "label": "$t:editor.control.mi_input_type.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "inputType" + }, + "options": [ + { + "value": "text", + "label": "$t:editor.control.mi_input_type.text" + }, + { + "value": "textarea", + "label": "$t:editor.control.mi_input_type.textarea" + } + ] + }, + "miLayout": { + "label": "$t:editor.control.mi_layout.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "layout" + }, + "options": [ + { + "value": "inline", + "label": "$t:editor.control.mi_layout.inline" + }, + { + "value": "tabs", + "label": "$t:editor.control.mi_layout.tabs" + }, + { + "value": "compact", + "label": "$t:editor.control.mi_layout.compact" + } + ] + }, + "miPlaceholder": { + "label": "$t:editor.control.mi_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "miRequired": { + "label": "$t:editor.control.mi_required.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "required" + } + }, + "miDisabled": { + "label": "$t:editor.control.mi_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "miMaxLength": { + "label": "$t:editor.control.mi_max_length.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxLength" + } + }, + "miRows": { + "label": "$t:editor.control.mi_rows.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "rows" + } + }, + "mtiPlaceholder": { + "label": "$t:editor.control.mti_placeholder.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "placeholder" + } + }, + "mtiDisabled": { + "label": "$t:editor.control.mti_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "disabled" + } + }, + "mtiCreatable": { + "label": "$t:editor.control.mti_creatable.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "creatable" + } + }, + "mtiMaxItems": { + "label": "$t:editor.control.mti_max_items.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxItems" + } + }, + "mtiModalId": { + "label": "$t:editor.control.mti_modal_id.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "modalId" + } + }, + "mtiStatePath": { + "label": "$t:editor.control.mti_state_path.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "statePath" + } + }, + "lsLanguageText": { + "label": "$t:editor.control.ls_language_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "languageText" + } + }, + "lsApiEndpoint": { + "label": "$t:editor.control.ls_api_endpoint.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "apiEndpoint" + } + }, + "lsInline": { + "label": "$t:editor.control.ls_inline.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "inline" + } + }, + "ctSearchKeyword": { + "label": "$t:editor.control.ct_search_keyword.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "searchKeyword" + } + }, + "ctShowProductCount": { + "label": "$t:editor.control.ct_show_product_count.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showProductCount" + } + }, + "ctSelectable": { + "label": "$t:editor.control.ct_selectable.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "selectable" + } + }, + "ebType": { + "label": "$t:editor.control.eb_type.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "type" + }, + "options": [ + { + "value": "module", + "label": "$t:editor.control.eb_type.module" + }, + { + "value": "plugin", + "label": "$t:editor.control.eb_type.plugin" + } + ] + }, + "ebIdentifier": { + "label": "$t:editor.control.eb_identifier.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "identifier" + } + }, + "ebName": { + "label": "$t:editor.control.eb_name.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "name" + } + }, + "upProfileText": { + "label": "$t:editor.control.up_profile_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "profileText" + } + }, + "upLogoutText": { + "label": "$t:editor.control.up_logout_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "logoutText" + } + }, + "upLanguageText": { + "label": "$t:editor.control.up_language_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "languageText" + } + }, + "upLogoutEndpoint": { + "label": "$t:editor.control.up_logout_endpoint.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "logoutEndpoint" + } + }, + "upRedirectPath": { + "label": "$t:editor.control.up_redirect_path.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "redirectPath" + } + }, + "upShowChevron": { + "label": "$t:editor.control.up_show_chevron.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showChevron" + } + }, + "upDropdownDir": { + "label": "$t:editor.control.up_dropdown_dir.label", + "widget": "select", + "apply": { + "type": "propValue", + "propKey": "dropdownDirection" + }, + "options": [ + { + "value": "up", + "label": "$t:editor.control.up_dropdown_dir.up" + }, + { + "value": "down", + "label": "$t:editor.control.up_dropdown_dir.down" + } + ] + }, + "upDropdownOnly": { + "label": "$t:editor.control.up_dropdown_only.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "dropdownOnly" + } + }, + "fgTitle": { + "label": "$t:editor.control.fg_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "title" + } + }, + "fgShowReset": { + "label": "$t:editor.control.fg_show_reset.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "showResetButton" + } + }, + "smlSelectedId": { + "label": "$t:editor.control.sml_selected_id.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "selectedId" + } + }, + "smlTitle": { + "label": "$t:editor.control.sml_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "title" + } + }, + "smlEnableDrag": { + "label": "$t:editor.control.sml_enable_drag.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "enableDrag" + } + }, + "smlToggleDisabled": { + "label": "$t:editor.control.sml_toggle_disabled.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "toggleDisabled" + } + }, + "dflMaxItems": { + "label": "$t:editor.control.dfl_max_items.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "maxItems" + } + }, + "tclLeftWidth": { + "label": "$t:editor.control.tcl_left_width.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "leftWidth" + } + }, + "tclRightWidth": { + "label": "$t:editor.control.tcl_right_width.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "rightWidth" + } + }, + "asLogo": { + "label": "$t:editor.control.as_logo.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "logo" + } + }, + "asLogoAlt": { + "label": "$t:editor.control.as_logo_alt.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "logoAlt" + } + }, + "asCollapsed": { + "label": "$t:editor.control.as_collapsed.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "collapsed" + } + }, + "asCurrentLocale": { + "label": "$t:editor.control.as_current_locale.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "currentLocale" + } + }, + "afCopyright": { + "label": "$t:editor.control.af_copyright.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "copyright" + } + }, + "afVersion": { + "label": "$t:editor.control.af_version.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "version" + } + }, + "afCopyrightModalId": { + "label": "$t:editor.control.af_copyright_modal_id.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "copyrightModalId" + } + }, + "afChangelogModalId": { + "label": "$t:editor.control.af_changelog_modal_id.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "changelogModalId" + } + }, + "ttAutoText": { + "label": "$t:editor.control.tt_auto_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "autoText" + } + }, + "ttLightText": { + "label": "$t:editor.control.tt_light_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "lightText" + } + }, + "ttDarkText": { + "label": "$t:editor.control.tt_dark_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "darkText" + } + }, + "ncTitleText": { + "label": "$t:editor.control.nc_title_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "titleText" + } + }, + "ncEmptyText": { + "label": "$t:editor.control.nc_empty_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "emptyText" + } + }, + "ncMarkAllReadText": { + "label": "$t:editor.control.nc_mark_all_read_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "markAllReadText" + } + }, + "ncDeleteAllText": { + "label": "$t:editor.control.nc_delete_all_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "deleteAllText" + } + }, + "ncUnreadOnlyText": { + "label": "$t:editor.control.nc_unread_only_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "unreadOnlyText" + } + }, + "ncUnreadOnly": { + "label": "$t:editor.control.nc_unread_only.label", + "widget": "toggle", + "apply": { + "type": "propValue", + "propKey": "unreadOnly" + } + }, + "ncDropdownAlign": { + "label": "$t:editor.control.nc_dropdown_align.label", + "widget": "segmented", + "apply": { + "type": "propValue", + "propKey": "dropdownAlign" + }, + "options": [ + { + "value": "left", + "label": "$t:editor.control.nc_dropdown_align.left" + }, + { + "value": "right", + "label": "$t:editor.control.nc_dropdown_align.right" + } + ] + }, + "csTriggerLabel": { + "label": "$t:editor.control.cs_trigger_label.label", + "widget": "text", + "apply": { + "type": "propValue", + "propKey": "triggerLabel" + } + }, + "csRequiredText": { + "label": "$t:editor.control.cs_required_text.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "requiredText" + } + }, + "csMenuTitle": { + "label": "$t:editor.control.cs_menu_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "menuTitle" + } + }, + "csMenuDescription": { + "label": "$t:editor.control.cs_menu_description.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "menuDescription" + } + }, + "csPosition": { + "label": "$t:editor.control.cs_position.label", + "widget": "segmented", + "apply": { + "type": "propValue", + "propKey": "position" + }, + "options": [ + { + "value": "left", + "label": "$t:editor.control.cs_position.left" + }, + { + "value": "right", + "label": "$t:editor.control.cs_position.right" + } + ] + }, + "csTriggerIconName": { + "label": "$t:editor.control.cs_trigger_icon_name.label", + "widget": "icon-picker", + "apply": { + "type": "propValue", + "propKey": "triggerIconName" + }, + "iconColumns": 8, + "icons": [ + { + "value": "0" + }, + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + }, + { + "value": "4" + }, + { + "value": "5" + }, + { + "value": "6" + }, + { + "value": "7" + }, + { + "value": "8" + }, + { + "value": "9" + }, + { + "value": "a" + }, + { + "value": "address-book", + "keywords": [ + "address", + "book" + ] + }, + { + "value": "address-card", + "keywords": [ + "address", + "card" + ] + }, + { + "value": "align-center", + "keywords": [ + "align", + "center" + ] + }, + { + "value": "align-justify", + "keywords": [ + "align", + "justify" + ] + }, + { + "value": "align-left", + "keywords": [ + "align", + "left" + ] + }, + { + "value": "align-right", + "keywords": [ + "align", + "right" + ] + }, + { + "value": "anchor" + }, + { + "value": "anchor-circle-check", + "keywords": [ + "anchor", + "circle", + "check" + ] + }, + { + "value": "anchor-circle-exclamation", + "keywords": [ + "anchor", + "circle", + "exclamation" + ] + }, + { + "value": "anchor-circle-xmark", + "keywords": [ + "anchor", + "circle", + "xmark" + ] + }, + { + "value": "anchor-lock", + "keywords": [ + "anchor", + "lock" + ] + }, + { + "value": "angle-down", + "keywords": [ + "angle", + "down" + ] + }, + { + "value": "angle-left", + "keywords": [ + "angle", + "left" + ] + }, + { + "value": "angle-right", + "keywords": [ + "angle", + "right" + ] + }, + { + "value": "angle-up", + "keywords": [ + "angle", + "up" + ] + }, + { + "value": "angles-down", + "keywords": [ + "angles", + "down" + ] + }, + { + "value": "angles-left", + "keywords": [ + "angles", + "left" + ] + }, + { + "value": "angles-right", + "keywords": [ + "angles", + "right" + ] + }, + { + "value": "angles-up", + "keywords": [ + "angles", + "up" + ] + }, + { + "value": "ankh" + }, + { + "value": "apple-whole", + "keywords": [ + "apple", + "whole" + ] + }, + { + "value": "archway" + }, + { + "value": "arrow-down", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-1-9", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-9-1", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-a-z", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-down-long", + "keywords": [ + "arrow", + "down", + "long" + ] + }, + { + "value": "arrow-down-short-wide", + "keywords": [ + "arrow", + "down", + "short", + "wide" + ] + }, + { + "value": "arrow-down-up-across-line", + "keywords": [ + "arrow", + "down", + "up", + "across", + "line" + ] + }, + { + "value": "arrow-down-up-lock", + "keywords": [ + "arrow", + "down", + "up", + "lock" + ] + }, + { + "value": "arrow-down-wide-short", + "keywords": [ + "arrow", + "down", + "wide", + "short" + ] + }, + { + "value": "arrow-down-z-a", + "keywords": [ + "arrow", + "down" + ] + }, + { + "value": "arrow-left", + "keywords": [ + "arrow", + "left" + ] + }, + { + "value": "arrow-left-long", + "keywords": [ + "arrow", + "left", + "long" + ] + }, + { + "value": "arrow-pointer", + "keywords": [ + "arrow", + "pointer" + ] + }, + { + "value": "arrow-right", + "keywords": [ + "arrow", + "right" + ] + }, + { + "value": "arrow-right-arrow-left", + "keywords": [ + "arrow", + "right", + "arrow", + "left" + ] + }, + { + "value": "arrow-right-from-bracket", + "keywords": [ + "arrow", + "right", + "from", + "bracket" + ] + }, + { + "value": "arrow-right-long", + "keywords": [ + "arrow", + "right", + "long" + ] + }, + { + "value": "arrow-right-to-bracket", + "keywords": [ + "arrow", + "right", + "to", + "bracket" + ] + }, + { + "value": "arrow-right-to-city", + "keywords": [ + "arrow", + "right", + "to", + "city" + ] + }, + { + "value": "arrow-rotate-left", + "keywords": [ + "arrow", + "rotate", + "left" + ] + }, + { + "value": "arrow-rotate-right", + "keywords": [ + "arrow", + "rotate", + "right" + ] + }, + { + "value": "arrow-trend-down", + "keywords": [ + "arrow", + "trend", + "down" + ] + }, + { + "value": "arrow-trend-up", + "keywords": [ + "arrow", + "trend", + "up" + ] + }, + { + "value": "arrow-turn-down", + "keywords": [ + "arrow", + "turn", + "down" + ] + }, + { + "value": "arrow-turn-up", + "keywords": [ + "arrow", + "turn", + "up" + ] + }, + { + "value": "arrow-up", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-1-9", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-9-1", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-a-z", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrow-up-from-bracket", + "keywords": [ + "arrow", + "up", + "from", + "bracket" + ] + }, + { + "value": "arrow-up-from-ground-water", + "keywords": [ + "arrow", + "up", + "from", + "ground", + "water" + ] + }, + { + "value": "arrow-up-from-water-pump", + "keywords": [ + "arrow", + "up", + "from", + "water", + "pump" + ] + }, + { + "value": "arrow-up-long", + "keywords": [ + "arrow", + "up", + "long" + ] + }, + { + "value": "arrow-up-right-dots", + "keywords": [ + "arrow", + "up", + "right", + "dots" + ] + }, + { + "value": "arrow-up-right-from-square", + "keywords": [ + "arrow", + "up", + "right", + "from", + "square" + ] + }, + { + "value": "arrow-up-short-wide", + "keywords": [ + "arrow", + "up", + "short", + "wide" + ] + }, + { + "value": "arrow-up-wide-short", + "keywords": [ + "arrow", + "up", + "wide", + "short" + ] + }, + { + "value": "arrow-up-z-a", + "keywords": [ + "arrow", + "up" + ] + }, + { + "value": "arrows-down-to-line", + "keywords": [ + "arrows", + "down", + "to", + "line" + ] + }, + { + "value": "arrows-down-to-people", + "keywords": [ + "arrows", + "down", + "to", + "people" + ] + }, + { + "value": "arrows-left-right", + "keywords": [ + "arrows", + "left", + "right" + ] + }, + { + "value": "arrows-left-right-to-line", + "keywords": [ + "arrows", + "left", + "right", + "to", + "line" + ] + }, + { + "value": "arrows-rotate", + "keywords": [ + "arrows", + "rotate" + ] + }, + { + "value": "arrows-spin", + "keywords": [ + "arrows", + "spin" + ] + }, + { + "value": "arrows-split-up-and-left", + "keywords": [ + "arrows", + "split", + "up", + "and", + "left" + ] + }, + { + "value": "arrows-to-circle", + "keywords": [ + "arrows", + "to", + "circle" + ] + }, + { + "value": "arrows-to-dot", + "keywords": [ + "arrows", + "to", + "dot" + ] + }, + { + "value": "arrows-to-eye", + "keywords": [ + "arrows", + "to", + "eye" + ] + }, + { + "value": "arrows-turn-right", + "keywords": [ + "arrows", + "turn", + "right" + ] + }, + { + "value": "arrows-turn-to-dots", + "keywords": [ + "arrows", + "turn", + "to", + "dots" + ] + }, + { + "value": "arrows-up-down", + "keywords": [ + "arrows", + "up", + "down" + ] + }, + { + "value": "arrows-up-down-left-right", + "keywords": [ + "arrows", + "up", + "down", + "left", + "right" + ] + }, + { + "value": "arrows-up-to-line", + "keywords": [ + "arrows", + "up", + "to", + "line" + ] + }, + { + "value": "asterisk" + }, + { + "value": "at" + }, + { + "value": "atom" + }, + { + "value": "audio-description", + "keywords": [ + "audio", + "description" + ] + }, + { + "value": "austral-sign", + "keywords": [ + "austral", + "sign" + ] + }, + { + "value": "award" + }, + { + "value": "b" + }, + { + "value": "baby" + }, + { + "value": "baby-carriage", + "keywords": [ + "baby", + "carriage" + ] + }, + { + "value": "backward" + }, + { + "value": "backward-fast", + "keywords": [ + "backward", + "fast" + ] + }, + { + "value": "backward-step", + "keywords": [ + "backward", + "step" + ] + }, + { + "value": "bacon" + }, + { + "value": "bacteria" + }, + { + "value": "bacterium" + }, + { + "value": "bag-shopping", + "keywords": [ + "bag", + "shopping" + ] + }, + { + "value": "bahai" + }, + { + "value": "baht-sign", + "keywords": [ + "baht", + "sign" + ] + }, + { + "value": "ban" + }, + { + "value": "ban-smoking", + "keywords": [ + "ban", + "smoking" + ] + }, + { + "value": "bandage" + }, + { + "value": "bangladeshi-taka-sign", + "keywords": [ + "bangladeshi", + "taka", + "sign" + ] + }, + { + "value": "barcode" + }, + { + "value": "bars" + }, + { + "value": "bars-progress", + "keywords": [ + "bars", + "progress" + ] + }, + { + "value": "bars-staggered", + "keywords": [ + "bars", + "staggered" + ] + }, + { + "value": "baseball" + }, + { + "value": "baseball-bat-ball", + "keywords": [ + "baseball", + "bat", + "ball" + ] + }, + { + "value": "basket-shopping", + "keywords": [ + "basket", + "shopping" + ] + }, + { + "value": "basketball" + }, + { + "value": "bath" + }, + { + "value": "battery-empty", + "keywords": [ + "battery", + "empty" + ] + }, + { + "value": "battery-full", + "keywords": [ + "battery", + "full" + ] + }, + { + "value": "battery-half", + "keywords": [ + "battery", + "half" + ] + }, + { + "value": "battery-quarter", + "keywords": [ + "battery", + "quarter" + ] + }, + { + "value": "battery-three-quarters", + "keywords": [ + "battery", + "three", + "quarters" + ] + }, + { + "value": "bed" + }, + { + "value": "bed-pulse", + "keywords": [ + "bed", + "pulse" + ] + }, + { + "value": "beer-mug-empty", + "keywords": [ + "beer", + "mug", + "empty" + ] + }, + { + "value": "bell" + }, + { + "value": "bell-concierge", + "keywords": [ + "bell", + "concierge" + ] + }, + { + "value": "bell-slash", + "keywords": [ + "bell", + "slash" + ] + }, + { + "value": "bezier-curve", + "keywords": [ + "bezier", + "curve" + ] + }, + { + "value": "bicycle" + }, + { + "value": "binoculars" + }, + { + "value": "biohazard" + }, + { + "value": "bitcoin-sign", + "keywords": [ + "bitcoin", + "sign" + ] + }, + { + "value": "blender" + }, + { + "value": "blender-phone", + "keywords": [ + "blender", + "phone" + ] + }, + { + "value": "blog" + }, + { + "value": "bold" + }, + { + "value": "bolt" + }, + { + "value": "bolt-lightning", + "keywords": [ + "bolt", + "lightning" + ] + }, + { + "value": "bomb" + }, + { + "value": "bone" + }, + { + "value": "bong" + }, + { + "value": "book" + }, + { + "value": "book-atlas", + "keywords": [ + "book", + "atlas" + ] + }, + { + "value": "book-bible", + "keywords": [ + "book", + "bible" + ] + }, + { + "value": "book-bookmark", + "keywords": [ + "book", + "bookmark" + ] + }, + { + "value": "book-journal-whills", + "keywords": [ + "book", + "journal", + "whills" + ] + }, + { + "value": "book-medical", + "keywords": [ + "book", + "medical" + ] + }, + { + "value": "book-open", + "keywords": [ + "book", + "open" + ] + }, + { + "value": "book-open-reader", + "keywords": [ + "book", + "open", + "reader" + ] + }, + { + "value": "book-quran", + "keywords": [ + "book", + "quran" + ] + }, + { + "value": "book-skull", + "keywords": [ + "book", + "skull" + ] + }, + { + "value": "book-tanakh", + "keywords": [ + "book", + "tanakh" + ] + }, + { + "value": "bookmark" + }, + { + "value": "border-all", + "keywords": [ + "border", + "all" + ] + }, + { + "value": "border-none", + "keywords": [ + "border", + "none" + ] + }, + { + "value": "border-top-left", + "keywords": [ + "border", + "top", + "left" + ] + }, + { + "value": "bore-hole", + "keywords": [ + "bore", + "hole" + ] + }, + { + "value": "bottle-droplet", + "keywords": [ + "bottle", + "droplet" + ] + }, + { + "value": "bottle-water", + "keywords": [ + "bottle", + "water" + ] + }, + { + "value": "bowl-food", + "keywords": [ + "bowl", + "food" + ] + }, + { + "value": "bowl-rice", + "keywords": [ + "bowl", + "rice" + ] + }, + { + "value": "bowling-ball", + "keywords": [ + "bowling", + "ball" + ] + }, + { + "value": "box" + }, + { + "value": "box-archive", + "keywords": [ + "box", + "archive" + ] + }, + { + "value": "box-open", + "keywords": [ + "box", + "open" + ] + }, + { + "value": "box-tissue", + "keywords": [ + "box", + "tissue" + ] + }, + { + "value": "boxes-packing", + "keywords": [ + "boxes", + "packing" + ] + }, + { + "value": "boxes-stacked", + "keywords": [ + "boxes", + "stacked" + ] + }, + { + "value": "braille" + }, + { + "value": "brain" + }, + { + "value": "brazilian-real-sign", + "keywords": [ + "brazilian", + "real", + "sign" + ] + }, + { + "value": "bread-slice", + "keywords": [ + "bread", + "slice" + ] + }, + { + "value": "bridge" + }, + { + "value": "bridge-circle-check", + "keywords": [ + "bridge", + "circle", + "check" + ] + }, + { + "value": "bridge-circle-exclamation", + "keywords": [ + "bridge", + "circle", + "exclamation" + ] + }, + { + "value": "bridge-circle-xmark", + "keywords": [ + "bridge", + "circle", + "xmark" + ] + }, + { + "value": "bridge-lock", + "keywords": [ + "bridge", + "lock" + ] + }, + { + "value": "bridge-water", + "keywords": [ + "bridge", + "water" + ] + }, + { + "value": "briefcase" + }, + { + "value": "briefcase-medical", + "keywords": [ + "briefcase", + "medical" + ] + }, + { + "value": "broom" + }, + { + "value": "broom-ball", + "keywords": [ + "broom", + "ball" + ] + }, + { + "value": "brush" + }, + { + "value": "bucket" + }, + { + "value": "bug" + }, + { + "value": "bug-slash", + "keywords": [ + "bug", + "slash" + ] + }, + { + "value": "bugs" + }, + { + "value": "building" + }, + { + "value": "building-circle-arrow-right", + "keywords": [ + "building", + "circle", + "arrow", + "right" + ] + }, + { + "value": "building-circle-check", + "keywords": [ + "building", + "circle", + "check" + ] + }, + { + "value": "building-circle-exclamation", + "keywords": [ + "building", + "circle", + "exclamation" + ] + }, + { + "value": "building-circle-xmark", + "keywords": [ + "building", + "circle", + "xmark" + ] + }, + { + "value": "building-columns", + "keywords": [ + "building", + "columns" + ] + }, + { + "value": "building-flag", + "keywords": [ + "building", + "flag" + ] + }, + { + "value": "building-lock", + "keywords": [ + "building", + "lock" + ] + }, + { + "value": "building-ngo", + "keywords": [ + "building", + "ngo" + ] + }, + { + "value": "building-shield", + "keywords": [ + "building", + "shield" + ] + }, + { + "value": "building-un", + "keywords": [ + "building", + "un" + ] + }, + { + "value": "building-user", + "keywords": [ + "building", + "user" + ] + }, + { + "value": "building-wheat", + "keywords": [ + "building", + "wheat" + ] + }, + { + "value": "bullhorn" + }, + { + "value": "bullseye" + }, + { + "value": "burger" + }, + { + "value": "burst" + }, + { + "value": "bus" + }, + { + "value": "bus-simple", + "keywords": [ + "bus", + "simple" + ] + }, + { + "value": "business-time", + "keywords": [ + "business", + "time" + ] + }, + { + "value": "c" + }, + { + "value": "cable-car", + "keywords": [ + "cable", + "car" + ] + }, + { + "value": "cake-candles", + "keywords": [ + "cake", + "candles" + ] + }, + { + "value": "calculator" + }, + { + "value": "calendar" + }, + { + "value": "calendar-check", + "keywords": [ + "calendar", + "check" + ] + }, + { + "value": "calendar-day", + "keywords": [ + "calendar", + "day" + ] + }, + { + "value": "calendar-days", + "keywords": [ + "calendar", + "days" + ] + }, + { + "value": "calendar-minus", + "keywords": [ + "calendar", + "minus" + ] + }, + { + "value": "calendar-plus", + "keywords": [ + "calendar", + "plus" + ] + }, + { + "value": "calendar-week", + "keywords": [ + "calendar", + "week" + ] + }, + { + "value": "calendar-xmark", + "keywords": [ + "calendar", + "xmark" + ] + }, + { + "value": "camera" + }, + { + "value": "camera-retro", + "keywords": [ + "camera", + "retro" + ] + }, + { + "value": "camera-rotate", + "keywords": [ + "camera", + "rotate" + ] + }, + { + "value": "campground" + }, + { + "value": "candy-cane", + "keywords": [ + "candy", + "cane" + ] + }, + { + "value": "cannabis" + }, + { + "value": "capsules" + }, + { + "value": "car" + }, + { + "value": "car-battery", + "keywords": [ + "car", + "battery" + ] + }, + { + "value": "car-burst", + "keywords": [ + "car", + "burst" + ] + }, + { + "value": "car-on", + "keywords": [ + "car", + "on" + ] + }, + { + "value": "car-rear", + "keywords": [ + "car", + "rear" + ] + }, + { + "value": "car-side", + "keywords": [ + "car", + "side" + ] + }, + { + "value": "car-tunnel", + "keywords": [ + "car", + "tunnel" + ] + }, + { + "value": "caravan" + }, + { + "value": "caret-down", + "keywords": [ + "caret", + "down" + ] + }, + { + "value": "caret-left", + "keywords": [ + "caret", + "left" + ] + }, + { + "value": "caret-right", + "keywords": [ + "caret", + "right" + ] + }, + { + "value": "caret-up", + "keywords": [ + "caret", + "up" + ] + }, + { + "value": "carrot" + }, + { + "value": "cart-arrow-down", + "keywords": [ + "cart", + "arrow", + "down" + ] + }, + { + "value": "cart-flatbed", + "keywords": [ + "cart", + "flatbed" + ] + }, + { + "value": "cart-flatbed-suitcase", + "keywords": [ + "cart", + "flatbed", + "suitcase" + ] + }, + { + "value": "cart-plus", + "keywords": [ + "cart", + "plus" + ] + }, + { + "value": "cart-shopping", + "keywords": [ + "cart", + "shopping" + ] + }, + { + "value": "cash-register", + "keywords": [ + "cash", + "register" + ] + }, + { + "value": "cat" + }, + { + "value": "cedi-sign", + "keywords": [ + "cedi", + "sign" + ] + }, + { + "value": "cent-sign", + "keywords": [ + "cent", + "sign" + ] + }, + { + "value": "certificate" + }, + { + "value": "chair" + }, + { + "value": "chalkboard" + }, + { + "value": "chalkboard-user", + "keywords": [ + "chalkboard", + "user" + ] + }, + { + "value": "champagne-glasses", + "keywords": [ + "champagne", + "glasses" + ] + }, + { + "value": "charging-station", + "keywords": [ + "charging", + "station" + ] + }, + { + "value": "chart-area", + "keywords": [ + "chart", + "area" + ] + }, + { + "value": "chart-bar", + "keywords": [ + "chart", + "bar" + ] + }, + { + "value": "chart-column", + "keywords": [ + "chart", + "column" + ] + }, + { + "value": "chart-gantt", + "keywords": [ + "chart", + "gantt" + ] + }, + { + "value": "chart-line", + "keywords": [ + "chart", + "line" + ] + }, + { + "value": "chart-pie", + "keywords": [ + "chart", + "pie" + ] + }, + { + "value": "chart-simple", + "keywords": [ + "chart", + "simple" + ] + }, + { + "value": "check" + }, + { + "value": "check-double", + "keywords": [ + "check", + "double" + ] + }, + { + "value": "check-to-slot", + "keywords": [ + "check", + "to", + "slot" + ] + }, + { + "value": "cheese" + }, + { + "value": "chess" + }, + { + "value": "chess-bishop", + "keywords": [ + "chess", + "bishop" + ] + }, + { + "value": "chess-board", + "keywords": [ + "chess", + "board" + ] + }, + { + "value": "chess-king", + "keywords": [ + "chess", + "king" + ] + }, + { + "value": "chess-knight", + "keywords": [ + "chess", + "knight" + ] + }, + { + "value": "chess-pawn", + "keywords": [ + "chess", + "pawn" + ] + }, + { + "value": "chess-queen", + "keywords": [ + "chess", + "queen" + ] + }, + { + "value": "chess-rook", + "keywords": [ + "chess", + "rook" + ] + }, + { + "value": "chevron-down", + "keywords": [ + "chevron", + "down" + ] + }, + { + "value": "chevron-left", + "keywords": [ + "chevron", + "left" + ] + }, + { + "value": "chevron-right", + "keywords": [ + "chevron", + "right" + ] + }, + { + "value": "chevron-up", + "keywords": [ + "chevron", + "up" + ] + }, + { + "value": "child" + }, + { + "value": "child-combatant", + "keywords": [ + "child", + "combatant" + ] + }, + { + "value": "child-dress", + "keywords": [ + "child", + "dress" + ] + }, + { + "value": "child-reaching", + "keywords": [ + "child", + "reaching" + ] + }, + { + "value": "children" + }, + { + "value": "church" + }, + { + "value": "circle" + }, + { + "value": "circle-arrow-down", + "keywords": [ + "circle", + "arrow", + "down" + ] + }, + { + "value": "circle-arrow-left", + "keywords": [ + "circle", + "arrow", + "left" + ] + }, + { + "value": "circle-arrow-right", + "keywords": [ + "circle", + "arrow", + "right" + ] + }, + { + "value": "circle-arrow-up", + "keywords": [ + "circle", + "arrow", + "up" + ] + }, + { + "value": "circle-check", + "keywords": [ + "circle", + "check" + ] + }, + { + "value": "circle-chevron-down", + "keywords": [ + "circle", + "chevron", + "down" + ] + }, + { + "value": "circle-chevron-left", + "keywords": [ + "circle", + "chevron", + "left" + ] + }, + { + "value": "circle-chevron-right", + "keywords": [ + "circle", + "chevron", + "right" + ] + }, + { + "value": "circle-chevron-up", + "keywords": [ + "circle", + "chevron", + "up" + ] + }, + { + "value": "circle-dollar-to-slot", + "keywords": [ + "circle", + "dollar", + "to", + "slot" + ] + }, + { + "value": "circle-dot", + "keywords": [ + "circle", + "dot" + ] + }, + { + "value": "circle-down", + "keywords": [ + "circle", + "down" + ] + }, + { + "value": "circle-exclamation", + "keywords": [ + "circle", + "exclamation" + ] + }, + { + "value": "circle-h" + }, + { + "value": "circle-half-stroke", + "keywords": [ + "circle", + "half", + "stroke" + ] + }, + { + "value": "circle-info", + "keywords": [ + "circle", + "info" + ] + }, + { + "value": "circle-left", + "keywords": [ + "circle", + "left" + ] + }, + { + "value": "circle-minus", + "keywords": [ + "circle", + "minus" + ] + }, + { + "value": "circle-nodes", + "keywords": [ + "circle", + "nodes" + ] + }, + { + "value": "circle-notch", + "keywords": [ + "circle", + "notch" + ] + }, + { + "value": "circle-pause", + "keywords": [ + "circle", + "pause" + ] + }, + { + "value": "circle-play", + "keywords": [ + "circle", + "play" + ] + }, + { + "value": "circle-plus", + "keywords": [ + "circle", + "plus" + ] + }, + { + "value": "circle-question", + "keywords": [ + "circle", + "question" + ] + }, + { + "value": "circle-radiation", + "keywords": [ + "circle", + "radiation" + ] + }, + { + "value": "circle-right", + "keywords": [ + "circle", + "right" + ] + }, + { + "value": "circle-stop", + "keywords": [ + "circle", + "stop" + ] + }, + { + "value": "circle-up", + "keywords": [ + "circle", + "up" + ] + }, + { + "value": "circle-user", + "keywords": [ + "circle", + "user" + ] + }, + { + "value": "circle-xmark", + "keywords": [ + "circle", + "xmark" + ] + }, + { + "value": "city" + }, + { + "value": "clapperboard" + }, + { + "value": "clipboard" + }, + { + "value": "clipboard-check", + "keywords": [ + "clipboard", + "check" + ] + }, + { + "value": "clipboard-list", + "keywords": [ + "clipboard", + "list" + ] + }, + { + "value": "clipboard-question", + "keywords": [ + "clipboard", + "question" + ] + }, + { + "value": "clipboard-user", + "keywords": [ + "clipboard", + "user" + ] + }, + { + "value": "clock" + }, + { + "value": "clock-rotate-left", + "keywords": [ + "clock", + "rotate", + "left" + ] + }, + { + "value": "clone" + }, + { + "value": "closed-captioning", + "keywords": [ + "closed", + "captioning" + ] + }, + { + "value": "cloud" + }, + { + "value": "cloud-arrow-down", + "keywords": [ + "cloud", + "arrow", + "down" + ] + }, + { + "value": "cloud-arrow-up", + "keywords": [ + "cloud", + "arrow", + "up" + ] + }, + { + "value": "cloud-bolt", + "keywords": [ + "cloud", + "bolt" + ] + }, + { + "value": "cloud-meatball", + "keywords": [ + "cloud", + "meatball" + ] + }, + { + "value": "cloud-moon", + "keywords": [ + "cloud", + "moon" + ] + }, + { + "value": "cloud-moon-rain", + "keywords": [ + "cloud", + "moon", + "rain" + ] + }, + { + "value": "cloud-rain", + "keywords": [ + "cloud", + "rain" + ] + }, + { + "value": "cloud-showers-heavy", + "keywords": [ + "cloud", + "showers", + "heavy" + ] + }, + { + "value": "cloud-showers-water", + "keywords": [ + "cloud", + "showers", + "water" + ] + }, + { + "value": "cloud-sun", + "keywords": [ + "cloud", + "sun" + ] + }, + { + "value": "cloud-sun-rain", + "keywords": [ + "cloud", + "sun", + "rain" + ] + }, + { + "value": "clover" + }, + { + "value": "code" + }, + { + "value": "code-branch", + "keywords": [ + "code", + "branch" + ] + }, + { + "value": "code-commit", + "keywords": [ + "code", + "commit" + ] + }, + { + "value": "code-compare", + "keywords": [ + "code", + "compare" + ] + }, + { + "value": "code-fork", + "keywords": [ + "code", + "fork" + ] + }, + { + "value": "code-merge", + "keywords": [ + "code", + "merge" + ] + }, + { + "value": "code-pull-request", + "keywords": [ + "code", + "pull", + "request" + ] + }, + { + "value": "coins" + }, + { + "value": "colon-sign", + "keywords": [ + "colon", + "sign" + ] + }, + { + "value": "comment" + }, + { + "value": "comment-dollar", + "keywords": [ + "comment", + "dollar" + ] + }, + { + "value": "comment-dots", + "keywords": [ + "comment", + "dots" + ] + }, + { + "value": "comment-medical", + "keywords": [ + "comment", + "medical" + ] + }, + { + "value": "comment-slash", + "keywords": [ + "comment", + "slash" + ] + }, + { + "value": "comment-sms", + "keywords": [ + "comment", + "sms" + ] + }, + { + "value": "comments" + }, + { + "value": "comments-dollar", + "keywords": [ + "comments", + "dollar" + ] + }, + { + "value": "compact-disc", + "keywords": [ + "compact", + "disc" + ] + }, + { + "value": "compass" + }, + { + "value": "compass-drafting", + "keywords": [ + "compass", + "drafting" + ] + }, + { + "value": "compress" + }, + { + "value": "computer" + }, + { + "value": "computer-mouse", + "keywords": [ + "computer", + "mouse" + ] + }, + { + "value": "cookie" + }, + { + "value": "cookie-bite", + "keywords": [ + "cookie", + "bite" + ] + }, + { + "value": "copy" + }, + { + "value": "copyright" + }, + { + "value": "couch" + }, + { + "value": "cow" + }, + { + "value": "credit-card", + "keywords": [ + "credit", + "card" + ] + }, + { + "value": "crop" + }, + { + "value": "crop-simple", + "keywords": [ + "crop", + "simple" + ] + }, + { + "value": "cross" + }, + { + "value": "crosshairs" + }, + { + "value": "crow" + }, + { + "value": "crown" + }, + { + "value": "crutch" + }, + { + "value": "cruzeiro-sign", + "keywords": [ + "cruzeiro", + "sign" + ] + }, + { + "value": "cube" + }, + { + "value": "cubes" + }, + { + "value": "cubes-stacked", + "keywords": [ + "cubes", + "stacked" + ] + }, + { + "value": "d" + }, + { + "value": "database" + }, + { + "value": "delete-left", + "keywords": [ + "delete", + "left" + ] + }, + { + "value": "democrat" + }, + { + "value": "desktop" + }, + { + "value": "dharmachakra" + }, + { + "value": "diagram-next", + "keywords": [ + "diagram", + "next" + ] + }, + { + "value": "diagram-predecessor", + "keywords": [ + "diagram", + "predecessor" + ] + }, + { + "value": "diagram-project", + "keywords": [ + "diagram", + "project" + ] + }, + { + "value": "diagram-successor", + "keywords": [ + "diagram", + "successor" + ] + }, + { + "value": "diamond" + }, + { + "value": "diamond-turn-right", + "keywords": [ + "diamond", + "turn", + "right" + ] + }, + { + "value": "dice" + }, + { + "value": "dice-d20", + "keywords": [ + "dice", + "d20" + ] + }, + { + "value": "dice-d6", + "keywords": [ + "dice", + "d6" + ] + }, + { + "value": "dice-five", + "keywords": [ + "dice", + "five" + ] + }, + { + "value": "dice-four", + "keywords": [ + "dice", + "four" + ] + }, + { + "value": "dice-one", + "keywords": [ + "dice", + "one" + ] + }, + { + "value": "dice-six", + "keywords": [ + "dice", + "six" + ] + }, + { + "value": "dice-three", + "keywords": [ + "dice", + "three" + ] + }, + { + "value": "dice-two", + "keywords": [ + "dice", + "two" + ] + }, + { + "value": "disease" + }, + { + "value": "display" + }, + { + "value": "divide" + }, + { + "value": "dna" + }, + { + "value": "dog" + }, + { + "value": "dollar-sign", + "keywords": [ + "dollar", + "sign" + ] + }, + { + "value": "dolly" + }, + { + "value": "dong-sign", + "keywords": [ + "dong", + "sign" + ] + }, + { + "value": "door-closed", + "keywords": [ + "door", + "closed" + ] + }, + { + "value": "door-open", + "keywords": [ + "door", + "open" + ] + }, + { + "value": "dove" + }, + { + "value": "down-left-and-up-right-to-center", + "keywords": [ + "down", + "left", + "and", + "up", + "right", + "to", + "center" + ] + }, + { + "value": "down-long", + "keywords": [ + "down", + "long" + ] + }, + { + "value": "download" + }, + { + "value": "dragon" + }, + { + "value": "draw-polygon", + "keywords": [ + "draw", + "polygon" + ] + }, + { + "value": "droplet" + }, + { + "value": "droplet-slash", + "keywords": [ + "droplet", + "slash" + ] + }, + { + "value": "drum" + }, + { + "value": "drum-steelpan", + "keywords": [ + "drum", + "steelpan" + ] + }, + { + "value": "drumstick-bite", + "keywords": [ + "drumstick", + "bite" + ] + }, + { + "value": "dumbbell" + }, + { + "value": "dumpster" + }, + { + "value": "dumpster-fire", + "keywords": [ + "dumpster", + "fire" + ] + }, + { + "value": "dungeon" + }, + { + "value": "e" + }, + { + "value": "ear-deaf", + "keywords": [ + "ear", + "deaf" + ] + }, + { + "value": "ear-listen", + "keywords": [ + "ear", + "listen" + ] + }, + { + "value": "earth-africa", + "keywords": [ + "earth", + "africa" + ] + }, + { + "value": "earth-americas", + "keywords": [ + "earth", + "americas" + ] + }, + { + "value": "earth-asia", + "keywords": [ + "earth", + "asia" + ] + }, + { + "value": "earth-europe", + "keywords": [ + "earth", + "europe" + ] + }, + { + "value": "earth-oceania", + "keywords": [ + "earth", + "oceania" + ] + }, + { + "value": "egg" + }, + { + "value": "eject" + }, + { + "value": "elevator" + }, + { + "value": "ellipsis" + }, + { + "value": "ellipsis-vertical", + "keywords": [ + "ellipsis", + "vertical" + ] + }, + { + "value": "envelope" + }, + { + "value": "envelope-circle-check", + "keywords": [ + "envelope", + "circle", + "check" + ] + }, + { + "value": "envelope-open", + "keywords": [ + "envelope", + "open" + ] + }, + { + "value": "envelope-open-text", + "keywords": [ + "envelope", + "open", + "text" + ] + }, + { + "value": "envelopes-bulk", + "keywords": [ + "envelopes", + "bulk" + ] + }, + { + "value": "equals" + }, + { + "value": "eraser" + }, + { + "value": "ethernet" + }, + { + "value": "euro-sign", + "keywords": [ + "euro", + "sign" + ] + }, + { + "value": "exclamation" + }, + { + "value": "expand" + }, + { + "value": "explosion" + }, + { + "value": "eye" + }, + { + "value": "eye-dropper", + "keywords": [ + "eye", + "dropper" + ] + }, + { + "value": "eye-low-vision", + "keywords": [ + "eye", + "low", + "vision" + ] + }, + { + "value": "eye-slash", + "keywords": [ + "eye", + "slash" + ] + }, + { + "value": "f" + }, + { + "value": "face-angry", + "keywords": [ + "face", + "angry" + ] + }, + { + "value": "face-dizzy", + "keywords": [ + "face", + "dizzy" + ] + }, + { + "value": "face-flushed", + "keywords": [ + "face", + "flushed" + ] + }, + { + "value": "face-frown", + "keywords": [ + "face", + "frown" + ] + }, + { + "value": "face-frown-open", + "keywords": [ + "face", + "frown", + "open" + ] + }, + { + "value": "face-grimace", + "keywords": [ + "face", + "grimace" + ] + }, + { + "value": "face-grin", + "keywords": [ + "face", + "grin" + ] + }, + { + "value": "face-grin-beam", + "keywords": [ + "face", + "grin", + "beam" + ] + }, + { + "value": "face-grin-beam-sweat", + "keywords": [ + "face", + "grin", + "beam", + "sweat" + ] + }, + { + "value": "face-grin-hearts", + "keywords": [ + "face", + "grin", + "hearts" + ] + }, + { + "value": "face-grin-squint", + "keywords": [ + "face", + "grin", + "squint" + ] + }, + { + "value": "face-grin-squint-tears", + "keywords": [ + "face", + "grin", + "squint", + "tears" + ] + }, + { + "value": "face-grin-stars", + "keywords": [ + "face", + "grin", + "stars" + ] + }, + { + "value": "face-grin-tears", + "keywords": [ + "face", + "grin", + "tears" + ] + }, + { + "value": "face-grin-tongue", + "keywords": [ + "face", + "grin", + "tongue" + ] + }, + { + "value": "face-grin-tongue-squint", + "keywords": [ + "face", + "grin", + "tongue", + "squint" + ] + }, + { + "value": "face-grin-tongue-wink", + "keywords": [ + "face", + "grin", + "tongue", + "wink" + ] + }, + { + "value": "face-grin-wide", + "keywords": [ + "face", + "grin", + "wide" + ] + }, + { + "value": "face-grin-wink", + "keywords": [ + "face", + "grin", + "wink" + ] + }, + { + "value": "face-kiss", + "keywords": [ + "face", + "kiss" + ] + }, + { + "value": "face-kiss-beam", + "keywords": [ + "face", + "kiss", + "beam" + ] + }, + { + "value": "face-kiss-wink-heart", + "keywords": [ + "face", + "kiss", + "wink", + "heart" + ] + }, + { + "value": "face-laugh", + "keywords": [ + "face", + "laugh" + ] + }, + { + "value": "face-laugh-beam", + "keywords": [ + "face", + "laugh", + "beam" + ] + }, + { + "value": "face-laugh-squint", + "keywords": [ + "face", + "laugh", + "squint" + ] + }, + { + "value": "face-laugh-wink", + "keywords": [ + "face", + "laugh", + "wink" + ] + }, + { + "value": "face-meh", + "keywords": [ + "face", + "meh" + ] + }, + { + "value": "face-meh-blank", + "keywords": [ + "face", + "meh", + "blank" + ] + }, + { + "value": "face-rolling-eyes", + "keywords": [ + "face", + "rolling", + "eyes" + ] + }, + { + "value": "face-sad-cry", + "keywords": [ + "face", + "sad", + "cry" + ] + }, + { + "value": "face-sad-tear", + "keywords": [ + "face", + "sad", + "tear" + ] + }, + { + "value": "face-smile", + "keywords": [ + "face", + "smile" + ] + }, + { + "value": "face-smile-beam", + "keywords": [ + "face", + "smile", + "beam" + ] + }, + { + "value": "face-smile-wink", + "keywords": [ + "face", + "smile", + "wink" + ] + }, + { + "value": "face-surprise", + "keywords": [ + "face", + "surprise" + ] + }, + { + "value": "face-tired", + "keywords": [ + "face", + "tired" + ] + }, + { + "value": "fan" + }, + { + "value": "faucet" + }, + { + "value": "faucet-drip", + "keywords": [ + "faucet", + "drip" + ] + }, + { + "value": "fax" + }, + { + "value": "feather" + }, + { + "value": "feather-pointed", + "keywords": [ + "feather", + "pointed" + ] + }, + { + "value": "ferry" + }, + { + "value": "file" + }, + { + "value": "file-arrow-down", + "keywords": [ + "file", + "arrow", + "down" + ] + }, + { + "value": "file-arrow-up", + "keywords": [ + "file", + "arrow", + "up" + ] + }, + { + "value": "file-audio", + "keywords": [ + "file", + "audio" + ] + }, + { + "value": "file-circle-check", + "keywords": [ + "file", + "circle", + "check" + ] + }, + { + "value": "file-circle-exclamation", + "keywords": [ + "file", + "circle", + "exclamation" + ] + }, + { + "value": "file-circle-minus", + "keywords": [ + "file", + "circle", + "minus" + ] + }, + { + "value": "file-circle-plus", + "keywords": [ + "file", + "circle", + "plus" + ] + }, + { + "value": "file-circle-question", + "keywords": [ + "file", + "circle", + "question" + ] + }, + { + "value": "file-circle-xmark", + "keywords": [ + "file", + "circle", + "xmark" + ] + }, + { + "value": "file-code", + "keywords": [ + "file", + "code" + ] + }, + { + "value": "file-contract", + "keywords": [ + "file", + "contract" + ] + }, + { + "value": "file-csv", + "keywords": [ + "file", + "csv" + ] + }, + { + "value": "file-excel", + "keywords": [ + "file", + "excel" + ] + }, + { + "value": "file-export", + "keywords": [ + "file", + "export" + ] + }, + { + "value": "file-image", + "keywords": [ + "file", + "image" + ] + }, + { + "value": "file-import", + "keywords": [ + "file", + "import" + ] + }, + { + "value": "file-invoice", + "keywords": [ + "file", + "invoice" + ] + }, + { + "value": "file-invoice-dollar", + "keywords": [ + "file", + "invoice", + "dollar" + ] + }, + { + "value": "file-lines", + "keywords": [ + "file", + "lines" + ] + }, + { + "value": "file-medical", + "keywords": [ + "file", + "medical" + ] + }, + { + "value": "file-pdf", + "keywords": [ + "file", + "pdf" + ] + }, + { + "value": "file-pen", + "keywords": [ + "file", + "pen" + ] + }, + { + "value": "file-powerpoint", + "keywords": [ + "file", + "powerpoint" + ] + }, + { + "value": "file-prescription", + "keywords": [ + "file", + "prescription" + ] + }, + { + "value": "file-shield", + "keywords": [ + "file", + "shield" + ] + }, + { + "value": "file-signature", + "keywords": [ + "file", + "signature" + ] + }, + { + "value": "file-video", + "keywords": [ + "file", + "video" + ] + }, + { + "value": "file-waveform", + "keywords": [ + "file", + "waveform" + ] + }, + { + "value": "file-word", + "keywords": [ + "file", + "word" + ] + }, + { + "value": "file-zipper", + "keywords": [ + "file", + "zipper" + ] + }, + { + "value": "fill" + }, + { + "value": "fill-drip", + "keywords": [ + "fill", + "drip" + ] + }, + { + "value": "film" + }, + { + "value": "filter" + }, + { + "value": "filter-circle-dollar", + "keywords": [ + "filter", + "circle", + "dollar" + ] + }, + { + "value": "filter-circle-xmark", + "keywords": [ + "filter", + "circle", + "xmark" + ] + }, + { + "value": "fingerprint" + }, + { + "value": "fire" + }, + { + "value": "fire-burner", + "keywords": [ + "fire", + "burner" + ] + }, + { + "value": "fire-extinguisher", + "keywords": [ + "fire", + "extinguisher" + ] + }, + { + "value": "fire-flame-curved", + "keywords": [ + "fire", + "flame", + "curved" + ] + }, + { + "value": "fire-flame-simple", + "keywords": [ + "fire", + "flame", + "simple" + ] + }, + { + "value": "fish" + }, + { + "value": "fish-fins", + "keywords": [ + "fish", + "fins" + ] + }, + { + "value": "flag" + }, + { + "value": "flag-checkered", + "keywords": [ + "flag", + "checkered" + ] + }, + { + "value": "flag-usa", + "keywords": [ + "flag", + "usa" + ] + }, + { + "value": "flask" + }, + { + "value": "flask-vial", + "keywords": [ + "flask", + "vial" + ] + }, + { + "value": "floppy-disk", + "keywords": [ + "floppy", + "disk" + ] + }, + { + "value": "florin-sign", + "keywords": [ + "florin", + "sign" + ] + }, + { + "value": "folder" + }, + { + "value": "folder-closed", + "keywords": [ + "folder", + "closed" + ] + }, + { + "value": "folder-minus", + "keywords": [ + "folder", + "minus" + ] + }, + { + "value": "folder-open", + "keywords": [ + "folder", + "open" + ] + }, + { + "value": "folder-plus", + "keywords": [ + "folder", + "plus" + ] + }, + { + "value": "folder-tree", + "keywords": [ + "folder", + "tree" + ] + }, + { + "value": "font" + }, + { + "value": "font-awesome", + "keywords": [ + "font", + "awesome" + ] + }, + { + "value": "football" + }, + { + "value": "forward" + }, + { + "value": "forward-fast", + "keywords": [ + "forward", + "fast" + ] + }, + { + "value": "forward-step", + "keywords": [ + "forward", + "step" + ] + }, + { + "value": "franc-sign", + "keywords": [ + "franc", + "sign" + ] + }, + { + "value": "frog" + }, + { + "value": "futbol" + }, + { + "value": "g" + }, + { + "value": "gamepad" + }, + { + "value": "gas-pump", + "keywords": [ + "gas", + "pump" + ] + }, + { + "value": "gauge" + }, + { + "value": "gauge-high", + "keywords": [ + "gauge", + "high" + ] + }, + { + "value": "gauge-simple", + "keywords": [ + "gauge", + "simple" + ] + }, + { + "value": "gauge-simple-high", + "keywords": [ + "gauge", + "simple", + "high" + ] + }, + { + "value": "gavel" + }, + { + "value": "gear" + }, + { + "value": "gears" + }, + { + "value": "gem" + }, + { + "value": "genderless" + }, + { + "value": "ghost" + }, + { + "value": "gift" + }, + { + "value": "gifts" + }, + { + "value": "glass-water", + "keywords": [ + "glass", + "water" + ] + }, + { + "value": "glass-water-droplet", + "keywords": [ + "glass", + "water", + "droplet" + ] + }, + { + "value": "glasses" + }, + { + "value": "globe" + }, + { + "value": "golf-ball-tee", + "keywords": [ + "golf", + "ball", + "tee" + ] + }, + { + "value": "gopuram" + }, + { + "value": "graduation-cap", + "keywords": [ + "graduation", + "cap" + ] + }, + { + "value": "greater-than", + "keywords": [ + "greater", + "than" + ] + }, + { + "value": "greater-than-equal", + "keywords": [ + "greater", + "than", + "equal" + ] + }, + { + "value": "grip" + }, + { + "value": "grip-lines", + "keywords": [ + "grip", + "lines" + ] + }, + { + "value": "grip-lines-vertical", + "keywords": [ + "grip", + "lines", + "vertical" + ] + }, + { + "value": "grip-vertical", + "keywords": [ + "grip", + "vertical" + ] + }, + { + "value": "group-arrows-rotate", + "keywords": [ + "group", + "arrows", + "rotate" + ] + }, + { + "value": "guarani-sign", + "keywords": [ + "guarani", + "sign" + ] + }, + { + "value": "guitar" + }, + { + "value": "gun" + }, + { + "value": "h" + }, + { + "value": "hammer" + }, + { + "value": "hamsa" + }, + { + "value": "hand" + }, + { + "value": "hand-back-fist", + "keywords": [ + "hand", + "back", + "fist" + ] + }, + { + "value": "hand-dots", + "keywords": [ + "hand", + "dots" + ] + }, + { + "value": "hand-fist", + "keywords": [ + "hand", + "fist" + ] + }, + { + "value": "hand-holding", + "keywords": [ + "hand", + "holding" + ] + }, + { + "value": "hand-holding-dollar", + "keywords": [ + "hand", + "holding", + "dollar" + ] + }, + { + "value": "hand-holding-droplet", + "keywords": [ + "hand", + "holding", + "droplet" + ] + }, + { + "value": "hand-holding-hand", + "keywords": [ + "hand", + "holding", + "hand" + ] + }, + { + "value": "hand-holding-heart", + "keywords": [ + "hand", + "holding", + "heart" + ] + }, + { + "value": "hand-holding-medical", + "keywords": [ + "hand", + "holding", + "medical" + ] + }, + { + "value": "hand-lizard", + "keywords": [ + "hand", + "lizard" + ] + }, + { + "value": "hand-middle-finger", + "keywords": [ + "hand", + "middle", + "finger" + ] + }, + { + "value": "hand-peace", + "keywords": [ + "hand", + "peace" + ] + }, + { + "value": "hand-point-down", + "keywords": [ + "hand", + "point", + "down" + ] + }, + { + "value": "hand-point-left", + "keywords": [ + "hand", + "point", + "left" + ] + }, + { + "value": "hand-point-right", + "keywords": [ + "hand", + "point", + "right" + ] + }, + { + "value": "hand-point-up", + "keywords": [ + "hand", + "point", + "up" + ] + }, + { + "value": "hand-pointer", + "keywords": [ + "hand", + "pointer" + ] + }, + { + "value": "hand-scissors", + "keywords": [ + "hand", + "scissors" + ] + }, + { + "value": "hand-sparkles", + "keywords": [ + "hand", + "sparkles" + ] + }, + { + "value": "hand-spock", + "keywords": [ + "hand", + "spock" + ] + }, + { + "value": "handcuffs" + }, + { + "value": "hands" + }, + { + "value": "hands-asl-interpreting", + "keywords": [ + "hands", + "asl", + "interpreting" + ] + }, + { + "value": "hands-bound", + "keywords": [ + "hands", + "bound" + ] + }, + { + "value": "hands-bubbles", + "keywords": [ + "hands", + "bubbles" + ] + }, + { + "value": "hands-clapping", + "keywords": [ + "hands", + "clapping" + ] + }, + { + "value": "hands-holding", + "keywords": [ + "hands", + "holding" + ] + }, + { + "value": "hands-holding-child", + "keywords": [ + "hands", + "holding", + "child" + ] + }, + { + "value": "hands-holding-circle", + "keywords": [ + "hands", + "holding", + "circle" + ] + }, + { + "value": "hands-praying", + "keywords": [ + "hands", + "praying" + ] + }, + { + "value": "handshake" + }, + { + "value": "handshake-angle", + "keywords": [ + "handshake", + "angle" + ] + }, + { + "value": "handshake-simple", + "keywords": [ + "handshake", + "simple" + ] + }, + { + "value": "handshake-simple-slash", + "keywords": [ + "handshake", + "simple", + "slash" + ] + }, + { + "value": "handshake-slash", + "keywords": [ + "handshake", + "slash" + ] + }, + { + "value": "hanukiah" + }, + { + "value": "hard-drive", + "keywords": [ + "hard", + "drive" + ] + }, + { + "value": "hashtag" + }, + { + "value": "hat-cowboy", + "keywords": [ + "hat", + "cowboy" + ] + }, + { + "value": "hat-cowboy-side", + "keywords": [ + "hat", + "cowboy", + "side" + ] + }, + { + "value": "hat-wizard", + "keywords": [ + "hat", + "wizard" + ] + }, + { + "value": "head-side-cough", + "keywords": [ + "head", + "side", + "cough" + ] + }, + { + "value": "head-side-cough-slash", + "keywords": [ + "head", + "side", + "cough", + "slash" + ] + }, + { + "value": "head-side-mask", + "keywords": [ + "head", + "side", + "mask" + ] + }, + { + "value": "head-side-virus", + "keywords": [ + "head", + "side", + "virus" + ] + }, + { + "value": "heading" + }, + { + "value": "headphones" + }, + { + "value": "headphones-simple", + "keywords": [ + "headphones", + "simple" + ] + }, + { + "value": "headset" + }, + { + "value": "heart" + }, + { + "value": "heart-circle-bolt", + "keywords": [ + "heart", + "circle", + "bolt" + ] + }, + { + "value": "heart-circle-check", + "keywords": [ + "heart", + "circle", + "check" + ] + }, + { + "value": "heart-circle-exclamation", + "keywords": [ + "heart", + "circle", + "exclamation" + ] + }, + { + "value": "heart-circle-minus", + "keywords": [ + "heart", + "circle", + "minus" + ] + }, + { + "value": "heart-circle-plus", + "keywords": [ + "heart", + "circle", + "plus" + ] + }, + { + "value": "heart-circle-xmark", + "keywords": [ + "heart", + "circle", + "xmark" + ] + }, + { + "value": "heart-crack", + "keywords": [ + "heart", + "crack" + ] + }, + { + "value": "heart-pulse", + "keywords": [ + "heart", + "pulse" + ] + }, + { + "value": "helicopter" + }, + { + "value": "helicopter-symbol", + "keywords": [ + "helicopter", + "symbol" + ] + }, + { + "value": "helmet-safety", + "keywords": [ + "helmet", + "safety" + ] + }, + { + "value": "helmet-un", + "keywords": [ + "helmet", + "un" + ] + }, + { + "value": "highlighter" + }, + { + "value": "hill-avalanche", + "keywords": [ + "hill", + "avalanche" + ] + }, + { + "value": "hill-rockslide", + "keywords": [ + "hill", + "rockslide" + ] + }, + { + "value": "hippo" + }, + { + "value": "hockey-puck", + "keywords": [ + "hockey", + "puck" + ] + }, + { + "value": "holly-berry", + "keywords": [ + "holly", + "berry" + ] + }, + { + "value": "horse" + }, + { + "value": "horse-head", + "keywords": [ + "horse", + "head" + ] + }, + { + "value": "hospital" + }, + { + "value": "hospital-user", + "keywords": [ + "hospital", + "user" + ] + }, + { + "value": "hot-tub-person", + "keywords": [ + "hot", + "tub", + "person" + ] + }, + { + "value": "hotdog" + }, + { + "value": "hotel" + }, + { + "value": "hourglass" + }, + { + "value": "hourglass-end", + "keywords": [ + "hourglass", + "end" + ] + }, + { + "value": "hourglass-half", + "keywords": [ + "hourglass", + "half" + ] + }, + { + "value": "hourglass-start", + "keywords": [ + "hourglass", + "start" + ] + }, + { + "value": "house" + }, + { + "value": "house-chimney", + "keywords": [ + "house", + "chimney" + ] + }, + { + "value": "house-chimney-crack", + "keywords": [ + "house", + "chimney", + "crack" + ] + }, + { + "value": "house-chimney-medical", + "keywords": [ + "house", + "chimney", + "medical" + ] + }, + { + "value": "house-chimney-user", + "keywords": [ + "house", + "chimney", + "user" + ] + }, + { + "value": "house-chimney-window", + "keywords": [ + "house", + "chimney", + "window" + ] + }, + { + "value": "house-circle-check", + "keywords": [ + "house", + "circle", + "check" + ] + }, + { + "value": "house-circle-exclamation", + "keywords": [ + "house", + "circle", + "exclamation" + ] + }, + { + "value": "house-circle-xmark", + "keywords": [ + "house", + "circle", + "xmark" + ] + }, + { + "value": "house-crack", + "keywords": [ + "house", + "crack" + ] + }, + { + "value": "house-fire", + "keywords": [ + "house", + "fire" + ] + }, + { + "value": "house-flag", + "keywords": [ + "house", + "flag" + ] + }, + { + "value": "house-flood-water", + "keywords": [ + "house", + "flood", + "water" + ] + }, + { + "value": "house-flood-water-circle-arrow-right", + "keywords": [ + "house", + "flood", + "water", + "circle", + "arrow", + "right" + ] + }, + { + "value": "house-laptop", + "keywords": [ + "house", + "laptop" + ] + }, + { + "value": "house-lock", + "keywords": [ + "house", + "lock" + ] + }, + { + "value": "house-medical", + "keywords": [ + "house", + "medical" + ] + }, + { + "value": "house-medical-circle-check", + "keywords": [ + "house", + "medical", + "circle", + "check" + ] + }, + { + "value": "house-medical-circle-exclamation", + "keywords": [ + "house", + "medical", + "circle", + "exclamation" + ] + }, + { + "value": "house-medical-circle-xmark", + "keywords": [ + "house", + "medical", + "circle", + "xmark" + ] + }, + { + "value": "house-medical-flag", + "keywords": [ + "house", + "medical", + "flag" + ] + }, + { + "value": "house-signal", + "keywords": [ + "house", + "signal" + ] + }, + { + "value": "house-tsunami", + "keywords": [ + "house", + "tsunami" + ] + }, + { + "value": "house-user", + "keywords": [ + "house", + "user" + ] + }, + { + "value": "hryvnia-sign", + "keywords": [ + "hryvnia", + "sign" + ] + }, + { + "value": "hurricane" + }, + { + "value": "i" + }, + { + "value": "i-cursor" + }, + { + "value": "ice-cream", + "keywords": [ + "ice", + "cream" + ] + }, + { + "value": "icicles" + }, + { + "value": "icons" + }, + { + "value": "id-badge", + "keywords": [ + "id", + "badge" + ] + }, + { + "value": "id-card", + "keywords": [ + "id", + "card" + ] + }, + { + "value": "id-card-clip", + "keywords": [ + "id", + "card", + "clip" + ] + }, + { + "value": "igloo" + }, + { + "value": "image" + }, + { + "value": "image-portrait", + "keywords": [ + "image", + "portrait" + ] + }, + { + "value": "images" + }, + { + "value": "inbox" + }, + { + "value": "indent" + }, + { + "value": "indian-rupee-sign", + "keywords": [ + "indian", + "rupee", + "sign" + ] + }, + { + "value": "industry" + }, + { + "value": "infinity" + }, + { + "value": "info" + }, + { + "value": "italic" + }, + { + "value": "j" + }, + { + "value": "jar" + }, + { + "value": "jar-wheat", + "keywords": [ + "jar", + "wheat" + ] + }, + { + "value": "jedi" + }, + { + "value": "jet-fighter", + "keywords": [ + "jet", + "fighter" + ] + }, + { + "value": "jet-fighter-up", + "keywords": [ + "jet", + "fighter", + "up" + ] + }, + { + "value": "joint" + }, + { + "value": "jug-detergent", + "keywords": [ + "jug", + "detergent" + ] + }, + { + "value": "k" + }, + { + "value": "kaaba" + }, + { + "value": "key" + }, + { + "value": "keyboard" + }, + { + "value": "khanda" + }, + { + "value": "kip-sign", + "keywords": [ + "kip", + "sign" + ] + }, + { + "value": "kit-medical", + "keywords": [ + "kit", + "medical" + ] + }, + { + "value": "kitchen-set", + "keywords": [ + "kitchen", + "set" + ] + }, + { + "value": "kiwi-bird", + "keywords": [ + "kiwi", + "bird" + ] + }, + { + "value": "l" + }, + { + "value": "land-mine-on", + "keywords": [ + "land", + "mine", + "on" + ] + }, + { + "value": "landmark" + }, + { + "value": "landmark-dome", + "keywords": [ + "landmark", + "dome" + ] + }, + { + "value": "landmark-flag", + "keywords": [ + "landmark", + "flag" + ] + }, + { + "value": "language" + }, + { + "value": "laptop" + }, + { + "value": "laptop-code", + "keywords": [ + "laptop", + "code" + ] + }, + { + "value": "laptop-file", + "keywords": [ + "laptop", + "file" + ] + }, + { + "value": "laptop-medical", + "keywords": [ + "laptop", + "medical" + ] + }, + { + "value": "lari-sign", + "keywords": [ + "lari", + "sign" + ] + }, + { + "value": "layer-group", + "keywords": [ + "layer", + "group" + ] + }, + { + "value": "leaf" + }, + { + "value": "left-long", + "keywords": [ + "left", + "long" + ] + }, + { + "value": "left-right", + "keywords": [ + "left", + "right" + ] + }, + { + "value": "lemon" + }, + { + "value": "less-than", + "keywords": [ + "less", + "than" + ] + }, + { + "value": "less-than-equal", + "keywords": [ + "less", + "than", + "equal" + ] + }, + { + "value": "life-ring", + "keywords": [ + "life", + "ring" + ] + }, + { + "value": "lightbulb" + }, + { + "value": "lines-leaning", + "keywords": [ + "lines", + "leaning" + ] + }, + { + "value": "link" + }, + { + "value": "link-slash", + "keywords": [ + "link", + "slash" + ] + }, + { + "value": "lira-sign", + "keywords": [ + "lira", + "sign" + ] + }, + { + "value": "list" + }, + { + "value": "list-check", + "keywords": [ + "list", + "check" + ] + }, + { + "value": "list-ol", + "keywords": [ + "list", + "ol" + ] + }, + { + "value": "list-ul", + "keywords": [ + "list", + "ul" + ] + }, + { + "value": "litecoin-sign", + "keywords": [ + "litecoin", + "sign" + ] + }, + { + "value": "location-arrow", + "keywords": [ + "location", + "arrow" + ] + }, + { + "value": "location-crosshairs", + "keywords": [ + "location", + "crosshairs" + ] + }, + { + "value": "location-dot", + "keywords": [ + "location", + "dot" + ] + }, + { + "value": "location-pin", + "keywords": [ + "location", + "pin" + ] + }, + { + "value": "location-pin-lock", + "keywords": [ + "location", + "pin", + "lock" + ] + }, + { + "value": "lock" + }, + { + "value": "lock-open", + "keywords": [ + "lock", + "open" + ] + }, + { + "value": "locust" + }, + { + "value": "lungs" + }, + { + "value": "lungs-virus", + "keywords": [ + "lungs", + "virus" + ] + }, + { + "value": "m" + }, + { + "value": "magnet" + }, + { + "value": "magnifying-glass", + "keywords": [ + "magnifying", + "glass" + ] + }, + { + "value": "magnifying-glass-arrow-right", + "keywords": [ + "magnifying", + "glass", + "arrow", + "right" + ] + }, + { + "value": "magnifying-glass-chart", + "keywords": [ + "magnifying", + "glass", + "chart" + ] + }, + { + "value": "magnifying-glass-dollar", + "keywords": [ + "magnifying", + "glass", + "dollar" + ] + }, + { + "value": "magnifying-glass-location", + "keywords": [ + "magnifying", + "glass", + "location" + ] + }, + { + "value": "magnifying-glass-minus", + "keywords": [ + "magnifying", + "glass", + "minus" + ] + }, + { + "value": "magnifying-glass-plus", + "keywords": [ + "magnifying", + "glass", + "plus" + ] + }, + { + "value": "manat-sign", + "keywords": [ + "manat", + "sign" + ] + }, + { + "value": "map" + }, + { + "value": "map-location", + "keywords": [ + "map", + "location" + ] + }, + { + "value": "map-location-dot", + "keywords": [ + "map", + "location", + "dot" + ] + }, + { + "value": "map-pin", + "keywords": [ + "map", + "pin" + ] + }, + { + "value": "marker" + }, + { + "value": "mars" + }, + { + "value": "mars-and-venus", + "keywords": [ + "mars", + "and", + "venus" + ] + }, + { + "value": "mars-and-venus-burst", + "keywords": [ + "mars", + "and", + "venus", + "burst" + ] + }, + { + "value": "mars-double", + "keywords": [ + "mars", + "double" + ] + }, + { + "value": "mars-stroke", + "keywords": [ + "mars", + "stroke" + ] + }, + { + "value": "mars-stroke-right", + "keywords": [ + "mars", + "stroke", + "right" + ] + }, + { + "value": "mars-stroke-up", + "keywords": [ + "mars", + "stroke", + "up" + ] + }, + { + "value": "martini-glass", + "keywords": [ + "martini", + "glass" + ] + }, + { + "value": "martini-glass-citrus", + "keywords": [ + "martini", + "glass", + "citrus" + ] + }, + { + "value": "martini-glass-empty", + "keywords": [ + "martini", + "glass", + "empty" + ] + }, + { + "value": "mask" + }, + { + "value": "mask-face", + "keywords": [ + "mask", + "face" + ] + }, + { + "value": "mask-ventilator", + "keywords": [ + "mask", + "ventilator" + ] + }, + { + "value": "masks-theater", + "keywords": [ + "masks", + "theater" + ] + }, + { + "value": "mattress-pillow", + "keywords": [ + "mattress", + "pillow" + ] + }, + { + "value": "maximize" + }, + { + "value": "medal" + }, + { + "value": "memory" + }, + { + "value": "menorah" + }, + { + "value": "mercury" + }, + { + "value": "message" + }, + { + "value": "meteor" + }, + { + "value": "microchip" + }, + { + "value": "microphone" + }, + { + "value": "microphone-lines", + "keywords": [ + "microphone", + "lines" + ] + }, + { + "value": "microphone-lines-slash", + "keywords": [ + "microphone", + "lines", + "slash" + ] + }, + { + "value": "microphone-slash", + "keywords": [ + "microphone", + "slash" + ] + }, + { + "value": "microscope" + }, + { + "value": "mill-sign", + "keywords": [ + "mill", + "sign" + ] + }, + { + "value": "minimize" + }, + { + "value": "minus" + }, + { + "value": "mitten" + }, + { + "value": "mobile" + }, + { + "value": "mobile-button", + "keywords": [ + "mobile", + "button" + ] + }, + { + "value": "mobile-retro", + "keywords": [ + "mobile", + "retro" + ] + }, + { + "value": "mobile-screen", + "keywords": [ + "mobile", + "screen" + ] + }, + { + "value": "mobile-screen-button", + "keywords": [ + "mobile", + "screen", + "button" + ] + }, + { + "value": "money-bill", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1", + "keywords": [ + "money", + "bill" + ] + }, + { + "value": "money-bill-1-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-transfer", + "keywords": [ + "money", + "bill", + "transfer" + ] + }, + { + "value": "money-bill-trend-up", + "keywords": [ + "money", + "bill", + "trend", + "up" + ] + }, + { + "value": "money-bill-wave", + "keywords": [ + "money", + "bill", + "wave" + ] + }, + { + "value": "money-bill-wheat", + "keywords": [ + "money", + "bill", + "wheat" + ] + }, + { + "value": "money-bills", + "keywords": [ + "money", + "bills" + ] + }, + { + "value": "money-check", + "keywords": [ + "money", + "check" + ] + }, + { + "value": "money-check-dollar", + "keywords": [ + "money", + "check", + "dollar" + ] + }, + { + "value": "monument" + }, + { + "value": "moon" + }, + { + "value": "mortar-pestle", + "keywords": [ + "mortar", + "pestle" + ] + }, + { + "value": "mosque" + }, + { + "value": "mosquito" + }, + { + "value": "mosquito-net", + "keywords": [ + "mosquito", + "net" + ] + }, + { + "value": "motorcycle" + }, + { + "value": "mound" + }, + { + "value": "mountain" + }, + { + "value": "mountain-city", + "keywords": [ + "mountain", + "city" + ] + }, + { + "value": "mountain-sun", + "keywords": [ + "mountain", + "sun" + ] + }, + { + "value": "mug-hot", + "keywords": [ + "mug", + "hot" + ] + }, + { + "value": "mug-saucer", + "keywords": [ + "mug", + "saucer" + ] + }, + { + "value": "music" + }, + { + "value": "n" + }, + { + "value": "naira-sign", + "keywords": [ + "naira", + "sign" + ] + }, + { + "value": "network-wired", + "keywords": [ + "network", + "wired" + ] + }, + { + "value": "neuter" + }, + { + "value": "newspaper" + }, + { + "value": "not-equal", + "keywords": [ + "not", + "equal" + ] + }, + { + "value": "notdef" + }, + { + "value": "note-sticky", + "keywords": [ + "note", + "sticky" + ] + }, + { + "value": "notes-medical", + "keywords": [ + "notes", + "medical" + ] + }, + { + "value": "o" + }, + { + "value": "object-group", + "keywords": [ + "object", + "group" + ] + }, + { + "value": "object-ungroup", + "keywords": [ + "object", + "ungroup" + ] + }, + { + "value": "oil-can", + "keywords": [ + "oil", + "can" + ] + }, + { + "value": "oil-well", + "keywords": [ + "oil", + "well" + ] + }, + { + "value": "om" + }, + { + "value": "otter" + }, + { + "value": "outdent" + }, + { + "value": "p" + }, + { + "value": "pager" + }, + { + "value": "paint-roller", + "keywords": [ + "paint", + "roller" + ] + }, + { + "value": "paintbrush" + }, + { + "value": "palette" + }, + { + "value": "pallet" + }, + { + "value": "panorama" + }, + { + "value": "paper-plane", + "keywords": [ + "paper", + "plane" + ] + }, + { + "value": "paperclip" + }, + { + "value": "parachute-box", + "keywords": [ + "parachute", + "box" + ] + }, + { + "value": "paragraph" + }, + { + "value": "passport" + }, + { + "value": "paste" + }, + { + "value": "pause" + }, + { + "value": "paw" + }, + { + "value": "peace" + }, + { + "value": "pen" + }, + { + "value": "pen-clip", + "keywords": [ + "pen", + "clip" + ] + }, + { + "value": "pen-fancy", + "keywords": [ + "pen", + "fancy" + ] + }, + { + "value": "pen-nib", + "keywords": [ + "pen", + "nib" + ] + }, + { + "value": "pen-ruler", + "keywords": [ + "pen", + "ruler" + ] + }, + { + "value": "pen-to-square", + "keywords": [ + "pen", + "to", + "square" + ] + }, + { + "value": "pencil" + }, + { + "value": "people-arrows", + "keywords": [ + "people", + "arrows" + ] + }, + { + "value": "people-carry-box", + "keywords": [ + "people", + "carry", + "box" + ] + }, + { + "value": "people-group", + "keywords": [ + "people", + "group" + ] + }, + { + "value": "people-line", + "keywords": [ + "people", + "line" + ] + }, + { + "value": "people-pulling", + "keywords": [ + "people", + "pulling" + ] + }, + { + "value": "people-robbery", + "keywords": [ + "people", + "robbery" + ] + }, + { + "value": "people-roof", + "keywords": [ + "people", + "roof" + ] + }, + { + "value": "pepper-hot", + "keywords": [ + "pepper", + "hot" + ] + }, + { + "value": "percent" + }, + { + "value": "person" + }, + { + "value": "person-arrow-down-to-line", + "keywords": [ + "person", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "person-arrow-up-from-line", + "keywords": [ + "person", + "arrow", + "up", + "from", + "line" + ] + }, + { + "value": "person-biking", + "keywords": [ + "person", + "biking" + ] + }, + { + "value": "person-booth", + "keywords": [ + "person", + "booth" + ] + }, + { + "value": "person-breastfeeding", + "keywords": [ + "person", + "breastfeeding" + ] + }, + { + "value": "person-burst", + "keywords": [ + "person", + "burst" + ] + }, + { + "value": "person-cane", + "keywords": [ + "person", + "cane" + ] + }, + { + "value": "person-chalkboard", + "keywords": [ + "person", + "chalkboard" + ] + }, + { + "value": "person-circle-check", + "keywords": [ + "person", + "circle", + "check" + ] + }, + { + "value": "person-circle-exclamation", + "keywords": [ + "person", + "circle", + "exclamation" + ] + }, + { + "value": "person-circle-minus", + "keywords": [ + "person", + "circle", + "minus" + ] + }, + { + "value": "person-circle-plus", + "keywords": [ + "person", + "circle", + "plus" + ] + }, + { + "value": "person-circle-question", + "keywords": [ + "person", + "circle", + "question" + ] + }, + { + "value": "person-circle-xmark", + "keywords": [ + "person", + "circle", + "xmark" + ] + }, + { + "value": "person-digging", + "keywords": [ + "person", + "digging" + ] + }, + { + "value": "person-dots-from-line", + "keywords": [ + "person", + "dots", + "from", + "line" + ] + }, + { + "value": "person-dress", + "keywords": [ + "person", + "dress" + ] + }, + { + "value": "person-dress-burst", + "keywords": [ + "person", + "dress", + "burst" + ] + }, + { + "value": "person-drowning", + "keywords": [ + "person", + "drowning" + ] + }, + { + "value": "person-falling", + "keywords": [ + "person", + "falling" + ] + }, + { + "value": "person-falling-burst", + "keywords": [ + "person", + "falling", + "burst" + ] + }, + { + "value": "person-half-dress", + "keywords": [ + "person", + "half", + "dress" + ] + }, + { + "value": "person-harassing", + "keywords": [ + "person", + "harassing" + ] + }, + { + "value": "person-hiking", + "keywords": [ + "person", + "hiking" + ] + }, + { + "value": "person-military-pointing", + "keywords": [ + "person", + "military", + "pointing" + ] + }, + { + "value": "person-military-rifle", + "keywords": [ + "person", + "military", + "rifle" + ] + }, + { + "value": "person-military-to-person", + "keywords": [ + "person", + "military", + "to", + "person" + ] + }, + { + "value": "person-praying", + "keywords": [ + "person", + "praying" + ] + }, + { + "value": "person-pregnant", + "keywords": [ + "person", + "pregnant" + ] + }, + { + "value": "person-rays", + "keywords": [ + "person", + "rays" + ] + }, + { + "value": "person-rifle", + "keywords": [ + "person", + "rifle" + ] + }, + { + "value": "person-running", + "keywords": [ + "person", + "running" + ] + }, + { + "value": "person-shelter", + "keywords": [ + "person", + "shelter" + ] + }, + { + "value": "person-skating", + "keywords": [ + "person", + "skating" + ] + }, + { + "value": "person-skiing", + "keywords": [ + "person", + "skiing" + ] + }, + { + "value": "person-skiing-nordic", + "keywords": [ + "person", + "skiing", + "nordic" + ] + }, + { + "value": "person-snowboarding", + "keywords": [ + "person", + "snowboarding" + ] + }, + { + "value": "person-swimming", + "keywords": [ + "person", + "swimming" + ] + }, + { + "value": "person-through-window", + "keywords": [ + "person", + "through", + "window" + ] + }, + { + "value": "person-walking", + "keywords": [ + "person", + "walking" + ] + }, + { + "value": "person-walking-arrow-loop-left", + "keywords": [ + "person", + "walking", + "arrow", + "loop", + "left" + ] + }, + { + "value": "person-walking-arrow-right", + "keywords": [ + "person", + "walking", + "arrow", + "right" + ] + }, + { + "value": "person-walking-dashed-line-arrow-right", + "keywords": [ + "person", + "walking", + "dashed", + "line", + "arrow", + "right" + ] + }, + { + "value": "person-walking-luggage", + "keywords": [ + "person", + "walking", + "luggage" + ] + }, + { + "value": "person-walking-with-cane", + "keywords": [ + "person", + "walking", + "with", + "cane" + ] + }, + { + "value": "peseta-sign", + "keywords": [ + "peseta", + "sign" + ] + }, + { + "value": "peso-sign", + "keywords": [ + "peso", + "sign" + ] + }, + { + "value": "phone" + }, + { + "value": "phone-flip", + "keywords": [ + "phone", + "flip" + ] + }, + { + "value": "phone-slash", + "keywords": [ + "phone", + "slash" + ] + }, + { + "value": "phone-volume", + "keywords": [ + "phone", + "volume" + ] + }, + { + "value": "photo-film", + "keywords": [ + "photo", + "film" + ] + }, + { + "value": "piggy-bank", + "keywords": [ + "piggy", + "bank" + ] + }, + { + "value": "pills" + }, + { + "value": "pizza-slice", + "keywords": [ + "pizza", + "slice" + ] + }, + { + "value": "place-of-worship", + "keywords": [ + "place", + "of", + "worship" + ] + }, + { + "value": "plane" + }, + { + "value": "plane-arrival", + "keywords": [ + "plane", + "arrival" + ] + }, + { + "value": "plane-circle-check", + "keywords": [ + "plane", + "circle", + "check" + ] + }, + { + "value": "plane-circle-exclamation", + "keywords": [ + "plane", + "circle", + "exclamation" + ] + }, + { + "value": "plane-circle-xmark", + "keywords": [ + "plane", + "circle", + "xmark" + ] + }, + { + "value": "plane-departure", + "keywords": [ + "plane", + "departure" + ] + }, + { + "value": "plane-lock", + "keywords": [ + "plane", + "lock" + ] + }, + { + "value": "plane-slash", + "keywords": [ + "plane", + "slash" + ] + }, + { + "value": "plane-up", + "keywords": [ + "plane", + "up" + ] + }, + { + "value": "plant-wilt", + "keywords": [ + "plant", + "wilt" + ] + }, + { + "value": "plate-wheat", + "keywords": [ + "plate", + "wheat" + ] + }, + { + "value": "play" + }, + { + "value": "plug" + }, + { + "value": "plug-circle-bolt", + "keywords": [ + "plug", + "circle", + "bolt" + ] + }, + { + "value": "plug-circle-check", + "keywords": [ + "plug", + "circle", + "check" + ] + }, + { + "value": "plug-circle-exclamation", + "keywords": [ + "plug", + "circle", + "exclamation" + ] + }, + { + "value": "plug-circle-minus", + "keywords": [ + "plug", + "circle", + "minus" + ] + }, + { + "value": "plug-circle-plus", + "keywords": [ + "plug", + "circle", + "plus" + ] + }, + { + "value": "plug-circle-xmark", + "keywords": [ + "plug", + "circle", + "xmark" + ] + }, + { + "value": "plus" + }, + { + "value": "plus-minus", + "keywords": [ + "plus", + "minus" + ] + }, + { + "value": "podcast" + }, + { + "value": "poo" + }, + { + "value": "poo-storm", + "keywords": [ + "poo", + "storm" + ] + }, + { + "value": "poop" + }, + { + "value": "power-off", + "keywords": [ + "power", + "off" + ] + }, + { + "value": "prescription" + }, + { + "value": "prescription-bottle", + "keywords": [ + "prescription", + "bottle" + ] + }, + { + "value": "prescription-bottle-medical", + "keywords": [ + "prescription", + "bottle", + "medical" + ] + }, + { + "value": "print" + }, + { + "value": "pump-medical", + "keywords": [ + "pump", + "medical" + ] + }, + { + "value": "pump-soap", + "keywords": [ + "pump", + "soap" + ] + }, + { + "value": "puzzle-piece", + "keywords": [ + "puzzle", + "piece" + ] + }, + { + "value": "q" + }, + { + "value": "qrcode" + }, + { + "value": "question" + }, + { + "value": "quote-left", + "keywords": [ + "quote", + "left" + ] + }, + { + "value": "quote-right", + "keywords": [ + "quote", + "right" + ] + }, + { + "value": "r" + }, + { + "value": "radiation" + }, + { + "value": "radio" + }, + { + "value": "rainbow" + }, + { + "value": "ranking-star", + "keywords": [ + "ranking", + "star" + ] + }, + { + "value": "receipt" + }, + { + "value": "record-vinyl", + "keywords": [ + "record", + "vinyl" + ] + }, + { + "value": "rectangle-ad", + "keywords": [ + "rectangle", + "ad" + ] + }, + { + "value": "rectangle-list", + "keywords": [ + "rectangle", + "list" + ] + }, + { + "value": "rectangle-xmark", + "keywords": [ + "rectangle", + "xmark" + ] + }, + { + "value": "recycle" + }, + { + "value": "registered" + }, + { + "value": "repeat" + }, + { + "value": "reply" + }, + { + "value": "reply-all", + "keywords": [ + "reply", + "all" + ] + }, + { + "value": "republican" + }, + { + "value": "restroom" + }, + { + "value": "retweet" + }, + { + "value": "ribbon" + }, + { + "value": "right-from-bracket", + "keywords": [ + "right", + "from", + "bracket" + ] + }, + { + "value": "right-left", + "keywords": [ + "right", + "left" + ] + }, + { + "value": "right-long", + "keywords": [ + "right", + "long" + ] + }, + { + "value": "right-to-bracket", + "keywords": [ + "right", + "to", + "bracket" + ] + }, + { + "value": "ring" + }, + { + "value": "road" + }, + { + "value": "road-barrier", + "keywords": [ + "road", + "barrier" + ] + }, + { + "value": "road-bridge", + "keywords": [ + "road", + "bridge" + ] + }, + { + "value": "road-circle-check", + "keywords": [ + "road", + "circle", + "check" + ] + }, + { + "value": "road-circle-exclamation", + "keywords": [ + "road", + "circle", + "exclamation" + ] + }, + { + "value": "road-circle-xmark", + "keywords": [ + "road", + "circle", + "xmark" + ] + }, + { + "value": "road-lock", + "keywords": [ + "road", + "lock" + ] + }, + { + "value": "road-spikes", + "keywords": [ + "road", + "spikes" + ] + }, + { + "value": "robot" + }, + { + "value": "rocket" + }, + { + "value": "rotate" + }, + { + "value": "rotate-left", + "keywords": [ + "rotate", + "left" + ] + }, + { + "value": "rotate-right", + "keywords": [ + "rotate", + "right" + ] + }, + { + "value": "route" + }, + { + "value": "rss" + }, + { + "value": "ruble-sign", + "keywords": [ + "ruble", + "sign" + ] + }, + { + "value": "rug" + }, + { + "value": "ruler" + }, + { + "value": "ruler-combined", + "keywords": [ + "ruler", + "combined" + ] + }, + { + "value": "ruler-horizontal", + "keywords": [ + "ruler", + "horizontal" + ] + }, + { + "value": "ruler-vertical", + "keywords": [ + "ruler", + "vertical" + ] + }, + { + "value": "rupee-sign", + "keywords": [ + "rupee", + "sign" + ] + }, + { + "value": "rupiah-sign", + "keywords": [ + "rupiah", + "sign" + ] + }, + { + "value": "s" + }, + { + "value": "sack-dollar", + "keywords": [ + "sack", + "dollar" + ] + }, + { + "value": "sack-xmark", + "keywords": [ + "sack", + "xmark" + ] + }, + { + "value": "sailboat" + }, + { + "value": "satellite" + }, + { + "value": "satellite-dish", + "keywords": [ + "satellite", + "dish" + ] + }, + { + "value": "scale-balanced", + "keywords": [ + "scale", + "balanced" + ] + }, + { + "value": "scale-unbalanced", + "keywords": [ + "scale", + "unbalanced" + ] + }, + { + "value": "scale-unbalanced-flip", + "keywords": [ + "scale", + "unbalanced", + "flip" + ] + }, + { + "value": "school" + }, + { + "value": "school-circle-check", + "keywords": [ + "school", + "circle", + "check" + ] + }, + { + "value": "school-circle-exclamation", + "keywords": [ + "school", + "circle", + "exclamation" + ] + }, + { + "value": "school-circle-xmark", + "keywords": [ + "school", + "circle", + "xmark" + ] + }, + { + "value": "school-flag", + "keywords": [ + "school", + "flag" + ] + }, + { + "value": "school-lock", + "keywords": [ + "school", + "lock" + ] + }, + { + "value": "scissors" + }, + { + "value": "screwdriver" + }, + { + "value": "screwdriver-wrench", + "keywords": [ + "screwdriver", + "wrench" + ] + }, + { + "value": "scroll" + }, + { + "value": "scroll-torah", + "keywords": [ + "scroll", + "torah" + ] + }, + { + "value": "sd-card", + "keywords": [ + "sd", + "card" + ] + }, + { + "value": "section" + }, + { + "value": "seedling" + }, + { + "value": "server" + }, + { + "value": "shapes" + }, + { + "value": "share" + }, + { + "value": "share-from-square", + "keywords": [ + "share", + "from", + "square" + ] + }, + { + "value": "share-nodes", + "keywords": [ + "share", + "nodes" + ] + }, + { + "value": "sheet-plastic", + "keywords": [ + "sheet", + "plastic" + ] + }, + { + "value": "shekel-sign", + "keywords": [ + "shekel", + "sign" + ] + }, + { + "value": "shield" + }, + { + "value": "shield-cat", + "keywords": [ + "shield", + "cat" + ] + }, + { + "value": "shield-dog", + "keywords": [ + "shield", + "dog" + ] + }, + { + "value": "shield-halved", + "keywords": [ + "shield", + "halved" + ] + }, + { + "value": "shield-heart", + "keywords": [ + "shield", + "heart" + ] + }, + { + "value": "shield-virus", + "keywords": [ + "shield", + "virus" + ] + }, + { + "value": "ship" + }, + { + "value": "shirt" + }, + { + "value": "shoe-prints", + "keywords": [ + "shoe", + "prints" + ] + }, + { + "value": "shop" + }, + { + "value": "shop-lock", + "keywords": [ + "shop", + "lock" + ] + }, + { + "value": "shop-slash", + "keywords": [ + "shop", + "slash" + ] + }, + { + "value": "shower" + }, + { + "value": "shrimp" + }, + { + "value": "shuffle" + }, + { + "value": "shuttle-space", + "keywords": [ + "shuttle", + "space" + ] + }, + { + "value": "sign-hanging", + "keywords": [ + "sign", + "hanging" + ] + }, + { + "value": "signal" + }, + { + "value": "signature" + }, + { + "value": "signs-post", + "keywords": [ + "signs", + "post" + ] + }, + { + "value": "sim-card", + "keywords": [ + "sim", + "card" + ] + }, + { + "value": "sink" + }, + { + "value": "sitemap" + }, + { + "value": "skull" + }, + { + "value": "skull-crossbones", + "keywords": [ + "skull", + "crossbones" + ] + }, + { + "value": "slash" + }, + { + "value": "sleigh" + }, + { + "value": "sliders" + }, + { + "value": "smog" + }, + { + "value": "smoking" + }, + { + "value": "snowflake" + }, + { + "value": "snowman" + }, + { + "value": "snowplow" + }, + { + "value": "soap" + }, + { + "value": "socks" + }, + { + "value": "solar-panel", + "keywords": [ + "solar", + "panel" + ] + }, + { + "value": "sort" + }, + { + "value": "sort-down", + "keywords": [ + "sort", + "down" + ] + }, + { + "value": "sort-up", + "keywords": [ + "sort", + "up" + ] + }, + { + "value": "spa" + }, + { + "value": "spaghetti-monster-flying", + "keywords": [ + "spaghetti", + "monster", + "flying" + ] + }, + { + "value": "spell-check", + "keywords": [ + "spell", + "check" + ] + }, + { + "value": "spider" + }, + { + "value": "spinner" + }, + { + "value": "splotch" + }, + { + "value": "spoon" + }, + { + "value": "spray-can", + "keywords": [ + "spray", + "can" + ] + }, + { + "value": "spray-can-sparkles", + "keywords": [ + "spray", + "can", + "sparkles" + ] + }, + { + "value": "square" + }, + { + "value": "square-arrow-up-right", + "keywords": [ + "square", + "arrow", + "up", + "right" + ] + }, + { + "value": "square-caret-down", + "keywords": [ + "square", + "caret", + "down" + ] + }, + { + "value": "square-caret-left", + "keywords": [ + "square", + "caret", + "left" + ] + }, + { + "value": "square-caret-right", + "keywords": [ + "square", + "caret", + "right" + ] + }, + { + "value": "square-caret-up", + "keywords": [ + "square", + "caret", + "up" + ] + }, + { + "value": "square-check", + "keywords": [ + "square", + "check" + ] + }, + { + "value": "square-envelope", + "keywords": [ + "square", + "envelope" + ] + }, + { + "value": "square-full", + "keywords": [ + "square", + "full" + ] + }, + { + "value": "square-h" + }, + { + "value": "square-minus", + "keywords": [ + "square", + "minus" + ] + }, + { + "value": "square-nfi", + "keywords": [ + "square", + "nfi" + ] + }, + { + "value": "square-parking", + "keywords": [ + "square", + "parking" + ] + }, + { + "value": "square-pen", + "keywords": [ + "square", + "pen" + ] + }, + { + "value": "square-person-confined", + "keywords": [ + "square", + "person", + "confined" + ] + }, + { + "value": "square-phone", + "keywords": [ + "square", + "phone" + ] + }, + { + "value": "square-phone-flip", + "keywords": [ + "square", + "phone", + "flip" + ] + }, + { + "value": "square-plus", + "keywords": [ + "square", + "plus" + ] + }, + { + "value": "square-poll-horizontal", + "keywords": [ + "square", + "poll", + "horizontal" + ] + }, + { + "value": "square-poll-vertical", + "keywords": [ + "square", + "poll", + "vertical" + ] + }, + { + "value": "square-root-variable", + "keywords": [ + "square", + "root", + "variable" + ] + }, + { + "value": "square-rss", + "keywords": [ + "square", + "rss" + ] + }, + { + "value": "square-share-nodes", + "keywords": [ + "square", + "share", + "nodes" + ] + }, + { + "value": "square-up-right", + "keywords": [ + "square", + "up", + "right" + ] + }, + { + "value": "square-virus", + "keywords": [ + "square", + "virus" + ] + }, + { + "value": "square-xmark", + "keywords": [ + "square", + "xmark" + ] + }, + { + "value": "staff-snake", + "keywords": [ + "staff", + "snake" + ] + }, + { + "value": "stairs" + }, + { + "value": "stamp" + }, + { + "value": "stapler" + }, + { + "value": "star" + }, + { + "value": "star-and-crescent", + "keywords": [ + "star", + "and", + "crescent" + ] + }, + { + "value": "star-half", + "keywords": [ + "star", + "half" + ] + }, + { + "value": "star-half-stroke", + "keywords": [ + "star", + "half", + "stroke" + ] + }, + { + "value": "star-of-david", + "keywords": [ + "star", + "of", + "david" + ] + }, + { + "value": "star-of-life", + "keywords": [ + "star", + "of", + "life" + ] + }, + { + "value": "sterling-sign", + "keywords": [ + "sterling", + "sign" + ] + }, + { + "value": "stethoscope" + }, + { + "value": "stop" + }, + { + "value": "stopwatch" + }, + { + "value": "stopwatch-20", + "keywords": [ + "stopwatch", + "20" + ] + }, + { + "value": "store" + }, + { + "value": "store-slash", + "keywords": [ + "store", + "slash" + ] + }, + { + "value": "street-view", + "keywords": [ + "street", + "view" + ] + }, + { + "value": "strikethrough" + }, + { + "value": "stroopwafel" + }, + { + "value": "subscript" + }, + { + "value": "suitcase" + }, + { + "value": "suitcase-medical", + "keywords": [ + "suitcase", + "medical" + ] + }, + { + "value": "suitcase-rolling", + "keywords": [ + "suitcase", + "rolling" + ] + }, + { + "value": "sun" + }, + { + "value": "sun-plant-wilt", + "keywords": [ + "sun", + "plant", + "wilt" + ] + }, + { + "value": "superscript" + }, + { + "value": "swatchbook" + }, + { + "value": "synagogue" + }, + { + "value": "syringe" + }, + { + "value": "t" + }, + { + "value": "table" + }, + { + "value": "table-cells", + "keywords": [ + "table", + "cells" + ] + }, + { + "value": "table-cells-large", + "keywords": [ + "table", + "cells", + "large" + ] + }, + { + "value": "table-columns", + "keywords": [ + "table", + "columns" + ] + }, + { + "value": "table-list", + "keywords": [ + "table", + "list" + ] + }, + { + "value": "table-tennis-paddle-ball", + "keywords": [ + "table", + "tennis", + "paddle", + "ball" + ] + }, + { + "value": "tablet" + }, + { + "value": "tablet-button", + "keywords": [ + "tablet", + "button" + ] + }, + { + "value": "tablet-screen-button", + "keywords": [ + "tablet", + "screen", + "button" + ] + }, + { + "value": "tablets" + }, + { + "value": "tachograph-digital", + "keywords": [ + "tachograph", + "digital" + ] + }, + { + "value": "tag" + }, + { + "value": "tags" + }, + { + "value": "tape" + }, + { + "value": "tarp" + }, + { + "value": "tarp-droplet", + "keywords": [ + "tarp", + "droplet" + ] + }, + { + "value": "taxi" + }, + { + "value": "teeth" + }, + { + "value": "teeth-open", + "keywords": [ + "teeth", + "open" + ] + }, + { + "value": "temperature-arrow-down", + "keywords": [ + "temperature", + "arrow", + "down" + ] + }, + { + "value": "temperature-arrow-up", + "keywords": [ + "temperature", + "arrow", + "up" + ] + }, + { + "value": "temperature-empty", + "keywords": [ + "temperature", + "empty" + ] + }, + { + "value": "temperature-full", + "keywords": [ + "temperature", + "full" + ] + }, + { + "value": "temperature-half", + "keywords": [ + "temperature", + "half" + ] + }, + { + "value": "temperature-high", + "keywords": [ + "temperature", + "high" + ] + }, + { + "value": "temperature-low", + "keywords": [ + "temperature", + "low" + ] + }, + { + "value": "temperature-quarter", + "keywords": [ + "temperature", + "quarter" + ] + }, + { + "value": "temperature-three-quarters", + "keywords": [ + "temperature", + "three", + "quarters" + ] + }, + { + "value": "tenge-sign", + "keywords": [ + "tenge", + "sign" + ] + }, + { + "value": "tent" + }, + { + "value": "tent-arrow-down-to-line", + "keywords": [ + "tent", + "arrow", + "down", + "to", + "line" + ] + }, + { + "value": "tent-arrow-left-right", + "keywords": [ + "tent", + "arrow", + "left", + "right" + ] + }, + { + "value": "tent-arrow-turn-left", + "keywords": [ + "tent", + "arrow", + "turn", + "left" + ] + }, + { + "value": "tent-arrows-down", + "keywords": [ + "tent", + "arrows", + "down" + ] + }, + { + "value": "tents" + }, + { + "value": "terminal" + }, + { + "value": "text-height", + "keywords": [ + "text", + "height" + ] + }, + { + "value": "text-slash", + "keywords": [ + "text", + "slash" + ] + }, + { + "value": "text-width", + "keywords": [ + "text", + "width" + ] + }, + { + "value": "thermometer" + }, + { + "value": "thumbs-down", + "keywords": [ + "thumbs", + "down" + ] + }, + { + "value": "thumbs-up", + "keywords": [ + "thumbs", + "up" + ] + }, + { + "value": "thumbtack" + }, + { + "value": "ticket" + }, + { + "value": "ticket-simple", + "keywords": [ + "ticket", + "simple" + ] + }, + { + "value": "timeline" + }, + { + "value": "toggle-off", + "keywords": [ + "toggle", + "off" + ] + }, + { + "value": "toggle-on", + "keywords": [ + "toggle", + "on" + ] + }, + { + "value": "toilet" + }, + { + "value": "toilet-paper", + "keywords": [ + "toilet", + "paper" + ] + }, + { + "value": "toilet-paper-slash", + "keywords": [ + "toilet", + "paper", + "slash" + ] + }, + { + "value": "toilet-portable", + "keywords": [ + "toilet", + "portable" + ] + }, + { + "value": "toilets-portable", + "keywords": [ + "toilets", + "portable" + ] + }, + { + "value": "toolbox" + }, + { + "value": "tooth" + }, + { + "value": "torii-gate", + "keywords": [ + "torii", + "gate" + ] + }, + { + "value": "tornado" + }, + { + "value": "tower-broadcast", + "keywords": [ + "tower", + "broadcast" + ] + }, + { + "value": "tower-cell", + "keywords": [ + "tower", + "cell" + ] + }, + { + "value": "tower-observation", + "keywords": [ + "tower", + "observation" + ] + }, + { + "value": "tractor" + }, + { + "value": "trademark" + }, + { + "value": "traffic-light", + "keywords": [ + "traffic", + "light" + ] + }, + { + "value": "trailer" + }, + { + "value": "train" + }, + { + "value": "train-subway", + "keywords": [ + "train", + "subway" + ] + }, + { + "value": "train-tram", + "keywords": [ + "train", + "tram" + ] + }, + { + "value": "transgender" + }, + { + "value": "trash" + }, + { + "value": "trash-arrow-up", + "keywords": [ + "trash", + "arrow", + "up" + ] + }, + { + "value": "trash-can", + "keywords": [ + "trash", + "can" + ] + }, + { + "value": "trash-can-arrow-up", + "keywords": [ + "trash", + "can", + "arrow", + "up" + ] + }, + { + "value": "tree" + }, + { + "value": "tree-city", + "keywords": [ + "tree", + "city" + ] + }, + { + "value": "triangle-exclamation", + "keywords": [ + "triangle", + "exclamation" + ] + }, + { + "value": "trophy" + }, + { + "value": "trowel" + }, + { + "value": "trowel-bricks", + "keywords": [ + "trowel", + "bricks" + ] + }, + { + "value": "truck" + }, + { + "value": "truck-arrow-right", + "keywords": [ + "truck", + "arrow", + "right" + ] + }, + { + "value": "truck-droplet", + "keywords": [ + "truck", + "droplet" + ] + }, + { + "value": "truck-fast", + "keywords": [ + "truck", + "fast" + ] + }, + { + "value": "truck-field", + "keywords": [ + "truck", + "field" + ] + }, + { + "value": "truck-field-un", + "keywords": [ + "truck", + "field", + "un" + ] + }, + { + "value": "truck-front", + "keywords": [ + "truck", + "front" + ] + }, + { + "value": "truck-medical", + "keywords": [ + "truck", + "medical" + ] + }, + { + "value": "truck-monster", + "keywords": [ + "truck", + "monster" + ] + }, + { + "value": "truck-moving", + "keywords": [ + "truck", + "moving" + ] + }, + { + "value": "truck-pickup", + "keywords": [ + "truck", + "pickup" + ] + }, + { + "value": "truck-plane", + "keywords": [ + "truck", + "plane" + ] + }, + { + "value": "truck-ramp-box", + "keywords": [ + "truck", + "ramp", + "box" + ] + }, + { + "value": "tty" + }, + { + "value": "turkish-lira-sign", + "keywords": [ + "turkish", + "lira", + "sign" + ] + }, + { + "value": "turn-down", + "keywords": [ + "turn", + "down" + ] + }, + { + "value": "turn-up", + "keywords": [ + "turn", + "up" + ] + }, + { + "value": "tv" + }, + { + "value": "u" + }, + { + "value": "umbrella" + }, + { + "value": "umbrella-beach", + "keywords": [ + "umbrella", + "beach" + ] + }, + { + "value": "underline" + }, + { + "value": "universal-access", + "keywords": [ + "universal", + "access" + ] + }, + { + "value": "unlock" + }, + { + "value": "unlock-keyhole", + "keywords": [ + "unlock", + "keyhole" + ] + }, + { + "value": "up-down", + "keywords": [ + "up", + "down" + ] + }, + { + "value": "up-down-left-right", + "keywords": [ + "up", + "down", + "left", + "right" + ] + }, + { + "value": "up-long", + "keywords": [ + "up", + "long" + ] + }, + { + "value": "up-right-and-down-left-from-center", + "keywords": [ + "up", + "right", + "and", + "down", + "left", + "from", + "center" + ] + }, + { + "value": "up-right-from-square", + "keywords": [ + "up", + "right", + "from", + "square" + ] + }, + { + "value": "upload" + }, + { + "value": "user" + }, + { + "value": "user-astronaut", + "keywords": [ + "user", + "astronaut" + ] + }, + { + "value": "user-check", + "keywords": [ + "user", + "check" + ] + }, + { + "value": "user-clock", + "keywords": [ + "user", + "clock" + ] + }, + { + "value": "user-doctor", + "keywords": [ + "user", + "doctor" + ] + }, + { + "value": "user-gear", + "keywords": [ + "user", + "gear" + ] + }, + { + "value": "user-graduate", + "keywords": [ + "user", + "graduate" + ] + }, + { + "value": "user-group", + "keywords": [ + "user", + "group" + ] + }, + { + "value": "user-injured", + "keywords": [ + "user", + "injured" + ] + }, + { + "value": "user-large", + "keywords": [ + "user", + "large" + ] + }, + { + "value": "user-large-slash", + "keywords": [ + "user", + "large", + "slash" + ] + }, + { + "value": "user-lock", + "keywords": [ + "user", + "lock" + ] + }, + { + "value": "user-minus", + "keywords": [ + "user", + "minus" + ] + }, + { + "value": "user-ninja", + "keywords": [ + "user", + "ninja" + ] + }, + { + "value": "user-nurse", + "keywords": [ + "user", + "nurse" + ] + }, + { + "value": "user-pen", + "keywords": [ + "user", + "pen" + ] + }, + { + "value": "user-plus", + "keywords": [ + "user", + "plus" + ] + }, + { + "value": "user-secret", + "keywords": [ + "user", + "secret" + ] + }, + { + "value": "user-shield", + "keywords": [ + "user", + "shield" + ] + }, + { + "value": "user-slash", + "keywords": [ + "user", + "slash" + ] + }, + { + "value": "user-tag", + "keywords": [ + "user", + "tag" + ] + }, + { + "value": "user-tie", + "keywords": [ + "user", + "tie" + ] + }, + { + "value": "user-xmark", + "keywords": [ + "user", + "xmark" + ] + }, + { + "value": "users" + }, + { + "value": "users-between-lines", + "keywords": [ + "users", + "between", + "lines" + ] + }, + { + "value": "users-gear", + "keywords": [ + "users", + "gear" + ] + }, + { + "value": "users-line", + "keywords": [ + "users", + "line" + ] + }, + { + "value": "users-rays", + "keywords": [ + "users", + "rays" + ] + }, + { + "value": "users-rectangle", + "keywords": [ + "users", + "rectangle" + ] + }, + { + "value": "users-slash", + "keywords": [ + "users", + "slash" + ] + }, + { + "value": "users-viewfinder", + "keywords": [ + "users", + "viewfinder" + ] + }, + { + "value": "utensils" + }, + { + "value": "v" + }, + { + "value": "van-shuttle", + "keywords": [ + "van", + "shuttle" + ] + }, + { + "value": "vault" + }, + { + "value": "vector-square", + "keywords": [ + "vector", + "square" + ] + }, + { + "value": "venus" + }, + { + "value": "venus-double", + "keywords": [ + "venus", + "double" + ] + }, + { + "value": "venus-mars", + "keywords": [ + "venus", + "mars" + ] + }, + { + "value": "vest" + }, + { + "value": "vest-patches", + "keywords": [ + "vest", + "patches" + ] + }, + { + "value": "vial" + }, + { + "value": "vial-circle-check", + "keywords": [ + "vial", + "circle", + "check" + ] + }, + { + "value": "vial-virus", + "keywords": [ + "vial", + "virus" + ] + }, + { + "value": "vials" + }, + { + "value": "video" + }, + { + "value": "video-slash", + "keywords": [ + "video", + "slash" + ] + }, + { + "value": "vihara" + }, + { + "value": "virus" + }, + { + "value": "virus-covid", + "keywords": [ + "virus", + "covid" + ] + }, + { + "value": "virus-covid-slash", + "keywords": [ + "virus", + "covid", + "slash" + ] + }, + { + "value": "virus-slash", + "keywords": [ + "virus", + "slash" + ] + }, + { + "value": "viruses" + }, + { + "value": "voicemail" + }, + { + "value": "volcano" + }, + { + "value": "volleyball" + }, + { + "value": "volume-high", + "keywords": [ + "volume", + "high" + ] + }, + { + "value": "volume-low", + "keywords": [ + "volume", + "low" + ] + }, + { + "value": "volume-off", + "keywords": [ + "volume", + "off" + ] + }, + { + "value": "volume-xmark", + "keywords": [ + "volume", + "xmark" + ] + }, + { + "value": "vr-cardboard", + "keywords": [ + "vr", + "cardboard" + ] + }, + { + "value": "w" + }, + { + "value": "walkie-talkie", + "keywords": [ + "walkie", + "talkie" + ] + }, + { + "value": "wallet" + }, + { + "value": "wand-magic", + "keywords": [ + "wand", + "magic" + ] + }, + { + "value": "wand-magic-sparkles", + "keywords": [ + "wand", + "magic", + "sparkles" + ] + }, + { + "value": "wand-sparkles", + "keywords": [ + "wand", + "sparkles" + ] + }, + { + "value": "warehouse" + }, + { + "value": "water" + }, + { + "value": "water-ladder", + "keywords": [ + "water", + "ladder" + ] + }, + { + "value": "wave-square", + "keywords": [ + "wave", + "square" + ] + }, + { + "value": "weight-hanging", + "keywords": [ + "weight", + "hanging" + ] + }, + { + "value": "weight-scale", + "keywords": [ + "weight", + "scale" + ] + }, + { + "value": "wheat-awn", + "keywords": [ + "wheat", + "awn" + ] + }, + { + "value": "wheat-awn-circle-exclamation", + "keywords": [ + "wheat", + "awn", + "circle", + "exclamation" + ] + }, + { + "value": "wheelchair" + }, + { + "value": "wheelchair-move", + "keywords": [ + "wheelchair", + "move" + ] + }, + { + "value": "whiskey-glass", + "keywords": [ + "whiskey", + "glass" + ] + }, + { + "value": "wifi" + }, + { + "value": "wind" + }, + { + "value": "window-maximize", + "keywords": [ + "window", + "maximize" + ] + }, + { + "value": "window-minimize", + "keywords": [ + "window", + "minimize" + ] + }, + { + "value": "window-restore", + "keywords": [ + "window", + "restore" + ] + }, + { + "value": "wine-bottle", + "keywords": [ + "wine", + "bottle" + ] + }, + { + "value": "wine-glass", + "keywords": [ + "wine", + "glass" + ] + }, + { + "value": "wine-glass-empty", + "keywords": [ + "wine", + "glass", + "empty" + ] + }, + { + "value": "won-sign", + "keywords": [ + "won", + "sign" + ] + }, + { + "value": "worm" + }, + { + "value": "wrench" + }, + { + "value": "x" + }, + { + "value": "x-ray" + }, + { + "value": "xmark" + }, + { + "value": "xmarks-lines", + "keywords": [ + "xmarks", + "lines" + ] + }, + { + "value": "y" + }, + { + "value": "yen-sign", + "keywords": [ + "yen", + "sign" + ] + }, + { + "value": "yin-yang", + "keywords": [ + "yin", + "yang" + ] + }, + { + "value": "z" + } + ] + }, + "shTitle": { + "label": "$t:editor.control.sh_title.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "title" + } + }, + "shDescription": { + "label": "$t:editor.control.sh_description.label", + "widget": "i18n-text", + "apply": { + "type": "propValue", + "propKey": "description" + } + } + }, + "componentCapabilities": { + "comment": "sirsoft-admin_basic 78개 draggable 전수 capability. propControls(속성 탭, controls.json propValue 참조) + styleControls(스타일 탭) + events(동작) + nodeEditor(구조 에디터 슬롯, 단계 2/3). no-editable 0. 부록1 1:1 + 소스검증 정정(EmptyState/Breadcrumb 무이벤트, StatusBadge iconName=icon-picker).", + "Div": { + "label": "$t:editor.component.div", + "coreProps": [ + "id", + "dataKey" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "height", + "textAlign", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "advanced": [ + "permissions", + "blur_until_loaded", + "comment" + ], + "flexEditor": "auto" + }, + "Span": { + "label": "$t:editor.component.span", + "styleControls": [ + "fontSize", + "fontWeight", + "textColor", + "fontItalic", + "textUnderline", + "whitespace" + ] + }, + "P": { + "label": "$t:editor.component.p", + "styleControls": [ + "textAlign", + "fontSize", + "textColor", + "marginAll", + "fontBold", + "fontItalic", + "textUnderline", + "whitespace" + ] + }, + "H1": { + "label": "$t:editor.component.h1", + "styleControls": [ + "textAlign", + "fontSize", + "fontWeight", + "textColor", + "marginAll", + "fontItalic", + "textUnderline", + "whitespace" + ] + }, + "H2": { + "label": "$t:editor.component.h2", + "styleControls": [ + "textAlign", + "fontSize", + "fontWeight", + "textColor", + "marginAll", + "fontItalic", + "textUnderline", + "whitespace" + ] + }, + "H3": { + "label": "$t:editor.component.h3", + "styleControls": [ + "textAlign", + "fontSize", + "fontWeight", + "textColor", + "marginAll", + "fontItalic", + "textUnderline", + "whitespace" + ] + }, + "H4": { + "label": "$t:editor.component.h4", + "styleControls": [ + "textAlign", + "fontSize", + "fontWeight", + "textColor", + "marginAll", + "fontItalic", + "textUnderline", + "whitespace" + ] + }, + "A": { + "label": "$t:editor.component.a", + "propControls": [ + "linkHref", + "linkTarget" + ], + "styleControls": [ + "fontSize", + "fontWeight", + "textColor", + "fontItalic", + "textUnderline", + "whitespace" + ], + "advanced": [ + "permissions" + ], + "events": [ + "onClick" + ] + }, + "Button": { + "label": "$t:editor.component.button", + "propControls": [ + "componentDisabled" + ], + "styleControls": [ + "width", + "height", + "paddingAll", + "marginAll", + "textColor", + "backgroundColor", + "fontBold", + "fontItalic", + "textUnderline", + "whitespace" + ], + "advanced": [ + "permissions", + "lifecycle" + ], + "events": [ + "onClick", + "onHover" + ] + }, + "Img": { + "label": "$t:editor.component.img", + "propControls": [ + "imgSrc", + "imgAlt" + ], + "styleControls": [ + "width", + "height", + "marginAll" + ] + }, + "Icon": { + "label": "$t:editor.component.icon", + "propControls": [ + "iconName", + "iconStyle", + "iconSize", + "iconColor", + "iconSpin", + "iconPulse", + "iconFixedWidth", + "iconAria" + ], + "styleControls": [ + "fontSize", + "textColor", + "marginAll" + ] + }, + "Hr": { + "label": "$t:editor.component.hr", + "styleControls": [ + "marginAll", + "borderStyle", + "borderColor", + "opacity" + ] + }, + "Ul": { + "label": "$t:editor.component.ul", + "styleControls": [ + "paddingAll", + "marginAll", + "textColor", + "fontSize" + ], + "nodeEditor": { + "kind": "children", + "params": { + "childComponent": "Li" + } + } + }, + "Ol": { + "label": "$t:editor.component.ol", + "styleControls": [ + "paddingAll", + "marginAll", + "textColor", + "fontSize" + ], + "nodeEditor": { + "kind": "children", + "params": { + "childComponent": "Li" + } + } + }, + "Li": { + "label": "$t:editor.component.li", + "styleControls": [ + "paddingAll", + "marginAll", + "textColor", + "fontSize", + "fontWeight", + "fontItalic", + "textUnderline" + ], + "nodeEditor": { + "kind": "children", + "params": { + "childComponent": "Span" + } + } + }, + "Nav": { + "label": "$t:editor.component.nav", + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "flexEditor": "auto", + "nodeEditor": { + "kind": "children", + "params": { + "childComponent": "A" + } + } + }, + "Section": { + "label": "$t:editor.component.section", + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "advanced": [ + "permissions" + ] + }, + "Code": { + "label": "$t:editor.component.code", + "styleControls": [ + "fontSize", + "textColor", + "backgroundColor", + "paddingAll", + "marginAll", + "borderRadius", + "whitespace" + ] + }, + "Pre": { + "label": "$t:editor.component.pre", + "styleControls": [ + "fontSize", + "textColor", + "backgroundColor", + "paddingAll", + "marginAll", + "borderRadius", + "overflow", + "whitespace" + ] + }, + "Container": { + "label": "$t:editor.component.container", + "coreProps": [ + "id", + "dataKey" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "advanced": [ + "permissions" + ], + "flexEditor": "auto" + }, + "Grid": { + "label": "$t:editor.component.grid", + "propControls": [ + "gridCols", + "gridGap", + "gridRowGap", + "gridColGap", + "gridAutoRows", + "gridAutoCols", + "gridFlow" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "events": [ + "onClick" + ] + }, + "Flex": { + "label": "$t:editor.component.flex", + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "height", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "events": [ + "onClick" + ], + "flexEditor": "container" + }, + "SectionLayout": { + "label": "$t:editor.component.section_layout", + "propControls": [ + "secTitle", + "secSubtitle", + "secPadding", + "secBackground", + "secMaxWidth", + "secCentered", + "secBorder", + "secShadow", + "secRounded" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "advanced": [ + "permissions" + ], + "events": [ + "onClick" + ] + }, + "ThreeColumnLayout": { + "label": "$t:editor.component.three_column_layout", + "propControls": [ + "tclLeftWidth", + "tclRightWidth" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "overflow" + ] + }, + "Card": { + "label": "$t:editor.component.card", + "propControls": [ + "cardTitle", + "cardContent", + "cardImageUrl", + "cardImageAlt" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "advanced": [ + "permissions" + ], + "events": [ + "onClick" + ], + "flexEditor": "item" + }, + "Badge": { + "label": "$t:editor.component.badge", + "propControls": [ + "badgeColor", + "badgeText", + "badgeSize" + ], + "styleControls": [ + "marginAll" + ] + }, + "StatusBadge": { + "label": "$t:editor.component.status_badge", + "propControls": [ + "sbStatus", + "sbLabel", + "sbShowIcon", + "sbIconName" + ], + "styleControls": [ + "marginAll" + ] + }, + "Alert": { + "label": "$t:editor.component.alert", + "propControls": [ + "alertType", + "alertMessage", + "alertDismissible" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onDismiss" + ] + }, + "EmptyState": { + "label": "$t:editor.component.empty_state", + "propControls": [ + "esTitle", + "esDesc", + "esIconName", + "esIllustSrc", + "esIllustAlt" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width", + "textAlign" + ] + }, + "LoadingSpinner": { + "label": "$t:editor.component.loading_spinner", + "propControls": [ + "lsSize", + "lsColor", + "lsFullscreen", + "lsText" + ], + "styleControls": [ + "marginAll" + ] + }, + "PageHeader": { + "label": "$t:editor.component.page_header", + "propControls": [ + "phTitle", + "phDesc" + ], + "styleControls": [ + "marginAll" + ], + "advanced": [ + "permissions" + ], + "dataProps": [ + { + "propKey": "tabs", + "shape": "array", + "label": "$t:editor.data_prop.tabs", + "itemFields": [ + "id", + "label", + "value" + ] + }, + { + "propKey": "breadcrumbItems", + "shape": "array", + "label": "$t:editor.data_prop.breadcrumb_items", + "itemFields": [ + "label", + "href" + ] + } + ] + }, + "Breadcrumb": { + "label": "$t:editor.component.breadcrumb", + "propControls": [ + "bcSeparator", + "bcShowHome", + "bcHomeHref", + "bcMaxItems" + ], + "styleControls": [ + "marginAll", + "fontSize", + "textColor" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "items", + "itemLabel": "$t:editor.array_item.crumb", + "newItem": { + "label": "" + }, + "fields": [ + { + "key": "label", + "widget": "i18n-text", + "label": "$t:editor.array_field.label", + "primary": true + }, + { + "key": "href", + "widget": "text", + "label": "$t:editor.array_field.href" + } + ] + } + } + }, + "TabNavigation": { + "label": "$t:editor.component.tab_navigation", + "propControls": [ + "tnActiveTabId", + "tnVariant", + "tnMobileBreakpoint" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onTabChange" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "tabs", + "itemLabel": "$t:editor.array_item.tab", + "newItem": { + "id": "", + "label": "" + }, + "fields": [ + { + "key": "label", + "widget": "i18n-text", + "label": "$t:editor.array_field.label", + "primary": true + }, + { + "key": "id", + "widget": "text", + "label": "$t:editor.array_field.id" + }, + { + "key": "iconName", + "widget": "icon", + "label": "$t:editor.array_field.icon" + }, + { + "key": "badge", + "widget": "i18n-text", + "label": "$t:editor.array_field.badge" + }, + { + "key": "disabled", + "widget": "boolean", + "label": "$t:editor.array_field.disabled" + } + ] + } + }, + "canvasOverlay": { + "kind": "tabnav", + "params": { + "arrayProp": "tabs" + } + } + }, + "TabNavigationScroll": { + "label": "$t:editor.component.tab_navigation_scroll", + "propControls": [ + "tnsActiveTabId", + "tnsSectionPrefix", + "tnsScrollOffset", + "tnsScrollDelay", + "tnsEnableSpy", + "tnsSpyOffset", + "tnsContainerId" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onTabChange" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "tabs", + "itemLabel": "$t:editor.array_item.tab", + "newItem": { + "id": "", + "label": "" + }, + "fields": [ + { + "key": "label", + "widget": "i18n-text", + "label": "$t:editor.array_field.label", + "primary": true + }, + { + "key": "id", + "widget": "text", + "label": "$t:editor.array_field.id" + }, + { + "key": "iconName", + "widget": "icon", + "label": "$t:editor.array_field.icon" + }, + { + "key": "badge", + "widget": "i18n-text", + "label": "$t:editor.array_field.badge" + }, + { + "key": "disabled", + "widget": "boolean", + "label": "$t:editor.array_field.disabled" + } + ] + } + }, + "dataProps": [ + { + "propKey": "tabs", + "shape": "array", + "label": "$t:editor.data_prop.tabs", + "itemFields": [ + "id", + "label" + ] + } + ] + }, + "Toggle": { + "label": "$t:editor.component.toggle", + "propControls": [ + "tgLabel", + "tgDesc", + "tgSize", + "tgDisabled", + "tgName" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onChange" + ] + }, + "FormField": { + "label": "$t:editor.component.form_field", + "propControls": [ + "ffLabel", + "ffRequired", + "ffError", + "ffHelper", + "ffHorizontal", + "ffLabelWidth" + ], + "styleControls": [ + "width", + "marginAll" + ], + "advanced": [ + "permissions" + ] + }, + "Input": { + "label": "$t:editor.component.input", + "propControls": [ + "inputType", + "inputPlaceholder", + "inputName", + "inputRequired", + "inputDisabled" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "value", + "shape": "scalar", + "label": "$t:editor.data_prop.value" + } + ] + }, + "Textarea": { + "label": "$t:editor.component.textarea", + "propControls": [ + "textareaRows", + "inputPlaceholder", + "inputName", + "inputDisabled" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "value", + "shape": "scalar", + "label": "$t:editor.data_prop.value" + } + ] + }, + "Label": { + "label": "$t:editor.component.label", + "propControls": [ + "htmlFor" + ], + "styleControls": [ + "fontSize", + "fontWeight", + "textColor", + "fontItalic", + "textUnderline", + "whitespace", + "marginAll" + ] + }, + "Select": { + "label": "$t:editor.component.select", + "propControls": [ + "selectPlaceholder", + "selectOptions", + "inputDisabled" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "value", + "shape": "scalar", + "label": "$t:editor.data_prop.value" + }, + { + "propKey": "options", + "shape": "array", + "label": "$t:editor.data_prop.options", + "itemFields": [ + "value", + "label", + "disabled" + ] + } + ] + }, + "Checkbox": { + "label": "$t:editor.component.checkbox", + "propControls": [ + "inputDisabled" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onChange" + ] + }, + "RadioGroup": { + "label": "$t:editor.component.radio_group", + "propControls": [ + "inputName", + "rgInline", + "rgSize", + "selectOptions", + "fieldLabel", + "fieldError", + "inputDisabled" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "value", + "shape": "scalar", + "label": "$t:editor.data_prop.value" + }, + { + "propKey": "options", + "shape": "array", + "label": "$t:editor.data_prop.options", + "itemFields": [ + "value", + "label", + "disabled" + ], + "required": true + } + ] + }, + "FileInput": { + "label": "$t:editor.component.file_input", + "propControls": [ + "fiAccept", + "fiMaxSize", + "fiButtonText", + "inputPlaceholder", + "inputDisabled" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ] + }, + "FileUploader": { + "label": "$t:editor.component.file_uploader", + "propControls": [ + "fuType", + "fuCollection", + "fuMaxFiles", + "fuMaxSize", + "fuAccept", + "fuAutoUpload", + "inputDisabled", + "fuConfirmRemove", + "fuPrimarySel" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onFilesChange" + ] + }, + "DataGrid": { + "label": "$t:editor.component.data_grid", + "propControls": [ + "dgPagination", + "dgPageSize" + ], + "styleControls": [ + "marginAll" + ], + "advanced": [ + "permissions" + ], + "events": [ + "onPageChange", + "onRowClick" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "columns", + "itemLabel": "$t:editor.array_item.column", + "newItem": { + "field": "", + "header": "" + }, + "fields": [ + { + "key": "header", + "widget": "i18n-text", + "label": "$t:editor.array_field.header", + "primary": true + }, + { + "key": "field", + "widget": "text", + "label": "$t:editor.array_field.field" + }, + { + "key": "width", + "widget": "text", + "label": "$t:editor.array_field.width" + }, + { + "key": "sortable", + "widget": "boolean", + "label": "$t:editor.array_field.sortable" + } + ] + } + }, + "dataProps": [ + { + "propKey": "data", + "shape": "array", + "label": "$t:editor.data_prop.data", + "itemFields": [ + "id", + "name" + ], + "required": true + } + ] + }, + "CardGrid": { + "label": "$t:editor.component.card_grid", + "propControls": [ + "cgGridCols", + "cgGap", + "cgPagination", + "cgPageSize" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onPageChange" + ], + "nodeEditor": { + "kind": "array-cell-tree", + "params": { + "arrayProp": "cardColumns", + "itemLabel": "$t:editor.array_item.card_column", + "idField": "id", + "cellChildrenProp": "cellChildren", + "cellChildComponent": "Div", + "newItem": { + "id": "", + "cellChildren": [] + } + } + }, + "dataProps": [ + { + "propKey": "data", + "shape": "array", + "label": "$t:editor.data_prop.data", + "itemFields": [ + "id", + "name" + ], + "required": true + } + ] + }, + "Pagination": { + "label": "$t:editor.component.pagination", + "propControls": [ + "pgMaxVisible", + "pgShowFirstLast", + "pgPrevText", + "pgNextText" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onPageChange" + ], + "dataProps": [ + { + "propKey": "currentPage", + "shape": "scalar", + "label": "$t:editor.data_prop.current_page" + }, + { + "propKey": "totalPages", + "shape": "scalar", + "label": "$t:editor.data_prop.total_pages" + } + ] + }, + "SearchBar": { + "label": "$t:editor.component.search_bar", + "propControls": [ + "sbPlaceholder", + "sbShowButton", + "sbShowSuggestions", + "inputName" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onChange", + "onSubmit" + ], + "dataProps": [ + { + "propKey": "suggestions", + "shape": "array", + "label": "$t:editor.data_prop.suggestions", + "itemFields": [ + "id", + "text" + ] + }, + { + "propKey": "value", + "shape": "scalar", + "label": "$t:editor.data_prop.value" + } + ] + }, + "StatCard": { + "label": "$t:editor.component.stat_card", + "propControls": [ + "scValue", + "scLabel", + "scChange", + "scChangeLabel", + "scIconName", + "scTrend" + ], + "styleControls": [ + "width", + "paddingAll", + "marginAll" + ] + }, + "ProductCard": { + "label": "$t:editor.component.product_card", + "propControls": [ + "pcImageUrl", + "pcImageAlt", + "pcTitle", + "pcSubtitle", + "pcDesc", + "pcPrice", + "pcOrigPrice", + "pcDiscount", + "pcCurrency", + "pcButtonText" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "events": [ + "onButtonClick" + ] + }, + "TemplateCard": { + "label": "$t:editor.component.template_card", + "propControls": [ + "tcImage", + "tcImageAlt", + "tcVendor", + "tcName", + "tcVersion", + "tcStatus", + "tcUpdateAvail", + "tcLatestVersion", + "tcShowLayoutBtn" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "events": [ + "onLayoutEditClick" + ] + }, + "BarChart": { + "label": "$t:editor.component.bar_chart", + "propControls": [ + "bcHeight", + "bcShowLegend", + "bcShowGrid", + "bcShowYGrid", + "bcShowYAxis" + ], + "styleControls": [ + "marginAll", + "width" + ], + "nodeEditor": { + "kind": "array-group", + "params": { + "groups": [ + { + "arrayProp": "labels", + "title": "$t:editor.array_group.chart_labels", + "itemLabel": "$t:editor.array_item.chart_label", + "newItem": "", + "fields": [ + { + "key": "value", + "widget": "i18n-text", + "label": "$t:editor.array_field.chart_label", + "primary": true + } + ] + }, + { + "arrayProp": "datasets", + "title": "$t:editor.array_group.chart_datasets", + "itemLabel": "$t:editor.array_item.chart_dataset", + "newItem": { + "label": "", + "data": [], + "backgroundColor": "#7C3AED" + }, + "fields": [ + { + "key": "label", + "widget": "i18n-text", + "label": "$t:editor.array_field.chart_series", + "primary": true + }, + { + "key": "data", + "widget": "number-list", + "label": "$t:editor.array_field.chart_data" + }, + { + "key": "backgroundColor", + "widget": "color", + "label": "$t:editor.array_field.chart_color" + } + ] + } + ] + } + }, + "dataProps": [ + { + "propKey": "datasets", + "shape": "array", + "label": "$t:editor.data_prop.datasets", + "itemFields": [ + "label", + "data", + "backgroundColor" + ], + "required": true + } + ] + }, + "DonutChart": { + "label": "$t:editor.component.donut_chart", + "propControls": [ + "dcCenterLabel", + "dcCenterValue", + "dcSize", + "dcCutout", + "dcShowLegend" + ], + "styleControls": [ + "marginAll", + "width" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "data", + "itemLabel": "$t:editor.array_item.chart_slice", + "newItem": { + "name": "", + "value": 0, + "color": "#7C3AED" + }, + "fields": [ + { + "key": "name", + "widget": "i18n-text", + "label": "$t:editor.array_field.chart_name", + "primary": true + }, + { + "key": "value", + "widget": "number", + "label": "$t:editor.array_field.chart_value" + }, + { + "key": "color", + "widget": "color", + "label": "$t:editor.array_field.chart_color" + } + ] + } + }, + "dataProps": [ + { + "propKey": "data", + "shape": "array", + "label": "$t:editor.data_prop.chart_data", + "itemFields": [ + "name", + "value", + "color" + ], + "required": true + } + ] + }, + "HtmlContent": { + "label": "$t:editor.component.html_content", + "propControls": [ + "hcIsHtml" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "textColor", + "fontSize" + ] + }, + "HtmlEditor": { + "label": "$t:editor.component.html_editor", + "propControls": [ + "heMultilingual", + "heIsHtml", + "heRows", + "hePlaceholder", + "heLabel", + "heShowHtmlToggle", + "heName", + "heHtmlFieldName", + "heReadOnly" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onChange" + ] + }, + "ImageGallery": { + "label": "$t:editor.component.image_gallery", + "propControls": [ + "igEnableZoom", + "igEnableSlideshow", + "igEnableFullscreen", + "igShowCounter", + "igShowDownload", + "igShowThumbnails" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onClose" + ], + "coreProps": true, + "dataProps": [ + { + "propKey": "images", + "shape": "array", + "label": "$t:editor.data_prop.images", + "itemFields": [ + "src", + "title", + "thumbnail" + ], + "required": true + } + ] + }, + "Form": { + "label": "$t:editor.component.form", + "coreProps": [ + "id", + "dataKey" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "events": [ + "onSubmit" + ], + "nodeEditor": { + "kind": "children", + "params": { + "childComponent": "Input", + "childLabel": "$t:layout_editor.palette.input.label", + "childTemplate": { + "type": "basic", + "name": "Div", + "children": [ + { + "type": "basic", + "name": "Label", + "props": { + "className": "block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1" + }, + "children": [ + { + "type": "basic", + "name": "Span", + "text": "" + } + ] + }, + { + "type": "basic", + "name": "Input", + "props": { + "type": "text", + "placeholder": "$t:layout_editor.palette.input.default_placeholder", + "className": "input" + } + } + ] + }, + "itemFields": [ + { + "kind": "text", + "label": "$t:layout_editor.list_editor.item_label" + }, + { + "kind": "prop", + "prop": "placeholder", + "label": "$t:layout_editor.list_editor.item_placeholder" + } + ] + } + } + }, + "Table": { + "label": "$t:editor.component.table", + "styleControls": [ + "width", + "height", + "marginAll", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "advanced": [ + "permissions" + ], + "nodeEditor": { + "kind": "table", + "params": { + "rowContainer": "Tbody", + "row": "Tr", + "cell": "Td", + "headerCell": "Th", + "colSpanProp": "colSpan", + "rowSpanProp": "rowSpan", + "cellBorder": { + "sides": [ + { + "value": "all", + "label": "$t:editor.cell_border.side_all", + "prefix": "border" + }, + { + "value": "top", + "label": "$t:editor.cell_border.side_top", + "prefix": "border-t" + }, + { + "value": "bottom", + "label": "$t:editor.cell_border.side_bottom", + "prefix": "border-b" + }, + { + "value": "left", + "label": "$t:editor.cell_border.side_left", + "prefix": "border-l" + }, + { + "value": "right", + "label": "$t:editor.cell_border.side_right", + "prefix": "border-r" + } + ], + "widths": [ + { + "value": "none", + "label": "$t:editor.cell_border.width_none" + }, + { + "value": "thin", + "label": "$t:editor.cell_border.width_thin", + "suffix": "" + }, + { + "value": "medium", + "label": "$t:editor.cell_border.width_medium", + "suffix": "-2" + }, + { + "value": "thick", + "label": "$t:editor.cell_border.width_thick", + "suffix": "-4" + } + ], + "colors": [ + { + "value": "gray-300", + "label": "$t:editor.cell_border.color_gray", + "swatch": "#d1d5db", + "token": "{MASKED}" + }, + { + "value": "gray-500", + "label": "$t:editor.cell_border.color_gray_dark", + "swatch": "#6b7280", + "token": "{MASKED}" + }, + { + "value": "slate-800", + "label": "$t:editor.cell_border.color_dark", + "swatch": "#1e293b", + "token": "{MASKED}" + }, + { + "value": "blue-500", + "label": "$t:editor.cell_border.color_blue", + "swatch": "#3b82f6", + "token": "{MASKED}" + }, + { + "value": "red-500", + "label": "$t:editor.cell_border.color_red", + "swatch": "#ef4444", + "token": "{MASKED}" + } + ] + }, + "cellBackground": { + "colors": [ + { + "value": "white", + "label": "$t:editor.cell_fill.color_white", + "swatch": "#ffffff", + "token": "{MASKED}" + }, + { + "value": "gray-100", + "label": "$t:editor.cell_fill.color_gray", + "swatch": "#f3f4f6", + "token": "{MASKED}" + }, + { + "value": "gray-200", + "label": "$t:editor.cell_fill.color_gray_dark", + "swatch": "#e5e7eb", + "token": "{MASKED}" + }, + { + "value": "yellow-100", + "label": "$t:editor.cell_fill.color_yellow", + "swatch": "#fef9c3", + "token": "{MASKED}" + }, + { + "value": "blue-100", + "label": "$t:editor.cell_fill.color_blue", + "swatch": "#dbeafe", + "token": "{MASKED}" + }, + { + "value": "green-100", + "label": "$t:editor.cell_fill.color_green", + "swatch": "#dcfce7", + "token": "{MASKED}" + }, + { + "value": "red-100", + "label": "$t:editor.cell_fill.color_red", + "swatch": "#fee2e2", + "token": "{MASKED}" + } + ] + }, + "cellPadding": { + "steps": [ + { + "value": "none", + "label": "$t:editor.cell_padding.step_none" + }, + { + "value": "narrow", + "label": "$t:editor.cell_padding.step_narrow", + "px": 4 + }, + { + "value": "normal", + "label": "$t:editor.cell_padding.step_normal", + "px": 8 + }, + { + "value": "wide", + "label": "$t:editor.cell_padding.step_wide", + "px": 16 + } + ] + } + } + }, + "canvasOverlay": { + "kind": "table", + "params": { + "rowContainer": "Tbody", + "row": "Tr", + "cell": "Td", + "headerCell": "Th", + "colSpanProp": "colSpan", + "rowSpanProp": "rowSpan", + "cellBorder": { + "sides": [ + { + "value": "all", + "label": "$t:editor.cell_border.side_all", + "prefix": "border" + }, + { + "value": "top", + "label": "$t:editor.cell_border.side_top", + "prefix": "border-t" + }, + { + "value": "bottom", + "label": "$t:editor.cell_border.side_bottom", + "prefix": "border-b" + }, + { + "value": "left", + "label": "$t:editor.cell_border.side_left", + "prefix": "border-l" + }, + { + "value": "right", + "label": "$t:editor.cell_border.side_right", + "prefix": "border-r" + } + ], + "widths": [ + { + "value": "none", + "label": "$t:editor.cell_border.width_none" + }, + { + "value": "thin", + "label": "$t:editor.cell_border.width_thin", + "suffix": "" + }, + { + "value": "medium", + "label": "$t:editor.cell_border.width_medium", + "suffix": "-2" + }, + { + "value": "thick", + "label": "$t:editor.cell_border.width_thick", + "suffix": "-4" + } + ], + "colors": [ + { + "value": "gray-300", + "label": "$t:editor.cell_border.color_gray", + "swatch": "#d1d5db", + "token": "{MASKED}" + }, + { + "value": "gray-500", + "label": "$t:editor.cell_border.color_gray_dark", + "swatch": "#6b7280", + "token": "{MASKED}" + }, + { + "value": "slate-800", + "label": "$t:editor.cell_border.color_dark", + "swatch": "#1e293b", + "token": "{MASKED}" + }, + { + "value": "blue-500", + "label": "$t:editor.cell_border.color_blue", + "swatch": "#3b82f6", + "token": "{MASKED}" + }, + { + "value": "red-500", + "label": "$t:editor.cell_border.color_red", + "swatch": "#ef4444", + "token": "{MASKED}" + } + ] + }, + "cellBackground": { + "colors": [ + { + "value": "white", + "label": "$t:editor.cell_fill.color_white", + "swatch": "#ffffff", + "token": "{MASKED}" + }, + { + "value": "gray-100", + "label": "$t:editor.cell_fill.color_gray", + "swatch": "#f3f4f6", + "token": "{MASKED}" + }, + { + "value": "gray-200", + "label": "$t:editor.cell_fill.color_gray_dark", + "swatch": "#e5e7eb", + "token": "{MASKED}" + }, + { + "value": "yellow-100", + "label": "$t:editor.cell_fill.color_yellow", + "swatch": "#fef9c3", + "token": "{MASKED}" + }, + { + "value": "blue-100", + "label": "$t:editor.cell_fill.color_blue", + "swatch": "#dbeafe", + "token": "{MASKED}" + }, + { + "value": "green-100", + "label": "$t:editor.cell_fill.color_green", + "swatch": "#dcfce7", + "token": "{MASKED}" + }, + { + "value": "red-100", + "label": "$t:editor.cell_fill.color_red", + "swatch": "#fee2e2", + "token": "{MASKED}" + } + ] + }, + "cellPadding": { + "steps": [ + { + "value": "none", + "label": "$t:editor.cell_padding.step_none" + }, + { + "value": "narrow", + "label": "$t:editor.cell_padding.step_narrow", + "px": 4 + }, + { + "value": "normal", + "label": "$t:editor.cell_padding.step_normal", + "px": 8 + }, + { + "value": "wide", + "label": "$t:editor.cell_padding.step_wide", + "px": 16 + } + ] + } + } + } + }, + "Accordion": { + "label": "$t:editor.component.accordion", + "propControls": [ + "accDefaultOpen", + "accDisabled" + ], + "styleControls": [ + "paddingAll", + "marginAll", + "width", + "backgroundColor", + "textColor", + "boxShadow", + "borderStyle", + "borderColor", + "borderRadius", + "opacity", + "overflow" + ], + "events": [ + "onToggle" + ] + }, + "IconButton": { + "label": "$t:editor.component.icon_button", + "propControls": [ + "ibIconName", + "ibLabel", + "ibVariant", + "ibSize", + "ibDisabled" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onClick" + ] + }, + "Dropdown": { + "label": "$t:editor.component.dropdown", + "propControls": [ + "ddLabel", + "ddPosition", + "ddVariant" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onItemClick" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "items", + "itemLabel": "$t:editor.array_item.menu_item", + "newItem": { + "label": "", + "value": "" + }, + "fields": [ + { + "key": "label", + "widget": "i18n-text", + "label": "$t:editor.array_field.label", + "primary": true + }, + { + "key": "value", + "widget": "text", + "label": "$t:editor.array_field.value" + }, + { + "key": "disabled", + "widget": "boolean", + "label": "$t:editor.array_field.disabled" + } + ] + } + } + }, + "ActionMenu": { + "label": "$t:editor.component.action_menu", + "propControls": [ + "amTriggerLabel", + "amTriggerIcon", + "amPosition" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onItemClick" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "items", + "itemLabel": "$t:editor.array_item.menu_item", + "newItem": { + "id": "", + "label": "" + }, + "fields": [ + { + "key": "label", + "widget": "i18n-text", + "label": "$t:editor.array_field.label", + "primary": true + }, + { + "key": "id", + "widget": "text", + "label": "$t:editor.array_field.id" + }, + { + "key": "iconName", + "widget": "icon", + "label": "$t:editor.array_field.icon" + }, + { + "key": "variant", + "widget": "select", + "label": "$t:editor.array_field.variant", + "options": [ + { + "value": "default", + "label": "$t:editor.array_field.variant_default" + }, + { + "value": "danger", + "label": "$t:editor.array_field.variant_danger" + } + ] + }, + { + "key": "divider", + "widget": "boolean", + "label": "$t:editor.array_field.divider" + }, + { + "key": "disabled", + "widget": "boolean", + "label": "$t:editor.array_field.disabled" + } + ] + } + } + }, + "TagInput": { + "label": "$t:editor.component.tag_input", + "propControls": [ + "selectOptions", + "tiPlaceholder", + "tiCreatable", + "tiDisabled", + "tiIsMulti", + "tiClearable", + "tiSearchable", + "tiMaxItems", + "inputName" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "value", + "shape": "array", + "label": "$t:editor.data_prop.selected_tags", + "itemFields": [ + "value", + "label" + ] + }, + { + "propKey": "options", + "shape": "array", + "label": "$t:editor.data_prop.options", + "itemFields": [ + "value", + "label", + "group", + "count" + ] + } + ] + }, + "SearchableDropdown": { + "label": "$t:editor.component.searchable_dropdown", + "propControls": [ + "selectOptions", + "sdMultiple", + "sdSearchPlaceholder", + "sdDisabled", + "sdTriggerLabel", + "sdNoResults", + "sdInitial" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "value", + "shape": "scalar", + "label": "$t:editor.data_prop.value" + }, + { + "propKey": "options", + "shape": "array", + "label": "$t:editor.data_prop.options", + "itemFields": [ + "value", + "label", + "disabled", + "description" + ] + } + ] + }, + "RichSelect": { + "label": "$t:editor.component.rich_select", + "propControls": [ + "selectOptions", + "rsPlaceholder", + "rsDisabled", + "rsMaxHeight" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "value", + "shape": "scalar", + "label": "$t:editor.data_prop.value" + }, + { + "propKey": "options", + "shape": "array", + "label": "$t:editor.data_prop.options", + "itemFields": [ + "value", + "label", + "disabled" + ] + } + ] + }, + "TagSelect": { + "label": "$t:editor.component.tag_select", + "propControls": [ + "selectOptions", + "tsPlaceholder", + "tsDisabled" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "value", + "shape": "array", + "label": "$t:editor.data_prop.selected_tags", + "itemFields": [ + "value", + "label" + ] + }, + { + "propKey": "options", + "shape": "array", + "label": "$t:editor.data_prop.options", + "itemFields": [ + "value", + "label" + ] + } + ] + }, + "IconSelect": { + "label": "$t:editor.component.icon_select", + "propControls": [ + "isPlaceholder", + "isSearchPlaceholder", + "isNoResults", + "isDisabled", + "inputName" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "options", + "itemLabel": "$t:editor.array_item.option", + "newItem": { + "value": "", + "label": "", + "faIcon": "" + }, + "fields": [ + { + "key": "label", + "widget": "i18n-text", + "label": "$t:editor.array_field.label", + "primary": true + }, + { + "key": "value", + "widget": "text", + "label": "$t:editor.array_field.value" + }, + { + "key": "faIcon", + "widget": "icon", + "label": "$t:editor.array_field.icon" + } + ], + "defaultItems": [ + { + "value": "LayoutDashboard", + "label": "LayoutDashboard", + "faIcon": "tachometer-alt" + }, + { + "value": "Settings", + "label": "Settings", + "faIcon": "cog" + }, + { + "value": "Menu", + "label": "Menu", + "faIcon": "bars" + }, + { + "value": "Users", + "label": "Users", + "faIcon": "users" + }, + { + "value": "Package", + "label": "Package", + "faIcon": "cube" + }, + { + "value": "Puzzle", + "label": "Puzzle", + "faIcon": "puzzle-piece" + }, + { + "value": "FileText", + "label": "FileText", + "faIcon": "file-alt" + }, + { + "value": "ShoppingCart", + "label": "ShoppingCart", + "faIcon": "shopping-cart" + }, + { + "value": "MessageSquare", + "label": "MessageSquare", + "faIcon": "comment" + }, + { + "value": "Home", + "label": "Home", + "faIcon": "home" + }, + { + "value": "User", + "label": "User", + "faIcon": "user" + }, + { + "value": "Search", + "label": "Search", + "faIcon": "search" + }, + { + "value": "Bell", + "label": "Bell", + "faIcon": "bell" + }, + { + "value": "Mail", + "label": "Mail", + "faIcon": "envelope" + }, + { + "value": "Calendar", + "label": "Calendar", + "faIcon": "calendar" + }, + { + "value": "Chart", + "label": "Chart", + "faIcon": "chart-bar" + }, + { + "value": "Database", + "label": "Database", + "faIcon": "database" + }, + { + "value": "Lock", + "label": "Lock", + "faIcon": "lock" + }, + { + "value": "Globe", + "label": "Globe", + "faIcon": "globe" + }, + { + "value": "Image", + "label": "Image", + "faIcon": "image" + } + ] + } + } + }, + "ChipCheckbox": { + "label": "$t:editor.component.chip_checkbox", + "propControls": [ + "ccValue", + "ccIcon", + "ccLabel", + "ccVariant", + "ccCustomColor" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onChange" + ] + }, + "MultilingualInput": { + "label": "$t:editor.component.multilingual_input", + "propControls": [ + "miInputType", + "miLayout", + "miPlaceholder", + "miRequired", + "miDisabled", + "miMaxLength", + "miRows", + "inputName", + "fieldError" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "availableLocales", + "shape": "array", + "label": "$t:editor.data_prop.available_locales", + "itemFields": [ + "code", + "name", + "nativeName" + ] + } + ] + }, + "MultilingualTagInput": { + "label": "$t:editor.component.multilingual_tag_input", + "propControls": [ + "mtiPlaceholder", + "mtiDisabled", + "mtiCreatable", + "mtiMaxItems", + "mtiModalId", + "mtiStatePath", + "inputName", + "fieldError" + ], + "styleControls": [ + "width", + "marginAll" + ], + "events": [ + "onChange" + ] + }, + "LanguageSelector": { + "label": "$t:editor.component.language_selector", + "propControls": [ + "lsLanguageText", + "lsApiEndpoint", + "lsInline" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onLanguageChange" + ], + "dataProps": [ + { + "propKey": "availableLocales", + "shape": "array", + "label": "$t:editor.data_prop.available_locales" + } + ] + }, + "PermissionTree": { + "label": "$t:editor.component.permission_tree", + "styleControls": [ + "marginAll", + "paddingAll", + "width", + "borderStyle", + "borderColor", + "borderRadius" + ], + "events": [ + "onChange" + ], + "dataProps": [ + { + "propKey": "data", + "shape": "array", + "label": "$t:editor.data_prop.data", + "itemFields": [ + "id", + "identifier", + "name", + "children" + ] + }, + { + "propKey": "value", + "shape": "array", + "label": "$t:editor.data_prop.selected_permissions", + "itemFields": [ + "id", + "scope_type" + ] + } + ] + }, + "CategoryTree": { + "label": "$t:editor.component.category_tree", + "propControls": [ + "ctSearchKeyword", + "ctShowProductCount", + "ctSelectable" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onToggle", + "onSelectionChange" + ], + "dataProps": [ + { + "propKey": "data", + "shape": "array", + "label": "$t:editor.data_prop.tree_data", + "itemFields": [ + "id", + "name", + "children" + ] + } + ] + }, + "ExtensionBadge": { + "label": "$t:editor.component.extension_badge", + "propControls": [ + "ebType", + "ebIdentifier", + "ebName" + ], + "styleControls": [ + "marginAll" + ] + }, + "UserProfile": { + "label": "$t:editor.component.user_profile", + "propControls": [ + "upProfileText", + "upLogoutText", + "upLanguageText", + "upLogoutEndpoint", + "upRedirectPath", + "upShowChevron", + "upDropdownDir", + "upDropdownOnly" + ], + "styleControls": [ + "marginAll" + ], + "events": [ + "onProfileClick", + "onLogoutClick" + ], + "dataProps": [ + { + "propKey": "user", + "shape": "object", + "label": "$t:editor.data_prop.user", + "itemFields": [ + "id", + "name", + "email", + "avatar" + ], + "required": true + } + ] + }, + "FilterGroup": { + "label": "$t:editor.component.filter_group", + "propControls": [ + "fgTitle", + "fgShowReset" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "events": [ + "onChange", + "onReset" + ], + "dataProps": [ + { + "propKey": "filters", + "shape": "array", + "label": "$t:editor.data_prop.filters", + "itemFields": [ + "id", + "label", + "type", + "options" + ], + "required": true + } + ] + }, + "SortableMenuList": { + "label": "$t:editor.component.sortable_menu_list", + "propControls": [ + "smlSelectedId", + "smlTitle", + "smlEnableDrag", + "smlToggleDisabled" + ], + "styleControls": [ + "marginAll", + "width" + ], + "events": [ + "onSelect", + "onOrderChange" + ], + "dataProps": [ + { + "propKey": "items", + "shape": "array", + "label": "$t:editor.data_prop.menu_items", + "itemFields": [ + "id", + "name", + "children" + ], + "required": true + } + ] + }, + "DynamicFieldList": { + "label": "$t:editor.component.dynamic_field_list", + "propControls": [ + "dflMaxItems" + ], + "styleControls": [ + "marginAll", + "width" + ], + "events": [ + "onItemAdd", + "onItemRemove" + ], + "nodeEditor": { + "kind": "array", + "params": { + "arrayProp": "columns", + "itemLabel": "$t:editor.array_item.column", + "newItem": { + "key": "", + "type": "input", + "label": "", + "placeholder": "" + }, + "fields": [ + { + "key": "label", + "widget": "i18n-text", + "label": "$t:editor.array_field.label", + "primary": true + }, + { + "key": "key", + "widget": "text", + "label": "$t:editor.array_field.field" + }, + { + "key": "type", + "widget": "select", + "label": "$t:editor.array_field.col_type", + "options": [ + { + "value": "input", + "label": "$t:editor.col_type.input" + }, + { + "value": "number", + "label": "$t:editor.col_type.number" + }, + { + "value": "select", + "label": "$t:editor.col_type.select" + }, + { + "value": "textarea", + "label": "$t:editor.col_type.textarea" + }, + { + "value": "multilingual", + "label": "$t:editor.col_type.multilingual" + } + ] + }, + { + "key": "placeholder", + "widget": "i18n-text", + "label": "$t:editor.array_field.placeholder" + } + ] + } + }, + "dataProps": [ + { + "propKey": "items", + "shape": "array", + "label": "$t:editor.data_prop.items", + "required": true + } + ] + }, + "Td": { + "label": "$t:editor.component.td", + "styleControls": [ + "fontBold", + "fontItalic", + "textUnderline", + "textAlign", + "fontSize", + "textColor" + ] + }, + "Th": { + "label": "$t:editor.component.th", + "styleControls": [ + "fontBold", + "fontItalic", + "textUnderline", + "textAlign", + "fontSize", + "textColor" + ] + }, + "AdminSidebar": { + "label": "$t:editor.component.admin_sidebar", + "propControls": [ + "asLogo", + "asLogoAlt", + "asCollapsed", + "asCurrentLocale" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "width" + ], + "dataProps": [ + { + "propKey": "menu", + "shape": "array", + "label": "$t:editor.data_prop.admin_sidebar_menu", + "itemFields": [ + "id", + "name", + "slug", + "url", + "icon", + "children" + ], + "required": true + } + ] + }, + "AdminFooter": { + "label": "$t:editor.component.admin_footer", + "propControls": [ + "afCopyright", + "afVersion", + "afCopyrightModalId", + "afChangelogModalId" + ], + "styleControls": [ + "marginAll", + "paddingAll", + "backgroundColor", + "textColor" + ], + "dataProps": [ + { + "propKey": "quickLinks", + "shape": "array", + "label": "$t:editor.data_prop.admin_footer_quick_links", + "itemFields": [ + "id", + "label", + "url", + "iconName" + ] + } + ] + }, + "ThemeToggle": { + "label": "$t:editor.component.theme_toggle", + "propControls": [ + "ttAutoText", + "ttLightText", + "ttDarkText" + ], + "styleControls": [ + "marginAll" + ] + }, + "NotificationCenter": { + "label": "$t:editor.component.notification_center", + "propControls": [ + "ncTitleText", + "ncEmptyText", + "ncMarkAllReadText", + "ncDeleteAllText", + "ncUnreadOnlyText", + "ncUnreadOnly", + "ncDropdownAlign" + ], + "styleControls": [ + "marginAll" + ], + "dataProps": [ + { + "propKey": "notifications", + "shape": "array", + "label": "$t:editor.data_prop.notification_items", + "itemFields": [ + "id", + "title", + "message", + "read", + "created_at" + ] + }, + { + "propKey": "unreadCount", + "shape": "scalar", + "label": "$t:editor.data_prop.notification_unread_count" + } + ] + }, + "ColumnSelector": { + "label": "$t:editor.component.column_selector", + "propControls": [ + "csTriggerLabel", + "csRequiredText", + "csMenuTitle", + "csMenuDescription", + "csPosition", + "csTriggerIconName" + ], + "styleControls": [ + "marginAll" + ], + "dataProps": [ + { + "propKey": "columns", + "shape": "array", + "label": "$t:editor.data_prop.column_items", + "itemFields": [ + "field", + "label", + "visible" + ] + } + ] + }, + "SectionHeader": { + "label": "$t:editor.component.section_header", + "propControls": [ + "shTitle", + "shDescription" + ], + "styleControls": [ + "marginAll", + "paddingAll" + ], + "coreProps": [ + "id" + ] + } + }, + "actionRecipes": { + "comment": "admin 은 callServerThen 강조(폼/테이블 저장). params + build 풀 프레임워크.", + "goToPage": { + "label": "$t:editor.action.go_to_page.label", + "params": [ + { + "key": "url", + "label": "$t:editor.action.go_to_page.param_url", + "widget": "page-picker" + } + ], + "build": { + "handler": "navigate", + "params": { + "path": "{{url}}" + } + } + }, + "showMessage": { + "label": "$t:editor.action.show_message.label", + "params": [ + { + "key": "text", + "label": "$t:editor.action.show_message.param_text", + "widget": "i18n-text" + }, + { + "key": "tone", + "label": "$t:editor.action.show_message.param_tone", + "widget": "select", + "options": [ + { + "value": "success", + "label": "$t:editor.action.show_message.tone_success" + }, + { + "value": "error", + "label": "$t:editor.action.show_message.tone_error" + }, + { + "value": "info", + "label": "$t:editor.action.show_message.tone_info" + } + ] + } + ], + "build": { + "handler": "toast", + "params": { + "message": "{{text}}", + "type": "{{tone}}" + } + } + }, + "changeState": { + "label": "$t:editor.action.change_state.label", + "params": [ + { + "key": "key", + "label": "$t:editor.action.change_state.param_key", + "widget": "state-key-picker" + }, + { + "key": "value", + "label": "$t:editor.action.change_state.param_value", + "widget": "text" + } + ], + "build": { + "handler": "setState", + "target": "local", + "params": { + "{{key}}": "{{value}}" + } + } + }, + "refreshData": { + "label": "$t:editor.action.refresh_data.label", + "params": [ + { + "key": "src", + "label": "$t:editor.action.refresh_data.param_src", + "widget": "datasource-picker" + } + ], + "build": { + "handler": "refetchDataSource", + "params": { + "dataSourceId": "{{src}}" + } + } + }, + "callServerThen": { + "label": "$t:editor.action.call_server_then.label", + "params": [ + { + "key": "endpoint", + "label": "$t:editor.action.call_server_then.param_endpoint", + "widget": "text" + }, + { + "key": "onSuccess", + "label": "$t:editor.action.call_server_then.param_on_success", + "widget": "action-list" + }, + { + "key": "onError", + "label": "$t:editor.action.call_server_then.param_on_error", + "widget": "action-list" + } + ], + "build": { + "handler": "apiCall", + "target": "{{endpoint}}", + "onSuccess": "{{onSuccess}}", + "onError": "{{onError}}" + } + }, + "setLocale": { + "label": "$t:editor.action.set_locale.label", + "params": [ + { + "key": "target", + "label": "$t:editor.action.set_locale.param_target", + "widget": "select", + "options": [ + { + "value": "ko", + "label": "$t:editor.action.set_locale.target_ko" + }, + { + "value": "en", + "label": "$t:editor.action.set_locale.target_en" + }, + { + "value": "ja", + "label": "$t:editor.action.set_locale.target_ja" + } + ] + } + ], + "build": { + "handler": "setLocale", + "params": { + "target": "{{target}}" + } + } + }, + "setTheme": { + "label": "$t:editor.action.set_theme.label", + "params": [ + { + "key": "target", + "label": "$t:editor.action.set_theme.param_target", + "widget": "select", + "options": [ + { + "value": "auto", + "label": "$t:editor.action.set_theme.target_auto" + }, + { + "value": "light", + "label": "$t:editor.action.set_theme.target_light" + }, + { + "value": "dark", + "label": "$t:editor.action.set_theme.target_dark" + } + ] + } + ], + "build": { + "handler": "setTheme", + "params": { + "target": "{{target}}" + } + } + }, + "scrollToSection": { + "label": "$t:editor.action.scroll_to_section.label", + "params": [ + { + "key": "sectionId", + "label": "$t:editor.action.scroll_to_section.param_section_id", + "widget": "text" + } + ], + "build": { + "handler": "scrollToSection", + "params": { + "sectionId": "{{sectionId}}" + } + } + }, + "setDateRange": { + "label": "$t:editor.action.set_date_range.label", + "params": [ + { + "key": "preset", + "label": "$t:editor.action.set_date_range.param_preset", + "widget": "select", + "options": [ + { + "value": "today", + "label": "$t:editor.action.set_date_range.preset_today" + }, + { + "value": "week", + "label": "$t:editor.action.set_date_range.preset_week" + }, + { + "value": "month", + "label": "$t:editor.action.set_date_range.preset_month" + }, + { + "value": "year", + "label": "$t:editor.action.set_date_range.preset_year" + } + ] + } + ], + "build": { + "handler": "setDateRange", + "params": { + "preset": "{{preset}}" + } + } + }, + "toggleFilterVisibility": { + "label": "$t:editor.action.toggle_filter_visibility.label", + "params": [ + { + "key": "filterKey", + "label": "$t:editor.action.toggle_filter_visibility.param_filter_key", + "widget": "text" + } + ], + "build": { + "handler": "toggleFilterVisibility", + "params": { + "filterKey": "{{filterKey}}" + } + } + }, + "saveMultilingualTag": { + "label": "$t:editor.action.save_multilingual_tag.label", + "params": [ + { + "key": "tag", + "label": "$t:editor.action.save_multilingual_tag.param_tag", + "widget": "i18n-text" + } + ], + "build": { + "handler": "saveMultilingualTag", + "params": { + "tag": "{{tag}}" + } + } + }, + "initTheme": { + "label": "$t:editor.action.init_theme.label", + "params": [ + { + "key": "target", + "label": "$t:editor.action.init_theme.param_target", + "widget": "select", + "options": [ + { + "value": "auto", + "label": "$t:editor.action.init_theme.target_auto" + }, + { + "value": "light", + "label": "$t:editor.action.init_theme.target_light" + }, + { + "value": "dark", + "label": "$t:editor.action.init_theme.target_dark" + } + ] + } + ], + "build": { + "handler": "initTheme", + "params": { + "target": "{{target}}" + } + } + }, + "initMenuFromUrl": { + "label": "$t:editor.action.init_menu_from_url.label", + "params": [], + "build": { + "handler": "initMenuFromUrl" + } + }, + "initFilterVisibility": { + "label": "$t:editor.action.init_filter_visibility.label", + "params": [], + "build": { + "handler": "initFilterVisibility" + } + } + }, + "computedRecipes": { + "comment": "admin_basic 소유 자동 계산 친화 보기 프리셋 (R-P1~R-P4). expr 은 {{}} 없이 {paramKey} 플레이스홀더만.", + "filter_default": { + "label": "$t:editor.computed.filter_default.label", + "group": "common", + "params": [ + { + "key": "localPath", + "label": "$t:editor.computed.filter_default.param_local_path", + "widget": "text", + "required": true + }, + { + "key": "queryKey", + "label": "$t:editor.computed.filter_default.param_query_key", + "widget": "text", + "required": true + }, + { + "key": "fallback", + "label": "$t:editor.computed.filter_default.param_fallback", + "widget": "text" + } + ], + "expr": "_local.{localPath} ?? query.{queryKey} ?? '{fallback}'" + }, + "readonly_by_ability": { + "label": "$t:editor.computed.readonly_by_ability.label", + "group": "common", + "params": [ + { + "key": "source", + "label": "$t:editor.computed.readonly_by_ability.param_source", + "widget": "datasource-picker", + "required": true + }, + { + "key": "abilityKey", + "label": "$t:editor.computed.readonly_by_ability.param_ability_key", + "widget": "text", + "required": true + }, + { + "key": "requireRouteId", + "label": "$t:editor.computed.readonly_by_ability.param_require_route_id", + "widget": "toggle" + } + ], + "expr": "{source}?.data?.abilities?.{abilityKey} !== true" + }, + "options_from_api": { + "label": "$t:editor.computed.options_from_api.label", + "group": "common", + "params": [ + { + "key": "source", + "label": "$t:editor.computed.options_from_api.param_source", + "widget": "binding-picker", + "required": true + }, + { + "key": "filter", + "label": "$t:editor.computed.options_from_api.param_filter", + "widget": "condition" + }, + { + "key": "valueField", + "label": "$t:editor.computed.options_from_api.param_value_field", + "widget": "text", + "required": true + }, + { + "key": "labelField", + "label": "$t:editor.computed.options_from_api.param_label_field", + "widget": "text", + "required": true + } + ], + "expr": "({source} ?? []).filter({filter}).map(x => ({ value: x.{valueField}, label: x.{labelField} }))" + }, + "constant": { + "label": "$t:editor.computed.constant.label", + "group": "common", + "params": [ + { + "key": "valueKind", + "label": "$t:editor.computed.constant.param_value_kind", + "widget": "select", + "options": [ + { + "value": "string", + "label": "$t:editor.computed.constant.value_kind_string" + }, + { + "value": "number", + "label": "$t:editor.computed.constant.value_kind_number" + }, + { + "value": "boolean", + "label": "$t:editor.computed.constant.value_kind_boolean" + } + ] + }, + { + "key": "value", + "label": "$t:editor.computed.constant.param_value", + "widget": "text" + } + ], + "expr": "'{value}'" + } + }, + "errorRecipes": { + "comment": "-3 — 페이지 설정 [에러 처리] 탭. 403/404/500 등 오류 상황 친화 동작. 키 = 핸들러명(ErrorHandlingForm 이 r.id === handler 로 매칭). build/params 는 코어 시드(coreActionRecipes errorRecipes)와 정합 — setState 는 동적 키 단일이 아닌 state-key-value 스프레드(여러 상태 키·빈 값 입력 보존), openModal 은 top-level target(엔진 dispatch 가 읽는 위치), showErrorPage 는 표시 위치(content/full).", + "showErrorPage": { + "label": "$t:editor.error.show_error_page.label", + "params": [ + { + "key": "target", + "label": "$t:editor.error.show_error_page.param_target", + "widget": "select", + "options": [ + { + "value": "content" + }, + { + "value": "full" + } + ] + } + ], + "build": { + "handler": "showErrorPage", + "params": { + "target": "{{target}}" + } + } + }, + "navigate": { + "label": "$t:editor.error.navigate.label", + "params": [ + { + "key": "path", + "label": "$t:editor.error.navigate.param_path", + "widget": "page-picker" + } + ], + "build": { + "handler": "navigate", + "params": { + "path": "{{path}}" + } + } + }, + "toast": { + "label": "$t:editor.error.toast.label", + "params": [ + { + "key": "message", + "label": "$t:editor.error.toast.param_text", + "widget": "i18n-text" + } + ], + "build": { + "handler": "toast", + "params": { + "message": "{{message}}" + } + } + }, + "openModal": { + "label": "$t:editor.error.open_modal.label", + "params": [ + { + "key": "target", + "label": "$t:editor.error.open_modal.param_modal_id", + "widget": "modal-picker" + } + ], + "build": { + "handler": "openModal", + "target": "{{target}}" + } + }, + "setState": { + "label": "$t:editor.error.set_state.label", + "params": [ + { + "key": "target", + "label": "$t:editor.error.set_state.param_target", + "widget": "select", + "options": [ + { + "value": "local" + }, + { + "value": "global" + } + ] + }, + { + "key": "state", + "label": "$t:editor.error.set_state.param_state", + "widget": "state-key-value" + }, + { + "key": "merge", + "label": "$t:editor.error.set_state.param_merge", + "widget": "toggle" + } + ], + "build": { + "handler": "setState", + "params": { + "target": "{{target}}", + "merge": "{{merge}}", + "...": "{{state}}" + } + } + }, + "sequence": { + "label": "$t:editor.error.sequence.label", + "params": [ + { + "key": "actions", + "label": "$t:editor.error.sequence.param_actions", + "widget": "action-list" + } + ], + "build": { + "handler": "sequence", + "params": { + "actions": "{{actions}}" + } + } + }, + "parallel": { + "label": "$t:editor.error.parallel.label", + "params": [ + { + "key": "actions", + "label": "$t:editor.error.parallel.param_actions", + "widget": "action-list" + } + ], + "build": { + "handler": "parallel", + "params": { + "actions": "{{actions}}" + } + } + } + }, + "loadingComponents": { + "comment": "-4 — [로딩 화면] 탭 로딩 표시 컴포넌트 후보. components.json 에 실제 등록된 로딩 역할 컴포넌트만 (LoadingSpinner=spinner, PageLoading=page). skeleton 역할 전용 컴포넌트는 미등록.", + "loadingSpinner": { + "name": "LoadingSpinner", + "role": "spinner", + "label": "$t:editor.loading.loading_spinner" + }, + "pageLoading": { + "name": "PageLoading", + "role": "page", + "label": "$t:editor.loading.page_loading" + } + }, + "conditionRecipes": { + "comment": "admin 권한/능력(H)·폼 검증(G)·로딩/저장 상태 보강. expr 본문(중괄호 없음).", + "operators": [ + { + "value": "isAdmin", + "label": "$t:editor.condition.is_admin", + "expr": "_global?.currentUser?.is_admin === true" + }, + { + "value": "isLoggedIn", + "label": "$t:editor.condition.is_logged_in", + "expr": "_global?.currentUser?.uuid" + }, + { + "value": "isSaving", + "label": "$t:editor.condition.is_saving", + "expr": "_local?.isSaving" + }, + { + "value": "notSaving", + "label": "$t:editor.condition.not_saving", + "expr": "!_local?.isSaving" + }, + { + "value": "hasChanges", + "label": "$t:editor.condition.has_changes", + "expr": "_local?.hasChanges" + }, + { + "value": "hasErrors", + "label": "$t:editor.condition.has_errors", + "expr": "!!_local?.errors" + }, + { + "value": "noErrors", + "label": "$t:editor.condition.no_errors", + "expr": "!_local?.errors" + }, + { + "value": "dsHasData", + "label": "$t:editor.condition.ds_has_data", + "params": [ + { + "key": "src", + "label": "$t:editor.condition.param_src", + "widget": "datasource-picker" + } + ], + "expr": "({src}?.data?.length ?? 0) > 0" + }, + { + "value": "dsEmpty", + "label": "$t:editor.condition.ds_empty", + "params": [ + { + "key": "src", + "label": "$t:editor.condition.param_src", + "widget": "datasource-picker" + } + ], + "expr": "({src}?.data?.length ?? 0) === 0" + }, + { + "value": "dsLoading", + "label": "$t:editor.condition.ds_loading", + "params": [ + { + "key": "src", + "label": "$t:editor.condition.param_src", + "widget": "datasource-picker" + } + ], + "expr": "{src}?.loading" + }, + { + "value": "fieldEquals", + "label": "$t:editor.condition.field_equals", + "params": [ + { + "key": "field", + "label": "$t:editor.condition.param_field", + "widget": "text" + }, + { + "key": "value", + "label": "$t:editor.condition.param_value", + "widget": "text" + } + ], + "expr": "{field} === '{value}'", + "aliases": [ + "({field} ?? '{default}') === '{value}'", + "({field} ?? {default}) === '{value}'" + ] + }, + { + "value": "fieldNotEquals", + "label": "$t:editor.condition.field_not_equals", + "params": [ + { + "key": "field", + "label": "$t:editor.condition.param_field", + "widget": "text" + }, + { + "key": "value", + "label": "$t:editor.condition.param_value", + "widget": "text" + } + ], + "expr": "{field} !== '{value}'", + "aliases": [ + "({field} ?? '{default}') !== '{value}'", + "({field} ?? {default}) !== '{value}'" + ] + }, + { + "value": "stateEquals", + "label": "$t:editor.condition.state_equals", + "params": [ + { + "key": "key", + "label": "$t:editor.condition.param_state_key", + "widget": "state-key-picker" + }, + { + "key": "value", + "label": "$t:editor.condition.param_value", + "widget": "text" + } + ], + "expr": "{key} === '{value}'" + }, + { + "value": "isEditMode", + "label": "$t:editor.condition.is_edit_mode", + "expr": "!!route?.id" + }, + { + "value": "isCreateMode", + "label": "$t:editor.condition.is_create_mode", + "expr": "!route?.id" + }, + { + "value": "fieldHasError", + "label": "$t:editor.condition.field_has_error", + "params": [ + { + "key": "field", + "label": "$t:editor.condition.param_field", + "widget": "text" + } + ], + "expr": "!!_local?.errors?.['{field}']" + }, + { + "value": "hasAbility", + "label": "$t:editor.condition.has_ability", + "params": [ + { + "key": "scope", + "label": "$t:editor.condition.param_scope", + "widget": "text" + }, + { + "key": "ability", + "label": "$t:editor.condition.param_ability", + "widget": "text" + } + ], + "expr": "{scope}?.abilities?.{ability} !== false" + }, + { + "value": "valueTruthy", + "label": "$t:editor.condition.value_truthy", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path}", + "aliases": [ + "{path} ?? false", + "{path} ?? true" + ] + }, + { + "value": "valueFalsy", + "label": "$t:editor.condition.value_falsy", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "!{path}" + }, + { + "value": "listNonEmpty", + "label": "$t:editor.condition.list_non_empty", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "({path} ?? []).length > 0", + "aliases": [ + "{path} && {path}.length > 0", + "{path}?.length > 0", + "({path}?.length ?? 0) > 0" + ] + }, + { + "value": "listEmpty", + "label": "$t:editor.condition.list_empty", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "({path} ?? []).length === 0", + "aliases": [ + "!{path} || {path}.length === 0", + "{path}?.length === 0", + "({path}?.length ?? 0) === 0", + "!({path} ?? []).length", + "!{path}.length", + "!{path}?.length" + ] + }, + { + "value": "numGte", + "label": "$t:editor.condition.num_gte", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + }, + { + "key": "n", + "label": "$t:editor.condition.param_number", + "widget": "text" + } + ], + "expr": "{path} >= {n}", + "aliases": [ + "({path} ?? 0) >= {n}" + ] + }, + { + "value": "numLte", + "label": "$t:editor.condition.num_lte", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + }, + { + "key": "n", + "label": "$t:editor.condition.param_number", + "widget": "text" + } + ], + "expr": "{path} <= {n}", + "aliases": [ + "({path} ?? 0) <= {n}" + ] + }, + { + "value": "numGt", + "label": "$t:editor.condition.num_gt", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + }, + { + "key": "n", + "label": "$t:editor.condition.param_number", + "widget": "text" + } + ], + "expr": "{path} > {n}", + "aliases": [ + "({path} ?? 0) > {n}", + "({path} ?? []).length > {n}" + ] + }, + { + "value": "numLt", + "label": "$t:editor.condition.num_lt", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + }, + { + "key": "n", + "label": "$t:editor.condition.param_number", + "widget": "text" + } + ], + "expr": "{path} < {n}", + "aliases": [ + "({path} ?? 0) < {n}" + ] + }, + { + "value": "valueIsTrue", + "label": "$t:editor.condition.value_is_true", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path} === true" + }, + { + "value": "valueIsFalse", + "label": "$t:editor.condition.value_is_false", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path} === false" + }, + { + "value": "valueNotFalse", + "label": "$t:editor.condition.value_not_false", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path} !== false" + }, + { + "value": "valueNotTrue", + "label": "$t:editor.condition.value_not_true", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path} !== true" + }, + { + "value": "valueDefined", + "label": "$t:editor.condition.value_defined", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path} !== undefined" + }, + { + "value": "valueUndefined", + "label": "$t:editor.condition.value_undefined", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path} === undefined" + }, + { + "value": "valueNotNull", + "label": "$t:editor.condition.value_not_null", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path} !== null", + "aliases": [ + "{path} != null" + ] + }, + { + "value": "valueIsNull", + "label": "$t:editor.condition.value_is_null", + "params": [ + { + "key": "path", + "label": "$t:editor.condition.param_path", + "widget": "state-key-picker" + } + ], + "expr": "{path} === null", + "aliases": [ + "{path} == null" + ] + }, + { + "value": "fieldMatches", + "label": "$t:editor.condition.field_matches", + "params": [ + { + "key": "a", + "label": "$t:editor.condition.param_field_a", + "widget": "state-key-picker" + }, + { + "key": "b", + "label": "$t:editor.condition.param_field_b", + "widget": "state-key-picker" + } + ], + "expr": "{a} === {b}", + "aliases": [ + "{a} === ({b} ?? '{default}')", + "({a} ?? 0) === {b}" + ] + }, + { + "value": "fieldDiffers", + "label": "$t:editor.condition.field_differs", + "params": [ + { + "key": "a", + "label": "$t:editor.condition.param_field_a", + "widget": "state-key-picker" + }, + { + "key": "b", + "label": "$t:editor.condition.param_field_b", + "widget": "state-key-picker" + } + ], + "expr": "{a} !== {b}", + "aliases": [ + "{a} != {b}", + "{a} !== ({b} ?? '{default}')" + ] + } + ] + }, + "sampleGlobal": { + "comment": "admin 베이스 레이아웃이 의존하는 _global.* baseline. 관리자 분기용 currentUser.is_admin: true + 권한. `$`-prefixed 키($locale/$locales)는 PreviewCanvas 가 렌더 컨텍스트 최상위로 끌어올리는 엔진 전역 샘플(런타임 createGlobalVariables 와 동일 위치) — 로그인 화면 등 로케일 선택 드롭다운(`{{$locales}}`) 미리보기용.", + "$locale": "ko", + "$locales": [ + "ko", + "en" + ], + "currentUser": { + "uuid": "sample-uuid-admin", + "id": 1, + "name": "샘플 관리자", + "nickname": "샘플 관리자", + "email": "admin@example.com", + "avatar": null, + "avatar_url": null, + "is_admin": true, + "roles": [ + "super_admin" + ], + "permissions": [ + "core.*" + ] + }, + "settings": { + "general": { + "site_name": "샘플 사이트", + "site_description": "편집 모드 미리보기 — 실제 사이트 설정은 운영 환경에서 적용됩니다.", + "site_logo_url": null + }, + "site_name": "샘플 사이트" + }, + "site": { + "name": "샘플 사이트" + } + }, + "sampleData": { + "comment": "admin 자체 + 코어 SSoT 도메인. locales/admin_menus/me/installed_modules/active_plugins/users 등. 실제 데이터소스 ID 는 착수 시점 admin 레이아웃 data_sources 로 재검증 — 본 블록은 코어 SSoT/공통 폴백.", + "byDataSourceId": { + "locales": { + "data": [ + { + "code": "ko", + "name": "한국어", + "native": "한국어", + "active": true, + "default": true + }, + { + "code": "en", + "name": "English", + "native": "English", + "active": true, + "default": false + }, + { + "code": "ja", + "name": "일본어", + "native": "日本語", + "active": true, + "default": false + } + ] + }, + "me": { + "data": { + "id": 1, + "uuid": "sample-uuid-admin", + "name": "샘플 관리자", + "email": "admin@example.com", + "profile_image": null, + "roles": [ + "super_admin" + ], + "permissions": [ + "core.*" + ], + "last_login_at": "2026-05-29T09:00:00+09:00" + } + }, + "installed_modules": { + "data": [ + { + "identifier": "sirsoft-ecommerce", + "name": "이커머스", + "version": "1.0.0", + "status": "active", + "enabled": true, + "description": "쇼핑몰 모듈" + }, + { + "identifier": "sirsoft-board", + "name": "게시판", + "version": "1.0.0", + "status": "active", + "enabled": true, + "description": "게시판 모듈" + }, + { + "identifier": "sirsoft-page", + "name": "페이지", + "version": "1.0.0", + "status": "active", + "enabled": true, + "description": "정적 페이지 모듈" + } + ] + }, + "active_plugins": { + "data": [ + { + "identifier": "sirsoft-payment", + "name": "결제", + "version": "1.0.0", + "status": "active", + "enabled": true, + "description": "결제 플러그인" + } + ] + }, + "users": { + "data": { + "data": [ + { + "number": 355, + "uuid": "00000000-0000-4000-8000-000000000003", + "name": "연윤미", + "nickname": null, + "email": "mijung32@example.net", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 362, + "identifier": "playwright_test_6a1a6f5400fff", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:02:11", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 354, + "uuid": "00000000-0000-4000-8000-000000000004", + "name": "임영길", + "nickname": null, + "email": "youngsoo58@example.com", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 361, + "identifier": "playwright_test_6a1a6f53f1137", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:02:11", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 353, + "uuid": "00000000-0000-4000-8000-000000000005", + "name": "함재호", + "nickname": null, + "email": "youngwhan.choi@example.org", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 359, + "identifier": "playwright_test_6a1a6f53f0fb7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:02:11", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 352, + "uuid": "00000000-0000-4000-8000-000000000006", + "name": "홍경춘", + "nickname": null, + "email": "sungjin59@example.com", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 360, + "identifier": "playwright_test_6a1a6f53f10d4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:02:11", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 351, + "uuid": "00000000-0000-4000-8000-000000000007", + "name": "정수연", + "nickname": null, + "email": "xgwon@example.org", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 358, + "identifier": "playwright_test_6a1a6f53eb332", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:02:11", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 350, + "uuid": "00000000-0000-4000-8000-000000000008", + "name": "탁홍선", + "nickname": null, + "email": "jaehun.bae@example.org", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 356, + "identifier": "playwright_test_6a1a6f02268a7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:00:49", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 349, + "uuid": "00000000-0000-4000-8000-000000000009", + "name": "표승현", + "nickname": null, + "email": "han.jina@example.net", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 355, + "identifier": "playwright_test_6a1a6f022390b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:00:49", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 348, + "uuid": "00000000-0000-4000-8000-000000000010", + "name": "구도연", + "nickname": null, + "email": "jihye06@example.org", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 354, + "identifier": "playwright_test_6a1a6f021f633", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:00:49", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 347, + "uuid": "00000000-0000-4000-8000-000000000011", + "name": "옥지혜", + "nickname": null, + "email": "cho.suran@example.org", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 353, + "identifier": "playwright_test_6a1a6f021f628", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:00:49", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 346, + "uuid": "00000000-0000-4000-8000-000000000012", + "name": "방윤미", + "nickname": null, + "email": "jungsoo04@example.org", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 357, + "identifier": "playwright_test_6a1a6f022f471", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 14:00:49", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 345, + "uuid": "00000000-0000-4000-8000-000000000013", + "name": "신예준", + "nickname": null, + "email": "sangjun71@example.com", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 352, + "identifier": "playwright_test_6a1a6e97a20cf", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 13:59:03", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 344, + "uuid": "00000000-0000-4000-8000-000000000014", + "name": "황수정", + "nickname": null, + "email": "rseo@example.net", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 351, + "identifier": "playwright_test_6a1a6e97a1e6b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 13:59:03", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 343, + "uuid": "00000000-0000-4000-8000-000000000015", + "name": "국상준", + "nickname": null, + "email": "chang.yeojin@example.net", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 350, + "identifier": "playwright_test_6a1a6e979de31", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 13:59:03", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 342, + "uuid": "00000000-0000-4000-8000-000000000016", + "name": "권형철", + "nickname": null, + "email": "hwang.miyoung@example.com", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 349, + "identifier": "playwright_test_6a1a6e979de4f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 13:59:03", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + { + "number": 341, + "uuid": "00000000-0000-4000-8000-000000000017", + "name": "노동현", + "nickname": null, + "email": "seo.banhee@example.net", + "language": "ko", + "language_label": "한국어", + "country": null, + "country_flag": null, + "country_name": null, + "status": "active", + "status_label": "활성", + "status_variant": "success", + "mobile": null, + "roles": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 348, + "identifier": "playwright_test_6a1a6e979dde1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}" + } + ], + "email_verified_at": "2026-05-30 13:59:03", + "last_login_at": null, + "created_at": "2026-05-30", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + } + ], + "statistics": { + "total_users": 355, + "users_this_week": 354, + "users_this_month": 355, + "users_today": 0, + "active_users_this_week": 1 + }, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + }, + "pagination": { + "current_page": 1, + "last_page": 24, + "per_page": 15, + "total": 355, + "from": 1, + "to": 15, + "has_more_pages": true + } + } + }, + "roles": { + "data": { + "data": [ + { + "id": 1, + "identifier": "admin", + "name": "관리자", + "name_raw": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "description": "시스템의 모든 기능에 접근할 수 있는 최고 관리자입니다.", + "description_raw": { + "ko": "시스템의 모든 기능에 접근할 수 있는 최고 관리자입니다.", + "en": "Super administrator with access to all system features.", + "ja": "システムのすべての機能にアクセスできる最高管理者です。" + }, + "extension_type": "core", + "extension_identifier": "core", + "extension_name": null, + "is_deletable": false, + "is_active": true, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 2, + "identifier": "manager", + "name": "매니저", + "name_raw": { + "ko": "매니저", + "en": "Manager", + "ja": "マネージャー" + }, + "description": "콘텐츠 및 사용자 관리 권한을 가진 관리자입니다.", + "description_raw": { + "ko": "콘텐츠 및 사용자 관리 권한을 가진 관리자입니다.", + "en": "Manager with content and user management permissions.", + "ja": "コンテンツおよびユーザー管理権限を持つ管理者です。" + }, + "extension_type": "core", + "extension_identifier": "core", + "extension_name": null, + "is_deletable": false, + "is_active": true, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 3, + "identifier": "user", + "name": "일반 사용자", + "name_raw": { + "ko": "일반 사용자", + "en": "User", + "ja": "一般ユーザー" + }, + "description": "기본 사용자 역할입니다.", + "description_raw": { + "ko": "기본 사용자 역할입니다.", + "en": "Default user role.", + "ja": "基本的なユーザーロールです。" + }, + "extension_type": "core", + "extension_identifier": "core", + "extension_name": null, + "is_deletable": false, + "is_active": true, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 4, + "identifier": "guest", + "name": "비회원", + "name_raw": { + "ko": "비회원", + "en": "Guest", + "ja": "非会員" + }, + "description": "인증되지 않은 사용자 역할입니다. 관리자가 권한을 부여할 수 있습니다.", + "description_raw": { + "ko": "인증되지 않은 사용자 역할입니다. 관리자가 권한을 부여할 수 있습니다.", + "en": "Unauthenticated user role. Permissions can be granted by administrators.", + "ja": "認証されていないユーザーロールです。管理者が権限を付与することができます。" + }, + "extension_type": "core", + "extension_identifier": "core", + "extension_name": null, + "is_deletable": false, + "is_active": true, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 5, + "identifier": "sirsoft-ecommerce.manager", + "name": "이커머스 관리자", + "name_raw": { + "ko": "이커머스 관리자", + "en": "Ecommerce Manager", + "ja": "eコマース管理者" + }, + "description": "이커머스 관리 권한을 가진 역할", + "description_raw": { + "ko": "이커머스 관리 권한을 가진 역할", + "en": "Role with ecommerce management permissions", + "ja": "eコマース管理権限を持つロール" + }, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "extension_name": "이커머스", + "is_deletable": false, + "is_active": true, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 6, + "identifier": "sirsoft-gdpr.privacy", + "name": "개인정보 운영자", + "name_raw": { + "ko": "개인정보 운영자", + "en": "Privacy Operator", + "ja": "個人情報管理者" + }, + "description": "GDPR 도메인 운영 권한 (설정·동의 이력 조회)", + "description_raw": { + "ko": "GDPR 도메인 운영 권한 (설정·동의 이력 조회)", + "en": "Operational authority over GDPR domain (settings, consent log)", + "ja": "GDPRドメイン運営権限(設定・同意履歴閲覧)" + }, + "extension_type": "plugin", + "extension_identifier": "sirsoft-gdpr", + "extension_name": "GDPR (일반 데이터 보호 규정)", + "is_deletable": false, + "is_active": true, + "created_at": "2026-05-23 22:43:42", + "updated_at": "2026-05-23 22:44:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 7, + "identifier": "sirsoft-board.notice.manager", + "name": "공지사항 게시판 관리자", + "name_raw": { + "ko": "공지사항 게시판 관리자", + "en": "Notice Board Manager" + }, + "description": "공지사항 게시판의 관리자 역할", + "description_raw": { + "ko": "공지사항 게시판의 관리자 역할", + "en": "Manager role for notice board" + }, + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "extension_name": "게시판", + "is_deletable": false, + "is_active": true, + "created_at": "2026-05-26 11:41:23", + "updated_at": "2026-05-26 11:41:23", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 8, + "identifier": "sirsoft-board.notice.step", + "name": "공지사항 게시판 스텝", + "name_raw": { + "ko": "공지사항 게시판 스텝", + "en": "Notice Board Step" + }, + "description": "공지사항 게시판의 스텝 역할", + "description_raw": { + "ko": "공지사항 게시판의 스텝 역할", + "en": "Step role for notice board" + }, + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "extension_name": "게시판", + "is_deletable": false, + "is_active": true, + "created_at": "2026-05-26 11:41:23", + "updated_at": "2026-05-26 11:41:23", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 9, + "identifier": "playwright_test_6a17dc96c7eb0", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:11:34", + "updated_at": "2026-05-28 15:11:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 10, + "identifier": "playwright_test_6a17dc96c7ec1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:11:34", + "updated_at": "2026-05-28 15:11:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 11, + "identifier": "playwright_test_6a17dc96c7edf", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:11:34", + "updated_at": "2026-05-28 15:11:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 12, + "identifier": "playwright_test_6a17dc96c8081", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:11:34", + "updated_at": "2026-05-28 15:11:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 13, + "identifier": "playwright_test_6a17dcc5ddad1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:12:21", + "updated_at": "2026-05-28 15:12:21", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 14, + "identifier": "playwright_test_6a17dcc5ddbd5", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:12:21", + "updated_at": "2026-05-28 15:12:21", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 15, + "identifier": "playwright_test_6a17dcc5e1b71", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:12:21", + "updated_at": "2026-05-28 15:12:21", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 16, + "identifier": "playwright_test_6a17dd2194edd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:13:53", + "updated_at": "2026-05-28 15:13:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 17, + "identifier": "playwright_test_6a17dd2194ee7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:13:53", + "updated_at": "2026-05-28 15:13:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 18, + "identifier": "playwright_test_6a17dd21985b9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:13:53", + "updated_at": "2026-05-28 15:13:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 19, + "identifier": "playwright_test_6a17dd21a9384", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:13:53", + "updated_at": "2026-05-28 15:13:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 20, + "identifier": "playwright_test_6a17dd7fafe12", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:15:27", + "updated_at": "2026-05-28 15:15:27", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 21, + "identifier": "playwright_test_6a17dd7fafe1c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:15:27", + "updated_at": "2026-05-28 15:15:27", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 22, + "identifier": "playwright_test_6a17dd7fafe0c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:15:27", + "updated_at": "2026-05-28 15:15:27", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 23, + "identifier": "playwright_test_6a17dd7fb32a7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:15:27", + "updated_at": "2026-05-28 15:15:27", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 24, + "identifier": "playwright_test_6a17dde5d21ad", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:17:09", + "updated_at": "2026-05-28 15:17:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 25, + "identifier": "playwright_test_6a17dde5d3abf", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:17:09", + "updated_at": "2026-05-28 15:17:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 26, + "identifier": "playwright_test_6a17dde5d5f60", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:17:09", + "updated_at": "2026-05-28 15:17:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 27, + "identifier": "playwright_test_6a17dde5dadda", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:17:09", + "updated_at": "2026-05-28 15:17:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 28, + "identifier": "playwright_test_6a17de242d897", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:18:12", + "updated_at": "2026-05-28 15:18:12", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 29, + "identifier": "playwright_test_6a17de2432df0", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:18:12", + "updated_at": "2026-05-28 15:18:12", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 30, + "identifier": "playwright_test_6a17de2432e95", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:18:12", + "updated_at": "2026-05-28 15:18:12", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 31, + "identifier": "playwright_test_6a17de24330d3", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:18:12", + "updated_at": "2026-05-28 15:18:12", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 32, + "identifier": "playwright_test_6a17e706bba23", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:56:06", + "updated_at": "2026-05-28 15:56:06", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 33, + "identifier": "playwright_test_6a17e706c111f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:56:06", + "updated_at": "2026-05-28 15:56:06", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 34, + "identifier": "playwright_test_6a17e706c3b29", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:56:06", + "updated_at": "2026-05-28 15:56:06", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 35, + "identifier": "playwright_test_6a17e706c548d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:56:06", + "updated_at": "2026-05-28 15:56:06", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 36, + "identifier": "playwright_test_6a17e7d64c039", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:59:34", + "updated_at": "2026-05-28 15:59:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 37, + "identifier": "playwright_test_6a17e7d65221c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:59:34", + "updated_at": "2026-05-28 15:59:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 38, + "identifier": "playwright_test_6a17e7d6566ee", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:59:34", + "updated_at": "2026-05-28 15:59:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 39, + "identifier": "playwright_test_6a17e7d65e293", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 15:59:34", + "updated_at": "2026-05-28 15:59:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 40, + "identifier": "playwright_test_6a17e81dde098", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:00:45", + "updated_at": "2026-05-28 16:00:45", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 41, + "identifier": "playwright_test_6a17e81dde1c6", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:00:45", + "updated_at": "2026-05-28 16:00:45", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 42, + "identifier": "playwright_test_6a17e81ddfb8a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:00:45", + "updated_at": "2026-05-28 16:00:45", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 43, + "identifier": "playwright_test_6a17e9164da2f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:04:54", + "updated_at": "2026-05-28 16:04:54", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 44, + "identifier": "playwright_test_6a17e91651700", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:04:54", + "updated_at": "2026-05-28 16:04:54", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 45, + "identifier": "playwright_test_6a17e916516db", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:04:54", + "updated_at": "2026-05-28 16:04:54", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 46, + "identifier": "playwright_test_6a17e916565c5", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:04:54", + "updated_at": "2026-05-28 16:04:54", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 47, + "identifier": "playwright_test_6a17ea5ec2240", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:10:22", + "updated_at": "2026-05-28 16:10:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 48, + "identifier": "playwright_test_6a17ea5ec5562", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:10:22", + "updated_at": "2026-05-28 16:10:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 49, + "identifier": "playwright_test_6a17ea5ecc4b4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:10:22", + "updated_at": "2026-05-28 16:10:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 50, + "identifier": "playwright_test_6a17ea5ee1c46", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:10:22", + "updated_at": "2026-05-28 16:10:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 51, + "identifier": "playwright_test_6a17f1db0af02", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:42:19", + "updated_at": "2026-05-28 16:42:19", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 52, + "identifier": "playwright_test_6a17f1db0ff11", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:42:19", + "updated_at": "2026-05-28 16:42:19", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 53, + "identifier": "playwright_test_6a17f1db13bb6", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:42:19", + "updated_at": "2026-05-28 16:42:19", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 54, + "identifier": "playwright_test_6a17f1db17f91", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:42:19", + "updated_at": "2026-05-28 16:42:19", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 55, + "identifier": "playwright_test_6a17f1db1b73d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:42:19", + "updated_at": "2026-05-28 16:42:19", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 56, + "identifier": "playwright_test_6a17f20d43d10", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:09", + "updated_at": "2026-05-28 16:43:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 57, + "identifier": "playwright_test_6a17f20d4a002", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:09", + "updated_at": "2026-05-28 16:43:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 58, + "identifier": "playwright_test_6a17f20d5e8b1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:09", + "updated_at": "2026-05-28 16:43:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 59, + "identifier": "playwright_test_6a17f20d5e917", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:09", + "updated_at": "2026-05-28 16:43:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 60, + "identifier": "playwright_test_6a17f20d6844b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:09", + "updated_at": "2026-05-28 16:43:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 61, + "identifier": "playwright_test_6a17f234cf3de", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:48", + "updated_at": "2026-05-28 16:43:48", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 62, + "identifier": "playwright_test_6a17f234d1bb7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:48", + "updated_at": "2026-05-28 16:43:48", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 63, + "identifier": "playwright_test_6a17f234d1d6b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:48", + "updated_at": "2026-05-28 16:43:48", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 64, + "identifier": "playwright_test_6a17f234d784b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:48", + "updated_at": "2026-05-28 16:43:48", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 65, + "identifier": "playwright_test_6a17f234da59d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:43:48", + "updated_at": "2026-05-28 16:43:48", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 66, + "identifier": "playwright_test_6a17f2e9e0038", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:46:49", + "updated_at": "2026-05-28 16:46:49", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 67, + "identifier": "playwright_test_6a17f2e9e01c7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:46:49", + "updated_at": "2026-05-28 16:46:49", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 68, + "identifier": "playwright_test_6a17f2fcc5543", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:47:08", + "updated_at": "2026-05-28 16:47:08", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 69, + "identifier": "playwright_test_6a17f2fcc8edc", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:47:08", + "updated_at": "2026-05-28 16:47:08", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 70, + "identifier": "playwright_test_6a17f2fcce288", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:47:08", + "updated_at": "2026-05-28 16:47:08", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 71, + "identifier": "playwright_test_6a17f2fcd271e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 16:47:08", + "updated_at": "2026-05-28 16:47:08", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 72, + "identifier": "playwright_test_6a17f61d4148b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 17:00:29", + "updated_at": "2026-05-28 17:00:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 73, + "identifier": "playwright_test_6a17f61d4149a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 17:00:29", + "updated_at": "2026-05-28 17:00:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 74, + "identifier": "playwright_test_6a17f61d45ee9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 17:00:29", + "updated_at": "2026-05-28 17:00:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 75, + "identifier": "playwright_test_6a17f61d4ed7a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 17:00:29", + "updated_at": "2026-05-28 17:00:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 76, + "identifier": "playwright_test_6a180583206cc", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 18:06:11", + "updated_at": "2026-05-28 18:06:11", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 77, + "identifier": "playwright_test_6a18058320716", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 18:06:11", + "updated_at": "2026-05-28 18:06:11", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 78, + "identifier": "playwright_test_6a18058320769", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 18:06:11", + "updated_at": "2026-05-28 18:06:11", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 80, + "identifier": "playwright_test_6a18058321211", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 18:06:11", + "updated_at": "2026-05-28 18:06:11", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 81, + "identifier": "playwright_test_6a1805d65fbcd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 18:07:34", + "updated_at": "2026-05-28 18:07:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 82, + "identifier": "playwright_test_6a180811ecc8c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-28 18:17:05", + "updated_at": "2026-05-28 18:17:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 83, + "identifier": "playwright_test_6a19031a3affd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:08:10", + "updated_at": "2026-05-29 12:08:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 84, + "identifier": "playwright_test_6a19031a3b01e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:08:10", + "updated_at": "2026-05-29 12:08:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 85, + "identifier": "playwright_test_6a19031a3b01a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:08:10", + "updated_at": "2026-05-29 12:08:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 86, + "identifier": "playwright_test_6a19034a882c6", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:08:58", + "updated_at": "2026-05-29 12:08:58", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 87, + "identifier": "playwright_test_6a19034a931e2", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:08:58", + "updated_at": "2026-05-29 12:08:58", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 88, + "identifier": "playwright_test_6a19034a9ae8b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:08:58", + "updated_at": "2026-05-29 12:08:58", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 89, + "identifier": "playwright_test_6a1903972c6a4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:10:15", + "updated_at": "2026-05-29 12:10:15", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 90, + "identifier": "playwright_test_6a1903972f066", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:10:15", + "updated_at": "2026-05-29 12:10:15", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 91, + "identifier": "playwright_test_6a1903972f0f9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:10:15", + "updated_at": "2026-05-29 12:10:15", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 92, + "identifier": "playwright_test_6a19040a9ec23", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:12:10", + "updated_at": "2026-05-29 12:12:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 93, + "identifier": "playwright_test_6a19040aa1996", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:12:10", + "updated_at": "2026-05-29 12:12:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 94, + "identifier": "playwright_test_6a19040aac473", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:12:10", + "updated_at": "2026-05-29 12:12:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 95, + "identifier": "playwright_test_6a1904247c017", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:12:36", + "updated_at": "2026-05-29 12:12:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 96, + "identifier": "playwright_test_6a19042487e7a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:12:36", + "updated_at": "2026-05-29 12:12:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 97, + "identifier": "playwright_test_6a1904248d0ba", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:12:36", + "updated_at": "2026-05-29 12:12:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 98, + "identifier": "playwright_test_6a19049930b74", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:14:33", + "updated_at": "2026-05-29 12:14:33", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 99, + "identifier": "playwright_test_6a19049934717", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:14:33", + "updated_at": "2026-05-29 12:14:33", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 100, + "identifier": "playwright_test_6a1904993845b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:14:33", + "updated_at": "2026-05-29 12:14:33", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 101, + "identifier": "playwright_test_6a19050d83538", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:16:29", + "updated_at": "2026-05-29 12:16:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 102, + "identifier": "playwright_test_6a19050d835a7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:16:29", + "updated_at": "2026-05-29 12:16:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 103, + "identifier": "playwright_test_6a19050d83708", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:16:29", + "updated_at": "2026-05-29 12:16:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 104, + "identifier": "playwright_test_6a1905d926fb6", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:19:53", + "updated_at": "2026-05-29 12:19:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 105, + "identifier": "playwright_test_6a1905d92700b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:19:53", + "updated_at": "2026-05-29 12:19:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 106, + "identifier": "playwright_test_6a1905d9299ba", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:19:53", + "updated_at": "2026-05-29 12:19:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 107, + "identifier": "playwright_test_6a1905ede4135", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:20:13", + "updated_at": "2026-05-29 12:20:13", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 108, + "identifier": "playwright_test_6a1905ede5c66", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:20:13", + "updated_at": "2026-05-29 12:20:13", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 109, + "identifier": "playwright_test_6a1905ede5c8a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:20:13", + "updated_at": "2026-05-29 12:20:13", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 110, + "identifier": "playwright_test_6a1908d0c735f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:32:32", + "updated_at": "2026-05-29 12:32:32", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 111, + "identifier": "playwright_test_6a1908d0cf540", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:32:32", + "updated_at": "2026-05-29 12:32:32", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 112, + "identifier": "playwright_test_6a1908d0cf52e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:32:32", + "updated_at": "2026-05-29 12:32:32", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 113, + "identifier": "playwright_test_6a190947db84d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:34:31", + "updated_at": "2026-05-29 12:34:31", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 114, + "identifier": "playwright_test_6a190947de88a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:34:31", + "updated_at": "2026-05-29 12:34:31", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 115, + "identifier": "playwright_test_6a190947e119b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:34:31", + "updated_at": "2026-05-29 12:34:31", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 116, + "identifier": "playwright_test_6a1909af2ecab", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:36:15", + "updated_at": "2026-05-29 12:36:15", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 117, + "identifier": "playwright_test_6a1909af2ec8c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:36:15", + "updated_at": "2026-05-29 12:36:15", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 118, + "identifier": "playwright_test_6a1909af34d5e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:36:15", + "updated_at": "2026-05-29 12:36:15", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 119, + "identifier": "playwright_test_6a190a734de69", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:39:31", + "updated_at": "2026-05-29 12:39:31", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 120, + "identifier": "playwright_test_6a190a734de6f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:39:31", + "updated_at": "2026-05-29 12:39:31", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 121, + "identifier": "playwright_test_6a190a734de52", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:39:31", + "updated_at": "2026-05-29 12:39:31", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 122, + "identifier": "playwright_test_6a190ac935cc8", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:40:57", + "updated_at": "2026-05-29 12:40:57", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 123, + "identifier": "playwright_test_6a190ac935cd3", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:40:57", + "updated_at": "2026-05-29 12:40:57", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 125, + "identifier": "playwright_test_6a190addb6c04", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:41:17", + "updated_at": "2026-05-29 12:41:17", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 126, + "identifier": "playwright_test_6a190ae21ae66", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:41:22", + "updated_at": "2026-05-29 12:41:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 127, + "identifier": "playwright_test_6a190ae5989a8", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:41:25", + "updated_at": "2026-05-29 12:41:25", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 128, + "identifier": "playwright_test_6a190b2593b90", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:42:29", + "updated_at": "2026-05-29 12:42:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 129, + "identifier": "playwright_test_6a190b2d26ee2", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:42:37", + "updated_at": "2026-05-29 12:42:37", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 130, + "identifier": "playwright_test_6a190b30a35d7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:42:40", + "updated_at": "2026-05-29 12:42:40", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 131, + "identifier": "playwright_test_6a190b952e4ec", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:44:21", + "updated_at": "2026-05-29 12:44:21", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 132, + "identifier": "playwright_test_6a190b9eca307", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:44:30", + "updated_at": "2026-05-29 12:44:30", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 133, + "identifier": "playwright_test_6a190ba24042e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:44:34", + "updated_at": "2026-05-29 12:44:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 134, + "identifier": "playwright_test_6a190bda433df", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:45:30", + "updated_at": "2026-05-29 12:45:30", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 135, + "identifier": "playwright_test_6a190be3e631d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:45:39", + "updated_at": "2026-05-29 12:45:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 136, + "identifier": "playwright_test_6a190be7558c8", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:45:43", + "updated_at": "2026-05-29 12:45:43", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 137, + "identifier": "playwright_test_6a190c2c3f6dc", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:46:52", + "updated_at": "2026-05-29 12:46:52", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 138, + "identifier": "playwright_test_6a190c35ede0a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:47:01", + "updated_at": "2026-05-29 12:47:01", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 139, + "identifier": "playwright_test_6a190c398dd03", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:47:05", + "updated_at": "2026-05-29 12:47:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 140, + "identifier": "playwright_test_6a190ca057e36", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:48:48", + "updated_at": "2026-05-29 12:48:48", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 141, + "identifier": "playwright_test_6a190ca38c0d4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:48:51", + "updated_at": "2026-05-29 12:48:51", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 142, + "identifier": "playwright_test_6a190ca71e680", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 12:48:55", + "updated_at": "2026-05-29 12:48:55", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 143, + "identifier": "playwright_test_6a191039e6138", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 13:04:09", + "updated_at": "2026-05-29 13:04:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 144, + "identifier": "playwright_test_6a19103fad1bf", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 13:04:15", + "updated_at": "2026-05-29 13:04:15", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 145, + "identifier": "playwright_test_6a1910430beaf", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 13:04:19", + "updated_at": "2026-05-29 13:04:19", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 146, + "identifier": "playwright_test_6a191093ab385", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 13:05:39", + "updated_at": "2026-05-29 13:05:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 147, + "identifier": "playwright_test_6a191096b500a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 13:05:42", + "updated_at": "2026-05-29 13:05:42", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 148, + "identifier": "playwright_test_6a19109a1dc50", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 13:05:46", + "updated_at": "2026-05-29 13:05:46", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 149, + "identifier": "playwright_test_6a195132a2c99", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 17:41:22", + "updated_at": "2026-05-29 17:41:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 150, + "identifier": "playwright_test_6a195132a2cd4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 17:41:22", + "updated_at": "2026-05-29 17:41:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 151, + "identifier": "playwright_test_6a195132a2cbd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 17:41:22", + "updated_at": "2026-05-29 17:41:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 152, + "identifier": "playwright_test_6a195132a3066", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 17:41:22", + "updated_at": "2026-05-29 17:41:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 153, + "identifier": "playwright_test_6a1951b12de6e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 17:43:29", + "updated_at": "2026-05-29 17:43:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 154, + "identifier": "playwright_test_6a1951b130dde", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 17:43:29", + "updated_at": "2026-05-29 17:43:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 155, + "identifier": "playwright_test_6a1951b137805", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 17:43:29", + "updated_at": "2026-05-29 17:43:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 156, + "identifier": "playwright_test_6a1951b13b460", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 17:43:29", + "updated_at": "2026-05-29 17:43:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 157, + "identifier": "playwright_test_6a1968cf8ff62", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:22:07", + "updated_at": "2026-05-29 19:22:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 158, + "identifier": "playwright_test_6a1968cf8ffaf", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:22:07", + "updated_at": "2026-05-29 19:22:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 159, + "identifier": "playwright_test_6a1968cf8ff36", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:22:07", + "updated_at": "2026-05-29 19:22:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 160, + "identifier": "playwright_test_6a1968cf94022", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:22:07", + "updated_at": "2026-05-29 19:22:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 161, + "identifier": "playwright_test_6a1968cf9414d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:22:07", + "updated_at": "2026-05-29 19:22:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 162, + "identifier": "playwright_test_6a1968cf9420d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:22:07", + "updated_at": "2026-05-29 19:22:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 163, + "identifier": "playwright_test_6a1968cf982e6", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:22:07", + "updated_at": "2026-05-29 19:22:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 164, + "identifier": "playwright_test_6a196981999ce", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:25:05", + "updated_at": "2026-05-29 19:25:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 165, + "identifier": "playwright_test_6a1969819bef4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:25:05", + "updated_at": "2026-05-29 19:25:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 166, + "identifier": "playwright_test_6a1969819fdf5", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:25:05", + "updated_at": "2026-05-29 19:25:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 167, + "identifier": "playwright_test_6a196981a2128", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:25:05", + "updated_at": "2026-05-29 19:25:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 168, + "identifier": "playwright_test_6a196981a3151", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:25:05", + "updated_at": "2026-05-29 19:25:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 169, + "identifier": "playwright_test_6a196981a6422", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:25:05", + "updated_at": "2026-05-29 19:25:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 170, + "identifier": "playwright_test_6a196981ae952", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:25:05", + "updated_at": "2026-05-29 19:25:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 171, + "identifier": "playwright_test_6a1969d527124", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:26:29", + "updated_at": "2026-05-29 19:26:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 172, + "identifier": "playwright_test_6a196a1b8e6a9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:27:39", + "updated_at": "2026-05-29 19:27:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 173, + "identifier": "playwright_test_6a196a1b93f1a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:27:39", + "updated_at": "2026-05-29 19:27:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 174, + "identifier": "playwright_test_6a196a1b9b0fc", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:27:39", + "updated_at": "2026-05-29 19:27:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 175, + "identifier": "playwright_test_6a196a1ba1ea0", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:27:39", + "updated_at": "2026-05-29 19:27:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 176, + "identifier": "playwright_test_6a196a1ba38a3", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:27:39", + "updated_at": "2026-05-29 19:27:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 177, + "identifier": "playwright_test_6a196a1ba5c65", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:27:39", + "updated_at": "2026-05-29 19:27:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 178, + "identifier": "playwright_test_6a196a1badd87", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:27:39", + "updated_at": "2026-05-29 19:27:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 179, + "identifier": "playwright_test_6a196a559103f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:28:37", + "updated_at": "2026-05-29 19:28:37", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 180, + "identifier": "playwright_test_6a196a5591034", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:28:37", + "updated_at": "2026-05-29 19:28:37", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 181, + "identifier": "playwright_test_6a196a559a3ed", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:28:37", + "updated_at": "2026-05-29 19:28:37", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 183, + "identifier": "playwright_test_6a196a559e084", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:28:37", + "updated_at": "2026-05-29 19:28:37", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 184, + "identifier": "playwright_test_6a196a55a05c8", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:28:37", + "updated_at": "2026-05-29 19:28:37", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 185, + "identifier": "playwright_test_6a196a55a5420", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:28:37", + "updated_at": "2026-05-29 19:28:37", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 186, + "identifier": "playwright_test_6a196a7312546", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:29:07", + "updated_at": "2026-05-29 19:29:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 187, + "identifier": "playwright_test_6a196aa30dfa9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:29:55", + "updated_at": "2026-05-29 19:29:55", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 188, + "identifier": "playwright_test_6a196aa3160c7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:29:55", + "updated_at": "2026-05-29 19:29:55", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 189, + "identifier": "playwright_test_6a196aa3189f0", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:29:55", + "updated_at": "2026-05-29 19:29:55", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 190, + "identifier": "playwright_test_6a196aa31bb0a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:29:55", + "updated_at": "2026-05-29 19:29:55", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 191, + "identifier": "playwright_test_6a196aa31caba", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:29:55", + "updated_at": "2026-05-29 19:29:55", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 192, + "identifier": "playwright_test_6a196aa322af8", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:29:55", + "updated_at": "2026-05-29 19:29:55", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 193, + "identifier": "playwright_test_6a196ac46d4e0", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:30:28", + "updated_at": "2026-05-29 19:30:28", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 194, + "identifier": "playwright_test_6a196ac7aeb96", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:30:31", + "updated_at": "2026-05-29 19:30:31", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 195, + "identifier": "playwright_test_6a196acbd0a6f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:30:35", + "updated_at": "2026-05-29 19:30:35", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 196, + "identifier": "playwright_test_6a196acfbce93", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:30:39", + "updated_at": "2026-05-29 19:30:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 197, + "identifier": "playwright_test_6a196ad38acb6", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:30:43", + "updated_at": "2026-05-29 19:30:43", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 198, + "identifier": "playwright_test_6a196ad78bf8b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:30:47", + "updated_at": "2026-05-29 19:30:47", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 199, + "identifier": "playwright_test_6a196adb5007c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:30:51", + "updated_at": "2026-05-29 19:30:51", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 200, + "identifier": "playwright_test_6a196b5867eff", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:32:56", + "updated_at": "2026-05-29 19:32:56", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 201, + "identifier": "playwright_test_6a196b5c349ae", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:33:00", + "updated_at": "2026-05-29 19:33:00", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 202, + "identifier": "playwright_test_6a196b60617c1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:33:04", + "updated_at": "2026-05-29 19:33:04", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 203, + "identifier": "playwright_test_6a196b647f926", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:33:08", + "updated_at": "2026-05-29 19:33:08", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 204, + "identifier": "playwright_test_6a196b686340d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:33:12", + "updated_at": "2026-05-29 19:33:12", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 205, + "identifier": "playwright_test_6a196b6c7d717", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:33:16", + "updated_at": "2026-05-29 19:33:16", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 206, + "identifier": "playwright_test_6a196b709e16c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:33:20", + "updated_at": "2026-05-29 19:33:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 207, + "identifier": "playwright_test_6a196b74b669d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 19:33:24", + "updated_at": "2026-05-29 19:33:24", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 208, + "identifier": "playwright_test_6a197b162ca81", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:06", + "updated_at": "2026-05-29 20:40:06", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 209, + "identifier": "playwright_test_6a197b1dd570c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:13", + "updated_at": "2026-05-29 20:40:13", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 210, + "identifier": "playwright_test_6a197b223cc18", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:18", + "updated_at": "2026-05-29 20:40:18", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 211, + "identifier": "playwright_test_6a197b26688d1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:22", + "updated_at": "2026-05-29 20:40:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 212, + "identifier": "playwright_test_6a197b2a1b129", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:26", + "updated_at": "2026-05-29 20:40:26", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 213, + "identifier": "playwright_test_6a197b2e90690", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:30", + "updated_at": "2026-05-29 20:40:30", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 214, + "identifier": "playwright_test_6a197b3334f28", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:35", + "updated_at": "2026-05-29 20:40:35", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 215, + "identifier": "playwright_test_6a197b3770379", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:39", + "updated_at": "2026-05-29 20:40:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 216, + "identifier": "playwright_test_6a197b3bc6cd1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:43", + "updated_at": "2026-05-29 20:40:43", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 217, + "identifier": "playwright_test_6a197b406df82", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:48", + "updated_at": "2026-05-29 20:40:48", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 218, + "identifier": "playwright_test_6a197b4479732", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:52", + "updated_at": "2026-05-29 20:40:52", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 219, + "identifier": "playwright_test_6a197b48ce74d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:40:56", + "updated_at": "2026-05-29 20:40:56", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 220, + "identifier": "playwright_test_6a197bafb53d7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:42:39", + "updated_at": "2026-05-29 20:42:39", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 221, + "identifier": "playwright_test_6a197bb2e3d67", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:42:42", + "updated_at": "2026-05-29 20:42:42", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 222, + "identifier": "playwright_test_6a197bb674dee", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:42:46", + "updated_at": "2026-05-29 20:42:46", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 223, + "identifier": "playwright_test_6a197bb9d458b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:42:49", + "updated_at": "2026-05-29 20:42:49", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 224, + "identifier": "playwright_test_6a197bbd558fd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:42:53", + "updated_at": "2026-05-29 20:42:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 225, + "identifier": "playwright_test_6a197bc1053aa", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:42:57", + "updated_at": "2026-05-29 20:42:57", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 226, + "identifier": "playwright_test_6a197bc48f611", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:43:00", + "updated_at": "2026-05-29 20:43:00", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 227, + "identifier": "playwright_test_6a197bc9373ab", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:43:05", + "updated_at": "2026-05-29 20:43:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 228, + "identifier": "playwright_test_6a197bcd6d60d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:43:09", + "updated_at": "2026-05-29 20:43:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 229, + "identifier": "playwright_test_6a197bd18cd49", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:43:13", + "updated_at": "2026-05-29 20:43:13", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 230, + "identifier": "playwright_test_6a197bd54fde8", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:43:17", + "updated_at": "2026-05-29 20:43:17", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 231, + "identifier": "playwright_test_6a197bd8d1237", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:43:20", + "updated_at": "2026-05-29 20:43:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 232, + "identifier": "playwright_test_6a197e5b69386", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:54:03", + "updated_at": "2026-05-29 20:54:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 233, + "identifier": "playwright_test_6a197e6cd6e32", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:54:20", + "updated_at": "2026-05-29 20:54:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 234, + "identifier": "playwright_test_6a197e6cdacd2", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:54:20", + "updated_at": "2026-05-29 20:54:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 235, + "identifier": "playwright_test_6a197e6cde04b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:54:20", + "updated_at": "2026-05-29 20:54:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 236, + "identifier": "playwright_test_6a197e6ce261e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:54:20", + "updated_at": "2026-05-29 20:54:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 237, + "identifier": "playwright_test_6a197e6ce50e9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:54:20", + "updated_at": "2026-05-29 20:54:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 238, + "identifier": "playwright_test_6a197e6cf0bf9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:54:20", + "updated_at": "2026-05-29 20:54:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 239, + "identifier": "playwright_test_6a197f13b4fca", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 20:57:07", + "updated_at": "2026-05-29 20:57:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 240, + "identifier": "playwright_test_6a19807e46cca", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:10", + "updated_at": "2026-05-29 21:03:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 241, + "identifier": "playwright_test_6a19807e51ab4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:10", + "updated_at": "2026-05-29 21:03:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 242, + "identifier": "playwright_test_6a19807e60d80", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:10", + "updated_at": "2026-05-29 21:03:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 243, + "identifier": "playwright_test_6a19807e646fb", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:10", + "updated_at": "2026-05-29 21:03:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 244, + "identifier": "playwright_test_6a19807e66d36", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:10", + "updated_at": "2026-05-29 21:03:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 245, + "identifier": "playwright_test_6a19807e71b02", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:10", + "updated_at": "2026-05-29 21:03:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 246, + "identifier": "playwright_test_6a19807e721b6", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:10", + "updated_at": "2026-05-29 21:03:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 247, + "identifier": "playwright_test_6a19808badf52", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:23", + "updated_at": "2026-05-29 21:03:23", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 248, + "identifier": "playwright_test_6a19808ef0916", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:26", + "updated_at": "2026-05-29 21:03:26", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 249, + "identifier": "playwright_test_6a19809010c07", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:28", + "updated_at": "2026-05-29 21:03:28", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 250, + "identifier": "playwright_test_6a198090aada0", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:28", + "updated_at": "2026-05-29 21:03:28", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 251, + "identifier": "playwright_test_6a198090cc5f0", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:28", + "updated_at": "2026-05-29 21:03:28", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 252, + "identifier": "playwright_test_6a1980916a6a5", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:29", + "updated_at": "2026-05-29 21:03:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 253, + "identifier": "playwright_test_6a198091c5301", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:29", + "updated_at": "2026-05-29 21:03:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 254, + "identifier": "playwright_test_6a19809882ec9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:36", + "updated_at": "2026-05-29 21:03:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 255, + "identifier": "playwright_test_6a19809d28eae", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:41", + "updated_at": "2026-05-29 21:03:41", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 256, + "identifier": "playwright_test_6a1980a06ba2e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:44", + "updated_at": "2026-05-29 21:03:44", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 257, + "identifier": "playwright_test_6a1980a0a6baf", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:44", + "updated_at": "2026-05-29 21:03:44", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 258, + "identifier": "playwright_test_6a1980a127908", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:45", + "updated_at": "2026-05-29 21:03:45", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 259, + "identifier": "playwright_test_6a1980a14e863", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:45", + "updated_at": "2026-05-29 21:03:45", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 260, + "identifier": "playwright_test_6a1980a1bf543", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:45", + "updated_at": "2026-05-29 21:03:45", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 261, + "identifier": "playwright_test_6a1980a642d1f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:50", + "updated_at": "2026-05-29 21:03:50", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 262, + "identifier": "playwright_test_6a1980a9cfea9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:53", + "updated_at": "2026-05-29 21:03:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 263, + "identifier": "playwright_test_6a1980ac9af4d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:56", + "updated_at": "2026-05-29 21:03:56", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 264, + "identifier": "playwright_test_6a1980aedb251", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:58", + "updated_at": "2026-05-29 21:03:58", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 265, + "identifier": "playwright_test_6a1980afae345", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:59", + "updated_at": "2026-05-29 21:03:59", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 266, + "identifier": "playwright_test_6a1980afd5b45", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:03:59", + "updated_at": "2026-05-29 21:03:59", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 267, + "identifier": "playwright_test_6a1980b0789e3", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:04:00", + "updated_at": "2026-05-29 21:04:00", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 268, + "identifier": "playwright_test_6a1980b43ca0a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:04:04", + "updated_at": "2026-05-29 21:04:04", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 269, + "identifier": "playwright_test_6a1980dbee2cc", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:04:43", + "updated_at": "2026-05-29 21:04:43", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 270, + "identifier": "playwright_test_6a1980fb1e5a1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:05:15", + "updated_at": "2026-05-29 21:05:15", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 271, + "identifier": "playwright_test_6a198105e1bb5", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:05:25", + "updated_at": "2026-05-29 21:05:25", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 272, + "identifier": "playwright_test_6a198141aa08d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:06:25", + "updated_at": "2026-05-29 21:06:25", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 273, + "identifier": "playwright_test_6a198141aa0bc", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:06:25", + "updated_at": "2026-05-29 21:06:25", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 274, + "identifier": "playwright_test_6a19814cd787d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:06:36", + "updated_at": "2026-05-29 21:06:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 275, + "identifier": "playwright_test_6a19816110b0f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:06:57", + "updated_at": "2026-05-29 21:06:57", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 276, + "identifier": "playwright_test_6a19816bb16e7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:07:07", + "updated_at": "2026-05-29 21:07:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 277, + "identifier": "playwright_test_6a198181c8dcd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:07:29", + "updated_at": "2026-05-29 21:07:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 278, + "identifier": "playwright_test_6a1981bc705b5", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:28", + "updated_at": "2026-05-29 21:08:28", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 279, + "identifier": "playwright_test_6a1981bc70573", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:28", + "updated_at": "2026-05-29 21:08:28", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 280, + "identifier": "playwright_test_6a1981bc7263a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:28", + "updated_at": "2026-05-29 21:08:28", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 281, + "identifier": "playwright_test_6a1981c478e33", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:36", + "updated_at": "2026-05-29 21:08:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 282, + "identifier": "playwright_test_6a1981c4a56dc", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:36", + "updated_at": "2026-05-29 21:08:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 283, + "identifier": "playwright_test_6a1981c4d291c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:36", + "updated_at": "2026-05-29 21:08:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 284, + "identifier": "playwright_test_6a1981cbb966a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:43", + "updated_at": "2026-05-29 21:08:43", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 285, + "identifier": "playwright_test_6a1981cd5b5d9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:45", + "updated_at": "2026-05-29 21:08:45", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 286, + "identifier": "playwright_test_6a1981ce9dc9c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:46", + "updated_at": "2026-05-29 21:08:46", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 287, + "identifier": "playwright_test_6a1981d226840", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:50", + "updated_at": "2026-05-29 21:08:50", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 288, + "identifier": "playwright_test_6a1981d481bb5", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:52", + "updated_at": "2026-05-29 21:08:52", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 289, + "identifier": "playwright_test_6a1981d59f078", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:53", + "updated_at": "2026-05-29 21:08:53", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 290, + "identifier": "playwright_test_6a1981d84b085", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:56", + "updated_at": "2026-05-29 21:08:56", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 291, + "identifier": "playwright_test_6a1981dae683b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:08:58", + "updated_at": "2026-05-29 21:08:58", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 292, + "identifier": "playwright_test_6a1981dcbe497", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:09:00", + "updated_at": "2026-05-29 21:09:00", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 293, + "identifier": "playwright_test_6a1981df27e59", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:09:03", + "updated_at": "2026-05-29 21:09:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 294, + "identifier": "playwright_test_6a1981e168db2", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:09:05", + "updated_at": "2026-05-29 21:09:05", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 295, + "identifier": "playwright_test_6a1981e3d08e4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:09:07", + "updated_at": "2026-05-29 21:09:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 296, + "identifier": "playwright_test_6a1981e5694da", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:09:09", + "updated_at": "2026-05-29 21:09:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 297, + "identifier": "playwright_test_6a1981e8196bd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:09:12", + "updated_at": "2026-05-29 21:09:12", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 298, + "identifier": "playwright_test_6a1981ea4b473", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:09:14", + "updated_at": "2026-05-29 21:09:14", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 299, + "identifier": "playwright_test_6a1981ec7598d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:09:16", + "updated_at": "2026-05-29 21:09:16", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 300, + "identifier": "playwright_test_6a1988375dd50", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:36:07", + "updated_at": "2026-05-29 21:36:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 301, + "identifier": "playwright_test_6a19885689f88", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:36:38", + "updated_at": "2026-05-29 21:36:38", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 302, + "identifier": "playwright_test_6a1988760bfcb", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:37:10", + "updated_at": "2026-05-29 21:37:10", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 303, + "identifier": "playwright_test_6a19889516326", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:37:41", + "updated_at": "2026-05-29 21:37:41", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 304, + "identifier": "playwright_test_6a19893190f90", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:40:17", + "updated_at": "2026-05-29 21:40:17", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 305, + "identifier": "playwright_test_6a19893191217", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:40:17", + "updated_at": "2026-05-29 21:40:17", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 306, + "identifier": "playwright_test_6a198940b9b31", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:40:32", + "updated_at": "2026-05-29 21:40:32", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 307, + "identifier": "playwright_test_6a198940b9b3b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:40:32", + "updated_at": "2026-05-29 21:40:32", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 308, + "identifier": "playwright_test_6a19894a52760", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:40:42", + "updated_at": "2026-05-29 21:40:42", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 309, + "identifier": "playwright_test_6a198950eae0a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:40:48", + "updated_at": "2026-05-29 21:40:48", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 310, + "identifier": "playwright_test_6a1989530b23a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:40:51", + "updated_at": "2026-05-29 21:40:51", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 311, + "identifier": "playwright_test_6a1989f8b1598", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:43:36", + "updated_at": "2026-05-29 21:43:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 312, + "identifier": "playwright_test_6a1989f8b1d0b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:43:36", + "updated_at": "2026-05-29 21:43:36", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 313, + "identifier": "playwright_test_6a1989ff76f16", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:43:43", + "updated_at": "2026-05-29 21:43:43", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 314, + "identifier": "playwright_test_6a198a162e1d9", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:06", + "updated_at": "2026-05-29 21:44:06", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 315, + "identifier": "playwright_test_6a198a1803126", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:08", + "updated_at": "2026-05-29 21:44:08", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 316, + "identifier": "playwright_test_6a198a18dd42b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:08", + "updated_at": "2026-05-29 21:44:08", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 317, + "identifier": "playwright_test_6a198a2d55d8c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:29", + "updated_at": "2026-05-29 21:44:29", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 318, + "identifier": "playwright_test_6a198a32c717e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:34", + "updated_at": "2026-05-29 21:44:34", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 319, + "identifier": "playwright_test_6a198a33c221d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:35", + "updated_at": "2026-05-29 21:44:35", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 320, + "identifier": "playwright_test_6a198a3bea027", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:43", + "updated_at": "2026-05-29 21:44:43", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 321, + "identifier": "playwright_test_6a198a4163684", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:49", + "updated_at": "2026-05-29 21:44:49", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 322, + "identifier": "playwright_test_6a198a41b8f40", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:49", + "updated_at": "2026-05-29 21:44:49", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 323, + "identifier": "playwright_test_6a198a46a5aa6", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:44:54", + "updated_at": "2026-05-29 21:44:54", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 324, + "identifier": "playwright_test_6a198a4c625fd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:00", + "updated_at": "2026-05-29 21:45:00", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 325, + "identifier": "playwright_test_6a198a4e16d6e", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:02", + "updated_at": "2026-05-29 21:45:02", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 326, + "identifier": "playwright_test_6a198a4fa8c7d", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:03", + "updated_at": "2026-05-29 21:45:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 327, + "identifier": "playwright_test_6a198a5583846", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:09", + "updated_at": "2026-05-29 21:45:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 328, + "identifier": "playwright_test_6a198a58121df", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:12", + "updated_at": "2026-05-29 21:45:12", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 329, + "identifier": "playwright_test_6a198a595a542", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:13", + "updated_at": "2026-05-29 21:45:13", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 330, + "identifier": "playwright_test_6a198a5d8db59", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:17", + "updated_at": "2026-05-29 21:45:17", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 331, + "identifier": "playwright_test_6a198a60e76bd", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:20", + "updated_at": "2026-05-29 21:45:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 332, + "identifier": "playwright_test_6a198a62d84e1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:22", + "updated_at": "2026-05-29 21:45:22", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 333, + "identifier": "playwright_test_6a198a6579e0a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:25", + "updated_at": "2026-05-29 21:45:25", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 334, + "identifier": "playwright_test_6a198a6abebe2", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:30", + "updated_at": "2026-05-29 21:45:30", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 335, + "identifier": "playwright_test_6a198a6fe8b40", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:35", + "updated_at": "2026-05-29 21:45:35", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 336, + "identifier": "playwright_test_6a198a729d80f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:38", + "updated_at": "2026-05-29 21:45:38", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 337, + "identifier": "playwright_test_6a198a789551c", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:44", + "updated_at": "2026-05-29 21:45:44", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 338, + "identifier": "playwright_test_6a198a7e2a8a4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:50", + "updated_at": "2026-05-29 21:45:50", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 339, + "identifier": "playwright_test_6a198a804d094", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:52", + "updated_at": "2026-05-29 21:45:52", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 340, + "identifier": "playwright_test_6a198a85bd0bc", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:45:57", + "updated_at": "2026-05-29 21:45:57", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 341, + "identifier": "playwright_test_6a198a8b38116", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:46:03", + "updated_at": "2026-05-29 21:46:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 342, + "identifier": "playwright_test_6a198a916d135", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-29 21:46:09", + "updated_at": "2026-05-29 21:46:09", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 343, + "identifier": "playwright_test_6a1a6df0f3f90", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:56:16", + "updated_at": "2026-05-30 13:56:16", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 344, + "identifier": "playwright_test_6a1a6df0f3f9a", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:56:16", + "updated_at": "2026-05-30 13:56:16", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 345, + "identifier": "playwright_test_6a1a6df0f3ec1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:56:16", + "updated_at": "2026-05-30 13:56:16", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 346, + "identifier": "playwright_test_6a1a6df0f4087", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:56:16", + "updated_at": "2026-05-30 13:56:16", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 347, + "identifier": "playwright_test_6a1a6df0f41ee", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:56:17", + "updated_at": "2026-05-30 13:56:17", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 348, + "identifier": "playwright_test_6a1a6e979dde1", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:59:03", + "updated_at": "2026-05-30 13:59:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 349, + "identifier": "playwright_test_6a1a6e979de4f", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:59:03", + "updated_at": "2026-05-30 13:59:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 350, + "identifier": "playwright_test_6a1a6e979de31", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:59:03", + "updated_at": "2026-05-30 13:59:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 351, + "identifier": "playwright_test_6a1a6e97a1e6b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:59:03", + "updated_at": "2026-05-30 13:59:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 352, + "identifier": "playwright_test_6a1a6e97a20cf", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 13:59:03", + "updated_at": "2026-05-30 13:59:03", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 353, + "identifier": "playwright_test_6a1a6f021f628", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:00:50", + "updated_at": "2026-05-30 14:00:50", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 354, + "identifier": "playwright_test_6a1a6f021f633", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:00:50", + "updated_at": "2026-05-30 14:00:50", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 355, + "identifier": "playwright_test_6a1a6f022390b", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:00:50", + "updated_at": "2026-05-30 14:00:50", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 356, + "identifier": "playwright_test_6a1a6f02268a7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:00:50", + "updated_at": "2026-05-30 14:00:50", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 357, + "identifier": "playwright_test_6a1a6f022f471", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:00:50", + "updated_at": "2026-05-30 14:00:50", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 358, + "identifier": "playwright_test_6a1a6f53eb332", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:02:11", + "updated_at": "2026-05-30 14:02:11", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 359, + "identifier": "playwright_test_6a1a6f53f0fb7", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:02:11", + "updated_at": "2026-05-30 14:02:11", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 360, + "identifier": "playwright_test_6a1a6f53f10d4", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:02:11", + "updated_at": "2026-05-30 14:02:11", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 361, + "identifier": "playwright_test_6a1a6f53f1137", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:02:11", + "updated_at": "2026-05-30 14:02:11", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + }, + { + "id": 362, + "identifier": "playwright_test_6a1a6f5400fff", + "name": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "name_raw": "{\"ko\":\"Playwright \\ud14c\\uc2a4\\ud2b8 \\uad00\\ub9ac\\uc790\",\"en\":\"Playwright Test Admin\"}", + "description": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "description_raw": "{\"ko\":\"E2E \\uc790\\ub3d9\\ud654 \\uc804\\uc6a9\",\"en\":\"E2E automation only\"}", + "extension_type": null, + "extension_identifier": null, + "extension_name": null, + "is_deletable": true, + "is_active": true, + "created_at": "2026-05-30 14:02:12", + "updated_at": "2026-05-30 14:02:12", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true, + "can_toggle_status": true + } + } + ], + "pagination": { + "current_page": 1, + "last_page": 1, + "total": 1, + "per_page": 15 + }, + "abilities": { + "can_create": true, + "can_assign_roles": true + } + } + }, + "availableChannels": { + "data": { + "channels": [ + { + "id": "mail", + "name_key": "notification.channels.mail.name", + "icon": "fas fa-envelope", + "description_key": "notification.channels.mail.description", + "source": "core", + "source_label_key": "notification.channels.core_default", + "name": "메일", + "description": "이메일로 알림 발송", + "source_label": "코어 기본 채널", + "readiness": { + "ready": false, + "reason": "notification.readiness.mail_smtp_host_empty" + } + }, + { + "id": "database", + "name_key": "notification.channels.database.name", + "icon": "fas fa-bell", + "description_key": "notification.channels.database.description", + "source": "core", + "source_label_key": "notification.channels.core_default", + "name": "사이트내 알림", + "description": "사이트내 알림 센터에 표시", + "source_label": "코어 기본 채널", + "readiness": { + "ready": true, + "reason": null + } + } + ] + } + }, + "identityProviders": { + "data": [ + { + "identifier": "kginicis", + "name": "KG이니시스", + "channels": [ + "mobile", + "ipin" + ], + "enabled": true, + "config_status": "configured" + }, + { + "identifier": "nice", + "name": "나이스", + "channels": [ + "mobile" + ], + "enabled": false, + "config_status": "pending" + } + ] + }, + "identityPurposes": { + "data": [ + { + "id": 1, + "key": "signup", + "name": { + "ko": "회원가입", + "en": "Sign up" + }, + "enabled": true, + "channels": [ + "mobile" + ] + } + ] + }, + "identityPolicies": { + "data": [ + { + "id": 1, + "purpose_key": "signup", + "provider_identifier": "kginicis", + "enforcement": "required", + "scope": "all" + } + ] + }, + "notificationDefinitions": { + "data": { + "data": [ + { + "number": 1, + "id": 1, + "type": "welcome", + "hook_prefix": "core.auth", + "extension_type": "core", + "extension_identifier": "core", + "name": { + "ko": "회원가입 환영", + "en": "Welcome", + "ja": "会員登録 ウェルカム" + }, + "description": { + "ko": "회원가입 완료 시 발송되는 환영 알림", + "en": "Welcome notification sent upon registration" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "action_url", + "description": "로그인 페이지 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "core.auth.after_register" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 1, + "definition_id": 1, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 회원가입을 환영합니다", + "en": "[{app_name}] Welcome to Our Service", + "ja": "[{app_name}] 会員登録をお待ちしておりました" + }, + "body": { + "ko": "

{name}님, 환영합니다!

{app_name}에 가입해 주셔서 감사합니다.

이제 모든 서비스를 이용하실 수 있습니다. 아래 버튼을 클릭하여 로그인해 주세요.

로그인하기

감사합니다,
{app_name}

", + "en": "

Welcome, {name}!

Thank you for joining {app_name}.

You now have access to all our services. Click the button below to log in.

Log In

Thank you,
{app_name}

", + "ja": "

{name}様、ようこそ!

{app_name}にご登録いただきありがとうございます。

これで全てのサービスをご利用いただけます。以下のボタンをクリックしてログインしてください。

ログインする

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 2, + "definition_id": 1, + "channel": "database", + "subject": { + "ko": "회원가입을 환영합니다", + "en": "Welcome to our service", + "ja": "会員登録をお待ちしておりました" + }, + "body": { + "ko": "{name}님, {app_name}에 가입해 주셔서 감사합니다.", + "en": "Welcome {name}, thank you for joining {app_name}.", + "ja": "{name}様、{app_name}にご登録いただきありがとうございます。" + }, + "click_url": "/mypage", + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:44:00", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 2, + "id": 2, + "type": "reset_password", + "hook_prefix": "core.auth", + "extension_type": "core", + "extension_identifier": "core", + "name": { + "ko": "비밀번호 재설정", + "en": "Password Reset", + "ja": "パスワード再設定" + }, + "description": { + "ko": "비밀번호 재설정 요청 시 발송되는 알림", + "en": "Notification sent when password reset is requested" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "action_url", + "description": "비밀번호 재설정 URL" + }, + { + "key": "expire_minutes", + "description": "링크 만료 시간(분)" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "core.auth.after_reset_password_request" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 3, + "definition_id": 2, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 비밀번호 재설정 안내", + "en": "[{app_name}] Password Reset Request", + "ja": "[{app_name}] パスワード再設定のご案内" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

비밀번호 재설정 요청을 받았습니다. 아래 버튼을 클릭하여 비밀번호를 재설정해 주세요.

이 링크는 {expire_minutes}분 후 만료됩니다.

비밀번호 재설정

비밀번호 재설정을 요청하지 않으셨다면, 이 이메일을 무시해 주세요.

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

We received a request to reset your password. Click the button below to set a new password.

This link will expire in {expire_minutes} minutes.

Reset Password

If you did not request a password reset, please ignore this email.

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

パスワード再設定のご要望を承りました。以下のボタンをクリックしてパスワードを再設定してください。

このリンクは{expire_minutes}分後に期限切れになります。

パスワード再設定

パスワード再設定をご要望でなかった場合は、このメールを無視してください。

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 4, + "definition_id": 2, + "channel": "database", + "subject": { + "ko": "비밀번호 재설정 안내", + "en": "Password Reset Request", + "ja": "パスワード再設定のご案内" + }, + "body": { + "ko": "{name}님, 비밀번호 재설정이 요청되었습니다. 본인이 요청하지 않았다면 이 알림을 무시해 주세요.", + "en": "{name}, a password reset has been requested. If you did not request this, please ignore this notification.", + "ja": "{name}様、パスワード再設定が要求されました。ご本人様による操作でない場合は、この通知を無視してください。" + }, + "click_url": "{action_url}", + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:44:00", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 3, + "id": 3, + "type": "password_changed", + "hook_prefix": "core.auth", + "extension_type": "core", + "extension_identifier": "core", + "name": { + "ko": "비밀번호 변경", + "en": "Password Changed", + "ja": "パスワード変更" + }, + "description": { + "ko": "비밀번호 변경 완료 시 발송되는 알림", + "en": "Notification sent when password is changed" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "action_url", + "description": "로그인 페이지 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "core.auth.after_password_changed" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 5, + "definition_id": 3, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 비밀번호가 변경되었습니다", + "en": "[{app_name}] Your Password Has Been Changed", + "ja": "[{app_name}] パスワードが変更されました" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

계정의 비밀번호가 성공적으로 변경되었습니다.

본인이 변경하지 않았다면, 즉시 고객 지원팀에 문의하시기 바랍니다.

로그인하기

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

Your account password has been successfully changed.

If you did not make this change, please contact our support team immediately.

Log In

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

アカウントのパスワードが正常に変更されました。

ご本人様による操作でない場合は、直ちにカスタマーサポートまでお問い合わせください。

ログインする

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 6, + "definition_id": 3, + "channel": "database", + "subject": { + "ko": "비밀번호가 변경되었습니다", + "en": "Your password has been changed", + "ja": "パスワードが変更されました" + }, + "body": { + "ko": "{name}님, 비밀번호가 변경되었습니다. 본인이 변경하지 않았다면 즉시 고객 지원팀에 문의하시기 바랍니다.", + "en": "{name}, your password has been changed. If you did not make this change, please contact support immediately.", + "ja": "{name}様、パスワードが変更されました。ご本人様による操作でない場合は、直ちにカスタマーサポートまでお問い合わせください。" + }, + "click_url": "/mypage/change-password", + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:44:00", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 4, + "id": 4, + "type": "new_comment", + "hook_prefix": "sirsoft-board", + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "name": { + "ko": "새 댓글 알림", + "en": "New Comment Notification", + "ja": "新しいコメント通知" + }, + "description": { + "ko": "게시글에 새 댓글이 작성되면 게시글 작성자에게 발송", + "en": "Sent to post author when a new comment is posted", + "ja": "投稿に新しいコメントが作成されると、投稿者に送信されます" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "board_name", + "description": "게시판 이름" + }, + { + "key": "post_title", + "description": "게시글 제목" + }, + { + "key": "comment_author", + "description": "댓글 작성자" + }, + { + "key": "comment_content", + "description": "댓글 내용 (200자)" + }, + { + "key": "post_url", + "description": "게시글 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-board.comment.after_create" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 7, + "definition_id": 4, + "channel": "mail", + "subject": { + "ko": "[{board_name}] 게시글에 새 댓글이 등록되었습니다", + "en": "[{board_name}] New comment on your post", + "ja": "[{board_name}] 投稿に新しいコメントが登録されました" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

{board_name} 게시판의 게시글에 {comment_author}님이 댓글을 남겼습니다.

{comment_content}
게시글 보기

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

{comment_author} commented on your post in {board_name}.

{comment_content}
View Post

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

{board_name} 掲示板の投稿に {comment_author}様がコメントを残しました。

{comment_content}
投稿を表示

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "related_user", + "relation": "post_author", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 8, + "definition_id": 4, + "channel": "database", + "subject": { + "ko": "게시글에 새 댓글이 달렸습니다", + "en": "New comment on your post", + "ja": "投稿に新しいコメントが付きました" + }, + "body": { + "ko": "{comment_author}님이 '{board_name}' 게시글 '{post_title}'에 댓글을 남겼습니다.", + "en": "{comment_author} commented on your post '{post_title}' in '{board_name}'.", + "ja": "{comment_author}様が '{board_name}' の投稿 '{post_title}' にコメントを残しました。" + }, + "click_url": "{post_url}", + "recipients": [ + { + "type": "related_user", + "relation": "post_author", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 5, + "id": 5, + "type": "reply_comment", + "hook_prefix": "sirsoft-board", + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "name": { + "ko": "대댓글 알림", + "en": "Reply Comment Notification", + "ja": "返信通知" + }, + "description": { + "ko": "댓글에 대댓글이 작성되면 댓글 작성자에게 발송", + "en": "Sent to comment author when a reply is posted", + "ja": "コメントに返信が作成されると、コメント作成者に送信されます" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "board_name", + "description": "게시판 이름" + }, + { + "key": "post_title", + "description": "게시글 제목" + }, + { + "key": "comment_author", + "description": "답글 작성자" + }, + { + "key": "comment_content", + "description": "답글 내용 (200자)" + }, + { + "key": "post_url", + "description": "게시글 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-board.comment.after_create" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 9, + "definition_id": 5, + "channel": "mail", + "subject": { + "ko": "[{board_name}] 댓글에 답글이 등록되었습니다", + "en": "[{board_name}] Reply to your comment", + "ja": "[{board_name}] コメントに返信が登録されました" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

{board_name} 게시판에서 {comment_author}님이 댓글에 답글을 남겼습니다.

{comment_content}
게시글 보기

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

{comment_author} replied to your comment in {board_name}.

{comment_content}
View Post

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

{board_name} 掲示板で {comment_author}様がコメントに返信を残しました。

{comment_content}
投稿を表示

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "related_user", + "relation": "parent_comment_author", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 10, + "definition_id": 5, + "channel": "database", + "subject": { + "ko": "댓글에 답글이 달렸습니다", + "en": "New reply to your comment", + "ja": "コメントに返信が付きました" + }, + "body": { + "ko": "{comment_author}님이 '{board_name}'의 댓글에 답글을 남겼습니다.", + "en": "{comment_author} replied to your comment in '{board_name}'.", + "ja": "{comment_author}様が '{board_name}' のコメントに返信を残しました。" + }, + "click_url": "{post_url}", + "recipients": [ + { + "type": "related_user", + "relation": "parent_comment_author", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 6, + "id": 6, + "type": "post_reply", + "hook_prefix": "sirsoft-board", + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "name": { + "ko": "답변글 알림", + "en": "Post Reply Notification", + "ja": "回答通知" + }, + "description": { + "ko": "게시글에 답변글이 작성되면 원글 작성자에게 발송", + "en": "Sent to original post author when a reply post is created", + "ja": "投稿に回答が作成されると、元の投稿者に送信されます" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "board_name", + "description": "게시판 이름" + }, + { + "key": "post_title", + "description": "게시글 제목" + }, + { + "key": "post_url", + "description": "게시글 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-board.post.after_create" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 11, + "definition_id": 6, + "channel": "mail", + "subject": { + "ko": "[{board_name}] 게시글에 답변글이 등록되었습니다", + "en": "[{board_name}] Reply to your post", + "ja": "[{board_name}] 投稿に回答が登録されました" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

{board_name} 게시판의 게시글 \"{post_title}\"에 답변글이 등록되었습니다.

게시글 보기

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

A reply has been posted to your post \"{post_title}\" in {board_name}.

View Post

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

{board_name} 掲示板の投稿 \"{post_title}\" に回答が登録されました。

投稿を表示

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "related_user", + "relation": "original_post_author", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 12, + "definition_id": 6, + "channel": "database", + "subject": { + "ko": "게시글에 답변이 등록되었습니다", + "en": "A reply has been posted to your post", + "ja": "投稿に回答が登録されました" + }, + "body": { + "ko": "'{board_name}'의 게시글 '{post_title}'에 답변이 등록되었습니다.", + "en": "A reply has been posted to your post '{post_title}' in '{board_name}'.", + "ja": "'{board_name}' の投稿 '{post_title}' に回答が登録されました。" + }, + "click_url": "{post_url}", + "recipients": [ + { + "type": "related_user", + "relation": "original_post_author", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 7, + "id": 7, + "type": "post_action", + "hook_prefix": "sirsoft-board", + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "name": { + "ko": "게시글/댓글 처리 알림", + "en": "Content Action Notification", + "ja": "投稿/コメント処理通知" + }, + "description": { + "ko": "게시글/댓글 블라인드/삭제/복원 시 작성자에게 발송", + "en": "Sent to author on blind/delete/restore actions", + "ja": "投稿/コメント非表示/削除/復元時に作成者に送信されます" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "board_name", + "description": "게시판 이름" + }, + { + "key": "post_title", + "description": "게시글 제목" + }, + { + "key": "action_type", + "description": "처리 유형 (블라인드/삭제/복원)" + }, + { + "key": "target_type", + "description": "처리 대상 (게시글/댓글)" + }, + { + "key": "post_url", + "description": "게시글 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-board.post.after_blind", + "sirsoft-board.post.after_delete", + "sirsoft-board.post.after_restore", + "sirsoft-board.comment.after_blind", + "sirsoft-board.comment.after_delete", + "sirsoft-board.comment.after_restore" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 13, + "definition_id": 7, + "channel": "mail", + "subject": { + "ko": "[{board_name}] '{post_title}' {target_type}이(가) {action_type} 처리되었습니다", + "en": "[{board_name}] Your {target_type} \"{post_title}\" has been {action_type}", + "ja": "[{board_name}] '{post_title}' {target_type}が {action_type} 処理されました" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

{board_name} 게시판의 \"{post_title}\" {target_type}이(가) 관리자에 의해 {action_type} 처리되었습니다.

문의사항이 있으시면 관리자에게 연락해 주세요.

게시글 보기

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

Your {target_type} \"{post_title}\" in {board_name} has been {action_type} by an administrator.

If you have any questions, please contact the administrator.

View Post

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

{board_name} 掲示板の \"{post_title}\" {target_type}が管理者により {action_type} 処理されました。

ご質問がございましたら、管理者にお問い合わせください。

投稿を表示

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "related_user", + "relation": "post_author" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 14, + "definition_id": 7, + "channel": "database", + "subject": { + "ko": "{target_type}이(가) 처리되었습니다", + "en": "Your {target_type} has been actioned", + "ja": "{target_type}が処理されました" + }, + "body": { + "ko": "'{board_name}'의 '{post_title}' {target_type}이(가) {action_type} 처리되었습니다.", + "en": "Your {target_type} '{post_title}' in '{board_name}' has been {action_type}.", + "ja": "'{board_name}' の '{post_title}' {target_type}が {action_type} 処理されました。" + }, + "click_url": "{post_url}", + "recipients": [ + { + "type": "related_user", + "relation": "post_author" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 8, + "id": 8, + "type": "new_post_admin", + "hook_prefix": "sirsoft-board", + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "name": { + "ko": "새 게시글 관리자 알림", + "en": "New Post Admin Notification", + "ja": "新規投稿管理者通知" + }, + "description": { + "ko": "새 게시글 작성 시 관리자에게 발송", + "en": "Sent to admin when a new post is created", + "ja": "新しい投稿が作成されると、管理者に送信されます" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름 (관리자)" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "board_name", + "description": "게시판 이름" + }, + { + "key": "post_title", + "description": "게시글 제목" + }, + { + "key": "post_author", + "description": "게시글 작성자" + }, + { + "key": "post_url", + "description": "게시글 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-board.post.after_create" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 15, + "definition_id": 8, + "channel": "mail", + "subject": { + "ko": "[{board_name}] 새 게시글이 등록되었습니다", + "en": "[{board_name}] New post has been created", + "ja": "[{board_name}] 新しい投稿が登録されました" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

{board_name} 게시판에 {post_author}님이 새 게시글을 등록했습니다.

게시글 제목: {post_title}

게시글 보기

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

{post_author} created a new post in {board_name}.

Title: {post_title}

View Post

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

{board_name} 掲示板に {post_author}様が新しい投稿を登録しました。

投稿タイトル: {post_title}

投稿を表示

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "related_user", + "relation": "board_managers", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 16, + "definition_id": 8, + "channel": "database", + "subject": { + "ko": "새 게시글이 등록되었습니다", + "en": "New post registered", + "ja": "新しい投稿が登録されました" + }, + "body": { + "ko": "{post_author}님이 '{board_name}'에 새 게시글 '{post_title}'을 등록했습니다.", + "en": "{post_author} posted '{post_title}' in '{board_name}'.", + "ja": "{post_author}様が '{board_name}' に新しい投稿 '{post_title}' を登録しました。" + }, + "click_url": "{post_url}", + "recipients": [ + { + "type": "related_user", + "relation": "board_managers", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 9, + "id": 9, + "type": "report_received_admin", + "hook_prefix": "sirsoft-board", + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "name": { + "ko": "신고 접수 관리자 알림", + "en": "Report Received Admin Notification", + "ja": "通報受付管理者通知" + }, + "description": { + "ko": "신고 접수 시 관리자에게 발송", + "en": "Sent to admin when a report is received", + "ja": "通報受付時に管理者に送信されます" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "board_name", + "description": "게시판 이름" + }, + { + "key": "post_title", + "description": "신고 대상 게시글 제목" + }, + { + "key": "target_type", + "description": "신고 대상 유형 (게시글/댓글)" + }, + { + "key": "reason_type", + "description": "신고 사유" + }, + { + "key": "report_url", + "description": "신고 관리 페이지 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-board.report.after_create" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 17, + "definition_id": 9, + "channel": "mail", + "subject": { + "ko": "[{board_name}] \"{post_title}\"에 대한 신고가 접수되었습니다", + "en": "[{board_name}] A new report has been received for \"{post_title}\"", + "ja": "[{board_name}] \"{post_title}\" の通報が受け付けられました" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

{board_name} 게시판에서 {target_type} \"{post_title}\"에 대한 새 신고가 접수되었습니다.

신고 사유: {reason_type}

신고 관리 페이지로 이동

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

A new report has been received for the {target_type} \"{post_title}\" in {board_name}.

Reason: {reason_type}

Go to Report Management

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

{board_name} 掲示板で {target_type} \"{post_title}\" に対する新しい通報が受け付けられました。

通報理由: {reason_type}

通報管理ページに移動

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "permission", + "value": "sirsoft-board.reports.manage", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 18, + "definition_id": 9, + "channel": "database", + "subject": { + "ko": "신고가 접수되었습니다", + "en": "New report received", + "ja": "通報が受け付けられました" + }, + "body": { + "ko": "'{board_name}'의 {target_type} '{post_title}'에 대한 신고({reason_type})가 접수되었습니다.", + "en": "A report ({reason_type}) on {target_type} '{post_title}' in '{board_name}' has been received.", + "ja": "'{board_name}' の {target_type} '{post_title}' に対する通報({reason_type})が受け付けられました。" + }, + "click_url": "{report_url}", + "recipients": [ + { + "type": "permission", + "value": "sirsoft-board.reports.manage", + "exclude_trigger_user": true + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 10, + "id": 10, + "type": "report_action", + "hook_prefix": "sirsoft-board", + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "name": { + "ko": "신고 처리 결과 알림", + "en": "Report Action Notification", + "ja": "通報処理結果通知" + }, + "description": { + "ko": "신고 처리 완료 시 게시글 작성자에게 발송", + "en": "Sent to post author when a report action is taken", + "ja": "通報処理完了時に投稿作成者に送信されます" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트명" + }, + { + "key": "board_name", + "description": "게시판 이름" + }, + { + "key": "post_title", + "description": "게시글 제목" + }, + { + "key": "action_type", + "description": "처리 유형 (블라인드/삭제/복원)" + }, + { + "key": "target_type", + "description": "처리 대상 (게시글/댓글)" + }, + { + "key": "post_url", + "description": "게시글 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-board.post.after_blind", + "sirsoft-board.post.after_delete", + "sirsoft-board.post.after_restore", + "sirsoft-board.comment.after_blind", + "sirsoft-board.comment.after_delete", + "sirsoft-board.comment.after_restore" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 19, + "definition_id": 10, + "channel": "mail", + "subject": { + "ko": "[{board_name}] '{post_title}' {target_type}이(가) {action_type} 처리되었습니다", + "en": "[{board_name}] Your {target_type} \"{post_title}\" has been {action_type}", + "ja": "[{board_name}] '{post_title}' {target_type}が {action_type} 処理されました" + }, + "body": { + "ko": "

{name}님, 안녕하세요.

{board_name} 게시판의 \"{post_title}\" {target_type}이(가) 신고 처리에 의해 {action_type} 처리되었습니다.

문의사항이 있으시면 관리자에게 연락해 주세요.

게시글 보기

감사합니다,
{app_name}

", + "en": "

Hello, {name}.

Your {target_type} \"{post_title}\" in {board_name} has been {action_type} due to reports.

If you have any questions, please contact the administrator.

View Post

Thank you,
{app_name}

", + "ja": "

{name}様、こんにちは。

{board_name} 掲示板の \"{post_title}\" {target_type}が通報処理により {action_type} 処理されました。

ご質問がございましたら、管理者にお問い合わせください。

投稿を表示

ありがとうございます。
{app_name}

" + }, + "click_url": null, + "recipients": [ + { + "type": "related_user", + "relation": "post_author" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 20, + "definition_id": 10, + "channel": "database", + "subject": { + "ko": "신고 처리 결과 안내", + "en": "Report action result", + "ja": "通報処理結果案内" + }, + "body": { + "ko": "'{board_name}'의 '{post_title}' {target_type}이(가) {action_type} 처리되었습니다.", + "en": "Your {target_type} '{post_title}' in '{board_name}' has been {action_type}.", + "ja": "'{board_name}' の '{post_title}' {target_type}が {action_type} 処理されました。" + }, + "click_url": "{post_url}", + "recipients": [ + { + "type": "related_user", + "relation": "post_author" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 11, + "id": 11, + "type": "order_confirmed", + "hook_prefix": "sirsoft-ecommerce", + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "name": { + "ko": "주문 확인", + "en": "Order Confirmed", + "ja": "注文確認" + }, + "description": { + "ko": "주문 확인 시 고객에게 발송", + "en": "Sent to customer when order is confirmed", + "ja": "注文確認時に顧客に送信" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트 이름" + }, + { + "key": "order_number", + "description": "주문번호" + }, + { + "key": "total_amount", + "description": "결제 금액" + }, + { + "key": "order_url", + "description": "주문 상세 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-ecommerce.order.after_confirm" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 21, + "definition_id": 11, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 주문이 확인되었습니다 (주문번호: {order_number})", + "en": "[{app_name}] Your order has been confirmed (Order #{order_number})", + "ja": "[{app_name}] ご注文が確認されました (注文番号: {order_number})" + }, + "body": { + "ko": "

주문 확인

{name}님, 주문해 주셔서 감사합니다.

주문번호: {order_number}

결제금액: {total_amount}

주문 상세 내용은 아래 버튼을 클릭하여 확인하실 수 있습니다.


본 메일은 {app_name}에서 발송되었습니다.

", + "en": "

Order Confirmed

Dear {name}, thank you for your order.

Order Number: {order_number}

Total Amount: {total_amount}

Click the button below to view your order details.


This email was sent from {app_name}.

", + "ja": "

注文確認

{name}様、ご注文ありがとうございます。

注文番号: {order_number}

決済金額: {total_amount}

ご注文の詳細については、下のボタンをクリックしてご確認いただけます。


本メールは{app_name}から送信されています。

" + }, + "click_url": null, + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 22, + "definition_id": 11, + "channel": "database", + "subject": { + "ko": "주문이 확인되었습니다", + "en": "Your order has been confirmed", + "ja": "ご注文が確認されました" + }, + "body": { + "ko": "{name}님, 주문번호 {order_number}의 주문이 확인되었습니다.", + "en": "{name}, your order {order_number} has been confirmed.", + "ja": "{name}様、注文番号{order_number}のご注文が確認されました。" + }, + "click_url": "{order_url}", + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 12, + "id": 12, + "type": "order_shipped", + "hook_prefix": "sirsoft-ecommerce", + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "name": { + "ko": "배송 시작", + "en": "Order Shipped", + "ja": "配送開始" + }, + "description": { + "ko": "배송 시작 시 고객에게 발송", + "en": "Sent to customer when order is shipped", + "ja": "配送開始時に顧客に送信" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트 이름" + }, + { + "key": "order_number", + "description": "주문번호" + }, + { + "key": "carrier_name", + "description": "택배사 이름" + }, + { + "key": "tracking_number", + "description": "운송장 번호" + }, + { + "key": "order_url", + "description": "주문 상세 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-ecommerce.order.after_ship" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 23, + "definition_id": 12, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 주문하신 상품이 발송되었습니다 (주문번호: {order_number})", + "en": "[{app_name}] Your order has been shipped (Order #{order_number})", + "ja": "[{app_name}] ご注文の商品が発送されました (注文番号: {order_number})" + }, + "body": { + "ko": "

배송 시작 안내

{name}님, 주문하신 상품이 발송되었습니다.

주문번호: {order_number}

택배사: {carrier_name}

운송장번호: {tracking_number}

주문 상세 및 배송 현황은 아래 버튼을 클릭하여 확인하실 수 있습니다.


본 메일은 {app_name}에서 발송되었습니다.

", + "en": "

Order Shipped

Dear {name}, your order has been shipped.

Order Number: {order_number}

Carrier: {carrier_name}

Tracking Number: {tracking_number}

Click the button below to view your order and tracking details.


This email was sent from {app_name}.

", + "ja": "

配送開始のお知らせ

{name}様、ご注文の商品が発送されました。

注文番号: {order_number}

配送業者: {carrier_name}

送り状番号: {tracking_number}

ご注文の詳細および配送状況は、下のボタンをクリックしてご確認いただけます。


本メールは{app_name}から送信されています。

" + }, + "click_url": null, + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 24, + "definition_id": 12, + "channel": "database", + "subject": { + "ko": "상품이 발송되었습니다", + "en": "Your order has been shipped", + "ja": "商品が発送されました" + }, + "body": { + "ko": "{name}님, 주문번호 {order_number}이 {carrier_name}(송장번호: {tracking_number})으로 발송되었습니다.", + "en": "{name}, your order {order_number} has been shipped via {carrier_name} (tracking: {tracking_number}).", + "ja": "{name}様、注文番号{order_number}が{carrier_name}(送り状番号: {tracking_number})で発送されました。" + }, + "click_url": "{order_url}", + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 13, + "id": 13, + "type": "order_completed", + "hook_prefix": "sirsoft-ecommerce", + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "name": { + "ko": "구매 확정", + "en": "Order Completed", + "ja": "購入確定" + }, + "description": { + "ko": "구매 확정 시 고객에게 발송", + "en": "Sent to customer when order is completed", + "ja": "購入確定時に顧客に送信" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트 이름" + }, + { + "key": "order_number", + "description": "주문번호" + }, + { + "key": "total_amount", + "description": "결제 금액" + }, + { + "key": "order_url", + "description": "주문 상세 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-ecommerce.order.after_complete" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 25, + "definition_id": 13, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 구매가 확정되었습니다 (주문번호: {order_number})", + "en": "[{app_name}] Your purchase has been completed (Order #{order_number})", + "ja": "[{app_name}] ご購入が確定されました (注文番号: {order_number})" + }, + "body": { + "ko": "

구매 확정 안내

{name}님, 구매가 확정되었습니다. 이용해 주셔서 감사합니다.

주문번호: {order_number}

결제금액: {total_amount}

주문 내역은 아래 버튼을 클릭하여 확인하실 수 있습니다.


본 메일은 {app_name}에서 발송되었습니다.

", + "en": "

Purchase Completed

Dear {name}, your purchase has been completed. Thank you for shopping with us.

Order Number: {order_number}

Total Amount: {total_amount}

Click the button below to view your order history.


This email was sent from {app_name}.

", + "ja": "

購入確定のお知らせ

{name}様、ご購入が確定されました。ご利用ありがとうございます。

注文番号: {order_number}

決済金額: {total_amount}

ご注文内容は、下のボタンをクリックしてご確認いただけます。


本メールは{app_name}から送信されています。

" + }, + "click_url": null, + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 26, + "definition_id": 13, + "channel": "database", + "subject": { + "ko": "구매가 확정되었습니다", + "en": "Your purchase has been confirmed", + "ja": "ご購入が確定されました" + }, + "body": { + "ko": "{name}님, 주문번호 {order_number}의 구매가 확정되었습니다.", + "en": "{name}, your order {order_number} has been confirmed.", + "ja": "{name}様、注文番号{order_number}のご購入が確定されました。" + }, + "click_url": "{order_url}", + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 14, + "id": 14, + "type": "order_cancelled", + "hook_prefix": "sirsoft-ecommerce", + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "name": { + "ko": "주문 취소", + "en": "Order Cancelled", + "ja": "注文キャンセル" + }, + "description": { + "ko": "주문 취소 시 고객에게 발송", + "en": "Sent to customer when order is cancelled", + "ja": "注文キャンセル時に顧客に送信" + }, + "variables": [ + { + "key": "name", + "description": "수신자 이름" + }, + { + "key": "app_name", + "description": "사이트 이름" + }, + { + "key": "order_number", + "description": "주문번호" + }, + { + "key": "cancel_reason", + "description": "취소 사유" + }, + { + "key": "order_url", + "description": "주문 상세 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-ecommerce.order.after_cancel" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 27, + "definition_id": 14, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 주문이 취소되었습니다 (주문번호: {order_number})", + "en": "[{app_name}] Your order has been cancelled (Order #{order_number})", + "ja": "[{app_name}] ご注文がキャンセルされました (注文番号: {order_number})" + }, + "body": { + "ko": "

주문 취소 안내

{name}님, 주문이 취소되었습니다.

주문번호: {order_number}

취소 사유: {cancel_reason}

환불은 결제 수단에 따라 3~7영업일 이내에 처리됩니다. 주문 상세는 아래 버튼을 클릭하여 확인하실 수 있습니다.


본 메일은 {app_name}에서 발송되었습니다.

", + "en": "

Order Cancelled

Dear {name}, your order has been cancelled.

Order Number: {order_number}

Cancel Reason: {cancel_reason}

Refunds will be processed within 3-7 business days depending on your payment method. Click the button below to view your order details.


This email was sent from {app_name}.

", + "ja": "

注文キャンセルのお知らせ

{name}様、ご注文がキャンセルされました。

注文番号: {order_number}

キャンセル理由: {cancel_reason}

返金は、決済方法に応じて3~7営業日以内に処理されます。ご注文詳細は、下のボタンをクリックしてご確認いただけます。


本メールは{app_name}から送信されています。

" + }, + "click_url": null, + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 28, + "definition_id": 14, + "channel": "database", + "subject": { + "ko": "주문이 취소되었습니다", + "en": "Your order has been cancelled", + "ja": "ご注文がキャンセルされました" + }, + "body": { + "ko": "{name}님, 주문번호 {order_number}이 취소되었습니다. 사유: {cancel_reason}", + "en": "{name}, your order {order_number} has been cancelled. Reason: {cancel_reason}", + "ja": "{name}様、注文番号{order_number}がキャンセルされました。理由: {cancel_reason}" + }, + "click_url": "{order_url}", + "recipients": [ + { + "type": "trigger_user" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 15, + "id": 15, + "type": "new_order_admin", + "hook_prefix": "sirsoft-ecommerce", + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "name": { + "ko": "신규 주문 관리자 알림", + "en": "New Order Admin Notification", + "ja": "新規注文管理者通知" + }, + "description": { + "ko": "신규 주문 접수 시 관리자에게 발송", + "en": "Sent to admin when a new order is placed", + "ja": "新規注文受付時に管理者に送信" + }, + "variables": [ + { + "key": "name", + "description": "수신자(관리자) 이름" + }, + { + "key": "app_name", + "description": "사이트 이름" + }, + { + "key": "order_number", + "description": "주문번호" + }, + { + "key": "customer_name", + "description": "주문자 이름" + }, + { + "key": "total_amount", + "description": "결제 금액" + }, + { + "key": "order_url", + "description": "주문 관리 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-ecommerce.order.after_create" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 29, + "definition_id": 15, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 신규 주문이 접수되었습니다 (주문번호: {order_number})", + "en": "[{app_name}] New order received (Order #{order_number})", + "ja": "[{app_name}] 新規注文が受付されました (注文番号: {order_number})" + }, + "body": { + "ko": "

신규 주문 접수

{name}님, 새로운 주문이 접수되었습니다.

주문번호: {order_number}

주문자: {customer_name}

결제금액: {total_amount}

관리자 페이지에서 주문 상세를 확인해 주세요.


본 메일은 {app_name}에서 발송되었습니다.

", + "en": "

New Order Received

Dear {name}, a new order has been received.

Order Number: {order_number}

Customer: {customer_name}

Total Amount: {total_amount}

Please review the order details in the admin panel.


This email was sent from {app_name}.

", + "ja": "

新規注文受付

{name}様、新しいご注文が受付されました。

注文番号: {order_number}

ご注文者: {customer_name}

決済金額: {total_amount}

管理者ページでご注文詳細をご確認ください。


本メールは{app_name}から送信されています。

" + }, + "click_url": null, + "recipients": [ + { + "type": "role", + "value": "admin", + "exclude_trigger_user": true, + "display_name": "관리자" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 30, + "definition_id": 15, + "channel": "database", + "subject": { + "ko": "새로운 주문이 접수되었습니다", + "en": "New order received", + "ja": "新しいご注文が受付されました" + }, + "body": { + "ko": "{customer_name}님이 주문번호 {order_number} (결제금액: {total_amount})을 접수했습니다.", + "en": "{customer_name} placed order {order_number} (total: {total_amount}).", + "ja": "{customer_name}様が注文番号{order_number} (決済金額: {total_amount})を受付しました。" + }, + "click_url": "{order_url}", + "recipients": [ + { + "type": "role", + "value": "admin", + "exclude_trigger_user": true, + "display_name": "관리자" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 16, + "id": 16, + "type": "inquiry_received", + "hook_prefix": "sirsoft-ecommerce", + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "name": { + "ko": "상품 문의 접수", + "en": "Inquiry Received", + "ja": "商品問い合わせ受付" + }, + "description": { + "ko": "상품 문의 접수 시 관리자에게 발송", + "en": "Sent to admin when a product inquiry is received", + "ja": "商品問い合わせ受付時に管理者に送信" + }, + "variables": [ + { + "key": "name", + "description": "수신자(관리자) 이름" + }, + { + "key": "app_name", + "description": "사이트 이름" + }, + { + "key": "product_name", + "description": "상품명" + }, + { + "key": "customer_name", + "description": "문의자 이름" + }, + { + "key": "inquiry_content", + "description": "문의 내용 (요약)" + }, + { + "key": "inquiry_url", + "description": "문의 관리 URL" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-ecommerce.product_inquiry.after_create" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 31, + "definition_id": 16, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 새로운 상품 문의가 접수되었습니다", + "en": "[{app_name}] New product inquiry received", + "ja": "[{app_name}] 新しい商品問い合わせが受付されました" + }, + "body": { + "ko": "

새 상품 문의 접수

{name}님, 새로운 상품 문의가 접수되었습니다.

상품명: {product_name}

문의자: {customer_name}

문의 내용: {inquiry_content}

관리자 페이지에서 문의 내용을 확인하고 답변해 주세요.


본 메일은 {app_name}에서 발송되었습니다.

", + "en": "

New Product Inquiry

Dear {name}, a new product inquiry has been received.

Product: {product_name}

Customer: {customer_name}

Inquiry: {inquiry_content}

Please review the inquiry and provide a response in the admin panel.


This email was sent from {app_name}.

", + "ja": "

新しい商品問い合わせ受付

{name}様、新しい商品問い合わせが受付されました。

商品名: {product_name}

お問い合わせ者: {customer_name}

問い合わせ内容: {inquiry_content}

管理者ページで問い合わせ内容をご確認いただき、回答してください。


本メールは{app_name}から送信されています。

" + }, + "click_url": null, + "recipients": [ + { + "type": "role", + "value": "admin", + "exclude_trigger_user": true, + "display_name": "관리자" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 32, + "definition_id": 16, + "channel": "database", + "subject": { + "ko": "새로운 상품 문의가 접수되었습니다", + "en": "New product inquiry received", + "ja": "新しい商品問い合わせが受付されました" + }, + "body": { + "ko": "{customer_name}님이 \"{product_name}\" 상품에 문의를 남겼습니다.", + "en": "{customer_name} left an inquiry on \"{product_name}\".", + "ja": "{customer_name}様が\"{product_name}\"商品について問い合わせを送信しました。" + }, + "click_url": "{inquiry_url}", + "recipients": [ + { + "type": "role", + "value": "admin", + "exclude_trigger_user": true, + "display_name": "관리자" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "number": 17, + "id": 17, + "type": "inquiry_replied", + "hook_prefix": "sirsoft-ecommerce", + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "name": { + "ko": "문의 답변 완료", + "en": "Inquiry Replied", + "ja": "問い合わせ回答完了" + }, + "description": { + "ko": "문의 답변 시 고객에게 발송", + "en": "Sent to customer when inquiry is replied", + "ja": "問い合わせ回答時に顧客に送信" + }, + "variables": [ + { + "key": "name", + "description": "수신자(문의자) 이름" + }, + { + "key": "app_name", + "description": "사이트 이름" + }, + { + "key": "product_name", + "description": "상품명" + }, + { + "key": "inquiry_content", + "description": "원래 문의 내용 (요약)" + }, + { + "key": "inquiry_url", + "description": "문의 상세 URL (마이페이지)" + }, + { + "key": "site_url", + "description": "사이트 URL" + } + ], + "channels": [ + "mail", + "database" + ], + "hooks": [ + "sirsoft-ecommerce.product_inquiry.after_reply" + ], + "is_active": true, + "is_default": true, + "templates": [ + { + "id": 33, + "definition_id": 17, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 상품 문의에 답변이 등록되었습니다", + "en": "[{app_name}] Your product inquiry has been answered", + "ja": "[{app_name}] 商品問い合わせへの回答が登録されました" + }, + "body": { + "ko": "

문의 답변 안내

{name}님, 문의하신 내용에 답변이 등록되었습니다.

상품명: {product_name}

문의 내용: {inquiry_content}

아래 버튼을 클릭하여 답변 내용을 확인하세요.


본 메일은 {app_name}에서 발송되었습니다.

", + "en": "

Inquiry Answered

Dear {name}, your product inquiry has been answered.

Product: {product_name}

Your Inquiry: {inquiry_content}

Click the button below to view the response.


This email was sent from {app_name}.

", + "ja": "

問い合わせ回答のお知らせ

{name}様、お問い合わせいただいた内容に回答が登録されました。

商品名: {product_name}

問い合わせ内容: {inquiry_content}

下のボタンをクリックして回答内容をご確認ください。


本メールは{app_name}から送信されています。

" + }, + "click_url": null, + "recipients": [ + { + "type": "related_user", + "relation": "author" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 34, + "definition_id": 17, + "channel": "database", + "subject": { + "ko": "문의 답변이 등록되었습니다", + "en": "Your inquiry has been answered", + "ja": "問い合わせ回答が登録されました" + }, + "body": { + "ko": "{name}님, \"{product_name}\" 상품 문의에 답변이 등록되었습니다.", + "en": "{name}, your inquiry on \"{product_name}\" has been answered.", + "ja": "{name}様、\"{product_name}\"商品の問い合わせに回答が登録されました。" + }, + "click_url": "{inquiry_url}", + "recipients": [ + { + "type": "related_user", + "relation": "author" + } + ], + "is_active": true, + "is_default": true, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "pagination": { + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 17, + "from": 1, + "to": 17, + "has_more_pages": false + }, + "abilities": { + "can_update": true + } + } + }, + "activityLogs": { + "data": { + "data": [ + { + "id": 1, + "action": "user.login", + "description": "관리자 로그인", + "causer_name": "샘플 관리자", + "subject_type": "User", + "ip_address": "127.0.0.1", + "created_at": "2026-05-29T09:00:00+09:00" + }, + { + "id": 2, + "action": "post.created", + "description": "게시물 생성", + "causer_name": "샘플 회원", + "subject_type": "Post", + "ip_address": "192.168.0.10", + "created_at": "2026-05-28T15:30:00+09:00" + }, + { + "id": 3, + "action": "settings.updated", + "description": "환경설정 변경", + "causer_name": "샘플 관리자", + "subject_type": "Setting", + "ip_address": "127.0.0.1", + "created_at": "2026-05-27T11:20:00+09:00" + } + ], + "pagination": { + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3 + }, + "abilities": { + "can_delete": true + } + } + }, + "admin_menu": { + "data": [ + { + "id": 1, + "name": "대시보드", + "url": "/admin/dashboard", + "icon": "dashboard", + "parent_id": null, + "children": [] + }, + { + "id": 2, + "name": "회원 관리", + "url": "/admin/users", + "icon": "users", + "parent_id": null, + "children": [] + }, + { + "id": 3, + "name": "환경설정", + "url": "/admin/settings", + "icon": "settings", + "parent_id": null, + "children": [] + } + ] + }, + "adminIdentityPolicies": { + "data": { + "data": [ + { + "id": 21, + "key": "sirsoft-ecommerce.checkout.before_pay", + "scope": "hook", + "target": "sirsoft-ecommerce.checkout.before_payment", + "purpose": "checkout_verification", + "provider_id": null, + "grace_minutes": 30, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:43:19", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 20, + "key": "sirsoft-ecommerce.payment.confirm_deposit", + "scope": "hook", + "target": "sirsoft-ecommerce.payment.before_confirm_deposit", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:43:19", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 19, + "key": "sirsoft-ecommerce.payment.approve", + "scope": "hook", + "target": "sirsoft-ecommerce.payment.before_approve", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:43:19", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 18, + "key": "sirsoft-ecommerce.payment.cancel", + "scope": "hook", + "target": "sirsoft-ecommerce.payment.before_cancel", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "applies_to": "both", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:43:19", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 17, + "key": "sirsoft-board.post.user_create", + "scope": "hook", + "target": "sirsoft-board.post.before_create", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 16, + "key": "sirsoft-board.report.create", + "scope": "hook", + "target": "sirsoft-board.report.before_create", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 30, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 15, + "key": "sirsoft-board.comment.user_delete", + "scope": "hook", + "target": "sirsoft-board.comment.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 30, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 14, + "key": "sirsoft-board.post.user_delete", + "scope": "hook", + "target": "sirsoft-board.post.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 13, + "key": "sirsoft-board.report.delete", + "scope": "hook", + "target": "sirsoft-board.report.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 12, + "key": "sirsoft-board.report.bulk_action", + "scope": "hook", + "target": "sirsoft-board.report.before_bulk_update_status", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 11, + "key": "sirsoft-board.post.blind", + "scope": "hook", + "target": "sirsoft-board.post.before_blind", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 10, + "key": "sirsoft-board.post.delete", + "scope": "hook", + "target": "sirsoft-board.post.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 9, + "key": "core.admin.extension_uninstall", + "scope": "route", + "target": "api.admin.{modules,plugins}.uninstall", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 8, + "key": "core.admin.user_delete", + "scope": "hook", + "target": "core.user.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 7, + "key": "core.admin.app_key_regenerate", + "scope": "route", + "target": "api.admin.settings.regenerate-app-key", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 6, + "key": "core.account.withdraw", + "scope": "route", + "target": "api.me.destroy", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": true, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 5, + "key": "core.profile.contact_change", + "scope": "hook", + "target": "core.user.before_update", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": true, + "priority": 100, + "conditions": { + "changed_fields": [ + "email", + "phone", + "mobile" + ] + }, + "source_type": "core", + "source_identifier": "core", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 4, + "key": "core.profile.password_change", + "scope": "route", + "target": "api.me.password", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": true, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 3, + "key": "core.auth.password_reset", + "scope": "hook", + "target": "core.auth.before_reset_password", + "purpose": "password_reset", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "both", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 2, + "key": "core.auth.signup_after_create", + "scope": "hook", + "target": "core.auth.after_register", + "purpose": "signup", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": { + "signup_stage": "after_create" + }, + "source_type": "core", + "source_identifier": "core", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + }, + "meta": { + "current_page": 1, + "per_page": 20, + "total": 21, + "last_page": 2 + } + } + }, + "appKey": { + "data": { + "app_key": "{MASKED}" + } + }, + "auto_deactivated_banner": { + "data": { + "items": { + "modules": [ + { + "identifier": "sirsoft-legacy", + "name": "레거시 모듈", + "reason": "dependency_missing", + "deactivated_at": "2026-05-25T10:00:00+09:00" + } + ], + "plugins": [], + "templates": [] + } + } + }, + "clone_source": { + "data": { + "id": 2, + "name": { + "ko": "운영자", + "en": "Manager" + }, + "key": "manager", + "description": "운영 권한 역할", + "is_system": false, + "type": "custom", + "types": [ + "custom", + "system" + ], + "scope_options": [ + "all", + "own" + ], + "scopes": { + "core.posts": "all" + }, + "permission_scopes": { + "core.posts": "all" + }, + "permissions": [ + "core.users.view", + "core.posts.view", + "core.posts.edit" + ] + } + }, + "current_extension": { + "data": { + "identifier": "ecommerce_sidebar", + "extension_type": "module", + "target_name": "_admin_base", + "source_label": "이커머스", + "is_modified": false, + "lock_version": 3, + "content": "{\n \"target\": \"_admin_base\",\n \"components\": []\n}", + "abilities": { + "can_update": true + } + } + }, + "current_layout": { + "data": { + "name": "admin_dashboard.json", + "path": "layouts/admin_dashboard.json", + "description": "관리자 대시보드 레이아웃", + "content": "{\n \"extends\": \"_admin_base\",\n \"components\": []\n}", + "has_update": false, + "lock_version": 3, + "updated_at": "2026-05-28T10:00:00+09:00", + "abilities": { + "can_update": true + } + } + }, + "current_user": { + "data": { + "id": 1, + "uuid": "sample-uuid-admin", + "name": "샘플 관리자", + "email": "admin@example.com", + "avatar_url": null, + "roles": [ + "super_admin" + ], + "permissions": [ + "core.*" + ] + } + }, + "dashboard_activities": { + "data": [ + { + "id": 1, + "title": "관리자 로그인", + "subtitle": "샘플 관리자", + "description": "샘플 관리자님이 로그인했습니다.", + "time": "2026-05-29T09:00:00+09:00" + }, + { + "id": 2, + "title": "게시물 등록", + "subtitle": "샘플 회원", + "description": "새 게시물이 등록되었습니다.", + "time": "2026-05-28T15:30:00+09:00" + }, + { + "id": 3, + "title": "주문 발생", + "subtitle": "고객", + "description": "신규 주문이 접수되었습니다.", + "time": "2026-05-28T12:10:00+09:00" + } + ] + }, + "dashboard_recent_notifications": { + "data": [ + { + "id": 301, + "type": "user_registration", + "channel": "email", + "recipient": "관리자", + "subject": "새로운 사용자 가입: 홍길동", + "status": "sent", + "time": "2 hours ago", + "timestamp": "2026-06-21T14:00:00+09:00" + }, + { + "id": 302, + "type": "order_confirmed", + "channel": "email", + "recipient": "김영희", + "subject": "주문 확인 (주문번호: 20260621-0001)", + "status": "sent", + "time": "1 hour ago", + "timestamp": "2026-06-21T15:00:00+09:00" + }, + { + "id": 303, + "type": "payment_reminder", + "channel": "sms", + "recipient": "박철수", + "subject": "입금 대기 안내", + "status": "sent", + "time": "30 minutes ago", + "timestamp": "2026-06-21T15:30:00+09:00" + }, + { + "id": 304, + "type": "shipment_notification", + "channel": "database", + "recipient": "이순신", + "subject": "배송 시작 알림", + "status": "pending", + "time": "10 minutes ago", + "timestamp": "2026-06-21T15:50:00+09:00" + }, + { + "id": 305, + "type": "review_request", + "channel": "email", + "recipient": "정하윤", + "subject": "상품 리뷰 작성 요청", + "status": "failed", + "time": "5 minutes ago", + "timestamp": "2026-06-21T15:55:00+09:00" + } + ] + }, + "dashboard_alerts": { + "data": { + "data": [] + } + }, + "dashboard_modules": { + "data": { + "data": [ + { + "identifier": "sirsoft-ecommerce", + "name": "이커머스", + "version": "1.0.0", + "status": "active" + }, + { + "identifier": "sirsoft-board", + "name": "게시판", + "version": "1.0.0", + "status": "active" + }, + { + "identifier": "sirsoft-page", + "name": "페이지", + "version": "1.0.0", + "status": "active" + } + ], + "current_page": 1, + "last_page": 1, + "per_page": 5, + "total": 3 + } + }, + "dashboard_plugins": { + "data": { + "data": [ + { + "identifier": "sirsoft-payment", + "name": "결제", + "version": "1.0.0", + "status": "active" + }, + { + "identifier": "sirsoft-seo", + "name": "SEO", + "version": "1.1.0", + "status": "active" + }, + { + "identifier": "sirsoft-analytics", + "name": "통계", + "version": "0.9.0", + "status": "inactive" + } + ], + "current_page": 1, + "last_page": 1, + "per_page": 5, + "total": 3 + } + }, + "dashboard_resources": { + "data": { + "cpu": { + "percentage": 32 + }, + "memory": { + "percentage": 58 + }, + "disk": { + "percentage": 71 + } + } + }, + "dashboard_resources_ws": { + "data": [] + }, + "dashboard_stats": { + "data": { + "total_users": { + "count": 1284, + "change_display": "+5.2%" + }, + "installed_modules": { + "total": 3, + "active": 3 + }, + "active_plugins": { + "total": 3, + "active": 2 + }, + "system_status": { + "label": "정상" + }, + "today_orders": { + "pending_payment": 4, + "payment_complete": 12, + "preparing": 6, + "shipping_ready": 3, + "shipping": 8, + "cancellations": 1, + "returns": 2 + }, + "today_posts": { + "posts": 18, + "comments": 42 + } + } + }, + "dashboard_stats_ws": { + "data": [] + }, + "dashboard_templates": { + "data": { + "data": [ + { + "identifier": "sirsoft-admin_basic", + "name": "관리자 기본", + "version": "1.0.0", + "status": "active", + "type": "admin" + }, + { + "identifier": "sirsoft-basic", + "name": "사용자 기본", + "version": "1.0.0", + "status": "active", + "type": "user" + }, + { + "identifier": "sirsoft-shop", + "name": "쇼핑몰", + "version": "0.8.0", + "status": "inactive", + "type": "user" + } + ], + "current_page": 1, + "last_page": 1, + "per_page": 5, + "total": 3 + } + }, + "extension_versions": { + "data": [ + { + "id": 3, + "version": "1.0.0", + "created_at": "2026-05-28T10:00:00+09:00", + "is_current": true + }, + { + "id": 2, + "version": "0.9.0", + "created_at": "2026-05-20T10:00:00+09:00", + "is_current": false + }, + { + "id": 1, + "version": "0.8.0", + "created_at": "2026-05-10T10:00:00+09:00", + "is_current": false + } + ] + }, + "identityLogs": { + "data": { + "data": [ + { + "id": 1, + "provider": "KG이니시스", + "purpose": "회원가입", + "channel": "mobile", + "status": "success", + "created_at": "2026-05-29T09:00:00+09:00" + }, + { + "id": 2, + "provider": "나이스", + "purpose": "비밀번호 재설정", + "channel": "mobile", + "status": "failed", + "created_at": "2026-05-28T18:00:00+09:00" + }, + { + "id": 3, + "provider": "KG이니시스", + "purpose": "회원가입", + "channel": "ipin", + "status": "success", + "created_at": "2026-05-27T14:00:00+09:00" + } + ], + "pagination": { + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3 + }, + "abilities": { + "can_purge": true + } + } + }, + "identityMessages": { + "data": { + "data": [ + { + "key": "signup.request", + "name": "회원가입 인증 요청", + "channel": "mobile", + "enabled": true + }, + { + "key": "signup.success", + "name": "회원가입 인증 완료", + "channel": "mobile", + "enabled": true + }, + { + "key": "reset.request", + "name": "비밀번호 재설정 인증", + "channel": "mobile", + "enabled": false + } + ], + "meta": { + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3 + }, + "abilities": { + "can_create": true + } + } + }, + "installed_plugins": { + "data": [ + { + "identifier": "sirsoft-payment", + "name": "결제", + "version": "1.0.0", + "status": "active", + "enabled": true + }, + { + "identifier": "sirsoft-seo", + "name": "SEO", + "version": "1.1.0", + "status": "active", + "enabled": true + } + ] + }, + "items": { + "data": { + "data": [ + { + "id": 1, + "title": "샘플 항목 1", + "status": "published", + "created_at": "2026-05-29T09:00:00+09:00" + }, + { + "id": 2, + "title": "샘플 항목 2", + "status": "draft", + "created_at": "2026-05-28T09:00:00+09:00" + }, + { + "id": 3, + "title": "샘플 항목 3", + "status": "published", + "created_at": "2026-05-27T09:00:00+09:00" + } + ], + "meta": { + "total": 3, + "per_page": 20, + "current_page": 1, + "last_page": 1 + } + } + }, + "language_pack_changelog": { + "data": [ + { + "version": "1.2.0", + "date": "2026-05-25", + "changes": [ + "신규 키 12건 추가", + "오타 수정" + ] + }, + { + "version": "1.1.0", + "date": "2026-05-10", + "changes": [ + "일본어 번역 보강" + ] + }, + { + "version": "1.0.0", + "date": "2026-04-30", + "changes": [ + "최초 릴리스" + ] + } + ] + }, + "language_pack_detail": { + "data": { + "identifier": "g7-core-ja", + "name": "일본어 언어팩", + "version": "1.2.0", + "locale": "ja", + "locale_native_name": "日本語", + "scope": "core", + "vendor": "sirsoft", + "license": "MIT", + "description": "코어 일본어 번역 팩", + "status": "active", + "source_type": "bundled", + "source_url": "", + "github_url": "", + "text_direction": "ltr", + "is_protected": true, + "has_update": false, + "target_identifier": "core", + "target_version_constraint": "^1.0", + "target_version_mismatch": false, + "installed_at": "2026-04-30T09:00:00+09:00", + "activated_at": "2026-04-30T09:00:00+09:00", + "manifest": { + "g7_version": "^1.0" + }, + "source_meta": { + "latest_version": "1.2.0" + }, + "validation_summary": { + "depends_on_core_locale": false + }, + "changelog_entries": [ + { + "version": "1.2.0", + "date": "2026-05-25", + "changes": [ + "신규 키 12건 추가" + ] + }, + { + "version": "1.1.0", + "date": "2026-05-10", + "changes": [ + "번역 보강" + ] + } + ] + } + }, + "language_packs": { + "data": { + "data": [ + { + "id": 1, + "code": "ko", + "name": "한국어 언어팩", + "version": "1.2.0", + "installed": true + }, + { + "id": 2, + "code": "en", + "name": "English Pack", + "version": "1.1.0", + "installed": true + }, + { + "id": 3, + "code": "ja", + "name": "日本語パック", + "version": "1.0.0", + "installed": false + } + ], + "meta": { + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3 + }, + "abilities": { + "can_install": true, + "can_check_updates": true, + "can_refresh_cache": true, + "can_update": true + } + } + }, + "layout_extensions": { + "data": [ + { + "identifier": "ecommerce_sidebar", + "name": "이커머스 사이드바", + "target": "_admin_base", + "enabled": true + }, + { + "identifier": "board_widget", + "name": "게시판 위젯", + "target": "admin_dashboard", + "enabled": true + }, + { + "identifier": "page_footer", + "name": "페이지 푸터", + "target": "_user_base", + "enabled": false + } + ] + }, + "layout_files": { + "data": [ + { + "name": "admin_dashboard.json", + "path": "layouts/admin_dashboard.json" + }, + { + "name": "admin_user_list.json", + "path": "layouts/admin_user_list.json" + }, + { + "name": "_admin_base.json", + "path": "layouts/_admin_base.json" + } + ] + }, + "layout_versions": { + "data": [ + { + "id": 3, + "version": "v3", + "created_at": "2026-05-28T10:00:00+09:00", + "is_current": true + }, + { + "id": 2, + "version": "v2", + "created_at": "2026-05-20T10:00:00+09:00", + "is_current": false + }, + { + "id": 1, + "version": "v1", + "created_at": "2026-05-10T10:00:00+09:00", + "is_current": false + } + ] + }, + "menus": { + "data": { + "data": [ + { + "id": 1, + "name": { + "ko": "대시보드", + "en": "Dashboard", + "ja": "ダッシュボード" + }, + "slug": "admin-dashboard", + "url": "/admin/dashboard", + "icon": "fas fa-tachometer-alt", + "order": 1, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + }, + { + "id": 2, + "name": { + "ko": "매니저", + "en": "Manager", + "ja": "マネージャー" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 2, + "name": { + "ko": "환경설정", + "en": "Settings", + "ja": "環境設定" + }, + "slug": "admin-settings", + "url": "/admin/settings", + "icon": "fas fa-cog", + "order": 2, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 3, + "name": { + "ko": "알림 발송 이력", + "en": "Notification Logs", + "ja": "通知発送履歴" + }, + "slug": "admin-notification-logs", + "url": "/admin/notification-logs", + "icon": "fas fa-bell", + "order": 3, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 4, + "name": { + "ko": "본인인증 이력", + "en": "Identity Logs", + "ja": "本人認証履歴" + }, + "slug": "admin-identity-logs", + "url": "/admin/identity/logs", + "icon": "fas fa-clipboard-check", + "order": 4, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 5, + "name": { + "ko": "활동 로그", + "en": "Activity Logs", + "ja": "アクティビティログ" + }, + "slug": "admin-activity-logs", + "url": "/admin/activity-logs", + "icon": "fas fa-history", + "order": 5, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 6, + "name": { + "ko": "메뉴 관리", + "en": "Menu Management", + "ja": "メニュー管理" + }, + "slug": "admin-menus", + "url": "/admin/menus", + "icon": "fas fa-bars", + "order": 6, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 7, + "name": { + "ko": "사용자 관리", + "en": "User Management", + "ja": "ユーザー管理" + }, + "slug": "admin-users", + "url": "/admin/users", + "icon": "fas fa-users", + "order": 7, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 8, + "name": { + "ko": "권한 관리", + "en": "Permission Management", + "ja": "権限管理" + }, + "slug": "admin-roles", + "url": "/admin/roles", + "icon": "fas fa-lock", + "order": 8, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 9, + "name": { + "ko": "모듈 관리", + "en": "Module Management", + "ja": "モジュール管理" + }, + "slug": "admin-modules", + "url": "/admin/modules", + "icon": "fas fa-cube", + "order": 9, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 10, + "name": { + "ko": "플러그인 관리", + "en": "Plugin Management", + "ja": "プラグイン管理" + }, + "slug": "admin-plugins", + "url": "/admin/plugins", + "icon": "fas fa-puzzle-piece", + "order": 10, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 11, + "name": { + "ko": "템플릿 관리", + "en": "Template Management", + "ja": "テンプレート管理" + }, + "slug": "admin-templates", + "url": "/admin/templates", + "icon": "fas fa-palette", + "order": 11, + "is_active": true, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 12, + "name": { + "ko": "스케쥴 관리", + "en": "Schedule Management", + "ja": "スケジュール管理" + }, + "slug": "admin-schedules", + "url": "/admin/schedules", + "icon": "fas fa-clock", + "order": 12, + "is_active": false, + "parent_id": null, + "extension_type": "core", + "extension_identifier": "core", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:59", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 28, + "name": { + "ko": "페이지 관리", + "en": "Page Management", + "ja": "ページ管理" + }, + "slug": "sirsoft-page", + "url": "/admin/pages", + "icon": "fas fa-file-alt", + "order": 25, + "is_active": true, + "parent_id": null, + "extension_type": "module", + "extension_identifier": "sirsoft-page", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:35", + "updated_at": "2026-05-23 22:44:03", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 13, + "name": { + "ko": "게시판 관리", + "en": "Board Management", + "ja": "掲示板管理" + }, + "slug": "sirsoft-board", + "url": null, + "icon": "fas fa-clipboard-list", + "order": 30, + "is_active": true, + "parent_id": null, + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "children": [ + { + "id": 14, + "name": { + "ko": "환경설정", + "en": "Settings", + "ja": "環境設定" + }, + "slug": "sirsoft-board-settings", + "url": "/admin/boards/settings", + "icon": "fas fa-cog", + "order": 1, + "is_active": true, + "parent_id": 13, + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 15, + "name": { + "ko": "게시판 목록", + "en": "Board List", + "ja": "掲示板一覧" + }, + "slug": "sirsoft-board-list", + "url": "/admin/boards", + "icon": "fas fa-list", + "order": 2, + "is_active": true, + "parent_id": 13, + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 16, + "name": { + "ko": "게시판 신고현황", + "en": "Board Reports", + "ja": "掲示板通報状況" + }, + "slug": "sirsoft-board-reports", + "url": "/admin/boards/reports", + "icon": "fas fa-flag", + "order": 3, + "is_active": true, + "parent_id": 13, + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + } + ], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:44:01", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 17, + "name": { + "ko": "이커머스", + "en": "Ecommerce", + "ja": "eコマース" + }, + "slug": "sirsoft-ecommerce", + "url": null, + "icon": "fas fa-shopping-cart", + "order": 40, + "is_active": true, + "parent_id": null, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "children": [ + { + "id": 18, + "name": { + "ko": "환경설정", + "en": "Settings", + "ja": "環境設定" + }, + "slug": "sirsoft-ecommerce-settings", + "url": "/admin/ecommerce/settings", + "icon": "fas fa-cog", + "order": 1, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 19, + "name": { + "ko": "상품 관리", + "en": "Products", + "ja": "商品管理" + }, + "slug": "sirsoft-ecommerce-products", + "url": "/admin/ecommerce/products", + "icon": "fas fa-box", + "order": 2, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 20, + "name": { + "ko": "카테고리 관리", + "en": "Categories", + "ja": "カテゴリ管理" + }, + "slug": "sirsoft-ecommerce-categories", + "url": "/admin/ecommerce/categories", + "icon": "fas fa-folder", + "order": 3, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 21, + "name": { + "ko": "브랜드 관리", + "en": "Brands", + "ja": "ブランド管理" + }, + "slug": "sirsoft-ecommerce-brands", + "url": "/admin/ecommerce/brands", + "icon": "fas fa-tag", + "order": 4, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 22, + "name": { + "ko": "상품정보제공고시", + "en": "Product Notice", + "ja": "商品情報提供告示" + }, + "slug": "sirsoft-ecommerce-product-notices", + "url": "/admin/ecommerce/product-notices", + "icon": "fas fa-file-alt", + "order": 5, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 23, + "name": { + "ko": "공통정보 관리", + "en": "Common Info", + "ja": "共通情報管理" + }, + "slug": "sirsoft-ecommerce-common-info", + "url": "/admin/ecommerce/common-info", + "icon": "fas fa-info-circle", + "order": 6, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 24, + "name": { + "ko": "주문 관리", + "en": "Orders", + "ja": "注文管理" + }, + "slug": "sirsoft-ecommerce-orders", + "url": "/admin/ecommerce/orders", + "icon": "fas fa-receipt", + "order": 7, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 25, + "name": { + "ko": "쿠폰 관리", + "en": "Coupons", + "ja": "クーポン管理" + }, + "slug": "sirsoft-ecommerce-promotion-coupons", + "url": "/admin/ecommerce/promotion-coupons", + "icon": "fas fa-ticket-alt", + "order": 8, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 26, + "name": { + "ko": "배송정책", + "en": "Shipping Policies", + "ja": "配送ポリシー" + }, + "slug": "sirsoft-ecommerce-shipping-policies", + "url": "/admin/ecommerce/shipping-policies", + "icon": "fas fa-truck", + "order": 9, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + }, + { + "id": 27, + "name": { + "ko": "리뷰 관리", + "en": "Reviews", + "ja": "レビュー管理" + }, + "slug": "sirsoft-ecommerce-reviews", + "url": "/admin/ecommerce/reviews", + "icon": "fas fa-star", + "order": 10, + "is_active": true, + "parent_id": 17, + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ] + } + ], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:44:02", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + }, + { + "id": 29, + "name": { + "ko": "GDPR 동의 이력", + "en": "GDPR Consent Log" + }, + "slug": "sirsoft-gdpr-consent-log", + "url": "/admin/plugins/sirsoft-gdpr/consent-log", + "icon": "fas fa-user-shield", + "order": 50, + "is_active": true, + "parent_id": null, + "extension_type": "plugin", + "extension_identifier": "sirsoft-gdpr", + "children": [], + "creator": null, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator", + "ja": "管理者" + }, + "permission_type": "read" + }, + { + "id": 6, + "name": { + "ko": "개인정보 운영자", + "en": "Privacy Operator", + "ja": "個人情報管理者" + }, + "permission_type": "read" + } + ], + "created_at": "2026-05-23 22:43:42", + "updated_at": "2026-05-23 22:43:42", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } + ], + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } + }, + "moduleDetail": { + "data": { + "identifier": "sirsoft-ecommerce", + "name": "이커머스", + "version": "1.0.0", + "description": "쇼핑몰 모듈", + "author": "sirsoft", + "status": "active", + "enabled": true, + "dependencies": [], + "permissions": [ + "ecommerce.products.manage", + "ecommerce.orders.manage" + ], + "menus": [ + { + "name": "상품 관리", + "url": "/admin/ecommerce/products" + } + ], + "changelog": [ + "1.0.0 최초 릴리스" + ], + "readme": "이커머스 모듈 안내 문서" + } + }, + "moduleInstallPreview": { + "data": { + "identifier": "sirsoft-ecommerce", + "name": "이커머스", + "version": "1.0.0", + "dependencies": [], + "permissions": [ + "ecommerce.products.manage" + ], + "menus": [ + { + "name": "상품 관리", + "url": "/admin/ecommerce/products" + } + ], + "conflicts": [], + "requires_migration": true + } + }, + "modules": { + "data": { + "data": [ + { + "identifier": "sirsoft-ecommerce", + "name": "이커머스", + "version": "1.0.0", + "status": "active", + "enabled": true, + "author": "sirsoft", + "description": "쇼핑몰 모듈" + }, + { + "identifier": "sirsoft-board", + "name": "게시판", + "version": "1.0.0", + "status": "active", + "enabled": true, + "author": "sirsoft", + "description": "게시판 모듈" + }, + { + "identifier": "sirsoft-page", + "name": "페이지", + "version": "1.0.0", + "status": "active", + "enabled": true, + "author": "sirsoft", + "description": "정적 페이지 모듈" + } + ], + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3, + "abilities": { + "can_install": true + } + } + }, + "notification_unread_count": { + "data": { + "unread_count": 5 + } + }, + "notification_ws": { + "data": [] + }, + "notificationChannels": { + "data": { + "channels": [ + { + "channel": "mail", + "name": "이메일", + "enabled": true + }, + { + "channel": "sms", + "name": "SMS", + "enabled": false + }, + { + "channel": "push", + "name": "푸시", + "enabled": true + } + ] + } + }, + "notificationLogs": { + "data": { + "data": [ + { + "id": 1, + "title": "주문 알림", + "channel": "mail", + "recipient": "member@example.com", + "status": "sent", + "created_at": "2026-05-29T09:00:00+09:00" + }, + { + "id": 2, + "title": "비밀번호 변경", + "channel": "sms", + "recipient": "01012345678", + "status": "failed", + "created_at": "2026-05-28T18:00:00+09:00" + }, + { + "id": 3, + "title": "공지사항", + "channel": "push", + "recipient": "all", + "status": "sent", + "created_at": "2026-05-27T10:00:00+09:00" + } + ], + "pagination": { + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3 + }, + "abilities": { + "can_delete": true + } + } + }, + "notifications": { + "data": { + "data": [ + { + "id": 1, + "subject": "신규 주문", + "body": "새 주문이 접수되었습니다.", + "read_at": null, + "url": "/admin/ecommerce/orders", + "data": [], + "created_at": "2026-05-29T09:00:00+09:00" + }, + { + "id": 2, + "subject": "회원 가입", + "body": "신규 회원이 가입했습니다.", + "read_at": null, + "url": "/admin/users", + "data": [], + "created_at": "2026-05-28T18:00:00+09:00" + }, + { + "id": 3, + "subject": "시스템 알림", + "body": "백업이 완료되었습니다.", + "read_at": "2026-05-27T04:00:00+09:00", + "url": "", + "data": [], + "created_at": "2026-05-27T03:00:00+09:00" + } + ], + "pagination": { + "current_page": 1, + "last_page": 1, + "per_page": 15, + "total": 3, + "has_more_pages": false + } + }, + "channels": [ + { + "key": "email", + "label": "이메일", + "enabled": true + }, + { + "key": "sms", + "label": "SMS", + "enabled": false + }, + { + "key": "push", + "label": "푸시", + "enabled": true + } + ] + }, + "permissions": { + "data": { + "data": { + "types": [ + "custom", + "system" + ], + "default_type": "custom", + "scope_options": [ + "all", + "own" + ], + "permissions": [ + { + "key": "core.users.view", + "name": "회원 조회", + "group": "users" + }, + { + "key": "core.users.edit", + "name": "회원 수정", + "group": "users" + }, + { + "key": "core.posts.view", + "name": "게시물 조회", + "group": "posts" + }, + { + "key": "core.settings.manage", + "name": "환경설정 관리", + "group": "settings" + } + ] + } + } + }, + "pluginDetail": { + "data": { + "identifier": "sirsoft-payment", + "name": "결제", + "version": "1.0.0", + "description": "결제 플러그인", + "author": "sirsoft", + "status": "active", + "enabled": true, + "dependencies": [ + "sirsoft-ecommerce" + ], + "permissions": [ + "payment.transactions.view" + ], + "changelog": [ + "1.0.0 최초 릴리스" + ], + "readme": "결제 플러그인 안내 문서" + } + }, + "pluginInstallPreview": { + "data": { + "identifier": "sirsoft-payment", + "name": "결제", + "version": "1.0.0", + "dependencies": [ + "sirsoft-ecommerce" + ], + "permissions": [ + "payment.transactions.view" + ], + "conflicts": [], + "requires_migration": false + } + }, + "plugins": { + "data": { + "data": [ + { + "identifier": "sirsoft-payment", + "name": "결제", + "version": "1.0.0", + "status": "active", + "enabled": true, + "author": "sirsoft", + "description": "결제 플러그인" + }, + { + "identifier": "sirsoft-seo", + "name": "SEO", + "version": "1.1.0", + "status": "active", + "enabled": true, + "author": "sirsoft", + "description": "SEO 최적화 플러그인" + }, + { + "identifier": "sirsoft-analytics", + "name": "통계", + "version": "0.9.0", + "status": "inactive", + "enabled": false, + "author": "sirsoft", + "description": "방문 통계 플러그인" + } + ], + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3, + "abilities": { + "can_install": true + } + } + }, + "policies": { + "data": { + "data": [ + { + "id": 21, + "key": "sirsoft-ecommerce.checkout.before_pay", + "scope": "hook", + "target": "sirsoft-ecommerce.checkout.before_payment", + "purpose": "checkout_verification", + "provider_id": null, + "grace_minutes": 30, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:43:19", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 20, + "key": "sirsoft-ecommerce.payment.confirm_deposit", + "scope": "hook", + "target": "sirsoft-ecommerce.payment.before_confirm_deposit", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:43:19", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 19, + "key": "sirsoft-ecommerce.payment.approve", + "scope": "hook", + "target": "sirsoft-ecommerce.payment.before_approve", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:43:19", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 18, + "key": "sirsoft-ecommerce.payment.cancel", + "scope": "hook", + "target": "sirsoft-ecommerce.payment.before_cancel", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "applies_to": "both", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:19", + "updated_at": "2026-05-23 22:43:19", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 17, + "key": "sirsoft-board.post.user_create", + "scope": "hook", + "target": "sirsoft-board.post.before_create", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 16, + "key": "sirsoft-board.report.create", + "scope": "hook", + "target": "sirsoft-board.report.before_create", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 30, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 15, + "key": "sirsoft-board.comment.user_delete", + "scope": "hook", + "target": "sirsoft-board.comment.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 30, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 14, + "key": "sirsoft-board.post.user_delete", + "scope": "hook", + "target": "sirsoft-board.post.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 13, + "key": "sirsoft-board.report.delete", + "scope": "hook", + "target": "sirsoft-board.report.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 12, + "key": "sirsoft-board.report.bulk_action", + "scope": "hook", + "target": "sirsoft-board.report.before_bulk_update_status", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 11, + "key": "sirsoft-board.post.blind", + "scope": "hook", + "target": "sirsoft-board.post.before_blind", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 10, + "key": "sirsoft-board.post.delete", + "scope": "hook", + "target": "sirsoft-board.post.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:09", + "updated_at": "2026-05-23 22:43:09", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 9, + "key": "core.admin.extension_uninstall", + "scope": "route", + "target": "api.admin.{modules,plugins}.uninstall", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 8, + "key": "core.admin.user_delete", + "scope": "hook", + "target": "core.user.before_delete", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 7, + "key": "core.admin.app_key_regenerate", + "scope": "route", + "target": "api.admin.settings.regenerate-app-key", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "admin", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 6, + "key": "core.account.withdraw", + "scope": "route", + "target": "api.me.destroy", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": true, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 5, + "key": "core.profile.contact_change", + "scope": "hook", + "target": "core.user.before_update", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": true, + "priority": 100, + "conditions": { + "changed_fields": [ + "email", + "phone", + "mobile" + ] + }, + "source_type": "core", + "source_identifier": "core", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 4, + "key": "core.profile.password_change", + "scope": "route", + "target": "api.me.password", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 5, + "enabled": true, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 3, + "key": "core.auth.password_reset", + "scope": "hook", + "target": "core.auth.before_reset_password", + "purpose": "password_reset", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "core", + "source_identifier": "core", + "applies_to": "both", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 2, + "key": "core.auth.signup_after_create", + "scope": "hook", + "target": "core.auth.after_register", + "purpose": "signup", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": { + "signup_stage": "after_create" + }, + "source_type": "core", + "source_identifier": "core", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-05-23 22:43:02", + "updated_at": "2026-05-23 22:43:02", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + }, + "meta": { + "current_page": 1, + "per_page": 20, + "total": 21, + "last_page": 2 + } + } + }, + "role": { + "data": { + "id": 2, + "name": { + "ko": "운영자", + "en": "Manager" + }, + "key": "manager", + "description": "운영 권한 역할", + "is_system": false, + "type": "custom", + "types": [ + "custom", + "system" + ], + "scope_options": [ + "all", + "own" + ], + "scopes": { + "core.posts": "all" + }, + "permission_scopes": { + "core.posts": "all" + }, + "permissions": [ + "core.users.view", + "core.posts.view", + "core.posts.edit" + ] + } + }, + "role_check": { + "data": { + "data": [ + { + "id": 1, + "key": "super_admin", + "name": { + "ko": "최고 관리자", + "en": "Super Admin" + } + }, + { + "id": 2, + "key": "manager", + "name": { + "ko": "운영자", + "en": "Manager" + } + }, + { + "id": 3, + "key": "member", + "name": { + "ko": "일반 회원", + "en": "Member" + } + } + ], + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3 + } + }, + "schedule_history": { + "data": [ + { + "id": 1, + "status": "success", + "duration_ms": 1240, + "ran_at": "2026-05-29T03:00:00+09:00" + }, + { + "id": 2, + "status": "success", + "duration_ms": 980, + "ran_at": "2026-05-28T03:00:00+09:00" + }, + { + "id": 3, + "status": "failed", + "duration_ms": 0, + "ran_at": "2026-05-27T03:00:00+09:00" + } + ] + }, + "schedules": { + "data": { + "data": [ + { + "id": 1, + "name": "일일 백업", + "command": "backup:run", + "type": "artisan", + "frequency_label": "매일", + "frequency_detail": "0 3 * * *", + "is_active": true, + "last_result": "success", + "last_run_at": "2026-05-29T03:00:00+09:00", + "last_duration": "1.2초", + "next_run_at": "2026-05-30T03:00:00+09:00" + }, + { + "id": 2, + "name": "캐시 정리", + "command": "cache:clear", + "type": "artisan", + "frequency_label": "매일", + "frequency_detail": "0 4 * * *", + "is_active": true, + "last_result": "success", + "last_run_at": "2026-05-29T04:00:00+09:00", + "last_duration": "0.9초", + "next_run_at": "2026-05-30T04:00:00+09:00" + }, + { + "id": 3, + "name": "통계 집계", + "command": "stats:aggregate", + "type": "shell", + "frequency_label": "매주", + "frequency_detail": "0 1 * * 1", + "is_active": false, + "last_result": "failed", + "last_run_at": "2026-05-26T01:00:00+09:00", + "last_duration": "-", + "next_run_at": null + } + ], + "current_page": 1, + "last_page": 1, + "per_page": 20, + "total": 3, + "statistics": { + "total": 3, + "active": 2, + "success": 2, + "failed": 1 + } + } + }, + "settings": { + "data": { + "general": { + "site_name": "그누보드7", + "site_url": "https://example.com", + "site_description": "", + "admin_email": "admin@example.com", + "timezone": "Asia/Seoul", + "language": "ko", + "currency": "KRW", + "maintenance_mode": false, + "site_logo": [] + }, + "security": { + "force_https": false, + "login_attempt_enabled": true, + "auth_token_lifetime": "{MASKED}", + "max_login_attempts": 5, + "login_lockout_time": 5, + "two_factor_auth": false, + "password_min_length": "{MASKED}", + "require_password_special_char": "{MASKED}" + }, + "mail": { + "mailer": "smtp", + "host": "", + "port": 587, + "username": "", + "password": "{MASKED}", + "encryption": "tls", + "mailgun_domain": "", + "mailgun_secret": "{MASKED}", + "mailgun_endpoint": "api.mailgun.net", + "ses_key": "", + "ses_secret": "{MASKED}", + "ses_region": "ap-northeast-2", + "from_address": "admin@example.com", + "from_name": "그누보드7" + }, + "upload": { + "max_file_size": 10, + "allowed_extensions": [ + "jpg", + "jpeg", + "png", + "gif", + "webp", + "pdf", + "doc", + "docx", + "xls", + "xlsx", + "zip" + ], + "image_max_width": 2000, + "image_max_height": 2000, + "image_quality": 85 + }, + "seo": { + "meta_title_suffix": "", + "meta_description": "", + "meta_keywords": "", + "google_analytics_id": "", + "google_site_verification": "", + "naver_site_verification": "", + "bot_user_agents": [ + "kakaotalk-scrap", + "Meta-ExternalAgent", + "ChatGPT-User" + ], + "bot_detection_enabled": true, + "bot_detection_library_enabled": true, + "og_default_site_name": "", + "og_image_default_width": 1200, + "og_image_default_height": 630, + "twitter_default_card": "summary_large_image", + "twitter_default_site": "", + "cache_enabled": true, + "cache_ttl": 7200, + "sitemap_enabled": true, + "sitemap_cache_ttl": 86400, + "sitemap_schedule": "daily", + "sitemap_schedule_time": "02:00", + "sitemap_last_updated_at": "", + "generator_enabled": true, + "generator_content": "" + }, + "advanced": { + "cache_enabled": true, + "cache_default_ttl": 86400, + "layout_cache_enabled": true, + "layout_cache_ttl": 3600, + "seo_cache_enabled": true, + "seo_cache_ttl": 7200, + "seo_sitemap_cache_ttl": 86400, + "stats_cache_enabled": true, + "stats_cache_ttl": 1800, + "notification_cache_ttl": 3600, + "extension_status_cache_ttl": 86400, + "geoip_cache_enabled": true, + "geoip_cache_ttl": 86400, + "version_check_cache_ttl": 3600, + "debug_mode": true, + "sql_query_log": false, + "log_level": "error", + "core_update_github_url": "https://github.com/gnuboard/g7", + "core_update_github_token": null, + "geoip_enabled": false, + "geoip_license_key": null, + "geoip_auto_update_enabled": true, + "geoip_last_updated_at": "" + }, + "cache": { + "cache_enabled": true, + "cache_default_ttl": 86400, + "layout_cache_enabled": true, + "layout_cache_ttl": 3600, + "seo_cache_enabled": true, + "seo_cache_ttl": 7200, + "seo_sitemap_cache_ttl": 86400, + "stats_cache_enabled": true, + "stats_cache_ttl": 1800, + "notification_cache_ttl": 3600, + "extension_status_cache_ttl": 86400, + "geoip_cache_enabled": true, + "geoip_cache_ttl": 86400, + "version_check_cache_ttl": 3600 + }, + "debug": { + "debug_mode": true, + "sql_query_log": false, + "log_level": "error" + }, + "drivers": { + "storage_driver": "local", + "s3_bucket": "", + "s3_region": "ap-northeast-2", + "s3_access_key": "", + "s3_secret_key": "{MASKED}", + "s3_url": "", + "cache_driver": "file", + "redis_host": "127.0.0.1", + "redis_port": 6379, + "redis_password": "{MASKED}", + "redis_database": 0, + "memcached_host": "127.0.0.1", + "memcached_port": 11211, + "session_driver": "file", + "session_lifetime": 120, + "queue_driver": "sync", + "log_driver": "daily", + "log_level": "error", + "log_days": 14, + "websocket_enabled": false, + "websocket_app_id": "", + "websocket_app_key": "{MASKED}", + "websocket_app_secret": "{MASKED}", + "websocket_host": "localhost", + "websocket_port": 8080, + "websocket_scheme": "https", + "websocket_verify_ssl": true, + "websocket_server_host": "127.0.0.1", + "websocket_server_port": 8080, + "websocket_server_scheme": "http", + "search_engine_driver": "mysql-fulltext" + }, + "core_update": { + "core_update_github_url": "https://github.com/gnuboard/g7", + "core_update_github_token": null + }, + "geoip": { + "geoip_enabled": false, + "geoip_license_key": null, + "geoip_auto_update_enabled": true, + "geoip_last_updated_at": "" + }, + "notifications": { + "channels": [ + { + "id": "mail", + "is_active": true, + "sort_order": 1 + }, + { + "id": "database", + "is_active": true, + "sort_order": 2 + } + ] + }, + "identity": { + "default_provider": "g7:core.mail", + "purpose_providers": { + "password_reset": null, + "self_update": null, + "sensitive_action": null + }, + "challenge_ttl_minutes": 15, + "max_attempts": 5 + }, + "available_drivers": { + "storage": [ + { + "id": "local", + "label": { + "ko": "로컬", + "en": "Local", + "ja": "ローカル" + } + }, + { + "id": "s3", + "label": { + "ko": "Amazon S3", + "en": "Amazon S3", + "ja": "Amazon S3" + } + } + ], + "cache": [ + { + "id": "file", + "label": { + "ko": "파일", + "en": "File", + "ja": "ファイル" + } + }, + { + "id": "redis", + "label": { + "ko": "Redis", + "en": "Redis", + "ja": "Redis" + } + } + ], + "session": [ + { + "id": "file", + "label": { + "ko": "파일", + "en": "File", + "ja": "ファイル" + } + }, + { + "id": "database", + "label": { + "ko": "데이터베이스", + "en": "Database", + "ja": "データベース" + } + }, + { + "id": "redis", + "label": { + "ko": "Redis", + "en": "Redis", + "ja": "Redis" + } + } + ], + "queue": [ + { + "id": "sync", + "label": { + "ko": "동기", + "en": "Sync", + "ja": "同期" + } + }, + { + "id": "database", + "label": { + "ko": "데이터베이스", + "en": "Database", + "ja": "データベース" + } + }, + { + "id": "redis", + "label": { + "ko": "Redis", + "en": "Redis", + "ja": "Redis" + } + } + ], + "log": [ + { + "id": "single", + "label": { + "ko": "단일 파일", + "en": "Single File", + "ja": "単一ファイル" + } + }, + { + "id": "daily", + "label": { + "ko": "일별 파일", + "en": "Daily File", + "ja": "日別ファイル" + } + } + ], + "websocket": [ + { + "id": "reverb", + "label": { + "ko": "Laravel Reverb", + "en": "Laravel Reverb", + "ja": "Laravel Reverb" + } + } + ], + "mail": [ + { + "id": "smtp", + "label": { + "ko": "SMTP", + "en": "SMTP", + "ja": "SMTP" + } + }, + { + "id": "mailgun", + "label": { + "ko": "Mailgun", + "en": "Mailgun", + "ja": "Mailgun" + } + }, + { + "id": "ses", + "label": { + "ko": "SES (Amazon)", + "en": "SES (Amazon)", + "ja": "SES (Amazon)" + } + } + ] + }, + "abilities": { + "can_update": true + } + } + }, + "systemInfo": { + "data": { + "os_info": "Windows NT 10.0", + "web_server": "Apache/2.4.62 (Win64) OpenSSL/3.0.15 PHP/8.3.26", + "php_version": "8.3.26", + "mysql_version": "Mysql 8.4.3", + "g7_version": "7.0.0-beta.8", + "g7_release_year": "2026", + "laravel_version": "12.54.1", + "environment": "production", + "cpu_info": "Intel(R) Core(TM) Ultra 5 225H", + "memory_usage": { + "total": "31.49 GB", + "used": "21.93 GB", + "free": "9.56 GB", + "percentage": 69.64 + }, + "disk_usage": { + "total": "474.72 GB", + "used": "325.41 GB", + "free": "149.3 GB", + "percentage": 68.55 + }, + "php_memory_limit": "512M", + "max_execution_time": "36000초", + "upload_max_filesize": "2G", + "install_path": "/var/www/g7", + "config_path": "/var/www/g7/storage/app/settings", + "log_path": "/var/www/g7/storage/logs", + "upload_path": "/var/www/g7/storage/app/public", + "php_extensions": { + "required": { + "openssl": true, + "pdo": true, + "mbstring": true, + "tokenizer": "{MASKED}", + "xml": true, + "curl": true, + "json": true, + "zip": true, + "fileinfo": true, + "bcmath": true + }, + "optional": { + "gd": true, + "imagick": false, + "redis": true, + "memcached": false, + "sodium": true, + "exif": true, + "intl": true, + "ldap": false, + "zlib": true + } + }, + "database_config": { + "has_read_write_split": false, + "write": { + "host": "localhost", + "port": 3306, + "database": "g7", + "username": "g7" + }, + "read": [] + }, + "timezone": "UTC", + "server_time": "2026-05-31 08:40:37" + } + }, + "template_info": { + "data": { + "identifier": "sirsoft-admin_basic", + "name": "관리자 기본", + "type": "admin" + } + }, + "templateDetail": { + "data": { + "identifier": "sirsoft-admin_basic", + "name": "관리자 기본", + "version": "1.0.0", + "description": "관리자 기본 템플릿", + "author": "sirsoft", + "type": "admin", + "status": "active", + "preview_image": "/images/placeholder.png", + "changelog": [ + "1.0.0 최초 릴리스" + ], + "readme": "관리자 기본 템플릿 안내 문서" + } + }, + "templateInstallPreview": { + "data": { + "identifier": "sirsoft-admin_basic", + "name": "관리자 기본", + "version": "1.0.0", + "type": "admin", + "conflicts": [], + "requires_migration": false + } + }, + "templates": { + "data": { + "data": [ + { + "identifier": "sirsoft-admin_basic", + "vendor": "sirsoft", + "name": "Admin Basic", + "version": "1.0.0-beta.8", + "type": "admin", + "status": "active", + "description": "그누보드7 기본 관리자 템플릿", + "dependencies": { + "modules": [], + "plugins": [] + }, + "dependencies_met": true, + "update_available": false, + "update_source": null, + "latest_version": "1.0.0-beta.8", + "file_version": "1.0.0-beta.8", + "github_url": "https://github.com/gnuboard/g7-template-sirsoft-admin_basic", + "github_changelog_url": "https://github.com/gnuboard/g7-template-sirsoft-admin_basic/releases", + "is_pending": false, + "is_bundled": false, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true, + "can_edit_layouts": true + } + }, + { + "identifier": "sirsoft-basic", + "vendor": "sirsoft", + "name": "Basic", + "version": "1.0.0-beta.6", + "type": "user", + "status": "active", + "description": "그누보드7 기본 사용자 템플릿", + "dependencies": { + "modules": [ + { + "identifier": "sirsoft-board", + "name": "게시판", + "type": "module" + }, + { + "identifier": "sirsoft-ecommerce", + "name": "이커머스", + "type": "module" + }, + { + "identifier": "sirsoft-page", + "name": "페이지", + "type": "module" + } + ], + "plugins": [ + { + "identifier": "sirsoft-daum_postcode", + "name": "Daum 우편번호", + "type": "plugin" + } + ] + }, + "dependencies_met": true, + "update_available": false, + "update_source": null, + "latest_version": "1.0.0-beta.6", + "file_version": "1.0.0-beta.6", + "github_url": "https://github.com/gnuboard/g7-template-sirsoft-basic", + "github_changelog_url": "https://github.com/gnuboard/g7-template-sirsoft-basic/releases", + "is_pending": false, + "is_bundled": false, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true, + "can_edit_layouts": true + } + } + ], + "current_page": 1, + "last_page": 1, + "total": 1, + "per_page": 15, + "abilities": { + "can_create": true, + "can_install": true + } + } + }, + "tokenValidation": { + "data": { + "valid": true, + "email": "admin@example.com", + "token": "{MASKED}" + } + }, + "user": { + "data": { + "uuid": "00000000-0000-4000-8000-000000000018", + "name": "이서연", + "nickname": "서연", + "email": "seoyeon.lee@example.com", + "avatar": "/images/placeholder.png", + "language": "ko", + "language_label": "한국어", + "country": "KR", + "country_name": "대한민국", + "status": "active", + "status_label": "활성", + "status_variant": "success", + "is_admin": true, + "is_super": false, + "homepage": "https://seoyeon.example.com", + "mobile": "010-3456-7890", + "phone": "02-777-8800", + "zipcode": "06292", + "address": "서울특별시 강남구 강남대로 382", + "address_detail": "메리츠타워 22층", + "signature": "운영팀 이서연입니다.", + "bio": "커뮤니티 운영과 CS를 담당하고 있습니다.", + "timezone": "Asia/Seoul", + "admin_memo": "2025년 우수 운영자. CS 응대 만족도 1위. 콘텐츠 신고 처리 권한 보유.", + "ip_address": "203.241.18.92", + "email_verified_at": "2025-08-20 10:14:55", + "last_login_at": "2026-06-03 08:40:12", + "created_at": "2025-08-20 09:58:31", + "blocked_at": null, + "withdrawn_at": null, + "roles": [ + { + "id": 2, + "identifier": "admin", + "name": "관리자" + }, + { + "id": 5, + "identifier": "cs-manager", + "name": "CS 매니저" + } + ], + "terms_consent": { + "agreed_at": "2025-08-20 09:58:31" + }, + "privacy_consent": { + "agreed_at": "2025-08-20 09:58:31" + }, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + } + }, + "marketing_settings": { + "data": { + "marketing_consent_enabled": true, + "marketing_consent_terms_slug": "marketing-terms", + "marketing_consent_terms_slug_set": true, + "third_party_consent_enabled": true, + "third_party_consent_terms_slug": null, + "third_party_consent_terms_slug_set": false, + "info_disclosure_enabled": true, + "info_disclosure_terms_slug": null, + "info_disclosure_terms_slug_set": false, + "channels": [ + { + "key": "email_subscription", + "label": "광고성 이메일 수신", + "label_i18n": { + "ko": "광고성 이메일 수신", + "en": "Email Marketing" + }, + "enabled": true, + "terms_slug": null, + "terms_slug_set": false + } + ] + } + } + } + }, + "states": { + "comment": "admin 목록/폼 상태 세트. with_data/empty_data/loading + edit_existing/validation_failed/saving.", + "groups": [ + { + "scope": { + "kind": "route", + "match": "*/admin/users" + }, + "items": [ + { + "id": "with_data", + "label": "$t:editor.state.with_data", + "default": true + }, + { + "id": "empty_data", + "label": "$t:editor.state.empty_data", + "sampleDataOverrides": { + "byDataSourceId": { + "users": { + "data": { + "data": [], + "meta": { + "total": 0, + "per_page": 20, + "current_page": 1 + } + } + } + } + } + } + ] + }, + { + "scope": { + "kind": "route", + "match": "*/admin/users/:id/edit" + }, + "items": [ + { + "id": "edit_existing", + "label": "$t:editor.state.edit_existing", + "default": true, + "comment": "/1.1-bis — 편집기는 데이터소스 initLocal(\"form\")을 실행하지 않으므로(runtime API→form 흐름 부재) 수정 폼 입력칸이 비어 보인다. user.data 와 동일 값으로 _local.form 을 직접 시드해 캔버스에 prefill 한다(읽기전용 표시는 user.data, 입력칸은 _local.form). 필드명 = admin_user_form.json 의 name= 입력.", + "initialState": { + "local": { + "form": { + "name": "이서연", + "email": "seoyeon.lee@example.com", + "nickname": "서연", + "role_ids": [ + 2, + 5 + ], + "status": "active", + "mobile": "010-3456-7890", + "phone": "02-777-8800", + "homepage": "https://seoyeon.example.com", + "zipcode": "06292", + "address": "서울특별시 강남구 강남대로 382", + "address_detail": "메리츠타워 22층", + "country": "KR", + "language": "ko", + "timezone": "Asia/Seoul", + "signature": "운영팀 이서연입니다.", + "bio": "커뮤니티 운영과 CS를 담당하고 있습니다.", + "admin_memo": "2025년 우수 운영자. CS 응대 만족도 1위. 콘텐츠 신고 처리 권한 보유." + } + } + } + }, + { + "id": "create_mode", + "label": "$t:editor.state.create_mode", + "comment": " route 패치 — admin_user_form 은 {{route?.id}} 유무로 수정/신규 분기(제목·엔드포인트·메서드 PUT/POST). route.id 를 null 로 제거해 신규 작성 모드 화면을 미리본다. 신규 모드는 빈 폼이 의도이므로 _local.form 시드 없음.", + "initialState": { + "route": { + "id": null + } + } + }, + { + "id": "validation_failed", + "label": "$t:editor.state.validation_failed", + "comment": "관리자 회원 폼(admin_user_form)은 _local.errors.{field}?.[0] (배열)을 읽으므로 그 경로로 배열 메시지를 주입한다(경로 직접 지정). 수정 컨텍스트이므로 edit_existing 과 동일 폼 시드 위에 검증 오류를 얹는다.", + "initialState": { + "local": { + "form": { + "name": "", + "email": "invalid-email", + "nickname": "서연", + "role_ids": [ + 2, + 5 + ], + "status": "active", + "mobile": "010-3456-7890", + "phone": "02-777-8800", + "homepage": "https://seoyeon.example.com", + "zipcode": "06292", + "address": "서울특별시 강남구 강남대로 382", + "address_detail": "메리츠타워 22층", + "country": "KR", + "language": "ko", + "timezone": "Asia/Seoul", + "signature": "운영팀 이서연입니다.", + "bio": "커뮤니티 운영과 CS를 담당하고 있습니다.", + "admin_memo": "2025년 우수 운영자. CS 응대 만족도 1위. 콘텐츠 신고 처리 권한 보유." + } + } + }, + "formErrors": { + "_local.errors.name": [ + "필수 입력 항목입니다" + ], + "_local.errors.email": [ + "올바른 이메일 형식이 아닙니다" + ] + } + } + ] + }, + { + "comment": " query 패치 실증 — admin_settings 는 {{_global.activeSettingsTab || query.tab || 'general'}} 으로 탭 화면을 분기한다. 편집기는 평소 query 가 비어 있어 SEO 등 비-기본 탭을 미리볼 수 없으므로, query.tab + 우선 키 _global.activeSettingsTab 을 함께 주입해 탭 변종을 미리본다.", + "scope": { + "kind": "route", + "match": "*/admin/settings" + }, + "items": [ + { + "id": "settings_general", + "label": "$t:editor.state.settings_general", + "default": true, + "initialState": { + "query": { + "tab": "general" + }, + "global": { + "activeSettingsTab": "general" + } + } + }, + { + "id": "settings_mail", + "label": "$t:editor.state.settings_mail", + "initialState": { + "query": { + "tab": "mail" + }, + "global": { + "activeSettingsTab": "mail" + } + } + }, + { + "id": "settings_upload", + "label": "$t:editor.state.settings_upload", + "initialState": { + "query": { + "tab": "upload" + }, + "global": { + "activeSettingsTab": "upload" + } + } + }, + { + "id": "settings_seo", + "label": "$t:editor.state.settings_seo", + "initialState": { + "query": { + "tab": "seo" + }, + "global": { + "activeSettingsTab": "seo" + } + } + }, + { + "id": "settings_security", + "label": "$t:editor.state.settings_security", + "initialState": { + "query": { + "tab": "security" + }, + "global": { + "activeSettingsTab": "security" + } + } + }, + { + "id": "settings_drivers", + "label": "$t:editor.state.settings_drivers", + "initialState": { + "query": { + "tab": "drivers" + }, + "global": { + "activeSettingsTab": "drivers" + } + } + }, + { + "id": "settings_advanced", + "label": "$t:editor.state.settings_advanced", + "initialState": { + "query": { + "tab": "advanced" + }, + "global": { + "activeSettingsTab": "advanced" + } + } + }, + { + "id": "settings_notification_definitions", + "label": "$t:editor.state.settings_notification_definitions", + "initialState": { + "query": { + "tab": "notification_definitions" + }, + "global": { + "activeSettingsTab": "notification_definitions" + } + } + }, + { + "id": "settings_language_packs", + "label": "$t:editor.state.settings_language_packs", + "initialState": { + "query": { + "tab": "language_packs" + }, + "global": { + "activeSettingsTab": "language_packs" + } + } + }, + { + "id": "settings_identity", + "label": "$t:editor.state.settings_identity", + "initialState": { + "query": { + "tab": "identity" + }, + "global": { + "activeSettingsTab": "identity" + } + } + }, + { + "id": "settings_info", + "label": "$t:editor.state.settings_info", + "initialState": { + "query": { + "tab": "info" + }, + "global": { + "activeSettingsTab": "info" + } + } + } + ] + }, + { + "comment": "관리자 비밀번호 재설정. admin_reset_password 는 _local.tokenError / _local.success 로 토큰오류·재설정폼·완료 화면을 if 분기하고(본문 line 97/212/262), 검증 실패는 _local.resetErrors.{password,password_confirmation} 인라인 필드 에러로 표시한다(본문 line 361/370/411).", + "scope": { + "kind": "route", + "match": "*/admin/reset-password" + }, + "items": [ + { + "id": "token_valid", + "label": "$t:editor.state.token_valid", + "default": true, + "initialState": { + "local": { + "tokenError": "{MASKED}", + "success": false + } + } + }, + { + "id": "token_invalid", + "label": "$t:editor.state.token_invalid", + "initialState": { + "local": { + "tokenError": "{MASKED}" + } + } + }, + { + "id": "validation_failed", + "label": "$t:editor.state.validation_failed", + "initialState": { + "local": { + "tokenError": "{MASKED}", + "success": false + } + }, + "formErrors": { + "_local.resetErrors.password": [ + "필수 입력 항목입니다" + ], + "_local.resetErrors.password_confirmation": [ + "필수 입력 항목입니다" + ] + } + }, + { + "id": "success", + "label": "$t:editor.state.reset_success", + "initialState": { + "local": { + "tokenError": "{MASKED}", + "success": true + } + } + } + ] + }, + { + "comment": "권한(역할) 폼. admin_role_form 은 {{route?.id}} 유무로 수정/신규를 분기한다(본문 line 33/71). 검증 오류는 회원 폼과 달리 _global.formErrors.{field}?.[0] 경로를 읽는다(본문 line 210/484 — 경로 직접 지정).", + "scope": { + "kind": "route", + "match": "*/admin/roles/:id/edit" + }, + "items": [ + { + "id": "edit_existing", + "label": "$t:editor.state.edit_existing", + "default": true + }, + { + "id": "create_mode", + "label": "$t:editor.state.create_mode", + "initialState": { + "route": { + "id": null + } + } + }, + { + "id": "validation_failed", + "label": "$t:editor.state.validation_failed", + "formErrors": { + "_global.formErrors.name": [ + "필수 입력 항목입니다" + ] + } + } + ] + }, + { + "comment": "관리자 본인인증 챌린지. auth/identity_challenge 는 (_local.render_hint ?? 'text_code') 값(text_code/link/external_redirect)으로 세 화면을 if 분기한다(본문 line 94/324/369).", + "scope": { + "kind": "route", + "match": "*/admin/identity/challenge" + }, + "items": [ + { + "id": "text_code", + "label": "$t:editor.state.challenge_text_code", + "default": true, + "initialState": { + "local": { + "render_hint": "text_code" + } + } + }, + { + "id": "link", + "label": "$t:editor.state.challenge_link", + "initialState": { + "local": { + "render_hint": "link" + } + } + }, + { + "id": "external_redirect", + "label": "$t:editor.state.challenge_external", + "initialState": { + "local": { + "render_hint": "external_redirect" + } + } + }, + { + "id": "code_error", + "label": "$t:editor.state.challenge_error", + "comment": "코드 입력 화면에서 인증 실패 시 _local.error 배너 표시.", + "initialState": { + "local": { + "render_hint": "text_code", + "error": "인증번호가 올바르지 않습니다. 다시 시도해 주세요." + } + } + } + ] + }, + { + "comment": "템플릿 목록. admin_template_list 는 라우트 path param route.type(user/admin)으로 데이터소스 type 파라미터를 분기한다(본문 line 45/600). 탭 하이라이트는 _global.activeTemplateTab 이지만 목록 내용은 route.type 이 SSoT 이므로 두 값을 함께 주입한다.", + "scope": { + "kind": "route", + "match": "*/admin/templates/:type" + }, + "items": [ + { + "id": "user_templates", + "label": "$t:editor.state.tab.template_user", + "default": true, + "initialState": { + "route": { + "type": "user" + }, + "global": { + "activeTemplateTab": "user" + } + } + }, + { + "id": "admin_templates", + "label": "$t:editor.state.tab.template_admin", + "initialState": { + "route": { + "type": "admin" + }, + "global": { + "activeTemplateTab": "admin" + } + } + } + ] + }, + { + "comment": "관리자 로그인. admin_login 은 _local.loginError 배너 + _local.loginErrors.{email,password} 인라인 필드 에러로 로그인 실패를 표시한다(본문 line 139/178/221).", + "scope": { + "kind": "route", + "match": "*/admin/login" + }, + "items": [ + { + "id": "default", + "label": "$t:editor.state.login_default", + "default": true + }, + { + "id": "login_failed", + "label": "$t:editor.state.login_failed", + "formErrors": { + "_local.loginError": "올바른 이메일 형식이 아닙니다", + "_local.loginErrors.email": [ + "올바른 이메일 형식이 아닙니다" + ], + "_local.loginErrors.password": [ + "필수 입력 항목입니다" + ] + } + } + ] + }, + { + "comment": "관리자 비밀번호 찾기. admin_forgot_password 는 {{_local.success}} 로 입력 폼/메일 발송 완료 화면을 if 분기한다(본문 line 93/106).", + "scope": { + "kind": "route", + "match": "*/admin/forgot-password" + }, + "items": [ + { + "id": "default", + "label": "$t:editor.state.forgot_default", + "default": true, + "initialState": { + "local": { + "success": false + } + } + }, + { + "id": "success", + "label": "$t:editor.state.forgot_success", + "initialState": { + "local": { + "success": true + } + } + } + ] + } + ] + }, + "stateLabels": [ + { + "key": "currentUser", + "scope": "_global", + "label_key": "$t:editor.state_label.current_user" + }, + { + "key": "currentUser.name", + "scope": "_global", + "label_key": "$t:editor.state_label.current_user_name" + }, + { + "key": "currentUser.email", + "scope": "_global", + "label_key": "$t:editor.state_label.current_user_email" + }, + { + "key": "currentUser.id", + "scope": "_global", + "label_key": "$t:editor.state_label.current_user_id" + }, + { + "key": "currentUser.is_admin", + "scope": "_global", + "label_key": "$t:editor.state_label.current_user_is_admin" + }, + { + "key": "settings.general.site_name", + "scope": "_global", + "label_key": "$t:editor.state_label.site_name" + }, + { + "key": "site.name", + "scope": "_global", + "label_key": "$t:editor.state_label.site_name" + }, + { + "key": "q", + "scope": "query", + "label_key": "$t:editor.state_label.query_q" + } + ] + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -4077,7 +187834,10 @@ Accept: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -4117,7 +187877,10 @@ Accept: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -4275,7 +188038,10 @@ Accept: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/docs/backend/api/users.md b/docs/backend/api/users.md index 04ae823d..664a6795 100644 --- a/docs/backend/api/users.md +++ b/docs/backend/api/users.md @@ -304,7 +304,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.users.create`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.users.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -359,7 +359,7 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.users.update`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.users.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -537,6 +537,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.users.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -659,6 +660,7 @@ HTTP/1.1 200 | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.users.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -775,6 +777,7 @@ HTTP/1.1 200 | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.users.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -798,7 +801,7 @@ HTTP/1.1 200 **요청 예시** ```http -DELETE /api/admin/users/a26219fc-94a0-4f63-9404-04c2a6ac99e4 HTTP/1.1 +DELETE /api/admin/users/{user} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -817,9 +820,9 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.users.delete`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.users.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -843,7 +846,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -GET /api/admin/users/a26219fc-94a0-4f63-9404-04c2a6ac99e4 HTTP/1.1 +GET /api/admin/users/{user} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -928,7 +931,7 @@ _단건 응답: `data` 객체의 필드._ | channels | array | `[{"key":"email_subscription","label":"광고성 이메일 수신","enable…` | 관리자 정의 전체 마케팅 채널 목록 (원소: key/label/enabled/terms_slug — marketing 플러그인 주입, iteration 렌더링용) | | consent_histories | array | `[]` | 사용자 동의 변경 이력 (원소: channel_key/action/source/created_at — marketing 플러그인 주입) | | ecommerce_mileage | object | `{"enabled":false}` | 이커머스 마일리지 정보 (enabled 및 잔액 등 — sirsoft-ecommerce 모듈 주입) | -| ecommerce_preferred_currency | null | `null` | 선호 결제 통화 (sirsoft-ecommerce 모듈 주입, 미설정 시 null) | +| ecommerce_preferred_currency | string | `KRW` | 선호 결제 통화 (sirsoft-ecommerce 모듈 주입, 미설정 시 null) | | ecommerce_preferred_shipping_country | null | `null` | 선호 배송 국가 코드 (sirsoft-ecommerce 모듈 주입, 미설정 시 null) | | ecommerce_preferred_shipping_country_name | null | `null` | 선호 배송 국가명 (배송 국가 코드에서 파생, sirsoft-ecommerce 모듈 주입) | @@ -1052,6 +1055,7 @@ HTTP/1.1 200 | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.users.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1104,7 +1108,7 @@ HTTP/1.1 200 **요청 예시** ```http -PUT /api/admin/users/a26219fc-94a0-4f63-9404-04c2a6ac99e4 HTTP/1.1 +PUT /api/admin/users/{user} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1158,9 +1162,9 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.users.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.users.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1307,7 +1311,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/users/a26219fc-94a0-4f63-9404-04c2a6ac99e4/profile HTTP/1.1 +GET /api/users/{user}/profile HTTP/1.1 Host: api.example.com Accept: application/json ``` @@ -1354,7 +1358,10 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`core.users.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/gnuboard7-hello_module/docs/api/memos.md b/modules/_bundled/gnuboard7-hello_module/docs/api/memos.md index dd5e6022..eb53d213 100644 --- a/modules/_bundled/gnuboard7-hello_module/docs/api/memos.md +++ b/modules/_bundled/gnuboard7-hello_module/docs/api/memos.md @@ -335,6 +335,10 @@ HTTP/1.1 200 } ``` +**응답 예시** + + + **에러 응답** | 상태코드 | 의미 | 발생 조건 | diff --git a/modules/_bundled/sirsoft-board/docs/api/activity-stats.md b/modules/_bundled/sirsoft-board/docs/api/activity-stats.md index 4a44abae..339cae0b 100644 --- a/modules/_bundled/sirsoft-board/docs/api/activity-stats.md +++ b/modules/_bundled/sirsoft-board/docs/api/activity-stats.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Activity Stats 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` diff --git a/modules/_bundled/sirsoft-board/docs/api/board-activities.md b/modules/_bundled/sirsoft-board/docs/api/board-activities.md index 026e6c34..d1dcb14e 100644 --- a/modules/_bundled/sirsoft-board/docs/api/board-activities.md +++ b/modules/_bundled/sirsoft-board/docs/api/board-activities.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Board Activities 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` diff --git a/modules/_bundled/sirsoft-board/docs/api/board-types.md b/modules/_bundled/sirsoft-board/docs/api/board-types.md index 8245bf2c..9098e96f 100644 --- a/modules/_bundled/sirsoft-board/docs/api/board-types.md +++ b/modules/_bundled/sirsoft-board/docs/api/board-types.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Board Types 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -125,7 +125,7 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** @@ -159,7 +159,7 @@ Content-Type: application/json **요청 예시** ```http -DELETE /api/modules/sirsoft-board/admin/board-types/2 HTTP/1.1 +DELETE /api/modules/sirsoft-board/admin/board-types/{id} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -167,11 +167,11 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -202,7 +202,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -PUT /api/modules/sirsoft-board/admin/board-types/2 HTTP/1.1 +PUT /api/modules/sirsoft-board/admin/board-types/{id} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -215,11 +215,11 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -227,8 +227,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.boards.create`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-board/docs/api/board.md b/modules/_bundled/sirsoft-board/docs/api/board.md index e9ee083a..4b565cbc 100644 --- a/modules/_bundled/sirsoft-board/docs/api/board.md +++ b/modules/_bundled/sirsoft-board/docs/api/board.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Board 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -54,7 +54,7 @@ FULLTEXT 연산자를 제거한 뒤 검색하며, 연산자만 입력한 경우 **요청 예시** ```http -POST /api/modules/sirsoft-board/admin/board/apidoc-sample-board/attachments HTTP/1.1 +POST /api/modules/sirsoft-board/admin/board/{slug}/attachments HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -82,11 +82,11 @@ Content-Disposition: form-data; name="temp_key" **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -94,8 +94,8 @@ Content-Disposition: form-data; name="temp_key" | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.attachments.upload`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -120,7 +120,7 @@ Content-Disposition: form-data; name="temp_key" **요청 예시** ```http -GET /api/modules/sirsoft-board/admin/board/apidoc-sample-board/attachments/download/apidocsmpl1 HTTP/1.1 +GET /api/modules/sirsoft-board/admin/board/{slug}/attachments/download/{hash} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -128,11 +128,11 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -165,7 +165,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -PATCH /api/modules/sirsoft-board/admin/board/apidoc-sample-board/attachments/reorder HTTP/1.1 +PATCH /api/modules/sirsoft-board/admin/board/{slug}/attachments/reorder HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -180,11 +180,11 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -192,8 +192,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.attachments.upload`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -216,7 +216,7 @@ Content-Type: application/json **요청 예시** ```http -DELETE /api/modules/sirsoft-board/admin/board/apidoc-sample-board/attachments/1 HTTP/1.1 +DELETE /api/modules/sirsoft-board/admin/board/{slug}/attachments/{id} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -224,9 +224,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - - - + **응답 예시** @@ -270,7 +268,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-board/admin/board/apidoc-sample-board/posts HTTP/1.1 +GET /api/modules/sirsoft-board/admin/board/{slug}/posts HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -437,7 +435,7 @@ HTTP/1.1 200 **요청 예시** ```http -POST /api/modules/sirsoft-board/admin/board/apidoc-sample-board/posts HTTP/1.1 +POST /api/modules/sirsoft-board/admin/board/{slug}/posts HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -445,11 +443,11 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -457,8 +455,8 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.posts.write`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -480,7 +478,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -GET /api/modules/sirsoft-board/admin/board/apidoc-sample-board/posts/form-data HTTP/1.1 +GET /api/modules/sirsoft-board/admin/board/{slug}/posts/form-data HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -550,7 +548,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-board/admin/board/apidoc-sample-board/posts/form-meta HTTP/1.1 +GET /api/modules/sirsoft-board/admin/board/{slug}/posts/form-meta HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -675,7 +673,7 @@ HTTP/1.1 200 **요청 예시** ```http -DELETE /api/modules/sirsoft-board/admin/board/apidoc-sample-board/posts/1 HTTP/1.1 +DELETE /api/modules/sirsoft-board/admin/board/{slug}/posts/{id} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -834,7 +832,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-board/admin/board/apidoc-sample-board/posts/1 HTTP/1.1 +GET /api/modules/sirsoft-board/admin/board/{slug}/posts/{id} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1094,7 +1092,7 @@ HTTP/1.1 200 **요청 예시** ```http -PUT /api/modules/sirsoft-board/admin/board/apidoc-sample-board/posts/1 HTTP/1.1 +PUT /api/modules/sirsoft-board/admin/board/{slug}/posts/{id} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1223,8 +1221,8 @@ HTTP/1.1 200 | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.posts.write`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1248,7 +1246,7 @@ HTTP/1.1 200 **요청 예시** ```http -PATCH /api/modules/sirsoft-board/admin/board/apidoc-sample-board/posts/1/blind HTTP/1.1 +PATCH /api/modules/sirsoft-board/admin/board/{slug}/posts/{id}/blind HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1389,8 +1387,8 @@ HTTP/1.1 200 | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.manage`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1414,7 +1412,7 @@ HTTP/1.1 200 **요청 예시** ```http -PATCH /api/modules/sirsoft-board/admin/board/apidoc-sample-board/posts/1/restore HTTP/1.1 +PATCH /api/modules/sirsoft-board/admin/board/{slug}/posts/{id}/restore HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1427,7 +1425,7 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** @@ -1439,8 +1437,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.manage`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1465,7 +1463,7 @@ Content-Type: application/json **요청 예시** ```http -POST /api/modules/sirsoft-board/admin/board/apidoc-sample-board/posts/1/comments HTTP/1.1 +POST /api/modules/sirsoft-board/admin/board/{slug}/posts/{postId}/comments HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1473,11 +1471,11 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -1485,8 +1483,8 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.comments.write`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1510,7 +1508,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -DELETE /api/modules/sirsoft-board/admin/board/apidoc-sample-board/posts/1/comments/1 HTTP/1.1 +DELETE /api/modules/sirsoft-board/admin/board/{slug}/posts/{postId}/comments/{id} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1518,9 +1516,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - - - + **응답 예시** @@ -1568,7 +1564,7 @@ HTTP/1.1 200 **요청 예시** ```http -PUT /api/modules/sirsoft-board/admin/board/apidoc-sample-board/posts/1/comments/1 HTTP/1.1 +PUT /api/modules/sirsoft-board/admin/board/{slug}/posts/{postId}/comments/{id} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1576,11 +1572,11 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -1588,8 +1584,8 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.comments.write`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1614,7 +1610,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -PATCH /api/modules/sirsoft-board/admin/board/apidoc-sample-board/posts/1/comments/1/blind HTTP/1.1 +PATCH /api/modules/sirsoft-board/admin/board/{slug}/posts/{postId}/comments/{id}/blind HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1716,8 +1712,8 @@ HTTP/1.1 200 | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.manage`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1741,7 +1737,7 @@ HTTP/1.1 200 **요청 예시** ```http -PATCH /api/modules/sirsoft-board/admin/board/apidoc-sample-board/posts/1/comments/1/restore HTTP/1.1 +PATCH /api/modules/sirsoft-board/admin/board/{slug}/posts/{postId}/comments/{id}/restore HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1749,7 +1745,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + **응답 예시** diff --git a/modules/_bundled/sirsoft-board/docs/api/boards.md b/modules/_bundled/sirsoft-board/docs/api/boards.md index 746f2a21..f662b954 100644 --- a/modules/_bundled/sirsoft-board/docs/api/boards.md +++ b/modules/_bundled/sirsoft-board/docs/api/boards.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Boards 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -224,7 +224,7 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** @@ -614,7 +614,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-board/admin/boards/slug/apidoc-sample-board HTTP/1.1 +GET /api/modules/sirsoft-board/admin/boards/slug/{slug} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -780,7 +780,7 @@ HTTP/1.1 200 **요청 예시** ```http -DELETE /api/modules/sirsoft-board/admin/boards/1 HTTP/1.1 +DELETE /api/modules/sirsoft-board/admin/boards/{board} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -834,7 +834,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-board/admin/boards/1 HTTP/1.1 +GET /api/modules/sirsoft-board/admin/boards/{board} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1166,7 +1166,7 @@ HTTP/1.1 200 **요청 예시** ```http -PUT /api/modules/sirsoft-board/admin/boards/1 HTTP/1.1 +PUT /api/modules/sirsoft-board/admin/boards/{board} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1229,7 +1229,7 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** @@ -1241,8 +1241,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.boards.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1264,7 +1264,7 @@ Content-Type: application/json **요청 예시** ```http -POST /api/modules/sirsoft-board/admin/boards/1/add-to-menu HTTP/1.1 +POST /api/modules/sirsoft-board/admin/boards/{board}/add-to-menu HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1466,9 +1466,18 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - - - +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| board_slug | string | `gallery` | | +| board_name | string | `갤러리` | | +| title | string | `일반 게시글 (이미지 있음)` | 제목 | +| excerpt | string | `이미지가 첨부된 일반 게시글입니다. 정상적으로 표시됩니다.` | | +| author | object | `{"id":1,"name":"관리자","email":"heuristing@gmail.com","is_g…` | 작성자 사용자 객체 (uuid/name — author 관계 파생) | +| view_count | integer | `258` | view 개수 (집계) | +| comment_count | integer | `2` | comment 개수 (집계) | +| created_at | string | `2026-07-07 09:34:50` | 생성 일시 | +| created_at_formatted | string | `07-10` | `created_at` 값의 표시용 포맷 문자열 (통화/용량/일시 등 로케일·단위 포맷) | **응답 예시** @@ -1719,7 +1728,7 @@ _대표 에러 없음 (공개 조회). + **응답 예시** - + **에러 응답** @@ -2055,7 +2064,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **요청 예시** ```http -GET /api/modules/sirsoft-board/boards/apidoc-sample-board/attachment/apidocsmpl1/preview HTTP/1.1 +GET /api/modules/sirsoft-board/boards/{slug}/attachment/{hash}/preview HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -2063,11 +2072,11 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -2101,7 +2110,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **요청 예시** ```http -POST /api/modules/sirsoft-board/boards/apidoc-sample-board/attachments HTTP/1.1 +POST /api/modules/sirsoft-board/boards/{slug}/attachments HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -2129,19 +2138,19 @@ Content-Disposition: form-data; name="temp_key" **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.attachments.upload`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2166,7 +2175,7 @@ Content-Disposition: form-data; name="temp_key" **요청 예시** ```http -PATCH /api/modules/sirsoft-board/boards/apidoc-sample-board/attachments/reorder HTTP/1.1 +PATCH /api/modules/sirsoft-board/boards/{slug}/attachments/reorder HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -2181,19 +2190,19 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.attachments.upload`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2216,7 +2225,7 @@ Content-Type: application/json **요청 예시** ```http -DELETE /api/modules/sirsoft-board/boards/apidoc-sample-board/attachments/1 HTTP/1.1 +DELETE /api/modules/sirsoft-board/boards/{slug}/attachments/{id} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -2224,9 +2233,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - - - + **응답 예시** @@ -2272,7 +2279,7 @@ HTTP/1.1 200 **요청 예시** ```http -POST /api/modules/sirsoft-board/boards/apidoc-sample-board/comments/1/reports HTTP/1.1 +POST /api/modules/sirsoft-board/boards/{slug}/comments/{commentId}/reports HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -2286,19 +2293,19 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2321,7 +2328,7 @@ Content-Type: application/json **요청 예시** ```http -POST /api/modules/sirsoft-board/boards/apidoc-sample-board/comments/1/verify-password HTTP/1.1 +POST /api/modules/sirsoft-board/boards/{slug}/comments/{commentId}/verify-password HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -2329,11 +2336,11 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -2362,7 +2369,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **요청 예시** ```http -GET /api/modules/sirsoft-board/boards/apidoc-sample-board/posts HTTP/1.1 +GET /api/modules/sirsoft-board/boards/{slug}/posts HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -2533,7 +2540,7 @@ HTTP/1.1 200 **요청 예시** ```http -POST /api/modules/sirsoft-board/boards/apidoc-sample-board/posts HTTP/1.1 +POST /api/modules/sirsoft-board/boards/{slug}/posts HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -2541,19 +2548,19 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.posts.write`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2575,7 +2582,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **요청 예시** ```http -GET /api/modules/sirsoft-board/boards/apidoc-sample-board/posts/form-data HTTP/1.1 +GET /api/modules/sirsoft-board/boards/{slug}/posts/form-data HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -2644,7 +2651,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-board/boards/apidoc-sample-board/posts/form-meta HTTP/1.1 +GET /api/modules/sirsoft-board/boards/{slug}/posts/form-meta HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -2768,7 +2775,7 @@ HTTP/1.1 200 **요청 예시** ```http -DELETE /api/modules/sirsoft-board/boards/apidoc-sample-board/posts/1 HTTP/1.1 +DELETE /api/modules/sirsoft-board/boards/{slug}/posts/{id} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -2776,9 +2783,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - - - + **응답 예시** @@ -2822,7 +2827,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-board/boards/apidoc-sample-board/posts/1 HTTP/1.1 +GET /api/modules/sirsoft-board/boards/{slug}/posts/{id} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -3077,7 +3082,7 @@ HTTP/1.1 200 **요청 예시** ```http -PUT /api/modules/sirsoft-board/boards/apidoc-sample-board/posts/1 HTTP/1.1 +PUT /api/modules/sirsoft-board/boards/{slug}/posts/{id} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -3255,6 +3260,7 @@ HTTP/1.1 200 | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.posts.write| sirsoft-board.{slug}.manager`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3277,7 +3283,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-board/boards/apidoc-sample-board/posts/1/navigation HTTP/1.1 +GET /api/modules/sirsoft-board/boards/{slug}/posts/{id}/navigation HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -3338,7 +3344,7 @@ HTTP/1.1 200 **요청 예시** ```http -POST /api/modules/sirsoft-board/boards/apidoc-sample-board/posts/1/verify-password HTTP/1.1 +POST /api/modules/sirsoft-board/boards/{slug}/posts/{id}/verify-password HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -3351,19 +3357,19 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.posts.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3387,7 +3393,7 @@ Content-Type: application/json **요청 예시** ```http -POST /api/modules/sirsoft-board/boards/apidoc-sample-board/posts/1/verify-password-for-modify HTTP/1.1 +POST /api/modules/sirsoft-board/boards/{slug}/posts/{id}/verify-password-for-modify HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -3400,19 +3406,19 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.posts.write`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3435,7 +3441,7 @@ Content-Type: application/json **요청 예시** ```http -GET /api/modules/sirsoft-board/boards/apidoc-sample-board/posts/1/comments HTTP/1.1 +GET /api/modules/sirsoft-board/boards/{slug}/posts/{postId}/comments HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -3547,7 +3553,7 @@ HTTP/1.1 200 **요청 예시** ```http -POST /api/modules/sirsoft-board/boards/apidoc-sample-board/posts/1/comments HTTP/1.1 +POST /api/modules/sirsoft-board/boards/{slug}/posts/{postId}/comments HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -3555,19 +3561,19 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.comments.write`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3591,7 +3597,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **요청 예시** ```http -DELETE /api/modules/sirsoft-board/boards/apidoc-sample-board/posts/1/comments/1 HTTP/1.1 +DELETE /api/modules/sirsoft-board/boards/{slug}/posts/{postId}/comments/{commentId} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -3599,9 +3605,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - - - + **응답 예시** @@ -3648,7 +3652,7 @@ HTTP/1.1 200 **요청 예시** ```http -PUT /api/modules/sirsoft-board/boards/apidoc-sample-board/posts/1/comments/1 HTTP/1.1 +PUT /api/modules/sirsoft-board/boards/{slug}/posts/{postId}/comments/{commentId} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -3656,11 +3660,11 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -3669,6 +3673,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.comments.write| sirsoft-board.{slug}.manager`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3693,7 +3698,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **요청 예시** ```http -POST /api/modules/sirsoft-board/boards/apidoc-sample-board/posts/1/reports HTTP/1.1 +POST /api/modules/sirsoft-board/boards/{slug}/posts/{postId}/reports HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -3707,19 +3712,19 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-board/docs/api/dashboard.md b/modules/_bundled/sirsoft-board/docs/api/dashboard.md index 2f3813e8..fa32f66f 100644 --- a/modules/_bundled/sirsoft-board/docs/api/dashboard.md +++ b/modules/_bundled/sirsoft-board/docs/api/dashboard.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Dashboard 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` diff --git a/modules/_bundled/sirsoft-board/docs/api/my-comments.md b/modules/_bundled/sirsoft-board/docs/api/my-comments.md index 3da32a33..4211f09a 100644 --- a/modules/_bundled/sirsoft-board/docs/api/my-comments.md +++ b/modules/_bundled/sirsoft-board/docs/api/my-comments.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 My Comments 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` diff --git a/modules/_bundled/sirsoft-board/docs/api/reports.md b/modules/_bundled/sirsoft-board/docs/api/reports.md index ab51e2b3..51dd3448 100644 --- a/modules/_bundled/sirsoft-board/docs/api/reports.md +++ b/modules/_bundled/sirsoft-board/docs/api/reports.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Reports 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -217,7 +217,7 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** @@ -268,7 +268,7 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** @@ -302,7 +302,7 @@ Content-Type: application/json **요청 예시** ```http -DELETE /api/modules/sirsoft-board/admin/reports/1 HTTP/1.1 +DELETE /api/modules/sirsoft-board/admin/reports/{report} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -310,9 +310,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - - - + **응답 예시** @@ -356,7 +354,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-board/admin/reports/1 HTTP/1.1 +GET /api/modules/sirsoft-board/admin/reports/{report} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -486,7 +484,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-board/admin/reports/1/reporters?per_page=1&page=1 HTTP/1.1 +GET /api/modules/sirsoft-board/admin/reports/{report}/reporters?per_page=1&page=1 HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -536,8 +534,8 @@ HTTP/1.1 200 | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.reports.view`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -561,7 +559,7 @@ HTTP/1.1 200 **요청 예시** ```http -PATCH /api/modules/sirsoft-board/admin/reports/1/status HTTP/1.1 +PATCH /api/modules/sirsoft-board/admin/reports/{report}/status HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -575,11 +573,11 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -587,8 +585,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.reports.manage`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-board/docs/api/settings.md b/modules/_bundled/sirsoft-board/docs/api/settings.md index cdd5d7c9..a96bf309 100644 --- a/modules/_bundled/sirsoft-board/docs/api/settings.md +++ b/modules/_bundled/sirsoft-board/docs/api/settings.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Settings 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -363,10 +363,36 @@ HTTP/1.1 200 | notifications | body | array | 아니오 | — | 알림 채널 설정. `channels` 배열의 각 항목에 채널 식별자(id), 활성화 여부(is_active), 정렬 순서(sort_order)를 담아 저장합니다. | | basic_defaults | body | array | 아니오 | — | 기본 설정 카테고리 값. 게시판 타입·페이지당 글 수·정렬·댓글/답글·길이 제한·파일 업로드·기본 권한 등 basic_defaults 하위 키를 저장합니다. `basic_defaults.allowed_extensions` 는 `basic_defaults.use_file_upload` 가 `true` 일 때만 최소 1개가 필수이며, `false`/`null` 이면 검증에서 제외되어 빈 배열도 허용됩니다. `min_title_length`·`min_comment_length`·`new_display_hours` 의 하한은 `config('sirsoft-board.limits')` 선언을 따르며 `0` 을 허용합니다. | | report_policy | body | array | 아니오 | — | 신고 정책 카테고리 값. 자동 숨김 임계치/대상, 일일 신고 한도, 거부 누적 제한, 관리자·작성자 신고 알림 설정을 저장합니다. | +| report_policy.auto_hide_threshold | body | integer | 아니오 | min 0, max 100 | | +| report_policy.auto_hide_target | body | string | 아니오 | `post`, `comment`, `both` | | +| report_policy.daily_report_limit | body | integer | 아니오 | min 0, max 100 | | +| report_policy.rejection_limit_count | body | integer | 아니오 | min 0, max 50 | | +| report_policy.rejection_limit_days | body | integer | 아니오 | min 1, max 365 | | +| report_policy.notify_admin_on_report | body | boolean | 아니오 | — | | +| report_policy.notify_admin_on_report_scope | body | string | 아니오 | `per_case`, `per_report` | | +| report_policy.notify_admin_on_report_channels | body | array | 아니오 | — | | +| report_policy.notify_author_on_report_action | body | boolean | 아니오 | — | | +| report_policy.notify_author_on_report_action_channels | body | array | 아니오 | — | | | report_permissions | body | array | 아니오 | — | 신고 관리 권한 역할. `view_roles`(조회 역할)와 `manage_roles`(관리 역할)의 역할 식별자 배열이며, 포함 시 설정 저장과 별개로 DB 권한 역할이 동기화됩니다. | +| report_permissions.view_roles | body | array | 아니오 | min 1 | | +| report_permissions.manage_roles | body | array | 아니오 | min 1 | | | display | body | array | 아니오 | — | 표시 설정 카테고리 값. 날짜 표시 형식(date_display_format: standard/relative) 등을 저장합니다. | +| display.date_display_format | body | string | 아니오 | `standard`, `relative` | | | spam_security | body | array | 아니오 | — | 스팸·보안 카테고리 값. 글·댓글·신고 작성 쿨다운 시간(초)과 조회수 캐시 TTL을 저장합니다. | +| spam_security.post_cooldown_seconds | body | integer | 아니오 | min 0, max 3600 | | +| spam_security.comment_cooldown_seconds | body | integer | 아니오 | min 0, max 3600 | | +| spam_security.report_cooldown_seconds | body | integer | 아니오 | min 0, max 3600 | | +| spam_security.view_count_cache_ttl | body | integer | 아니오 | min 60, max 604800 | | | seo | body | array | 아니오 | — | SEO 설정 카테고리 값. 게시판 목록/개별/글 상세 페이지의 메타 제목·설명 템플릿과 각 페이지 SEO 활성화 여부를 저장합니다. | +| seo.meta_boards_title | body | string | 아니오 | max 500 | | +| seo.meta_boards_description | body | string | 아니오 | max 1000 | | +| seo.meta_board_title | body | string | 아니오 | max 500 | | +| seo.meta_board_description | body | string | 아니오 | max 1000 | | +| seo.meta_post_title | body | string | 아니오 | max 500 | | +| seo.meta_post_description | body | string | 아니오 | max 1000 | | +| seo.seo_boards | body | boolean | 아니오 | — | | +| seo.seo_board | body | boolean | 아니오 | — | | +| seo.seo_post_detail | body | boolean | 아니오 | — | | **요청 예시** @@ -382,24 +408,95 @@ Content-Type: application/json "notifications": [ "예시값" ], + "notifications.channels": [ + "예시값" + ], "basic_defaults": [ "예시값" ], + "basic_defaults.type": "예시값", + "basic_defaults.per_page": 1, + "basic_defaults.per_page_mobile": 1, + "basic_defaults.order_by": "created_at", + "basic_defaults.order_direction": "ASC", + "basic_defaults.secret_mode": "disabled", + "basic_defaults.use_comment": true, + "basic_defaults.use_reply": true, + "basic_defaults.max_reply_depth": 1, + "basic_defaults.max_comment_depth": 1, + "basic_defaults.comment_order": "ASC", + "basic_defaults.show_view_count": true, + "basic_defaults.use_report": true, + "basic_defaults.min_title_length": 1, + "basic_defaults.max_title_length": 1, + "basic_defaults.min_content_length": 1, + "basic_defaults.max_content_length": 1, + "basic_defaults.min_comment_length": 1, + "basic_defaults.max_comment_length": 1, + "basic_defaults.use_file_upload": true, + "basic_defaults.max_file_size": 1, + "basic_defaults.max_file_count": 1, + "basic_defaults.blocked_keywords": [ + "예시값" + ], + "basic_defaults.allowed_extensions": [ + "예시값" + ], + "basic_defaults.notify_admin_on_post": true, + "basic_defaults.notify_author": true, + "basic_defaults.new_display_hours": 1, + "basic_defaults.default_board_permissions": [ + "예시값" + ], "report_policy": [ "예시값" ], + "report_policy.auto_hide_threshold": 1, + "report_policy.auto_hide_target": "post", + "report_policy.daily_report_limit": 1, + "report_policy.rejection_limit_count": 1, + "report_policy.rejection_limit_days": 1, + "report_policy.notify_admin_on_report": true, + "report_policy.notify_admin_on_report_scope": "per_case", + "report_policy.notify_admin_on_report_channels": [ + "예시값" + ], + "report_policy.notify_author_on_report_action": true, + "report_policy.notify_author_on_report_action_channels": [ + "예시값" + ], "report_permissions": [ "예시값" ], + "report_permissions.view_roles": [ + "예시값" + ], + "report_permissions.manage_roles": [ + "예시값" + ], "display": [ "예시값" ], + "display.date_display_format": "standard", "spam_security": [ "예시값" ], + "spam_security.post_cooldown_seconds": 1, + "spam_security.comment_cooldown_seconds": 1, + "spam_security.report_cooldown_seconds": 1, + "spam_security.view_count_cache_ttl": 1, "seo": [ "예시값" - ] + ], + "seo.meta_boards_title": "예시 제목", + "seo.meta_boards_description": "예시 내용입니다.", + "seo.meta_board_title": "예시 제목", + "seo.meta_board_description": "예시 내용입니다.", + "seo.meta_post_title": "예시 제목", + "seo.meta_post_description": "예시 내용입니다.", + "seo.seo_boards": true, + "seo.seo_board": true, + "seo.seo_post_detail": true } ``` @@ -719,7 +816,7 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** @@ -759,7 +856,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + **응답 예시** diff --git a/modules/_bundled/sirsoft-board/docs/api/users.md b/modules/_bundled/sirsoft-board/docs/api/users.md index dd2b6953..ce4224a5 100644 --- a/modules/_bundled/sirsoft-board/docs/api/users.md +++ b/modules/_bundled/sirsoft-board/docs/api/users.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Users 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -32,7 +32,7 @@ **요청 예시** ```http -GET /api/modules/sirsoft-board/users/a234c2b1-cde8-437f-b28b-23323be2b98d/posts HTTP/1.1 +GET /api/modules/sirsoft-board/users/{user}/posts HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -147,7 +147,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-board/users/a234c2b1-cde8-437f-b28b-23323be2b98d/posts/stats HTTP/1.1 +GET /api/modules/sirsoft-board/users/{user}/posts/stats HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/addresses.md b/modules/_bundled/sirsoft-ecommerce/docs/api/addresses.md index 58153741..c2b1aa0d 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/addresses.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/addresses.md @@ -356,8 +356,8 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/brands.md b/modules/_bundled/sirsoft-ecommerce/docs/api/brands.md index 706feaa3..bcbc54fa 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/brands.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/brands.md @@ -306,8 +306,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.brands.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/cart.md b/modules/_bundled/sirsoft-ecommerce/docs/api/cart.md index 3c28f4d5..914cd724 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/cart.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/cart.md @@ -651,8 +651,8 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -700,8 +700,8 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/categories.md b/modules/_bundled/sirsoft-ecommerce/docs/api/categories.md index c5357a83..0115a299 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/categories.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/categories.md @@ -251,6 +251,8 @@ Content-Type: application/json | temp_key | body | string | 아니오 | max 64 | 사전 업로드한 임시 이미지를 이 카테고리에 연결하기 위한 FileUploader temp_key | | collection | body | string | 아니오 | max 100 | 첨부 컬렉션 그룹명 (첨부를 용도별로 묶는 키, 미지정 시 default) | | alt_text | body | array | 아니오 | — | 이미지 대체 텍스트 (접근성/이미지 미표시 시 대체 문구) | +| alt_text.ko | body | string | 아니오 | max 255 | | +| alt_text.en | body | string | 아니오 | max 255 | | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`sirsoft-ecommerce.category-image.filter_upload_validation_rules`). @@ -279,6 +281,14 @@ Content-Disposition: form-data; name="collection" ------G7ExampleBoundary Content-Disposition: form-data; name="alt_text" +예시값 +------G7ExampleBoundary +Content-Disposition: form-data; name="alt_text.ko" + +예시값 +------G7ExampleBoundary +Content-Disposition: form-data; name="alt_text.en" + 예시값 ------G7ExampleBoundary-- ``` @@ -578,6 +588,8 @@ HTTP/1.1 200 | temp_key | body | string | 아니오 | max 64 | 사전 업로드한 임시 이미지를 이 카테고리에 연결하기 위한 FileUploader temp_key | | collection | body | string | 아니오 | max 100 | 첨부 컬렉션 그룹명 (첨부를 용도별로 묶는 키, 미지정 시 default) | | alt_text | body | array | 아니오 | — | 이미지 대체 텍스트 (접근성/이미지 미표시 시 대체 문구) | +| alt_text.ko | body | string | 아니오 | max 255 | | +| alt_text.en | body | string | 아니오 | max 255 | | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`sirsoft-ecommerce.category-image.filter_upload_validation_rules`). @@ -606,6 +618,14 @@ Content-Disposition: form-data; name="collection" ------G7ExampleBoundary Content-Disposition: form-data; name="alt_text" +예시값 +------G7ExampleBoundary +Content-Disposition: form-data; name="alt_text.ko" + +예시값 +------G7ExampleBoundary +Content-Disposition: form-data; name="alt_text.en" + 예시값 ------G7ExampleBoundary-- ``` @@ -624,8 +644,8 @@ Content-Disposition: form-data; name="alt_text" | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.categories.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -735,8 +755,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.categories.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/checkout.md b/modules/_bundled/sirsoft-ecommerce/docs/api/checkout.md index b82ff0f9..98db3b5f 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/checkout.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/checkout.md @@ -8,7 +8,7 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Checkout 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(curl) + 실측 응답 필드 표 + 응답 예시(envelope) +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) 3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/claim-reasons.md b/modules/_bundled/sirsoft-ecommerce/docs/api/claim-reasons.md index 625ee9cb..a2699c70 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/claim-reasons.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/claim-reasons.md @@ -226,7 +226,7 @@ Content-Type: application/json **요청 예시** ```http -GET /api/modules/sirsoft-ecommerce/admin/claim-reasons/active?type=%EC%98%88%EC%8B%9C%EA%B0%92 HTTP/1.1 +DELETE /api/modules/sirsoft-ecommerce/admin/claim-reasons/{id} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -234,6 +234,303 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| reason_id | integer | `8` | reason 식별자 (연관 리소스 참조) | + +**응답 예시** + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "클래임 사유가 삭제되었습니다.", + "data": { + "reason_id": 8 + } +} +``` + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.settings.update`)이 없는 경우 | +| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | + + + +**설명** 관리자가 클래임 사유 1건을 삭제합니다. `permission:sirsoft-ecommerce.settings.update` 권한이 필요하며, 대상이 없으면 404 를 반환하고 존재하면 `ClaimReasonService::deleteReason()`이 삭제합니다. 이미 사용 중인 사유 등 삭제 불가 상황에서는 서비스가 던진 예외 메시지를 그대로 사용해 400 으로 응답하므로, 관리자에게 삭제 실패 사유가 노출됩니다. + + +### GET /api/modules/sirsoft-ecommerce/admin/claim-reasons/{id} + +- **라우트명**: `api.modules.sirsoft-ecommerce.admin.claim-reasons.show` +- **컨트롤러**: `Modules\Sirsoft\Ecommerce\Http\Controllers\Admin\ClaimReasonController@show` +- **인증/권한**: `auth:sanctum` + `permission:sirsoft-ecommerce.settings.read` + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| id | path | string | 예 | — | 대상 리소스의 식별자 | + +**요청 예시** + +```http +GET /api/modules/sirsoft-ecommerce/admin/claim-reasons/{id} HTTP/1.1 +Host: api.example.com +Accept: application/json +Authorization: Bearer {YOUR_TOKEN} +``` + +**응답 필드** (`data` 내부) + +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `8` | 기본 키 (내부 식별자) | +| type | string | `refund` | 사유 유형 (refund, exchange, return 등) | +| code | string | `apidoc_sample` | 고유 코드 (order_mistake 등) | +| name | object | `{"ko":"API 문서 샘플 사유","en":"API Doc Sample Reason"}` | 대상의 이름/명칭 (다국어 필드는 로케일별 값 객체) | +| localized_name | string | `API 문서 샘플 사유` | `name` 의 현재 로케일 해석 값 (다국어 필드를 표시용 문자열로 해석) | +| fault_type | string | `customer` | 귀책 구분 (customer, seller, carrier) | +| fault_type_label | string | `고객 귀책` | `fault_type` 값의 사람이 읽는 라벨 (현지화/Enum 파생) | +| is_user_selectable | boolean | `true` | user selectable 여부 | +| is_active | boolean | `true` | active 여부 | +| sort_order | integer | `0` | 표시 정렬 순서 값 (작을수록 우선) | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 | +| updated_at | string | `2026-07-08 10:44:49` | 최종 수정 일시 | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (can_update, can_delete 등 — 권한 맵 기반) | + +**응답 예시** + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "클래임 사유 정보를 조회했습니다.", + "data": { + "id": 8, + "type": "refund", + "code": "apidoc_sample", + "name": { + "ko": "API 문서 샘플 사유", + "en": "API Doc Sample Reason" + }, + "localized_name": "API 문서 샘플 사유", + "fault_type": "customer", + "fault_type_label": "고객 귀책", + "is_user_selectable": true, + "is_active": true, + "sort_order": 0, + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 10:44:49", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.settings.read`)이 없는 경우 | +| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | + + + +**설명** 관리자가 클래임 사유 1건의 상세 정보를 조회합니다. `permission:sirsoft-ecommerce.settings.read` 권한이 필요하며, `ClaimReasonService::getReason()`이 대상을 조회해 `ClaimReasonResource`로 반환합니다. 사유 편집 폼을 열 때 기존 값(다국어 사유명·코드·귀책 구분·활성/노출 설정 등)을 채우는 용도로 사용되며, 해당 사유가 없으면 404 를 반환합니다. + + +### PUT /api/modules/sirsoft-ecommerce/admin/claim-reasons/{id} + +- **라우트명**: `api.modules.sirsoft-ecommerce.admin.claim-reasons.update` +- **컨트롤러**: `Modules\Sirsoft\Ecommerce\Http\Controllers\Admin\ClaimReasonController@update` +- **인증/권한**: `auth:sanctum` + `permission:sirsoft-ecommerce.settings.update` + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| id | path | string | 예 | — | 대상 리소스의 식별자 | +| type | body | string | 예 | — | 클래임 사유 유형 (ClaimReasonTypeEnum — 현재 `refund`(환불/취소)) | +| code | body | string | 예 | max 50 | 사유 식별 코드 (영문 소문자/숫자/`_`, 같은 type 내에서 고유) | +| name | body | array | 예 | — | 대상의 이름/명칭 | +| fault_type | body | string | 예 | — | 귀책 구분 (ClaimReasonFaultTypeEnum — `customer`(고객)/`seller`(판매자)/`carrier`(배송사)) | +| is_user_selectable | body | boolean | 아니오 | — | user selectable 여부 | +| is_active | body | boolean | 아니오 | — | 활성 여부 (true 활성 / false 비활성) | +| sort_order | body | integer | 아니오 | min 0 | 표시 정렬 순서 값 (작을수록 우선) | + +**요청 예시** + +```http +PUT /api/modules/sirsoft-ecommerce/admin/claim-reasons/{id} HTTP/1.1 +Host: api.example.com +Accept: application/json +Authorization: Bearer {YOUR_TOKEN} +Content-Type: application/json + +{ + "type": "예시값", + "code": "예시값", + "name": [ + "예시 이름" + ], + "fault_type": "예시값", + "is_user_selectable": true, + "is_active": true, + "sort_order": 1 +} +``` + +**응답 필드** (`data` 내부) + + + +**응답 예시** + + + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.settings.update`)이 없는 경우 | +| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | + + + +**설명** 관리자가 기존 클래임 사유를 수정합니다. `permission:sirsoft-ecommerce.settings.update` 권한이 필요하고 대상은 경로 `id` 로 지정하며, 생성과 동일한 필드(유형·코드·다국어 사유명·귀책 구분·노출/활성/정렬)를 받아 `ClaimReasonService::updateReason()`이 갱신하고 갱신된 사유를 반환합니다. 대상이 없거나 갱신 실패 시 400 오류로 응답합니다. + + +### PATCH /api/modules/sirsoft-ecommerce/admin/claim-reasons/{id}/toggle-status + +- **라우트명**: `api.modules.sirsoft-ecommerce.admin.claim-reasons.toggle-status` +- **컨트롤러**: `Modules\Sirsoft\Ecommerce\Http\Controllers\Admin\ClaimReasonController@toggleStatus` +- **인증/권한**: `auth:sanctum` + `permission:sirsoft-ecommerce.settings.update` + +**요청 파라미터** + +| 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | +| --- | --- | --- | --- | --- | --- | +| id | path | string | 예 | — | 대상 리소스의 식별자 | + +**요청 예시** + +```http +PATCH /api/modules/sirsoft-ecommerce/admin/claim-reasons/{id}/toggle-status HTTP/1.1 +Host: api.example.com +Accept: application/json +Authorization: Bearer {YOUR_TOKEN} +``` + +**응답 필드** (`data` 내부) + +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `8` | 기본 키 (내부 식별자) | +| type | string | `refund` | 사유 유형 (refund, exchange, return 등) | +| code | string | `apidoc_sample` | 고유 코드 (order_mistake 등) | +| name | object | `{"ko":"API 문서 샘플 사유","en":"API Doc Sample Reason"}` | 대상의 이름/명칭 (다국어 필드는 로케일별 값 객체) | +| localized_name | string | `API 문서 샘플 사유` | `name` 의 현재 로케일 해석 값 (다국어 필드를 표시용 문자열로 해석) | +| fault_type | string | `customer` | 귀책 구분 (customer, seller, carrier) | +| fault_type_label | string | `고객 귀책` | `fault_type` 값의 사람이 읽는 라벨 (현지화/Enum 파생) | +| is_user_selectable | boolean | `true` | user selectable 여부 | +| is_active | boolean | `false` | active 여부 | +| sort_order | integer | `0` | 표시 정렬 순서 값 (작을수록 우선) | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 | +| updated_at | string | `2026-07-08 15:00:18` | 최종 수정 일시 | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (can_update, can_delete 등 — 권한 맵 기반) | + +**응답 예시** + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "클래임 사유 상태가 변경되었습니다.", + "data": { + "id": 8, + "type": "refund", + "code": "apidoc_sample", + "name": { + "ko": "API 문서 샘플 사유", + "en": "API Doc Sample Reason" + }, + "localized_name": "API 문서 샘플 사유", + "fault_type": "customer", + "fault_type_label": "고객 귀책", + "is_user_selectable": true, + "is_active": false, + "sort_order": 0, + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 15:00:18", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` + +**에러 응답** + +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.settings.update`)이 없는 경우 | +| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | + + + +**설명** 관리자가 클래임 사유의 활성 상태를 켜고 끄는 토글을 수행합니다. `permission:sirsoft-ecommerce.settings.update` 권한이 필요하며, `ClaimReasonService::toggleStatus()`가 대상 사유의 `is_active` 값을 반전시켜 저장하고 갱신된 사유를 반환합니다. 사유를 삭제하지 않고 일시적으로 회원 선택지에서 감추거나 다시 노출할 때 사용합니다. + + +### GET /api/modules/sirsoft-ecommerce/user/claim-reasons + +- **라우트명**: `api.modules.sirsoft-ecommerce.user.claim-reasons.index` +- **컨트롤러**: `Modules\Sirsoft\Ecommerce\Http\Controllers\Admin\ClaimReasonController@userSelectableReasons` +- **인증/권한**: `optional.sanctum` (선택적 인증: 회원/비회원 모두 접근) + `permission:sirsoft-ecommerce.user-orders.cancel` + +**요청 파라미터** + +_요청 파라미터 없음._ + +**요청 예시** + +```http +GET /api/modules/sirsoft-ecommerce/user/claim-reasons HTTP/1.1 +Host: api.example.com +Accept: application/json +Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) +``` + +**응답 필드** (`data` 내부) + _목록 응답: `data.data[]` 배열 항목의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/coupons.md b/modules/_bundled/sirsoft-ecommerce/docs/api/coupons.md index 4c92368a..30cae75b 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/coupons.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/coupons.md @@ -545,8 +545,8 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/currency.md b/modules/_bundled/sirsoft-ecommerce/docs/api/currency.md index 6146da73..02138136 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/currency.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/currency.md @@ -42,7 +42,7 @@ _단건 응답: `data` 객체의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | -| preferred_currency | null | `null` | 회원이 저장한 선호 결제 통화 코드 (미설정 시 `null`) | +| preferred_currency | string | `KRW` | 회원이 저장한 선호 결제 통화 코드 (미설정 시 `null`) | **응답 예시** diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/extra-fee-templates.md b/modules/_bundled/sirsoft-ecommerce/docs/api/extra-fee-templates.md index 77c03da9..800a2df1 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/extra-fee-templates.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/extra-fee-templates.md @@ -731,8 +731,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.shipping-policies.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/guest.md b/modules/_bundled/sirsoft-ecommerce/docs/api/guest.md index 47c82872..524b29c5 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/guest.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/guest.md @@ -8,7 +8,7 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Guest 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(curl) + 실측 응답 필드 표 + 응답 예시(envelope) +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) 3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 @@ -111,8 +111,8 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -283,8 +283,8 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -339,8 +339,8 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -449,8 +449,8 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/inquiries.md b/modules/_bundled/sirsoft-ecommerce/docs/api/inquiries.md index 477e2200..c434fe64 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/inquiries.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/inquiries.md @@ -142,8 +142,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.inquiries.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -191,8 +191,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.inquiries.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -438,8 +438,8 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -527,8 +527,8 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -575,8 +575,8 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/mileage-transactions.md b/modules/_bundled/sirsoft-ecommerce/docs/api/mileage-transactions.md index d1f45f0c..134c535a 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/mileage-transactions.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/mileage-transactions.md @@ -383,8 +383,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.mileage.manage`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/options.md b/modules/_bundled/sirsoft-ecommerce/docs/api/options.md index 0d9a6d90..c8b78e81 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/options.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/options.md @@ -149,6 +149,12 @@ Content-Type: application/json | --- | --- | --- | --- | --- | --- | | ids | body | array | 예 | min 1 | 대상 리소스 식별자 배열 (대량 작업 대상) | | bulk_changes | body | array | 아니오 | — | 옵션 일괄 변경 조건 (`price_adjustment`/`stock_quantity` 각각 method+value, 설정된 필드가 개별 수정보다 우선 적용) | +| bulk_changes.price_adjustment | body | array | 아니오 | — | | +| bulk_changes.price_adjustment.method | body | string | 아니오 | `set`, `add`, `percent` | | +| bulk_changes.price_adjustment.value | body | number | 아니오 | — | | +| bulk_changes.stock_quantity | body | array | 아니오 | — | | +| bulk_changes.stock_quantity.method | body | string | 아니오 | `set`, `add`, `subtract` | | +| bulk_changes.stock_quantity.value | body | integer | 아니오 | min 0 | | | items | body | array | 아니오 | — | 처리 대상 항목 배열 | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`sirsoft-ecommerce.option.bulk_update_validation_rules`). @@ -169,6 +175,16 @@ Content-Type: application/json "bulk_changes": [ "예시값" ], + "bulk_changes.price_adjustment": [ + "예시값" + ], + "bulk_changes.price_adjustment.method": "set", + "bulk_changes.price_adjustment.value": 1, + "bulk_changes.stock_quantity": [ + "예시값" + ], + "bulk_changes.stock_quantity.method": "set", + "bulk_changes.stock_quantity.value": 1, "items": [ "예시값" ] diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/orders.md b/modules/_bundled/sirsoft-ecommerce/docs/api/orders.md index 19617587..00eace9b 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/orders.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/orders.md @@ -8,7 +8,7 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Orders 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(curl) + 실측 응답 필드 표 + 응답 예시(envelope) +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) 3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 @@ -363,7 +363,7 @@ Content-Type: application/json **요청 예시** ```http -DELETE /api/modules/sirsoft-ecommerce/admin/orders/1316 HTTP/1.1 +DELETE /api/modules/sirsoft-ecommerce/admin/orders/{order} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -405,7 +405,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -GET /api/modules/sirsoft-ecommerce/admin/orders/1316 HTTP/1.1 +GET /api/modules/sirsoft-ecommerce/admin/orders/{order} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -591,7 +591,7 @@ HTTP/1.1 200 **요청 예시** ```http -PATCH /api/modules/sirsoft-ecommerce/admin/orders/1316 HTTP/1.1 +PATCH /api/modules/sirsoft-ecommerce/admin/orders/{order} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -630,8 +630,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -662,7 +662,7 @@ Content-Type: application/json **요청 예시** ```http -POST /api/modules/sirsoft-ecommerce/admin/orders/1316/cancel HTTP/1.1 +POST /api/modules/sirsoft-ecommerce/admin/orders/{order}/cancel HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -676,7 +676,10 @@ Content-Type: application/json "예시값" ], "cancel_pg": true, - "refund_priority": "pg_first" + "refund_priority": "pg_first", + "refund_bank.bank_code": "예시값", + "refund_bank.account_number": "예시값", + "refund_bank.holder": "예시값" } ``` @@ -694,8 +697,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -717,7 +720,7 @@ Content-Type: application/json **요청 예시** ```http -DELETE /api/modules/sirsoft-ecommerce/admin/orders/1/cash-receipt HTTP/1.1 +DELETE /api/modules/sirsoft-ecommerce/admin/orders/{order}/cash-receipt HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -784,7 +787,7 @@ HTTP/1.1 200 **요청 예시** ```http -POST /api/modules/sirsoft-ecommerce/admin/orders/1/cash-receipt HTTP/1.1 +POST /api/modules/sirsoft-ecommerce/admin/orders/{order}/cash-receipt HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -859,8 +862,8 @@ HTTP/1.1 200 | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -913,7 +916,7 @@ HTTP/1.1 200 **요청 예시** ```http -POST /api/modules/sirsoft-ecommerce/admin/orders/1/cash-receipt/reissue HTTP/1.1 +POST /api/modules/sirsoft-ecommerce/admin/orders/{order}/cash-receipt/reissue HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1002,7 +1005,7 @@ HTTP/1.1 200 **요청 예시** ```http -PATCH /api/modules/sirsoft-ecommerce/admin/orders/1316/confirm-deposit HTTP/1.1 +PATCH /api/modules/sirsoft-ecommerce/admin/orders/{order}/confirm-deposit HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1029,8 +1032,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1054,7 +1057,7 @@ Content-Type: application/json **요청 예시** ```http -POST /api/modules/sirsoft-ecommerce/admin/orders/1316/estimate-refund HTTP/1.1 +POST /api/modules/sirsoft-ecommerce/admin/orders/{order}/estimate-refund HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1082,8 +1085,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1107,7 +1110,7 @@ Content-Type: application/json **요청 예시** ```http -GET /api/modules/sirsoft-ecommerce/admin/orders/1316/logs?per_page=1&sort_order=%EC%98%88%EC%8B%9C%EA%B0%92 HTTP/1.1 +GET /api/modules/sirsoft-ecommerce/admin/orders/{order}/logs?per_page=1&sort_order=%EC%98%88%EC%8B%9C%EA%B0%92 HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1292,8 +1295,8 @@ HTTP/1.1 200 | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1319,7 +1322,7 @@ HTTP/1.1 200 **요청 예시** ```http -PATCH /api/modules/sirsoft-ecommerce/admin/orders/1316/options/bulk-status HTTP/1.1 +PATCH /api/modules/sirsoft-ecommerce/admin/orders/{order}/options/bulk-status HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1349,8 +1352,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1374,7 +1377,7 @@ Content-Type: application/json **요청 예시** ```http -POST /api/modules/sirsoft-ecommerce/admin/orders/1316/reset-guest-lookup-password HTTP/1.1 +POST /api/modules/sirsoft-ecommerce/admin/orders/{order}/reset-guest-lookup-password HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1388,11 +1391,25 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + + + **응답 예시** - + + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "비회원 조회 비밀번호가 재설정되었습니다.", + "data": null +} +``` **에러 응답** @@ -1400,8 +1417,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1425,7 +1442,7 @@ Content-Type: application/json **요청 예시** ```http -POST /api/modules/sirsoft-ecommerce/admin/orders/1316/send-email HTTP/1.1 +POST /api/modules/sirsoft-ecommerce/admin/orders/{order}/send-email HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1451,8 +1468,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1500,8 +1517,8 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1645,6 +1662,11 @@ HTTP/1.1 200 | expected_total_amount | body | number | 예 | min 0 | 프론트가 계산한 예상 결제금액 (서버 재계산값과 대조해 금액 위변조 검증) | | shipping_memo | body | string | 아니오 | max 500 | 배송 요청사항 메모 | | depositor_name | body | string | 아니오 | max 50 | depositor 이름 (식별자) | +| dbank.bank_code | body | string | 아니오 | max 10 | | +| dbank.bank_name | body | string | 아니오 | max 50 | dbank.bank 이름 (식별자) | +| dbank.account_number | body | string | 아니오 | max 50 | | +| dbank.account_holder | body | string | 아니오 | max 50 | | +| dbank.due_days | body | integer | 아니오 | min 1, max 30 | | | save_shipping_address | body | boolean | 아니오 | — | 회원 주소록에 이번 배송지 저장 여부 (회원 주문 한정) | | cash_receipt_requested | body | boolean | 아니오 | — | 현금영수증 신청 여부 (true 면 아래 3개 필드가 필수) | | cash_receipt_type | body | string | 아니오 | — | 발급 용도 (`income` 소득공제 / `expense` 지출증빙) | @@ -1653,6 +1675,7 @@ HTTP/1.1 200 | refund_bank.bank_code | body | string | 아니오 | max 10 | 환불 계좌 은행코드 (세 필드는 전부 입력하거나 전부 비워야 함) | | refund_bank.account_number | body | string | 아니오 | max 50 | 환불 계좌번호 | | refund_bank.holder | body | string | 아니오 | max 50 | 환불 계좌 예금주 | +| orderer.email | body | email | 예 | max 255 | | | guest_lookup_password | body | string | 예 | min 8, max 255 | 비회원 주문 조회 비밀번호 (비회원만 필수, 8자 이상 · 해시로 저장) | | guest_lookup_password_confirmation | body | string | 예 | — | 조회 비밀번호 확인 (guest_lookup_password 와 일치해야 함) | @@ -1668,15 +1691,39 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 Content-Type: application/json { + "orderer.name": "예시 이름", + "orderer.phone": "010-1234-5678", + "shipping.recipient_name": "예시 이름", + "shipping.recipient_phone": "010-1234-5678", + "shipping.recipient_tel": "예시값", + "shipping.country_code": "KR", + "shipping.zipcode": "06234", + "shipping.address": "서울특별시 강남구 테헤란로 1", + "shipping.address_detail": "서울특별시 강남구 테헤란로 1", + "shipping.address_type_code": "R", + "shipping.address_line_1": "서울특별시 강남구 테헤란로 1", + "shipping.address_line_2": "서울특별시 강남구 테헤란로 1", + "shipping.intl_city": "예시값", + "shipping.intl_state": "예시값", + "shipping.intl_postal_code": "06234", "payment_method": "예시값", "expected_total_amount": 1, "shipping_memo": "예시값", "depositor_name": "예시 이름", + "dbank.bank_code": "예시값", + "dbank.bank_name": "예시 이름", + "dbank.account_number": "예시값", + "dbank.account_holder": "예시값", + "dbank.due_days": 1, "save_shipping_address": true, "cash_receipt_requested": true, "cash_receipt_type": "예시값", "cash_receipt_identifier_type": "example-key", "cash_receipt_identifier": "example-key", + "refund_bank.bank_code": "예시값", + "refund_bank.account_number": "예시값", + "refund_bank.holder": "예시값", + "orderer.email": "user@example.com", "guest_lookup_password": "Password123!", "guest_lookup_password_confirmation": "Password123!" } @@ -1909,8 +1956,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.user-orders.cancel`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2083,8 +2130,8 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2140,8 +2187,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.user-orders.cancel`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2298,8 +2345,8 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/presets.md b/modules/_bundled/sirsoft-ecommerce/docs/api/presets.md index d77c17b6..e77a8ea7 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/presets.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/presets.md @@ -215,8 +215,8 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/product-common-infos.md b/modules/_bundled/sirsoft-ecommerce/docs/api/product-common-infos.md index 488454f0..e6c68fc3 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/product-common-infos.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/product-common-infos.md @@ -366,8 +366,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.product-common-infos.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/product-labels.md b/modules/_bundled/sirsoft-ecommerce/docs/api/product-labels.md index 86abd57c..0a8e0046 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/product-labels.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/product-labels.md @@ -318,8 +318,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.product-labels.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/product-notice-templates.md b/modules/_bundled/sirsoft-ecommerce/docs/api/product-notice-templates.md index bcd60114..5f8d43c9 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/product-notice-templates.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/product-notice-templates.md @@ -430,8 +430,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.product-notice-templates.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/products.md b/modules/_bundled/sirsoft-ecommerce/docs/api/products.md index 928833cd..c2ea3655 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/products.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/products.md @@ -550,8 +550,16 @@ Content-Type: application/json | --- | --- | --- | --- | --- | --- | | ids | body | array | 예 | min 1 | 대상 리소스 식별자 배열 (대량 작업 대상) | | bulk_changes | body | array | 아니오 | — | 상품 조건 기반 일괄 변경값 (지정 시 ids 전체에 sales_status/display_status 일괄 적용) | +| bulk_changes.sales_status | body | string | 아니오 | — | | +| bulk_changes.display_status | body | string | 아니오 | — | | | items | body | array | 아니오 | — | 처리 대상 항목 배열 | | option_bulk_changes | body | array | 아니오 | — | 옵션 조건 기반 일괄 변경값 (price_adjustment/stock_quantity 를 method+value 로 일괄 조정) | +| option_bulk_changes.price_adjustment | body | array | 아니오 | — | | +| option_bulk_changes.price_adjustment.method | body | string | 아니오 | `set`, `add`, `percent` | | +| option_bulk_changes.price_adjustment.value | body | number | 아니오 | — | | +| option_bulk_changes.stock_quantity | body | array | 아니오 | — | | +| option_bulk_changes.stock_quantity.method | body | string | 아니오 | `set`, `add`, `subtract` | | +| option_bulk_changes.stock_quantity.value | body | integer | 아니오 | min 0 | | | option_items | body | array | 아니오 | — | 옵션 개별 인라인 수정 배열 (각 항목: product_id·option_id + 수정할 옵션 필드) | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`sirsoft-ecommerce.product.bulk_update_validation_rules`). @@ -572,12 +580,24 @@ Content-Type: application/json "bulk_changes": [ "예시값" ], + "bulk_changes.sales_status": "예시값", + "bulk_changes.display_status": "예시값", "items": [ "예시값" ], "option_bulk_changes": [ "예시값" ], + "option_bulk_changes.price_adjustment": [ + "예시값" + ], + "option_bulk_changes.price_adjustment.method": "set", + "option_bulk_changes.price_adjustment.value": 1, + "option_bulk_changes.stock_quantity": [ + "예시값" + ], + "option_bulk_changes.stock_quantity.method": "set", + "option_bulk_changes.stock_quantity.value": 1, "option_items": [ "예시값" ] @@ -794,8 +814,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.products.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -855,6 +875,8 @@ Authorization: Bearer {YOUR_TOKEN} | temp_key | body | string | 아니오 | max 64 | 임시 업로드 세션 키 (같은 상품의 여러 이미지를 한 세션으로 묶음, 생략 시 서버가 UUID 자동 발급) | | collection | body | string | 아니오 | — | 첨부 컬렉션 그룹명 (첨부를 용도별로 묶는 키, 미지정 시 default) | | alt_text | body | array | 아니오 | — | 이미지 대체 텍스트 (접근성/이미지 미표시 시 대체 문구) | +| alt_text.ko | body | string | 아니오 | max 255 | | +| alt_text.en | body | string | 아니오 | max 255 | | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`sirsoft-ecommerce.product-image.filter_upload_validation_rules`). @@ -883,6 +905,14 @@ Content-Disposition: form-data; name="collection" ------G7ExampleBoundary Content-Disposition: form-data; name="alt_text" +예시값 +------G7ExampleBoundary +Content-Disposition: form-data; name="alt_text.ko" + +예시값 +------G7ExampleBoundary +Content-Disposition: form-data; name="alt_text.en" + 예시값 ------G7ExampleBoundary-- ``` @@ -1104,6 +1134,8 @@ Authorization: Bearer {YOUR_TOKEN} | temp_key | body | string | 아니오 | max 64 | 임시 업로드 세션 키 (같은 상품의 여러 이미지를 한 세션으로 묶음, 생략 시 서버가 UUID 자동 발급) | | collection | body | string | 아니오 | — | 첨부 컬렉션 그룹명 (첨부를 용도별로 묶는 키, 미지정 시 default) | | alt_text | body | array | 아니오 | — | 이미지 대체 텍스트 (접근성/이미지 미표시 시 대체 문구) | +| alt_text.ko | body | string | 아니오 | max 255 | | +| alt_text.en | body | string | 아니오 | max 255 | | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`sirsoft-ecommerce.product-image.filter_upload_validation_rules`). @@ -1132,6 +1164,14 @@ Content-Disposition: form-data; name="collection" ------G7ExampleBoundary Content-Disposition: form-data; name="alt_text" +예시값 +------G7ExampleBoundary +Content-Disposition: form-data; name="alt_text.ko" + +예시값 +------G7ExampleBoundary +Content-Disposition: form-data; name="alt_text.en" + 예시값 ------G7ExampleBoundary-- ``` @@ -1150,8 +1190,8 @@ Content-Disposition: form-data; name="alt_text" | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.products.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1216,7 +1256,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -DELETE /api/modules/sirsoft-ecommerce/admin/products/1732 HTTP/1.1 +DELETE /api/modules/sirsoft-ecommerce/admin/products/{product} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1300,7 +1340,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -PUT /api/modules/sirsoft-ecommerce/admin/products/1732 HTTP/1.1 +PUT /api/modules/sirsoft-ecommerce/admin/products/{product} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1390,8 +1430,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.products.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1413,7 +1453,7 @@ Content-Type: application/json **요청 예시** ```http -GET /api/modules/sirsoft-ecommerce/admin/products/1732/can-delete HTTP/1.1 +GET /api/modules/sirsoft-ecommerce/admin/products/{product}/can-delete HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1494,7 +1534,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-ecommerce/admin/products/1732/copy?copy_images=1©_options=1©_categories=1©_sales_info=1©_description=1©_notice=1©_common_info=1©_other_info=1©_shipping=1©_seo=1©_identification=1 HTTP/1.1 +GET /api/modules/sirsoft-ecommerce/admin/products/{product}/copy HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1598,7 +1638,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-ecommerce/admin/products/1732/form HTTP/1.1 +GET /api/modules/sirsoft-ecommerce/admin/products/{product}/form HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -1643,7 +1683,7 @@ _단건 응답: `data` 객체의 필드._ | purchase_restriction | string | `none` | 구매 제한: none(없음), restricted(제한) | | allowed_roles | array | `[]` | 구매 허용 역할 ID 배열 | | meta_title | null | `null` | SEO 제목 (다국어 JSON) | -| meta_description | null | `null` | SEO 설명 (다국어 JSON) | +| meta_description | object | `{"ko":"면 손수건 3매입 #1 의 직접 입력 SEO 설명입니다.","en":"Custom SEO …` | SEO 설명 (다국어 JSON) | | seo_tags | array | `[]` | SEO 태그 목록 (메타 키워드 등 검색엔진 노출용 태그) | | seo_sync_title | boolean | `true` | SEO 제목 동기화 여부 (1: 상품명으로 자동 채움, 0: 직접 입력 보존) | | seo_sync_description | boolean | `true` | SEO 설명 동기화 여부 (1: 상품 설명으로 자동 채움, 0: 직접 입력 보존) | @@ -1706,7 +1746,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-ecommerce/admin/products/1732/logs?per_page=1&sort_order=%EC%98%88%EC%8B%9C%EA%B0%92 HTTP/1.1 +GET /api/modules/sirsoft-ecommerce/admin/products/{product}/logs HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -2391,7 +2431,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-ecommerce/products/1732 HTTP/1.1 +GET /api/modules/sirsoft-ecommerce/products/{product} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -2439,7 +2479,7 @@ _단건 응답: `data` 객체의 필드._ | images | array | `[{"id":7,"hash":"7df7761cdf16","original_filename":"produ…` | 상품 이미지 목록 (각 항목: hash·url·alt_text·is_thumbnail·sort_order 등, images 관계 로드 시) | | thumbnail_url | string | `/api/modules/sirsoft-ecommerce/produc…` | thumbnail URL | | meta_title | null | `null` | SEO 제목 (다국어 JSON) | -| meta_description | null | `null` | SEO 설명 (다국어 JSON) | +| meta_description | object | `{"ko":"면 손수건 3매입 #1 의 직접 입력 SEO 설명입니다.","en":"Custom SEO …` | SEO 설명 (다국어 JSON) | | meta_keywords | null | `null` | SEO 키워드 (배열) | | has_options | boolean | `true` | options 여부 | | option_groups | array | `[{"name":{"ko":"색상","en":"Color"},"name_localized":"색상","…` | 옵션 그룹 정의: [{name: "색상", values: ["빨강", "파랑"]}] | @@ -2500,7 +2540,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-ecommerce/products/1732/downloadable-coupons HTTP/1.1 +GET /api/modules/sirsoft-ecommerce/products/{product}/downloadable-coupons HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -2674,7 +2714,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-ecommerce/products/1732/inquiries?page=1&per_page=1&exclude_secret=1 HTTP/1.1 +GET /api/modules/sirsoft-ecommerce/products/{product}/inquiries HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -2797,7 +2837,7 @@ HTTP/1.1 200 **요청 예시** ```http -POST /api/modules/sirsoft-ecommerce/products/1732/inquiries HTTP/1.1 +POST /api/modules/sirsoft-ecommerce/products/{product}/inquiries HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -2825,8 +2865,8 @@ Content-Type: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.user-products.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2856,7 +2896,7 @@ Content-Type: application/json **요청 예시** ```http -GET /api/modules/sirsoft-ecommerce/products/1732/reviews?sort=created_at_desc&photo_only=0&page=1&per_page=1&rating=1&option_filters=%EC%98%88%EC%8B%9C%EA%B0%92 HTTP/1.1 +GET /api/modules/sirsoft-ecommerce/products/{product}/reviews?sort=created_at_desc&photo_only=0&page=1&per_page=1&rating=1&option_filters=%EC%98%88%EC%8B%9C%EA%B0%92 HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) @@ -2974,8 +3014,8 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.user-products.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/promotion-coupons.md b/modules/_bundled/sirsoft-ecommerce/docs/api/promotion-coupons.md index 95da22c8..b414359d 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/promotion-coupons.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/promotion-coupons.md @@ -514,8 +514,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.promotion-coupon.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -565,8 +565,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.promotion-coupon.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -613,8 +613,8 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.promotion-coupon.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/reviews.md b/modules/_bundled/sirsoft-ecommerce/docs/api/reviews.md index 04776b87..9aa0f10e 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/reviews.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/reviews.md @@ -65,7 +65,7 @@ _목록 응답: `data.data[]` 배열 항목의 필드._ | user_id | string | `a231747f-e82e-4cf2-9ae1-a261849dce40` | user 식별자 (연관 리소스 참조) | | user | object | `{"uuid":"a231747f-e82e-4cf2-9ae1-a261849dce40","name":"AP…` | 작성자 정보 (uuid·name·email, `user` 관계 로드 시) | | product | object | `{"id":320,"name":"API 문서 샘플 상품","thumbnail_url":null}` | 리뷰 대상 상품 정보 (id·현지화 상품명·썸네일 URL) | -| option_snapshot | null | `null` | 주문 시점 옵션 스냅샷 (옵션명 보존용) | +| option_snapshot | string | `{"id":104,"option_code":"FWACBAVCBKCD…` | 주문 시점 옵션 스냅샷 (옵션명 보존용) | | option_snapshot_label | string | `` | `option_snapshot` 값의 사람이 읽는 라벨 (현지화/Enum 파생) | | rating | integer | `5` | 별점 (1~5) | | content | string | `Molestiae repellendus accusantium omn…` | 리뷰 내용 | @@ -79,12 +79,12 @@ _목록 응답: `data.data[]` 배열 항목의 필드._ | has_reply | boolean | `false` | reply 여부 | | has_reply_label | string | `미답변` | `has_reply` 값의 사람이 읽는 라벨 (현지화/Enum 파생) | | has_reply_badge_color | string | `gray` | 답변 여부 뱃지 색상 (답변완료=green / 미답변=gray) | -| reply_content | null | `null` | 판매자 답변 내용 (없으면 null) | +| reply_content | string | `소중한 리뷰 감사드립니다! 항상 최선을 다하겠습니다.` | 판매자 답변 내용 (없으면 null) | | reply_content_mode | string | `text` | 답변 콘텐츠 모드: text / html | -| reply_admin_uuid | null | `null` | 답변 작성 관리자 UUID (`replyAdmin` 관계 로드 시) | -| reply_admin | null | `null` | 답변 작성 관리자 정보 (uuid·name·email, `replyAdmin` 관계 로드 시) | -| replied_at | null | `null` | replied 일시 | -| reply_updated_at | null | `null` | reply updated 일시 | +| reply_admin_uuid | string | `a2397737-f8da-4451-a9c0-2616e7cd2002` | 답변 작성 관리자 UUID (`replyAdmin` 관계 로드 시) | +| reply_admin | object | `{"uuid":"a2397737-f8da-4451-a9c0-2616e7cd2002","name":"관리…` | 답변 작성 관리자 정보 (uuid·name·email, `replyAdmin` 관계 로드 시) | +| replied_at | string | `2026-07-06 19:08:45` | replied 일시 | +| reply_updated_at | string | `2026-07-07 19:08:45` | reply updated 일시 | | created_at | string | `2026-07-07 14:47:31` | 생성 일시 | | updated_at | string | `2026-07-07 14:47:31` | 최종 수정 일시 | | abilities | object | `{"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (can_update, can_delete 등 — 권한 맵 기반) | @@ -273,7 +273,39 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `99` | 기본 키 (내부 식별자) | +| product_id | integer | `320` | 상품 ID | +| order_option_id | integer | `859` | 주문 옵션 ID | +| user_id | string | `a231747f-e82e-4cf2-9ae1-a261849dce40` | 작성자 ID | +| user | object | `{"uuid":"a231747f-e82e-4cf2-9ae1-a261849dce40","name":"AP…` | 작성자 정보 (uuid·name·email, `user` 관계 로드 시) | +| product | object | `{"id":320,"name":"API 문서 샘플 상품","thumbnail_url":null}` | 리뷰 대상 상품 정보 (id·현지화 상품명·썸네일 URL) | +| option_snapshot | string | `{"id":104,"option_code":"FWACBAVCBKCD…` | 주문 시점 옵션 스냅샷 (옵션명 보존용) | +| option_snapshot_label | string | `` | `option_snapshot` 값의 사람이 읽는 라벨 (현지화/Enum 파생) | +| rating | integer | `5` | 별점 (1~5) | +| content | string | `Molestiae repellendus accusantium omn…` | 리뷰 내용 | +| content_mode | string | `text` | 콘텐츠 모드: text / html | +| status | string | `visible` | 리뷰 상태: visible / hidden | +| status_label | string | `전시중` | 상태의 사람이 읽는 라벨 (상태 Enum label() 산물) | +| status_badge_color | string | `blue` | 상태 뱃지 색상 (visible=blue / hidden=gray) | +| images | array | `[]` | 첨부 이미지 목록 (이미지 리소스 배열, `images` 관계 로드 시) | +| image_count | integer | `0` | image 개수 (집계) | +| orderOption | object | `{"id":859,"order_id":455,"order_number":"ORD-20260707-000…` | 리뷰가 연결된 주문 옵션 정보 (주문 ID·주문번호·수량·주문일) | +| has_reply | boolean | `false` | reply 여부 | +| has_reply_label | string | `미답변` | `has_reply` 값의 사람이 읽는 라벨 (현지화/Enum 파생) | +| has_reply_badge_color | string | `gray` | 답변 여부 뱃지 색상 (답변완료=green / 미답변=gray) | +| reply_content | null | `null` | 판매자 답변 내용 | +| reply_content_mode | string | `text` | 답변 콘텐츠 모드: text / html | +| reply_admin_uuid | null | `null` | 답변 작성 관리자 UUID (`replyAdmin` 관계 로드 시) | +| reply_admin | null | `null` | 답변 작성 관리자 정보 (uuid·name·email, `replyAdmin` 관계 로드 시) | +| replied_at | null | `null` | replied 일시 | +| reply_updated_at | null | `null` | reply updated 일시 | +| created_at | string | `2026-07-07 14:47:31` | 생성 일시 | +| updated_at | string | `2026-07-07 14:47:31` | 최종 수정 일시 | +| abilities | object | `{"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (can_update, can_delete 등 — 권한 맵 기반) | **응답 예시** @@ -315,7 +347,33 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| product_id | integer | `1` | product 식별자 (연관 리소스 참조) | +| order_option_id | integer | `1` | order option 식별자 (연관 리소스 참조) | +| user_id | string | `a234c2b1-cde8-437f-b28b-23323be2b98d` | user 식별자 (연관 리소스 참조) | +| user | object | `{"uuid":"a234c2b1-cde8-437f-b28b-23323be2b98d","name":"AP…` | 대상 사용자 정보 객체 (uuid/name/email 등 — user 관계 파생) | +| option_snapshot | string | `{"id":104,"option_code":"FWACBAVCBKCD…` | 주문 시점 옵션 스냅샷 (옵션명 보존용) | +| option_snapshot_label | string | `` | `option_snapshot` 값의 사람이 읽는 라벨 (현지화/Enum 파생) | +| rating | integer | `5` | 별점 (1~5) | +| content | string | `Alias quas iusto dolorem eum eveniet …` | 본문 내용 | +| content_mode | string | `text` | 콘텐츠 모드: text / html | +| status | string | `visible` | 상태 값 (도메인별 상태 집합 — 사람이 읽는 라벨은 status_label, UI 변형은 status_variant 참조) | +| status_label | string | `전시중` | 상태의 사람이 읽는 라벨 (상태 Enum label() 산물) | +| status_badge_color | string | `blue` | 상태 뱃지 색상 (visible=blue / hidden=gray) | +| has_reply | boolean | `false` | reply 여부 | +| has_reply_label | string | `미답변` | `has_reply` 값의 사람이 읽는 라벨 (현지화/Enum 파생) | +| has_reply_badge_color | string | `gray` | 답변 여부 뱃지 색상 (답변완료=green / 미답변=gray) | +| reply_content | null | `null` | 판매자 답변 내용 | +| reply_content_mode | string | `text` | 답변 콘텐츠 모드: text / html | +| replied_at | null | `null` | replied 일시 | +| reply_updated_at | null | `null` | reply updated 일시 | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 | +| updated_at | string | `2026-07-08 10:44:49` | 최종 수정 일시 | +| abilities | object | `{"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (can_update, can_delete 등 — 권한 맵 기반) | **응답 예시** @@ -367,7 +425,33 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| product_id | integer | `1` | product 식별자 (연관 리소스 참조) | +| order_option_id | integer | `1` | order option 식별자 (연관 리소스 참조) | +| user_id | string | `a234c2b1-cde8-437f-b28b-23323be2b98d` | user 식별자 (연관 리소스 참조) | +| user | object | `{"uuid":"a234c2b1-cde8-437f-b28b-23323be2b98d","name":"AP…` | 대상 사용자 정보 객체 (uuid/name/email 등 — user 관계 파생) | +| option_snapshot | string | `{"id":104,"option_code":"FWACBAVCBKCD…` | 주문 시점 옵션 스냅샷 (옵션명 보존용) | +| option_snapshot_label | string | `` | `option_snapshot` 값의 사람이 읽는 라벨 (현지화/Enum 파생) | +| rating | integer | `5` | 별점 (1~5) | +| content | string | `Alias quas iusto dolorem eum eveniet …` | 본문 내용 | +| content_mode | string | `text` | 콘텐츠 모드: text / html | +| status | string | `visible` | 상태 값 (도메인별 상태 집합 — 사람이 읽는 라벨은 status_label, UI 변형은 status_variant 참조) | +| status_label | string | `전시중` | 상태의 사람이 읽는 라벨 (상태 Enum label() 산물) | +| status_badge_color | string | `blue` | 상태 뱃지 색상 (visible=blue / hidden=gray) | +| has_reply | boolean | `true` | reply 여부 | +| has_reply_label | string | `답변완료` | `has_reply` 값의 사람이 읽는 라벨 (현지화/Enum 파생) | +| has_reply_badge_color | string | `green` | 답변 여부 뱃지 색상 (답변완료=green / 미답변=gray) | +| reply_content | string | `실측 예시값` | 판매자 답변 내용 | +| reply_content_mode | string | `text` | 답변 콘텐츠 모드: text / html | +| replied_at | string | `2026-07-08 15:00:32` | replied 일시 | +| reply_updated_at | null | `null` | reply updated 일시 | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 | +| updated_at | string | `2026-07-08 15:00:32` | 최종 수정 일시 | +| abilities | object | `{"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (can_update, can_delete 등 — 권한 맵 기반) | **응답 예시** @@ -379,8 +463,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.reviews.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -430,8 +514,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.reviews.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -622,8 +706,8 @@ Content-Type: application/octet-stream | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.user-reviews.write`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -654,11 +738,29 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| deleted | boolean | `true` | 삭제 처리 성공 여부 (true 이면 리뷰와 첨부 이미지가 제거됨) | **응답 예시** - + + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "리뷰 이미지가 삭제되었습니다.", + "data": { + "deleted": true + } +} +``` **에러 응답** diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/settings.md b/modules/_bundled/sirsoft-ecommerce/docs/api/settings.md index 83dd37b3..6c7f8c72 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/settings.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/settings.md @@ -8,7 +8,7 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Settings 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(curl) + 실측 응답 필드 표 + 응답 예시(envelope) +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) 3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 @@ -422,15 +422,90 @@ HTTP/1.1 200 | --- | --- | --- | --- | --- | --- | | _tab | body | string | 아니오 | `basic_info`, `language_currency`, `seo`, `order_settings`, `claim`, `shipping`, `review_settings`, `notification_definitions`, `notifications`, `inquiry`, `mileage` | 저장할 설정 탭(카테고리) 지정 (탭별 부분 저장 식별용) | | notifications | body | array | 아니오 | — | 알림 채널 설정 배열 (채널 ID·활성 여부·정렬 순서) | +| notifications.channels | body | array | 아니오 | — | | | basic_info | body | array | 아니오 | — | 쇼핑몰 기본 정보 섹션 (쇼핑몰명·라우트 경로·상호·사업자번호·주소·연락처 등) | +| basic_info.shop_name | body | string | 아니오 | max 255 | basic info.shop 이름 (식별자) | +| basic_info.route_path | body | string | 아니오 | max 100 | | +| basic_info.no_route | body | boolean | 아니오 | — | | +| basic_info.company_name | body | string | 아니오 | max 255 | basic info.company 이름 (식별자) | +| basic_info.business_number_1 | body | string | 아니오 | max 3 | | +| basic_info.business_number_2 | body | string | 아니오 | max 2 | | +| basic_info.business_number_3 | body | string | 아니오 | max 5 | | +| basic_info.ceo_name | body | string | 아니오 | max 100 | basic info.ceo 이름 (식별자) | +| basic_info.business_type | body | string | 아니오 | max 100 | | +| basic_info.business_category | body | string | 아니오 | max 255 | | +| basic_info.zipcode | body | string | 아니오 | max 10 | | +| basic_info.base_address | body | string | 아니오 | max 500 | | +| basic_info.detail_address | body | string | 아니오 | max 255 | | +| basic_info.phone_1 | body | string | 아니오 | max 4 | | +| basic_info.phone_2 | body | string | 아니오 | max 4 | | +| basic_info.phone_3 | body | string | 아니오 | max 4 | | +| basic_info.fax_1 | body | string | 아니오 | max 4 | | +| basic_info.fax_2 | body | string | 아니오 | max 4 | | +| basic_info.fax_3 | body | string | 아니오 | max 4 | | +| basic_info.email_id | body | string | 아니오 | max 100 | basic info.email 식별자 | +| basic_info.email_domain | body | string | 아니오 | max 100 | | +| basic_info.privacy_officer | body | string | 아니오 | max 100 | | +| basic_info.privacy_officer_email | body | email | 아니오 | max 255 | | +| basic_info.mail_order_number | body | string | 아니오 | max 100 | | +| basic_info.telecom_number | body | string | 아니오 | max 100 | | | language_currency | body | array | 아니오 | — | 통화 설정 섹션 (기본 통화·통화 목록: 코드·다국어명·환율·반올림 규칙·통화별 로케일) | +| language_currency.default_currency | body | string | 아니오 | max 10 | | +| language_currency.currencies | body | array | 아니오 | — | | | seo | body | array | 아니오 | — | SEO 메타 설정 섹션 (페이지 유형별 메타 타이틀/설명·SEO 활성 토글) | +| seo.meta_category_title | body | string | 아니오 | max 500 | | +| seo.meta_category_description | body | string | 아니오 | max 1000 | | +| seo.meta_search_title | body | string | 아니오 | max 500 | | +| seo.meta_search_description | body | string | 아니오 | max 1000 | | +| seo.meta_product_title | body | string | 아니오 | max 500 | | +| seo.meta_product_description | body | string | 아니오 | max 1000 | | +| seo.meta_shop_index_title | body | string | 아니오 | max 500 | | +| seo.meta_shop_index_description | body | string | 아니오 | max 1000 | | +| seo.seo_category | body | boolean | 아니오 | — | | +| seo.seo_search_result | body | boolean | 아니오 | — | | +| seo.seo_product_detail | body | boolean | 아니오 | — | | +| seo.seo_shop_index | body | boolean | 아니오 | — | | | inquiry | body | array | 아니오 | — | 문의 연동 설정 섹션 (문의 게시판 slug) | +| inquiry.board_slug | body | string | 아니오 | max 255 | | | order_settings | body | array | 아니오 | — | 주문/결제 설정 섹션 (기본 PG·결제수단·은행/무통장 계좌·자동취소·장바구니 만료 등) | +| order_settings.default_pg_provider | body | string | 아니오 | max 50 | | +| order_settings.cash_receipt_provider | body | string | 아니오 | max 50 | | +| order_settings.cash_receipt_self_issue | body | boolean | 아니오 | — | | +| order_settings.shipping_fee_tax_policy | body | string | 아니오 | `proportional`, `taxable`, `follow_main_item` | | +| order_settings.payment_methods | body | array | 아니오 | — | | +| order_settings.banks | body | array | 아니오 | — | | +| order_settings.bank_accounts | body | array | 아니오 | — | | +| order_settings.auto_cancel_expired | body | boolean | 아니오 | — | | +| order_settings.auto_cancel_days | body | integer | 아니오 | min 0, max 30 | | +| order_settings.cart_expiry_days | body | integer | 아니오 | min 1, max 365 | | +| order_settings.stock_restore_on_cancel | body | boolean | 아니오 | — | | +| order_settings.confirmable_statuses | body | array | 아니오 | — | | | claim | body | array | 아니오 | — | 클레임 설정 섹션 (환불 사유 목록, DB 동기화 대상으로 분리 저장) | +| claim.refund_reasons | body | array | 아니오 | — | | | review_settings | body | array | 아니오 | — | 리뷰 정책 섹션 (작성 기한일·이미지 최대 개수·이미지 최대 용량 MB) | +| review_settings.write_deadline_days | body | integer | 아니오 | min 1, max 365 | | +| review_settings.max_images | body | integer | 아니오 | min 0, max 20 | | +| review_settings.max_image_size_mb | body | integer | 아니오 | min 1, max 50 | | | mileage | body | array | 아니오 | — | 마일리지 설정 섹션 (사용 여부·기본 적립률·적립 트리거·통화별 규칙·소멸/소멸 알림) | +| mileage.enabled | body | boolean | 아니오 | — | | +| mileage.default_earn_rate | body | number | 아니오 | min 0, max 100 | | +| mileage.earn_trigger | body | string | 아니오 | `delivered`, `confirmed` | | +| mileage.earn_delay_days | body | integer | 아니오 | min 0, max 365 | | +| mileage.currency_rules | body | array | 아니오 | — | | +| mileage.expiry_enabled | body | boolean | 아니오 | — | | +| mileage.expiry_days | body | integer | 아니오 | min 1, max 3650 | | +| mileage.expiry_notification_enabled | body | boolean | 아니오 | — | | +| mileage.expiry_notification_days_before | body | integer | 아니오 | min 1, max 365 | | | shipping | body | array | 아니오 | — | 배송 설정 섹션 (기본 국가·배송 가능 국가·무료배송·배송사(carriers)·배송유형(types) — carriers/types는 DB 동기화 대상으로 분리 저장) | +| shipping.default_country | body | string | 아니오 | max 10 | | +| shipping.available_countries | body | array | 아니오 | — | | +| shipping.international_shipping_enabled | body | boolean | 아니오 | — | | +| shipping.free_shipping_threshold | body | integer | 아니오 | min 0 | | +| shipping.free_shipping_enabled | body | boolean | 아니오 | — | | +| shipping.address_validation_enabled | body | boolean | 아니오 | — | | +| shipping.address_api_provider | body | string | 아니오 | max 50 | | +| shipping.carriers | body | array | 아니오 | — | | +| shipping.types | body | array | 아니오 | — | | **요청 예시** @@ -446,32 +521,129 @@ Content-Type: application/json "notifications": [ "예시값" ], + "notifications.channels": [ + "예시값" + ], "basic_info": [ "예시값" ], + "basic_info.shop_name": "예시 이름", + "basic_info.route_path": "예시값", + "basic_info.no_route": true, + "basic_info.company_name": "예시 이름", + "basic_info.business_number_1": "예시값", + "basic_info.business_number_2": "예시값", + "basic_info.business_number_3": "예시값", + "basic_info.ceo_name": "예시 이름", + "basic_info.business_type": "예시값", + "basic_info.business_category": "예시값", + "basic_info.zipcode": "06234", + "basic_info.base_address": "서울특별시 강남구 테헤란로 1", + "basic_info.detail_address": "서울특별시 강남구 테헤란로 1", + "basic_info.phone_1": "010-1234-5678", + "basic_info.phone_2": "010-1234-5678", + "basic_info.phone_3": "010-1234-5678", + "basic_info.fax_1": "예시값", + "basic_info.fax_2": "예시값", + "basic_info.fax_3": "예시값", + "basic_info.email_id": "user@example.com", + "basic_info.email_domain": "user@example.com", + "basic_info.privacy_officer": "예시값", + "basic_info.privacy_officer_email": "user@example.com", + "basic_info.mail_order_number": "예시값", + "basic_info.telecom_number": "예시값", "language_currency": [ "예시값" ], + "language_currency.default_currency": "예시값", + "language_currency.currencies": [ + "예시값" + ], "seo": [ "예시값" ], + "seo.meta_category_title": "예시 제목", + "seo.meta_category_description": "예시 내용입니다.", + "seo.meta_search_title": "예시 제목", + "seo.meta_search_description": "예시 내용입니다.", + "seo.meta_product_title": "예시 제목", + "seo.meta_product_description": "예시 내용입니다.", + "seo.meta_shop_index_title": "예시 제목", + "seo.meta_shop_index_description": "예시 내용입니다.", + "seo.seo_category": true, + "seo.seo_search_result": true, + "seo.seo_product_detail": true, + "seo.seo_shop_index": true, "inquiry": [ "예시값" ], + "inquiry.board_slug": "example-key", "order_settings": [ "예시값" ], + "order_settings.default_pg_provider": "예시값", + "order_settings.cash_receipt_provider": "예시값", + "order_settings.cash_receipt_self_issue": true, + "order_settings.shipping_fee_tax_policy": "proportional", + "order_settings.payment_methods": [ + "예시값" + ], + "order_settings.banks": [ + "예시값" + ], + "order_settings.bank_accounts": [ + "예시값" + ], + "order_settings.auto_cancel_expired": true, + "order_settings.auto_cancel_days": 1, + "order_settings.cart_expiry_days": 1, + "order_settings.stock_restore_on_cancel": true, + "order_settings.confirmable_statuses": [ + "예시값" + ], "claim": [ "예시값" ], + "claim.refund_reasons": [ + "예시값" + ], "review_settings": [ "예시값" ], + "review_settings.write_deadline_days": 1, + "review_settings.max_images": 1, + "review_settings.max_image_size_mb": 1, "mileage": [ "예시값" ], + "mileage.enabled": true, + "mileage.default_earn_rate": 1, + "mileage.earn_trigger": "delivered", + "mileage.earn_delay_days": 1, + "mileage.currency_rules": [ + "예시값" + ], + "mileage.expiry_enabled": true, + "mileage.expiry_days": 1, + "mileage.expiry_notification_enabled": true, + "mileage.expiry_notification_days_before": 1, "shipping": [ "예시값" + ], + "shipping.default_country": "KR", + "shipping.available_countries": [ + "KR" + ], + "shipping.international_shipping_enabled": true, + "shipping.free_shipping_threshold": 1, + "shipping.free_shipping_enabled": true, + "shipping.address_validation_enabled": true, + "shipping.address_api_provider": "서울특별시 강남구 테헤란로 1", + "shipping.carriers": [ + "예시값" + ], + "shipping.types": [ + "예시값" ] } ``` diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/shipping-carriers.md b/modules/_bundled/sirsoft-ecommerce/docs/api/shipping-carriers.md index f8a0fdc9..2f9a62c7 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/shipping-carriers.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/shipping-carriers.md @@ -489,8 +489,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.settings.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/shipping-policies.md b/modules/_bundled/sirsoft-ecommerce/docs/api/shipping-policies.md index 05589636..0b0c7d05 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/shipping-policies.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/shipping-policies.md @@ -506,7 +506,17 @@ Content-Type: application/json | endpoint | body | string | 예 | max 500 | 테스트로 호출할 외부 배송비 계산 API 엔드포인트 URL. 내부 네트워크 주소(사설 IP·루프백·`localhost`·`*.internal` 등)와 userinfo(`https://a@b/`) 위장 주소는 422 로 거부됩니다 — 이 주소는 쇼핑몰 서버가 대신 호출하므로 내부망 접근을 막기 위함(SSRF). 사내 배송비 계산 서버를 쓰려면 코어 환경설정의 `security.allow_internal_outbound_urls` 를 켜세요 | | request_fields | body | array | 아니오 | — | 요청에 실어 보낼 필드명 목록 (후보 SSoT ShippingApiRequestField 5종) | | config | body | array | 아니오 | — | API 호출 고급 설정 (HTTP 메서드·인증방식·필드 매핑·응답 형식/경로 등) | +| config.http_method | body | string | 아니오 | — | | +| config.auth_type | body | string | 아니오 | — | | +| config.auth_token | body | string | 아니오 | max 1000 | | +| config.auth_header_name | body | string | 아니오 | max 100 | config.auth header 이름 (식별자) | +| config.response_type | body | string | 아니오 | — | | +| config.response_path | body | string | 아니오 | max 200 | | +| config.field_map | body | array | 아니오 | — | | | sample | body | array | 아니오 | — | 테스트 계산에 사용할 샘플 주문 데이터 (무게/금액/수량 등) | +| sample.group_total | body | number | 아니오 | min 0 | | +| sample.total_quantity | body | integer | 아니오 | min 0 | | +| sample.country_code | body | string | 아니오 | max 10 | | **요청 예시** @@ -525,9 +535,21 @@ Content-Type: application/json "config": [ "예시값" ], + "config.http_method": "예시값", + "config.auth_type": "예시값", + "config.auth_token": "{YOUR_TOKEN}", + "config.auth_header_name": "예시 이름", + "config.response_type": "예시값", + "config.response_path": "예시값", + "config.field_map": [ + "예시값" + ], "sample": [ "예시값" - ] + ], + "sample.group_total": 1, + "sample.total_quantity": 1, + "sample.country_code": "KR" } ``` @@ -691,8 +713,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.shipping-policies.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/users.md b/modules/_bundled/sirsoft-ecommerce/docs/api/users.md index a0ba9d26..c64c2bbd 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/users.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/users.md @@ -33,7 +33,7 @@ **요청 예시** ```http -PATCH /api/modules/sirsoft-ecommerce/admin/users/a26219fc-94a0-4f63-9404-04c2a6ac99e4/currency HTTP/1.1 +PATCH /api/modules/sirsoft-ecommerce/admin/users/{user}/currency HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -58,8 +58,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.user-currency.manage`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -82,7 +82,7 @@ Content-Type: application/json **요청 예시** ```http -PATCH /api/modules/sirsoft-ecommerce/admin/users/a26219fc-94a0-4f63-9404-04c2a6ac99e4/shipping-country HTTP/1.1 +PATCH /api/modules/sirsoft-ecommerce/admin/users/{user}/shipping-country HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -123,8 +123,8 @@ HTTP/1.1 200 | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.user-shipping-country.manage`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-page/docs/api/attachments.md b/modules/_bundled/sirsoft-page/docs/api/attachments.md index 102837d4..810bd664 100644 --- a/modules/_bundled/sirsoft-page/docs/api/attachments.md +++ b/modules/_bundled/sirsoft-page/docs/api/attachments.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Attachments 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -63,7 +63,7 @@ Content-Disposition: form-data; name="temp_key" **응답 필드** (`data` 내부) - + **응답 예시** @@ -114,7 +114,7 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** @@ -156,7 +156,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + **응답 예시** diff --git a/modules/_bundled/sirsoft-page/docs/api/pages.md b/modules/_bundled/sirsoft-page/docs/api/pages.md index ae52ac0c..c9736baf 100644 --- a/modules/_bundled/sirsoft-page/docs/api/pages.md +++ b/modules/_bundled/sirsoft-page/docs/api/pages.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Pages 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -158,6 +158,9 @@ HTTP/1.1 200 | content_mode | body | string | 아니오 | `html`, `text` | 본문 편집 모드. `html` 은 리치 에디터 HTML, `text` 는 평문으로 저장·렌더링됩니다 (미지정 시 `html`) | | published | body | boolean | 아니오 | — | 발행 여부 (발행된 항목만 필터) | | seo_meta | body | array | 아니오 | — | SEO 메타 정보 맵. 하위 키 `title`(max 255)·`description`(max 500)·`keywords`(max 500)를 담습니다 | +| seo_meta.title | body | string | 아니오 | max 255 | | +| seo_meta.description | body | string | 아니오 | max 500 | | +| seo_meta.keywords | body | string | 아니오 | max 500 | | | temp_key | body | string | 아니오 | max 64 | 저장 전 첨부 업로드 시 발급받은 임시 키. 생성된 페이지에 임시 첨부를 귀속시키는 데 사용합니다 | **요청 예시** @@ -180,13 +183,16 @@ Content-Type: application/json "seo_meta": [ "예시값" ], + "seo_meta.title": "예시 제목", + "seo_meta.description": "예시 내용입니다.", + "seo_meta.keywords": "예시값", "temp_key": "예시값" } ``` **응답 필드** (`data` 내부) - + **응답 예시** @@ -237,7 +243,7 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** @@ -286,7 +292,7 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** @@ -320,7 +326,7 @@ Content-Type: application/json **요청 예시** ```http -DELETE /api/modules/sirsoft-page/admin/pages/10 HTTP/1.1 +DELETE /api/modules/sirsoft-page/admin/pages/{page} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -328,9 +334,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - - - + **응답 예시** @@ -374,7 +378,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-page/admin/pages/10 HTTP/1.1 +GET /api/modules/sirsoft-page/admin/pages/{page} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -498,12 +502,15 @@ HTTP/1.1 200 | content_mode | body | string | 아니오 | `html`, `text` | 본문 편집 모드. `html` 은 리치 에디터 HTML, `text` 는 평문으로 저장·렌더링됩니다 (미지정 시 `html`) | | published | body | boolean | 아니오 | — | 발행 여부 (발행된 항목만 필터) | | seo_meta | body | array | 아니오 | — | SEO 메타 정보 맵. 하위 키 `title`(max 255)·`description`(max 500)·`keywords`(max 500)를 담습니다 | +| seo_meta.title | body | string | 아니오 | max 255 | | +| seo_meta.description | body | string | 아니오 | max 500 | | +| seo_meta.keywords | body | string | 아니오 | max 500 | | | temp_key | body | string | 아니오 | max 64 | 저장 전 첨부 업로드 시 발급받은 임시 키. 새로 업로드한 첨부를 이 페이지에 귀속시키는 데 사용합니다 | **요청 예시** ```http -PUT /api/modules/sirsoft-page/admin/pages/10 HTTP/1.1 +PUT /api/modules/sirsoft-page/admin/pages/{page} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -520,17 +527,20 @@ Content-Type: application/json "seo_meta": [ "예시값" ], + "seo_meta.title": "예시 제목", + "seo_meta.description": "예시 내용입니다.", + "seo_meta.keywords": "예시값", "temp_key": "예시값" } ``` **응답 필드** (`data` 내부) - + **응답 예시** - + **에러 응답** @@ -538,8 +548,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-page.pages.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -562,7 +572,7 @@ Content-Type: application/json **요청 예시** ```http -PATCH /api/modules/sirsoft-page/admin/pages/10/publish HTTP/1.1 +PATCH /api/modules/sirsoft-page/admin/pages/{page}/publish HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -641,8 +651,8 @@ HTTP/1.1 200 | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-page.pages.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -664,7 +674,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-page/admin/pages/10/versions HTTP/1.1 +GET /api/modules/sirsoft-page/admin/pages/{page}/versions HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -771,7 +781,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/modules/sirsoft-page/admin/pages/10/versions/{versionId} HTTP/1.1 +GET /api/modules/sirsoft-page/admin/pages/{page}/versions/{versionId} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -814,7 +824,7 @@ Authorization: Bearer {YOUR_TOKEN} **요청 예시** ```http -POST /api/modules/sirsoft-page/admin/pages/10/versions/{versionId}/restore HTTP/1.1 +POST /api/modules/sirsoft-page/admin/pages/{page}/versions/{versionId}/restore HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -822,7 +832,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + **응답 예시** @@ -936,7 +946,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **요청 예시** ```http -GET /api/modules/sirsoft-page/pages/terms HTTP/1.1 +GET /api/modules/sirsoft-page/pages/{slug} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생략 가능) diff --git a/plugins/_bundled/sirsoft-ckeditor5/docs/api/images.md b/plugins/_bundled/sirsoft-ckeditor5/docs/api/images.md index f6c43dad..6fa3d5c9 100644 --- a/plugins/_bundled/sirsoft-ckeditor5/docs/api/images.md +++ b/plugins/_bundled/sirsoft-ckeditor5/docs/api/images.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Images 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -32,7 +32,7 @@ **요청 예시** ```http -GET /api/plugins/sirsoft-ckeditor5/images/a1b2c3d4e5f6 HTTP/1.1 +GET /api/plugins/sirsoft-ckeditor5/images/{hash} HTTP/1.1 Host: api.example.com Accept: application/json ``` @@ -41,6 +41,10 @@ Accept: application/json +**응답 예시** + + + **에러 응답** | 상태코드 | 의미 | 발생 조건 | diff --git a/plugins/_bundled/sirsoft-ckeditor5/docs/api/upload.md b/plugins/_bundled/sirsoft-ckeditor5/docs/api/upload.md index d924361d..e2e7d869 100644 --- a/plugins/_bundled/sirsoft-ckeditor5/docs/api/upload.md +++ b/plugins/_bundled/sirsoft-ckeditor5/docs/api/upload.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Upload 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -48,7 +48,11 @@ Content-Type: application/octet-stream **응답 필드** (`data` 내부) - + + +**응답 예시** + + **에러 응답** diff --git a/plugins/_bundled/sirsoft-gdpr/docs/api/consent-log.md b/plugins/_bundled/sirsoft-gdpr/docs/api/consent-log.md index 433f7a51..e70d3b62 100644 --- a/plugins/_bundled/sirsoft-gdpr/docs/api/consent-log.md +++ b/plugins/_bundled/sirsoft-gdpr/docs/api/consent-log.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Consent Log 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` diff --git a/plugins/_bundled/sirsoft-gdpr/docs/api/consent.md b/plugins/_bundled/sirsoft-gdpr/docs/api/consent.md index 2ddb868f..31d75332 100644 --- a/plugins/_bundled/sirsoft-gdpr/docs/api/consent.md +++ b/plugins/_bundled/sirsoft-gdpr/docs/api/consent.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Consent 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -53,7 +53,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - + **응답 예시** @@ -149,7 +149,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + **응답 예시** @@ -424,7 +424,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + **응답 예시** diff --git a/plugins/_bundled/sirsoft-gdpr/docs/api/policy-versions.md b/plugins/_bundled/sirsoft-gdpr/docs/api/policy-versions.md index ba69f25f..31a9fb60 100644 --- a/plugins/_bundled/sirsoft-gdpr/docs/api/policy-versions.md +++ b/plugins/_bundled/sirsoft-gdpr/docs/api/policy-versions.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Policy Versions 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -239,7 +239,7 @@ HTTP/1.1 200 **요청 예시** ```http -GET /api/plugins/sirsoft-gdpr/admin/policy-versions/1 HTTP/1.1 +GET /api/plugins/sirsoft-gdpr/admin/policy-versions/{version} HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} diff --git a/plugins/_bundled/sirsoft-gdpr/docs/api/settings.md b/plugins/_bundled/sirsoft-gdpr/docs/api/settings.md index 3138dd9b..6aaf45e1 100644 --- a/plugins/_bundled/sirsoft-gdpr/docs/api/settings.md +++ b/plugins/_bundled/sirsoft-gdpr/docs/api/settings.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Settings 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -182,7 +182,7 @@ Content-Type: application/json **응답 필드** (`data` 내부) - + **응답 예시** diff --git a/plugins/_bundled/sirsoft-marketing/docs/api/channels.md b/plugins/_bundled/sirsoft-marketing/docs/api/channels.md index ae949d04..247c6e6f 100644 --- a/plugins/_bundled/sirsoft-marketing/docs/api/channels.md +++ b/plugins/_bundled/sirsoft-marketing/docs/api/channels.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Channels 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -38,7 +38,11 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - + + +**응답 예시** + + **에러 응답** diff --git a/plugins/_bundled/sirsoft-marketing/docs/api/settings.md b/plugins/_bundled/sirsoft-marketing/docs/api/settings.md index 9e45b5eb..924a164c 100644 --- a/plugins/_bundled/sirsoft-marketing/docs/api/settings.md +++ b/plugins/_bundled/sirsoft-marketing/docs/api/settings.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Settings 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -52,6 +52,45 @@ _단건 응답: `data` 객체의 필드._ | info_disclosure_terms_slug_set | boolean | `false` | 정보 이용 안내 약관 slug 존재 여부. 프론트의 약관 링크 표시 판정에 쓴다. | | channels | array | `[{"key":"email_subscription","label":"광고성 이메일 수신","label_…` | `MarketingConsentService::getRegisteredChannels()` 가 반환하는 활성 채널 목록. 각 원소는 `key`·현재 로케일 해석 `label`·로케일 맵 원본 `label_i18n`·`enabled`·`terms_slug`·`terms_slug_set` 를 갖는다. 폼의 반복 렌더링에 그대로 쓰인다. | +**응답 예시** + + + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "messages.success", + "data": { + "marketing_consent_enabled": true, + "marketing_consent_terms_slug": "marketing-terms", + "marketing_consent_terms_slug_set": true, + "third_party_consent_enabled": true, + "third_party_consent_terms_slug": null, + "third_party_consent_terms_slug_set": false, + "info_disclosure_enabled": true, + "info_disclosure_terms_slug": null, + "info_disclosure_terms_slug_set": false, + "channels": [ + { + "key": "email_subscription", + "label": "광고성 이메일 수신", + "label_i18n": { + "ko": "광고성 이메일 수신", + "en": "Email Marketing" + }, + "enabled": true, + "terms_slug": null, + "terms_slug_set": false + } + ] + } +} +``` + **에러 응답** _대표 에러 없음 (공개 조회). _ diff --git a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/cbt.md b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/cbt.md index c423ee0b..a1d78284 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/cbt.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/cbt.md @@ -8,7 +8,7 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Cbt 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(curl) + 실측 응답 필드 표 + 응답 예시(envelope) +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) 3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 diff --git a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/orders.md b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/orders.md index b92792bb..c0533627 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/orders.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/orders.md @@ -8,7 +8,7 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Orders 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(curl) + 실측 응답 필드 표 + 응답 예시(envelope) +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) 3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 diff --git a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/payment.md b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/payment.md index 333b6647..4f80ce74 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/payment.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/payment.md @@ -8,7 +8,7 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Payment 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(curl) + 실측 응답 필드 표 + 응답 예시(envelope) +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) 3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 @@ -396,15 +396,15 @@ Accept: application/json | 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | | --- | --- | --- | --- | --- | --- | -| sid | body | string | 아니오 | max 255 | CBT 인증 세션 ID. 서버가 `/cbtapprove` 최종 승인 요청에 MID 와 함께 전송하는 승인 키이며, 결제 메타에 `cbt_sid` 로 저장된다. | -| resultCode | body | string | 아니오 | max 100 | CBT 인증 결과 코드 (`OK`/`00`/`0000` = 성공). `2001`/`0021`/`0022` 또는 취소 문구 포함 시 사용자 취소로 간주한다. | -| resultMsg | body | string | 아니오 | max 500 | CBT 인증 결과 메시지. 사용자 취소 판별(일본어/한국어 취소 문구)과 실패 리다이렉트 메시지에 사용된다. | -| orderID | body | string | 아니오 | max 100 | 주문번호 (1순위 키). `orderId` → `oid` 순으로 폴백해 주문을 조회한다. | -| orderId | body | string | 아니오 | max 100 | 주문번호 (2순위 폴백 키). | -| oid | body | string | 아니오 | max 100 | 주문번호 (3순위 폴백 키). | -| mid | body | string | 아니오 | max 30 | 일본 CBT 가맹점 MID. 설정된 일본 MID 와 불일치하면 결제를 중단한다(위조 콜백 차단). | -| paymethod | body | string | 아니오 | max 50 | CBT 결제수단 (CARD / PAYPAY / CVS). 승인 응답의 결제수단과 대조하며, CVS 는 편의점 입금대기 처리로 분기한다. | -| selectedPaymentMethod | body | string | 아니오 | max 50 | 체크아웃에서 사용자가 선택한 결제수단 식별값(`card` / `kginicis_japan_paypay` / `kginicis_japan_cvs`). 기대 결제수단 검증과 결제 메타 기록에 사용된다. | +| sid | body | string | 아니오 | max 255 | | +| resultCode | body | string | 아니오 | max 100 | 결제 인증 결과 코드 (`0000` = 성공). `2001`/`0021`/`0022`/빈값은 사용자 취소로 간주해 에러 없이 체크아웃으로 복귀한다. | +| resultMsg | body | string | 아니오 | max 500 | 결제 인증 결과 메시지. 실패 시 실패 URL 의 `message` 파라미터로 전달되며 '취소'/'사용자' 포함 여부로 사용자 취소를 판별한다. | +| orderID | body | string | 아니오 | max 100 | | +| orderId | body | string | 아니오 | max 100 | | +| oid | body | string | 아니오 | max 100 | 결제 대상 주문의 주문번호. 서버가 주문을 조회해 결제 가능 상태·통화·금액을 검증하고 이 값을 서명 생성 입력으로 사용한다. | +| mid | body | string | 아니오 | max 30 | | +| paymethod | body | string | 아니오 | max 50 | | +| selectedPaymentMethod | body | string | 아니오 | max 50 | | **요청 예시** @@ -445,7 +445,11 @@ Content-Type: application/json **설명** -위 `GET /plugins/sirsoft-pay_kginicis/payment/cbt/callback` 과 동일한 CBT 인증 콜백이며, KG 이니시스가 폼 전송(POST)으로 되돌려보내는 경우를 처리합니다. 파라미터가 query 대신 body 로 들어오는 점만 다르고, 승인·검증·리다이렉트 동작과 주의사항은 GET 버전과 완전히 같습니다. 결제창 설정이나 결제수단에 따라 GET/POST 중 어느 쪽으로 돌아올지 달라질 수 있어 두 메서드를 모두 열어 둡니다. +일본 CBT(국경 간 결제) 인증 결과를 수신해 서버 승인(`/cbtapprove`)까지 마무리하는 콜백입니다(GET·POST 동일 처리). 브라우저가 KG 이니시스 일본 결제창에서 인증을 마치면 `sid` 와 주문번호가 붙어 이 주소로 되돌아오고, 서버는 그 `sid` 로 최종 승인을 요청한 뒤 결제완료 또는 편의점 입금대기 처리를 하고 결과 페이지로 리다이렉트합니다. GET 은 결제창이 리다이렉트로 되돌려보내는 경로, POST 는 폼 전송으로 되돌려보내는 경로이며 파라미터 위치만 다릅니다. + +주의사항: (1) 브라우저가 전달한 인증 결과는 무인증 값이므로 그것만으로 주문 상태를 바꾸지 않고, 반드시 서버 승인 응답을 권위 있는 결과로 사용합니다. (2) 콜백의 `mid` 가 설정된 일본 가맹점 MID 와 다르면 위조 콜백으로 보고 즉시 중단합니다(`error=mid_mismatch`). (3) 승인 응답의 주문번호·MID·통화(JPY)·결제수단이 주문·체크아웃 선택값과 모두 일치해야 하며, 하나라도 어긋나면 승인 이후라도 실패로 처리합니다. (4) 결제수단이 `CVS`(편의점)면 결제완료가 아니라 입금대기로 저장하고 확인번호·접수번호·입금기한을 기록하며, 실제 완료는 편의점 입금통보(cvs-notify) 시점입니다. (5) 승인이 확정된 뒤 후속 처리에서 예외가 나면 자동 환불을 시도하고, 환불까지 실패하면 수동 환불 필요 상태로 대사 레코드를 남깁니다. (6) 사용자 취소(취소 코드 또는 일본어·한국어 취소 문구)는 실패가 아니므로 에러 없이 체크아웃으로 복귀하며, PayPay 업스트림 처리 실패는 별도 안내 메시지로 치환됩니다. + +예시 시나리오: 일본 구매자가 PayPay 로 결제 → 결제창이 `sid` 를 붙여 이 콜백으로 복귀 → 서버가 승인 요청 → 성공 시 주문 결제완료 후 완료 페이지로 리다이렉트. 편의점결제를 선택했다면 같은 흐름이지만 입금대기 상태로 남고, 구매자가 편의점에서 입금하면 그때 완료됩니다. ### POST /plugins/sirsoft-pay_kginicis/payment/cbt/cvs-notify @@ -554,7 +558,7 @@ Accept: application/json **에러 응답** -_대표 에러 없음 (공개 조회)._ +_대표 에러 없음 (공개 조회). _ @@ -593,7 +597,7 @@ Accept: application/json **에러 응답** -_대표 에러 없음 (공개 조회)._ +_대표 에러 없음 (공개 조회). _ @@ -630,7 +634,7 @@ Accept: application/json **에러 응답** -_대표 에러 없음 (공개 조회)._ +_대표 에러 없음 (공개 조회). _ @@ -669,7 +673,7 @@ Accept: application/json **에러 응답** -_대표 에러 없음 (공개 조회)._ +_대표 에러 없음 (공개 조회). _ @@ -784,13 +788,13 @@ Accept: application/json | 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | | --- | --- | --- | --- | --- | --- | -| P_STATUS | body | string | 예 | — | 모바일 결제 인증 결과 코드 (`00` = 성공). 그 외 값은 실패이며 `P_RMESG1` 문구로 사용자 취소 여부를 분기한다. | -| P_RMESG1 | body | string | 아니오 | — | 모바일 결제 인증 결과 메시지. '사용자가 결제를 취소' 등 취소 문구 포함 시 오류 없이 체크아웃으로 복귀한다. | -| P_TID | body | string | 아니오 | — | KG 이니시스 거래번호. 서버 승인 요청(`P_REQ_URL`)에 MID 와 함께 전송된다. | -| P_REQ_URL | body | string | 아니오 | — | 서버 승인 API 요청 URL. `idc_name` 과 함께 화이트리스트 검증(SSRF 방어)을 통과해야 호출된다. | -| P_AMT | body | string | 아니오 | — | 결제 금액. 서버 승인 응답의 `P_AMT` 가 없을 때 결제 완료 금액의 폴백으로 사용된다. | -| P_OID | body | string | 아니오 | — | 주문번호. 없으면 콜백 URL 쿼리스트링의 `orderId` 를 폴백으로 사용한다. | -| idc_name | body | string | 아니오 | — | KG 이니시스 IDC 센터 코드(fc/ks/stg). 승인 URL 화이트리스트 검증의 기준값. | +| P_STATUS | body | string | 예 | — | | +| P_RMESG1 | body | string | 아니오 | — | | +| P_TID | body | string | 아니오 | — | | +| P_REQ_URL | body | string | 아니오 | — | | +| P_AMT | body | string | 아니오 | — | | +| P_OID | body | string | 아니오 | — | | +| idc_name | body | string | 아니오 | — | KG 이니시스 IDC 센터 코드(fc/ks/stg). 승인/망취소 URL 화이트리스트 검증의 기준값. | **요청 예시** @@ -829,7 +833,11 @@ Content-Type: application/json **설명** -위 `GET /plugins/sirsoft-pay_kginicis/payment/mobile/callback` 과 동일한 모바일 결제 인증 콜백이며, KG 이니시스가 폼 전송(POST)으로 결과를 돌려보내는 표준 경로입니다. 파라미터가 query 대신 body 로 들어오는 점만 다르고, 서버 승인·화이트리스트 검증·가상계좌 분기·자동 취소·사용자 취소 처리 등 동작과 주의사항은 GET 버전과 동일합니다. 실제 운영에서는 대부분 이 POST 경로로 콜백이 들어옵니다. +모바일 표준결제창(KRW)의 인증 결과를 수신해 서버 승인까지 마무리하는 콜백입니다(GET·POST 동일 처리). 모바일 결제는 결제창 인증 후 KG 이니시스가 이 주소로 결과를 돌려보내고, 서버가 전달받은 승인 요청 URL 로 거래번호를 재전송해 최종 승인을 얻은 뒤 주문을 결제완료 처리하고 결과 페이지로 리다이렉트합니다. GET 은 일부 PG 환경의 리다이렉트 복귀 패턴을 위해 함께 열어 둔 경로로, 동작은 POST 와 같습니다. + +주의사항: (1) 응답은 JSON 이 아니라 리다이렉트(302)이며, 실패 시 체크아웃 URL 에 `error`·`message`·`orderId` 쿼리가 붙습니다. (2) 승인 요청 URL 은 콜백 값을 그대로 신뢰하지 않고 IDC 코드 기준 화이트리스트로 검증해 SSRF 를 차단합니다(실패 시 `error=req_url_invalid`). (3) 모바일 표준 응답에는 주문번호가 빠질 수 있어, 없으면 콜백 URL 쿼리스트링의 `orderId` 를 대체로 사용합니다. (4) 승인 결과가 가상계좌면 결제완료 처리를 하지 않고 계좌 정보만 저장해 입금대기로 두며, 완료는 모바일 가상계좌 입금통보 시점입니다. (5) 같은 거래번호가 이미 결제완료면 재처리하지 않고 성공 페이지로 복귀합니다. (6) 승인 후 금액 불일치나 예외가 발생하면 자동 취소를 호출해 PG 측 승인 잔존을 해제하며, 자동 취소마저 실패하면 수동 정산이 필요합니다. (7) 사용자가 결제창을 닫은 취소는 결과 코드만으로 일반 실패와 구분되지 않으므로 결과 메시지의 취소 문구로 판별하며, 이 경우 에러 없이 체크아웃으로 조용히 복귀합니다. + +예시 시나리오: 모바일 구매자가 카드 결제를 승인 → KG 이니시스가 이 콜백으로 인증 성공과 승인 요청 URL 을 전송 → 서버가 승인 요청 → 성공 시 주문 결제완료 후 완료 페이지로 리다이렉트. ### POST /plugins/sirsoft-pay_kginicis/payment/mobile/vbank-notify diff --git a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/transaction.md b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/transaction.md index 7f56507d..e24a8b39 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/transaction.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/transaction.md @@ -8,7 +8,7 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Transaction 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(curl) + 실측 응답 필드 표 + 응답 예시(envelope) +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) 3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 diff --git a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/vbank.md b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/vbank.md index 571137de..6da65f85 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/vbank.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/vbank.md @@ -8,7 +8,7 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Vbank 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(curl) + 실측 응답 필드 표 + 응답 예시(envelope) +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) 3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 diff --git a/plugins/_bundled/sirsoft-tosspayments/docs/api/payment.md b/plugins/_bundled/sirsoft-tosspayments/docs/api/payment.md index 1d4e2a7d..dc5a9ca2 100644 --- a/plugins/_bundled/sirsoft-tosspayments/docs/api/payment.md +++ b/plugins/_bundled/sirsoft-tosspayments/docs/api/payment.md @@ -8,7 +8,7 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Payment 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(curl) + 실측 응답 필드 표 + 응답 예시(envelope) +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) 3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 diff --git a/plugins/_bundled/sirsoft-tosspayments/docs/api/webhook.md b/plugins/_bundled/sirsoft-tosspayments/docs/api/webhook.md index a6e97669..b405edfe 100644 --- a/plugins/_bundled/sirsoft-tosspayments/docs/api/webhook.md +++ b/plugins/_bundled/sirsoft-tosspayments/docs/api/webhook.md @@ -8,7 +8,7 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Webhook 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(curl) + 실측 응답 필드 표 + 응답 예시(envelope) +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) 3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 @@ -111,6 +111,9 @@ OK | eventType | body | string | 아니오 | max 64 | 토스 이벤트 종류 (예: `PAYMENT_STATUS_CHANGED`). | | createdAt | body | string | 아니오 | max 64 | 토스가 이벤트를 생성한 시각. | | data | body | array | 예 | — | 결제 정보 객체. `data.orderId`(주문번호)와 `data.status`(토스 결제상태)를 읽어 로컬 상태와 대조한다. | +| data.orderId | body | string | 예 | max 100 | | +| data.status | body | string | 예 | max 40 | | +| data.paymentKey | body | string | 아니오 | max 255 | | **요청 예시** @@ -125,7 +128,10 @@ Content-Type: application/json "createdAt": "예시값", "data": [ "예시값" - ] + ], + "data.orderId": "예시값", + "data.status": "예시값", + "data.paymentKey": "예시값" } ``` diff --git a/plugins/_bundled/sirsoft-verification_kginicis/docs/api/README.md b/plugins/_bundled/sirsoft-verification_kginicis/docs/api/README.md index 41baa7dd..4ec7ab3a 100644 --- a/plugins/_bundled/sirsoft-verification_kginicis/docs/api/README.md +++ b/plugins/_bundled/sirsoft-verification_kginicis/docs/api/README.md @@ -4,11 +4,12 @@ > 아래 표는 자동 생성됩니다. 각 문서를 열면 엔드포인트별 파라미터·응답·예시를 볼 수 있습니다. -- **문서 수**: 1 · **엔드포인트 수**: 1 +- **문서 수**: 2 · **엔드포인트 수**: 3 | 문서 | 도메인 | 엔드포인트 | | --- | --- | --- | | [identity.md](identity.md) | `identity` | 1 | +| [plugin.md](plugin.md) | `plugin` | 2 | diff --git a/plugins/_bundled/sirsoft-verification_kginicis/docs/api/identity.md b/plugins/_bundled/sirsoft-verification_kginicis/docs/api/identity.md index 8769231f..73bd5d3c 100644 --- a/plugins/_bundled/sirsoft-verification_kginicis/docs/api/identity.md +++ b/plugins/_bundled/sirsoft-verification_kginicis/docs/api/identity.md @@ -8,8 +8,8 @@ ```text 1. 이 문서는 실제 API 호출로 실측한 Identity 엔드포인트 레퍼런스입니다 -2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 실측 응답 필드 표 -3. 응답 필드의 예시값은 실제 호출 응답에서 관측된 값입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 5. 설명(TODO) 칸은 사람이 채웁니다 ``` @@ -42,6 +42,22 @@ Authorization: Bearer {YOUR_TOKEN} +**응답 예시** + + + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "messages.success", + "data": null +} +``` + **에러 응답** | 상태코드 | 의미 | 발생 조건 | diff --git a/plugins/_bundled/sirsoft-verification_kginicis/docs/api/plugin.md b/plugins/_bundled/sirsoft-verification_kginicis/docs/api/plugin.md new file mode 100644 index 00000000..e7831c4d --- /dev/null +++ b/plugins/_bundled/sirsoft-verification_kginicis/docs/api/plugin.md @@ -0,0 +1,89 @@ +# Plugin API 레퍼런스 + +> **소유**: plugin `sirsoft-verification_kginicis` · **생성**: `php artisan api:docgen` (실측 기반). @generated 블록은 재생성 시 갱신되며, 사람이 작성한 설명은 보존됩니다. + +--- + +## TL;DR (5초 요약) + +```text +1. 이 문서는 실제 API 호출로 실측한 Plugin 엔드포인트 레퍼런스입니다 +2. 각 엔드포인트: 메서드/URI/권한 + 요청 파라미터 표 + 요청 예시(raw HTTP) + 실측 응답 필드 표 + 응답 예시(envelope) +3. 응답 필드의 예시값·응답 예시 JSON 은 실제 호출 응답에서 관측된 값입니다 +4. 갱신: 코드 변경 후 php artisan api:docgen 재실행 +5. 설명(TODO) 칸은 사람이 채웁니다 +``` + +--- + + +### POST /plugins/sirsoft-verification_kginicis/plugin/inicis/callback + +- **라우트명**: `web.plugins.sirsoft-verification_kginicis.plugin.verification_kginicis.callback` +- **컨트롤러**: `Plugins\Sirsoft\VerificationKginicis\Http\Controllers\InicisCallbackController@handle` +- **인증/권한**: 공개 (인증 불필요) + +**요청 파라미터** + +_요청 파라미터 없음._ + +**요청 예시** + +```http +POST /plugins/sirsoft-verification_kginicis/plugin/inicis/callback HTTP/1.1 +Host: api.example.com +Accept: application/json +``` + +**응답 필드** (`data` 내부) + + + +**응답 예시** + + + +**에러 응답** + +_대표 에러 없음 (공개 조회). _ + + + +**설명** + + +### GET /plugins/sirsoft-verification_kginicis/plugin/inicis/popup-bridge + +- **라우트명**: `web.plugins.sirsoft-verification_kginicis.plugin.verification_kginicis.popup-bridge` +- **컨트롤러**: `Plugins\Sirsoft\VerificationKginicis\Http\Controllers\InicisPopupBridgeController@show` +- **인증/권한**: 공개 (인증 불필요) + +**요청 파라미터** + +_요청 파라미터 없음._ + +**요청 예시** + +```http +GET /plugins/sirsoft-verification_kginicis/plugin/inicis/popup-bridge HTTP/1.1 +Host: api.example.com +Accept: application/json +``` + +**응답 필드** (`data` 내부) + + + +**응답 예시** + + + +**에러 응답** + +_대표 에러 없음 (공개 조회). _ + + + +**설명** + + diff --git a/tests/Feature/Console/ApiDocgenCommandTest.php b/tests/Feature/Console/ApiDocgenCommandTest.php index dd8d565e..3ca6d539 100644 --- a/tests/Feature/Console/ApiDocgenCommandTest.php +++ b/tests/Feature/Console/ApiDocgenCommandTest.php @@ -92,6 +92,63 @@ class ApiDocgenCommandTest extends TestCase $this->assertContains('password', $names); } + /** + * (c-2) 중첩 객체 파라미터(`refund_bank.bank_code`)도 추출합니다. + * + * 회귀: 배열 요소 규칙(`items.*.id`)을 상위 필드로 대표시키려는 스킵 조건이 + * 점(`.`) 포함 여부만 봐서, 와일드카드가 없는 중첩 **객체** 필드까지 함께 버렸다. + * 그 결과 코어 환경설정(`general.*`·`mail.*`), 이커머스 주문(`orderer.*`·`refund_bank.*`) 등 + * 17개 엔드포인트의 파라미터 수백 개가 문서에서 통째로 빠졌고, 사람이 수기로 채워 넣은 + * 행은 재생성 때마다 다시 삭제됐다. + */ + #[Test] + public function 중첩_객체_파라미터를_추출하고_배열_요소는_상위로_대표시킨다(): void + { + $introspector = app(FormRequestIntrospector::class); + + $rules = [ + 'payment_method' => 'required|string', + // 중첩 객체 — 문서에 개별 행으로 노출되어야 한다 + 'refund_bank.bank_code' => ['nullable', 'string', 'max:10'], + 'refund_bank.holder' => ['nullable', 'string', 'max:50'], + // 배열 요소 — 상위(items)만 대표로 노출하고 개별 행은 만들지 않는다 + 'items' => 'array', + 'items.*.id' => 'required|integer', + 'items.*.qty' => 'required|integer', + ]; + + $params = $this->invokeRulesToParams($introspector, $rules); + $names = array_column($params, 'name'); + + $this->assertContains('refund_bank.bank_code', $names, '중첩 객체 필드가 추출되어야 한다.'); + $this->assertContains('refund_bank.holder', $names); + $this->assertContains('payment_method', $names); + $this->assertContains('items', $names); + + $this->assertNotContains('items.*.id', $names, '배열 요소 규칙은 상위(items)로 대표시킨다.'); + $this->assertNotContains('items.*.qty', $names); + + // 추출된 중첩 필드도 타입/필수 메타를 갖는다 + $bankCode = collect($params)->firstWhere('name', 'refund_bank.bank_code'); + $this->assertSame('string', $bankCode['type']); + $this->assertFalse($bankCode['required']); + } + + /** + * private rulesToParams 를 호출합니다 (규칙 배열 → 파라미터 메타 변환만 검증). + * + * @param FormRequestIntrospector $introspector 대상 인스턴스 + * @param array $rules 검증 규칙 배열 + * @return array> 파라미터 메타데이터 목록 + */ + private function invokeRulesToParams(FormRequestIntrospector $introspector, array $rules): array + { + $method = new \ReflectionMethod($introspector, 'rulesToParams'); + $method->setAccessible(true); + + return $method->invoke($introspector, $rules); + } + /** * (d) 재생성해도 사람이 채운 서술은 보존되고 추출 블록만 갱신됩니다(멱등). */ diff --git a/tests/Unit/Support/ApiDoc/ApiDocPipelineTest.php b/tests/Unit/Support/ApiDoc/ApiDocPipelineTest.php index 2acd860a..5d67291c 100644 --- a/tests/Unit/Support/ApiDoc/ApiDocPipelineTest.php +++ b/tests/Unit/Support/ApiDoc/ApiDocPipelineTest.php @@ -1485,4 +1485,325 @@ MD; $this->assertStringContainsString('"identifier": "sirsoft-admin_basic"', $block); $this->assertStringNotContainsString('생략', $block); } + + /** + * 응답 필드 표의 실측 예시값은 스펙이 그대로면 재생성에도 유지된다. + * + * 회귀: 실측값은 호출 시점 DB 상태가 낳은 표본 하나인데 재생성마다 새 값으로 덮어써서, + * 코드가 하나도 안 바뀐 무관한 문서 수십 개가 docgen 재실행마다 diff 에 걸렸다 + * (예: `id` 예시값 127 → 43, created_at 날짜 변경). + */ + #[Test] + public function 재생성_시_타입이_같은_필드의_실측_예시값을_보존한다(): void + { + $scaffolder = new ApiDocScaffolder; + + $route = [ + 'method' => 'GET', 'uri' => '/api/z', 'name' => 'api.z.index', + 'controller' => 'C', 'controller_method' => 'index', 'permission' => null, + 'middleware' => [], 'path_params' => [], + ]; + $request = ['request_class' => null, 'params' => [], 'hook_filters' => []]; + $header = "# Z\n"; + + $schemaOf = fn (string $sample): array => [ + 'envelope' => ['data'], + 'shape' => 'object', + 'fields' => [['name' => 'id', 'type' => 'integer', 'sample' => $sample]], + 'pagination' => false, + ]; + + // 최초 생성 — 그 시점 DB 의 id 는 127 + $first = $scaffolder->mergeDocument( + null, + $header, + [$scaffolder->endpointSection($route, $request, $schemaOf('127'), ['status' => 200, 'skipped_reason' => null])], + ['api.z.index'], + ); + $this->assertStringContainsString('`127`', $first); + + // 재생성 — DB 가 바뀌어 실측 id 가 43 이 되었지만 스펙(타입)은 그대로다 + $regenerated = $scaffolder->mergeDocument( + $first, + $header, + [$scaffolder->endpointSection($route, $request, $schemaOf('43'), ['status' => 200, 'skipped_reason' => null])], + ['api.z.index'], + ); + + $this->assertStringContainsString('`127`', $regenerated, '스펙이 그대로면 기존 실측 예시값을 유지해야 한다'); + $this->assertStringNotContainsString('`43`', $regenerated); + } + + /** + * 필드가 새로 생기거나 타입이 바뀌면(= 스펙 변경) 실측 예시값이 갱신된다. + * + * 예시값 보존이 "문서가 코드 변경을 영영 반영하지 않는다"로 퇴화하지 않도록 하는 반대편 가드. + */ + #[Test] + public function 신규_필드와_타입_변경은_실측_예시값을_갱신한다(): void + { + $scaffolder = new ApiDocScaffolder; + + $route = [ + 'method' => 'GET', 'uri' => '/api/z', 'name' => 'api.z.index', + 'controller' => 'C', 'controller_method' => 'index', 'permission' => null, + 'middleware' => [], 'path_params' => [], + ]; + $request = ['request_class' => null, 'params' => [], 'hook_filters' => []]; + $header = "# Z\n"; + + $build = fn (array $fields): string => $scaffolder->endpointSection( + $route, + $request, + ['envelope' => ['data'], 'shape' => 'object', 'fields' => $fields, 'pagination' => false], + ['status' => 200, 'skipped_reason' => null], + ); + + $first = $scaffolder->mergeDocument( + null, + $header, + [$build([['name' => 'amount', 'type' => 'integer', 'sample' => '1000']])], + ['api.z.index'], + ); + + // amount 의 타입이 바뀌고(스펙 변경), is_escrow 필드가 새로 추가된 리소스 + $regenerated = $scaffolder->mergeDocument( + $first, + $header, + [$build([ + ['name' => 'amount', 'type' => 'string', 'sample' => '1000.00'], + ['name' => 'is_escrow', 'type' => 'boolean', 'sample' => 'true'], + ])], + ['api.z.index'], + ); + + $this->assertStringContainsString('`1000.00`', $regenerated, '타입이 바뀌면 새 실측값으로 갱신해야 한다'); + $this->assertStringContainsString('is_escrow', $regenerated, '신규 필드는 표에 추가되어야 한다'); + $this->assertStringContainsString('`true`', $regenerated); + } + + /** + * nullable 필드가 이번 표본에서 null 로 관측돼도 기존에 관측한 실제 값을 유지한다. + * + * 회귀: nullable 필드는 표본에 값이 있느냐에 따라 관측 타입이 흔들린다(`loggable_type` 이 + * string ↔ null). "타입이 바뀌면 갱신" 규칙이 이 흔들림을 스펙 변경으로 오인해, 실제 값을 + * 관측해 둔 행을 `null` 로 덮어써 문서가 열화됐다. + */ + #[Test] + public function nullable_필드가_null_로_관측돼도_기존_예시값을_유지한다(): void + { + $scaffolder = new ApiDocScaffolder; + + $route = [ + 'method' => 'GET', 'uri' => '/api/t', 'name' => 'api.t.index', + 'controller' => 'C', 'controller_method' => 'index', 'permission' => null, + 'middleware' => [], 'path_params' => [], + ]; + $request = ['request_class' => null, 'params' => [], 'hook_filters' => []]; + $header = "# T\n"; + + $build = fn (string $type, string $sample): string => $scaffolder->endpointSection( + $route, + $request, + [ + 'envelope' => ['data'], + 'shape' => 'object', + 'fields' => [['name' => 'loggable_type', 'type' => $type, 'sample' => $sample]], + 'pagination' => false, + ], + ['status' => 200, 'skipped_reason' => null], + ); + + // 값이 있는 표본을 관측한 상태 + $first = $scaffolder->mergeDocument(null, $header, [$build('string', 'App\\Models\\Post')], ['api.t.index']); + $this->assertStringContainsString('App\\Models\\Post', $first); + + // 이번 표본에는 값이 없어 null 로 관측됐다 — 스펙 변경이 아니다. + $regenerated = $scaffolder->mergeDocument($first, $header, [$build('null', 'null')], ['api.t.index']); + + $this->assertStringContainsString('App\\Models\\Post', $regenerated, 'null 관측이 기존 값을 덮어써서는 안 된다'); + $this->assertStringContainsString('| loggable_type | string |', $regenerated, '타입도 유지되어야 한다'); + } + + /** + * 응답 예시 JSON 은 필드 집합이 같으면 유지되고, 달라지면 갱신된다. + * + * 회귀: 응답 예시는 호출 시점 표본이라 `updated_at` · `cache_version` 처럼 매 실측마다 값이 + * 달라지는 필드가 섞여 들어온다. 매번 새 값으로 덮으면 코드가 하나도 안 바뀐 문서까지 + * docgen 재실행마다 diff 가 난다. + */ + #[Test] + public function 응답_예시는_필드집합이_같으면_유지되고_달라지면_갱신된다(): void + { + $scaffolder = new ApiDocScaffolder; + + $route = [ + 'method' => 'GET', 'uri' => '/api/u', 'name' => 'api.u.show', + 'controller' => 'C', 'controller_method' => 'show', 'permission' => null, + 'middleware' => [], 'path_params' => [], + ]; + $request = ['request_class' => null, 'params' => [], 'hook_filters' => []]; + $header = "# U\n"; + + $build = fn (array $data): string => $scaffolder->endpointSection( + $route, + $request, + ['envelope' => ['data'], 'shape' => 'object', 'fields' => [], 'pagination' => false], + [ + 'status' => 200, + 'skipped_reason' => null, + 'base_url' => 'https://api.example.com', + 'resolved_uri' => '/api/u', + 'body' => ['data' => $data], + ], + ); + + $first = $scaffolder->mergeDocument( + null, $header, [$build(['id' => 1, 'updated_at' => '2026-07-14 13:05:11'])], ['api.u.show'], + ); + $this->assertStringContainsString('2026-07-14 13:05:11', $first); + + // 값만 바뀐 재실측 — 필드 집합은 그대로 → 기존 예시 유지 + $sameShape = $scaffolder->mergeDocument( + $first, $header, [$build(['id' => 1, 'updated_at' => '2026-07-14 13:07:04'])], ['api.u.show'], + ); + $this->assertStringContainsString('2026-07-14 13:05:11', $sameShape, '값만 달라졌으면 기존 예시를 유지해야 한다'); + $this->assertStringNotContainsString('13:07:04', $sameShape); + + // 필드가 추가된 재실측 — 스펙 변경 → 새 예시 채택 + $newShape = $scaffolder->mergeDocument( + $first, + $header, + [$build(['id' => 1, 'updated_at' => '2026-07-14 13:07:04', 'is_escrow' => false])], + ['api.u.show'], + ); + $this->assertStringContainsString('is_escrow', $newShape, '필드가 추가되면 새 실측 예시로 갱신해야 한다'); + $this->assertStringContainsString('13:07:04', $newShape); + } + + /** + * 이번 실측이 실패해도 기존에 관측해 둔 응답 예시는 유지된다. + * + * 회귀: 실측 성패는 호출 시점 데이터 유무에 좌우된다(예: DELETE /checkout 은 삭제할 체크아웃이 + * 없으면 404). 실측 실패 시 "실측 제외" 마커로 덮어써서, 이전 실행이 관측해 둔 응답 예시가 + * 통째로 사라졌다. 실측 실패는 "새로 관측하지 못했다"는 뜻이지 기존 관측이 무효라는 뜻이 아니다. + */ + #[Test] + public function 실측_실패_시_기존_실측_응답_예시를_유지한다(): void + { + $scaffolder = new ApiDocScaffolder; + + $route = [ + 'method' => 'DELETE', 'uri' => '/api/v', 'name' => 'api.v.destroy', + 'controller' => 'C', 'controller_method' => 'destroy', 'permission' => null, + 'middleware' => [], 'path_params' => [], + ]; + $request = ['request_class' => null, 'params' => [], 'hook_filters' => []]; + $header = "# V\n"; + + // 1회차: 실측 성공 — 응답 예시가 @probed 로 기록된다. + $probed = $scaffolder->endpointSection( + $route, + $request, + ['envelope' => ['success', 'message', 'data'], 'shape' => 'object', 'fields' => [], 'pagination' => false], + [ + 'status' => 200, + 'skipped_reason' => null, + 'base_url' => 'https://api.example.com', + 'resolved_uri' => '/api/v', + 'body' => ['success' => true, 'message' => 'Deleted.', 'data' => null], + ], + ); + + $first = $scaffolder->mergeDocument(null, $header, [$probed], ['api.v.destroy']); + $this->assertStringContainsString('Deleted.', $first); + + // 2회차: 대상 데이터가 없어 실측이 404 로 실패한다. + $failed = $scaffolder->endpointSection( + $route, + $request, + null, + ['status' => 404, 'skipped_reason' => 'http-404'], + ); + + $regenerated = $scaffolder->mergeDocument($first, $header, [$failed], ['api.v.destroy']); + + $this->assertStringContainsString('Deleted.', $regenerated, '기존 실측 응답 예시가 유지되어야 한다'); + } + + /** + * 사람이 보강한 에러 응답 표는 재생성에도 보존된다. + * + * 회귀: 에러 표는 라우트 메타에서 대표 상태코드만 추론하는 초안인데, 재생성이 그 초안으로 + * 표를 통째로 덮어써 사람이 채운 도메인 특이 에러(403·404·422·429와 구체적 발생 조건)가 + * "대표 에러 없음" 으로 지워졌다. + */ + #[Test] + public function 재생성_시_사람이_보강한_에러_응답_표를_보존한다(): void + { + $scaffolder = new ApiDocScaffolder; + + // 미들웨어·FormRequest 가 없어 자동 추론은 "대표 에러 없음" 을 낸다. + $route = [ + 'method' => 'POST', 'uri' => '/api/w', 'name' => 'api.w.store', + 'controller' => 'C', 'controller_method' => 'store', 'permission' => null, + 'middleware' => [], 'path_params' => [], + ]; + $request = ['request_class' => null, 'params' => [], 'hook_filters' => []]; + $schema = ['envelope' => ['data'], 'shape' => 'object', 'fields' => [], 'pagination' => false]; + $header = "# W\n"; + + $section = fn (): string => $scaffolder->endpointSection( + $route, $request, $schema, ['status' => 200, 'skipped_reason' => null], + ); + + $first = $scaffolder->mergeDocument(null, $header, [$section()], ['api.w.store']); + $this->assertStringContainsString('대표 에러 없음', $first); + + // 사람이 도메인 특이 에러 표를 직접 채운다. + $humanTable = "| 상태코드 | 의미 | 발생 조건 |\n" + ."| --- | --- | --- |\n" + ."| 429 | Too Many Requests | 동일 IP 에서 분당 10회를 초과해 요청한 경우 |"; + $withTable = str_replace( + '_대표 에러 없음 (공개 조회). _', + $humanTable, + $first, + ); + + // 재생성해도 사람이 채운 표가 살아남는다. + $regenerated = $scaffolder->mergeDocument($withTable, $header, [$section()], ['api.w.store']); + + $this->assertStringContainsString('429', $regenerated, '사람이 추가한 에러 행이 보존되어야 한다'); + $this->assertStringContainsString('동일 IP 에서 분당 10회', $regenerated); + $this->assertStringNotContainsString('대표 에러 없음', $regenerated); + } + + /** + * 요청 예시의 path 파라미터는 실측 치환값이 아니라 placeholder 로 고정된다. + * + * 회귀: 실측 성공 시 `/brands/1`, 실패 시 `/brands/{brand}` 로 바뀌어 같은 엔드포인트의 + * 예시가 재실행마다 흔들렸다. + */ + #[Test] + public function 요청_예시의_path_파라미터는_placeholder_로_고정된다(): void + { + $scaffolder = new ApiDocScaffolder; + + $route = [ + 'method' => 'DELETE', 'uri' => '/api/admin/brands/{brand}', 'name' => 'api.admin.brands.destroy', + 'controller' => 'C', 'controller_method' => 'destroy', 'permission' => null, + 'middleware' => ['auth:sanctum'], 'path_params' => ['brand'], + ]; + $request = ['request_class' => null, 'params' => [], 'hook_filters' => []]; + + // 실측이 실제 id 로 치환된 경우에도 예시는 placeholder 를 쓴다. + $block = $scaffolder->requestExampleBlock( + $route, + $request, + ['status' => 200, 'skipped_reason' => null, 'resolved_uri' => '/api/admin/brands/1'], + ); + + $this->assertStringContainsString('/api/admin/brands/{brand}', $block); + $this->assertStringNotContainsString('/api/admin/brands/1', $block); + } } From 38a5cbe550de49277f1bcfeaf8f8a180afbc72f0 Mon Sep 17 00:00:00 2001 From: HeuJung Date: Tue, 14 Jul 2026 14:56:46 +0900 Subject: [PATCH 12/18] =?UTF-8?q?fix(tosspayments,pay=5Fkginicis):=20?= =?UTF-8?q?=ED=94=8C=EB=9F=AC=EA=B7=B8=EC=9D=B8=20=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EA=B2=80=EC=A6=9D=EC=9D=B4=20=ED=81=90=EB=A1=9C=20=EB=82=98?= =?UTF-8?q?=EA=B0=80=20=EB=AC=B4=EB=8F=99=EC=9E=91=ED=95=98=EB=8D=98=20?= =?UTF-8?q?=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 설정 저장을 차단해야 할 검증 리스너가 core.plugin_settings.before_save 를 구독하면서 sync 를 선언하지 않았다. Action 훅의 기본값은 큐 디스패치이고 실환경 큐 드라이버는 database 이므로, ValidationException 이 워커 안에서 죽고 PluginSettingsService::save 는 doAction 직후 저장을 그대로 진행했다. 결과적으로 범위 밖 가상계좌 유효시간, 허용값 밖 에스크로 설정, 빈 CBT 라이브 필수값이 아무 저항 없이 저장됐다. 리스너 docblock 이 스스로 약속한 422 응답도 나가지 않았다. 두 리스너에 sync 를 선언해 저장 트랜잭션 안에서 동기 실행되도록 했다. 회귀 가드는 훅 디스패치 경로를 실제로 통과시킨다. phpunit.xml 이 큐 드라이버를 sync 로 강제해 큐 경로도 즉시 실행되므로, Queue::fake 로 운영과 같은 비동기 상황을 만들어야 결함이 드러난다 — 리스너 메서드를 직접 호출하는 기존 테스트는 이 결함을 구조적으로 잡지 못한다. --- .../sirsoft-pay_kginicis/CHANGELOG.md | 1 + .../Listeners/ValidateCbtSettingsListener.php | 20 +++++++++++ .../ValidateCbtSettingsListenerTest.php | 33 +++++++++++++++++++ .../ValidateTossSettingsListener.php | 3 ++ .../ValidateTossSettingsListenerTest.php | 30 +++++++++++++++++ 5 files changed, 87 insertions(+) diff --git a/plugins/_bundled/sirsoft-pay_kginicis/CHANGELOG.md b/plugins/_bundled/sirsoft-pay_kginicis/CHANGELOG.md index 81201e91..960e770b 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/CHANGELOG.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/CHANGELOG.md @@ -23,6 +23,7 @@ ### Fixed - 일본 편의점결제(CVS) 관련 안내 메시지가 번역되지 않고 내부 코드 그대로 표시되던 문제를 수정했습니다. 주문을 찾을 수 없거나 입금 통보 테스트·입금기한 만료 처리를 할 때 정상적인 한국어(영어) 안내가 표시됩니다. +- 일본(CBT) 설정을 운영 모드로 전환할 때 상점 정보나 서명키가 비어 있어도 저장되던 문제를 수정했습니다. 필수값이 비었거나 샘플값이 그대로면 저장이 중단되고 안내 메시지가 표시됩니다. - 이 플러그인이 설치된 사이트에서 관리자 주문 목록의 '일부취소' 표시와 적립예정 포인트·마일리지 사용 금액, 주문상품의 추가옵션 요약이 보이지 않던 문제를 수정했습니다. 결제 정보 칸에 테스트결제 표시를 덧붙이는 과정에서 목록 표 구성 전체를 옛 버전으로 되돌려 놓고 있었습니다. - 관리자 결제수단 설정에서 가상계좌·계좌이체·휴대폰결제에 PG사를 지정할 수 없던 문제를 수정했습니다. 해당 결제수단의 PG사 목록이 항상 비어 있어 기본 PG사만 사용할 수 있었고, 결제수단별로 다른 PG사를 지정하는 설정이 화면에서 불가능했습니다. - 카드결제를 거치지 않은 주문(무통장입금 등)의 완료 화면에서도 영수증 조회를 시도해 불필요한 요청이 나가던 문제를 수정했습니다. 화면에는 영향이 없었으나 이제 카드결제 주문에서만 조회합니다. (#81 @jiwonpapa 님께서 제보해주셨습니다.) diff --git a/plugins/_bundled/sirsoft-pay_kginicis/src/Listeners/ValidateCbtSettingsListener.php b/plugins/_bundled/sirsoft-pay_kginicis/src/Listeners/ValidateCbtSettingsListener.php index 67b49b40..d20a950e 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/src/Listeners/ValidateCbtSettingsListener.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/src/Listeners/ValidateCbtSettingsListener.php @@ -38,19 +38,39 @@ class ValidateCbtSettingsListener implements HookListenerInterface private const SAMPLE_VALUE_ERROR_FIELD = 'japan_contract_info'; + /** + * 구독할 훅 매핑 반환. + * + * @return array> + */ public static function getSubscribedHooks(): array { return [ 'core.plugin_settings.before_save' => [ 'method' => 'validateBeforeSave', 'priority' => 10, + // 저장을 차단하는 인라인 가드 — Action 훅 기본값(큐 디스패치)이면 ValidationException 이 + // 워커 안에서 죽고 PluginSettingsService::save() 가 저장을 그대로 진행한다. 'sync' => true, ], ]; } + /** + * 기본 핸들러 (미사용). + * + * @param mixed ...$args + */ public function handle(...$args): void {} + /** + * 설정 저장 전 CBT(일본) 필수값 검증. 위반 시 ValidationException 으로 422 응답을 유도한다. + * + * @param string $identifier 저장 대상 플러그인 식별자 + * @param array $settings 저장 요청 설정값 + * + * @throws ValidationException 라이브 모드 필수값이 비었거나 샘플값이 그대로일 때 + */ public function validateBeforeSave(string $identifier, array $settings): void { if ($identifier !== self::PLUGIN_IDENTIFIER) { diff --git a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/ValidateCbtSettingsListenerTest.php b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/ValidateCbtSettingsListenerTest.php index 69fd4d4f..e39c5334 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/ValidateCbtSettingsListenerTest.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Listeners/ValidateCbtSettingsListenerTest.php @@ -2,7 +2,10 @@ namespace Plugins\Sirsoft\PayKginicis\Tests\Unit\Listeners; +use App\Extension\HookListenerRegistrar; +use App\Extension\HookManager; use App\Services\PluginSettingsService; +use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; use Plugins\Sirsoft\PayKginicis\Listeners\ValidateCbtSettingsListener; use Plugins\Sirsoft\PayKginicis\Plugin; @@ -100,6 +103,36 @@ class ValidateCbtSettingsListenerTest extends PluginTestCase ]); } + /** + * 훅 디스패치 경로를 실제로 통과시켜 예외가 저장 호출자에게 전파되는지 검증한다. + * + * 리스너 메서드를 직접 호출하는 테스트는 이 결함을 잡지 못한다 — Action 훅의 기본값은 + * 큐 디스패치이고, 'sync' => true 가 없으면 ValidationException 이 워커 안에서 죽어 + * PluginSettingsService::save() 가 doAction 직후 저장을 그대로 진행한다. + * + * phpunit.xml 은 QUEUE_CONNECTION=sync 라 큐 경로도 즉시 실행되어 결함이 가려진다. + * Queue::fake() 로 운영(database 드라이버)과 같은 비동기 상황을 만들어야 가드가 성립한다. + */ + public function test_validation_exception_propagates_through_the_hook_chain(): void + { + Queue::fake(); + + $this->mockCurrentSettings([]); + + HookManager::clearAction('core.plugin_settings.before_save'); + HookListenerRegistrar::clear(); + HookListenerRegistrar::register(ValidateCbtSettingsListener::class, 'test'); + + $this->expectException(ValidationException::class); + + HookManager::doAction('core.plugin_settings.before_save', 'sirsoft-pay_kginicis', [ + 'japan_enabled' => true, + 'is_test_mode' => false, + 'live_japan_mid' => '', + 'live_japan_sign_key' => '', + ]); + } + public function test_backend_settings_validation_messages_are_localized(): void { $this->mockCurrentSettings([]); diff --git a/plugins/_bundled/sirsoft-tosspayments/src/Listeners/ValidateTossSettingsListener.php b/plugins/_bundled/sirsoft-tosspayments/src/Listeners/ValidateTossSettingsListener.php index cb95ca42..bea39fb7 100644 --- a/plugins/_bundled/sirsoft-tosspayments/src/Listeners/ValidateTossSettingsListener.php +++ b/plugins/_bundled/sirsoft-tosspayments/src/Listeners/ValidateTossSettingsListener.php @@ -40,6 +40,9 @@ class ValidateTossSettingsListener implements HookListenerInterface 'core.plugin_settings.before_save' => [ 'method' => 'validateBeforeSave', 'priority' => 10, + // 저장을 차단하는 인라인 가드 — Action 훅 기본값(큐 디스패치)이면 ValidationException 이 + // 워커 안에서 죽고 PluginSettingsService::save() 가 저장을 그대로 진행한다. + 'sync' => true, ], ]; } diff --git a/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/ValidateTossSettingsListenerTest.php b/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/ValidateTossSettingsListenerTest.php index 56394bd7..b03a67fe 100644 --- a/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/ValidateTossSettingsListenerTest.php +++ b/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/ValidateTossSettingsListenerTest.php @@ -4,6 +4,9 @@ declare(strict_types=1); namespace Plugins\Sirsoft\Tosspayments\Tests\Unit\Listeners; +use App\Extension\HookListenerRegistrar; +use App\Extension\HookManager; +use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; use Plugins\Sirsoft\Tosspayments\Listeners\ValidateTossSettingsListener; use Plugins\Sirsoft\Tosspayments\Plugin; @@ -40,6 +43,33 @@ class ValidateTossSettingsListenerTest extends PluginTestCase $this->addToAssertionCount(1); } + /** + * 훅 디스패치 경로를 실제로 통과시켜 예외가 저장 호출자에게 전파되는지 검증한다. + * + * 리스너 메서드를 직접 호출하는 테스트는 이 결함을 잡지 못한다 — Action 훅의 기본값은 + * 큐 디스패치이고, 'sync' => true 가 없으면 ValidationException 이 워커 안에서 죽어 + * PluginSettingsService::save() 가 doAction 직후 저장을 그대로 진행한다. + * + * phpunit.xml 은 QUEUE_CONNECTION=sync 라 큐 경로도 즉시 실행되어 결함이 가려진다. + * Queue::fake() 로 운영(database 드라이버)과 같은 비동기 상황을 만들어야 가드가 성립한다. + */ + public function test_validation_exception_propagates_through_the_hook_chain(): void + { + Queue::fake(); + + HookManager::clearAction('core.plugin_settings.before_save'); + HookListenerRegistrar::clear(); + HookListenerRegistrar::register(ValidateTossSettingsListener::class, 'test'); + + $this->expectException(ValidationException::class); + + HookManager::doAction( + 'core.plugin_settings.before_save', + 'sirsoft-tosspayments', + ['vbank_valid_hours' => 9999], + ); + } + /** * @return array */ From b07d6c895349fca0e926399de73274a218f4fed8 Mon Sep 17 00:00:00 2001 From: HeuJung Date: Tue, 14 Jul 2026 14:57:18 +0900 Subject: [PATCH 13/18] =?UTF-8?q?fix(ecommerce,tosspayments,templates):=20?= =?UTF-8?q?=EC=97=90=EC=8A=A4=ED=81=AC=EB=A1=9C=20=ED=91=9C=EC=8B=9C=20?= =?UTF-8?q?=EB=88=84=EB=9D=BD=C2=B7=EA=B2=B0=EC=A0=9C=EC=88=98=EB=8B=A8=20?= =?UTF-8?q?=EC=A0=84=ED=99=98=20=EC=8B=9C=20=EC=9E=85=EB=A0=A5=20=EC=9E=94?= =?UTF-8?q?=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 에스크로 표시가 영구히 렌더되지 않던 문제: is_escrow 가 DB·모델·부분취소 차단 로직에는 있으나 OrderPaymentResource 가 내보내지 않아, 이 값을 참조하는 주문 상세(관리자·구매자)의 에스크로 행이 항상 false 로 평가됐다. Resource 에 노출한다. - 결제수단을 바꿔도 이전 수단의 입력이 주문에 실리던 문제: 결제수단 버튼이 _local.paymentMethod 만 바꾸고 슬롯이 소유한 확장 페이로드·환불계좌는 비우지 않았다. 확장 슬롯과 환불계좌 블록은 결제수단 조건부로 언마운트되지만 _local 값은 남으므로, 무통장에서 현금영수증·환불계좌를 입력한 뒤 카드로 전환하면 그 값이 주문 생성 요청에 그대로 실렸다. 프론트는 결제수단 전환 시 슬롯 소유 상태를 초기화하고, 서버는 환불계좌가 쓰이지 않는 결제수단이면 저장하지 않도록 게이팅한다(현금영수증은 이미 dbank 게이트 보유). - Modal 이 받지 않는 size prop 을 쓰던 4곳을 width 로 교체(무시되어 의도한 폭이 나오지 않았다). 토스 에러 모달의 setState target 을 params 안으로 옮긴다. - 레이아웃 편집기 팔레트에서 체크박스를 넣으면 라벨 없이 네모 칸만 놓이던 문제: Checkbox 는 label prop 을 렌더하지 않으므로 Label 래핑 + Span 텍스트로 바꾸고, Accordion 이 Label 을 받도록 중첩 스펙을 맞춘다. --- .../_bundled/sirsoft-ecommerce/CHANGELOG.md | 4 +- .../extensions/mypage_order_cash_receipt.json | 2 +- .../_modal_issue_cash_receipt.json | 2 +- .../src/Enums/PaymentMethodEnum.php | 17 ++++++ .../Requests/Public/CreateOrderRequest.php | 7 +++ .../Http/Resources/OrderPaymentResource.php | 4 ++ .../CheckoutCashReceiptAndRefundBankTest.php | 56 +++++++++++++++++++ .../specs/shop/checkout-cash-receipt.spec.ts | 33 +++++++++++ .../Resources/OrderPaymentResourceTest.php | 25 +++++++++ .../cash-receipt-ui-and-refund-bank.yaml | 2 + .../sirsoft-tosspayments/CHANGELOG.md | 1 + .../extensions/checkout-payment-error.json | 6 +- .../layouts/editor-spec-default-node.test.tsx | 43 ++++++++++++++ .../editor-spec/componentPalette.json | 21 +++++-- .../editor-spec/nesting.json | 3 +- .../checkoutSummaryBodyPayload.test.tsx | 52 +++++++++++++++++ .../partials/shop/_checkout_payment.json | 28 +++++++++- 17 files changed, 292 insertions(+), 14 deletions(-) diff --git a/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md b/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md index 5215c9d8..ed582d6c 100644 --- a/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md +++ b/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md @@ -31,14 +31,14 @@ #### 신청·발급 화면 -- 주문서의 무통장입금 결제 영역에서 현금영수증을 신청할 수 있습니다. 용도(소득공제/지출증빙)에 따라 고를 수 있는 발급 수단이 바뀌며, 그 용도에 쓸 수 없는 수단이 선택되어 있으면 자동으로 되돌립니다. 발급 업체를 설정하지 않은 상점에서는 신청란이 나타나지 않습니다. +- 주문서의 무통장입금 결제 영역에서 현금영수증을 신청할 수 있습니다. 용도(소득공제/지출증빙)에 따라 고를 수 있는 발급 수단이 바뀌며, 그 용도에 쓸 수 없는 수단이 선택되어 있으면 자동으로 되돌립니다. 발급 업체를 설정하지 않은 상점에서는 신청란이 나타나지 않습니다. 결제수단을 다른 것으로 바꾸면 입력했던 신청 내용은 지워집니다. - 구매자 주문 상세에 현금영수증 카드가 표시됩니다. 입금 전에는 안내만, 입금 후 미발급이면 발급 버튼, 발급 후에는 발급일시·용도·식별번호와 영수증 보기 링크가 나타납니다. 환불에 따른 재발급이 실패한 경우에는 안내 문구가 표시됩니다. - 관리자 주문 상세에 현금영수증 카드가 표시됩니다. 발급·발급취소·수동 재발급을 할 수 있고 발급·취소 이력을 함께 볼 수 있습니다. 재발급이 실패한 주문에는 경고와 함께 다시 발급하는 버튼이 나타납니다. - 이커머스 환경설정 주문설정 탭에서 현금영수증 발급 업체, 배송비 과세 방식, 자진발급 사용 여부를 설정할 수 있습니다. #### 환불 계좌 -- 주문서의 무통장입금·가상계좌 결제 영역에서 환불받을 계좌(은행·계좌번호·예금주)를 미리 입력할 수 있습니다. 입력하지 않아도 주문할 수 있지만, 세 칸 중 하나라도 입력하면 나머지도 입력해야 합니다. +- 주문서의 무통장입금·가상계좌 결제 영역에서 환불받을 계좌(은행·계좌번호·예금주)를 미리 입력할 수 있습니다. 입력하지 않아도 주문할 수 있지만, 세 칸 중 하나라도 입력하면 나머지도 입력해야 합니다. 무통장입금·가상계좌가 아닌 결제수단으로 주문하면 환불 계좌는 저장되지 않습니다 — 계좌를 입력한 뒤 카드 등으로 결제수단을 바꿔도 필요 없는 계좌정보가 주문에 남지 않습니다. - 관리자 주문 취소 화면에서 환불 계좌를 입력하거나 수정할 수 있습니다. 주문할 때 입력한 계좌가 있으면 미리 채워집니다. 입금이 완료된 가상계좌 주문은 환불에 계좌가 반드시 필요하므로 입력하지 않으면 취소할 수 없습니다. 무통장입금은 관리자가 직접 이체할 때 참고하도록 선택 입력이며, 카드·간편결제는 원래 결제수단으로 환불되므로 계좌란이 나타나지 않습니다. #### 금액·과세 diff --git a/modules/_bundled/sirsoft-ecommerce/resources/extensions/mypage_order_cash_receipt.json b/modules/_bundled/sirsoft-ecommerce/resources/extensions/mypage_order_cash_receipt.json index d932977b..ae3c827d 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/extensions/mypage_order_cash_receipt.json +++ b/modules/_bundled/sirsoft-ecommerce/resources/extensions/mypage_order_cash_receipt.json @@ -11,7 +11,7 @@ "name": "Modal", "props": { "title": "$t:sirsoft-ecommerce.order.cash_receipt.issue_title", - "size": "small" + "width": "480px" }, "children": [ { diff --git a/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_order_detail/_modal_issue_cash_receipt.json b/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_order_detail/_modal_issue_cash_receipt.json index e517e2c2..e408ae1b 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_order_detail/_modal_issue_cash_receipt.json +++ b/modules/_bundled/sirsoft-ecommerce/resources/layouts/admin/partials/admin_ecommerce_order_detail/_modal_issue_cash_receipt.json @@ -8,7 +8,7 @@ "name": "Modal", "props": { "title": "$t:sirsoft-ecommerce.admin.order.detail.cash_receipt.issue_title", - "size": "small" + "width": "480px" }, "children": [ { diff --git a/modules/_bundled/sirsoft-ecommerce/src/Enums/PaymentMethodEnum.php b/modules/_bundled/sirsoft-ecommerce/src/Enums/PaymentMethodEnum.php index 91b2364c..2ceed8f3 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Enums/PaymentMethodEnum.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Enums/PaymentMethodEnum.php @@ -90,6 +90,23 @@ enum PaymentMethodEnum: string ]); } + /** + * 환불 계좌를 받아야 하는 결제수단인지 확인합니다. + * + * 무통장입금은 관리자가 수동으로 이체할 대상 계좌가 필요하고, 가상계좌는 PG 환불 API 의 + * refundReceiveAccount 로 계좌가 필요하다. 카드·계좌이체·휴대폰은 원거래 취소로 환불되고 + * 마일리지·예치금·무료는 내부 처리이므로 계좌가 필요 없다. + * + * 체크아웃 화면은 결제수단을 바꿔도 입력값을 비우지 않으므로, 계좌가 필요 없는 주문에 + * 계좌정보가 저장되지 않도록 서버가 이 축으로 게이팅한다. + * + * @return bool 환불 계좌 필요 여부 + */ + public function needsRefundBankAccount(): bool + { + return in_array($this, [self::DBANK, self::VBANK], true); + } + /** * 결제수단의 현금성(현금영수증 발급 대상) 금액을 산정합니다. * diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Public/CreateOrderRequest.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Public/CreateOrderRequest.php index af02c240..f3ad66f9 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Public/CreateOrderRequest.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Requests/Public/CreateOrderRequest.php @@ -364,6 +364,13 @@ class CreateOrderRequest extends FormRequest */ public function getRefundBankInfo(): ?array { + // 환불 계좌가 쓰이지 않는 결제수단(카드·계좌이체·휴대폰·마일리지·예치금·무료)이면 저장하지 않는다. + // 체크아웃 화면은 결제수단을 바꿔도 입력값을 비우지 않으므로, 무통장에서 계좌를 넣고 + // 카드로 전환하면 그 값이 그대로 전송된다. getCashReceiptInfo() 와 같은 축으로 게이팅한다. + if (! PaymentMethodEnum::tryFrom((string) $this->input('payment_method'))?->needsRefundBankAccount()) { + return null; + } + $bankCode = $this->input('refund_bank.bank_code'); if (blank($bankCode)) { diff --git a/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/OrderPaymentResource.php b/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/OrderPaymentResource.php index 7e241259..3fedb59f 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/OrderPaymentResource.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Http/Resources/OrderPaymentResource.php @@ -72,6 +72,10 @@ class OrderPaymentResource extends BaseApiResource 'vbank_due_at' => $this->vbank_due_at?->toIso8601String(), // audit:allow datetime-display-user-timezone reason: machine ISO8601 parsed by PG plugin JS injectors, display uses *_formatted sibling 'vbank_due_at_formatted' => $this->formatDateTimeStringForUser($this->vbank_due_at), + // 에스크로 여부 — 결제 시점 스냅샷. 부분취소 차단(PaymentRefundListener)의 기준이자 + // 주문 상세(관리자/회원)에서 에스크로 거래임을 표시하는 값. + 'is_escrow' => (bool) $this->is_escrow, + // 무통장입금 정보 'dbank_name' => $this->dbank_name, 'dbank_account' => $this->dbank_account, diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/Public/CheckoutCashReceiptAndRefundBankTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/Public/CheckoutCashReceiptAndRefundBankTest.php index 3d4177a1..ed8d09ac 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/Public/CheckoutCashReceiptAndRefundBankTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Feature/Http/Controllers/Public/CheckoutCashReceiptAndRefundBankTest.php @@ -348,6 +348,62 @@ class CheckoutCashReceiptAndRefundBankTest extends ModuleTestCase $this->assertNotNull($payment->refund_bank_name); } + /** + * 환불계좌가 의미를 갖지 않는 결제수단이면 저장하지 않는다. + * + * 환불계좌는 무통장(관리자 수동 이체 대상)과 가상계좌(PG 환불 API 의 refundReceiveAccount) + * 에서만 쓰인다. 카드/간편결제는 원거래 취소로 환불되므로 계좌가 필요 없다. + * + * 체크아웃 화면은 결제수단을 바꿔도 _local 의 환불계좌 입력값을 비우지 않으므로, + * 무통장에서 계좌를 넣고 카드로 전환하면 그 값이 그대로 전송된다. 발급될 수 없는 + * 주문에 계좌정보를 남기지 않도록 현금영수증(getCashReceiptInfo)과 같은 축으로 게이팅한다. + * + * @param string $paymentMethod 환불계좌를 쓰지 않는 결제수단 + */ + #[DataProvider('nonRefundBankPaymentMethodProvider')] + public function test_환불계좌를_쓰지_않는_결제수단이면_저장하지_않는다(string $paymentMethod): void + { + $this->postOrder([ + 'payment_method' => $paymentMethod, + 'dbank' => null, + 'refund_bank' => [ + 'bank_code' => '004', + 'account_number' => '110-123-456789', + 'holder' => '홍길동', + ], + ])->assertStatus(201); + + $payment = $this->latestPayment(); + + $this->assertNull( + $payment->refund_bank_code, + "{$paymentMethod} 주문에 환불계좌가 저장되어서는 안 된다" + ); + $this->assertNull($payment->refund_bank_account); + $this->assertNull($payment->refund_bank_holder); + $this->assertNull($payment->refund_bank_name); + } + + /** + * 환불계좌를 쓰지 않는 결제수단 (무통장·가상계좌 제외). + * + * @return array + */ + public static function nonRefundBankPaymentMethodProvider(): array + { + $cases = []; + + foreach (PaymentMethodEnum::cases() as $method) { + if (in_array($method, [PaymentMethodEnum::DBANK, PaymentMethodEnum::VBANK], true)) { + continue; + } + + $cases[$method->value] = [$method->value]; + } + + return $cases; + } + /** * @return array, array}> */ diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Playwright/specs/shop/checkout-cash-receipt.spec.ts b/modules/_bundled/sirsoft-ecommerce/tests/Playwright/specs/shop/checkout-cash-receipt.spec.ts index 34512041..aa007335 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Playwright/specs/shop/checkout-cash-receipt.spec.ts +++ b/modules/_bundled/sirsoft-ecommerce/tests/Playwright/specs/shop/checkout-cash-receipt.spec.ts @@ -20,6 +20,7 @@ * checkout_purpose_switch_resets_invalid_identifier, * checkout_identifier_type_options_by_purpose, * checkout_identifier_cleared_on_type_change, + * checkout_state_reset_on_payment_method_change, * new_ui_uses_portable_only, * new_ui_has_no_tailwind_breakpoint */ @@ -313,6 +314,38 @@ test.describe('체크아웃 현금영수증 신청 폼 (무통장 슬롯 주입) await expect(page.locator(IDENTIFIER)).toHaveValue(''); }); + test('결제수단을 바꾸면 현금영수증 입력이 초기화된다 (이전 수단 값 잔류 금지)', async ({ page }) => { + // 회귀: 결제수단 버튼이 _local.paymentMethod 만 바꾸고 슬롯이 소유한 _local + // (checkoutExtraPayload / refundBank*) 은 비우지 않아, 무통장에서 현금영수증을 입력한 뒤 + // 카드로 전환하면 그 값이 주문 생성 POST 에 그대로 실렸다. + await gotoCheckout(page); + await selectDbank(page); + + const others = page.locator('[data-testid^="checkout-payment-method-"]:not([data-testid$="-dbank"])'); + if ((await others.count()) === 0) { + test.info().annotations.push({ + type: 'coverage-gap', + description: '무통장 외 활성 결제수단이 없어 전환 시 초기화는 미검증 (환경설정 의존)', + }); + return; + } + + // 무통장에서 현금영수증 신청 + 번호 입력 + await page.locator(TOGGLE).check(); + await page.locator(IDENTIFIER).fill('01012345678'); + await expect(page.locator(IDENTIFIER)).toHaveValue('01012345678'); + + // 다른 결제수단으로 전환 → 슬롯 언마운트 + await others.first().click(); + await expect(page.locator(SLOT)).toHaveCount(0); + + // 무통장으로 돌아오면 이전 입력이 남아 있지 않다 (신청 토글이 꺼진 초기 상태) + await selectDbank(page); + await expect(page.locator(SLOT)).toHaveCount(1); + await expect(page.locator(TOGGLE)).not.toBeChecked(); + await expect(page.locator(FIELDS)).toHaveCount(0); + }); + test('발급수단을 바꾸면 이전에 입력한 번호가 비워진다', async ({ page }) => { await gotoCheckout(page); await selectDbank(page); diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Http/Resources/OrderPaymentResourceTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Http/Resources/OrderPaymentResourceTest.php index 2f609ece..1c1252ff 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Http/Resources/OrderPaymentResourceTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Http/Resources/OrderPaymentResourceTest.php @@ -50,4 +50,29 @@ class OrderPaymentResourceTest extends ModuleTestCase $this->assertStringContainsString('신한카드', $array['account_info']); $this->assertStringContainsString('1234-****-****-5678', $array['account_info']); } + + /** + * 에스크로 여부가 API 로 노출된다. + * + * 회귀 배경(#454): is_escrow 는 DB·모델·부분취소 차단 로직(PaymentRefundListener)에는 + * 있었지만 Resource 가 내보내지 않아, 이 값을 참조하는 주문 상세 화면(관리자/회원)의 + * 에스크로 표시가 항상 false 로 평가되어 렌더되지 않았다. + */ + public function test_is_escrow_is_exposed(): void + { + $escrow = OrderPaymentFactory::new()->make([ + 'payment_method' => PaymentMethodEnum::VBANK, + 'is_escrow' => true, + ]); + + $normal = OrderPaymentFactory::new()->make([ + 'payment_method' => PaymentMethodEnum::VBANK, + 'is_escrow' => false, + ]); + + $request = Request::create('/'); + + $this->assertTrue((new OrderPaymentResource($escrow))->toArray($request)['is_escrow']); + $this->assertFalse((new OrderPaymentResource($normal))->toArray($request)['is_escrow']); + } } diff --git a/modules/_bundled/sirsoft-ecommerce/tests/scenarios/cash-receipt-ui-and-refund-bank.yaml b/modules/_bundled/sirsoft-ecommerce/tests/scenarios/cash-receipt-ui-and-refund-bank.yaml index 96600897..dfde18d1 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/scenarios/cash-receipt-ui-and-refund-bank.yaml +++ b/modules/_bundled/sirsoft-ecommerce/tests/scenarios/cash-receipt-ui-and-refund-bank.yaml @@ -139,6 +139,8 @@ effects: - checkout_purpose_switch_resets_invalid_identifier # 소득공제 전환 시 business → phone 리셋 - checkout_identifier_type_options_by_purpose # 소득공제 2종 / 지출증빙 3종 - checkout_identifier_cleared_on_type_change # 발급수단 변경 시 번호 초기화 + - checkout_state_reset_on_payment_method_change # 결제수단 전환 시 슬롯 소유 _local 초기화 (이전 수단 값 잔류 금지) + - refund_bank_not_stored_for_non_bank_methods # 환불계좌를 쓰지 않는 결제수단이면 서버가 저장하지 않음 # 주문 생성 저장 (FormRequest 4단계 사슬) - checkout_cash_receipt_request_persisted # is_cash_receipt_requested + 용도 + 수단 diff --git a/plugins/_bundled/sirsoft-tosspayments/CHANGELOG.md b/plugins/_bundled/sirsoft-tosspayments/CHANGELOG.md index 4e3b4f37..5004aac6 100644 --- a/plugins/_bundled/sirsoft-tosspayments/CHANGELOG.md +++ b/plugins/_bundled/sirsoft-tosspayments/CHANGELOG.md @@ -27,6 +27,7 @@ - 가상계좌·계좌이체 결제에 에스크로(구매안전서비스)를 적용할 수 있습니다. 사용 안 함 / 강제 사용 / 구매자 선택 중에서 고를 수 있습니다. - 에스크로 결제 시 결제창에 상품 정보(상품명·단가·수량)를 함께 전달합니다. 가상계좌와 계좌이체 모두에 적용됩니다. - 에스크로를 켜면 설정 화면에 운영 안내가 표시됩니다 — 에스크로 주문은 부분취소가 불가하다는 점과, 배송정보는 토스 상점관리자에서 등록해야 한다는 점을 안내하며 상점관리자로 바로 이동할 수 있습니다. +- 에스크로로 결제된 주문은 관리자 주문 상세와 구매자 주문 상세에 에스크로 거래임이 표시됩니다. #### 현금영수증 diff --git a/plugins/_bundled/sirsoft-tosspayments/resources/extensions/checkout-payment-error.json b/plugins/_bundled/sirsoft-tosspayments/resources/extensions/checkout-payment-error.json index 56c6bfd0..c04c48c4 100644 --- a/plugins/_bundled/sirsoft-tosspayments/resources/extensions/checkout-payment-error.json +++ b/plugins/_bundled/sirsoft-tosspayments/resources/extensions/checkout-payment-error.json @@ -7,7 +7,7 @@ "name": "Modal", "props": { "title": "$t:sirsoft-tosspayments.payment_error_title", - "size": "sm" + "width": "420px" }, "children": [ { @@ -54,8 +54,8 @@ { "type": "click", "handler": "setState", - "target": "local", "params": { + "target": "local", "paymentErrorMessage": null } }, @@ -79,7 +79,7 @@ "name": "Modal", "props": { "title": "$t:sirsoft-tosspayments.payment_cancel_title", - "size": "sm" + "width": "420px" }, "children": [ { diff --git a/templates/_bundled/sirsoft-admin_basic/__tests__/layouts/editor-spec-default-node.test.tsx b/templates/_bundled/sirsoft-admin_basic/__tests__/layouts/editor-spec-default-node.test.tsx index 5afc6653..c2daa142 100644 --- a/templates/_bundled/sirsoft-admin_basic/__tests__/layouts/editor-spec-default-node.test.tsx +++ b/templates/_bundled/sirsoft-admin_basic/__tests__/layouts/editor-spec-default-node.test.tsx @@ -200,6 +200,49 @@ describe('sirsoft-admin_basic editor-spec defaultNode 공통 디자인', () => { }); }); + // Checkbox 라벨 렌더 회귀 가드. + // Checkbox 컴포넌트는 label prop 을 받기만 하고 렌더하지 않는다(부모 Label 이 표시 담당). + // 팔레트가 label prop 만 심으면 편집기 삽입 시 라벨 없는 빈 체크박스가 나온다. + describe('Checkbox defaultNode — 라벨이 실제로 렌더된다', () => { + it('Checkbox defaultNode 는 label prop 이 아니라 Label 래핑 + Span 텍스트를 쓴다', () => { + const node = entries.Checkbox?.defaultNode; + expect(node).toBeDefined(); + + // 최상위는 Label — Checkbox 를 감싸 클릭 영역과 표시를 함께 제공한다. + expect(node?.name).toBe('Label'); + + const children = node?.children ?? []; + const checkbox = children.find((c) => c.name === 'Checkbox'); + const span = children.find((c) => c.name === 'Span'); + + expect(checkbox, 'Checkbox 자식 누락').toBeDefined(); + expect(span, '라벨 텍스트 Span 누락').toBeDefined(); + expect(span?.text).toBe('$t:layout_editor.palette.checkbox.default_label'); + + // 렌더되지 않는 label prop 에 의존하지 않는다. + expect(node?.props?.label, 'Label 에 label prop 사용 금지').toBeUndefined(); + expect(checkbox?.props?.label, 'Checkbox 의 label prop 은 렌더되지 않는다').toBeUndefined(); + }); + + it('Checkbox defaultNode 를 렌더하면 라벨 텍스트가 DOM 에 나타난다', async () => { + const node = entries.Checkbox?.defaultNode as DefaultNode; + const registry = createMockComponentRegistryWithBasics(); + const t = createLayoutTest(wrapAsLayout(node), { + templateId: 'sirsoft-admin_basic', + componentRegistry: registry, + locale: 'ko', + }); + const { container } = await t.render(); + + // 체크박스 input 과 라벨 텍스트가 함께 렌더된다(빈 체크박스 회귀 차단). + const label = container.querySelector('label'); + expect(label, 'Label 래퍼가 렌더되어야 함').not.toBeNull(); + expect((label?.textContent ?? '').trim().length, '라벨 텍스트가 비어 있음').toBeGreaterThan(0); + + t.cleanup(); + }); + }); + // defaultNode prop shape 결함 회귀 가드. // 라이브 검증에서 발견한 defaultNode↔컴포넌트 shape 불일치 결함들이 되돌아가지 않게 한다. describe('defaultNode prop shape 정합', () => { diff --git a/templates/_bundled/sirsoft-admin_basic/editor-spec/componentPalette.json b/templates/_bundled/sirsoft-admin_basic/editor-spec/componentPalette.json index 771d02ee..8d7a0b7f 100644 --- a/templates/_bundled/sirsoft-admin_basic/editor-spec/componentPalette.json +++ b/templates/_bundled/sirsoft-admin_basic/editor-spec/componentPalette.json @@ -673,11 +673,24 @@ "requiresDefaultNode": true, "defaultNode": { "type": "basic", - "name": "Checkbox", + "name": "Label", "props": { - "label": "$t:layout_editor.palette.checkbox.default_label", - "className": "w-4 h-4 rounded border-gray-300 dark:border-gray-600 text-blue-600 dark:text-blue-400 focus:ring-blue-500" - } + "className": "flex items-center gap-2 cursor-pointer text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Checkbox", + "props": { + "className": "w-4 h-4 rounded border-gray-300 dark:border-gray-600 text-blue-600 dark:text-blue-400 focus:ring-blue-500" + } + }, + { + "type": "basic", + "name": "Span", + "text": "$t:layout_editor.palette.checkbox.default_label" + } + ] } }, "RadioGroup": { diff --git a/templates/_bundled/sirsoft-admin_basic/editor-spec/nesting.json b/templates/_bundled/sirsoft-admin_basic/editor-spec/nesting.json index dd7ceb7c..2bb548ad 100644 --- a/templates/_bundled/sirsoft-admin_basic/editor-spec/nesting.json +++ b/templates/_bundled/sirsoft-admin_basic/editor-spec/nesting.json @@ -466,7 +466,8 @@ "Input", "Textarea", "Select", - "Checkbox" + "Checkbox", + "Label" ] } } diff --git a/templates/_bundled/sirsoft-basic/__tests__/layouts/checkoutSummaryBodyPayload.test.tsx b/templates/_bundled/sirsoft-basic/__tests__/layouts/checkoutSummaryBodyPayload.test.tsx index 3383cec3..10e9f4f2 100644 --- a/templates/_bundled/sirsoft-basic/__tests__/layouts/checkoutSummaryBodyPayload.test.tsx +++ b/templates/_bundled/sirsoft-basic/__tests__/layouts/checkoutSummaryBodyPayload.test.tsx @@ -18,6 +18,7 @@ import { describe, it, expect } from 'vitest'; import { DataBindingEngine } from '@core/template-engine/DataBindingEngine'; import checkoutSummaryJson from '../../layouts/partials/shop/_checkout_summary.json'; +import checkoutPaymentJson from '../../layouts/partials/shop/_checkout_payment.json'; import checkoutJson from '../../layouts/shop/checkout.json'; /** 객체 트리에서 조건을 만족하는 첫 노드를 깊이우선 탐색 */ @@ -231,6 +232,57 @@ describe('주문 생성 body — 확장 병합 칸 계약', () => { }); }); + // 결제수단 전환 시 이전 수단이 소유하던 입력값이 남아 payload 에 실리던 결함의 회귀 가드. + // 확장 슬롯(현금영수증)과 환불계좌 블록은 결제수단 조건부로 언마운트되지만 _local 값은 남는다. + // 무통장에서 입력 → 카드로 전환 시 그 값이 그대로 주문 생성 POST 에 실렸다. + describe('결제수단 전환 — 이전 수단 소유 상태 초기화', () => { + it('결제수단 선택 액션이 확장 칸과 환불계좌를 함께 비운다', () => { + const methodSelect = findNode( + checkoutPaymentJson, + (n: any) => + Array.isArray(n?.actions) && + n.actions.some( + (a: any) => + a?.type === 'click' && + JSON.stringify(a).includes('_local.paymentMethod'), + ), + ); + expect(methodSelect, '결제수단 선택 액션 노드를 찾지 못했다').toBeDefined(); + + const clickAction = methodSelect.actions.find((a: any) => a?.type === 'click'); + const inner = clickAction?.params?.actions ?? []; + const targets = inner.map((a: any) => a?.params?.target); + + // 결제수단 자체는 설정하고 + expect(targets).toContain('_local.paymentMethod'); + // 이전 수단이 소유하던 상태는 비운다 + expect(targets).toContain('_local.checkoutExtraPayload'); + expect(targets).toContain('_local.refundBankCode'); + expect(targets).toContain('_local.refundBankAccount'); + expect(targets).toContain('_local.refundBankHolder'); + }); + + it('초기화된 상태로 조립한 payload 에는 이전 수단의 값이 남지 않는다', () => { + // 무통장에서 현금영수증·환불계좌를 입력한 뒤 카드로 전환된 직후의 _local 상태 + const ctx = baseCtx({ + _local: { + ...baseCtx()._local, + paymentMethod: 'card', + checkoutExtraPayload: {}, + refundBankCode: '', + refundBankAccount: '', + refundBankHolder: '', + }, + }); + + const body = evalBody(ctx); + + expect(body.refund_bank).toBeNull(); + expect(body.cash_receipt_requested).toBeUndefined(); + expect(body.cash_receipt_identifier).toBeUndefined(); + }); + }); + // ───────────────────────────────────────────────────────────── // #454 — 플러그인 결제수단(toss_*)의 코어 결제수단 전송 // diff --git a/templates/_bundled/sirsoft-basic/layouts/partials/shop/_checkout_payment.json b/templates/_bundled/sirsoft-basic/layouts/partials/shop/_checkout_payment.json index 9bb0019a..224f0e9f 100644 --- a/templates/_bundled/sirsoft-basic/layouts/partials/shop/_checkout_payment.json +++ b/templates/_bundled/sirsoft-basic/layouts/partials/shop/_checkout_payment.json @@ -146,9 +146,33 @@ ], "actions": [ { + "comment": "결제수단 전환 시 이전 수단이 소유하던 입력값을 함께 비운다. 확장 슬롯(현금영수증 등)과 환불계좌 블록은 결제수단 조건부로 언마운트되지만 _local 값은 남으므로, 초기화하지 않으면 무통장에서 입력한 값이 카드 주문 payload 에 그대로 실린다.", "type": "click", - "handler": "setState", - "params": { "target": "_local.paymentMethod", "value": "{{method.id}}" } + "handler": "sequence", + "params": { + "actions": [ + { + "handler": "setState", + "params": { "target": "_local.paymentMethod", "value": "{{method.id}}" } + }, + { + "handler": "setState", + "params": { "target": "_local.checkoutExtraPayload", "value": {} } + }, + { + "handler": "setState", + "params": { "target": "_local.refundBankCode", "value": "" } + }, + { + "handler": "setState", + "params": { "target": "_local.refundBankAccount", "value": "" } + }, + { + "handler": "setState", + "params": { "target": "_local.refundBankHolder", "value": "" } + } + ] + } } ] } From 6c8381f164010727bb5535a27ece7e5c100e312f Mon Sep 17 00:00:00 2001 From: HeuJung Date: Wed, 15 Jul 2026 09:52:58 +0900 Subject: [PATCH 14/18] =?UTF-8?q?fix(core,board,ecommerce,plugins):=20API?= =?UTF-8?q?=20=EB=AC=B8=EC=84=9C=20=EB=AF=B8=EC=B1=84=EC=9B=80=20=EB=A7=88?= =?UTF-8?q?=EC=BB=A4=20=EC=A0=84=EC=88=98=20=EC=B1=84=EC=9B=80=20+=20?= =?UTF-8?q?=EB=AF=B8=ED=95=B4=EC=84=9D=20lang=20=ED=82=A4=20=EC=A0=95?= =?UTF-8?q?=EC=A0=95=20+=20IDV=20=EC=A1=B0=ED=9A=8C=20=EC=8B=9C=EB=8F=84?= =?UTF-8?q?=ED=9A=9F=EC=88=98=20=EB=B9=84=EB=85=B8=EC=B6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 이슈 본연: API 레퍼런스의 미채움 마커 5종(실측 제외/TODO/필드 없음/대표 에러 없음) 1,194건을 코드에서 읽어 전수 채우고(0건), api:docgen 재생성이 사람이 채운 내용을 손실·열화시키던 멱등성 결함 4종(CRLF, 표 파이프 이스케이프, 에러 서술 보존, 중복 라우트명 키)을 근본 수정. --check 를 실측 제외와 드리프트가 구분되도록 재정의. ParameterDescriber/ResourceFieldDescriber 에 leaf 폴백·SEO 스코프·공통 사전 확장. 파생 결함(문서 실측 중 발견): ResponseHelper 기본 메시지 키 6종이 존재하지 않는 messages.* 를 가리켜 응답 message 가 번역문 대신 키 문자열로 노출되던 문제를 common.* 으로 정정하고, 코어 7 + gdpr/marketing/pay_kginicis/verification/ecommerce 확장의 호출부와 누락 lang 키(게시판 10키 + 이커머스 category_images 4키 포함)를 ko/en/ja 전수 정정. 중복 그룹 키 2건은 기존 키로 호출부 통합. 보안: GET /api/identity/challenges/{id} 는 권한 가드 없는 공개 폴링 엔드포인트인데 Service::getStatus 가 attempts/max_attempts 를 응답에 담아 남은 시도 횟수를 추론할 수 있었다. 두 필드를 제거하고, 챌린지 화면(admin_basic/basic)의 서버 attempts 참조를 제거(남은 횟수 UI 는 query fallback + verify 실패 시 로컬 증가로 유지). 부수 정리(변경셋에 들어온 board 컨트롤러의 audit 사전 결함): FormRequest 4개 신설로 base Request 주입 제거, CommentController 의 Board 직접 호출을 BoardService 위임으로 전환, PHPDoc @return 보강. board 스위트에서 발견한 stale test 3건(seed SSoT 불일치, admin 계정 user 역할 누락)도 같은 세션에서 정정. 버전 정렬(공개 release 기준): 코어 7.0.3→7.0.4, sirsoft-board 1.0.1→1.0.2, verification_kginicis 1.0.0→1.0.1, admin_basic 1.0.1→1.0.4. --- CHANGELOG.md | 1 + app/Console/Commands/ApiDocgenCommand.php | 137 +- app/Helpers/ResponseHelper.php | 36 +- .../Identity/AdminIdentityLogController.php | 7 +- .../AdminIdentityPolicyController.php | 22 +- .../AdminIdentityProviderController.php | 8 +- .../Api/Admin/PluginSettingsController.php | 4 +- .../Api/Admin/SeoCacheController.php | 18 +- .../IdentityVerificationController.php | 22 +- .../AdminIdentityProviderIndexRequest.php | 38 + app/Services/IdentityVerificationService.php | 3 + app/Support/ApiDoc/ApiDocScaffolder.php | 108 +- app/Support/ApiDoc/ParameterDescriber.php | 173 ++ app/Support/ApiDoc/ResourceFieldDescriber.php | 107 + docs/backend/api-documentation.md | 27 +- docs/backend/api/activity-logs.md | 26 +- docs/backend/api/attachment.md | 36 +- docs/backend/api/attachments.md | 167 +- docs/backend/api/auth.md | 333 ++- docs/backend/api/avatar.md | 31 +- docs/backend/api/broadcasting.md | 13 +- docs/backend/api/core-update.md | 24 +- docs/backend/api/dashboard.md | 54 +- docs/backend/api/extensions.md | 45 +- docs/backend/api/identity.md | 696 +++++- docs/backend/api/language-packs.md | 790 ++++++- docs/backend/api/layouts.md | 138 +- docs/backend/api/locales.md | 2 +- docs/backend/api/me.md | 86 +- docs/backend/api/menus.md | 179 +- docs/backend/api/modules.md | 874 +++++++- docs/backend/api/notification-definitions.md | 88 +- docs/backend/api/notification-logs.md | 24 +- docs/backend/api/notification-templates.md | 78 +- docs/backend/api/notifications.md | 196 +- docs/backend/api/password.md | 10 +- docs/backend/api/plugins.md | 877 +++++++- docs/backend/api/profile.md | 249 ++- docs/backend/api/roles.md | 2 +- docs/backend/api/schedules.md | 104 +- docs/backend/api/seo.md | 48 +- docs/backend/api/settings.md | 431 ++-- docs/backend/api/templates.md | 1949 +++++++++++++++-- docs/backend/api/users.md | 295 ++- docs/backend/api/verify-password.md | 13 +- lang-packs/_bundled/g7-core-ja/CHANGELOG.md | 2 + .../_bundled/g7-core-ja/backend/ja/common.php | 3 + .../g7-core-ja/backend/ja/identity.php | 1 + .../CHANGELOG.md | 1 + .../backend/ja/messages.php | 12 +- lang/en/common.php | 3 + lang/en/identity.php | 1 + lang/ko/common.php | 3 + lang/ko/identity.php | 1 + .../gnuboard7-hello_module/docs/api/memos.md | 76 +- .../sirsoft-board/docs/api/board-types.md | 59 +- .../_bundled/sirsoft-board/docs/api/board.md | 594 ++++- .../_bundled/sirsoft-board/docs/api/boards.md | 1060 ++++++++- .../sirsoft-board/docs/api/reports.md | 175 +- .../sirsoft-board/docs/api/settings.md | 155 +- .../Http/Controllers/Admin/PostController.php | 19 +- .../Requests/Admin/PostFormDataRequest.php | 37 + .../Requests/Admin/PostFormMetaRequest.php | 34 + .../Http/Requests/Admin/PostIndexRequest.php | 38 + .../_bundled/sirsoft-ecommerce/CHANGELOG.md | 1 + .../sirsoft-ecommerce/docs/api/addresses.md | 4 +- .../sirsoft-ecommerce/docs/api/brands.md | 106 +- .../sirsoft-ecommerce/docs/api/cart.md | 336 ++- .../sirsoft-ecommerce/docs/api/categories.md | 283 ++- .../docs/api/category-image.md | 30 +- .../sirsoft-ecommerce/docs/api/checkout.md | 396 +++- .../docs/api/claim-reasons.md | 107 +- .../sirsoft-ecommerce/docs/api/coupons.md | 42 +- .../sirsoft-ecommerce/docs/api/currency.md | 23 +- .../docs/api/extra-fee-templates.md | 175 +- .../sirsoft-ecommerce/docs/api/guest.md | 320 ++- .../sirsoft-ecommerce/docs/api/inquiries.md | 185 +- .../docs/api/mileage-transactions.md | 237 +- .../sirsoft-ecommerce/docs/api/mileage.md | 22 +- .../sirsoft-ecommerce/docs/api/options.md | 83 +- .../sirsoft-ecommerce/docs/api/orders.md | 834 ++++++- .../sirsoft-ecommerce/docs/api/payments.md | 85 +- .../sirsoft-ecommerce/docs/api/presets.md | 137 +- .../docs/api/product-common-infos.md | 112 +- .../docs/api/product-image.md | 32 +- .../docs/api/product-labels.md | 86 +- .../docs/api/product-notice-templates.md | 110 +- .../sirsoft-ecommerce/docs/api/products.md | 703 +++++- .../docs/api/promotion-coupons.md | 417 +++- .../docs/api/review-image.md | 30 +- .../sirsoft-ecommerce/docs/api/reviews.md | 229 +- .../sirsoft-ecommerce/docs/api/settings.md | 186 +- .../docs/api/shipping-carriers.md | 102 +- .../docs/api/shipping-policies.md | 215 +- .../sirsoft-ecommerce/docs/api/users.md | 23 +- .../sirsoft-ecommerce/docs/api/wishlist.md | 77 +- .../src/lang/en/messages.php | 12 +- .../src/lang/ko/messages.php | 12 +- .../sirsoft-page/docs/api/attachments.md | 67 +- .../_bundled/sirsoft-page/docs/api/pages.md | 376 +++- .../sirsoft-ckeditor5/docs/api/images.md | 33 +- .../sirsoft-ckeditor5/docs/api/upload.md | 22 +- plugins/_bundled/sirsoft-gdpr/CHANGELOG.md | 4 + .../sirsoft-gdpr/docs/api/consent-log.md | 2 +- .../_bundled/sirsoft-gdpr/docs/api/consent.md | 71 +- .../sirsoft-gdpr/docs/api/policy-versions.md | 6 +- .../sirsoft-gdpr/docs/api/settings.md | 72 +- .../Admin/GdprAdminConsentLogController.php | 2 +- .../GdprAdminPolicyVersionController.php | 6 +- .../Admin/GdprAdminSettingsController.php | 2 +- .../Public/GdprCookieConsentController.php | 2 +- .../Public/GdprSettingsController.php | 2 +- .../User/GdprConsentController.php | 4 +- .../_bundled/sirsoft-marketing/CHANGELOG.md | 4 + .../sirsoft-marketing/docs/api/channels.md | 38 +- .../sirsoft-marketing/docs/api/settings.md | 4 +- .../MarketingSettingsController.php | 2 +- .../sirsoft-pay_kginicis/CHANGELOG.md | 2 +- .../sirsoft-pay_kginicis/docs/api/cbt.md | 2 +- .../sirsoft-pay_kginicis/docs/api/orders.md | 335 ++- .../sirsoft-pay_kginicis/docs/api/payment.md | 395 +++- .../docs/api/transaction.md | 110 +- .../AdminCbtCvsOperationsController.php | 2 +- .../AdminCbtReconciliationController.php | 2 +- .../AdminCbtTestProductController.php | 42 +- .../AdminEscrowDeliveryController.php | 16 +- .../AdminEscrowDenyConfirmController.php | 10 +- .../Controllers/AdminOrderListController.php | 2 +- .../AdminSettingsStatusController.php | 2 +- .../AdminTransactionController.php | 10 +- .../PaymentCloseReportController.php | 20 +- .../AdminEscrowDeliveryController.php | 14 +- .../Controllers/AdminOrderListController.php | 4 +- .../AdminSettingsStatusController.php | 2 +- .../AdminTransactionController.php | 4 +- .../PaymentCloseReportController.php | 18 +- .../Controllers/PaymentRetryController.php | 16 +- .../src/Controllers/AdminEscrowController.php | 6 +- .../Controllers/AdminOrderListController.php | 4 +- .../AdminSettingsStatusController.php | 2 +- .../AdminTransactionController.php | 8 +- .../AdminVbankRefundController.php | 8 +- .../PaymentCloseReportController.php | 18 +- .../sirsoft-tosspayments/docs/api/webhook.md | 6 +- .../CHANGELOG.md | 1 + .../docs/api/identity.md | 28 +- .../docs/api/plugin.md | 94 +- .../MyInicisIdentityShowController.php | 4 +- .../Identity/IdentityChallengeShowTest.php | 12 +- .../Feature/Console/ApiDocgenCommandTest.php | 48 + tests/Unit/Helpers/ResponseHelperTest.php | 74 +- .../Support/ApiDoc/ApiDocPipelineTest.php | 241 +- .../Support/ApiDoc/ParameterDescriberTest.php | 68 + .../ApiDoc/ResourceFieldDescriberTest.php | 37 + ...ntity-challenge-status-field-exposure.yaml | 40 + 155 files changed, 17192 insertions(+), 1829 deletions(-) create mode 100644 app/Http/Requests/Identity/AdminIdentityProviderIndexRequest.php create mode 100644 modules/_bundled/sirsoft-board/src/Http/Requests/Admin/PostFormDataRequest.php create mode 100644 modules/_bundled/sirsoft-board/src/Http/Requests/Admin/PostFormMetaRequest.php create mode 100644 modules/_bundled/sirsoft-board/src/Http/Requests/Admin/PostIndexRequest.php create mode 100644 tests/scenarios/identity-challenge-status-field-exposure.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index d4cf3f1f..4853f747 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -189,6 +189,7 @@ #### 안내 문구·주소 처리 - 일부 안내가 실제 문장 대신 내부 식별자(`messages.auth.unauthenticated` 같은 문자열)로 표시되던 문제를 수정했습니다. 로그인하지 않았거나 역할 권한이 없어 요청이 거절될 때, 메뉴에 역할을 지정할 때, 확장 식별자를 잘못 입력했을 때, 활동 로그를 기간·유형으로 검색할 때가 해당됩니다. +- 회원 정보 수정, 권한·메뉴 설정, 본인인증, 알림 설정 등 여러 화면에서 처리를 마친 뒤 표시되는 안내 문구가 번역된 문장 대신 내부 식별자가 그대로 보이던 문제를 수정했습니다. 이제 성공·실패·권한 없음 등 모든 안내가 사용 중인 언어에 맞는 문장으로 표시됩니다. - 환경설정 저장이 실패했을 때 안내 문구에 항목 이름이 `security.password min length` 같은 내부 식별자로 표시되던 문제를 수정했습니다. 보안·업로드·SEO·고급·드라이버·메일 등 모든 설정 항목이 화면에 보이는 한글 항목명으로 안내됩니다. - 플러그인을 GitHub 주소나 ZIP 파일로 설치할 때의 입력 안내가 내부 식별자로 표시되던 문제를 수정했습니다. 주소 형식이 잘못됐거나, ZIP이 아닌 파일을 올렸거나, 파일 용량을 초과했을 때 정상 문장으로 안내합니다. - 목록의 열 제목을 눌러 정렬할 때, 이미 다른 열로 정렬 중이었다면 화살표는 새로 누른 열에 표시되면서 실제 정렬은 이전 열 기준으로 바뀌던 문제를 수정했습니다. 표시와 실제 정렬 기준이 어긋나 결과를 신뢰할 수 없었으며, 이제 누른 열 기준으로 한 번에 정렬됩니다. diff --git a/app/Console/Commands/ApiDocgenCommand.php b/app/Console/Commands/ApiDocgenCommand.php index 700cf915..53c07d72 100644 --- a/app/Console/Commands/ApiDocgenCommand.php +++ b/app/Console/Commands/ApiDocgenCommand.php @@ -126,6 +126,7 @@ class ApiDocgenCommand extends Command $stats = ['files' => 0, 'endpoints' => 0, 'probed' => 0, 'skipped' => 0, 'examples' => 0]; $checkFindings = []; + $skippedProbes = []; $examplesOnly = (bool) $this->option('examples-only'); // 대상(코어/확장)별 README 목차 항목 누적: readmeKey => ['label' => ..., 'entries' => [...]] @@ -136,6 +137,17 @@ class ApiDocgenCommand extends Command $sectionKeys = []; $exampleBlocks = []; + // `Route::match(['get','post'], ...)->name('x')` 는 하나의 라우트명으로 두 엔드포인트를 + // 등록한다. 생성 블록 키가 라우트명뿐이면 한 문서에 같은 키가 둘 생겨, 블록 조회(strpos)가 + // 언제나 첫 블록만 잡아 두 번째 블록의 사람 서술이 재생성마다 유실된다. + // 문서 안에서 중복되는 라우트명만 골라 키에 메서드를 붙인다 (나머지 키는 그대로 — 전 문서의 + // 키를 바꾸면 기존 블록과 대조가 어긋나 사람 서술이 통째로 사라진다). + $nameCounts = array_count_values(array_map( + static fn (array $r): string => $r['name'] ?: $r['uri'], + $items, + )); + $duplicatedNames = array_keys(array_filter($nameCounts, static fn (int $n): bool => $n > 1)); + // 목차용 도메인 파일 항목 (소유별). 예시-only/check 모드에서도 목차는 최신화한다. $owner = $items[0]['owner']; $readmeKey = $this->readmeFile($owner); @@ -156,10 +168,14 @@ class ApiDocgenCommand extends Command $stats['probed']++; } else { $stats['skipped']++; - $checkFindings[] = "{$route['method']} {$route['uri']} — {$probeMeta['skipped_reason']}"; + // 실측 제외는 설계상 정상이다 — 부수효과 쓰기·미치환 path·검증 실패는 의도적으로 + // 호출하지 않고, 그 자리는 사람이 코드 근거로 채운다. drift 로 세면 문서가 완전해도 + // --check 가 통과할 수 없어 기준이 무의미해진다. 정보로만 남긴다. + $skippedProbes[] = "{$route['method']} {$route['uri']} — {$probeMeta['skipped_reason']}"; } - $key = $route['name'] ?: $route['uri']; + $methodScopedKey = in_array($route['name'] ?: $route['uri'], $duplicatedNames, true); + $key = $scaffolder->generatedKey($route, $methodScopedKey); if ($examplesOnly) { // 표·서술을 건드리지 않고 예시 2블록만 산출 (SSoT=스캐폴더 예시 메서드). @@ -179,7 +195,7 @@ class ApiDocgenCommand extends Command } $commentMap = $this->columnComments($route, $commentResolver, $sampleMap); - $sections[] = $scaffolder->endpointSection($route, $request, $schema, $probeMeta, $commentMap); + $sections[] = $scaffolder->endpointSection($route, $request, $schema, $probeMeta, $commentMap, $methodScopedKey); $sectionKeys[] = $key; $stats['endpoints']++; } @@ -187,6 +203,12 @@ class ApiDocgenCommand extends Command if ($this->option('check')) { if (! File::exists($file)) { $checkFindings[] = "문서 파일 없음: {$file}"; + } else { + // 실측 불가 자리를 사람이 채우지 않고 마커로 남겨 두면 문서가 미완이다. + // (규정: docs/backend/api-documentation.md "미채움 마커 5종") + foreach ($this->unfilledMarkers(File::get($file)) as $marker) { + $checkFindings[] = "미채움 마커: {$file} — {$marker}"; + } } continue; @@ -216,6 +238,15 @@ class ApiDocgenCommand extends Command $header = $this->documentHeader($file, $items[0]); $existing = File::exists($file) ? File::get($file) : null; + + // 기존 문서는 중복 라우트명 블록을 구 키(라우트명만)로 갖고 있다. 그대로 두면 새 키 + // (라우트명::메서드)와 대조되지 않아 이번 재생성에서 그 블록의 사람 서술이 유실된다. + // 병합 전에 구 키를 등장 순서대로 새 키로 승격한다 — 문서 내 블록 순서는 $items 순서와 + // 같으므로(같은 그룹을 같은 순서로 순회) 메서드 대응이 어긋나지 않는다. + if ($existing !== null && $duplicatedNames !== []) { + $existing = $this->migrateDuplicateBlockKeys($existing, $items, $duplicatedNames, $scaffolder); + } + $content = $scaffolder->mergeDocument($existing, $header, $sections, $sectionKeys); File::ensureDirectoryExists(dirname($file)); @@ -253,8 +284,20 @@ class ApiDocgenCommand extends Command } if ($this->option('check')) { + // 실측 제외는 정상 동작이므로 참고 정보로만 표시한다 (drift 아님). + if ($skippedProbes !== []) { + $this->line('실측 제외 '.count($skippedProbes).'건 (정상 — 해당 자리는 사람이 작성):'); + foreach (array_slice($skippedProbes, 0, 10) as $s) { + $this->line(' · '.$s); + } + if (count($skippedProbes) > 10) { + $this->line(' · ... 외 '.(count($skippedProbes) - 10).'건'); + } + $this->newLine(); + } + if ($checkFindings !== []) { - $this->warn('실측 제외/문서 누락 '.count($checkFindings).'건:'); + $this->warn('drift '.count($checkFindings).'건:'); foreach (array_slice($checkFindings, 0, 50) as $f) { $this->line(' - '.$f); } @@ -899,6 +942,92 @@ class ApiDocgenCommand extends Command return base_path("{$base}/_bundled/{$owner['id']}/docs/api/README.md"); } + /** + * 문서에 남아 있는 미채움 마커를 수집합니다. + * + * `api:docgen` 은 실측 불가한 자리에 "사람이 작성하세요" 마커를 남긴다. 실측 불가는 그 자리를 + * 비워둘 사유가 아니며, 컨트롤러/Resource/FormRequest/Enum/lang 을 읽어 채우는 것이 규정이다 + * (docs/backend/api-documentation.md "미채움 마커 5종"). 마커가 남아 있으면 문서는 미완이다. + * + * 잔량 전수 집계는 `check-api-doc-unfilled.cjs` 가 담당하고, 여기서는 `--check` 가 자기 scope + * 문서의 미완을 drift 로 잡기 위해 마커 종류만 요약한다. + * + * @param string $content 문서 내용 + * @return array 발견된 마커 요약 (종류 => 건수) + */ + private function unfilledMarkers(string $content): array + { + $markers = [ + '실측 제외:' => '실측 제외 (응답 필드 표 / 응답 예시)', + 'TODO: 용도' => '요청 파라미터 설명', + 'TODO: 설명' => '응답 필드 설명', + '실측 응답에 필드 없음' => '빈 목록 관측 (응답 필드 표)', + '대표 에러 없음' => '도메인 특이 에러', + ]; + + $found = []; + + foreach ($markers as $needle => $label) { + $count = substr_count($content, $needle); + + if ($count > 0) { + $found[] = "{$label} {$count}건"; + } + } + + return $found; + } + + /** + * 기존 문서의 중복 생성 블록 키를 메서드 스코프 키로 승격합니다. + * + * `Route::match(['get','post'], ...)->name('x')` 로 등록된 라우트는 한 문서에 같은 + * `@generated:start:x` 블록을 둘 만든다. 새 키(`x::get` / `x::post`)로 재생성하면 구 키를 + * 가진 기존 블록과 대조되지 않아 그 블록의 사람 서술이 유실되므로, 병합 전에 구 키를 + * 등장 순서대로 새 키로 바꿔 준다. + * + * 문서 내 블록 순서는 `$items` 순서와 같다(같은 그룹을 같은 순서로 순회해 생성했다). + * 따라서 n 번째 구 키 블록에는 그 라우트명을 가진 n 번째 라우트의 메서드를 붙인다. + * + * @param string $existing 기존 문서 내용 + * @param array> $items 이 문서의 라우트 목록 (문서 순서) + * @param array $duplicatedNames 문서 안에서 중복되는 라우트명 + * @param ApiDocScaffolder $scaffolder 키 생성기 + * @return string 키가 승격된 문서 내용 + */ + private function migrateDuplicateBlockKeys( + string $existing, + array $items, + array $duplicatedNames, + ApiDocScaffolder $scaffolder + ): string { + foreach ($duplicatedNames as $name) { + $methods = array_values(array_map( + static fn (array $r): string => $r['method'], + array_filter($items, static fn (array $r): bool => ($r['name'] ?: $r['uri']) === $name), + )); + + $marker = ''; + $offset = 0; + + foreach ($methods as $method) { + $pos = strpos($existing, $marker, $offset); + + if ($pos === false) { + break; + } + + $newKey = $scaffolder->generatedKey(['name' => $name, 'uri' => $name, 'method' => $method], true); + $newMarker = ''; + + $existing = substr_replace($existing, $newMarker, $pos, strlen($marker)); + $offset = $pos + strlen($newMarker); + } + } + + return $existing; + } + /** * 문서 헤더(제목 + TL;DR)를 생성합니다. * diff --git a/app/Helpers/ResponseHelper.php b/app/Helpers/ResponseHelper.php index 8c062723..77283cac 100644 --- a/app/Helpers/ResponseHelper.php +++ b/app/Helpers/ResponseHelper.php @@ -21,7 +21,7 @@ class ResponseHelper /** * 성공 응답을 생성합니다. * - * @param string $messageKey 메시지 키 (기본값: 'messages.success') + * @param string $messageKey 메시지 키 (기본값: 'common.success') * @param mixed $data 응답 데이터 * @param int $statusCode HTTP 상태 코드 (기본값: 200) * @param array $messageParams 메시지 매개변수 @@ -29,7 +29,7 @@ class ResponseHelper * @return JsonResponse JSON 응답 */ public static function success( - string $messageKey = 'messages.success', + string $messageKey = 'common.success', mixed $data = null, int $statusCode = 200, array $messageParams = [], @@ -45,7 +45,7 @@ class ResponseHelper /** * 실패 응답을 생성합니다. * - * @param string $messageKey 메시지 키 (기본값: 'messages.failed') + * @param string $messageKey 메시지 키 (기본값: 'common.failed') * @param int $statusCode HTTP 상태 코드 (기본값: 400) * @param mixed $errors 오류 정보 * @param array $messageParams 메시지 매개변수 @@ -53,7 +53,7 @@ class ResponseHelper * @return JsonResponse JSON 응답 */ public static function error( - string $messageKey = 'messages.failed', + string $messageKey = 'common.failed', int $statusCode = 400, mixed $errors = null, array $messageParams = [], @@ -87,14 +87,14 @@ class ResponseHelper * 입력 검증 실패 응답을 생성합니다. * * @param mixed $errors 검증 오류 정보 - * @param string $messageKey 메시지 키 (기본값: 'messages.validation_failed') + * @param string $messageKey 메시지 키 (기본값: 'common.validation_failed') * @param array $messageParams 메시지 매개변수 * @param string $domain 번역 도메인 (기본값: 'core') * @return JsonResponse 422 상태 코드를 가진 JSON 응답 */ public static function validationError( mixed $errors, - string $messageKey = 'messages.validation_failed', + string $messageKey = 'common.validation_failed', array $messageParams = [], string $domain = 'core' ): JsonResponse { @@ -108,13 +108,13 @@ class ResponseHelper /** * 인증 실패 응답을 생성합니다. * - * @param string $messageKey 메시지 키 (기본값: 'messages.unauthorized') + * @param string $messageKey 메시지 키 (기본값: 'common.unauthorized') * @param array $messageParams 메시지 매개변수 * @param string $domain 번역 도메인 (기본값: 'core') * @return JsonResponse 401 상태 코드를 가진 JSON 응답 */ public static function unauthorized( - string $messageKey = 'messages.unauthorized', + string $messageKey = 'common.unauthorized', array $messageParams = [], string $domain = 'core' ): JsonResponse { @@ -127,13 +127,13 @@ class ResponseHelper /** * 권한 부족 응답을 생성합니다. * - * @param string $messageKey 멤시지 키 (기본값: 'messages.forbidden') + * @param string $messageKey 멤시지 키 (기본값: 'common.forbidden') * @param array $messageParams 멤시지 매개변수 * @param string $domain 번역 도메인 (기본값: 'core') * @return JsonResponse 403 상태 코드를 가진 JSON 응답 */ public static function forbidden( - string $messageKey = 'messages.forbidden', + string $messageKey = 'common.forbidden', array $messageParams = [], string $domain = 'core' ): JsonResponse { @@ -146,13 +146,13 @@ class ResponseHelper /** * 리소스를 찾을 수 없음 응답을 생성합니다. * - * @param string $messageKey 멤시지 키 (기본값: 'messages.not_found') + * @param string $messageKey 멤시지 키 (기본값: 'common.not_found') * @param array $messageParams 멤시지 매개변수 * @param string $domain 번역 도메인 (기본값: 'core') * @return JsonResponse 404 상태 코드를 가진 JSON 응답 */ public static function notFound( - string $messageKey = 'messages.not_found', + string $messageKey = 'common.not_found', array $messageParams = [], string $domain = 'core' ): JsonResponse { @@ -165,14 +165,14 @@ class ResponseHelper /** * 서버 내부 오류 응답을 생성합니다. * - * @param string $messageKey 멤시지 키 (기본값: 'messages.error_occurred') + * @param string $messageKey 멤시지 키 (기본값: 'common.error_occurred') * @param mixed $error 오류 정보 (디버그 모드에서만 표시) * @param array $messageParams 멤시지 매개변수 * @param string $domain 번역 도메인 (기본값: 'core') * @return JsonResponse 500 상태 코드를 가진 JSON 응답 */ public static function serverError( - string $messageKey = 'messages.error_occurred', + string $messageKey = 'common.error_occurred', mixed $error = null, array $messageParams = [], string $domain = 'core' @@ -341,7 +341,7 @@ class ResponseHelper * (색인 누락 안내)가 사라지면 검색이 0건을 돌려주는 사실을 운영자가 알 방법이 없습니다. * `success`/`message`/`data` 키는 부가 데이터로 덮어쓰지 않습니다. * - * @param string $messageKey 멤시지 키 (기본값: 'messages.success') + * @param string $messageKey 메시지 키 (기본값: 'common.success') * @param JsonResource|ResourceCollection|null $resource JSON 리소스 * @param int $statusCode HTTP 상태 코드 (기본값: 200) * @param array $messageParams 멤시지 매개변수 @@ -349,7 +349,7 @@ class ResponseHelper * @return JsonResponse JSON 응답 */ public static function successWithResource( - string $messageKey = 'messages.success', + string $messageKey = 'common.success', JsonResource|ResourceCollection|null $resource = null, int $statusCode = 200, array $messageParams = [], @@ -415,14 +415,14 @@ class ResponseHelper /** * 페이지네이션된 리소스 응답을 생성합니다. * - * @param string $messageKey 멤시지 키 (기본값: 'messages.success') + * @param string $messageKey 메시지 키 (기본값: 'common.success') * @param ResourceCollection|null $collection 페이지네이션된 리소스 컬렉션 * @param array $messageParams 멤시지 매개변수 * @param string $domain 번역 도메인 (기본값: 'core') * @return JsonResponse 페이지네이션 메타 데이터를 포함한 JSON 응답 */ public static function successWithPagination( - string $messageKey = 'messages.success', + string $messageKey = 'common.success', ?ResourceCollection $collection = null, array $messageParams = [], string $domain = 'core' diff --git a/app/Http/Controllers/Api/Admin/Identity/AdminIdentityLogController.php b/app/Http/Controllers/Api/Admin/Identity/AdminIdentityLogController.php index 59c00b67..07e2b7ee 100644 --- a/app/Http/Controllers/Api/Admin/Identity/AdminIdentityLogController.php +++ b/app/Http/Controllers/Api/Admin/Identity/AdminIdentityLogController.php @@ -2,6 +2,7 @@ namespace App\Http\Controllers\Api\Admin\Identity; +use App\Enums\PermissionType; use App\Http\Controllers\Api\Base\AdminBaseController; use App\Http\Requests\Identity\AdminIdentityLogIndexRequest; use App\Http\Requests\Identity\AdminIdentityLogPurgeRequest; @@ -45,7 +46,7 @@ class AdminIdentityLogController extends AdminBaseController $paginated = $this->logService->search($filters, (int) ($validated['per_page'] ?? 20)); - return $this->success('messages.success', [ + return $this->success('common.success', [ 'data' => IdentityLogResource::collection(collect($paginated->items()))->resolve(), 'pagination' => [ 'current_page' => $paginated->currentPage(), @@ -59,7 +60,7 @@ class AdminIdentityLogController extends AdminBaseController 'abilities' => [ 'can_purge' => $request->user()?->hasPermission( 'core.admin.identity.logs.purge', - \App\Enums\PermissionType::Admin, + PermissionType::Admin, ) ?? false, ], ]); @@ -76,7 +77,7 @@ class AdminIdentityLogController extends AdminBaseController $days = (int) ($request->validated()['older_than_days'] ?? 180); $count = $this->logService->purge($days); - return $this->success('messages.success', [ + return $this->success('common.success', [ 'purged_count' => $count, 'older_than_days' => $days, ]); diff --git a/app/Http/Controllers/Api/Admin/Identity/AdminIdentityPolicyController.php b/app/Http/Controllers/Api/Admin/Identity/AdminIdentityPolicyController.php index 277c8886..7df11c8a 100644 --- a/app/Http/Controllers/Api/Admin/Identity/AdminIdentityPolicyController.php +++ b/app/Http/Controllers/Api/Admin/Identity/AdminIdentityPolicyController.php @@ -60,7 +60,7 @@ class AdminIdentityPolicyController extends AdminBaseController $paginated = $this->policyService->search($filters, $perPage); $collection = (new PolicyCollection($paginated))->toArray($request); - return $this->success('messages.success', [ + return $this->success('common.success', [ 'data' => $collection['data'], 'abilities' => $collection['abilities'] ?? [], 'meta' => [ @@ -83,7 +83,7 @@ class AdminIdentityPolicyController extends AdminBaseController $policy = $this->policyService->createAdminPolicy($request->validated()); return $this->success( - 'messages.created', + 'common.created', (new PolicyResource($policy))->toArray($request), 201, ); @@ -101,7 +101,7 @@ class AdminIdentityPolicyController extends AdminBaseController $policy = $this->policyService->findById($id); if (! $policy) { - return $this->error('messages.not_found', 404); + return $this->error('common.not_found', 404); } $validated = $request->validated(); @@ -119,13 +119,13 @@ class AdminIdentityPolicyController extends AdminBaseController } if (! $this->policyService->updatePolicy($policy, $validated)) { - return $this->error('messages.failed', 500); + return $this->error('common.failed', 500); } $policy->refresh(); return $this->success( - 'messages.updated', + 'common.updated', (new PolicyResource($policy))->toArray($request), ); } @@ -142,16 +142,16 @@ class AdminIdentityPolicyController extends AdminBaseController $policy = $this->policyService->findById($id); if (! $policy) { - return $this->error('messages.not_found', 404); + return $this->error('common.not_found', 404); } if ($policy->source_type !== IdentityPolicySourceType::Admin) { - return $this->forbidden('messages.cannot_delete_system_resource'); + return $this->forbidden('identity.errors.cannot_delete_system_policy'); } return $this->policyService->deleteAdminPolicy($policy) - ? $this->success('messages.deleted') - : $this->error('messages.failed', 500); + ? $this->success('common.deleted') + : $this->error('common.failed', 500); } /** @@ -170,7 +170,7 @@ class AdminIdentityPolicyController extends AdminBaseController $policy = $this->policyService->findById($id); if (! $policy) { - return $this->error('messages.not_found', 404); + return $this->error('common.not_found', 404); } if ($policy->source_type === IdentityPolicySourceType::Admin) { @@ -184,6 +184,6 @@ class AdminIdentityPolicyController extends AdminBaseController return $this->error('identity.errors.reset_field_failed', 422); } - return $this->successWithResource('messages.success', new PolicyResource($policy->fresh())); + return $this->successWithResource('common.success', new PolicyResource($policy->fresh())); } } diff --git a/app/Http/Controllers/Api/Admin/Identity/AdminIdentityProviderController.php b/app/Http/Controllers/Api/Admin/Identity/AdminIdentityProviderController.php index 42fbe090..44ff405d 100644 --- a/app/Http/Controllers/Api/Admin/Identity/AdminIdentityProviderController.php +++ b/app/Http/Controllers/Api/Admin/Identity/AdminIdentityProviderController.php @@ -5,9 +5,9 @@ namespace App\Http\Controllers\Api\Admin\Identity; use App\Extension\HookManager; use App\Extension\IdentityVerification\IdentityVerificationManager; use App\Http\Controllers\Api\Base\AdminBaseController; +use App\Http\Requests\Identity\AdminIdentityProviderIndexRequest; use App\Http\Resources\Identity\ProviderResource; use Illuminate\Http\JsonResponse; -use Illuminate\Http\Request; /** * 관리자 — IDV 프로바이더 조회 + 설정 스키마 수집 컨트롤러. @@ -28,10 +28,10 @@ class AdminIdentityProviderController extends AdminBaseController /** * 등록된 프로바이더 목록과 각 프로바이더의 설정 스키마를 반환합니다. * - * @param Request $request HTTP 요청 + * @param AdminIdentityProviderIndexRequest $request 검증된 요청 (파라미터 없음) * @return JsonResponse 프로바이더 목록 (settings_schema 포함) */ - public function index(Request $request): JsonResponse + public function index(AdminIdentityProviderIndexRequest $request): JsonResponse { $providers = array_values($this->manager->all()); @@ -48,6 +48,6 @@ class AdminIdentityProviderController extends AdminBaseController return $resource + ['settings_schema' => is_array($schema) ? $schema : []]; }, $providers); - return $this->success('messages.success', $rows); + return $this->success('common.success', $rows); } } diff --git a/app/Http/Controllers/Api/Admin/PluginSettingsController.php b/app/Http/Controllers/Api/Admin/PluginSettingsController.php index cebd3ef2..192a5335 100644 --- a/app/Http/Controllers/Api/Admin/PluginSettingsController.php +++ b/app/Http/Controllers/Api/Admin/PluginSettingsController.php @@ -63,7 +63,7 @@ class PluginSettingsController extends AdminBaseController return $this->notFound('plugins.not_found'); } - return $this->success('messages.success', $this->maskSensitive($identifier, $settings)); + return $this->success('common.success', $this->maskSensitive($identifier, $settings)); } /** @@ -109,6 +109,6 @@ class PluginSettingsController extends AdminBaseController return $this->notFound('plugins.not_found'); } - return $this->success('messages.success', $layout); + return $this->success('common.success', $layout); } } diff --git a/app/Http/Controllers/Api/Admin/SeoCacheController.php b/app/Http/Controllers/Api/Admin/SeoCacheController.php index 8f3e7be8..c0ebee0c 100644 --- a/app/Http/Controllers/Api/Admin/SeoCacheController.php +++ b/app/Http/Controllers/Api/Admin/SeoCacheController.php @@ -48,9 +48,9 @@ class SeoCacheController extends AdminBaseController 'by_module' => $this->statsService->getStatsByModule($since), ]; - return $this->success('messages.success', $data); + return $this->success('common.success', $data); } catch (\Exception $e) { - return $this->error('messages.error_occurred', 500, $e->getMessage()); + return $this->error('common.error_occurred', 500, $e->getMessage()); } } @@ -70,14 +70,14 @@ class SeoCacheController extends AdminBaseController if ($layout) { $count = $this->cacheManager->invalidateByLayout($layout); - return $this->success('messages.success', ['cleared' => $count]); + return $this->success('common.success', ['cleared' => $count]); } $this->cacheManager->clearAll(); - return $this->success('messages.success', ['cleared' => 'all']); + return $this->success('common.success', ['cleared' => 'all']); } catch (\Exception $e) { - return $this->error('messages.error_occurred', 500, $e->getMessage()); + return $this->error('common.error_occurred', 500, $e->getMessage()); } } @@ -92,12 +92,12 @@ class SeoCacheController extends AdminBaseController { try { // Phase 5의 SeoDeclarationCollector 구현 후 실제 워밍업 로직 추가 예정 - return $this->success('messages.success', [ + return $this->success('common.success', [ 'status' => 'dispatched', 'message' => __('seo.warmup_dispatched'), ]); } catch (\Exception $e) { - return $this->error('messages.error_occurred', 500, $e->getMessage()); + return $this->error('common.error_occurred', 500, $e->getMessage()); } } @@ -149,9 +149,9 @@ class SeoCacheController extends AdminBaseController try { $urls = $this->cacheManager->getCachedUrls(); - return $this->success('messages.success', ['urls' => $urls, 'count' => count($urls)]); + return $this->success('common.success', ['urls' => $urls, 'count' => count($urls)]); } catch (\Exception $e) { - return $this->error('messages.error_occurred', 500, $e->getMessage()); + return $this->error('common.error_occurred', 500, $e->getMessage()); } } } diff --git a/app/Http/Controllers/Api/Identity/IdentityVerificationController.php b/app/Http/Controllers/Api/Identity/IdentityVerificationController.php index a8df7880..2d898b0c 100644 --- a/app/Http/Controllers/Api/Identity/IdentityVerificationController.php +++ b/app/Http/Controllers/Api/Identity/IdentityVerificationController.php @@ -2,6 +2,7 @@ namespace App\Http\Controllers\Api\Identity; +use App\Enums\IdentityOriginType; use App\Extension\IdentityVerification\IdentityVerificationManager; use App\Http\Controllers\Api\Base\PublicBaseController; use App\Http\Requests\Identity\CancelChallengeRequest; @@ -15,6 +16,7 @@ use App\Http\Requests\Identity\VerifyChallengeRequest; use App\Http\Resources\Identity\ChallengeResource; use App\Http\Resources\Identity\ProviderResource; use App\Models\IdentityVerificationLog; +use App\Models\User; use App\Services\IdentityPolicyService; use App\Services\IdentityVerificationService; use Illuminate\Http\JsonResponse; @@ -53,7 +55,7 @@ class IdentityVerificationController extends PublicBaseController $user = $request->user(); $target = $user ?: ($validated['target'] ?? []); - if (! ($user instanceof \App\Models\User) && empty($target['email']) && empty($target['phone'])) { + if (! ($user instanceof User) && empty($target['email']) && empty($target['phone'])) { return $this->error('identity.errors.missing_target', 422); } @@ -68,7 +70,7 @@ class IdentityVerificationController extends PublicBaseController context: [ 'ip_address' => $request->ip(), 'user_agent' => substr((string) $request->userAgent(), 0, 512), - 'origin_type' => \App\Enums\IdentityOriginType::Api->value, + 'origin_type' => IdentityOriginType::Api->value, 'origin_identifier' => '/api/identity/challenges', ], providerId: $providerId, @@ -136,7 +138,7 @@ class IdentityVerificationController extends PublicBaseController * * @param CancelChallengeRequest $request 검증된 요청 * @param IdentityVerificationLog $challenge 라우트 모델 바인딩으로 resolve 된 challenge 로그 - * @return JsonResponse + * @return JsonResponse 취소 결과 */ public function cancel(CancelChallengeRequest $request, IdentityVerificationLog $challenge): JsonResponse { @@ -159,7 +161,8 @@ class IdentityVerificationController extends PublicBaseController * * @param ShowChallengeRequest $request 검증된 요청 * @param IdentityVerificationLog $challenge 라우트 모델 바인딩으로 resolve 된 challenge 로그 - * @return JsonResponse + * @return JsonResponse 공개 안전 상태 필드 + * * @since engine-v1.46.0 */ public function show(ShowChallengeRequest $request, IdentityVerificationLog $challenge): JsonResponse @@ -170,7 +173,7 @@ class IdentityVerificationController extends PublicBaseController return $this->error('identity.errors.challenge_not_found', 404); } - return $this->success('messages.success', $status); + return $this->success('common.success', $status); } /** @@ -188,6 +191,7 @@ class IdentityVerificationController extends PublicBaseController * @param IdentityCallbackRequest $request 검증된 요청 * @param string $providerId 콜백을 보낸 provider 식별자 * @return JsonResponse|RedirectResponse + * * @since engine-v1.46.0 */ public function callback(IdentityCallbackRequest $request, string $providerId) @@ -271,7 +275,7 @@ class IdentityVerificationController extends PublicBaseController $providers, ); - return $this->success('messages.success', $data); + return $this->success('common.success', $data); } /** @@ -300,7 +304,7 @@ class IdentityVerificationController extends PublicBaseController ]; } - return $this->success('messages.success', $data); + return $this->success('common.success', $data); } /** @@ -353,11 +357,11 @@ class IdentityVerificationController extends PublicBaseController $policy = $this->policyService->resolve($scope, $target); if (! $policy || ! $policy->enabled) { - return $this->success('messages.success', null); + return $this->success('common.success', null); } // 민감 필드는 노출하지 않고 UI 힌트에 필요한 최소 필드만 반환 - return $this->success('messages.success', [ + return $this->success('common.success', [ 'policy_key' => $policy->key, 'scope' => $policy->scope, 'target' => $policy->target, diff --git a/app/Http/Requests/Identity/AdminIdentityProviderIndexRequest.php b/app/Http/Requests/Identity/AdminIdentityProviderIndexRequest.php new file mode 100644 index 00000000..514f1788 --- /dev/null +++ b/app/Http/Requests/Identity/AdminIdentityProviderIndexRequest.php @@ -0,0 +1,38 @@ +> 검증 규칙 (요청 파라미터 없음) + */ + public function rules(): array + { + return []; + } +} diff --git a/app/Services/IdentityVerificationService.php b/app/Services/IdentityVerificationService.php index 4c35b60f..13a641e9 100644 --- a/app/Services/IdentityVerificationService.php +++ b/app/Services/IdentityVerificationService.php @@ -199,6 +199,9 @@ class IdentityVerificationService $publicPayload = $log->properties['public_payload']; } + // 시도 횟수(attempts / max_attempts) 는 노출하지 않는다. + // 이 엔드포인트는 권한 가드 없는 공개 폴링용이라 challenge id 만 알면 누구나 조회할 수 있고, + // 두 값을 함께 알면 남은 시도 횟수를 정확히 계산해 무차별 대입 시점을 노릴 수 있다. return [ 'id' => $log->id, 'status' => $log->status->value, diff --git a/app/Support/ApiDoc/ApiDocScaffolder.php b/app/Support/ApiDoc/ApiDocScaffolder.php index 1ed93767..e17ecc4d 100644 --- a/app/Support/ApiDoc/ApiDocScaffolder.php +++ b/app/Support/ApiDoc/ApiDocScaffolder.php @@ -69,6 +69,28 @@ class ApiDocScaffolder private readonly ParameterDescriber $paramDescriber = new ParameterDescriber ) {} + /** + * 엔드포인트의 `@generated` 블록 키를 만듭니다. + * + * 기본은 라우트명이다. 다만 `Route::match(['get','post'], ...)->name('x')` 처럼 **하나의 + * 라우트명이 여러 메서드**를 등록하면(KG이니시스 CBT/모바일 콜백), 한 문서에 같은 키의 + * 생성 블록이 둘 생긴다. 블록 조회는 `strpos` 로 첫 출현을 잡으므로 두 번째 블록의 사람 + * 서술이 재생성마다 유실된다. 그런 라우트에 한해 메서드를 접미로 붙여 키를 고유화한다. + * + * 중복이 아닌 절대다수의 라우트는 키를 그대로 둔다 — 전 문서의 키를 바꾸면 기존 블록과 + * 대조가 어긋나 사람 서술이 통째로 유실되기 때문이다. + * + * @param array $route 라우트 메타데이터 + * @param bool $methodScoped 라우트명이 문서 안에서 중복되는가 (메서드 접미 필요) + * @return string 생성 블록 키 + */ + public function generatedKey(array $route, bool $methodScoped = false): string + { + $name = $route['name'] ?: $route['uri']; + + return $methodScoped ? $name.'::'.strtolower((string) $route['method']) : $name; + } + /** * 단일 엔드포인트의 마크다운 섹션을 생성합니다. * @@ -77,13 +99,14 @@ class ApiDocScaffolder * @param array|null $schema 실측 응답 스키마 (null=실측 안 됨) * @param array $probeMeta 실측 메타 (status, skipped_reason, base_url, resolved_uri, body) * @param array $commentMap 컬럼명 => 주석 (필드 설명 기본값) + * @param bool $methodScopedKey 라우트명이 문서 안에서 중복되어 메서드 접미가 필요한가 * @return string 마크다운 섹션 */ - public function endpointSection(array $route, array $request, ?array $schema, array $probeMeta, array $commentMap = []): string + public function endpointSection(array $route, array $request, ?array $schema, array $probeMeta, array $commentMap = [], bool $methodScopedKey = false): string { $name = $route['name'] ?: '(unnamed)'; $heading = "### {$route['method']} {$route['uri']}"; - $genKey = $name; + $genKey = $this->generatedKey($route, $methodScopedKey); $lines = []; $lines[] = $heading; @@ -173,6 +196,9 @@ class ApiDocScaffolder ?string $existing = null, ?array $extensions = null ): string { + // 줄 끝 정규화 — mergeDocument 와 같은 이유 (CRLF 체크아웃에서 줄 단위 매칭이 전부 실패). + $existing = $existing === null ? null : $this->normalizeEol($existing); + usort($entries, fn ($a, $b) => strcmp($a['domain'], $b['domain'])); $total = array_sum(array_column($entries, 'count')); @@ -472,9 +498,11 @@ class ApiDocScaffolder } // 403: admin 게이트 또는 permission 요구 → 권한 부족. + // permission 은 여러 권한의 OR 조합(`core.modules.read | core.menus.read`)일 수 있으므로 + // 셀에 박기 전에 파이프를 이스케이프한다 — 안 하면 3열 표가 갈라져 깨진다. if ($this->hasMiddleware($mw, 'AdminMiddleware') || ! empty($route['permission'])) { $cond = ! empty($route['permission']) - ? "요구 권한(`{$route['permission']}`)이 없는 경우" + ? '요구 권한(`'.$this->escapeCell((string) $route['permission']).'`)이 없는 경우' : '관리자 권한이 없는 경우'; $rows[] = "| 403 | Forbidden | {$cond} |"; } @@ -1040,6 +1068,24 @@ class ApiDocScaffolder return str_replace(['|', "\n", "\r"], ['\\|', ' ', ''], $text); } + /** + * 기존 문서의 줄 끝을 LF 로 정규화합니다. + * + * 보존 로직(표 셀·응답 본문·에러 표·사람 서술)은 전부 `explode("\n")` 후 줄 끝 매칭 + * (`str_ends_with($line, ' |')` 등)으로 동작한다. Windows 체크아웃(core.autocrlf=true)이 + * 내려준 CRLF 문서에서는 줄 끝에 \r 이 남아 이 매칭이 전부 실패하고, 결과적으로 사람이 + * 채운 셀·본문이 하나도 보존되지 않은 채 TODO/마커로 퇴행한다. + * + * 문서는 `.gitattributes` 가 `eol=lf` 로 저장하므로 정규화가 저장 형식을 바꾸지 않는다. + * + * @param string $content 기존 문서 내용 + * @return string LF 로 정규화된 내용 + */ + private function normalizeEol(string $content): string + { + return str_replace(["\r\n", "\r"], "\n", $content); + } + /** * 기존 문서에 새 생성 블록을 병합합니다. 사람 서술은 보존합니다. * @@ -1055,6 +1101,12 @@ class ApiDocScaffolder return $header."\n".implode("\n", $sections); } + // Windows 체크아웃(core.autocrlf=true)은 문서를 CRLF 로 내려준다. 아래 보존 로직은 + // 전부 `explode("\n")` + 줄 끝 매칭(`str_ends_with($line, ' |')`) 기반이라, 줄 끝에 + // \r 이 남아 있으면 표 행이 하나도 파싱되지 않아 사람이 채운 셀이 통째로 유실된다. + // 파싱 전에 줄 끝을 LF 로 정규화한다 (문서는 .gitattributes 가 eol=lf 로 저장한다). + $existing = $this->normalizeEol($existing); + $merged = $header."\n"; foreach ($sections as $i => $section) { @@ -1207,17 +1259,30 @@ class ApiDocScaffolder } $previousRows = $this->errorTableRows($previous); - - if ($previousRows === []) { - return $section; - } - $currentBody = $this->extractErrorTable($section); if ($currentBody === null) { return $section; } + // 기존 본문이 표가 아닌 사람 서술인 경우 (자동 추론이 에러 행을 만들지 못하는 공개 조회 + // 엔드포인트에서, 사람이 `대표 에러 없음` 초안 자리를 "왜 도메인 에러가 없는지" 로 채운 것). + // 표 행이 없다고 보존을 건너뛰면 재생성이 그 서술을 TODO 초안으로 덮는다. + if ($previousRows === []) { + $previousBody = $this->extractErrorTable($previous); + + $previousIsHumanProse = $previousBody !== null + && trim($previousBody) !== '' + && ! $this->isTodoCell($previousBody) + && ! str_contains($previousBody, '대표 에러 없음'); + + if ($previousIsHumanProse) { + return str_replace($currentBody, trim($previousBody), $section); + } + + return $section; + } + // 상태코드 키로 병합. `+` 는 왼쪽 우선이므로 기존 행을 먼저 둬서, 같은 상태코드면 // 사람이 쓴 구체적 조건이 자동 문구를 이긴다. 자동 추론에만 있는 상태코드는 새로 편입된다. $merged = $previousRows + $this->errorTableRows($section); @@ -1708,12 +1773,32 @@ class ApiDocScaffolder private function locateSubsectionBody(string $block, string $label, array $terminators): ?array { $labelPos = strpos($block, $label); + $labelLength = strlen($label); + // 라벨 정확 일치 실패 시 베이스 라벨(굵은 제목)만으로 재시도한다. + // 봉투를 쓰지 않는 엔드포인트(레이아웃 JSON 을 root 에 그대로 내리는 미리보기 서빙 등)에서는 + // `**응답 필드** (`data` 내부)` 라벨이 사실과 달라 사람이 접미를 떼어낸다. 정확 일치만 보면 + // 기존 본문 구간을 못 찾아, 표가 아닌 **서술**로 채운 내용이 마커로 퇴행한다 + // (표는 applyPreservedTableCells 가 행 키로 따로 지키지만, 서술은 이 경로가 유일하다). + // 라벨 줄 전체를 라벨 길이로 삼아야 본문 시작 위치가 어긋나지 않는다. if ($labelPos === false) { - return null; + $base = Str::before($label, ' ('); + + if ($base === $label) { + return null; + } + + $labelPos = strpos($block, $base); + + if ($labelPos === false) { + return null; + } + + $lineEnd = strpos($block, "\n", $labelPos); + $labelLength = ($lineEnd === false ? strlen($block) : $lineEnd) - $labelPos; } - $bodyStart = $labelPos + strlen($label); + $bodyStart = $labelPos + $labelLength; $candidates = []; foreach ($terminators as $terminator) { @@ -2033,6 +2118,9 @@ class ApiDocScaffolder */ public function insertExampleBlocks(string $content, array $exampleBlocks): array { + // 줄 끝 정규화 — mergeDocument 와 같은 이유 (CRLF 체크아웃에서 줄 단위 매칭이 전부 실패). + $content = $this->normalizeEol($content); + $inserted = 0; foreach ($exampleBlocks as $key => $blocks) { diff --git a/app/Support/ApiDoc/ParameterDescriber.php b/app/Support/ApiDoc/ParameterDescriber.php index 623b7102..42837901 100644 --- a/app/Support/ApiDoc/ParameterDescriber.php +++ b/app/Support/ApiDoc/ParameterDescriber.php @@ -193,6 +193,91 @@ class ParameterDescriber 'websocket_port' => 'WebSocket 포트 번호', 'websocket_scheme' => 'WebSocket 스킴 (http/https)', 'websocket_app_key' => 'WebSocket 앱 키', + 'websocket_app_secret' => 'WebSocket 앱 시크릿', + 'websocket_server_host' => 'WebSocket 서버 호스트 주소 (서버측 발행 대상)', + 'websocket_server_port' => 'WebSocket 서버 포트 번호 (서버측 발행 대상)', + 'websocket_server_scheme' => 'WebSocket 서버 스킴 (http/https — 서버측 발행 대상)', + 'websocket_verify_ssl' => 'WebSocket 서버 SSL 인증서 검증 여부', + 'log_driver' => '로그 드라이버 (single/daily/stack)', + 'log_level' => '로그 레벨 (debug/info/warning/error 등)', + 'log_days' => '로그 파일 보관 일수', + 'search_engine_driver' => '검색 엔진 드라이버 (Scout 엔진 선택)', + 'session_lifetime' => '세션 유효 시간 (분)', + + // 레이아웃 JSON 스키마 최상위 키 (근거: docs/frontend/layout-json.md 필수/선택 필드 표, + // UpdateLayoutContentRequest 검증 규칙. 템플릿/레이아웃 저장 API 의 content.* 키.) + 'layout_name' => '레이아웃 이름 (식별자 — 파일 경로 기반, 예: board/popular)', + 'components' => '컴포넌트 트리 배열 (레이아웃이 렌더할 컴포넌트 정의)', + 'data_sources' => 'API 데이터 소스 정의 배열 (id/endpoint/method)', + 'init_actions' => '레이아웃 로드 시 실행할 초기화 액션 배열', + 'named_actions' => '이름으로 호출 가능한 재사용 액션 정의 맵', + 'defines' => '재사용 컴포넌트 정의 맵 (컴포넌트 트리에서 참조)', + 'computed' => '계산된 값 정의 맵 (키 → 표현식)', + 'modals' => '모달 컴포넌트 정의 배열', + 'scripts' => '동적 로드할 외부 스크립트 배열', + 'errorHandling' => '레이아웃 레벨 에러 핸들링 설정 (에러 코드별 핸들러 매핑)', + 'globalHeaders' => '전역 HTTP 헤더 규칙 배열 (pattern + headers)', + 'init_state' => '초기 상태 값 맵', + 'initLocal' => 'API 응답을 `_local` 상태에 자동 복사할 키/경로', + 'initGlobal' => 'API 응답을 `_global` 상태에 자동 복사할 키/경로', + 'initIsolated' => 'API 응답을 `_isolated` 상태에 자동 복사할 키/경로', + 'global_state' => '전역 상태 초기값 맵', + 'slots' => '슬롯별 삽입 콘텐츠 맵 (베이스 레이아웃의 slot 위치에 주입)', + 'extends' => '상속할 베이스 레이아웃 이름', + 'transition_overlay' => '페이지 전환 오버레이 설정 (스켈레톤/스피너)', + 'pageConfig' => '페이지 단위 설정 객체', + 'error_config' => '에러 표시 설정 객체', + + // SEO 페이지 생성기 (근거: docs/frontend/layout-json.md meta.seo 표, + // docs/backend/seo-system.md, Settings SEO 카탈로그) + 'changefreq' => 'sitemap changefreq 값 (daily/weekly/monthly 등)', + 'structured_data' => 'JSON-LD 구조화 데이터 정의', + 'og' => 'Open Graph 메타태그 정의 맵', + 'page_type' => 'SEO 템플릿 키를 결정하는 페이지 유형', + 'toggle_setting' => 'SEO 활성화 여부를 결정하는 설정 경로', + 'vars' => 'SEO 변수 선언 맵 (데이터 소스 값의 표현식 매핑)', + 'meta_keywords' => 'SEO 메타 키워드 (검색엔진 노출 키워드, 쉼표 구분)', + 'meta_title_suffix' => '모든 페이지 SEO 제목 뒤에 붙는 접미 문구', + 'google_site_verification' => 'Google Search Console 사이트 소유 확인 코드', + 'naver_site_verification' => '네이버 서치어드바이저 사이트 소유 확인 코드', + 'twitter_default_card' => '기본 트위터 카드 유형 (summary 등)', + 'twitter_default_site' => '기본 트위터 사이트 계정 (@handle)', + 'og_image_default_width' => '기본 Open Graph 이미지 너비 (px)', + 'og_image_default_height' => '기본 Open Graph 이미지 높이 (px)', + 'sitemap_enabled' => 'sitemap.xml 생성 사용 여부', + 'sitemap_schedule' => 'sitemap 자동 생성 주기', + 'sitemap_schedule_time' => 'sitemap 자동 생성 시각', + 'sitemap_cache_ttl' => 'sitemap 캐시 유효 시간 (초)', + 'bot_detection_enabled' => '검색엔진 봇 감지 사용 여부 (봇 요청에 SEO 렌더링 적용)', + 'bot_detection_library_enabled' => '봇 감지 라이브러리 사용 여부 (User-Agent 목록 대신 라이브러리 판정)', + 'bot_user_agents' => '봇으로 판정할 User-Agent 목록', + 'generator_enabled' => 'SEO 페이지 생성기 사용 여부', + 'generator_content' => 'SEO 렌더링 본문 생성 방식', + + // 캐시/보안/업로드 공통 (근거: Settings 카탈로그 advanced/security/upload 그룹) + 'cache_enabled' => '캐시 사용 여부', + 'cache_ttl' => '캐시 유효 시간 (초)', + 'debug_mode' => '디버그 모드 사용 여부 (상세 오류 노출)', + 'sql_query_log' => 'SQL 쿼리 로그 기록 여부', + 'maintenance_mode' => '점검 모드 사용 여부 (사이트 접근 차단)', + 'force_https' => 'HTTPS 강제 리다이렉트 여부', + 'max_login_attempts' => '로그인 실패 허용 횟수 (초과 시 잠금)', + 'login_lockout_time' => '로그인 잠금 지속 시간 (분)', + 'login_attempt_enabled' => '로그인 시도 제한 사용 여부', + 'auth_token_lifetime' => '인증 토큰 유효 시간 (분)', + 'max_file_size' => '업로드 허용 최대 파일 크기', + 'max_file_count' => '업로드 허용 최대 파일 개수', + 'allowed_extensions' => '업로드 허용 확장자 목록', + 'image_quality' => '이미지 리사이즈 시 압축 품질 (1~100)', + 'image_max_width' => '이미지 리사이즈 최대 너비 (px)', + 'image_max_height' => '이미지 리사이즈 최대 높이 (px)', + + // 사이트 기본 정보 (근거: Settings general 그룹) + 'site_url' => '사이트 기본 URL', + 'site_description' => '사이트 설명', + 'site_logo' => '사이트 로고 이미지', + 'admin_email' => '관리자 이메일 주소', + 'currency' => '통화 코드 (ISO 4217 — 예: KRW)', ]; /** @@ -204,6 +289,94 @@ class ParameterDescriber * @return string|null 설명 (없으면 null) */ public function describe(string $name, string $location = '', string $type = ''): ?string + { + // 중첩 필드(general.site_name, shipping.zipcode 등)는 전체명으로는 어떤 규칙에도 + // 걸리지 않는다. 전체명 매칭을 먼저 시도하고, 실패하면 마지막 세그먼트(leaf)로 + // 재시도한다 — 중첩 경로의 의미는 leaf 가 결정하고 부모는 그룹 라벨일 뿐이다. + // 다국어 로케일 접미(name.ko / alt_text.en)는 부모 필드의 로케일별 값이다. + if (str_contains($name, '.')) { + return $this->describeNested($name, $location, $type); + } + + return $this->describeFlat($name, $location, $type); + } + + /** + * 중첩 필드(`.` 포함)의 설명을 leaf 세그먼트로 유추합니다. + * + * @param string $name 중첩 파라미터명 (예: general.site_name) + * @param string $location 위치 + * @param string $type 타입 + * @return string|null 설명 (미매칭 시 null) + */ + private function describeNested(string $name, string $location, string $type): ?string + { + $leaf = Str::afterLast($name, '.'); + $parent = Str::beforeLast($name, '.'); + + // 배열 원소 인덱스(items.*.name / ids.0) — leaf 가 인덱스면 그 앞을 leaf 로 본다. + if ($leaf === '*' || ctype_digit($leaf)) { + return $this->describe($parent, $location, $type); + } + + // 로케일 접미(name.ko / alt_text.en): 부모 필드의 로케일별 값. + if (in_array($leaf, config('app.supported_locales', ['ko', 'en']), true)) { + $parentDesc = $this->describe($parent, $location, $type); + + return $parentDesc === null + ? null + : "{$parentDesc} — `{$leaf}` 로케일 값"; + } + + // 부모가 의미를 한정하는 그룹인 경우: leaf 만으로는 오설명이 된다. + // 예) seo_meta.title 은 "제목" 이 아니라 "SEO 메타 제목" 이다. + $scoped = $this->describeScopedLeaf($parent, $leaf); + if ($scoped !== null) { + return $scoped; + } + + // leaf 로 재시도 (부모 그룹 라벨은 의미를 바꾸지 않는다). + return $this->describeFlat($leaf, $location, $type); + } + + /** + * 부모 그룹이 의미를 한정하는 중첩 키의 설명을 반환합니다. + * + * 대부분의 설정 그룹(general/mail/upload 등)은 라벨일 뿐이라 leaf 가 의미를 결정하지만, + * SEO 메타 그룹의 `title`/`description`/`keywords` 는 일반 제목/설명이 아니라 검색엔진 + * 노출용 메타 값이다. leaf 폴백만 태우면 "제목"/"설명" 으로 축소되어 오설명이 된다. + * + * @param string $parent 부모 경로 (예: seo_meta, content.meta.seo) + * @param string $leaf 마지막 세그먼트 + * @return string|null 설명 (해당 없으면 null → 일반 leaf 폴백) + */ + private function describeScopedLeaf(string $parent, string $leaf): ?string + { + $parentLeaf = Str::afterLast($parent, '.'); + + // SEO 메타 그룹 (근거: Page\*Request 의 seo_meta.{title,description,keywords}, + // 레이아웃 meta.seo — 검색엔진/소셜 공유 노출 값) + if (in_array($parentLeaf, ['seo', 'seo_meta'], true)) { + return match ($leaf) { + 'title' => 'SEO 메타 제목 (검색엔진/소셜 공유 표시 제목)', + 'description' => 'SEO 메타 설명 (검색엔진/소셜 공유 표시 요약)', + 'keywords' => 'SEO 메타 키워드 (검색엔진 노출 키워드, 쉼표 구분)', + default => null, + }; + } + + return null; + } + + /** + * 단일 세그먼트 파라미터의 설명을 반환합니다. + * + * @param string $name 파라미터명 (`.` 없음) + * @param string $location 위치 (path/query/body) + * @param string $type 타입 + * @return string|null 설명 (미매칭 시 null) + */ + private function describeFlat(string $name, string $location, string $type): ?string { // path 파라미터는 언제나 리소스 식별자다(라우트 모델 바인딩). 이름이 무엇이든 // 정렬·필터 같은 조회 파라미터 의미를 가질 수 없으므로 이름 기반 규칙보다 앞서 처리한다. diff --git a/app/Support/ApiDoc/ResourceFieldDescriber.php b/app/Support/ApiDoc/ResourceFieldDescriber.php index c8cdf38f..53c1e1b7 100644 --- a/app/Support/ApiDoc/ResourceFieldDescriber.php +++ b/app/Support/ApiDoc/ResourceFieldDescriber.php @@ -105,6 +105,8 @@ class ResourceFieldDescriber 'install_blocked_reason' => '설치가 차단된 사유 (차단 없으면 null)', // 감사/관계 공통 (도메인 무관하게 역할 고정 — 쓰기 응답에서 흔히 등장) + // creator/permissions 는 위 "관계/연관 객체" 블록에 이미 있으므로 여기서 재정의하지 않는다 + // (PHP 배열은 뒤 키가 앞을 덮어 같은 값이 두 번 선언되는 상태였다). 'updated_by' => '최종 수정한 사용자 정보 (uuid/name — updated_by 관계 파생, 없으면 null)', 'user' => '대상 사용자 정보 객체 (uuid/name/email 등 — user 관계 파생)', 'roles' => '보유 역할 목록 (각 원소 id/name/permissions — roles 관계 파생)', @@ -133,6 +135,47 @@ class ResourceFieldDescriber 'spec' => '스펙 정의 객체 (편집기/컴포넌트 선언 스키마 등)', 'source_meta' => '원천 메타데이터 객체 (출처·경로·해석 정보)', 'validation_summary' => '검증 결과 요약 객체 (통과/실패 건수 등)', + + // 레이아웃 JSON 스키마 키 (근거: docs/frontend/layout-json.md 필수/선택 필드 표. + // 레이아웃 서빙/저장 응답의 content 하위 키 — 엔진 스키마 계약으로 의미 고정) + '$schema' => 'JSON 스키마 선언 URL (편집기/검증 도구용)', + 'layout_name' => '레이아웃 이름 (식별자 — 파일 경로 기반, 예: board/popular)', + 'components' => '컴포넌트 트리 (레이아웃이 렌더할 컴포넌트 정의)', + 'data_sources' => 'API 데이터 소스 정의 배열 (id/endpoint/method)', + 'modals' => '모달 컴포넌트 정의 배열', + 'slots' => '슬롯별 삽입 콘텐츠 맵 (베이스 레이아웃의 slot 위치에 주입)', + 'extends' => '상속하는 베이스 레이아웃 이름 (미상속 시 null)', + 'schema' => '스키마 정의 객체', + 'meta' => '메타 정보 객체 (title/description/seo 등)', + 'pageConfig' => '페이지 단위 설정 객체', + 'error_config' => '에러 표시 설정 객체', + 'base_layouts' => '상속 가능한 베이스 레이아웃 목록', + 'layout_versions' => '레이아웃 버전 이력 목록', + 'preview' => '미리보기 정보 객체', + 'vars' => 'SEO 변수 선언 맵 (데이터 소스 값의 표현식 매핑)', + 'events' => '이벤트 정의 목록', + 'toggle_settings' => '토글 가능한 설정 항목 목록', + 'page_types' => 'SEO 템플릿 키로 사용 가능한 페이지 유형 목록', + 'display_mode' => '표시 방식 (렌더/노출 모드 구분 값)', + 'templateId' => '대상 템플릿의 식별자', + + // 확장 manifest / 에셋 계약 (근거: module.json/plugin.json/template.json manifest, + // ExtensionBundleService 에셋 매니페스트) + 'g7_version' => '요구하는 코어 최소 버전 (manifest requires.g7_version)', + 'required_version' => '요구되는 최소 버전', + 'manifest_source' => 'manifest 를 읽어온 출처 경로 (활성/_bundled 구분)', + 'manifest_present' => 'manifest 파일 존재 여부', + 'license' => '라이선스 식별자 (manifest license)', + 'release_date' => '배포일', + 'cache_version' => '에셋 캐시 무효화 버전 (번들 URL 파일명에 포함)', + 'js' => '프론트엔드 JS 에셋 목록 (manifest assets 파생)', + 'css' => '프론트엔드 CSS 에셋 목록 (manifest assets 파생)', + 'externals' => '외부 의존 라이브러리 목록 (번들에서 제외되고 전역에서 해석)', + 'routes' => '라우트 정의 목록', + 'components_count' => '컴포넌트 개수 (집계)', + 'theme_color' => '테마 대표 색상', + 'popup_width' => '팝업 창 너비 (px)', + 'popup_height' => '팝업 창 높이 (px)', ]; /** @@ -143,6 +186,70 @@ class ResourceFieldDescriber * @return string|null 설명 (없으면 null) */ public function describe(string $field, string $type = ''): ?string + { + // 중첩 필드(settings.general.site_name, meta.total 등)는 전체명으로 어떤 규칙에도 + // 걸리지 않는다. 마지막 세그먼트(leaf)로 폴백한다 — 중첩 경로의 의미는 leaf 가 + // 결정하고 상위 세그먼트는 그룹 라벨일 뿐이다. (ParameterDescriber 와 동일 계약) + if (str_contains($field, '.')) { + return $this->describeNested($field, $type); + } + + return $this->describeFlat($field, $type); + } + + /** + * 중첩 필드(`.` 포함)의 설명을 leaf 세그먼트로 유추합니다. + * + * @param string $field 중첩 필드명 (예: settings.general.site_name) + * @param string $type 실측 타입 + * @return string|null 설명 (미매칭 시 null) + */ + private function describeNested(string $field, string $type): ?string + { + $leaf = Str::afterLast($field, '.'); + $parent = Str::beforeLast($field, '.'); + + // 배열 원소 인덱스(items.*.name / items.0.name) — 그 앞을 leaf 로 본다. + if ($leaf === '*' || ctype_digit($leaf)) { + return $this->describe($parent, $type); + } + + // 로케일 접미(name.ko): 부모 필드의 로케일별 값. + if (in_array($leaf, config('app.supported_locales', ['ko', 'en']), true)) { + $parentDesc = $this->describe($parent, $type); + + return $parentDesc === null + ? null + : "{$parentDesc} — `{$leaf}` 로케일 값"; + } + + // 부모가 의미를 한정하는 그룹(seo/seo_meta)의 title/description/keywords 는 + // 일반 제목/설명이 아니라 검색엔진 노출용 메타 값이다 (ParameterDescriber 와 동일 계약). + $parentLeaf = Str::afterLast($parent, '.'); + if (in_array($parentLeaf, ['seo', 'seo_meta'], true)) { + $scoped = match ($leaf) { + 'title' => 'SEO 메타 제목 (검색엔진/소셜 공유 표시 제목)', + 'description' => 'SEO 메타 설명 (검색엔진/소셜 공유 표시 요약)', + 'keywords' => 'SEO 메타 키워드 (검색엔진 노출 키워드, 쉼표 구분)', + default => null, + }; + + if ($scoped !== null) { + return $scoped; + } + } + + return $this->describeFlat($leaf, $type); + } + + /** + * 단일 세그먼트 필드의 설명을 반환합니다. + * + * @param string $field 필드명 (`.` 없음) + * @param string $type 실측 타입 + * @return string|null 설명 (미매칭 시 null) + */ + private function describeFlat(string $field, string $type): ?string { // sort_order 는 응답에서 표시 정렬 순서 값(정수 컬럼)으로 고정된다. // 문자열이면 정렬 방향일 수 있어 도메인 특이 → TODO 유지. diff --git a/docs/backend/api-documentation.md b/docs/backend/api-documentation.md index 048f9e9a..14bf47f5 100644 --- a/docs/backend/api-documentation.md +++ b/docs/backend/api-documentation.md @@ -427,10 +427,35 @@ php artisan api:docgen-backfill-fields □ 응답 필드 표가 envelope 의 data 내부 기준으로 작성되었는가? □ 응답 예시(envelope 전문 JSON) 블록이 방출되었는가? (목록은 2항목 절단) □ 훅 주입 파라미터가 있으면 주석 + 사람 보강이 되었는가? -□ TODO 마커가 모두 채워졌는가? +□ 미채움 마커 5종이 전수 0 인가? (아래 참조 — `TODO:` 만 세는 부분 집계 금지) □ api:docgen --check 가 drift 0 인가? ``` +### 미채움 마커 5종 (전수 0 이 완료 기준) + +`api:docgen` 은 실측할 수 없는 자리에 "사람이 작성하세요" 마커를 남긴다. **실측 불가는 그 자리를 비워둘 +사유가 아니다.** 컨트롤러/Resource/FormRequest/Enum/lang 을 읽어 코드 근거로 채우는 것이 규정이다. + +| 마커 | 채울 것 | 근거 소스 | +| --- | --- | --- | +| `` | 응답 필드 표 | Resource `toArray()` 의 키 전수 + 타입, Enum `label()`/`variant()` | +| `` | 응답 예시 JSON | 컨트롤러의 `ResponseHelper::success/paginated/dataSource` 호출 형태 + Resource + lang 의 message 문구 | +| `` | 요청 파라미터 설명 셀 | FormRequest `rules()`/`messages()`, 설정 키는 관리자 설정 UI 다국어 라벨 | +| `` | 응답 필드 설명 셀 | Resource `toArray()` 파생 로직, 모델 `$casts`/관계, 마이그레이션 한국어 comment | +| `_대표 에러 없음 ... _` | 도메인 특이 에러 표 | 컨트롤러의 `abort()`/예외 throw, Service 의 커스텀 Exception | + +도메인 무관하게 의미가 고정된 파라미터/필드는 문서에 손으로 쓰지 말고 `ParameterDescriber`/ +`ResourceFieldDescriber` 사전에 등재한다 — 사전은 재생성에 영속하고 신규 문서에도 자동 적용된다. +반대로 **도메인 특이 의미를 공통 사전에 넣지 않는다** (오설명이 전 문서로 퍼진다). + +전수 집계는 5종 마커를 한 번에 세야 한다. `TODO:` 만 세면 그 바깥의 미채움(`실측 제외` 등)이 집계에서 +빠져 부분 집계가 완료로 통과한다: + +```bash +grep -rcE "실측 제외:|TODO: 용도|TODO: 설명|실측 응답에 필드 없음|대표 에러 없음" \ + --include=*.md docs/backend/api {modules,plugins}/_bundled/*/docs/api +``` + --- ## 관련 문서 diff --git a/docs/backend/api/activity-logs.md b/docs/backend/api/activity-logs.md index 26031d35..0e3d36ef 100644 --- a/docs/backend/api/activity-logs.md +++ b/docs/backend/api/activity-logs.md @@ -214,7 +214,7 @@ HTTP/1.1 200 | 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | | --- | --- | --- | --- | --- | --- | -| ids | body | array | 예 | min 1 | 대상 리소스 식별자 배열 (대량 작업 대상) | +| ids | body | array | 예 | min 1 | 삭제할 활동 로그 ID 배열 (원소는 integer 이며 `activity_logs.id` 에 존재해야 함) | **요청 예시** @@ -234,11 +234,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| deleted_count | integer | `3` | 실제로 삭제된 활동 로그 건수 (`ActivityLogService::deleteMany()` 반환값 — 요청한 `ids` 중 삭제에 성공한 개수) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "선택한 활동 로그가 삭제되었습니다.", + "data": { + "deleted_count": 3 + } +} +``` **에러 응답** @@ -276,9 +292,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - - - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — 컨트롤러가 `success('activity_log.delete_success')` 를 데이터 인자 없이 호출하여 `data` 는 `null`)._ **응답 예시** diff --git a/docs/backend/api/attachment.md b/docs/backend/api/attachment.md index af9eb195..a58b7c8f 100644 --- a/docs/backend/api/attachment.md +++ b/docs/backend/api/attachment.md @@ -27,7 +27,7 @@ | 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | | --- | --- | --- | --- | --- | --- | -| hash | path | string | 예 | — | 대상 리소스의 해시 식별자 | +| hash | path | string | 예 | — | 다운로드할 첨부파일의 해시 식별자 (`attachments.hash`) | **요청 예시** @@ -39,17 +39,45 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투(`data`)를 반환하지 않습니다. 성공 시 파일 바이너리 본문을 그대로 응답합니다 (실패 시에만 JSON 에러 봉투)._ + +| 응답 헤더 | 값 | 용도/설명 | +| --- | --- | --- | +| Content-Type | `image/png` 등 | 첨부파일의 MIME 타입 (`attachments.mime_type`) | +| Content-Disposition | `attachment; filename="원본파일명.pdf"` | 이미지가 아닌 파일에만 부여 — 원본 파일명으로 다운로드 | +| Cache-Control | `public, max-age=86400, immutable` (프로덕션) / `no-cache` (그 외) | 이미지 응답의 캐싱 정책. max-age 는 환경설정 `cache.layout_ttl` (기본 86400초) | +| Expires | `Wed, 15 Jul 2026 00:00:00 GMT` | 이미지 응답의 만료 시각 (현재 시각 + max-age) | +| ETag | `9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d` | 이미지 응답의 검증자 (파일 수정시각 + 크기의 MD5). 요청의 `If-None-Match` 와 일치하면 `304 Not Modified` | **응답 예시** - +```http +HTTP/1.1 200 OK +Content-Type: image/png +Cache-Control: public, max-age=86400, immutable +Expires: Wed, 15 Jul 2026 00:00:00 GMT +ETag: 9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d + +<파일 바이너리> +``` + +이미지가 아닌 파일: + +```http +HTTP/1.1 200 OK +Content-Type: application/pdf +Content-Disposition: attachment; filename="manual.pdf" + +<파일 바이너리> +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 304 | Not Modified | 이미지 응답에서 요청 `If-None-Match` 헤더가 현재 ETag 와 일치하는 경우 (본문 없음) | +| 403 | Forbidden | 첨부파일 접근 권한 없음 (`core.attachment.download` 훅 권한 미충족) 또는 스토리지에 실제 파일이 없는 경우 — `{"success": false, "message": "이 첨부파일에 대한 접근 권한이 없습니다."}` | +| 404 | Not Found | 해당 해시의 첨부파일이 존재하지 않는 경우 — `{"success": false, "message": "첨부파일을 찾을 수 없습니다."}` | diff --git a/docs/backend/api/attachments.md b/docs/backend/api/attachments.md index 97fbb53b..ff76605f 100644 --- a/docs/backend/api/attachments.md +++ b/docs/backend/api/attachments.md @@ -75,11 +75,59 @@ example-key **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`AttachmentResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 첨부파일 ID (기본 키) | +| hash | string | `"aB3xY9kLmQ7z"` | URL용 고유 해시 (12자). 다운로드 URL 식별자로 사용 | +| original_filename | string | `"example.pdf"` | 업로드된 원본 파일명 | +| mime_type | string | `"application/pdf"` | MIME 타입 (예: `image/jpeg`, `application/pdf`) | +| size | integer | `102400` | 파일 크기 (바이트) | +| size_formatted | string | `"100 KB"` | 사람이 읽기 쉬운 형식으로 포맷된 파일 크기 (B/KB/MB/GB) | +| collection | string | `"default"` | 첨부파일 컬렉션/그룹명 (미지정 시 `default`) | +| order | integer | `0` | 컬렉션 내 정렬 순서 | +| download_url | string | `"/api/attachment/aB3xY9kLmQ7z"` | 해시 기반 다운로드 경로 | +| is_image | boolean | `false` | MIME 타입이 `image/` 로 시작하는지 여부 | +| meta | object\|null | `{"width": 800, "height": 600}` | 추가 메타데이터. 이미지 업로드 시 width/height 자동 기록, 그 외에는 빈 객체 | +| source_type | string | `"core"` | 첨부 생성 출처 (`core` / `module` / `plugin`) | +| source_identifier | string\|null | `"sirsoft-board"` | 모듈/플러그인 식별자 (코어 업로드 시 `null`) | +| creator | object\|없음 | `{"uuid": "...", "name": "관리자"}` | 업로더 정보(`uuid`, `name`). `creator` 관계가 eager load 된 경우에만 포함되며, 업로드 응답에는 포함되지 않음 | +| created_at | string | `"2026-07-14 10:23:41"` | 생성 일시 (사용자 타임존 기준 `Y-m-d H:i:s`) | +| updated_at | string | `"2026-07-14 10:23:41"` | 수정 일시 (사용자 타임존 기준 `Y-m-d H:i:s`) | +| is_owner | boolean | `true` | 요청자가 업로더(`created_by`)인지 여부 | +| abilities | object | `{"can_update": true, "can_delete": true}` | 요청자의 권한 맵 (`can_update` = `core.attachments.update`, `can_delete` = `core.attachments.delete`) | **응답 예시** - +```json +{ + "success": true, + "message": "파일이 업로드되었습니다.", + "data": { + "id": 1, + "hash": "aB3xY9kLmQ7z", + "original_filename": "example.pdf", + "mime_type": "application/pdf", + "size": 102400, + "size_formatted": "100 KB", + "collection": "default", + "order": 0, + "download_url": "/api/attachment/aB3xY9kLmQ7z", + "is_image": false, + "meta": {}, + "source_type": "core", + "source_identifier": null, + "created_at": "2026-07-14 10:23:41", + "updated_at": "2026-07-14 10:23:41", + "is_owner": true, + "abilities": { + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -88,6 +136,7 @@ example-key | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.attachments.create`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 파일 저장/DB 기록 중 예외 발생 시 (`attachment.upload_failed` — "파일 업로드에 실패했습니다.") | @@ -136,11 +185,88 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_배열 응답: `data` 는 `AttachmentResource` 객체의 배열입니다 (페이지네이션 없음). 각 항목의 필드는 단일 업로드 응답과 동일합니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| data[].id | integer | `1` | 첨부파일 ID (기본 키) | +| data[].hash | string | `"aB3xY9kLmQ7z"` | URL용 고유 해시 (12자) | +| data[].original_filename | string | `"photo1.jpg"` | 업로드된 원본 파일명 | +| data[].mime_type | string | `"image/jpeg"` | MIME 타입 | +| data[].size | integer | `204800` | 파일 크기 (바이트) | +| data[].size_formatted | string | `"200 KB"` | 포맷된 파일 크기 | +| data[].collection | string | `"default"` | 첨부파일 컬렉션/그룹명 | +| data[].order | integer | `0` | 컬렉션 내 정렬 순서 (배치 내 파일마다 순차 증가) | +| data[].download_url | string | `"/api/attachment/aB3xY9kLmQ7z"` | 해시 기반 다운로드 경로 | +| data[].is_image | boolean | `true` | MIME 타입이 `image/` 로 시작하는지 여부 | +| data[].meta | object\|null | `{"width": 1920, "height": 1080}` | 이미지 업로드 시 width/height 자동 기록 | +| data[].source_type | string | `"core"` | 첨부 생성 출처 (`core` / `module` / `plugin`) | +| data[].source_identifier | string\|null | `null` | 모듈/플러그인 식별자 | +| data[].created_at | string | `"2026-07-14 10:23:41"` | 생성 일시 (사용자 타임존 기준) | +| data[].updated_at | string | `"2026-07-14 10:23:41"` | 수정 일시 (사용자 타임존 기준) | +| data[].is_owner | boolean | `true` | 요청자가 업로더인지 여부 | +| data[].abilities | object | `{"can_update": true, "can_delete": true}` | 요청자의 권한 맵 | **응답 예시** - +```json +{ + "success": true, + "message": "파일이 일괄 업로드되었습니다.", + "data": [ + { + "id": 1, + "hash": "aB3xY9kLmQ7z", + "original_filename": "photo1.jpg", + "mime_type": "image/jpeg", + "size": 204800, + "size_formatted": "200 KB", + "collection": "default", + "order": 0, + "download_url": "/api/attachment/aB3xY9kLmQ7z", + "is_image": true, + "meta": { + "width": 1920, + "height": 1080 + }, + "source_type": "core", + "source_identifier": null, + "created_at": "2026-07-14 10:23:41", + "updated_at": "2026-07-14 10:23:41", + "is_owner": true, + "abilities": { + "can_update": true, + "can_delete": true + } + }, + { + "id": 2, + "hash": "Zq1WeRt5YuIo", + "original_filename": "photo2.jpg", + "mime_type": "image/jpeg", + "size": 153600, + "size_formatted": "150 KB", + "collection": "default", + "order": 1, + "download_url": "/api/attachment/Zq1WeRt5YuIo", + "is_image": true, + "meta": { + "width": 1280, + "height": 720 + }, + "source_type": "core", + "source_identifier": null, + "created_at": "2026-07-14 10:23:41", + "updated_at": "2026-07-14 10:23:41", + "is_owner": true, + "abilities": { + "can_update": true, + "can_delete": true + } + } + ] +} +``` **에러 응답** @@ -149,6 +275,7 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.attachments.create`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 배치 중 파일 저장/DB 기록 예외 발생 시 (`attachment.upload_failed` — "파일 업로드에 실패했습니다.") | @@ -187,19 +314,26 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 데이터를 반환하지 않습니다 (`data` 는 `null`, 성공 메시지만 반환)._ **응답 예시** - +```json +{ + "success": true, + "message": "파일 순서가 변경되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.attachments.create`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.attachments.update`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). `order[].id` 가 존재하지 않는 첨부파일이면 "존재하지 않는 첨부파일입니다." | +| 500 | Internal Server Error | 순서 갱신 중 예외 발생 시 (`attachment.reorder_failed` — "파일 순서 변경에 실패했습니다.") | @@ -229,20 +363,27 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 데이터를 반환하지 않습니다 (`data` 는 `null`, 성공 메시지만 반환)._ **응답 예시** - +```json +{ + "success": true, + "message": "파일이 삭제되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 삭제 처리가 실패로 반환된 경우 (`attachment.delete_failed` — "파일 삭제에 실패했습니다.") | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.attachments.create`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.attachments.delete`)이 없는 경우 | +| 404 | Not Found | `{attachment}` 에 해당하는 첨부파일이 없는 경우 (라우트 모델 바인딩 실패) | +| 500 | Internal Server Error | 파일/DB 삭제 중 예외 발생 시 (`attachment.delete_failed` — "파일 삭제에 실패했습니다.") | diff --git a/docs/backend/api/auth.md b/docs/backend/api/auth.md index 83c4eab5..e8a2b82c 100644 --- a/docs/backend/api/auth.md +++ b/docs/backend/api/auth.md @@ -38,9 +38,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - - - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `AuthController@logout` 이 `success('auth.logout_success')` 를 인자 없이 호출하므로 `data` 는 `null`)._ **응답 예시** @@ -285,18 +283,59 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`AuthService::login()` 이 반환한 배열 — `user` 만 `UserResource` 로 감싼다)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| user | object | `{"uuid":"a234c2b1-…","name":"관리자","is_admin":true, …}` | 로그인한 관리자 정보 (`UserResource` — 필드 전수는 `GET /api/admin/auth/user` 응답 필드 표와 동일) | +| token | string | `75\|WgPUplvLGTv8YIj4507uIR6dEOHTXyNUed…` | 발급된 Sanctum 접근 토큰 평문 (이후 `Authorization: Bearer` 헤더로 사용, 발급 시 1회만 노출) | +| token_type | string | `Bearer` | 토큰 타입 (항상 `Bearer` — `AuthService::login()` 이 상수로 반환) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "관리자 로그인이 성공했습니다.", + "data": { + "user": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "email": "apidoc-sample-user@example.com", + "status": "active", + "is_admin": true, + "roles": [ + { "id": 1, "identifier": "admin", "name": "관리자" } + ], + "is_owner": true, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + "token": "{MASKED}", + "token_type": "Bearer" + } +} +``` + +> `user` 객체는 지면 절약을 위해 축약했습니다. 실제로는 `GET /api/admin/auth/user` 의 `data` 와 동일한 `UserResource` 필드 전수가 내려옵니다. **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 401 | Unauthenticated | 이메일/비밀번호가 일치하지 않는 경우 (`auth.login_failed`) | +| 403 | Forbidden | 자격 증명은 맞지만 관리자 역할이 아닌 경우 (`auth.admin_required`) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 423 | Locked | 로그인 실패 누적으로 계정이 잠긴 경우 (`auth.account_locked` — `error.locked_until`, `error.retry_after_seconds` 포함) | @@ -336,18 +375,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `AuthController@forgotPassword` 가 `success('auth.password_reset_email_sent')` 를 인자 없이 호출하므로 `data` 는 `null`)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "비밀번호 재설정 이메일이 발송되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우, 또는 등록되지 않은 이메일인 경우 (`auth.password_reset_failed` — `error.errors.email` 에 `auth.email_not_registered` 메시지) | @@ -387,18 +435,56 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`AuthService::login()` 이 반환한 배열 — `user` 만 `UserResource` 로 감싼다)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| user | object | `{"uuid":"a234c2b1-…","name":"홍길동","is_admin":false, …}` | 로그인한 사용자 정보 (`UserResource` — 필드 전수는 `GET /api/auth/user` 응답 필드 표의 기본(코어) 필드와 동일) | +| token | string | `75\|WgPUplvLGTv8YIj4507uIR6dEOHTXyNUed…` | 발급된 Sanctum 접근 토큰 평문 (이후 `Authorization: Bearer` 헤더로 사용, 발급 시 1회만 노출) | +| token_type | string | `Bearer` | 토큰 타입 (항상 `Bearer`) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "로그인이 성공했습니다.", + "data": { + "user": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "email": "apidoc-sample-user@example.com", + "language": "ko", + "status": "active", + "is_admin": false, + "is_owner": true, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + "token": "{MASKED}", + "token_type": "Bearer" + } +} +``` + +> `user` 객체는 지면 절약을 위해 축약했습니다. 실제로는 `UserResource` 필드 전수가 내려옵니다. **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 401 | Unauthenticated | 이메일/비밀번호가 일치하지 않거나 계정 상태가 활성이 아닌 경우 (`auth.login_failed`) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 423 | Locked | 로그인 실패 누적으로 계정이 잠긴 경우 (`auth.account_locked` — `error.locked_until`, `error.retry_after_seconds` 포함) | @@ -491,9 +577,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - - - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `AuthController@logout` 이 `success('auth.logout_success')` 를 인자 없이 호출하므로 `data` 는 `null`)._ **응답 예시** @@ -579,18 +663,56 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`AuthService::register()` 이 반환한 배열 — `user` 만 `UserResource` 로 감싼다). 성공 시 HTTP 201._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| user | object | `{"uuid":"a234c2b1-…","name":"홍길동","status":"active", …}` | 생성된 사용자 정보 (`UserResource`. `status` 는 `active`, 가입 후 본인인증 정책이 걸린 경우 `pending_verification`) | +| token | string | `75\|WgPUplvLGTv8YIj4507uIR6dEOHTXyNUed…` | 가입 즉시 발급되는 Sanctum 접근 토큰 평문 (가입 직후 로그인 상태로 이어짐) | +| token_type | string | `Bearer` | 토큰 타입 (항상 `Bearer`) | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "회원가입이 성공했습니다.", + "data": { + "user": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "nickname": null, + "email": "apidoc-sample-user@example.com", + "language": "ko", + "status": "active", + "is_admin": false, + "is_owner": true, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + "token": "{MASKED}", + "token_type": "Bearer" + } +} +``` + +> `user` 객체는 지면 절약을 위해 축약했습니다. 실제로는 `UserResource` 필드 전수가 내려옵니다. **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`auth.register_failed` — `error.errors` 에 필드별 메시지) | +| 428 | Precondition Required | 가입 전 본인인증 정책이 매칭되었으나 유효한 `verification_token` 이 없는 경우 (`core.auth.before_register` 훅) | @@ -632,18 +754,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `AuthController@resetPassword` 가 `success('auth.password_reset_success')` 를 인자 없이 호출하므로 `data` 는 `null`)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "비밀번호가 성공적으로 재설정되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반했거나, 토큰이 유효하지 않거나 만료된 경우 (`auth.password_reset_failed` — `error.errors` 에 필드별 메시지) | @@ -813,18 +944,33 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`AuthService::validateResetToken()` 의 반환 배열)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| valid | boolean | `true` | 토큰 유효 여부. 성공 응답에서는 항상 `true` (유효하지 않으면 컨트롤러가 422 로 전환하므로 이 필드가 `false` 인 200 응답은 없음) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "valid": true + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 위반, 또는 토큰이 유효하지 않거나 만료된 경우 / 미등록 이메일 (`auth.reset_token_invalid` — `error.errors.token` 에 사유 메시지) | @@ -854,11 +1000,21 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `AuthController@logout` 이 `success('auth.logout_success')` 를 인자 없이 호출하므로 `data` 는 `null`). 공용 `POST /api/auth/logout` 과 동일한 컨트롤러 메서드._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "로그아웃이 성공했습니다.", + "data": null +} +``` **에러 응답** @@ -895,11 +1051,21 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `AuthController@logoutFromAllDevices` 가 `success('auth.logout_all_devices_success')` 를 인자 없이 호출하므로 `data` 는 `null`)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "모든 디바이스에서 로그아웃되었습니다.", + "data": null +} +``` **에러 응답** @@ -936,11 +1102,47 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`AuthService::refreshToken()` 반환 배열 — 공용 `POST /api/admin/auth/refresh` 와 동일 shape)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| user | object | `{"uuid":"a234c2b1-…","name":"홍길동", …}` | 토큰을 갱신한 사용자 정보 (`UserResource`) | +| token | string | `75\|WgPUplvLGTv8YIj4507uIR6dEOHTXyNUed…` | 새로 발급된 Sanctum 접근 토큰 평문 (기존 토큰은 폐기됨) | +| token_type | string | `Bearer` | 토큰 타입 (항상 `Bearer`) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "user": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "email": "apidoc-sample-user@example.com", + "status": "active", + "is_admin": false, + "is_owner": true, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + }, + "token": "{MASKED}", + "token_type": "Bearer" + } +} +``` + +> `user` 객체는 지면 절약을 위해 축약했습니다. 실제로는 `UserResource` 필드 전수가 내려옵니다. **에러 응답** @@ -977,11 +1179,70 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드. 컨트롤러 메서드가 공용 `GET /api/auth/user` 와 동일한 `AuthController@user` 이므로, 응답은 `UserResource::toAuthArray()` 산물(코어 필드 + `core.user.filter_resource_data` 로 확장이 병합한 필드)로 그 문서의 응답 필드 표와 동일합니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| uuid | string | `a234c2b1-cde8-437f-b28b-23323be2b98d` | 외부 노출용 UUID (URL/API 식별자, 내부 id 비노출) | +| name | string | `API 문서 샘플 사용자` | 사용자 이름 | +| nickname | string \| null | `song.hyunji` | 닉네임 (미설정 시 null) | +| email | string | `apidoc-sample-user@example.com` | 이메일 주소 | +| language | string | `ko` | 사용자 언어 설정 | +| status | string | `active` | 계정 상태 (active / inactive / blocked / withdrawn / pending_verification) | +| is_admin | boolean | `false` | 관리자 역할 보유 여부 | +| roles | array | `[{"id":2,"identifier":"user","name":"일반회원"}]` | 부여된 역할 목록 (id/identifier/name) | +| permissions | array | `[{"id":81,"identifier":"sirsoft-ecommerce.user-products.read","name":"상품 조회"}]` | 역할 경유 권한 목록 (id/identifier/name) | +| is_owner | boolean | `true` | 현재 인증 사용자가 이 리소스의 소유자인지 여부 (BaseApiResource 표준 메타) | +| abilities | object | `{"can_read":true,"can_update":true, …}` | 이 리소스에 수행 가능한 작업 불리언 맵 | +| (확장 병합 필드) | — | `notify_*`, `marketing_consent*`, `ecommerce_*` 등 | marketing 플러그인·ecommerce 모듈이 `core.user.filter_resource_data` 필터로 병합 — 전수는 `GET /api/auth/user` 응답 필드 표 참조 | + +> 필드 전수(코어 + 확장 병합)는 `GET /api/auth/user` 의 응답 필드 표와 동일하므로 그 표를 SSoT 로 참조합니다. 게스트(비인증) 요청은 `optional.sanctum` 을 통과하지만 `request()->user()` 가 없으므로 이 경로는 인증 사용자 컨텍스트에서만 사용자 객체를 반환합니다. **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "nickname": "song.hyunji", + "email": "apidoc-sample-user@example.com", + "language": "ko", + "status": "active", + "is_admin": false, + "roles": [ + { "id": 2, "identifier": "user", "name": "일반회원" } + ], + "permissions": [], + "is_owner": true, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + }, + "notify_post_complete": false, + "notify_post_reply": false, + "notify_comment": false, + "notify_reply_comment": false, + "ecommerce_mileage": { + "enabled": false + }, + "ecommerce_preferred_currency": null, + "ecommerce_preferred_shipping_country": null, + "ecommerce_preferred_shipping_country_name": null + } +} +``` + +> 지면 절약을 위해 축약했습니다. 실제 응답은 `GET /api/auth/user` 의 응답 예시와 동일한 필드 전수를 포함합니다. **에러 응답** diff --git a/docs/backend/api/avatar.md b/docs/backend/api/avatar.md index efcdbc74..9fdbe82d 100644 --- a/docs/backend/api/avatar.md +++ b/docs/backend/api/avatar.md @@ -38,17 +38,25 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** - +```json +{ + "success": true, + "message": "프로필 이미지가 성공적으로 삭제되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 404 | Not Found | 삭제할 아바타 첨부파일이 없는 경우 (`user.avatar_not_found` — "삭제할 프로필 이미지가 없습니다.") | +| 500 | Server Error | 첨부파일/실제 파일 삭제 중 예외 발생 (`user.avatar_delete_failed` — "프로필 이미지 삭제에 실패했습니다.") | @@ -86,11 +94,25 @@ Content-Type: image/png **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| avatar | string\|null | `/api/attachment/9f1c2b7d8e...` | 업로드된 아바타의 다운로드 URL (`Attachment.download_url` = `/api/attachment/{hash}`). 레거시 `avatar` 컬럼만 있는 경우 `storage/attachments/avatars/{파일명}` 형태의 절대 URL | +| attachment_id | integer | `1` | 생성된 첨부파일(Attachment) 레코드의 기본 키 | **응답 예시** - +```json +{ + "success": true, + "message": "프로필 이미지가 성공적으로 업로드되었습니다.", + "data": { + "avatar": "/api/attachment/9f1c2b7d8e3a4c5b6d7e8f90a1b2c3d4", + "attachment_id": 1 + } +} +``` **에러 응답** @@ -98,6 +120,7 @@ Content-Type: image/png | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 파일 저장/첨부파일 생성 중 예외 발생 (`user.avatar_upload_failed` — "프로필 이미지 업로드에 실패했습니다.") | diff --git a/docs/backend/api/broadcasting.md b/docs/backend/api/broadcasting.md index 0bb3c297..8c54c152 100644 --- a/docs/backend/api/broadcasting.md +++ b/docs/backend/api/broadcasting.md @@ -37,17 +37,26 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 G7 공통 응답 봉투(`success`/`message`/`data`)를 사용하지 않습니다. 라우트 클로저가 `Broadcast::auth($request)` 의 반환값을 그대로 응답하므로, 응답 본문은 Laravel 브로드캐스팅 드라이버(Reverb — Pusher 프로토콜 호환)가 생성하는 채널 인증 페이로드입니다. 등록된 채널(`routes/channels.php`, 모듈/플러그인 `getChannels()`)은 모두 boolean 을 반환하는 private 채널이므로 아래 필드만 반환됩니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| auth | string | `앱키:서명` 형식 문자열 | 클라이언트가 WebSocket 서버(Reverb)에 프라이빗 채널 구독을 요청할 때 제시하는 인증 서명. `{reverb_app_key}:{HMAC-SHA256(socket_id:channel_name)}` 형태이며, 브로드캐스팅 클라이언트 라이브러리가 자동으로 소비합니다 | **응답 예시** - +```json +{ + "auth": "app-key:5f1a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8" +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 웹소켓 사용 OFF(`broadcasting.default === 'null'`) 로 채널 인증이 거부된 경우, 또는 요청한 채널의 인증 콜백이 `false` 를 반환한 경우(권한 부족·타 사용자 채널 구독 시도 등) | diff --git a/docs/backend/api/core-update.md b/docs/backend/api/core-update.md index 17783884..a2b60ab0 100644 --- a/docs/backend/api/core-update.md +++ b/docs/backend/api/core-update.md @@ -95,11 +95,31 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| update_available | boolean | `false` | 새 버전 존재 여부 (최신 릴리스 버전이 현재 버전보다 높으면 `true`) | +| current_version | string | `7.0.3` | 현재 설치된 코어 버전 (`config('app.version')`) | +| latest_version | string | `7.0.3` | GitHub 릴리스에서 조회한 최신 코어 버전 (조회 값이 없으면 현재 버전과 동일) | +| github_url | string | `https://github.com/gnuboard/g7` | 업데이트 조회 대상 GitHub 저장소 URL (`config('app.update.github_url')`) | + +> 조회 실패 시(GitHub 접속 불가 등)에는 422 응답이 반환되며, `error` 객체에 `reason`(실패 사유) · `current_version` · `github_url` 이 담깁니다. **응답 예시** - +```json +{ + "success": true, + "message": "업데이트 확인이 완료되었습니다.", + "data": { + "update_available": false, + "current_version": "7.0.3", + "latest_version": "7.0.3", + "github_url": "https://github.com/gnuboard/g7" + } +} +``` **에러 응답** diff --git a/docs/backend/api/dashboard.md b/docs/backend/api/dashboard.md index b4687944..cc9ed775 100644 --- a/docs/backend/api/dashboard.md +++ b/docs/backend/api/dashboard.md @@ -141,9 +141,21 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) +_목록 응답: `data` 배열 항목의 필드. `data` 는 `core.dashboard.alerts` 필터 훅의 결과이며, 알릴 항목이 없으면 빈 배열(`[]`)입니다. 코어 기본 리스너(`ExtensionCompatibilityAlertListener`)가 주입하는 항목의 필드는 다음과 같습니다._ - - +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | string | `compat_plugins_sirsoft-gdpr` | 알림 식별자 (`compat_{type}_{identifier}` = 자동 비활성화, `recover_{type}_{identifier}` = 재호환. 알림 닫기(dismiss) 상태 판정 키) | +| type | string | `warning` | 알림 등급 (`warning`: 코어 비호환 자동 비활성화, `info`: 재호환 복구 가능) | +| subtype | string | `incompatible_core` | 알림 세부 분류 (`incompatible_core`: 코어 버전 비호환으로 자동 비활성화됨, `recovery_available`: 코어 업그레이드 후 다시 활성화 가능) | +| icon | string | `exclamation-triangle` | 아이콘 식별자 (warning: `exclamation-triangle`, info: `check-circle`) | +| title | string | `플러그인 "sirsoft-gdpr" 자동 비활성화됨` | 알림 제목 (다국어 문구 — `extensions.alerts.incompatible_deactivated` / `recovered_title`) | +| message | string | `필요 버전: 7.0.0-beta.9, 현재 설치됨: 7.0.0-beta.8` | 알림 본문 (다국어 문구 — `extensions.alerts.incompatible_message` / `recovered_body`) | +| extension_type | string | `plugin` | 대상 확장 종류 (`module` / `plugin` / `template`) | +| identifier | string | `sirsoft-gdpr` | 대상 확장 식별자 | +| recover_endpoint | string | `/api/admin/extensions/plugin/sirsoft-gdpr/recover` | 재활성화 호출 엔드포인트 (재호환 알림 `subtype=recovery_available` 에만 존재) | +| time | string\|null | `3시간 전` | 자동 비활성화 시각의 상대 표시 (diffForHumans() 산물, 비활성화 시각이 없으면 `null`) | +| read | boolean | `false` | 읽음 여부 (주입 시점에는 항상 `false`) | **응답 예시** @@ -151,6 +163,8 @@ Authorization: Bearer {YOUR_TOKEN} HTTP/1.1 200 ``` +알릴 항목이 없는 경우 (기본): + ```json { "success": true, @@ -159,6 +173,42 @@ HTTP/1.1 200 } ``` +코어 비호환으로 자동 비활성화된 확장이 있는 경우: + +```json +{ + "success": true, + "message": "시스템 알림을 성공적으로 조회했습니다.", + "data": [ + { + "id": "compat_plugins_sirsoft-gdpr", + "type": "warning", + "subtype": "incompatible_core", + "icon": "exclamation-triangle", + "title": "플러그인 \"sirsoft-gdpr\" 자동 비활성화됨", + "message": "필요 버전: 7.0.0-beta.9, 현재 설치됨: 7.0.0-beta.8", + "extension_type": "plugin", + "identifier": "sirsoft-gdpr", + "time": "3시간 전", + "read": false + }, + { + "id": "recover_modules_sirsoft-board", + "type": "info", + "subtype": "recovery_available", + "icon": "check-circle", + "title": "모듈 \"sirsoft-board\" 다시 호환 가능", + "message": "코어 업그레이드 후 호환됩니다 (이전 요구: 7.0.0-beta.9). 다시 활성화할 수 있습니다.", + "extension_type": "module", + "identifier": "sirsoft-board", + "recover_endpoint": "/api/admin/extensions/module/sirsoft-board/recover", + "time": "2일 전", + "read": false + } + ] +} +``` + **에러 응답** | 상태코드 | 의미 | 발생 조건 | diff --git a/docs/backend/api/extensions.md b/docs/backend/api/extensions.md index 10bfd426..7e0a2c8a 100644 --- a/docs/backend/api/extensions.md +++ b/docs/backend/api/extensions.md @@ -102,11 +102,27 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| alert_id | string | `compat_plugins_sirsoft-tosspayments` | dismiss 처리된 자동 비활성화 알림의 식별자 (`compat_{type}s_{identifier}` 형식). 재호환 알림(`recover_{type}s_{identifier}`)도 함께 dismiss 되지만 응답에는 포함되지 않음 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "알림을 닫았습니다.", + "data": { + "alert_id": "compat_plugins_sirsoft-tosspayments" + } +} +``` **에러 응답** @@ -145,11 +161,29 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| extension_type | string | `plugin` | 복구(재활성화)된 확장의 타입 (`module` \| `plugin` \| `template`) — 요청 path의 `{type}` 을 그대로 반환 | +| identifier | string | `sirsoft-tosspayments` | 복구된 확장의 식별자 — 요청 path의 `{identifier}` 를 그대로 반환 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "확장이 다시 활성화되었습니다.", + "data": { + "extension_type": "plugin", + "identifier": "sirsoft-tosspayments" + } +} +``` **에러 응답** @@ -157,7 +191,8 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.activate`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 (`extensions.errors.not_found`) | +| 422 | Unprocessable Entity | 재검증 결과 여전히 코어 버전이 요구 버전에 미달하는 경우 — 글로벌 핸들러가 `core_version_mismatch` 로 변환 | diff --git a/docs/backend/api/identity.md b/docs/backend/api/identity.md index 40c4e390..9a842161 100644 --- a/docs/backend/api/identity.md +++ b/docs/backend/api/identity.md @@ -93,7 +93,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "data": [ { @@ -221,7 +221,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "purged_count": 200, "older_than_days": 1 @@ -414,11 +414,99 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (생성된 정의를 `IdentityMessageDefinitionResource` 로 직렬화, `templates` eager load 포함). 성공 시 HTTP 201._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `13` | 기본 키 (내부 식별자) | +| provider_id | string | `g7:core.mail` | 이 정의가 속한 IDV 프로바이더 ID | +| scope_type | string | `policy` | 메시지 정의 스코프 (관리자 생성은 항상 `policy`) | +| scope_value | string | `admin.custom_action` | 스코프 값 (source_type='admin' 인 IdentityPolicy.key) | +| name | object | `{"ko":"...","en":"..."}` | 다국어 표시명 | +| description | object | `{"ko":"...","en":"..."}` | 다국어 설명 (미전달 시 null) | +| channels | array | `["mail"]` | 이 정의가 지원하는 활성 채널 목록 | +| variables | array | `[{"key":"code","description":"인증 코드"}]` | 템플릿 치환 가능 변수 메타데이터 목록 (미전달 시 null) | +| extension_type | string | `core` | 이 리소스를 소유한 확장의 타입 (관리자 생성은 core) | +| extension_identifier | string | `core` | 이 리소스를 소유한 확장의 식별자 | +| is_active | boolean | `true` | 활성 여부 | +| is_default | boolean | `false` | 시드 기본 정의 여부 (관리자 생성 정의는 false → 삭제 가능) | +| user_overrides | array | `null` | 운영자가 시드 기본값에서 수정한 필드 경로 목록 (신규 생성 직후 null) | +| templates | array | `[{"id":13,"definition_id":13,"channel":"mail","subject":{…},"body":{…}}]` | 함께 생성된 채널별 하위 템플릿 목록 | +| created_at | string | `2026-07-08 10:43:32` | 생성 일시 | +| updated_at | string | `2026-07-08 10:43:32` | 최종 수정 일시 | +| abilities | object | `{"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "IDV 메시지 정의가 생성되었습니다.", + "data": { + "id": 13, + "provider_id": "g7:core.mail", + "scope_type": "policy", + "scope_value": "admin.custom_action", + "name": { + "ko": "커스텀 민감작업 인증", + "en": "Custom Sensitive Action" + }, + "description": { + "ko": "운영자가 등록한 정책 전용 인증 메일", + "en": "Policy-specific verification mail added by admin" + }, + "channels": [ + "mail" + ], + "variables": [ + { + "key": "code", + "description": "인증 코드 (text_code 흐름)" + } + ], + "extension_type": "core", + "extension_identifier": "core", + "is_active": true, + "is_default": false, + "user_overrides": null, + "templates": [ + { + "id": 13, + "definition_id": 13, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 인증 코드", + "en": "[{app_name}] Verification Code" + }, + "body": { + "ko": "

인증 코드: {code}

", + "en": "

Your code: {code}

" + }, + "is_active": true, + "is_default": false, + "user_overrides": null, + "updated_by": null, + "created_at": "2026-07-08 10:43:32", + "updated_at": "2026-07-08 10:43:32", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-07-08 10:43:32", + "updated_at": "2026-07-08 10:43:32", + "abilities": { + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -427,6 +515,7 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 정의 생성 중 예외 발생 (`IDV 메시지 정의 생성에 실패했습니다.`) | @@ -456,20 +545,26 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — 컨트롤러가 `$this->success(__('identity_message.definition_deleted'))` 를 인자 1개로 호출)._ **응답 예시** - +```json +{ + "success": true, + "message": "IDV 메시지 정의가 삭제되었습니다." +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.messages.update`)이 없는 경우, 또는 대상 정의가 시드 기본 정의(`is_default=true`)인 경우 (`시드된 기본 메시지 정의는 삭제할 수 없습니다.`) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 삭제 중 예외 발생 (`IDV 메시지 정의 삭제에 실패했습니다.`) | @@ -670,20 +765,111 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (수정된 정의를 `IdentityMessageDefinitionResource` 로 직렬화, `templates` eager load 포함 — GET 상세 응답과 동일 구조)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| provider_id | string | `g7:core.mail` | IDV 프로바이더 ID | +| scope_type | string | `purpose` | 메시지 정의 스코프 (provider_default\|purpose\|policy) | +| scope_value | string | `checkout_verification` | 범위 값 (provider_default 빈 문자열 / purpose 키 / policy 키) | +| name | object | `{"ko":"결제 시 본인 확인","en":"Checkout Verification"}` | 다국어 표시명 (수정 반영) | +| description | object | `{"ko":"...","en":"..."}` | 다국어 설명 (수정 반영) | +| channels | array | `["mail"]` | 활성 채널 목록 (수정 반영) | +| variables | array | `[{"key":"code","description":"인증 코드 (text_code 흐름)"}]` | 템플릿 치환 변수 메타데이터 목록 | +| extension_type | string | `module` | 이 리소스를 소유한 확장의 타입 | +| extension_identifier | string | `sirsoft-ecommerce` | 이 리소스를 소유한 확장의 식별자 | +| is_active | boolean | `true` | 활성 여부 (수정 반영) | +| is_default | boolean | `true` | 시드 기본 정의 여부 | +| user_overrides | array | `["name","channels"]` | 이번 수정으로 append 된 운영자 재정의 필드 목록 (시더 재실행 시 보존 대상) | +| templates | array | `[{"id":1,"definition_id":1,"channel":"mail",…}]` | 채널별 하위 템플릿 목록 | +| created_at | string | `2026-07-08 10:43:32` | 생성 일시 | +| updated_at | string | `2026-07-08 12:14:36` | 최종 수정 일시 | +| abilities | object | `{"can_update":true,"can_delete":false}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "IDV 메시지 정의가 수정되었습니다.", + "data": { + "id": 1, + "provider_id": "g7:core.mail", + "scope_type": "purpose", + "scope_value": "checkout_verification", + "name": { + "ko": "결제 시 본인 확인", + "en": "Checkout Verification" + }, + "description": { + "ko": "결제 진행 전 본인/성인 확인 인증 코드 메일", + "en": "Identity/adult verification code mail before checkout" + }, + "channels": [ + "mail" + ], + "variables": [ + { + "key": "code", + "description": "인증 코드 (text_code 흐름)" + } + ], + "extension_type": "module", + "extension_identifier": "sirsoft-ecommerce", + "is_active": true, + "is_default": true, + "user_overrides": [ + "name" + ], + "templates": [ + { + "id": 1, + "definition_id": 1, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 결제 본인 확인 인증 코드", + "en": "[{app_name}] Checkout Verification Code" + }, + "body": { + "ko": "

결제 본인 확인

…", + "en": "

Checkout Verification

…" + }, + "is_active": true, + "is_default": true, + "user_overrides": null, + "updated_by": null, + "created_at": "2026-07-08 10:43:32", + "updated_at": "2026-07-08 10:43:32", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-07-08 10:43:32", + "updated_at": "2026-07-08 12:14:36", + "abilities": { + "can_update": true, + "can_delete": false + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.messages.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 수정 중 예외 발생 (`IDV 메시지 정의 수정에 실패했습니다.`) | @@ -1002,19 +1188,38 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`IdentityMessageTemplate::replaceVariables()` 의 반환값 — 저장 없이 렌더 결과만 반환)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| subject | string | `[G7] 결제 본인 확인 인증 코드` | 지정 로케일 제목에 `{key}` 변수를 `data` 값으로 치환한 결과 문자열 | +| body | string | `

결제 본인 확인

… 123456 …

` | 지정 로케일 본문(HTML)에 `{key}` 변수를 치환한 결과 문자열 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "IDV 메시지 템플릿 미리보기를 생성했습니다.", + "data": { + "subject": "[G7] 결제 본인 확인 인증 코드", + "body": "

결제 본인 확인

결제를 진행하기 위해 본인 확인이 필요합니다. 아래 인증 코드를 입력해 주세요.

123456

이 코드는 5분 후 만료됩니다.

" + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.messages.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | `template_id` 에 해당하는 템플릿이 없거나(`findOrFail`) 렌더 중 예외 발생 (`IDV 메시지 템플릿 미리보기 생성에 실패했습니다.`) | @@ -1060,20 +1265,71 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (수정된 템플릿을 `IdentityMessageTemplateResource` 로 직렬화 — templates reset 응답과 동일 구조)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| definition_id | integer | `1` | 이 템플릿이 속한 메시지 정의 ID | +| channel | string | `mail` | 메시지 템플릿 채널 (mail 현재 / sms 등 향후) | +| subject | object | `{"ko":"[{app_name}] 결제 본인 확인 인증 코드","en":"…"}` | 다국어 제목 (수정 반영, mail 채널에서만 의미) | +| body | object | `{"ko":"

결제 본인 확인

…","en":"…"}` | 다국어 본문 (수정 반영) | +| is_active | boolean | `true` | 활성 여부 (수정 반영) | +| is_default | boolean | `false` | 시더 기본값 유지 여부 (운영자 수정 시 false) | +| user_overrides | array | `["subject","body"]` | 이번 수정으로 append 된 운영자 재정의 필드 목록 | +| updated_by | null | `null` | 최종 수정한 사용자 정보 (uuid/name — 없으면 null) | +| created_at | string | `2026-07-08 10:43:32` | 생성 일시 | +| updated_at | string | `2026-07-08 12:14:36` | 최종 수정 일시 | +| abilities | object | `{"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "IDV 메시지 템플릿이 수정되었습니다.", + "data": { + "id": 1, + "definition_id": 1, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 결제 본인 확인 인증 코드", + "en": "[{app_name}] Checkout Verification Code" + }, + "body": { + "ko": "

결제 본인 확인

아래 인증 코드를 입력해 주세요.

{code}

", + "en": "

Checkout Verification

Please enter the code below.

{code}

" + }, + "is_active": true, + "is_default": false, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": null, + "created_at": "2026-07-08 10:43:32", + "updated_at": "2026-07-08 12:14:36", + "abilities": { + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.messages.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 수정 중 예외 발생 (`IDV 메시지 템플릿 수정에 실패했습니다.`) | @@ -1325,7 +1581,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "data": [ { @@ -1458,19 +1714,72 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (생성된 정책을 `PolicyResource` 로 직렬화). 성공 시 HTTP 201._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `25` | 기본 키 (내부 식별자) | +| key | string | `admin.custom_action` | 정책 식별자 (고유) | +| scope | string | `route` | 정책 적용 범위 (route / hook / custom — IdentityPolicyScope) | +| target | string | `api.me.password.update` | 매칭 대상 (라우트명/URI 패턴, 훅 이름, 또는 custom key) | +| purpose | string | `sensitive_action` | 이 정책이 요구하는 인증 목적 | +| provider_id | null | `null` | 강제할 프로바이더 ID (미지정 시 null → 목적 기본 프로바이더 사용) | +| grace_minutes | integer | `30` | 재인증 유예 시간(분) — 0=매번 요구 | +| enabled | boolean | `true` | 정책 사용 여부 | +| priority | integer | `100` | 정책 우선순위 (작을수록 우선) | +| conditions | object | `{"changed_fields":["email"]}` | 추가 매칭 조건 JSON (미지정 시 null) | +| source_type | string | `admin` | 정책 출처 — 이 엔드포인트로 생성한 정책은 항상 `admin` | +| source_identifier | string | `null` | 출처 식별자 (요청에서 전달한 값, 미전달 시 null) | +| applies_to | string | `both` | 적용 대상 사용자 (self / admin / both) | +| fail_mode | string | `block` | 실패 시 동작 (block: HTTP 428 차단 / log_only: 감사 로그만) | +| user_overrides | array | `[]` | 운영자가 선언 기본값에서 재정의한 필드 목록 (admin 정책은 빈 배열) | +| created_at | string | `2026-07-08 10:44:35` | 생성 일시 | +| updated_at | string | `2026-07-08 10:44:35` | 최종 수정 일시 | +| abilities | object | `{"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "생성되었습니다.", + "data": { + "id": 25, + "key": "admin.custom_action", + "scope": "route", + "target": "api.me.password.update", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 30, + "enabled": true, + "priority": 100, + "conditions": null, + "source_type": "admin", + "source_identifier": null, + "applies_to": "both", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-07-08 10:44:35", + "updated_at": "2026-07-08 10:44:35", + "abilities": { + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.admin.identity.policies.update`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지 — `key` 중복, `scope`/`applies_to`/`fail_mode` 허용값 위반 등) | @@ -1502,20 +1811,30 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — 컨트롤러가 `$this->success('messages.deleted')` 를 인자 1개로 호출)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "삭제되었습니다." +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.admin.identity.policies.update`)이 없는 경우, 또는 대상 정책의 `source_type` 이 `admin` 이 아닌 선언형 정책(core/module/plugin)인 경우 (`messages.cannot_delete_system_resource`) | +| 404 | Not Found | 해당 ID 의 정책이 없는 경우 (`messages.not_found`) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 삭제 처리 실패 (`messages.failed`) | @@ -1575,20 +1894,77 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (수정 후 `refresh()` 한 정책을 `PolicyResource` 로 직렬화 — 목록 항목과 동일 구조)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `11` | 기본 키 (내부 식별자) | +| key | string | `sirsoft-board.report.create` | 정책 식별자 (선언형 정책은 변경 불가) | +| scope | string | `hook` | 정책 적용 범위 (선언형 정책은 변경 불가) | +| target | string | `sirsoft-board.report.before_create` | 매칭 대상 (선언형 정책은 변경 불가) | +| purpose | string | `sensitive_action` | 이 정책이 요구하는 인증 목적 (수정 반영) | +| provider_id | null | `null` | 강제할 프로바이더 ID (수정 반영) | +| grace_minutes | integer | `30` | 재인증 유예 시간(분) (수정 반영) | +| enabled | boolean | `true` | 정책 사용 여부 (수정 반영) | +| priority | integer | `100` | 정책 우선순위 (수정 반영) | +| conditions | object | `null` | 추가 매칭 조건 JSON (수정 반영) | +| source_type | string | `module` | 정책 출처 (core/module/plugin/admin) | +| source_identifier | string | `sirsoft-board` | 출처 식별자 | +| applies_to | string | `self` | 적용 대상 사용자 (수정 반영) | +| fail_mode | string | `block` | 실패 시 동작 (수정 반영) | +| user_overrides | array | `["enabled","grace_minutes"]` | 이번 수정으로 append 된 운영자 재정의 필드 목록 (시더 재실행 시 보존) | +| created_at | string | `2026-07-08 10:44:35` | 생성 일시 | +| updated_at | string | `2026-07-08 12:14:36` | 최종 수정 일시 | +| abilities | object | `{"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "수정되었습니다.", + "data": { + "id": 11, + "key": "sirsoft-board.report.create", + "scope": "hook", + "target": "sirsoft-board.report.before_create", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 30, + "enabled": true, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [ + "enabled", + "grace_minutes" + ], + "created_at": "2026-07-08 10:44:35", + "updated_at": "2026-07-08 12:14:36", + "abilities": { + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.admin.identity.policies.update`)이 없는 경우 | +| 404 | Not Found | 해당 ID 의 정책이 없는 경우 (`messages.not_found`) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우, 또는 선언형 정책에 화이트리스트(`enabled`/`grace_minutes`/`provider_id`/`fail_mode`/`conditions`/`purpose`/`applies_to`/`priority`) 밖 필드만 전달되어 적용할 값이 남지 않은 경우 (`validation.nothing_to_update`) | +| 500 | Internal Server Error | 수정 처리 실패 (`messages.failed`) | @@ -1626,20 +2002,73 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (복원 후 `fresh()` 한 정책을 `PolicyResource` 로 직렬화 — 목록 항목과 동일 구조)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `11` | 기본 키 (내부 식별자) | +| key | string | `sirsoft-board.report.create` | 정책 식별자 | +| scope | string | `hook` | 정책 적용 범위 (route / hook / custom) | +| target | string | `sirsoft-board.report.before_create` | 매칭 대상 | +| purpose | string | `sensitive_action` | 이 정책이 요구하는 인증 목적 | +| provider_id | null | `null` | 강제할 프로바이더 ID | +| grace_minutes | integer | `0` | 재인증 유예 시간(분) — 요청한 `field` 가 이 필드였다면 선언 기본값으로 복원된 값 | +| enabled | boolean | `false` | 정책 사용 여부 — 요청한 `field` 가 이 필드였다면 선언 기본값으로 복원된 값 | +| priority | integer | `100` | 정책 우선순위 | +| conditions | object | `null` | 추가 매칭 조건 JSON | +| source_type | string | `module` | 정책 출처 (admin 이면 이 엔드포인트는 403) | +| source_identifier | string | `sirsoft-board` | 출처 식별자 | +| applies_to | string | `self` | 적용 대상 사용자 | +| fail_mode | string | `block` | 실패 시 동작 | +| user_overrides | array | `[]` | 남아 있는 운영자 재정의 필드 목록 (요청한 `field` 가 제거된 상태) | +| created_at | string | `2026-07-08 10:44:35` | 생성 일시 | +| updated_at | string | `2026-07-08 12:20:11` | 최종 수정 일시 | +| abilities | object | `{"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "id": 11, + "key": "sirsoft-board.report.create", + "scope": "hook", + "target": "sirsoft-board.report.before_create", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 0, + "enabled": false, + "priority": 100, + "conditions": null, + "source_type": "module", + "source_identifier": "sirsoft-board", + "applies_to": "self", + "fail_mode": "block", + "user_overrides": [], + "created_at": "2026-07-08 10:44:35", + "updated_at": "2026-07-08 12:20:11", + "abilities": { + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.admin.identity.policies.update`)이 없는 경우, 또는 대상 정책의 `source_type` 이 `admin` 이라 선언 기본값이 존재하지 않는 경우 (`관리자가 직접 생성한 정책에는 선언 기본값이 없습니다.`) | +| 404 | Not Found | 해당 ID 의 정책이 없는 경우 (`messages.not_found`) | +| 422 | Unprocessable Entity | `field` 가 허용값 밖이거나 복원에 실패한 경우 (`선언 기본값 복원에 실패했습니다. 필드가 유효한지 확인하세요.`) | @@ -1687,7 +2116,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": [ { "id": "g7:core.mail", @@ -1831,20 +2260,49 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (성공 + `return` 쿼리가 없을 때만 JSON 을 반환합니다. `return` 이 있고 same-origin 이면 302 redirect 이므로 본문이 없습니다)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| challenge_id | string | `00484973-8cd3-4a1d-85f2-78361feb6f0d` | 검증이 완료된 challenge 의 식별자 | +| provider_id | string | `inicis` | 이 콜백을 처리한 프로바이더 식별자 | +| verified_at | string | `2026-05-12T18:14:19+00:00` | 검증 완료 일시 (ISO 8601, 미검증이면 null) | +| verification_token | string | `eyJ0eXAiOiJKV1QiLCJhbGciOi…` | 후속 민감 작업 요청에 제출할 본인인증 토큰 (`claims.verification_token`, 없으면 빈 문자열) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "본인 확인이 완료되었습니다.", + "data": { + "challenge_id": "00484973-8cd3-4a1d-85f2-78361feb6f0d", + "provider_id": "inicis", + "verified_at": "2026-05-12T18:14:19+00:00", + "verification_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..." + } +} +``` + +`return` 쿼리(same-origin) 가 있으면 JSON 대신 302 redirect 입니다. + +```http +HTTP/1.1 302 +Location: /checkout?verification_token=eyJ0eXAiOiJKV1Qi...&challenge_id=00484973-8cd3-4a1d-85f2-78361feb6f0d +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 302 | Found (실패 redirect) | 검증 실패 + `return` 쿼리(same-origin) 존재 시 `{return}?identity_error={failure_code}` 로 리다이렉트 | +| 401 | Unauthenticated | Bearer 토큰을 보냈으나 만료/무효인 경우 (비회원은 헤더 생략 가능) | +| 404 | Not Found | `providerId` 에 해당하는 프로바이더가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터 검증 실패, 또는 검증 실패 + `return` 쿼리 없음 — 본문의 `error.failure_code` 에 실패 사유 코드 (`CHALLENGE_NOT_FOUND`/`EXPIRED`/`INVALID_CODE` 등, `identity.errors.*` 메시지 동반) | @@ -1863,8 +2321,8 @@ Content-Type: application/json | --- | --- | --- | --- | --- | --- | | purpose | body | string | 예 | max 64 | 인증 목적 (signup/password_reset/self_update/sensitive_action/login 또는 모듈 정의 목적) | | target | body | array | 아니오 | — | 비로그인 게스트의 인증 대상 (target.email 또는 target.phone — 로그인 사용자는 본인으로 자동 설정) | -| target.email | body | email | 아니오 | max 255 | | -| target.phone | body | string | 아니오 | max 32 | | +| target.email | body | email | 아니오 | max 255 | 이메일 주소 | +| target.phone | body | string | 아니오 | max 32 | 전화번호 | | provider_id | body | string | 아니오 | max 64 | provider 식별자 | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`core.identity.request_validation_rules`). @@ -1891,19 +2349,51 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ChallengeResource` 로 직렬화한 VerificationChallenge DTO — 민감 metadata(code_hash 등) 제외). 성공 시 HTTP 201._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | string | `00484973-8cd3-4a1d-85f2-78361feb6f0d` | 생성된 challenge 의 식별자 (이후 verify/cancel/show 에 사용) | +| provider_id | string | `g7:core.mail` | 이 challenge 를 처리하는 프로바이더 식별자 | +| purpose | string | `signup` | 인증 목적 | +| channel | string | `email` | 실제 발송에 사용된 전송 채널 | +| render_hint | string | `text_code` | 프론트 렌더 방식 힌트 (text_code / link / external_redirect) | +| redirect_url | string | `null` | external_redirect 흐름에서 사용자를 보낼 외부 인증 페이지 URL (그 외 흐름은 null) | +| expires_at | string | `2026-05-12T18:14:19+00:00` | 만료 일시 (ISO 8601) | +| public_payload | array | `[]` | 프론트 렌더에 필요한 공개 안전 페이로드 (프로바이더별 UI 힌트, 없으면 빈 배열) | +| max_attempts | integer | `5` | 허용되는 최대 검증 시도 횟수 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "본인인증 코드를 발송했습니다.", + "data": { + "id": "00484973-8cd3-4a1d-85f2-78361feb6f0d", + "provider_id": "g7:core.mail", + "purpose": "signup", + "channel": "email", + "render_hint": "text_code", + "redirect_url": null, + "expires_at": "2026-05-12T18:14:19+00:00", + "public_payload": [], + "max_attempts": 5 + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 401 | Unauthenticated | Bearer 토큰을 보냈으나 만료/무효인 경우 (비회원은 헤더 생략 가능) | +| 403 | Forbidden | 요구 권한(`core.identity.request`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터 검증 실패, 또는 비로그인 상태에서 `target.email`·`target.phone` 이 모두 비어 있는 경우 (`인증 대상(이메일·전화번호)이 필요합니다.`), 선택한 프로바이더가 해당 목적을 지원하지 않는 경우(`선택된 프로바이더는 이 목적을 지원하지 않습니다.`), 프로바이더 사용 불가(`본인인증 프로바이더를 사용할 수 없습니다.`) | @@ -1957,7 +2447,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "id": "006209fd-1b6c-40aa-a38f-9b907f1a4bca", "status": "requested", @@ -2008,19 +2498,28 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — 컨트롤러가 `$this->success('identity.messages.challenge_cancelled')` 를 인자 1개로 호출)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "본인인증 요청이 취소되었습니다." +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 401 | Unauthenticated | Bearer 토큰을 보냈으나 만료/무효인 경우 (비회원은 헤더 생략 가능) | +| 403 | Forbidden | 요구 권한(`core.identity.cancel`)이 없는 경우, 또는 scope=self 가드가 본인 challenge 가 아니라고 판정한 경우 | +| 404 | Not Found | path 의 challenge 를 찾을 수 없거나 취소 처리에 실패한 경우 (`유효하지 않은 인증 요청입니다.`) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -2061,20 +2560,42 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (컨트롤러가 VerificationResult DTO 에서 직접 조립)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| challenge_id | string | `00484973-8cd3-4a1d-85f2-78361feb6f0d` | 검증이 완료된 challenge 의 식별자 | +| provider_id | string | `g7:core.mail` | 이 challenge 를 처리한 프로바이더 식별자 | +| verified_at | string | `2026-05-12T18:14:19+00:00` | 검증 완료 일시 (ISO 8601, 없으면 null) | +| verification_token | string | `eyJ0eXAiOiJKV1QiLCJhbGciOi…` | 후속 민감 작업 요청에 제출할 본인인증 토큰 (`claims.verification_token`, 없으면 null) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "본인 확인이 완료되었습니다.", + "data": { + "challenge_id": "00484973-8cd3-4a1d-85f2-78361feb6f0d", + "provider_id": "g7:core.mail", + "verified_at": "2026-05-12T18:14:19+00:00", + "verification_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..." + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 401 | Unauthenticated | Bearer 토큰을 보냈으나 만료/무효인 경우 (비회원은 헤더 생략 가능) | +| 403 | Forbidden | 요구 권한(`core.identity.verify`)이 없는 경우, 또는 scope=self 가드가 본인 challenge 가 아니라고 판정한 경우 | +| 404 | Not Found | path 파라미터에 해당하는 challenge 가 없는 경우 | +| 422 | Unprocessable Entity | 검증 실패 — 응답 `error` 에 `failure_code`(예: `INVALID_CODE`/`EXPIRED`/`MAX_ATTEMPTS`) 와 서버 기준 `attempts`/`max_attempts` 를 함께 반환. 메시지는 `identity.errors.*` (`인증 코드가 올바르지 않습니다.` / `인증 시간이 만료되었습니다. 다시 시도해주세요.` / `시도 횟수를 초과했습니다. 다시 요청해주세요.` 등) | @@ -2105,19 +2626,58 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (매칭·활성 정책이 없으면 `data` 는 `null`). 컨트롤러가 UI 힌트용 최소 필드만 직접 조립하며 민감 필드는 노출하지 않습니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| policy_key | string | `sirsoft-board.report.create` | 매칭된 정책의 식별자 | +| scope | string | `hook` | 정책 적용 범위 (route / hook / custom) | +| target | string | `sirsoft-board.report.before_create` | 매칭 대상 | +| purpose | string | `sensitive_action` | 이 정책이 요구하는 인증 목적 | +| provider_id | null | `null` | 강제할 프로바이더 ID (미지정 시 null) | +| grace_minutes | integer | `30` | 재인증 유예 시간(분) — 0=매번 요구 | +| applies_to | string | `self` | 적용 대상 사용자 (self / admin / both) | +| fail_mode | string | `block` | 실패 시 동작 (block: HTTP 428 차단 / log_only: 감사 로그만) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "policy_key": "sirsoft-board.report.create", + "scope": "hook", + "target": "sirsoft-board.report.before_create", + "purpose": "sensitive_action", + "provider_id": null, + "grace_minutes": 30, + "applies_to": "self", + "fail_mode": "block" + } +} +``` + +매칭 정책이 없거나 `enabled=false` 인 경우: + +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.admin.identity.logs.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 401 | Unauthenticated | Bearer 토큰을 보냈으나 만료/무효인 경우 (비회원은 헤더 생략 가능) | +| 422 | Unprocessable Entity | 필수 쿼리 `scope`/`target` 누락 또는 길이 초과 (`error.errors` 에 필드별 메시지) | @@ -2163,7 +2723,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": [ { "id": "g7:core.mail", @@ -2251,7 +2811,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": [ { "id": "signup", diff --git a/docs/backend/api/language-packs.md b/docs/backend/api/language-packs.md index 4fab1a73..a8cbb02f 100644 --- a/docs/backend/api/language-packs.md +++ b/docs/backend/api/language-packs.md @@ -248,11 +248,41 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`LanguagePackService::bulkActivate()` 반환값)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| succeeded | array | `[3, 5]` | 활성화에 성공한 언어팩 ID 목록 | +| failed | array | `[{"id": 7, "reason": "not_found"}]` | 활성화에 실패한 항목 목록 (요소: `id`, `reason`) | +| failed[].id | integer\|string | `7` | 실패한 항목의 요청 ID (요청 `ids` 원본 값) | +| failed[].reason | string | `not_found` | 실패 사유. 대상 미존재 시 `not_found`, 그 외에는 발생한 예외 메시지 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "language_packs.bulk_activate_success", + "data": { + "succeeded": [ + 3, + 5 + ], + "failed": [ + { + "id": 7, + "reason": "not_found" + } + ] + } +} +``` + +> `message` 는 `language_packs.bulk_activate_success` 키로 응답하지만, 현재 `lang/ko/language_packs.php` 에 해당 키가 정의되어 있지 않아 번역되지 않은 키 문자열이 그대로 내려갑니다. **에러 응답** @@ -288,11 +318,51 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`LanguagePackService::checkUpdates()` 반환값)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| checked | integer | `3` | 실제로 검사한 언어팩 수 (GitHub URL 해석 가능하거나 번들 매니페스트가 있는 팩만 대상) | +| updates | integer | `1` | 검사 결과 업데이트가 있는 언어팩 수 | +| details | array | `[{"identifier": "g7-core-ja", "current": "1.0.0", "latest": "1.1.0", "has_update": true, "error": null}]` | 팩별 검사 결과 목록 | +| details[].identifier | string | `g7-core-ja` | 검사 대상 언어팩 식별자 | +| details[].current | string | `1.0.0` | 현재 설치된 버전 | +| details[].latest | string\|null | `1.1.0` | 감지된 최신 버전 (GitHub 릴리스 태그 → 실패 시 번들 매니페스트 폴백, 둘 다 없으면 null) | +| details[].has_update | boolean | `true` | `latest > current` 여부 | +| details[].error | string\|null | `null` | GitHub 조회 중 발생한 오류 메시지 (성공 시 null) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "업데이트 확인을 완료했습니다.", + "data": { + "checked": 3, + "updates": 1, + "details": [ + { + "identifier": "g7-core-ja", + "current": "1.0.0", + "latest": "1.1.0", + "has_update": true, + "error": null + }, + { + "identifier": "apidoc-sample-lang", + "current": "1.0.0", + "latest": "1.0.0", + "has_update": false, + "error": null + } + ] + } +} +``` **에러 응답** @@ -301,6 +371,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.language_packs.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 업데이트 확인 중 예외 발생 (`업데이트 확인에 실패했습니다: :error` — `language_packs.check_updates_failed`) | @@ -337,11 +408,93 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (설치된 언어팩 = `LanguagePackResource::toArray()`, 상태코드 201)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| identifier | string | `g7-core-ja` | 언어팩 고유 식별자 ({vendor}-{scope}-{target?}-{locale}) | +| vendor | string | `g7` | 언어팩 제작자 식별자 | +| scope | string | `core` | 적용 대상 분류 (core/module/plugin/template) | +| target_identifier | string\|null | `null` | 대상 확장 식별자 (scope=core 일 때 null) | +| locale | string | `ja` | IETF BCP-47 locale 태그 | +| locale_name | string | `Japanese` | 영문 언어명 | +| locale_native_name | string | `日本語` | 원어 언어명 | +| text_direction | string | `ltr` | 텍스트 방향 (ltr/rtl) | +| version | string | `1.0.0` | 설치된 언어팩 버전 | +| latest_version | string\|null | `1.0.0` | 감지된 최신 배포 버전 | +| target_version_constraint | string\|null | `null` | 대상 확장 버전 제약 (semver) | +| target_version_mismatch | boolean | `false` | 대상 버전 불일치 경고 플래그 | +| name | string\|null | `일본어 언어팩` | manifest `name` 의 현재 로케일 해석값 | +| license | string\|null | `MIT` | 라이선스 | +| description | string\|null | `코어 일본어 번역` | 언어팩 설명 (다국어) | +| status | string | `active` | 언어팩 상태 (auto_activate=true 면 active, 아니면 installed) | +| is_protected | boolean | `false` | 보호(protected) 팩 여부 | +| source_type | string | `bundled` | 설치 소스 유형 (zip/github/url/bundled/bundled_with_extension/built_in) | +| origin | string\|null | `bundled` | source_type 에서 파생된 출처 값 (`LanguagePackOrigin`) | +| source_url | string\|null | `null` | 설치 소스 URL 또는 경로 | +| github_url | string\|null | `null` | GitHub 저장소 URL (manifest 파생) | +| github_changelog_url | string\|null | `null` | GitHub 변경 이력(CHANGELOG) URL (manifest 파생) | +| bundled_identifier | string\|null | `null` | 대응하는 번들 확장 식별자 (번들 원본 매칭용) | +| install_blocked_reason | string\|null | `null` | 설치가 차단된 사유 (차단 없으면 null) | +| target_name | string\|null | `null` | 대상 확장의 표시 이름 (scope+target_identifier 로 해석) | +| installed_at | string\|null | `2026-07-05 10:41:24` | 설치 일시 (사용자 타임존) | +| activated_at | string\|null | `2026-07-05 10:41:24` | 활성화 일시 (사용자 타임존) | +| created_at | string\|null | `2026-07-05 10:41:24` | 생성 일시 | +| updated_at | string\|null | `2026-07-05 10:41:24` | 최종 수정 일시 | +| has_update | boolean | `false` | `latest_version > version` 여부 | +| abilities | object | `{"can_activate":true,"can_deactivate":true,"can_uninstall":true}` | 현재 사용자가 이 언어팩에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "언어팩을 설치했습니다.", + "data": { + "id": 1, + "identifier": "g7-core-ja", + "vendor": "g7", + "scope": "core", + "target_identifier": null, + "locale": "ja", + "locale_name": "Japanese", + "locale_native_name": "日本語", + "text_direction": "ltr", + "version": "1.0.0", + "latest_version": "1.0.0", + "target_version_constraint": null, + "target_version_mismatch": false, + "name": "일본어 언어팩", + "license": "MIT", + "description": "코어 일본어 번역", + "status": "active", + "is_protected": false, + "source_type": "bundled", + "origin": "bundled", + "source_url": null, + "github_url": null, + "github_changelog_url": null, + "bundled_identifier": null, + "install_blocked_reason": null, + "target_name": null, + "installed_at": "2026-07-05 10:41:24", + "activated_at": "2026-07-05 10:41:24", + "created_at": "2026-07-05 10:41:24", + "updated_at": "2026-07-05 10:41:24", + "has_update": false, + "abilities": { + "can_activate": true, + "can_deactivate": true, + "can_uninstall": true + } + } +} +``` **에러 응답** @@ -392,11 +545,95 @@ Content-Disposition: form-data; name="auto_activate" **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (설치된 언어팩 = `LanguagePackResource::toArray()`, 상태코드 201). 필드 구성은 [install-from-bundled](#post-apiadminlanguage-packsinstall-from-bundled) 응답과 동일합니다 — `source_type` 은 `zip`._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `2` | 기본 키 (내부 식별자) | +| identifier | string | `acme-core-de` | 언어팩 고유 식별자 | +| vendor | string | `acme` | 언어팩 제작자 식별자 | +| scope | string | `core` | 적용 대상 분류 (core/module/plugin/template) | +| target_identifier | string\|null | `null` | 대상 확장 식별자 (scope=core 일 때 null) | +| locale | string | `de` | IETF BCP-47 locale 태그 | +| locale_name | string | `German` | 영문 언어명 | +| locale_native_name | string | `Deutsch` | 원어 언어명 | +| text_direction | string | `ltr` | 텍스트 방향 (ltr/rtl) | +| version | string | `1.0.0` | 설치된 언어팩 버전 | +| latest_version | string\|null | `null` | 감지된 최신 배포 버전 | +| target_version_constraint | string\|null | `null` | 대상 확장 버전 제약 (semver) | +| target_version_mismatch | boolean | `false` | 대상 버전 불일치 경고 플래그 | +| name | string\|null | `독일어 언어팩` | manifest `name` 의 현재 로케일 해석값 | +| license | string\|null | `MIT` | 라이선스 | +| description | string\|null | `—` | 언어팩 설명 (다국어) | +| status | string | `installed` | 언어팩 상태 (auto_activate=true 면 active) | +| is_protected | boolean | `false` | 보호(protected) 팩 여부 | +| source_type | string | `zip` | 설치 소스 유형 (파일 업로드 설치이므로 zip) | +| origin | string\|null | `zip` | source_type 에서 파생된 출처 값 | +| source_url | string\|null | `null` | 설치 소스 URL 또는 경로 | +| github_url | string\|null | `null` | GitHub 저장소 URL (manifest 파생) | +| github_changelog_url | string\|null | `null` | GitHub 변경 이력(CHANGELOG) URL (manifest 파생) | +| bundled_identifier | string\|null | `null` | 대응하는 번들 확장 식별자 | +| install_blocked_reason | string\|null | `null` | 설치가 차단된 사유 (차단 없으면 null) | +| target_name | string\|null | `null` | 대상 확장의 표시 이름 | +| installed_at | string\|null | `2026-07-05 10:41:24` | 설치 일시 (사용자 타임존) | +| activated_at | string\|null | `null` | 활성화 일시 (미활성 시 null) | +| created_at | string\|null | `2026-07-05 10:41:24` | 생성 일시 | +| updated_at | string\|null | `2026-07-05 10:41:24` | 최종 수정 일시 | +| has_update | boolean | `false` | `latest_version > version` 여부 | +| abilities | object | `{"can_activate":true,"can_deactivate":true,"can_uninstall":true}` | 현재 사용자가 이 언어팩에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "언어팩을 설치했습니다.", + "data": { + "id": 2, + "identifier": "acme-core-de", + "vendor": "acme", + "scope": "core", + "target_identifier": null, + "locale": "de", + "locale_name": "German", + "locale_native_name": "Deutsch", + "text_direction": "ltr", + "version": "1.0.0", + "latest_version": null, + "target_version_constraint": null, + "target_version_mismatch": false, + "name": "독일어 언어팩", + "license": "MIT", + "description": null, + "status": "installed", + "is_protected": false, + "source_type": "zip", + "origin": "zip", + "source_url": null, + "github_url": null, + "github_changelog_url": null, + "bundled_identifier": null, + "install_blocked_reason": null, + "target_name": null, + "installed_at": "2026-07-05 10:41:24", + "activated_at": null, + "created_at": "2026-07-05 10:41:24", + "updated_at": "2026-07-05 10:41:24", + "has_update": false, + "abilities": { + "can_activate": true, + "can_deactivate": true, + "can_uninstall": true + } + } +} +``` + +> manifest 검증 실패 시 422 (`language-pack.json 검증에 실패했습니다.`), 그 외 설치 실패 시 500 (`언어팩 설치에 실패했습니다: :error`) 으로 응답합니다. **에러 응답** @@ -441,11 +678,93 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (설치된 언어팩 = `LanguagePackResource::toArray()`, 상태코드 201). 필드 구성은 install-from-bundled 응답과 동일하며 `source_type` 이 `github`, `source_url`/`github_url` 에 저장소 URL 이 들어갑니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `3` | 기본 키 (내부 식별자) | +| identifier | string | `acme-core-es` | 언어팩 고유 식별자 | +| vendor | string | `acme` | 언어팩 제작자 식별자 | +| scope | string | `core` | 적용 대상 분류 (core/module/plugin/template) | +| target_identifier | string\|null | `null` | 대상 확장 식별자 (scope=core 일 때 null) | +| locale | string | `es` | IETF BCP-47 locale 태그 | +| locale_name | string | `Spanish` | 영문 언어명 | +| locale_native_name | string | `Español` | 원어 언어명 | +| text_direction | string | `ltr` | 텍스트 방향 (ltr/rtl) | +| version | string | `1.0.0` | 설치된 언어팩 버전 (GitHub 최신 릴리스 태그 기준) | +| latest_version | string\|null | `1.0.0` | 감지된 최신 배포 버전 | +| target_version_constraint | string\|null | `null` | 대상 확장 버전 제약 (semver) | +| target_version_mismatch | boolean | `false` | 대상 버전 불일치 경고 플래그 | +| name | string\|null | `스페인어 언어팩` | manifest `name` 의 현재 로케일 해석값 | +| license | string\|null | `MIT` | 라이선스 | +| description | string\|null | `—` | 언어팩 설명 (다국어) | +| status | string | `active` | 언어팩 상태 (auto_activate=true 면 active, 아니면 installed) | +| is_protected | boolean | `false` | 보호(protected) 팩 여부 | +| source_type | string | `github` | 설치 소스 유형 | +| origin | string\|null | `github` | source_type 에서 파생된 출처 값 | +| source_url | string\|null | `https://github.com/acme/g7-core-es` | 설치에 사용한 GitHub 저장소 URL | +| github_url | string\|null | `https://github.com/acme/g7-core-es` | GitHub 저장소 URL (manifest 파생) | +| github_changelog_url | string\|null | `null` | GitHub 변경 이력(CHANGELOG) URL (manifest 파생) | +| bundled_identifier | string\|null | `null` | 대응하는 번들 확장 식별자 | +| install_blocked_reason | string\|null | `null` | 설치가 차단된 사유 (차단 없으면 null) | +| target_name | string\|null | `null` | 대상 확장의 표시 이름 | +| installed_at | string\|null | `2026-07-05 10:41:24` | 설치 일시 (사용자 타임존) | +| activated_at | string\|null | `2026-07-05 10:41:24` | 활성화 일시 | +| created_at | string\|null | `2026-07-05 10:41:24` | 생성 일시 | +| updated_at | string\|null | `2026-07-05 10:41:24` | 최종 수정 일시 | +| has_update | boolean | `false` | `latest_version > version` 여부 | +| abilities | object | `{"can_activate":true,"can_deactivate":true,"can_uninstall":true}` | 현재 사용자가 이 언어팩에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "언어팩을 설치했습니다.", + "data": { + "id": 3, + "identifier": "acme-core-es", + "vendor": "acme", + "scope": "core", + "target_identifier": null, + "locale": "es", + "locale_name": "Spanish", + "locale_native_name": "Español", + "text_direction": "ltr", + "version": "1.0.0", + "latest_version": "1.0.0", + "target_version_constraint": null, + "target_version_mismatch": false, + "name": "스페인어 언어팩", + "license": "MIT", + "description": null, + "status": "active", + "is_protected": false, + "source_type": "github", + "origin": "github", + "source_url": "https://github.com/acme/g7-core-es", + "github_url": "https://github.com/acme/g7-core-es", + "github_changelog_url": null, + "bundled_identifier": null, + "install_blocked_reason": null, + "target_name": null, + "installed_at": "2026-07-05 10:41:24", + "activated_at": "2026-07-05 10:41:24", + "created_at": "2026-07-05 10:41:24", + "updated_at": "2026-07-05 10:41:24", + "has_update": false, + "abilities": { + "can_activate": true, + "can_deactivate": true, + "can_uninstall": true + } + } +} +``` **에러 응답** @@ -494,11 +813,95 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (설치된 언어팩 = `LanguagePackResource::toArray()`, 상태코드 201). 필드 구성은 install-from-bundled 응답과 동일하며 `source_type` 이 `url`, `source_url` 에 다운로드 URL 이 들어갑니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `4` | 기본 키 (내부 식별자) | +| identifier | string | `acme-core-it` | 언어팩 고유 식별자 | +| vendor | string | `acme` | 언어팩 제작자 식별자 | +| scope | string | `core` | 적용 대상 분류 (core/module/plugin/template) | +| target_identifier | string\|null | `null` | 대상 확장 식별자 (scope=core 일 때 null) | +| locale | string | `it` | IETF BCP-47 locale 태그 | +| locale_name | string | `Italian` | 영문 언어명 | +| locale_native_name | string | `Italiano` | 원어 언어명 | +| text_direction | string | `ltr` | 텍스트 방향 (ltr/rtl) | +| version | string | `1.0.0` | 설치된 언어팩 버전 | +| latest_version | string\|null | `null` | 감지된 최신 배포 버전 | +| target_version_constraint | string\|null | `null` | 대상 확장 버전 제약 (semver) | +| target_version_mismatch | boolean | `false` | 대상 버전 불일치 경고 플래그 | +| name | string\|null | `이탈리아어 언어팩` | manifest `name` 의 현재 로케일 해석값 | +| license | string\|null | `MIT` | 라이선스 | +| description | string\|null | `—` | 언어팩 설명 (다국어) | +| status | string | `active` | 언어팩 상태 (auto_activate=true 면 active, 아니면 installed) | +| is_protected | boolean | `false` | 보호(protected) 팩 여부 | +| source_type | string | `url` | 설치 소스 유형 | +| origin | string\|null | `url` | source_type 에서 파생된 출처 값 | +| source_url | string\|null | `https://cdn.example.com/acme-core-it.zip` | 다운로드에 사용한 URL | +| github_url | string\|null | `null` | GitHub 저장소 URL (manifest 파생) | +| github_changelog_url | string\|null | `null` | GitHub 변경 이력(CHANGELOG) URL (manifest 파생) | +| bundled_identifier | string\|null | `null` | 대응하는 번들 확장 식별자 | +| install_blocked_reason | string\|null | `null` | 설치가 차단된 사유 (차단 없으면 null) | +| target_name | string\|null | `null` | 대상 확장의 표시 이름 | +| installed_at | string\|null | `2026-07-05 10:41:24` | 설치 일시 (사용자 타임존) | +| activated_at | string\|null | `2026-07-05 10:41:24` | 활성화 일시 | +| created_at | string\|null | `2026-07-05 10:41:24` | 생성 일시 | +| updated_at | string\|null | `2026-07-05 10:41:24` | 최종 수정 일시 | +| has_update | boolean | `false` | `latest_version > version` 여부 | +| abilities | object | `{"can_activate":true,"can_deactivate":true,"can_uninstall":true}` | 현재 사용자가 이 언어팩에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "언어팩을 설치했습니다.", + "data": { + "id": 4, + "identifier": "acme-core-it", + "vendor": "acme", + "scope": "core", + "target_identifier": null, + "locale": "it", + "locale_name": "Italian", + "locale_native_name": "Italiano", + "text_direction": "ltr", + "version": "1.0.0", + "latest_version": null, + "target_version_constraint": null, + "target_version_mismatch": false, + "name": "이탈리아어 언어팩", + "license": "MIT", + "description": null, + "status": "active", + "is_protected": false, + "source_type": "url", + "origin": "url", + "source_url": "https://cdn.example.com/acme-core-it.zip", + "github_url": null, + "github_changelog_url": null, + "bundled_identifier": null, + "install_blocked_reason": null, + "target_name": null, + "installed_at": "2026-07-05 10:41:24", + "activated_at": "2026-07-05 10:41:24", + "created_at": "2026-07-05 10:41:24", + "updated_at": "2026-07-05 10:41:24", + "has_update": false, + "abilities": { + "can_activate": true, + "can_deactivate": true, + "can_uninstall": true + } + } +} +``` + +> `checksum` 불일치 시 500 (`체크섬이 일치하지 않습니다.`), manifest 검증 실패 시 422 로 응답합니다. **에러 응답** @@ -544,11 +947,51 @@ Content-Type: application/octet-stream **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`LanguagePackService::previewManifest()` 반환값)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| manifest | object | `{"identifier":"acme-core-de","locale":"de","version":"1.0.0"}` | ZIP 안 `language-pack.json` 원본 전체 (파싱된 객체) | +| validation | object | `{"errors":[],"is_valid":true,...}` | manifest 검증 결과 요약 | +| validation.errors | array | `[]` | 검증 실패 메시지 목록 (통과 시 빈 배열) | +| validation.is_valid | boolean | `true` | 검증 통과 여부 (`errors` 가 비어 있으면 true) | +| validation.already_installed | boolean | `false` | 동일 `identifier` 언어팩이 이미 설치되어 있는지 여부 | +| validation.existing_version | string\|null | `null` | 이미 설치되어 있다면 그 버전 (없으면 null) | +| validation.target_version_mismatch | boolean | `false` | 대상 확장 버전이 manifest 요구 조건과 어긋나는지 여부 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "manifest 미리보기를 완료했습니다.", + "data": { + "manifest": { + "identifier": "acme-core-de", + "vendor": "acme", + "scope": "core", + "locale": "de", + "version": "1.0.0", + "name": { + "ko": "독일어 언어팩", + "en": "German Language Pack" + }, + "license": "MIT" + }, + "validation": { + "errors": [], + "is_valid": true, + "already_installed": false, + "existing_version": null, + "target_version_mismatch": false + } + } +} +``` **에러 응답** @@ -584,11 +1027,33 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`LanguagePackService::refreshCache()` 반환값 — 각 캐시 계층의 무효화 성공 여부)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| registry | boolean | `true` | 언어팩 레지스트리 캐시 무효화 성공 여부 | +| translator | boolean | `true` | Laravel 번역기(loaded 번역 배열) 초기화 성공 여부 | +| template | boolean | `true` | 템플릿 언어(`template-lang`) 캐시 플러시 성공 여부 | +| version | boolean | `true` | 프론트엔드 cache busting 용 확장 캐시 버전 증가 성공 여부 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "언어팩 캐시를 갱신했습니다.", + "data": { + "registry": true, + "translator": true, + "template": true, + "version": true + } +} +``` **에러 응답** @@ -627,11 +1092,23 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — 컨트롤러가 `success('language_packs.uninstall_success')` 만 호출하므로 `data` 는 `null`)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "언어팩을 제거했습니다.", + "data": null +} +``` + +> 보호된 언어팩(`is_protected`)은 제거할 수 없으며, 이 경우 500 (`언어팩 제거에 실패했습니다: 보호된 언어팩은 비활성화/제거할 수 없습니다.`) 으로 응답합니다. **에러 응답** @@ -713,11 +1190,108 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (활성화된 언어팩 = `LanguagePackResource::toArray()`). 필드 구성은 [GET /api/admin/language-packs/{id}](#get-apiadminlanguage-packsid) 의 `manifest`/`validation_summary`/`source_meta`/`changelog_entries` 4개를 제외한 나머지와 동일합니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| identifier | string | `apidoc-sample-lang` | 언어팩 고유 식별자 | +| vendor | string | `apidoc` | 언어팩 제작자 식별자 | +| scope | string | `core` | 적용 대상 분류 (core/module/plugin/template) | +| target_identifier | string\|null | `null` | 대상 확장 식별자 (scope=core 일 때 null) | +| locale | string | `fr` | IETF BCP-47 locale 태그 | +| locale_name | string | `French` | 영문 언어명 | +| locale_native_name | string | `Français` | 원어 언어명 | +| text_direction | string | `ltr` | 텍스트 방향 (ltr/rtl) | +| version | string | `1.0.0` | 언어팩 버전 | +| latest_version | string\|null | `1.0.0` | 감지된 최신 배포 버전 | +| target_version_constraint | string\|null | `null` | 대상 확장 버전 제약 (semver) | +| target_version_mismatch | boolean | `false` | 대상 버전 불일치 경고 플래그 | +| name | string\|null | `API 문서 샘플 언어팩` | manifest `name` 의 현재 로케일 해석값 | +| license | string\|null | `MIT` | 라이선스 | +| description | string\|null | `문서 실측용 언어팩` | 언어팩 설명 (다국어) | +| status | string | `active` | 활성화 후 상태 (`active`) | +| is_protected | boolean | `false` | 보호(protected) 팩 여부 | +| source_type | string | `bundled` | 설치 소스 유형 | +| origin | string\|null | `bundled` | source_type 에서 파생된 출처 값 | +| source_url | string\|null | `null` | 설치 소스 URL 또는 경로 | +| github_url | string\|null | `null` | GitHub 저장소 URL (manifest 파생) | +| github_changelog_url | string\|null | `null` | GitHub 변경 이력(CHANGELOG) URL (manifest 파생) | +| bundled_identifier | string\|null | `null` | 대응하는 번들 확장 식별자 | +| install_blocked_reason | string\|null | `null` | 설치가 차단된 사유 (차단 없으면 null) | +| target_name | string\|null | `null` | 대상 확장의 표시 이름 | +| installed_at | string\|null | `2026-07-05 10:41:24` | 설치 일시 (사용자 타임존) | +| activated_at | string\|null | `2026-07-05 10:41:24` | 활성화 일시 (사용자 타임존) | +| created_at | string\|null | `2026-07-08 10:41:24` | 생성 일시 | +| updated_at | string\|null | `2026-07-08 10:41:24` | 최종 수정 일시 | +| has_update | boolean | `false` | `latest_version > version` 여부 | +| abilities | object | `{"can_activate":true,"can_deactivate":true,"can_uninstall":true}` | 현재 사용자가 이 언어팩에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "언어팩을 활성화했습니다.", + "data": { + "id": 1, + "identifier": "apidoc-sample-lang", + "vendor": "apidoc", + "scope": "core", + "target_identifier": null, + "locale": "fr", + "locale_name": "French", + "locale_native_name": "Français", + "text_direction": "ltr", + "version": "1.0.0", + "latest_version": "1.0.0", + "target_version_constraint": null, + "target_version_mismatch": false, + "name": "API 문서 샘플 언어팩", + "license": "MIT", + "description": "문서 실측용 언어팩", + "status": "active", + "is_protected": false, + "source_type": "bundled", + "origin": "bundled", + "source_url": null, + "github_url": null, + "github_changelog_url": null, + "bundled_identifier": null, + "install_blocked_reason": null, + "target_name": null, + "installed_at": "2026-07-05 10:41:24", + "activated_at": "2026-07-05 10:41:24", + "created_at": "2026-07-08 10:41:24", + "updated_at": "2026-07-08 10:41:24", + "has_update": false, + "abilities": { + "can_activate": true, + "can_deactivate": true, + "can_uninstall": true + } + } +} +``` + +**슬롯 충돌(409) 응답** + +동일 슬롯(scope·target·locale)에 다른 활성 팩이 있고 `force=true` 가 아니면 409 로 응답하며, `errors` 에 현재 팩(`current`)과 대상 팩(`target`)이 위 필드 구성 그대로 담깁니다. + +```json +{ + "success": false, + "message": "같은 슬롯에 이미 활성 언어팩(:current)이 있습니다. (:target)으로 교체하려면 확인이 필요합니다.", + "errors": { + "current": { "id": 1, "identifier": "apidoc-sample-lang", "status": "active" }, + "target": { "id": 2, "identifier": "acme-core-fr", "status": "installed" } + } +} +``` **에러 응답** @@ -799,11 +1373,95 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (비활성화된 언어팩 = `LanguagePackResource::toArray()`). 필드 구성은 activate 응답과 동일하며 `status` 만 `inactive` 로 바뀝니다 (`activated_at` 은 마지막 활성화 시각 그대로 유지)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| identifier | string | `apidoc-sample-lang` | 언어팩 고유 식별자 | +| vendor | string | `apidoc` | 언어팩 제작자 식별자 | +| scope | string | `core` | 적용 대상 분류 (core/module/plugin/template) | +| target_identifier | string\|null | `null` | 대상 확장 식별자 (scope=core 일 때 null) | +| locale | string | `fr` | IETF BCP-47 locale 태그 | +| locale_name | string | `French` | 영문 언어명 | +| locale_native_name | string | `Français` | 원어 언어명 | +| text_direction | string | `ltr` | 텍스트 방향 (ltr/rtl) | +| version | string | `1.0.0` | 언어팩 버전 | +| latest_version | string\|null | `1.0.0` | 감지된 최신 배포 버전 | +| target_version_constraint | string\|null | `null` | 대상 확장 버전 제약 (semver) | +| target_version_mismatch | boolean | `false` | 대상 버전 불일치 경고 플래그 | +| name | string\|null | `API 문서 샘플 언어팩` | manifest `name` 의 현재 로케일 해석값 | +| license | string\|null | `MIT` | 라이선스 | +| description | string\|null | `문서 실측용 언어팩` | 언어팩 설명 (다국어) | +| status | string | `inactive` | 비활성화 후 상태 | +| is_protected | boolean | `false` | 보호(protected) 팩 여부 (보호 팩은 비활성화 불가) | +| source_type | string | `bundled` | 설치 소스 유형 | +| origin | string\|null | `bundled` | source_type 에서 파생된 출처 값 | +| source_url | string\|null | `null` | 설치 소스 URL 또는 경로 | +| github_url | string\|null | `null` | GitHub 저장소 URL (manifest 파생) | +| github_changelog_url | string\|null | `null` | GitHub 변경 이력(CHANGELOG) URL (manifest 파생) | +| bundled_identifier | string\|null | `null` | 대응하는 번들 확장 식별자 | +| install_blocked_reason | string\|null | `null` | 설치가 차단된 사유 (차단 없으면 null) | +| target_name | string\|null | `null` | 대상 확장의 표시 이름 | +| installed_at | string\|null | `2026-07-05 10:41:24` | 설치 일시 (사용자 타임존) | +| activated_at | string\|null | `2026-07-05 10:41:24` | 마지막 활성화 일시 (비활성화 시에도 초기화되지 않음) | +| created_at | string\|null | `2026-07-08 10:41:24` | 생성 일시 | +| updated_at | string\|null | `2026-07-08 10:41:24` | 최종 수정 일시 | +| has_update | boolean | `false` | `latest_version > version` 여부 | +| abilities | object | `{"can_activate":true,"can_deactivate":true,"can_uninstall":true}` | 현재 사용자가 이 언어팩에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "언어팩을 비활성화했습니다.", + "data": { + "id": 1, + "identifier": "apidoc-sample-lang", + "vendor": "apidoc", + "scope": "core", + "target_identifier": null, + "locale": "fr", + "locale_name": "French", + "locale_native_name": "Français", + "text_direction": "ltr", + "version": "1.0.0", + "latest_version": "1.0.0", + "target_version_constraint": null, + "target_version_mismatch": false, + "name": "API 문서 샘플 언어팩", + "license": "MIT", + "description": "문서 실측용 언어팩", + "status": "inactive", + "is_protected": false, + "source_type": "bundled", + "origin": "bundled", + "source_url": null, + "github_url": null, + "github_changelog_url": null, + "bundled_identifier": null, + "install_blocked_reason": null, + "target_name": null, + "installed_at": "2026-07-05 10:41:24", + "activated_at": "2026-07-05 10:41:24", + "created_at": "2026-07-08 10:41:24", + "updated_at": "2026-07-08 10:41:24", + "has_update": false, + "abilities": { + "can_activate": true, + "can_deactivate": true, + "can_uninstall": true + } + } +} +``` + +> 보호된 언어팩은 비활성화할 수 없으며, 이 경우 500 (`언어팩 비활성화에 실패했습니다: 보호된 언어팩은 비활성화/제거할 수 없습니다.`) 으로 응답합니다. 같은 슬롯에 다른 후보 팩이 있으면 가장 최근 inactive/installed 팩이 자동으로 활성 승격됩니다. **에러 응답** @@ -842,11 +1500,95 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (업데이트된 언어팩 = `LanguagePackResource::toArray()`). 필드 구성은 activate/deactivate 응답과 동일하며 `version` 이 새 버전으로 갱신되고 `has_update` 가 `false` 가 됩니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `3` | 기본 키 (내부 식별자) | +| identifier | string | `acme-core-es` | 언어팩 고유 식별자 | +| vendor | string | `acme` | 언어팩 제작자 식별자 | +| scope | string | `core` | 적용 대상 분류 (core/module/plugin/template) | +| target_identifier | string\|null | `null` | 대상 확장 식별자 (scope=core 일 때 null) | +| locale | string | `es` | IETF BCP-47 locale 태그 | +| locale_name | string | `Spanish` | 영문 언어명 | +| locale_native_name | string | `Español` | 원어 언어명 | +| text_direction | string | `ltr` | 텍스트 방향 (ltr/rtl) | +| version | string | `1.1.0` | 업데이트 후 적용된 버전 | +| latest_version | string\|null | `1.1.0` | 감지된 최신 배포 버전 | +| target_version_constraint | string\|null | `null` | 대상 확장 버전 제약 (semver) | +| target_version_mismatch | boolean | `false` | 대상 버전 불일치 경고 플래그 | +| name | string\|null | `스페인어 언어팩` | manifest `name` 의 현재 로케일 해석값 | +| license | string\|null | `MIT` | 라이선스 | +| description | string\|null | `—` | 언어팩 설명 (다국어) | +| status | string | `active` | 언어팩 상태 (업데이트 전 상태 유지) | +| is_protected | boolean | `false` | 보호(protected) 팩 여부 | +| source_type | string | `github` | 설치 소스 유형 (업데이트는 GitHub/번들 소스만 가능) | +| origin | string\|null | `github` | source_type 에서 파생된 출처 값 | +| source_url | string\|null | `https://github.com/acme/g7-core-es` | 설치 소스 URL 또는 경로 | +| github_url | string\|null | `https://github.com/acme/g7-core-es` | GitHub 저장소 URL (manifest 파생) | +| github_changelog_url | string\|null | `null` | GitHub 변경 이력(CHANGELOG) URL (manifest 파생) | +| bundled_identifier | string\|null | `null` | 대응하는 번들 확장 식별자 | +| install_blocked_reason | string\|null | `null` | 설치가 차단된 사유 (차단 없으면 null) | +| target_name | string\|null | `null` | 대상 확장의 표시 이름 | +| installed_at | string\|null | `2026-07-05 10:41:24` | 설치 일시 (사용자 타임존) | +| activated_at | string\|null | `2026-07-05 10:41:24` | 활성화 일시 (사용자 타임존) | +| created_at | string\|null | `2026-07-05 10:41:24` | 생성 일시 | +| updated_at | string\|null | `2026-07-09 09:12:00` | 최종 수정 일시 (업데이트 시각으로 갱신) | +| has_update | boolean | `false` | `latest_version > version` 여부 (업데이트 직후 false) | +| abilities | object | `{"can_activate":true,"can_deactivate":true,"can_uninstall":true}` | 현재 사용자가 이 언어팩에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "언어팩을 업데이트했습니다.", + "data": { + "id": 3, + "identifier": "acme-core-es", + "vendor": "acme", + "scope": "core", + "target_identifier": null, + "locale": "es", + "locale_name": "Spanish", + "locale_native_name": "Español", + "text_direction": "ltr", + "version": "1.1.0", + "latest_version": "1.1.0", + "target_version_constraint": null, + "target_version_mismatch": false, + "name": "스페인어 언어팩", + "license": "MIT", + "description": null, + "status": "active", + "is_protected": false, + "source_type": "github", + "origin": "github", + "source_url": "https://github.com/acme/g7-core-es", + "github_url": "https://github.com/acme/g7-core-es", + "github_changelog_url": null, + "bundled_identifier": null, + "install_blocked_reason": null, + "target_name": null, + "installed_at": "2026-07-05 10:41:24", + "activated_at": "2026-07-05 10:41:24", + "created_at": "2026-07-05 10:41:24", + "updated_at": "2026-07-09 09:12:00", + "has_update": false, + "abilities": { + "can_activate": true, + "can_deactivate": true, + "can_uninstall": true + } + } +} +``` + +> 업데이트 소스 정보가 없거나(`업데이트 소스 정보가 없습니다 (GitHub 소스 언어팩만 업데이트 가능).`) 이미 최신 버전이면(`이미 최신 버전입니다.`) 500 (`언어팩 업데이트에 실패했습니다: :error`) 으로 응답합니다. **에러 응답** diff --git a/docs/backend/api/layouts.md b/docs/backend/api/layouts.md index 335e14b6..17c494c5 100644 --- a/docs/backend/api/layouts.md +++ b/docs/backend/api/layouts.md @@ -67,7 +67,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 | 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | | --- | --- | --- | --- | --- | --- | -| token | path | string | 예 | — | 인증/검증 토큰 | +| token | path | string | 예 | — | 미리보기 토큰(UUID). `LayoutPreviewService::createPreview` 가 발급하며 기본 30분 후 만료 | **요청 예시** @@ -80,17 +80,76 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_이 엔드포인트는 `success`/`message`/`data` 봉투를 사용하지 않습니다. `LayoutPreviewController@serve` 가 `response()->json($layout)` 로 **병합된 레이아웃 JSON 객체를 최상위(root)에 그대로** 반환합니다 (상속 병합 + 모듈/플러그인 확장 적용 완료 상태). 아래는 레이아웃 JSON의 최상위 키이며, 실제 포함 여부는 저장된 레이아웃 content 에 따라 달라집니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| version | string | `"1.0"` | 레이아웃 스키마 버전 (저장 시 필수) | +| layout_name | string | `"product_list"` | 레이아웃 이름 (식별자) | +| extends | string\|null | `"_user_base"` | 상속할 베이스 레이아웃 이름 (미리보기 서빙 시 이미 병합됨) | +| slots | object | `{"content": [ ... ]}` | 베이스 레이아웃 슬롯에 삽입할 컴포넌트 배열 (extends 레이아웃) | +| components | array | `[{"type":"basic","name":"Div", ...}]` | 렌더링할 컴포넌트 트리 (병합·확장 적용 결과) | +| endpoint | string\|null | `"/api/products"` | 화면이 주로 fetch 하는 데이터 API 경로 (레거시·선택) | +| data_sources | array | `[{"id":"products","endpoint":"/api/products","method":"GET"}]` | 화면이 로드하는 API 데이터 소스 정의 | +| meta | object | `{"title":"상품 목록","auth_required":false}` | 메타 정보 (title, description, keywords, auth_required, is_base, guest_only, is_error_layout, error_code, seo) | +| permissions | array\|object | `["core.templates.layouts.edit"]` | 레이아웃 접근에 필요한 권한 (flat 배열=AND, 구조화 객체=OR/AND 중첩) | +| modals | object | `{}` | 모달 컴포넌트 정의 | +| state / init_state / initLocal / initGlobal / initIsolated / global_state | object | `{}` | 레이아웃 레벨 초기 상태 정의 | +| init_actions | array | `[{"handler":"apiCall", ...}]` | 레이아웃 로드 시 실행할 초기화 액션 | +| actions / named_actions | array\|object | `{}` | 재사용 가능한 액션 정의 | +| computed | object | `{}` | 계산된 값 정의 | +| defines | object | `{}` | 재사용 가능한 컴포넌트 조각 정의 | +| errorHandling | object | `{"404":{"handler":"navigate"}}` | 상태 코드별 에러 처리 정책 | +| globalHeaders | array | `[{"pattern":"*","headers":{"X-Foo":"bar"}}]` | API 호출 시 자동 적용되는 HTTP 헤더 규칙 | +| transition_overlay | object | `{"enabled":true,"style":"blur"}` | 페이지 전환 오버레이 설정 | +| routes | array | `[]` | 라우트 정의 | +| pageConfig / schema | object | `{}` | 플러그인 설정 레이아웃 전용 (설정 UI 안내/스키마) | **응답 예시** - +```json +{ + "version": "1.0", + "layout_name": "product_list", + "meta": { + "title": "상품 목록", + "auth_required": false + }, + "data_sources": [ + { + "id": "products", + "endpoint": "/api/products", + "method": "GET" + } + ], + "components": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "p-4" + }, + "children": [] + } + ] +} +``` + +404 응답은 봉투 형식입니다 (`BaseApiController::notFound` → `templates.layout_not_found`). + +```json +{ + "success": false, + "message": "레이아웃을 찾을 수 없습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 토큰에 해당하는 미리보기가 없거나 만료된 경우 (`templates.layout_not_found`) | @@ -148,8 +207,8 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 | 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | | --- | --- | --- | --- | --- | --- | -| templateIdentifier | path | string | 예 | — | 대상 template의 식별자 | -| layoutName | path | string | 예 | — | 대상 layout의 이름 (식별자) | +| templateIdentifier | path | string | 예 | — | 레이아웃을 서빙할 활성 템플릿의 식별자 (예: `sirsoft-basic`) — 미존재/비활성 시 404 | +| layoutName | path | string | 예 | — | 서빙할 레이아웃 이름 (예: `product_list`) | **요청 예시** @@ -162,17 +221,78 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 는 병합된 레이아웃 JSON 객체입니다 (상속 병합 + 모듈/플러그인 확장 적용 + 사용자별 컴포넌트 권한 필터링 완료). 실제 포함 키는 저장된 레이아웃 content 에 따라 달라집니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| version | string | `"1.0"` | 레이아웃 스키마 버전 | +| layout_name | string | `"product_list"` | 레이아웃 이름 (식별자) | +| extends | string\|null | `"_user_base"` | 상속한 베이스 레이아웃 이름 (서빙 시 이미 병합 반영됨) | +| slots | object | `{"content": [ ... ]}` | 베이스 슬롯에 삽입되는 컴포넌트 배열 (extends 레이아웃) | +| components | array | `[{"type":"basic","name":"Div", ...}]` | 렌더링할 컴포넌트 트리 (병합·확장·권한 필터 적용 결과) | +| endpoint | string\|null | `"/api/products"` | 화면이 주로 fetch 하는 데이터 API 경로 (레거시·선택) | +| data_sources | array | `[{"id":"products","endpoint":"/api/products","method":"GET"}]` | 화면이 로드하는 API 데이터 소스 정의 | +| meta | object | `{"title":"상품 목록","auth_required":false}` | 메타 정보 (title, description, keywords, auth_required, is_base, guest_only, is_error_layout, error_code, seo) | +| permissions | array\|object | `["core.templates.layouts.edit"]` | 레이아웃 접근에 필요한 권한 (flat 배열=AND, 구조화 객체=OR/AND 중첩) | +| modals | object | `{}` | 모달 컴포넌트 정의 | +| state / init_state / initLocal / initGlobal / initIsolated / global_state | object | `{}` | 레이아웃 레벨 초기 상태 정의 | +| init_actions | array | `[{"handler":"apiCall", ...}]` | 레이아웃 로드 시 실행할 초기화 액션 | +| actions / named_actions | array\|object | `{}` | 재사용 가능한 액션 정의 | +| computed | object | `{}` | 계산된 값 정의 | +| defines | object | `{}` | 재사용 가능한 컴포넌트 조각 정의 | +| errorHandling | object | `{"404":{"handler":"navigate"}}` | 상태 코드별 에러 처리 정책 | +| globalHeaders | array | `[{"pattern":"*","headers":{"X-Foo":"bar"}}]` | API 호출 시 자동 적용되는 HTTP 헤더 규칙 | +| transition_overlay | object | `{"enabled":true,"style":"blur"}` | 페이지 전환 오버레이 설정 | +| routes | array | `[]` | 라우트 정의 | +| pageConfig / schema | object | `{}` | 플러그인 설정 레이아웃 전용 (설정 UI 안내/스키마) | +| lock_version | integer | `3` | 낙관적 잠금 버전. `with_source_meta=1` 일 때만 부착 (편집기 저장 시 `expected_lock_version` 으로 되돌려 보냄) | +| __editor | object | `{"original": { ... }}` | 자식 레이아웃의 저장 원본 content. `with_source_meta=1` 일 때만 부착 (편집기 전용) | +| __source (각 노드 내부) | object | `{"kind":"base","layout":"_user_base"}` | 각 컴포넌트/데이터소스 노드의 출처 메타 (`base` / `extension` / `partial` / `route`). `with_source_meta=1` 일 때만 부착 | + +응답 헤더: `ETag`(본문 md5), `Cache-Control: public, max-age=3600`, `Vary: Accept-Encoding, Accept-Language`. 클라이언트 `If-None-Match` 가 일치하면 본문 없이 `304 Not Modified` 를 반환합니다. **응답 예시** - +```json +{ + "success": true, + "message": "레이아웃이 제공되었습니다.", + "data": { + "version": "1.0", + "layout_name": "product_list", + "meta": { + "title": "상품 목록", + "auth_required": false + }, + "data_sources": [ + { + "id": "products", + "endpoint": "/api/products", + "method": "GET" + } + ], + "components": [ + { + "type": "basic", + "name": "Div", + "props": { + "className": "p-4" + }, + "children": [] + } + ] + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 304 | Not Modified | 요청의 `If-None-Match` 가 현재 ETag 와 일치 (본문 없음) | +| 401 | Unauthorized | 비회원이 `permissions` 요구 레이아웃에 접근 (`auth.layout_guest_permission_denied`), 또는 비회원이 `with_source_meta=1` 요청 | +| 403 | Forbidden | 회원이지만 레이아웃 `permissions` 미충족 (`auth.layout_permission_denied`), 또는 `with_source_meta=1` 요청 시 `core.templates.layouts.edit` 권한 없음 | +| 404 | Not Found | 템플릿이 없거나 비활성 상태, 또는 레이아웃/부모 레이아웃 미존재 (`templates.layout_not_found`) | diff --git a/docs/backend/api/locales.md b/docs/backend/api/locales.md index a9159777..21abfb42 100644 --- a/docs/backend/api/locales.md +++ b/docs/backend/api/locales.md @@ -69,7 +69,7 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). _ +_이 엔드포인트는 도메인 에러를 반환하지 않습니다. 공개 조회이므로 인증 실패(401)가 없고, 요청 파라미터가 없어 검증 실패(422)도 발생하지 않으며, 컨트롤러(`LocaleController@active`)와 `LanguagePackService::getActiveLocales()` 경로에서 던지는 예외도 없습니다._ diff --git a/docs/backend/api/me.md b/docs/backend/api/me.md index fbe14598..0c4f08bf 100644 --- a/docs/backend/api/me.md +++ b/docs/backend/api/me.md @@ -38,11 +38,17 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** - +```json +{ + "success": true, + "message": "회원 탈퇴가 완료되었습니다.", + "data": null +} +``` **에러 응답** @@ -309,11 +315,83 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`UserResource::toArray()` 산물 — GET /api/me 의 `toProfileArray()` 와 필드 구성이 다르다)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| uuid | string | `a234c2b1-cde8-437f-b28b-23323be2b98d` | 외부 노출용 UUID (URL/API 식별자, 내부 id 비노출) | +| name | string | `홍길동` | 사용자 이름 | +| nickname | string\|null | `gildong` | 닉네임 | +| email | string | `user@example.com` | 이메일 주소 | +| avatar | string\|null | `null` | 아바타 이미지 URL (`User::getAvatarUrl()` 산물, 미등록 시 null) | +| language | string | `ko` | 사용자 언어 설정 (ko: 한국어, en: 영어) | +| language_label | string\|null | `한국어` | 언어 코드의 다국어 라벨 (`user.language.{code}` 번역문) | +| country | string\|null | `KR` | 국가 코드 (ISO 3166-1 alpha-2) | +| status | string | `active` | 계정 상태 (active, inactive, blocked, withdrawn, pending_verification) | +| status_label | string\|null | `활성` | 상태의 사람이 읽는 라벨 (UserStatus::label() 산물) | +| status_variant | string\|null | `success` | 상태 표시 색상/스타일 변형 키 (UserStatus::variant() 산물 — UI 배지용) | +| is_admin | boolean | `false` | 관리자 역할 보유 여부 (`User::isAdmin()` — 역할 관계 기반 파생) | +| homepage | string\|null | `https://example.com` | 홈페이지 URL | +| mobile | string\|null | `010-1234-5678` | 휴대폰 번호 | +| phone | string\|null | `02-123-4567` | 전화번호 | +| zipcode | string\|null | `06234` | 우편번호 | +| address | string\|null | `서울특별시 강남구 테헤란로 1` | 기본 주소 | +| address_detail | string\|null | `101동 202호` | 상세 주소 | +| signature | string\|null | `null` | 서명 | +| bio | string\|null | `null` | 자기소개 | +| last_login_at | string\|null | `2026-07-07 10:41:24` | 마지막 로그인 일시 (사용자 시간대 기준 문자열) | +| email_verified_at | string\|null | `null` | 이메일 인증 일시 (미인증 시 null) | +| timezone | string\|null | `Asia/Seoul` | 사용자 시간대 (예: Asia/Seoul, UTC) | +| created_at | string | `2026-07-08 10:41:24` | 생성 일시 (사용자 시간대 기준 문자열) | +| updated_at | string | `2026-07-08 11:02:10` | 수정 일시 (사용자 시간대 기준 문자열) | +| is_owner | boolean | `true` | 현재 인증 사용자가 이 리소스의 소유자인지 여부 (BaseApiResource 표준 메타) | +| abilities | object | `{"can_read":false,"can_create":false,"can_update":false,"can_delete":false,"can_assign_roles":false}` | 현재 사용자의 이 리소스에 대한 권한 맵 (core.users.read/create/update/delete, core.permissions.update 기준. 슈퍼관리자 계정은 `can_delete` 가 항상 false) | + +관계형 필드(`modules`, `plugins`, `menus`, `roles`, `permissions`, `consents`, `terms_consent`, `privacy_consent`)와 카운트 필드(`modules_count`, `plugins_count`, `menus_count`)는 해당 관계가 로드된 경우에만 응답에 포함된다 (프로필 수정 응답에서는 로드하지 않으므로 나타나지 않는다). **응답 예시** - +```json +{ + "success": true, + "message": "사용자 정보가 성공적으로 업데이트되었습니다.", + "data": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "예시 이름", + "nickname": "예시 이름", + "email": "user@example.com", + "avatar": null, + "language": "ko", + "language_label": "한국어", + "country": "KR", + "status": "active", + "status_label": "활성", + "status_variant": "success", + "is_admin": false, + "homepage": "https://example.com", + "mobile": "010-1234-5678", + "phone": "010-1234-5678", + "zipcode": "06234", + "address": "서울특별시 강남구 테헤란로 1", + "address_detail": "서울특별시 강남구 테헤란로 1", + "signature": "예시값", + "bio": "예시 내용입니다.", + "last_login_at": "2026-07-07 10:41:24", + "email_verified_at": null, + "timezone": "Asia/Seoul", + "created_at": "2026-07-08 10:41:24", + "updated_at": "2026-07-08 11:02:10", + "is_owner": true, + "abilities": { + "can_read": false, + "can_create": false, + "can_update": false, + "can_delete": false, + "can_assign_roles": false + } + } +} +``` **에러 응답** diff --git a/docs/backend/api/menus.md b/docs/backend/api/menus.md index d3fd8844..822e0e83 100644 --- a/docs/backend/api/menus.md +++ b/docs/backend/api/menus.md @@ -481,11 +481,94 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_목록 응답: `data.data[]` 배열 항목의 필드 + 컬렉션 레벨 `data.abilities`._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `15` | 기본 키 (내부 식별자) | +| name | object | `{"ko":"게시판 관리","en":"Board Management"}` | 메뉴 이름 (다국어 JSON) | +| slug | string | `sirsoft-board` | 메뉴 슬러그 | +| url | string \| null | `null` | 메뉴 URL (그룹 메뉴는 null) | +| icon | string \| null | `fas fa-clipboard-list` | 메뉴 아이콘 (Font Awesome 클래스) | +| order | integer | `30` | 메뉴 순서 (작을수록 우선 — `order` 오름차순 정렬) | +| is_active | boolean | `true` | 활성 여부 | +| parent_id | integer \| null | `null` | 상위 메뉴 ID (최상위는 null) | +| extension_type | string | `module` | 확장 소유 타입 (`module` / `plugin`) | +| extension_identifier | string | `sirsoft-board` | 확장 식별자 (요청 path 의 `identifier` 와 동일) | +| parent | object \| null | `null` | 상위 항목 객체 (id/name/url/icon — parent 관계 파생) | +| children | array | `[{"id":16,"name":{"ko":"환경설정"},"slug":"sirsoft-board-settings", ...}]` | 하위 메뉴 배열 (order 오름차순 — children 관계 파생) | +| creator | object \| null | `null` | 생성자 정보 객체 (uuid/name/email — creator 관계 파생) | +| created_at | string | `2026-07-08 10:44:35` | 생성 일시 | +| updated_at | string | `2026-07-08 10:44:35` | 최종 수정 일시 | +| is_owner | boolean | `false` | 현재 인증 사용자가 이 리소스의 소유자인지 여부 (BaseApiResource 표준 메타) | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | + +> `roles` 관계는 이 엔드포인트에서 eager-load 되지 않으므로(`MenuRepository::getMenusByExtension` 은 `creator`/`parent`/`children` 만 로드) 항목에 `roles` 키가 포함되지 않습니다. **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "메뉴를 성공적으로 가져왔습니다.", + "data": { + "data": [ + { + "id": 15, + "name": { + "ko": "게시판 관리", + "en": "Board Management" + }, + "slug": "sirsoft-board", + "url": null, + "icon": "fas fa-clipboard-list", + "order": 30, + "is_active": true, + "parent_id": null, + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "parent": null, + "children": [ + { + "id": 16, + "name": { + "ko": "환경설정", + "en": "Settings" + }, + "slug": "sirsoft-board-settings", + "url": "/admin/boards/settings", + "icon": "fas fa-cog", + "order": 1, + "is_active": true, + "parent_id": 15, + "extension_type": "module", + "extension_identifier": "sirsoft-board", + "roles": [] + } + ], + "creator": null, + "created_at": "2026-07-08 10:44:35", + "updated_at": "2026-07-08 10:44:35", + "is_owner": false, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } + ], + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -638,11 +721,21 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — 컨트롤러가 `success('menu.order_update_success')` 를 데이터 없이 호출)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "메뉴 순서가 성공적으로 업데이트되었습니다.", + "data": null +} +``` **에러 응답** @@ -650,7 +743,7 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.menus.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). `moved_items[].new_parent_id` 가 자기 자신·자손을 가리키는 순환 참조인 경우 포함 | @@ -682,7 +775,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — 컨트롤러가 `success('menu.delete_success')` 를 데이터 없이 호출)._ **응답 예시** @@ -928,11 +1021,81 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (갱신된 메뉴를 `MenuResource` 로 반환 — `creator`/`parent`/`children`/`roles` eager-load)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| name | object | `{"ko":"API 문서 샘플 메뉴","en":"API Doc Sample Menu"}` | 메뉴 이름 (다국어 JSON) | +| slug | string | `apidoc-sample-menu` | 메뉴 슬러그 | +| url | string \| null | `/admin/apidoc-sample` | 메뉴 URL | +| icon | string \| null | `fas fa-book` | 메뉴 아이콘 | +| order | integer | `35` | 메뉴 순서 | +| is_active | boolean | `true` | 활성 여부 | +| parent_id | integer \| null | `null` | 상위 메뉴 ID | +| extension_type | string \| null | `core` | 확장 소유 타입: core / module / plugin / null(사용자 정의) | +| extension_identifier | string \| null | `core` | 확장 식별자 | +| parent | object \| null | `null` | 상위 항목 객체 (id/name/url/icon — parent 관계 파생) | +| children | array | `[]` | 하위 항목 배열 (order 오름차순 — children 관계 파생) | +| creator | object \| null | `{"uuid":"a234c2b1-…","name":"API 문서 샘플 사용자","email":"apidoc-sample-user@example.com"}` | 생성자 정보 객체 (creator 관계 파생) | +| roles | array | `[{"id":1,"name":{"ko":"관리자","en":"Administrator"},"permission_type":"read"}]` | 이 메뉴 노출이 허용된 역할 목록 (요청 `roles` 로 교체된 결과) | +| created_at | string | `2026-07-08 10:41:24` | 생성 일시 | +| updated_at | string | `2026-07-08 12:20:11` | 최종 수정 일시 | +| is_owner | boolean | `true` | 현재 인증 사용자가 이 리소스의 소유자인지 여부 (BaseApiResource 표준 메타) | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "메뉴가 성공적으로 업데이트되었습니다.", + "data": { + "id": 1, + "name": { + "ko": "API 문서 샘플 메뉴", + "en": "API Doc Sample Menu" + }, + "slug": "apidoc-sample-menu", + "url": "/admin/apidoc-sample", + "icon": "fas fa-book", + "order": 35, + "is_active": true, + "parent_id": null, + "extension_type": null, + "extension_identifier": null, + "parent": null, + "children": [], + "creator": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "email": "apidoc-sample-user@example.com" + }, + "roles": [ + { + "id": 1, + "name": { + "ko": "관리자", + "en": "Administrator" + }, + "permission_type": "read" + } + ], + "created_at": "2026-07-08 10:41:24", + "updated_at": "2026-07-08 12:20:11", + "is_owner": true, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** diff --git a/docs/backend/api/modules.md b/docs/backend/api/modules.md index dcbd440d..1a60240d 100644 --- a/docs/backend/api/modules.md +++ b/docs/backend/api/modules.md @@ -176,7 +176,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read| core.menus.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -216,19 +216,60 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`data.module` 은 목록과 동일한 `ModuleResource` 형태)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| module | object | `{"identifier":"sirsoft-board", ...}` | 활성화된 모듈 정보 (`ModuleResource` — 목록 응답 항목과 동일 필드 구성) | +| pending_language_packs | array | `[]` | 이전 비활성화 시 cascade 로 함께 비활성화됐던 번들 언어팩 목록 (재활성화 안내 모달용). 각 항목: `id`, `identifier`, `locale`, `locale_native_name`. 없으면 빈 배열 | **응답 예시** - +```json +{ + "success": true, + "message": "모듈이 성공적으로 활성화되었습니다.", + "data": { + "module": { + "identifier": "sirsoft-board", + "vendor": "sirsoft", + "name": "게시판", + "version": "1.0.0", + "description": "게시판 관리를 위한 모듈", + "dependencies": [], + "status": "active", + "assets": null, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": "1.0.0", + "github_url": "https://github.com/gnuboard/g7-module-sirsoft-board", + "github_changelog_url": "https://github.com/gnuboard/g7-module-sirsoft-board/releases", + "is_pending": false, + "is_bundled": false, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true + } + }, + "pending_language_packs": [] + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | +| 409 | Conflict | `force` 없이 호출했고 필요한 의존 확장이 미충족인 경우 (`error` 에 `warning`, `missing_modules`, `missing_plugins` 포함) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 활성화 처리 중 예외 발생 (`module.activate_failed`) | @@ -256,19 +297,45 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| updated_count | integer | `1` | 업데이트가 가능한 것으로 감지된 모듈 수 | +| details | array | `[{"identifier":"sirsoft-board", ...}]` | 업데이트 가능한 모듈만 담은 목록 (아래 하위 필드) | +| details[].identifier | string | `sirsoft-board` | 모듈 식별자 | +| details[].current_version | string | `1.0.0` | 현재 설치된 버전 | +| details[].latest_version | string | `1.0.1` | 감지된 최신 버전 | +| details[].update_source | string | `github` | 업데이트 감지 출처 (`github` \| `bundled`) | **응답 예시** - +```json +{ + "success": true, + "message": "업데이트 확인이 완료되었습니다.", + "data": { + "updated_count": 1, + "details": [ + { + "identifier": "sirsoft-board", + "current_version": "1.0.0", + "latest_version": "1.0.1", + "update_source": "github" + } + ] + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 업데이트 확인 처리가 실패한 경우 (`modules.check_updates_failed`) | +| 500 | Internal Server Error | 업데이트 확인 중 예외 발생 | @@ -307,19 +374,75 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 는 비활성화된 모듈의 `ModuleResource` 객체 (목록 응답 항목과 동일 필드 구성)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-board` | 모듈 고유 식별자 (vendor-module 형식) | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `게시판` | 모듈 이름 (현재 로케일로 해석) | +| version | string | `1.0.0` | 모듈 버전 | +| description | string | `게시판 관리를 위한 모듈` | 모듈 설명 (현재 로케일로 해석) | +| dependencies | array | `[]` | 의존 확장 목록 (manifest 파생) | +| status | string | `inactive` | 비활성화 후 상태 | +| assets | object\|null | `null` | 프론트엔드 에셋 매니페스트 (js/css/priority) | +| update_available | boolean | `false` | 최신 버전 대비 업데이트 가능 여부 | +| update_source | string\|null | `null` | 업데이트 감지 출처 | +| latest_version | string\|null | `null` | 감지된 최신 배포 버전 | +| file_version | string | `1.0.0` | 설치된 파일의 manifest 버전 | +| github_url | string\|null | `https://github.com/gnuboard/g7-module-sirsoft-board` | GitHub 저장소 URL | +| github_changelog_url | string\|null | `https://github.com/gnuboard/g7-module-sirsoft-board/releases` | GitHub 변경 내역 URL | +| is_pending | boolean | `false` | _pending 대기소 항목 여부 | +| is_bundled | boolean | `false` | 코어 선탑재 번들 확장 여부 | +| deactivated_reason | string\|null | `manual` | 비활성화 사유 (`manual` \| `incompatible_core`) | +| deactivated_at | string\|null | `2026-07-14 10:00:00` | 비활성화 일시 | +| incompatible_required_version | string\|null | `null` | 요구 코어 버전 미충족 시 필요한 버전 | +| abilities | object | `{"can_install":true,"can_activate":true,"can_uninstall":true}` | 현재 사용자가 수행 가능한 작업 불리언 맵 | **응답 예시** - +```json +{ + "success": true, + "message": "모듈이 성공적으로 비활성화되었습니다.", + "data": { + "identifier": "sirsoft-board", + "vendor": "sirsoft", + "name": "게시판", + "version": "1.0.0", + "description": "게시판 관리를 위한 모듈", + "dependencies": [], + "status": "inactive", + "assets": null, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": "1.0.0", + "github_url": "https://github.com/gnuboard/g7-module-sirsoft-board", + "github_changelog_url": "https://github.com/gnuboard/g7-module-sirsoft-board/releases", + "is_pending": false, + "is_bundled": false, + "deactivated_reason": "manual", + "deactivated_at": "2026-07-14 10:00:00", + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | +| 409 | Conflict | `force` 없이 호출했고 이 모듈에 의존하는 활성 확장이 있는 경우 (`error` 에 `warning`, `dependent_templates`, `dependent_modules`, `dependent_plugins` 포함) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 비활성화 처리 중 예외 발생 (`module.deactivate_failed`) | @@ -366,19 +489,80 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 는 설치된 모듈의 `ModuleResource` 필드 + `language_pack_failures` (HTTP 201)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-board` | 설치된 모듈 식별자 | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `게시판` | 모듈 이름 (현재 로케일로 해석) | +| version | string | `1.0.0` | 설치된 버전 | +| description | string | `게시판 관리를 위한 모듈` | 모듈 설명 | +| dependencies | array | `[]` | 의존 확장 목록 (enriched — identifier/name/type/required_version/is_met 등) | +| status | string | `inactive` | 설치 직후 상태 (설치만으로 활성화되지 않음) | +| assets | object\|null | `null` | 프론트엔드 에셋 매니페스트 (js/css/priority) | +| update_available | boolean | `false` | 업데이트 가능 여부 (설치 직후 기본 false) | +| update_source | string\|null | `null` | 업데이트 감지 출처 | +| latest_version | string\|null | `null` | 감지된 최신 배포 버전 | +| file_version | string\|null | `null` | 설치된 파일 manifest 버전 | +| github_url | string\|null | `https://github.com/gnuboard/g7-module-sirsoft-board` | GitHub 저장소 URL | +| github_changelog_url | string\|null | `null` | GitHub 변경 내역 URL | +| is_pending | boolean | `false` | _pending 대기소 항목 여부 | +| is_bundled | boolean | `false` | 코어 선탑재 번들 확장 여부 | +| deactivated_reason | string\|null | `null` | 비활성화 사유 | +| deactivated_at | string\|null | `null` | 비활성화 일시 | +| incompatible_required_version | string\|null | `null` | 요구 코어 버전 미충족 시 필요한 버전 | +| abilities | object | `{"can_install":true,"can_activate":true,"can_uninstall":true}` | 현재 사용자가 수행 가능한 작업 불리언 맵 | +| language_pack_failures | array | `[]` | cascade 2단계(번들 언어팩 best-effort 설치)에서 실패한 항목. 각 항목: `identifier`, `reason`. 실패 없으면 빈 배열 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "모듈이 성공적으로 설치되었습니다.", + "data": { + "identifier": "sirsoft-board", + "vendor": "sirsoft", + "name": "게시판", + "version": "1.0.0", + "description": "게시판 관리를 위한 모듈", + "dependencies": [], + "status": "inactive", + "assets": null, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": null, + "github_url": "https://github.com/gnuboard/g7-module-sirsoft-board", + "github_changelog_url": null, + "is_pending": false, + "is_bundled": false, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true + }, + "language_pack_failures": [] + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터 검증 실패, 또는 설치 파이프라인이 던진 검증 오류 (의존 확장 cascade 설치 실패·이미 설치됨 등 — `error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 설치 처리 중 예외 발생 (`modules.installation_failed`) | @@ -418,19 +602,78 @@ Content-Type: application/octet-stream **응답 필드** (`data` 내부) - +_단건 응답: `data` 는 설치된 모듈의 `ModuleResource` 객체 (HTTP 201 — 목록 응답 항목과 동일 필드 구성)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-board` | 설치된 모듈 식별자 | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `게시판` | 모듈 이름 (현재 로케일로 해석) | +| version | string | `1.0.0` | 설치된 버전 | +| description | string | `게시판 관리를 위한 모듈` | 모듈 설명 | +| dependencies | array | `[]` | 의존 확장 목록 (enriched) | +| status | string | `inactive` | 설치 직후 상태 | +| assets | object\|null | `null` | 프론트엔드 에셋 매니페스트 | +| update_available | boolean | `false` | 업데이트 가능 여부 | +| update_source | string\|null | `null` | 업데이트 감지 출처 | +| latest_version | string\|null | `null` | 감지된 최신 배포 버전 | +| file_version | string\|null | `null` | 설치된 파일 manifest 버전 | +| github_url | string\|null | `https://github.com/gnuboard/g7-module-sirsoft-board` | GitHub 저장소 URL | +| github_changelog_url | string\|null | `null` | GitHub 변경 내역 URL | +| is_pending | boolean | `false` | _pending 대기소 항목 여부 | +| is_bundled | boolean | `false` | 코어 선탑재 번들 확장 여부 | +| deactivated_reason | string\|null | `null` | 비활성화 사유 | +| deactivated_at | string\|null | `null` | 비활성화 일시 | +| incompatible_required_version | string\|null | `null` | 요구 코어 버전 미충족 시 필요한 버전 | +| abilities | object | `{"can_install":true,"can_activate":true,"can_uninstall":true}` | 현재 사용자가 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "모듈이 성공적으로 설치되었습니다.", + "data": { + "identifier": "sirsoft-board", + "vendor": "sirsoft", + "name": "게시판", + "version": "1.0.0", + "description": "게시판 관리를 위한 모듈", + "dependencies": [], + "status": "inactive", + "assets": null, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": null, + "github_url": "https://github.com/gnuboard/g7-module-sirsoft-board", + "github_changelog_url": null, + "is_pending": false, + "is_bundled": false, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 파일 검증 실패(ZIP 아님·50MB 초과), 또는 ZIP 처리 오류 (module.json 미존재/형식 오류·식별자 누락·이미 설치됨) | +| 500 | Internal Server Error | 설치 처리 중 예외 발생 (`module.install_failed`) | @@ -467,19 +710,78 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 는 설치된 모듈의 `ModuleResource` 객체 (HTTP 201 — 목록 응답 항목과 동일 필드 구성)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-board` | 설치된 모듈 식별자 | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `게시판` | 모듈 이름 (현재 로케일로 해석) | +| version | string | `1.0.0` | 설치된 버전 | +| description | string | `게시판 관리를 위한 모듈` | 모듈 설명 | +| dependencies | array | `[]` | 의존 확장 목록 (enriched) | +| status | string | `inactive` | 설치 직후 상태 | +| assets | object\|null | `null` | 프론트엔드 에셋 매니페스트 | +| update_available | boolean | `false` | 업데이트 가능 여부 | +| update_source | string\|null | `null` | 업데이트 감지 출처 | +| latest_version | string\|null | `null` | 감지된 최신 배포 버전 | +| file_version | string\|null | `null` | 설치된 파일 manifest 버전 | +| github_url | string\|null | `https://github.com/gnuboard/g7-module-sirsoft-board` | GitHub 저장소 URL | +| github_changelog_url | string\|null | `null` | GitHub 변경 내역 URL | +| is_pending | boolean | `false` | _pending 대기소 항목 여부 | +| is_bundled | boolean | `false` | 코어 선탑재 번들 확장 여부 | +| deactivated_reason | string\|null | `null` | 비활성화 사유 | +| deactivated_at | string\|null | `null` | 비활성화 일시 | +| incompatible_required_version | string\|null | `null` | 요구 코어 버전 미충족 시 필요한 버전 | +| abilities | object | `{"can_install":true,"can_activate":true,"can_uninstall":true}` | 현재 사용자가 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "모듈이 성공적으로 설치되었습니다.", + "data": { + "identifier": "sirsoft-board", + "vendor": "sirsoft", + "name": "게시판", + "version": "1.0.0", + "description": "게시판 관리를 위한 모듈", + "dependencies": [], + "status": "inactive", + "assets": null, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": null, + "github_url": "https://github.com/gnuboard/g7-module-sirsoft-board", + "github_changelog_url": null, + "is_pending": false, + "is_bundled": false, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | +| 422 | Unprocessable Entity | URL 형식 검증 실패, 또는 GitHub 처리 오류 (저장소 미존재·다운로드 실패·module.json 형식 오류·이미 설치됨) | +| 500 | Internal Server Error | 설치 처리 중 예외 발생 (`module.install_failed`) | @@ -620,7 +922,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -659,19 +961,48 @@ Content-Type: application/octet-stream **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| manifest | object\|null | `{"identifier":"sirsoft-board","version":"1.0.0", ...}` | ZIP 에서 추출한 module.json 원본 내용. 추출 실패 시 `null` | +| validation | object | `{"errors":[],"is_valid":true, ...}` | 검증 결과 묶음 (아래 하위 필드) | +| validation.errors | array | `[]` | 추출/검증 과정에서 발생한 오류 메시지 목록 (없으면 빈 배열) | +| validation.is_valid | boolean | `true` | 오류가 없고 manifest 추출에 성공했는지 여부 | +| validation.already_installed | boolean | `false` | 해당 식별자의 모듈이 이미 설치되어 있는지 여부 | +| validation.existing_version | string\|null | `1.0.0` | 이미 설치된 경우 그 버전 (미설치 시 `null`) | **응답 예시** - +```json +{ + "success": true, + "message": "manifest 미리보기를 완료했습니다.", + "data": { + "manifest": { + "identifier": "sirsoft-board", + "vendor": "sirsoft", + "name": "게시판", + "version": "1.0.0", + "g7_version": "7.0.0" + }, + "validation": { + "errors": [], + "is_valid": true, + "already_installed": false, + "existing_version": null + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 파일 검증 실패(ZIP 아님·50MB 초과), 또는 미리보기 처리 실패 (`module.preview_failed` — `error.error` 에 사유) | @@ -708,19 +1039,74 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 는 갱신된 모듈의 `ModuleResource` 객체 (목록 응답 항목과 동일 필드 구성)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-board` | 모듈 식별자 | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `게시판` | 모듈 이름 (현재 로케일로 해석) | +| version | string | `1.0.0` | 모듈 버전 | +| description | string | `게시판 관리를 위한 모듈` | 모듈 설명 | +| dependencies | array | `[]` | 의존 확장 목록 (enriched) | +| status | string | `active` | 모듈 상태 (레이아웃 갱신은 활성 모듈만 가능) | +| assets | object\|null | `null` | 프론트엔드 에셋 매니페스트 | +| update_available | boolean | `false` | 업데이트 가능 여부 | +| update_source | string\|null | `null` | 업데이트 감지 출처 | +| latest_version | string\|null | `null` | 감지된 최신 배포 버전 | +| file_version | string\|null | `null` | 설치된 파일 manifest 버전 | +| github_url | string\|null | `https://github.com/gnuboard/g7-module-sirsoft-board` | GitHub 저장소 URL | +| github_changelog_url | string\|null | `null` | GitHub 변경 내역 URL | +| is_pending | boolean | `false` | _pending 대기소 항목 여부 | +| is_bundled | boolean | `false` | 코어 선탑재 번들 확장 여부 | +| deactivated_reason | string\|null | `null` | 비활성화 사유 | +| deactivated_at | string\|null | `null` | 비활성화 일시 | +| incompatible_required_version | string\|null | `null` | 요구 코어 버전 미충족 시 필요한 버전 | +| abilities | object | `{"can_install":true,"can_activate":true,"can_uninstall":true}` | 현재 사용자가 수행 가능한 작업 불리언 맵 | **응답 예시** - +```json +{ + "success": true, + "message": "모듈 레이아웃이 성공적으로 갱신되었습니다.", + "data": { + "identifier": "sirsoft-board", + "vendor": "sirsoft", + "name": "게시판", + "version": "1.0.0", + "description": "게시판 관리를 위한 모듈", + "dependencies": [], + "status": "active", + "assets": null, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": null, + "github_url": "https://github.com/gnuboard/g7-module-sirsoft-board", + "github_changelog_url": null, + "is_pending": false, + "is_bundled": false, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터 검증 실패, 또는 레이아웃 갱신 실패 (모듈 미존재·비활성 상태 — `modules.refresh_layouts_failed`) | +| 500 | Internal Server Error | 갱신 처리 중 예외 발생 (`module.refresh_layouts_failed`) | @@ -753,19 +1139,25 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만). 컨트롤러가 `success('module.uninstall_success')` 를 데이터 인자 없이 호출합니다._ **응답 예시** - +```json +{ + "success": true, + "message": "모듈이 성공적으로 제거되었습니다." +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 제거 처리 중 예외 발생 (`module.uninstall_failed`) | @@ -850,7 +1242,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -908,7 +1300,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -944,12 +1336,12 @@ _목록 응답: `data.data[]` 배열 항목의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | -| identifier | string | `sirsoft-basic` | 모듈 고유 식별자 (vendor-module 형식) | -| name | string | `Basic` | 대상의 이름/명칭 (다국어 필드는 로케일별 값 객체) | -| version | string | `1.0.4` | 모듈 버전 | -| type | string | `user` | | -| status | string | `active` | 상태 값 (도메인별 상태 집합 — 사람이 읽는 라벨은 status_label, UI 변형은 status_variant 참조) | -| required_version | string | `>=1.0.5` | | +| identifier | string | `gnuboard7-hello_module` | 모듈 고유 식별자 (vendor-module 형식) | +| name | string | `Hello 모듈` | 모듈 이름 (다국어 JSON) | +| version | string | `0.1.0` | 모듈 버전 | +| type | string | `user` | 의존 템플릿의 타입 (admin: 관리자 템플릿 / user: 사용자 템플릿) | +| status | string | `uninstalled` | 상태 (active: 활성화, inactive: 비활성화, installing: 설치 중, uninstalling: 제거 중, updating: 업데이트 중) | +| required_version | string | `>=1.0.0` | 요구되는 최소 버전 | **응답 예시** @@ -982,7 +1374,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1041,7 +1433,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1073,20 +1465,94 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ModuleResource::toDetailArray()` + 주입된 `language_packs`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-board` | 모듈 고유 식별자 (vendor-module 형식) | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `게시판` | 모듈 이름 (현재 로케일로 해석) | +| version | string | `1.0.0` | 모듈 버전 | +| description | string | `게시판 관리를 위한 모듈` | 모듈 설명 | +| github_url | string\|null | `https://github.com/gnuboard/g7-module-sirsoft-board` | GitHub 저장소 URL | +| requires_core | string\|null | `7.0.0` | 요구하는 코어 최소 버전 (manifest `g7_version`) | +| dependencies | array | `[]` | 의존 확장 목록 (enriched — identifier/name/type/required_version/installed_version/is_active/is_met) | +| status | string | `active` | 상태 (`active` \| `inactive` \| `installing` \| `uninstalling` \| `updating` \| `uninstalled`) | +| is_installed | boolean | `true` | 활성 디렉토리에 설치되어 DB 레코드가 있는지 여부 | +| permissions | array | `[]` | manifest 가 선언한 권한 카테고리 목록 | +| roles | array | `[]` | manifest 가 선언한 역할 목록 | +| admin_menus | array | `[]` | manifest 가 선언한 관리자 메뉴 정의 | +| license | string\|null | `MIT` | 라이선스 식별자 | +| layouts_count | integer | `12` | 모듈이 제공하는 레이아웃 파일 수 | +| config | object | `{}` | manifest 의 config 블록 | +| metadata | object | `{"identifier":"sirsoft-board", ...}` | manifest 원본 메타데이터 | +| update_available | boolean | `false` | 최신 버전 대비 업데이트 가능 여부 | +| update_source | string\|null | `null` | 업데이트 감지 출처 (`github` \| `bundled`) | +| latest_version | string\|null | `null` | 감지된 최신 배포 버전 | +| file_version | string\|null | `null` | 설치된 파일의 manifest 버전 | +| github_changelog_url | string\|null | `null` | GitHub 변경 내역 URL | +| is_pending | boolean | `false` | _pending 대기소 항목 여부 | +| is_bundled | boolean | `false` | 코어 선탑재 번들 확장 여부 | +| deactivated_reason | string\|null | `null` | 비활성화 사유 (`manual` \| `incompatible_core`) | +| deactivated_at | string\|null | `null` | 비활성화 일시 | +| incompatible_required_version | string\|null | `null` | 요구 코어 버전 미충족 시 필요한 버전 | +| created_at | string\|null | `2026-07-01 09:00:00` | 설치(레코드 생성) 일시 (사용자 타임존 변환) | +| updated_at | string\|null | `2026-07-10 11:20:00` | 최종 갱신 일시 (사용자 타임존 변환) | +| language_packs | array | `[]` | 이 모듈을 대상으로 하는 언어팩 목록 (`LanguagePackResource` — identifier/locale/version/status 등). 없으면 빈 배열 | **응답 예시** - +```json +{ + "success": true, + "message": "모듈을 성공적으로 가져왔습니다.", + "data": { + "identifier": "sirsoft-board", + "vendor": "sirsoft", + "name": "게시판", + "version": "1.0.0", + "description": "게시판 관리를 위한 모듈", + "github_url": "https://github.com/gnuboard/g7-module-sirsoft-board", + "requires_core": "7.0.0", + "dependencies": [], + "status": "active", + "is_installed": true, + "permissions": [], + "roles": [], + "admin_menus": [], + "license": "MIT", + "layouts_count": 12, + "config": {}, + "metadata": { + "identifier": "sirsoft-board", + "vendor": "sirsoft", + "version": "1.0.0" + }, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": null, + "github_changelog_url": null, + "is_pending": false, + "is_bundled": false, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "created_at": "2026-07-01 09:00:00", + "updated_at": "2026-07-10 11:20:00", + "language_packs": [] + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | +| 404 | Not Found | 해당 식별자의 모듈이 활성/_pending/_bundled 어디에도 없는 경우 (`module.not_found`) | +| 500 | Internal Server Error | 조회 중 예외 발생 (`module.fetch_failed`) | @@ -1116,20 +1582,48 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| has_modified_layouts | boolean | `true` | 사용자가 수정한 레이아웃이 하나라도 있는지 여부 (원본 content 해시와 현재 해시 비교) | +| modified_count | integer | `2` | 수정된 레이아웃 수 | +| modified_layouts | array | `[{"id":31, ...}]` | 수정된 레이아웃 목록 (아래 하위 필드) | +| modified_layouts[].id | integer | `31` | 레이아웃 ID | +| modified_layouts[].name | string | `admin/board/index` | 레이아웃 이름 | +| modified_layouts[].updated_at | string\|null | `2026-07-10 11:20:00` | 최종 수정 일시 (`Y-m-d H:i:s`) | +| modified_layouts[].size_diff | integer | `128` | 원본 대비 현재 content 크기 차이(바이트, 음수 가능) | **응답 예시** - +```json +{ + "success": true, + "message": "수정된 레이아웃 확인이 완료되었습니다.", + "data": { + "has_modified_layouts": true, + "modified_count": 1, + "modified_layouts": [ + { + "id": 31, + "name": "admin/board/index", + "updated_at": "2026-07-10 11:20:00", + "size_diff": 128 + } + ] + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read`)이 없는 경우 | -| 404 | Not Found | 해당 식별자의 모듈이 설치되어 있지 않은 경우 (레이아웃 0건과 구분됨) | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | +| 404 | Not Found | 해당 식별자의 모듈이 활성/_pending/_bundled 어디에도 없는 경우 (`module.not_found`) | +| 422 | Unprocessable Entity | 수정 레이아웃 확인 실패 (`modules.check_modified_layouts_failed` — `error.errors.module_name`) | +| 500 | Internal Server Error | 확인 처리 중 예외 발생 | @@ -1159,20 +1653,84 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`target` + `dependencies[]` + `language_packs[]`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| target.identifier | string | `sirsoft-ecommerce` | 설치 대상 모듈 식별자 | +| target.name | string\|null | `이커머스` | 설치 대상 모듈 이름 (현재 로케일) | +| target.version | string\|null | `1.0.1` | 설치 대상 모듈 버전 | +| dependencies | array | `[{"type":"module", ...}]` | 의존 확장 cascade 후보 목록 (아래 하위 필드) | +| dependencies[].type | string | `module` | 의존 확장 유형 (`module` \| `plugin`) | +| dependencies[].identifier | string | `sirsoft-board` | 의존 확장 식별자 | +| dependencies[].name | string\|null | `게시판` | 의존 확장 이름 | +| dependencies[].required_version | string\|null | `^1.0` | manifest 가 요구하는 버전 제약 | +| dependencies[].installed_version | string\|null | `null` | 현재 설치된 버전 (미설치면 null) | +| dependencies[].is_installed | boolean | `false` | 설치 여부 | +| dependencies[].is_active | boolean | `false` | 활성 여부 | +| dependencies[].is_met | boolean | `false` | 의존 조건 충족 여부 | +| dependencies[].available | boolean | `true` | cascade 후보로 선택 가능한지 (미충족 의존성만 true) | +| dependencies[].default_selected | boolean | `true` | 체크리스트 기본 선택 여부 (미충족 + 미설치 시 true) | +| language_packs | array | `[{"bundled_identifier":"g7-module-sirsoft-ecommerce-ja", ...}]` | 함께 설치 가능한 미설치 번들 언어팩 목록 (아래 하위 필드) | +| language_packs[].bundled_identifier | string | `g7-module-sirsoft-ecommerce-ja` | 번들 언어팩 식별자 (install API 의 `language_packs[]` 값) | +| language_packs[].locale | string | `ja` | 언어 코드 | +| language_packs[].locale_native_name | string\|null | `日本語` | 현지 표기 언어명 | +| language_packs[].locale_name | string\|null | `일본어` | 언어명 | +| language_packs[].version | string | `1.0.0` | 언어팩 버전 | +| language_packs[].depends_on_extension | string\|null | `null` | 이 언어팩이 귀속된 의존 확장 식별자 (본 확장용이면 null) | +| language_packs[].available | boolean | `true` | 선택 가능 여부 (항상 true — 미설치 항목만 수집) | +| language_packs[].default_selected | boolean | `true` | 체크리스트 기본 선택 여부 | **응답 예시** - +```json +{ + "success": true, + "message": "모듈을 성공적으로 가져왔습니다.", + "data": { + "target": { + "identifier": "sirsoft-ecommerce", + "name": "이커머스", + "version": "1.0.1" + }, + "dependencies": [ + { + "type": "module", + "identifier": "sirsoft-board", + "name": "게시판", + "required_version": "^1.0", + "installed_version": null, + "is_installed": false, + "is_active": false, + "is_met": false, + "available": true, + "default_selected": true + } + ], + "language_packs": [ + { + "bundled_identifier": "g7-module-sirsoft-ecommerce-ja", + "locale": "ja", + "locale_native_name": "日本語", + "locale_name": "일본어", + "version": "1.0.0", + "depends_on_extension": null, + "available": true, + "default_selected": true + } + ] + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | +| 404 | Not Found | 해당 식별자의 모듈이 활성/_pending/_bundled 어디에도 없는 경우 (`module.not_found`) | +| 500 | Internal Server Error | 대상 확장을 찾을 수 없거나 프리뷰 빌드 중 예외 발생 (`module.fetch_failed`) | @@ -1202,20 +1760,70 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| tables | array | `[{"name":"board_posts", ...}]` | 모듈이 소유한 DB 테이블 목록 (마이그레이션 정적 추출 + 동적 테이블 병합). 각 항목: `name`, `size_bytes`(MySQL 외 드라이버는 null), `size_formatted` | +| storage_directories | array | `[{"name":"attachments", ...}]` | `storage/app/modules/{identifier}` 하위 1-depth 디렉토리 목록. 각 항목: `name`, `size_bytes`, `size_formatted` | +| vendor_directory | object\|null | `{"items":[...],"total_size_bytes":10485760, ...}` | Composer vendor 디렉토리·composer.lock 정보 (둘 다 없으면 null). `items[]` 각 항목: `name`, `size_bytes`, `size_formatted` | +| extension_directory | object\|null | `{"path":"modules/sirsoft-board", ...}` | 모듈 설치 디렉토리 정보 (`path`, `size_bytes`, `size_formatted`). 디렉토리 없으면 null | +| shared_records | array | `[{"table":"layouts","label_key":"layouts","count":12}]` | 코어 공유 테이블에 적재된 이 모듈의 레코드 수 (`delete_data=true` 시 정리 대상). 0건 항목은 제외 | +| total_table_size_bytes | integer | `2097152` | 모듈 테이블 용량 합계(바이트) | +| total_table_size_formatted | string | `2 MB` | 모듈 테이블 용량 합계(사람이 읽는 형식) | +| total_storage_size_bytes | integer | `524288` | 스토리지 디렉토리 용량 합계(바이트) | +| total_storage_size_formatted | string | `512 KB` | 스토리지 디렉토리 용량 합계(사람이 읽는 형식) | **응답 예시** - +```json +{ + "success": true, + "message": "모듈 삭제 정보를 성공적으로 조회했습니다.", + "data": { + "tables": [ + { + "name": "board_posts", + "size_bytes": 2097152, + "size_formatted": "2 MB" + } + ], + "storage_directories": [ + { + "name": "attachments", + "size_bytes": 524288, + "size_formatted": "512 KB" + } + ], + "vendor_directory": null, + "extension_directory": { + "path": "modules/sirsoft-board", + "size_bytes": 1048576, + "size_formatted": "1 MB" + }, + "shared_records": [ + { + "table": "layouts", + "label_key": "layouts", + "count": 12 + } + ], + "total_table_size_bytes": 2097152, + "total_table_size_formatted": "2 MB", + "total_storage_size_bytes": 524288, + "total_storage_size_formatted": "512 KB" + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | +| 404 | Not Found | 해당 식별자의 모듈을 찾을 수 없는 경우 (`module.not_found`) | +| 500 | Internal Server Error | 삭제 정보 조회 중 예외 발생 (`module.uninstall_info_failed`) | @@ -1259,20 +1867,75 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 는 업데이트된 모듈의 `ModuleResource` 객체 (목록 응답 항목과 동일 필드 구성)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-board` | 모듈 식별자 | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `게시판` | 모듈 이름 (현재 로케일로 해석) | +| version | string | `1.0.1` | 업데이트 후 버전 | +| description | string | `게시판 관리를 위한 모듈` | 모듈 설명 | +| dependencies | array | `[]` | 의존 확장 목록 (enriched) | +| status | string | `active` | 업데이트 후 복원된 상태 | +| assets | object\|null | `null` | 프론트엔드 에셋 매니페스트 | +| update_available | boolean | `false` | 업데이트 가능 여부 | +| update_source | string\|null | `null` | 업데이트 감지 출처 | +| latest_version | string\|null | `null` | 감지된 최신 배포 버전 | +| file_version | string\|null | `null` | 설치된 파일 manifest 버전 | +| github_url | string\|null | `https://github.com/gnuboard/g7-module-sirsoft-board` | GitHub 저장소 URL | +| github_changelog_url | string\|null | `null` | GitHub 변경 내역 URL | +| is_pending | boolean | `false` | _pending 대기소 항목 여부 | +| is_bundled | boolean | `false` | 코어 선탑재 번들 확장 여부 | +| deactivated_reason | string\|null | `null` | 비활성화 사유 | +| deactivated_at | string\|null | `null` | 비활성화 일시 | +| incompatible_required_version | string\|null | `null` | 요구 코어 버전 미충족 시 필요한 버전 | +| abilities | object | `{"can_install":true,"can_activate":true,"can_uninstall":true}` | 현재 사용자가 수행 가능한 작업 불리언 맵 | **응답 예시** - +```json +{ + "success": true, + "message": "모듈이 성공적으로 업데이트되었습니다.", + "data": { + "identifier": "sirsoft-board", + "vendor": "sirsoft", + "name": "게시판", + "version": "1.0.1", + "description": "게시판 관리를 위한 모듈", + "dependencies": [], + "status": "active", + "assets": null, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": null, + "github_url": "https://github.com/gnuboard/g7-module-sirsoft-board", + "github_changelog_url": null, + "is_pending": false, + "is_bundled": false, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | +| 404 | Not Found | 해당 식별자의 모듈을 찾을 수 없는 경우 (`module.not_found`) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 실패, 또는 업데이트 실패 (업데이트 소스 없음·다운그레이드 차단·코어 버전 비호환 — `error.errors.module_name` 에 사유) | +| 500 | Internal Server Error | 업데이트 처리 중 예외 발생 (`modules.errors.update_failed`) | @@ -1343,20 +2006,27 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투를 반환하지 않습니다 — 요청한 에셋 파일의 원본 바이트를 그대로 서빙합니다 (`Content-Type` 은 파일 MIME, `ETag` + `Cache-Control: max-age=31536000`). 에러 시에만 표준 JSON 에러 봉투를 반환합니다._ **응답 예시** - +```http +HTTP/1.1 200 +Content-Type: text/javascript +ETag: "a1b2c3d4e5f6" +Cache-Control: public, max-age=31536000 + +(에셋 파일 원본 내용) +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 허용되지 않은 파일 확장자를 요청한 경우 (`modules.errors.file_type_not_allowed`) | +| 404 | Not Found | 모듈이 없거나 비활성 상태인 경우, 또는 요청한 파일이 없는 경우 (`modules.errors.not_found` / `modules.errors.file_not_found`) | +| 422 | Unprocessable Entity | 경로 검증 실패 (경로 탈출 시도 등 — FormRequest 검증) | +| 500 | Internal Server Error | 알 수 없는 오류 (`modules.errors.unknown_error`) | @@ -1383,19 +2053,22 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투를 반환하지 않습니다 — 활성 모듈 CSS 를 병합한 원본 텍스트를 `text/css` 로 서빙합니다 (`ETag` + 환경별 `Cache-Control`). 활성 global 모듈 에셋이 없으면 빈 본문의 200 응답._ **응답 예시** - +```http +HTTP/1.1 200 +Content-Type: text/css +ETag: "a1b2c3d4e5f6" +Cache-Control: public, max-age=31536000 + +(활성 모듈 CSS 병합 내용) +``` **에러 응답** -| 상태코드 | 의미 | 발생 조건 | -| --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +_에러 응답 없음 — 공개 엔드포인트이며, 병합 대상이 없어도 빈 본문의 200(text/css)을 반환합니다._ @@ -1422,19 +2095,22 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투를 반환하지 않습니다 — 활성 모듈 IIFE JS 를 병합한 원본 텍스트를 `text/javascript` 로 서빙합니다 (`ETag` + 환경별 `Cache-Control`). 활성 global 모듈 에셋이 없으면 빈 본문의 200 응답._ **응답 예시** - +```http +HTTP/1.1 200 +Content-Type: text/javascript +ETag: "a1b2c3d4e5f6" +Cache-Control: public, max-age=31536000 + +(활성 모듈 IIFE JS 병합 내용) +``` **에러 응답** -| 상태코드 | 의미 | 발생 조건 | -| --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +_에러 응답 없음 — 공개 엔드포인트이며, 병합 대상이 없어도 빈 본문의 200(text/javascript)을 반환합니다._ @@ -1589,7 +2265,19 @@ Accept: application/json **응답 필드** (`data` 내부) - + + +_이 엔드포인트는 표준 `success/message/data` 봉투를 사용하지 않습니다 — 모듈의 `components.json` 파일 내용을 최상위 JSON 으로 그대로 반환합니다 (1시간 캐시). 파일 미생성(구버전 모듈) 시 빈 객체로 폴백._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| $schema | string | `https://json-schema.org/draft/2020-12/schema` | 컴포넌트 매니페스트 JSON 스키마 URL | +| identifier | string | `sirsoft-ecommerce` | 컴포넌트를 제공하는 모듈 식별자 (네임스페이스 병합 키) | +| version | string | `1.0.0-beta.5` | 컴포넌트 매니페스트 버전 | +| components | object | `{"basic":[],"composite":[],"layout":[]}` | 타입별 컴포넌트 정의 묶음 | +| components.basic | array | `[]` | Basic 타입 컴포넌트 정의 목록 | +| components.composite | array | `[]` | Composite 타입 컴포넌트 정의 목록 | +| components.layout | array | `[]` | Layout 타입 컴포넌트 정의 목록 | **응답 예시** @@ -1600,7 +2288,7 @@ Accept: application/json | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1693,7 +2381,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.modules.read | core.menus.read`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`core.modules.read \| core.menus.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/docs/backend/api/notification-definitions.md b/docs/backend/api/notification-definitions.md index 3e2cec82..9e8d89af 100644 --- a/docs/backend/api/notification-definitions.md +++ b/docs/backend/api/notification-definitions.md @@ -369,11 +369,95 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드. 수정된 알림 정의를 `templates` 관계와 함께 반환합니다 (`NotificationDefinitionResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| type | string | `apidoc-sample.event` | 알림 타입 (welcome, order_confirmed 등) | +| hook_prefix | string | `core` | 훅 접두사 (core.auth, sirsoft-ecommerce 등) | +| extension_type | string | `core` | 이 정의를 소유한 확장의 타입 (core/module/plugin) | +| extension_identifier | string | `` | 이 정의를 소유한 확장의 식별자 (코어는 빈 문자열) | +| name | object | `{"ko":"API 문서 샘플 알림","en":"API Doc Sample Notification"}` | 다국어 이름 (로케일별 값 객체) | +| description | object | `{"ko":"문서 실측용 알림 정의","en":"Sample notification"}` | 다국어 설명 (로케일별 값 객체) | +| variables | array | `[]` | 사용 가능 변수 메타데이터 ([{key, description}]) | +| channels | array | `["database","mail"]` | 수정 후의 활성 채널 (["mail", "database"]) | +| hooks | array | `[]` | 수정 후의 트리거 훅 목록 (["core.auth.after_register"]) | +| is_active | boolean | `true` | active 여부 | +| is_default | boolean | `false` | default 여부 (사용자 수정 시 false) | +| templates | array | `[{"id":1,"definition_id":1,"channel":"mail", ...}]` | 채널별 알림 템플릿 목록 (`templates` 관계를 로드해 반환 — NotificationTemplateResource 배열) | +| created_at | string | `2026-07-08 10:41:24` | 생성 일시 | +| updated_at | string | `2026-07-08 12:14:43` | 최종 수정 일시 | +| abilities | object | `{"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (can_update/can_delete — 모두 `core.settings.update` 기준) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "알림 정의가 수정되었습니다.", + "data": { + "id": 1, + "type": "apidoc-sample.event", + "hook_prefix": "core", + "extension_type": "core", + "extension_identifier": "", + "name": { + "ko": "API 문서 샘플 알림", + "en": "API Doc Sample Notification" + }, + "description": { + "ko": "문서 실측용 알림 정의", + "en": "Sample notification" + }, + "variables": [], + "channels": [ + "database", + "mail" + ], + "hooks": [], + "is_active": true, + "is_default": false, + "templates": [ + { + "id": 1, + "definition_id": 1, + "channel": "mail", + "subject": "API 문서 샘플 템플릿 제목", + "body": "안녕하세요 {{name}} 님, 문서 실측용 본문입니다.", + "click_url": "/admin/apidoc-sample", + "recipients": [ + { + "type": "role", + "value": "admin", + "display_name": "관리자" + } + ], + "is_active": true, + "is_default": false, + "user_overrides": null, + "updated_by": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "created_at": "2026-07-08 10:41:24", + "updated_at": "2026-07-08 10:41:24", + "abilities": { + "can_update": true, + "can_delete": true + } + } + ], + "created_at": "2026-07-08 10:41:24", + "updated_at": "2026-07-08 12:14:43", + "abilities": { + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** diff --git a/docs/backend/api/notification-logs.md b/docs/backend/api/notification-logs.md index 2b067ab4..6075d782 100644 --- a/docs/backend/api/notification-logs.md +++ b/docs/backend/api/notification-logs.md @@ -208,11 +208,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| deleted_count | integer | `3` | 실제로 삭제된 알림 발송 이력 건수 (요청한 `ids` 중 존재하는 행만 카운트) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "선택한 알림 발송 이력이 삭제되었습니다.", + "data": { + "deleted_count": 3 + } +} +``` **에러 응답** @@ -250,9 +266,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - - - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — 컨트롤러가 `success(__('notification_log.delete_success'))` 만 호출하므로 `data` 는 `null`)._ **응답 예시** diff --git a/docs/backend/api/notification-templates.md b/docs/backend/api/notification-templates.md index a2078c1b..2a15be54 100644 --- a/docs/backend/api/notification-templates.md +++ b/docs/backend/api/notification-templates.md @@ -55,11 +55,25 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| subject | string | `[사이트명] 회원가입을 환영합니다` | 요청 `locale`(미지정 시 현재 앱 로케일) 의 제목에서 `{변수}` 를 정의(`definition_id`)의 변수 설명(`[설명]`)으로 치환한 결과 | +| body | string | `

[회원 이름]님, 환영합니다!

...` | 동일 로케일 본문에서 `{변수}` 를 정의의 변수 설명으로 치환한 결과. 해당 로케일 값이 없으면 빈 문자열 | **응답 예시** - +```json +{ + "success": true, + "message": "미리보기를 생성했습니다.", + "data": { + "subject": "[사이트명] 회원가입을 환영합니다", + "body": "

[회원 이름]님, 환영합니다!

[사이트명]에 가입해 주셔서 감사합니다.

" + } +} +``` **에러 응답** @@ -119,11 +133,67 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`NotificationTemplateResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| definition_id | integer | `1` | 소속 알림 정의 식별자 | +| channel | string | `mail` | 발송 채널 (`mail`, `database`, `fcm`) | +| subject | object | `{"ko":"[{app_name}] 회원가입을 환영합니다","en":"..."}` | 다국어 제목 (로케일 키 → 문자열, 로케일당 최대 500자) | +| body | object | `{"ko":"

{name}님, 환영합니다!

...","en":"..."}` | 다국어 본문 (로케일 키 → 문자열, 로케일당 최대 65535자) | +| click_url | string \| null | `null` | 알림 클릭 시 이동할 대상 URL (미설정 시 `null`) | +| recipients | array | `[{"type":"role","value":"admin","display_name":"관리자"}]` | 수신자 규칙 목록. `type` 은 `trigger_user`/`related_user`/`role`/`specific_users`. `role` 이면 `display_name`, `specific_users` 면 `display_names` 가 표시용으로 부가됨 | +| is_active | boolean | `true` | 활성 여부 (false 면 해당 채널 발송 중단) | +| is_default | boolean | `false` | 기본값 상태 여부 (수정 시 항상 `false` 로 전환됨) | +| user_overrides | array \| null | `["subject","body"]` | 사용자가 직접 수정한 필드명 목록 (`HasUserOverrides`) | +| updated_by | string \| null | `a234c2b1-cde8-437f-b28b-23323be2b98d` | 최종 수정한 사용자 UUID (없으면 `null`) | +| created_at | string | `2026-07-08 10:41:24` | 생성 일시 | +| updated_at | string | `2026-07-08 12:14:43` | 최종 수정 일시 | +| abilities | object | `{"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (모두 `core.settings.update` 권한 기반) | **응답 예시** - +```json +{ + "success": true, + "message": "알림 템플릿이 수정되었습니다.", + "data": { + "id": 1, + "definition_id": 1, + "channel": "mail", + "subject": { + "ko": "[{app_name}] 회원가입을 환영합니다", + "en": "[{app_name}] Welcome to Our Service" + }, + "body": { + "ko": "

{name}님, 환영합니다!

", + "en": "

Welcome, {name}!

" + }, + "click_url": "/admin/notifications", + "recipients": [ + { + "type": "role", + "value": "admin", + "display_name": "관리자" + } + ], + "is_active": true, + "is_default": false, + "user_overrides": [ + "subject", + "body" + ], + "updated_by": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "created_at": "2026-07-08 10:41:24", + "updated_at": "2026-07-08 12:14:43", + "abilities": { + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** diff --git a/docs/backend/api/notifications.md b/docs/backend/api/notifications.md index 30e77604..6326e24a 100644 --- a/docs/backend/api/notifications.md +++ b/docs/backend/api/notifications.md @@ -49,16 +49,16 @@ _목록 응답: `data.data[]` 배열 항목의 필드 + `data.pagination`._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | -| number | integer | `23` | 목록에서의 순번 (페이지네이션 반영 행 번호 — HasRowNumber 파생) | -| id | string | `518b9c94-5853-4b68-8193-83af1851bbc6` | 기본 키 (내부 식별자) | -| type | string | `inquiry_received` | | -| type_label | string | `상품 문의 접수` | `type` 값의 사람이 읽는 라벨 (현지화/Enum 파생) | -| subject | string | `새로운 상품 문의가 접수되었습니다` | | -| body | string | `옥혜진님이 "면 손수건 3매입 #1" 상품에 문의를 남겼습니다.` | | -| url | string | `https://g7_2.dev/admin/ecommerce/prod…` | | -| data | object | `{"type":"inquiry_received","subject":"새로운 상품 문의가 접수되었습니다"…` | | -| read_at | string | `2026-07-31 22:06:53` | read 일시 | -| created_at | string | `2026-07-31 21:41:58` | 생성 일시 | +| number | integer | `92` | 목록에서의 순번 (페이지네이션 반영 행 번호 — HasRowNumber 파생) | +| id | string | `02ee1121-ec63-4812-b77a-a0ffb4040acb` | 기본 키 (내부 식별자) | +| type | string | `new_order_admin` | 알림 유형 식별자 (알림 정의의 type — 발송 트리거를 구분) | +| type_label | string | `신규 주문 관리자 알림` | `type` 값의 사람이 읽는 라벨 (현지화/Enum 파생) | +| subject | string | `새로운 주문이 접수되었습니다` | 알림 제목 (알림 템플릿의 subject 를 변수 치환해 렌더한 문자열) | +| body | string | `소경은님이 주문번호 20260713-0038038875 (결제금액:…` | 알림 본문 (알림 템플릿의 body 를 변수 치환해 렌더한 문자열) | +| url | string | `https://g7.dev/admin/ecommerce/orders…` | 알림 클릭 시 이동할 URL (템플릿의 click_url 우선, 없으면 메일 CTA action_url) | +| data | object | `{"type":"new_order_admin","subject":"새로운 주문이 접수되었습니다","bo…` | 알림 원본 페이로드 객체 (type/subject/body/click_url 과 발송 시 전달된 변수 data 를 포함) | +| read_at | null | `null` | read 일시 | +| created_at | string | `2026-07-13 09:38:04` | 생성 일시 | **응답 예시** @@ -302,11 +302,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| marked_count | integer | `2` | 실제로 읽음 처리된 알림 건수 (요청한 `ids` 중 본인 소유이면서 미읽음 상태였던 항목만 집계) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "알림을 읽음 처리했습니다.", + "data": { + "marked_count": 2 + } +} +``` **에러 응답** @@ -404,11 +420,21 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "알림이 삭제되었습니다.", + "data": null +} +``` **에러 응답** @@ -449,11 +475,51 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (읽음 처리 후 갱신된 알림 1건 — `UserNotificationResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | string | `02ee1121-ec63-4812-b77a-a0ffb4040acb` | 알림 기본 키 (UUID) | +| type | string | `new_order_admin` | 알림 유형 식별자 (알림 정의의 type — 발송 트리거를 구분) | +| type_label | string | `신규 주문 관리자 알림` | `type` 값의 사람이 읽는 라벨 (알림 정의의 현지화 이름, 정의 미존재 시 빈 문자열) | +| subject | string | `새로운 주문이 접수되었습니다` | 알림 제목 (알림 템플릿의 subject 를 변수 치환해 렌더한 문자열) | +| body | string | `소경은님이 주문번호 20260713-0038038875 (결제금액:…` | 알림 본문 (알림 템플릿의 body 를 변수 치환해 렌더한 문자열) | +| url | string \| null | `https://g7.dev/admin/ecommerce/orders/1` | 알림 클릭 시 이동할 URL (템플릿의 `click_url` 우선, 없으면 메일 CTA `action_url`, 둘 다 없으면 `null`) | +| data | object | `{"type":"new_order_admin","subject":"...","body":"...","click_url":"..."}` | 알림 원본 페이로드 객체 (type/subject/body/click_url 과 발송 시 전달된 변수 data 를 포함) | +| read_at | string \| null | `2026-07-13 09:40:11` | 읽음 처리 일시 (사용자 타임존 기준 `Y-m-d H:i:s`) — 이 엔드포인트 성공 시 항상 값이 채워짐 | +| created_at | string \| null | `2026-07-13 09:38:04` | 알림 생성 일시 (사용자 타임존 기준 `Y-m-d H:i:s`) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "알림을 읽음 처리했습니다.", + "data": { + "id": "02ee1121-ec63-4812-b77a-a0ffb4040acb", + "type": "new_order_admin", + "type_label": "신규 주문 관리자 알림", + "subject": "새로운 주문이 접수되었습니다", + "body": "소경은님이 주문번호 20260713-0038038875 주문을 접수했습니다.", + "url": "https://g7.dev/admin/ecommerce/orders/1", + "data": { + "type": "new_order_admin", + "subject": "새로운 주문이 접수되었습니다", + "body": "소경은님이 주문번호 20260713-0038038875 주문을 접수했습니다.", + "click_url": "https://g7.dev/admin/ecommerce/orders/1", + "data": { + "action_url": "https://g7.dev/admin/ecommerce/orders/1" + } + }, + "read_at": "2026-07-13 09:40:11", + "created_at": "2026-07-13 09:38:04" + } +} +``` **에러 응답** @@ -503,16 +569,16 @@ _목록 응답: `data.data[]` 배열 항목의 필드 + `data.pagination`._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | -| number | integer | `23` | 목록에서의 순번 (페이지네이션 반영 행 번호 — HasRowNumber 파생) | -| id | string | `518b9c94-5853-4b68-8193-83af1851bbc6` | 기본 키 (내부 식별자) | -| type | string | `inquiry_received` | | -| type_label | string | `상품 문의 접수` | `type` 값의 사람이 읽는 라벨 (현지화/Enum 파생) | -| subject | string | `새로운 상품 문의가 접수되었습니다` | | -| body | string | `옥혜진님이 "면 손수건 3매입 #1" 상품에 문의를 남겼습니다.` | | -| url | string | `https://g7_2.dev/admin/ecommerce/prod…` | | -| data | object | `{"type":"inquiry_received","subject":"새로운 상품 문의가 접수되었습니다"…` | | -| read_at | string | `2026-07-31 22:06:53` | read 일시 | -| created_at | string | `2026-07-31 21:41:58` | 생성 일시 | +| number | integer | `92` | 목록에서의 순번 (페이지네이션 반영 행 번호 — HasRowNumber 파생) | +| id | string | `02ee1121-ec63-4812-b77a-a0ffb4040acb` | 기본 키 (내부 식별자) | +| type | string | `new_order_admin` | 알림 유형 식별자 (알림 정의의 type — 발송 트리거를 구분) | +| type_label | string | `신규 주문 관리자 알림` | `type` 값의 사람이 읽는 라벨 (현지화/Enum 파생) | +| subject | string | `새로운 주문이 접수되었습니다` | 알림 제목 (알림 템플릿의 subject 를 변수 치환해 렌더한 문자열) | +| body | string | `소경은님이 주문번호 20260713-0038038875 (결제금액:…` | 알림 본문 (알림 템플릿의 body 를 변수 치환해 렌더한 문자열) | +| url | string | `https://g7.dev/admin/ecommerce/orders…` | 알림 클릭 시 이동할 URL (템플릿의 click_url 우선, 없으면 메일 CTA action_url) | +| data | object | `{"type":"new_order_admin","subject":"새로운 주문이 접수되었습니다","bo…` | 알림 원본 페이로드 객체 (type/subject/body/click_url 과 발송 시 전달된 변수 data 를 포함) | +| read_at | null | `null` | read 일시 | +| created_at | string | `2026-07-13 09:38:04` | 생성 일시 | **응답 예시** @@ -756,11 +822,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| marked_count | integer | `2` | 실제로 읽음 처리된 알림 건수 (요청한 `ids` 중 본인 소유이면서 미읽음 상태였던 항목만 집계) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "알림을 읽음 처리했습니다.", + "data": { + "marked_count": 2 + } +} +``` **에러 응답** @@ -858,11 +940,21 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "알림이 삭제되었습니다.", + "data": null +} +``` **에러 응답** @@ -903,11 +995,51 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (읽음 처리 후 갱신된 알림 1건 — `UserNotificationResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | string | `9f2c1a44-1b6e-4a55-8b0e-4c8a3f1d90ab` | 알림 기본 키 (UUID) | +| type | string | `order_shipped` | 알림 유형 식별자 (알림 정의의 type — 발송 트리거를 구분) | +| type_label | string | `배송 시작 알림` | `type` 값의 사람이 읽는 라벨 (알림 정의의 현지화 이름, 정의 미존재 시 빈 문자열) | +| subject | string | `주문하신 상품이 발송되었습니다` | 알림 제목 (알림 템플릿의 subject 를 변수 치환해 렌더한 문자열) | +| body | string | `주문번호 20260713-0038038875 상품이 발송되었습니다.` | 알림 본문 (알림 템플릿의 body 를 변수 치환해 렌더한 문자열) | +| url | string \| null | `https://g7.dev/mypage/orders/1` | 알림 클릭 시 이동할 URL (템플릿의 `click_url` 우선, 없으면 메일 CTA `action_url`, 둘 다 없으면 `null`) | +| data | object | `{"type":"order_shipped","subject":"...","body":"...","click_url":"..."}` | 알림 원본 페이로드 객체 (type/subject/body/click_url 과 발송 시 전달된 변수 data 를 포함) | +| read_at | string \| null | `2026-07-13 10:02:33` | 읽음 처리 일시 (사용자 타임존 기준 `Y-m-d H:i:s`) — 이 엔드포인트 성공 시 항상 값이 채워짐 | +| created_at | string \| null | `2026-07-13 09:58:12` | 알림 생성 일시 (사용자 타임존 기준 `Y-m-d H:i:s`) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "알림을 읽음 처리했습니다.", + "data": { + "id": "9f2c1a44-1b6e-4a55-8b0e-4c8a3f1d90ab", + "type": "order_shipped", + "type_label": "배송 시작 알림", + "subject": "주문하신 상품이 발송되었습니다", + "body": "주문번호 20260713-0038038875 상품이 발송되었습니다.", + "url": "https://g7.dev/mypage/orders/1", + "data": { + "type": "order_shipped", + "subject": "주문하신 상품이 발송되었습니다", + "body": "주문번호 20260713-0038038875 상품이 발송되었습니다.", + "click_url": "https://g7.dev/mypage/orders/1", + "data": { + "action_url": "https://g7.dev/mypage/orders/1" + } + }, + "read_at": "2026-07-13 10:02:33", + "created_at": "2026-07-13 09:58:12" + } +} +``` **에러 응답** diff --git a/docs/backend/api/password.md b/docs/backend/api/password.md index ddc9b676..81b60526 100644 --- a/docs/backend/api/password.md +++ b/docs/backend/api/password.md @@ -51,11 +51,17 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** - +```json +{ + "success": true, + "message": "비밀번호가 성공적으로 변경되었습니다.", + "data": null +} +``` **에러 응답** diff --git a/docs/backend/api/plugins.md b/docs/backend/api/plugins.md index 83195078..6cc66aad 100644 --- a/docs/backend/api/plugins.md +++ b/docs/backend/api/plugins.md @@ -237,11 +237,64 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| plugin | object | `{"identifier":"sirsoft-daum_postcode","status":"active", …}` | 활성화된 플러그인 리소스 (PluginResource — 목록 항목과 동일 필드 구성) | +| pending_language_packs | array | `[]` | 이 플러그인 비활성화 시 cascade 로 함께 비활성화됐던 번들 언어팩 목록 (재활성화 대기 후보) | **응답 예시** - +```json +{ + "success": true, + "message": "플러그인이 성공적으로 활성화되었습니다.", + "data": { + "plugin": { + "id": 3, + "identifier": "sirsoft-daum_postcode", + "vendor": "sirsoft", + "name": "Daum 우편번호", + "version": "1.0.0", + "description": "Daum 우편번호 서비스를 통한 주소 검색 기능을 제공하는 플러그인입니다. API 키 없이 무료로 사용할 수 있습니다.", + "dependencies": [], + "permissions": [], + "roles": [], + "config": [], + "hooks": [], + "status": "active", + "is_installed": true, + "has_settings": true, + "settings_route": "/admin/plugins/sirsoft-daum_postcode/settings", + "assets": { + "js": "/api/plugins/assets/sirsoft-daum_postcode/dist/js/plugin.iife.js", + "css": null, + "priority": 100 + }, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": "1.0.0", + "github_url": null, + "github_changelog_url": null, + "is_pending": false, + "is_bundled": true, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true + } + }, + "pending_language_packs": [] + } +} +``` + +의존 확장이 미충족인 상태에서 `force` 없이 호출하면 409 로 경고가 반환됩니다 (`error.warning`, `error.missing_modules`, `error.missing_plugins`, `error.message`). **에러 응답** @@ -249,7 +302,9 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | +| 409 | Conflict | 필요한 의존 확장(모듈/플러그인)이 설치·활성화되지 않은 경우 (`force: true` 로 우회 가능) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 활성화 처리 중 예외 발생 (`plugins.activate_error`) | @@ -277,11 +332,36 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| updated_count | integer | `1` | 업데이트 가능으로 감지된 플러그인 개수 | +| details | array | `[{"identifier":"sirsoft-daum_postcode", …}]` | 업데이트 가능한 플러그인별 상세 배열 (아래 필드) | +| details[].identifier | string | `sirsoft-daum_postcode` | 플러그인 고유 식별자 | +| details[].current_version | string | `1.0.0` | 현재 설치된 버전 | +| details[].latest_version | string | `1.1.0` | 감지된 최신 배포 버전 | +| details[].update_source | string | `github` | 업데이트 감지 출처 (`github` \| `bundled`) | **응답 예시** - +```json +{ + "success": true, + "message": "업데이트 확인이 완료되었습니다.", + "data": { + "updated_count": 1, + "details": [ + { + "identifier": "sirsoft-daum_postcode", + "current_version": "1.0.0", + "latest_version": "1.1.0", + "update_source": "github" + } + ] + } +} +``` **에러 응답** @@ -290,6 +370,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 업데이트 확인 중 예외 발생 (`plugins.check_updates_failed`) | @@ -328,11 +409,71 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 — 비활성화된 플러그인 리소스(PluginResource) 를 그대로 반환합니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer\|null | `3` | 기본 키 (내부 식별자) | +| identifier | string | `sirsoft-daum_postcode` | 플러그인 고유 식별자 (vendor-plugin 형식) | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `Daum 우편번호` | 플러그인 이름 (현재 로케일로 해석) | +| version | string | `1.0.0` | 플러그인 버전 | +| status | string | `inactive` | 비활성화 후 상태 (`inactive`) | +| is_installed | boolean | `true` | 설치 여부 | +| deactivated_reason | string\|null | `manual` | 비활성화 사유 (manual: 사용자 수동 \| incompatible_core: 코어 버전 비호환) | +| deactivated_at | string\|null | `2026-07-14T05:12:33.000000Z` | 비활성화 일시 | +| abilities | object | `{"can_install":true,"can_activate":true,"can_uninstall":true}` | 현재 사용자의 수행 가능 작업 맵 | + +나머지 필드는 목록(`GET /api/admin/plugins`) 응답 항목과 동일합니다 (PluginResource 단일 정의). **응답 예시** - +```json +{ + "success": true, + "message": "플러그인이 성공적으로 비활성화되었습니다.", + "data": { + "id": 3, + "identifier": "sirsoft-daum_postcode", + "vendor": "sirsoft", + "name": "Daum 우편번호", + "version": "1.0.0", + "description": "Daum 우편번호 서비스를 통한 주소 검색 기능을 제공하는 플러그인입니다. API 키 없이 무료로 사용할 수 있습니다.", + "dependencies": [], + "permissions": [], + "roles": [], + "config": [], + "hooks": [], + "status": "inactive", + "is_installed": true, + "has_settings": true, + "settings_route": "/admin/plugins/sirsoft-daum_postcode/settings", + "assets": { + "js": "/api/plugins/assets/sirsoft-daum_postcode/dist/js/plugin.iife.js", + "css": null, + "priority": 100 + }, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": "1.0.0", + "github_url": null, + "github_changelog_url": null, + "is_pending": false, + "is_bundled": true, + "deactivated_reason": "manual", + "deactivated_at": "2026-07-14T05:12:33.000000Z", + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true + } + } +} +``` + +의존 확장이 있는 상태에서 `force` 없이 호출하면 409 로 경고가 반환됩니다 (`error.warning`, `error.dependent_templates`, `error.dependent_modules`, `error.dependent_plugins`, `error.message`). **에러 응답** @@ -340,7 +481,9 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | +| 409 | Conflict | 이 플러그인에 의존하는 활성 템플릿/모듈/플러그인이 있는 경우 (`force: true` 로 우회 가능) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 비활성화 처리 중 예외 발생 (`plugins.deactivate_error`) | @@ -387,11 +530,70 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 — 설치된 플러그인 리소스(PluginResource) + `language_pack_failures`._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-daum_postcode` | 설치된 플러그인 고유 식별자 | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `Daum 우편번호` | 플러그인 이름 (현재 로케일로 해석) | +| version | string | `1.0.0` | 설치된 버전 | +| status | string | `inactive` | 설치 직후 상태 (설치만 수행 — 활성화는 별도 호출) | +| is_installed | boolean | `true` | 설치 여부 | +| has_settings | boolean | `true` | 설정 UI 제공 여부 | +| settings_route | string\|null | `/admin/plugins/sirsoft-daum_postcode/settings` | 설정 페이지 경로 | +| abilities | object | `{"can_install":true,"can_activate":true,"can_uninstall":true}` | 현재 사용자의 수행 가능 작업 맵 | +| language_pack_failures | array | `[]` | cascade 2단계(번들 언어팩 best-effort 설치) 에서 실패한 항목 목록 (성공 시 빈 배열) | + +나머지 필드는 목록(`GET /api/admin/plugins`) 응답 항목과 동일합니다 (PluginResource 단일 정의). **응답 예시** - +```json +{ + "success": true, + "message": "플러그인이 성공적으로 설치되었습니다.", + "data": { + "id": 3, + "identifier": "sirsoft-daum_postcode", + "vendor": "sirsoft", + "name": "Daum 우편번호", + "version": "1.0.0", + "description": "Daum 우편번호 서비스를 통한 주소 검색 기능을 제공하는 플러그인입니다. API 키 없이 무료로 사용할 수 있습니다.", + "dependencies": [], + "permissions": [], + "roles": [], + "config": [], + "hooks": [], + "status": "inactive", + "is_installed": true, + "has_settings": true, + "settings_route": "/admin/plugins/sirsoft-daum_postcode/settings", + "assets": { + "js": "/api/plugins/assets/sirsoft-daum_postcode/dist/js/plugin.iife.js", + "css": null, + "priority": 100 + }, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": "1.0.0", + "github_url": null, + "github_changelog_url": null, + "is_pending": false, + "is_bundled": true, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true + }, + "language_pack_failures": [] + } +} +``` **에러 응답** @@ -399,7 +601,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 실패 또는 설치 실패 (`plugin_name` 에 번역된 설치 실패 사유 — 이미 설치됨/대기소 미존재/의존성 미충족 등) | +| 500 | Server Error | 설치 처리 중 예외 발생 (`plugins.installation_failed`) | @@ -439,11 +642,66 @@ Content-Type: application/octet-stream **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 — 설치된 플러그인 리소스(PluginResource). 성공 시 HTTP 201._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-daum_postcode` | 설치된 플러그인 고유 식별자 (ZIP 내 plugin.json 기준) | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `Daum 우편번호` | 플러그인 이름 | +| version | string | `1.0.0` | 설치된 버전 | +| status | string | `inactive` | 설치 직후 상태 | +| is_installed | boolean | `true` | 설치 여부 | +| abilities | object | `{"can_install":true,"can_activate":true,"can_uninstall":true}` | 현재 사용자의 수행 가능 작업 맵 | + +나머지 필드는 목록(`GET /api/admin/plugins`) 응답 항목과 동일합니다 (PluginResource 단일 정의). **응답 예시** - +```json +{ + "success": true, + "message": "플러그인이 성공적으로 설치되었습니다.", + "data": { + "id": 3, + "identifier": "sirsoft-daum_postcode", + "vendor": "sirsoft", + "name": "Daum 우편번호", + "version": "1.0.0", + "description": "Daum 우편번호 서비스를 통한 주소 검색 기능을 제공하는 플러그인입니다. API 키 없이 무료로 사용할 수 있습니다.", + "dependencies": [], + "permissions": [], + "roles": [], + "config": [], + "hooks": [], + "status": "inactive", + "is_installed": true, + "has_settings": true, + "settings_route": "/admin/plugins/sirsoft-daum_postcode/settings", + "assets": { + "js": "/api/plugins/assets/sirsoft-daum_postcode/dist/js/plugin.iife.js", + "css": null, + "priority": 100 + }, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": "1.0.0", + "github_url": null, + "github_changelog_url": null, + "is_pending": false, + "is_bundled": false, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true + } + } +} +``` **에러 응답** @@ -451,7 +709,8 @@ Content-Type: application/octet-stream | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 파일 검증 실패(ZIP 아님/50MB 초과) 또는 ZIP 처리 실패 (plugin.json 미존재/형식 오류/식별자 누락/이미 설치됨) | +| 500 | Server Error | 설치 처리 중 예외 발생 (`plugins.install_failed`) | @@ -488,11 +747,67 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 — 설치된 플러그인 리소스(PluginResource). 성공 시 HTTP 201._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-daum_postcode` | 설치된 플러그인 고유 식별자 (저장소 plugin.json 기준) | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `Daum 우편번호` | 플러그인 이름 | +| version | string | `1.0.0` | 설치된 버전 (GitHub 릴리스 기준) | +| status | string | `inactive` | 설치 직후 상태 | +| is_installed | boolean | `true` | 설치 여부 | +| github_url | string\|null | `https://github.com/gnuboard/g7-plugin-daum_postcode` | 설치 출처 GitHub 저장소 URL | +| abilities | object | `{"can_install":true,"can_activate":true,"can_uninstall":true}` | 현재 사용자의 수행 가능 작업 맵 | + +나머지 필드는 목록(`GET /api/admin/plugins`) 응답 항목과 동일합니다 (PluginResource 단일 정의). **응답 예시** - +```json +{ + "success": true, + "message": "플러그인이 성공적으로 설치되었습니다.", + "data": { + "id": 3, + "identifier": "sirsoft-daum_postcode", + "vendor": "sirsoft", + "name": "Daum 우편번호", + "version": "1.0.0", + "description": "Daum 우편번호 서비스를 통한 주소 검색 기능을 제공하는 플러그인입니다. API 키 없이 무료로 사용할 수 있습니다.", + "dependencies": [], + "permissions": [], + "roles": [], + "config": [], + "hooks": [], + "status": "inactive", + "is_installed": true, + "has_settings": true, + "settings_route": "/admin/plugins/sirsoft-daum_postcode/settings", + "assets": { + "js": "/api/plugins/assets/sirsoft-daum_postcode/dist/js/plugin.iife.js", + "css": null, + "priority": 100 + }, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": "1.0.0", + "github_url": "https://github.com/gnuboard/g7-plugin-daum_postcode", + "github_changelog_url": null, + "is_pending": false, + "is_bundled": false, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true + } + } +} +``` **에러 응답** @@ -500,7 +815,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | URL 형식 오류(GitHub 저장소 URL 아님) 또는 다운로드/압축 해제/검증 실패 (저장소 미존재·ZIP URL 미발견·plugin.json 오류·이미 설치됨) | +| 500 | Server Error | 설치 처리 중 예외 발생 (`plugins.install_failed`) | @@ -706,11 +1022,40 @@ Content-Type: application/octet-stream **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| manifest | object\|null | `{"identifier":"sirsoft-daum_postcode","version":"1.0.0", …}` | ZIP 내 plugin.json 원문 (파싱 실패 시 null) | +| validation | object | `{"errors":[],"is_valid":true, …}` | 검증 결과 객체 (아래 필드) | +| validation.errors | array | `[]` | 압축 해제/manifest 검증 실패 사유 문자열 목록 (성공 시 빈 배열) | +| validation.is_valid | boolean | `true` | 검증 통과 여부 (errors 가 비었고 manifest 파싱 성공) | +| validation.already_installed | boolean | `false` | 동일 식별자 플러그인이 이미 설치되어 있는지 여부 | +| validation.existing_version | string\|null | `1.0.0` | 이미 설치된 경우 그 버전 (미설치 시 null) | **응답 예시** - +```json +{ + "success": true, + "message": "manifest 미리보기를 완료했습니다.", + "data": { + "manifest": { + "identifier": "sirsoft-daum_postcode", + "vendor": "sirsoft", + "name": "Daum 우편번호", + "version": "1.0.0", + "description": "Daum 우편번호 서비스를 통한 주소 검색 기능을 제공하는 플러그인입니다. API 키 없이 무료로 사용할 수 있습니다." + }, + "validation": { + "errors": [], + "is_valid": true, + "already_installed": false, + "existing_version": null + } + } +} +``` **에러 응답** @@ -718,7 +1063,7 @@ Content-Type: application/octet-stream | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 파일 검증 실패(ZIP 아님/50MB 초과) 또는 미리보기 처리 실패 (`plugins.preview_failed`) | @@ -755,11 +1100,31 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| layouts_refreshed | integer | `3` | 갱신 처리된 레이아웃 총 건수 | +| created | integer | `1` | 신규 등록된 레이아웃 건수 | +| updated | integer | `2` | 내용이 변경되어 갱신된 레이아웃 건수 | +| deleted | integer | `0` | 파일에서 사라져 DB 에서도 삭제된 레이아웃 건수 | +| unchanged | integer | `0` | 변경 없이 그대로 유지된 레이아웃 건수 | **응답 예시** - +```json +{ + "success": true, + "message": "플러그인 레이아웃이 성공적으로 갱신되었습니다.", + "data": { + "layouts_refreshed": 3, + "created": 1, + "updated": 2, + "deleted": 0, + "unchanged": 0 + } +} +``` **에러 응답** @@ -767,7 +1132,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 실패 또는 레이아웃 갱신 실패 (`plugin_name` 에 레이아웃 JSON 파싱/검증 오류 사유) | +| 500 | Server Error | 갱신 처리 중 예외 발생 (`plugins.refresh_layouts_error`) | @@ -800,11 +1166,17 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만)._ **응답 예시** - +```json +{ + "success": true, + "message": "플러그인이 성공적으로 제거되었습니다.", + "data": null +} +``` **에러 응답** @@ -812,7 +1184,8 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 실패 또는 제거 실패 (`plugin_name` 에 번역된 제거 실패 사유 — 미설치/진행 중 상태 등) | +| 500 | Server Error | 제거 처리 중 예외 발생 (`plugins.uninstall_error`) | @@ -1032,12 +1405,12 @@ _목록 응답: `data.data[]` 배열 항목의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | -| identifier | string | `sirsoft-basic` | 플러그인 고유 식별자 (vendor-plugin 형식) | -| name | string | `Basic` | 대상의 이름/명칭 (다국어 필드는 로케일별 값 객체) | -| version | string | `1.0.4` | 플러그인 버전 | -| type | string | `user` | | -| status | string | `active` | 상태 값 (도메인별 상태 집합 — 사람이 읽는 라벨은 status_label, UI 변형은 status_variant 참조) | -| required_version | string | `>=1.0.0` | | +| identifier | string | `sirsoft-ckeditor5` | 플러그인 고유 식별자 (vendor-plugin 형식) | +| name | string | `CKEditor 5 WYSIWYG 에디터` | 플러그인 이름 (다국어 JSON) | +| version | string | `1.0.0` | 플러그인 버전 | +| type | string | `user` | 의존 템플릿의 타입 (admin: 관리자 템플릿 / user: 사용자 템플릿) | +| status | string | `active` | 상태 (active: 활성화, inactive: 비활성화, installing: 설치 중, uninstalling: 제거 중, updating: 업데이트 중) | +| required_version | string | `>=1.0.0` | 요구되는 최소 버전 | **응답 예시** @@ -1169,10 +1542,10 @@ _단건 응답: `data` 객체의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | -| display_mode | string | `layer` | | -| popup_width | integer | `500` | | -| popup_height | integer | `600` | | -| theme_color | string | `#1D4ED8` | | +| display_mode | string | `layer` | 표시 방식 (렌더/노출 모드 구분 값) | +| popup_width | integer | `500` | 팝업 창 너비 (px) | +| popup_height | integer | `600` | 팝업 창 높이 (px) | +| theme_color | string | `#1D4ED8` | 테마 대표 색상 | **응답 예시** @@ -1185,7 +1558,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "display_mode": "layer", "popup_width": 500, @@ -1232,11 +1605,29 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 는 저장 후 다시 조회한 설정 값 맵입니다. 필드 구성은 플러그인마다 다르며 각 플러그인의 설정 스키마(`GET /api/admin/plugins/{identifier}/settings/layout` 의 `schema`)를 따릅니다. 아래는 `sirsoft-daum_postcode` 예._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| display_mode | string | `layer` | 주소 검색창 표시 방식 (popup: 팝업 창 \| layer: 레이어) | +| popup_width | integer | `500` | 팝업 창 너비 (px) | +| popup_height | integer | `600` | 팝업 창 높이 (px) | +| theme_color | string | `#1D4ED8` | 검색창 테마 대표 색상 | **응답 예시** - +```json +{ + "success": true, + "message": "플러그인 설정이 성공적으로 업데이트되었습니다.", + "data": { + "display_mode": "layer", + "popup_width": 500, + "popup_height": 600, + "theme_color": "#1D4ED8" + } +} +``` **에러 응답** @@ -1246,6 +1637,7 @@ Authorization: Bearer {YOUR_TOKEN} | 403 | Forbidden | 요구 권한(`core.plugins.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 설정 저장 실패 (`plugins.settings.update_failed`) | @@ -1280,14 +1672,14 @@ _단건 응답: `data` 객체의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | | version | string | `1.0.0` | 플러그인 버전 | -| layout_name | string | `plugin_settings` | | -| permissions | array | `["core.plugins.update"]` | 권한 목록 (각 원소 id/identifier/name — permissions 관계 또는 역할 경유 파생) | -| extends | string | `_admin_base` | | -| meta | object | `{"title":"$t:sirsoft-daum_postcode.settings.title","descr…` | | -| data_sources | array | `[{"id":"settings","label_key":"$t:sirsoft-daum_postcode.e…` | | -| slots | object | `{"content":[{"id":"plugin_settings_content","type":"basic…` | | -| pageConfig | object | `{"notice":"$t:sirsoft-daum_postcode.settings.notice","gui…` | | -| schema | object | `{"display_mode":{"type":"enum","options":["popup","layer"…` | | +| layout_name | string | `plugin_settings` | 레이아웃 식별자 (파일 경로 기반 — 예: board/popular) | +| permissions | array | `[]` | 연결된 권한 목록 (id/identifier/name — 역할 경유 권한 관계 파생) | +| extends | string | `_admin_base` | 상속하는 베이스 레이아웃 이름 (미상속 시 null) | +| meta | object | `{"title":"$t:sirsoft-daum_postcode.settings.title","descr…` | 메타 정보 객체 (title/description/seo 등) | +| data_sources | array | `[{"id":"settings","label_key":"$t:sirsoft-daum_postcode.e…` | API 데이터 소스 정의 배열 (id/endpoint/method) | +| slots | object | `{"content":[{"id":"plugin_settings_content","type":"basic…` | 슬롯별 삽입 콘텐츠 맵 (베이스 레이아웃의 slot 위치에 주입) | +| pageConfig | object | `{"notice":"$t:sirsoft-daum_postcode.settings.notice","gui…` | 페이지 단위 설정 객체 | +| schema | object | `{"display_mode":{"type":"enum","options":["popup","layer"…` | 스키마 정의 객체 | **응답 예시** @@ -1300,7 +1692,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "version": "1.0.0", "layout_name": "plugin_settings", @@ -1354,11 +1746,85 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (PluginResource::toDetailArray + 언어팩 주입)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer\|null | `3` | 기본 키 (내부 식별자, 미설치 시 null) | +| identifier | string | `sirsoft-daum_postcode` | 플러그인 고유 식별자 (vendor-plugin 형식) | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `Daum 우편번호` | 플러그인 이름 (현재 로케일로 해석) | +| version | string | `1.0.0` | 플러그인 버전 | +| description | string | `Daum 우편번호 서비스를 통한 주소 검색 기능을 …` | 플러그인 설명 (현재 로케일로 해석) | +| github_url | string\|null | `https://github.com/gnuboard/g7-plugin-daum_postcode` | GitHub 저장소 URL | +| requires_core | string\|null | `>=7.0.0-beta.2` | 요구되는 코어 최소 버전 (manifest `requires.g7_version`) | +| dependencies | array | `[]` | 의존하는 확장 목록 (manifest 파생) | +| status | string | `active` | 상태 (active/inactive/uninstalled/installing/uninstalling/updating) | +| is_installed | boolean | `true` | 설치 여부 | +| has_settings | boolean | `true` | 설정 UI 제공 여부 | +| settings_route | string\|null | `/admin/plugins/sirsoft-daum_postcode/settings` | 설정 페이지 경로 | +| permissions | array | `[]` | 연결된 권한 목록 | +| roles | array | `[]` | 플러그인이 정의한 역할 목록 | +| hooks | array | `[]` | 훅 설정 정보 | +| config | array | `[]` | 플러그인 설정 값 맵 | +| license | string\|null | `MIT` | 라이선스 식별자 (manifest `license`) | +| metadata | array | `[]` | manifest 부가 메타데이터 | +| update_available | boolean | `false` | 업데이트 가능 여부 | +| update_source | string\|null | `github` | 업데이트 감지 출처 (github \| bundled) | +| latest_version | string\|null | `1.0.0` | 감지된 최신 배포 버전 | +| file_version | string\|null | `1.0.0` | 설치된 파일의 manifest 버전 | +| github_changelog_url | string\|null | `https://github.com/gnuboard/g7-plugin-daum_postcode/releases` | GitHub 변경 내역 URL | +| is_pending | boolean | `false` | _pending 대기소에 있어 설치 대기 중인지 여부 | +| is_bundled | boolean | `true` | 코어에 선탑재된 번들 확장인지 여부 | +| deactivated_reason | string\|null | `null` | 비활성화 사유 (manual \| incompatible_core \| null) | +| deactivated_at | string\|null | `null` | 비활성화 일시 | +| incompatible_required_version | string\|null | `null` | 코어 버전 미충족 시 필요한 버전 (호환되면 null) | +| created_at | string\|null | `2026-07-01T02:11:03.000000Z` | 설치(레코드 생성) 일시 | +| updated_at | string\|null | `2026-07-10T08:24:51.000000Z` | 최종 갱신 일시 | +| language_packs | array | `[]` | 이 플러그인이 지원하는 번들 언어팩 목록 (설치/설치가능 슬롯) | **응답 예시** - +```json +{ + "success": true, + "message": "플러그인 정보를 성공적으로 가져왔습니다.", + "data": { + "id": 3, + "identifier": "sirsoft-daum_postcode", + "vendor": "sirsoft", + "name": "Daum 우편번호", + "version": "1.0.0", + "description": "Daum 우편번호 서비스를 통한 주소 검색 기능을 제공하는 플러그인입니다. API 키 없이 무료로 사용할 수 있습니다.", + "github_url": null, + "requires_core": ">=7.0.0-beta.2", + "dependencies": [], + "status": "active", + "is_installed": true, + "has_settings": true, + "settings_route": "/admin/plugins/sirsoft-daum_postcode/settings", + "permissions": [], + "roles": [], + "hooks": [], + "config": [], + "license": "MIT", + "metadata": [], + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": "1.0.0", + "github_changelog_url": null, + "is_pending": false, + "is_bundled": true, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "created_at": "2026-07-01T02:11:03.000000Z", + "updated_at": "2026-07-10T08:24:51.000000Z", + "language_packs": [] + } +} +``` **에러 응답** @@ -1366,8 +1832,9 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 해당 식별자의 플러그인이 존재하지 않는 경우 (`plugins.not_found`) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 조회 처리 중 예외 발생 (`plugins.fetch_failed`) | @@ -1397,11 +1864,38 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| has_modified_layouts | boolean | `true` | 사용자가 수정한 레이아웃이 하나라도 있는지 여부 | +| modified_count | integer | `1` | 수정된 레이아웃 건수 | +| modified_layouts | array | `[{"id":12,"name":"plugin_settings", …}]` | 수정된 레이아웃 상세 배열 (아래 필드) | +| modified_layouts[].id | integer | `12` | 레이아웃 레코드 기본 키 | +| modified_layouts[].name | string | `plugin_settings` | 레이아웃 이름 (파일 경로 기반) | +| modified_layouts[].updated_at | string\|null | `2026-07-10 08:24:51` | 최종 수정 일시 (Y-m-d H:i:s) | +| modified_layouts[].size_diff | integer | `128` | 원본 대비 콘텐츠 크기 증감 (바이트, 음수 가능) | **응답 예시** - +```json +{ + "success": true, + "message": "수정된 레이아웃 확인이 완료되었습니다.", + "data": { + "has_modified_layouts": true, + "modified_count": 1, + "modified_layouts": [ + { + "id": 12, + "name": "plugin_settings", + "updated_at": "2026-07-10 08:24:51", + "size_diff": 128 + } + ] + } +} +``` **에러 응답** @@ -1409,8 +1903,9 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | -| 404 | Not Found | 해당 식별자의 플러그인이 설치되어 있지 않은 경우 (레이아웃 0건과 구분됨) | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 확인 처리 실패 (`plugin_name` 에 실패 사유 — `plugins.check_modified_layouts_failed`) | +| 500 | Server Error | 확인 처리 중 예외 발생 | @@ -1440,11 +1935,60 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| target | object | `{"identifier":"sirsoft-daum_postcode","name":"Daum 우편번호","version":"1.0.0"}` | 설치 대상 플러그인 요약 (identifier/name/version) | +| dependencies | array | `[]` | 의존 확장 cascade 후보 목록 (아래 필드) | +| dependencies[].type | string | `module` | 의존 확장 유형 (module \| plugin) | +| dependencies[].identifier | string | `sirsoft-ecommerce` | 의존 확장 식별자 | +| dependencies[].name | string\|null | `이커머스` | 의존 확장 이름 | +| dependencies[].required_version | string\|null | `>=1.0.0` | 요구되는 최소 버전 | +| dependencies[].installed_version | string\|null | `null` | 현재 설치된 버전 (미설치 시 null) | +| dependencies[].is_installed | boolean | `false` | 설치 여부 | +| dependencies[].is_active | boolean | `false` | 활성화 여부 | +| dependencies[].is_met | boolean | `false` | 의존 조건 충족 여부 | +| dependencies[].available | boolean | `true` | cascade 선택 후보 여부 (미충족 항목만 true) | +| dependencies[].default_selected | boolean | `true` | 체크리스트 기본 선택 여부 (미충족 + 미설치) | +| language_packs | array | `[]` | 함께 설치 가능한 미설치 번들 언어팩 목록 (아래 필드) | +| language_packs[].bundled_identifier | string | `g7-plugin-daum_postcode-ja` | 번들 언어팩 식별자 | +| language_packs[].locale | string | `ja` | 로케일 코드 | +| language_packs[].locale_native_name | string | `日本語` | 로케일 원어 표기 | +| language_packs[].locale_name | string | `일본어` | 로케일 이름 (현재 로케일 표기) | +| language_packs[].version | string | `1.0.0` | 언어팩 버전 | +| language_packs[].depends_on_extension | string\|null | `null` | 이 언어팩이 귀속된 의존 확장 식별자 (본 확장 소유이면 null) | +| language_packs[].available | boolean | `true` | 함께 설치 가능한지 여부 | +| language_packs[].default_selected | boolean | `true` | 체크리스트 기본 선택 여부 | **응답 예시** - +```json +{ + "success": true, + "message": "플러그인 정보를 성공적으로 가져왔습니다.", + "data": { + "target": { + "identifier": "sirsoft-daum_postcode", + "name": "Daum 우편번호", + "version": "1.0.0" + }, + "dependencies": [], + "language_packs": [ + { + "bundled_identifier": "g7-plugin-daum_postcode-ja", + "locale": "ja", + "locale_native_name": "日本語", + "locale_name": "일본어", + "version": "1.0.0", + "depends_on_extension": null, + "available": true, + "default_selected": true + } + ] + } +} +``` **에러 응답** @@ -1454,6 +1998,7 @@ Authorization: Bearer {YOUR_TOKEN} | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 대상 확장을 찾을 수 없거나 프리뷰 빌드 중 예외 발생 (`plugins.fetch_failed`) | @@ -1483,11 +2028,52 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| tables | array | `[{"name":"plugin_daum_logs","size_bytes":16384, …}]` | 삭제 대상 DB 테이블 목록 (마이그레이션 정적 테이블 + 동적 테이블) | +| tables[].name | string | `plugin_daum_logs` | 테이블명 (prefix 제외) | +| tables[].size_bytes | integer\|null | `16384` | 테이블 용량 (바이트). 용량 조회 미지원 DB 에서는 null | +| tables[].size_formatted | string | `16 KB` | 사람이 읽는 용량 표기 | +| storage_directories | array | `[]` | `storage/app/plugins/{identifier}` 하위 1-depth 디렉토리 목록 (name/size_bytes/size_formatted) | +| vendor_directory | object\|null | `{"items":[…],"total_size_bytes":1048576,"total_size_formatted":"1 MB"}` | Composer vendor/ 및 composer.lock 정보 (없으면 null) | +| extension_directory | object\|null | `{"path":"plugins/sirsoft-daum_postcode","size_bytes":524288,"size_formatted":"512 KB"}` | 확장 설치 디렉토리 경로와 용량 (없으면 null) | +| shared_records | array | `[{"table":"permissions","label_key":"permissions","count":3}]` | 코어 공유 테이블에 적재된 이 플러그인 소유 레코드 (permissions/menus/notification_definitions/identity_policies/identity_message_definitions, 0건 항목은 제외) | +| total_table_size_bytes | integer | `16384` | 삭제 대상 테이블 총 용량 (바이트) | +| total_table_size_formatted | string | `16 KB` | 테이블 총 용량 표기 | +| total_storage_size_bytes | integer | `0` | 스토리지 디렉토리 총 용량 (바이트) | +| total_storage_size_formatted | string | `0 B` | 스토리지 총 용량 표기 | **응답 예시** - +```json +{ + "success": true, + "message": "플러그인 삭제 정보를 성공적으로 조회했습니다.", + "data": { + "tables": [], + "storage_directories": [], + "vendor_directory": null, + "extension_directory": { + "path": "plugins/sirsoft-daum_postcode", + "size_bytes": 524288, + "size_formatted": "512 KB" + }, + "shared_records": [ + { + "table": "permissions", + "label_key": "permissions", + "count": 3 + } + ], + "total_table_size_bytes": 0, + "total_table_size_formatted": "0 B", + "total_storage_size_bytes": 0, + "total_storage_size_formatted": "0 B" + } +} +``` **에러 응답** @@ -1495,8 +2081,9 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 해당 식별자의 플러그인이 존재하지 않는 경우 (`plugins.not_found`) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 삭제 정보 조회 중 예외 발생 (`plugins.uninstall_info_failed`) | @@ -1540,11 +2127,66 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 는 업데이트된 플러그인 리소스(PluginResource) 입니다. 플러그인 정보를 얻을 수 없는 예외 경로에서는 업데이트 결과 맵(success/from_version/to_version/message) 이 반환됩니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-daum_postcode` | 업데이트된 플러그인 고유 식별자 | +| version | string | `1.1.0` | 업데이트 후 버전 | +| file_version | string\|null | `1.1.0` | 설치된 파일의 manifest 버전 | +| status | string | `active` | 업데이트 후 상태 (업데이트 이전 상태로 복원) | +| update_available | boolean | `false` | 업데이트 후 재계산된 업데이트 가능 여부 | +| latest_version | string\|null | `1.1.0` | 감지된 최신 배포 버전 | +| abilities | object | `{"can_install":true,"can_activate":true,"can_uninstall":true}` | 현재 사용자의 수행 가능 작업 맵 | + +나머지 필드는 목록(`GET /api/admin/plugins`) 응답 항목과 동일합니다 (PluginResource 단일 정의). 업데이트할 내용이 없고 `force` 도 없는 경우에는 `{"success": false, "from_version": …, "to_version": …, "message": "업데이트할 내용이 없습니다."}` 형태가 `data` 로 반환됩니다. **응답 예시** - +```json +{ + "success": true, + "message": "플러그인 \"sirsoft-daum_postcode\"이(가) 1.1.0 버전으로 업데이트되었습니다.", + "data": { + "id": 3, + "identifier": "sirsoft-daum_postcode", + "vendor": "sirsoft", + "name": "Daum 우편번호", + "version": "1.1.0", + "description": "Daum 우편번호 서비스를 통한 주소 검색 기능을 제공하는 플러그인입니다. API 키 없이 무료로 사용할 수 있습니다.", + "dependencies": [], + "permissions": [], + "roles": [], + "config": [], + "hooks": [], + "status": "active", + "is_installed": true, + "has_settings": true, + "settings_route": "/admin/plugins/sirsoft-daum_postcode/settings", + "assets": { + "js": "/api/plugins/assets/sirsoft-daum_postcode/dist/js/plugin.iife.js", + "css": null, + "priority": 100 + }, + "update_available": false, + "update_source": null, + "latest_version": "1.1.0", + "file_version": "1.1.0", + "github_url": null, + "github_changelog_url": null, + "is_pending": false, + "is_bundled": true, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true + } + } +} +``` **에러 응답** @@ -1553,7 +2195,8 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 업데이트 실패 (`plugin_name` 에 번역된 사유 — 다운그레이드 차단, 강제 업데이트 소스 없음, 코어 버전 비호환, 진행 중 상태 등) | +| 500 | Server Error | 업데이트 처리 중 예외 발생 (`plugins.errors.update_failed`) | @@ -1624,20 +2267,35 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투를 반환하지 않습니다 — 요청한 에셋 파일의 원본 바이트를 그대로 서빙합니다 (성공 시 200 또는 304)._ + +| 응답 헤더 | 예시값 | 용도/설명 | +| --- | --- | --- | +| Content-Type | `text/javascript` | 파일 확장자에서 감지한 MIME 타입 | +| ETag | `"a1b2c3d4…"` | 파일 내용 기반 검증자 (재요청 시 304 판정) | +| Cache-Control | `public, max-age=31536000` | 1년 캐시 (환경별로 달라짐 — 비프로덕션은 no-cache) | **응답 예시** - +```http +HTTP/1.1 200 +Content-Type: text/javascript +Cache-Control: public, max-age=31536000 +ETag: "a1b2c3d4e5f6" + +(function(){/* 플러그인 IIFE 번들 원본 바이트 */})(); +``` + +에러 시에는 JSON 봉투로 응답합니다. **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 허용되지 않은 파일 형식 (`plugins.errors.file_type_not_allowed`) | +| 404 | Not Found | 플러그인이 없거나 비활성 (`plugins.errors.not_found`) 또는 파일 미존재 (`plugins.errors.file_not_found`) | +| 422 | Unprocessable Entity | 경로/확장자 보안 검증 실패 (ServePluginAssetRequest) | +| 500 | Server Error | 알 수 없는 오류 (`plugins.errors.unknown_error`) | @@ -1664,19 +2322,32 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투를 반환하지 않습니다 — 활성 플러그인 CSS 를 병합한 텍스트를 그대로 서빙합니다 (성공 시 200 또는 304)._ + +| 응답 헤더 | 예시값 | 용도/설명 | +| --- | --- | --- | +| Content-Type | `text/css` | 항상 CSS | +| ETag | `"a1b2c3d4…"` | 병합 파일 내용 기반 검증자 (병합 파일이 있는 경우) | +| Cache-Control | `public, max-age=31536000` | 1년 캐시 (환경별로 달라짐 — 비프로덕션은 매 요청 재병합) | + +활성 global 플러그인 에셋이 하나도 없으면 본문이 빈 200 응답(`text/css`) 입니다. **응답 예시** - +```http +HTTP/1.1 200 +Content-Type: text/css +Cache-Control: public, max-age=31536000 + +/* sirsoft-gdpr */ +.g7-gdpr-banner{position:fixed;bottom:0} +/* sirsoft-ckeditor5 */ +.ck-editor__editable{min-height:240px} +``` **에러 응답** -| 상태코드 | 의미 | 발생 조건 | -| --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +_에러 응답 없음 — 공개 조회이며 요청 파라미터가 없고, 활성 에셋이 하나도 없는 경우에도 빈 200 을 반환합니다._ @@ -1703,19 +2374,31 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투를 반환하지 않습니다 — 활성 플러그인 IIFE JS 를 병합한 텍스트를 그대로 서빙합니다 (성공 시 200 또는 304)._ + +| 응답 헤더 | 예시값 | 용도/설명 | +| --- | --- | --- | +| Content-Type | `text/javascript` | 항상 JavaScript | +| ETag | `"a1b2c3d4…"` | 병합 파일 내용 기반 검증자 (병합 파일이 있는 경우) | +| Cache-Control | `public, max-age=31536000` | 1년 캐시 (환경별로 달라짐 — 비프로덕션은 매 요청 재병합) | + +활성 global 플러그인 에셋이 하나도 없으면 본문이 빈 200 응답(`text/javascript`) 입니다. 병합 시 각 IIFE 사이는 `\n;\n` 구분자로 연결됩니다. **응답 예시** - +```http +HTTP/1.1 200 +Content-Type: text/javascript +Cache-Control: public, max-age=31536000 + +(function(){/* sirsoft-gdpr plugin.iife.js */})(); +; +(function(){/* sirsoft-ckeditor5 plugin.iife.js */})(); +``` **에러 응답** -| 상태코드 | 의미 | 발생 조건 | -| --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +_에러 응답 없음 — 공개 조회이며 요청 파라미터가 없고, 활성 에셋이 하나도 없는 경우에도 빈 200 을 반환합니다._ @@ -1870,30 +2553,44 @@ Accept: application/json **응답 필드** (`data` 내부) +_이 엔드포인트는 `success/message/data` 봉투를 사용하지 않습니다 — 플러그인의 `components.json` 원문을 그대로 JSON body 로 반환합니다 (`Cache-Control: public, max-age=3600`). 파일이 없는 구버전 플러그인은 빈 객체(`{}`) 로 폴백합니다._ - - +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| $schema | string | `https://json-schema.org/draft/2020-12/schema` | 매니페스트 JSON 스키마 참조 | +| identifier | string | `sirsoft-ckeditor5` | 이 매니페스트를 소유한 플러그인 식별자 | +| version | string | `1.0.0-beta.4` | 매니페스트(플러그인) 버전 | +| components | object | `{"basic":[],"composite":[],"layout":[]}` | 타입별 컴포넌트 정의 맵 | +| components.basic | array | `[]` | Basic 컴포넌트 정의 목록 (HTML 래핑 계층) | +| components.composite | array | `[]` | Composite 컴포넌트 정의 목록 (집합 컴포넌트) | +| components.layout | array | `[]` | Layout 컴포넌트 정의 목록 | **응답 예시** - - ```http HTTP/1.1 200 +Content-Type: application/json +Cache-Control: public, max-age=3600 ``` ```json -[] +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "identifier": "sirsoft-ckeditor5", + "version": "1.0.0-beta.4", + "components": { + "basic": [], + "composite": [], + "layout": [] + } +} ``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.plugins.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | 해당 식별자의 플러그인이 없거나 비활성 상태인 경우 (`plugins.errors.not_found`) | diff --git a/docs/backend/api/profile.md b/docs/backend/api/profile.md index b9620ab8..c66ccf19 100644 --- a/docs/backend/api/profile.md +++ b/docs/backend/api/profile.md @@ -38,11 +38,75 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`UserResource::toProfileArray()` 산물)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| uuid | string | `a231747f-e82e-4cf2-9ae1-a261849dce40` | 외부 노출용 UUID (URL/API 식별자, 내부 id 비노출) | +| name | string | `홍길동` | 사용자 이름 | +| nickname | string\|null | `gildong` | 닉네임 (미설정 시 null) | +| email | string | `user@example.com` | 이메일 주소 | +| avatar | string\|null | `null` | 아바타 이미지 URL (`User::getAvatarUrl()` 산물, 미등록 시 null) | +| language | string | `ko` | 사용자 언어 설정 (`config('app.supported_locales')` 값 — 기본 `ko`, `en`) | +| timezone | string\|null | `Asia/Seoul` | 사용자 시간대 식별자 | +| country | string\|null | `KR` | 국가 코드 (ISO 3166-1 alpha-2) | +| status | string | `active` | 계정 상태 (`active`, `inactive`, `blocked`, `withdrawn`, `pending_verification`) | +| status_label | string\|null | `활성` | 상태의 다국어 라벨 (`UserStatus::label()` 산물) | +| status_variant | string\|null | `success` | 상태 배지 색상 키 (`success`/`secondary`/`danger`/`warning`/`info`) | +| homepage | string\|null | `https://example.com` | 홈페이지 URL | +| mobile | string\|null | `010-1234-5678` | 휴대전화 번호 | +| phone | string\|null | `02-123-4567` | 전화번호 | +| zipcode | string\|null | `06234` | 우편번호 | +| address | string\|null | `서울특별시 강남구 테헤란로 1` | 기본 주소 | +| address_detail | string\|null | `101동 202호` | 상세 주소 | +| signature | string\|null | `null` | 게시글 서명 | +| bio | string\|null | `null` | 자기소개 | +| is_super | boolean | `false` | 슈퍼관리자 여부 (`User::isSuperAdmin()` 파생) | +| is_admin | boolean | `false` | 관리자 역할 보유 여부 (`User::isAdmin()` 파생) | +| withdrawn_at | string\|null | `null` | 탈퇴 처리 일시 (사용자 시간대 기준) | +| last_login_at | string\|null | `2026-07-05 19:15:16` | 마지막 로그인 일시 (사용자 시간대 기준) | +| last_login_human | string\|null | `1일 전` | 마지막 로그인 시각의 상대 표현 (`diffForHumans()` 산물) | +| created_at | string\|null | `2026-07-06 19:15:16` | 가입 일시 (사용자 시간대 기준) | +| is_owner | boolean | `true` | 현재 인증 사용자가 이 리소스의 소유자인지 여부 | + +> 위 필드에 더해 `core.user.filter_resource_data` 훅으로 확장 소유 필드가 병합된다 (게시판 모듈 `notify_*`, 마케팅 플러그인 `marketing_consent*`/`email_subscription*`/`third_party_consent*`/`info_disclosure*`/`channels`/`consent_histories`, 이커머스 모듈 `ecommerce_*`). 전체 목록은 `GET /api/me` 문서 참조. **응답 예시** - +```json +{ + "success": true, + "message": "프로필 정보를 성공적으로 가져왔습니다.", + "data": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "홍길동", + "nickname": "gildong", + "email": "user@example.com", + "avatar": null, + "language": "ko", + "timezone": "Asia/Seoul", + "country": "KR", + "status": "active", + "status_label": "활성", + "status_variant": "success", + "homepage": null, + "mobile": "010-1234-5678", + "phone": null, + "zipcode": "06234", + "address": "서울특별시 강남구 테헤란로 1", + "address_detail": "101동 202호", + "signature": null, + "bio": null, + "is_super": false, + "is_admin": false, + "withdrawn_at": null, + "last_login_at": "2026-07-05 19:15:16", + "last_login_human": "1일 전", + "created_at": "2026-07-06 19:15:16", + "is_owner": true + } +} +``` **에러 응답** @@ -133,11 +197,83 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`UserResource::toArray()` 산물 — `show` 의 `toProfileArray()` 와 필드 구성이 다르다)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| uuid | string | `a234c2b1-cde8-437f-b28b-23323be2b98d` | 외부 노출용 UUID | +| name | string | `홍길동` | 사용자 이름 | +| nickname | string\|null | `gildong` | 닉네임 | +| email | string | `user@example.com` | 이메일 주소 | +| avatar | string\|null | `null` | 아바타 이미지 URL (미등록 시 null) | +| language | string | `ko` | 사용자 언어 설정 | +| language_label | string\|null | `한국어` | 언어의 다국어 라벨 (`user.language.{code}` 번역) | +| country | string\|null | `KR` | 국가 코드 (ISO 3166-1 alpha-2) | +| status | string | `active` | 계정 상태 (`active`, `inactive`, `blocked`, `withdrawn`, `pending_verification`) | +| status_label | string\|null | `활성` | 상태의 다국어 라벨 | +| status_variant | string\|null | `success` | 상태 배지 색상 키 (`success`/`secondary`/`danger`/`warning`/`info`) | +| is_admin | boolean | `false` | 관리자 역할 보유 여부 | +| homepage | string\|null | `https://example.com` | 홈페이지 URL | +| mobile | string\|null | `010-1234-5678` | 휴대전화 번호 | +| phone | string\|null | `02-123-4567` | 전화번호 | +| zipcode | string\|null | `06234` | 우편번호 | +| address | string\|null | `서울특별시 강남구 테헤란로 1` | 기본 주소 | +| address_detail | string\|null | `101동 202호` | 상세 주소 | +| signature | string\|null | `null` | 게시글 서명 | +| bio | string\|null | `null` | 자기소개 | +| last_login_at | string\|null | `2026-07-05 19:15:16` | 마지막 로그인 일시 (사용자 시간대 기준) | +| email_verified_at | string\|null | `null` | 이메일 인증 완료 일시 (미인증 시 null) | +| timezone | string\|null | `Asia/Seoul` | 사용자 시간대 식별자 | +| created_at | string\|null | `2026-07-06 19:15:16` | 가입 일시 | +| updated_at | string\|null | `2026-07-08 10:41:24` | 최종 수정 일시 | +| is_owner | boolean | `true` | 현재 인증 사용자가 이 리소스의 소유자인지 여부 | +| abilities | object | `{"can_read":true,"can_update":true,...}` | 현재 사용자의 리소스 권한 맵 (`can_read`/`can_create`/`can_update`/`can_delete`/`can_assign_roles`) | + +> `modules_count`/`plugins_count`/`menus_count`·`modules`/`plugins`/`menus`/`roles`/`permissions`/`consents`/`terms_consent`/`privacy_consent` 는 해당 관계가 로드된 경우에만 포함된다 (프로필 수정 응답에서는 로드되지 않아 생략). 확장 소유 필드는 `core.user.filter_resource_data` 훅으로 병합된다. **응답 예시** - +```json +{ + "success": true, + "message": "사용자 정보가 성공적으로 업데이트되었습니다.", + "data": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "홍길동", + "nickname": "gildong", + "email": "user@example.com", + "avatar": null, + "language": "ko", + "language_label": "한국어", + "country": "KR", + "status": "active", + "status_label": "활성", + "status_variant": "success", + "is_admin": false, + "homepage": null, + "mobile": "010-1234-5678", + "phone": null, + "zipcode": "06234", + "address": "서울특별시 강남구 테헤란로 1", + "address_detail": "101동 202호", + "signature": null, + "bio": null, + "last_login_at": "2026-07-05 19:15:16", + "email_verified_at": null, + "timezone": "Asia/Seoul", + "created_at": "2026-07-06 19:15:16", + "updated_at": "2026-07-08 10:41:24", + "is_owner": true, + "abilities": { + "can_read": false, + "can_create": false, + "can_update": false, + "can_delete": false, + "can_assign_roles": false + } + } +} +``` **에러 응답** @@ -174,11 +310,38 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체에 `activities` 배열이 담긴다 (페이지네이션 없음, 최신순 최대 50건)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| activities | array | `[{...}]` | 최근 활동 로그 목록 (최신순, 최대 50건) | +| activities[].id | integer | `1` | 활동 로그 기본 키 | +| activities[].action | string | `profile.update` | 활동 액션 키 (점 표기, 예: `profile.show`, `profile.update`, `auth.login`) | +| activities[].action_label | string | `프로필 수정` | 액션의 다국어 라벨 (`activity_log.action.*` 번역, 확장 액션은 확장 lang 우선) | +| activities[].description | string | `프로필 정보를 수정했습니다.` | 활동 설명 (현재 로케일 기준 렌더 결과, `description_key` 미설정 시 빈 문자열) | +| activities[].ip_address | string\|null | `127.0.0.1` | 활동을 수행한 클라이언트 IP | +| activities[].created_at | string\|null | `2026-07-06T19:15:16+09:00` | 활동 발생 일시 (ISO 8601) | **응답 예시** - +```json +{ + "success": true, + "message": "활동 기록을 성공적으로 가져왔습니다.", + "data": { + "activities": [ + { + "id": 1024, + "action": "profile.update", + "action_label": "프로필 수정", + "description": "프로필 정보를 수정했습니다.", + "ip_address": "127.0.0.1", + "created_at": "2026-07-06T19:15:16+09:00" + } + ] + } +} +``` **에러 응답** @@ -214,11 +377,81 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`UserResource::toArray()` 산물 — `PUT /api/user/profile` 응답과 동일 구조)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| uuid | string | `a234c2b1-cde8-437f-b28b-23323be2b98d` | 외부 노출용 UUID | +| name | string | `홍길동` | 사용자 이름 | +| nickname | string\|null | `gildong` | 닉네임 | +| email | string | `user@example.com` | 이메일 주소 | +| avatar | string\|null | `null` | 아바타 이미지 URL | +| language | string | `en` | 변경된 사용자 언어 설정 | +| language_label | string\|null | `English` | 언어의 다국어 라벨 (`user.language.{code}` 번역) | +| country | string\|null | `KR` | 국가 코드 (ISO 3166-1 alpha-2) | +| status | string | `active` | 계정 상태 | +| status_label | string\|null | `활성` | 상태의 다국어 라벨 | +| status_variant | string\|null | `success` | 상태 배지 색상 키 | +| is_admin | boolean | `false` | 관리자 역할 보유 여부 | +| homepage | string\|null | `null` | 홈페이지 URL | +| mobile | string\|null | `010-1234-5678` | 휴대전화 번호 | +| phone | string\|null | `null` | 전화번호 | +| zipcode | string\|null | `06234` | 우편번호 | +| address | string\|null | `서울특별시 강남구 테헤란로 1` | 기본 주소 | +| address_detail | string\|null | `101동 202호` | 상세 주소 | +| signature | string\|null | `null` | 게시글 서명 | +| bio | string\|null | `null` | 자기소개 | +| last_login_at | string\|null | `2026-07-05 19:15:16` | 마지막 로그인 일시 | +| email_verified_at | string\|null | `null` | 이메일 인증 완료 일시 | +| timezone | string\|null | `Asia/Seoul` | 사용자 시간대 식별자 | +| created_at | string\|null | `2026-07-06 19:15:16` | 가입 일시 | +| updated_at | string\|null | `2026-07-08 10:41:24` | 최종 수정 일시 | +| is_owner | boolean | `true` | 현재 인증 사용자가 이 리소스의 소유자인지 여부 | +| abilities | object | `{"can_read":false,...}` | 현재 사용자의 리소스 권한 맵 | **응답 예시** - +```json +{ + "success": true, + "message": "언어 설정이 성공적으로 변경되었습니다.", + "data": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "홍길동", + "nickname": "gildong", + "email": "user@example.com", + "avatar": null, + "language": "en", + "language_label": "English", + "country": "KR", + "status": "active", + "status_label": "활성", + "status_variant": "success", + "is_admin": false, + "homepage": null, + "mobile": "010-1234-5678", + "phone": null, + "zipcode": "06234", + "address": "서울특별시 강남구 테헤란로 1", + "address_detail": "101동 202호", + "signature": null, + "bio": null, + "last_login_at": "2026-07-05 19:15:16", + "email_verified_at": null, + "timezone": "Asia/Seoul", + "created_at": "2026-07-06 19:15:16", + "updated_at": "2026-07-08 10:41:24", + "is_owner": true, + "abilities": { + "can_read": false, + "can_create": false, + "can_update": false, + "can_delete": false, + "can_assign_roles": false + } + } +} +``` **에러 응답** diff --git a/docs/backend/api/roles.md b/docs/backend/api/roles.md index 47fdf28c..bf1eda1e 100644 --- a/docs/backend/api/roles.md +++ b/docs/backend/api/roles.md @@ -440,7 +440,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — 컨트롤러가 `role.delete_success` 키로 `success()` 만 호출)._ **응답 예시** diff --git a/docs/backend/api/schedules.md b/docs/backend/api/schedules.md index 86502f69..b7c5a56f 100644 --- a/docs/backend/api/schedules.md +++ b/docs/backend/api/schedules.md @@ -319,11 +319,27 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| deleted_count | integer | `3` | 실제로 삭제된 스케줄 건수 (`ScheduleService::bulkDelete` 반환값) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "선택한 스케줄이 삭제되었습니다.", + "data": { + "deleted_count": 3 + } +} +``` **에러 응답** @@ -372,11 +388,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| updated_count | integer | `3` | 상태가 실제로 변경된 스케줄 건수 (`ScheduleService::bulkUpdateStatus` 반환값) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "선택한 스케줄의 상태가 변경되었습니다.", + "data": { + "updated_count": 3 + } +} +``` **에러 응답** @@ -414,11 +446,21 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — 컨트롤러가 `success('schedule.history_delete_success')` 를 데이터 없이 호출)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "실행 이력이 삭제되었습니다.", + "data": null +} +``` **에러 응답** @@ -426,7 +468,7 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.schedules.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 지정한 `historyId` 의 실행 이력이 존재하지 않는 경우 (`schedule.history_not_found`) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -525,9 +567,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - - - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — 컨트롤러가 `success('schedule.delete_success')` 를 데이터 없이 호출)._ **응답 예시** @@ -950,7 +990,25 @@ Authorization: Bearer {YOUR_TOKEN} _목록 응답: `data.data[]` 배열 항목의 필드 + `data.pagination`._ - +목록 항목은 `ScheduleHistoryResource::toListArray()` 산물입니다 (단건 실행 응답과 달리 `output`/`error_output`/`memory_usage`(raw)/`created_at`/`updated_at` 은 포함되지 않습니다). + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `7` | 실행 이력의 기본 키 (내부 식별자) | +| schedule_id | integer | `1` | 이 이력이 속한 스케줄의 식별자 | +| started_at | string\|null | `2026-07-08T12:14:49+09:00` | 실행 시작 일시 (사용자 타임존 포맷) | +| ended_at | string\|null | `2026-07-08T12:14:49+09:00` | 실행 종료 일시 (사용자 타임존 포맷, 실행 중이면 null) | +| duration | integer\|null | `0` | 실행 소요 시간 | +| duration_formatted | string\|null | `45초` | `duration` 값의 표시용 포맷 문자열 (모델 접근자 파생, 없으면 null) | +| status | string | `success` | 실행 결과 상태: success(성공), failed(실패), running(실행중) | +| status_label | string\|null | `성공` | `status` 값의 사람이 읽는 라벨 (`schedule.result.*` 현지화) | +| exit_code | integer\|null | `0` | 실행 종료 코드 (0=성공, 그 외=실패) | +| memory_usage_formatted | string\|null | `417.34 KB` | 실행 중 메모리 사용량의 표시용 포맷 문자열 | +| trigger_type | string | `manual` | 실행 방식: scheduled(예약 자동 실행), manual(수동 즉시 실행) | +| trigger_type_label | string\|null | `수동 실행` | `trigger_type` 값의 사람이 읽는 라벨 (`schedule.trigger_type.*` 현지화) | +| triggered_by | object\|null | `{"uuid":"a234c2b1-cde8-437f-b28b-23323be2b98d","name":"관리자"}` | 수동 실행을 트리거한 사용자 정보 (uuid/name — triggeredBy 관계가 로드되지 않았거나 자동 실행이면 null) | + +`data.pagination` 은 `current_page`/`last_page`/`per_page`/`total`/`from`/`to`/`has_more_pages` 로 구성됩니다. **응답 예시** @@ -963,14 +1021,30 @@ HTTP/1.1 200 "success": true, "message": "실행 이력을 조회했습니다.", "data": { - "data": [], + "data": [ + { + "id": 7, + "schedule_id": 1, + "started_at": "2026-07-08T12:14:49+09:00", + "ended_at": "2026-07-08T12:14:49+09:00", + "duration": 0, + "duration_formatted": null, + "status": "success", + "status_label": "성공", + "exit_code": 0, + "memory_usage_formatted": "417.34 KB", + "trigger_type": "manual", + "trigger_type_label": "수동 실행", + "triggered_by": null + } + ], "pagination": { "current_page": 1, "last_page": 1, "per_page": 25, - "total": 0, - "from": null, - "to": null, + "total": 1, + "from": 1, + "to": 1, "has_more_pages": false } } diff --git a/docs/backend/api/seo.md b/docs/backend/api/seo.md index f9bcc8b6..badfd233 100644 --- a/docs/backend/api/seo.md +++ b/docs/backend/api/seo.md @@ -54,7 +54,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "urls": [], "count": 0 @@ -106,11 +106,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| cleared | integer \| string | `12` / `"all"` | 삭제 결과. `layout` 을 지정한 경우 해당 레이아웃에서 무효화된 캐시 항목 수(정수), 미지정 시 전체 캐시를 삭제했음을 뜻하는 문자열 `"all"`. | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "cleared": "all" + } +} +``` **에러 응답** @@ -119,6 +135,7 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 캐시 무효화(`invalidateByLayout` / `clearAll`) 중 예외가 발생한 경우 (`messages.error_occurred`) | @@ -315,7 +332,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "overall": { "total_entries": 0, @@ -365,11 +382,29 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| status | string | `dispatched` | 워밍업 요청 접수 상태. 현재 구현에서는 항상 `dispatched` 고정값이며, 실제 사전 렌더가 완료되었음을 뜻하지는 않는다. | +| message | string | `SEO 캐시 워밍업이 시작되었습니다.` | 관리자에게 노출할 안내 문구 (`seo.warmup_dispatched` 다국어 키). | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "status": "dispatched", + "message": "SEO 캐시 워밍업이 시작되었습니다." + } +} +``` **에러 응답** @@ -377,6 +412,7 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | +| 500 | Internal Server Error | 워밍업 처리 중 예외가 발생한 경우 (`messages.error_occurred`) | diff --git a/docs/backend/api/settings.md b/docs/backend/api/settings.md index 46305e7f..f8c1695e 100644 --- a/docs/backend/api/settings.md +++ b/docs/backend/api/settings.md @@ -171,111 +171,111 @@ HTTP/1.1 200 | advanced | body | array | 아니오 | — | 고급 탭 설정 묶음 (캐시·디버그·코어 업데이트·GeoIP 설정) | | notifications | body | array | 아니오 | — | 알림 탭 설정 묶음. channels 배열로 각 알림 채널의 id·is_active(활성 여부)·sort_order(표시 순서)를 저장 | | identity | body | array | 아니오 | — | 본인인증(IDV) 탭 설정 묶음 (기본 provider·목적별 provider 매핑·챌린지 유효시간·최대 시도 횟수) | -| notifications.channels | body | array | 아니오 | — | | +| notifications.channels | body | array | 아니오 | — | 알림 채널 목록. 각 원소는 `id`(채널 식별자, 필수·최대 50자)·`is_active`(활성 여부, 필수 boolean)·`sort_order`(표시 순서, 0 이상 정수) 로 구성 | | general.site_name | body | string | 예 | max 100 | general.site 이름 (식별자) | -| general.site_url | body | string | 예 | max 255 | | -| general.site_description | body | string | 아니오 | max 500 | | -| general.admin_email | body | email | 예 | max 255 | | -| general.timezone | body | string | 예 | — | | -| general.language | body | string | 예 | — | | -| general.currency | body | string | 아니오 | max 10 | | -| general.maintenance_mode | body | boolean | 아니오 | — | | -| general.site_logo | body | array | 아니오 | — | | -| mail.mailer | body | string | 아니오 | — | | -| mail.host | body | string | 아니오 | max 255 | | -| mail.port | body | integer | 아니오 | min 1, max 65535 | | -| mail.username | body | string | 아니오 | max 255 | | -| mail.password | body | string | 아니오 | max 255 | | -| mail.encryption | body | string | 아니오 | — | | -| mail.mailgun_domain | body | string | 아니오 | max 255 | | -| mail.mailgun_secret | body | string | 아니오 | max 255 | | -| mail.mailgun_endpoint | body | string | 아니오 | max 255 | | -| mail.ses_key | body | string | 아니오 | max 255 | | -| mail.ses_secret | body | string | 아니오 | max 255 | | -| mail.ses_region | body | string | 아니오 | max 255 | | -| mail.from_address | body | email | 아니오 | max 255 | | +| general.site_url | body | string | 예 | max 255 | 사이트 기본 URL | +| general.site_description | body | string | 아니오 | max 500 | 사이트 설명 | +| general.admin_email | body | email | 예 | max 255 | 관리자 이메일 주소 | +| general.timezone | body | string | 예 | — | 타임존 식별자 | +| general.language | body | string | 예 | — | 언어 코드 | +| general.currency | body | string | 아니오 | max 10 | 통화 코드 (ISO 4217 — 예: KRW) | +| general.maintenance_mode | body | boolean | 아니오 | — | 점검 모드 사용 여부 (사이트 접근 차단) | +| general.site_logo | body | array | 아니오 | — | 사이트 로고 이미지 | +| mail.mailer | body | string | 아니오 | — | 메일 발송 드라이버 (smtp/mailgun/ses) | +| mail.host | body | string | 아니오 | max 255 | 호스트 주소 | +| mail.port | body | integer | 아니오 | min 1, max 65535 | 포트 번호 | +| mail.username | body | string | 아니오 | max 255 | 사용자명 (로그인/인증 아이디) | +| mail.password | body | string | 아니오 | max 255 | 비밀번호 | +| mail.encryption | body | string | 아니오 | — | 전송 암호화 방식 (tls/ssl) | +| mail.mailgun_domain | body | string | 아니오 | max 255 | Mailgun 도메인 | +| mail.mailgun_secret | body | string | 아니오 | max 255 | Mailgun 시크릿 키 | +| mail.mailgun_endpoint | body | string | 아니오 | max 255 | Mailgun 엔드포인트 | +| mail.ses_key | body | string | 아니오 | max 255 | SES 액세스 키 | +| mail.ses_secret | body | string | 아니오 | max 255 | SES 시크릿 키 | +| mail.ses_region | body | string | 아니오 | max 255 | SES 리전 | +| mail.from_address | body | email | 아니오 | max 255 | 발신자 주소 | | mail.from_name | body | string | 아니오 | max 255 | mail.from 이름 (식별자) | -| upload.max_file_size | body | integer | 아니오 | min 1, max 1024 | | -| upload.allowed_extensions | body | string | 아니오 | — | | -| upload.image_max_width | body | integer | 아니오 | min 100, max 10000 | | -| upload.image_max_height | body | integer | 아니오 | min 100, max 10000 | | -| upload.image_quality | body | integer | 아니오 | min 1, max 100 | | -| seo.meta_title_suffix | body | string | 아니오 | max 100 | | -| seo.meta_description | body | string | 아니오 | max 160 | | -| seo.meta_keywords | body | string | 아니오 | max 255 | | +| upload.max_file_size | body | integer | 아니오 | min 1, max 1024 | 업로드 허용 최대 파일 크기 | +| upload.allowed_extensions | body | string | 아니오 | — | 업로드 허용 확장자 목록 | +| upload.image_max_width | body | integer | 아니오 | min 100, max 10000 | 이미지 리사이즈 최대 너비 (px) | +| upload.image_max_height | body | integer | 아니오 | min 100, max 10000 | 이미지 리사이즈 최대 높이 (px) | +| upload.image_quality | body | integer | 아니오 | min 1, max 100 | 이미지 리사이즈 시 압축 품질 (1~100) | +| seo.meta_title_suffix | body | string | 아니오 | max 100 | 모든 페이지 SEO 제목 뒤에 붙는 접미 문구 | +| seo.meta_description | body | string | 아니오 | max 160 | SEO 메타 설명 (검색엔진/소셜 공유 표시 요약) | +| seo.meta_keywords | body | string | 아니오 | max 255 | SEO 메타 키워드 (검색엔진 노출 키워드, 쉼표 구분) | | seo.google_analytics_id | body | string | 아니오 | max 50 | seo.google analytics 식별자 | -| seo.google_site_verification | body | string | 아니오 | max 100 | | -| seo.naver_site_verification | body | string | 아니오 | max 100 | | -| seo.bot_user_agents | body | array | 아니오 | — | | -| seo.bot_detection_enabled | body | boolean | 아니오 | — | | -| seo.bot_detection_library_enabled | body | boolean | 아니오 | — | | +| seo.google_site_verification | body | string | 아니오 | max 100 | Google Search Console 사이트 소유 확인 코드 | +| seo.naver_site_verification | body | string | 아니오 | max 100 | 네이버 서치어드바이저 사이트 소유 확인 코드 | +| seo.bot_user_agents | body | array | 아니오 | — | 봇으로 판정할 User-Agent 목록 | +| seo.bot_detection_enabled | body | boolean | 아니오 | — | 검색엔진 봇 감지 사용 여부 (봇 요청에 SEO 렌더링 적용) | +| seo.bot_detection_library_enabled | body | boolean | 아니오 | — | 봇 감지 라이브러리 사용 여부 (User-Agent 목록 대신 라이브러리 판정) | | seo.og_default_site_name | body | string | 아니오 | max 200 | seo.og default site 이름 (식별자) | -| seo.og_image_default_width | body | integer | 아니오 | min 0, max 8000 | | -| seo.og_image_default_height | body | integer | 아니오 | min 0, max 8000 | | -| seo.twitter_default_card | body | string | 아니오 | — | | -| seo.twitter_default_site | body | string | 아니오 | max 50 | | -| seo.cache_enabled | body | boolean | 아니오 | — | | -| seo.cache_ttl | body | integer | 아니오 | min 60, max 86400 | | -| seo.sitemap_enabled | body | boolean | 아니오 | — | | -| seo.sitemap_cache_ttl | body | integer | 아니오 | min 3600, max 604800 | | -| seo.sitemap_schedule | body | string | 아니오 | — | | -| seo.sitemap_schedule_time | body | string | 아니오 | — | | -| seo.generator_enabled | body | boolean | 아니오 | — | | -| seo.generator_content | body | string | 아니오 | max 200 | | -| security.force_https | body | boolean | 아니오 | — | | -| security.login_attempt_enabled | body | boolean | 아니오 | — | | -| security.auth_token_lifetime | body | integer | 아니오 | min 0, max 3600 | | -| security.max_login_attempts | body | integer | 아니오 | min 0, max 100 | | -| security.login_lockout_time | body | integer | 아니오 | min 0, max 1440 | | -| advanced.cache_enabled | body | boolean | 아니오 | — | | -| advanced.layout_cache_enabled | body | boolean | 아니오 | — | | -| advanced.layout_cache_ttl | body | integer | 아니오 | min 0, max 14400 | | -| advanced.stats_cache_enabled | body | boolean | 아니오 | — | | -| advanced.stats_cache_ttl | body | integer | 아니오 | min 0, max 14400 | | -| advanced.seo_cache_enabled | body | boolean | 아니오 | — | | -| advanced.seo_cache_ttl | body | integer | 아니오 | min 0, max 14400 | | -| advanced.debug_mode | body | boolean | 아니오 | — | | -| advanced.sql_query_log | body | boolean | 아니오 | — | | -| advanced.core_update_github_url | body | string | 아니오 | max 500 | | -| advanced.core_update_github_token | body | string | 아니오 | max 500 | | -| advanced.geoip_enabled | body | boolean | 아니오 | — | | -| advanced.geoip_license_key | body | string | 아니오 | max 200 | | -| advanced.geoip_auto_update_enabled | body | boolean | 아니오 | — | | -| drivers.storage_driver | body | string | 아니오 | — | | -| drivers.s3_bucket | body | string | 아니오 | max 255 | | -| drivers.s3_region | body | string | 아니오 | — | | -| drivers.s3_access_key | body | string | 아니오 | max 255 | | -| drivers.s3_secret_key | body | string | 아니오 | max 255 | | -| drivers.s3_url | body | string | 아니오 | max 500 | | -| drivers.cache_driver | body | string | 아니오 | — | | -| drivers.redis_host | body | string | 아니오 | max 255 | | -| drivers.redis_port | body | integer | 아니오 | min 1, max 65535 | | -| drivers.redis_password | body | string | 아니오 | max 255 | | -| drivers.redis_database | body | integer | 아니오 | min 0, max 15 | | -| drivers.memcached_host | body | string | 아니오 | max 255 | | -| drivers.memcached_port | body | integer | 아니오 | min 1, max 65535 | | -| drivers.session_driver | body | string | 아니오 | — | | -| drivers.session_lifetime | body | integer | 아니오 | min 1, max 43200 | | -| drivers.queue_driver | body | string | 아니오 | — | | -| drivers.websocket_enabled | body | boolean | 아니오 | — | | +| seo.og_image_default_width | body | integer | 아니오 | min 0, max 8000 | 기본 Open Graph 이미지 너비 (px) | +| seo.og_image_default_height | body | integer | 아니오 | min 0, max 8000 | 기본 Open Graph 이미지 높이 (px) | +| seo.twitter_default_card | body | string | 아니오 | — | 기본 트위터 카드 유형 (summary 등) | +| seo.twitter_default_site | body | string | 아니오 | max 50 | 기본 트위터 사이트 계정 (@handle) | +| seo.cache_enabled | body | boolean | 아니오 | — | 캐시 사용 여부 | +| seo.cache_ttl | body | integer | 아니오 | min 60, max 86400 | 캐시 유효 시간 (초) | +| seo.sitemap_enabled | body | boolean | 아니오 | — | sitemap.xml 생성 사용 여부 | +| seo.sitemap_cache_ttl | body | integer | 아니오 | min 3600, max 604800 | sitemap 캐시 유효 시간 (초) | +| seo.sitemap_schedule | body | string | 아니오 | — | sitemap 자동 생성 주기 | +| seo.sitemap_schedule_time | body | string | 아니오 | — | sitemap 자동 생성 시각 | +| seo.generator_enabled | body | boolean | 아니오 | — | SEO 페이지 생성기 사용 여부 | +| seo.generator_content | body | string | 아니오 | max 200 | SEO 렌더링 본문 생성 방식 | +| security.force_https | body | boolean | 아니오 | — | HTTPS 강제 리다이렉트 여부 | +| security.login_attempt_enabled | body | boolean | 아니오 | — | 로그인 시도 제한 사용 여부 | +| security.auth_token_lifetime | body | integer | 아니오 | min 0, max 3600 | 인증 토큰 유효 시간 (분) | +| security.max_login_attempts | body | integer | 아니오 | min 0, max 100 | 로그인 실패 허용 횟수 (초과 시 잠금) | +| security.login_lockout_time | body | integer | 아니오 | min 0, max 1440 | 로그인 잠금 지속 시간 (분) | +| advanced.cache_enabled | body | boolean | 아니오 | — | 캐시 사용 여부 | +| advanced.layout_cache_enabled | body | boolean | 아니오 | — | 레이아웃 캐시 사용 여부 (레이아웃 데이터를 캐시) | +| advanced.layout_cache_ttl | body | integer | 아니오 | min 0, max 14400 | 레이아웃 캐시 만료 시간 (초, 0 = 만료 없음) | +| advanced.stats_cache_enabled | body | boolean | 아니오 | — | 통계 캐시 사용 여부 (대시보드 통계를 캐시) | +| advanced.stats_cache_ttl | body | integer | 아니오 | min 0, max 14400 | 통계 캐시 만료 시간 (초, 0 = 만료 없음) | +| advanced.seo_cache_enabled | body | boolean | 아니오 | — | SEO 캐시 사용 여부 (SEO 메타데이터를 캐시) | +| advanced.seo_cache_ttl | body | integer | 아니오 | min 0, max 14400 | SEO 캐시 만료 시간 (초, 0 = 만료 없음) | +| advanced.debug_mode | body | boolean | 아니오 | — | 디버그 모드 사용 여부 (상세 오류 노출) | +| advanced.sql_query_log | body | boolean | 아니오 | — | SQL 쿼리 로그 기록 여부 | +| advanced.core_update_github_url | body | string | 아니오 | max 500 | 코어 업데이트를 확인할 GitHub 저장소 URL | +| advanced.core_update_github_token | body | string | 아니오 | max 500 | 프라이빗 저장소의 코어/확장 업데이트에 사용할 GitHub 액세스 토큰 (공개 저장소는 비워둘 수 있음) | +| advanced.geoip_enabled | body | boolean | 아니오 | — | IP 기반 타임존 감지(GeoIP) 사용 여부 | +| advanced.geoip_license_key | body | string | 아니오 | max 200 | MaxMind GeoLite2 라이선스 키 | +| advanced.geoip_auto_update_enabled | body | boolean | 아니오 | — | GeoIP DB 자동 업데이트 사용 여부 (주 1회 자동 재다운로드) | +| drivers.storage_driver | body | string | 아니오 | — | 스토리지 드라이버 (local/s3) | +| drivers.s3_bucket | body | string | 아니오 | max 255 | S3 버킷명 | +| drivers.s3_region | body | string | 아니오 | — | S3 리전 | +| drivers.s3_access_key | body | string | 아니오 | max 255 | S3 액세스 키 | +| drivers.s3_secret_key | body | string | 아니오 | max 255 | S3 시크릿 키 | +| drivers.s3_url | body | string | 아니오 | max 500 | S3 엔드포인트 URL | +| drivers.cache_driver | body | string | 아니오 | — | 캐시 드라이버 (file/redis/memcached) | +| drivers.redis_host | body | string | 아니오 | max 255 | Redis 호스트 주소 | +| drivers.redis_port | body | integer | 아니오 | min 1, max 65535 | Redis 포트 번호 | +| drivers.redis_password | body | string | 아니오 | max 255 | Redis 비밀번호 | +| drivers.redis_database | body | integer | 아니오 | min 0, max 15 | Redis 데이터베이스 번호 | +| drivers.memcached_host | body | string | 아니오 | max 255 | Memcached 호스트 주소 | +| drivers.memcached_port | body | integer | 아니오 | min 1, max 65535 | Memcached 포트 번호 | +| drivers.session_driver | body | string | 아니오 | — | 세션 드라이버 (file/database/redis) | +| drivers.session_lifetime | body | integer | 아니오 | min 1, max 43200 | 세션 유효 시간 (분) | +| drivers.queue_driver | body | string | 아니오 | — | 큐 드라이버 (sync/database/redis) | +| drivers.websocket_enabled | body | boolean | 아니오 | — | WebSocket 사용 여부 | | drivers.websocket_app_id | body | string | 아니오 | max 255 | drivers.websocket app 식별자 | -| drivers.websocket_app_key | body | string | 아니오 | max 255 | | -| drivers.websocket_app_secret | body | string | 아니오 | max 255 | | -| drivers.websocket_host | body | string | 아니오 | max 255 | | -| drivers.websocket_port | body | integer | 아니오 | min 1, max 65535 | | -| drivers.websocket_scheme | body | string | 아니오 | — | | -| drivers.websocket_verify_ssl | body | boolean | 아니오 | — | | -| drivers.websocket_server_host | body | string | 아니오 | max 255 | | -| drivers.websocket_server_port | body | integer | 아니오 | min 1, max 65535 | | -| drivers.websocket_server_scheme | body | string | 아니오 | — | | -| drivers.search_engine_driver | body | string | 아니오 | — | | -| drivers.log_driver | body | string | 아니오 | — | | -| drivers.log_level | body | string | 아니오 | — | | -| drivers.log_days | body | integer | 아니오 | min 1, max 365 | | -| identity.default_provider | body | string | 아니오 | max 100 | | -| identity.purpose_providers | body | array | 아니오 | — | | -| identity.challenge_ttl_minutes | body | integer | 아니오 | min 1, max 1440 | | -| identity.max_attempts | body | integer | 아니오 | min 1, max 20 | | +| drivers.websocket_app_key | body | string | 아니오 | max 255 | WebSocket 앱 키 | +| drivers.websocket_app_secret | body | string | 아니오 | max 255 | WebSocket 앱 시크릿 | +| drivers.websocket_host | body | string | 아니오 | max 255 | WebSocket 호스트 주소 | +| drivers.websocket_port | body | integer | 아니오 | min 1, max 65535 | WebSocket 포트 번호 | +| drivers.websocket_scheme | body | string | 아니오 | — | WebSocket 스킴 (http/https) | +| drivers.websocket_verify_ssl | body | boolean | 아니오 | — | WebSocket 서버 SSL 인증서 검증 여부 | +| drivers.websocket_server_host | body | string | 아니오 | max 255 | WebSocket 서버 호스트 주소 (서버측 발행 대상) | +| drivers.websocket_server_port | body | integer | 아니오 | min 1, max 65535 | WebSocket 서버 포트 번호 (서버측 발행 대상) | +| drivers.websocket_server_scheme | body | string | 아니오 | — | WebSocket 서버 스킴 (http/https — 서버측 발행 대상) | +| drivers.search_engine_driver | body | string | 아니오 | — | 검색 엔진 드라이버 (Scout 엔진 선택) | +| drivers.log_driver | body | string | 아니오 | — | 로그 드라이버 (single/daily/stack) | +| drivers.log_level | body | string | 아니오 | — | 로그 레벨 (debug/info/warning/error 등) | +| drivers.log_days | body | integer | 아니오 | min 1, max 365 | 로그 파일 보관 일수 | +| identity.default_provider | body | string | 아니오 | max 100 | 본인인증 기본 프로바이더 (목적별로 지정되지 않은 경우 사용). 예: `g7:core.mail` | +| identity.purpose_providers | body | array | 아니오 | — | 본인인증 목적(Purpose)별 프로바이더 매핑. 미지정 목적은 기본 프로바이더를 사용 | +| identity.challenge_ttl_minutes | body | integer | 아니오 | min 1, max 1440 | 발급된 인증 코드/링크(challenge)의 유효시간 (분) | +| identity.max_attempts | body | integer | 아니오 | min 1, max 20 | challenge 최대 시도 횟수 (연속 실패 시 잠금 — 재전송 필요) | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`core.settings.save_validation_rules`, `core.search.engine_drivers`). @@ -435,11 +435,55 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| settings | object | `{"general":{...},"security":{...},"available_drivers":{...}}` | 저장 직후 다시 조회한 전체 설정 집계. 구조는 `GET /api/admin/settings` 의 `data` 와 동일 (general/security/mail/upload/seo/advanced/cache/debug/drivers/core_update/geoip/notifications/identity + `available_drivers`) | **응답 예시** - +```json +{ + "success": true, + "message": "설정이 성공적으로 저장되었습니다.", + "data": { + "settings": { + "general": { + "site_name": "Test Site", + "site_url": "https://test.example.com", + "site_description": "", + "admin_email": "admin@example.com", + "timezone": "Asia/Seoul", + "language": "ko", + "currency": "KRW", + "maintenance_mode": false, + "site_logo": [] + }, + "security": { + "force_https": true, + "login_attempt_enabled": true, + "auth_token_lifetime": 0, + "max_login_attempts": 5, + "login_lockout_time": 30 + }, + "available_drivers": { + "storage": [ + { + "id": "local", + "label": { + "ko": "로컬", + "en": "Local" + } + } + ] + } + } + } +} +``` + +> 위 예시는 지면상 일부 그룹만 표기한 것으로, 실제 응답의 `data.settings` 에는 `GET /api/admin/settings` 와 동일한 전체 그룹이 포함됩니다. **에러 응답** @@ -534,11 +578,23 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| backup_path | string | `backups/backup_2026-07-14_030000.zip` | 생성된 설정 백업 ZIP 의 저장소 상대 경로 (카테고리별 설정 JSON 을 묶은 아카이브). `POST /api/admin/settings/restore` 의 `backup_path` 로 그대로 전달해 복원에 사용 | **응답 예시** - +```json +{ + "success": true, + "message": "데이터베이스 백업이 성공적으로 시작되었습니다.", + "data": { + "backup_path": "backups/backup_2026-07-14_030000.zip" + } +} +``` **에러 응답** @@ -546,6 +602,7 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | +| 500 | Internal Server Error | 백업 파일 생성에 실패한 경우 (`settings.backup_failed`) | @@ -575,18 +632,26 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만). 컨트롤러가 `ResponseHelper::success('settings.backup_success')` 를 데이터 없이 호출하므로 `data` 는 `null` 입니다._ **응답 예시** - +```json +{ + "success": true, + "message": "데이터베이스 백업이 성공적으로 시작되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 백업이 수행되지 않은 경우 (`settings.backup_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | +| 500 | Internal Server Error | 백업 처리 중 예외가 발생한 경우 (`settings.backup_error`) | @@ -616,18 +681,26 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만). 컨트롤러가 `ResponseHelper::success('settings.cache_clear_success')` 를 데이터 없이 호출하므로 `data` 는 `null` 입니다._ **응답 예시** - +```json +{ + "success": true, + "message": "캐시가 성공적으로 정리되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 캐시 정리가 수행되지 않은 경우 (`settings.cache_clear_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | +| 500 | Internal Server Error | 캐시 정리 중 예외가 발생한 경우 (`settings.cache_clear_error`) | @@ -657,18 +730,38 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (GeoIpDatabaseService::updateDatabase() 의 `data`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| database_path | string | `storage/app/geoip/GeoLite2-City.mmdb` | 갱신된 GeoLite2 DB 파일의 절대 경로 (`config('geoip.database_path')`) | +| file_size_bytes | integer | `60000000` | 다운로드·전개 후 최종 DB 파일 크기 (바이트) | +| elapsed_seconds | number | `12.34` | 다운로드부터 교체 완료까지 소요 시간 (초) | **응답 예시** - +```json +{ + "success": true, + "message": "settings.geoip.update_success", + "data": { + "database_path": "storage/app/geoip/GeoLite2-City.mmdb", + "file_size_bytes": 60000000, + "elapsed_seconds": 12.34 + } +} +``` + +> `message` 는 컨트롤러가 넘기는 `settings.geoip.update_success` 키를 번역한 값입니다. 현재 코어 `lang/{ko,en}/settings.php` 에 `geoip.*` 항목이 정의되어 있지 않아 번역이 없으면 키 문자열이 그대로 내려갑니다 (관리자 화면은 프론트엔드 다국어 키로 별도 문구를 표시). **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 400 | Bad Request | MaxMind 라이선스 키가 설정되지 않은 경우 (`missing_license_key`) | +| 401 | Unauthorized | MaxMind 라이선스 키가 유효하지 않은 경우 (`unauthorized`) | | 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | +| 500 | Internal Server Error | MaxMind 연결 실패(`connection_failed`) 또는 다운로드·압축 해제 실패 | @@ -698,9 +791,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - - - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만). 컨트롤러가 `ResponseHelper::success('settings.optimize_success')` 를 데이터 없이 호출하므로 `data` 는 `null` 입니다._ **응답 예시** @@ -760,19 +851,32 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| app_key | string | `base64:97gZH********************************` | 재생성된 애플리케이션 키를 마스킹한 문자열 (앞 12자 + 별표 32개). 전체 원문 키는 반환하지 않으며 `.env` 의 `APP_KEY` 에만 기록됨 | **응답 예시** - +```json +{ + "success": true, + "message": "어플리케이션 키가 성공적으로 재생성되었습니다.", + "data": { + "app_key": "base64:97gZH********************************" + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | +| 401 | Unauthorized | 본문 `password` 가 요청자 본인의 비밀번호와 일치하지 않는 경우 (`settings.invalid_password`) | +| 403 | Forbidden | 요구 권한(`core.settings.read`)이 없거나, FormRequest 가 `super_admin` 역할이 아닌 사용자를 거부한 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | `.env` 기록/config 캐시 재생성 실패 (`settings.app_key_regenerate_failed`) | @@ -811,19 +915,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만). 컨트롤러가 `ResponseHelper::success('settings.restore_success')` 를 데이터 없이 호출하므로 `data` 는 `null` 입니다._ **응답 예시** - +```json +{ + "success": true, + "message": "설정이 성공적으로 복원되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 복원이 수행되지 않은 경우 (`settings.restore_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 백업 파일을 읽을 수 없는 등 복원 중 예외 발생 (`settings.restore_error`) | @@ -1047,11 +1159,35 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (DriverConnectionTester::testAll() 산물)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| results | object | `{"redis":{"success":true,"message":"Redis 서버에 성공적으로 연결되었습니다.","latency":"3ms"}}` | 드라이버별 테스트 결과 맵. 키는 실제 테스트가 수행된 드라이버(`s3`/`redis`/`memcached`/`websocket`)만 포함 — 요청 설정에서 해당 드라이버를 쓰지 않으면 키 자체가 없음 | +| results.{driver}.success | boolean | `true` | 해당 드라이버 연결 성공 여부 | +| results.{driver}.message | string | `Redis 서버에 성공적으로 연결되었습니다.` | 결과 메시지 (성공/실패 사유 — 설정 누락·확장 미설치·인증 실패 등) | +| results.{driver}.latency | string | `3ms` | 성공 시에만 포함. 연결 왕복 소요 시간 | +| results.{driver}.error | string | `Connection refused` | 실패 시에만 포함. 원본 예외 메시지 | +| all_passed | boolean | `true` | 수행된 모든 드라이버 테스트가 성공했는지 여부. `false` 여도 HTTP 200 으로 응답하며 message 가 `일부 드라이버 연결 테스트가 실패했습니다.` 로 바뀜 | **응답 예시** - +```json +{ + "success": true, + "message": "모든 드라이버 연결 테스트가 성공했습니다.", + "data": { + "results": { + "redis": { + "success": true, + "message": "Redis 서버에 성공적으로 연결되었습니다.", + "latency": "3ms" + } + }, + "all_passed": true + } +} +``` **에러 응답** @@ -1060,6 +1196,7 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 테스트 실행 중 예외가 발생한 경우 (`settings.driver_test_error`) | @@ -1126,11 +1263,25 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (발송 성공 시에만 반환)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| subject | string | `그누보드7 테스트 메일` | 실제로 발송한 테스트 메일의 제목 (`settings.test_mail_subject` — 앱 이름이 치환됨) | +| body | string | `이것은 그누보드7에서 발송한 테스트 메일입니다. 이 메일을 받으셨다면 메일 설정이 올바르게 구성되어 있습니다.` | 실제로 발송한 테스트 메일의 본문 (`settings.test_mail_body`, 평문) | **응답 예시** - +```json +{ + "success": true, + "message": "테스트 메일이 성공적으로 발송되었습니다.", + "data": { + "subject": "그누보드7 테스트 메일", + "body": "이것은 그누보드7에서 발송한 테스트 메일입니다. 이 메일을 받으셨다면 메일 설정이 올바르게 구성되어 있습니다." + } +} +``` **에러 응답** @@ -1139,6 +1290,7 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 발송 실패 시 — `message` 는 `테스트 메일 발송에 실패했습니다.`, `error` 에 원본 예외 메시지(SMTP 인증 실패·연결 거부 등)가 담김 | @@ -1170,11 +1322,25 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| key | string | `general.site_name` | 요청한 설정 키를 그대로 되돌려 준 값 (`{category}.{field}` 형태) | +| value | mixed | `Test Site` | 해당 설정 키의 현재 값. 설정 항목의 자료형에 따라 문자열/정수/불리언/배열이 될 수 있으며, 키가 없으면 `null` | **응답 예시** - +```json +{ + "success": true, + "message": "설정을 성공적으로 가져왔습니다.", + "data": { + "key": "general.site_name", + "value": "Test Site" + } +} +``` **에러 응답** @@ -1183,6 +1349,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 500 | Internal Server Error | 설정 조회 중 예외가 발생한 경우 (`settings.fetch_failed`) | @@ -1222,20 +1389,28 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만). 컨트롤러가 `ResponseHelper::success('settings.update_success')` 를 데이터 없이 호출하므로 `data` 는 `null` 입니다._ **응답 예시** - +```json +{ + "success": true, + "message": "설정이 성공적으로 업데이트되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 저장이 수행되지 않은 경우 (`settings.update_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.settings.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 저장 중 예외가 발생한 경우 (`settings.update_error`) | diff --git a/docs/backend/api/templates.md b/docs/backend/api/templates.md index b90e7d85..a2fec5f8 100644 --- a/docs/backend/api/templates.md +++ b/docs/backend/api/templates.md @@ -238,11 +238,55 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| template | object | `{"identifier":"sirsoft-admin_basic","status":"active", …}` | 활성화된 템플릿 리소스 (TemplateResource 목록 필드 전체 — identifier/vendor/name/version/type/status/description/dependencies/dependencies_met/update_available/update_source/latest_version/file_version/github_url/github_changelog_url/is_pending/is_bundled/deactivated_reason/deactivated_at/incompatible_required_version/abilities) | +| pending_language_packs | array | `[]` | 이 템플릿 재활성화로 함께 되살아날 수 있는 비활성 번들 언어팩 목록 (각 항목: id, identifier, locale, locale_native_name) | **응답 예시** - +```json +{ + "success": true, + "message": "템플릿이 활성화되었습니다.", + "data": { + "template": { + "identifier": "sirsoft-admin_basic", + "vendor": "sirsoft", + "name": "Admin Basic", + "version": "1.0.0", + "type": "admin", + "status": "active", + "description": "그누보드7 기본 관리자 템플릿", + "dependencies": { + "modules": [], + "plugins": [] + }, + "dependencies_met": true, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": "1.0.0", + "github_url": null, + "github_changelog_url": null, + "is_pending": false, + "is_bundled": true, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true, + "can_edit_layouts": true + } + }, + "pending_language_packs": [] + } +} +``` **에러 응답** @@ -250,7 +294,9 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | +| 409 | Conflict | 필요한 의존 모듈/플러그인이 충족되지 않은 경우 (`errors` 에 `warning`, `missing_modules`, `missing_plugins`, `message`) — `force=true` 로 우회 가능 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 활성화 처리 실패 (이미 활성 상태·미설치·코어 버전 비호환 등) | @@ -278,11 +324,36 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| updated_count | integer | `1` | 업데이트 가능으로 판정된 템플릿 개수 | +| details | array | `[{"identifier":"sirsoft-basic", …}]` | 업데이트 가능한 템플릿 목록 (각 항목: identifier, current_version, latest_version, update_source) | +| details[].identifier | string | `sirsoft-basic` | 템플릿 식별자 | +| details[].current_version | string | `1.0.0` | 현재 설치된 버전 | +| details[].latest_version | string | `1.0.1` | 감지된 최신 버전 | +| details[].update_source | string | `github` | 업데이트 감지 출처 (`github` \| `bundled`) | **응답 예시** - +```json +{ + "success": true, + "message": "업데이트 확인이 완료되었습니다.", + "data": { + "updated_count": 1, + "details": [ + { + "identifier": "sirsoft-basic", + "current_version": "1.0.0", + "latest_version": "1.0.1", + "update_source": "github" + } + ] + } +} +``` **에러 응답** @@ -291,6 +362,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 업데이트 확인 처리 실패 (GitHub API 호출 실패 등) | @@ -327,11 +399,71 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (TemplateResource)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-admin_basic` | 템플릿 고유 식별자 (vendor-name 형식) | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `Admin Basic` | 템플릿 이름 (현재 로케일 값) | +| version | string | `1.0.0` | 템플릿 버전 | +| type | string | `admin` | 템플릿 타입 (`admin` \| `user`) | +| status | string | `inactive` | 상태 (비활성화 직후 `inactive`) | +| description | string | `그누보드7 기본 관리자 템플릿` | 템플릿 설명 (현재 로케일 값) | +| dependencies | object | `{"modules":[],"plugins":[]}` | 의존 확장 요약 ({modules, plugins} — 각 항목 identifier/name/type) | +| dependencies_met | boolean | `true` | 의존 확장이 모두 활성·버전 충족인지 여부 | +| update_available | boolean | `false` | 최신 버전 대비 업데이트 가능 여부 | +| update_source | string\|null | `null` | 업데이트 감지 출처 (`github` \| `bundled` \| null) | +| latest_version | string\|null | `null` | 감지된 최신 배포 버전 | +| file_version | string\|null | `1.0.0` | 설치된 파일의 manifest 버전 | +| github_url | string\|null | `null` | GitHub 저장소 URL | +| github_changelog_url | string\|null | `null` | GitHub 변경 내역 URL | +| is_pending | boolean | `false` | `_pending` 대기소에 있어 설치 대기 중인지 여부 | +| is_bundled | boolean | `true` | 코어 선탑재(번들) 확장 여부 | +| deactivated_reason | string\|null | `manual` | 비활성화 사유 (`manual` \| `incompatible_core` \| null) | +| deactivated_at | string\|null | `2026-07-14 10:00:00` | 비활성화 일시 | +| incompatible_required_version | string\|null | `null` | 코어 버전 미충족 시 요구 버전 | +| abilities | object | `{"can_install":true,"can_activate":true,"can_uninstall":true,"can_edit_layouts":true}` | 현재 사용자가 이 템플릿에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```json +{ + "success": true, + "message": "템플릿이 비활성화되었습니다.", + "data": { + "identifier": "sirsoft-admin_basic", + "vendor": "sirsoft", + "name": "Admin Basic", + "version": "1.0.0", + "type": "admin", + "status": "inactive", + "description": "그누보드7 기본 관리자 템플릿", + "dependencies": { + "modules": [], + "plugins": [] + }, + "dependencies_met": true, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": "1.0.0", + "github_url": null, + "github_changelog_url": null, + "is_pending": false, + "is_bundled": true, + "deactivated_reason": "manual", + "deactivated_at": "2026-07-14 10:00:00", + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true, + "can_edit_layouts": true + } + } +} +``` **에러 응답** @@ -340,6 +472,7 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 비활성화 처리 실패 (템플릿 미존재 등) | @@ -384,11 +517,73 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (TemplateResource + cascade 결과)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-basic` | 설치된 템플릿 식별자 | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `Basic` | 템플릿 이름 (현재 로케일 값) | +| version | string | `1.0.0` | 설치된 템플릿 버전 | +| type | string | `user` | 템플릿 타입 (`admin` \| `user`) | +| status | string | `inactive` | 설치 직후 상태 (설치만 수행 — 활성화는 별도 API) | +| description | string | `그누보드7 기본 사용자 템플릿` | 템플릿 설명 (현재 로케일 값) | +| dependencies | object | `{"modules":[],"plugins":[]}` | 의존 확장 요약 ({modules, plugins}) | +| dependencies_met | boolean | `true` | 의존 확장이 모두 활성·버전 충족인지 여부 | +| update_available | boolean | `false` | 업데이트 가능 여부 | +| update_source | string\|null | `null` | 업데이트 감지 출처 | +| latest_version | string\|null | `null` | 감지된 최신 배포 버전 | +| file_version | string\|null | `1.0.0` | 설치된 파일의 manifest 버전 | +| github_url | string\|null | `null` | GitHub 저장소 URL | +| github_changelog_url | string\|null | `null` | GitHub 변경 내역 URL | +| is_pending | boolean | `false` | `_pending` 대기 여부 | +| is_bundled | boolean | `true` | 번들 확장 여부 | +| deactivated_reason | string\|null | `null` | 비활성화 사유 | +| deactivated_at | string\|null | `null` | 비활성화 일시 | +| incompatible_required_version | string\|null | `null` | 코어 버전 미충족 시 요구 버전 | +| abilities | object | `{"can_install":true,"can_activate":true,"can_uninstall":true,"can_edit_layouts":true}` | 현재 사용자의 수행 가능 작업 맵 | +| language_pack_failures | array | `[]` | cascade 2단계에서 설치 실패한 동반 번들 언어팩 목록 (각 항목: identifier, reason). best-effort 이므로 실패해도 설치 자체는 성공 | **응답 예시** - +```json +{ + "success": true, + "message": "템플릿이 성공적으로 설치되었습니다.", + "data": { + "identifier": "sirsoft-basic", + "vendor": "sirsoft", + "name": "Basic", + "version": "1.0.0", + "type": "user", + "status": "inactive", + "description": "그누보드7 기본 사용자 템플릿", + "dependencies": { + "modules": [], + "plugins": [] + }, + "dependencies_met": true, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": "1.0.0", + "github_url": null, + "github_changelog_url": null, + "is_pending": false, + "is_bundled": true, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true, + "can_edit_layouts": true + }, + "language_pack_failures": [] + } +} +``` **에러 응답** @@ -396,7 +591,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 위반 또는 설치 실패 (이미 설치됨·manifest 오류·cascade 의존 확장 설치 실패 등 — `errors` 에 번역된 사유) | +| 500 | Server Error | 설치 처리 중 예기치 못한 오류 | @@ -436,11 +632,71 @@ Content-Type: application/octet-stream **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (TemplateResource — 목록 응답 항목과 동일한 필드 구성)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-basic` | 설치된 템플릿 식별자 | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `Basic` | 템플릿 이름 (현재 로케일 값) | +| version | string | `1.0.0` | 설치된 템플릿 버전 | +| type | string | `user` | 템플릿 타입 (`admin` \| `user`) | +| status | string | `inactive` | 설치 직후 상태 | +| description | string | `그누보드7 기본 사용자 템플릿` | 템플릿 설명 | +| dependencies | object | `{"modules":[],"plugins":[]}` | 의존 확장 요약 | +| dependencies_met | boolean | `true` | 의존 확장 충족 여부 | +| update_available | boolean | `false` | 업데이트 가능 여부 | +| update_source | string\|null | `null` | 업데이트 감지 출처 | +| latest_version | string\|null | `null` | 감지된 최신 배포 버전 | +| file_version | string\|null | `1.0.0` | 설치된 파일의 manifest 버전 | +| github_url | string\|null | `null` | GitHub 저장소 URL | +| github_changelog_url | string\|null | `null` | GitHub 변경 내역 URL | +| is_pending | boolean | `false` | `_pending` 대기 여부 | +| is_bundled | boolean | `false` | 번들 확장 여부 (ZIP 업로드 설치이므로 false) | +| deactivated_reason | string\|null | `null` | 비활성화 사유 | +| deactivated_at | string\|null | `null` | 비활성화 일시 | +| incompatible_required_version | string\|null | `null` | 코어 버전 미충족 시 요구 버전 | +| abilities | object | `{"can_install":true,"can_activate":true,"can_uninstall":true,"can_edit_layouts":true}` | 현재 사용자의 수행 가능 작업 맵 | **응답 예시** - +```json +{ + "success": true, + "message": "템플릿이 성공적으로 설치되었습니다.", + "data": { + "identifier": "sirsoft-basic", + "vendor": "sirsoft", + "name": "Basic", + "version": "1.0.0", + "type": "user", + "status": "inactive", + "description": "그누보드7 기본 사용자 템플릿", + "dependencies": { + "modules": [], + "plugins": [] + }, + "dependencies_met": true, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": "1.0.0", + "github_url": null, + "github_changelog_url": null, + "is_pending": false, + "is_bundled": false, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true, + "can_edit_layouts": true + } + } +} +``` **에러 응답** @@ -448,7 +704,8 @@ Content-Type: application/octet-stream | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 파일 검증 위반 또는 ZIP 처리 실패 (template.json 누락/무효, 이미 설치된 식별자, 잘못된 디렉토리명 등) | +| 500 | Server Error | 설치 처리 중 예기치 못한 오류 | @@ -485,11 +742,71 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (TemplateResource — 목록 응답 항목과 동일한 필드 구성)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-basic` | 설치된 템플릿 식별자 | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `Basic` | 템플릿 이름 (현재 로케일 값) | +| version | string | `1.0.0` | 설치된 템플릿 버전 | +| type | string | `user` | 템플릿 타입 (`admin` \| `user`) | +| status | string | `inactive` | 설치 직후 상태 | +| description | string | `그누보드7 기본 사용자 템플릿` | 템플릿 설명 | +| dependencies | object | `{"modules":[],"plugins":[]}` | 의존 확장 요약 | +| dependencies_met | boolean | `true` | 의존 확장 충족 여부 | +| update_available | boolean | `false` | 업데이트 가능 여부 | +| update_source | string\|null | `null` | 업데이트 감지 출처 | +| latest_version | string\|null | `null` | 감지된 최신 배포 버전 | +| file_version | string\|null | `1.0.0` | 설치된 파일의 manifest 버전 | +| github_url | string\|null | `https://github.com/gnuboard/g7-template-basic` | manifest 에 선언된 GitHub 저장소 URL | +| github_changelog_url | string\|null | `null` | GitHub 변경 내역 URL | +| is_pending | boolean | `false` | `_pending` 대기 여부 | +| is_bundled | boolean | `false` | 번들 확장 여부 (GitHub 설치이므로 false) | +| deactivated_reason | string\|null | `null` | 비활성화 사유 | +| deactivated_at | string\|null | `null` | 비활성화 일시 | +| incompatible_required_version | string\|null | `null` | 코어 버전 미충족 시 요구 버전 | +| abilities | object | `{"can_install":true,"can_activate":true,"can_uninstall":true,"can_edit_layouts":true}` | 현재 사용자의 수행 가능 작업 맵 | **응답 예시** - +```json +{ + "success": true, + "message": "템플릿이 성공적으로 설치되었습니다.", + "data": { + "identifier": "sirsoft-basic", + "vendor": "sirsoft", + "name": "Basic", + "version": "1.0.0", + "type": "user", + "status": "inactive", + "description": "그누보드7 기본 사용자 템플릿", + "dependencies": { + "modules": [], + "plugins": [] + }, + "dependencies_met": true, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": "1.0.0", + "github_url": "https://github.com/gnuboard/g7-template-basic", + "github_changelog_url": null, + "is_pending": false, + "is_bundled": false, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true, + "can_edit_layouts": true + } + } +} +``` **에러 응답** @@ -497,7 +814,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | URL 검증 위반 또는 설치 실패 (유효하지 않은 GitHub URL, 저장소 없음, 다운로드 실패, 이미 설치된 식별자 등) | +| 500 | Server Error | 설치 처리 중 예기치 못한 오류 | @@ -527,11 +845,17 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (`data`: `null`, 성공 메시지만)._ **응답 예시** - +```json +{ + "success": true, + "message": "첨부 파일을 삭제했습니다.", + "data": null +} +``` **에러 응답** @@ -541,6 +865,7 @@ Authorization: Bearer {YOUR_TOKEN} | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 첨부 파일 삭제 실패 (스토리지/DB 삭제 실패 — `첨부 파일 삭제에 실패했습니다.`) | @@ -578,11 +903,41 @@ Content-Type: application/octet-stream **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| manifest | object\|null | `{"identifier":"sirsoft-basic","version":"1.0.0", …}` | ZIP 안의 `template.json` 원본 내용 (파싱 실패 시 null) | +| validation | object | `{"errors":[],"is_valid":true, …}` | 설치 전 검증 결과 | +| validation.errors | array | `[]` | 추출/검증 중 발생한 오류 메시지 배열 (문자열) | +| validation.is_valid | boolean | `true` | manifest 추출 성공 + 오류 없음 여부 | +| validation.already_installed | boolean | `false` | 동일 식별자의 템플릿이 이미 설치되어 있는지 여부 | +| validation.existing_version | string\|null | `1.0.0` | 이미 설치된 경우 그 버전 (미설치면 null) | **응답 예시** - +```json +{ + "success": true, + "message": "manifest 미리보기를 완료했습니다.", + "data": { + "manifest": { + "identifier": "sirsoft-basic", + "vendor": "sirsoft", + "name": "Basic", + "version": "1.0.0", + "type": "user", + "description": "그누보드7 기본 사용자 템플릿" + }, + "validation": { + "errors": [], + "is_valid": true, + "already_installed": false, + "existing_version": null + } + } +} +``` **에러 응답** @@ -590,7 +945,7 @@ Content-Type: application/octet-stream | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 파일 검증 위반 또는 ZIP 열기 실패 (`manifest 미리보기에 실패했습니다.` + `errors.error`) | @@ -627,11 +982,71 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (TemplateResource — 갱신 후 템플릿 정보)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-admin_basic` | 템플릿 식별자 | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `Admin Basic` | 템플릿 이름 (현재 로케일 값) | +| version | string | `1.0.0` | 템플릿 버전 | +| type | string | `admin` | 템플릿 타입 (`admin` \| `user`) | +| status | string | `active` | 템플릿 상태 | +| description | string | `그누보드7 기본 관리자 템플릿` | 템플릿 설명 | +| dependencies | object | `{"modules":[],"plugins":[]}` | 의존 확장 요약 | +| dependencies_met | boolean | `true` | 의존 확장 충족 여부 | +| update_available | boolean | `false` | 업데이트 가능 여부 | +| update_source | string\|null | `null` | 업데이트 감지 출처 | +| latest_version | string\|null | `null` | 감지된 최신 배포 버전 | +| file_version | string\|null | `1.0.0` | 설치된 파일의 manifest 버전 | +| github_url | string\|null | `null` | GitHub 저장소 URL | +| github_changelog_url | string\|null | `null` | GitHub 변경 내역 URL | +| is_pending | boolean | `false` | `_pending` 대기 여부 | +| is_bundled | boolean | `true` | 번들 확장 여부 | +| deactivated_reason | string\|null | `null` | 비활성화 사유 | +| deactivated_at | string\|null | `null` | 비활성화 일시 | +| incompatible_required_version | string\|null | `null` | 코어 버전 미충족 시 요구 버전 | +| abilities | object | `{"can_install":true,"can_activate":true,"can_uninstall":true,"can_edit_layouts":true}` | 현재 사용자의 수행 가능 작업 맵 | **응답 예시** - +```json +{ + "success": true, + "message": "템플릿 레이아웃이 성공적으로 갱신되었습니다.", + "data": { + "identifier": "sirsoft-admin_basic", + "vendor": "sirsoft", + "name": "Admin Basic", + "version": "1.0.0", + "type": "admin", + "status": "active", + "description": "그누보드7 기본 관리자 템플릿", + "dependencies": { + "modules": [], + "plugins": [] + }, + "dependencies_met": true, + "update_available": false, + "update_source": null, + "latest_version": null, + "file_version": "1.0.0", + "github_url": null, + "github_changelog_url": null, + "is_pending": false, + "is_bundled": true, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true, + "can_edit_layouts": true + } + } +} +``` **에러 응답** @@ -639,7 +1054,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 위반 또는 레이아웃 갱신 실패 (레이아웃 JSON 무효, layout_name 누락 등) | +| 500 | Server Error | 레이아웃 갱신 처리 중 예기치 못한 오류 | @@ -672,11 +1088,17 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (`data`: `null`, 성공 메시지만)._ **응답 예시** - +```json +{ + "success": true, + "message": "템플릿이 성공적으로 제거되었습니다.", + "data": null +} +``` **에러 응답** @@ -684,7 +1106,8 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 위반 또는 제거 실패 (활성 상태·파일 삭제 실패 등 — `errors.identifier` 에 번역된 사유) | +| 500 | Server Error | 제거 처리 중 예기치 못한 오류 | @@ -860,10 +1283,10 @@ _단건 응답: `data` 객체의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | | identifier | string | `sirsoft-admin_basic` | 템플릿 고유 식별자 (vendor-name 형식, 예: sirsoft-admin_basic) | -| js | array | `["\/api\/templates\/assets\/sirsoft-admin_basic?file=js%2…` | | -| css | array | `["\/api\/admin\/templates\/sirsoft-admin_basic\/editor\/c…` | | -| manifest_present | boolean | `true` | | -| manifest_source | string | `active` | | +| js | array | `["\/api\/templates\/assets\/sirsoft-admin_basic\/js\/comp…` | 프론트엔드 JS 에셋 목록 (manifest assets 파생) | +| css | array | `["\/api\/admin\/templates\/sirsoft-admin_basic\/editor\/c…` | 프론트엔드 CSS 에셋 목록 (manifest assets 파생) | +| manifest_present | boolean | `true` | manifest 파일 존재 여부 | +| manifest_source | string | `active` | manifest 를 읽어온 출처 경로 (활성/_bundled 구분) | **응답 예시** @@ -933,8 +1356,8 @@ _단건 응답: `data` 객체의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | | identifier | string | `sirsoft-admin_basic` | 템플릿 고유 식별자 (vendor-name 형식, 예: sirsoft-admin_basic) | -| channels | array | `[{"name":"core.admin.dashboard","source":{"kind":"core"}}…` | | -| events | array | `[]` | | +| channels | array | `[{"name":"core.admin.dashboard","source":{"kind":"core"}}…` | 이 템플릿에서 구독 가능한 브로드캐스트 채널 목록 (각 원소 name/source — 코어·모듈·플러그인이 등록한 채널) | +| events | array | `[]` | 이벤트 정의 목록 | **응답 예시** @@ -1046,11 +1469,17 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투를 반환하지 않습니다. 본문은 `Content-Type: text/css; charset=UTF-8` 의 CSS 원문이며, 템플릿에 components.css 가 없으면 빈 본문(200)으로 폴백합니다._ **응답 예시** - +```http +HTTP/1.1 200 +Content-Type: text/css; charset=UTF-8 + +.g7-editor-preview-dark .bg-white { background-color: #1f2937; } +/* (템플릿 components.css 를 프리뷰 격리 규칙으로 변환한 CSS 원문) */ +``` **에러 응답** @@ -1137,10 +1566,10 @@ _단건 응답: `data` 객체의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | -| $schema | string | `https://json-schema.org/draft/2020-12…` | | -| templateId | string | `sirsoft-admin_basic` | | +| $schema | string | `https://json-schema.org/draft/2020-12…` | JSON 스키마 선언 URL (편집기/검증 도구용) | +| templateId | string | `sirsoft-admin_basic` | 대상 템플릿의 식별자 | | version | string | `1.0.0` | 템플릿 버전 (예: 1.0.0) | -| components | object | `{"basic":[{"name":"Button","type":"basic","description":"…` | | +| components | object | `{"basic":[{"name":"Button","type":"basic","description":"…` | 컴포넌트 트리 (레이아웃이 렌더할 컴포넌트 정의) | **응답 예시** @@ -93157,11 +93586,26 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 는 템플릿 `lang/{locale}.json` 의 내용을 그대로 담은 객체입니다 (번역 키 → 번역문). 고정 필드 스키마가 없으며 키 집합은 템플릿마다 다릅니다. 파일 부재 시 빈 객체로 폴백합니다 (message: `다국어 데이터가 비어 있습니다.`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| (템플릿 번역 키) | string\|object | `{"common":{"save":"저장"}}` | 템플릿 `lang/{locale}.json` 이 선언한 번역 키와 번역문 (중첩 객체 허용) | **응답 예시** - +```json +{ + "success": true, + "message": "다국어 데이터를 조회했습니다.", + "data": { + "common": { + "save": "저장", + "cancel": "취소" + } + } +} +``` **에러 응답** @@ -93330,10 +93774,10 @@ _단건 응답: `data` 객체의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | | version | string | `1.0.0` | 템플릿 버전 (예: 1.0.0) | -| routes | array | `[{"path":"*\/admin","redirect":"\/admin\/dashboard","auth…` | | -| base_layouts | array | `[{"layout_name":"_admin_base","label":null}]` | | -| modals | array | `[{"modal_id":"identity-challenge-modal","host_layout":"_a…` | | -| layout_versions | array | `[]` | | +| routes | array | `[{"path":"*\/admin","redirect":"\/admin\/dashboard","auth…` | 라우트 정의 목록 | +| base_layouts | array | `[{"layout_name":"_admin_base","label":null}]` | 상속 가능한 베이스 레이아웃 목록 | +| modals | array | `[{"modal_id":"identity-challenge-modal","host_layout":"_a…` | 모달 컴포넌트 정의 배열 | +| layout_versions | array | `[]` | 레이아웃 버전 이력 목록 | **응답 예시** @@ -93554,11 +93998,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-basic` | 미리보기를 요청한 템플릿 식별자 | +| enabled | boolean | `true` | 이 레이아웃이 봇 HTML 로 렌더되는지 여부 (`meta.seo.enabled=false` 이거나 미렌더 시 false) | +| html | string\|null | `…` | 렌더된 봇 HTML 원문 (SEO 캐시 우회 실시간 렌더). 미노출이면 null | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "identifier": "sirsoft-basic", + "enabled": true, + "html": "\n\n\n상품 목록\n\n...\n" + } +} +``` **에러 응답** @@ -93606,10 +94066,10 @@ _단건 응답: `data` 객체의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | | identifier | string | `sirsoft-admin_basic` | 템플릿 고유 식별자 (vendor-name 형식, 예: sirsoft-admin_basic) | -| page_types | array | `[{"value":"boards","owner":{"type":"module","id":"sirsoft…` | | -| toggle_settings | array | `[{"ref":"$module_settings:sirsoft-board:seo.seo_boards","…` | | -| vars | array | `[]` | | -| extensions | array | `[{"type":"module","id":"gnuboard7-hello_module","label":"…` | | +| page_types | array | `[{"value":"boards","owner":{"type":"module","id":"sirsoft…` | SEO 템플릿 키로 사용 가능한 페이지 유형 목록 | +| toggle_settings | array | `[{"ref":"$module_settings:sirsoft-board:seo.seo_boards","…` | 토글 가능한 설정 항목 목록 | +| vars | array | `[]` | SEO 변수 선언 맵 (데이터 소스 값의 표현식 매핑) | +| extensions | array | `[{"type":"module","id":"sirsoft-board","label":"게시판"},{"t…` | SEO 변수를 제공하는 확장 목록 (각 원소 type/id/label — 레이아웃 meta.seo.extensions 에 선언 가능한 후보) | **응답 예시** @@ -93912,11 +94372,89 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-basic` | 미리보기를 요청한 템플릿 식별자 | +| defaultsAvailable | boolean | `true` | 모듈 기본값 계산 가능 여부 (`extensions` 와 `page_type` 이 모두 지정된 경우에만 true) | +| missing | array | `["page_type"]` | 기본값 계산에 부족한 입력 키 목록 (`extensions` \| `page_type`) | +| og | array | `[{"key":"title","effectiveValue":"상품 목록", …}]` | og 키별 cascade 결과 목록 | +| og[].key | string | `title` | og 메타 키 (title, description, image, type, url 등) | +| og[].effectiveValue | mixed | `상품 목록` | 최종 적용될 값 (필터 잠김이면 필터 적용 후 값) | +| og[].source | string | `module:sirsoft-ecommerce` | 값 출처 (`filter` \| `inherited` \| `layout` \| `module:{id}` \| `core`) | +| og[].overriddenByLayout | boolean | `false` | 이 레이아웃이 직접 값을 덮었는지 여부 (상속은 false) | +| og[].inheritedFromBase | boolean | `false` | 베이스 레이아웃에서 상속된 값인지 여부 | +| og[].lockedByFilter | boolean | `false` | 확장 필터 훅이 값을 강제해 편집 불가인지 여부 | +| og[].sourceExpr | string | `{{product.name}}` | 모듈 자동값일 때 연결된 데이터 경로 표현식 (모듈 출처 + 메타 선언 시에만 동반) | +| og[].label | string | `상품 이름` | 모듈 자동값의 표시 라벨 (현재 로케일) | +| twitter | array | `[{"key":"card","effectiveValue":"summary_large_image", …}]` | twitter 키별 cascade 결과 목록 (og 와 동일 항목 구조) | +| structured | object | `{"autoBlock":{…},"hasLayoutBlock":false, …}` | 구조화 데이터(JSON-LD) 미리보기 | +| structured.autoBlock | object\|null | `{"@type":"Product", …}` | 모듈이 자동 생성한 구조화 블록 (레이아웃 미선언 시 노출) | +| structured.autoMeta | object | `{"name":{"expr":"{{product.name}}","label":"상품 이름"}}` | 자동 블록의 점 경로 키별 데이터 경로 메타 (연결 칩) | +| structured.hasLayoutBlock | boolean | `false` | 레이아웃이 직접 구조화 블록을 선언했는지 여부 (선언 시 모듈 자동값을 통째로 덮음) | +| structured.lockedByFilter | boolean | `false` | 확장 필터 훅이 구조화 블록을 강제해 편집 불가인지 여부 | +| structured.filteredBlock | object\|null | `null` | 필터 잠김 시 필터 적용 후 최종 블록 (잠기지 않으면 null) | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "identifier": "sirsoft-basic", + "defaultsAvailable": true, + "missing": [], + "og": [ + { + "key": "title", + "effectiveValue": "상품 목록", + "source": "layout", + "overriddenByLayout": true, + "inheritedFromBase": false, + "lockedByFilter": false + }, + { + "key": "image", + "effectiveValue": "https://example.com/storage/products/1.jpg", + "source": "module:sirsoft-ecommerce", + "overriddenByLayout": false, + "inheritedFromBase": false, + "lockedByFilter": false, + "sourceExpr": "{{product.image_url}}", + "label": "상품 이미지" + } + ], + "twitter": [ + { + "key": "card", + "effectiveValue": "summary_large_image", + "source": "core", + "overriddenByLayout": false, + "inheritedFromBase": false, + "lockedByFilter": false + } + ], + "structured": { + "autoBlock": { + "@context": "https://schema.org", + "@type": "Product", + "name": "예시 상품" + }, + "autoMeta": { + "name": { + "expr": "{{product.name}}", + "label": "상품 이름" + } + }, + "hasLayoutBlock": false, + "lockedByFilter": false, + "filteredBlock": null + } + } +} +``` **에러 응답** @@ -93960,7 +94498,17 @@ Authorization: Bearer {YOUR_TOKEN} - +_목록 응답: `data` 는 첨부 항목 배열입니다 (페이지네이션 없음). 첨부가 없으면 빈 배열._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 첨부 파일 기본 키 (삭제 시 path 파라미터로 사용) | +| layout_name | string\|null | `main` | 이 첨부가 속한 레이아웃 이름 (레이아웃 무관 첨부면 null) | +| original_name | string | `hero-bg.png` | 업로드 당시 원본 파일명 | +| mime_type | string | `image/png` | 파일 MIME 타입 | +| size | integer | `204800` | 파일 크기 (바이트) | +| url | string | `/storage/template-layout-attachments/sirsoft-basic/hero-bg.png` | 첨부 파일 접근 URL | +| created_at | string | `2026-07-14T10:00:00+09:00` | 업로드 일시 (ISO 8601) | **응답 예시** @@ -94031,11 +94579,33 @@ Content-Disposition: form-data; name="layout_name" **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 생성된 첨부 파일 기본 키 (삭제 시 path 파라미터로 사용) | +| layout_name | string\|null | `main` | 이 첨부가 속한 레이아웃 이름 (미지정 시 null) | +| original_name | string | `hero-bg.png` | 업로드된 원본 파일명 | +| mime_type | string | `image/png` | 파일 MIME 타입 | +| size | integer | `204800` | 파일 크기 (바이트) | +| url | string | `/storage/template-layout-attachments/sirsoft-basic/hero-bg.png` | 업로드된 파일의 접근 URL (편집기 ImagePickerControl 이 사용) | **응답 예시** - +```json +{ + "success": true, + "message": "첨부 파일을 업로드했습니다.", + "data": { + "id": 1, + "layout_name": "main", + "original_name": "hero-bg.png", + "mime_type": "image/png", + "size": 204800, + "url": "/storage/template-layout-attachments/sirsoft-basic/hero-bg.png" + } +} +``` **에러 응답** @@ -94043,8 +94613,9 @@ Content-Disposition: form-data; name="layout_name" | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | 대상 템플릿이 존재하지 않는 경우 (`템플릿을 찾을 수 없습니다.`) | +| 422 | Unprocessable Entity | 파일 검증 위반 (이미지 아님, 지원하지 않는 형식 jpg/jpeg/png/gif/webp/svg 외, 크기 초과 등) | +| 500 | Server Error | 스토리지 저장 실패 (`첨부 파일 업로드에 실패했습니다.`) | @@ -94135,11 +94706,88 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (TemplateResource::toDetailArray + `language_packs`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-admin_basic` | 템플릿 고유 식별자 | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `Admin Basic` | 템플릿 이름 (현재 로케일 값) | +| version | string | `1.0.0` | 템플릿 버전 | +| latest_version | string\|null | `null` | 감지된 최신 배포 버전 | +| update_available | boolean | `false` | 업데이트 가능 여부 | +| update_source | string\|null | `null` | 업데이트 감지 출처 (`github` \| `bundled`) | +| file_version | string\|null | `1.0.0` | 설치된 파일의 manifest 버전 | +| type | string | `admin` | 템플릿 타입 (`admin` \| `user`) | +| status | string | `active` | 템플릿 상태 | +| description | string | `그누보드7 기본 관리자 템플릿` | 템플릿 설명 (현재 로케일 값) | +| github_url | string\|null | `null` | GitHub 저장소 URL | +| github_changelog_url | string\|null | `null` | GitHub 변경 내역 URL | +| requires_core | string\|null | `>=7.0.0` | 요구 코어 버전 제약 (manifest `g7_version`) | +| is_pending | boolean | `false` | `_pending` 대기 여부 | +| is_bundled | boolean | `true` | 번들 확장 여부 | +| deactivated_reason | string\|null | `null` | 비활성화 사유 (`manual` \| `incompatible_core` \| null) | +| deactivated_at | string\|null | `null` | 비활성화 일시 | +| incompatible_required_version | string\|null | `null` | 코어 버전 미충족 시 요구 버전 | +| locales | array | `["ko","en"]` | 템플릿이 지원하는 로케일 목록 | +| layouts_count | integer | `42` | 이 템플릿이 등록한 레이아웃 수 | +| components | object | `{"basic":[…],"composite":[…]}` | 템플릿이 제공하는 컴포넌트 목록 (basic/composite) | +| license | string\|null | `MIT` | 라이선스 표기 | +| metadata | object | `{}` | manifest 부가 메타데이터 | +| externals | object | `{}` | 외부 리소스 선언 (template.json `externals` 정규화 결과) | +| dependencies | object | `{"modules":[…],"plugins":[…]}` | 의존 확장 상세 (각 항목: identifier, name, required_version, installed_version, is_active, is_met) | +| created_at | string\|null | `2026-07-14 09:00:00` | 설치(레코드 생성) 일시 | +| updated_at | string\|null | `2026-07-14 10:00:00` | 최종 갱신 일시 | +| language_packs | array | `[]` | 이 템플릿을 대상으로 하는 언어팩 목록 (LanguagePackResource — id, identifier, locale, version, status, is_protected 등) | **응답 예시** - +```json +{ + "success": true, + "message": "템플릿 정보를 성공적으로 가져왔습니다.", + "data": { + "identifier": "sirsoft-admin_basic", + "vendor": "sirsoft", + "name": "Admin Basic", + "version": "1.0.0", + "latest_version": null, + "update_available": false, + "update_source": null, + "file_version": "1.0.0", + "type": "admin", + "status": "active", + "description": "그누보드7 기본 관리자 템플릿", + "github_url": null, + "github_changelog_url": null, + "requires_core": ">=7.0.0", + "is_pending": false, + "is_bundled": true, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "locales": [ + "ko", + "en" + ], + "layouts_count": 42, + "components": { + "basic": [], + "composite": [] + }, + "license": "MIT", + "metadata": {}, + "externals": {}, + "dependencies": { + "modules": [], + "plugins": [] + }, + "created_at": "2026-07-14 09:00:00", + "updated_at": "2026-07-14 10:00:00", + "language_packs": [] + } +} +``` **에러 응답** @@ -94147,8 +94795,9 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 해당 식별자의 템플릿이 없는 경우 (`템플릿을 찾을 수 없습니다.`) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 템플릿 정보 조회 처리 실패 | @@ -94178,11 +94827,38 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| has_modified_layouts | boolean | `true` | 사용자가 수정한 레이아웃이 하나라도 있는지 여부 (설치 시 해시와 현재 내용 비교) | +| modified_count | integer | `2` | 수정된 레이아웃 개수 | +| modified_layouts | array | `[{"id":12,"name":"main", …}]` | 수정된 레이아웃 목록 | +| modified_layouts[].id | integer | `12` | 레이아웃 레코드 ID | +| modified_layouts[].name | string | `main` | 레이아웃 이름 | +| modified_layouts[].updated_at | string\|null | `2026-07-14 10:00:00` | 마지막 수정 일시 | +| modified_layouts[].size_diff | integer | `128` | 설치 당시 대비 내용 크기 변화량 (바이트, 음수 가능) | **응답 예시** - +```json +{ + "success": true, + "message": "수정된 레이아웃 확인이 완료되었습니다.", + "data": { + "has_modified_layouts": true, + "modified_count": 1, + "modified_layouts": [ + { + "id": 12, + "name": "main", + "updated_at": "2026-07-14 10:00:00", + "size_diff": 128 + } + ] + } +} +``` **에러 응답** @@ -94190,8 +94866,9 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | 해당 식별자의 템플릿이 설치되어 있지 않은 경우 (레이아웃 0건과 구분됨) | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터 검증 위반 또는 확인 실패 (`errors.template_name`) | +| 500 | Server Error | 확인 처리 중 예기치 못한 오류 | @@ -94224,11 +94901,23 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| deleted | integer | `3` | 실제로 삭제된 커스텀 다국어 키 개수 (요청 `ids` 중 해당 템플릿 소속만 삭제하므로 요청 건수보다 적을 수 있음. 소속 키가 하나도 없으면 `0`) | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "deleted": 3 + } +} +``` **에러 응답** @@ -94236,8 +94925,9 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | 대상 템플릿이 존재하지 않는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`ids` 누락 또는 빈 배열 등) | +| 500 | Server Error | 삭제 트랜잭션 실패 | @@ -94271,11 +94961,44 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_목록 응답: `data` 는 커스텀 다국어 키 배열입니다 (페이지네이션 없음)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 커스텀 다국어 키 ID | +| template_id | integer | `1` | 소속 템플릿 ID | +| layout_name | string\|null | `main` | 생성 출처 레이아웃 이름 | +| translation_key | string | `custom.main.a1b2c3` | 다국어 키 (`$t:` 참조 경로) | +| values | object | `{"ko":"저장","en":"Save"}` | 로케일별 번역 값 맵 | +| status | string | `active` | 상태 (`active`: 레이아웃에서 사용 중, `orphaned`: 참조가 사라진 고아 키) | +| lock_version | integer | `0` | 낙관적 잠금 버전 (수정 시 `expected_lock_version` 으로 되돌려 보냄) | +| created_at | string\|null | `2026-07-14T10:00:00.000000Z` | 생성 일시 | +| updated_at | string\|null | `2026-07-14T10:00:00.000000Z` | 최종 수정 일시 | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": [ + { + "id": 1, + "template_id": 1, + "layout_name": "main", + "translation_key": "custom.main.a1b2c3", + "values": { + "ko": "저장", + "en": "Save" + }, + "status": "active", + "lock_version": 0, + "created_at": "2026-07-14T10:00:00.000000Z", + "updated_at": "2026-07-14T10:00:00.000000Z" + } + ] +} +``` **에러 응답** @@ -94283,7 +95006,7 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 대상 템플릿이 존재하지 않는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -94326,11 +95049,41 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (생성된 커스텀 다국어 키, HTTP 201)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 생성된 커스텀 다국어 키 ID | +| template_id | integer | `1` | 소속 템플릿 ID | +| layout_name | string\|null | `main` | 생성 출처 레이아웃 이름 | +| translation_key | string | `custom.main.a1b2c3` | 자동 생성된 다국어 키 (`$t:` 참조 경로) | +| values | object | `{"ko":"저장"}` | 로케일별 번역 값 맵 (요청의 `locale`/`value` 로 초기화) | +| status | string | `active` | 상태 (`active` \| `orphaned`) | +| lock_version | integer | `0` | 낙관적 잠금 버전 (생성 직후 0) | +| created_at | string\|null | `2026-07-14T10:00:00.000000Z` | 생성 일시 | +| updated_at | string\|null | `2026-07-14T10:00:00.000000Z` | 최종 수정 일시 | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "id": 1, + "template_id": 1, + "layout_name": "main", + "translation_key": "custom.main.a1b2c3", + "values": { + "ko": "저장" + }, + "status": "active", + "lock_version": 0, + "created_at": "2026-07-14T10:00:00.000000Z", + "updated_at": "2026-07-14T10:00:00.000000Z" + } +} +``` **에러 응답** @@ -94338,8 +95091,9 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 대상 템플릿이 존재하지 않는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 키 생성 트랜잭션 실패 | @@ -94370,11 +95124,17 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (`data`: `null`, 성공 메시지만)._ **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": null +} +``` **에러 응답** @@ -94382,8 +95142,9 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 대상 템플릿이 없거나, 해당 키가 없거나, 그 키가 경로의 템플릿 소속이 아닌 경우 (교차 템플릿 삭제 차단) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 삭제 트랜잭션 실패 | @@ -94426,11 +95187,42 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (수정된 커스텀 다국어 키)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 커스텀 다국어 키 ID | +| template_id | integer | `1` | 소속 템플릿 ID | +| layout_name | string\|null | `main` | 생성 출처 레이아웃 이름 | +| translation_key | string | `custom.main.a1b2c3` | 다국어 키 (`$t:` 참조 경로) | +| values | object | `{"ko":"저장","en":"Save"}` | 수정 후 로케일별 번역 값 맵 | +| status | string | `active` | 상태 (`active` \| `orphaned`) | +| lock_version | integer | `2` | 수정 후 증가된 낙관적 잠금 버전 (다음 수정 시 이 값을 `expected_lock_version` 으로 전달) | +| created_at | string\|null | `2026-07-14T10:00:00.000000Z` | 생성 일시 | +| updated_at | string\|null | `2026-07-14T11:00:00.000000Z` | 최종 수정 일시 | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "id": 1, + "template_id": 1, + "layout_name": "main", + "translation_key": "custom.main.a1b2c3", + "values": { + "ko": "저장", + "en": "Save" + }, + "status": "active", + "lock_version": 2, + "created_at": "2026-07-14T10:00:00.000000Z", + "updated_at": "2026-07-14T11:00:00.000000Z" + } +} +``` **에러 응답** @@ -94438,8 +95230,10 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 대상 템플릿이 없거나, 해당 키가 없거나, 그 키가 경로의 템플릿 소속이 아닌 경우 | +| 409 | Conflict | 낙관적 잠금 충돌 — 다른 사용자가 먼저 수정 (`errors`: `error=concurrent_modification`, `current_version`, `your_version`, `resource`) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 수정 트랜잭션 실패 | @@ -94469,11 +95263,73 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| target | object | `{"identifier":"sirsoft-basic","name":"Basic","version":"1.0.0"}` | 설치 대상 템플릿 요약 (identifier, name, version) | +| dependencies | array | `[{"type":"module","identifier":"sirsoft-board", …}]` | 함께 설치가 필요한 의존 확장 후보 목록 (cascade 체크리스트) | +| dependencies[].type | string | `module` | 확장 종류 (`module` \| `plugin`) | +| dependencies[].identifier | string | `sirsoft-board` | 의존 확장 식별자 | +| dependencies[].name | string\|null | `게시판` | 의존 확장 이름 (현재 로케일) | +| dependencies[].required_version | string\|null | `>=1.0.0` | manifest 가 요구하는 버전 제약 | +| dependencies[].installed_version | string\|null | `null` | 현재 설치된 버전 (미설치면 null) | +| dependencies[].is_installed | boolean | `false` | 설치 여부 | +| dependencies[].is_active | boolean | `false` | 활성 여부 | +| dependencies[].is_met | boolean | `false` | 의존성 충족 여부 (활성 + 버전 제약 만족) | +| dependencies[].available | boolean | `true` | cascade 설치 후보로 선택 가능한지 여부 (미충족 항목만 true) | +| dependencies[].default_selected | boolean | `true` | 체크리스트 기본 선택 여부 (미충족 + 미설치면 true) | +| language_packs | array | `[{"bundled_identifier":"g7-template-basic-ja", …}]` | 함께 설치 가능한 미설치 번들 언어팩 후보 (본 템플릿용 우선, 이어서 의존 확장용) | +| language_packs[].bundled_identifier | string | `g7-template-basic-ja` | 번들 언어팩 식별자 | +| language_packs[].locale | string | `ja` | 언어팩 로케일 코드 | +| language_packs[].locale_native_name | string | `日本語` | 로케일 자국어 표기 | +| language_packs[].locale_name | string | `일본어` | 로케일 이름 | +| language_packs[].version | string | `1.0.0` | 언어팩 버전 | +| language_packs[].depends_on_extension | string\|null | `null` | 이 언어팩이 귀속된 의존 확장 식별자 (본 템플릿용이면 null) | +| language_packs[].available | boolean | `true` | 설치 후보 선택 가능 여부 | +| language_packs[].default_selected | boolean | `true` | 체크리스트 기본 선택 여부 | **응답 예시** - +```json +{ + "success": true, + "message": "템플릿 정보를 성공적으로 가져왔습니다.", + "data": { + "target": { + "identifier": "sirsoft-basic", + "name": "Basic", + "version": "1.0.0" + }, + "dependencies": [ + { + "type": "module", + "identifier": "sirsoft-board", + "name": "게시판", + "required_version": ">=1.0.0", + "installed_version": null, + "is_installed": false, + "is_active": false, + "is_met": false, + "available": true, + "default_selected": true + } + ], + "language_packs": [ + { + "bundled_identifier": "g7-template-basic-ja", + "locale": "ja", + "locale_native_name": "日本語", + "locale_name": "일본어", + "version": "1.0.0", + "depends_on_extension": null, + "available": true, + "default_selected": true + } + ] + } +} +``` **에러 응답** @@ -94483,6 +95339,7 @@ Authorization: Bearer {YOUR_TOKEN} | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 대상 템플릿을 찾을 수 없거나 프리뷰 구성 실패 | @@ -94512,11 +95369,80 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_목록 응답: `data` 는 출처(모듈/플러그인)별 그룹 배열입니다 (페이지네이션 없음)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| source_identifier | string | `sirsoft-ecommerce` | 그룹 출처 확장의 식별자 (템플릿 오버라이드 행은 대상 확장 기준으로 묶임) | +| source_type | string | `module` | 그룹 출처 종류 (`module` \| `plugin` \| `template`) | +| source_label | string | `이커머스` | 그룹 출처 표시명 (현재 로케일) | +| extensions | array | `[{"id":3,"extension_type":"overlay", …}]` | 그 출처가 주입한 레이아웃 확장 목록 | +| extensions[].id | integer | `3` | 레이아웃 확장 ID | +| extensions[].template_id | integer | `1` | 소속 템플릿 ID | +| extensions[].extension_type | string | `overlay` | 확장 방식 (`overlay`: 특정 레이아웃 오버레이, `extension_point`: 확장점 주입) | +| extensions[].target_name | string | `main` | 대상 레이아웃명 또는 확장점 이름 | +| extensions[].source_type | string | `module` | 이 확장 행의 출처 종류 (`template` 이면 템플릿 오버라이드 행) | +| extensions[].source_identifier | string | `sirsoft-ecommerce` | 이 확장 행의 출처 식별자 | +| extensions[].source_label | string | `이커머스` | 출처 표시명 | +| extensions[].override_target | integer\|null | `null` | 템플릿 오버라이드인 경우 덮어쓰는 원본 확장 ID | +| extensions[].is_override | boolean | `false` | 템플릿 오버라이드 행 여부 | +| extensions[].priority | integer | `10` | 주입 우선순위 (낮을수록 먼저) | +| extensions[].is_active | boolean | `true` | 활성 여부 | +| extensions[].host_layouts | array | `["main","product_list"]` | 이 확장이 실제로 주입되는 호스트 레이아웃명 목록 | +| extensions[].content | string | `"{\n \"injections\": [...]\n}"` | 확장 content JSON 문자열 (pretty-print) | +| extensions[].size | integer | `2048` | content JSON 바이트 크기 | +| extensions[].size_formatted | string | `2.0 KB` | 사람이 읽는 크기 표기 | +| extensions[].is_modified | boolean | `false` | 관리자가 원본 content 를 수정했는지 여부 (해시 비교) | +| extensions[].lock_version | integer | `0` | 낙관적 잠금 버전 (수정 시 `expected_lock_version` 으로 전달) | +| extensions[].current_version | integer\|null | `2` | 현재(최신) 저장 버전 번호 (이력 없으면 null) | +| extensions[].created_at | string | `2026-07-14T10:00:00+09:00` | 생성 일시 (사용자 타임존 ISO 8601) | +| extensions[].updated_at | string | `2026-07-14T10:00:00+09:00` | 최종 수정 일시 | +| extensions[].abilities | object | `{"can_update":true}` | 현재 사용자의 수행 가능 작업 맵 (`core.templates.layouts.edit` 기반) | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": [ + { + "source_identifier": "sirsoft-ecommerce", + "source_type": "module", + "source_label": "이커머스", + "extensions": [ + { + "id": 3, + "template_id": 1, + "extension_type": "overlay", + "target_name": "main", + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "source_label": "이커머스", + "override_target": null, + "is_override": false, + "priority": 10, + "is_active": true, + "host_layouts": [ + "main" + ], + "content": "{\n \"target_layout\": \"main\"\n}", + "size": 34, + "size_formatted": "34 B", + "is_modified": false, + "lock_version": 0, + "current_version": null, + "created_at": "2026-07-14T10:00:00+09:00", + "updated_at": "2026-07-14T10:00:00+09:00", + "abilities": { + "can_update": true + } + } + ] + } + ] +} +``` **에러 응답** @@ -94524,7 +95450,7 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 대상 템플릿이 존재하지 않는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -94556,11 +95482,67 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (LayoutExtensionResource + `host_layouts`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `3` | 레이아웃 확장 ID | +| template_id | integer | `1` | 소속 템플릿 ID | +| extension_type | string | `overlay` | 확장 방식 (`overlay` \| `extension_point`) | +| target_name | string | `main` | 대상 레이아웃명 또는 확장점 이름 | +| source_type | string | `module` | 출처 종류 (`module` \| `plugin` \| `template`) | +| source_identifier | string | `sirsoft-ecommerce` | 출처 확장 식별자 | +| source_label | string | `sirsoft-ecommerce` | 출처 표시명 (index 응답과 달리 라벨 미부착 시 식별자로 폴백) | +| override_target | integer\|null | `null` | 템플릿 오버라이드인 경우 덮어쓰는 원본 확장 ID | +| is_override | boolean | `false` | 템플릿 오버라이드 행 여부 | +| priority | integer | `10` | 주입 우선순위 | +| is_active | boolean | `true` | 활성 여부 | +| host_layouts | array | `["main"]` | 편집 캔버스가 병합 렌더할 호스트 레이아웃 후보 (overlay 는 대상 레이아웃, extension_point 는 그 확장점을 포함한 레이아웃 전체) | +| content | string | `"{\n \"target_layout\": \"main\"\n}"` | 확장 content JSON 문자열 (pretty-print) | +| size | integer | `34` | content JSON 바이트 크기 | +| size_formatted | string | `34 B` | 사람이 읽는 크기 표기 | +| is_modified | boolean | `false` | 관리자가 원본 content 를 수정했는지 여부 | +| lock_version | integer | `0` | 낙관적 잠금 버전 | +| current_version | integer\|null | `null` | 현재 저장 버전 번호 (상세 응답에서는 미부착 → null) | +| created_at | string | `2026-07-14T10:00:00+09:00` | 생성 일시 | +| updated_at | string | `2026-07-14T10:00:00+09:00` | 최종 수정 일시 | +| abilities | object | `{"can_update":true}` | 현재 사용자의 수행 가능 작업 맵 | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "id": 3, + "template_id": 1, + "extension_type": "overlay", + "target_name": "main", + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "source_label": "sirsoft-ecommerce", + "override_target": null, + "is_override": false, + "priority": 10, + "is_active": true, + "content": "{\n \"target_layout\": \"main\"\n}", + "size": 34, + "size_formatted": "34 B", + "is_modified": false, + "lock_version": 0, + "current_version": null, + "created_at": "2026-07-14T10:00:00+09:00", + "updated_at": "2026-07-14T10:00:00+09:00", + "abilities": { + "can_update": true + }, + "host_layouts": [ + "main" + ] + } +} +``` **에러 응답** @@ -94568,7 +95550,7 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 템플릿/확장이 없거나, 확장이 경로의 템플릿 소속이 아닌 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -94591,8 +95573,8 @@ Authorization: Bearer {YOUR_TOKEN} | expected_lock_version | body | integer | 예 | min 0 | 낙관적 잠금 버전 (동시 편집 충돌 감지) | | content | body | array | 예 | — | 본문 내용 | | priority | body | integer | 아니오 | min 0, max 9999 | 우선순위 (작을수록 우선) | -| content.priority | body | integer | 아니오 | min 0, max 9999 | | -| content.data_sources | body | array | 아니오 | — | | +| content.priority | body | integer | 아니오 | min 0, max 9999 | 우선순위 (작을수록 우선) | +| content.data_sources | body | array | 아니오 | — | API 데이터 소스 정의 배열 (id/endpoint/method) | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`core.layout_extension.update_content_validation_rules`). @@ -94620,11 +95602,65 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (수정된 LayoutExtensionResource)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `3` | 레이아웃 확장 ID | +| template_id | integer | `1` | 소속 템플릿 ID | +| extension_type | string | `overlay` | 확장 방식 (`overlay` \| `extension_point`) | +| target_name | string | `main` | 대상 레이아웃명 또는 확장점 이름 | +| source_type | string | `module` | 출처 종류 | +| source_identifier | string | `sirsoft-ecommerce` | 출처 확장 식별자 | +| source_label | string | `sirsoft-ecommerce` | 출처 표시명 | +| override_target | integer\|null | `null` | 템플릿 오버라이드인 경우 원본 확장 ID | +| is_override | boolean | `false` | 템플릿 오버라이드 행 여부 | +| priority | integer | `10` | 주입 우선순위 (요청에 `priority` 를 보내면 갱신됨) | +| is_active | boolean | `true` | 활성 여부 | +| host_layouts | array | `[]` | 호스트 레이아웃 목록 (수정 응답에서는 미부착 → 빈 배열) | +| content | string | `"{\n \"target_layout\": \"main\"\n}"` | 저장된 확장 content JSON 문자열 | +| size | integer | `34` | content JSON 바이트 크기 | +| size_formatted | string | `34 B` | 사람이 읽는 크기 표기 | +| is_modified | boolean | `true` | 원본 대비 수정 여부 | +| lock_version | integer | `1` | 증가된 낙관적 잠금 버전 (다음 저장 시 `expected_lock_version` 으로 전달) | +| current_version | integer\|null | `2` | 저장으로 기록된 최신 버전 번호 | +| created_at | string | `2026-07-14T10:00:00+09:00` | 생성 일시 | +| updated_at | string | `2026-07-14T11:00:00+09:00` | 최종 수정 일시 | +| abilities | object | `{"can_update":true}` | 현재 사용자의 수행 가능 작업 맵 | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "id": 3, + "template_id": 1, + "extension_type": "overlay", + "target_name": "main", + "source_type": "module", + "source_identifier": "sirsoft-ecommerce", + "source_label": "sirsoft-ecommerce", + "override_target": null, + "is_override": false, + "priority": 10, + "is_active": true, + "host_layouts": [], + "content": "{\n \"target_layout\": \"main\"\n}", + "size": 34, + "size_formatted": "34 B", + "is_modified": true, + "lock_version": 1, + "current_version": 2, + "created_at": "2026-07-14T10:00:00+09:00", + "updated_at": "2026-07-14T11:00:00+09:00", + "abilities": { + "can_update": true + } + } +} +``` **에러 응답** @@ -94632,8 +95668,10 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 템플릿/확장이 없거나, 확장이 경로의 템플릿 소속이 아닌 경우 | +| 409 | Conflict | 낙관적 잠금 충돌 — 다른 사용자가 먼저 수정 (`errors`: `error=concurrent_modification`, `current_version`, `your_version`, `resource`) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 저장 트랜잭션 실패 | @@ -94676,11 +95714,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| token | string | `9f2c1a4e8b7d…` | 미리보기 토큰 (임시 저장된 확장 content 를 식별) | +| preview_url | string | `/preview/9f2c1a4e8b7d…` | 미리보기 페이지 경로 (새 탭으로 열어 확인) | +| expires_at | string | `2026-07-14T11:00:00+09:00` | 미리보기 만료 일시 (ISO 8601) | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "token": "9f2c1a4e8b7d3c5f", + "preview_url": "/preview/9f2c1a4e8b7d3c5f", + "expires_at": "2026-07-14T11:00:00+09:00" + } +} +``` **에러 응답** @@ -94688,8 +95742,9 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | 템플릿/확장이 없거나, 확장이 경로의 템플릿 소속이 아닌 경우 | +| 422 | Unprocessable Entity | 요청 파라미터 검증 위반 또는 `extension_point` 타입인데 `preview_layout` 이 없는 경우 (대표 레이아웃 결정 불가) | +| 500 | Server Error | 미리보기 생성 실패 | @@ -94723,11 +95778,46 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_목록 응답: `data` 는 버전 이력 배열입니다 (페이지네이션 없음)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `7` | 버전 레코드 ID (복원 시 path 파라미터 `versionId` 로 사용) | +| extension_id | integer | `3` | 소속 레이아웃 확장 ID | +| version | integer | `2` | 버전 번호 (증가 순서) | +| content | string | `"{\n \"target_layout\": \"main\"\n}"` | 그 버전의 확장 content JSON 문자열 | +| changes_summary | object | `{"added_count":3,"removed_count":1,"char_diff":42}` | 직전 버전 대비 변경 요약 | +| changes_summary.added_count | integer | `3` | 추가된 라인 수 | +| changes_summary.removed_count | integer | `1` | 삭제된 라인 수 | +| changes_summary.char_diff | integer | `42` | 문자 수 변화량 (음수 가능) | +| created_by_name | string\|null | `관리자` | 저장자 이름 (탈퇴 사용자/관계 미로딩 시 null — 사용자 ID 는 미노출) | +| created_at | string | `2026-07-14T10:00:00+09:00` | 버전 저장 일시 | +| updated_at | string | `2026-07-14T10:00:00+09:00` | 레코드 갱신 일시 | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": [ + { + "id": 7, + "extension_id": 3, + "version": 2, + "content": "{\n \"target_layout\": \"main\"\n}", + "changes_summary": { + "added_count": 3, + "removed_count": 1, + "char_diff": 42 + }, + "created_by_name": "관리자", + "created_at": "2026-07-14T10:00:00+09:00", + "updated_at": "2026-07-14T10:00:00+09:00" + } + ] +} +``` **에러 응답** @@ -94735,8 +95825,7 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 템플릿/확장이 없거나, 확장이 경로의 템플릿 소속이 아닌 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -94769,11 +95858,41 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (복원 결과로 새로 기록된 버전)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `9` | 복원으로 새로 생성된 버전 레코드 ID | +| extension_id | integer | `3` | 소속 레이아웃 확장 ID | +| version | integer | `3` | 새 버전 번호 (복원도 새 버전으로 기록) | +| content | string | `"{\n \"target_layout\": \"main\"\n}"` | 복원된 확장 content JSON 문자열 | +| changes_summary | object | `{"added_count":1,"removed_count":3,"char_diff":-42}` | 직전 버전 대비 변경 요약 (added_count, removed_count, char_diff) | +| created_by_name | string\|null | `관리자` | 복원 수행자 이름 (탈퇴 사용자/관계 미로딩 시 null) | +| created_at | string | `2026-07-14T11:00:00+09:00` | 복원 일시 | +| updated_at | string | `2026-07-14T11:00:00+09:00` | 레코드 갱신 일시 | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "id": 9, + "extension_id": 3, + "version": 3, + "content": "{\n \"target_layout\": \"main\"\n}", + "changes_summary": { + "added_count": 1, + "removed_count": 3, + "char_diff": -42 + }, + "created_by_name": "관리자", + "created_at": "2026-07-14T11:00:00+09:00", + "updated_at": "2026-07-14T11:00:00+09:00" + } +} +``` **에러 응답** @@ -94781,8 +95900,9 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 템플릿/확장/버전이 없거나, 확장이 경로의 템플릿 소속이 아닌 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 복원 트랜잭션 실패 | @@ -94814,11 +95934,41 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (LayoutExtensionVersionResource)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `7` | 버전 레코드 ID | +| extension_id | integer | `3` | 소속 레이아웃 확장 ID | +| version | integer | `2` | 버전 번호 (path 파라미터 `version` 과 일치) | +| content | string | `"{\n \"target_layout\": \"main\"\n}"` | 그 버전의 확장 content JSON 문자열 (diff 비교용) | +| changes_summary | object | `{"added_count":3,"removed_count":1,"char_diff":42}` | 직전 버전 대비 변경 요약 (added_count, removed_count, char_diff) | +| created_by_name | string\|null | `관리자` | 저장자 이름 (탈퇴 사용자/관계 미로딩 시 null) | +| created_at | string | `2026-07-14T10:00:00+09:00` | 버전 저장 일시 | +| updated_at | string | `2026-07-14T10:00:00+09:00` | 레코드 갱신 일시 | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "id": 7, + "extension_id": 3, + "version": 2, + "content": "{\n \"target_layout\": \"main\"\n}", + "changes_summary": { + "added_count": 3, + "removed_count": 1, + "char_diff": 42 + }, + "created_by_name": "관리자", + "created_at": "2026-07-14T10:00:00+09:00", + "updated_at": "2026-07-14T10:00:00+09:00" + } +} +``` **에러 응답** @@ -94826,7 +95976,7 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 템플릿/확장/버전이 없거나, 확장이 경로의 템플릿 소속이 아닌 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -94916,7 +96066,7 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 대상 템플릿이 존재하지 않는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -94948,11 +96098,59 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (LayoutResource)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `12` | 레이아웃 레코드 ID | +| template_id | integer | `1` | 소속 템플릿 ID | +| name | string | `main` | 레이아웃 이름 | +| description | string | `메인 화면` | 레이아웃 설명 (`content.meta.description`, 없으면 이름) | +| endpoint | string\|null | `null` | 레이아웃이 선언한 기본 엔드포인트 | +| route_path | string\|null | `null` | 라우트 path (상세 응답에서는 매핑 미주입 → null) | +| components | array | `[…]` | 레이아웃 컴포넌트 트리 | +| data_sources | array | `[…]` | 레이아웃 데이터소스 정의 | +| metadata | object | `{}` | 레이아웃 메타데이터 | +| content | string | `"{\n \"layout_name\": \"main\"\n}"` | 레이아웃 content JSON 문자열 (코드 편집기 표시 원문) | +| size | integer | `32` | content JSON 바이트 크기 | +| size_formatted | string | `32 B` | 사람이 읽는 크기 표기 | +| has_update | boolean | `false` | 템플릿 파일 대비 갱신 필요 여부 (현재 항상 false) | +| lock_version | integer | `0` | 낙관적 잠금 버전 | +| current_version | integer\|null | `null` | 현재 저장 버전 번호 (상세 응답에서는 null) | +| created_at | string | `2026-07-14T10:00:00+09:00` | 생성 일시 | +| updated_at | string | `2026-07-14T10:00:00+09:00` | 최종 수정 일시 | +| abilities | object | `{"can_update":true}` | 현재 사용자의 수행 가능 작업 맵 | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "id": 12, + "template_id": 1, + "name": "main", + "description": "메인 화면", + "endpoint": null, + "route_path": null, + "components": [], + "data_sources": [], + "metadata": {}, + "content": "{\n \"layout_name\": \"main\"\n}", + "size": 32, + "size_formatted": "32 B", + "has_update": false, + "lock_version": 0, + "current_version": null, + "created_at": "2026-07-14T10:00:00+09:00", + "updated_at": "2026-07-14T10:00:00+09:00", + "abilities": { + "can_update": true + } + } +} +``` **에러 응답** @@ -94960,7 +96158,7 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 대상 템플릿 또는 해당 이름의 레이아웃이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -94982,65 +96180,65 @@ Authorization: Bearer {YOUR_TOKEN} | name | path | string | 예 | — | 대상의 이름/명칭 | | expected_lock_version | body | integer | 예 | min 0 | 낙관적 잠금 버전 (동시 편집 충돌 감지) | | content | body | array | 예 | — | 본문 내용 | -| content.version | body | string | 예 | — | | +| content.version | body | string | 예 | — | 레이아웃 JSON 스키마 버전 (예: `1.0`) | | content.layout_name | body | string | 예 | max 255 | content.layout 이름 (식별자) | -| content.extends | body | string | 아니오 | — | | -| content.slots | body | array | 아니오 | — | | -| content.data_sources | body | array | 아니오 | — | | -| content.metadata | body | array | 아니오 | — | | -| content.meta | body | array | 아니오 | — | | -| content.meta.title | body | string | 아니오 | — | | -| content.meta.description | body | string | 아니오 | — | | -| content.meta.keywords | body | string | 아니오 | — | | -| content.meta.auth_required | body | boolean | 아니오 | — | | -| content.meta.is_base | body | boolean | 아니오 | — | | -| content.meta.guest_only | body | boolean | 아니오 | — | | -| content.meta.is_error_layout | body | boolean | 아니오 | — | | -| content.meta.error_code | body | integer | 아니오 | — | | -| content.meta.seo | body | array | 아니오 | — | | -| content.meta.seo.enabled | body | boolean | 아니오 | — | | -| content.meta.seo.data_sources | body | array | 아니오 | — | | -| content.meta.seo.priority | body | number | 아니오 | min 0, max 1 | | -| content.meta.seo.changefreq | body | string | 아니오 | `always`, `hourly`, `daily`, `weekly`, `monthly`, `yearly`, `never` | | -| content.meta.seo.og | body | array | 아니오 | — | | -| content.meta.seo.structured_data | body | array | 아니오 | — | | -| content.meta.seo.page_type | body | string | 아니오 | — | | -| content.meta.seo.toggle_setting | body | string | 아니오 | — | | -| content.meta.seo.vars | body | array | 아니오 | — | | -| content.meta.seo.extensions | body | array | 아니오 | — | | -| content.modals | body | array | 아니오 | — | | -| content.state | body | array | 아니오 | — | | -| content.init_actions | body | array | 아니오 | — | | -| content.defines | body | array | 아니오 | — | | -| content.init_state | body | array | 아니오 | — | | -| content.initLocal | body | array | 아니오 | — | | -| content.initGlobal | body | array | 아니오 | — | | -| content.initIsolated | body | array | 아니오 | — | | -| content.global_state | body | array | 아니오 | — | | -| content.errorHandling | body | array | 아니오 | — | | -| content.actions | body | array | 아니오 | — | | -| content.pageConfig | body | array | 아니오 | — | | -| content.schema | body | array | 아니오 | — | | -| content.routes | body | array | 아니오 | — | | -| content.computed | body | array | 아니오 | — | | -| content.named_actions | body | array | 아니오 | — | | -| content.permissions | body | string | 아니오 | — | | -| content.globalHeaders | body | array | 아니오 | — | | -| content.transition_overlay | body | string | 아니오 | — | | -| content.transition_overlay.enabled | body | boolean | 아니오 | — | | -| content.transition_overlay.style | body | string | 아니오 | — | | -| content.transition_overlay.target | body | string | 아니오 | max 100 | | -| content.transition_overlay.fallback_target | body | string | 아니오 | max 100 | | -| content.transition_overlay.skeleton | body | array | 아니오 | — | | -| content.transition_overlay.skeleton.component | body | string | 아니오 | max 100 | | -| content.transition_overlay.skeleton.animation | body | string | 아니오 | — | | -| content.transition_overlay.skeleton.iteration_count | body | integer | 아니오 | min 1, max 50 | | -| content.transition_overlay.spinner | body | array | 아니오 | — | | -| content.transition_overlay.spinner.component | body | string | 아니오 | max 100 | | -| content.transition_overlay.spinner.text | body | string | 아니오 | max 200 | | -| content.transition_overlay.wait_for | body | array | 아니오 | — | | -| content.endpoint | body | string | 아니오 | — | | -| content.components | body | array | 예 | — | | +| content.extends | body | string | 아니오 | — | 상속할 베이스 레이아웃 이름 | +| content.slots | body | array | 아니오 | — | 슬롯별 삽입 콘텐츠 맵 (베이스 레이아웃의 slot 위치에 주입) | +| content.data_sources | body | array | 아니오 | — | API 데이터 소스 정의 배열 (id/endpoint/method) | +| content.metadata | body | array | 아니오 | — | 레거시 메타데이터 맵 (`metadata` 키를 쓰던 구버전 레이아웃 호환) | +| content.meta | body | array | 아니오 | — | 레이아웃 메타 정보 객체 (title/description/auth_required/seo 등 하위 키) | +| content.meta.title | body | string | 아니오 | — | 제목 | +| content.meta.description | body | string | 아니오 | — | 설명 | +| content.meta.keywords | body | string | 아니오 | — | 검색 키워드 메타태그 값 (쉼표 구분 문자열) | +| content.meta.auth_required | body | boolean | 아니오 | — | 로그인 필수 화면 여부 (미인증 접근 시 로그인 리다이렉트) | +| content.meta.is_base | body | boolean | 아니오 | — | base 여부 | +| content.meta.guest_only | body | boolean | 아니오 | — | 비로그인 전용 화면 여부 (로그인 상태면 리다이렉트, SEO/sitemap 제외 판정에도 사용) | +| content.meta.is_error_layout | body | boolean | 아니오 | — | error layout 여부 | +| content.meta.error_code | body | integer | 아니오 | — | 에러 레이아웃일 때 담당하는 HTTP 상태 코드 (예: 404, 500) | +| content.meta.seo | body | array | 아니오 | — | SEO 메타데이터 객체 (봇 HTML 렌더/sitemap 생성기가 소비하는 하위 키 묶음) | +| content.meta.seo.enabled | body | boolean | 아니오 | — | 사용 여부 | +| content.meta.seo.data_sources | body | array | 아니오 | — | API 데이터 소스 정의 배열 (id/endpoint/method) | +| content.meta.seo.priority | body | number | 아니오 | min 0, max 1 | 우선순위 (작을수록 우선) | +| content.meta.seo.changefreq | body | string | 아니오 | `always`, `hourly`, `daily`, `weekly`, `monthly`, `yearly`, `never` | sitemap changefreq 값 (daily/weekly/monthly 등) | +| content.meta.seo.og | body | array | 아니오 | — | Open Graph 메타태그 정의 맵 | +| content.meta.seo.structured_data | body | array | 아니오 | — | JSON-LD 구조화 데이터 정의 | +| content.meta.seo.page_type | body | string | 아니오 | — | SEO 템플릿 키를 결정하는 페이지 유형 | +| content.meta.seo.toggle_setting | body | string | 아니오 | — | SEO 활성화 여부를 결정하는 설정 경로 | +| content.meta.seo.vars | body | array | 아니오 | — | SEO 변수 선언 맵 (데이터 소스 값의 표현식 매핑) | +| content.meta.seo.extensions | body | array | 아니오 | — | 이 화면의 SEO 기본값을 제공하는 확장 목록 (`[{type, id}]` — 모듈/플러그인 declaration 적용 대상) | +| content.modals | body | array | 아니오 | — | 모달 컴포넌트 정의 배열 | +| content.state | body | array | 아니오 | — | 레이아웃 레벨 초기 상태 정의 맵 | +| content.init_actions | body | array | 아니오 | — | 레이아웃 로드 시 실행할 초기화 액션 배열 | +| content.defines | body | array | 아니오 | — | 재사용 컴포넌트 정의 맵 (컴포넌트 트리에서 참조) | +| content.init_state | body | array | 아니오 | — | 초기 상태 값 맵 | +| content.initLocal | body | array | 아니오 | — | API 응답을 `_local` 상태에 자동 복사할 키/경로 | +| content.initGlobal | body | array | 아니오 | — | API 응답을 `_global` 상태에 자동 복사할 키/경로 | +| content.initIsolated | body | array | 아니오 | — | API 응답을 `_isolated` 상태에 자동 복사할 키/경로 | +| content.global_state | body | array | 아니오 | — | 전역 상태 초기값 맵 | +| content.errorHandling | body | array | 아니오 | — | 레이아웃 레벨 에러 핸들링 설정 (에러 코드별 핸들러 매핑) | +| content.actions | body | array | 아니오 | — | 레이아웃 레벨 재사용 액션 정의 (컴포넌트가 id 로 참조) | +| content.pageConfig | body | array | 아니오 | — | 페이지 단위 설정 객체 | +| content.schema | body | array | 아니오 | — | 플러그인 설정 레이아웃 전용 — 설정 항목 스키마 정의 | +| content.routes | body | array | 아니오 | — | 레이아웃이 선언하는 라우트 정의 배열 | +| content.computed | body | array | 아니오 | — | 계산된 값 정의 맵 (키 → 표현식) | +| content.named_actions | body | array | 아니오 | — | 이름으로 호출 가능한 재사용 액션 정의 맵 | +| content.permissions | body | string | 아니오 | — | 이 레이아웃 접근에 필요한 권한 (권한 식별자 배열 또는 OR/AND 구조) | +| content.globalHeaders | body | array | 아니오 | — | 전역 HTTP 헤더 규칙 배열 (pattern + headers) | +| content.transition_overlay | body | string | 아니오 | — | 페이지 전환 오버레이 설정 (스켈레톤/스피너) | +| content.transition_overlay.enabled | body | boolean | 아니오 | — | 사용 여부 | +| content.transition_overlay.style | body | string | 아니오 | — | 전환 오버레이 표시 방식 (`opaque`, `blur`, `fade`, `skeleton`, `spinner`) | +| content.transition_overlay.target | body | string | 아니오 | max 100 | 오버레이를 씌울 대상 컴포넌트 id | +| content.transition_overlay.fallback_target | body | string | 아니오 | max 100 | target 을 찾지 못했을 때 대체로 씌울 컴포넌트 id | +| content.transition_overlay.skeleton | body | array | 아니오 | — | 스켈레톤 오버레이 설정 객체 (component/animation/iteration_count) | +| content.transition_overlay.skeleton.component | body | string | 아니오 | max 100 | 스켈레톤으로 반복 렌더할 컴포넌트 이름 (skeleton 지정 시 필수) | +| content.transition_overlay.skeleton.animation | body | string | 아니오 | — | 스켈레톤 애니메이션 (`pulse`, `wave`, `none`) | +| content.transition_overlay.skeleton.iteration_count | body | integer | 아니오 | min 1, max 50 | 스켈레톤 반복 렌더 개수 (1~50) | +| content.transition_overlay.spinner | body | array | 아니오 | — | 스피너 오버레이 설정 객체 (component/text) | +| content.transition_overlay.spinner.component | body | string | 아니오 | max 100 | 스피너로 렌더할 컴포넌트 이름 | +| content.transition_overlay.spinner.text | body | string | 아니오 | max 200 | 스피너와 함께 표시할 안내 문구 | +| content.transition_overlay.wait_for | body | array | 아니오 | — | 오버레이를 유지할 데이터소스 id 배열 (progressive/blocking 데이터소스 fetch 완료까지 표시) | +| content.endpoint | body | string | 아니오 | — | 이 화면이 주로 조회하는 데이터 API 경로 (레거시 최상위 필드 — 신규 레이아웃은 data_sources 사용) | +| content.components | body | array | 예 | — | 컴포넌트 트리 배열 (레이아웃이 렌더할 컴포넌트 정의) | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`core.layout.update_content_validation_rules`). @@ -95184,11 +96382,59 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (수정된 LayoutResource)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `12` | 레이아웃 레코드 ID | +| template_id | integer | `1` | 소속 템플릿 ID | +| name | string | `main` | 레이아웃 이름 | +| description | string | `메인 화면` | 레이아웃 설명 (`content.meta.description`) | +| endpoint | string\|null | `null` | 레이아웃이 선언한 기본 엔드포인트 | +| route_path | string\|null | `null` | 라우트 path (저장 응답에서는 매핑 미주입 → null) | +| components | array | `[…]` | 저장된 컴포넌트 트리 | +| data_sources | array | `[…]` | 저장된 데이터소스 정의 | +| metadata | object | `{}` | 레이아웃 메타데이터 | +| content | string | `"{\n \"layout_name\": \"main\"\n}"` | 저장된 content JSON 문자열 | +| size | integer | `32` | content JSON 바이트 크기 | +| size_formatted | string | `32 B` | 사람이 읽는 크기 표기 | +| has_update | boolean | `false` | 템플릿 파일 대비 갱신 필요 여부 (현재 항상 false) | +| lock_version | integer | `1` | 증가된 낙관적 잠금 버전 (다음 저장 시 `expected_lock_version` 으로 전달) | +| current_version | integer\|null | `3` | 이번 저장으로 기록된 최신 버전 번호 | +| created_at | string | `2026-07-14T10:00:00+09:00` | 생성 일시 | +| updated_at | string | `2026-07-14T11:00:00+09:00` | 최종 수정 일시 | +| abilities | object | `{"can_update":true}` | 현재 사용자의 수행 가능 작업 맵 | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "id": 12, + "template_id": 1, + "name": "main", + "description": "메인 화면", + "endpoint": null, + "route_path": null, + "components": [], + "data_sources": [], + "metadata": {}, + "content": "{\n \"layout_name\": \"main\"\n}", + "size": 32, + "size_formatted": "32 B", + "has_update": false, + "lock_version": 1, + "current_version": 3, + "created_at": "2026-07-14T10:00:00+09:00", + "updated_at": "2026-07-14T11:00:00+09:00", + "abilities": { + "can_update": true + } + } +} +``` **에러 응답** @@ -95196,8 +96442,10 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | 대상 템플릿이 존재하지 않는 경우 | +| 409 | Conflict | 낙관적 잠금 충돌 — 다른 사용자가 먼저 수정 (`errors`: `error=concurrent_modification`, `current_version`, `your_version`, `resource`) | +| 422 | Unprocessable Entity | content 구조 검증 위반 (레이아웃 구조/슬롯/데이터소스 병합/엔드포인트 화이트리스트/외부 URL 차단/권한 구조 규칙) | +| 500 | Server Error | 저장 트랜잭션 실패 | @@ -95236,11 +96484,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| token | string | `9f2c1a4e8b7d3c5f` | 미리보기 토큰 (임시 저장된 레이아웃 content 를 식별) | +| preview_url | string | `/preview/9f2c1a4e8b7d3c5f` | 미리보기 페이지 경로 (새 탭으로 열어 확인) | +| expires_at | string | `2026-07-14T11:00:00+09:00` | 미리보기 만료 일시 (ISO 8601) | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "token": "9f2c1a4e8b7d3c5f", + "preview_url": "/preview/9f2c1a4e8b7d3c5f", + "expires_at": "2026-07-14T11:00:00+09:00" + } +} +``` **에러 응답** @@ -95248,8 +96512,9 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 대상 템플릿이 존재하지 않는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 미리보기 생성 실패 | @@ -95283,11 +96548,49 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_목록 응답: `data` 는 버전 이력 배열입니다 (페이지네이션 없음. 목록에는 `full_content` 미포함)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `31` | 버전 레코드 ID (복원 시 path 파라미터 `versionId` 로 사용) | +| layout_id | integer | `12` | 소속 레이아웃 ID | +| version | integer | `3` | 버전 번호 | +| endpoint | string\|null | `null` | 그 버전 content 의 `endpoint` 값 | +| components | array | `[…]` | 그 버전의 컴포넌트 트리 | +| data_sources | array | `[…]` | 그 버전의 데이터소스 정의 | +| metadata | object | `{}` | 그 버전의 메타데이터 | +| changes_summary | object | `{"added_count":5,"removed_count":2,"char_diff":180}` | 직전 버전 대비 변경 요약 (added_count, removed_count, char_diff) | +| created_by_name | string\|null | `관리자` | 저장자 이름 (탈퇴 사용자/관계 미로딩 시 null — 사용자 ID 는 미노출) | +| created_at | string | `2026-07-14T11:00:00+09:00` | 버전 저장 일시 | +| updated_at | string | `2026-07-14T11:00:00+09:00` | 레코드 갱신 일시 | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": [ + { + "id": 31, + "layout_id": 12, + "version": 3, + "endpoint": null, + "components": [], + "data_sources": [], + "metadata": {}, + "changes_summary": { + "added_count": 5, + "removed_count": 2, + "char_diff": 180 + }, + "created_by_name": "관리자", + "created_at": "2026-07-14T11:00:00+09:00", + "updated_at": "2026-07-14T11:00:00+09:00" + } + ] +} +``` **에러 응답** @@ -95295,8 +96598,7 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 대상 템플릿 또는 레이아웃이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -95329,11 +96631,47 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (복원 결과로 새로 기록된 버전)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `33` | 복원으로 새로 생성된 버전 레코드 ID | +| layout_id | integer | `12` | 소속 레이아웃 ID | +| version | integer | `4` | 새 버전 번호 (복원도 새 버전으로 기록) | +| endpoint | string\|null | `null` | 복원된 content 의 `endpoint` 값 | +| components | array | `[…]` | 복원된 컴포넌트 트리 | +| data_sources | array | `[…]` | 복원된 데이터소스 정의 | +| metadata | object | `{}` | 복원된 메타데이터 | +| changes_summary | object | `{"added_count":2,"removed_count":5,"char_diff":-180}` | 직전 버전 대비 변경 요약 | +| created_by_name | string\|null | `관리자` | 복원 수행자 이름 | +| created_at | string | `2026-07-14T12:00:00+09:00` | 복원 일시 | +| updated_at | string | `2026-07-14T12:00:00+09:00` | 레코드 갱신 일시 | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "id": 33, + "layout_id": 12, + "version": 4, + "endpoint": null, + "components": [], + "data_sources": [], + "metadata": {}, + "changes_summary": { + "added_count": 2, + "removed_count": 5, + "char_diff": -180 + }, + "created_by_name": "관리자", + "created_at": "2026-07-14T12:00:00+09:00", + "updated_at": "2026-07-14T12:00:00+09:00" + } +} +``` **에러 응답** @@ -95341,8 +96679,9 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 대상 템플릿·레이아웃·버전이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 복원 트랜잭션 실패 | @@ -95374,11 +96713,53 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (LayoutVersionResource + `full_content` — 단건 조회에서만 원본 전체 노출)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `31` | 버전 레코드 ID | +| layout_id | integer | `12` | 소속 레이아웃 ID | +| version | integer | `3` | 버전 번호 (path 파라미터 `version` 과 일치) | +| endpoint | string\|null | `null` | 그 버전 content 의 `endpoint` 값 | +| components | array | `[…]` | 그 버전의 컴포넌트 트리 | +| data_sources | array | `[…]` | 그 버전의 데이터소스 정의 | +| metadata | object | `{}` | 그 버전의 메타데이터 | +| changes_summary | object | `{"added_count":5,"removed_count":2,"char_diff":180}` | 직전 버전 대비 변경 요약 | +| created_by_name | string\|null | `관리자` | 저장자 이름 (탈퇴 사용자/관계 미로딩 시 null) | +| created_at | string | `2026-07-14T11:00:00+09:00` | 버전 저장 일시 | +| updated_at | string | `2026-07-14T11:00:00+09:00` | 레코드 갱신 일시 | +| full_content | object | `{"layout_name":"main","components":[…]}` | 그 버전의 content 원본 전체 (slots/extends 등 분해되지 않는 키 포함 — 버전 비교 diff 용. 목록 응답에는 미포함) | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "id": 31, + "layout_id": 12, + "version": 3, + "endpoint": null, + "components": [], + "data_sources": [], + "metadata": {}, + "changes_summary": { + "added_count": 5, + "removed_count": 2, + "char_diff": 180 + }, + "created_by_name": "관리자", + "created_at": "2026-07-14T11:00:00+09:00", + "updated_at": "2026-07-14T11:00:00+09:00", + "full_content": { + "version": "1.0", + "layout_name": "main", + "components": [] + } + } +} +``` **에러 응답** @@ -95386,7 +96767,7 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 대상 템플릿·레이아웃·버전이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -95417,11 +96798,30 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| extension_directory | object\|null | `{"path":"templates/sirsoft-basic", …}` | 제거 시 삭제될 템플릿 설치 디렉토리 정보 (디렉토리가 없으면 null) | +| extension_directory.path | string | `templates/sirsoft-basic` | 삭제 대상 디렉토리 경로 (프로젝트 루트 기준) | +| extension_directory.size_bytes | integer | `5242880` | 디렉토리 전체 용량 (바이트) | +| extension_directory.size_formatted | string | `5.0 MB` | 사람이 읽는 용량 표기 | **응답 예시** - +```json +{ + "success": true, + "message": "템플릿 정보를 성공적으로 가져왔습니다.", + "data": { + "extension_directory": { + "path": "templates/sirsoft-basic", + "size_bytes": 5242880, + "size_formatted": "5.0 MB" + } + } +} +``` **에러 응답** @@ -95429,8 +96829,9 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 해당 식별자의 템플릿이 없는 경우 (`템플릿을 찾을 수 없습니다.`) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 삭제 정보 조회 실패 | @@ -95470,11 +96871,73 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (업데이트 후 TemplateResource)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| identifier | string | `sirsoft-basic` | 템플릿 식별자 | +| vendor | string | `sirsoft` | 벤더/개발자명 | +| name | string | `Basic` | 템플릿 이름 (현재 로케일 값) | +| version | string | `1.0.1` | 업데이트 후 버전 | +| type | string | `user` | 템플릿 타입 (`admin` \| `user`) | +| status | string | `active` | 업데이트 후 상태 (업데이트 전 상태로 복원됨) | +| description | string | `그누보드7 기본 사용자 템플릿` | 템플릿 설명 | +| dependencies | object | `{"modules":[],"plugins":[]}` | 의존 확장 요약 | +| dependencies_met | boolean | `true` | 의존 확장 충족 여부 | +| update_available | boolean | `false` | 업데이트 가능 여부 (업데이트 직후 false) | +| update_source | string\|null | `github` | 업데이트를 가져온 출처 (`github` \| `bundled`) | +| latest_version | string\|null | `1.0.1` | 감지된 최신 배포 버전 | +| file_version | string\|null | `1.0.1` | 설치된 파일의 manifest 버전 | +| github_url | string\|null | `https://github.com/gnuboard/g7-template-basic` | GitHub 저장소 URL | +| github_changelog_url | string\|null | `https://github.com/gnuboard/g7-template-basic/blob/main/CHANGELOG.md` | GitHub 변경 내역 URL | +| is_pending | boolean | `false` | `_pending` 대기 여부 | +| is_bundled | boolean | `true` | 번들 확장 여부 | +| deactivated_reason | string\|null | `null` | 비활성화 사유 | +| deactivated_at | string\|null | `null` | 비활성화 일시 | +| incompatible_required_version | string\|null | `null` | 코어 버전 미충족 시 요구 버전 | +| abilities | object | `{"can_install":true,"can_activate":true,"can_uninstall":true,"can_edit_layouts":true}` | 현재 사용자의 수행 가능 작업 맵 | + +_업데이트할 내용이 없거나 템플릿 정보를 다시 읽지 못한 경우에는 리소스 대신 결과 요약(`success`, `from_version`, `to_version`, `message`)이 `data` 로 반환됩니다._ **응답 예시** - +```json +{ + "success": true, + "message": "템플릿 \"sirsoft-basic\"이(가) 1.0.1 버전으로 업데이트되었습니다.", + "data": { + "identifier": "sirsoft-basic", + "vendor": "sirsoft", + "name": "Basic", + "version": "1.0.1", + "type": "user", + "status": "active", + "description": "그누보드7 기본 사용자 템플릿", + "dependencies": { + "modules": [], + "plugins": [] + }, + "dependencies_met": true, + "update_available": false, + "update_source": "github", + "latest_version": "1.0.1", + "file_version": "1.0.1", + "github_url": "https://github.com/gnuboard/g7-template-basic", + "github_changelog_url": "https://github.com/gnuboard/g7-template-basic/blob/main/CHANGELOG.md", + "is_pending": false, + "is_bundled": true, + "deactivated_reason": null, + "deactivated_at": null, + "incompatible_required_version": null, + "abilities": { + "can_install": true, + "can_activate": true, + "can_uninstall": true, + "can_edit_layouts": true + } + } +} +``` **에러 응답** @@ -95483,7 +96946,8 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 위반 또는 업데이트 실패 (미설치, 다운그레이드 차단, 다운로드 실패, 코어 버전 비호환 등 — `errors.template_name` 에 번역된 사유) | +| 500 | Server Error | 업데이트 처리 중 예기치 못한 오류 | @@ -95554,20 +97018,27 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투를 반환하지 않습니다. 본문은 요청한 정적 파일의 원본 바이트이며, 파일의 MIME 타입(`Content-Type`), `ETag`, 장기 캐싱 헤더(`Cache-Control` max-age 31536000)가 함께 반환됩니다. 실패 시에만 JSON 에러 봉투를 반환합니다._ **응답 예시** - +```http +HTTP/1.1 200 +Content-Type: text/css; charset=UTF-8 +Cache-Control: public, max-age=31536000 +ETag: "9f2c1a4e8b7d3c5f" + +(정적 자산 파일의 원본 바이트) +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 허용되지 않은 파일 유형을 요청한 경우 (`허용되지 않은 파일 타입입니다.`) | +| 404 | Not Found | 템플릿이 없거나 요청한 파일이 존재하지 않는 경우 | +| 422 | Unprocessable Entity | 경로 파라미터가 보안 검증을 위반한 경우 (디렉토리 트래버설 등) | +| 500 | Server Error | 파일 조회 중 알 수 없는 오류 (`알 수 없는 오류가 발생했습니다.`) | @@ -95648,7 +97119,21 @@ Accept: application/json **응답 필드** (`data` 내부) - + + +_이 엔드포인트는 `success`/`message`/`data` 봉투를 사용하지 않습니다. 본문은 템플릿 `components.json` 파일의 내용을 그대로 반환한 JSON 이며 1시간 캐싱 헤더가 붙습니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| $schema | string | `https://json-schema.org/draft/2020-12/schema` | components.json 이 따르는 JSON Schema URI | +| templateId | string | `sirsoft-admin_basic` | 이 컴포넌트 정의가 속한 템플릿 식별자 | +| version | string | `1.0.0` | 컴포넌트 정의 버전 | +| components | object | `{"basic":[…],"composite":[…]}` | 컴포넌트 정의 묶음 (`basic`: HTML 래핑 기본 컴포넌트, `composite`: 집합 컴포넌트) | +| components.basic[].name | string | `Button` | 컴포넌트 이름 (레이아웃 JSON 의 `name` 값) | +| components.basic[].type | string | `basic` | 컴포넌트 종류 (`basic` \| `composite`) | +| components.basic[].description | string | `HTML button element wrapper` | 컴포넌트 설명 | +| components.basic[].path | string | `src/components/basic/Button.tsx` | 템플릿 내 소스 파일 경로 | +| components.basic[].props | object | `{"variant":{"type":"string", …}}` | 지원 props 정의 맵 (각 항목: type, required, default, description) | **응답 예시** @@ -95696,24 +97181,24 @@ _단건 응답: `data` 객체의 필드._ | --- | --- | --- | --- | | identifier | string | `sirsoft-admin_basic` | 템플릿 고유 식별자 (vendor-name 형식, 예: sirsoft-admin_basic) | | vendor | string | `sirsoft` | 벤더/개발자명 (예: sirsoft) | -| name | object | `{"ko":"Admin Basic","en":"Admin Basic"}` | 대상의 이름/명칭 (다국어 필드는 로케일별 값 객체) | -| version | string | `1.0.4` | 템플릿 버전 (예: 1.0.0) | -| license | string | `MIT` | | -| description | object | `{"ko":"그누보드7 기본 관리자 템플릿","en":"Gnuboard7 default admin te…` | 설명 (다국어 필드는 로케일별 값 객체) | +| name | object | `{"ko":"Admin Basic","en":"Admin Basic"}` | 템플릿 이름 (다국어 JSON) | +| version | string | `1.0.0` | 템플릿 버전 (예: 1.0.0) | +| license | string | `MIT` | 라이선스 식별자 (manifest license) | +| description | object | `{"ko":"그누보드7 기본 관리자 템플릿","en":"Gnuboard7 default admin te…` | 템플릿 설명 (다국어 JSON) | | type | string | `admin` | 템플릿 타입 (admin: 관리자용, user: 사용자용) | | locales | array | `["ko","en"]` | 활성 로케일 코드 배열 | | author | object | `{"name":"sirsoft","email":"contact@sirsoft.com","url":"ht…` | 작성자 사용자 객체 (uuid/name — author 관계 파생) | -| release_date | string | `2026-05-15` | | -| g7_version | string | `>=7.0.6` | | +| release_date | string | `2026-05-15` | 배포일 | +| g7_version | string | `>=7.0.0` | 요구하는 코어 최소 버전 (manifest requires.g7_version) | | dependencies | object | `{"modules":[],"plugins":[]}` | 의존하는 확장 맵 (manifest 파생 — {modules, plugins}) | | assets | object | `{"css":["assets\/css\/main.css","assets\/css\/ui-system.c…` | 프론트엔드 에셋 매니페스트 (manifest 파생 — js/css 진입점·로딩 전략) | -| components | object | `{"basic":["a","button","checkbox","div","form","h1","h2",…` | | -| preview | object | `{"thumbnail":"preview\/thumbnail.png","screenshots":["pre…` | | -| error_config | object | `{"layouts":{"401":"errors\/401","403":"errors\/403","404"…` | | -| github_url | string | `https://github.com/gnuboard/g7-templa…` | GitHub 저장소 URL (manifest 파생) | -| github_changelog_url | string | `https://github.com/gnuboard/g7-templa…` | GitHub 변경 이력(CHANGELOG) URL (manifest 파생) | -| externals | array | `[{"id":"fontawesome","type":"style","url":"https:\/\/cdnj…` | | -| cache_version | integer | `1785848038` | | +| components | object | `{"basic":["a","button","checkbox","div","form","h1","h2",…` | 컴포넌트 트리 (레이아웃이 렌더할 컴포넌트 정의) | +| preview | object | `{"thumbnail":"preview\/thumbnail.png","screenshots":["pre…` | 미리보기 정보 객체 | +| error_config | object | `{"layouts":{"401":"errors\/401","403":"errors\/403","404"…` | 에러 표시 설정 객체 | +| github_url | string | `https://github.com/gnuboard/g7-templa…` | GitHub 저장소 URL | +| github_changelog_url | string | `https://github.com/gnuboard/g7-templa…` | GitHub 변경 내역 URL | +| externals | array | `[{"id":"fontawesome","type":"style","url":"https:\/\/cdnj…` | 외부 의존 라이브러리 목록 (번들에서 제외되고 전역에서 해석) | +| cache_version | integer | `1784000969` | 에셋 캐시 무효화 버전 (번들 URL 파일명에 포함) | **응답 예시** @@ -187824,20 +189309,32 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 `success`/`message`/`data` 봉투를 사용하지 않습니다. 본문은 템플릿 `lang/{locale}.json` 에 활성 모듈의 다국어 데이터를 병합한 JSON 을 그대로 반환하며(1시간 캐싱), 고정 필드 스키마가 없습니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| (번역 키) | string\|object | `{"common":{"save":"저장"}}` | 템플릿 + 활성 모듈이 선언한 번역 키와 번역문 (중첩 객체 허용, 키 집합은 템플릿/설치 모듈 구성에 따라 다름) | **응답 예시** - +```json +{ + "common": { + "save": "저장", + "cancel": "취소" + }, + "sirsoft-board": { + "write": "글쓰기" + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | 템플릿이 없거나, 그 템플릿이 해당 로케일을 지원하지 않거나, 언어 파일이 없는 경우 | +| 500 | Server Error | 언어 파일 JSON 파싱 실패 (`유효하지 않은 JSON 형식입니다.`) 또는 알 수 없는 오류 | @@ -187867,20 +189364,24 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투를 반환하지 않습니다. 본문은 첨부 파일의 원본 바이트이며, 첨부의 MIME 타입(`Content-Type`), `ETag`, 캐싱 헤더(레이아웃 캐시 TTL — 기본 24시간)와 함께 인라인 스트림됩니다. 실패 시에만 JSON 에러 봉투를 반환합니다._ **응답 예시** - +```http +HTTP/1.1 200 +Content-Type: image/png +Cache-Control: public, max-age=86400 +ETag: "9f2c1a4e8b7d3c5f" + +(첨부 이미지 파일의 원본 바이트) +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`core.templates.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | 첨부가 없거나, 그 첨부가 경로의 템플릿 소속이 아니거나, 스토리지에 실제 파일이 없는 경우 (`첨부 파일을 찾을 수 없습니다.`) | @@ -187914,7 +189415,7 @@ _단건 응답: `data` 객체의 필드._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | | version | string | `1.0.0` | 템플릿 버전 (예: 1.0.0) | -| routes | array | `[{"path":"*\/admin","redirect":"\/admin\/dashboard","auth…` | | +| routes | array | `[{"path":"*\/admin","redirect":"\/admin\/dashboard","auth…` | 라우트 정의 목록 | **응답 예시** diff --git a/docs/backend/api/users.md b/docs/backend/api/users.md index 664a6795..eaa18e7e 100644 --- a/docs/backend/api/users.md +++ b/docs/backend/api/users.md @@ -293,11 +293,85 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (생성된 사용자 — `UserResource::toArray()`, 관계 미로드이므로 modules/plugins/menus/roles/permissions/consents 키는 응답에 포함되지 않음)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| uuid | string | `a234c2b1-cde8-437f-b28b-23323be2b98d` | 외부 노출용 UUID (URL/API 식별자, 내부 id 비노출) | +| name | string | `API 문서 샘플 사용자` | 사용자 이름 | +| nickname | string\|null | `null` | 닉네임 | +| email | string | `apidoc-sample-user@example.com` | 이메일 주소 | +| avatar | string\|null | `null` | 프로필 아바타 이미지 URL (미설정 시 null) | +| language | string | `ko` | 사용자 언어 설정 (ko: 한국어, en: English) | +| language_label | string | `한국어` | 언어 코드의 현지화 라벨 (`user.language.{code}` 번역) | +| country | string\|null | `KR` | 국가 코드 (ISO 3166-1 alpha-2) | +| status | string | `active` | 계정 상태 (UserStatus Enum: active/inactive/blocked/withdrawn) | +| status_label | string | `활성` | 상태의 사람이 읽는 라벨 (UserStatus::label()) | +| status_variant | string | `success` | 상태 표시 색상/스타일 변형 키 (UserStatus::variant() — UI 배지용) | +| is_admin | boolean | `false` | 관리자 역할 보유 여부 (User::isAdmin()) | +| homepage | string\|null | `null` | 홈페이지 URL | +| mobile | string\|null | `null` | 휴대폰 번호 | +| phone | string\|null | `null` | 전화번호 | +| zipcode | string\|null | `null` | 우편번호 | +| address | string\|null | `null` | 기본 주소 | +| address_detail | string\|null | `null` | 상세 주소 | +| signature | string\|null | `null` | 서명 | +| bio | string\|null | `null` | 자기소개 | +| last_login_at | string\|null | `null` | 마지막 로그인 일시 (신규 생성 시 null) | +| email_verified_at | string\|null | `null` | 이메일 인증 일시 (미인증 시 null) | +| timezone | string\|null | `Asia/Seoul` | 사용자 시간대 | +| created_at | string | `2026-07-08 10:41:24` | 생성 일시 | +| updated_at | string | `2026-07-08 10:41:24` | 최종 수정 일시 | +| is_owner | boolean | `false` | 현재 인증 사용자가 이 리소스의 소유자인지 여부 (BaseApiResource 표준 메타) | +| abilities | object | `{"can_read":true,"can_create":true,"can_update":true,"can_delete":true,"can_assign_roles":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (슈퍼관리자 대상은 can_delete=false 강제) | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "사용자가 성공적으로 생성되었습니다.", + "data": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "예시 이름", + "nickname": null, + "email": "user@example.com", + "avatar": null, + "language": "ko", + "language_label": "한국어", + "country": "KR", + "status": "active", + "status_label": "활성", + "status_variant": "success", + "is_admin": false, + "homepage": null, + "mobile": "010-1234-5678", + "phone": null, + "zipcode": null, + "address": null, + "address_detail": null, + "signature": null, + "bio": null, + "last_login_at": null, + "email_verified_at": null, + "timezone": "Asia/Seoul", + "created_at": "2026-07-08 10:41:24", + "updated_at": "2026-07-08 10:41:24", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + } +} +``` **에러 응답** @@ -306,6 +380,7 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.users.read`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 사용자 생성 중 예외 발생 (`user.create_failed`, `errors.error` 에 예외 메시지) | @@ -348,11 +423,29 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (UserService::bulkUpdateStatus() 반환값)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| updated_count | integer | `3` | 실제로 상태가 변경된 사용자 수 (요청자 본인 제외 규칙 적용 후 갱신된 행 수) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": ":count명의 사용자 상태가 변경되었습니다.", + "data": { + "updated_count": 3 + } +} +``` + +> `user.bulk_status_updated` 메시지는 `:count` 치환자를 갖지만 컨트롤러가 messageParams 를 넘기지 않으므로 응답 message 에는 치환되지 않은 원문이 그대로 담긴다. 실제 변경 건수는 `data.updated_count` 로 판단한다. **에러 응답** @@ -360,7 +453,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.users.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지 — 예: 요청자 본인 UUID 포함 시 `ExcludeCurrentUser` 위반) | +| 500 | Internal Server Error | 일괄 변경 중 예외 발생 (`user.bulk_update_status_failed`) | @@ -401,11 +495,29 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| available | boolean | `true` | 해당 이메일의 사용 가능 여부 (true: 사용 가능, false: 이미 사용 중). `exclude_user_id` 로 지정한 사용자가 소유한 이메일이면 true 로 판정 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "사용 가능한 이메일입니다.", + "data": { + "available": true + } +} +``` + +> 이미 사용 중인 이메일이면 동일한 200 응답에 `message` 가 `이미 사용 중인 이메일입니다.` (`user.email_unavailable`), `data.available` 이 `false` 로 반환된다. **에러 응답** @@ -413,7 +525,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.users.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지 — 이메일 형식/필수, exclude_user_id UUID 형식·존재 여부) | +| 500 | Internal Server Error | 중복 확인 중 예외 발생 (`user.email_check_failed`) | @@ -695,11 +808,87 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_목록 응답: `data[]` 배열 항목의 필드 (페이지네이션 없는 단순 컬렉션 — `UserResource::collection()`, 관계 미로드이므로 modules/plugins/menus/roles/permissions/consents 키는 포함되지 않음). 일치하는 사용자가 없으면 `data` 는 빈 배열._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| uuid | string | `a234c2b1-cde8-437f-b28b-23323be2b98d` | 외부 노출용 UUID (URL/API 식별자, 내부 id 비노출) | +| name | string | `API 문서 샘플 사용자` | 사용자 이름 | +| nickname | string\|null | `null` | 닉네임 | +| email | string | `apidoc-sample-user@example.com` | 이메일 주소 | +| avatar | string\|null | `null` | 프로필 아바타 이미지 URL (미설정 시 null) | +| language | string | `ko` | 사용자 언어 설정 (ko: 한국어, en: English) | +| language_label | string | `한국어` | 언어 코드의 현지화 라벨 (`user.language.{code}` 번역) | +| country | string\|null | `KR` | 국가 코드 (ISO 3166-1 alpha-2) | +| status | string | `active` | 계정 상태 (UserStatus Enum: active/inactive/blocked/withdrawn) | +| status_label | string | `활성` | 상태의 사람이 읽는 라벨 (UserStatus::label()) | +| status_variant | string | `success` | 상태 표시 색상/스타일 변형 키 (UserStatus::variant() — UI 배지용) | +| is_admin | boolean | `true` | 관리자 역할 보유 여부 (User::isAdmin()) | +| homepage | string\|null | `null` | 홈페이지 URL | +| mobile | string\|null | `null` | 휴대폰 번호 | +| phone | string\|null | `null` | 전화번호 | +| zipcode | string\|null | `null` | 우편번호 | +| address | string\|null | `null` | 기본 주소 | +| address_detail | string\|null | `null` | 상세 주소 | +| signature | string\|null | `null` | 서명 | +| bio | string\|null | `null` | 자기소개 | +| last_login_at | string\|null | `2026-07-07 10:41:24` | 마지막 로그인 일시 (미로그인 시 null) | +| email_verified_at | string\|null | `2026-07-08 10:41:24` | 이메일 인증 일시 (미인증 시 null) | +| timezone | string\|null | `Asia/Seoul` | 사용자 시간대 | +| created_at | string | `2026-07-08 10:41:24` | 생성 일시 | +| updated_at | string | `2026-07-08 10:41:24` | 최종 수정 일시 | +| is_owner | boolean | `false` | 현재 인증 사용자가 이 리소스의 소유자인지 여부 (BaseApiResource 표준 메타) | +| abilities | object | `{"can_read":true,"can_create":true,"can_update":true,"can_delete":true,"can_assign_roles":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "사용자 검색을 성공적으로 완료했습니다.", + "data": [ + { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "nickname": null, + "email": "apidoc-sample-user@example.com", + "avatar": null, + "language": "ko", + "language_label": "한국어", + "country": "KR", + "status": "active", + "status_label": "활성", + "status_variant": "success", + "is_admin": true, + "homepage": null, + "mobile": null, + "phone": null, + "zipcode": null, + "address": null, + "address_detail": null, + "signature": null, + "bio": null, + "last_login_at": "2026-07-07 10:41:24", + "email_verified_at": "2026-07-08 10:41:24", + "timezone": "Asia/Seoul", + "created_at": "2026-07-08 10:41:24", + "updated_at": "2026-07-08 10:41:24", + "is_owner": true, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + } + ] +} +``` **에러 응답** @@ -707,7 +896,8 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.users.read`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지 — `keyword`/`uuid` 를 모두 생략한 경우 포함) | +| 500 | Internal Server Error | 검색 중 예외 발생 (`user.search_failed`) | @@ -809,7 +999,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** @@ -1151,11 +1341,85 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (수정된 사용자 — `UserResource::toArray()`, 관계 미로드이므로 modules/plugins/menus/roles/permissions/consents 키는 응답에 포함되지 않음)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| uuid | string | `a234c2b1-cde8-437f-b28b-23323be2b98d` | 외부 노출용 UUID (URL/API 식별자, 내부 id 비노출) | +| name | string | `API 문서 샘플 사용자` | 사용자 이름 | +| nickname | string\|null | `null` | 닉네임 | +| email | string | `apidoc-sample-user@example.com` | 이메일 주소 | +| avatar | string\|null | `null` | 프로필 아바타 이미지 URL (미설정 시 null) | +| language | string | `ko` | 사용자 언어 설정 (ko: 한국어, en: English) | +| language_label | string | `한국어` | 언어 코드의 현지화 라벨 (`user.language.{code}` 번역) | +| country | string\|null | `KR` | 국가 코드 (ISO 3166-1 alpha-2) | +| status | string | `active` | 계정 상태 (UserStatus Enum: active/inactive/blocked/withdrawn) | +| status_label | string | `활성` | 상태의 사람이 읽는 라벨 (UserStatus::label()) | +| status_variant | string | `success` | 상태 표시 색상/스타일 변형 키 (UserStatus::variant() — UI 배지용) | +| is_admin | boolean | `true` | 관리자 역할 보유 여부 (User::isAdmin()) | +| homepage | string\|null | `https://example.com` | 홈페이지 URL | +| mobile | string\|null | `010-1234-5678` | 휴대폰 번호 | +| phone | string\|null | `null` | 전화번호 | +| zipcode | string\|null | `null` | 우편번호 | +| address | string\|null | `null` | 기본 주소 | +| address_detail | string\|null | `null` | 상세 주소 | +| signature | string\|null | `null` | 서명 | +| bio | string\|null | `null` | 자기소개 | +| last_login_at | string\|null | `2026-07-07 10:41:24` | 마지막 로그인 일시 (미로그인 시 null) | +| email_verified_at | string\|null | `2026-07-08 10:41:24` | 이메일 인증 일시 (미인증 시 null) | +| timezone | string\|null | `Asia/Seoul` | 사용자 시간대 | +| created_at | string | `2026-07-08 10:41:24` | 생성 일시 | +| updated_at | string | `2026-07-08 11:02:07` | 최종 수정 일시 | +| is_owner | boolean | `false` | 현재 인증 사용자가 이 리소스의 소유자인지 여부 (BaseApiResource 표준 메타) | +| abilities | object | `{"can_read":true,"can_create":true,"can_update":true,"can_delete":true,"can_assign_roles":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (슈퍼관리자 대상은 can_delete=false 강제) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "사용자 정보가 성공적으로 업데이트되었습니다.", + "data": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "예시 이름", + "nickname": null, + "email": "user@example.com", + "avatar": null, + "language": "ko", + "language_label": "한국어", + "country": "KR", + "status": "active", + "status_label": "활성", + "status_variant": "success", + "is_admin": false, + "homepage": "https://example.com", + "mobile": "010-1234-5678", + "phone": null, + "zipcode": null, + "address": null, + "address_detail": null, + "signature": null, + "bio": null, + "last_login_at": null, + "email_verified_at": null, + "timezone": "Asia/Seoul", + "created_at": "2026-07-08 10:41:24", + "updated_at": "2026-07-08 11:02:07", + "is_owner": false, + "abilities": { + "can_read": true, + "can_create": true, + "can_update": true, + "can_delete": true, + "can_assign_roles": true + } + } +} +``` **에러 응답** @@ -1164,7 +1428,8 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`core.users.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지 — 마지막 관리자 본인의 admin 역할 제거 시도 시 `user.last_admin_role_cannot_remove` 포함) | +| 500 | Internal Server Error | 수정 중 예외 발생 (`user.update_failed`, `errors.error` 에 예외 메시지) | diff --git a/docs/backend/api/verify-password.md b/docs/backend/api/verify-password.md index 7828bf6d..740cd234 100644 --- a/docs/backend/api/verify-password.md +++ b/docs/backend/api/verify-password.md @@ -45,18 +45,25 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — 컨트롤러가 `ResponseHelper::success('user.password_verified')` 를 인자 없이 호출하므로 `data` 는 `null` 입니다)._ **응답 예시** - +```json +{ + "success": true, + "message": "비밀번호가 확인되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 401 | 비밀번호 불일치 | 전달한 `password` 가 저장된 해시와 일치하지 않는 경우 (`message`: 비밀번호가 일치하지 않습니다.) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | 비밀번호 확인 실패 | 확인 처리 중 예기치 못한 예외가 발생한 경우 (`message`: 비밀번호 확인에 실패했습니다.) | diff --git a/lang-packs/_bundled/g7-core-ja/CHANGELOG.md b/lang-packs/_bundled/g7-core-ja/CHANGELOG.md index c5235753..e95621d5 100644 --- a/lang-packs/_bundled/g7-core-ja/CHANGELOG.md +++ b/lang-packs/_bundled/g7-core-ja/CHANGELOG.md @@ -11,6 +11,8 @@ - 예약 작업에 등록할 수 없는 Artisan 명령·옵션을 안내하는 문구 일본어 번역 추가 — 왜 등록이 거부됐는지(허용 목록 밖 / 형식 오류 / 허용되지 않은 옵션 / 추가 인자 불가)가 사유별로 표시됩니다. - 언어팩 설치 시 거부 사유를 안내하는 문구 일본어 번역 추가 — 허용되지 않는 파일 형식, 번역 배열이 아닌 PHP 파일(줄 번호 포함), 심볼릭 링크, 그리고 설치 직후 활성화에 필요한 권한 안내입니다. - 환경설정 고급 탭의 목록 상한 항목명(총 건수 집계 상한·페이지 번호 상한) 일본어 번역 추가 — 값이 범위를 벗어났을 때의 안내에 내부 식별자 대신 항목명이 표시됩니다. +- 공통 응답 메시지 일본어 번역 추가 (`common.created`·`common.updated`·`common.deleted`) — 생성·수정·삭제 성공 응답이 일본어 로케일에서 번역문으로 표시됩니다. +- 본인인증 정책 삭제 제한 안내 메시지 일본어 번역 추가 (`identity.errors.cannot_delete_system_policy`) — 시스템이 선언한 정책은 삭제할 수 없다는 안내가 일본어 로케일에서 자연스럽게 표시됩니다. ### Changed diff --git a/lang-packs/_bundled/g7-core-ja/backend/ja/common.php b/lang-packs/_bundled/g7-core-ja/backend/ja/common.php index b98a0f1b..24336875 100644 --- a/lang-packs/_bundled/g7-core-ja/backend/ja/common.php +++ b/lang-packs/_bundled/g7-core-ja/backend/ja/common.php @@ -30,4 +30,7 @@ return [ 'version_format' => ':attributeのフォーマットが正しくありません。(例:1.0.0、1.0.0-beta.1)', 'to_version_required' => '開始バージョンが指定されている場合、終了バージョンも必須です。', ], + 'created' => '作成されました。', + 'updated' => '編集されました。', + 'deleted' => '削除されました。', ]; diff --git a/lang-packs/_bundled/g7-core-ja/backend/ja/identity.php b/lang-packs/_bundled/g7-core-ja/backend/ja/identity.php index ee10002c..3d1546a3 100644 --- a/lang-packs/_bundled/g7-core-ja/backend/ja/identity.php +++ b/lang-packs/_bundled/g7-core-ja/backend/ja/identity.php @@ -29,6 +29,7 @@ return [ 'missing_scope_or_target' => 'ポリシー照会には scope と target の両方が必要です。', 'admin_policy_has_no_default' => '管理者が直接作成したポリシーには宣言デフォルト値がありません。', 'reset_field_failed' => '宣言デフォルト値の復元に失敗しました。フィールドが有効であることを確認してください。', + 'cannot_delete_system_policy' => 'システムが宣言したポリシーは削除できません。管理者が直接作成したポリシーのみ削除できます。', ], 'messages' => [ 'challenge_requested' => '本人認証コードを送信しました。', diff --git a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/CHANGELOG.md b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/CHANGELOG.md index 134cca0b..709a4d84 100644 --- a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/CHANGELOG.md +++ b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/CHANGELOG.md @@ -14,6 +14,7 @@ - 주문 상세의 현금영수증 카드 문구(발급 상태 안내, 발급·발급취소·재발급 버튼, 발급 이력 표) 일본어 번역 추가 — 구매자와 관리자가 보는 현금영수증 영역이 일본어 로케일에서 자연스럽게 표시됩니다. - 환불 계좌 입력 안내와 검증 문구(`validation.order.refund_bank_*`) 일본어 번역 추가 — 주문서와 관리자 취소 화면의 환불 계좌 입력란이 일본어 로케일에서 자연스럽게 표시됩니다. - 현금영수증 자진발급 설정의 국세청 의무발행 업종 안내 링크 문구(`order_settings.cash_receipt.self_issue_mandatory_link`) 일본어 번역 추가 — 자진발급을 켤지 판단할 때 참고하는 국세청 안내 링크가 일본어 로케일에서 자연스럽게 표시됩니다. +- 카테고리 이미지 처리 결과 안내 문구(`category_images.*` — 업로드·삭제·순서 변경·이미지 없음) 일본어 번역 추가 — 관리자가 카테고리 이미지를 등록·삭제·정렬할 때의 안내가 일본어 로케일에서 자연스럽게 표시됩니다. ## [1.0.8] - 2026-08-01 diff --git a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/messages.php b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/messages.php index 903f22e2..2ec657fd 100644 --- a/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/messages.php +++ b/lang-packs/_bundled/g7-module-sirsoft-ecommerce-ja/backend/ja/messages.php @@ -15,12 +15,6 @@ return [ 'status_changed' => 'カテゴリの状態が変更されました。', 'order_updated' => 'カテゴリの順序が変更されました。', ], - 'category_images' => [ - 'uploaded' => 'カテゴリ画像がアップロードされました。', - 'not_found' => 'カテゴリ画像が見つかりません。', - 'deleted' => 'カテゴリ画像が削除されました。', - 'reordered' => 'カテゴリ画像の順序が変更されました。', - ], 'settings' => [ 'fetch_success' => '設定を閲覧しました。', 'fetch_failed' => '設定の取得に失敗しました。', @@ -79,6 +73,12 @@ return [ 'thumbnail_set' => 'メイン画像が設定されました。', 'not_found' => '商品画像が見つかりません。', ], + 'category_images' => [ + 'uploaded' => '画像がアップロードされました。', + 'deleted' => '画像が削除されました。', + 'reordered' => '画像の順序が変更されました。', + 'not_found' => 'カテゴリー画像が見つかりません。', + ], 'brands' => [ 'list_retrieved' => 'ブランド一覧を閲覧しました。', 'retrieved' => 'ブランド情報を閲覧しました。', diff --git a/lang/en/common.php b/lang/en/common.php index e222f65b..79bd3b3b 100644 --- a/lang/en/common.php +++ b/lang/en/common.php @@ -9,6 +9,9 @@ return [ 'unauthorized' => 'Authentication is required.', 'forbidden' => 'Access denied.', 'validation_failed' => 'Input validation failed.', + 'created' => 'Created successfully.', + 'updated' => 'Updated successfully.', + 'deleted' => 'Deleted successfully.', // Button states 'saving' => 'Saving...', diff --git a/lang/en/identity.php b/lang/en/identity.php index 65555f2c..46cbf1d3 100644 --- a/lang/en/identity.php +++ b/lang/en/identity.php @@ -30,6 +30,7 @@ return [ 'missing_scope_or_target' => 'Both scope and target are required to resolve a policy.', 'admin_policy_has_no_default' => 'Admin-created policies do not have a declared default.', 'reset_field_failed' => 'Failed to reset the field to its declared default. Check if the field is valid.', + 'cannot_delete_system_policy' => 'System-declared policies cannot be deleted. Only administrator-created policies can be deleted.', ], 'messages' => [ diff --git a/lang/ko/common.php b/lang/ko/common.php index e6d5f4b2..de27563c 100644 --- a/lang/ko/common.php +++ b/lang/ko/common.php @@ -9,6 +9,9 @@ return [ 'unauthorized' => '인증이 필요합니다.', 'forbidden' => '권한이 없습니다.', 'validation_failed' => '입력 값 검증에 실패했습니다.', + 'created' => '생성되었습니다.', + 'updated' => '수정되었습니다.', + 'deleted' => '삭제되었습니다.', // 버튼 상태 'saving' => '저장 중...', diff --git a/lang/ko/identity.php b/lang/ko/identity.php index 50302998..1f1d8b47 100644 --- a/lang/ko/identity.php +++ b/lang/ko/identity.php @@ -30,6 +30,7 @@ return [ 'missing_scope_or_target' => '정책 조회를 위해 scope 와 target 이 모두 필요합니다.', 'admin_policy_has_no_default' => '관리자가 직접 생성한 정책에는 선언 기본값이 없습니다.', 'reset_field_failed' => '선언 기본값 복원에 실패했습니다. 필드가 유효한지 확인하세요.', + 'cannot_delete_system_policy' => '시스템이 선언한 정책은 삭제할 수 없습니다. 관리자가 직접 생성한 정책만 삭제할 수 있습니다.', ], 'messages' => [ diff --git a/modules/_bundled/gnuboard7-hello_module/docs/api/memos.md b/modules/_bundled/gnuboard7-hello_module/docs/api/memos.md index eb53d213..dcd51587 100644 --- a/modules/_bundled/gnuboard7-hello_module/docs/api/memos.md +++ b/modules/_bundled/gnuboard7-hello_module/docs/api/memos.md @@ -337,13 +337,47 @@ HTTP/1.1 200 **응답 예시** - +```json +{ + "success": true, + "message": "메모를 조회했습니다.", + "data": { + "data": [ + { + "id": 1, + "uuid": "9f1c0b4e-3a2d-4c8e-9f77-0a1b2c3d4e5f", + "title": "샘플 메모", + "content": "메모 본문 내용", + "created_at": "2026-04-21 09:00:00", + "updated_at": "2026-04-21 09:00:00", + "abilities": { + "can_create": false, + "can_update": false, + "can_delete": false + } + } + ], + "meta": { + "current_page": 1, + "last_page": 3, + "per_page": 10, + "total": 21 + }, + "abilities": { + "can_create": false, + "can_update": false, + "can_delete": false + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 429 | Too Many Requests | `throttle:600,1` 초과 (분당 600회) | +| 500 | Internal Server Error | 목록 조회 중 예외 발생 시 `messages.memo.fetch_failed` (`메모 조회에 실패했습니다.`) | @@ -382,7 +416,7 @@ HTTP/1.1 200 | 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | | --- | --- | --- | --- | --- | --- | -| id | path | string | 예 | — | 대상 리소스의 식별자 | +| id | path | string | 예 | — | 조회할 메모의 고유번호(기본 키). `MemoService::getMemo($id)` 로 직접 조회하며 없으면 404 | **요청 예시** @@ -395,17 +429,47 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체(`MemoResource`)의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 메모 고유번호 (기본 키) | +| uuid | string | `9f1c0b4e-3a2d-4c8e-9f77-0a1b2c3d4e5f` | 메모 UUID (외부 식별자, 36자) | +| title | string | `샘플 메모` | 메모 제목 (최대 255자) | +| content | string | `메모 본문 내용` | 메모 본문 | +| created_at | string | `2026-04-21 09:00:00` | 생성 일시 (사용자 타임존 기준 `Y-m-d H:i:s`, 값이 없으면 필드 자체 생략) | +| updated_at | string | `2026-04-21 09:00:00` | 수정 일시 (사용자 타임존 기준 `Y-m-d H:i:s`, 값이 없으면 필드 자체 생략) | +| abilities | object | `{"can_create":false,"can_update":false,"can_delete":false}` | 권한 능력 (`gnuboard7-hello_module.memos.{create,update,delete}` 보유 여부). `MemoResource` 는 `ownerField()` 미정의 → `is_owner` 미포함 | **응답 예시** - +```json +{ + "success": true, + "message": "메모를 조회했습니다.", + "data": { + "id": 1, + "uuid": "9f1c0b4e-3a2d-4c8e-9f77-0a1b2c3d4e5f", + "title": "샘플 메모", + "content": "메모 본문 내용", + "created_at": "2026-04-21 09:00:00", + "updated_at": "2026-04-21 09:00:00", + "abilities": { + "can_create": false, + "can_update": false, + "can_delete": false + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 해당 `id` 의 메모가 없는 경우 — `ModelNotFoundException` → `메모를 찾을 수 없습니다.` | +| 429 | Too Many Requests | `throttle:600,1` 초과 (분당 600회) | +| 500 | Internal Server Error | 조회 중 예외 발생 시 `메모 조회에 실패했습니다.` | diff --git a/modules/_bundled/sirsoft-board/docs/api/board-types.md b/modules/_bundled/sirsoft-board/docs/api/board-types.md index 9098e96f..f19e409a 100644 --- a/modules/_bundled/sirsoft-board/docs/api/board-types.md +++ b/modules/_bundled/sirsoft-board/docs/api/board-types.md @@ -125,11 +125,30 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `5` | 게시판 유형 ID (기본 키) | +| slug | string | `notice-board` | 유형 식별자 (basic, card, gallery 등) — 소문자로 시작하는 소문자/숫자/하이픈 조합 | +| name | object | `{"ko":"공지형","en":"Notice"}` | 유형명 (다국어: `{"ko": "기본형", "en": "Basic List"}`) | **응답 예시** - +```json +{ + "success": true, + "message": "게시판 유형이 생성되었습니다.", + "data": { + "id": 5, + "slug": "notice-board", + "name": { + "ko": "공지형", + "en": "Notice" + } + } +} +``` **에러 응답** @@ -167,11 +186,17 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만)._ **응답 예시** - +```json +{ + "success": true, + "message": "게시판 유형이 삭제되었습니다.", + "data": null +} +``` **에러 응답** @@ -179,7 +204,8 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.boards.create`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 해당 `id` 의 게시판 유형이 없는 경우 (`게시판 유형을 찾을 수 없습니다.`) | +| 422 | Unprocessable Entity | 해당 유형을 사용 중인 게시판이 있는 경우 (`:count개 게시판에서 사용 중인 유형은 삭제할 수 없습니다.`) 또는 게시판 기본 유형(`basic_defaults.type`)으로 설정된 경우 (`기본값으로 설정된 유형은 삭제할 수 없습니다.`) | @@ -215,11 +241,30 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `2` | 게시판 유형 ID (기본 키) | +| slug | string | `basic` | 유형 식별자 (basic, card, gallery 등) — 수정되지 않음 | +| name | object | `{"ko":"기본형","en":"Basic List"}` | 유형명 (다국어: `{"ko": "기본형", "en": "Basic List"}`) | **응답 예시** - +```json +{ + "success": true, + "message": "게시판 유형이 수정되었습니다.", + "data": { + "id": 2, + "slug": "basic", + "name": { + "ko": "기본형", + "en": "Basic List" + } + } +} +``` **에러 응답** diff --git a/modules/_bundled/sirsoft-board/docs/api/board.md b/modules/_bundled/sirsoft-board/docs/api/board.md index 4b565cbc..209a90a0 100644 --- a/modules/_bundled/sirsoft-board/docs/api/board.md +++ b/modules/_bundled/sirsoft-board/docs/api/board.md @@ -82,11 +82,46 @@ Content-Disposition: form-data; name="temp_key" **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드. FileUploader 컴포넌트 호환을 위해 파일 메타는 `data.data` 로 한 번 더 감싸집니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| data | object | `{"id":1,"hash":"apidocsmpl1", ...}` | 업로드된 첨부파일 메타 객체 (아래 하위 필드) | +| data.id | integer | `1` | 첨부파일 기본 키 (게시판별 첨부 테이블의 내부 식별자) | +| data.hash | string | `apidocsmpl1` | 첨부파일 해시 식별자 (다운로드/미리보기 URL 에 사용) | +| data.original_filename | string | `apidoc-sample.png` | 사용자가 업로드한 원본 파일명 | +| data.stored_filename | string | `—` | 스토리지에 실제 저장된 파일명 (충돌 방지용 내부 파일명) | +| data.mime_type | string | `image/png` | 업로드 파일의 MIME 타입 | +| data.size | integer | `2048` | 파일 크기 (바이트) | +| data.url | string | `/api/modules/sirsoft-board/boards/apidoc-sample-board/attachment/apidocsmpl1` | 첨부파일 접근 URL (`AttachmentService::getUrl()` 산물) | +| data.order | integer | `0` | 첨부파일 표시 순서 (0 부터 오름차순) | +| data.created_at | string | `2026-07-08 10:41:34` | 업로드(생성) 일시 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "파일이 업로드되었습니다.", + "data": { + "data": { + "id": 1, + "hash": "apidocsmpl1", + "original_filename": "apidoc-sample.png", + "stored_filename": "apidocsmpl1.png", + "mime_type": "image/png", + "size": 2048, + "url": "/api/modules/sirsoft-board/boards/apidoc-sample-board/attachment/apidocsmpl1", + "order": 0, + "created_at": "2026-07-08 10:41:34" + } + } +} +``` **에러 응답** @@ -94,8 +129,9 @@ Content-Disposition: form-data; name="temp_key" | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.attachments.upload`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 (슬러그에 해당하는 게시판 없음 — `게시판을 찾을 수 없습니다.`) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 업로드 처리 실패 (`파일 업로드에 실패했습니다.`) | @@ -128,11 +164,17 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투를 반환하지 않습니다. 성공 시 파일 본문을 그대로 내려주는 `StreamedResponse`(바이너리 스트림)이며, `data` 구조가 없습니다. 실패 시에만 JSON 에러 봉투가 반환됩니다._ **응답 예시** - +```http +HTTP/1.1 200 +Content-Type: image/png +Content-Disposition: attachment; filename="apidoc-sample.png" + +(바이너리 파일 내용) +``` **에러 응답** @@ -140,7 +182,8 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.attachments.download`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 슬러그에 해당하는 게시판이 없거나(`게시판을 찾을 수 없습니다.`), 해시에 해당하는 첨부가 없거나(`파일을 찾을 수 없습니다.`), 실제 파일이 스토리지에 없는 경우 | +| 500 | Internal Server Error | 다운로드 처리 실패 (`파일 다운로드에 실패했습니다.`) | @@ -180,11 +223,21 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "첨부파일 순서가 변경되었습니다.", + "data": null +} +``` **에러 응답** @@ -192,8 +245,9 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.attachments.upload`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 슬러그에 해당하는 게시판이 없는 경우 (`게시판을 찾을 수 없습니다.`) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 순서 변경 처리 실패 (`첨부파일 순서 변경에 실패했습니다.`) | @@ -224,7 +278,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** @@ -264,11 +318,14 @@ HTTP/1.1 200 | 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | | --- | --- | --- | --- | --- | --- | | slug | path | string | 예 | — | 대상 리소스의 slug (URL 친화 식별자) | +| page | query | integer | 아니오 | min 1 | 조회할 페이지 번호 (1부터 시작) | +| per_page | query | integer | 아니오 | min 1, max 100 | 페이지당 항목 수 | +| search | query | string | 아니오 | max 255 | 검색어 (지정한 검색 대상 필드에서 부분 일치) | **요청 예시** ```http -GET /api/modules/sirsoft-board/admin/board/{slug}/posts HTTP/1.1 +GET /api/modules/sirsoft-board/admin/board/{slug}/posts?page=1&per_page=1&search=%EC%98%88%EC%8B%9C%EA%B0%92 HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -412,6 +469,7 @@ HTTP/1.1 200 | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.posts.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -443,11 +501,120 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`PostResource` — 게시글 수정(PUT) 응답과 동일한 구조)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| category | null | `null` | 게시글 분류(카테고리) 문자열. 게시판이 카테고리를 쓰지 않거나 미지정 시 null (최대 50자). | +| author | object | `{"uuid":"a234c2b1-…","name":"API 문서 샘플 사용자"}` | 작성자 사용자 객체 (uuid/name — author 관계 파생) | +| is_notice | boolean | `false` | 공지 게시글 여부 | +| is_secret | boolean | `false` | 비밀글 여부 | +| content_mode | string | `html` | 본문 편집 모드. `html`(위지윅/HTML) 또는 `text`(평문). | +| is_new | boolean | `true` | 신규(NEW) 표시 대상 여부 (게시판 `new_display_hours` 기준) | +| status | string | `published` | 게시글 상태 코드. `published` / `blinded` / `deleted` 중 하나. | +| status_label | string | `게시됨` | 상태의 사람이 읽는 라벨 (상태 Enum label() 산물) | +| view_count | integer | `0` | 조회수 (집계) | +| comment_count | integer | `0` | 댓글 수 (집계) | +| reply_count | integer | `0` | 답변글 수 (집계) | +| attachment_count | integer | `0` | 첨부파일 수 (집계) | +| has_attachment | boolean | `false` | 첨부파일 보유 여부 | +| thumbnail | null | `null` | 썸네일 이미지 URL/경로 (없으면 null) | +| parent_id | null | `null` | 원글 ID (답변글일 때만 값 존재) | +| depth | integer | `0` | 계층 트리에서의 깊이 (0 = 최상위) | +| is_reply | boolean | `false` | 답변글 여부 | +| created_at | string | `2026-07-08 10:41:34` | 생성 일시 | +| created_at_formatted | string | `방금 전` | `created_at` 값의 표시용 포맷 문자열 | +| is_author | boolean | `true` | 현재 사용자가 작성자인지 여부 | +| is_guest_post | boolean | `false` | 비회원 작성 게시글 여부 | +| title | string | `API 문서 샘플 게시글` | 제목 | +| content | string | `

API 레퍼런스 실측용 완전 샘플 게시글 본문입니다.

` | 본문 내용 | +| user_id | string | `a234c2b1-cde8-437f-b28b-23323be2b98d` | 작성자 사용자 식별자 | +| trigger_type | string | `user` | 상태 변경을 유발한 주체 (`report`/`admin`/`system`/`auto_hide`/`user`/`cascade`) | +| updated_at | string | `2026-07-08 10:41:34` | 최종 수정 일시 | +| deleted_at | null | `null` | 소프트 삭제 일시 (미삭제 시 null) | +| ip_address | string | `127.0.0.1` | 작성 요청이 발생한 IP 주소 | +| action_logs | array | `[]` | 블라인드/복원/삭제 처리 이력 목록. `admin.manage` 권한 보유자에게만 노출. | +| board | null | `null` | 소속 게시판 정보 객체. board 관계 미로드 시 null. | +| navigation | null | `null` | 이전/다음 게시글 이동 정보. 쓰기 응답에서는 계산하지 않아 null. | +| parent | null | `null` | 원글 객체 (parent 관계 파생) | +| comments | null | `null` | 댓글 목록. comments 관계 미로드 시 null. | +| attachments | null | `null` | 첨부파일 목록. attachments 관계 미로드 시 null. | +| replies | null | `null` | 답변글 목록. replies 관계 미로드 시 null. | +| is_already_reported | boolean | `false` | 현재 사용자가 이미 신고한 게시글인지 여부 | +| is_owner | boolean | `true` | 현재 인증 사용자가 이 리소스의 소유자인지 여부 (BaseApiResource 표준 메타) | +| abilities | object | `{"can_read":true,"can_write":true,…}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "게시글이 등록되었습니다.", + "data": { + "id": 1, + "category": null, + "author": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "email": "apidoc-sample-user@example.com", + "avatar": null, + "status": "active", + "status_label": "활성", + "is_guest": false + }, + "is_notice": false, + "is_secret": false, + "content_mode": "html", + "is_new": true, + "status": "published", + "status_label": "게시됨", + "view_count": 0, + "comment_count": 0, + "reply_count": 0, + "attachment_count": 0, + "has_attachment": false, + "thumbnail": null, + "parent_id": null, + "depth": 0, + "is_reply": false, + "created_at": "2026-07-08 10:41:34", + "created_at_formatted": "방금 전", + "is_author": true, + "is_guest_post": false, + "title": "API 문서 샘플 게시글", + "content": "

API 레퍼런스 실측용 완전 샘플 게시글 본문입니다.

", + "user_id": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "trigger_type": "user", + "updated_at": "2026-07-08 10:41:34", + "deleted_at": null, + "ip_address": "127.0.0.1", + "action_logs": [], + "board": null, + "navigation": null, + "parent": null, + "comments": null, + "attachments": null, + "replies": null, + "is_already_reported": false, + "is_owner": true, + "abilities": { + "can_read": true, + "can_write": true, + "can_read_secret": true, + "can_read_comments": true, + "can_write_comments": true, + "can_upload": true, + "can_download": true, + "can_manage": true + } + } +} +``` **에러 응답** @@ -456,7 +623,8 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.posts.write`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). 제목/본문 길이, 금지 키워드, 작성 쿨다운, 원글(`parent_id`) 유효성 위반 포함 | +| 500 | Internal Server Error | 게시글 생성 처리 실패 (`게시글 등록에 실패했습니다.`) | @@ -474,11 +642,13 @@ Authorization: Bearer {YOUR_TOKEN} | 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | | --- | --- | --- | --- | --- | --- | | slug | path | string | 예 | — | 대상 리소스의 slug (URL 친화 식별자) | +| post_id | query | integer | 아니오 | min 1 | post 식별자 | +| parent_id | query | integer | 아니오 | min 1 | parent 식별자 | **요청 예시** ```http -GET /api/modules/sirsoft-board/admin/board/{slug}/posts/form-data HTTP/1.1 +GET /api/modules/sirsoft-board/admin/board/{slug}/posts/form-data?post_id=1&parent_id=1 HTTP/1.1 Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} @@ -527,6 +697,7 @@ HTTP/1.1 200 | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.posts.write`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). 제목/본문 길이, 금지 키워드, 작성 쿨다운, 원글(`parent_id`) 유효성 위반 포함 | @@ -808,7 +979,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.posts.write|sirsoft-board.{slug}.admin.manage`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.posts.write\|sirsoft-board.{slug}.admin.manage`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | @@ -1425,11 +1596,127 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`PostResource` — 복원된 게시글. 게시글 수정(PUT) 응답과 동일한 구조이며, `status` 가 `published` 로 되돌아가고 `action_logs` 에 `restore` 이력이 1건 추가됩니다)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| category | null | `null` | 게시글 분류(카테고리) 문자열 (미지정 시 null) | +| author | object | `{"uuid":"a234c2b1-…","name":"API 문서 샘플 사용자"}` | 작성자 사용자 객체 (uuid/name — author 관계 파생) | +| is_notice | boolean | `false` | 공지 게시글 여부 | +| is_secret | boolean | `false` | 비밀글 여부 | +| content_mode | string | `html` | 본문 편집 모드 (`html` / `text`) | +| is_new | boolean | `true` | 신규(NEW) 표시 대상 여부 | +| status | string | `published` | 복원 후 게시글 상태 (`published` 로 되돌아감) | +| status_label | string | `게시됨` | 상태의 사람이 읽는 라벨 | +| view_count | integer | `44` | 조회수 (집계) | +| comment_count | integer | `0` | 댓글 수 (집계) | +| reply_count | integer | `0` | 답변글 수 (집계) | +| attachment_count | integer | `0` | 첨부파일 수 (집계) | +| has_attachment | boolean | `false` | 첨부파일 보유 여부 | +| thumbnail | null | `null` | 썸네일 이미지 URL/경로 | +| parent_id | null | `null` | 원글 ID (답변글일 때만 값 존재) | +| depth | integer | `0` | 계층 트리에서의 깊이 | +| is_reply | boolean | `false` | 답변글 여부 | +| created_at | string | `2026-07-08 10:41:34` | 생성 일시 | +| created_at_formatted | string | `4시간 전` | `created_at` 값의 표시용 포맷 문자열 | +| is_author | boolean | `true` | 현재 사용자가 작성자인지 여부 | +| is_guest_post | boolean | `false` | 비회원 작성 게시글 여부 | +| title | string | `API 문서 샘플 게시글` | 제목 | +| content | string | `

API 레퍼런스 실측용 완전 샘플 게시글 본문입니다.

` | 본문 내용 | +| user_id | string | `a234c2b1-cde8-437f-b28b-23323be2b98d` | 작성자 사용자 식별자 | +| trigger_type | string | `admin` | 상태 변경을 유발한 주체 (복원은 관리자 직권이므로 `admin`) | +| updated_at | string | `2026-07-08 15:01:45` | 최종 수정 일시 | +| deleted_at | null | `null` | 소프트 삭제 일시 (복원 후 null) | +| ip_address | string | `127.0.0.1` | 작성 요청이 발생한 IP 주소 | +| action_logs | array | `[{"action":"restore","reason":null,"admin_name":"API 문서 샘플 사용자","created_at":"2026-07-08 06:01:45"}]` | 블라인드/복원/삭제 처리 이력 목록. `admin.manage` 권한 보유자에게만 노출. | +| board | null | `null` | 소속 게시판 정보 객체 (관계 미로드 시 null) | +| navigation | null | `null` | 이전/다음 게시글 이동 정보 (쓰기 응답은 미계산 → null) | +| parent | null | `null` | 원글 객체 (parent 관계 파생) | +| comments | null | `null` | 댓글 목록 (관계 미로드 시 null) | +| attachments | null | `null` | 첨부파일 목록 (관계 미로드 시 null) | +| replies | null | `null` | 답변글 목록 (관계 미로드 시 null) | +| is_already_reported | boolean | `false` | 현재 사용자가 이미 신고한 게시글인지 여부 | +| is_owner | boolean | `true` | 현재 인증 사용자가 이 리소스의 소유자인지 여부 | +| abilities | object | `{"can_read":true,"can_write":true,…}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "게시글이 복원되었습니다.", + "data": { + "id": 1, + "category": null, + "author": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "email": "apidoc-sample-user@example.com", + "avatar": null, + "status": "active", + "status_label": "활성", + "is_guest": false + }, + "is_notice": false, + "is_secret": false, + "content_mode": "html", + "is_new": true, + "status": "published", + "status_label": "게시됨", + "view_count": 44, + "comment_count": 0, + "reply_count": 0, + "attachment_count": 0, + "has_attachment": false, + "thumbnail": null, + "parent_id": null, + "depth": 0, + "is_reply": false, + "created_at": "2026-07-08 10:41:34", + "created_at_formatted": "4시간 전", + "is_author": true, + "is_guest_post": false, + "title": "API 문서 샘플 게시글", + "content": "

API 레퍼런스 실측용 완전 샘플 게시글 본문입니다.

", + "user_id": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "trigger_type": "admin", + "updated_at": "2026-07-08 15:01:45", + "deleted_at": null, + "ip_address": "127.0.0.1", + "action_logs": [ + { + "action": "restore", + "reason": null, + "admin_name": "API 문서 샘플 사용자", + "created_at": "2026-07-08 06:01:45" + } + ], + "board": null, + "navigation": null, + "parent": null, + "comments": null, + "attachments": null, + "replies": null, + "is_already_reported": false, + "is_owner": true, + "abilities": { + "can_read": true, + "can_write": true, + "can_read_secret": true, + "can_read_comments": true, + "can_write_comments": true, + "can_upload": true, + "can_download": true, + "can_manage": true + } + } +} +``` **에러 응답** @@ -1437,8 +1724,9 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.manage`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | 슬러그에 해당하는 게시판 또는 ID 에 해당하는 게시글이 없는 경우 (`존재하지 않는 게시글입니다.`) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`reason` 이 1000자를 초과하는 등) | +| 500 | Internal Server Error | 복원 처리 실패 (`게시글 복원에 실패했습니다.`) | @@ -1471,20 +1759,91 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`CommentResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 댓글 기본 키 (내부 식별자) | +| post_id | integer | `1` | 댓글이 속한 게시글 식별자 | +| parent_id | null | `null` | 상위 댓글 식별자 (대댓글일 때만 값 존재) | +| content | string | `API 문서 샘플 댓글입니다.` | 댓글 본문 내용 | +| author | object | `{"uuid":"a234c2b1-…","name":"API 문서 샘플 사용자"}` | 작성자 사용자 객체 (author 관계 파생) | +| is_secret | boolean | `false` | 비밀 댓글 여부 | +| status | string | `published` | 댓글 상태 코드 (`published` / `blinded` / `deleted`) | +| status_label | string | `게시됨` | 상태의 사람이 읽는 라벨 (상태 Enum label() 산물) | +| depth | integer | `0` | 댓글 계층 깊이 (0 = 최상위 댓글, 서비스에서 자동 계산) | +| replies_count | integer | `0` | 이 댓글에 달린 대댓글 수 (집계) | +| created_at | string | `2026-07-08 10:41:34` | 생성 일시 | +| created_at_formatted | string | `방금 전` | `created_at` 값의 표시용 포맷 문자열 | +| updated_at | string | `2026-07-08 10:41:34` | 최종 수정 일시 | +| deleted_at | null | `null` | 소프트 삭제 일시 (미삭제 시 null) | +| is_cascade_deleted | boolean | `false` | 상위 게시글/댓글 삭제로 연쇄 삭제된 댓글인지 여부 | +| ip_address | string | `127.0.0.1` | 작성 요청이 발생한 IP 주소 (권한자에게만 노출) | +| action_logs | array | `[]` | 블라인드/복원/삭제 처리 이력 목록. `admin.manage` 권한 보유자에게만 노출. | +| is_author | boolean | `true` | 현재 사용자가 작성자인지 여부 | +| is_guest_comment | boolean | `false` | 비회원 작성 댓글 여부 | +| is_already_reported | boolean | `false` | 현재 사용자가 이미 신고한 댓글인지 여부 | +| is_owner | boolean | `true` | 현재 인증 사용자가 이 리소스의 소유자인지 여부 (BaseApiResource 표준 메타) | +| abilities | object | `{"can_read":true,"can_write":true,"can_manage":true}` | 현재 사용자가 이 댓글에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "댓글이 등록되었습니다.", + "data": { + "id": 1, + "post_id": 1, + "parent_id": null, + "content": "API 문서 샘플 댓글입니다.", + "author": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "email": "apidoc-sample-user@example.com", + "avatar": null, + "status": "active", + "status_label": "활성", + "is_guest": false + }, + "is_secret": false, + "status": "published", + "status_label": "게시됨", + "depth": 0, + "replies_count": 0, + "created_at": "2026-07-08 10:41:34", + "created_at_formatted": "방금 전", + "updated_at": "2026-07-08 10:41:34", + "deleted_at": null, + "is_cascade_deleted": false, + "ip_address": "127.0.0.1", + "action_logs": [], + "is_author": true, + "is_guest_comment": false, + "is_already_reported": false, + "is_owner": true, + "abilities": { + "can_read": true, + "can_write": true, + "can_manage": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.comments.write`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.comments.write`)이 없거나, 게시판의 댓글 기능이 꺼진 경우 (`이 게시판은 댓글 기능이 비활성화되어 있습니다.`) | +| 404 | Not Found | 슬러그에 해당하는 게시판이 없는 경우 (`게시판을 찾을 수 없습니다.`) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). 댓글 길이, 금지 키워드, 작성 쿨다운, 대상 게시글·상위 댓글 유효성 위반 포함 | +| 500 | Internal Server Error | 댓글 생성 처리 실패 (`댓글 등록에 실패했습니다.`) | @@ -1516,7 +1875,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** @@ -1537,8 +1896,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.comments.write|sirsoft-board.{slug}.admin.manage`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.comments.write\|sirsoft-board.{slug}.admin.manage`)이 없거나, 타인/비회원 댓글을 `admin.manage` 없이 삭제하려는 경우(`접근 권한이 없습니다.`), 게시판의 댓글 기능이 꺼진 경우(`이 게시판은 댓글 기능이 비활성화되어 있습니다.`) | +| 404 | Not Found | ID 에 해당하는 댓글 또는 슬러그에 해당하는 게시판이 없는 경우 (`댓글을 찾을 수 없습니다.`) | +| 500 | Internal Server Error | 삭제 처리 실패 (`댓글 삭제에 실패했습니다.`) | @@ -1572,20 +1932,91 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`CommentResource` — 댓글 생성/블라인드 응답과 동일한 구조)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 댓글 기본 키 (내부 식별자) | +| post_id | integer | `1` | 댓글이 속한 게시글 식별자 | +| parent_id | null | `null` | 상위 댓글 식별자 (대댓글일 때만 값 존재) | +| content | string | `API 문서 샘플 댓글입니다. (수정)` | 수정된 댓글 본문 내용 | +| author | object | `{"uuid":"a234c2b1-…","name":"API 문서 샘플 사용자"}` | 작성자 사용자 객체 (author 관계 파생) | +| is_secret | boolean | `false` | 비밀 댓글 여부 | +| status | string | `published` | 댓글 상태 코드 (`published` / `blinded` / `deleted`) | +| status_label | string | `게시됨` | 상태의 사람이 읽는 라벨 | +| depth | integer | `0` | 댓글 계층 깊이 (0 = 최상위 댓글) | +| replies_count | integer | `0` | 이 댓글에 달린 대댓글 수 (집계) | +| created_at | string | `2026-07-08 10:41:34` | 생성 일시 | +| created_at_formatted | string | `4시간 전` | `created_at` 값의 표시용 포맷 문자열 | +| updated_at | string | `2026-07-08 15:01:45` | 최종 수정 일시 (수정 시각으로 갱신) | +| deleted_at | null | `null` | 소프트 삭제 일시 (미삭제 시 null) | +| is_cascade_deleted | boolean | `false` | 상위 게시글/댓글 삭제로 연쇄 삭제된 댓글인지 여부 | +| ip_address | null | `null` | 작성 요청이 발생한 IP 주소 (권한자에게만 노출) | +| action_logs | array | `[]` | 블라인드/복원/삭제 처리 이력 목록. `admin.manage` 권한 보유자에게만 노출. | +| is_author | boolean | `true` | 현재 사용자가 작성자인지 여부 | +| is_guest_comment | boolean | `false` | 비회원 작성 댓글 여부 | +| is_already_reported | boolean | `false` | 현재 사용자가 이미 신고한 댓글인지 여부 | +| is_owner | boolean | `true` | 현재 인증 사용자가 이 리소스의 소유자인지 여부 | +| abilities | object | `{"can_read":true,"can_write":true,"can_manage":true}` | 현재 사용자가 이 댓글에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "댓글이 수정되었습니다.", + "data": { + "id": 1, + "post_id": 1, + "parent_id": null, + "content": "API 문서 샘플 댓글입니다. (수정)", + "author": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "email": "apidoc-sample-user@example.com", + "avatar": null, + "status": "active", + "status_label": "활성", + "is_guest": false + }, + "is_secret": false, + "status": "published", + "status_label": "게시됨", + "depth": 0, + "replies_count": 0, + "created_at": "2026-07-08 10:41:34", + "created_at_formatted": "4시간 전", + "updated_at": "2026-07-08 15:01:45", + "deleted_at": null, + "is_cascade_deleted": false, + "ip_address": null, + "action_logs": [], + "is_author": true, + "is_guest_comment": false, + "is_already_reported": false, + "is_owner": true, + "abilities": { + "can_read": true, + "can_write": true, + "can_manage": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.comments.write`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.comments.write`)이 없거나, 타인/비회원 댓글을 `admin.manage` 없이 수정하려는 경우(`접근 권한이 없습니다.`), 게시판의 댓글 기능이 꺼진 경우(`이 게시판은 댓글 기능이 비활성화되어 있습니다.`) | +| 404 | Not Found | ID 에 해당하는 댓글 또는 슬러그에 해당하는 게시판이 없는 경우 (`댓글을 찾을 수 없습니다.`) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 수정 처리 실패 (`댓글 수정에 실패했습니다.`) | @@ -1733,6 +2164,7 @@ HTTP/1.1 200 | slug | path | string | 예 | — | 대상 리소스의 slug (URL 친화 식별자) | | postId | path | string | 예 | — | 대상 post의 식별자 | | id | path | string | 예 | — | 대상 리소스의 식별자 | +| reason | body | string | 아니오 | max 1000 | 댓글 블라인드 처리 사유(최대 1000자). 처리 이력에 기록되며, 미지정 시 빈 문자열로 저장됩니다. | **요청 예시** @@ -1741,23 +2173,113 @@ PATCH /api/modules/sirsoft-board/admin/board/{slug}/posts/{postId}/comments/{id} Host: api.example.com Accept: application/json Authorization: Bearer {YOUR_TOKEN} +Content-Type: application/json + +{ + "reason": "예시값" +} ``` **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`CommentResource` — 복원된 댓글. 블라인드 응답과 동일한 구조이며, `status` 가 `published` 로 되돌아가고 `action_logs` 에 `restore` 이력이 1건 추가됩니다)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 댓글 기본 키 (내부 식별자) | +| post_id | integer | `1` | 댓글이 속한 게시글 식별자 | +| parent_id | null | `null` | 상위 댓글 식별자 (대댓글일 때만 값 존재) | +| content | string | `API 문서 샘플 댓글입니다.` | 댓글 본문 내용 (복원되어 원문이 다시 노출됨) | +| author | object | `{"uuid":"a234c2b1-…","name":"API 문서 샘플 사용자"}` | 작성자 사용자 객체 (author 관계 파생) | +| is_secret | boolean | `false` | 비밀 댓글 여부 | +| status | string | `published` | 복원 후 댓글 상태 (`published` 로 되돌아감) | +| status_label | string | `게시됨` | 상태의 사람이 읽는 라벨 | +| depth | integer | `0` | 댓글 계층 깊이 (0 = 최상위 댓글) | +| replies_count | integer | `0` | 이 댓글에 달린 대댓글 수 (집계) | +| created_at | string | `2026-07-08 10:41:34` | 생성 일시 | +| created_at_formatted | string | `4시간 전` | `created_at` 값의 표시용 포맷 문자열 | +| updated_at | string | `2026-07-08 15:01:45` | 최종 수정 일시 | +| deleted_at | null | `null` | 소프트 삭제 일시 (미삭제 시 null) | +| is_cascade_deleted | boolean | `false` | 상위 게시글/댓글 삭제로 연쇄 삭제된 댓글인지 여부 | +| ip_address | null | `null` | 작성 요청이 발생한 IP 주소 (권한자에게만 노출) | +| action_logs | array | `[{"action":"blind","reason":"실측 예시값",…},{"action":"restore","reason":null,…}]` | 블라인드/복원/삭제 처리 이력 목록 (복원 이력이 추가됨). `admin.manage` 권한 보유자에게만 노출. | +| is_author | boolean | `true` | 현재 사용자가 작성자인지 여부 | +| is_guest_comment | boolean | `false` | 비회원 작성 댓글 여부 | +| is_already_reported | boolean | `false` | 현재 사용자가 이미 신고한 댓글인지 여부 | +| is_owner | boolean | `true` | 현재 인증 사용자가 이 리소스의 소유자인지 여부 | +| abilities | object | `{"can_read":true,"can_write":true,"can_manage":true}` | 현재 사용자가 이 댓글에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "댓글이 복원되었습니다.", + "data": { + "id": 1, + "post_id": 1, + "parent_id": null, + "content": "API 문서 샘플 댓글입니다.", + "author": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "email": "apidoc-sample-user@example.com", + "avatar": null, + "status": "active", + "status_label": "활성", + "is_guest": false + }, + "is_secret": false, + "status": "published", + "status_label": "게시됨", + "depth": 0, + "replies_count": 0, + "created_at": "2026-07-08 10:41:34", + "created_at_formatted": "4시간 전", + "updated_at": "2026-07-08 15:01:45", + "deleted_at": null, + "is_cascade_deleted": false, + "ip_address": null, + "action_logs": [ + { + "action": "blind", + "reason": "실측 예시값", + "admin_name": "API 문서 샘플 사용자", + "created_at": "2026-07-08 06:01:44" + }, + { + "action": "restore", + "reason": null, + "admin_name": "API 문서 샘플 사용자", + "created_at": "2026-07-08 06:01:45" + } + ], + "is_author": true, + "is_guest_comment": false, + "is_already_reported": false, + "is_owner": true, + "abilities": { + "can_read": true, + "can_write": true, + "can_manage": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.manage`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.admin.manage`)이 없거나, 게시판의 댓글 기능이 꺼진 경우 (`이 게시판은 댓글 기능이 비활성화되어 있습니다.`) | +| 404 | Not Found | ID 에 해당하는 댓글 또는 슬러그에 해당하는 게시판이 없는 경우 (`댓글을 찾을 수 없습니다.`) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 복원 처리 실패 (`댓글 복원에 실패했습니다.`) | diff --git a/modules/_bundled/sirsoft-board/docs/api/boards.md b/modules/_bundled/sirsoft-board/docs/api/boards.md index f662b954..17709bf2 100644 --- a/modules/_bundled/sirsoft-board/docs/api/boards.md +++ b/modules/_bundled/sirsoft-board/docs/api/boards.md @@ -224,11 +224,123 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (생성된 게시판 = `BoardResource`, 상세 조회(`GET /admin/boards/{board}`)와 동일 스키마)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `12` | 기본 키 (내부 식별자) | +| name | string | `API 문서 샘플 게시판` | 게시판명 (다국어 JSON) | +| slug | string | `apidoc-sample-board` | 게시판 슬러그 (URL/테이블명 — 생성 후 변경 불가) | +| is_active | boolean | `true` | active 여부 | +| type | string | `basic` | 게시판 타입 (basic, gallery, card 등) | +| description | string | `` | 게시판 설명 (다국어 JSON) | +| per_page | integer | `20` | 페이지당 게시글 수 (PC) | +| per_page_mobile | integer | `15` | 페이지당 게시글 수 (Mobile) | +| order_by | string | `created_at` | 정렬 기준 (created_at, view_count, title, author) | +| order_direction | string | `DESC` | 정렬 방향 (ASC, DESC) | +| categories | array | `[]` | 분류 목록 (배열) | +| show_view_count | boolean | `true` | 조회수 노출 | +| secret_mode | string | `disabled` | 비밀글 설정 (disabled: 사용안함, enabled: 사용함, always: 고정) | +| use_comment | boolean | `true` | 댓글 기능 사용 | +| use_reply | boolean | `true` | 게시글 답변 기능 사용 (댓글에 대한 답글 아님) | +| max_reply_depth | integer | `5` | 답변글 최대 깊이 | +| use_report | boolean | `true` | 게시글/댓글 신고 기능 사용 | +| comment_order | string | `ASC` | 댓글 정렬 순서 (ASC: 오름차순, DESC: 내림차순) | +| max_comment_depth | integer | `10` | 대댓글 최대 깊이 | +| min_title_length | integer | `2` | 최소 제목 글자 수 | +| max_title_length | integer | `200` | 최대 제목 글자 수 | +| min_content_length | integer | `10` | 최소 게시글 글자 수 | +| max_content_length | integer | `10000` | 최대 게시글 글자 수 | +| min_comment_length | integer | `2` | 최소 댓글 글자 수 | +| max_comment_length | integer | `1000` | 최대 댓글 글자 수 | +| blocked_keywords | array | `[]` | 금지어 목록 (배열) | +| use_file_upload | boolean | `true` | 파일 업로드 사용 | +| max_file_size | integer | `10` | 최대 파일 크기 (MB) | +| max_file_count | integer | `5` | 게시글 1건당 최대 첨부 개수 | +| allowed_extensions | array | `["jpg","png","pdf"]` | 허용 확장자 배열 | +| add_to_menu | null | `null` | 관리자 메뉴 등록 여부 (폼 요청에서만 채워지는 토글 초기값 — 조회 응답에서는 항상 null) | +| new_display_hours | integer | `24` | 신규 게시글 표시 기간 (시간 단위) | +| board_managers | array | `[]` | 게시판 관리자로 지정된 사용자 목록 (uuid/name/email — 역할 기반 파생) | +| board_steps | array | `[]` | 게시판 승인/처리 담당자(스텝) 사용자 목록 (uuid/name/email — 역할 기반 파생) | +| board_manager_ids | array | `[]` | board manager 식별자(uuid) 배열 | +| board_step_ids | array | `[]` | board step 식별자(uuid) 배열 | +| notify_author | boolean | `true` | 작성자 이메일 알림 (댓글, 대댓글, 답변글, 관리자 처리 시) | +| notify_admin_on_post | boolean | `true` | 관리자 이메일 알림 (게시글 등록 시) | +| created_at | string | `2026-07-07 09:34:50` | 생성 일시 | +| updated_at | string | `2026-07-07 09:34:50` | 최종 수정 일시 | +| permissions | object \| null | `null` | 게시판별 권한 매트릭스 (`include_permissions` 요청 시에만 채워지며, 미포함 시 null) | +| category_post_counts | null | `null` | 분류별 게시글 개수 맵 (요청 시 조건부로만 채워지며, 미포함 시 null) | +| posts_count | integer | `0` | 게시글 수 (집계 — 생성 직후 0) | +| user_abilities | null | `null` | 현재 사용자의 게시판별 세부 권한 맵 (`include_user_abilities` 요청 시에만 채워지며 미포함 시 null) | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "게시판이 생성되었습니다.", + "data": { + "id": 12, + "name": "API 문서 샘플 게시판", + "slug": "apidoc-sample-board", + "is_active": true, + "type": "basic", + "description": "", + "per_page": 20, + "per_page_mobile": 15, + "order_by": "created_at", + "order_direction": "DESC", + "categories": [], + "show_view_count": true, + "secret_mode": "disabled", + "use_comment": true, + "use_reply": true, + "max_reply_depth": 5, + "use_report": true, + "comment_order": "ASC", + "max_comment_depth": 10, + "min_title_length": 2, + "max_title_length": 200, + "min_content_length": 10, + "max_content_length": 10000, + "min_comment_length": 2, + "max_comment_length": 1000, + "blocked_keywords": [], + "use_file_upload": true, + "max_file_size": 10, + "max_file_count": 5, + "allowed_extensions": [ + "jpg", + "png", + "pdf" + ], + "add_to_menu": null, + "new_display_hours": 24, + "board_managers": [], + "board_steps": [], + "board_manager_ids": [], + "board_step_ids": [], + "notify_author": true, + "notify_admin_on_post": true, + "created_at": "2026-07-08 10:41:34", + "updated_at": "2026-07-08 10:41:34", + "permissions": null, + "category_post_counts": null, + "posts_count": 0, + "user_abilities": null, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -237,6 +349,7 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.boards.create`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 게시판 전용 테이블 생성 실패 등 생성 처리 중 예외 (`게시판 생성에 실패했습니다.`) | @@ -788,9 +901,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - - - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만). 컨트롤러가 `success('...boards.delete_success')` 를 데이터 없이 호출하므로 `data` 는 항상 `null` 입니다._ **응답 예시** @@ -1229,11 +1340,123 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (수정된 게시판 = `BoardResource`, 상세 조회(`GET /admin/boards/{board}`)와 동일 스키마)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `12` | 기본 키 (내부 식별자) | +| name | string | `API 문서 샘플 게시판` | 게시판명 (다국어 JSON) | +| slug | string | `apidoc-sample-board` | 게시판 슬러그 (생성 시 고정 — 수정 대상 아님) | +| is_active | boolean | `true` | active 여부 | +| type | string | `basic` | 게시판 타입 (basic, gallery, card 등) | +| description | string | `` | 게시판 설명 (다국어 JSON) | +| per_page | integer | `20` | 페이지당 게시글 수 (PC) | +| per_page_mobile | integer | `15` | 페이지당 게시글 수 (Mobile) | +| order_by | string | `created_at` | 정렬 기준 (created_at, view_count, title, author) | +| order_direction | string | `DESC` | 정렬 방향 (ASC, DESC) | +| categories | array | `[]` | 분류 목록 (배열) | +| show_view_count | boolean | `true` | 조회수 노출 | +| secret_mode | string | `disabled` | 비밀글 설정 (disabled/enabled/always) | +| use_comment | boolean | `true` | 댓글 기능 사용 | +| use_reply | boolean | `true` | 게시글 답변 기능 사용 | +| max_reply_depth | integer | `5` | 답변글 최대 깊이 | +| use_report | boolean | `true` | 게시글/댓글 신고 기능 사용 | +| comment_order | string | `ASC` | 댓글 정렬 순서 (ASC, DESC) | +| max_comment_depth | integer | `10` | 대댓글 최대 깊이 | +| min_title_length | integer | `2` | 최소 제목 글자 수 | +| max_title_length | integer | `200` | 최대 제목 글자 수 | +| min_content_length | integer | `10` | 최소 게시글 글자 수 | +| max_content_length | integer | `10000` | 최대 게시글 글자 수 | +| min_comment_length | integer | `2` | 최소 댓글 글자 수 | +| max_comment_length | integer | `1000` | 최대 댓글 글자 수 | +| blocked_keywords | array | `[]` | 금지어 목록 (배열) | +| use_file_upload | boolean | `true` | 파일 업로드 사용 | +| max_file_size | integer | `10` | 최대 파일 크기 (MB) | +| max_file_count | integer | `5` | 게시글 1건당 최대 첨부 개수 | +| allowed_extensions | array | `["jpg","png","pdf"]` | 허용 확장자 배열 | +| add_to_menu | null | `null` | 관리자 메뉴 등록 여부 (폼 요청 전용 토글 초기값 — 조회 응답에서는 항상 null) | +| new_display_hours | integer | `24` | 신규 게시글 표시 기간 (시간 단위) | +| board_managers | array | `[]` | 게시판 관리자 사용자 목록 (uuid/name/email) | +| board_steps | array | `[]` | 게시판 승인/처리 담당자(스텝) 사용자 목록 (uuid/name/email) | +| board_manager_ids | array | `[]` | board manager 식별자(uuid) 배열 | +| board_step_ids | array | `[]` | board step 식별자(uuid) 배열 | +| notify_author | boolean | `true` | 작성자 이메일 알림 | +| notify_admin_on_post | boolean | `true` | 관리자 이메일 알림 (게시글 등록 시) | +| created_at | string | `2026-07-07 09:34:50` | 생성 일시 | +| updated_at | string | `2026-07-08 11:02:10` | 최종 수정 일시 (수정 후 갱신됨) | +| permissions | object \| null | `null` | 게시판별 권한 매트릭스 (`include_permissions` 요청 시에만 채워짐) | +| category_post_counts | null | `null` | 분류별 게시글 개수 맵 (조건부) | +| posts_count | integer | `0` | 게시글 수 (집계) | +| user_abilities | null | `null` | 현재 사용자의 게시판별 세부 권한 맵 (`include_user_abilities` 요청 시에만 채워짐) | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "게시판이 수정되었습니다.", + "data": { + "id": 12, + "name": "API 문서 샘플 게시판", + "slug": "apidoc-sample-board", + "is_active": true, + "type": "basic", + "description": "", + "per_page": 20, + "per_page_mobile": 15, + "order_by": "created_at", + "order_direction": "DESC", + "categories": [], + "show_view_count": true, + "secret_mode": "disabled", + "use_comment": true, + "use_reply": true, + "max_reply_depth": 5, + "use_report": true, + "comment_order": "ASC", + "max_comment_depth": 10, + "min_title_length": 2, + "max_title_length": 200, + "min_content_length": 10, + "max_content_length": 10000, + "min_comment_length": 2, + "max_comment_length": 1000, + "blocked_keywords": [], + "use_file_upload": true, + "max_file_size": 10, + "max_file_count": 5, + "allowed_extensions": [ + "jpg", + "png", + "pdf" + ], + "add_to_menu": null, + "new_display_hours": 24, + "board_managers": [], + "board_steps": [], + "board_manager_ids": [], + "board_step_ids": [], + "notify_author": true, + "notify_admin_on_post": true, + "created_at": "2026-07-08 10:41:34", + "updated_at": "2026-07-08 11:02:10", + "permissions": null, + "category_post_counts": null, + "posts_count": 0, + "user_abilities": null, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -1243,6 +1466,7 @@ Content-Type: application/json | 403 | Forbidden | 요구 권한(`sirsoft-board.boards.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 수정 처리 중 예외 (`게시판 수정에 실패했습니다.`) | @@ -1382,7 +1606,7 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). _ +_에러 없음 (공개 조회 — 컨트롤러가 캐시된 조회 결과를 그대로 반환하며 인증·권한·검증 실패 외 도메인 특이 에러를 던지지 않습니다)._ @@ -1438,7 +1662,7 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). _ +_에러 없음 (공개 조회 — 컨트롤러가 캐시된 조회 결과를 그대로 반환하며 인증·권한·검증 실패 외 도메인 특이 에러를 던지지 않습니다)._ @@ -1469,10 +1693,10 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | | id | integer | `1` | 기본 키 (내부 식별자) | -| board_slug | string | `gallery` | | -| board_name | string | `갤러리` | | +| board_slug | string | `gallery` | 이 게시글이 속한 게시판의 slug (게시판 URL 식별자) | +| board_name | string | `갤러리` | 이 게시글이 속한 게시판의 이름 (현재 로케일로 해석된 표시명) | | title | string | `일반 게시글 (이미지 있음)` | 제목 | -| excerpt | string | `이미지가 첨부된 일반 게시글입니다. 정상적으로 표시됩니다.` | | +| excerpt | string | `이미지가 첨부된 일반 게시글입니다. 정상적으로 표시됩니다.` | 본문 요약 발췌 (HTML 태그 제거 후 앞 100자) | | author | object | `{"id":1,"name":"관리자","email":"heuristing@gmail.com","is_g…` | 작성자 사용자 객체 (uuid/name — author 관계 파생) | | view_count | integer | `258` | view 개수 (집계) | | comment_count | integer | `2` | comment 개수 (집계) | @@ -1516,7 +1740,7 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). _ +_에러 없음 (공개 조회 — 컨트롤러가 캐시된 조회 결과를 그대로 반환하며 인증·권한·검증 실패 외 도메인 특이 에러를 던지지 않습니다)._ @@ -1576,7 +1800,7 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). _ +_에러 없음 (공개 조회 — 컨트롤러가 캐시된 조회 결과를 그대로 반환하며 인증·권한·검증 실패 외 도메인 특이 에러를 던지지 않습니다)._ @@ -1648,7 +1872,7 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). _ +_에러 없음 (공개 조회 — 컨트롤러가 캐시된 조회 결과를 그대로 반환하며 인증·권한·검증 실패 외 도메인 특이 에러를 던지지 않습니다)._ @@ -1706,7 +1930,7 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). _ +_에러 없음 (공개 조회 — 컨트롤러가 캐시된 조회 결과를 그대로 반환하며 인증·권한·검증 실패 외 도메인 특이 에러를 던지지 않습니다)._ @@ -2030,18 +2254,35 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON `data` 를 반환하지 않습니다. 성공 시 파일 바이너리를 `StreamedResponse` 로 스트리밍하며(`Content-Disposition: attachment`), JSON 봉투는 실패 시(404/403/500)에만 사용됩니다._ **응답 예시** - +```http +HTTP/1.1 200 +Content-Type: application/octet-stream +Content-Disposition: attachment; filename="example.pdf" + +(파일 바이너리 스트림) +``` + +실패 시(첨부 미존재): + +```json +{ + "success": false, + "message": "파일을 찾을 수 없습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.attachments.download`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.attachments.download`)이 없거나 삭제글 첨부 등 접근이 차단된 경우 (`auth.scope_denied`) | +| 404 | Not Found | 게시판 슬러그 또는 해시에 해당하는 첨부가 없는 경우 (`파일을 찾을 수 없습니다.` / `게시판을 찾을 수 없습니다.`) | +| 500 | Internal Server Error | 파일 스트리밍 중 예외 (`파일 다운로드에 실패했습니다.`) | @@ -2072,17 +2313,36 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON `data` 를 반환하지 않습니다. 성공 시 이미지 바이너리를 원본 MIME 타입으로 인라인 응답하며, 레이아웃 캐시 TTL(`cache.layout_ttl`, 기본 86400초) 기반 캐싱 헤더가 포함됩니다. JSON 봉투는 실패 시(400/403/404/500)에만 사용됩니다._ **응답 예시** - +```http +HTTP/1.1 200 +Content-Type: image/png +Cache-Control: public, max-age=86400 + +(이미지 바이너리) +``` + +실패 시(이미지가 아닌 파일 요청): + +```json +{ + "success": false, + "message": "이미지 파일만 미리보기가 가능합니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 400 | Bad Request | 대상 첨부가 이미지가 아닌 경우 (`이미지 파일만 미리보기가 가능합니다.`) | +| 403 | Forbidden | 삭제글 첨부 등 접근이 차단된 경우 (`auth.scope_denied`) | +| 404 | Not Found | 게시판 슬러그 또는 해시에 해당하는 첨부가 없는 경우 (`파일을 찾을 수 없습니다.` / `게시판을 찾을 수 없습니다.`) | +| 500 | Internal Server Error | 미리보기 처리 중 예외 (`이미지 미리보기에 실패했습니다.`) | @@ -2138,19 +2398,54 @@ Content-Disposition: form-data; name="temp_key" **응답 필드** (`data` 내부) - +_단건 응답: FileUploader 컴포넌트가 `response.data?.data` 형식을 기대하므로, 업로드된 첨부 객체는 `data.data` 한 단계 더 안쪽에 담깁니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| data.id | integer | `155` | 첨부파일 기본 키 (내부 식별자) | +| data.hash | string | `apidocsmpl1` | 첨부파일 해시 (다운로드/미리보기 URL의 식별자) | +| data.original_filename | string | `example.pdf` | 업로드 당시의 원본 파일명 | +| data.stored_filename | string | `20260708_ab12cd34.pdf` | 스토리지에 저장된 실제 파일명 | +| data.mime_type | string | `application/pdf` | 파일 MIME 타입 | +| data.size | integer | `102400` | 파일 크기 (바이트) | +| data.url | string | `/api/modules/sirsoft-board/boards/{slug}/attachment/{hash}` | 첨부 접근 URL (AttachmentService::getUrl 산출) | +| data.order | integer | `0` | 첨부 표시 순서 (reorder 로 갱신) | +| data.created_at | string | `2026-07-08 10:41:34` | 업로드 일시 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "파일이 업로드되었습니다.", + "data": { + "data": { + "id": 155, + "hash": "apidocsmpl1", + "original_filename": "example.pdf", + "stored_filename": "20260708_ab12cd34.pdf", + "mime_type": "application/pdf", + "size": 102400, + "url": "/api/modules/sirsoft-board/boards/apidoc-sample-board/attachment/apidocsmpl1", + "order": 0, + "created_at": "2026-07-08 10:41:34" + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.attachments.upload`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.attachments.upload`)이 없거나, 게시판의 파일 업로드 설정이 꺼진 경우 (`이 게시판에서는 파일 업로드가 비활성화되어 있습니다.`) | +| 404 | Not Found | 게시판 슬러그에 해당하는 게시판이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 파일 저장 중 예외 (`파일 업로드에 실패했습니다.`) | @@ -2190,19 +2485,30 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만). 컨트롤러가 `success('...attachment.reorder_success')` 를 데이터 없이 호출합니다._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "첨부파일 순서가 변경되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.attachments.upload`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 게시판 슬러그에 해당하는 게시판이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 순서 갱신 실패 또는 처리 중 예외 (`첨부파일 순서 변경에 실패했습니다.`) | @@ -2233,7 +2539,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만). 컨트롤러가 `success('...attachment.delete_success')` 를 데이터 없이 호출합니다._ **응답 예시** @@ -2253,8 +2559,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.attachments.upload`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.attachments.upload`)이 없거나, 해당 첨부의 삭제 권한(소유자/관리자)이 없는 경우 (`파일 삭제 권한이 없습니다.`) | +| 404 | Not Found | 게시판 또는 첨부파일이 없는 경우 (`파일을 찾을 수 없습니다.`) | +| 500 | Internal Server Error | 삭제 처리 중 예외 (`파일 삭제에 실패했습니다.`) | @@ -2293,19 +2600,111 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (접수된 신고 케이스 = `ReportResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 신고 케이스 기본 키 (boards_reports 1행 = 1케이스) | +| board_id | integer | `1` | 신고가 접수된 게시판 식별자 | +| board | object | `{"id":1,"name":"API 문서 샘플 게시판","slug":"apidoc-sample-board","title":null,"current_status":null,"deleted_at":null}` | 게시판 정보 (id/name/slug + 신고 대상 제목·현재 상태·삭제 일시) | +| target_type | string | `comment` | 신고 대상 유형 (`post` 게시글 / `comment` 댓글 — ReportType Enum 값) | +| target_type_label | string | `댓글` | 신고 대상 유형의 표시 라벨 | +| target_id | integer | `760` | 신고 대상(댓글) 식별자 | +| post_id | integer | `237` | 신고 대상 댓글이 속한 게시글 식별자 | +| content | null | `null` | 신고 대상 본문 (상세 조회 라우트에서만 채워지며, 접수 응답에서는 null) | +| content_mode | string | `text` | 신고 대상 본문 편집 모드 (html / text) | +| content_preview | string | `API 문서 샘플 댓글입니다.` | 신고 대상 본문 미리보기 (앞 100자 — 목록/접수 응답용) | +| author | object | `{"uuid":"a234c2b1-…","name":"API 문서 샘플 사용자","email":"apidoc-sample-user@example.com","is_guest":false}` | 신고 대상의 작성자 (비회원이면 `is_guest: true`, name 은 `비회원`) | +| reporter | object \| null | `{"uuid":"…","name":"신고자","email":"reporter@example.com","is_guest":false}` | 최초 신고자 (첫 번째 신고 로그 기준) | +| reason_type | string | `spam` | 대표 신고 사유 유형 (abuse, hate_speech, spam, copyright, privacy, misinformation, sexual, violence, other) | +| reason_type_label | string | `스팸/광고` | 대표 신고 사유의 표시 라벨 | +| status | string | `pending` | 신고 케이스 처리 상태 (ReportStatus Enum 값 — 접수 직후 `pending`) | +| status_label | string | `대기` | 처리 상태의 표시 라벨 | +| status_variant | string | `warning` | 처리 상태의 UI 배지 변형값 | +| processor | null | `null` | 처리 관리자 (uuid/name — 미처리 시 null) | +| processed_at | null | `null` | 처리 일시 (미처리 시 null) | +| metadata | null | `null` | 신고 메타(IP/User-Agent) — 상세 조회 라우트에서만 노출, 접수 응답에서는 null | +| report_count | null | `null` | 케이스 누적 신고 건수 (목록 그룹 조회에서만 채워짐) | +| last_reported_at | string | `2026-07-08 10:41:34` | 마지막 신고 접수 일시 (재접수 시 갱신) | +| is_reactivated | boolean | `false` | 반려/중단 후 재접수된 케이스인지 여부 | +| target_status | null | `null` | 신고 대상의 현재 상태 (목록 그룹 조회에서만 채워짐) | +| target_trigger_type | null | `null` | 신고 대상 상태 변경 주체 (목록 그룹 조회에서만 채워짐) | +| target_status_label | null | `null` | 신고 대상 상태 표시 라벨 (목록 그룹 조회에서만 채워짐) | +| created_at | string | `2026-07-08 10:41:34` | 신고 케이스 생성 일시 | +| updated_at | string | `2026-07-08 10:41:34` | 최종 수정 일시 | +| is_owner | boolean | `true` | 현재 인증 사용자가 이 신고의 신고자인지 여부 (BaseApiResource 표준 메타) | +| abilities | object | `{"can_view":false,"can_manage":false}` | 현재 사용자의 신고 조회/관리 권한 맵 (`sirsoft-board.reports.view` / `.manage`) | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "신고가 접수되었습니다.", + "data": { + "id": 1, + "board_id": 1, + "board": { + "id": 1, + "name": "API 문서 샘플 게시판", + "slug": "apidoc-sample-board", + "title": null, + "current_status": null, + "deleted_at": null + }, + "target_type": "comment", + "target_type_label": "댓글", + "target_id": 1, + "post_id": 1, + "content": null, + "content_mode": "text", + "content_preview": "API 문서 샘플 댓글입니다.", + "author": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "email": "apidoc-sample-user@example.com", + "is_guest": false + }, + "reporter": null, + "reason_type": null, + "reason_type_label": null, + "status": "pending", + "status_label": "대기", + "status_variant": "warning", + "processor": null, + "processed_at": null, + "metadata": null, + "report_count": null, + "last_reported_at": "2026-07-08 10:41:34", + "is_reactivated": false, + "target_status": null, + "target_trigger_type": null, + "target_status_label": null, + "created_at": "2026-07-08 10:41:34", + "updated_at": "2026-07-08 10:41:34", + "is_owner": true, + "abilities": { + "can_view": false, + "can_manage": false + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 403 | Forbidden | 게시판의 신고 기능이 꺼진 경우(`이 게시판은 신고 기능이 비활성화되어 있습니다.`), 본인이 작성한 댓글 신고(`본인이 작성한 글은 신고할 수 없습니다.`), 블라인드/삭제된 대상 신고(`신고할 수 없는 대상입니다.`) | +| 404 | Not Found | 게시판 슬러그에 해당하는 게시판이 없는 경우 | +| 409 | Conflict | 동일 대상에 이미 신고한 이력이 있는 경우 (`이미 신고한 내역이 있습니다.`) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 신고 접수 중 예외 (`신고 접수에 실패했습니다.`) | @@ -2336,18 +2735,46 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| verified | boolean | `true` | 비밀번호 검증 성공 여부 (성공 응답에서는 항상 true) | +| comment_id | integer | `760` | 검증 대상 댓글 식별자 | +| verification_token | string | `G7xk3mQ8pRt1vZ...` (32자 랜덤 문자열) | 이후 수정/삭제 요청에서 비밀번호 대신 사용하는 임시 검증 토큰 | +| expires_at | string | `2026-07-08T11:41:34+09:00` | 검증 토큰 만료 시각 (ISO 8601 — 발급 후 1시간) | + +> 참고: 이 엔드포인트는 요청 본문에 `password`(문자열, 필수)를 함께 받습니다 (컨트롤러의 인라인 검증). **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "비밀번호가 확인되었습니다.", + "data": { + "verified": true, + "comment_id": 1, + "verification_token": "G7xk3mQ8pRt1vZaB4cD6eF8gH0iJ2kL4", + "expires_at": "2026-07-08T11:41:34+09:00" + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 대상이 비회원 댓글이 아닌 경우 (회원 댓글은 비밀번호 검증 대상 아님) | +| 401 | Unauthorized | 비밀번호가 일치하지 않는 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.comments.write`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 댓글이 없는 경우 (`댓글을 찾을 수 없습니다.`) | +| 422 | Unprocessable Entity | `password` 누락 등 검증 실패 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 검증 처리 중 예외 | @@ -2548,19 +2975,145 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (생성된 게시글 = `PostResource`, 상세 조회(`GET /boards/{slug}/posts/{id}`)와 동일 스키마)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `237` | 생성된 게시글 기본 키 | +| category | null | `null` | 게시글 분류(카테고리) 이름 (미지정 시 null) | +| author | object | `{"uuid":"a234c2b1-…","name":"API 문서 샘플 사용자","email":"…","avatar":null,"status":"active","status_label":"활성","is_guest":false}` | 작성자 정보 (비회원이면 `is_guest: true`) | +| is_notice | boolean | `false` | 공지 게시글 여부 | +| is_secret | boolean | `false` | 비밀글 여부 (게시판 `secret_mode` 가 always 이면 강제 true) | +| content_mode | string | `html` | 본문 편집 모드 (html: WYSIWYG/HTML, text: 일반 텍스트) | +| is_new | boolean | `true` | 신규(NEW) 표시 대상 여부 (게시판 `new_display_hours` 기준) | +| status | string | `published` | 게시 상태 (published / blinded / deleted — PostStatus Enum) | +| status_label | string | `게시됨` | 게시 상태 표시 라벨 | +| view_count | integer | `0` | 조회수 (생성 직후 0) | +| comment_count | integer | `0` | 댓글 수 (집계) | +| reply_count | integer | `0` | 답변글 수 (집계) | +| attachment_count | integer | `0` | 첨부 수 (집계) | +| has_attachment | boolean | `false` | 첨부 보유 여부 | +| thumbnail | null | `null` | 썸네일 이미지 URL (첫 이미지 첨부 — 없으면 null) | +| parent_id | null | `null` | 답변글의 원글 식별자 (원글이면 null) | +| depth | integer | `0` | 계층 트리 깊이 (0 = 원글) | +| is_reply | boolean | `false` | 답변글 여부 | +| created_at | string | `2026-07-08 10:41:34` | 생성 일시 | +| created_at_formatted | string | `방금 전` | `created_at` 의 표시용 포맷 문자열 | +| is_author | boolean | `true` | 현재 사용자가 작성자인지 여부 | +| is_guest_post | boolean | `false` | 비회원 작성 게시글 여부 | +| title | string | `API 문서 샘플 게시글` | 제목 | +| content | string | `

API 레퍼런스 실측용 완전 샘플 게시글 본문입니다.

` | 본문 내용 | +| user_id | string | `a234c2b1-cde8-437f-b28b-23323be2b98d` | 작성자 UUID (비회원이면 null) | +| trigger_type | string \| null | `null` | 상태 변경/삭제를 유발한 주체 (user/admin/report/system/auto_hide/cascade — TriggerType Enum, 생성 직후 null) | +| updated_at | string | `2026-07-08 10:41:34` | 최종 수정 일시 | +| deleted_at | null | `null` | 소프트 삭제 일시 (미삭제 시 null) | +| ip_address | string \| null | `null` | 작성 IP (admin.manage 권한 보유자에게만 노출, 그 외 null) | +| action_logs | array \| null | `null` | 블라인드/복원/삭제 등 운영 처리 이력 (admin.manage 권한 보유자만) | +| board | object | `{"id":1,"slug":"apidoc-sample-board","name":"API 문서 샘플 게시판","type":"basic", …}` | 게시글이 속한 게시판 정보 + 댓글/답변/신고/조회수 설정 및 신고 유형 목록 | +| navigation | null | `null` | 이전/다음 글 정보 (별도 navigation 엔드포인트로 비동기 로딩) | +| parent | null | `null` | 답변글의 원글 객체 (원글이면 null) | +| comments | null | `null` | 댓글 목록 (생성 응답에서는 관계 미로드 → null) | +| attachments | null | `null` | 첨부파일 목록 (생성 응답에서는 관계 미로드 → null) | +| replies | null | `null` | 답변글 목록 (관계 미로드 시 null) | +| is_already_reported | boolean | `false` | 현재 사용자가 이 게시글을 이미 신고했는지 여부 | +| is_owner | boolean | `true` | 현재 인증 사용자가 소유자인지 여부 (BaseApiResource 표준 메타) | +| abilities | object | `{"can_read":true,"can_write":true,"can_read_secret":false,"can_read_comments":true,"can_write_comments":true,"can_upload":true,"can_download":true,"can_manage":false,"can_access_admin":false}` | 현재 사용자의 게시판별 세부 권한 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "게시글이 등록되었습니다.", + "data": { + "id": 1, + "category": null, + "author": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "email": "apidoc-sample-user@example.com", + "avatar": null, + "status": "active", + "status_label": "활성", + "is_guest": false + }, + "is_notice": false, + "is_secret": false, + "content_mode": "html", + "is_new": true, + "status": "published", + "status_label": "게시됨", + "view_count": 0, + "comment_count": 0, + "reply_count": 0, + "attachment_count": 0, + "has_attachment": false, + "thumbnail": null, + "parent_id": null, + "depth": 0, + "is_reply": false, + "created_at": "2026-07-08 10:41:34", + "created_at_formatted": "방금 전", + "is_author": true, + "is_guest_post": false, + "title": "API 문서 샘플 게시글", + "content": "

API 레퍼런스 실측용 완전 샘플 게시글 본문입니다.

", + "user_id": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "trigger_type": null, + "updated_at": "2026-07-08 10:41:34", + "deleted_at": null, + "ip_address": null, + "action_logs": null, + "board": { + "id": 1, + "slug": "apidoc-sample-board", + "name": "API 문서 샘플 게시판", + "type": "basic", + "use_comment": true, + "use_reply": true, + "use_report": true, + "show_view_count": true, + "max_reply_depth": 5, + "max_comment_depth": 10, + "report_types": [ + { "value": "abuse", "label": "욕설/비방" }, + { "value": "spam", "label": "스팸/광고" } + ] + }, + "navigation": null, + "parent": null, + "comments": null, + "attachments": null, + "replies": null, + "is_already_reported": false, + "is_owner": true, + "abilities": { + "can_read": true, + "can_write": true, + "can_read_secret": false, + "can_read_comments": true, + "can_write_comments": true, + "can_upload": true, + "can_download": true, + "can_manage": false, + "can_access_admin": false + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.posts.write`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.posts.write`)이 없는 경우, 게시판이 파일 업로드를 허용하지 않는데 파일을 첨부한 경우(`이 게시판은 파일 업로드가 허용되지 않습니다.`), 첨부 업로드 권한이 없는 경우, 비밀글 기능이 꺼진 게시판에 `is_secret=true` 로 요청한 경우 | +| 404 | Not Found | 게시판 슬러그에 해당하는 활성 게시판이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지 — 제목/본문 길이, 금지어, 작성 쿨다운 등) | +| 500 | Internal Server Error | 게시글 저장 중 예외 (`게시글 등록에 실패했습니다.`) | @@ -2783,7 +3336,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만). 컨트롤러가 `success('...posts.delete_success')` 를 데이터 없이 호출하며, 삭제는 소프트 삭제입니다._ **응답 예시** @@ -2803,8 +3356,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.posts.write| sirsoft-board.{slug}.manager`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.posts.write\|sirsoft-board.{slug}.manager`)이 없거나, 작성자 본인·게시판 관리자·비회원 글 검증(토큰/비밀번호) 중 어느 조건도 만족하지 않는 경우 (`게시글 삭제 권한이 없습니다.`) | +| 404 | Not Found | 활성 게시판 또는 게시글이 없는 경우 | +| 500 | Internal Server Error | 삭제 처리 중 예외 (`게시글 삭제에 실패했습니다.`) | @@ -3257,8 +3811,7 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.posts.write| sirsoft-board.{slug}.manager`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.posts.write\|sirsoft-board.{slug}.manager`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -3357,19 +3910,124 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드. 검증 성공 시 `password_verified` 플래그가 설정되어 게시글 상세(`PostResource`)를 그대로 반환합니다 — 즉 `GET /boards/{slug}/posts/{id}` 와 동일 스키마이며, 차이는 비밀글이라도 `content` 와 `attachments` 가 채워진다는 점입니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `237` | 게시글 기본 키 | +| title | string | `API 문서 샘플 게시글` | 제목 | +| content | string | `

비밀글 본문입니다.

` | 본문 내용 (비밀번호 검증 성공으로 노출됨) | +| content_mode | string | `html` | 본문 편집 모드 (html / text) | +| category | null | `null` | 게시글 분류 | +| author | object | `{"uuid":null,"name":"비회원 작성자","email":null,"avatar":null,"status":null,"status_label":null,"is_guest":true}` | 작성자 정보 | +| is_secret | boolean | `true` | 비밀글 여부 | +| is_notice | boolean | `false` | 공지 여부 | +| status | string | `published` | 게시 상태 (PostStatus Enum 값) | +| status_label | string | `게시됨` | 게시 상태 표시 라벨 | +| view_count | integer | `43` | 조회수 | +| comment_count | integer | `0` | 댓글 수 (집계) | +| reply_count | integer | `0` | 답변글 수 (집계) | +| attachment_count | integer | `1` | 첨부 수 (집계) | +| has_attachment | boolean | `true` | 첨부 보유 여부 | +| attachments | array | `[{"id":155,"hash":"apidocsmpl1","original_filename":"apidoc.pdf", …}]` | 첨부파일 목록 (검증 성공으로 노출됨) | +| comments | array | `[]` | 댓글 목록 (관계 로드 시) | +| parent_id | null | `null` | 답변글의 원글 식별자 | +| depth | integer | `0` | 계층 트리 깊이 | +| is_reply | boolean | `false` | 답변글 여부 | +| created_at | string | `2026-07-08 10:41:34` | 생성 일시 | +| created_at_formatted | string | `4시간 전` | 표시용 일시 포맷 | +| updated_at | string | `2026-07-08 10:41:34` | 최종 수정 일시 | +| deleted_at | null | `null` | 소프트 삭제 일시 | +| is_author | boolean | `false` | 현재 사용자가 작성자인지 여부 | +| is_guest_post | boolean | `true` | 비회원 작성 게시글 여부 | +| is_owner | boolean | `false` | 현재 인증 사용자가 소유자인지 여부 (BaseApiResource 표준 메타) | +| abilities | object | `{"can_read":true,"can_write":true,"can_read_secret":false, …}` | 현재 사용자의 게시판별 세부 권한 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "비밀번호가 확인되었습니다.", + "data": { + "id": 1, + "title": "API 문서 샘플 비밀글", + "content": "

비밀글 본문입니다.

", + "content_mode": "html", + "category": null, + "author": { + "uuid": null, + "name": "비회원 작성자", + "email": null, + "avatar": null, + "status": null, + "status_label": null, + "is_guest": true + }, + "is_secret": true, + "is_notice": false, + "status": "published", + "status_label": "게시됨", + "view_count": 43, + "comment_count": 0, + "reply_count": 0, + "attachment_count": 1, + "has_attachment": true, + "attachments": [ + { + "id": 155, + "hash": "apidocsmpl1", + "original_filename": "apidoc.pdf", + "mime_type": "application/pdf", + "size": 102400, + "size_formatted": "100 KB", + "collection": "attachments", + "order": 0, + "download_url": "/api/modules/sirsoft-board/boards/apidoc-sample-board/attachment/apidocsmpl1", + "preview_url": null, + "is_image": false, + "meta": null + } + ], + "comments": [], + "parent_id": null, + "depth": 0, + "is_reply": false, + "created_at": "2026-07-08 10:41:34", + "created_at_formatted": "4시간 전", + "updated_at": "2026-07-08 10:41:34", + "deleted_at": null, + "is_author": false, + "is_guest_post": true, + "is_owner": false, + "abilities": { + "can_read": true, + "can_write": true, + "can_read_secret": false, + "can_read_comments": true, + "can_write_comments": true, + "can_upload": true, + "can_download": true, + "can_manage": false, + "can_access_admin": false + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthorized | 비밀번호가 일치하지 않는 경우 (`비밀번호가 일치하지 않습니다.` — Service 의 verifyPassword 가 반환한 에러 키/코드) | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.posts.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | 활성 게시판 또는 게시글이 없는 경우 | +| 422 | Unprocessable Entity | `password` 누락 등 검증 실패 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 검증 처리 중 예외 (`비밀번호 검증에 실패했습니다.`) | @@ -3406,19 +4064,43 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| verified | boolean | `true` | 비밀번호 검증 성공 여부 (성공 응답에서는 항상 true) | +| post_id | integer | `237` | 검증 대상 게시글 식별자 | +| verification_token | string | `G7xk3mQ8pRt1vZ...` (32자 랜덤 문자열) | 이후 수정/삭제 요청에서 비밀번호 대신 사용하는 임시 검증 토큰 (캐시에 저장, 1회 소비) | +| expires_at | string | `2026-07-08T11:41:34+09:00` | 검증 토큰 만료 시각 (PostService::storeDeleteVerifyToken 산출) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "비밀번호가 확인되었습니다.", + "data": { + "verified": true, + "post_id": 1, + "verification_token": "G7xk3mQ8pRt1vZaB4cD6eF8gH0iJ2kL4", + "expires_at": "2026-07-08T11:41:34+09:00" + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 401 | Unauthorized | 비밀번호가 일치하지 않는 경우 (Service 의 verifyPassword 가 반환한 에러 키/코드) | | 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.posts.write`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | 활성 게시판 또는 게시글이 없는 경우 | +| 422 | Unprocessable Entity | `password` 누락 등 검증 실패 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 검증 처리 중 예외 (`비밀번호 검증에 실패했습니다.`) | @@ -3561,19 +4243,88 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (생성된 댓글 = `CommentResource`, 댓글 목록(`GET .../comments`) 항목과 동일 스키마)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `760` | 생성된 댓글 기본 키 | +| post_id | integer | `237` | 댓글이 속한 게시글 식별자 | +| parent_id | integer \| null | `null` | 대댓글의 상위 댓글 식별자 (최상위 댓글이면 null) | +| content | string | `API 문서 샘플 댓글입니다.` | 댓글 본문 | +| author | object | `{"uuid":"a234c2b1-…","name":"API 문서 샘플 사용자","email":"…","avatar":null,"status":"active","status_label":"활성","is_guest":false}` | 작성자 정보 (비회원이면 `is_guest: true`) | +| is_secret | boolean | `false` | 비밀 댓글 여부 | +| status | string | `published` | 게시 상태 (published / blinded / deleted — PostStatus Enum 값) | +| status_label | string | `게시됨` | 게시 상태 표시 라벨 | +| depth | integer | `0` | 대댓글 계층 깊이 (0 = 최상위) | +| replies_count | integer | `0` | 이 댓글에 달린 대댓글 수 (생성 직후 0) | +| created_at | string | `2026-07-08 10:41:34` | 생성 일시 | +| created_at_formatted | string | `방금 전` | 표시용 일시 포맷 | +| updated_at | string | `2026-07-08 10:41:34` | 최종 수정 일시 | +| deleted_at | null | `null` | 소프트 삭제 일시 (미삭제 시 null) | +| is_cascade_deleted | boolean | `false` | 게시글 삭제로 함께 숨겨진(cascade) 댓글인지 여부 | +| ip_address | string \| null | `null` | 작성 IP (admin.manage 권한 보유자에게만 노출) | +| action_logs | array \| null | `null` | 블라인드/복원/삭제 등 운영 처리 이력 (admin.manage 권한 보유자만) | +| is_author | boolean | `true` | 현재 사용자가 작성자인지 여부 | +| is_guest_comment | boolean | `false` | 비회원 작성 댓글 여부 | +| is_already_reported | boolean | `false` | 현재 사용자가 이 댓글을 이미 신고했는지 여부 | +| is_owner | boolean | `true` | 현재 인증 사용자가 소유자인지 여부 (BaseApiResource 표준 메타) | +| abilities | object | `{"can_write":true}` | 현재 사용자의 댓글 작성 권한 맵 (사용자 라우트는 `can_write` 만 노출) | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "댓글이 등록되었습니다.", + "data": { + "id": 1, + "post_id": 1, + "parent_id": null, + "content": "API 문서 샘플 댓글입니다.", + "author": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "email": "apidoc-sample-user@example.com", + "avatar": null, + "status": "active", + "status_label": "활성", + "is_guest": false + }, + "is_secret": false, + "status": "published", + "status_label": "게시됨", + "depth": 0, + "replies_count": 0, + "created_at": "2026-07-08 10:41:34", + "created_at_formatted": "방금 전", + "updated_at": "2026-07-08 10:41:34", + "deleted_at": null, + "is_cascade_deleted": false, + "ip_address": null, + "action_logs": null, + "is_author": true, + "is_guest_comment": false, + "is_already_reported": false, + "is_owner": true, + "abilities": { + "can_write": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.comments.write`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.comments.write`)이 없거나, 게시판의 댓글 기능이 꺼진 경우 (`이 게시판은 댓글 기능이 비활성화되어 있습니다.`) | +| 404 | Not Found | 게시판 슬러그에 해당하는 게시판이 없는 경우 (`게시판을 찾을 수 없습니다.`) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지 — 댓글 길이, 금지어, 작성 쿨다운 등) | +| 500 | Internal Server Error | 댓글 저장 중 예외 (`댓글 등록에 실패했습니다.`) | @@ -3605,7 +4356,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만). 컨트롤러가 `success('...comment.delete_success')` 를 데이터 없이 호출하며, 삭제는 소프트 삭제입니다._ **응답 예시** @@ -3625,8 +4376,9 @@ HTTP/1.1 200 | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.comments.write| sirsoft-board.{slug}.manager`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.comments.write\|sirsoft-board.{slug}.manager`)이 없거나, 게시판의 댓글 기능이 꺼진 경우, 또는 작성자 본인·게시판 관리자·비회원 댓글 비밀번호 확인 중 어느 조건도 만족하지 않는 경우 (`댓글 삭제 권한이 없습니다.`) | +| 404 | Not Found | 게시판 또는 댓글이 없는 경우 (`댓글을 찾을 수 없습니다.`) | +| 500 | Internal Server Error | 삭제 처리 중 예외 (`댓글 삭제에 실패했습니다.`) | @@ -3660,20 +4412,90 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (수정된 댓글 = `CommentResource`, 댓글 목록 항목과 동일 스키마)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `760` | 댓글 기본 키 | +| post_id | integer | `237` | 댓글이 속한 게시글 식별자 | +| parent_id | integer \| null | `null` | 대댓글의 상위 댓글 식별자 | +| content | string | `수정된 댓글 본문입니다.` | 수정된 댓글 본문 | +| author | object | `{"uuid":"a234c2b1-…","name":"API 문서 샘플 사용자","email":"…","avatar":null,"status":"active","status_label":"활성","is_guest":false}` | 작성자 정보 | +| is_secret | boolean | `false` | 비밀 댓글 여부 | +| status | string | `published` | 게시 상태 (PostStatus Enum 값) | +| status_label | string | `게시됨` | 게시 상태 표시 라벨 | +| depth | integer | `0` | 대댓글 계층 깊이 | +| replies_count | integer | `0` | 대댓글 수 (집계) | +| created_at | string | `2026-07-08 10:41:34` | 생성 일시 | +| created_at_formatted | string | `4시간 전` | 표시용 일시 포맷 | +| updated_at | string | `2026-07-08 11:02:10` | 최종 수정 일시 (수정 후 갱신됨) | +| deleted_at | null | `null` | 소프트 삭제 일시 | +| is_cascade_deleted | boolean | `false` | 게시글 삭제로 함께 숨겨진(cascade) 댓글인지 여부 | +| ip_address | string \| null | `null` | 작성 IP (admin.manage 권한 보유자에게만 노출) | +| action_logs | array \| null | `null` | 운영 처리 이력 (admin.manage 권한 보유자만) | +| is_author | boolean | `true` | 현재 사용자가 작성자인지 여부 | +| is_guest_comment | boolean | `false` | 비회원 작성 댓글 여부 | +| is_already_reported | boolean | `false` | 현재 사용자가 이 댓글을 이미 신고했는지 여부 | +| is_owner | boolean | `true` | 현재 인증 사용자가 소유자인지 여부 (BaseApiResource 표준 메타) | +| abilities | object | `{"can_write":true}` | 현재 사용자의 댓글 작성 권한 맵 | + +> 참고: 비회원 댓글 수정 시 함께 보내는 `password` 는 소유 검증용으로만 사용되며 저장 대상에서 제외됩니다. **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "댓글이 수정되었습니다.", + "data": { + "id": 1, + "post_id": 1, + "parent_id": null, + "content": "수정된 댓글 본문입니다.", + "author": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "email": "apidoc-sample-user@example.com", + "avatar": null, + "status": "active", + "status_label": "활성", + "is_guest": false + }, + "is_secret": false, + "status": "published", + "status_label": "게시됨", + "depth": 0, + "replies_count": 0, + "created_at": "2026-07-08 10:41:34", + "created_at_formatted": "4시간 전", + "updated_at": "2026-07-08 11:02:10", + "deleted_at": null, + "is_cascade_deleted": false, + "ip_address": null, + "action_logs": null, + "is_author": true, + "is_guest_comment": false, + "is_already_reported": false, + "is_owner": true, + "abilities": { + "can_write": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.comments.write| sirsoft-board.{slug}.manager`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-board.{slug}.comments.write\|sirsoft-board.{slug}.manager`)이 없거나, 게시판의 댓글 기능이 꺼진 경우, 또는 작성자 본인·게시판 관리자·비회원 댓글 비밀번호 확인 중 어느 조건도 만족하지 않는 경우 (`댓글 수정 권한이 없습니다.`) | +| 404 | Not Found | 게시판 또는 댓글이 없는 경우 (`댓글을 찾을 수 없습니다.`) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 수정 처리 중 예외 (`댓글 수정에 실패했습니다.`) | @@ -3712,19 +4534,111 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (접수된 신고 케이스 = `ReportResource` — 댓글 신고 응답과 동일 스키마이며 `target_type` 만 `post` 로 다릅니다)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 신고 케이스 기본 키 | +| board_id | integer | `1` | 신고가 접수된 게시판 식별자 | +| board | object | `{"id":1,"name":"API 문서 샘플 게시판","slug":"apidoc-sample-board","title":"API 문서 샘플 게시글","current_status":null,"deleted_at":null}` | 게시판 정보 + 신고 대상 제목/현재 상태 | +| target_type | string | `post` | 신고 대상 유형 (`post` 게시글 — ReportType Enum 값) | +| target_type_label | string | `게시글` | 신고 대상 유형 표시 라벨 | +| target_id | integer | `237` | 신고 대상(게시글) 식별자 | +| post_id | integer | `237` | 신고 대상 게시글 식별자 (게시글 신고에서는 `target_id` 와 동일) | +| content | null | `null` | 신고 대상 본문 (상세 조회 라우트에서만 채워짐) | +| content_mode | string | `html` | 신고 대상 본문 편집 모드 (html / text) | +| content_preview | string | `API 레퍼런스 실측용 완전 샘플 게시글 본문입니다.` | 신고 대상 본문 미리보기 (앞 100자) | +| author | object | `{"uuid":"a234c2b1-…","name":"API 문서 샘플 사용자","email":"…","is_guest":false}` | 신고 대상 게시글의 작성자 | +| reporter | object \| null | `{"uuid":"…","name":"신고자","email":"reporter@example.com","is_guest":false}` | 최초 신고자 (첫 번째 신고 로그 기준) | +| reason_type | string | `spam` | 대표 신고 사유 유형 (abuse, hate_speech, spam, copyright, privacy, misinformation, sexual, violence, other) | +| reason_type_label | string | `스팸/광고` | 대표 신고 사유 표시 라벨 | +| status | string | `pending` | 신고 케이스 처리 상태 (접수 직후 `pending`) | +| status_label | string | `대기` | 처리 상태 표시 라벨 | +| status_variant | string | `warning` | 처리 상태 UI 배지 변형값 | +| processor | null | `null` | 처리 관리자 (uuid/name — 미처리 시 null) | +| processed_at | null | `null` | 처리 일시 (미처리 시 null) | +| metadata | null | `null` | 신고 메타(IP/User-Agent) — 상세 조회 라우트에서만 노출 | +| report_count | null | `null` | 케이스 누적 신고 건수 (목록 그룹 조회에서만 채워짐) | +| last_reported_at | string | `2026-07-08 10:41:34` | 마지막 신고 접수 일시 | +| is_reactivated | boolean | `false` | 반려/중단 후 재접수된 케이스인지 여부 | +| target_status | null | `null` | 신고 대상 현재 상태 (목록 그룹 조회에서만 채워짐) | +| target_trigger_type | null | `null` | 신고 대상 상태 변경 주체 (목록 그룹 조회에서만 채워짐) | +| target_status_label | null | `null` | 신고 대상 상태 표시 라벨 (목록 그룹 조회에서만 채워짐) | +| created_at | string | `2026-07-08 10:41:34` | 신고 케이스 생성 일시 | +| updated_at | string | `2026-07-08 10:41:34` | 최종 수정 일시 | +| is_owner | boolean | `true` | 현재 인증 사용자가 이 신고의 신고자인지 여부 | +| abilities | object | `{"can_view":false,"can_manage":false}` | 현재 사용자의 신고 조회/관리 권한 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "신고가 접수되었습니다.", + "data": { + "id": 1, + "board_id": 1, + "board": { + "id": 1, + "name": "API 문서 샘플 게시판", + "slug": "apidoc-sample-board", + "title": "API 문서 샘플 게시글", + "current_status": null, + "deleted_at": null + }, + "target_type": "post", + "target_type_label": "게시글", + "target_id": 1, + "post_id": 1, + "content": null, + "content_mode": "html", + "content_preview": "API 레퍼런스 실측용 완전 샘플 게시글 본문입니다.", + "author": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "email": "apidoc-sample-user@example.com", + "is_guest": false + }, + "reporter": null, + "reason_type": null, + "reason_type_label": null, + "status": "pending", + "status_label": "대기", + "status_variant": "warning", + "processor": null, + "processed_at": null, + "metadata": null, + "report_count": null, + "last_reported_at": "2026-07-08 10:41:34", + "is_reactivated": false, + "target_status": null, + "target_trigger_type": null, + "target_status_label": null, + "created_at": "2026-07-08 10:41:34", + "updated_at": "2026-07-08 10:41:34", + "is_owner": true, + "abilities": { + "can_view": false, + "can_manage": false + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 403 | Forbidden | 게시판의 신고 기능이 꺼진 경우(`이 게시판은 신고 기능이 비활성화되어 있습니다.`), 본인이 작성한 글 신고(`본인이 작성한 글은 신고할 수 없습니다.`), 블라인드/삭제된 대상 신고(`신고할 수 없는 대상입니다.`) | +| 404 | Not Found | 게시판 슬러그에 해당하는 게시판이 없는 경우 | +| 409 | Conflict | 동일 대상에 이미 신고한 이력이 있는 경우 (`이미 신고한 내역이 있습니다.`) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 신고 접수 중 예외 (`신고 접수에 실패했습니다.`) | diff --git a/modules/_bundled/sirsoft-board/docs/api/reports.md b/modules/_bundled/sirsoft-board/docs/api/reports.md index 51dd3448..951d84ae 100644 --- a/modules/_bundled/sirsoft-board/docs/api/reports.md +++ b/modules/_bundled/sirsoft-board/docs/api/reports.md @@ -217,11 +217,31 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| affected_count | integer | `3` | 실제로 상태가 변경된 신고 건수 (영구삭제·동일 상태 등 전환 불가 건은 제외) | +| restored_count | integer | `1` | 상태 변경(반려 등)에 따라 공개 상태로 복구된 대상 콘텐츠 건수 | +| manual_blind_restored | integer | `1` | 그중 관리자 수동 블라인드(`admin` 트리거)였다가 함께 복구된 건수 | +| status_label | string | `반려` | 전환된 신고 상태의 사람이 읽는 라벨 (`ReportStatus::label()` 산물) | +| message | string | `3개 신고를 반려(으)로 변경했습니다.` | 화면에 그대로 노출 가능한 안내 문구 (봉투 최상위 `message` 와 동일 값) | **응답 예시** - +```json +{ + "success": true, + "message": "3개 신고를 반려(으)로 변경했습니다. 수동 블라인드 처리된 1건이 함께 복구되었습니다.", + "data": { + "affected_count": 3, + "restored_count": 1, + "manual_blind_restored": 1, + "status_label": "반려", + "message": "3개 신고를 반려(으)로 변경했습니다. 수동 블라인드 처리된 1건이 함께 복구되었습니다." + } +} +``` **에러 응답** @@ -230,6 +250,7 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.reports.manage`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 일괄 상태 변경 처리 중 오류가 발생한 경우 (`sirsoft-board::messages.reports.bulk_status_update_failed`) | @@ -268,11 +289,57 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| status_counts | object | `{"pending":{"count":2,"label":"접수"},"deleted":{"count":1,"label":"영구삭제"}}` | 선택된 신고들의 현재 상태별 집계 맵. 키는 상태 코드(pending/review/rejected/suspended/deleted), 값은 `{count, label}` | +| changeable_status_counts | object | `{"pending":{"count":2,"label":"접수"}}` | `status_counts` 에서 영구삭제(deleted)와 전환 대상 상태(`target_status`)를 제외한 집계 (실제로 변경될 항목만) | +| total_count | integer | `3` | 요청한 `ids` 의 총 개수 | +| changeable_count | integer | `2` | 실제로 상태 변경이 가능한 건수 (`total_count` − `unchangeable_count`) | +| deleted_count | integer | `1` | 선택 항목 중 영구삭제(deleted) 상태로 변경 불가한 건수 | +| same_status_count | integer | `0` | 선택 항목 중 이미 `target_status` 와 동일해 변경이 무의미한 건수 (`target_status` 가 deleted 이면 0) | +| unchangeable_count | integer | `1` | 변경 불가 총 건수 (`deleted_count` + `same_status_count`) | +| all_deleted | boolean | `false` | 선택 항목이 모두 영구삭제 상태인지 여부 | +| all_unchangeable | boolean | `false` | 선택 항목 전부가 변경 불가인지 여부 (`changeable_count === 0`) | +| target_status_label | string \| null | `반려` | `target_status` 의 사람이 읽는 라벨. `target_status` 미지정 시 null | +| restorable_blind_count | integer | `1` | `target_status` 가 `rejected` 일 때, 반려 처리로 공개 상태로 복구될 블라인드 대상 건수 (그 외 상태에서는 0) | **응답 예시** - +```json +{ + "success": true, + "message": "상태별 건수를 조회했습니다.", + "data": { + "status_counts": { + "pending": { + "count": 2, + "label": "접수" + }, + "deleted": { + "count": 1, + "label": "영구삭제" + } + }, + "changeable_status_counts": { + "pending": { + "count": 2, + "label": "접수" + } + }, + "total_count": 3, + "changeable_count": 2, + "deleted_count": 1, + "same_status_count": 0, + "unchangeable_count": 1, + "all_deleted": false, + "all_unchangeable": false, + "target_status_label": "반려", + "restorable_blind_count": 1 + } +} +``` **에러 응답** @@ -281,6 +348,7 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.reports.view`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 상태별 건수 집계 중 오류가 발생한 경우 (`sirsoft-board::messages.reports.status_counts_failed`) | @@ -310,7 +378,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** @@ -573,20 +641,109 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ReportResource` — 상태 변경 후 재조회한 신고 케이스)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| board_id | integer \| null | `1` | 게시판 ID (게시판 삭제 시 null) | +| board | object | `{"id":1,"name":"공지사항","slug":"notice","title":"...","current_status":"blinded","deleted_at":null}` | 신고 대상이 속한 게시판 정보 + 대상 제목/현재 상태. 게시판 삭제 시 첫 신고 로그의 스냅샷 값으로 폴백합니다. | +| target_type | string | `post` | 신고 대상 타입 (`post`, `comment`) | +| target_type_label | string | `게시글` | `target_type` 값의 사람이 읽는 라벨 | +| target_id | integer | `1` | 신고 대상 ID (동적 테이블의 ID) | +| post_id | integer \| null | `1` | 대상 게시글 ID. 대상이 댓글이면 상위 게시글 ID | +| content | null | `null` | 본문 내용 (상세(`show`) 요청에서만 채워지며, 상태 변경 응답에서는 null) | +| content_mode | string | `html` | 대상 본문의 형식 모드 (`text`/`html`). 스냅샷이 없으면 `text` | +| content_preview | string | `API 레퍼런스 실측용 완전 샘플 게시글 본문입니다.` | 대상 본문의 미리보기 (앞 100자 발췌) | +| author | object | `{"uuid":"...","name":"홍길동","email":"user@example.com","is_guest":false}` | 신고 대상 콘텐츠의 작성자. 회원 정보가 없으면 스냅샷 이름 + `is_guest: true` | +| reporter | object \| null | `{"uuid":"...","name":"신고자","email":"reporter@example.com","is_guest":false}` | 대표 신고자(첫 번째 신고 로그) 정보. 신고 로그가 없으면 null | +| reason_type | string \| null | `abuse` | 대표 신고 사유 코드 (첫 신고 로그의 사유 Enum 값) | +| reason_type_label | string \| null | `욕설/비방` | `reason_type` 의 사람이 읽는 라벨 | +| status | string | `rejected` | 변경된 신고 상태 (`pending`, `review`, `rejected`, `suspended`, `deleted`) | +| status_label | string | `반려` | 상태의 사람이 읽는 라벨 (`ReportStatus::label()`) | +| status_variant | string | `info` | 상태 배지 색상/스타일 변형 키 (`ReportStatus::variant()`) | +| processor | object \| null | `{"uuid":"...","name":"관리자"}` | 상태를 변경한 처리 관리자 (uuid/name). 미지정 시 null | +| processed_at | string \| null | `2026-07-08 10:41:34` | 처리 일시 | +| metadata | null | `null` | 메타데이터 (상세(`show`) 요청에서만 채워지며, 상태 변경 응답에서는 null) | +| report_count | integer \| null | `null` | 케이스 신고 건수 집계. 목록(`paginateGrouped`) 응답에서만 채워지며 단건 재조회에서는 null | +| last_reported_at | string \| null | `2026-07-08 10:41:34` | 마지막 신고 일시 (재접수 시 갱신) | +| is_reactivated | boolean | `false` | 반려/중단 후 재접수된 케이스인지 여부 (`last_activated_at` 존재 여부) | +| target_status | null | `null` | 대상 콘텐츠의 현재 상태. 목록 조회의 서브쿼리로만 주입되며 단건 재조회에서는 null | +| target_trigger_type | null | `null` | 대상 상태를 유발한 트리거 유형. 목록 조회에서만 채워지며 단건 재조회에서는 null | +| target_status_label | null | `null` | `target_status` 의 라벨. `target_status` 가 없으면 null | +| created_at | string | `2026-07-08 10:41:34` | 생성 일시 | +| updated_at | string | `2026-07-08 10:42:10` | 최종 수정 일시 | +| is_owner | boolean | `false` | 현재 인증 사용자가 이 리소스의 소유자(`reporter_id`)인지 여부 | +| abilities | object | `{"can_view":true,"can_manage":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```json +{ + "success": true, + "message": "신고 상태가 변경되었습니다.", + "data": { + "id": 1, + "board_id": 1, + "board": { + "id": 1, + "name": "API 문서 샘플 게시판", + "slug": "apidoc-sample-board", + "title": "API 문서 샘플 게시글", + "current_status": "published", + "deleted_at": null + }, + "target_type": "post", + "target_type_label": "게시글", + "target_id": 1, + "post_id": 1, + "content": null, + "content_mode": "html", + "content_preview": "

API 레퍼런스 실측용 완전 샘플 게시글 본문입니다.

", + "author": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "email": "apidoc-sample-user@example.com", + "is_guest": false + }, + "reporter": null, + "reason_type": null, + "reason_type_label": null, + "status": "rejected", + "status_label": "반려", + "status_variant": "info", + "processor": { + "uuid": "a1e0a91a-fba6-491c-a53e-7285a5686857", + "name": "관리자" + }, + "processed_at": "2026-07-08 10:42:10", + "metadata": null, + "report_count": null, + "last_reported_at": "2026-07-08 10:41:34", + "is_reactivated": false, + "target_status": null, + "target_trigger_type": null, + "target_status_label": null, + "created_at": "2026-07-08 10:41:34", + "updated_at": "2026-07-08 10:42:10", + "is_owner": false, + "abilities": { + "can_view": true, + "can_manage": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`sirsoft-board.reports.manage`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-board.reports.manage`)이 없거나, 권한 스코프(본인만/역할 범위)를 벗어난 신고에 접근한 경우 (`auth.scope_denied`) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). 영구삭제(`deleted`) 상태 신고의 상태를 변경하려 한 경우에도 422 (`sirsoft-board::messages.reports.cannot_change_deleted_status`) | +| 500 | Internal Server Error | 상태 변경 처리 중 오류가 발생한 경우 (`sirsoft-board::messages.reports.status_update_failed`) | diff --git a/modules/_bundled/sirsoft-board/docs/api/settings.md b/modules/_bundled/sirsoft-board/docs/api/settings.md index a96bf309..432e3097 100644 --- a/modules/_bundled/sirsoft-board/docs/api/settings.md +++ b/modules/_bundled/sirsoft-board/docs/api/settings.md @@ -363,36 +363,36 @@ HTTP/1.1 200 | notifications | body | array | 아니오 | — | 알림 채널 설정. `channels` 배열의 각 항목에 채널 식별자(id), 활성화 여부(is_active), 정렬 순서(sort_order)를 담아 저장합니다. | | basic_defaults | body | array | 아니오 | — | 기본 설정 카테고리 값. 게시판 타입·페이지당 글 수·정렬·댓글/답글·길이 제한·파일 업로드·기본 권한 등 basic_defaults 하위 키를 저장합니다. `basic_defaults.allowed_extensions` 는 `basic_defaults.use_file_upload` 가 `true` 일 때만 최소 1개가 필수이며, `false`/`null` 이면 검증에서 제외되어 빈 배열도 허용됩니다. `min_title_length`·`min_comment_length`·`new_display_hours` 의 하한은 `config('sirsoft-board.limits')` 선언을 따르며 `0` 을 허용합니다. | | report_policy | body | array | 아니오 | — | 신고 정책 카테고리 값. 자동 숨김 임계치/대상, 일일 신고 한도, 거부 누적 제한, 관리자·작성자 신고 알림 설정을 저장합니다. | -| report_policy.auto_hide_threshold | body | integer | 아니오 | min 0, max 100 | | -| report_policy.auto_hide_target | body | string | 아니오 | `post`, `comment`, `both` | | -| report_policy.daily_report_limit | body | integer | 아니오 | min 0, max 100 | | -| report_policy.rejection_limit_count | body | integer | 아니오 | min 0, max 50 | | -| report_policy.rejection_limit_days | body | integer | 아니오 | min 1, max 365 | | -| report_policy.notify_admin_on_report | body | boolean | 아니오 | — | | -| report_policy.notify_admin_on_report_scope | body | string | 아니오 | `per_case`, `per_report` | | -| report_policy.notify_admin_on_report_channels | body | array | 아니오 | — | | -| report_policy.notify_author_on_report_action | body | boolean | 아니오 | — | | -| report_policy.notify_author_on_report_action_channels | body | array | 아니오 | — | | +| report_policy.auto_hide_threshold | body | integer | 아니오 | min 0, max 100 | 자동 숨김 신고 수 (이 횟수 이상 신고되면 자동 숨김 처리) | +| report_policy.auto_hide_target | body | string | 아니오 | `post`, `comment`, `both` | 자동 숨김 대상 (게시글 / 댓글 / 둘 다) | +| report_policy.daily_report_limit | body | integer | 아니오 | min 0, max 100 | 사용자별 일일 신고 한도 | +| report_policy.rejection_limit_count | body | integer | 아니오 | min 0, max 50 | 신고 기각 한도 (누적 기각 횟수 제한) | +| report_policy.rejection_limit_days | body | integer | 아니오 | min 1, max 365 | 신고 기각 한도 산정 기간(일) | +| report_policy.notify_admin_on_report | body | boolean | 아니오 | — | 신고 접수 시 관리자 알림 발송 여부 | +| report_policy.notify_admin_on_report_scope | body | string | 아니오 | `per_case`, `per_report` | 관리자 신고 알림 발송 단위 (신고 대상 건별 / 개별 신고마다) | +| report_policy.notify_admin_on_report_channels | body | array | 아니오 | — | 관리자 신고 알림 발송 채널 목록 | +| report_policy.notify_author_on_report_action | body | boolean | 아니오 | — | 신고 처리 결과를 작성자에게 알릴지 여부 | +| report_policy.notify_author_on_report_action_channels | body | array | 아니오 | — | 작성자 신고 처리 알림 발송 채널 목록 | | report_permissions | body | array | 아니오 | — | 신고 관리 권한 역할. `view_roles`(조회 역할)와 `manage_roles`(관리 역할)의 역할 식별자 배열이며, 포함 시 설정 저장과 별개로 DB 권한 역할이 동기화됩니다. | -| report_permissions.view_roles | body | array | 아니오 | min 1 | | -| report_permissions.manage_roles | body | array | 아니오 | min 1 | | +| report_permissions.view_roles | body | array | 아니오 | min 1 | 신고 조회 권한 역할 목록 (`report_permissions` 포함 시 필수, 최소 1개) | +| report_permissions.manage_roles | body | array | 아니오 | min 1 | 신고 처리 권한 역할 목록 (`report_permissions` 포함 시 필수, 최소 1개) | | display | body | array | 아니오 | — | 표시 설정 카테고리 값. 날짜 표시 형식(date_display_format: standard/relative) 등을 저장합니다. | -| display.date_display_format | body | string | 아니오 | `standard`, `relative` | | +| display.date_display_format | body | string | 아니오 | `standard`, `relative` | 날짜 표시 형식 (standard: 절대 표기 / relative: "3분 전" 형태의 상대 표기) | | spam_security | body | array | 아니오 | — | 스팸·보안 카테고리 값. 글·댓글·신고 작성 쿨다운 시간(초)과 조회수 캐시 TTL을 저장합니다. | -| spam_security.post_cooldown_seconds | body | integer | 아니오 | min 0, max 3600 | | -| spam_security.comment_cooldown_seconds | body | integer | 아니오 | min 0, max 3600 | | -| spam_security.report_cooldown_seconds | body | integer | 아니오 | min 0, max 3600 | | -| spam_security.view_count_cache_ttl | body | integer | 아니오 | min 60, max 604800 | | +| spam_security.post_cooldown_seconds | body | integer | 아니오 | min 0, max 3600 | 게시글 작성 쿨다운(초). 도배 방지를 위한 연속 작성 대기 시간 (0이면 제한 없음) | +| spam_security.comment_cooldown_seconds | body | integer | 아니오 | min 0, max 3600 | 댓글 작성 쿨다운(초) | +| spam_security.report_cooldown_seconds | body | integer | 아니오 | min 0, max 3600 | 신고 쿨다운(초) | +| spam_security.view_count_cache_ttl | body | integer | 아니오 | min 60, max 604800 | 조회수 캐시 유효시간(초). 동일 사용자의 중복 조회수 증가를 막는 기간 | | seo | body | array | 아니오 | — | SEO 설정 카테고리 값. 게시판 목록/개별/글 상세 페이지의 메타 제목·설명 템플릿과 각 페이지 SEO 활성화 여부를 저장합니다. | -| seo.meta_boards_title | body | string | 아니오 | max 500 | | -| seo.meta_boards_description | body | string | 아니오 | max 1000 | | -| seo.meta_board_title | body | string | 아니오 | max 500 | | -| seo.meta_board_description | body | string | 아니오 | max 1000 | | -| seo.meta_post_title | body | string | 아니오 | max 500 | | -| seo.meta_post_description | body | string | 아니오 | max 1000 | | -| seo.seo_boards | body | boolean | 아니오 | — | | -| seo.seo_board | body | boolean | 아니오 | — | | -| seo.seo_post_detail | body | boolean | 아니오 | — | | +| seo.meta_boards_title | body | string | 아니오 | max 500 | 게시판 목록 페이지의 메타 제목 템플릿 (예: `{site_name}`) | +| seo.meta_boards_description | body | string | 아니오 | max 1000 | 게시판 목록 페이지의 메타 설명 템플릿 | +| seo.meta_board_title | body | string | 아니오 | max 500 | 개별 게시판 페이지의 메타 제목 템플릿 (예: `{board_name}`) | +| seo.meta_board_description | body | string | 아니오 | max 1000 | 개별 게시판 페이지의 메타 설명 템플릿 (예: `{board_description}`) | +| seo.meta_post_title | body | string | 아니오 | max 500 | 게시글 상세 페이지의 메타 제목 템플릿 (예: `{board_name} - {post_title}`) | +| seo.meta_post_description | body | string | 아니오 | max 1000 | 게시글 상세 페이지의 메타 설명 템플릿 | +| seo.seo_boards | body | boolean | 아니오 | — | 게시판 목록 페이지의 SEO 페이지 생성 활성화 여부 | +| seo.seo_board | body | boolean | 아니오 | — | 개별 게시판 페이지의 SEO 페이지 생성 활성화 여부 | +| seo.seo_post_detail | body | boolean | 아니오 | — | 게시글 상세 페이지의 SEO 페이지 생성 활성화 여부 | **요청 예시** @@ -816,11 +816,62 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드. 성공(전체 적용 완료) 시와 중단(전체 롤백) 시의 필드 구성이 다릅니다 — 두 경우 모두 HTTP 200 입니다._ + +성공 시 (`rolled_back: false`) + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| updated_count | integer | `3` | 실제로 설정이 적용된 게시판 수 (`BoardService::bulkApplySettings()` 반환값) | +| rolled_back | boolean | `false` | 롤백 발생 여부. 성공 시 항상 `false` | + +중단·롤백 시 (`rolled_back: true`, `BulkApplyAbortedException`) + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| rolled_back | boolean | `true` | 적용 도중 실패해 전체 변경이 롤백되었음을 나타냅니다 | +| board | object\|null | `{"board_id":12,"slug":"notice","name":"공지사항"}` | 실패한 게시판 정보(`board_id`, `slug`, `name`). 컬럼 일괄 업데이트(단일 쿼리) 실패 시 게시판 특정이 불가하므로 `null` | +| board.board_id | integer | `12` | 실패한 게시판 ID | +| board.slug | string | `notice` | 실패한 게시판 슬러그 | +| board.name | string | `공지사항` | 실패한 게시판의 현재 로케일 이름 | +| failed_at | integer\|null | `2` | 실패 순번(1-base). 컬럼 업데이트 실패 시 `null` | +| total | integer | `5` | 일괄 적용 대상 게시판 총 수 | **응답 예시** - +성공 시 + +```json +{ + "success": true, + "message": "sirsoft-board::messages.settings.bulk_apply_success", + "data": { + "updated_count": 3, + "rolled_back": false + } +} +``` + +중단·롤백 시 (HTTP 200) + +```json +{ + "success": true, + "message": "sirsoft-board::messages.settings.bulk_apply_aborted", + "data": { + "rolled_back": true, + "board": { + "board_id": 12, + "slug": "notice", + "name": "공지사항" + }, + "failed_at": 2, + "total": 5 + } +} +``` + +> `message` 는 컨트롤러가 넘기는 다국어 키(`sirsoft-board::messages.settings.*`)이며, 현재 모듈 `lang/ko/messages.php` 에 `settings` 그룹이 정의되어 있지 않아 키 문자열이 그대로 노출됩니다(다른 엔드포인트 실측 응답과 동일). **에러 응답** @@ -828,7 +879,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.settings.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). `fields` 누락/빈 배열, 허용되지 않은 필드명, `apply_all=false` 인데 `board_ids` 미지정, 존재하지 않는 `board_ids` 항목 등 | +| 500 | Internal Server Error | 일괄 적용 처리 중 롤백 예외 외의 오류가 발생한 경우 (`messages.settings.bulk_apply_failed`) | @@ -856,11 +908,23 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| cleared | boolean | `true` | 캐시 초기화 수행 여부. 성공 시 항상 `true` (ModuleSettings 캐시 + 게시판 캐시 전체 초기화) | **응답 예시** - +```json +{ + "success": true, + "message": "sirsoft-board::messages.settings.clear_cache_success", + "data": { + "cleared": true + } +} +``` **에러 응답** @@ -868,6 +932,7 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.settings.update`)이 없는 경우 | +| 500 | Internal Server Error | 캐시 초기화 중 오류가 발생한 경우 (`messages.settings.clear_cache_error`) | @@ -897,11 +962,34 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| category | string | `spam_security` | 요청 경로에서 전달된 카테고리명 (그대로 반환) | +| settings | object | `{"post_cooldown_seconds":0,"comment_cooldown_seconds":0,"report_cooldown_seconds":60,"view_count_cache_ttl":86400}` | 해당 카테고리의 설정값 맵 (기본값 + 저장값 병합 결과). 정의되지 않은 카테고리명이면 빈 객체 `{}` | +| abilities | object | `{"can_update":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (`can_update` — `sirsoft-board.settings.update` 권한 보유 여부) | **응답 예시** - +```json +{ + "success": true, + "message": "sirsoft-board::messages.settings.fetch_success", + "data": { + "category": "spam_security", + "settings": { + "post_cooldown_seconds": 0, + "comment_cooldown_seconds": 0, + "report_cooldown_seconds": 60, + "view_count_cache_ttl": 86400 + }, + "abilities": { + "can_update": true + } + } +} +``` **에러 응답** @@ -910,6 +998,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-board.settings.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 500 | Internal Server Error | 설정 조회 중 오류가 발생한 경우 (`messages.settings.fetch_failed`) | diff --git a/modules/_bundled/sirsoft-board/src/Http/Controllers/Admin/PostController.php b/modules/_bundled/sirsoft-board/src/Http/Controllers/Admin/PostController.php index 0e71eb38..0af8fe5a 100644 --- a/modules/_bundled/sirsoft-board/src/Http/Controllers/Admin/PostController.php +++ b/modules/_bundled/sirsoft-board/src/Http/Controllers/Admin/PostController.php @@ -5,12 +5,14 @@ namespace Modules\Sirsoft\Board\Http\Controllers\Admin; use App\Http\Controllers\Api\Base\AdminBaseController; use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Http\JsonResponse; -use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Modules\Sirsoft\Board\Enums\PostStatus; use Modules\Sirsoft\Board\Exceptions\AttachmentLimitExceededException; use Modules\Sirsoft\Board\Exceptions\BoardNotFoundException; use Modules\Sirsoft\Board\Exceptions\PostNotFoundException; +use Modules\Sirsoft\Board\Http\Requests\Admin\PostFormDataRequest; +use Modules\Sirsoft\Board\Http\Requests\Admin\PostFormMetaRequest; +use Modules\Sirsoft\Board\Http\Requests\Admin\PostIndexRequest; use Modules\Sirsoft\Board\Http\Requests\BlindPostRequest; use Modules\Sirsoft\Board\Http\Requests\RestorePostRequest; use Modules\Sirsoft\Board\Http\Requests\StorePostRequest; @@ -51,12 +53,11 @@ class PostController extends AdminBaseController /** * 게시글 목록을 조회합니다. * - * @param Request $request HTTP 요청 + * @param PostIndexRequest $request 검증된 목록 조회 요청 * @param string $slug 게시판 슬러그 * @return JsonResponse 게시글 목록 응답 */ - // audit:allow controller-base-request-injection reason: GET 목록 조회. all()로 필터·페이징 파라미터만 읽음 (검증 불필요) - public function index(Request $request, string $slug): JsonResponse + public function index(PostIndexRequest $request, string $slug): JsonResponse { // 권한은 라우트 미들웨어에서 체크됨 (sirsoft-board.{slug}.admin.posts.read) try { @@ -392,12 +393,11 @@ class PostController extends AdminBaseController * - 수정 모드: 기존 게시글 데이터 * - 답변글 모드: 기본값이 설정된 폼 데이터 * - * @param Request $request HTTP 요청 + * @param PostFormDataRequest $request 검증된 폼 데이터 요청 * @param string $slug 게시판 슬러그 * @return JsonResponse 폼 입력 데이터 응답 */ - // audit:allow controller-base-request-injection reason: GET 수정 폼 데이터 조회. 경로 파라미터(slug) + 쿼리만 read-only 참조 (검증 불필요) - public function getFormData(Request $request, string $slug): JsonResponse + public function getFormData(PostFormDataRequest $request, string $slug): JsonResponse { // 권한은 라우트 미들웨어에서 체크됨 (sirsoft-board.{slug}.admin.posts.write) try { @@ -480,12 +480,11 @@ class PostController extends AdminBaseController * * 게시판 정보, 원글 정보, 작성자 정보 등 화면 표시에 필요한 데이터를 반환합니다. * - * @param Request $request HTTP 요청 + * @param PostFormMetaRequest $request 검증된 폼 메타 요청 * @param string $slug 게시판 슬러그 * @return JsonResponse 폼 메타 데이터 응답 */ - // audit:allow controller-base-request-injection reason: GET 작성/수정 폼 메타 조회. 경로 파라미터(slug) + post_id 쿼리만 read-only 참조 (검증 불필요) - public function getFormMeta(Request $request, string $slug): JsonResponse + public function getFormMeta(PostFormMetaRequest $request, string $slug): JsonResponse { // 권한은 라우트 미들웨어에서 체크됨 (sirsoft-board.{slug}.admin.posts.write) try { diff --git a/modules/_bundled/sirsoft-board/src/Http/Requests/Admin/PostFormDataRequest.php b/modules/_bundled/sirsoft-board/src/Http/Requests/Admin/PostFormDataRequest.php new file mode 100644 index 00000000..43c3beca --- /dev/null +++ b/modules/_bundled/sirsoft-board/src/Http/Requests/Admin/PostFormDataRequest.php @@ -0,0 +1,37 @@ +> 검증 규칙 + */ + public function rules(): array + { + return [ + 'post_id' => ['sometimes', 'nullable', 'integer', 'min:1'], + 'parent_id' => ['sometimes', 'nullable', 'integer', 'min:1'], + ]; + } +} diff --git a/modules/_bundled/sirsoft-board/src/Http/Requests/Admin/PostFormMetaRequest.php b/modules/_bundled/sirsoft-board/src/Http/Requests/Admin/PostFormMetaRequest.php new file mode 100644 index 00000000..040da68b --- /dev/null +++ b/modules/_bundled/sirsoft-board/src/Http/Requests/Admin/PostFormMetaRequest.php @@ -0,0 +1,34 @@ +> 검증 규칙 (요청 파라미터 없음) + */ + public function rules(): array + { + return []; + } +} diff --git a/modules/_bundled/sirsoft-board/src/Http/Requests/Admin/PostIndexRequest.php b/modules/_bundled/sirsoft-board/src/Http/Requests/Admin/PostIndexRequest.php new file mode 100644 index 00000000..7099a40a --- /dev/null +++ b/modules/_bundled/sirsoft-board/src/Http/Requests/Admin/PostIndexRequest.php @@ -0,0 +1,38 @@ +> 검증 규칙 + */ + public function rules(): array + { + return [ + 'page' => ['sometimes', 'integer', 'min:1'], + 'per_page' => ['sometimes', 'integer', 'min:1', 'max:100'], + 'search' => ['sometimes', 'nullable', 'string', 'max:255'], + ]; + } +} diff --git a/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md b/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md index ed582d6c..8b85c83f 100644 --- a/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md +++ b/modules/_bundled/sirsoft-ecommerce/CHANGELOG.md @@ -175,6 +175,7 @@ - 쿠폰 사용조건의 상품 검색에서 결과가 많을 때 목록 끝까지 스크롤해도 다음 묶음이 더 불러와지지 않던 문제를 수정했습니다. - 관리자가 주문상품을 일괄 구매확정할 때와 구매자가 직접 구매확정할 때, 구매확정 시점이 최초 확정 시각으로 동일하게 보존됩니다 — 이미 확정된 주문을 다시 확정 처리해도 시점이 덮어써지지 않습니다. - 구매자 주문 상세의 결제 정보 영역에 결제 플러그인이 제공하는 공급가액·부가세·영수증 링크·에스크로 구매확정 버튼이 표시되지 않던 문제를 수정했습니다. +- 관리자가 카테고리 이미지를 등록·삭제하거나 순서를 바꾼 뒤 표시되는 안내 문구가 번역된 문장 대신 내부 식별자가 그대로 보이던 문제를 수정했습니다. 이제 사용 중인 언어에 맞는 안내 문구가 표시됩니다. ## [1.0.4] - 2026-07-16 diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/addresses.md b/modules/_bundled/sirsoft-ecommerce/docs/api/addresses.md index c2b1aa0d..91c9fa62 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/addresses.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/addresses.md @@ -225,7 +225,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만). 컨트롤러가 `ResponseHelper::success('sirsoft-ecommerce::messages.address.deleted')` 를 데이터 인수 없이 호출하므로 `data` 는 `null` 입니다._ **응답 예시** @@ -387,7 +387,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만). 컨트롤러가 `ResponseHelper::success('sirsoft-ecommerce::messages.address.default_set')` 를 데이터 인수 없이 호출하므로 `data` 는 `null` 입니다. 변경된 목록은 배송지 목록 조회(`GET /user/addresses`)로 재조회합니다._ **응답 예시** diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/brands.md b/modules/_bundled/sirsoft-ecommerce/docs/api/brands.md index bcbc54fa..e168d6d8 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/brands.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/brands.md @@ -192,11 +192,60 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`BrandResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 생성된 브랜드의 기본 키 (내부 식별자) | +| name | object | `{"ko":"API 문서 샘플 브랜드","en":"API Doc Sample Brand"}` | 브랜드 이름 (로케일별 값 객체) | +| localized_name | string | `API 문서 샘플 브랜드` | `name` 의 현재 로케일 해석 값 (표시용 문자열) | +| slug | string | `apidoc-sample-brand` | URL 친화 식별자 (slug) | +| url | string | `apidoc-sample-brand` | SortableMenuItem 표시용 URL (slug 값을 그대로 노출) | +| website | string \| null | `null` | 브랜드 공식 웹사이트 URL (미입력 시 null) | +| sort_order | integer | `0` | 표시 정렬 순서 값 (작을수록 우선) | +| is_active | boolean | `true` | 활성 여부 | +| icon | string | `tag` | SortableMenuList 컴포넌트용 아이콘 식별자 (고정값 `tag`) | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 (사용자 타임존 기준 문자열) | +| updated_at | string | `2026-07-08 10:44:49` | 최종 수정 일시 (사용자 타임존 기준 문자열) | +| products_count | integer | `0` | 브랜드에 연결된 상품 수 (생성 직후이므로 0) | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | + +> 생성 직후에는 `creator`/`updater` 관계가 로드되지 않으므로(`whenLoaded`) 응답에서 생략됩니다. **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "브랜드가 등록되었습니다.", + "data": { + "id": 1, + "name": { + "ko": "API 문서 샘플 브랜드", + "en": "API Doc Sample Brand" + }, + "localized_name": "API 문서 샘플 브랜드", + "slug": "apidoc-sample-brand", + "url": "apidoc-sample-brand", + "website": null, + "sort_order": 0, + "is_active": true, + "icon": "tag", + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 10:44:49", + "products_count": 0, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -294,11 +343,60 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`BrandResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 수정된 브랜드의 기본 키 (내부 식별자) | +| name | object | `{"ko":"API 문서 샘플 브랜드","en":"API Doc Sample Brand"}` | 브랜드 이름 (로케일별 값 객체) | +| localized_name | string | `API 문서 샘플 브랜드` | `name` 의 현재 로케일 해석 값 (표시용 문자열) | +| slug | string | `apidoc-sample-brand` | URL 친화 식별자 (slug) | +| url | string | `apidoc-sample-brand` | SortableMenuItem 표시용 URL (slug 값을 그대로 노출) | +| website | string \| null | `https://www.asus.com` | 브랜드 공식 웹사이트 URL (미입력 시 null) | +| sort_order | integer | `0` | 표시 정렬 순서 값 (작을수록 우선) | +| is_active | boolean | `true` | 활성 여부 | +| icon | string | `tag` | SortableMenuList 컴포넌트용 아이콘 식별자 (고정값 `tag`) | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 (사용자 타임존 기준 문자열) | +| updated_at | string | `2026-07-08 15:00:16` | 최종 수정 일시 (이번 수정 시각으로 갱신) | +| products_count | integer | `0` | 브랜드에 연결된 상품 수 | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | + +> 수정 직후에는 `creator`/`updater` 관계가 로드되지 않으므로(`whenLoaded`) 응답에서 생략됩니다. **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "브랜드가 수정되었습니다.", + "data": { + "id": 1, + "name": { + "ko": "API 문서 샘플 브랜드", + "en": "API Doc Sample Brand" + }, + "localized_name": "API 문서 샘플 브랜드", + "slug": "apidoc-sample-brand", + "url": "apidoc-sample-brand", + "website": "https://www.asus.com", + "sort_order": 0, + "is_active": true, + "icon": "tag", + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 15:00:16", + "products_count": 0, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/cart.md b/modules/_bundled/sirsoft-ecommerce/docs/api/cart.md index 914cd724..3e6a62fe 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/cart.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/cart.md @@ -42,17 +42,34 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| deleted_count | integer | `2` | 실제로 삭제된 장바구니 아이템 건수 (`CartService::deleteItems()` 반환값. 성공 메시지의 `:deleted_count` 치환값과 동일) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "2개 상품이 삭제되었습니다.", + "data": { + "deleted_count": 2 + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`ids` 누락/빈 배열, 존재하지 않는 장바구니 ID — `error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 삭제 처리 중 예외 발생 (`messages.cart.delete_failed`) | @@ -216,17 +233,104 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| items | array | `[{"id":962,"product_id":201,"quantity":1, …}]` | 이번 요청으로 담긴 장바구니 아이템 목록 (CartItemResource — 아래 "장바구니 아이템 필드" 참조) | +| cart_count | integer | `3` | 담기 후 장바구니에 들어있는 전체 아이템 수 (`CartService::bulkAddToCart()` 반환값) | + +**장바구니 아이템 필드** (`items[]` — CartItemResource) + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `962` | 장바구니 아이템 ID (수량/옵션 변경·삭제 시 path 파라미터) | +| product_id | integer | `201` | 담긴 상품 ID | +| product_option_id | integer | `1086` | 선택된 상품 옵션 ID | +| quantity | integer | `1` | 구매 수량 | +| additional_options | array | `[]` | 선택된 추가옵션 해석 결과 (항목별 `additional_option_id`, `value_id`, `group_name`, `name`, `price_adjustment`, `price_adjustment_formatted`, `custom_text`) | +| additional_options_total | integer | `0` | 추가옵션 단위 추가금 합계 (수량 미곱셈) | +| created_at | string | `2026-07-14 10:00:00` | 담은 일시 (사용자 타임존 포맷) | +| updated_at | string | `2026-07-14 10:00:00` | 최종 수정 일시 (사용자 타임존 포맷) | +| product | object\|null | `{"id":201,"name":"티셔츠", …}` | 상품 요약 (`id`, `name`, `product_code`, `thumbnail_url`, `sales_status`, `display_status`) | +| product_option | object\|null | `{"id":1086,"selling_price":19000, …}` | 옵션 요약 (`id`, `option_code`, `option_name`, `option_name_localized`, `option_values`, `option_values_localized`, `list_price`, `list_price_formatted`, `multi_currency_list_price`, `selling_price`, `selling_price_formatted`, `multi_currency_selling_price`, `discount_rate`, `stock_quantity`, `is_active`) | +| available | boolean | `true` | 현재 구매 가능 여부 (`Product::isPurchasable()`) | +| unavailable_reason | string\|null | `sold_out` | 구매 불가 사유 (판매상태 `suspended`/`sold_out`/`coming_soon` 또는 전시상태 `hidden`. 구매 가능 시 `null`) | +| is_shippable_to_selected_country | boolean | `true` | 선택된 배송 국가로 배송 가능한지 (배송정책 기준) | +| selected_shipping_country | string | `KR` | 판정에 사용된 배송 국가 코드 | +| subtotal | integer | `19000` | 표시 소계 = (옵션 판매가 + 추가옵션 단위 합계) × 수량 (옵션이 로드된 경우에만 존재) | +| subtotal_formatted | string | `19,000원` | 소계 통화 포맷 문자열 | +| multi_currency_subtotal | object | `{"KRW":19000}` | 통화별 환산 소계 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "장바구니에 상품이 추가되었습니다.", + "data": { + "items": [ + { + "id": 962, + "product_id": 201, + "product_option_id": 1086, + "quantity": 1, + "additional_options": [], + "additional_options_total": 0, + "created_at": "2026-07-14 10:00:00", + "updated_at": "2026-07-14 10:00:00", + "product": { + "id": 201, + "name": "티셔츠", + "product_code": "P-201", + "thumbnail_url": null, + "sales_status": "on_sale", + "display_status": "visible" + }, + "product_option": { + "id": 1086, + "option_code": "OPT-1086", + "option_name": "색상/사이즈", + "option_name_localized": "색상/사이즈", + "option_values": ["BLACK", "L"], + "option_values_localized": ["블랙", "L"], + "list_price": 25000, + "list_price_formatted": "25,000원", + "multi_currency_list_price": {"KRW": 25000}, + "selling_price": 19000, + "selling_price_formatted": "19,000원", + "multi_currency_selling_price": {"KRW": 19000}, + "discount_rate": 24.0, + "stock_quantity": 50, + "is_active": true + }, + "available": true, + "unavailable_reason": null, + "is_shippable_to_selected_country": true, + "selected_shipping_country": "KR", + "subtotal": 19000, + "subtotal_formatted": "19,000원", + "multi_currency_subtotal": {"KRW": 19000} + } + ], + "cart_count": 3 + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 400 | Bad Request | 비회원인데 `X-Cart-Key` 헤더가 없거나 형식(`ck_`+32자 영숫자)이 아닌 경우 | +| 403 | Forbidden | 타인 소유 장바구니 항목 조작 (`CartOperationException: access_denied`) | +| 404 | Not Found | 대상 장바구니 항목 없음 (`CartOperationException: item_not_found`) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 실패 (`error.errors`) 또는 재고 부족·판매 중지·구매 대상 제한·구매 수량 한도 위반 (`CartUnavailableException` — `error` 에 `code: cart_unavailable`, `unavailable_items`, `has_stock_issue`, `has_status_issue`, `has_restriction_issue`, `has_min_qty_issue`, `has_max_qty_issue`), 옵션 없음/타상품 옵션 (`CartOperationException: option_not_found`/`invalid_option`) | +| 500 | Internal Server Error | 담기 처리 중 예외 발생 (`messages.cart.add_failed`) | @@ -278,7 +382,10 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). _ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 422 | Unprocessable Entity | 비회원인데 `X-Cart-Key` 헤더가 없거나 형식(`ck_`+32자 영숫자)이 아닌 경우 (`CartKeyRequest` 검증) | +| 500 | Internal Server Error | 삭제 처리 중 예외 발생 (`messages.cart.delete_failed`) | @@ -388,7 +495,9 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). _ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 500 | Internal Server Error | 키 발급 처리 중 예외 발생 (`messages.cart.key_issue_failed` — "장바구니 키 발급에 실패했습니다.") | @@ -416,18 +525,36 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| merged_count | integer | `2` | 비회원 장바구니에서 회원 계정으로 옮겨진 아이템 건수 (`CartService::mergeGuestCartToUser()` 반환값) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": ":count개 상품이 장바구니로 병합되었습니다.", + "data": { + "merged_count": 2 + } +} +``` + +> `messages.cart.merged` 는 `:count` 플레이스홀더를 갖지만 컨트롤러가 messageParams 를 전달하지 않으므로 응답 메시지에는 치환되지 않은 원문이 그대로 실립니다. 화면 표기는 `data.merged_count` 를 사용하십시오. **에러 응답** -| 상태 | 조건 | 응답 | +| 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | 미로그인 상태이거나 `X-Cart-Key` 헤더가 없음/형식 불일치 | `errors.auth` 또는 `errors.cart_key` | -| 500 | 병합 처리 실패 | `messages.cart.merge_failed` | +| 422 | Unprocessable Entity | 비로그인 상태로 호출(`auth` 오류 — "로그인이 필요합니다."), `X-Cart-Key` 헤더 누락 또는 형식(`ck_`+32자 영숫자) 불일치 (`MergeGuestCartRequest` 검증) | +| 500 | Internal Server Error | 병합 처리 중 예외 발생 (`messages.cart.merge_failed`) | @@ -587,17 +714,30 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "장바구니에서 상품이 삭제되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 403 | Forbidden | 타인 소유 장바구니 항목 삭제 시도 (`CartOperationException: access_denied`) | +| 404 | Not Found | `id` 에 해당하는 장바구니 항목이 없는 경우 (`CartOperationException: item_not_found`) | +| 422 | Unprocessable Entity | 비회원인데 `X-Cart-Key` 헤더가 없거나 형식(`ck_`+32자 영숫자)이 아닌 경우 (`DeleteCartItemRequest` 검증) | +| 500 | Internal Server Error | 삭제 처리 중 예외 발생 (`messages.cart.delete_failed`) | @@ -641,18 +781,77 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| item | object | `{"id":962,"product_option_id":1090, …}` | 옵션·수량이 반영된 장바구니 아이템 1건 (CartItemResource — 필드 구성은 POST `/cart` 의 "장바구니 아이템 필드" 표와 동일) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "옵션이 변경되었습니다.", + "data": { + "item": { + "id": 962, + "product_id": 201, + "product_option_id": 1090, + "quantity": 2, + "additional_options": [], + "additional_options_total": 0, + "created_at": "2026-07-14 10:00:00", + "updated_at": "2026-07-14 10:12:00", + "product": { + "id": 201, + "name": "티셔츠", + "product_code": "P-201", + "thumbnail_url": null, + "sales_status": "on_sale", + "display_status": "visible" + }, + "product_option": { + "id": 1090, + "option_code": "OPT-1090", + "option_name": "색상/사이즈", + "option_name_localized": "색상/사이즈", + "option_values": ["WHITE", "M"], + "option_values_localized": ["화이트", "M"], + "list_price": 25000, + "list_price_formatted": "25,000원", + "multi_currency_list_price": {"KRW": 25000}, + "selling_price": 19000, + "selling_price_formatted": "19,000원", + "multi_currency_selling_price": {"KRW": 19000}, + "discount_rate": 24.0, + "stock_quantity": 40, + "is_active": true + }, + "available": true, + "unavailable_reason": null, + "is_shippable_to_selected_country": true, + "selected_shipping_country": "KR", + "subtotal": 38000, + "subtotal_formatted": "38,000원", + "multi_currency_subtotal": {"KRW": 38000} + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 타인 소유 장바구니 항목 조작 (`CartOperationException: access_denied`) | +| 404 | Not Found | `id` 에 해당하는 장바구니 항목이 없는 경우 (`CartOperationException: item_not_found`) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 실패(`error.errors`), 옵션 없음/타상품 옵션 지정 (`CartOperationException: option_not_found`/`invalid_option`), 재고 부족·판매 중지·구매 대상 제한·구매 수량 한도 위반 (`CartUnavailableException` — `error.code = cart_unavailable`, `unavailable_items`, `has_stock_issue`, `has_status_issue`, `has_restriction_issue`, `has_min_qty_issue`, `has_max_qty_issue`) | +| 500 | Internal Server Error | 옵션 변경 처리 중 예외 발생 (`messages.cart.update_failed`) | @@ -690,18 +889,107 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| items | array | `[{"id":962,"quantity":2, …}]` | 수량 반영 후의 장바구니 전체 아이템 목록 (CartItemResource — 필드 구성은 POST `/cart` 의 "장바구니 아이템 필드" 표와 동일. 프론트가 refetch 없이 화면을 갱신하도록 전체를 함께 반환) | +| item_count | integer | `1` | 장바구니 아이템 개수 | +| calculation | object | `{"items":[…],"summary":{…},"promotions":{…},"validation_errors":[]}` | 선택 아이템 기준 금액 계산 결과 (GET `/cart` 의 `calculation` 과 동일 구조 — 소계·할인·배송비·적립·최종 결제금액 등) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "수량이 변경되었습니다.", + "data": { + "items": [ + { + "id": 962, + "product_id": 201, + "product_option_id": 1086, + "quantity": 2, + "additional_options": [], + "additional_options_total": 0, + "created_at": "2026-07-14 10:00:00", + "updated_at": "2026-07-14 10:15:00", + "product": { + "id": 201, + "name": "티셔츠", + "product_code": "P-201", + "thumbnail_url": null, + "sales_status": "on_sale", + "display_status": "visible" + }, + "product_option": { + "id": 1086, + "option_code": "OPT-1086", + "option_name": "색상/사이즈", + "option_name_localized": "색상/사이즈", + "option_values": ["BLACK", "L"], + "option_values_localized": ["블랙", "L"], + "list_price": 25000, + "list_price_formatted": "25,000원", + "multi_currency_list_price": {"KRW": 25000}, + "selling_price": 19000, + "selling_price_formatted": "19,000원", + "multi_currency_selling_price": {"KRW": 19000}, + "discount_rate": 24.0, + "stock_quantity": 50, + "is_active": true + }, + "available": true, + "unavailable_reason": null, + "is_shippable_to_selected_country": true, + "selected_shipping_country": "KR", + "subtotal": 38000, + "subtotal_formatted": "38,000원", + "multi_currency_subtotal": {"KRW": 38000} + } + ], + "item_count": 1, + "calculation": { + "items": [], + "summary": { + "subtotal": 38000, + "subtotal_formatted": "38,000원", + "total_discount": 0, + "discount_formatted": "0원", + "total_shipping_fee": 0, + "shipping_fee_formatted": "0원", + "payment_amount": 38000, + "payment_amount_formatted": "38,000원", + "final_amount": 38000, + "final_amount_formatted": "38,000원" + }, + "promotions": { + "coupon_issue_ids": [], + "item_coupons": [], + "discount_code": null, + "product_promotions": {"coupons": [], "discount_codes": [], "events": []}, + "order_promotions": {"coupons": [], "discount_codes": [], "events": []} + }, + "validation_errors": [] + } + } +} +``` + +> `calculation.summary` 는 GET `/cart` 응답과 동일한 전체 키 집합(`product_coupon_discount`, `code_discount`, `taxable_amount`, `points_earning` 등)을 포함합니다. 위 예시는 대표 키만 발췌한 것입니다. **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 타인 소유 장바구니 항목 조작 (`CartOperationException: access_denied`) | +| 404 | Not Found | `id` 에 해당하는 장바구니 항목이 없는 경우 (`CartOperationException: item_not_found`) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 실패(`quantity` 누락/범위 초과 — `error.errors`) 또는 재고 부족·판매 중지·구매 수량 한도 위반 (`CartUnavailableException` — `error.code = cart_unavailable`, `unavailable_items`, `has_stock_issue`, `has_status_issue`, `has_restriction_issue`, `has_min_qty_issue`, `has_max_qty_issue`) | +| 500 | Internal Server Error | 수량 변경 처리 중 예외 발생 (`messages.cart.update_failed`) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/categories.md b/modules/_bundled/sirsoft-ecommerce/docs/api/categories.md index 0115a299..a0e2d144 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/categories.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/categories.md @@ -218,11 +218,72 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`CategoryResource`). 생성 직후 `fresh(['images'])` 로 재조회하므로 `images` 관계만 포함되고 `parent`/`children` 키는 나타나지 않습니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| name | object | `{"ko":"의류","en":"Clothing"}` | 대상의 이름/명칭 (다국어 필드는 로케일별 값 객체) | +| description | object\|null | `null` | 설명 (다국어 필드는 로케일별 값 객체, 미설정 시 null) | +| localized_name | string | `의류` | `name` 의 현재 로케일 해석 값 | +| parent_id | integer\|null | `null` | 상위 카테고리 ID (최상위면 null) | +| path | string | `1` | 조상부터 자기 자신까지의 ID를 `/`로 이은 materialized path | +| depth | integer | `0` | 계층 트리에서의 깊이 (0 = 최상위) | +| sort_order | integer | `0` | 표시 정렬 순서 값 (미지정 시 형제 마지막 순번 자동 부여) | +| is_active | boolean | `true` | 활성 여부 | +| slug | string | `clothing` | URL 친화 식별자 (slug) | +| url | string | `clothing` | SortableMenuItem 표시용 URL (slug 값을 그대로 사용) | +| icon | string | `folder` | SortableMenuList 표시용 아이콘 (리소스에서 고정값 `folder`) | +| meta_title | string\|null | `null` | SEO 메타 제목 (미설정 시 null) | +| meta_description | string\|null | `null` | SEO 메타 설명 (미설정 시 null) | +| created_at | string | `2026-07-08 01:44:49` | 생성 일시 (`Y-m-d H:i:s`) | +| updated_at | string | `2026-07-08 01:44:49` | 최종 수정 일시 (`Y-m-d H:i:s`) | +| images | array | `[]` | 카테고리 이미지 배열 (각 항목: id/hash/original_filename/mime_type/size/size_formatted/download_url/order/is_image/alt_text). `temp_key` 로 연결된 임시 이미지가 여기에 포함됨 | +| products_count | integer | `0` | 연결된 상품 개수 (집계) | +| children_count | integer | `0` | 하위 카테고리 개수 (집계) | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "카테고리가 등록되었습니다.", + "data": { + "id": 1, + "name": { + "ko": "API 문서 샘플 카테고리", + "en": "API Doc Sample Category" + }, + "description": null, + "localized_name": "API 문서 샘플 카테고리", + "parent_id": null, + "path": "1", + "depth": 0, + "sort_order": 0, + "is_active": true, + "slug": "apidoc-sample-category", + "url": "apidoc-sample-category", + "icon": "folder", + "meta_title": null, + "meta_description": null, + "created_at": "2026-07-08 01:44:49", + "updated_at": "2026-07-08 01:44:49", + "images": [], + "products_count": 0, + "children_count": 0, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -251,8 +312,8 @@ Content-Type: application/json | temp_key | body | string | 아니오 | max 64 | 사전 업로드한 임시 이미지를 이 카테고리에 연결하기 위한 FileUploader temp_key | | collection | body | string | 아니오 | max 100 | 첨부 컬렉션 그룹명 (첨부를 용도별로 묶는 키, 미지정 시 default) | | alt_text | body | array | 아니오 | — | 이미지 대체 텍스트 (접근성/이미지 미표시 시 대체 문구) | -| alt_text.ko | body | string | 아니오 | max 255 | | -| alt_text.en | body | string | 아니오 | max 255 | | +| alt_text.ko | body | string | 아니오 | max 255 | 이미지 대체 텍스트 (접근성/이미지 미표시 시 대체 문구) — `ko` 로케일 값 | +| alt_text.en | body | string | 아니오 | max 255 | 이미지 대체 텍스트 (접근성/이미지 미표시 시 대체 문구) — `en` 로케일 값 | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`sirsoft-ecommerce.category-image.filter_upload_validation_rules`). @@ -295,19 +356,56 @@ Content-Disposition: form-data; name="alt_text.en" **응답 필드** (`data` 내부) - +_단건 응답: FileUploader 컴포넌트가 `response.data?.data` 형식을 기대하므로 컨트롤러가 `data` 안에 한 번 더 `data` 객체를 감싸 반환합니다. 아래는 `data.data` 객체의 필드입니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 업로드된 카테고리 이미지의 기본 키 | +| hash | string | `9f2c1b8e4a...` | 이미지 고유 해시 (다운로드 URL 식별자) | +| original_filename | string | `banner.png` | 업로드 당시의 원본 파일명 | +| mime_type | string | `image/png` | 파일 MIME 타입 | +| size | integer | `102400` | 파일 크기 (바이트) | +| size_formatted | string | `100 KB` | 사람이 읽기 쉬운 형식으로 변환한 파일 크기 | +| download_url | string | `/api/modules/sirsoft-ecommerce/admin/categories/images/download/9f2c1b8e4a...` | 이미지 다운로드 URL | +| order | integer | `1` | 이미지 표시 순서 (`sort_order`, 미설정 시 1) | +| is_image | boolean | `true` | MIME 타입이 `image/` 로 시작하는지 여부 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "sirsoft-ecommerce::messages.category_images.uploaded", + "data": { + "data": { + "id": 1, + "hash": "9f2c1b8e4a7d5c0361b2e8f4a9d7c015", + "original_filename": "banner.png", + "mime_type": "image/png", + "size": 102400, + "size_formatted": "100 KB", + "download_url": "/api/modules/sirsoft-ecommerce/admin/categories/images/download/9f2c1b8e4a7d5c0361b2e8f4a9d7c015", + "order": 1, + "is_image": true + } + } +} +``` + +> `message` 는 `sirsoft-ecommerce::messages.category_images.uploaded` 키를 사용하는데, 현재 모듈 `lang/ko/messages.php` 에 `category_images` 섹션이 정의되어 있지 않아 번역되지 않은 키 문자열이 그대로 반환됩니다. **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 파일 저장 중 예외 발생 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.categories.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). `file` 은 필수이며 `jpeg,png,jpg,gif,svg,webp` 이미지만 허용, 최대 10MB | @@ -346,19 +444,31 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "sirsoft-ecommerce::messages.category_images.reordered" +} +``` + +> `message` 는 `sirsoft-ecommerce::messages.category_images.reordered` 키를 사용하는데, 현재 모듈 `lang/ko/messages.php` 에 `category_images` 섹션이 정의되어 있지 않아 번역되지 않은 키 문자열이 그대로 반환됩니다. **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 순서 갱신 처리 중 예외 발생 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.categories.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). `order` 는 1건 이상 필수이며 각 항목에 정수 `id` 와 0 이상의 정수 `order` 가 필요 | @@ -388,19 +498,31 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "sirsoft-ecommerce::messages.category_images.deleted" +} +``` + +> `message` 는 `sirsoft-ecommerce::messages.category_images.deleted` 키를 사용하는데, 현재 모듈 `lang/ko/messages.php` 에 `category_images` 섹션이 정의되어 있지 않아 번역되지 않은 키 문자열이 그대로 반환됩니다. **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 이미지 삭제 처리 중 예외 발생 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.categories.update`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | path 의 이미지 `id` 에 해당하는 카테고리 이미지가 없는 경우 (`messages.category_images.not_found`) | @@ -443,19 +565,31 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "sirsoft-ecommerce::messages.categories.order_updated" +} +``` + +> `message` 는 `sirsoft-ecommerce::messages.categories.order_updated` 키를 사용하는데, 현재 모듈 `lang/ko/messages.php` 의 `categories` 섹션에 `order_updated` 키가 정의되어 있지 않아 번역되지 않은 키 문자열이 그대로 반환됩니다. **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 순서 갱신 트랜잭션 중 예외 발생 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.categories.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). `parent_menus` / `child_menus` 중 최소 하나가 필요하며, 각 항목의 `id` 는 실제 존재하는 카테고리여야 하고 `order` 는 0 이상의 정수 | @@ -588,8 +722,8 @@ HTTP/1.1 200 | temp_key | body | string | 아니오 | max 64 | 사전 업로드한 임시 이미지를 이 카테고리에 연결하기 위한 FileUploader temp_key | | collection | body | string | 아니오 | max 100 | 첨부 컬렉션 그룹명 (첨부를 용도별로 묶는 키, 미지정 시 default) | | alt_text | body | array | 아니오 | — | 이미지 대체 텍스트 (접근성/이미지 미표시 시 대체 문구) | -| alt_text.ko | body | string | 아니오 | max 255 | | -| alt_text.en | body | string | 아니오 | max 255 | | +| alt_text.ko | body | string | 아니오 | max 255 | 이미지 대체 텍스트 (접근성/이미지 미표시 시 대체 문구) — `ko` 로케일 값 | +| alt_text.en | body | string | 아니오 | max 255 | 이미지 대체 텍스트 (접근성/이미지 미표시 시 대체 문구) — `en` 로케일 값 | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`sirsoft-ecommerce.category-image.filter_upload_validation_rules`). @@ -632,20 +766,57 @@ Content-Disposition: form-data; name="alt_text.en" **응답 필드** (`data` 내부) - +_단건 응답: FileUploader 컴포넌트가 `response.data?.data` 형식을 기대하므로 컨트롤러가 `data` 안에 한 번 더 `data` 객체를 감싸 반환합니다. 아래는 `data.data` 객체의 필드입니다 (임시 업로드 엔드포인트와 동일 형식, 다만 이미지가 path 의 `categoryId` 에 즉시 귀속됩니다)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 업로드된 카테고리 이미지의 기본 키 | +| hash | string | `9f2c1b8e4a...` | 이미지 고유 해시 (다운로드 URL 식별자) | +| original_filename | string | `banner.png` | 업로드 당시의 원본 파일명 | +| mime_type | string | `image/png` | 파일 MIME 타입 | +| size | integer | `102400` | 파일 크기 (바이트) | +| size_formatted | string | `100 KB` | 사람이 읽기 쉬운 형식으로 변환한 파일 크기 | +| download_url | string | `/api/modules/sirsoft-ecommerce/admin/categories/images/download/9f2c1b8e4a...` | 이미지 다운로드 URL | +| order | integer | `1` | 이미지 표시 순서 (`sort_order`, 미설정 시 1) | +| is_image | boolean | `true` | MIME 타입이 `image/` 로 시작하는지 여부 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "sirsoft-ecommerce::messages.category_images.uploaded", + "data": { + "data": { + "id": 2, + "hash": "1c47e9a5b60d38f27ea4c9d015b7e8f3", + "original_filename": "banner.png", + "mime_type": "image/png", + "size": 102400, + "size_formatted": "100 KB", + "download_url": "/api/modules/sirsoft-ecommerce/admin/categories/images/download/1c47e9a5b60d38f27ea4c9d015b7e8f3", + "order": 1, + "is_image": true + } + } +} +``` + +> `message` 는 `sirsoft-ecommerce::messages.category_images.uploaded` 키를 사용하는데, 현재 모듈 `lang/ko/messages.php` 에 `category_images` 섹션이 정의되어 있지 않아 번역되지 않은 키 문자열이 그대로 반환됩니다. **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 파일 저장 중 예외 발생 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.categories.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). `file` 은 필수이며 `jpeg,png,jpg,gif,svg,webp` 이미지만 허용, 최대 10MB | @@ -743,16 +914,78 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`CategoryResource`). 수정 직후 `fresh(['images'])` 로 재조회하므로 `images` 관계만 포함되고 `parent`/`children` 키는 나타나지 않습니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| name | object | `{"ko":"의류","en":"Clothing"}` | 대상의 이름/명칭 (다국어 필드는 로케일별 값 객체) | +| description | object\|null | `null` | 설명 (다국어 필드는 로케일별 값 객체, 미설정 시 null) | +| localized_name | string | `의류` | `name` 의 현재 로케일 해석 값 | +| parent_id | integer\|null | `null` | 상위 카테고리 ID (변경 시 depth/path 재계산) | +| path | string | `1` | 조상부터 자기 자신까지의 ID를 `/`로 이은 materialized path | +| depth | integer | `0` | 계층 트리에서의 깊이 (0 = 최상위) | +| sort_order | integer | `0` | 표시 정렬 순서 값 (작을수록 우선) | +| is_active | boolean | `true` | 활성 여부 | +| slug | string | `clothing` | URL 친화 식별자 (slug) | +| url | string | `clothing` | SortableMenuItem 표시용 URL (slug 값을 그대로 사용) | +| icon | string | `folder` | SortableMenuList 표시용 아이콘 (리소스에서 고정값 `folder`) | +| meta_title | string\|null | `null` | SEO 메타 제목 (미설정 시 null) | +| meta_description | string\|null | `null` | SEO 메타 설명 (미설정 시 null) | +| created_at | string | `2026-07-08 01:44:49` | 생성 일시 (`Y-m-d H:i:s`) | +| updated_at | string | `2026-07-08 06:00:17` | 최종 수정 일시 (`Y-m-d H:i:s`) | +| images | array | `[]` | 카테고리 이미지 배열 (각 항목: id/hash/original_filename/mime_type/size/size_formatted/download_url/order/is_image/alt_text) | +| products_count | integer | `0` | 연결된 상품 개수 (집계) | +| children_count | integer | `0` | 하위 카테고리 개수 (집계) | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "카테고리가 수정되었습니다.", + "data": { + "id": 1, + "name": { + "ko": "API 문서 샘플 카테고리", + "en": "API Doc Sample Category" + }, + "description": null, + "localized_name": "API 문서 샘플 카테고리", + "parent_id": null, + "path": "1", + "depth": 0, + "sort_order": 0, + "is_active": true, + "slug": "apidoc-sample-category", + "url": "apidoc-sample-category", + "icon": "folder", + "meta_title": null, + "meta_description": null, + "created_at": "2026-07-08 01:44:49", + "updated_at": "2026-07-08 06:00:17", + "images": [], + "products_count": 0, + "children_count": 0, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 대상 카테고리가 없거나 수정 트랜잭션 중 예외 발생 (컨트롤러가 예외를 잡아 `exceptions.operation_failed` 로 응답) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.categories.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | @@ -951,7 +1184,9 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). _ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 500 | Internal Server Error | 카테고리 트리 조회 중 예외가 발생한 경우 (컨트롤러가 예외를 잡아 `messages.categories.fetch_failed` 로 응답) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/category-image.md b/modules/_bundled/sirsoft-ecommerce/docs/api/category-image.md index 80241562..a7081ce3 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/category-image.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/category-image.md @@ -39,17 +39,41 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투(`data`)를 반환하지 않습니다. 성공 시 이미지 원본 바이너리를 `StreamedResponse` 로 스트리밍합니다 (`CategoryImageService::download()` → `StorageInterface::response()`)._ + +| 응답 요소 | 값 | 용도/설명 | +| --- | --- | --- | +| 본문 | 이미지 원본 바이너리 | `category_images.path` 에 저장된 파일을 스토리지에서 스트리밍 | +| `Content-Type` 헤더 | `image/jpeg` (레코드의 `mime_type` 값) | 업로드 시 저장된 MIME 타입을 그대로 사용 | +| `Cache-Control` 헤더 | `public, max-age=31536000` | 브라우저/CDN 1년 캐싱 | +| `Content-Disposition` 헤더 | 원본 파일명(`original_filename`) 포함 | 다운로드 시 표시될 파일명 | **응답 예시** - +```http +HTTP/1.1 200 OK +Content-Type: image/jpeg +Cache-Control: public, max-age=31536000 +Content-Disposition: inline; filename="category-main.jpg" + +<이미지 바이너리 데이터> +``` + +실패 시에는 JSON 봉투로 응답합니다. + +```json +{ + "success": false, + "message": "카테고리 이미지를 찾을 수 없습니다." +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 400 | Bad Request | 스트리밍 처리 중 예외 발생 (`exceptions.operation_failed` → "작업 처리 중 오류가 발생했습니다.") | +| 404 | Not Found | `hash` 에 해당하는 카테고리 이미지 레코드가 없거나, 레코드는 있으나 스토리지에 실제 파일이 없는 경우 (`CategoryImageService::download()` 가 `null` 반환) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/checkout.md b/modules/_bundled/sirsoft-ecommerce/docs/api/checkout.md index 98db3b5f..f6a0af26 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/checkout.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/checkout.md @@ -38,7 +38,7 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만) — `CheckoutController@destroy` 는 `ResponseHelper::moduleSuccess('sirsoft-ecommerce', 'messages.checkout.deleted')` 를 데이터 인수 없이 호출합니다._ **응답 예시** @@ -51,14 +51,17 @@ HTTP/1.1 200 ```json { "success": true, - "message": "Checkout has been deleted.", + "message": "주문서가 삭제되었습니다.", "data": null } ``` **에러 응답** -_대표 에러 없음 (공개 조회). _ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 404 | Not Found | 삭제할 임시 주문이 없음 (`TempOrderService::deleteTempOrder()` 가 false 반환 — 이미 만료·미존재). 메시지: `임시 주문 정보를 찾을 수 없습니다.` | +| 500 | Internal Server Error | 삭제 처리 중 예외 발생. 메시지: `주문서 삭제에 실패했습니다.` | @@ -92,17 +95,256 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`CheckoutDataService::buildResponseData()` 가 구성)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| temp_order_id | integer | `1` | 임시 주문 ID (주문 확정 시 사용) | +| items | array | `[...]` | 주문 상품 목록 (`CheckoutItemResource` — 아래 "items[] 항목" 표) | +| calculation | object | `{...}` | 주문 계산 결과 (`OrderCalculationResult::toArray()` — 아래 "calculation" 표) | +| promotions | object | `{"item_coupons":{},"order_coupon_issue_id":null,"shipping_coupon_issue_id":null}` | 현재 임시 주문에 적용된 쿠폰 선택 상태 | +| use_points | integer | `0` | 현재 사용 설정된 마일리지 포인트 | +| shipping_address | object\|null | `{"country_code":"KR","zipcode":"06234","region":null,"city":null,"address":null}` | 배송비 계산에 사용된 배송 주소 (미전달 시 `null`) | +| expires_at | string | `2026-07-14T12:34:56+09:00` | 임시 주문 만료 시각 (ISO 8601) | +| available_coupons | array | `[]` | 주문금액/배송비 대상 사용 가능 쿠폰 목록 (비회원은 빈 배열) | +| mileage | object\|null | `{...}` | 마일리지 잔액 정보 (비회원은 `null` — 아래 "mileage" 표) | +| validation_errors | array | `[]` | 조건 위반으로 자동 제외된 쿠폰의 사유 목록 (min_amount / per_user_limit / not_combinable 등) | +| has_unshippable_items | boolean | `false` | 선택된 배송국가로 배송 불가한 상품이 1개라도 있으면 `true` (주문하기 차단 플래그) | +| selected_shipping_country | string | `KR` | 현재 선택된 배송 국가 코드 | +| free_shipping | object | `{...}` | 무료배송 기준액 정보 (아래 "free_shipping" 표) | +| unavailable_items | array | `[]` | 구매 불가 상품 목록 (존재할 때만 포함) | +| has_stock_issue | boolean | `false` | 구매 불가 사유에 재고 부족이 포함되면 `true` (`unavailable_items` 존재 시에만 포함) | +| has_status_issue | boolean | `false` | 구매 불가 사유에 판매 상태 문제가 포함되면 `true` (`unavailable_items` 존재 시에만 포함) | + +`items[]` 항목 (`CheckoutItemResource::toArray()`): + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer\|null | `1` | 장바구니 아이템 ID (바로구매는 `null`) | +| product_id | integer | `1` | 상품 ID | +| product_option_id | integer | `1` | 상품 옵션 ID | +| quantity | integer | `1` | 주문 수량 | +| additional_options | array | `[]` | 선택한 추가 옵션 (`group_name` / `name` / `price_adjustment`) | +| additional_options_total | integer | `0` | 추가 옵션 단가 합계 | +| product | object\|null | `{...}` | 상품 정보 (이름·썸네일 등) | +| product_option | object\|null | `{...}` | 옵션 정보 (옵션명·판매가 등) | +| is_shippable_to_selected_country | boolean | `true` | 선택된 배송국가로 이 상품이 배송 가능한지 | +| subtotal | integer | `10000` | 표시 소계 = (옵션 판매가 + 추가옵션 단가 합계) × 수량 | +| subtotal_formatted | string | `10,000원` | 소계 통화 포맷 | +| multi_currency_subtotal | object | `{"KRW":{...}}` | 소계 다통화 환산 | +| unit_price | integer | `10000` | 계산 기준 단가 | +| unit_price_formatted | string | `10,000원` | 단가 통화 포맷 | +| product_coupon_discount_amount | integer | `0` | 상품 쿠폰 할인액 | +| product_coupon_discount_formatted | string | `0원` | 상품 쿠폰 할인액 포맷 | +| code_discount_amount | integer | `0` | 할인코드 할인액 | +| code_discount_formatted | string | `0원` | 할인코드 할인액 포맷 | +| order_coupon_discount_share | integer | `0` | 주문 쿠폰 할인의 이 라인 분담액 | +| order_coupon_discount_share_formatted | string | `0원` | 분담액 포맷 | +| total_discount | integer | `0` | 이 라인의 총 할인액 | +| total_discount_formatted | string | `0원` | 총 할인액 포맷 | +| points_used_share | integer | `0` | 사용 마일리지의 이 라인 분담액 | +| points_used_share_formatted | string | `0원` | 분담액 포맷 | +| points_earning | integer | `0` | 이 라인의 적립 예정 마일리지 | +| final_amount | integer | `10000` | 이 라인의 최종 금액 | +| final_amount_formatted | string | `10,000원` | 최종 금액 포맷 | +| multi_currency_unit_price | object | `{"KRW":{"amount":10000,"formatted":"10,000원"}}` | 단가 다통화 환산 | +| multi_currency_product_coupon_discount | object | `{"KRW":{"amount":0,"formatted":"0원"}}` | 상품 쿠폰 할인 다통화 환산 | +| multi_currency_total_discount | object | `{"KRW":{"amount":0,"formatted":"0원"}}` | 총 할인 다통화 환산 | +| multi_currency_final_amount | object | `{"KRW":{"amount":10000,"formatted":"10,000원"}}` | 최종 금액 다통화 환산 | +| available_coupons | array | `[]` | 이 상품에 적용 가능한 상품 쿠폰 목록 | +| disabled_coupon_ids | array | `[]` | 다른 상품 라인에서 이미 소진되어(per_user_limit) 이 라인에서는 선택 불가한 쿠폰 발급 ID | + +`calculation` (`OrderCalculationResult::toArray()`): + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| items | array | `[...]` | 라인별 계산 결과 | +| summary | object | `{...}` | 합계 정보 (`Summary::toArray()` — 아래 표) | +| promotions | object | `{...}` | 실제 적용된 프로모션 요약 (상품/주문 프로모션 분리 + `coupon_issue_ids` / `item_coupons` / `discount_code` 평탄 키) | +| validation_errors | array | `[]` | 쿠폰 검증 오류 목록 | +| metadata | object | `{}` | 플러그인 확장용 메타데이터 (비어 있으면 생략) | + +`calculation.summary` (`Summary::toArray()`): + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| subtotal | integer | `10000` | 상품 금액 소계 (할인 전) | +| subtotal_formatted | string | `10,000원` | 소계 통화 포맷 | +| product_coupon_discount | integer | `0` | 상품/카테고리 쿠폰 할인 합계 | +| product_coupon_discount_formatted | string | `0원` | 상품 쿠폰 할인 포맷 | +| code_discount | integer | `0` | 할인코드 할인 합계 | +| code_discount_formatted | string | `0원` | 할인코드 할인 포맷 | +| order_coupon_discount | integer | `0` | 주문 쿠폰 할인 합계 | +| order_coupon_discount_formatted | string | `0원` | 주문 쿠폰 할인 포맷 | +| total_coupon_discount | integer | `0` | 상품 + 주문 쿠폰 할인 합계 | +| total_coupon_discount_formatted | string | `0원` | 쿠폰 할인 합계 포맷 | +| total_discount | integer | `0` | 총 할인금액 | +| discount_formatted | string | `0원` | 총 할인금액 포맷 | +| base_shipping_total | integer | `3000` | 기본 배송비 합계 | +| extra_shipping_total | integer | `0` | 추가 배송비(도서산간) 합계 | +| total_shipping | integer | `3000` | 총 배송비 (기본 + 추가) | +| total_shipping_fee | integer | `3000` | 총 배송비 (별칭 키) | +| shipping_fee_formatted | string | `3,000원` | 총 배송비 포맷 | +| shipping_discount | integer | `0` | 배송비 할인 | +| shipping_discount_formatted | string | `0원` | 배송비 할인 포맷 | +| taxable_amount | integer | `10000` | 과세 금액 합계 | +| tax_free_amount | integer | `0` | 면세 금액 합계 | +| points_earning | integer | `0` | 적립 예정 마일리지 합계 | +| total_mileage | integer | `0` | 적립 예정 마일리지 (별칭 키) | +| mileage_formatted | string | `0P` | 적립 예정 마일리지 포맷 | +| points_used | integer | `0` | 사용 마일리지 합계 | +| points_used_formatted | string | `0원` | 사용 마일리지 차감액 통화 포맷 | +| payment_amount | integer | `13000` | 결제금액 (마일리지 사용 전) | +| payment_amount_formatted | string | `13,000원` | 결제금액 포맷 | +| final_amount | integer | `13000` | 최종 지불금액 | +| final_amount_formatted | string | `13,000원` | 최종 지불금액 포맷 | +| selected_payment_currency | string | `KRW` | 선택된 결제 통화 (설정된 경우에만 포함) | +| multi_currency | object | `{"KRW":{...}}` | 합계 금액의 다통화 환산 (설정된 경우에만 포함) | +| coupon_discount | integer | `0` | 상품 쿠폰 할인 (deprecated — 하위 호환) | +| coupon_discount_formatted | string | `0원` | 상품 쿠폰 할인 포맷 (deprecated) | +| order_discount | integer | `0` | 주문 쿠폰 할인 (deprecated — 하위 호환) | +| order_discount_formatted | string | `0원` | 주문 쿠폰 할인 포맷 (deprecated) | + +`mileage` (`UserMileageService::getBalance()` + 체크아웃 추가 키, 비회원은 `null`): + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| enabled | boolean | `true` | 마일리지 적립 기능 활성화 여부 | +| available | integer | `0` | 사용 가능 마일리지 잔액 | +| pending | integer | `0` | 적립 대기 중인 마일리지 | +| expiring_soon | integer | `0` | 곧 소멸 예정 마일리지 | +| expiring_date | string\|null | `2026-08-31` | 소멸 예정일 (없으면 `null`) | +| total_earned | integer | `0` | 누적 적립 마일리지 | +| total_used | integer | `0` | 누적 사용 마일리지 | +| by_currency | object | `{}` | 통화별 마일리지 내역 | +| max_usable | integer | `0` | 이번 주문에서 사용 가능한 최대 마일리지 | +| usable | boolean | `true` | 마일리지 "사용" 가능 여부 (기본 통화 사용 규칙 미설정 시 `false`) | + +`free_shipping` (`CheckoutDataService::buildFreeShippingInfo()`): + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| enabled | boolean | `false` | 무료배송 기준액 기능 활성화 여부 | +| threshold_base | integer | `50000` | 무료배송 기준액 (기본 통화 정수) | +| threshold_multi_currency | object | `{"KRW":{...}}` | 기준액의 결제통화 환산 (기준액 0 이면 `[]`) | +| remaining_base | integer | `40000` | 무료배송까지 남은 금액 (기본 통화) | +| remaining_multi_currency | object | `{"KRW":{...}}` | 남은 금액의 결제통화 환산 (남은 금액 0 이면 `[]`) | **응답 예시** - +```json +{ + "success": true, + "message": "주문서 정보를 조회했습니다.", + "data": { + "temp_order_id": 1, + "items": [ + { + "id": 1, + "product_id": 1, + "product_option_id": 1, + "quantity": 1, + "additional_options": [], + "additional_options_total": 0, + "product": { "id": 1, "name": "샘플 상품" }, + "product_option": { "id": 1, "name": "기본 옵션" }, + "is_shippable_to_selected_country": true, + "subtotal": 10000, + "subtotal_formatted": "10,000원", + "multi_currency_subtotal": {}, + "unit_price": 10000, + "unit_price_formatted": "10,000원", + "product_coupon_discount_amount": 0, + "product_coupon_discount_formatted": "0원", + "code_discount_amount": 0, + "code_discount_formatted": "0원", + "order_coupon_discount_share": 0, + "order_coupon_discount_share_formatted": "0원", + "total_discount": 0, + "total_discount_formatted": "0원", + "points_used_share": 0, + "points_used_share_formatted": "0원", + "points_earning": 0, + "final_amount": 10000, + "final_amount_formatted": "10,000원", + "available_coupons": [], + "disabled_coupon_ids": [] + } + ], + "calculation": { + "items": [], + "summary": { + "subtotal": 10000, + "subtotal_formatted": "10,000원", + "total_discount": 0, + "discount_formatted": "0원", + "base_shipping_total": 3000, + "extra_shipping_total": 0, + "total_shipping": 3000, + "shipping_fee_formatted": "3,000원", + "points_earning": 0, + "points_used": 0, + "points_used_formatted": "0원", + "payment_amount": 13000, + "payment_amount_formatted": "13,000원", + "final_amount": 13000, + "final_amount_formatted": "13,000원" + }, + "promotions": { + "coupon_issue_ids": [], + "item_coupons": {}, + "discount_code": null + }, + "validation_errors": [] + }, + "promotions": { + "item_coupons": {}, + "order_coupon_issue_id": null, + "shipping_coupon_issue_id": null + }, + "use_points": 0, + "shipping_address": { + "country_code": "KR", + "zipcode": "06234", + "region": null, + "city": null, + "address": null + }, + "expires_at": "2026-07-14T12:34:56+09:00", + "available_coupons": [], + "mileage": { + "enabled": true, + "available": 0, + "pending": 0, + "expiring_soon": 0, + "expiring_date": null, + "total_earned": 0, + "total_used": 0, + "by_currency": {}, + "max_usable": 0, + "usable": true + }, + "validation_errors": [], + "has_unshippable_items": false, + "selected_shipping_country": "KR", + "free_shipping": { + "enabled": false, + "threshold_base": 0, + "threshold_multi_currency": [], + "remaining_base": 0, + "remaining_multi_currency": [] + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 404 | Not Found | 임시 주문이 만료되었거나 존재하지 않음. 메시지: `임시 주문 정보를 찾을 수 없습니다.` | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 조회/재계산 중 예외 발생 | @@ -153,17 +395,52 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`CheckoutController@store` 가 직접 조립 — 성공 시 HTTP 201)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| temp_order_id | integer | `1` | 생성된 임시 주문 ID (이후 조회/수정/주문 확정에 사용) | +| calculation | object | `{...}` | 주문 계산 결과 (`OrderCalculationResult::toArray()` — `items` / `summary` / `promotions` / `validation_errors`. 상세는 GET /checkout 의 calculation 표 참조) | +| expires_at | string | `2026-07-14T12:34:56+09:00` | 임시 주문 만료 시각 (ISO 8601) | **응답 예시** - +```json +{ + "success": true, + "message": "주문서가 생성되었습니다.", + "data": { + "temp_order_id": 1, + "calculation": { + "items": [], + "summary": { + "subtotal": 10000, + "subtotal_formatted": "10,000원", + "total_discount": 0, + "total_shipping": 3000, + "payment_amount": 13000, + "final_amount": 13000, + "final_amount_formatted": "13,000원" + }, + "promotions": { + "coupon_issue_ids": [], + "item_coupons": {}, + "discount_code": null + }, + "validation_errors": [] + }, + "expires_at": "2026-07-14T12:34:56+09:00" + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 400 | Bad Request | 장바구니가 비어 있음. 메시지: `장바구니가 비어있습니다.` | +| 422 | Unprocessable Entity | 보유 잔액을 초과하는 마일리지 사용 요청 (`error.code: mileage_exceeds_balance`). 메시지: `주문서 생성에 실패했습니다.` | +| 500 | Internal Server Error | 임시 주문 생성 중 예외 발생. 메시지: `주문서 생성에 실패했습니다.` | @@ -216,17 +493,93 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드. GET `/api/modules/sirsoft-ecommerce/checkout` 과 동일한 구조입니다 (`CheckoutDataService::buildResponseData()` 를 그대로 사용)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| temp_order_id | integer | `1` | 임시 주문 ID | +| items | array | `[...]` | 재계산된 주문 상품 목록 (`CheckoutItemResource` — GET 문서의 `items[]` 표와 동일) | +| calculation | object | `{...}` | 재계산된 주문 계산 결과 (`items` / `summary` / `promotions` / `validation_errors`) | +| promotions | object | `{"item_coupons":{},"order_coupon_issue_id":null,"shipping_coupon_issue_id":null}` | 반영된 쿠폰 선택 상태 (미전송 필드는 기존 값 유지) | +| use_points | integer | `0` | 반영된 마일리지 사용 포인트 | +| shipping_address | object\|null | `{"country_code":"KR","zipcode":"06234"}` | 배송비 계산에 사용된 배송 주소 | +| expires_at | string | `2026-07-14T12:34:56+09:00` | 임시 주문 만료 시각 (ISO 8601) | +| available_coupons | array | `[]` | 주문금액/배송비 대상 사용 가능 쿠폰 (비회원은 빈 배열) | +| mileage | object\|null | `{...}` | 마일리지 잔액 정보 (비회원은 `null`) | +| validation_errors | array | `[]` | 조건 위반으로 자동 제외된 쿠폰의 사유 목록 | +| has_unshippable_items | boolean | `false` | 선택된 배송국가로 배송 불가한 상품 존재 여부 | +| selected_shipping_country | string | `KR` | 현재 선택된 배송 국가 코드 | +| free_shipping | object | `{...}` | 무료배송 기준액 정보 (`enabled` / `threshold_base` / `threshold_multi_currency` / `remaining_base` / `remaining_multi_currency`) | **응답 예시** - +```json +{ + "success": true, + "message": "주문서가 수정되었습니다.", + "data": { + "temp_order_id": 1, + "items": [], + "calculation": { + "items": [], + "summary": { + "subtotal": 10000, + "subtotal_formatted": "10,000원", + "total_discount": 1000, + "discount_formatted": "1,000원", + "total_shipping": 3000, + "shipping_fee_formatted": "3,000원", + "points_used": 0, + "payment_amount": 12000, + "final_amount": 12000, + "final_amount_formatted": "12,000원" + }, + "promotions": { + "coupon_issue_ids": [10], + "item_coupons": {}, + "discount_code": null + }, + "validation_errors": [] + }, + "promotions": { + "item_coupons": {}, + "order_coupon_issue_id": 10, + "shipping_coupon_issue_id": null + }, + "use_points": 0, + "shipping_address": { + "country_code": "KR", + "zipcode": "06234" + }, + "expires_at": "2026-07-14T12:34:56+09:00", + "available_coupons": [], + "mileage": { + "enabled": true, + "available": 0, + "max_usable": 0, + "usable": true + }, + "validation_errors": [], + "has_unshippable_items": false, + "selected_shipping_country": "KR", + "free_shipping": { + "enabled": false, + "threshold_base": 0, + "threshold_multi_currency": [], + "remaining_base": 0, + "remaining_multi_currency": [] + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | 임시 주문이 만료되었거나 존재하지 않음 (`TempOrderNotFoundException`). 메시지: `임시 주문 정보를 찾을 수 없습니다.` | +| 422 | Unprocessable Entity | 보유 잔액을 초과하는 마일리지 사용 요청 (`error.code: mileage_exceeds_balance`). 메시지: `주문서 수정에 실패했습니다.` | +| 500 | Internal Server Error | 재계산 중 예외 발생. 메시지: `주문서 수정에 실패했습니다.` | @@ -254,15 +607,30 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| expires_at | string | `2026-07-14T13:04:56+09:00` | 연장된 임시 주문 만료 시각 (ISO 8601) | **응답 예시** - +```json +{ + "success": true, + "message": "주문서 유효시간이 연장되었습니다.", + "data": { + "expires_at": "2026-07-14T13:04:56+09:00" + } +} +``` **에러 응답** -_대표 에러 없음 (공개 조회). _ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 404 | Not Found | 연장할 임시 주문이 이미 만료되었거나 존재하지 않음 (`TempOrderService::extendExpiration()` 이 null 반환). 메시지: `임시 주문 정보를 찾을 수 없습니다.` | +| 500 | Internal Server Error | 연장 처리 중 예외 발생. 메시지: `주문서 유효시간 연장에 실패했습니다.` | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/claim-reasons.md b/modules/_bundled/sirsoft-ecommerce/docs/api/claim-reasons.md index a2699c70..9a6b948d 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/claim-reasons.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/claim-reasons.md @@ -192,11 +192,58 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ClaimReasonResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `8` | 생성된 클래임 사유의 기본 키 (내부 식별자) | +| type | string | `refund` | 클래임 사유 유형 (ClaimReasonTypeEnum — `refund`(환불/취소)) | +| code | string | `apidoc_sample` | 사유 식별 코드 (같은 type 내 고유) | +| name | object | `{"ko":"API 문서 샘플 사유","en":"API Doc Sample Reason"}` | 다국어 사유명 (로케일별 값 객체) | +| localized_name | string | `API 문서 샘플 사유` | `name` 의 현재 로케일 해석 값 | +| fault_type | string | `customer` | 귀책 구분 (ClaimReasonFaultTypeEnum — `customer`(고객)/`seller`(판매자)/`carrier`(배송사)) | +| fault_type_label | string | `고객 귀책` | `fault_type` 값의 사람이 읽는 라벨 (Enum label 파생) | +| is_user_selectable | boolean | `true` | 회원 취소/반품 신청 화면에서 선택지로 노출할지 여부 | +| is_active | boolean | `true` | 활성 여부 (false 면 선택지에서 제외) | +| sort_order | integer | `0` | 표시 정렬 순서 값 (작을수록 우선) | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 | +| updated_at | string | `2026-07-08 10:44:49` | 최종 수정 일시 | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (`sirsoft-ecommerce.settings.update` 권한 기반) | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "클래임 사유가 등록되었습니다.", + "data": { + "id": 8, + "type": "refund", + "code": "apidoc_sample", + "name": { + "ko": "API 문서 샘플 사유", + "en": "API Doc Sample Reason" + }, + "localized_name": "API 문서 샘플 사유", + "fault_type": "customer", + "fault_type_label": "고객 귀책", + "is_user_selectable": true, + "is_active": true, + "sort_order": 0, + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 10:44:49", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -204,7 +251,7 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.settings.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). 같은 `type` 내에 동일한 `code` 가 이미 존재하면 `code` 필드 검증 실패 | @@ -401,20 +448,68 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ClaimReasonResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `8` | 수정된 클래임 사유의 기본 키 (내부 식별자) | +| type | string | `refund` | 클래임 사유 유형 (ClaimReasonTypeEnum — `refund`(환불/취소)) | +| code | string | `apidoc_sample` | 사유 식별 코드 (같은 type 내 고유) | +| name | object | `{"ko":"API 문서 샘플 사유(수정)","en":"API Doc Sample Reason (Updated)"}` | 다국어 사유명 (로케일별 값 객체) | +| localized_name | string | `API 문서 샘플 사유(수정)` | `name` 의 현재 로케일 해석 값 | +| fault_type | string | `seller` | 귀책 구분 (ClaimReasonFaultTypeEnum — `customer`(고객)/`seller`(판매자)/`carrier`(배송사)) | +| fault_type_label | string | `판매자 귀책` | `fault_type` 값의 사람이 읽는 라벨 (Enum label 파생) | +| is_user_selectable | boolean | `true` | 회원 취소/반품 신청 화면에서 선택지로 노출할지 여부 | +| is_active | boolean | `true` | 활성 여부 (false 면 선택지에서 제외) | +| sort_order | integer | `0` | 표시 정렬 순서 값 (작을수록 우선) | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 | +| updated_at | string | `2026-07-08 15:00:18` | 최종 수정 일시 | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (`sirsoft-ecommerce.settings.update` 권한 기반) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "클래임 사유가 수정되었습니다.", + "data": { + "id": 8, + "type": "refund", + "code": "apidoc_sample", + "name": { + "ko": "API 문서 샘플 사유(수정)", + "en": "API Doc Sample Reason (Updated)" + }, + "localized_name": "API 문서 샘플 사유(수정)", + "fault_type": "seller", + "fault_type_label": "판매자 귀책", + "is_user_selectable": true, + "is_active": true, + "sort_order": 0, + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 15:00:18", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 대상 사유가 없거나 갱신에 실패한 경우 (서비스 예외 → `exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.settings.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). 같은 `type` 내 다른 사유가 동일한 `code` 를 이미 사용 중이면 `code` 필드 검증 실패 | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/coupons.md b/modules/_bundled/sirsoft-ecommerce/docs/api/coupons.md index 30cae75b..e6d58135 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/coupons.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/coupons.md @@ -534,19 +534,55 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (생성된 쿠폰 발급 내역 `CouponIssue` 모델 직렬화 — 전용 Resource 를 거치지 않고 모델의 컬럼/캐스트가 그대로 노출됩니다)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `8611` | 발급 내역 ID (기본 키) | +| coupon_id | integer | `157` | 발급된 쿠폰 정의(마스터)의 식별자 | +| user_id | integer | `1` | 발급받은 회원 식별자 | +| coupon_code | string | `DL-8QK2ZX4M` | 발급 시 생성된 쿠폰 코드 (다운로드 발급은 `DL-` + 8자리 랜덤 대문자) | +| status | string | `available` | 발급 건 상태 (available=사용가능, used=사용완료, expired=만료, cancelled=취소) | +| issued_at | string | `2026-07-14T02:24:18.000000Z` | 발급일시 (발급 처리 시각) | +| expired_at | string \| null | `2026-08-07T02:24:18.000000Z` | 만료일시 (valid_type=period 이면 쿠폰의 `valid_to`, days_from_issue 이면 발급일 + `valid_days`, 둘 다 아니면 null) | +| used_at | null | `null` | 사용일시 (발급 직후에는 항상 null) | +| order_id | null | `null` | 사용된 주문 식별자 (발급 직후에는 항상 null) | +| discount_amount | string \| null | `null` | 실제 적용된 할인 금액 (사용 전에는 null, decimal(15,2)) | +| created_at | string | `2026-07-14T02:24:18.000000Z` | 생성 일시 | +| updated_at | string | `2026-07-14T02:24:18.000000Z` | 최종 수정 일시 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "쿠폰이 다운로드되었습니다.", + "data": { + "coupon_id": 157, + "user_id": 1, + "coupon_code": "DL-8QK2ZX4M", + "status": "available", + "issued_at": "2026-07-14T02:24:18.000000Z", + "expired_at": "2026-08-07T02:24:18.000000Z", + "updated_at": "2026-07-14T02:24:18.000000Z", + "created_at": "2026-07-14T02:24:18.000000Z", + "id": 8611 + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | 쿠폰 다운로드 제한 횟수를 초과했습니다. | 회원 1인당 발급 제한(`per_user_limit`) 을 이미 채운 경우 | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | `coupon_id` 가 정수가 아니거나 존재하지 않는 쿠폰인 경우 (`error.errors` 에 필드별 메시지) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/currency.md b/modules/_bundled/sirsoft-ecommerce/docs/api/currency.md index 02138136..e34ae463 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/currency.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/currency.md @@ -99,18 +99,35 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| preferred_currency | string | `USD` | 저장된 선호 결제 통화 코드 (요청의 `currency` 값이 그대로 반환됨) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "결제 통화가 변경되었습니다.", + "data": { + "preferred_currency": "USD" + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | `currency` 누락("결제 통화를 선택해 주세요.") 또는 등록되지 않은/환율 미설정 통화 지정("등록된 통화만 선택할 수 있습니다.") | +| 500 | Internal Server Error | 통화 저장 중 예외 발생 시 ("결제 통화 변경에 실패했습니다.") | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/extra-fee-templates.md b/modules/_bundled/sirsoft-ecommerce/docs/api/extra-fee-templates.md index 800a2df1..d114266a 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/extra-fee-templates.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/extra-fee-templates.md @@ -203,19 +203,62 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ExtraFeeTemplateResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| zipcode | string | `06234` | 추가배송비를 적용할 우편번호 (단일 또는 `-` 로 이은 범위) | +| fee | integer | `3000` | 해당 우편번호에 부과할 추가 배송비 (상점 기본 통화 기준 반올림) | +| fee_formatted | string | `3,000원` | `fee` 값의 표시용 포맷 문자열 (기본 통화 포맷) | +| region | string \| null | `경기 안산 풍도동` | 지역명 (도서산간 등 관리자 참고용 표시 라벨, 미입력 시 null) | +| description | string \| null | `도서산간 지역` | 설명 (미입력 시 null) | +| is_active | boolean | `true` | 활성 여부 (true 이면 배송비 계산에 할증 반영) | +| created_by | string \| null | `a234c2b1-cde8-437f-b28b-23323be2b98d` | 등록자 UUID (creator 관계 파생, 없으면 null) | +| updated_by | string \| null | `a234c2b1-cde8-437f-b28b-23323be2b98d` | 최종 수정자 UUID (updater 관계 파생, 없으면 null) | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 (사용자 타임존 기준 포맷) | +| updated_at | string | `2026-07-08 10:44:49` | 최종 수정 일시 (사용자 타임존 기준 포맷) | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (모두 `sirsoft-ecommerce.settings.update` 권한 기반) | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "추가배송비 템플릿이 등록되었습니다.", + "data": { + "id": 1, + "zipcode": "06234", + "fee": 3000, + "fee_formatted": "3,000원", + "region": "경기 안산 풍도동", + "description": "도서산간 지역", + "is_active": true, + "created_by": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "updated_by": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 10:44:49", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 저장 중 예외 발생 시 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.shipping-policies.create`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). `zipcode` 는 숫자 또는 `숫자-숫자` 범위 형식이어야 하며 이미 등록된 우편번호면 중복 오류 | @@ -479,19 +522,38 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (일괄 삭제 결과 요약)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| deleted_count | integer | `3` | 실제로 삭제된 템플릿 건수 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": ":count개 추가배송비 템플릿이 삭제되었습니다.", + "data": { + "deleted_count": 3 + } +} +``` + +> 컨트롤러가 메시지 치환 파라미터를 전달하지 않으므로 `message` 의 `:count` 자리표시자는 치환되지 않은 채로 내려갑니다. 실제 삭제 건수는 `data.deleted_count` 를 사용하세요. **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 삭제 중 예외 발생 시 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.shipping-policies.delete`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). `ids` 는 1건 이상이어야 하며 각 값은 존재하는 템플릿 ID 여야 함 | @@ -528,19 +590,38 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (일괄 등록 결과 요약)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| created_count | integer | `2` | 실제로 등록(또는 갱신)된 템플릿 건수 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": ":count개 추가배송비 템플릿이 등록되었습니다.", + "data": { + "created_count": 2 + } +} +``` + +> 컨트롤러가 메시지 치환 파라미터를 전달하지 않으므로 `message` 의 `:count` 자리표시자는 치환되지 않은 채로 내려갑니다. 실제 등록 건수는 `data.created_count` 를 사용하세요. **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 일괄 등록 중 예외 발생 시 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.shipping-policies.create`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). 항목별로 `items.*.zipcode` (필수, 숫자 또는 `숫자-숫자` 범위, 최대 20자) 와 `items.*.fee` (필수, 0 이상) 가 검증됨 | @@ -579,19 +660,38 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (일괄 변경 결과 요약)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| updated_count | integer | `3` | 활성 여부가 실제로 변경된 템플릿 건수 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": ":count개 추가배송비 템플릿의 사용여부가 변경되었습니다.", + "data": { + "updated_count": 3 + } +} +``` + +> 컨트롤러가 메시지 치환 파라미터를 전달하지 않으므로 `message` 의 `:count` 자리표시자는 치환되지 않은 채로 내려갑니다. 실제 변경 건수는 `data.updated_count` 를 사용하세요. **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 일괄 변경 중 예외 발생 시 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.shipping-policies.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). `ids` 는 1건 이상이며 각 값은 존재하는 템플릿 ID, `is_active` 는 필수 boolean | @@ -621,7 +721,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** @@ -719,20 +819,63 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ExtraFeeTemplateResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| zipcode | string | `06234` | 추가배송비를 적용할 우편번호 (단일 또는 `-` 로 이은 범위) | +| fee | integer | `5000` | 해당 우편번호에 부과할 추가 배송비 (상점 기본 통화 기준 반올림) | +| fee_formatted | string | `5,000원` | `fee` 값의 표시용 포맷 문자열 (기본 통화 포맷) | +| region | string \| null | `경기 안산 풍도동` | 지역명 (도서산간 등 관리자 참고용 표시 라벨, 미입력 시 null) | +| description | string \| null | `도서산간 지역` | 설명 (미입력 시 null) | +| is_active | boolean | `true` | 활성 여부 (true 이면 배송비 계산에 할증 반영) | +| created_by | string \| null | `null` | 등록자 UUID (creator 관계 파생, 없으면 null) | +| updated_by | string \| null | `a234c2b1-cde8-437f-b28b-23323be2b98d` | 최종 수정자 UUID (수정 시 현재 로그인 사용자로 갱신) | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 (사용자 타임존 기준 포맷) | +| updated_at | string | `2026-07-08 15:00:20` | 최종 수정 일시 (사용자 타임존 기준 포맷) | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (모두 `sirsoft-ecommerce.settings.update` 권한 기반) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "추가배송비 템플릿이 수정되었습니다.", + "data": { + "id": 1, + "zipcode": "06234", + "fee": 5000, + "fee_formatted": "5,000원", + "region": "경기 안산 풍도동", + "description": "도서산간 지역", + "is_active": true, + "created_by": null, + "updated_by": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 15:00:20", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 수정 중 예외 발생 시 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.shipping-policies.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). `zipcode` 는 숫자 또는 `숫자-숫자` 범위 형식이어야 하며 자신을 제외한 다른 템플릿과 중복될 수 없음 | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/guest.md b/modules/_bundled/sirsoft-ecommerce/docs/api/guest.md index 524b29c5..b85d7685 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/guest.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/guest.md @@ -48,16 +48,38 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| guest_order_token | string | `eyJpdiI6...` | 비회원 주문 조회 토큰 (30분 유효). 이후 비회원 주문 상세/취소/환불예상 호출 시 `X-Guest-Order-Token` 헤더로 전달 | +| expires_at | string | `2026-07-14T15:02:11+09:00` | 토큰 만료 일시 (ISO 8601) | +| order | object | — | 최소 주문 요약 (상세는 토큰 보호 엔드포인트에서 제공) | +| order.order_number | string | `20260714000012` | 인증된 주문의 주문번호 | +| order.order_status | string | `payment_complete` | 주문 상태 (`pending_order`, `pending_payment`, `payment_complete`, `shipping_hold`, `preparing`, `shipping_ready`, `shipping`, `delivered`, `confirmed`, `cancelled`) | **응답 예시** - +```json +{ + "success": true, + "message": "주문 정보를 조회했습니다.", + "data": { + "guest_order_token": "eyJpdiI6...", + "expires_at": "2026-07-14T15:02:11+09:00", + "order": { + "order_number": "20260714000012", + "order_status": "payment_complete" + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 404 | Not Found | 주문 없음 / 회원 주문 / 전화번호 불일치 / 비밀번호 오류 / 잠금 — 정보 노출 방지를 위해 모두 동일한 "주문을 찾을 수 없습니다" 로 처리 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -101,18 +123,145 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`GuestOrderResource` — 취소 후 갱신된 주문 상세)._ + + + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| order_number | string | `20260714000012` | 주문번호 | +| order_status | string | `cancelled` | 주문 상태 (`pending_order`, `pending_payment`, `payment_complete`, `shipping_hold`, `preparing`, `shipping_ready`, `shipping`, `delivered`, `confirmed`, `cancelled`) | +| order_status_label | string\|null | `주문취소` | 주문 상태의 다국어 라벨 | +| order_status_variant | string\|null | `danger` | 주문 상태 뱃지 표시용 variant | +| is_partially_cancelled | boolean | `false` | 일부 옵션만 취소된 주문인지 여부 (별도 상태가 아닌 파생 플래그, 보조 뱃지용) | +| subtotal_amount | number | `12000` | 상품 합계 금액 (주문 시점 통화 기준) | +| subtotal_amount_formatted | string | `12,000원` | 상품 합계 금액 표기 문자열 | +| total_discount_amount | number | `0` | 총 할인 금액 | +| total_discount_amount_formatted | string | `0원` | 총 할인 금액 표기 문자열 | +| total_shipping_amount | number | `3000` | 총 배송비 | +| total_shipping_amount_formatted | string | `3,000원` | 총 배송비 표기 문자열 | +| total_amount | number | `15000` | 주문 총액 | +| total_amount_formatted | string | `15,000원` | 주문 총액 표기 문자열 | +| total_paid_amount | number | `15000` | 실제 결제 금액 | +| total_paid_amount_formatted | string | `15,000원` | 실제 결제 금액 표기 문자열 | +| total_cancelled_amount | number | `15000` | 누적 취소 금액 | +| total_cancelled_amount_formatted | string | `15,000원` | 누적 취소 금액 표기 문자열 | +| total_refunded_amount | number | `15000` | 누적 PG 환불 금액 | +| total_refunded_amount_formatted | string | `15,000원` | 누적 PG 환불 금액 표기 문자열 | +| total_refunded_points_amount | number | `0` | 누적 마일리지 환불 금액 | +| total_refunded_points_amount_formatted | string | `0원` | 누적 마일리지 환불 금액 표기 문자열 | +| total_points_used_amount | number | `0` | 사용한 마일리지 금액 | +| total_points_used_amount_formatted | string | `0원` | 사용 마일리지 표기 문자열 | +| total_deposit_used_amount | number | `0` | 사용한 예치금 금액 | +| total_deposit_used_amount_formatted | string | `0원` | 사용 예치금 표기 문자열 | +| total_earned_points_amount | number | `0` | 적립 예정/확정 마일리지 금액 | +| total_earned_points_amount_formatted | string | `0원` | 적립 마일리지 표기 문자열 | +| mc_subtotal_amount | object\|null | `{"KRW":"12,000원","USD":"$8.60"}` | 상품 합계의 다중 통화 스냅샷 (통화코드 → 표기 문자열) | +| mc_total_discount_amount | object\|null | — | 총 할인의 다중 통화 스냅샷 | +| mc_total_shipping_amount | object\|null | — | 총 배송비의 다중 통화 스냅샷 | +| mc_total_amount | object\|null | — | 주문 총액의 다중 통화 스냅샷 | +| mc_total_points_used_amount | object\|null | — | 사용 마일리지의 다중 통화 스냅샷 | +| mc_total_deposit_used_amount | object\|null | — | 사용 예치금의 다중 통화 스냅샷 | +| item_count | integer | `1` | 주문 품목 종류 수 | +| total_quantity | integer | `2` | 주문 총 수량 (옵션 수량 합) | +| ordered_at | string\|null | `2026-07-14T14:32:11+09:00` | 주문 일시 (ISO 8601) | +| ordered_at_formatted | string\|null | `2026-07-14 14:32` | 주문 일시 (사용자 타임존 표기) | +| paid_at | string\|null | `2026-07-14T14:33:02+09:00` | 결제 완료 일시 (ISO 8601) | +| paid_at_formatted | string\|null | `2026-07-14 14:33` | 결제 완료 일시 (사용자 타임존 표기) | +| confirmed_at | string\|null | `null` | 구매확정 일시 (ISO 8601) | +| confirmed_at_formatted | string\|null | `null` | 구매확정 일시 (사용자 타임존 표기) | +| cancelled_at | string\|null | `2026-07-14T15:01:44+09:00` | 취소 일시 (ISO 8601) | +| cancelled_at_formatted | string\|null | `2026-07-14 15:01` | 취소 일시 (사용자 타임존 표기) | +| orderer_name | string\|null | `홍길동` | 주문자 이름 | +| orderer_phone | string\|null | `010-1234-5678` | 주문자 전화번호 | +| orderer_email | string\|null | `guest@example.com` | 주문자 이메일 | +| recipient_name | string\|null | `홍길동` | 수령인 이름 | +| recipient_phone | string\|null | `010-1234-5678` | 수령인 연락처 | +| recipient_zipcode | string\|null | `06234` | 배송지 우편번호 | +| recipient_address | string\|null | `서울특별시 강남구 테헤란로 1` | 배송지 기본 주소 | +| recipient_detail_address | string\|null | `101호` | 배송지 상세 주소 | +| delivery_memo | string\|null | `부재 시 경비실에 맡겨주세요` | 배송 메모 | +| delivery_memo_label | string\|null | `부재 시 경비실` | 배송 메모 프리셋 라벨 | +| options | array | — | 주문 옵션(품목) 목록 (`OrderOptionResource`, 관계 로드 시에만 포함) | +| shipping_address | object\|null | — | 배송지 상세 (`OrderAddressResource`) | +| payment | object\|null | — | 결제 정보 (`OrderPaymentResource`, 관계 로드 시에만 포함) | +| shippings | array | — | 배송 정보 목록 (`OrderShippingResource`, 관계 로드 시에만 포함) | +| cancels | array | — | 취소 이력 목록 (`OrderCancelResource` — 취소 사유·상세·취소일시) | +| abilities | object | `{"can_cancel": false}` | 주문 상태로 판정한 허용 액션 (회원 권한이 아닌 상태 기반). `can_cancel` 은 환경설정 `order_settings.cancellable_statuses` 기준 | + +회원용 `OrderResource` 와 달리 관리자/내부 메모(`admin_memo`, `customer_memo`), 회원 정보(`user`, `user_id`), 내부 계산 스냅샷(`promotions_applied_snapshot` 등)은 노출하지 않습니다. **응답 예시** - +```json +{ + "success": true, + "message": "주문이 취소되었습니다.", + "data": { + "order_number": "20260714000012", + "order_status": "cancelled", + "order_status_label": "주문취소", + "order_status_variant": "danger", + "is_partially_cancelled": false, + "subtotal_amount": 12000, + "subtotal_amount_formatted": "12,000원", + "total_discount_amount": 0, + "total_discount_amount_formatted": "0원", + "total_shipping_amount": 3000, + "total_shipping_amount_formatted": "3,000원", + "total_amount": 15000, + "total_amount_formatted": "15,000원", + "total_paid_amount": 15000, + "total_paid_amount_formatted": "15,000원", + "total_cancelled_amount": 15000, + "total_cancelled_amount_formatted": "15,000원", + "total_refunded_amount": 15000, + "total_refunded_amount_formatted": "15,000원", + "total_refunded_points_amount": 0, + "total_refunded_points_amount_formatted": "0원", + "total_points_used_amount": 0, + "total_points_used_amount_formatted": "0원", + "total_deposit_used_amount": 0, + "total_deposit_used_amount_formatted": "0원", + "total_earned_points_amount": 0, + "total_earned_points_amount_formatted": "0원", + "item_count": 1, + "total_quantity": 2, + "ordered_at": "2026-07-14T14:32:11+09:00", + "ordered_at_formatted": "2026-07-14 14:32", + "paid_at": "2026-07-14T14:33:02+09:00", + "paid_at_formatted": "2026-07-14 14:33", + "confirmed_at": null, + "confirmed_at_formatted": null, + "cancelled_at": "2026-07-14T15:01:44+09:00", + "cancelled_at_formatted": "2026-07-14 15:01", + "orderer_name": "홍길동", + "orderer_phone": "010-1234-5678", + "orderer_email": "guest@example.com", + "recipient_name": "홍길동", + "recipient_phone": "010-1234-5678", + "recipient_zipcode": "06234", + "recipient_address": "서울특별시 강남구 테헤란로 1", + "recipient_detail_address": "101호", + "delivery_memo": null, + "delivery_memo_label": null, + "options": [], + "shipping_address": {}, + "shippings": [], + "cancels": [], + "abilities": { + "can_cancel": false + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | `X-Guest-Order-Token` 누락·만료·주문번호 불일치 (토큰이 지목한 주문 외에는 접근 불가) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 위반 (`error.errors` 에 필드별 메시지), 또는 취소 처리 실패 (`주문 취소에 실패했습니다.`) | @@ -329,18 +478,87 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`AdjustmentResult::toPreviewArray()` — 실제 취소는 수행하지 않는 환불 예상 계산 결과)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| refund_amount | number | `12000` | PG 환불 예상 금액 (음수면 추가결제 필요) | +| refund_points_amount | number | `0` | 마일리지 환불 예상 금액 | +| original_paid_amount | number | `15000` | 원 결제 금액 | +| recalculated_paid_amount | number | `3000` | 취소 후 재계산된 결제 금액 | +| shipping_difference | number | `0` | 배송비 차이 (양수: 환불 / 음수: 추가결제) | +| discount_difference | number | `0` | 할인 차이 (양수: 할인 감소분) | +| additional_payment_amount | number | `0` | 추가결제 필요 금액 (환불액이 음수일 때만 > 0) | +| cancelled_items | array | — | 취소 대상 항목 정보 (`order_option_id`, `cancel_quantity`, `cancel_amount`) | +| refund_priority | string | `pg_first` | 적용된 환불 배분 우선순위 (`pg_first`, `points_first`) | +| remaining_pg_balance | number | `0` | 환불 후 잔여 PG 결제 잔액 | +| remaining_points_balance | number | `0` | 환불 후 잔여 마일리지 잔액 | +| refund_total | number | `12000` | 총 환불 예상액 (PG 환불액 + 마일리지 환불액) | +| refund_formatted | object | — | 환불 총액·잔액의 표기 문자열 (base 통화 + 결제 통화 병기 — 취소 모달 표기 SSoT) | +| restored_coupons | array | — | 취소로 복원되는 쿠폰 정보 (`coupon_name`, `discount_amount`) | +| shipping_details | array | — | 배송비 정책별 상세 (`policy_name`, `base_difference`, `extra_difference`, `total_difference`) | +| mc_refund_amount | object\|null | — | PG 환불 금액의 다중 통화 표기 (통화코드 → 금액) | +| mc_refund_points_amount | object\|null | — | 마일리지 환불 금액의 다중 통화 표기 | +| mc_refund_shipping_amount | object\|null | — | 배송비 환불 금액의 다중 통화 표기 | +| original_snapshot | object | — | 재계산 전 주문 금액 스냅샷 | +| recalculated_snapshot | object | — | 재계산 후 주문 금액 스냅샷 | +| mc_original_snapshot | object\|null | — | 재계산 전 다중 통화 스냅샷 | +| mc_recalculated_snapshot | object\|null | — | 재계산 후 다중 통화 스냅샷 | +| original_coupons | array | — | 원 주문에 적용된 쿠폰 상세 (`name`, `target_type`, `discount_amount`) | +| recalculated_coupons | array | — | 재계산 후 유지되는 쿠폰 상세 | +| cancel_blocked | boolean | `false` | 취소 차단 여부 (부분취소로 쿠폰 조건이 깨져 추가결제가 필요해지는 경우 true) | +| cancel_blocked_reason | string\|null | `null` | 차단 사유 메시지 (차단이 아니면 `null`) | **응답 예시** - +```json +{ + "success": true, + "message": "환불 예상금액을 조회했습니다.", + "data": { + "refund_amount": 12000, + "refund_points_amount": 0, + "original_paid_amount": 15000, + "recalculated_paid_amount": 3000, + "shipping_difference": 0, + "discount_difference": 0, + "additional_payment_amount": 0, + "cancelled_items": [ + { + "order_option_id": 34, + "cancel_quantity": 2, + "cancel_amount": 12000 + } + ], + "refund_priority": "pg_first", + "remaining_pg_balance": 3000, + "remaining_points_balance": 0, + "refund_total": 12000, + "refund_formatted": {}, + "restored_coupons": [], + "shipping_details": [], + "mc_refund_amount": null, + "mc_refund_points_amount": null, + "mc_refund_shipping_amount": null, + "original_snapshot": {}, + "recalculated_snapshot": {}, + "mc_original_snapshot": null, + "mc_recalculated_snapshot": null, + "original_coupons": [], + "recalculated_coupons": [], + "cancel_blocked": false, + "cancel_blocked_reason": null + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | `X-Guest-Order-Token` 누락·만료·주문번호 불일치 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 환불 예상금액 계산 실패 (`환불 예상금액 조회에 실패했습니다.`) | @@ -370,17 +588,51 @@ Accept: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`GuestOrderResource` — 구매확정 후 갱신된 주문 상세). 필드 구성은 [비회원 주문 취소 응답 필드 표](#guest-order-resource)와 동일합니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| order_number | string | `20260714000012` | 주문번호 | +| order_status | string | `confirmed` | 구매확정 반영된 주문 상태 | +| order_status_label | string\|null | `구매확정` | 주문 상태의 다국어 라벨 | +| confirmed_at | string\|null | `2026-07-14T16:10:03+09:00` | 구매확정 일시 (ISO 8601) | +| options | array | — | 주문 옵션 목록 — 확정된 옵션의 상태가 갱신되어 포함 | +| abilities | object | `{"can_cancel": false}` | 주문 상태 기반 허용 액션 | +| _(그 외)_ | — | — | 금액·일시·주문자/수취인·배송지·결제·배송·취소이력 필드는 [비회원 주문 취소 응답 필드 표](#guest-order-resource)와 동일 | **응답 예시** - +```json +{ + "success": true, + "message": "구매확정이 완료되었습니다.", + "data": { + "order_number": "20260714000012", + "order_status": "confirmed", + "order_status_label": "구매확정", + "order_status_variant": "success", + "is_partially_cancelled": false, + "total_amount": 15000, + "total_amount_formatted": "15,000원", + "confirmed_at": "2026-07-14T16:10:03+09:00", + "confirmed_at_formatted": "2026-07-14 16:10", + "options": [], + "shipping_address": {}, + "shippings": [], + "cancels": [], + "abilities": { + "can_cancel": false + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | `X-Guest-Order-Token` 누락·만료·주문번호 불일치, 또는 `optionId` 가 해당 주문에 속하지 않는 경우 | +| 422 | Unprocessable Entity | 구매확정 불가 상태 (배송 미완료 등 — `현재 상태에서는 구매확정할 수 없습니다.`) | @@ -439,18 +691,54 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`GuestOrderResource` — 배송지 수정 후 갱신된 주문 상세). 필드 구성은 [비회원 주문 취소 응답 필드 표](#guest-order-resource)와 동일합니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| order_number | string | `20260714000012` | 주문번호 | +| recipient_name | string\|null | `홍길동` | 수정 반영된 수령인 이름 | +| recipient_phone | string\|null | `010-1234-5678` | 수정 반영된 수령인 연락처 | +| recipient_zipcode | string\|null | `06234` | 수정 반영된 우편번호 | +| recipient_address | string\|null | `서울특별시 강남구 테헤란로 1` | 수정 반영된 기본 주소 | +| recipient_detail_address | string\|null | `101호` | 수정 반영된 상세 주소 | +| delivery_memo | string\|null | `부재 시 경비실에 맡겨주세요` | 수정 반영된 배송 메모 | +| shipping_address | object\|null | — | 배송지 상세 (`OrderAddressResource` — 국제 주소 필드 포함) | +| _(그 외)_ | — | — | 상태·금액·일시·옵션·결제·배송·취소이력·abilities 필드는 [비회원 주문 취소 응답 필드 표](#guest-order-resource)와 동일 | **응답 예시** - +```json +{ + "success": true, + "message": "배송지가 변경되었습니다.", + "data": { + "order_number": "20260714000012", + "order_status": "payment_complete", + "order_status_label": "결제완료", + "recipient_name": "홍길동", + "recipient_phone": "010-1234-5678", + "recipient_zipcode": "06234", + "recipient_address": "서울특별시 강남구 테헤란로 1", + "recipient_detail_address": "101호", + "delivery_memo": "부재 시 경비실에 맡겨주세요", + "delivery_memo_label": null, + "shipping_address": {}, + "options": [], + "shippings": [], + "cancels": [], + "abilities": { + "can_cancel": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | `X-Guest-Order-Token` 누락·만료·주문번호 불일치 | +| 422 | Unprocessable Entity | 요청 파라미터 검증 위반 (`error.errors` 에 필드별 메시지), 또는 배송이 이미 시작되어 수정 불가 (`배송 전 상태에서만 배송지를 변경할 수 있습니다.`) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/inquiries.md b/modules/_bundled/sirsoft-ecommerce/docs/api/inquiries.md index c434fe64..4e7810e8 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/inquiries.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/inquiries.md @@ -40,11 +40,23 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| deleted | boolean | `true` | 삭제 성공 여부 (컨트롤러가 상수 `true` 로 반환) | **응답 예시** - +```json +{ + "success": true, + "message": "문의가 삭제되었습니다.", + "data": { + "deleted": true + } +} +``` **에러 응답** @@ -53,6 +65,8 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.inquiries.delete`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 문의를 찾을 수 없거나(`문의를 찾을 수 없습니다.`) 문의 게시판이 설정되지 않은 경우(`문의 게시판이 설정되지 않았습니다.`) — `ProductInquiryService::deleteInquiry()` 의 `RuntimeException` | +| 500 | Internal Server Error | 삭제 처리 중 예기치 못한 예외 (`문의 삭제에 실패했습니다.`) | @@ -82,11 +96,23 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| deleted | boolean | `true` | 답변 삭제 성공 여부 (컨트롤러가 상수 `true` 로 반환) | **응답 예시** - +```json +{ + "success": true, + "message": "답변이 삭제되었습니다.", + "data": { + "deleted": true + } +} +``` **에러 응답** @@ -95,6 +121,8 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.inquiries.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 문의를 찾을 수 없거나(`문의를 찾을 수 없습니다.`) 문의 게시판이 설정되지 않은 경우(`문의 게시판이 설정되지 않았습니다.`) — `ProductInquiryService::deleteReply()` 의 `RuntimeException` | +| 500 | Internal Server Error | 답변 삭제 처리 중 예기치 못한 예외 (`답변 삭제에 실패했습니다.`) | @@ -130,11 +158,25 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 답변이 등록된 문의(피벗 `product_inquiries`)의 기본 키 | +| is_answered | boolean | `true` | 답변 등록 후의 문의 답변 완료 여부 | **응답 예시** - +```json +{ + "success": true, + "message": "답변이 등록되었습니다.", + "data": { + "id": 1, + "is_answered": true + } +} +``` **에러 응답** @@ -143,7 +185,8 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.inquiries.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) / 문의를 찾을 수 없거나(`문의를 찾을 수 없습니다.`) 답변 게시글 생성에 실패한 경우(`답변 등록에 실패했습니다.`) — `ProductInquiryService::createReply()` 의 `RuntimeException` | +| 500 | Internal Server Error | 답변 등록 처리 중 예기치 못한 예외 (`답변 등록에 실패했습니다.`) | @@ -179,11 +222,23 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 답변을 수정한 문의(피벗 `product_inquiries`)의 기본 키 (요청 path 의 `inquiryId` 를 그대로 반환) | **응답 예시** - +```json +{ + "success": true, + "message": "답변이 수정되었습니다.", + "data": { + "id": 1 + } +} +``` **에러 응답** @@ -192,7 +247,8 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.inquiries.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) / 문의를 찾을 수 없거나(`문의를 찾을 수 없습니다.`) 문의 게시판이 설정되지 않은 경우(`문의 게시판이 설정되지 않았습니다.`) — `ProductInquiryService::updateReply()` 의 `RuntimeException` | +| 500 | Internal Server Error | 답변 수정 처리 중 예기치 못한 예외 (`답변 수정에 실패했습니다.`) | @@ -372,18 +428,32 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| deleted | boolean | `true` | 삭제 성공 여부 (컨트롤러가 상수 `true` 로 반환) | **응답 예시** - +```json +{ + "success": true, + "message": "문의가 삭제되었습니다.", + "data": { + "deleted": true + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 403 | Forbidden | 문의 작성자(`user_id`)가 로그인 사용자와 다른 경우 (`해당 문의에 대한 권한이 없습니다.`) | +| 404 | Not Found | 해당 ID 의 문의가 존재하지 않는 경우 (`문의를 찾을 수 없습니다.`) | +| 500 | Internal Server Error | 삭제 처리 중 예기치 못한 예외 (`문의 삭제에 실패했습니다.`) — 문의 게시판 미설정 등 서비스 `RuntimeException` 포함 | @@ -401,10 +471,10 @@ Authorization: Bearer {YOUR_TOKEN} | 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | | --- | --- | --- | --- | --- | --- | | inquiryId | path | string | 예 | — | 대상 inquiry의 식별자 | -| title | body | string | 아니오 | min 2, max 200 | 제목 | +| title | body | string | 아니오 | — | 문의 제목 (연동 게시판 Post 의 제목으로 저장. 게시판 설정에 따라 min/max 길이 규칙이 Filter 훅으로 추가됨) | | category | body | string | 아니오 | — | 문의 분류 (게시판 설정 기반 유형 슬러그, 연동 게시판 Post 로 저장) | -| content | body | string | 예 | min 10, max 10000 | 본문 내용 | -| is_secret | body | boolean | 아니오 | — | secret 여부 | +| content | body | string | 예 | — | 문의 본문 (필수. 게시판 설정에 따라 min/max 길이 규칙이 Filter 훅으로 추가됨) | +| is_secret | body | boolean | 아니오 | — | 비밀글 여부 (게시판 비밀글 모드 설정에 따라 적용) | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`sirsoft-ecommerce.inquiry.update_validation_rules`). @@ -427,19 +497,33 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 수정한 문의(피벗 `product_inquiries`)의 기본 키 (요청 path 의 `inquiryId` 를 그대로 반환) | **응답 예시** - +```json +{ + "success": true, + "message": "문의가 수정되었습니다.", + "data": { + "id": 1 + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 문의 작성자(`user_id`)가 로그인 사용자와 다른 경우 (`해당 문의에 대한 권한이 없습니다.`) | +| 404 | Not Found | 해당 ID 의 문의가 존재하지 않는 경우 (`문의를 찾을 수 없습니다.`) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) / 문의 게시판이 설정되지 않은 경우(`문의 게시판이 설정되지 않았습니다.`) — `ProductInquiryService::updateInquiry()` 의 `RuntimeException` | +| 500 | Internal Server Error | 수정 처리 중 예기치 못한 예외 (`문의 수정에 실패했습니다.`) | @@ -469,18 +553,33 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| deleted | boolean | `true` | 답변 삭제 성공 여부 (컨트롤러가 상수 `true` 로 반환) | **응답 예시** - +```json +{ + "success": true, + "message": "답변이 삭제되었습니다.", + "data": { + "deleted": true + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 답변 권한(`sirsoft-ecommerce.inquiries.update`)이 없는 경우 (`해당 문의에 대한 권한이 없습니다.`) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 문의를 찾을 수 없거나(`문의를 찾을 수 없습니다.`) 문의 게시판이 설정되지 않은 경우(`문의 게시판이 설정되지 않았습니다.`) — `ProductInquiryService::deleteReply()` 의 `RuntimeException` | +| 500 | Internal Server Error | 답변 삭제 처리 중 예기치 못한 예외 (`답변 삭제에 실패했습니다.`) | @@ -516,19 +615,35 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 답변이 등록된 문의(피벗 `product_inquiries`)의 기본 키 | +| is_answered | boolean | `true` | 답변 등록 후의 문의 답변 완료 여부 | **응답 예시** - +```json +{ + "success": true, + "message": "답변이 등록되었습니다.", + "data": { + "id": 1, + "is_answered": true + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 답변 권한(`sirsoft-ecommerce.inquiries.update`)이 없는 경우 (`해당 문의에 대한 권한이 없습니다.`) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) / 문의를 찾을 수 없거나(`문의를 찾을 수 없습니다.`) 답변 게시글 생성에 실패한 경우(`답변 등록에 실패했습니다.`) — `ProductInquiryService::createReply()` 의 `RuntimeException` | +| 500 | Internal Server Error | 답변 등록 처리 중 예기치 못한 예외 (`답변 등록에 실패했습니다.`) | @@ -564,19 +679,33 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 답변을 수정한 문의(피벗 `product_inquiries`)의 기본 키 (요청 path 의 `inquiryId` 를 그대로 반환) | **응답 예시** - +```json +{ + "success": true, + "message": "답변이 수정되었습니다.", + "data": { + "id": 1 + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 답변 권한(`sirsoft-ecommerce.inquiries.update`)이 없는 경우 (`해당 문의에 대한 권한이 없습니다.`) | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) / 문의를 찾을 수 없거나(`문의를 찾을 수 없습니다.`) 문의 게시판이 설정되지 않은 경우(`문의 게시판이 설정되지 않았습니다.`) — `ProductInquiryService::updateReply()` 의 `RuntimeException` | +| 500 | Internal Server Error | 답변 수정 처리 중 예기치 못한 예외 (`답변 수정에 실패했습니다.`) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/mileage-transactions.md b/modules/_bundled/sirsoft-ecommerce/docs/api/mileage-transactions.md index 134c535a..f8236706 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/mileage-transactions.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/mileage-transactions.md @@ -268,11 +268,94 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (성공 시 HTTP 201). 생성 직후 모델을 그대로 직렬화하므로 관계 기반 필드(`user_name`·`user_uuid`·`granted_by_name`·`granted_by_uuid`·`order_number`)는 eager load 되지 않아 응답에서 생략됩니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `529` | 생성된 거래의 기본 키 | +| user_id | integer | `166` | 거래 대상 회원 ID (요청의 `user_id` uuid 를 내부 ID 로 해석한 값) | +| currency | string | `KRW` | 거래 기록 통화 코드 (요청 `currency`) | +| type | string | `admin_earn` | 거래 유형 (`action=earn` → `admin_earn`, `action=deduct` → `admin_deduct`) | +| type_label | string | `관리자 지급` | `type` 값의 사람이 읽는 라벨 | +| admin_badge_group | string | `amber` | 관리자 내역 화면 배지 색상 그룹 (수동/회수계=amber) | +| user_display_category | string | `adjust` | 회원 마이페이지 표시용 4분류 (수동 지급/차감은 adjust) | +| amount | integer | `1000` | 거래 금액 (지급=양수, 차감=음수) | +| amount_formatted | string | `1,000원` | `amount` 의 표시용 포맷 문자열 | +| remaining_amount | integer | `1000` | 잔여 금액 (지급 시 amount 와 동일, 차감 거래는 0) | +| remaining_amount_formatted | string | `1,000원` | `remaining_amount` 의 표시용 포맷 문자열 | +| balance_after | integer | `1000` | 거래 직후 해당 통화 잔액 스냅샷 | +| order_id | null | `null` | 수동 거래이므로 연결 주문 없음 | +| order_option_id | null | `null` | 수동 거래이므로 연결 주문 옵션 없음 | +| order_cancel_id | null | `null` | 수동 거래이므로 연결 주문취소 없음 | +| source_transaction_id | null | `null` | 수동 거래이므로 원본 거래 없음 | +| granted_by | integer | `1` | 처리한 관리자 user ID (인증 사용자) | +| description | string | `관리자 마일리지 지급 (1,000)` | 설명 (요청 `description` 미지정 시 활동로그 기본 문구) | +| memo | string \| null | `수기 보상` | 관리자 메모 (요청 `memo`) | +| expires_at | string \| null | `2027-07-02T15:29:30+00:00` | 만료 일시 (지급 시 정책 기본 또는 `expires_at`, 차감 거래는 null) | +| expires_at_formatted | string \| null | `2027-07-03 00:29:30` | `expires_at` 의 표시용 포맷 문자열 | +| expires_at_date | string \| null | `2027-07-03` | `expires_at` 의 사이트 타임존 기준 날짜 | +| expired_at | null | `null` | 소멸 일시 (신규 거래는 항상 null) | +| expired_at_formatted | null | `null` | `expired_at` 의 표시용 포맷 문자열 | +| created_at | string | `2026-07-07T05:47:31+00:00` | 생성 일시 | +| created_at_formatted | string | `2026-07-07 14:47:31` | `created_at` 의 표시용 포맷 문자열 | +| created_at_date | string | `2026-07-07` | `created_at` 의 사이트 타임존 기준 날짜 | +| is_earning | boolean | `true` | 적립계 여부 (`admin_earn`=true, `admin_deduct`=false) | +| can_edit_expiry | boolean | `true` | 만료일 편집 가능 여부 (적립계 + 미소멸 + 잔여>0) | +| expired_amount | integer | `0` | 이 적립 lot 을 source 로 소멸된 금액 합계 (단건 응답은 집계 미주입 → 0 폴백) | +| expired_amount_formatted | string | `0원` | `expired_amount` 의 표시용 포맷 문자열 | +| expiry_state | string | `active` | 적립건 소멸 상태 (신규 거래는 active) | +| abilities | object | `{"can_manage":true,"can_edit":true}` | 현재 사용자가 이 거래에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "마일리지 거래가 처리되었습니다.", + "data": { + "id": 529, + "user_id": 166, + "currency": "KRW", + "type": "admin_earn", + "type_label": "관리자 지급", + "admin_badge_group": "amber", + "user_display_category": "adjust", + "amount": 1000, + "amount_formatted": "1,000원", + "remaining_amount": 1000, + "remaining_amount_formatted": "1,000원", + "balance_after": 1000, + "order_id": null, + "order_option_id": null, + "order_cancel_id": null, + "source_transaction_id": null, + "granted_by": 1, + "description": "관리자 마일리지 지급 (1,000)", + "memo": "수기 보상", + "expires_at": "2027-07-02T15:29:30+00:00", + "expires_at_formatted": "2027-07-03 00:29:30", + "expires_at_date": "2027-07-03", + "expired_at": null, + "expired_at_formatted": null, + "created_at": "2026-07-07T05:47:31+00:00", + "created_at_formatted": "2026-07-07 14:47:31", + "created_at_date": "2026-07-07", + "is_earning": true, + "can_edit_expiry": true, + "expired_amount": 0, + "expired_amount_formatted": "0원", + "expiry_state": "active", + "abilities": { + "can_manage": true, + "can_edit": true + } + } +} +``` **에러 응답** @@ -280,7 +363,7 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.mileage.manage`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반했거나, 도메인 규칙 위반(`MileageValidationException` — 예: 차감액이 잔액 초과) 시. 후자는 `message`=`마일리지 처리에 실패했습니다.` + `error.errors.general[]` 에 사유 문장 | @@ -321,11 +404,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| extended_count | integer | `2` | 실제로 만료일이 연장된 적립 lot 수 (잔여 없는/대상 외 lot 은 제외되므로 요청한 `lot_ids` 수보다 작을 수 있음) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "마일리지 유효기간이 연장되었습니다.", + "data": { + "extended_count": 2 + } +} +``` **에러 응답** @@ -371,11 +470,94 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (수정된 거래 전체). 관계 기반 필드(`user_name`·`user_uuid`·`granted_by_name`·`granted_by_uuid`·`order_number`)는 eager load 되지 않아 응답에서 생략됩니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `528` | 수정한 거래의 기본 키 (path `{id}`) | +| user_id | integer | `166` | 거래 대상 회원 ID | +| currency | string | `KRW` | 거래 기록 통화 코드 | +| type | string | `admin_earn` | 거래 유형 (적립계만 수정 가능 — purchase_earn·admin_earn) | +| type_label | string | `관리자 지급` | `type` 값의 사람이 읽는 라벨 | +| admin_badge_group | string | `amber` | 관리자 내역 화면 배지 색상 그룹 | +| user_display_category | string | `adjust` | 회원 마이페이지 표시용 4분류 | +| amount | integer | `1000` | 거래 금액 (원장 불변 — 수정 불가) | +| amount_formatted | string | `1,000원` | `amount` 의 표시용 포맷 문자열 | +| remaining_amount | integer | `1000` | 잔여 금액 (FIFO 차감으로 소진) | +| remaining_amount_formatted | string | `1,000원` | `remaining_amount` 의 표시용 포맷 문자열 | +| balance_after | integer | `1000` | 거래 직후 잔액 스냅샷 | +| order_id | integer \| null | `null` | 연결 주문 ID | +| order_option_id | integer \| null | `null` | 연결 주문 옵션 ID | +| order_cancel_id | integer \| null | `null` | 연결 주문취소 ID | +| source_transaction_id | integer \| null | `null` | 원본 거래 ID | +| granted_by | integer \| null | `1` | 부여 주체 user ID (NULL=시스템 자동) | +| description | string \| null | `관리자 마일리지 지급 (1,000)` | 설명 | +| memo | string \| null | `사유 보정` | 갱신된 관리자 메모 (요청에 `memo` 를 포함한 경우 반영, 빈 값이면 null) | +| expires_at | string \| null | `2027-08-01T15:00:00+00:00` | 갱신된 만료 일시 (요청에 `expires_at` 을 포함한 경우 반영) | +| expires_at_formatted | string \| null | `2027-08-02 00:00:00` | `expires_at` 의 표시용 포맷 문자열 | +| expires_at_date | string \| null | `2027-08-02` | `expires_at` 의 사이트 타임존 기준 날짜 | +| expired_at | null | `null` | 소멸 일시 (소멸된 lot 은 만료일 수정 불가) | +| expired_at_formatted | null | `null` | `expired_at` 의 표시용 포맷 문자열 | +| created_at | string | `2026-07-07T05:47:31+00:00` | 생성 일시 | +| created_at_formatted | string | `2026-07-07 14:47:31` | `created_at` 의 표시용 포맷 문자열 | +| created_at_date | string | `2026-07-07` | `created_at` 의 사이트 타임존 기준 날짜 | +| is_earning | boolean | `true` | 적립계 여부 (수정 대상은 항상 true) | +| can_edit_expiry | boolean | `true` | 만료일 편집 가능 여부 (적립계 + 미소멸 + 잔여>0) | +| expired_amount | integer | `0` | 소멸 금액 합계 (단건 응답은 집계 미주입 → 0 폴백) | +| expired_amount_formatted | string | `0원` | `expired_amount` 의 표시용 포맷 문자열 | +| expiry_state | string | `active` | 적립건 소멸 상태 (active·partial_expired·fully_expired) | +| abilities | object | `{"can_manage":true,"can_edit":true}` | 현재 사용자가 이 거래에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "마일리지 거래가 수정되었습니다.", + "data": { + "id": 528, + "user_id": 166, + "currency": "KRW", + "type": "admin_earn", + "type_label": "관리자 지급", + "admin_badge_group": "amber", + "user_display_category": "adjust", + "amount": 1000, + "amount_formatted": "1,000원", + "remaining_amount": 1000, + "remaining_amount_formatted": "1,000원", + "balance_after": 1000, + "order_id": null, + "order_option_id": null, + "order_cancel_id": null, + "source_transaction_id": null, + "granted_by": 1, + "description": "관리자 마일리지 지급 (1,000)", + "memo": "사유 보정", + "expires_at": "2027-08-01T15:00:00+00:00", + "expires_at_formatted": "2027-08-02 00:00:00", + "expires_at_date": "2027-08-02", + "expired_at": null, + "expired_at_formatted": null, + "created_at": "2026-07-07T05:47:31+00:00", + "created_at_formatted": "2026-07-07 14:47:31", + "created_at_date": "2026-07-07", + "is_earning": true, + "can_edit_expiry": true, + "expired_amount": 0, + "expired_amount_formatted": "0원", + "expiry_state": "active", + "abilities": { + "can_manage": true, + "can_edit": true + } + } +} +``` **에러 응답** @@ -384,7 +566,7 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.mileage.manage`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반했거나, 도메인 규칙 위반(`MileageValidationException`) 시. `message`=`마일리지 처리에 실패했습니다.` + `error.errors.general[]` 에 사유 문장 — 거래 없음(`마일리지 거래를 찾을 수 없습니다.`), 적립계 아님(`적립 거래만 수정할 수 있습니다.`), 소멸/전액 사용된 적립건(`이미 소멸되었거나 모두 사용된 적립건은 유효기간을 변경할 수 없습니다.`), 만료일이 적립일시 이전(`유효기간은 적립일시보다 이전일 수 없습니다.`) | @@ -414,7 +596,44 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_목록 응답: `data.data[]` 배열 항목의 필드. 페이지네이션 없는 컬렉션이라 `data.pagination` 은 없고, 컬렉션 레벨 `data.abilities`(`can_manage`)와 통화 필터 후보 `data.currencies`(이 엔드포인트는 주입하지 않아 항상 `[]`)가 함께 내려옵니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| number | integer | `1` | 목록에서의 순번 (HasRowNumber 파생) | +| id | integer | `531` | 연결 거래의 기본 키 | +| user_id | integer | `166` | 거래 대상 회원 ID | +| currency | string | `KRW` | 거래 기록 통화 코드 | +| type | string | `order_use` | 거래 유형 (적립건이면 이를 FIFO 로 소비한 차감 거래, 차감/복원건이면 원본 적립·취소 연결 거래) | +| type_label | string | `주문 사용` | `type` 값의 사람이 읽는 라벨 | +| admin_badge_group | string | `blue` | 관리자 내역 화면 배지 색상 그룹 | +| user_display_category | string | `use` | 회원 마이페이지 표시용 4분류 | +| amount | integer | `-500` | 거래 금액 (양수=적립, 음수=차감) | +| amount_formatted | string | `-500원` | `amount` 의 표시용 포맷 문자열 | +| remaining_amount | integer | `0` | 잔여 금액 (적립건만 양수) | +| remaining_amount_formatted | string | `0원` | `remaining_amount` 의 표시용 포맷 문자열 | +| balance_after | integer | `500` | 거래 직후 잔액 스냅샷 | +| order_id | integer \| null | `436` | 연결 주문 ID | +| order_option_id | integer \| null | `824` | 연결 주문 옵션 ID | +| order_cancel_id | integer \| null | `null` | 연결 주문취소 ID | +| source_transaction_id | integer \| null | `528` | 원본(source) 거래 ID — FIFO 소비된 적립 lot 또는 복원 원본 | +| granted_by | integer \| null | `null` | 부여 주체 user ID (NULL=시스템 자동) | +| description | string \| null | `주문 마일리지 사용` | 설명 | +| memo | string \| null | `null` | 관리자 메모 | +| expires_at | string \| null | `null` | 만료 일시 | +| expires_at_formatted | string \| null | `null` | `expires_at` 의 표시용 포맷 문자열 | +| expires_at_date | string \| null | `null` | `expires_at` 의 사이트 타임존 기준 날짜 | +| expired_at | string \| null | `null` | 소멸 일시 | +| expired_at_formatted | string \| null | `null` | `expired_at` 의 표시용 포맷 문자열 | +| created_at | string | `2026-07-07T05:47:31+00:00` | 생성 일시 | +| created_at_formatted | string | `2026-07-07 14:47:31` | `created_at` 의 표시용 포맷 문자열 | +| created_at_date | string | `2026-07-07` | `created_at` 의 사이트 타임존 기준 날짜 | +| is_earning | boolean | `false` | 적립계 여부 | +| can_edit_expiry | boolean | `false` | 만료일 편집 가능 여부 | +| expired_amount | integer | `0` | 소멸 금액 합계 (연결 거래 조회는 집계 미주입 → 0 폴백) | +| expired_amount_formatted | string | `0원` | `expired_amount` 의 표시용 포맷 문자열 | +| expiry_state | string | `active` | 적립건 소멸 상태 (적립계만 의미) | +| abilities | object | `{"can_manage":true,"can_edit":false}` | 현재 사용자가 이 거래에 수행 가능한 작업 불리언 맵 | **응답 예시** diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/mileage.md b/modules/_bundled/sirsoft-ecommerce/docs/api/mileage.md index 18d96c08..1ccf83de 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/mileage.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/mileage.md @@ -229,11 +229,29 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| max_usable | integer | `1000` | 해당 주문금액(`order_amount`)에 사용 가능한 최대 마일리지. 보유 잔액·최대 사용 한도(percent/fixed)·주문금액 상한 중 최솟값을 취한 뒤 사용 단위(`use_unit`)로 내림 보정한 값 (기본 통화 사용 규칙 미설정 시 `0`) | +| available | integer | `12910` | 현재 사용 가능한 마일리지 잔액 (`getBalance()` 의 `available` 값과 동일) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "사용 가능한 최대 마일리지를 조회했습니다.", + "data": { + "max_usable": 1000, + "available": 12910 + } +} +``` **에러 응답** diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/options.md b/modules/_bundled/sirsoft-ecommerce/docs/api/options.md index c8b78e81..46f4b59a 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/options.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/options.md @@ -59,11 +59,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ProductOptionService::bulkUpdatePriceByMixedIds()` 반환 배열)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| updated_count | integer | `3` | 실제로 판매가가 변경된 옵션 건수 (`product_ids` 로 확장된 옵션 + `option_ids` 로 개별 선택된 옵션을 중복 제거한 대상 수) | +| requested_product_count | integer | `1` | 요청에 담긴 `product_ids` 배열의 원소 수 (옵션만 선택한 경우 `0`) | **응답 예시** - +```json +{ + "success": true, + "message": ":count개 옵션의 가격이 수정되었습니다.", + "data": { + "updated_count": 3, + "requested_product_count": 1 + } +} +``` + +> `message` 는 `sirsoft-ecommerce::messages.options.bulk_price_updated` 를 그대로 사용합니다. 컨트롤러가 `messageParams` 를 전달하지 않으므로 `:count` 플레이스홀더는 치환되지 않은 채 응답됩니다 (변경 건수는 `data.updated_count` 로 확인). **에러 응답** @@ -71,7 +87,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.products.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) / Service 단계에서 `ValidationException` 발생 시 `옵션 가격 일괄 변경에 실패했습니다.` | +| 500 | Internal Server Error | 그 외 예외 발생 시 (`옵션 가격 일괄 변경에 실패했습니다.`) | @@ -118,11 +135,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ProductOptionService::bulkUpdateStockByMixedIds()` 반환 배열)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| updated_count | integer | `3` | 실제로 재고가 변경된 옵션 건수 (`product_ids` 로 확장된 옵션 + `option_ids` 로 개별 선택된 옵션을 중복 제거한 대상 수) | +| requested_product_count | integer | `1` | 요청에 담긴 `product_ids` 배열의 원소 수 (옵션만 선택한 경우 `0`) | **응답 예시** - +```json +{ + "success": true, + "message": ":count개 옵션의 재고가 수정되었습니다.", + "data": { + "updated_count": 3, + "requested_product_count": 1 + } +} +``` + +> `message` 는 `sirsoft-ecommerce::messages.options.bulk_stock_updated` 를 그대로 사용합니다. 컨트롤러가 `messageParams` 를 전달하지 않으므로 `:count` 플레이스홀더는 치환되지 않은 채 응답됩니다 (변경 건수는 `data.updated_count` 로 확인). **에러 응답** @@ -130,7 +163,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.products.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) / Service 단계에서 `ValidationException` 발생 시 `옵션 재고 일괄 변경에 실패했습니다.` | +| 500 | Internal Server Error | 그 외 예외 발생 시 (`옵션 재고 일괄 변경에 실패했습니다.`) | @@ -147,15 +181,15 @@ Content-Type: application/json | 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | | --- | --- | --- | --- | --- | --- | -| ids | body | array | 예 | min 1 | 대상 리소스 식별자 배열 (대량 작업 대상) | +| ids | body | array | 예 | min 1 | 대상 옵션 식별자 배열. 각 원소는 `"productId-optionId"` 형식 문자열 (`regex:/^\d+-\d+$/`) | | bulk_changes | body | array | 아니오 | — | 옵션 일괄 변경 조건 (`price_adjustment`/`stock_quantity` 각각 method+value, 설정된 필드가 개별 수정보다 우선 적용) | -| bulk_changes.price_adjustment | body | array | 아니오 | — | | -| bulk_changes.price_adjustment.method | body | string | 아니오 | `set`, `add`, `percent` | | -| bulk_changes.price_adjustment.value | body | number | 아니오 | — | | -| bulk_changes.stock_quantity | body | array | 아니오 | — | | -| bulk_changes.stock_quantity.method | body | string | 아니오 | `set`, `add`, `subtract` | | -| bulk_changes.stock_quantity.value | body | integer | 아니오 | min 0 | | -| items | body | array | 아니오 | — | 처리 대상 항목 배열 | +| bulk_changes.price_adjustment | body | array | 아니오 | — | 옵션 추가금액(`price_adjustment`) 일괄 변경 조건 객체. 존재 시 하위 `method`/`value` 필수 | +| bulk_changes.price_adjustment.method | body | string | 아니오 | `set`, `add`, `percent` | 추가금액 변경 방식 (set 지정값으로 설정 / add 기존값에 가산 / percent 기존값에 비율 적용) | +| bulk_changes.price_adjustment.value | body | number | 아니오 | — | 추가금액 변경 값 (`method` 에 따라 설정값·가감액·비율로 해석. 소수 통화 대응) | +| bulk_changes.stock_quantity | body | array | 아니오 | — | 옵션 재고수량(`stock_quantity`) 일괄 변경 조건 객체. 존재 시 하위 `method`/`value` 필수 | +| bulk_changes.stock_quantity.method | body | string | 아니오 | `set`, `add`, `subtract` | 재고 변경 방식 (set 특정 수량으로 설정 / add 증가 / subtract 감소) | +| bulk_changes.stock_quantity.value | body | integer | 아니오 | min 0 | 재고 변경 값 (`method` 에 따라 설정 수량·증감 수량으로 해석) | +| items | body | array | 아니오 | — | 개별 인라인 수정 항목 배열. 항목별 키: `product_id`(필수, 존재하는 상품), `option_id`(필수, 존재하는 옵션), `option_name`(로케일별 문자열 배열, 각 max 255), `sku`(max 100), `list_price`(min 0), `price_adjustment`, `stock_quantity`(min 0), `safe_stock_quantity`(min 0), `is_default`, `is_active`. `bulk_changes` 에 설정된 필드는 개별값보다 우선 적용되어 무시됨 | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`sirsoft-ecommerce.option.bulk_update_validation_rules`). @@ -193,11 +227,25 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ProductOptionService::bulkUpdate()` 반환 배열)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| options_updated | integer | `5` | 적용된 변경 횟수. 일괄 변경(`bulk_changes.price_adjustment`, `bulk_changes.stock_quantity`)은 각 조건마다 대상 옵션 수만큼 누적되고, 개별 인라인 수정(`items`)은 실제로 변경 필드가 남은 항목마다 1씩 누적됩니다 (대상 옵션이 없으면 `0`) | **응답 예시** - +```json +{ + "success": true, + "message": "sirsoft-ecommerce::messages.options.bulk_updated", + "data": { + "options_updated": 5 + } +} +``` + +> 컨트롤러가 사용하는 메시지 키 `messages.options.bulk_updated` 는 모듈 lang(ko/en)에 정의되어 있지 않습니다(정의된 키는 `messages.options.bulk_update_success`). 따라서 `message` 에는 번역문 대신 키 문자열이 그대로 반환됩니다. **에러 응답** @@ -205,7 +253,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.products.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) / Service 단계에서 `ValidationException` 발생 시 `옵션 일괄 업데이트에 실패했습니다.` | +| 500 | Internal Server Error | 그 외 예외 발생 시 (`옵션 일괄 업데이트에 실패했습니다.`) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/orders.md b/modules/_bundled/sirsoft-ecommerce/docs/api/orders.md index 00eace9b..327f6884 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/orders.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/orders.md @@ -329,11 +329,29 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`OrderService::bulkUpdate()` 반환 배열)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| updated_count | integer | `3` | 실제로 변경된 주문 건수 (상태 변경 건수와 배송정보 변경 건수 중 큰 값) | +| requested_count | integer | `3` | 요청한 `ids` 배열의 건수 (대상 주문 수) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": ":count개 주문이 수정되었습니다.", + "data": { + "updated_count": 3, + "requested_count": 3 + } +} +``` **에러 응답** @@ -341,7 +359,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). 상태 전이 규칙 위반(현재 상태 → 목표 상태 불가), 배송 관련 상태 전환 시 `carrier_id`/`tracking_number` 누락, 취소→판매상태 복원 시 재고 부족 등도 여기에 해당 (`일괄 처리에 실패했습니다.`) | +| 500 | Server Error | 일괄 처리 중 예기치 못한 오류 (`일괄 처리에 실패했습니다.`) | @@ -371,11 +390,27 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| deleted | boolean | `true` | 소프트 삭제 성공 여부 (항상 `true`) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "주문이 삭제되었습니다.", + "data": { + "deleted": true + } +} +``` **에러 응답** @@ -618,11 +653,66 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드. 수정된 주문을 `OrderResource` 로 반환하므로 필드 구성은 `GET /admin/orders/{order}` (주문 상세) 의 응답 필드 표와 동일합니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| order_number | string | `20260706-1405449337` | 주문번호 | +| order_status | string | `preparing` | 수정 반영된 주문상태 (OrderStatusEnum) | +| order_status_label | string | `상품준비중` | `order_status` 값의 사람이 읽는 라벨 | +| admin_memo | string | `고객 요청으로 주소 정정` | 수정 반영된 관리자 메모 | +| recipient_name | string | `심채원` | 수정 반영된 수령인 이름 | +| recipient_phone | string | `010-3955-6018` | 수정 반영된 수령인 휴대전화 | +| recipient_zipcode | string | `38022` | 수정 반영된 수령인 우편번호 | +| recipient_address | string | `부산광역시 양천구 공항대로 9` | 수정 반영된 수령인 기본 주소 | +| recipient_detail_address | string | `101동 202호` | 수정 반영된 수령인 상세 주소 | +| delivery_memo | string | `parcel_box` | 수정 반영된 배송 메모 | +| shipping_address | object | `{"id":1,"address_type":"shipping",…}` | 배송지 상세 (OrderAddressResource) | +| options / payments / shippings / cancels | array | `[…]` | 주문 상세와 동일한 하위 리소스 목록 | +| updated_at | string | `2026-07-06T14:05:45+00:00` | 최종 수정 일시 | +| abilities | object | `{"can_read":true,"can_update":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | + +> 나머지 금액/일시/다중통화 필드는 `GET /api/modules/sirsoft-ecommerce/admin/orders/{order}` 의 응답 필드 표를 참조하세요 (동일 `OrderResource`). **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "주문이 수정되었습니다.", + "data": { + "id": 1, + "order_number": "20260706-1405449337", + "order_status": "preparing", + "order_status_label": "상품준비중", + "admin_memo": "고객 요청으로 주소 정정", + "recipient_name": "심채원", + "recipient_phone": "010-3955-6018", + "recipient_zipcode": "38022", + "recipient_address": "부산광역시 양천구 공항대로 9", + "recipient_detail_address": "101동 202호", + "delivery_memo": "parcel_box", + "delivery_memo_label": "택배함에 넣어주세요", + "options": [], + "shipping_address": {}, + "payments": [], + "shippings": [], + "cancels": [], + "updated_at": "2026-07-06T14:05:45+00:00", + "abilities": { + "can_read": true, + "can_update": true + } + } +} +``` + +> `data` 는 주문 상세와 동일한 `OrderResource` 전체 구조입니다 (위 예시는 수정 관련 필드만 발췌). **에러 응답** @@ -631,7 +721,8 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). 주문상태 전이 규칙 위반 등 Service 단계 검증 실패도 포함 (`messages.orders.update_failed`) | +| 500 | Server Error | 수정 처리 중 예기치 못한 오류 (`messages.orders.update_failed`) | @@ -685,11 +776,59 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드. 취소 처리 후 재조회한 주문을 `OrderResource` 로 반환하므로 필드 구성은 `GET /admin/orders/{order}` (주문 상세) 의 응답 필드 표와 동일합니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| order_number | string | `20260706-1405449337` | 주문번호 | +| order_status | string | `cancelled` | 취소 반영된 주문상태 (전체취소 시 `cancelled`, 부분취소 시 기존 상태 유지) | +| is_partially_cancelled | boolean | `true` | 부분취소 여부 (일부 옵션만 취소된 경우 `true`) | +| total_cancelled_amount | integer | `31000` | 취소 반영 후 총 취소금액 | +| total_refunded_amount | integer | `31000` | 취소 반영 후 총 환불금액 (PG 환불액) | +| total_refunded_points_amount | integer | `0` | 취소 반영 후 환불된 포인트 | +| cancelled_at | string | `2026-07-11T02:10:00+00:00` | 취소 일시 (전체취소 시 기록) | +| cancels | array | `[{"reason":"change_of_mind","reason_detail":null,…}]` | 취소 이력 목록 (OrderCancelResource — 취소 사유·상세·취소일시, 최근순) | +| options | array | `[{"id":1,"option_status":"cancelled",…}]` | 주문 옵션 목록 (취소된 옵션은 `option_status: cancelled`) | +| payments | array | `[{"payment_status":"cancelled",…}]` | 결제 이력 (PG 취소 동반 시 결제상태 반영) | +| abilities | object | `{"can_read":true,"can_update":true,"can_cancel":false}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | + +> 나머지 금액/일시/다중통화 필드는 `GET /api/modules/sirsoft-ecommerce/admin/orders/{order}` 의 응답 필드 표를 참조하세요 (동일 `OrderResource`). **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "주문이 취소되었습니다.", + "data": { + "id": 1, + "order_number": "20260706-1405449337", + "order_status": "cancelled", + "order_status_label": "취소완료", + "is_partially_cancelled": false, + "total_amount": 184000, + "total_cancelled_amount": 184000, + "total_refunded_amount": 184000, + "total_refunded_points_amount": 0, + "cancelled_at": "2026-07-11T02:10:00+00:00", + "cancels": [], + "options": [], + "payments": [], + "abilities": { + "can_read": true, + "can_update": true, + "can_cancel": false + } + } +} +``` + +> `data` 는 주문 상세와 동일한 `OrderResource` 전체 구조입니다 (위 예시는 취소 관련 필드만 발췌). **에러 응답** @@ -698,7 +837,7 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 실패, 또는 취소 처리 실패 — 취소 불가 상태, PG 취소 실패, 가상계좌 환불계좌 정보 누락 등 (`주문 취소에 실패했습니다.` + `errors.detail` 에 예외 메시지) | @@ -1020,11 +1159,53 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드. 입금확인 후 재조회한 주문을 `OrderResource` 로 반환하므로 필드 구성은 `GET /admin/orders/{order}` (주문 상세) 의 응답 필드 표와 동일합니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| order_number | string | `20260706-1405449337` | 주문번호 | +| order_status | string | `payment_complete` | 입금확인 반영된 주문상태 (`mark_order_complete` 지정 시 주문완료 상태) | +| order_status_label | string | `결제완료` | `order_status` 값의 사람이 읽는 라벨 | +| total_paid_amount | integer | `184000` | 입금 반영된 총 실제 결제금액 | +| total_due_amount | integer | `0` | 입금 반영 후 남은 결제예정금액 | +| depositor_name | string | `홍길동` | 확인된 무통장 입금자명 | +| paid_at | string | `2026-07-11T02:10:00+00:00` | 결제완료 일시 (입금확인 시점 기록) | +| payments | array | `[{"payment_status":"paid",…}]` | 결제 이력 (OrderPaymentResource — 무통장 결제건이 `paid` 로 전이) | +| abilities | object | `{"can_read":true,"can_update":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | + +> 나머지 금액/일시/다중통화 필드는 `GET /api/modules/sirsoft-ecommerce/admin/orders/{order}` 의 응답 필드 표를 참조하세요 (동일 `OrderResource`). **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "입금이 확인되어 결제완료 처리되었습니다.", + "data": { + "id": 1, + "order_number": "20260706-1405449337", + "order_status": "payment_complete", + "order_status_label": "결제완료", + "total_amount": 184000, + "total_paid_amount": 184000, + "total_due_amount": 0, + "depositor_name": "홍길동", + "paid_at": "2026-07-11T02:10:00+00:00", + "payments": [], + "abilities": { + "can_read": true, + "can_update": true + } + } +} +``` + +> `data` 는 주문 상세와 동일한 `OrderResource` 전체 구조입니다 (위 예시는 입금확인 관련 필드만 발췌). **에러 응답** @@ -1033,7 +1214,7 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 실패, 입금액 불일치(`입금액이 결제예정금액과 일치하지 않습니다.` + `errors.detail`), 또는 입금확인 처리 실패 — 무통장 결제가 아닌 주문·이미 결제완료된 주문 등 (`입금확인 처리에 실패했습니다.` + `errors.detail`) | @@ -1073,11 +1254,88 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`AdjustmentResult::toPreviewArray()` 반환 배열)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| refund_amount | number | `31000` | PG 환불 예상금액 (음수면 추가결제 필요) | +| refund_points_amount | number | `0` | 마일리지(포인트) 환불 예상금액 | +| original_paid_amount | number | `184000` | 재계산 전 원 결제금액 | +| recalculated_paid_amount | number | `153000` | 취소 반영 후 재계산된 결제금액 | +| shipping_difference | number | `0` | 배송비 차이 (양수 환불 / 음수 추가결제) | +| discount_difference | number | `0` | 할인 차이 (양수: 할인 감소분) | +| additional_payment_amount | number | `0` | 추가결제 필요 금액 (환불액이 음수일 때의 절댓값, 없으면 0) | +| cancelled_items | array | `[{"order_option_id":1,"cancel_quantity":1,"cancel_amount":31000}]` | 취소 대상 아이템별 취소 수량·취소 금액 | +| refund_priority | string | `pg_first` | 적용된 환불 배분 우선순위 (RefundPriorityEnum — `pg_first` / `points_first`) | +| remaining_pg_balance | number | `153000` | 환불 후 잔여 PG 결제 잔액 | +| remaining_points_balance | number | `0` | 환불 후 잔여 포인트 잔액 | +| refund_total | number | `31000` | 총 환불 예상금액 (PG 환불액 + 포인트 환불액) | +| refund_formatted | object | `{"refund_total":"31,000원", …}` | 환불 총액·잔액의 base 통화 포맷 문자열 + 결제 통화 병기 (취소 모달 표기 SSoT) | +| restored_coupons | array | `[{"coupon_name":"첫구매 무료배송","discount_amount":0}]` | 취소로 복원되는 쿠폰 정보 | +| shipping_details | array | `[{"policy_name":"기본 배송정책","base_difference":0,"extra_difference":0,"total_difference":0}]` | 배송정책별 배송비 차액 상세 | +| mc_refund_amount | object \| null | `{"KRW":{"amount":31000,"formatted":"31,000원"}, …}` | PG 환불금액 다중 통화 | +| mc_refund_points_amount | object \| null | `{"KRW":{"amount":0,"formatted":"0원"}, …}` | 포인트 환불금액 다중 통화 | +| mc_refund_shipping_amount | object \| null | `{"KRW":{"amount":0,"formatted":"0원"}, …}` | 배송비 환불금액 다중 통화 | +| original_snapshot | object | `{"total_paid_amount":184000,"total_points_used_amount":0, …}` | 재계산 전 주문 금액 스냅샷 | +| recalculated_snapshot | object | `{"total_paid_amount":153000, …}` | 재계산 후 주문 금액 스냅샷 | +| mc_original_snapshot | object \| null | `{"mc_subtotal_amount":{…},"mc_total_paid_amount":{…}}` | 원 주문 다중 통화 스냅샷 | +| mc_recalculated_snapshot | object \| null | `{"mc_subtotal_amount":{…},"mc_total_paid_amount":{…}}` | 재계산 다중 통화 스냅샷 | +| original_coupons | array | `[{"name":"첫구매 무료배송","target_type":"shipping_fee","discount_amount":0}]` | 원 주문에 적용된 쿠폰 상세 | +| recalculated_coupons | array | `[]` | 재계산 후 유지되는 쿠폰 상세 (조건 미달 시 소멸) | +| cancel_blocked | boolean | `false` | 취소 차단 여부 (부분취소로 추가결제가 필요해지는 실결제 주문이면 `true`) | +| cancel_blocked_reason | string \| null | `null` | 차단 사유 문구 (차단이 아니면 `null`) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "환불 예상금액을 조회했습니다.", + "data": { + "refund_amount": 31000, + "refund_points_amount": 0, + "original_paid_amount": 184000, + "recalculated_paid_amount": 153000, + "shipping_difference": 0, + "discount_difference": 0, + "additional_payment_amount": 0, + "cancelled_items": [ + { + "order_option_id": 1, + "cancel_quantity": 1, + "cancel_amount": 31000 + } + ], + "refund_priority": "pg_first", + "remaining_pg_balance": 153000, + "remaining_points_balance": 0, + "refund_total": 31000, + "refund_formatted": {}, + "restored_coupons": [], + "shipping_details": [], + "mc_refund_amount": { + "KRW": { + "amount": 31000, + "formatted": "31,000원" + } + }, + "mc_refund_points_amount": null, + "mc_refund_shipping_amount": null, + "original_snapshot": {}, + "recalculated_snapshot": {}, + "mc_original_snapshot": null, + "mc_recalculated_snapshot": null, + "original_coupons": [], + "recalculated_coupons": [], + "cancel_blocked": false, + "cancel_blocked_reason": null + } +} +``` **에러 응답** @@ -1087,6 +1345,7 @@ Content-Type: application/json | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Server Error | 환불 예상금액 계산 중 오류 (`환불 예상금액 조회에 실패했습니다.`) | @@ -1340,11 +1599,51 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`OrderOptionService::bulkChangeStatusWithQuantity()` 반환 배열)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| changed_count | integer | `2` | 상태가 변경된 주문 옵션 건수 | +| split_count | integer | `1` | 부분 수량 전환으로 옵션이 분할된 건수 | +| results | array | `[{"order_option_id":1, …}]` | 옵션별 처리 결과 배열 (아래 하위 필드) | +| results[].order_option_id | integer | `1` | 상태를 변경한 원본 주문 옵션 ID | +| results[].split_order_option_id | integer \| null | `57` | 부분 수량 전환으로 새로 분할 생성된 옵션 ID (분할 없으면 `null`) | +| results[].merged_into_order_option_id | integer \| null | `null` | 동일 상태 기존 옵션으로 병합된 경우 그 대상 옵션 ID (병합 없으면 `null`) | +| results[].quantity_changed | integer | `1` | 이번에 상태 전환한 수량 | +| results[].is_full_quantity | boolean | `false` | 옵션의 전체 수량을 전환했는지 여부 (부분 전환이면 `false`) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": ":count개 옵션의 상태가 변경되었습니다.", + "data": { + "changed_count": 2, + "split_count": 1, + "results": [ + { + "order_option_id": 1, + "split_order_option_id": 57, + "merged_into_order_option_id": null, + "quantity_changed": 1, + "is_full_quantity": false + }, + { + "order_option_id": 2, + "split_order_option_id": null, + "merged_into_order_option_id": null, + "quantity_changed": 3, + "is_full_quantity": true + } + ] + } +} +``` **에러 응답** @@ -1353,7 +1652,9 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 실패, 또는 옵션 상태 변경 실패 — 옵션 전이 규칙 위반, 취소 후 복원 시 재고 부족 등 (`옵션 상태 변경에 실패했습니다.`) | +| 428 | Identity Verification Required | 결제완료(`payment_complete`) 전이 시 본인인증(IDV) 정책이 enforce 이고 미인증인 경우 | +| 500 | Server Error | 옵션 상태 변경 중 예기치 못한 오류 (`옵션 상태 변경에 실패했습니다.`) | @@ -1393,7 +1694,7 @@ Content-Type: application/json - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`). 재설정한 평문 비밀번호는 응답/로그에 노출하지 않습니다._ **응답 예시** @@ -1418,7 +1719,8 @@ HTTP/1.1 200 | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지), 또는 회원 주문(`user_id` 가 있는 주문)에 호출한 경우 (`비회원 주문만 조회 비밀번호를 재설정할 수 있습니다.`) | +| 500 | Server Error | 재설정 처리 중 예기치 못한 오류 (`비회원 조회 비밀번호 재설정에 실패했습니다.`) | @@ -1456,11 +1758,21 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "이메일이 발송되었습니다.", + "data": null +} +``` **에러 응답** @@ -1507,18 +1819,28 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`). 주문 상태는 변경되지 않고 `order_payments` 에 취소 이력만 기록됩니다._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "결제가 취소되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). `orderNumber` 에 해당하는 주문이 없거나 접근 권한이 없는 경우도 포함 (CancelPaymentRequest 의 주문 해석 실패) | @@ -1658,15 +1980,30 @@ HTTP/1.1 200 | 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | | --- | --- | --- | --- | --- | --- | +| orderer.name | body | string | 예 | max 50 | 대상의 이름/명칭 | +| orderer.phone | body | string | 예 | max 20 | 전화번호 | +| shipping.recipient_name | body | string | 예 | max 50 | shipping.recipient 이름 (식별자) | +| shipping.recipient_phone | body | string | 아니오 | max 20 | 수령인 연락처 | +| shipping.recipient_tel | body | string | 아니오 | max 20 | 수령인 일반전화 (`shipping.recipient_phone` 미입력 시 필수 — 둘 중 하나는 반드시 입력) | +| shipping.country_code | body | string | 아니오 | — | 국가 코드 (ISO 3166-1 alpha-2) | +| shipping.zipcode | body | string | 아니오 | max 10 | 우편번호 | +| shipping.address | body | string | 아니오 | max 255 | 기본 주소 | +| shipping.address_detail | body | string | 예 | max 255 | 상세 주소 | +| shipping.address_type_code | body | string | 아니오 | `R`, `J` | 국내 주소 표기 방식 (`R` 도로명 / `J` 지번) | +| shipping.address_line_1 | body | string | 아니오 | max 255 | 주소 1행 (기본 주소) | +| shipping.address_line_2 | body | string | 아니오 | max 255 | 주소 2행 (상세 주소) | +| shipping.intl_city | body | string | 아니오 | max 100 | 도시 (국제 주소) | +| shipping.intl_state | body | string | 아니오 | max 100 | 주/도 (국제 주소) | +| shipping.intl_postal_code | body | string | 아니오 | max 20 | 우편번호 (국제 주소) | | payment_method | body | string | 예 | — | 결제수단. 코어 8종(`card`/`vbank`/`dbank`/`bank`/`phone`/`point`/`deposit`/`free`) 과 PG 플러그인이 등록한 확장 결제수단 ID(예: `nhnkcp_naverpay`, `kginicis_lpay`)를 모두 허용한다. 확장 결제수단도 1급 시민으로 그대로 저장된다. 카탈로그에 없는 값은 422 | | expected_total_amount | body | number | 예 | min 0 | 프론트가 계산한 예상 결제금액 (서버 재계산값과 대조해 금액 위변조 검증) | | shipping_memo | body | string | 아니오 | max 500 | 배송 요청사항 메모 | | depositor_name | body | string | 아니오 | max 50 | depositor 이름 (식별자) | -| dbank.bank_code | body | string | 아니오 | max 10 | | -| dbank.bank_name | body | string | 아니오 | max 50 | dbank.bank 이름 (식별자) | -| dbank.account_number | body | string | 아니오 | max 50 | | -| dbank.account_holder | body | string | 아니오 | max 50 | | -| dbank.due_days | body | integer | 아니오 | min 1, max 30 | | +| dbank.bank_code | body | string | 아니오 | max 10 | 수동 무통장입금 계좌의 은행코드 (`payment_method=dbank` 이면 필수) | +| dbank.bank_name | body | string | 아니오 | max 50 | 수동 무통장입금 계좌의 은행명 (표시용) | +| dbank.account_number | body | string | 아니오 | max 50 | 수동 무통장입금 입금 계좌번호 (`payment_method=dbank` 이면 필수) | +| dbank.account_holder | body | string | 아니오 | max 50 | 수동 무통장입금 계좌 예금주 (`payment_method=dbank` 이면 필수) | +| dbank.due_days | body | integer | 아니오 | min 1, max 30 | 입금 기한 일수 (주문일로부터 며칠 이내 입금, 1~30일) | | save_shipping_address | body | boolean | 아니오 | — | 회원 주소록에 이번 배송지 저장 여부 (회원 주문 한정) | | cash_receipt_requested | body | boolean | 아니오 | — | 현금영수증 신청 여부 (true 면 아래 3개 필드가 필수) | | cash_receipt_type | body | string | 아니오 | — | 발급 용도 (`income` 소득공제 / `expense` 지출증빙) | @@ -1675,7 +2012,7 @@ HTTP/1.1 200 | refund_bank.bank_code | body | string | 아니오 | max 10 | 환불 계좌 은행코드 (세 필드는 전부 입력하거나 전부 비워야 함) | | refund_bank.account_number | body | string | 아니오 | max 50 | 환불 계좌번호 | | refund_bank.holder | body | string | 아니오 | max 50 | 환불 계좌 예금주 | -| orderer.email | body | email | 예 | max 255 | | +| orderer.email | body | email | 예 | max 255 | 이메일 주소 | | guest_lookup_password | body | string | 예 | min 8, max 255 | 비회원 주문 조회 비밀번호 (비회원만 필수, 8자 이상 · 해시로 저장) | | guest_lookup_password_confirmation | body | string | 예 | — | 조회 비밀번호 확인 (guest_lookup_password 와 일치해야 함) | @@ -1731,18 +2068,87 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (HTTP 201). 회원은 `order` 에 `OrderResource`, 비회원은 민감 필드를 가린 `GuestOrderResource` 가 담깁니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| order | object | `{"id":181,"order_number":"20260711-0210001234", …}` | 생성된 주문 (회원: `OrderResource` / 비회원: `GuestOrderResource`) | +| redirect_url | string | `/shop/orders/20260711-0210001234/complete` | 주문완료 페이지 경로 (프론트가 이동할 URL) | +| requires_pg_payment | boolean | `true` | PG 결제창 호출이 필요한지 여부 (무통장·전액 마일리지 등 non-PG 는 `false`) | +| pg_provider | string | `sirsoft-tosspayments` | PG 플러그인 식별자 (`requires_pg_payment=true` 일 때만 포함) | +| pg_payment_handler | string | `sirsoft-tosspayments.requestPayment` | 프론트가 dispatch 할 결제 진입 핸들러 풀네임 (provider 가 선언한 경우에만 포함) | +| pg_payment_data | object | `{"order_number":"…","amount":184000,"currency":"KRW", …}` | PG SDK 결제창 호출 파라미터 (`requires_pg_payment=true` 일 때만 포함 — 아래 표 참조) | + +`pg_payment_data` 하위 필드 (프로바이더 비의존 공통): + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| order_number | string | `20260711-0210001234` | 주문번호 (PG 주문 식별자) | +| order_name | string | `코튼 후드티 #12 외 2건` | 결제창에 표시할 주문명 (첫 상품명 + 외 N건) | +| amount | integer | `184000` | PG 청구금액 — 결제 통화의 최소 화폐단위 정수 (KRW 원 / USD 센트) | +| currency | string | `KRW` | PG 청구 통화 (주문 스냅샷 환율로 환산된 결제 통화) | +| customer_name | string | `유정우` | 주문자명 (배송지에서 조회) | +| customer_email | string | `ji792@mail.test` | 주문자 이메일 | +| customer_phone | string | `01055144949` | 주문자 휴대전화 (숫자만) | +| customer_key | string \| null | `user_12` | 회원 식별 키 (비회원은 `null`) | +| escrow_products | array | `[{"id":12,"name":"코튼 후드티 #12","code":"YD1JTVLJEMKAUTKS","unitPrice":31000,"quantity":1}]` | 에스크로 결제(가상계좌·계좌이체)용 상품 상세 (`unitPrice` 는 개당가, 비에스크로는 무시) | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "주문이 완료되었습니다.", + "data": { + "order": { + "id": 181, + "order_number": "20260711-0210001234", + "order_status": "pending_payment", + "total_amount": 184000, + "total_due_amount": 184000 + }, + "redirect_url": "/shop/orders/20260711-0210001234/complete", + "requires_pg_payment": true, + "pg_provider": "sirsoft-tosspayments", + "pg_payment_handler": "sirsoft-tosspayments.requestPayment", + "pg_payment_data": { + "order_number": "20260711-0210001234", + "order_name": "코튼 후드티 #12 외 2건", + "amount": 184000, + "currency": "KRW", + "customer_name": "유정우", + "customer_email": "ji792@mail.test", + "customer_phone": "01055144949", + "customer_key": "user_12", + "escrow_products": [ + { + "id": 12, + "name": "코튼 후드티 #12", + "code": "YD1JTVLJEMKAUTKS", + "unitPrice": 31000, + "quantity": 1 + } + ] + } + } +} +``` + +> `order` 는 주문 상세와 동일한 `OrderResource`(회원) / `GuestOrderResource`(비회원) 전체 구조입니다 (위 예시는 주요 필드만 발췌). **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.user-orders.create`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). `payment_method` 가 결제수단 카탈로그에 없는 값이면 여기서 차단된다 | +| 404 | Not Found | 임시 주문(주문서)이 없거나 만료된 경우 (`주문서를 찾을 수 없습니다.` 계열 — `exceptions.temp_order_not_found`) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 실패, 예상 결제금액 불일치(`expected_total_amount` ≠ 서버 재계산값), 결제 통화 미지원(`errors.code = unsupported_payment_currency`), 재고 부족(`errors.insufficient_items`), 구매 불가 상품(`errors.code = cart_unavailable`), 주문 확정 재계산 검증 실패(쿠폰 만료·최소주문금액 미달 등 — `errors.code = order_calculation_validation_failed`). `payment_method` 가 결제수단 카탈로그에 없는 값이면 여기서 차단된다 | +| 428 | Identity Verification Required | 결제 진입 본인인증(IDV) 정책이 활성이고 미인증(grace 만료)인 경우 | +| 500 | Server Error | 주문 생성 중 예기치 못한 오류 (`주문 생성에 실패했습니다.`) | @@ -1893,14 +2299,42 @@ _단건 응답: `data` 객체의 필드._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "주문 정보를 조회했습니다.", + "data": { + "id": 1, + "order_number": "20260706-1405449337", + "order_status": "payment_complete", + "order_status_label": "결제완료", + "total_amount": 184000, + "total_amount_formatted": "184,000원", + "options": [], + "shipping_address": {}, + "payments": [], + "shippings": [], + "cancels": [], + "abilities": { + "can_read": true, + "can_cancel": true + } + } +} +``` + +> `data` 는 주문 상세와 동일한 `OrderResource` 전체 구조입니다 (위 예시는 주요 필드만 발췌). **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 주문이 없거나 본인 주문이 아닌 경우 (정보 노출 방지를 위해 권한 없음도 404 — `주문을 찾을 수 없습니다.`) | @@ -1944,11 +2378,53 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드. 취소 처리 후 재조회한 주문을 `OrderResource` 로 반환하므로 필드 구성은 주문 상세와 동일합니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| order_number | string | `20260706-1405449337` | 주문번호 | +| order_status | string | `cancelled` | 취소 반영된 주문상태 (전체취소 시 `cancelled`) | +| is_partially_cancelled | boolean | `false` | 부분취소 여부 (`items` 지정 시 `true`) | +| total_cancelled_amount | integer | `184000` | 총 취소금액 | +| total_refunded_amount | integer | `184000` | 총 환불금액 | +| cancelled_at | string | `2026-07-11T02:10:00+00:00` | 취소 일시 | +| cancels | array | `[{"reason":"change_of_mind", …}]` | 취소 이력 (OrderCancelResource) | +| options | array | `[{"option_status":"cancelled", …}]` | 주문 옵션 목록 (취소된 옵션 반영) | +| abilities | object | `{"can_read":true,"can_cancel":false}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | + +> 나머지 금액/일시/다중통화 필드는 `GET /api/modules/sirsoft-ecommerce/admin/orders/{order}` 의 응답 필드 표를 참조하세요 (동일 `OrderResource`). **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "주문이 취소되었습니다.", + "data": { + "id": 1, + "order_number": "20260706-1405449337", + "order_status": "cancelled", + "order_status_label": "취소완료", + "is_partially_cancelled": false, + "total_cancelled_amount": 184000, + "total_refunded_amount": 184000, + "cancelled_at": "2026-07-11T02:10:00+00:00", + "cancels": [], + "options": [], + "abilities": { + "can_read": true, + "can_cancel": false + } + } +} +``` + +> `data` 는 주문 상세와 동일한 `OrderResource` 전체 구조입니다 (위 예시는 취소 관련 필드만 발췌). **에러 응답** @@ -1957,7 +2433,7 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.user-orders.cancel`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 실패(본인 주문 아님·취소 불가 상태 포함), 또는 취소 처리 실패 (`exceptions.order_cancel_failed`) | @@ -2175,11 +2651,78 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`AdjustmentResult::toPreviewArray()` 반환 배열 — 관리자 `POST /admin/orders/{order}/estimate-refund` 와 동일 구조)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| refund_amount | number | `31000` | PG 환불 예상금액 (음수면 추가결제 필요) | +| refund_points_amount | number | `0` | 마일리지(포인트) 환불 예상금액 | +| original_paid_amount | number | `184000` | 재계산 전 원 결제금액 | +| recalculated_paid_amount | number | `153000` | 취소 반영 후 재계산된 결제금액 | +| shipping_difference | number | `0` | 배송비 차이 (양수 환불 / 음수 추가결제) | +| discount_difference | number | `0` | 할인 차이 (양수: 할인 감소분) | +| additional_payment_amount | number | `0` | 추가결제 필요 금액 (없으면 0) | +| cancelled_items | array | `[{"order_option_id":1,"cancel_quantity":1,"cancel_amount":31000}]` | 취소 대상 아이템별 취소 수량·금액 | +| refund_priority | string | `pg_first` | 적용된 환불 배분 우선순위 | +| remaining_pg_balance | number | `153000` | 환불 후 잔여 PG 결제 잔액 | +| remaining_points_balance | number | `0` | 환불 후 잔여 포인트 잔액 | +| refund_total | number | `31000` | 총 환불 예상금액 (PG + 포인트) | +| refund_formatted | object | `{"refund_total":"31,000원", …}` | 환불 금액의 통화 포맷 문자열 (취소 모달 표기) | +| restored_coupons | array | `[]` | 취소로 복원되는 쿠폰 정보 | +| shipping_details | array | `[]` | 배송정책별 배송비 차액 상세 | +| mc_refund_amount / mc_refund_points_amount / mc_refund_shipping_amount | object \| null | `{"KRW":{"amount":31000,"formatted":"31,000원"}}` | 환불 금액 다중 통화 | +| original_snapshot / recalculated_snapshot | object | `{"total_paid_amount":184000, …}` | 재계산 전/후 금액 스냅샷 | +| mc_original_snapshot / mc_recalculated_snapshot | object \| null | `{"mc_total_paid_amount":{…}}` | 다중 통화 스냅샷 | +| original_coupons / recalculated_coupons | array | `[]` | 재계산 전/후 쿠폰 적용 상세 | +| cancel_blocked | boolean | `false` | 취소 차단 여부 (부분취소로 추가결제가 필요해지는 실결제 주문이면 `true`) | +| cancel_blocked_reason | string \| null | `null` | 차단 사유 문구 (차단이 아니면 `null`) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "환불 예상금액을 조회했습니다.", + "data": { + "refund_amount": 31000, + "refund_points_amount": 0, + "original_paid_amount": 184000, + "recalculated_paid_amount": 153000, + "shipping_difference": 0, + "discount_difference": 0, + "additional_payment_amount": 0, + "cancelled_items": [ + { + "order_option_id": 1, + "cancel_quantity": 1, + "cancel_amount": 31000 + } + ], + "refund_priority": "pg_first", + "remaining_pg_balance": 153000, + "remaining_points_balance": 0, + "refund_total": 31000, + "refund_formatted": {}, + "restored_coupons": [], + "shipping_details": [], + "mc_refund_amount": null, + "mc_refund_points_amount": null, + "mc_refund_shipping_amount": null, + "original_snapshot": {}, + "recalculated_snapshot": {}, + "mc_original_snapshot": null, + "mc_recalculated_snapshot": null, + "original_coupons": [], + "recalculated_coupons": [], + "cancel_blocked": false, + "cancel_blocked_reason": null + } +} +``` **에러 응답** @@ -2188,7 +2731,8 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.user-orders.cancel`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (본인 주문 아님·취소 불가 옵션 포함) | +| 500 | Server Error | 환불 예상금액 계산 중 오류 (`exceptions.order_estimate_refund_failed`) | @@ -2219,11 +2763,44 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| order | object | `{"id":1,"order_status":"confirmed","options":[…], …}` | 구매확정 반영 후 재조회한 주문 (`OrderResource` — 필드 구성은 주문 상세와 동일). 확정된 옵션의 `option_status` 가 `confirmed` 로 전이하며, 전 옵션 확정 시 주문상태도 `confirmed` 가 됩니다 | + +> `order` 의 세부 필드는 `GET /api/modules/sirsoft-ecommerce/admin/orders/{order}` 의 응답 필드 표를 참조하세요 (동일 `OrderResource`). **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "구매확정이 완료되었습니다.", + "data": { + "order": { + "id": 1, + "order_number": "20260706-1405449337", + "order_status": "confirmed", + "order_status_label": "구매확정", + "confirmed_at": "2026-07-11T02:10:00+00:00", + "options": [ + { + "id": 1, + "option_status": "confirmed", + "option_status_label": "구매확정" + } + ] + } + } +} +``` + +> `order` 는 주문 상세와 동일한 `OrderResource` 전체 구조입니다 (위 예시는 구매확정 관련 필드만 발췌). **에러 응답** @@ -2232,6 +2809,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.user-orders.confirm`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 구매확정 불가 — 본인 주문이 아니거나 배송완료 전 등 확정 불가 상태 (`exceptions.order_option_cannot_confirm`) | @@ -2261,11 +2839,38 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`CartService::reorderFromOrder()` 반환 배열)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| added_count | integer | `2` | 장바구니에 실제로 담긴 옵션 건수 | +| skipped | array | `[{"product_name":"코튼 후드티 #12","reason":"재고가 부족합니다."}]` | 품절·단종 등으로 담지 못한 항목 목록 (`product_name` + `reason`) | +| skipped[].product_name | string | `코튼 후드티 #12` | 담지 못한 상품명 (현재 로케일로 로컬라이즈) | +| skipped[].reason | string | `재고가 부족합니다.` | 담지 못한 사유 (재고 부족·옵션 미존재 등) | +| cart_count | integer | `5` | 재주문 반영 후 현재 장바구니의 총 아이템 수 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "과거 주문의 상품을 장바구니에 추가했습니다.", + "data": { + "added_count": 2, + "skipped": [ + { + "product_name": "코튼 후드티 #12", + "reason": "재고가 부족합니다." + } + ], + "cart_count": 5 + } +} +``` **에러 응답** @@ -2273,6 +2878,7 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable Entity | 재주문 실패 — 주문이 없거나 본인 주문이 아닌 경우 (`재주문에 실패했습니다.`) | @@ -2334,19 +2940,49 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| order | object | `{"id":1,"shipping_address":{…},"recipient_name":"심채원", …}` | 배송지 변경 반영 후 주문 (`OrderResource` — 필드 구성은 주문 상세와 동일). `shipping_address` 및 플래튼된 수령인/주소 필드에 변경 내용이 반영됩니다 | + +> `order` 의 세부 필드는 `GET /api/modules/sirsoft-ecommerce/admin/orders/{order}` 의 응답 필드 표를 참조하세요 (동일 `OrderResource`). **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "배송지가 변경되었습니다.", + "data": { + "order": { + "id": 1, + "order_number": "20260706-1405449337", + "recipient_name": "심채원", + "recipient_phone": "010-3955-6018", + "recipient_zipcode": "38022", + "recipient_address": "부산광역시 양천구 공항대로 9", + "recipient_detail_address": "101동 202호", + "delivery_memo": "parcel_box", + "shipping_address": {} + } + } +} +``` + +> `order` 는 주문 상세와 동일한 `OrderResource` 전체 구조입니다 (위 예시는 배송지 관련 필드만 발췌). **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 404 | Not Found | 주문이 없거나 본인 주문이 아닌 경우 (`주문을 찾을 수 없습니다.`) | +| 422 | Unprocessable Entity | 요청 파라미터 검증 실패, 또는 배송지 변경 불가 상태 — 이미 배송이 시작된 주문 등 (`배송 전 상태에서만 배송지를 변경할 수 있습니다.`) | @@ -2487,15 +3123,105 @@ _단건 응답: `data` 객체의 필드._ | is_owner | boolean | `true` | 현재 인증 사용자가 이 리소스의 소유자인지 여부 (BaseApiResource 표준 메타) | | abilities | object | `{"can_read":true,"can_update":true,"can_cancel":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (can_update, can_delete 등 — 권한 맵 기반) | -**응답 예시** +비회원 응답(`GuestOrderResource`) 필드 — 회원 응답에 있는 `id`·`user`·`admin_memo`·`promotions_applied_snapshot` 등 민감/내부 필드는 포함되지 않습니다: - +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| order_number | string | `20260706-1405449337` | 주문번호 (비회원 식별 기준 — 내부 `id` 는 미노출) | +| order_status | string | `payment_complete` | 주문상태 (OrderStatusEnum) | +| order_status_label | string | `결제완료` | `order_status` 의 사람이 읽는 라벨 | +| order_status_variant | string | `info` | `order_status` 의 표시 변형 키 (UI 배지 색상) | +| is_partially_cancelled | boolean | `false` | 부분취소 여부 (options 로드 시) | +| subtotal_amount / subtotal_amount_formatted | integer / string | `184000` / `184,000원` | 상품 합계 (할인 전) | +| total_discount_amount / total_discount_amount_formatted | integer / string | `0` / `0원` | 총 할인금액 | +| total_shipping_amount / total_shipping_amount_formatted | integer / string | `0` / `0원` | 총 배송비 | +| total_amount / total_amount_formatted | integer / string | `184000` / `184,000원` | 최종 주문금액 | +| total_paid_amount / total_paid_amount_formatted | integer / string | `184000` / `184,000원` | 총 실제 결제금액 | +| total_cancelled_amount / total_cancelled_amount_formatted | integer / string | `0` / `0원` | 총 취소금액 | +| total_refunded_amount / total_refunded_amount_formatted | integer / string | `0` / `0원` | 총 환불금액 | +| total_refunded_points_amount / _formatted | integer / string | `0` / `0원` | 총 환불 포인트 | +| total_points_used_amount / _formatted | integer / string | `0` / `0원` | 총 포인트 사용액 | +| total_deposit_used_amount / _formatted | integer / string | `0` / `0원` | 총 예치금 사용액 | +| total_earned_points_amount / _formatted | integer / string | `1840` / `1,840원` | 총 적립 예정 포인트 | +| mc_subtotal_amount / mc_total_discount_amount / mc_total_shipping_amount / mc_total_amount / mc_total_points_used_amount / mc_total_deposit_used_amount | object | `{"KRW":{"amount":184000,"formatted":"184,000원"}, …}` | 각 금액의 다중 통화 표기 | +| item_count | integer | `3` | 주문 품목 수 | +| total_quantity | integer | `4` | 주문 옵션 수량 합계 (options 로드 시) | +| ordered_at / ordered_at_formatted | string | `2026-07-05T14:05:44+00:00` / `2026-07-05 23:05:44` | 주문 일시 | +| paid_at / paid_at_formatted | string \| null | `2026-07-06T14:05:44+00:00` / `2026-07-06 23:05:44` | 결제 일시 | +| confirmed_at / confirmed_at_formatted | string \| null | `null` | 구매확정 일시 | +| cancelled_at / cancelled_at_formatted | string \| null | `null` | 취소 일시 | +| orderer_name / orderer_phone / orderer_email | string | `유정우` / `010-5514-4949` / `ji792@mail.test` | 주문자 정보 (배송지에서 플래튼) | +| recipient_name / recipient_phone | string | `심채원` / `010-3955-6018` | 수령인 정보 | +| recipient_zipcode / recipient_address / recipient_detail_address | string | `38022` / `부산광역시 양천구 공항대로 9` / `101동 202호` | 수령인 주소 | +| delivery_memo / delivery_memo_label | string \| null | `parcel_box` / `택배함에 넣어주세요` | 배송 메모 및 라벨 | +| options | array | `[{"id":1,"option_status":"payment_complete", …}]` | 주문 옵션 목록 (OrderOptionResource) | +| shipping_address | object | `{"recipient_name":"심채원", …}` | 배송지 상세 (OrderAddressResource) | +| payment | object \| null | `{"payment_method":"dbank", …}` | 대표 결제 정보 (OrderPaymentResource) | +| shippings | array | `[]` | 배송 이력 (OrderShippingResource) | +| cancels | array | `[]` | 취소 이력 (OrderCancelResource) | +| abilities | object | `{"can_cancel":true}` | 비회원이 이 주문에 수행 가능한 작업 (취소 가능 상태 여부) | + +**응답 예시** (비회원 — `GuestOrderResource`) + +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "주문 정보를 조회했습니다.", + "data": { + "order_number": "20260706-1405449337", + "order_status": "payment_complete", + "order_status_label": "결제완료", + "order_status_variant": "info", + "is_partially_cancelled": false, + "subtotal_amount": 184000, + "subtotal_amount_formatted": "184,000원", + "total_discount_amount": 0, + "total_discount_amount_formatted": "0원", + "total_shipping_amount": 0, + "total_shipping_amount_formatted": "0원", + "total_amount": 184000, + "total_amount_formatted": "184,000원", + "total_paid_amount": 184000, + "total_paid_amount_formatted": "184,000원", + "item_count": 3, + "total_quantity": 4, + "ordered_at": "2026-07-05T14:05:44+00:00", + "ordered_at_formatted": "2026-07-05 23:05:44", + "paid_at": "2026-07-06T14:05:44+00:00", + "paid_at_formatted": "2026-07-06 23:05:44", + "orderer_name": "유정우", + "orderer_phone": "010-5514-4949", + "orderer_email": "ji792@mail.test", + "recipient_name": "심채원", + "recipient_phone": "010-3955-6018", + "recipient_zipcode": "38022", + "recipient_address": "부산광역시 양천구 공항대로 9", + "recipient_detail_address": "101동 202호", + "delivery_memo": "parcel_box", + "delivery_memo_label": "택배함에 넣어주세요", + "options": [], + "shipping_address": {}, + "payment": null, + "shippings": [], + "cancels": [], + "abilities": { + "can_cancel": true + } + } +} +``` + +> 로그인 상태의 본인 주문이면 `data` 는 주문 상세와 동일한 `OrderResource` 전체 구조로 내려갑니다 (`GET /api/modules/sirsoft-ecommerce/admin/orders/{order}` 의 응답 필드 표 참조). **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 주문이 없거나 접근 권한이 없는 경우 — 회원: 본인 주문 아님(`errors.redirect_to = /mypage/orders`), 비회원: `X-Guest-Order-Token` 부재·만료·위조(`errors.redirect_to = /shop/guest/orders`). 정보 노출 방지를 위해 모든 실패를 동일 404 로 처리 | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/payments.md b/modules/_bundled/sirsoft-ecommerce/docs/api/payments.md index 43514e43..3ea7821a 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/payments.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/payments.md @@ -39,17 +39,96 @@ Accept: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ `data` 는 Resource 가 아니라 `sirsoft-ecommerce.payment.get_client_config` **필터 훅의 반환 배열을 그대로** 담습니다. 따라서 키 구성은 설치된 PG 플러그인이 결정하며, 코어(모듈)는 어떤 키도 강제하지 않습니다. 아래는 번들 PG 플러그인 두 종의 실제 반환 키입니다. + +공통 (모든 PG 플러그인이 공통으로 내려주는 키) + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| sdk_url | string | `https://js.tosspayments.com/v2/standard` | 프론트가 로드해야 할 PG 결제 SDK 스크립트 URL (테스트/운영 모드에 따라 달라질 수 있음) | +| callback_urls | object | `{"success":"/plugins/sirsoft-tosspayments/payment/success","fail":"/plugins/sirsoft-tosspayments/payment/fail"}` | 결제창 성공/실패/콜백 등에서 사용할 플러그인 콜백 경로 모음 (키 구성은 PG마다 다름) | + +`tosspayments` (플러그인 `sirsoft-tosspayments`) + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| client_key | string | `test_ck_...` | 토스페이먼츠 SDK 초기화용 클라이언트 키 (테스트 모드면 test 키, 운영 모드면 live 키) | +| sdk_url | string | `https://js.tosspayments.com/v2/standard` | 토스페이먼츠 v2 표준 SDK URL | +| order_sheet_mode | boolean | `false` | 결제수단을 주문서(오더시트)에서 직접 선택하는 모드 여부. `false` 면 통합결제창 방식 | +| enabled_methods | array | `[]` | 오더시트 모드에서 활성화된 결제수단 목록. 결제창형(`order_sheet_mode: false`)이면 빈 배열 | +| enabled_methods[].id | string | `toss_card` | 플러그인 설정상의 결제수단 식별자 | +| enabled_methods[].method | string | `CARD` | 토스 SDK 에 전달할 결제수단 코드 | +| enabled_methods[].easy_pay_provider | string\|null | `null` | 간편결제일 때 토스 SDK 의 easyPay provider 값 (일반 결제수단이면 null) | +| enabled_methods[].core_payment_method | string | `card` | 이 결제수단에 대응하는 코어 결제수단 값 (프론트 하드코딩 제거용) | +| vbank | object | `{"valid_hours":24,"cash_receipt_type":""}` | 가상계좌 관련 설정 묶음 | +| vbank.valid_hours | integer | `24` | 가상계좌 입금 기한(시간) | +| vbank.cash_receipt_type | string | `""` | 가상계좌 현금영수증 발급 유형 (미설정이면 빈 문자열) | +| use_escrow | string | `off` | 에스크로 사용 설정값 (플러그인 설정 문자열 그대로) | +| callback_urls.success | string | `/plugins/sirsoft-tosspayments/payment/success` | 결제 성공 리다이렉트 경로 | +| callback_urls.fail | string | `/plugins/sirsoft-tosspayments/payment/fail` | 결제 실패 리다이렉트 경로 | + +`kginicis` (플러그인 `sirsoft-pay_kginicis`) + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| mid | string | `INIpayTest` | 이니시스 상점 아이디(MID). 테스트/운영 및 에스크로 사용 여부에 따라 선택됨 | +| sdk_url | string | `https://stgstdpay.inicis.com/stdjs/INIStdPay.js` | 이니시스 표준결제 SDK URL (테스트: stgstdpay, 운영: stdpay) | +| callback_urls | object | — | 서명/종료보고/콜백/CBT/모바일 등 이니시스 연동 경로 모음 | +| callback_urls.signature | string | `/plugins/sirsoft-pay_kginicis/payment/signature` | PC 표준결제 서명 발급 경로 | +| callback_urls.close_report | string | `/plugins/sirsoft-pay_kginicis/payment/close-report` | 결제창 종료 보고 경로 | +| callback_urls.callback | string | `/plugins/sirsoft-pay_kginicis/payment/callback` | PC 표준결제 인증 결과 콜백 경로 | +| callback_urls.close | string | `/plugins/sirsoft-pay_kginicis/payment/close` | 결제창 닫기 처리 경로 | +| callback_urls.cbt_checkout_token | string | `/plugins/sirsoft-pay_kginicis/payment/cbt/checkout-token` | 해외결제(CBT) 체크아웃 토큰 발급 경로 | +| callback_urls.cbt_hash_data | string | `/plugins/sirsoft-pay_kginicis/payment/cbt/hash-data` | CBT 해시 데이터 생성 경로 | +| callback_urls.cbt_callback | string | `/plugins/sirsoft-pay_kginicis/payment/cbt/callback` | CBT 결제 결과 콜백 경로 | +| callback_urls.cbt_cvs_notify | string | `/plugins/sirsoft-pay_kginicis/payment/cbt/cvs-notify` | CBT 편의점 결제 입금 통보 경로 | +| callback_urls.cbt_auth_url | string | — | CBT 인증 요청 URL (테스트/운영 상수값) | +| callback_urls.mobile_signature | string | `/plugins/sirsoft-pay_kginicis/payment/mobile/signature` | 모바일 결제 서명 발급 경로 | +| callback_urls.mobile_callback | string | `/plugins/sirsoft-pay_kginicis/payment/mobile/callback` | 모바일 결제 결과 콜백 경로 | +| callback_urls.mobile_vbank_notify | string | `/plugins/sirsoft-pay_kginicis/payment/mobile/vbank-notify` | 모바일 가상계좌 입금 통보 경로 | +| japan_enabled | boolean | `false` | 일본 결제(해외결제) 사용 여부 설정값 | +| japan_restrict_jpy_payment_methods | boolean | `false` | JPY 결제 시 결제수단을 일본 전용으로 제한할지 여부 | +| japan_configured | boolean | `false` | 일본 결제에 필요한 설정(MID/키 등)이 모두 채워졌는지 여부 | +| standard_configured | boolean | `true` | PC 표준결제 설정이 모두 채워졌는지 여부 | +| mobile_configured | boolean | `true` | 모바일 결제 설정이 모두 채워졌는지 여부 | +| use_escrow | boolean | `false` | 에스크로 사용 여부 설정값 | +| japan_mid | string | — | 일본 결제용 상점 아이디 (테스트면 고정 테스트 MID, 운영이면 설정된 live MID) | +| cbt_extra_data | object | — | CBT 결제 요청에 부가로 실어보낼 데이터 (플러그인 설정 기반으로 구성) | +| use_credit_point | boolean | `false` | 신용카드 포인트 결제 사용 여부 | +| easy_pay_show_brand_button | boolean | `false` | 간편결제 브랜드 버튼 노출 여부 | +| easy_pay_enabled_methods | array | `[]` | 활성화된 국내 간편결제 수단 목록 | **응답 예시** - +`tosspayments` (결제창형, 테스트 모드) 기준: + +```json +{ + "success": true, + "message": "결제 클라이언트 설정을 조회했습니다.", + "data": { + "client_key": "test_ck_xxxxxxxxxxxxxxxxxxxxxxxx", + "sdk_url": "https://js.tosspayments.com/v2/standard", + "order_sheet_mode": false, + "enabled_methods": [], + "vbank": { + "valid_hours": 24, + "cash_receipt_type": "" + }, + "use_escrow": "off", + "callback_urls": { + "success": "/plugins/sirsoft-tosspayments/payment/success", + "fail": "/plugins/sirsoft-tosspayments/payment/fail" + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 해당 `provider` 에 대해 `sirsoft-ecommerce.payment.get_client_config` 필터가 빈 설정을 반환한 경우 (PG 플러그인 미설치·미활성·미지원 provider). 메시지: `결제 제공자를 찾을 수 없습니다.` | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/presets.md b/modules/_bundled/sirsoft-ecommerce/docs/api/presets.md index e77a8ea7..862c31d8 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/presets.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/presets.md @@ -42,9 +42,18 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) +_목록 응답: `data[]` 배열 항목의 필드 (페이지네이션 없음 — 현재 사용자·해당 화면의 프리셋 전체를 배열로 반환)._ - - +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 프리셋 ID (기본 키) | +| target_screen | string | `products` | 대상 화면 (`products` / `orders` / `customers`) | +| name | string | `배송 대기 상품` | 프리셋 이름 (DB 컬럼 `preset_name`, 최대 100자) | +| conditions | object | `{"status": "active"}` | 저장된 검색 조건 JSON (필터 필드 → 값) | +| filters | object | `{"preset_id": 1, "filters[status]": "active"}` | 프론트엔드가 그대로 붙여 쓰는 쿼리 파라미터 형태 (`SearchPreset::toQueryParams()` 생성, 배열 값은 콤마 결합) | +| sort_order | integer | `0` | 정렬 순서 (작을수록 우선) | +| is_default | boolean | `false` | 기본 프리셋 여부 | +| created_at | string | `2026-07-14 10:20:30` | 생성 일시 (사용자 타임존 기준 `Y-m-d H:i:s`) | **응답 예시** @@ -56,10 +65,28 @@ HTTP/1.1 200 { "success": true, "message": "검색 프리셋 목록을 조회했습니다.", - "data": [] + "data": [ + { + "id": 1, + "target_screen": "products", + "name": "배송 대기 상품", + "conditions": { + "status": "active" + }, + "filters": { + "preset_id": 1, + "filters[status]": "active" + }, + "sort_order": 0, + "is_default": false, + "created_at": "2026-07-14 10:20:30" + } + ] } ``` +> `message` 는 컨트롤러가 `sirsoft-ecommerce::messages.presets.fetch_success` 키를 넘기지만 모듈 lang 파일(`src/lang/ko/messages.php` 의 `presets` 배열)에 해당 키가 정의되어 있지 않아, 실측 응답에서 키 문자열이 그대로 노출됩니다. + **에러 응답** | 상태코드 | 의미 | 발생 조건 | @@ -108,18 +135,53 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (생성된 프리셋 1건)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 생성된 프리셋 ID | +| target_screen | string | `products` | 대상 화면 (`products` / `orders` / `customers`, 미지정 시 `products`) | +| name | string | `배송 대기 상품` | 프리셋 이름 (DB 컬럼 `preset_name`) | +| conditions | object | `{"status": "active"}` | 저장된 검색 조건 | +| filters | object | `{"preset_id": 1, "filters[status]": "active"}` | 프론트엔드용 쿼리 파라미터 형태 | +| sort_order | integer | `0` | 정렬 순서 (생성 시 기본값 `0`) | +| is_default | boolean | `false` | 기본 프리셋 여부 (생성 시 기본값 `false`) | +| created_at | string | `2026-07-14 10:20:30` | 생성 일시 (사용자 타임존 기준 `Y-m-d H:i:s`) | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "검색 프리셋이 저장되었습니다.", + "data": { + "id": 1, + "target_screen": "products", + "name": "배송 대기 상품", + "conditions": { + "status": "active" + }, + "filters": { + "preset_id": 1, + "filters[status]": "active" + }, + "sort_order": 0, + "is_default": false, + "created_at": "2026-07-14 10:20:30" + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). 동일 사용자·동일 화면에 같은 이름의 프리셋이 이미 있으면 `name` 에 "동일한 이름의 프리셋이 이미 존재합니다." | @@ -149,11 +211,27 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (삭제 결과 플래그만 반환하며, 삭제된 프리셋 본문은 반환하지 않습니다)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| deleted | boolean | `true` | 삭제 완료 여부 (컨트롤러가 `['deleted' => true]` 를 고정 반환) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "검색 프리셋이 삭제되었습니다.", + "data": { + "deleted": true + } +} +``` **에러 응답** @@ -161,6 +239,7 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 500 | UnauthorizedPresetAccessException | 다른 사용자 소유의 프리셋을 삭제하려는 경우 (`SearchPresetService::delete()` 의 소유권 검사 — "프리셋(ID: :preset_id)에 대한 접근 권한이 없습니다."). 이 예외는 전용 status 나 `render()` 를 갖지 않아 기본 예외 처리로 500 이 됩니다 (테스트 하네스 `ModuleTestCase` 에서만 403 으로 매핑) | @@ -204,11 +283,46 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (수정된 프리셋 1건)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 프리셋 ID | +| target_screen | string | `products` | 대상 화면 (수정 대상이 아님 — 생성 시 값 유지) | +| name | string | `배송 대기 상품 (수정)` | 수정된 프리셋 이름 (DB 컬럼 `preset_name`) | +| conditions | object | `{"status": "inactive"}` | 수정된 검색 조건 | +| filters | object | `{"preset_id": 1, "filters[status]": "inactive"}` | 프론트엔드용 쿼리 파라미터 형태 | +| sort_order | integer | `1` | 정렬 순서 (작을수록 우선) | +| is_default | boolean | `false` | 기본 프리셋 여부 | +| created_at | string | `2026-07-14 10:20:30` | 생성 일시 (사용자 타임존 기준 `Y-m-d H:i:s`) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "검색 프리셋이 수정되었습니다.", + "data": { + "id": 1, + "target_screen": "products", + "name": "배송 대기 상품 (수정)", + "conditions": { + "status": "inactive" + }, + "filters": { + "preset_id": 1, + "filters[status]": "inactive" + }, + "sort_order": 1, + "is_default": false, + "created_at": "2026-07-14 10:20:30" + } +} +``` **에러 응답** @@ -216,7 +330,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). 동일 사용자·동일 화면에 같은 이름의 다른 프리셋이 있으면 `name` 에 "동일한 이름의 프리셋이 이미 존재합니다." | +| 500 | UnauthorizedPresetAccessException | 다른 사용자 소유의 프리셋을 수정하려는 경우 (`SearchPresetService::update()` 의 소유권 검사). 전용 status/`render()` 가 없어 기본 예외 처리로 500 (테스트 하네스에서만 403 매핑) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/product-common-infos.md b/modules/_bundled/sirsoft-ecommerce/docs/api/product-common-infos.md index e6c68fc3..620d67d5 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/product-common-infos.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/product-common-infos.md @@ -206,11 +206,62 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ProductCommonInfoResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 생성된 공통정보의 기본 키 (내부 식별자) | +| name | object | `{"ko":"API 문서 샘플 공통정보","en":"API Doc Sample Common Info"}` | 공통정보 이름 (로케일별 값 객체) | +| localized_name | string | `API 문서 샘플 공통정보` | `name` 의 현재 로케일 해석 값 | +| content | object\|array | `[]` | 안내 본문 내용 (로케일별 값 객체, 미입력 시 빈 배열) | +| localized_content | string | `` | `content` 의 현재 로케일 해석 값 | +| content_mode | string | `text` | 내용 표시 모드 (`text` 일반 텍스트 / `html` HTML, 기본값 `text`) | +| is_default | boolean | `false` | 신규 상품에 기본으로 사용할 공통정보인지 여부 | +| is_active | boolean | `true` | 활성 여부 (false 이면 상품에 노출되지 않음) | +| sort_order | integer | `0` | 표시 정렬 순서 값 (작을수록 우선) | +| icon | string | `info-circle` | 아이콘 식별자 (목록 UI 표시용 고정값) | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 | +| updated_at | string | `2026-07-08 10:44:49` | 최종 수정 일시 | +| products_count | integer | `0` | 이 공통정보를 사용 중인 상품 수 (생성 직후 0) | +| language_count | integer | `0` | 값이 입력된 로케일 개수 | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (권한 맵 기반) | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "공통정보가 생성되었습니다.", + "data": { + "id": 1, + "name": { + "ko": "API 문서 샘플 공통정보", + "en": "API Doc Sample Common Info" + }, + "localized_name": "API 문서 샘플 공통정보", + "content": [], + "localized_content": "", + "content_mode": "text", + "is_default": false, + "is_active": true, + "sort_order": 0, + "icon": "info-circle", + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 10:44:49", + "products_count": 0, + "language_count": 0, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -354,11 +405,64 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ProductCommonInfoResource` — 수정 반영 후 값)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 수정된 공통정보의 기본 키 (내부 식별자) | +| name | object | `{"ko":"API 문서 샘플 공통정보(수정)","en":"API Doc Sample Common Info (updated)"}` | 공통정보 이름 (로케일별 값 객체) | +| localized_name | string | `API 문서 샘플 공통정보(수정)` | `name` 의 현재 로케일 해석 값 | +| content | object\|array | `{"ko":"배송은 결제 후 1~3일 이내 출고됩니다."}` | 안내 본문 내용 (로케일별 값 객체) | +| localized_content | string | `배송은 결제 후 1~3일 이내 출고됩니다.` | `content` 의 현재 로케일 해석 값 | +| content_mode | string | `text` | 내용 표시 모드 (`text` 일반 텍스트 / `html` HTML, 기본값 `text`) | +| is_default | boolean | `false` | 신규 상품에 기본으로 사용할 공통정보인지 여부 | +| is_active | boolean | `true` | 활성 여부 (false 이면 상품에 노출되지 않음) | +| sort_order | integer | `0` | 표시 정렬 순서 값 (작을수록 우선) | +| icon | string | `info-circle` | 아이콘 식별자 (목록 UI 표시용 고정값) | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 | +| updated_at | string | `2026-07-08 15:00:26` | 최종 수정 일시 (이번 수정 시각) | +| products_count | integer | `0` | 이 공통정보를 사용 중인 상품 수 | +| language_count | integer | `1` | 값이 입력된 로케일 개수 | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (권한 맵 기반) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "공통정보가 수정되었습니다.", + "data": { + "id": 1, + "name": { + "ko": "API 문서 샘플 공통정보(수정)", + "en": "API Doc Sample Common Info (updated)" + }, + "localized_name": "API 문서 샘플 공통정보(수정)", + "content": { + "ko": "배송은 결제 후 1~3일 이내 출고됩니다." + }, + "localized_content": "배송은 결제 후 1~3일 이내 출고됩니다.", + "content_mode": "text", + "is_default": false, + "is_active": true, + "sort_order": 0, + "icon": "info-circle", + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 15:00:26", + "products_count": 0, + "language_count": 1, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/product-image.md b/modules/_bundled/sirsoft-ecommerce/docs/api/product-image.md index d9aabb33..ae536e4c 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/product-image.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/product-image.md @@ -27,7 +27,7 @@ | 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | | --- | --- | --- | --- | --- | --- | -| hash | path | string | 예 | — | 대상 리소스의 해시 식별자 | +| hash | path | string | 예 | — | 서빙할 상품 이미지의 URL용 고유 해시 (`ecommerce_product_images.hash`) | **요청 예시** @@ -39,17 +39,41 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투(`data`)를 반환하지 않습니다. 성공 시 이미지 원본 파일의 바이너리 스트림(`StreamedResponse`)을 직접 반환합니다._ + +| 응답 헤더 | 값 | 용도/설명 | +| --- | --- | --- | +| Content-Type | `image/jpeg` (레코드의 `mime_type` 값 그대로 — `image/png` \| `image/webp` \| `image/gif` 등) | 저장된 이미지의 MIME 타입 | +| Content-Disposition | `attachment; filename="product-main.jpg"` (레코드의 `original_filename`) | 업로드 당시의 원본 파일명 | +| Cache-Control | `public, max-age=31536000` | 브라우저/CDN 1년 캐싱 (해시 기반 URL이므로 내용 변경 시 URL 자체가 바뀜) | **응답 예시** - +성공 시 JSON 이 아닌 이미지 바이너리가 스트리밍됩니다. + +```http +HTTP/1.1 200 OK +Content-Type: image/jpeg +Content-Disposition: attachment; filename="product-main.jpg" +Cache-Control: public, max-age=31536000 + + +``` + +실패(404) 시에만 JSON 봉투가 반환됩니다. + +```json +{ + "success": false, + "message": "상품 이미지를 찾을 수 없습니다." +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 레코드는 있으나 스토리지에 실제 파일이 없어 스트림 생성에 실패한 경우 (`ProductImageService::download()` null — 서버 로그에 `상품 이미지 스토리지에 없음` 기록) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/product-labels.md b/modules/_bundled/sirsoft-ecommerce/docs/api/product-labels.md index 0a8e0046..efb8732b 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/product-labels.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/product-labels.md @@ -166,11 +166,50 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ProductLabelResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| name | object | `{"ko":"신상품","en":"New"}` | 라벨명 (다국어 필드 — 로케일별 값 객체) | +| color | string | `#4F46E5` | 라벨 색상 코드 (`#RRGGBB` 6자리 HEX) | +| is_active | boolean | `true` | 활성 여부 (미지정 시 모델 기본값) | +| sort_order | integer | `1` | 표시 정렬 순서 값 (작을수록 우선) | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 (사용자 타임존 기준 문자열) | +| updated_at | string | `2026-07-08 10:44:49` | 최종 수정 일시 (사용자 타임존 기준 문자열) | +| assignments_count | integer | `0` | 이 라벨이 부여된 상품 수 (집계) | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (권한 맵 기반) | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "라벨이 등록되었습니다.", + "data": { + "id": 1, + "name": { + "ko": "신상품", + "en": "New" + }, + "color": "#4F46E5", + "is_active": true, + "sort_order": 1, + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 10:44:49", + "assignments_count": 0, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -306,11 +345,50 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ProductLabelResource` — 수정 후 라벨)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| name | object | `{"ko":"베스트","en":"Best"}` | 라벨명 (다국어 필드 — 로케일별 값 객체) | +| color | string | `#4F46E5` | 라벨 색상 코드 (`#RRGGBB` 6자리 HEX) | +| is_active | boolean | `true` | 활성 여부 | +| sort_order | integer | `1` | 표시 정렬 순서 값 (작을수록 우선) | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 (사용자 타임존 기준 문자열) | +| updated_at | string | `2026-07-08 15:00:27` | 최종 수정 일시 (수정 반영 후 값) | +| assignments_count | integer | `0` | 이 라벨이 부여된 상품 수 (집계) | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (권한 맵 기반) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "라벨이 수정되었습니다.", + "data": { + "id": 1, + "name": { + "ko": "베스트", + "en": "Best" + }, + "color": "#4F46E5", + "is_active": true, + "sort_order": 1, + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 15:00:27", + "assignments_count": 0, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/product-notice-templates.md b/modules/_bundled/sirsoft-ecommerce/docs/api/product-notice-templates.md index 5f8d43c9..9b81ea14 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/product-notice-templates.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/product-notice-templates.md @@ -272,16 +272,67 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ProductNoticeTemplateResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `3` | 생성된 템플릿의 기본 키 (내부 식별자) | +| name | object | `{"ko":"의류 고시","en":"Clothing Notice"}` | 템플릿명 (로케일별 값 객체) | +| localized_name | string | `의류 고시` | `name` 의 현재 로케일 해석 값 | +| category | string\|null | `clothing` | 이 템플릿이 적용되는 품목 카테고리 식별자 (미지정 시 `null`) | +| fields | array | `[{"label":"품명","value":"샘플"}]` | 고시 항목 정의 배열 (요청의 `fields` 가 그대로 저장됨) | +| fields_count | integer | `1` | `fields` 배열의 개수 (집계값) | +| is_active | boolean | `true` | 활성 여부 | +| sort_order | integer | `0` | 표시 정렬 순서 값 (작을수록 우선) | +| icon | string | `file-alt` | 목록 UI(SortableMenuList)용 고정 아이콘 식별자 | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 (사용자 타임존 기준 문자열) | +| updated_at | string | `2026-07-08 10:44:49` | 최종 수정 일시 (사용자 타임존 기준 문자열) | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "상품정보제공고시가 생성되었습니다.", + "data": { + "id": 3, + "name": { + "ko": "의류 고시", + "en": "Clothing Notice" + }, + "localized_name": "의류 고시", + "category": "clothing", + "fields": [ + { + "label": "품명", + "value": "샘플" + } + ], + "fields_count": 1, + "is_active": true, + "sort_order": 0, + "icon": "file-alt", + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 10:44:49", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 생성 처리 중 예외 발생 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.product-notice-templates.create`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -418,16 +469,67 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ProductNoticeTemplateResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 수정된 템플릿의 기본 키 (내부 식별자) | +| name | object | `{"ko":"의류 고시(수정)","en":"Clothing Notice (Updated)"}` | 템플릿명 (로케일별 값 객체) | +| localized_name | string | `의류 고시(수정)` | `name` 의 현재 로케일 해석 값 | +| category | string\|null | `clothing` | 이 템플릿이 적용되는 품목 카테고리 식별자 (미지정 시 `null`) | +| fields | array | `[{"label":"품명","value":"샘플"}]` | 고시 항목 정의 배열 (요청의 `fields` 로 대체됨) | +| fields_count | integer | `1` | `fields` 배열의 개수 (집계값) | +| is_active | boolean | `true` | 활성 여부 | +| sort_order | integer | `0` | 표시 정렬 순서 값 (작을수록 우선) | +| icon | string | `file-alt` | 목록 UI(SortableMenuList)용 고정 아이콘 식별자 | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 (사용자 타임존 기준 문자열) | +| updated_at | string | `2026-07-08 15:00:27` | 최종 수정 일시 (사용자 타임존 기준 문자열) | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "상품정보제공고시가 수정되었습니다.", + "data": { + "id": 1, + "name": { + "ko": "의류 고시(수정)", + "en": "Clothing Notice (Updated)" + }, + "localized_name": "의류 고시(수정)", + "category": "clothing", + "fields": [ + { + "label": "품명", + "value": "샘플" + } + ], + "fields_count": 1, + "is_active": true, + "sort_order": 0, + "icon": "file-alt", + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 15:00:27", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 수정 처리 중 예외 발생 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.product-notice-templates.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/products.md b/modules/_bundled/sirsoft-ecommerce/docs/api/products.md index c2ea3655..b873fb2e 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/products.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/products.md @@ -352,11 +352,129 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ProductResource`). 성공 시 HTTP 201._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 생성된 상품의 기본 키 (내부 식별자) | +| name | object | `{"ko":"샘플 상품","en":"Sample Product"}` | 상품명 (로케일별 값 객체) | +| name_localized | string | `샘플 상품` | `name` 의 현재 로케일 해석 값 | +| product_code | string | `PROD-GJUX-1484` | 상품코드 (상품 고유 관리 식별자) | +| sku | string | `SKU-MRAD-9306` | 재고관리코드(SKU) | +| categories | array | `[]` | 소속 카테고리 목록 (categories 관계 로드 시) | +| category_ids | array | `[1]` | 소속 카테고리 ID 배열 (categories 관계 로드 시) | +| primary_category_id | integer | `1` | 대표 카테고리 ID (is_primary 카테고리) | +| brand_id | integer | `null` | 브랜드 식별자 | +| list_price | integer | `112594` | 정가 (기본통화 자릿수로 정규화) | +| selling_price | integer | `88949` | 판매가 (기본통화 자릿수로 정규화) | +| discount_rate | integer | `21` | 할인율(%) ((1 - 판매가/정가) × 100) | +| stock_quantity | integer | `22` | 재고 수량 (옵션 사용 시 옵션 재고 합계) | +| safe_stock_quantity | integer | `12` | 안전재고 수량 | +| is_below_safe_stock | boolean | `false` | 재고가 안전재고 미만인지 여부 | +| is_stock_consistent | boolean | `true` | 상품 재고와 옵션 재고 합계의 일치 여부 | +| sales_status | string | `on_sale` | 판매상태 (on_sale / suspended / sold_out / coming_soon) | +| sales_status_label | string | `판매중` | `sales_status` 의 현지화 라벨 | +| display_status | string | `visible` | 전시상태 (visible / hidden) | +| display_status_label | string | `전시` | `display_status` 의 현지화 라벨 | +| tax_status | string | `taxable` | 과세여부 (taxable / tax_free) | +| tax_status_label | string | `과세` | `tax_status` 의 현지화 라벨 | +| tax_rate | string | `10.00` | 세율(%) | +| shipping_policy_id | integer | `null` | 배송정책 식별자 | +| common_info_id | integer | `null` | 공통정보 식별자 | +| description | object | `{"ko":"상품 설명","en":"Description"}` | 상세 설명 (로케일별 값 객체) | +| description_localized | string | `상품 설명` | `description` 의 현재 로케일 해석 값 | +| description_mode | string | `text` | 상세 설명 편집 모드 (text / html) | +| min_purchase_qty | integer | `1` | 최소 구매 수량 | +| max_purchase_qty | integer | `0` | 최대 구매 수량 (0=무제한) | +| purchase_restriction | string | `none` | 구매 대상 제한 (none / restricted) | +| allowed_roles | array | `null` | 구매 허용 역할 ID 배열 | +| barcode | string | `null` | 바코드 | +| hs_code | string | `null` | HS 코드 (수출입 관세 분류 코드) | +| images | array | `[]` | 상품 이미지 목록 (images 관계 로드 시) | +| thumbnail_hash | string | `null` | 대표 이미지 해시 | +| thumbnail_url | string | `null` | 대표 이미지 다운로드 URL | +| meta_title | object | `null` | SEO 메타 제목 (다국어 JSON) | +| meta_description | object | `null` | SEO 메타 설명 (다국어 JSON) | +| meta_keywords | array | `null` | SEO 메타 키워드 배열 | +| seo_sync_title | boolean | `true` | SEO 제목 자동 동기화 여부 | +| seo_sync_description | boolean | `true` | SEO 설명 자동 동기화 여부 | +| has_options | boolean | `false` | 옵션 사용 여부 | +| option_groups | array | `[]` | 옵션 그룹 정의 (예: `[{"name":"색상","values":["빨강","파랑"]}]`) | +| options | array | `[]` | 생성된 옵션(SKU) 목록 (`ProductOptionResource`) | +| additional_options | array | `[]` | 추가옵션 그룹 목록 | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 | +| updated_at | string | `2026-07-08 10:44:49` | 최종 수정 일시 | +| abilities | object | `{"can_update":true,"can_delete":true}` | 현재 사용자가 이 상품에 수행 가능한 작업 불리언 맵 | + +> `categories` / `shipping_policy` / `label_assignments` / `notice_items` 는 해당 관계가 eager load 된 경우에만 포함됩니다 (`whenLoaded`). **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "상품이 등록되었습니다.", + "data": { + "id": 1, + "name": { + "ko": "샘플 상품", + "en": "Sample Product" + }, + "name_localized": "샘플 상품", + "product_code": "PROD-GJUX-1484", + "sku": "SKU-MRAD-9306", + "list_price": 112594, + "selling_price": 88949, + "discount_rate": 21, + "stock_quantity": 22, + "safe_stock_quantity": 12, + "is_below_safe_stock": false, + "is_stock_consistent": true, + "sales_status": "on_sale", + "sales_status_label": "판매중", + "display_status": "visible", + "display_status_label": "전시", + "tax_status": "taxable", + "tax_status_label": "과세", + "tax_rate": "10.00", + "shipping_policy_id": null, + "common_info_id": null, + "description": { + "ko": "상품 설명", + "en": "Description" + }, + "description_localized": "상품 설명", + "description_mode": "text", + "min_purchase_qty": 1, + "max_purchase_qty": 0, + "purchase_restriction": "none", + "allowed_roles": null, + "barcode": null, + "hs_code": null, + "thumbnail_hash": null, + "thumbnail_url": null, + "meta_title": null, + "meta_description": null, + "meta_keywords": null, + "seo_sync_title": true, + "seo_sync_description": true, + "has_options": false, + "option_groups": [], + "options": [], + "additional_options": [], + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 10:44:49", + "abilities": { + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -409,11 +527,31 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ProductService::bulkUpdatePrice()` 반환값)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| updated_count | integer | `3` | 실제로 가격이 변경된 상품 건수 | +| requested_count | integer | `3` | 요청한 `ids` 의 개수 (대상으로 지정한 건수) | + +> 응답 `message` 의 `:count` 는 `updated_count` 로 치환됩니다. **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "3개 상품의 가격이 수정되었습니다.", + "data": { + "updated_count": 3, + "requested_count": 3 + } +} +``` **에러 응답** @@ -464,11 +602,31 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ProductService::bulkUpdateStatus()` 반환값)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| updated_count | integer | `3` | 실제로 상태가 변경된 상품 건수 | +| requested_count | integer | `3` | 요청한 `ids` 의 개수 (대상으로 지정한 건수) | + +> 응답 `message` 의 `:count` 는 `updated_count` 로 치환됩니다. **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "3개 상품이 수정되었습니다.", + "data": { + "updated_count": 3, + "requested_count": 3 + } +} +``` **에러 응답** @@ -519,11 +677,31 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ProductService::bulkUpdateStock()` 반환값)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| updated_count | integer | `3` | 실제로 재고가 변경된 상품 건수 | +| requested_count | integer | `3` | 요청한 `ids` 의 개수 (대상으로 지정한 건수) | + +> 응답 `message` 의 `:count` 는 `updated_count` 로 치환됩니다. **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "3개 상품의 재고가 수정되었습니다.", + "data": { + "updated_count": 3, + "requested_count": 3 + } +} +``` **에러 응답** @@ -550,16 +728,16 @@ Content-Type: application/json | --- | --- | --- | --- | --- | --- | | ids | body | array | 예 | min 1 | 대상 리소스 식별자 배열 (대량 작업 대상) | | bulk_changes | body | array | 아니오 | — | 상품 조건 기반 일괄 변경값 (지정 시 ids 전체에 sales_status/display_status 일괄 적용) | -| bulk_changes.sales_status | body | string | 아니오 | — | | -| bulk_changes.display_status | body | string | 아니오 | — | | -| items | body | array | 아니오 | — | 처리 대상 항목 배열 | +| bulk_changes.sales_status | body | string | 아니오 | — | `ids` 전체에 일괄 적용할 판매상태 (지정 시 items 의 개별 sales_status 보다 우선) | +| bulk_changes.display_status | body | string | 아니오 | — | `ids` 전체에 일괄 적용할 전시상태 (지정 시 items 의 개별 display_status 보다 우선) | +| items | body | array | 아니오 | — | 처리 대상 항목 배열 (각 항목: id + 개별 수정할 상품 필드 — name/list_price/selling_price/sales_status/display_status. bulk_changes 로 지정된 필드는 제외됨) | | option_bulk_changes | body | array | 아니오 | — | 옵션 조건 기반 일괄 변경값 (price_adjustment/stock_quantity 를 method+value 로 일괄 조정) | -| option_bulk_changes.price_adjustment | body | array | 아니오 | — | | -| option_bulk_changes.price_adjustment.method | body | string | 아니오 | `set`, `add`, `percent` | | -| option_bulk_changes.price_adjustment.value | body | number | 아니오 | — | | -| option_bulk_changes.stock_quantity | body | array | 아니오 | — | | -| option_bulk_changes.stock_quantity.method | body | string | 아니오 | `set`, `add`, `subtract` | | -| option_bulk_changes.stock_quantity.value | body | integer | 아니오 | min 0 | | +| option_bulk_changes.price_adjustment | body | array | 아니오 | — | 대상 상품들의 모든 옵션에 적용할 옵션 추가금 일괄 변경 블록 (method + value 쌍) | +| option_bulk_changes.price_adjustment.method | body | string | 아니오 | `set`, `add`, `percent` | 옵션 추가금 변경 방식 (set 지정값으로 설정 / add 기존값에 가산 / percent 비율 적용) | +| option_bulk_changes.price_adjustment.value | body | number | 아니오 | — | 옵션 추가금 변경 값 (method 에 따라 설정값·가산값·비율로 해석) | +| option_bulk_changes.stock_quantity | body | array | 아니오 | — | 대상 상품들의 모든 옵션에 적용할 옵션 재고 일괄 변경 블록 (method + value 쌍) | +| option_bulk_changes.stock_quantity.method | body | string | 아니오 | `set`, `add`, `subtract` | 옵션 재고 변경 방식 (set 지정값으로 설정 / add 증가 / subtract 감소) | +| option_bulk_changes.stock_quantity.value | body | integer | 아니오 | min 0 | 옵션 재고 변경 수량 (method 에 따라 설정 수량·증감 수량으로 해석) | | option_items | body | array | 아니오 | — | 옵션 개별 인라인 수정 배열 (각 항목: product_id·option_id + 수정할 옵션 필드) | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`sirsoft-ecommerce.product.bulk_update_validation_rules`). @@ -606,11 +784,31 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ProductService::bulkUpdate()` 반환값)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| products_updated | integer | `3` | 반영된 상품 건수 (bulk_changes 적용 건수 + items 개별 수정 건수) | +| options_updated | integer | `5` | 반영된 옵션 건수 (`ProductOptionService::bulkUpdate()` 결과) | + +> 응답 `message` 의 `:count` 는 `products_updated + options_updated` 합산값으로 치환됩니다. **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "8개 상품이 수정되었습니다.", + "data": { + "products_updated": 3, + "options_updated": 5 + } +} +``` **에러 응답** @@ -802,11 +1000,125 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ProductResource` — 수정 후 상품 전체). 필드 구성은 `GET /admin/products/by-code/{code}` 의 응답 필드 표와 동일합니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 수정된 상품의 기본 키 (내부 식별자) | +| name | object | `{"ko":"API 문서 샘플 상품","en":"API Doc Sample Product"}` | 상품명 (로케일별 값 객체) | +| name_localized | string | `API 문서 샘플 상품` | `name` 의 현재 로케일 해석 값 | +| product_code | string | `APIDOCSAMPLE01` | 상품코드 | +| sku | string | `SKU-DKOK-1319` | 재고관리코드(SKU) | +| categories | array | `[]` | 소속 카테고리 목록 (categories 관계 로드 시) | +| category_ids | array | `[]` | 소속 카테고리 ID 배열 | +| primary_category_id | integer | `null` | 대표 카테고리 ID | +| brand_id | integer | `null` | 브랜드 식별자 | +| list_price | integer | `703155` | 정가 (기본통화 기준) | +| selling_price | integer | `597682` | 판매가 (기본통화 기준) | +| discount_rate | integer | `15` | 할인율(%) | +| stock_quantity | integer | `509` | 재고 수량 | +| safe_stock_quantity | integer | `38` | 안전재고 수량 | +| is_below_safe_stock | boolean | `false` | 재고가 안전재고 미만인지 여부 | +| is_stock_consistent | boolean | `true` | 상품 재고와 옵션 재고 합계 일치 여부 | +| sales_status | string | `on_sale` | 판매상태 (on_sale / suspended / sold_out / coming_soon) | +| sales_status_label | string | `판매중` | `sales_status` 의 현지화 라벨 | +| display_status | string | `visible` | 전시상태 (visible / hidden) | +| display_status_label | string | `전시` | `display_status` 의 현지화 라벨 | +| tax_status | string | `taxable` | 과세여부 (taxable / tax_free) | +| tax_status_label | string | `과세` | `tax_status` 의 현지화 라벨 | +| tax_rate | string | `10.00` | 세율(%) | +| shipping_policy_id | integer | `null` | 배송정책 식별자 | +| common_info_id | integer | `null` | 공통정보 식별자 | +| description | object | `{"ko":"상품 설명","en":"Description"}` | 상세 설명 (로케일별 값 객체) | +| description_localized | string | `상품 설명` | `description` 의 현재 로케일 해석 값 | +| description_mode | string | `text` | 상세 설명 편집 모드 (text / html) | +| min_purchase_qty | integer | `1` | 최소 구매 수량 | +| max_purchase_qty | integer | `0` | 최대 구매 수량 (0=무제한) | +| purchase_restriction | string | `none` | 구매 대상 제한 (none / restricted) | +| allowed_roles | array | `null` | 구매 허용 역할 ID 배열 | +| barcode | string | `null` | 바코드 | +| hs_code | string | `null` | HS 코드 | +| images | array | `[]` | 상품 이미지 목록 (images 관계 로드 시) | +| thumbnail_hash | string | `null` | 대표 이미지 해시 | +| thumbnail_url | string | `null` | 대표 이미지 다운로드 URL | +| meta_title | object | `null` | SEO 메타 제목 (다국어 JSON) | +| meta_description | object | `null` | SEO 메타 설명 (다국어 JSON) | +| meta_keywords | array | `null` | SEO 메타 키워드 배열 | +| seo_sync_title | boolean | `true` | SEO 제목 자동 동기화 여부 | +| seo_sync_description | boolean | `true` | SEO 설명 자동 동기화 여부 | +| has_options | boolean | `false` | 옵션 사용 여부 | +| option_groups | array | `[]` | 옵션 그룹 정의 | +| options | array | `[]` | 옵션(SKU) 목록 (`ProductOptionResource`) | +| additional_options | array | `[]` | 추가옵션 그룹 목록 | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 | +| updated_at | string | `2026-07-08 11:02:13` | 최종 수정 일시 (이번 수정 시각으로 갱신) | +| abilities | object | `{"can_update":true,"can_delete":true}` | 현재 사용자가 이 상품에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "상품이 수정되었습니다.", + "data": { + "id": 1, + "name": { + "ko": "API 문서 샘플 상품", + "en": "API Doc Sample Product" + }, + "name_localized": "API 문서 샘플 상품", + "product_code": "APIDOCSAMPLE01", + "sku": "SKU-DKOK-1319", + "category_ids": [], + "primary_category_id": null, + "brand_id": null, + "list_price": 703155, + "selling_price": 597682, + "discount_rate": 15, + "stock_quantity": 509, + "safe_stock_quantity": 38, + "is_below_safe_stock": false, + "is_stock_consistent": true, + "sales_status": "on_sale", + "sales_status_label": "판매중", + "display_status": "visible", + "display_status_label": "전시", + "tax_status": "taxable", + "tax_status_label": "과세", + "tax_rate": "10.00", + "shipping_policy_id": null, + "common_info_id": null, + "description_mode": "text", + "min_purchase_qty": 1, + "max_purchase_qty": 0, + "purchase_restriction": "none", + "allowed_roles": null, + "barcode": null, + "hs_code": null, + "thumbnail_hash": null, + "thumbnail_url": null, + "meta_title": null, + "meta_description": null, + "meta_keywords": null, + "seo_sync_title": true, + "seo_sync_description": true, + "has_options": false, + "option_groups": [], + "options": [], + "additional_options": [], + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 11:02:13", + "abilities": { + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -843,11 +1155,27 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| product_code | string | `PROD-GJUX-1484` | `ProductService::generateUniqueCode()` 가 발급한, 기존 상품과 중복되지 않는 신규 상품코드 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "상품코드가 생성되었습니다.", + "data": { + "product_code": "PROD-GJUX-1484" + } +} +``` **에러 응답** @@ -875,8 +1203,8 @@ Authorization: Bearer {YOUR_TOKEN} | temp_key | body | string | 아니오 | max 64 | 임시 업로드 세션 키 (같은 상품의 여러 이미지를 한 세션으로 묶음, 생략 시 서버가 UUID 자동 발급) | | collection | body | string | 아니오 | — | 첨부 컬렉션 그룹명 (첨부를 용도별로 묶는 키, 미지정 시 default) | | alt_text | body | array | 아니오 | — | 이미지 대체 텍스트 (접근성/이미지 미표시 시 대체 문구) | -| alt_text.ko | body | string | 아니오 | max 255 | | -| alt_text.en | body | string | 아니오 | max 255 | | +| alt_text.ko | body | string | 아니오 | max 255 | 이미지 대체 텍스트 (접근성/이미지 미표시 시 대체 문구) — `ko` 로케일 값 | +| alt_text.en | body | string | 아니오 | max 255 | 이미지 대체 텍스트 (접근성/이미지 미표시 시 대체 문구) — `en` 로케일 값 | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`sirsoft-ecommerce.product-image.filter_upload_validation_rules`). @@ -919,19 +1247,57 @@ Content-Disposition: form-data; name="alt_text.en" **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드. FileUploader 컴포넌트 규약에 맞춰 실제 이미지 정보는 `data.data` 로 한 단계 더 감싸져 있습니다. 성공 시 HTTP 201._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| data | object | `{ ... }` | 업로드된 이미지 정보 객체 (아래 하위 필드) | +| data.id | integer | `1` | 업로드된 이미지 레코드의 기본 키 | +| data.hash | string | `3f7a1c9e…` | 이미지 해시 (상품 생성/수정 시 `thumbnail_hash` 지정에 사용) | +| data.original_filename | string | `product-main.jpg` | 업로드한 원본 파일명 | +| data.mime_type | string | `image/jpeg` | 파일 MIME 타입 | +| data.size | integer | `204800` | 파일 크기 (바이트) | +| data.size_formatted | string | `200 KB` | 사람이 읽는 파일 크기 문자열 (B/KB/MB/GB) | +| data.download_url | string | `/api/modules/sirsoft-ecommerce/products/images/3f7a1c9e/download` | 이미지 다운로드/표시 URL | +| data.order | integer | `1` | 이미지 노출 순서 (`sort_order`, 미지정 시 1) | +| data.is_image | boolean | `true` | MIME 타입이 `image/` 로 시작하는지 여부 | +| data.is_thumbnail | boolean | `true` | 대표 이미지 여부 (컬렉션의 첫 이미지는 자동 지정) | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "이미지가 업로드되었습니다.", + "data": { + "data": { + "id": 1, + "hash": "3f7a1c9e", + "original_filename": "product-main.jpg", + "mime_type": "image/jpeg", + "size": 204800, + "size_formatted": "200 KB", + "download_url": "/api/modules/sirsoft-ecommerce/products/images/3f7a1c9e/download", + "order": 1, + "is_image": true, + "is_thumbnail": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 파일 저장 등 업로드 처리 중 오류가 발생한 경우 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.products.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) 또는 상품 이미지 개수 상한 초과 (`ProductImageUploadLimitException`) | @@ -970,16 +1336,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 데이터를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "이미지 순서가 변경되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 순서 갱신 처리 중 오류가 발생한 경우 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.products.update`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1012,19 +1389,30 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 데이터를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "이미지가 삭제되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 삭제 처리 중 오류가 발생한 경우 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.products.update`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | `id` 에 해당하는 이미지가 없는 경우 (`messages.product_images.not_found`) | @@ -1134,8 +1522,8 @@ Authorization: Bearer {YOUR_TOKEN} | temp_key | body | string | 아니오 | max 64 | 임시 업로드 세션 키 (같은 상품의 여러 이미지를 한 세션으로 묶음, 생략 시 서버가 UUID 자동 발급) | | collection | body | string | 아니오 | — | 첨부 컬렉션 그룹명 (첨부를 용도별로 묶는 키, 미지정 시 default) | | alt_text | body | array | 아니오 | — | 이미지 대체 텍스트 (접근성/이미지 미표시 시 대체 문구) | -| alt_text.ko | body | string | 아니오 | max 255 | | -| alt_text.en | body | string | 아니오 | max 255 | | +| alt_text.ko | body | string | 아니오 | max 255 | 이미지 대체 텍스트 (접근성/이미지 미표시 시 대체 문구) — `ko` 로케일 값 | +| alt_text.en | body | string | 아니오 | max 255 | 이미지 대체 텍스트 (접근성/이미지 미표시 시 대체 문구) — `en` 로케일 값 | > 이 엔드포인트는 확장이 파라미터를 추가할 수 있습니다 (`sirsoft-ecommerce.product-image.filter_upload_validation_rules`). @@ -1178,20 +1566,58 @@ Content-Disposition: form-data; name="alt_text.en" **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드. FileUploader 컴포넌트 규약에 맞춰 실제 이미지 정보는 `data.data` 로 한 단계 더 감싸져 있습니다. 성공 시 HTTP 201._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| data | object | `{ ... }` | 업로드된 이미지 정보 객체 (아래 하위 필드) | +| data.id | integer | `1` | 업로드된 이미지 레코드의 기본 키 | +| data.hash | string | `3f7a1c9e…` | 이미지 해시 (상품 수정 시 `thumbnail_hash` 지정에 사용) | +| data.original_filename | string | `product-main.jpg` | 업로드한 원본 파일명 | +| data.mime_type | string | `image/jpeg` | 파일 MIME 타입 | +| data.size | integer | `204800` | 파일 크기 (바이트) | +| data.size_formatted | string | `200 KB` | 사람이 읽는 파일 크기 문자열 (B/KB/MB/GB) | +| data.download_url | string | `/api/modules/sirsoft-ecommerce/products/images/3f7a1c9e/download` | 이미지 다운로드/표시 URL | +| data.order | integer | `1` | 이미지 노출 순서 (`sort_order`) | +| data.is_image | boolean | `true` | MIME 타입이 `image/` 로 시작하는지 여부 | +| data.is_thumbnail | boolean | `true` | 대표 이미지 여부 (컬렉션의 첫 이미지는 자동 지정) | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "이미지가 업로드되었습니다.", + "data": { + "data": { + "id": 1, + "hash": "3f7a1c9e", + "original_filename": "product-main.jpg", + "mime_type": "image/jpeg", + "size": 204800, + "size_formatted": "200 KB", + "download_url": "/api/modules/sirsoft-ecommerce/products/images/3f7a1c9e/download", + "order": 1, + "is_image": true, + "is_thumbnail": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 파일 저장 등 업로드 처리 중 오류가 발생한 경우 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.products.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) 또는 상품 이미지 개수 상한 초과 (`ProductImageUploadLimitException`) | @@ -1222,16 +1648,27 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 데이터를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "대표 이미지가 설정되었습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 대표 이미지 설정 처리 중 오류가 발생한 경우 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.products.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | @@ -1418,11 +1855,125 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ProductResource` — 수정 후 상품 전체). 필드 구성은 `GET /admin/products/by-code/{code}` 의 응답 필드 표와 동일합니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 수정된 상품의 기본 키 (내부 식별자) | +| name | object | `{"ko":"API 문서 샘플 상품","en":"API Doc Sample Product"}` | 상품명 (로케일별 값 객체) | +| name_localized | string | `API 문서 샘플 상품` | `name` 의 현재 로케일 해석 값 | +| product_code | string | `APIDOCSAMPLE01` | 상품코드 | +| sku | string | `SKU-DKOK-1319` | 재고관리코드(SKU) | +| categories | array | `[]` | 소속 카테고리 목록 (categories 관계 로드 시) | +| category_ids | array | `[]` | 소속 카테고리 ID 배열 | +| primary_category_id | integer | `null` | 대표 카테고리 ID | +| brand_id | integer | `null` | 브랜드 식별자 | +| list_price | integer | `703155` | 정가 (기본통화 기준) | +| selling_price | integer | `597682` | 판매가 (기본통화 기준) | +| discount_rate | integer | `15` | 할인율(%) | +| stock_quantity | integer | `509` | 재고 수량 | +| safe_stock_quantity | integer | `38` | 안전재고 수량 | +| is_below_safe_stock | boolean | `false` | 재고가 안전재고 미만인지 여부 | +| is_stock_consistent | boolean | `true` | 상품 재고와 옵션 재고 합계 일치 여부 | +| sales_status | string | `on_sale` | 판매상태 (on_sale / suspended / sold_out / coming_soon) | +| sales_status_label | string | `판매중` | `sales_status` 의 현지화 라벨 | +| display_status | string | `visible` | 전시상태 (visible / hidden) | +| display_status_label | string | `전시` | `display_status` 의 현지화 라벨 | +| tax_status | string | `taxable` | 과세여부 (taxable / tax_free) | +| tax_status_label | string | `과세` | `tax_status` 의 현지화 라벨 | +| tax_rate | string | `10.00` | 세율(%) | +| shipping_policy_id | integer | `null` | 배송정책 식별자 | +| common_info_id | integer | `null` | 공통정보 식별자 | +| description | object | `{"ko":"상품 설명","en":"Description"}` | 상세 설명 (로케일별 값 객체) | +| description_localized | string | `상품 설명` | `description` 의 현재 로케일 해석 값 | +| description_mode | string | `text` | 상세 설명 편집 모드 (text / html) | +| min_purchase_qty | integer | `1` | 최소 구매 수량 | +| max_purchase_qty | integer | `0` | 최대 구매 수량 (0=무제한) | +| purchase_restriction | string | `none` | 구매 대상 제한 (none / restricted) | +| allowed_roles | array | `null` | 구매 허용 역할 ID 배열 | +| barcode | string | `null` | 바코드 | +| hs_code | string | `null` | HS 코드 | +| images | array | `[]` | 상품 이미지 목록 (images 관계 로드 시) | +| thumbnail_hash | string | `null` | 대표 이미지 해시 | +| thumbnail_url | string | `null` | 대표 이미지 다운로드 URL | +| meta_title | object | `null` | SEO 메타 제목 (다국어 JSON) | +| meta_description | object | `null` | SEO 메타 설명 (다국어 JSON) | +| meta_keywords | array | `null` | SEO 메타 키워드 배열 | +| seo_sync_title | boolean | `true` | SEO 제목 자동 동기화 여부 | +| seo_sync_description | boolean | `true` | SEO 설명 자동 동기화 여부 | +| has_options | boolean | `false` | 옵션 사용 여부 | +| option_groups | array | `[]` | 옵션 그룹 정의 | +| options | array | `[]` | 옵션(SKU) 목록 (`ProductOptionResource`) | +| additional_options | array | `[]` | 추가옵션 그룹 목록 | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 | +| updated_at | string | `2026-07-08 11:02:13` | 최종 수정 일시 (이번 수정 시각으로 갱신) | +| abilities | object | `{"can_update":true,"can_delete":true}` | 현재 사용자가 이 상품에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "상품이 수정되었습니다.", + "data": { + "id": 1, + "name": { + "ko": "API 문서 샘플 상품", + "en": "API Doc Sample Product" + }, + "name_localized": "API 문서 샘플 상품", + "product_code": "APIDOCSAMPLE01", + "sku": "SKU-DKOK-1319", + "category_ids": [], + "primary_category_id": null, + "brand_id": null, + "list_price": 703155, + "selling_price": 597682, + "discount_rate": 15, + "stock_quantity": 509, + "safe_stock_quantity": 38, + "is_below_safe_stock": false, + "is_stock_consistent": true, + "sales_status": "on_sale", + "sales_status_label": "판매중", + "display_status": "visible", + "display_status_label": "전시", + "tax_status": "taxable", + "tax_status_label": "과세", + "tax_rate": "10.00", + "shipping_policy_id": null, + "common_info_id": null, + "description_mode": "text", + "min_purchase_qty": 1, + "max_purchase_qty": 0, + "purchase_restriction": "none", + "allowed_roles": null, + "barcode": null, + "hs_code": null, + "thumbnail_hash": null, + "thumbnail_url": null, + "meta_title": null, + "meta_description": null, + "meta_keywords": null, + "seo_sync_title": true, + "seo_sync_description": true, + "has_options": false, + "option_groups": [], + "options": [], + "additional_options": [], + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 11:02:13", + "abilities": { + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -2386,9 +2937,51 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) +_목록 응답: `data[]` 배열 항목의 필드 (`ProductListResource` — `GET /products/new` 와 동일 구성). `ids` 가 비어 있으면 `data` 는 빈 배열입니다._ - - +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `322` | 기본 키 (내부 식별자) | +| name | object | `{"ko":"eum et quia","en":"tenetur id quae"}` | 상품명 (로케일별 값 객체) | +| name_localized | string | `eum et quia` | `name` 의 현재 로케일 해석 값 | +| product_code | string | `PROD-GJUX-1484` | 상품코드 (상품 고유 관리 식별자) | +| sku | string | `SKU-MRAD-9306` | 재고관리코드(SKU) | +| thumbnail_url | string | `/api/modules/sirsoft-ecommerce/products/images/3f7a1c9e/download` | 대표 이미지 URL | +| list_price | integer | `112594` | 정가 (기본통화 자릿수로 정규화) | +| list_price_formatted | string | `112,594원` | `list_price` 의 표시용 통화 포맷 문자열 | +| selling_price | integer | `88949` | 판매가 (기본통화 자릿수로 정규화) | +| selling_price_formatted | string | `88,949원` | `selling_price` 의 표시용 통화 포맷 문자열 | +| discount_rate | integer | `21` | 할인율(%) ((1 - 판매가/정가) × 100) | +| multi_currency_list_price | object | `{"KRW":{"price":112594,"formatted":"112,594원","is_default":true,"editable":true}}` | 통화별 정가 맵 | +| multi_currency_selling_price | object | `{"KRW":{"price":88949,"formatted":"88,949원","is_default":true,"editable":true}}` | 통화별 판매가 맵 | +| stock_quantity | integer | `22` | 재고 수량 | +| safe_stock_quantity | integer | `12` | 안전재고 수량 | +| is_below_safe_stock | boolean | `false` | 재고가 안전재고 미만인지 여부 | +| option_stock_sum | integer | `51` | 활성 옵션의 재고 합계 (options 관계 로드 시) | +| sales_status | string | `on_sale` | 판매상태 (on_sale / suspended / sold_out / coming_soon) | +| sales_status_label | string | `판매중` | `sales_status` 의 현지화 라벨 | +| sales_status_variant | string | `success` | `sales_status` 의 UI 배지 변형 키 | +| display_status | string | `visible` | 전시상태 (visible / hidden) | +| display_status_label | string | `전시` | `display_status` 의 현지화 라벨 | +| display_status_variant | string | `success` | `display_status` 의 UI 배지 변형 키 | +| categories | array | `[]` | 소속 카테고리 목록 (categories 관계 로드 시) | +| primary_category | string | `스마트폰` | 대표 카테고리명 (categories 관계 로드 시) | +| categories_with_path | array | `[]` | 소속 카테고리 + 경로(breadcrumb) 목록 | +| brand_name | string | `ASUS` | 브랜드명 (brand 관계 로드 시) | +| shipping_policy_id | integer | `31` | 배송정책 식별자 | +| shipping_policy_name | string | `국내 무료배송` | 배송정책명 (shippingPolicy 관계 로드 시) | +| min_purchase_qty | integer | `1` | 최소 구매 수량 | +| max_purchase_qty | integer | `0` | 최대 구매 수량 (0=무제한) | +| has_options | boolean | `false` | 옵션 사용 여부 | +| options_count | integer | `1` | 활성 옵션 개수 (options 관계 로드 시) | +| options | array | `[]` | 활성 옵션(SKU) 목록 (`ProductOptionResource`) | +| labels | array | `[]` | 노출 중인 상품 라벨 목록 (activeLabelAssignments 관계 로드 시) | +| review_count | integer | `0` | 리뷰 개수 | +| rating_avg | number | `0` | 평균 별점 (소수 1자리 반올림) | +| created_at | string | `2026-07-07 14:47:31` | 생성 일시 | +| updated_at | string | `2026-07-07 14:47:31` | 최종 수정 일시 | +| is_owner | boolean | `false` | 현재 인증 사용자가 이 리소스의 소유자인지 여부 | +| abilities | object | `{"can_update":false,"can_delete":false}` | 현재 사용자가 이 상품에 수행 가능한 작업 불리언 맵 | **응답 예시** @@ -2854,11 +3447,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드. 성공 시 HTTP 201._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 생성된 상품 문의 글의 기본 키 (게시판 모듈에 생성된 게시글 ID) | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "문의가 등록되었습니다.", + "data": { + "id": 1 + } +} +``` **에러 응답** @@ -2866,7 +3475,7 @@ Content-Type: application/json | --- | --- | --- | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.user-products.read`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) 또는 도메인 규칙 위반(비밀글 비허용 등, `RuntimeException` → `messages.inquiries.create_failed`) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/promotion-coupons.md b/modules/_bundled/sirsoft-ecommerce/docs/api/promotion-coupons.md index b414359d..9ae14fea 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/promotion-coupons.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/promotion-coupons.md @@ -267,11 +267,150 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (생성된 쿠폰 = `CouponResource`, 상세 조회(show)와 동일한 필드 집합)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 생성된 쿠폰의 기본 키 | +| name | object | `{"ko":"신규가입 쿠폰","en":"Signup Coupon"}` | 쿠폰명 (로케일별 값 객체) | +| localized_name | string | `신규가입 쿠폰` | `name` 의 현재 로케일 해석 값 | +| description | object\|null | `null` | 쿠폰 설명 (로케일별 값 객체) | +| localized_description | string\|null | `null` | `description` 의 현재 로케일 해석 값 | +| target_type | string | `order_amount` | 적용대상: product_amount(상품금액), order_amount(주문금액), shipping_fee(배송비) | +| target_type_label | string | `주문금액` | `target_type` 의 다국어 라벨 | +| target_type_badge_color | string | `blue` | `target_type` 배지 색상 (상품금액=teal, 주문금액=blue, 배송비=orange) | +| discount_type | string | `fixed` | 혜택유형: fixed(정액), rate(정률 %) | +| discount_type_label | string | `정액할인` | `discount_type` 의 다국어 라벨 | +| discount_value | number | `1000` | 혜택값 (정액=할인 금액, 정률=할인율 %) | +| discount_max_amount | number\|null | `null` | 최대 할인액 (정률 시 상한, 미설정 null) | +| min_order_amount | number | `0` | 쿠폰 적용 최소 주문금액 (0=제한 없음) | +| benefit_formatted | string | `1,000원 할인` | 혜택 표시용 포맷 문자열 | +| multi_currency_discount_value | object\|null | `{"KRW":{"price":1000,"formatted":"1,000원","is_default":true,"editable":true}}` | 정액 할인 금액의 통화별 환산 맵 (정률은 null) | +| multi_currency_min_order_amount | object\|null | `null` | 최소 주문금액의 통화별 환산 맵 (0이면 null) | +| multi_currency_discount_max_amount | object\|null | `null` | 최대 할인액의 통화별 환산 맵 (미설정 시 null) | +| issue_method | string | `download` | 발급방법: direct(직접발급), download(다운로드), auto(자동발급) | +| issue_method_label | string | `다운로드` | `issue_method` 의 다국어 라벨 | +| issue_method_badge_color | string | `teal` | `issue_method` 배지 색상 (직접발급=gray, 다운로드=teal, 자동발급=blue) | +| issue_condition | string | `manual` | 발급조건: manual(수동), signup(회원가입), first_purchase(첫구매), birthday(생일) | +| issue_condition_label | string | `수동발급` | `issue_condition` 의 다국어 라벨 | +| issue_condition_badge_color | string | `orange` | `issue_condition` 배지 색상 | +| issue_status | string | `issuing` | 발급상태: issuing(발급중), stopped(발급중단) | +| issue_status_label | string | `발급중` | `issue_status` 의 다국어 라벨 | +| issue_status_badge_color | string | `blue` | `issue_status` 배지 색상 (발급중=blue, 발급중단=orange) | +| total_quantity | integer\|null | `null` | 총 발급 수량 (null=무제한) | +| issued_count | integer | `0` | 현재까지 발급된 수량 (생성 직후 0) | +| per_user_limit | integer | `1` | 회원 1인당 발급 제한 수량 (0=무제한) | +| issue_count_formatted | string | `0/무제한` | 발급 수량 표시용 포맷 문자열 | +| valid_type | string | `period` | 유효기간 유형: period(기간 지정), days_from_issue(발급일로부터 N일) | +| valid_days | integer\|null | `null` | 발급일로부터 유효 일수 (valid_type=days_from_issue) | +| valid_from | string\|null | `2026-07-01` | 유효기간 시작일 | +| valid_to | string\|null | `2026-07-31` | 유효기간 종료일 | +| valid_period_formatted | string | `-` | 유효기간 표시용 포맷 문자열 | +| issue_from | string\|null | `null` | 발급기간 시작 일시 (datetime-local 호환) | +| issue_to | string\|null | `null` | 발급기간 종료 일시 (datetime-local 호환) | +| issue_period_formatted | string | `상시발급` | 발급기간 표시용 포맷 문자열 | +| is_combinable | boolean | `false` | 다른 쿠폰과 중복 사용 가능 여부 | +| target_scope | string | `all` | 적용 범위: all(전체 상품), products(특정 상품), categories(특정 카테고리) | +| target_scope_label | string | `전체상품` | `target_scope` 의 다국어 라벨 | +| is_issuable | boolean | `true` | 현재 발급 가능 상태인지 여부 | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 | +| updated_at | string | `2026-07-08 10:44:49` | 최종 수정 일시 | +| created_by | string\|null | `a1e0a91a-fba6-491c-a53e-7285a5686857` | 등록자(생성한 관리자) 식별자 | +| created_by_name | string | `관리자` | 등록자 이름 (미설정 시 `-`) | +| created_by_email | string\|null | `admin@example.com` | 등록자 이메일 (creator 관계 파생) | +| creator | object\|null | `{"uuid":"a1e0a91a-…","name":"관리자"}` | 생성자 정보 객체 | +| included_products | array | `[]` | 적용 대상 포함 상품 목록 (target_scope=products) | +| excluded_products | array | `[]` | 적용 제외 상품 목록 | +| included_categories | array | `[]` | 적용 대상 포함 카테고리 목록 (target_scope=categories) | +| excluded_categories | array | `[]` | 적용 제외 카테고리 목록 | +| issues_count | integer | `0` | 발급 내역 건수 (집계) | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "쿠폰이 등록되었습니다.", + "data": { + "id": 2, + "name": { + "ko": "신규가입 쿠폰", + "en": "Signup Coupon" + }, + "localized_name": "신규가입 쿠폰", + "description": null, + "localized_description": null, + "target_type": "order_amount", + "target_type_label": "주문금액", + "target_type_badge_color": "blue", + "discount_type": "fixed", + "discount_type_label": "정액할인", + "discount_value": 1000, + "discount_max_amount": null, + "min_order_amount": 0, + "benefit_formatted": "1,000원 할인", + "multi_currency_discount_value": { + "KRW": { + "price": 1000, + "formatted": "1,000원", + "is_default": true, + "editable": true + } + }, + "multi_currency_min_order_amount": null, + "multi_currency_discount_max_amount": null, + "issue_method": "download", + "issue_method_label": "다운로드", + "issue_method_badge_color": "teal", + "issue_condition": "manual", + "issue_condition_label": "수동발급", + "issue_condition_badge_color": "orange", + "issue_status": "issuing", + "issue_status_label": "발급중", + "issue_status_badge_color": "blue", + "total_quantity": null, + "issued_count": 0, + "per_user_limit": 1, + "issue_count_formatted": "0/무제한", + "valid_type": "period", + "valid_days": null, + "valid_from": "2026-07-01", + "valid_to": "2026-07-31", + "valid_period_formatted": "2026-07-01 ~ 2026-07-31", + "issue_from": null, + "issue_to": null, + "issue_period_formatted": "상시발급", + "is_combinable": false, + "target_scope": "all", + "target_scope_label": "전체상품", + "is_issuable": true, + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 10:44:49", + "created_by": "a1e0a91a-fba6-491c-a53e-7285a5686857", + "created_by_name": "관리자", + "created_by_email": "admin@example.com", + "creator": { + "uuid": "a1e0a91a-fba6-491c-a53e-7285a5686857", + "name": "관리자" + }, + "included_products": [], + "excluded_products": [], + "included_categories": [], + "excluded_categories": [], + "issues_count": 0, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -318,11 +457,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| updated_count | integer | `3` | 발급상태가 실제로 변경된 쿠폰 건수 (`CouponService::bulkUpdateIssueStatus()` 반환값) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "3개 쿠폰의 발급상태가 변경되었습니다.", + "data": { + "updated_count": 3 + } +} +``` **에러 응답** @@ -502,16 +657,156 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (수정된 쿠폰 = `CouponResource`, 상세 조회(show)와 동일한 필드 집합)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 수정된 쿠폰의 기본 키 | +| name | object | `{"ko":"API 문서 샘플 쿠폰(수정)","en":"API Doc Sample Coupon (edited)"}` | 쿠폰명 (로케일별 값 객체) | +| localized_name | string | `API 문서 샘플 쿠폰(수정)` | `name` 의 현재 로케일 해석 값 | +| description | object\|null | `null` | 쿠폰 설명 (로케일별 값 객체) | +| localized_description | string\|null | `null` | `description` 의 현재 로케일 해석 값 | +| target_type | string | `order_amount` | 적용대상: product_amount, order_amount, shipping_fee | +| target_type_label | string | `주문금액` | `target_type` 의 다국어 라벨 | +| target_type_badge_color | string | `blue` | `target_type` 배지 색상 | +| discount_type | string | `fixed` | 혜택유형: fixed(정액), rate(정률 %) | +| discount_type_label | string | `정액할인` | `discount_type` 의 다국어 라벨 | +| discount_value | number | `2000` | 혜택값 (정액=할인 금액, 정률=할인율 %) | +| discount_max_amount | number\|null | `null` | 최대 할인액 (정률 시 상한) | +| min_order_amount | number | `0` | 쿠폰 적용 최소 주문금액 (0=제한 없음) | +| benefit_formatted | string | `2,000원 할인` | 혜택 표시용 포맷 문자열 | +| multi_currency_discount_value | object\|null | `{"KRW":{"price":2000,"formatted":"2,000원","is_default":true,"editable":true}}` | 정액 할인 금액의 통화별 환산 맵 (정률은 null) | +| multi_currency_min_order_amount | object\|null | `null` | 최소 주문금액의 통화별 환산 맵 (0이면 null) | +| multi_currency_discount_max_amount | object\|null | `null` | 최대 할인액의 통화별 환산 맵 (미설정 시 null) | +| issue_method | string | `download` | 발급방법: direct, download, auto | +| issue_method_label | string | `다운로드` | `issue_method` 의 다국어 라벨 | +| issue_method_badge_color | string | `teal` | `issue_method` 배지 색상 | +| issue_condition | string | `manual` | 발급조건: manual, signup, first_purchase, birthday | +| issue_condition_label | string | `수동발급` | `issue_condition` 의 다국어 라벨 | +| issue_condition_badge_color | string | `orange` | `issue_condition` 배지 색상 | +| issue_status | string | `issuing` | 발급상태: issuing(발급중), stopped(발급중단) | +| issue_status_label | string | `발급중` | `issue_status` 의 다국어 라벨 | +| issue_status_badge_color | string | `blue` | `issue_status` 배지 색상 | +| total_quantity | integer\|null | `null` | 총 발급 수량 (null=무제한) | +| issued_count | integer | `0` | 현재까지 발급된 수량 | +| per_user_limit | integer | `1` | 회원 1인당 발급 제한 수량 (0=무제한) | +| issue_count_formatted | string | `0/무제한` | 발급 수량 표시용 포맷 문자열 | +| valid_type | string | `period` | 유효기간 유형: period, days_from_issue | +| valid_days | integer\|null | `null` | 발급일로부터 유효 일수 | +| valid_from | string\|null | `2026-07-01` | 유효기간 시작일 | +| valid_to | string\|null | `2026-07-31` | 유효기간 종료일 | +| valid_period_formatted | string | `2026-07-01 ~ 2026-07-31` | 유효기간 표시용 포맷 문자열 | +| issue_from | string\|null | `null` | 발급기간 시작 일시 | +| issue_to | string\|null | `null` | 발급기간 종료 일시 | +| issue_period_formatted | string | `상시발급` | 발급기간 표시용 포맷 문자열 | +| is_combinable | boolean | `false` | 다른 쿠폰과 중복 사용 가능 여부 | +| target_scope | string | `all` | 적용 범위: all, products, categories | +| target_scope_label | string | `전체상품` | `target_scope` 의 다국어 라벨 | +| is_issuable | boolean | `true` | 현재 발급 가능 상태인지 여부 | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 | +| updated_at | string | `2026-07-08 11:02:13` | 최종 수정 일시 (수정 반영) | +| created_by | string\|null | `a1e0a91a-fba6-491c-a53e-7285a5686857` | 등록자 식별자 | +| created_by_name | string | `관리자` | 등록자 이름 (미설정 시 `-`) | +| created_by_email | string\|null | `admin@example.com` | 등록자 이메일 | +| creator | object\|null | `{"uuid":"a1e0a91a-…","name":"관리자"}` | 생성자 정보 객체 | +| included_products | array | `[]` | 적용 대상 포함 상품 목록 (수정 시 동기화 결과) | +| excluded_products | array | `[]` | 적용 제외 상품 목록 | +| included_categories | array | `[]` | 적용 대상 포함 카테고리 목록 | +| excluded_categories | array | `[]` | 적용 제외 카테고리 목록 | +| issues_count | integer | `0` | 발급 내역 건수 (집계) | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "쿠폰이 수정되었습니다.", + "data": { + "id": 1, + "name": { + "ko": "API 문서 샘플 쿠폰(수정)", + "en": "API Doc Sample Coupon (edited)" + }, + "localized_name": "API 문서 샘플 쿠폰(수정)", + "description": null, + "localized_description": null, + "target_type": "order_amount", + "target_type_label": "주문금액", + "target_type_badge_color": "blue", + "discount_type": "fixed", + "discount_type_label": "정액할인", + "discount_value": 2000, + "discount_max_amount": null, + "min_order_amount": 0, + "benefit_formatted": "2,000원 할인", + "multi_currency_discount_value": { + "KRW": { + "price": 2000, + "formatted": "2,000원", + "is_default": true, + "editable": true + } + }, + "multi_currency_min_order_amount": null, + "multi_currency_discount_max_amount": null, + "issue_method": "download", + "issue_method_label": "다운로드", + "issue_method_badge_color": "teal", + "issue_condition": "manual", + "issue_condition_label": "수동발급", + "issue_condition_badge_color": "orange", + "issue_status": "issuing", + "issue_status_label": "발급중", + "issue_status_badge_color": "blue", + "total_quantity": null, + "issued_count": 0, + "per_user_limit": 1, + "issue_count_formatted": "0/무제한", + "valid_type": "period", + "valid_days": null, + "valid_from": "2026-07-01", + "valid_to": "2026-07-31", + "valid_period_formatted": "2026-07-01 ~ 2026-07-31", + "issue_from": null, + "issue_to": null, + "issue_period_formatted": "상시발급", + "is_combinable": false, + "target_scope": "all", + "target_scope_label": "전체상품", + "is_issuable": true, + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 11:02:13", + "created_by": "a1e0a91a-fba6-491c-a53e-7285a5686857", + "created_by_name": "관리자", + "created_by_email": "admin@example.com", + "creator": { + "uuid": "a1e0a91a-fba6-491c-a53e-7285a5686857", + "name": "관리자" + }, + "included_products": [], + "excluded_products": [], + "included_categories": [], + "excluded_categories": [], + "issues_count": 0, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 수정 처리 중 예외 발생 시 (`exceptions.operation_failed`: "작업 처리 중 오류가 발생했습니다.") — 대상 쿠폰 미존재도 이 경로로 응답 | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.promotion-coupon.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | @@ -553,16 +848,44 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`CouponService::issueDirectly()` 반환 구조)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| issued | integer | `2` | 실제로 발급에 성공한 회원 수 | +| skipped | array | `[{"user_id":15,"reason":"1인당 발급 가능 수량을 초과했습니다."}]` | 발급이 건너뛰어진 회원 목록 (전체 롤백 없이 회원 단위로 누적) | +| skipped[].user_id | integer | `15` | 건너뛴 회원의 내부 회원 ID | +| skipped[].reason | string | `1인당 발급 가능 수량을 초과했습니다.` | 건너뛴 사유 (발급 검증 예외 메시지 원문) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "2명에게 발급했습니다. (1명은 발급 조건 미충족으로 제외)", + "data": { + "issued": 2, + "skipped": [ + { + "user_id": 15, + "reason": "1인당 발급 가능 수량을 초과했습니다." + } + ] + } +} +``` + +> 건너뛴 회원이 없으면 메시지는 `messages.coupons.direct_issued`(`":issued명에게 쿠폰을 발급했습니다."`)이고 `skipped` 는 `[]` 입니다. **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 쿠폰 미존재 또는 쿠폰 자체가 발급 불가 상태(발급중단/기간 외/수량 소진 등)여서 전원 차단된 경우 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.promotion-coupon.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | @@ -601,7 +924,30 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_목록 응답: `data.data[]` 배열 항목의 필드 (`CouponIssueResource`) + `data.pagination`._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 발급 내역 ID (기본 키) | +| coupon_id | integer | `1` | 발급된 쿠폰(정의) ID | +| user_id | string\|null | `a1e0a91a-fba6-491c-a53e-7285a5686857` | 발급 대상 회원의 UUID (내부 정수 ID 대신 UUID 노출) | +| coupon_code | string\|null | `WELCOME2026` | 쿠폰 코드 (다운로드 쿠폰 시 발급되는 코드, 없으면 null) | +| status | string | `available` | 발급 내역 상태: available(사용가능), used(사용완료), expired(만료), cancelled(취소) | +| status_label | string | `사용가능` | `status` 의 다국어 라벨 (사용가능/사용완료/기간만료/취소됨) | +| status_badge_color | string | `blue` | `status` 배지 색상 (available=blue, used=green, expired=gray, cancelled=red) | +| issued_at | string\|null | `2026-07-08 10:50:11` | 발급 일시 (사용자 타임존 포맷) | +| expired_at | string\|null | `2026-07-31 23:59:59` | 만료 일시 (사용자 타임존 포맷, 없으면 null) | +| used_at | string\|null | `null` | 사용 일시 (미사용 시 null) | +| order_id | integer\|null | `null` | 쿠폰이 사용된 주문 ID (미사용 시 null) | +| order_number | string\|null | `20260708-0001` | 사용된 주문의 주문번호 (order 관계 로드 시) | +| discount_amount | number\|null | `null` | 실제 적용된 할인 금액 (기본 통화 자릿수로 반올림, 미사용 시 null) | +| is_used | boolean | `false` | 사용 완료 여부 (`status === 'used'`) | +| is_expired | boolean | `false` | 만료 여부 | +| is_usable | boolean | `true` | 현재 사용 가능 여부 | +| is_cancellable | boolean | `true` | 관리자 취소 가능 여부 (available 이면서 미만료일 때만 true) | +| user_name | string | `홍길동` | 발급 대상 회원 이름 (user 관계 로드 시) | + +`data.pagination` 은 `current_page`, `last_page`, `per_page`, `total`, `from`, `to`, `has_more_pages` 를 포함합니다. **응답 예시** @@ -645,16 +991,65 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (취소 처리된 발급 내역 = `CouponIssueResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 취소된 발급 내역 ID | +| coupon_id | integer | `1` | 발급된 쿠폰(정의) ID | +| user_id | string\|null | `a1e0a91a-fba6-491c-a53e-7285a5686857` | 발급 대상 회원의 UUID | +| coupon_code | string\|null | `WELCOME2026` | 쿠폰 코드 (다운로드 쿠폰 시) | +| status | string | `cancelled` | 취소 처리 후 상태 (항상 `cancelled`) | +| status_label | string | `취소됨` | `status` 의 다국어 라벨 | +| status_badge_color | string | `red` | `status` 배지 색상 (cancelled=red) | +| issued_at | string\|null | `2026-07-08 10:50:11` | 발급 일시 | +| expired_at | string\|null | `2026-07-31 23:59:59` | 만료 일시 | +| used_at | string\|null | `null` | 사용 일시 (미사용 건만 취소 가능하므로 항상 null) | +| order_id | integer\|null | `null` | 사용된 주문 ID (미사용이므로 null) | +| discount_amount | number\|null | `null` | 실제 적용된 할인 금액 (미사용이므로 null) | +| is_used | boolean | `false` | 사용 완료 여부 | +| is_expired | boolean | `false` | 만료 여부 | +| is_usable | boolean | `false` | 현재 사용 가능 여부 (취소되었으므로 false) | +| is_cancellable | boolean | `false` | 추가 취소 가능 여부 (이미 취소되어 false) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "쿠폰 발급이 취소되었습니다.", + "data": { + "id": 1, + "coupon_id": 1, + "user_id": "a1e0a91a-fba6-491c-a53e-7285a5686857", + "coupon_code": "WELCOME2026", + "status": "cancelled", + "status_label": "취소됨", + "status_badge_color": "red", + "issued_at": "2026-07-08 10:50:11", + "expired_at": "2026-07-31 23:59:59", + "used_at": null, + "order_id": null, + "discount_amount": null, + "is_used": false, + "is_expired": false, + "is_usable": false, + "is_cancellable": false + } +} +``` + +> `order_number` / `user_name` 은 관계가 로드된 경우에만 포함됩니다 (취소 응답에서는 관계를 별도 로드하지 않으므로 생략될 수 있음). **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 발급 내역 미존재(쿠폰-발급 조합 불일치 포함) 또는 미사용(available) 상태가 아니어서 취소 불가한 경우. `error.detail` 에 사유 원문("쿠폰 발급 내역을 찾을 수 없습니다." / "미사용 상태의 발급 건만 취소할 수 있습니다.")이 담김 | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.promotion-coupon.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/review-image.md b/modules/_bundled/sirsoft-ecommerce/docs/api/review-image.md index b185aa33..33091217 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/review-image.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/review-image.md @@ -39,17 +39,41 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투(`data`)를 반환하지 않습니다. 성공 시 이미지 바이너리 스트림(`StreamedResponse`)을 그대로 반환합니다 (`ProductReviewImageService::download()` → `StorageInterface::response()`)._ + +성공 응답의 헤더는 다음과 같습니다. + +| 헤더 | 값 | 용도/설명 | +| --- | --- | --- | +| Content-Type | `image/jpeg` | 업로드 시 저장된 이미지의 MIME 타입 (`product_review_images.mime_type`) | +| Cache-Control | `public, max-age=31536000` | 공개 이미지 장기 캐싱 (1년) | +| Content-Disposition | `attachment; filename="review.jpg"` | 업로드 시의 원본 파일명 (`original_filename`) | **응답 예시** - +```http +HTTP/1.1 200 OK +Content-Type: image/jpeg +Cache-Control: public, max-age=31536000 +Content-Disposition: attachment; filename="review.jpg" + +<이미지 바이너리 스트림> +``` + +이미지를 찾지 못한 경우에만 JSON 봉투가 반환됩니다. + +```json +{ + "success": false, + "message": "이미지를 찾을 수 없습니다." +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 해시에 해당하는 리뷰 이미지가 없거나(`findByHash()` → null), 레코드는 있으나 스토리지에 실제 파일이 없는 경우 (`messages.reviews.image_not_found`) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/reviews.md b/modules/_bundled/sirsoft-ecommerce/docs/api/reviews.md index 9aa0f10e..c5ba3335 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/reviews.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/reviews.md @@ -189,11 +189,38 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드. `action` 값에 따라 반환 키가 달라집니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| deleted_count | integer | `3` | 삭제된 리뷰 건수 (`action=delete` 일 때만 반환) | +| updated_count | integer | `3` | 상태가 변경된 리뷰 건수 (`action=change_status` 일 때만 반환) | **응답 예시** - +`action=delete` (message: `messages.reviews.bulk_deleted`) + +```json +{ + "success": true, + "message": "선택한 리뷰가 삭제되었습니다.", + "data": { + "deleted_count": 3 + } +} +``` + +`action=change_status` (message: `messages.reviews.bulk_updated`) + +```json +{ + "success": true, + "message": "선택한 리뷰의 상태가 변경되었습니다.", + "data": { + "updated_count": 3 + } +} +``` **에러 응답** @@ -201,7 +228,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.reviews.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`ids` 누락/빈 배열, `ids.*` 가 존재하지 않는 리뷰 ID, `action` 이 `delete`/`change_status` 외의 값, `action=change_status` 인데 `status` 누락, `status` 가 `visible`/`hidden` 외의 값) | +| 500 | Internal Server Error | 일괄 처리 중 예외 발생 (`messages.reviews.bulk_failed` — "일괄 처리에 실패했습니다.") | @@ -502,11 +530,78 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (상태가 변경된 리뷰 리소스). 컨트롤러가 관계를 추가로 로드하지 않으므로 `product`·`images`·`image_count`·`orderOption`·`reply_admin_uuid`·`reply_admin` 등 관계 의존 키는 응답에 포함되지 않습니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 리뷰 ID (기본 키) | +| product_id | integer | `1` | 리뷰 대상 상품 ID | +| order_option_id | integer | `1` | 리뷰가 연결된 주문 옵션 ID | +| user_id | string | `a234c2b1-cde8-437f-b28b-23323be2b98d` | 작성자 UUID | +| user | object | `{"uuid":"a234c2b1-...","name":"API 문서 샘플 사용자","email":"apidoc-sample-user@example.com"}` | 작성자 정보 (uuid·name·email, `user` 관계 로드 시) | +| option_snapshot | object\|null | `null` | 주문 시점 옵션 스냅샷 (옵션명 보존용, 주문 옵션에서 복사) | +| option_snapshot_label | string | `` | `option_snapshot.option_name` 의 현재 로케일 표시 문자열 | +| rating | integer | `5` | 별점 (1~5) | +| content | string | `Alias quas iusto dolorem eum eveniet …` | 리뷰 내용 | +| content_mode | string | `text` | 콘텐츠 모드: text / html | +| status | string | `hidden` | 변경된 리뷰 상태: `visible`(전시중) / `hidden`(숨김) | +| status_label | string | `숨김` | 상태의 사람이 읽는 라벨 (ReviewStatus::label()) | +| status_badge_color | string | `gray` | 상태 뱃지 색상 (visible=blue / hidden=gray) | +| has_reply | boolean | `false` | 판매자 답변 존재 여부 (`reply_content` 유무) | +| has_reply_label | string | `미답변` | `has_reply` 의 사람이 읽는 라벨 (답변완료 / 미답변) | +| has_reply_badge_color | string | `gray` | 답변 여부 뱃지 색상 (답변완료=green / 미답변=gray) | +| reply_content | string\|null | `null` | 판매자 답변 내용 (없으면 null) | +| reply_content_mode | string | `text` | 답변 콘텐츠 모드: text / html | +| replied_at | string\|null | `null` | 답변 최초 작성 일시 | +| reply_updated_at | string\|null | `null` | 답변 최종 수정 일시 | +| created_at | string | `2026-07-08 10:44:49` | 리뷰 생성 일시 | +| updated_at | string | `2026-07-08 15:10:07` | 리뷰 최종 수정 일시 (상태 변경으로 갱신됨) | +| abilities | object | `{"can_update":true,"can_delete":true}` | 현재 사용자가 이 리뷰에 수행 가능한 작업 불리언 맵 (can_update, can_delete) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "리뷰가 수정되었습니다.", + "data": { + "id": 1, + "product_id": 1, + "order_option_id": 1, + "user_id": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "user": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자", + "email": "apidoc-sample-user@example.com" + }, + "option_snapshot": null, + "option_snapshot_label": "", + "rating": 5, + "content": "Alias quas iusto dolorem eum eveniet ad omnis. Id neque consequatur fuga ut.", + "content_mode": "text", + "status": "hidden", + "status_label": "숨김", + "status_badge_color": "gray", + "has_reply": false, + "has_reply_label": "미답변", + "has_reply_badge_color": "gray", + "reply_content": null, + "reply_content_mode": "text", + "replied_at": null, + "reply_updated_at": null, + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 15:10:07", + "abilities": { + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -515,7 +610,8 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.reviews.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | `status` 누락 또는 `visible`/`hidden` 외의 값 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 상태 변경 중 예외 발생 (`messages.reviews.update_failed` — "리뷰 수정에 실패했습니다.") | @@ -560,11 +656,72 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (생성된 리뷰 리소스, HTTP 201). 서비스가 생성 직후의 모델을 그대로 반환하므로 `product`·`images`·`image_count`·`orderOption`·`reply_admin_uuid`·`reply_admin` 등 관계 의존 키는 응답에 포함되지 않습니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 생성된 리뷰 ID (기본 키) | +| product_id | integer | `1` | 리뷰 대상 상품 ID (요청값 그대로) | +| order_option_id | integer | `1` | 리뷰가 연결된 주문 옵션 ID (요청값 그대로) | +| user_id | string | `a234c2b1-cde8-437f-b28b-23323be2b98d` | 작성자 UUID (로그인 사용자) | +| option_snapshot | object\|null | `null` | 주문 시점 옵션 스냅샷 (주문 옵션의 `option_snapshot` 을 복사) | +| option_snapshot_label | string | `` | `option_snapshot.option_name` 의 현재 로케일 표시 문자열 | +| rating | integer | `5` | 별점 (1~5, 요청값 그대로) | +| content | string | `예시 내용입니다.` | 리뷰 내용 (10~2000자, 요청값 그대로) | +| content_mode | string | `text` | 콘텐츠 모드: text / html (미지정 시 text) | +| status | string | `visible` | 생성 시 상태 — 항상 `visible`(전시중) | +| status_label | string | `전시중` | 상태의 사람이 읽는 라벨 (ReviewStatus::label()) | +| status_badge_color | string | `blue` | 상태 뱃지 색상 (visible=blue / hidden=gray) | +| has_reply | boolean | `false` | 판매자 답변 존재 여부 (생성 직후는 항상 false) | +| has_reply_label | string | `미답변` | `has_reply` 의 사람이 읽는 라벨 (답변완료 / 미답변) | +| has_reply_badge_color | string | `gray` | 답변 여부 뱃지 색상 (답변완료=green / 미답변=gray) | +| reply_content | null | `null` | 판매자 답변 내용 (생성 직후는 null) | +| reply_content_mode | string | `text` | 답변 콘텐츠 모드: text / html | +| replied_at | null | `null` | 답변 최초 작성 일시 (생성 직후는 null) | +| reply_updated_at | null | `null` | 답변 최종 수정 일시 (생성 직후는 null) | +| created_at | string | `2026-07-08 15:20:11` | 리뷰 생성 일시 | +| updated_at | string | `2026-07-08 15:20:11` | 리뷰 최종 수정 일시 | +| abilities | object | `{"can_update":false,"can_delete":false}` | 현재 사용자가 이 리뷰에 수행 가능한 작업 불리언 맵 (관리자 권한 `sirsoft-ecommerce.reviews.update`/`.delete` 기준이므로 일반 회원은 false) | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "리뷰가 작성되었습니다.", + "data": { + "id": 1, + "product_id": 1, + "order_option_id": 1, + "user_id": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "option_snapshot": null, + "option_snapshot_label": "", + "rating": 5, + "content": "예시 내용입니다. 배송도 빠르고 품질도 만족스럽습니다.", + "content_mode": "text", + "status": "visible", + "status_label": "전시중", + "status_badge_color": "blue", + "has_reply": false, + "has_reply_label": "미답변", + "has_reply_badge_color": "gray", + "reply_content": null, + "reply_content_mode": "text", + "replied_at": null, + "reply_updated_at": null, + "created_at": "2026-07-08 15:20:11", + "updated_at": "2026-07-08 15:20:11", + "abilities": { + "can_update": false, + "can_delete": false + } + } +} +``` **에러 응답** @@ -572,7 +729,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.user-reviews.write`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) 또는 작성 자격 미충족 시 `ReviewNotWritableException`(RuntimeException) 이 발생해 사유 코드가 담긴 메시지로 응답 (`order_option_not_found` / `not_own_order` / `not_confirmed` / `deadline_passed` / `already_written`) | +| 500 | Internal Server Error | 리뷰 생성 중 예외 발생 (`messages.reviews.create_failed` — "리뷰 작성에 실패했습니다.") | @@ -694,20 +852,65 @@ Content-Type: application/octet-stream **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (업로드된 리뷰 이미지 리소스, HTTP 201)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 리뷰 이미지 ID (기본 키) | +| review_id | integer | `1` | 이미지가 속한 리뷰 ID | +| hash | string | `9f3a1c7b20de` | URL 용 고유 해시 (12자, 생성 시 자동 부여) | +| original_filename | string | `example.jpg` | 업로드된 원본 파일명 | +| download_url | string | `/api/modules/sirsoft-ecommerce/review-image/9f3a1c7b20de` | 해시 기반 이미지 서빙 URL (`review-image/{hash}`) | +| mime_type | string | `image/jpeg` | MIME 타입 (예: image/jpeg, image/webp) | +| file_size | integer | `204800` | 파일 크기 (바이트) | +| width | integer\|null | `1200` | 이미지 너비 (px, 이미지가 아니거나 판별 실패 시 null) | +| height | integer\|null | `800` | 이미지 높이 (px, 이미지가 아니거나 판별 실패 시 null) | +| alt_text | object\|null | `null` | 대체 텍스트 (다국어 JSON, 업로드 시점에는 설정하지 않으므로 null) | +| is_thumbnail | boolean | `true` | 대표 이미지 여부 (해당 리뷰의 첫 이미지면 true) | +| sort_order | integer | `1` | 정렬 순서 (기존 최대값 + 1) | +| created_at | string | `2026-07-08 15:30:02` | 업로드 일시 | +| abilities | object | `{"can_delete":false}` | 현재 사용자가 이 이미지에 수행 가능한 작업 불리언 맵 (관리자 권한 `sirsoft-ecommerce.reviews.delete` 기준이므로 일반 회원은 false) | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "리뷰 이미지가 업로드되었습니다.", + "data": { + "id": 1, + "review_id": 1, + "hash": "9f3a1c7b20de", + "original_filename": "example.jpg", + "download_url": "/api/modules/sirsoft-ecommerce/review-image/9f3a1c7b20de", + "mime_type": "image/jpeg", + "file_size": 204800, + "width": 1200, + "height": 800, + "alt_text": null, + "is_thumbnail": true, + "sort_order": 1, + "created_at": "2026-07-08 15:30:02", + "abilities": { + "can_delete": false + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.user-reviews.write`)이 없는 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.user-reviews.write`)이 없거나, 대상 리뷰가 로그인 사용자의 리뷰가 아닌 경우 (`messages.reviews.forbidden` — "권한이 없습니다.") | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | `image` 파일 누락·허용 형식/용량 위반 (`error.errors` 에 필드별 메시지) 또는 리뷰당 최대 첨부 개수 초과 시 `ReviewImageUploadLimitException`(RuntimeException) — 최대 개수는 리뷰 설정 `review_settings.max_images`(기본 5) 기준 | +| 500 | Internal Server Error | 업로드 처리 중 예외 발생 (`messages.reviews.image_upload_failed` — "리뷰 이미지 업로드에 실패했습니다.") | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/settings.md b/modules/_bundled/sirsoft-ecommerce/docs/api/settings.md index 6c7f8c72..829e0abc 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/settings.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/settings.md @@ -422,90 +422,90 @@ HTTP/1.1 200 | --- | --- | --- | --- | --- | --- | | _tab | body | string | 아니오 | `basic_info`, `language_currency`, `seo`, `order_settings`, `claim`, `shipping`, `review_settings`, `notification_definitions`, `notifications`, `inquiry`, `mileage` | 저장할 설정 탭(카테고리) 지정 (탭별 부분 저장 식별용) | | notifications | body | array | 아니오 | — | 알림 채널 설정 배열 (채널 ID·활성 여부·정렬 순서) | -| notifications.channels | body | array | 아니오 | — | | +| notifications.channels | body | array | 아니오 | — | 알림 채널 목록. 항목별 `id`(문자열, max 50, 필수), `is_active`(boolean, 필수), `sort_order`(integer, min 0) | | basic_info | body | array | 아니오 | — | 쇼핑몰 기본 정보 섹션 (쇼핑몰명·라우트 경로·상호·사업자번호·주소·연락처 등) | -| basic_info.shop_name | body | string | 아니오 | max 255 | basic info.shop 이름 (식별자) | -| basic_info.route_path | body | string | 아니오 | max 100 | | -| basic_info.no_route | body | boolean | 아니오 | — | | -| basic_info.company_name | body | string | 아니오 | max 255 | basic info.company 이름 (식별자) | -| basic_info.business_number_1 | body | string | 아니오 | max 3 | | -| basic_info.business_number_2 | body | string | 아니오 | max 2 | | -| basic_info.business_number_3 | body | string | 아니오 | max 5 | | -| basic_info.ceo_name | body | string | 아니오 | max 100 | basic info.ceo 이름 (식별자) | -| basic_info.business_type | body | string | 아니오 | max 100 | | -| basic_info.business_category | body | string | 아니오 | max 255 | | -| basic_info.zipcode | body | string | 아니오 | max 10 | | -| basic_info.base_address | body | string | 아니오 | max 500 | | -| basic_info.detail_address | body | string | 아니오 | max 255 | | -| basic_info.phone_1 | body | string | 아니오 | max 4 | | -| basic_info.phone_2 | body | string | 아니오 | max 4 | | -| basic_info.phone_3 | body | string | 아니오 | max 4 | | -| basic_info.fax_1 | body | string | 아니오 | max 4 | | -| basic_info.fax_2 | body | string | 아니오 | max 4 | | -| basic_info.fax_3 | body | string | 아니오 | max 4 | | -| basic_info.email_id | body | string | 아니오 | max 100 | basic info.email 식별자 | -| basic_info.email_domain | body | string | 아니오 | max 100 | | -| basic_info.privacy_officer | body | string | 아니오 | max 100 | | -| basic_info.privacy_officer_email | body | email | 아니오 | max 255 | | -| basic_info.mail_order_number | body | string | 아니오 | max 100 | | -| basic_info.telecom_number | body | string | 아니오 | max 100 | | +| basic_info.shop_name | body | string | 아니오 | max 255 | 쇼핑몰 이름 (`basic_info` 전달 시 필수) | +| basic_info.route_path | body | string | 아니오 | max 100 | 쇼핑몰 라우트 경로 (예: `shop`). `no_route: true` 이면 검증에서 제외 | +| basic_info.no_route | body | boolean | 아니오 | — | 라우트 경로를 사용하지 않음 (쇼핑몰만 단독 운영하는 경우) | +| basic_info.company_name | body | string | 아니오 | max 255 | 상호(회사명) | +| basic_info.business_number_1 | body | string | 아니오 | max 3 | 사업자등록번호 앞 3자리 | +| basic_info.business_number_2 | body | string | 아니오 | max 2 | 사업자등록번호 가운데 2자리 | +| basic_info.business_number_3 | body | string | 아니오 | max 5 | 사업자등록번호 뒤 5자리 | +| basic_info.ceo_name | body | string | 아니오 | max 100 | 대표자 이름 | +| basic_info.business_type | body | string | 아니오 | max 100 | 업태 (예: 도매, 소매) | +| basic_info.business_category | body | string | 아니오 | max 255 | 종목 (예: 전자상거래) | +| basic_info.zipcode | body | string | 아니오 | max 10 | 사업장 우편번호 | +| basic_info.base_address | body | string | 아니오 | max 500 | 사업장 기본주소 | +| basic_info.detail_address | body | string | 아니오 | max 255 | 사업장 상세주소 | +| basic_info.phone_1 | body | string | 아니오 | max 4 | 대표 전화번호 첫 번째 마디 | +| basic_info.phone_2 | body | string | 아니오 | max 4 | 대표 전화번호 두 번째 마디 | +| basic_info.phone_3 | body | string | 아니오 | max 4 | 대표 전화번호 세 번째 마디 | +| basic_info.fax_1 | body | string | 아니오 | max 4 | 대표 팩스번호 첫 번째 마디 | +| basic_info.fax_2 | body | string | 아니오 | max 4 | 대표 팩스번호 두 번째 마디 | +| basic_info.fax_3 | body | string | 아니오 | max 4 | 대표 팩스번호 세 번째 마디 | +| basic_info.email_id | body | string | 아니오 | max 100 | 대표 E-mail 의 아이디 부분 (`@` 앞) | +| basic_info.email_domain | body | string | 아니오 | max 100 | 대표 E-mail 의 도메인 부분 (`@` 뒤) | +| basic_info.privacy_officer | body | string | 아니오 | max 100 | 개인정보 보호책임자 이름 | +| basic_info.privacy_officer_email | body | email | 아니오 | max 255 | 개인정보 보호책임자 E-mail | +| basic_info.mail_order_number | body | string | 아니오 | max 100 | 통신판매업 신고번호 | +| basic_info.telecom_number | body | string | 아니오 | max 100 | 부가통신 사업자번호 | | language_currency | body | array | 아니오 | — | 통화 설정 섹션 (기본 통화·통화 목록: 코드·다국어명·환율·반올림 규칙·통화별 로케일) | -| language_currency.default_currency | body | string | 아니오 | max 10 | | -| language_currency.currencies | body | array | 아니오 | — | | +| language_currency.default_currency | body | string | 아니오 | max 10 | 쇼핑몰 기본(base) 통화 코드. 상품/주문이 1건이라도 생성된 뒤에는 변경 불가 | +| language_currency.currencies | body | array | 아니오 | — | 등록 통화 목록. 항목별 `code`(ISO 4217 3자리 대문자, 필수)·`name`(다국어 배열, 필수)·`symbol`·`exchange_rate`·`base_unit`·`rounding_unit`·`rounding_method`(`floor`\|`round`\|`ceil`)·`decimal_places`·`is_default`·`locales` | | seo | body | array | 아니오 | — | SEO 메타 설정 섹션 (페이지 유형별 메타 타이틀/설명·SEO 활성 토글) | -| seo.meta_category_title | body | string | 아니오 | max 500 | | -| seo.meta_category_description | body | string | 아니오 | max 1000 | | -| seo.meta_search_title | body | string | 아니오 | max 500 | | -| seo.meta_search_description | body | string | 아니오 | max 1000 | | -| seo.meta_product_title | body | string | 아니오 | max 500 | | -| seo.meta_product_description | body | string | 아니오 | max 1000 | | -| seo.meta_shop_index_title | body | string | 아니오 | max 500 | | -| seo.meta_shop_index_description | body | string | 아니오 | max 1000 | | -| seo.seo_category | body | boolean | 아니오 | — | | -| seo.seo_search_result | body | boolean | 아니오 | — | | -| seo.seo_product_detail | body | boolean | 아니오 | — | | -| seo.seo_shop_index | body | boolean | 아니오 | — | | +| seo.meta_category_title | body | string | 아니오 | max 500 | 카테고리 페이지 메타 Title (`{commerce_name}`·`{category_name}` 등 변수 사용 가능) | +| seo.meta_category_description | body | string | 아니오 | max 1000 | 카테고리 페이지 메타 Description | +| seo.meta_search_title | body | string | 아니오 | max 500 | 검색 결과 페이지 메타 Title (`{keyword_name}` 변수 사용 가능) | +| seo.meta_search_description | body | string | 아니오 | max 1000 | 검색 결과 페이지 메타 Description | +| seo.meta_product_title | body | string | 아니오 | max 500 | 상품 상세 페이지 메타 Title (`{product_name}` 변수 사용 가능) | +| seo.meta_product_description | body | string | 아니오 | max 1000 | 상품 상세 페이지 메타 Description | +| seo.meta_shop_index_title | body | string | 아니오 | max 500 | 쇼핑몰 메인 페이지 메타 Title | +| seo.meta_shop_index_description | body | string | 아니오 | max 1000 | 쇼핑몰 메인 페이지 메타 Description | +| seo.seo_category | body | boolean | 아니오 | — | 카테고리 페이지에 검색엔진 친화적 페이지 제공 여부 | +| seo.seo_search_result | body | boolean | 아니오 | — | 검색결과 페이지에 검색엔진 친화적 페이지 제공 여부 | +| seo.seo_product_detail | body | boolean | 아니오 | — | 상품 상세페이지에 검색엔진 친화적 페이지 제공 여부 | +| seo.seo_shop_index | body | boolean | 아니오 | — | 쇼핑몰 메인 페이지에 검색엔진 친화적 페이지 제공 여부 | | inquiry | body | array | 아니오 | — | 문의 연동 설정 섹션 (문의 게시판 slug) | -| inquiry.board_slug | body | string | 아니오 | max 255 | | +| inquiry.board_slug | body | string | 아니오 | max 255 | 상품 1:1 문의를 연동할 게시판 slug (게시판 모듈 활성화 시에만 선택 가능) | | order_settings | body | array | 아니오 | — | 주문/결제 설정 섹션 (기본 PG·결제수단·은행/무통장 계좌·자동취소·장바구니 만료 등) | -| order_settings.default_pg_provider | body | string | 아니오 | max 50 | | -| order_settings.cash_receipt_provider | body | string | 아니오 | max 50 | | -| order_settings.cash_receipt_self_issue | body | boolean | 아니오 | — | | -| order_settings.shipping_fee_tax_policy | body | string | 아니오 | `proportional`, `taxable`, `follow_main_item` | | -| order_settings.payment_methods | body | array | 아니오 | — | | -| order_settings.banks | body | array | 아니오 | — | | -| order_settings.bank_accounts | body | array | 아니오 | — | | -| order_settings.auto_cancel_expired | body | boolean | 아니오 | — | | -| order_settings.auto_cancel_days | body | integer | 아니오 | min 0, max 30 | | -| order_settings.cart_expiry_days | body | integer | 아니오 | min 1, max 365 | | -| order_settings.stock_restore_on_cancel | body | boolean | 아니오 | — | | -| order_settings.confirmable_statuses | body | array | 아니오 | — | | +| order_settings.default_pg_provider | body | string | 아니오 | max 50 | 결제 처리에 사용할 기본 PG사 ID (결제수단별 `pg_provider` 미지정 시 적용) | +| order_settings.cash_receipt_provider | body | string | 아니오 | max 50 | 현금영수증 발급 프로바이더 ID. 결제 PG 와 독립 선택하며 빈 문자열이면 미사용 | +| order_settings.cash_receipt_self_issue | body | boolean | 아니오 | — | 현금영수증 자진발급 사용 (구매자가 신청하지 않은 무통장 입금 건도 자동 발급) | +| order_settings.shipping_fee_tax_policy | body | string | 아니오 | `proportional`, `taxable`, `follow_main_item` | 현금영수증의 배송비 과세 방식 (안분 / 전액 과세 / 주된 재화 기준) | +| order_settings.payment_methods | body | array | 아니오 | — | 결제수단 목록. 항목별 `id`(필수)·`pg_provider`·`sort_order`(min 1)·`is_active`·`min_order_amount`(min 0)·`stock_deduction_timing`(`order_placed`\|`payment_complete`\|`none`)·`mileage_deduction_timing`(`order_placed`\|`payment_complete`). 최소 1개는 활성이어야 하며, PG 가 필요한 결제수단을 활성화하려면 PG사 지정 필수 | +| order_settings.banks | body | array | 아니오 | — | 무통장입금용 은행 목록. 항목별 `code`(max 10, 필수)·`name`(다국어 배열, 현재 로케일 필수) | +| order_settings.bank_accounts | body | array | 아니오 | — | 무통장 입금 계좌 목록. 항목별 `bank_code`·`account_number`·`account_holder`(모두 필수)·`is_active`·`is_default`. 계좌가 있으면 최소 1건은 사용+기본 상태여야 함 | +| order_settings.auto_cancel_expired | body | boolean | 아니오 | — | 입금대기 상태 주문의 자동취소 사용 여부 | +| order_settings.auto_cancel_days | body | integer | 아니오 | min 0, max 30 | 자동취소 기한(일). 주문일 포함 이 일수 경과 시 입금대기 주문을 자동 취소 | +| order_settings.cart_expiry_days | body | integer | 아니오 | min 1, max 365 | 장바구니 보관기간(일). 경과 시 담긴 상품 자동 삭제 | +| order_settings.stock_restore_on_cancel | body | boolean | 아니오 | — | 주문 취소 시 차감된 재고 자동 복구 여부 (반품/교환에도 적용) | +| order_settings.confirmable_statuses | body | array | 아니오 | — | 사용자가 구매확정할 수 있는 주문 옵션 상태 목록 (`payment_complete`, `shipping_hold`, `preparing`, `shipping_ready`, `shipping`, `delivered` 중 선택) | | claim | body | array | 아니오 | — | 클레임 설정 섹션 (환불 사유 목록, DB 동기화 대상으로 분리 저장) | -| claim.refund_reasons | body | array | 아니오 | — | | +| claim.refund_reasons | body | array | 아니오 | — | 환불 사유 목록. 항목별 `id`·`code`(소문자·언더스코어, 필수)·`name`(다국어 배열, 현재 로케일 필수)·`fault_type`(`customer`\|`seller`\|`carrier`, 필수)·`is_user_selectable`·`is_active`·`sort_order`. 코드 중복 불가 | | review_settings | body | array | 아니오 | — | 리뷰 정책 섹션 (작성 기한일·이미지 최대 개수·이미지 최대 용량 MB) | -| review_settings.write_deadline_days | body | integer | 아니오 | min 1, max 365 | | -| review_settings.max_images | body | integer | 아니오 | min 0, max 20 | | -| review_settings.max_image_size_mb | body | integer | 아니오 | min 1, max 50 | | +| review_settings.write_deadline_days | body | integer | 아니오 | min 1, max 365 | 구매 확정 후 리뷰를 작성할 수 있는 기간(일) | +| review_settings.max_images | body | integer | 아니오 | min 0, max 20 | 리뷰 1건당 첨부 가능한 이미지 수 (0 = 이미지 첨부 불가) | +| review_settings.max_image_size_mb | body | integer | 아니오 | min 1, max 50 | 리뷰 이미지 파일 1개의 최대 용량(MB) | | mileage | body | array | 아니오 | — | 마일리지 설정 섹션 (사용 여부·기본 적립률·적립 트리거·통화별 규칙·소멸/소멸 알림) | -| mileage.enabled | body | boolean | 아니오 | — | | -| mileage.default_earn_rate | body | number | 아니오 | min 0, max 100 | | -| mileage.earn_trigger | body | string | 아니오 | `delivered`, `confirmed` | | -| mileage.earn_delay_days | body | integer | 아니오 | min 0, max 365 | | -| mileage.currency_rules | body | array | 아니오 | — | | -| mileage.expiry_enabled | body | boolean | 아니오 | — | | -| mileage.expiry_days | body | integer | 아니오 | min 1, max 3650 | | -| mileage.expiry_notification_enabled | body | boolean | 아니오 | — | | -| mileage.expiry_notification_days_before | body | integer | 아니오 | min 1, max 365 | | +| mileage.enabled | body | boolean | 아니오 | — | 마일리지 적립·사용 기능 사용 여부 (`mileage` 전달 시 필수) | +| mileage.default_earn_rate | body | number | 아니오 | min 0, max 100 | 기본 적립률(%). 상품 등록 시 기본값으로 사용되며, `enabled: true` 인 경우 0 초과여야 함 | +| mileage.earn_trigger | body | string | 아니오 | `delivered`, `confirmed` | 마일리지 적립 시점 (배송완료 / 구매확정) | +| mileage.earn_delay_days | body | integer | 아니오 | min 0, max 365 | 적립 시점 이후 실제 적립까지의 지연일 | +| mileage.currency_rules | body | array | 아니오 | — | 통화별 사용 규칙. 항목별 `currency_code`(ISO 4217, 필수)·`point_value`(1점당 금액, min 0.001)·`min_use_amount`·`use_unit`(min 1)·`max_use_type`(`percent`\|`fixed`)·`max_use_percent`·`max_use_value`. 첫 행은 기본 통화여야 하고, 등록 통화만 허용하며 중복 불가 | +| mileage.expiry_enabled | body | boolean | 아니오 | — | 마일리지 유효기간 사용 여부 (경과 시 미사용 마일리지 자동 소멸) | +| mileage.expiry_days | body | integer | 아니오 | min 1, max 3650 | 마일리지 유효기간(일) | +| mileage.expiry_notification_enabled | body | boolean | 아니오 | — | 소멸 예정 알림 발송 여부 | +| mileage.expiry_notification_days_before | body | integer | 아니오 | min 1, max 365 | 유효기간 만료 며칠 전에 소멸 예정 알림을 발송할지 | | shipping | body | array | 아니오 | — | 배송 설정 섹션 (기본 국가·배송 가능 국가·무료배송·배송사(carriers)·배송유형(types) — carriers/types는 DB 동기화 대상으로 분리 저장) | -| shipping.default_country | body | string | 아니오 | max 10 | | -| shipping.available_countries | body | array | 아니오 | — | | -| shipping.international_shipping_enabled | body | boolean | 아니오 | — | | -| shipping.free_shipping_threshold | body | integer | 아니오 | min 0 | | -| shipping.free_shipping_enabled | body | boolean | 아니오 | — | | -| shipping.address_validation_enabled | body | boolean | 아니오 | — | | -| shipping.address_api_provider | body | string | 아니오 | max 50 | | -| shipping.carriers | body | array | 아니오 | — | | -| shipping.types | body | array | 아니오 | — | | +| shipping.default_country | body | string | 아니오 | max 10 | 기본 배송 국가 코드. 새 배송정책 등록 시 기본으로 추가되며, `available_countries` 에 존재해야 함 | +| shipping.available_countries | body | array | 아니오 | — | 배송 가능 국가 목록. 항목별 `code`(max 10, 필수)·`name`(다국어 배열, 필수)·`is_active`. 코드 중복 불가 | +| shipping.international_shipping_enabled | body | boolean | 아니오 | — | 해외배송 기능 사용 여부 | +| shipping.free_shipping_threshold | body | integer | 아니오 | min 0 | 무료배송 기준 금액 (이 금액 이상 주문 시 무료배송) | +| shipping.free_shipping_enabled | body | boolean | 아니오 | — | 무료배송 기준금액 적용 여부 | +| shipping.address_validation_enabled | body | boolean | 아니오 | — | 주소 검증(주소찾기 API) 사용 여부 | +| shipping.address_api_provider | body | string | 아니오 | max 50 | 주소찾기 API 제공자 식별자 (기본값 `kakao`) | +| shipping.carriers | body | array | 아니오 | — | 배송사 목록(DB 동기화 대상). 항목별 `id`·`code`(소문자/숫자/하이픈, 필수)·`name`(다국어 배열, 현재 로케일 필수)·`type`(`domestic`\|`international`, 필수)·`tracking_url`(`{tracking_number}` 치환)·`is_active`·`sort_order`. 코드 중복 불가 | +| shipping.types | body | array | 아니오 | — | 배송유형 목록(DB 동기화 대상). 항목별 `id`·`code`(소문자/숫자/하이픈, 필수)·`name`(다국어 배열, 현재 로케일 필수)·`category`(`domestic`\|`international`\|`other`, 필수)·`is_active`·`sort_order`. 코드 중복 불가 | **요청 예시** @@ -1331,11 +1331,27 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| cleared | boolean | `true` | 이커머스 설정 캐시 + SEO 렌더 캐시 초기화 성공 여부 (성공 시 항상 `true`) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "sirsoft-ecommerce::messages.settings.cache_clear_success", + "data": { + "cleared": true + } +} +``` **에러 응답** @@ -1577,7 +1593,9 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). _ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 500 | Internal Server Error | 설정 조회 중 예외 발생 (`messages.settings.fetch_failed`) | @@ -1686,7 +1704,9 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). _ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 500 | Internal Server Error | 설정 조회 중 예외 발생 (`messages.settings.fetch_failed`) | @@ -1741,7 +1761,9 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). _ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 500 | Internal Server Error | 설정 조회 중 예외 발생 (`messages.settings.fetch_failed`) | @@ -1817,7 +1839,9 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). _ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 500 | Internal Server Error | 설정 조회 중 예외 발생 (`messages.settings.fetch_failed`) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/shipping-carriers.md b/modules/_bundled/sirsoft-ecommerce/docs/api/shipping-carriers.md index 2f9a62c7..85b0b7b8 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/shipping-carriers.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/shipping-carriers.md @@ -188,11 +188,58 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ShippingCarrierResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `13` | 생성된 배송사의 기본 키 (내부 식별자) | +| code | string | `apidoc` | 배송사 고유 코드 (cj, fedex 등 시스템 식별용) | +| name | object | `{"ko":"API 문서 샘플 배송사","en":"API Doc Sample Carrier"}` | 다국어 배송사명 (로케일별 값 객체) | +| localized_name | string | `API 문서 샘플 배송사` | `name` 의 현재 로케일 해석 값 (표시용 문자열) | +| type | string | `domestic` | 배송사 유형 (`domestic` 국내 / `international` 해외) | +| type_label | string | `국내` | `type` 값의 사람이 읽는 라벨 (`국내` / `국제`) | +| tracking_url | string\|null | `https://trace.cjlogistics.com/next/tracking.html?wblNo={tracking_number}` | 배송 추적 URL 템플릿 (`{tracking_number}` 치환자를 운송장 번호로 대체) | +| is_active | boolean | `true` | 활성 여부 (true 활성 / false 비활성) | +| sort_order | integer | `0` | 표시 정렬 순서 값 (작을수록 우선) | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 (사용자 타임존 기준 문자열) | +| updated_at | string | `2026-07-08 10:44:49` | 최종 수정 일시 (사용자 타임존 기준 문자열) | +| creator | object | `{"id":1,"name":"관리자"}` | 생성자 정보 (creator 관계 로드 시에만 포함) | +| updater | object | `{"id":1,"name":"관리자"}` | 최종 수정자 정보 (updater 관계 로드 시에만 포함) | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (모두 `sirsoft-ecommerce.settings.update` 권한 기준) | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "배송사가 등록되었습니다.", + "data": { + "id": 13, + "code": "apidoc", + "name": { + "ko": "API 문서 샘플 배송사", + "en": "API Doc Sample Carrier" + }, + "localized_name": "API 문서 샘플 배송사", + "type": "domestic", + "type_label": "국내", + "tracking_url": null, + "is_active": true, + "sort_order": 0, + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 10:44:49", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -477,11 +524,58 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ShippingCarrierResource`)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `13` | 수정된 배송사의 기본 키 (내부 식별자) | +| code | string | `apidoc` | 배송사 고유 코드 (cj, fedex 등 시스템 식별용) | +| name | object | `{"ko":"API 문서 샘플 배송사(수정)","en":"API Doc Sample Carrier"}` | 다국어 배송사명 (로케일별 값 객체) | +| localized_name | string | `API 문서 샘플 배송사(수정)` | `name` 의 현재 로케일 해석 값 (표시용 문자열) | +| type | string | `domestic` | 배송사 유형 (`domestic` 국내 / `international` 해외) | +| type_label | string | `국내` | `type` 값의 사람이 읽는 라벨 (`국내` / `국제`) | +| tracking_url | string\|null | `https://trace.cjlogistics.com/next/tracking.html?wblNo={tracking_number}` | 배송 추적 URL 템플릿 (`{tracking_number}` 치환자를 운송장 번호로 대체) | +| is_active | boolean | `true` | 활성 여부 (true 활성 / false 비활성) | +| sort_order | integer | `0` | 표시 정렬 순서 값 (작을수록 우선) | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 (사용자 타임존 기준 문자열) | +| updated_at | string | `2026-07-08 15:12:07` | 최종 수정 일시 (사용자 타임존 기준 문자열) | +| creator | object | `{"id":1,"name":"관리자"}` | 생성자 정보 (creator 관계 로드 시에만 포함) | +| updater | object | `{"id":1,"name":"관리자"}` | 최종 수정자 정보 (updater 관계 로드 시에만 포함) | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 (모두 `sirsoft-ecommerce.settings.update` 권한 기준) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "배송사가 수정되었습니다.", + "data": { + "id": 13, + "code": "apidoc", + "name": { + "ko": "API 문서 샘플 배송사(수정)", + "en": "API Doc Sample Carrier" + }, + "localized_name": "API 문서 샘플 배송사(수정)", + "type": "domestic", + "type_label": "국내", + "tracking_url": null, + "is_active": true, + "sort_order": 0, + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 15:12:07", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/shipping-policies.md b/modules/_bundled/sirsoft-ecommerce/docs/api/shipping-policies.md index 0b0c7d05..849ff4d1 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/shipping-policies.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/shipping-policies.md @@ -223,11 +223,55 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ShippingPolicyResource`). 생성 성공 시 HTTP 201._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| name | object | `{"ko":"기본 배송정책","en":"Default Shipping Policy"}` | 대상의 이름/명칭 (다국어 필드는 로케일별 값 객체) | +| name_localized | string | `기본 배송정책` | `name` 의 현재 로케일 해석 값 | +| country_settings | array | `[]` | 국가별 배송 설정 목록 (`countrySettings` 관계가 로드된 경우에만 포함) | +| fee_summary | string | `KR: 배송비: 3,000원` | 활성 국가별 설정을 종합한 배송비 요약 텍스트 (활성 설정 없으면 빈 문자열) | +| countries_display | string | `🇰🇷` | 활성 배송 국가를 국기 이모지로 표시한 문자열 (최대 3개, 초과분은 `+N` 축약) | +| is_active | boolean | `true` | active 여부 | +| is_default | boolean | `false` | default 여부 | +| sort_order | integer | `0` | 표시 정렬 순서 값 (작을수록 우선) | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 | +| updated_at | string | `2026-07-08 10:44:49` | 최종 수정 일시 | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "배송정책이 등록되었습니다.", + "data": { + "id": 1, + "name": { + "ko": "기본 배송정책", + "en": "Default Shipping Policy" + }, + "name_localized": "기본 배송정책", + "fee_summary": "KR: 배송비: 3,000원", + "countries_display": "🇰🇷", + "is_active": true, + "is_default": false, + "sort_order": 0, + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 10:44:49", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -236,6 +280,7 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.shipping-policies.create`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 생성 처리 중 예외 발생 (`exceptions.operation_failed`) | @@ -421,16 +466,35 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| deleted_count | integer | `2` | 실제로 삭제된 배송정책 건수 (`ShippingPolicyService::bulkDelete()` 반환값) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": ":count개 배송정책이 삭제되었습니다.", + "data": { + "deleted_count": 2 + } +} +``` + +> 컨트롤러가 `messageParams` 를 넘기지 않으므로 `message` 의 `:count` 자리표시자는 치환되지 않은 채로 내려옵니다. **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 일괄 삭제 처리 중 예외 발생 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.shipping-policies.delete`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -474,16 +538,35 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| updated_count | integer | `2` | 활성 상태가 실제로 변경된 배송정책 건수 (`ShippingPolicyService::bulkToggleActive()` 반환값) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": ":count개 배송정책의 사용여부가 변경되었습니다.", + "data": { + "updated_count": 2 + } +} +``` + +> 컨트롤러가 `messageParams` 를 넘기지 않으므로 `message` 의 `:count` 자리표시자는 치환되지 않은 채로 내려옵니다. **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 일괄 변경 처리 중 예외 발생 (`exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.shipping-policies.update`)이 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -506,17 +589,17 @@ Content-Type: application/json | endpoint | body | string | 예 | max 500 | 테스트로 호출할 외부 배송비 계산 API 엔드포인트 URL. 내부 네트워크 주소(사설 IP·루프백·`localhost`·`*.internal` 등)와 userinfo(`https://a@b/`) 위장 주소는 422 로 거부됩니다 — 이 주소는 쇼핑몰 서버가 대신 호출하므로 내부망 접근을 막기 위함(SSRF). 사내 배송비 계산 서버를 쓰려면 코어 환경설정의 `security.allow_internal_outbound_urls` 를 켜세요 | | request_fields | body | array | 아니오 | — | 요청에 실어 보낼 필드명 목록 (후보 SSoT ShippingApiRequestField 5종) | | config | body | array | 아니오 | — | API 호출 고급 설정 (HTTP 메서드·인증방식·필드 매핑·응답 형식/경로 등) | -| config.http_method | body | string | 아니오 | — | | -| config.auth_type | body | string | 아니오 | — | | -| config.auth_token | body | string | 아니오 | max 1000 | | -| config.auth_header_name | body | string | 아니오 | max 100 | config.auth header 이름 (식별자) | -| config.response_type | body | string | 아니오 | — | | -| config.response_path | body | string | 아니오 | max 200 | | -| config.field_map | body | array | 아니오 | — | | +| config.http_method | body | string | 아니오 | — | 외부 API 호출에 사용할 HTTP 메서드 (GET=query string bracket 표기, POST=JSON body. 미지정 시 POST) | +| config.auth_type | body | string | 아니오 | — | 인증 헤더 부착 방식 (none=인증 없음, bearer=`Authorization: Bearer {token}`, custom_header=커스텀 헤더명 + 값) | +| config.auth_token | body | string | 아니오 | max 1000 | 인증에 사용할 토큰/키 값 (`auth_type` 이 bearer/custom_header 일 때 헤더 값으로 전송) | +| config.auth_header_name | body | string | 아니오 | max 100 | `auth_type` 이 `custom_header` 일 때 토큰을 실어 보낼 헤더 이름 (예: `X-API-Key`. HTTP 헤더 토큰 문자만 허용) | +| config.response_type | body | string | 아니오 | — | 외부 API 응답에서 배송비를 추출하는 방식 (json=`response_path` 점표기 경로로 중첩 값 추출, text=본문에서 숫자/소수점만 추출) | +| config.response_path | body | string | 아니오 | max 200 | JSON 응답에서 배송비 값이 위치한 점표기 경로 (예: `data.shipping_fee`) | +| config.field_map | body | array | 아니오 | — | 요청 필드명 재매핑 표 (내부 필드명 → 외부 API 가 요구하는 파라미터명. 값은 영숫자/`_`/`.`/`-` 만 허용) | | sample | body | array | 아니오 | — | 테스트 계산에 사용할 샘플 주문 데이터 (무게/금액/수량 등) | -| sample.group_total | body | number | 아니오 | min 0 | | -| sample.total_quantity | body | integer | 아니오 | min 0 | | -| sample.country_code | body | string | 아니오 | max 10 | | +| sample.group_total | body | number | 아니오 | min 0 | 테스트용 배송 그룹 합계 금액 (미지정 시 `10000`) | +| sample.total_quantity | body | integer | 아니오 | min 0 | 테스트용 배송 그룹 총 수량 (미지정 시 `1`) | +| sample.country_code | body | string | 아니오 | max 10 | 국가 코드 (ISO 3166-1 alpha-2. 미지정 시 `KR`) | **요청 예시** @@ -555,11 +638,55 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`OrderCalculationService::testApiCall()` 반환 배열). 외부 API 호출 실패도 HTTP 200 으로 내려오며 `ok=false` 로 구분합니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| ok | boolean | `true` | 테스트 호출 성공 여부 (외부 API 가 2xx 응답을 준 경우 true. 무응답/요청 실패 시 false) | +| http_ok | boolean | `true` | 외부 API 응답이 2xx 인지 여부 (응답을 받은 경우에만 포함) | +| reason | string | `no_response`, `request_failed` | 실패 사유 코드 (`ok=false` 인 경우에만 포함. no_response=응답 없음, request_failed=연결 실패/타임아웃) | +| error | string | `cURL error 28: Operation timed out` | 예외 메시지 (`reason=request_failed` 인 경우에만 포함) | +| request | object | `{"method":"POST","endpoint":"https://…","data":{…},"body":"{…}"}` | 실제로 보낸 요청 미리보기 (성공/실패 무관하게 항상 포함) | +| request.method | string | `POST` | 실제 사용된 HTTP 메서드 (`config.http_method` 대문자, 미지정 시 `POST`) | +| request.endpoint | string | `https://api.example.com/shipping/quote` | 호출한 외부 API URL | +| request.data | object | `{"country_code":"KR","group_total":10000,"total_quantity":1}` | `request_fields` + `field_map` 을 적용해 구성된 요청 파라미터 | +| request.body | string | `{\n "country_code": "KR"\n}` | `request.data` 를 pretty-print JSON 문자열로 직렬화한 요청 본문 미리보기 | +| response | object | `{"status":200,"body":"{\"fee\":3000}"}` | 외부 API 응답 (응답을 받은 경우에만 포함) | +| response.status | integer | `200` | 외부 API 응답 HTTP 상태코드 | +| response.body | string | `{"fee":3000}` | 외부 API 응답 본문 (과대 응답 방어를 위해 앞 4096자로 잘림) | +| extracted_fee | integer\|null | `3000` | 응답에서 추출된 배송비 (`response_type`/`response_path` 로 추출 실패 시 `null`) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "계산 API 테스트 호출을 완료했습니다.", + "data": { + "ok": true, + "http_ok": true, + "request": { + "method": "POST", + "endpoint": "https://api.example.com/shipping/quote", + "data": { + "country_code": "KR", + "group_total": 10000, + "total_quantity": 1 + }, + "body": "{\n \"country_code\": \"KR\",\n \"group_total\": 10000,\n \"total_quantity\": 1\n}" + }, + "response": { + "status": 200, + "body": "{\"fee\":3000}" + }, + "extracted_fee": 3000 + } +} +``` **에러 응답** @@ -597,7 +724,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — 컨트롤러가 `ResponseHelper::moduleSuccess()` 에 데이터를 넘기지 않아 `data` 는 `null`)._ **응답 예시** @@ -607,6 +734,7 @@ Authorization: Bearer {YOUR_TOKEN} | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 400 | Bad Request | 삭제 처리 중 예외 발생 (사용 중인 정책 등 — `exceptions.operation_failed`) | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.shipping-policies.delete`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | @@ -701,11 +829,55 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`ShippingPolicyResource` — show 와 동일 구조)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `1` | 기본 키 (내부 식별자) | +| name | object | `{"ko":"기본 배송정책","en":"Default Shipping Policy"}` | 대상의 이름/명칭 (다국어 필드는 로케일별 값 객체) | +| name_localized | string | `기본 배송정책` | `name` 의 현재 로케일 해석 값 | +| country_settings | array | `[]` | 국가별 배송 설정 목록 (`countrySettings` 관계가 로드된 경우에만 포함) | +| fee_summary | string | `KR: 배송비: 3,000원` | 활성 국가별 설정을 종합한 배송비 요약 텍스트 (활성 설정 없으면 빈 문자열) | +| countries_display | string | `🇰🇷` | 활성 배송 국가를 국기 이모지로 표시한 문자열 (최대 3개, 초과분은 `+N` 축약) | +| is_active | boolean | `true` | active 여부 | +| is_default | boolean | `false` | default 여부 | +| sort_order | integer | `0` | 표시 정렬 순서 값 (작을수록 우선) | +| created_at | string | `2026-07-08 10:44:49` | 생성 일시 | +| updated_at | string | `2026-07-08 15:00:35` | 최종 수정 일시 | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "배송정책이 수정되었습니다.", + "data": { + "id": 1, + "name": { + "ko": "기본 배송정책", + "en": "Default Shipping Policy" + }, + "name_localized": "기본 배송정책", + "fee_summary": "KR: 배송비: 3,000원", + "countries_display": "🇰🇷", + "is_active": true, + "is_default": false, + "sort_order": 0, + "created_at": "2026-07-08 10:44:49", + "updated_at": "2026-07-08 15:00:35", + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -715,6 +887,7 @@ Content-Type: application/json | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.shipping-policies.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 500 | Internal Server Error | 수정 처리 중 예외 발생 (`exceptions.operation_failed`) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/users.md b/modules/_bundled/sirsoft-ecommerce/docs/api/users.md index c64c2bbd..0a198729 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/users.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/users.md @@ -46,11 +46,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| preferred_currency | string | `KRW` | 변경 후 저장된 회원 선호 결제 통화 코드 (ISO 4217, 등록 통화 중 하나) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "결제 통화가 변경되었습니다.", + "data": { + "preferred_currency": "KRW" + } +} +``` **에러 응답** @@ -59,7 +75,8 @@ Content-Type: application/json | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.user-currency.manage`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). `currency` 미전달 또는 등록 통화(is_default \| exchange_rate>0)가 아닌 코드 전달 시 | +| 500 | Internal Server Error | 통화 저장 처리 중 예외 발생 시 (`결제 통화 변경에 실패했습니다.`) | diff --git a/modules/_bundled/sirsoft-ecommerce/docs/api/wishlist.md b/modules/_bundled/sirsoft-ecommerce/docs/api/wishlist.md index 5f9ad1ff..bfd0fd17 100644 --- a/modules/_bundled/sirsoft-ecommerce/docs/api/wishlist.md +++ b/modules/_bundled/sirsoft-ecommerce/docs/api/wishlist.md @@ -45,10 +45,65 @@ _목록 응답: `data.data[]` 배열 항목의 필드 + `data.pagination`._ | 필드 | 타입 | 실측 예시값 | 용도/설명 | | --- | --- | --- | --- | -| id | integer | `2` | 기본 키 (내부 식별자) | -| product_id | integer | `1732` | product 식별자 (연관 리소스 참조) | -| created_at | string | `2026-07-31T12:45:03.000000Z` | 생성 일시 | -| product | object | `{"id":1732,"name":{"ko":"면 손수건 3매입 #1","en":"Cotton Handk…` | | +| id | integer | `1` | 찜(위시리스트) 레코드 식별자 (DELETE `/wishlist/{id}` 의 `id`) | +| product_id | integer | `10` | 찜한 상품의 식별자 | +| created_at | string | `2026-07-14T09:12:33.000000Z` | 찜한 일시 (목록은 최신순 정렬) | +| product | object | `{ "id": 10, ... }` | 찜한 상품 정보 (`ProductListResource` 형식, 아래 하위 필드) | + +`product` 하위 필드 (찜 목록에서는 상품의 브랜드·카테고리·라벨 관계만 로드되므로 옵션/배송정책 관련 필드는 응답에 포함되지 않습니다): + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `10` | 상품 식별자 | +| name | object | `{"ko":"상품명","en":"Product"}` | 상품명 다국어 원본 | +| name_localized | string | `상품명` | 현재 로케일로 해석된 상품명 | +| product_code | string | `P0000001` | 상품 코드 | +| sku | string \| null | `SKU-001` | 재고 관리 코드 | +| thumbnail_url | string \| null | `/storage/products/thumb.jpg` | 대표 썸네일 이미지 URL | +| list_price | number | `30000` | 정가 (기본 통화 기준 반올림) | +| list_price_formatted | string | `30,000원` | 정가 표시용 포맷 문자열 | +| selling_price | number | `24000` | 판매가 (기본 통화 기준 반올림) | +| selling_price_formatted | string | `24,000원` | 판매가 표시용 포맷 문자열 | +| discount_rate | integer | `20` | 정가 대비 할인율(%) | +| multi_currency_list_price | object | `{"KRW":30000,"USD":22.5}` | 통화별 정가 | +| multi_currency_selling_price | object | `{"KRW":24000,"USD":18}` | 통화별 판매가 | +| stock_quantity | integer | `100` | 재고 수량 | +| safe_stock_quantity | integer | `10` | 안전 재고 수량 | +| is_below_safe_stock | boolean | `false` | 재고가 안전 재고 미만인지 여부 | +| sales_status | string | `on_sale` | 판매 상태 값 (`on_sale`/`sold_out`/`stop_sale` 등) | +| sales_status_label | string | `판매중` | 판매 상태 라벨 (다국어) | +| sales_status_variant | string | `success` | 판매 상태 배지 색상 변형 | +| display_status | string | `visible` | 진열 상태 값 | +| display_status_label | string | `진열` | 진열 상태 라벨 (다국어) | +| display_status_variant | string | `success` | 진열 상태 배지 색상 변형 | +| categories | array | `[{"id":3,"name":"의류","is_primary":true}]` | 소속 카테고리 목록 (id/name/is_primary) | +| primary_category | string \| null | `의류` | 대표 카테고리명 | +| categories_with_path | array | `[{"id":3,"path":[...],"path_string":"패션 > 의류","is_primary":true}]` | 카테고리 경로(브레드크럼) 포함 목록 | +| brand_name | string \| null | `나이키` | 브랜드명 (현재 로케일) | +| shipping_policy_id | integer \| null | `1` | 배송 정책 식별자 | +| min_purchase_qty | integer | `1` | 최소 구매 수량 | +| max_purchase_qty | integer \| null | `10` | 최대 구매 수량 (없으면 `null`) | +| has_options | boolean | `true` | 옵션 보유 여부 | +| options | array | `[]` | 옵션 목록 (찜 목록에서는 옵션 관계 미로드로 빈 배열) | +| labels | array | `[{"name":"NEW","color":"#ff0000"}]` | 활성 라벨 목록 (정렬순) | +| review_count | integer | `0` | 리뷰 수 (리뷰 집계 미로드 시 `0`) | +| rating_avg | number | `0.0` | 평균 평점 (리뷰 집계 미로드 시 `0.0`) | +| created_at | string | `2026-07-01 10:00:00` | 상품 등록 일시 (사용자 타임존 기준) | +| updated_at | string | `2026-07-10 15:30:00` | 상품 수정 일시 (사용자 타임존 기준) | +| is_owner | boolean | `false` | 요청자가 상품 등록자(`created_by`)인지 여부 | +| abilities | object | `{"can_update":false,"can_delete":false}` | 상품 수정/삭제 권한 (권한 없으면 키 자체가 생략될 수 있음) | + +`data.pagination` 필드: + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| current_page | integer | `1` | 현재 페이지 번호 | +| last_page | integer | `1` | 마지막 페이지 번호 | +| per_page | integer | `20` | 페이지당 항목 수 (기본 20, 최대 100) | +| total | integer | `0` | 전체 찜 항목 수 | +| from | integer \| null | `null` | 현재 페이지 첫 항목의 순번 (없으면 `null`) | +| to | integer \| null | `null` | 현재 페이지 마지막 항목의 순번 (없으면 `null`) | +| has_more_pages | boolean | `false` | 다음 페이지 존재 여부 | **응답 예시** @@ -198,11 +253,21 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "상품이 찜 목록에서 제거되었습니다.", + "data": null +} +``` **에러 응답** diff --git a/modules/_bundled/sirsoft-ecommerce/src/lang/en/messages.php b/modules/_bundled/sirsoft-ecommerce/src/lang/en/messages.php index 39bbab64..f418aeea 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/lang/en/messages.php +++ b/modules/_bundled/sirsoft-ecommerce/src/lang/en/messages.php @@ -22,12 +22,6 @@ return [ 'status_changed' => 'Category status has been changed.', 'order_updated' => 'Category order has been changed.', ], - 'category_images' => [ - 'uploaded' => 'Category image has been uploaded.', - 'not_found' => 'Category image not found.', - 'deleted' => 'Category image has been deleted.', - 'reordered' => 'Category image order has been changed.', - ], 'settings' => [ 'fetch_success' => 'Settings retrieved successfully.', 'fetch_failed' => 'Failed to retrieve settings.', @@ -90,6 +84,12 @@ return [ 'thumbnail_set' => 'Thumbnail has been set.', 'not_found' => 'Product image not found.', ], + 'category_images' => [ + 'uploaded' => 'Image has been uploaded.', + 'deleted' => 'Image has been deleted.', + 'reordered' => 'Image order has been changed.', + 'not_found' => 'Category image not found.', + ], 'brands' => [ 'list_retrieved' => 'Brand list retrieved successfully.', 'retrieved' => 'Brand information retrieved successfully.', diff --git a/modules/_bundled/sirsoft-ecommerce/src/lang/ko/messages.php b/modules/_bundled/sirsoft-ecommerce/src/lang/ko/messages.php index e789ca36..ecd2ba67 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/lang/ko/messages.php +++ b/modules/_bundled/sirsoft-ecommerce/src/lang/ko/messages.php @@ -22,12 +22,6 @@ return [ 'status_changed' => '카테고리 상태가 변경되었습니다.', 'order_updated' => '카테고리 순서가 변경되었습니다.', ], - 'category_images' => [ - 'uploaded' => '카테고리 이미지가 업로드되었습니다.', - 'not_found' => '카테고리 이미지를 찾을 수 없습니다.', - 'deleted' => '카테고리 이미지가 삭제되었습니다.', - 'reordered' => '카테고리 이미지 순서가 변경되었습니다.', - ], 'settings' => [ 'fetch_success' => '설정을 조회했습니다.', 'fetch_failed' => '설정 조회에 실패했습니다.', @@ -90,6 +84,12 @@ return [ 'thumbnail_set' => '대표 이미지가 설정되었습니다.', 'not_found' => '상품 이미지를 찾을 수 없습니다.', ], + 'category_images' => [ + 'uploaded' => '이미지가 업로드되었습니다.', + 'deleted' => '이미지가 삭제되었습니다.', + 'reordered' => '이미지 순서가 변경되었습니다.', + 'not_found' => '카테고리 이미지를 찾을 수 없습니다.', + ], 'brands' => [ 'list_retrieved' => '브랜드 목록을 조회했습니다.', 'retrieved' => '브랜드 정보를 조회했습니다.', diff --git a/modules/_bundled/sirsoft-page/docs/api/attachments.md b/modules/_bundled/sirsoft-page/docs/api/attachments.md index 810bd664..683e0cd7 100644 --- a/modules/_bundled/sirsoft-page/docs/api/attachments.md +++ b/modules/_bundled/sirsoft-page/docs/api/attachments.md @@ -63,11 +63,45 @@ Content-Disposition: form-data; name="temp_key" **응답 필드** (`data` 내부) - +_단건 응답: FileUploader 컴포넌트 규약에 맞춰 `data.data` 객체에 업로드된 첨부 1건(`PageAttachmentResource`)이 담깁니다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| data.id | integer | `1` | 첨부파일 ID (기본 키) | +| data.hash | string | `"a1b2c3d4e5f6"` | URL용 고유 해시 (12자, 생성 시 자동 부여). 공개 다운로드/미리보기 라우트의 식별자 | +| data.original_filename | string | `"example.pdf"` | 업로드된 원본 파일명 | +| data.mime_type | string | `"application/pdf"` | MIME 타입 (예: `image/jpeg`, `application/pdf`) | +| data.size | integer | `102400` | 파일 크기 (바이트) | +| data.collection | string | `"attachments"` | 첨부 컬렉션 그룹명 (미지정 시 `attachments`) | +| data.order | integer | `0` | 정렬 순서 (0 이상) | +| data.is_image | boolean | `false` | 이미지 파일 여부 (`mime_type` 이 `image/` 로 시작하는지) | +| data.download_url | string | `"/api/modules/sirsoft-page/pages/attachment/a1b2c3d4e5f6"` | 공개 hash 다운로드 URL | +| data.preview_url | string\|null | `null` | 공개 hash 이미지 미리보기 URL (이미지가 아니면 `null`) | +| data.created_at | string\|null | `"2026-07-14 10:30:00"` | 업로드 일시 (사용자 타임존 기준 포맷) | **응답 예시** - +```json +{ + "success": true, + "message": "첨부파일이 업로드되었습니다.", + "data": { + "data": { + "id": 1, + "hash": "a1b2c3d4e5f6", + "original_filename": "example.pdf", + "mime_type": "application/pdf", + "size": 102400, + "collection": "attachments", + "order": 0, + "is_image": false, + "download_url": "/api/modules/sirsoft-page/pages/attachment/a1b2c3d4e5f6", + "preview_url": null, + "created_at": "2026-07-14 10:30:00" + } + } +} +``` **에러 응답** @@ -75,7 +109,8 @@ Content-Disposition: form-data; name="temp_key" | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-page.pages.create`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). 파일 누락/파일 아님/10MB 초과/허용되지 않은 확장자(`jpg,jpeg,png,gif,webp,pdf,zip,doc,docx,xls,xlsx,ppt,pptx,hwp,txt` 외) | +| 500 | Internal Server Error | 저장 중 예외 발생 시 `첨부파일 업로드에 실패했습니다.` (`error` 에 예외 메시지) | @@ -114,11 +149,17 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만, `data` 는 `null`)._ **응답 예시** - +```json +{ + "success": true, + "message": "첨부파일 순서가 변경되었습니다.", + "data": null +} +``` **에러 응답** @@ -126,7 +167,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-page.pages.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). `order` 누락/배열 아님/빈 배열, 각 원소의 `id`(정수) 또는 `order`(0 이상 정수) 누락 | +| 500 | Internal Server Error | 순서 갱신 중 예외 발생 시 `첨부파일 순서 변경에 실패했습니다.` (`error` 에 예외 메시지) | @@ -156,11 +198,17 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만, `data` 는 `null`)._ **응답 예시** - +```json +{ + "success": true, + "message": "첨부파일이 삭제되었습니다.", + "data": null +} +``` **에러 응답** @@ -168,7 +216,8 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-page.pages.update`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | `{id}` 에 해당하는 첨부파일이 없는 경우 (`첨부파일을 찾을 수 없습니다.`) | +| 500 | Internal Server Error | 삭제 실패 또는 삭제 중 예외 발생 시 `첨부파일 삭제에 실패했습니다.` | diff --git a/modules/_bundled/sirsoft-page/docs/api/pages.md b/modules/_bundled/sirsoft-page/docs/api/pages.md index c9736baf..b82bacc2 100644 --- a/modules/_bundled/sirsoft-page/docs/api/pages.md +++ b/modules/_bundled/sirsoft-page/docs/api/pages.md @@ -158,9 +158,9 @@ HTTP/1.1 200 | content_mode | body | string | 아니오 | `html`, `text` | 본문 편집 모드. `html` 은 리치 에디터 HTML, `text` 는 평문으로 저장·렌더링됩니다 (미지정 시 `html`) | | published | body | boolean | 아니오 | — | 발행 여부 (발행된 항목만 필터) | | seo_meta | body | array | 아니오 | — | SEO 메타 정보 맵. 하위 키 `title`(max 255)·`description`(max 500)·`keywords`(max 500)를 담습니다 | -| seo_meta.title | body | string | 아니오 | max 255 | | -| seo_meta.description | body | string | 아니오 | max 500 | | -| seo_meta.keywords | body | string | 아니오 | max 500 | | +| seo_meta.title | body | string | 아니오 | max 255 | SEO 메타 제목 (검색엔진/소셜 공유 표시 제목) | +| seo_meta.description | body | string | 아니오 | max 500 | SEO 메타 설명 (검색엔진/소셜 공유 표시 요약) | +| seo_meta.keywords | body | string | 아니오 | max 500 | SEO 메타 키워드 (검색엔진 노출 키워드, 쉼표 구분) | | temp_key | body | string | 아니오 | max 64 | 저장 전 첨부 업로드 시 발급받은 임시 키. 생성된 페이지에 임시 첨부를 귀속시키는 데 사용합니다 | **요청 예시** @@ -192,11 +192,77 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`PageResource`, HTTP 201)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `11` | 기본 키 (내부 식별자) | +| slug | string | `example-key` | URL 슬러그 (고유, 소문자·숫자·하이픈) | +| title | object | `{"ko":"예시 제목","en":"Example Title"}` | 페이지 제목 (다국어 JSON) | +| content | object | `{"ko":"

예시 내용입니다.

"}` | 페이지 본문 (다국어 JSON, 미입력 시 null) | +| content_mode | string | `html` | 본문 형식 (`html`, `text` — 미지정 시 `html`) | +| published | boolean | `true` | 발행 여부 (true: 발행, false: 미발행) | +| published_at | string\|null | `2026-07-08 10:51:59` | 발행 일시 (미발행 시 null) | +| seo_meta | object\|null | `{"title":"...","description":"...","keywords":"..."}` | SEO 메타 정보 (title, description, keywords) | +| current_version | integer | `1` | 현재 버전 번호 | +| creator | object | `{"uuid":"a234c2b1-cde8-437f-b28b-23323be2b98d","name":"관리자"}` | 생성자 정보 (uuid/name — creator 관계 eager load) | +| updater | object\|null | `{"uuid":"a234c2b1-cde8-437f-b28b-23323be2b98d","name":"관리자"}` | 최종 수정자 정보 (uuid/name — updater 관계 eager load) | +| attachments | array | `[]` | 페이지에 귀속된 첨부파일 목록 (`temp_key` 로 귀속된 임시 첨부 포함) | +| created_at | string | `2026-07-08 10:51:59` | 생성 일시 | +| updated_at | string | `2026-07-08 10:51:59` | 최종 수정 일시 | +| is_owner | boolean | `true` | 현재 인증 사용자가 이 리소스의 소유자(`created_by`)인지 여부 | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 201 +``` + +```json +{ + "success": true, + "message": "페이지가 생성되었습니다.", + "data": { + "id": 11, + "slug": "example-key", + "title": { + "ko": "예시 제목", + "en": "Example Title" + }, + "content": { + "ko": "

예시 내용입니다.

", + "en": "

Example body.

" + }, + "content_mode": "html", + "published": true, + "published_at": "2026-07-08 10:51:59", + "seo_meta": { + "title": "예시 제목", + "description": "예시 내용입니다.", + "keywords": "예시,키워드" + }, + "current_version": 1, + "creator": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자" + }, + "updater": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자" + }, + "attachments": [], + "created_at": "2026-07-08 10:51:59", + "updated_at": "2026-07-08 10:51:59", + "is_owner": true, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** @@ -204,7 +270,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-page.pages.create`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). 대표 케이스: `slug` 중복/형식 위반(소문자·숫자·하이픈만), `title` 누락 또는 기본 로케일 값 누락, `content_mode` 가 html/text 이외 | +| 500 | Internal Server Error | 생성 처리 중 예외 (`페이지 생성에 실패했습니다.`) | @@ -243,11 +310,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| count | integer | `3` | 실제로 발행 상태가 변경된 페이지 건수 (메시지의 `:count` 에도 동일 값이 치환됨) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "3개 페이지의 발행 상태가 변경되었습니다.", + "data": { + "count": 3 + } +} +``` **에러 응답** @@ -255,7 +338,8 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-page.pages.update`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). 대표 케이스: `ids` 누락/빈 배열, `ids.*` 가 존재하지 않는 페이지 ID, `published` 누락 또는 boolean 아님 | +| 500 | Internal Server Error | 일괄 처리 중 예외 (`일괄 발행 상태 변경에 실패했습니다.`) | @@ -292,11 +376,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| exists | boolean | `false` | 해당 슬러그가 이미 사용 중인지 여부 (true: 중복 — 사용 불가, false: 사용 가능). `exclude_id` 를 넘기면 그 페이지는 중복 검사에서 제외 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "슬러그 중복 확인이 완료되었습니다.", + "data": { + "exists": false + } +} +``` **에러 응답** @@ -304,7 +404,7 @@ Content-Type: application/json | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-page.pages.create`)이 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). 대표 케이스: `slug` 누락, `exclude_id` 가 정수가 아님 | @@ -334,7 +434,7 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_이 엔드포인트는 `data` 를 반환하지 않습니다 (성공 메시지만 — `data` 는 `null`)._ **응답 예시** @@ -502,9 +602,9 @@ HTTP/1.1 200 | content_mode | body | string | 아니오 | `html`, `text` | 본문 편집 모드. `html` 은 리치 에디터 HTML, `text` 는 평문으로 저장·렌더링됩니다 (미지정 시 `html`) | | published | body | boolean | 아니오 | — | 발행 여부 (발행된 항목만 필터) | | seo_meta | body | array | 아니오 | — | SEO 메타 정보 맵. 하위 키 `title`(max 255)·`description`(max 500)·`keywords`(max 500)를 담습니다 | -| seo_meta.title | body | string | 아니오 | max 255 | | -| seo_meta.description | body | string | 아니오 | max 500 | | -| seo_meta.keywords | body | string | 아니오 | max 500 | | +| seo_meta.title | body | string | 아니오 | max 255 | SEO 메타 제목 (검색엔진/소셜 공유 표시 제목) | +| seo_meta.description | body | string | 아니오 | max 500 | SEO 메타 설명 (검색엔진/소셜 공유 표시 요약) | +| seo_meta.keywords | body | string | 아니오 | max 500 | SEO 메타 키워드 (검색엔진 노출 키워드, 쉼표 구분) | | temp_key | body | string | 아니오 | max 64 | 저장 전 첨부 업로드 시 발급받은 임시 키. 새로 업로드한 첨부를 이 페이지에 귀속시키는 데 사용합니다 | **요청 예시** @@ -536,20 +636,87 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`PageResource` — `show` 와 동일 shape)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `10` | 기본 키 (내부 식별자) | +| slug | string | `apidoc-sample-page` | URL 슬러그 (고유) | +| title | object | `{"ko":"API 문서 샘플 페이지","en":"API Doc Sample Page"}` | 페이지 제목 (다국어 JSON) | +| content | object | `{"ko":"

수정된 본문.

"}` | 페이지 본문 (다국어 JSON) | +| content_mode | string | `html` | 본문 형식 (`html`, `text`) | +| published | boolean | `true` | 발행 여부 (true: 발행, false: 미발행) | +| published_at | string\|null | `2026-07-08 10:51:59` | 발행 일시 (미발행 시 null) | +| seo_meta | object\|null | `{"title":"...","description":"...","keywords":"..."}` | SEO 메타 정보 (title, description, keywords) | +| current_version | integer | `3` | 현재 버전 번호 (수정 시 이전 상태가 버전 이력으로 적재되며 증가) | +| creator | object | `{"uuid":"a234c2b1-cde8-437f-b28b-23323be2b98d","name":"관리자"}` | 생성자 정보 (uuid/name — creator 관계 eager load) | +| updater | object | `{"uuid":"a234c2b1-cde8-437f-b28b-23323be2b98d","name":"관리자"}` | 최종 수정자 정보 (uuid/name — updater 관계 eager load) | +| attachments | array | `[{"id":4,"hash":"ninrdtsmhhta","original_filename":"nesciunt.jpg", ...}]` | 페이지에 귀속된 첨부파일 목록 (`PageAttachmentResource` 배열) | +| created_at | string | `2026-07-08 10:51:59` | 생성 일시 | +| updated_at | string | `2026-07-08 15:03:15` | 최종 수정 일시 | +| is_owner | boolean | `true` | 현재 인증 사용자가 이 리소스의 소유자(`created_by`)인지 여부 | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "페이지가 수정되었습니다.", + "data": { + "id": 10, + "slug": "apidoc-sample-page", + "title": { + "ko": "API 문서 샘플 페이지", + "en": "API Doc Sample Page" + }, + "content": { + "ko": "

수정된 본문.

", + "en": "

Revised body.

" + }, + "content_mode": "html", + "published": true, + "published_at": "2026-07-08 10:51:59", + "seo_meta": { + "title": "Dolorum et aut officia ipsam doloribus inventore.", + "description": "Sint ipsa impedit enim natus tempore quasi dignissimos praesentium numquam rerum tempore nam.", + "keywords": "illo,pariatur,quis,necessitatibus,aperiam" + }, + "current_version": 3, + "creator": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자" + }, + "updater": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자" + }, + "attachments": [], + "created_at": "2026-07-08 10:51:59", + "updated_at": "2026-07-08 15:03:15", + "is_owner": true, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`sirsoft-page.pages.update`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요구 권한(`sirsoft-page.pages.update`)이 없거나, 스코프 밖 리소스인 경우 (`auth.scope_denied`) | +| 404 | Not Found | `{page}` ID 에 해당하는 페이지가 없는 경우 (`페이지를 찾을 수 없습니다.`) | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지). 대표 케이스: `title` 누락, `slug` 중복(자기 자신은 제외)/형식 위반, `content_mode` 가 html/text 이외 | +| 500 | Internal Server Error | 수정 처리 중 예외 (`페이지 수정에 실패했습니다.`) | @@ -789,19 +956,63 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (`PageVersionResource` — `versions.index` 항목과 동일 shape)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `14` | 버전 레코드의 기본 키 (내부 식별자) | +| page_id | integer | `10` | 이 버전이 속한 페이지의 ID | +| version | integer | `2` | 버전 순번 (1부터 증가, 페이지 수정 시마다 채번) | +| title | object | `{"ko":"API 문서 샘플 페이지 (v2)","en":"API Doc Sample Page (v2)"}` | 그 시점의 페이지 제목 스냅샷 (다국어 JSON) | +| content | object | `{"ko":"

수정 버전 본문.

"}` | 그 시점의 페이지 본문 스냅샷 (다국어 JSON) | +| content_mode | string | `html` | 그 시점의 본문 형식 (`html`, `text` — 미지정 시 `html`) | +| seo_meta | object\|null | `null` | 그 시점의 SEO 메타 스냅샷 (title, description, keywords) | +| changes_summary | string\|null | `본문 보강` | 이 버전에서 무엇이 바뀌었는지 요약한 변경 설명 (없으면 null) | +| creator | object | `{"uuid":"a234c2b1-cde8-437f-b28b-23323be2b98d","name":"관리자"}` | 이 버전을 만든 사용자 정보 (uuid/name — creator 관계 eager load) | +| created_at | string | `2026-07-08 10:51:59` | 버전 생성 일시 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "페이지 정보를 조회했습니다.", + "data": { + "id": 14, + "page_id": 10, + "version": 2, + "title": { + "ko": "API 문서 샘플 페이지 (v2)", + "en": "API Doc Sample Page (v2)" + }, + "content": { + "ko": "

수정 버전 본문.

", + "en": "

Revised version body.

" + }, + "content_mode": "html", + "seo_meta": null, + "changes_summary": "본문 보강", + "creator": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자" + }, + "created_at": "2026-07-08 10:51:59" + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`sirsoft-page.pages.read`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-page.pages.read`)이 없거나, 스코프 밖 리소스인 경우 (`auth.scope_denied`) | +| 404 | Not Found | `{page}` 페이지 또는 `{versionId}` 버전이 없는 경우 (`페이지를 찾을 수 없습니다.`) | +| 500 | Internal Server Error | 조회 처리 중 예외 (`페이지 정보 조회에 실패했습니다.`) | @@ -832,19 +1043,82 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (복원된 페이지의 `PageResource` — `show` 와 동일 shape)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| id | integer | `10` | 기본 키 (내부 식별자) | +| slug | string | `apidoc-sample-page` | URL 슬러그 (고유) | +| title | object | `{"ko":"API 문서 샘플 페이지 (v1)","en":"API Doc Sample Page (v1)"}` | 복원된 페이지 제목 (다국어 JSON — 대상 버전의 스냅샷) | +| content | object | `{"ko":"

초기 버전 본문.

"}` | 복원된 페이지 본문 (다국어 JSON — 대상 버전의 스냅샷) | +| content_mode | string | `html` | 본문 형식 (`html`, `text`) | +| published | boolean | `true` | 발행 여부 (true: 발행, false: 미발행) | +| published_at | string\|null | `2026-07-08 10:51:59` | 발행 일시 (미발행 시 null) | +| seo_meta | object\|null | `null` | SEO 메타 정보 (title, description, keywords — 대상 버전의 스냅샷) | +| current_version | integer | `3` | 현재 버전 번호 (복원 자체도 새 버전으로 적재되어 증가) | +| creator | object | `{"uuid":"a234c2b1-cde8-437f-b28b-23323be2b98d","name":"관리자"}` | 생성자 정보 (uuid/name — creator 관계 eager load) | +| updater | object | `{"uuid":"a234c2b1-cde8-437f-b28b-23323be2b98d","name":"관리자"}` | 최종 수정자(복원 수행자) 정보 (uuid/name — updater 관계 eager load) | +| attachments | array | `[]` | 페이지에 귀속된 첨부파일 목록 (`PageAttachmentResource` 배열) | +| created_at | string | `2026-07-08 10:51:59` | 생성 일시 | +| updated_at | string | `2026-07-08 15:10:02` | 최종 수정 일시 (복원 시각) | +| is_owner | boolean | `true` | 현재 인증 사용자가 이 리소스의 소유자(`created_by`)인지 여부 | +| abilities | object | `{"can_create":true,"can_update":true,"can_delete":true}` | 현재 사용자가 이 리소스에 수행 가능한 작업 불리언 맵 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "이전 버전으로 복원되었습니다.", + "data": { + "id": 10, + "slug": "apidoc-sample-page", + "title": { + "ko": "API 문서 샘플 페이지 (v1)", + "en": "API Doc Sample Page (v1)" + }, + "content": { + "ko": "

초기 버전 본문.

", + "en": "

Initial version body.

" + }, + "content_mode": "html", + "published": true, + "published_at": "2026-07-08 10:51:59", + "seo_meta": null, + "current_version": 3, + "creator": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자" + }, + "updater": { + "uuid": "a234c2b1-cde8-437f-b28b-23323be2b98d", + "name": "API 문서 샘플 사용자" + }, + "attachments": [], + "created_at": "2026-07-08 10:51:59", + "updated_at": "2026-07-08 15:10:02", + "is_owner": true, + "abilities": { + "can_create": true, + "can_update": true, + "can_delete": true + } + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 403 | Forbidden | 요구 권한(`sirsoft-page.pages.update`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 403 | Forbidden | 요구 권한(`sirsoft-page.pages.update`)이 없거나, 스코프 밖 리소스인 경우 (`auth.scope_denied`) | +| 404 | Not Found | `{page}` 페이지 또는 `{versionId}` 버전이 없는 경우 (`페이지를 찾을 수 없습니다.`) | +| 500 | Internal Server Error | 복원 처리 중 예외 — 지정된 버전이 해당 페이지에 속하지 않는 경우 포함 (`버전 복원에 실패했습니다.`) | @@ -874,17 +1148,33 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투를 반환하지 않습니다. 성공 시 원본 파일 바이트를 그대로 내려주는 파일 스트리밍 응답(`StreamedResponse`, `Content-Disposition: attachment`)이며, 실패 시에만 JSON 오류 봉투를 반환합니다._ **응답 예시** - +```http +HTTP/1.1 200 +Content-Type: image/jpeg +Content-Disposition: attachment; filename="nesciunt.jpg" + +(파일 바이너리 스트림) +``` + +실패 시(첨부 미존재 · 미발행 페이지의 첨부를 권한 없이 요청 · 스토리지에 파일 없음): + +```json +{ + "success": false, + "message": "첨부파일을 찾을 수 없습니다.", + "errors": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 해시에 해당하는 첨부가 없거나(`첨부파일을 찾을 수 없습니다.`), 미발행 페이지의 첨부를 `sirsoft-page.pages.read` 권한 없이 요청한 경우(존재를 숨기기 위해 동일하게 404), 또는 DB 레코드는 있으나 스토리지에 실제 파일이 없는 경우(`첨부파일이 스토리지에 존재하지 않습니다.`) | @@ -914,17 +1204,33 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투를 반환하지 않습니다. 성공 시 이미지 바이트를 인라인으로 내려주는 스트리밍 응답(`StreamedResponse`, `Content-Disposition: inline`)이며, 실패 시에만 JSON 오류 봉투를 반환합니다._ **응답 예시** - +```http +HTTP/1.1 200 +Content-Type: image/jpeg +Content-Disposition: inline + +(이미지 바이너리 스트림) +``` + +실패 시(첨부 미존재 · 이미지가 아닌 첨부 · 스토리지에 파일 없음): + +```json +{ + "success": false, + "message": "첨부파일이 스토리지에 존재하지 않습니다.", + "errors": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 해시에 해당하는 첨부가 없는 경우(`첨부파일을 찾을 수 없습니다.`), 첨부가 이미지가 아니거나 스토리지에 실제 파일이 없는 경우(`첨부파일이 스토리지에 존재하지 않습니다.`). 미리보기는 발행/미발행과 무관하게 공개 서빙되므로 권한에 의한 404 는 없습니다 | diff --git a/plugins/_bundled/sirsoft-ckeditor5/docs/api/images.md b/plugins/_bundled/sirsoft-ckeditor5/docs/api/images.md index 6fa3d5c9..487f0d50 100644 --- a/plugins/_bundled/sirsoft-ckeditor5/docs/api/images.md +++ b/plugins/_bundled/sirsoft-ckeditor5/docs/api/images.md @@ -39,17 +39,44 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON `data` 를 반환하지 않습니다. 성공 시 `ResponseHelper` envelope 없이 이미지 바이너리를 그대로 스트리밍합니다 (`Symfony\Component\HttpFoundation\StreamedResponse`). 실패(404) 시에만 표준 JSON envelope 를 반환합니다._ + +성공 응답의 관측 가능한 표면은 본문(이미지 바이너리)과 다음 헤더입니다 (`ImageServeService::serve()` 가 `StorageInterface::response()` 에 전달). + +| 헤더 | 타입 | 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| Content-Type | string | `image/jpeg` | 업로드 레코드의 `mime_type` 값. 허용 MIME: `image/jpeg`, `image/png`, `image/gif`, `image/webp` | +| Cache-Control | string | `public, max-age=31536000` | 공개 콘텐츠 이미지의 장기 캐싱 (1년) | +| Content-Disposition | string | `inline; filename="photo.jpg"` | 업로드 시 원본 파일명(`original_name`)을 파일명으로 사용 | **응답 예시** - +성공 시 (HTTP 200) — JSON 이 아닌 이미지 바이너리 본문: + +```http +HTTP/1.1 200 OK +Content-Type: image/jpeg +Cache-Control: public, max-age=31536000 +Content-Disposition: inline; filename="photo.jpg" + + +``` + +실패 시 (HTTP 404) — 표준 JSON envelope: + +```json +{ + "success": false, + "message": "이미지를 찾을 수 없습니다.", + "data": null +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | `hash` 가 라우트 제약(`[a-f0-9]{12}`)에 맞지 않아 라우트 미매칭 / `ImageServeService::findByHash()` 가 업로드 레코드를 찾지 못함 / 레코드는 있으나 스토리지에 실제 파일이 없어 `serve()` 가 null 반환 (`messages.image.not_found`) | diff --git a/plugins/_bundled/sirsoft-ckeditor5/docs/api/upload.md b/plugins/_bundled/sirsoft-ckeditor5/docs/api/upload.md index e2e7d869..519eb643 100644 --- a/plugins/_bundled/sirsoft-ckeditor5/docs/api/upload.md +++ b/plugins/_bundled/sirsoft-ckeditor5/docs/api/upload.md @@ -48,18 +48,34 @@ Content-Type: application/octet-stream **응답 필드** (`data` 내부) - +_이 엔드포인트는 표준 envelope(`success`/`message`/`data`)를 사용하지 않습니다. CKEditor5 SimpleUploadAdapter 규격상 성공 시 HTTP 201 + 최상위 `url` 키만 반환합니다 (`data` 래핑 없음)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| url | string | `/api/plugins/sirsoft-ckeditor5/images/a1b2c3d4e5f6` | 업로드된 이미지의 서빙 URL. 모델 접근자 `download_url` 이 생성하며 `/api/plugins/sirsoft-ckeditor5/images/{hash}` (hash = 12자리 hex) 형식이다. CKEditor 가 이 값을 그대로 `` 에 삽입한다. | + +실패 시에는 최상위 `error.message` 만 반환합니다 (아래 에러 응답 표 참조). + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| error.message | string | `이미지 파일만 업로드할 수 있습니다.` | 검증/권한/서버 오류 사유 (다국어 처리된 단일 메시지). CKEditor 가 에디터 UI 의 알림 문구로 표시한다. | **응답 예시** - +```json +{ + "url": "/api/plugins/sirsoft-ckeditor5/images/a1b2c3d4e5f6" +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | query 파라미터 `permission` 이 지정됐고 현재 사용자가 해당 권한을 갖지 못한 경우 — `{"error":{"message":"이미지 업로드 권한이 없습니다."}}` | +| 422 | Unprocessable Entity | 검증 규칙 위반 (`upload` 누락 / 파일 아님 / 이미지 아님 / 허용 MIME 아님 / 용량 초과). 응답은 Laravel 기본 `errors` 형식이 아니라 CKEditor 규격 `{"error":{"message":"<첫 번째 오류 메시지>"}}` | +| 500 | Internal Server Error | 스토리지 저장 또는 업로드 기록 생성 중 예외 발생 — `{"error":{"message":"이미지 업로드에 실패했습니다."}}` | diff --git a/plugins/_bundled/sirsoft-gdpr/CHANGELOG.md b/plugins/_bundled/sirsoft-gdpr/CHANGELOG.md index e9049595..a3c8eb0f 100644 --- a/plugins/_bundled/sirsoft-gdpr/CHANGELOG.md +++ b/plugins/_bundled/sirsoft-gdpr/CHANGELOG.md @@ -57,6 +57,10 @@ ## [1.0.0] - 2026-07-01 +### Fixed + +- 동의 저장·철회·정책 버전 발행 등을 처리한 뒤 표시되는 안내 문구가 번역된 문장 대신 내부 식별자가 그대로 보이던 문제를 수정했습니다. 이제 사용 중인 언어에 맞는 안내 문구가 표시됩니다. + ### Changed - 동의 기록 관리 / 마이페이지 개인정보 탭의 콘텐츠 카드 / 세로 정렬 컨테이너 외형을 sirsoft-admin_basic 표준 시맨틱 (.admin-card / .row-stack 등) 과 정합 — 다른 화면과 같은 결로 통일. diff --git a/plugins/_bundled/sirsoft-gdpr/docs/api/consent-log.md b/plugins/_bundled/sirsoft-gdpr/docs/api/consent-log.md index e70d3b62..fd86691f 100644 --- a/plugins/_bundled/sirsoft-gdpr/docs/api/consent-log.md +++ b/plugins/_bundled/sirsoft-gdpr/docs/api/consent-log.md @@ -65,7 +65,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "data": [], "pagination": { diff --git a/plugins/_bundled/sirsoft-gdpr/docs/api/consent.md b/plugins/_bundled/sirsoft-gdpr/docs/api/consent.md index 31d75332..cdafaa39 100644 --- a/plugins/_bundled/sirsoft-gdpr/docs/api/consent.md +++ b/plugins/_bundled/sirsoft-gdpr/docs/api/consent.md @@ -53,15 +53,38 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| user_id | integer\|null | `6` | 동의를 저장한 회원의 식별자. 게스트 호출이면 `null` 입니다 | +| session_id | string\|null | `9f1c1c1e-4b2a-4d0e-9d3f-1a2b3c4d5e6f` | 게스트 호출 시 사용된 세션 식별자(`gdpr_session` 쿠키 값 또는 신규 발급 UUID). 회원 호출이면 `null` 입니다 | +| consents | object | `{"cookie_necessary":true,"cookie_analytics":false}` | 이번 요청으로 저장된 카테고리별 동의 값(요청 본문의 `consents` 를 그대로 반향). 키는 `cookie_` 접두사가 붙은 consent_key, 값은 boolean 입니다 | **응답 예시** - +```json +{ + "success": true, + "message": "동의가 저장되었습니다.", + "data": { + "user_id": null, + "session_id": "9f1c1c1e-4b2a-4d0e-9d3f-1a2b3c4d5e6f", + "consents": { + "cookie_necessary": true, + "cookie_functional": true, + "cookie_analytics": false, + "cookie_marketing": false + } + } +} +``` **에러 응답** -_대표 에러 없음 (공개 조회). _ +| 상태코드 | 의미 | 발생 조건 | +| --- | --- | --- | +| 422 | Validation Error | `consents` 누락/비배열/빈 배열, 값이 boolean 이 아님, `source` 가 `banner\|preference_center\|register\|mypage` 외의 값, 카탈로그에 없는 consent_key 전달(`유효하지 않은 동의 항목입니다.`), 필수 카테고리를 `false` 로 전달(`필수 항목은 철회할 수 없습니다.`) | @@ -108,7 +131,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "has_consented": false, "consents": [], @@ -121,7 +144,7 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). _ +_에러 응답 없음 — 공개 조회 엔드포인트입니다. 요청 파라미터가 없어 검증 실패(422)가 발생하지 않고, 컨트롤러/Service 가 도메인 예외를 던지지 않습니다. 미인증 호출도 게스트로 정상 처리되어 401 도 발생하지 않습니다._ @@ -149,17 +172,30 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| consent_key | string | `cookie_analytics` | 이번 호출로 동의(`true`)가 부여된 동의 항목 키. 요청 본문의 `consent_key` 를 그대로 반향하며, 프론트가 해당 행만 갱신하는 데 사용합니다 | **응답 예시** - +```json +{ + "success": true, + "message": "동의가 갱신되었습니다.", + "data": { + "consent_key": "cookie_analytics" + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 422 | Validation Error | `consent_key` 누락/문자열 아님/50자 초과, 또는 쿠키 카테고리 카탈로그에 없는 키(`유효하지 않은 동의 항목입니다.`) | @@ -202,7 +238,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "histories": [] } @@ -259,7 +295,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "user_id": 6, "needs_renewal": false, @@ -424,17 +460,30 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| consent_key | string | `cookie_marketing` | 이번 호출로 철회(`false`)된 동의 항목 키. 요청 본문의 `consent_key` 를 그대로 반향하며, 프론트가 해당 행만 갱신하는 데 사용합니다 | **응답 예시** - +```json +{ + "success": true, + "message": "동의가 철회되었습니다.", + "data": { + "consent_key": "cookie_marketing" + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 422 | Validation Error | `consent_key` 누락/문자열 아님/50자 초과, 카탈로그에 없는 키(`유효하지 않은 동의 항목입니다.`), 또는 필수(strictly necessary) 카테고리 철회 시도(`필수 항목은 철회할 수 없습니다.`) | diff --git a/plugins/_bundled/sirsoft-gdpr/docs/api/policy-versions.md b/plugins/_bundled/sirsoft-gdpr/docs/api/policy-versions.md index 31a9fb60..0c1c3c04 100644 --- a/plugins/_bundled/sirsoft-gdpr/docs/api/policy-versions.md +++ b/plugins/_bundled/sirsoft-gdpr/docs/api/policy-versions.md @@ -58,7 +58,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "data": [ { @@ -201,7 +201,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "data": { "id": 1, @@ -268,7 +268,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "data": { "id": 1, diff --git a/plugins/_bundled/sirsoft-gdpr/docs/api/settings.md b/plugins/_bundled/sirsoft-gdpr/docs/api/settings.md index 6aaf45e1..79f0d783 100644 --- a/plugins/_bundled/sirsoft-gdpr/docs/api/settings.md +++ b/plugins/_bundled/sirsoft-gdpr/docs/api/settings.md @@ -53,7 +53,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "settings": { "privacy_policy_slug": "privacy", @@ -151,7 +151,7 @@ HTTP/1.1 200 | 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | | --- | --- | --- | --- | --- | --- | | privacy_policy_slug | body | string | 아니오 | max 100 | 개인정보 처리방침 페이지 slug(소문자·숫자·하이픈만). 비면 처리방침 링크가 비활성화되며 배너/마이페이지의 방침 링크 대상이 됩니다 | -| legal_entity_name | body | string | 아니오 | max 200 | legal entity 이름 (식별자) | +| legal_entity_name | body | string | 아니오 | max 200 | 법인명 / 운영 주체. 쿠키 배너와 마이페이지에 표시되는 사이트 운영 주체 이름입니다 (예: `(주)회사명`) | | data_storage_location | body | string | 아니오 | max 200 | 데이터 저장 위치 표기(GDPR Art.13(1)(f)/PIPA 국가 단위 안내용). IP/CIDR·클라우드 리전 코드 등 보안 민감 식별자는 검증에서 차단됩니다 | | banner_enabled | body | boolean | 아니오 | — | 쿠키 배너와 자동 차단 엔진의 통합 활성 토글. `true`일 때만 배너 노출과 도메인 기반 차단이 동작합니다 | | banner_position | body | string | 아니오 | `bottom_bar`, `bottom_left_popup`, `bottom_right_popup`, `centered_modal` | 쿠키 배너 노출 위치(하단 바/좌하단 팝업/우하단 팝업/중앙 모달) | @@ -182,11 +182,71 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| settings | object | `{"privacy_policy_slug":"privacy","banner_enabled":true,…}` | 저장 직후 다시 로드한 GDPR 플러그인 설정 전체 객체(GET 응답의 `settings` 와 동일 형태). 저장 결과를 관리자 폼에 되반영하는 데 사용합니다. `cookie_categories` 는 DB 에 JSON 문자열로 저장되지만 응답에서는 디코드되어 배열로 노출됩니다 | +| settings.privacy_policy_slug | string | `privacy` | 저장된 개인정보 처리방침 페이지 slug | +| settings.legal_entity_name | string | `(주)회사명` | 저장된 법인명 / 운영 주체 | +| settings.data_storage_location | string | `대한민국` | 저장된 데이터 저장 위치 표기(국가 단위) | +| settings.banner_enabled | boolean | `true` | 저장된 쿠키 배너·자동 차단 통합 활성 토글 | +| settings.banner_position | string | `bottom_bar` | 저장된 배너 노출 위치(`bottom_bar` / `bottom_left_popup` / `bottom_right_popup` / `centered_modal`) | +| settings.cookie_categories | array | `[{"key":"necessary","required":true,"label":{"ko":"필수 쿠키",…}}]` | 저장된 쿠키 카테고리 카탈로그 배열(디코드된 상태). 각 항목은 `key`, `required`, 다국어 `label`/`description` | +| settings.blocked_domains | object | `{"functional":["*.crisp.chat"],"analytics":[],"marketing":[]}` | 저장된 카테고리별 차단 도메인 패턴(키→도메인 배열, necessary 제외) | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "설정이 저장되었습니다.", + "data": { + "settings": { + "privacy_policy_slug": "privacy", + "legal_entity_name": "(주)회사명", + "data_storage_location": "대한민국", + "banner_enabled": true, + "banner_position": "bottom_bar", + "cookie_categories": [ + { + "key": "necessary", + "required": true, + "label": { + "ko": "필수 쿠키", + "en": "Strictly Necessary" + }, + "description": { + "ko": "세션·CSRF·로그인 토큰, 장바구니 식별자 등 사이트 운영에 반드시 필요한 항목입니다. 비활성화할 수 없습니다.", + "en": "Strictly necessary for site operation. Cannot be disabled." + } + }, + { + "key": "analytics", + "required": false, + "label": { + "ko": "분석 쿠키", + "en": "Analytics" + }, + "description": { + "ko": "방문자가 사이트를 어떻게 이용하는지 익명으로 측정합니다.", + "en": "Used to anonymously measure how visitors use the site." + } + } + ], + "blocked_domains": { + "analytics": [ + "google-analytics.com" + ] + } + } + } +} +``` **참고** 위 표에 정의되지 않은 요청 필드는 검증 대상에서 제외되며(`FormRequest::validated()` 결과만 사용), 저장 로직에 전달되지 않습니다. @@ -247,7 +307,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "cookie_policy_version": "1", "privacy_policy_slug": "privacy", @@ -378,7 +438,7 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). _ +_에러 없음 (공개 조회 — 요청 파라미터가 없고 컨트롤러/서비스가 도메인 예외를 던지지 않습니다. 설정 미저장 시에도 기본값으로 200 응답합니다)._ diff --git a/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Admin/GdprAdminConsentLogController.php b/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Admin/GdprAdminConsentLogController.php index 34a12c5f..e0490f22 100644 --- a/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Admin/GdprAdminConsentLogController.php +++ b/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Admin/GdprAdminConsentLogController.php @@ -50,7 +50,7 @@ class GdprAdminConsentLogController extends AdminBaseController { $paginator = $this->consentLogService->paginateForAdmin($request->filters(), $request->perPage()); - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'data' => GdprConsentLogResource::collection($paginator->items()), 'pagination' => [ 'current_page' => $paginator->currentPage(), diff --git a/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Admin/GdprAdminPolicyVersionController.php b/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Admin/GdprAdminPolicyVersionController.php index f8f6d7f2..fe0fd28b 100644 --- a/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Admin/GdprAdminPolicyVersionController.php +++ b/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Admin/GdprAdminPolicyVersionController.php @@ -51,7 +51,7 @@ class GdprAdminPolicyVersionController extends AdminBaseController { $paginator = $this->service->paginate($request->perPage()); - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'data' => GdprPolicyVersionResource::collection($paginator->items()), 'pagination' => [ 'current_page' => $paginator->currentPage(), @@ -101,7 +101,7 @@ class GdprAdminPolicyVersionController extends AdminBaseController { $current = $this->service->getCurrent(loadCreatedBy: true); - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'data' => $current !== null ? new GdprPolicyVersionResource($current) : null, ]); } @@ -127,7 +127,7 @@ class GdprAdminPolicyVersionController extends AdminBaseController return ResponseHelper::error('sirsoft-gdpr::messages.settings.policy_version.not_found', 404); } - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'data' => new GdprPolicyVersionDetailResource($policyVersion), ]); } diff --git a/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Admin/GdprAdminSettingsController.php b/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Admin/GdprAdminSettingsController.php index dd371c6b..19f7e078 100644 --- a/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Admin/GdprAdminSettingsController.php +++ b/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Admin/GdprAdminSettingsController.php @@ -51,7 +51,7 @@ class GdprAdminSettingsController extends AdminBaseController $settings = $this->normalizeJsonFields(is_array($settings) ? $settings : []); - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'settings' => $settings, ]); } diff --git a/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Public/GdprCookieConsentController.php b/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Public/GdprCookieConsentController.php index d7243f56..9b1c187f 100644 --- a/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Public/GdprCookieConsentController.php +++ b/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Public/GdprCookieConsentController.php @@ -112,7 +112,7 @@ class GdprCookieConsentController extends PublicBaseController $needsRenewal = ! $hasConsented && $this->consentService->hasAnyConsentHistory($userId, $sessionId); - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'has_consented' => $hasConsented, 'consents' => $consents, 'needs_renewal' => $needsRenewal, diff --git a/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Public/GdprSettingsController.php b/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Public/GdprSettingsController.php index 00901f6b..58c0f6f6 100644 --- a/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Public/GdprSettingsController.php +++ b/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/Public/GdprSettingsController.php @@ -72,7 +72,7 @@ class GdprSettingsController extends PublicBaseController 'default_blocked_domains_preview' => Plugin::DEFAULT_BLOCKED_DOMAINS_CATALOG, ]; - return ResponseHelper::success('messages.success', $data); + return ResponseHelper::success('common.success', $data); } /** diff --git a/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/User/GdprConsentController.php b/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/User/GdprConsentController.php index a469a75f..85dabda6 100644 --- a/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/User/GdprConsentController.php +++ b/plugins/_bundled/sirsoft-gdpr/src/Http/Controllers/User/GdprConsentController.php @@ -49,7 +49,7 @@ class GdprConsentController extends AuthBaseController // 상태별로 액션(철회/다시 동의/동의/필수 안내) 을 분기. $consents = $this->consentService->getMyConsentMatrix($user->id); - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'user_id' => $user->id, 'needs_renewal' => $this->consentService->needsRenewal($user->id), 'current_policy_version' => $this->consentService->getCurrentPolicyVersion(), @@ -71,7 +71,7 @@ class GdprConsentController extends AuthBaseController $histories = $this->consentService->getHistories($user->id); - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'histories' => GdprUserConsentHistoryResource::collection($histories), ]); } diff --git a/plugins/_bundled/sirsoft-marketing/CHANGELOG.md b/plugins/_bundled/sirsoft-marketing/CHANGELOG.md index 8ff7ed36..02ea3f1e 100644 --- a/plugins/_bundled/sirsoft-marketing/CHANGELOG.md +++ b/plugins/_bundled/sirsoft-marketing/CHANGELOG.md @@ -12,6 +12,10 @@ ## [1.0.0] - 2026-07-01 +### Fixed + +- 마케팅 설정을 저장한 뒤 표시되는 안내 문구가 번역된 문장 대신 내부 식별자가 그대로 보이던 문제를 수정했습니다. 이제 사용 중인 언어에 맞는 안내 문구가 표시됩니다. + ### Added - 레이아웃 편집기 데이터 소스 목록에서 이 확장이 제공하는 데이터 소스가 친화 명칭으로 표시되고, 어느 확장이 제공했는지 출처가 함께 표시됩니다. diff --git a/plugins/_bundled/sirsoft-marketing/docs/api/channels.md b/plugins/_bundled/sirsoft-marketing/docs/api/channels.md index 247c6e6f..c5ca259e 100644 --- a/plugins/_bundled/sirsoft-marketing/docs/api/channels.md +++ b/plugins/_bundled/sirsoft-marketing/docs/api/channels.md @@ -38,17 +38,49 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드. `data.channels` 는 저장 후 확정된 채널 배열(시스템 채널 병합 결과)이며, 요청 body 의 `channels` 와 동일한 구조를 그대로 되돌려준다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| channels | array | `[{...}]` | 저장된 최종 채널 목록 (누락된 시스템 채널이 앞에 병합됨) | +| channels[].key | string | `email_subscription` | 채널 식별자 (소문자·숫자·밑줄) | +| channels[].label | object | `{"ko":"광고성 이메일 수신","en":"Email Marketing"}` | 로케일별 채널 라벨 | +| channels[].label_key | string | `sirsoft-marketing::channels.email_subscription.label` | 시스템 채널이 병합될 때만 포함되는 언어팩 라벨 키 | +| channels[].page_slug | string \| null | `""` | 연결 약관 페이지 slug (없으면 빈 문자열/`null`) | +| channels[].enabled | boolean | `true` | 채널 노출 여부 | +| channels[].is_system | boolean | `true` | 시스템 채널 여부 (삭제·플래그 변경 불가) | **응답 예시** - +```json +{ + "success": true, + "message": "채널이 저장되었습니다.", + "data": { + "channels": [ + { + "key": "email_subscription", + "label_key": "sirsoft-marketing::channels.email_subscription.label", + "label": { + "ko": "광고성 이메일 수신", + "en": "Email Marketing" + }, + "page_slug": "", + "enabled": true, + "is_system": true + } + ] + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | +| 403 | Forbidden | 관리자 권한이 없는 사용자가 호출한 경우 (`AdminBaseController`) | +| 422 | 동의 이력 존재 | 삭제 대상 채널에 동의한 회원이 있는 경우 — "채널(:key)에 동의한 회원이 :count명 있어 삭제할 수 없습니다." | @@ -79,7 +111,7 @@ Authorization: Bearer {YOUR_TOKEN} "success": true, "data": { "channels": [ - { "key": "email_subscription", "label": { "ko": "광고성 이메일 수신", "en": "Marketing email" }, "page_slug": null, "enabled": true, "is_system": true } + { "key": "email_subscription", "label": { "ko": "광고성 이메일 수신", "en": "Email Marketing" }, "page_slug": "", "enabled": true, "is_system": true } ] }, "message": "채널이 저장되었습니다.", diff --git a/plugins/_bundled/sirsoft-marketing/docs/api/settings.md b/plugins/_bundled/sirsoft-marketing/docs/api/settings.md index 924a164c..311791ec 100644 --- a/plugins/_bundled/sirsoft-marketing/docs/api/settings.md +++ b/plugins/_bundled/sirsoft-marketing/docs/api/settings.md @@ -63,7 +63,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "marketing_consent_enabled": true, "marketing_consent_terms_slug": "marketing-terms", @@ -93,7 +93,7 @@ HTTP/1.1 200 **에러 응답** -_대표 에러 없음 (공개 조회). _ +_에러 없음 (공개 조회 — 인증·검증·도메인 예외 경로가 없다. 요청 파라미터가 없어 422 가 발생하지 않고, `PublicBaseController` 라 401/403 도 없으며, 설정 미존재 시에도 기본값으로 200 을 반환한다)._ diff --git a/plugins/_bundled/sirsoft-marketing/src/Http/Controllers/MarketingSettingsController.php b/plugins/_bundled/sirsoft-marketing/src/Http/Controllers/MarketingSettingsController.php index 09613554..00d758fc 100644 --- a/plugins/_bundled/sirsoft-marketing/src/Http/Controllers/MarketingSettingsController.php +++ b/plugins/_bundled/sirsoft-marketing/src/Http/Controllers/MarketingSettingsController.php @@ -84,6 +84,6 @@ class MarketingSettingsController extends PublicBaseController ]; }, $channels); - return ResponseHelper::success('messages.success', $data); + return ResponseHelper::success('common.success', $data); } } diff --git a/plugins/_bundled/sirsoft-pay_kginicis/CHANGELOG.md b/plugins/_bundled/sirsoft-pay_kginicis/CHANGELOG.md index 960e770b..e18a9b3c 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/CHANGELOG.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/CHANGELOG.md @@ -22,7 +22,7 @@ ### Fixed -- 일본 편의점결제(CVS) 관련 안내 메시지가 번역되지 않고 내부 코드 그대로 표시되던 문제를 수정했습니다. 주문을 찾을 수 없거나 입금 통보 테스트·입금기한 만료 처리를 할 때 정상적인 한국어(영어) 안내가 표시됩니다. +- 안내 메시지가 번역되지 않고 내부 코드 그대로 표시되던 문제를 수정했습니다. 일본 편의점결제(CVS) 입금 통보 테스트·입금기한 만료 처리뿐 아니라 에스크로 배송 등록·구매확인 거부, 거래 조회, 정산 마감 등 이 플러그인의 모든 처리 결과에서 사용 중인 언어에 맞는 안내가 표시됩니다. - 일본(CBT) 설정을 운영 모드로 전환할 때 상점 정보나 서명키가 비어 있어도 저장되던 문제를 수정했습니다. 필수값이 비었거나 샘플값이 그대로면 저장이 중단되고 안내 메시지가 표시됩니다. - 이 플러그인이 설치된 사이트에서 관리자 주문 목록의 '일부취소' 표시와 적립예정 포인트·마일리지 사용 금액, 주문상품의 추가옵션 요약이 보이지 않던 문제를 수정했습니다. 결제 정보 칸에 테스트결제 표시를 덧붙이는 과정에서 목록 표 구성 전체를 옛 버전으로 되돌려 놓고 있었습니다. - 관리자 결제수단 설정에서 가상계좌·계좌이체·휴대폰결제에 PG사를 지정할 수 없던 문제를 수정했습니다. 해당 결제수단의 PG사 목록이 항상 비어 있어 기본 PG사만 사용할 수 있었고, 결제수단별로 다른 PG사를 지정하는 설정이 화면에서 불가능했습니다. diff --git a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/cbt.md b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/cbt.md index a1d78284..69b9118d 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/cbt.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/cbt.md @@ -136,7 +136,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "product_id": 4, "product_code": "CBT-TEST-20260708063238", diff --git a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/orders.md b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/orders.md index c0533627..19fe4554 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/orders.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/orders.md @@ -55,7 +55,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "APIDOC-KGINICIS-000001": true } @@ -140,7 +140,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "is_cbt_cvs": true, "order_number": "APIDOC-KGINICIS-000001", @@ -211,11 +211,81 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (만료 처리 후 갱신된 CBT 편의점 운영 요약 — `GET .../cbt-cvs` 의 `data` 와 동일 구조)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| is_cbt_cvs | boolean | `true` | CBT 편의점(CVS) 결제 여부 | +| order_number | string | `APIDOC-KGINICIS-000001` | 주문번호 | +| order_status | string | `pending_payment` | 주문상태 (OrderStatusEnum) | +| payment_status | string | `expired` | 결제 상태값(PaymentStatusEnum). 만료 처리 성공 시 `expired` 로 전이한다. | +| tid | string | `INIJPGCARDapidocsmpl0000000001` | KG 이니시스 거래 ID(transaction_id) | +| amount | integer | `5000` | 청구 금액 (`payment_meta.cvs_amount` 우선, 없으면 결제 승인액 또는 주문 총 청구액) | +| currency | string | `JPY` | 결제 통화 코드 | +| cbt_mid | string | `apidocmid1` | CBT 일본 가맹점 ID | +| cbt_sid | string | `apidocsid1` | CBT 결제 세션/상점 식별자(SID) | +| is_test_mode | boolean | `true` | 테스트 모드 결제 여부 | +| convenience | string | `seven_eleven` | 구매자가 선택한 일본 편의점 식별값 | +| conf_no | string | `1234567890` | 편의점 입금용 확인번호 | +| receipt_no | string | `0987654321` | 편의점 입금용 접수번호 | +| payment_term | string | `20260710235959` | 편의점 입금 마감 일시(YmdHis 압축 문자열) | +| payment_term_formatted | string | `2026-07-10 23:59:59` | `payment_term` 의 표시용 포맷 문자열 | +| is_expired_by_time | boolean | `false` | 입금 마감 경과 여부. 만료 처리 후에는 `payment_status` 가 `expired` 이므로 `false` 로 계산된다. | +| cvs_status | string | `expired` | CVS 입금 상태. 만료 처리 시 `expired` 로 기록된다. | +| last_notify_at | string | `` | 마지막 입금 통보(NOTI) 수신 일시 | +| last_notify_result | string | `` | 마지막 통보 처리 결과 (`confirmed`/`ignored`/`failed`) | +| last_notify_reason | string | `` | 마지막 통보 처리 사유 | +| notify_history | array | `[]` | 최근 입금 통보 이력(최대 10건) | +| notify_url | string | `https://api.example.com/plugins/sirsoft-pay_kginicis/payment/cbt/cvs-notify` | 입금 통보(NOTI) 수신 URL | +| can_simulate_notify | boolean | `false` | 통보 시뮬레이션 가능 여부 (테스트 모드 + 입금대기). 만료 후에는 `false`. | +| can_mark_expired | boolean | `false` | 만료 처리 가능 여부. 이미 만료됐으므로 `false`. | +| last_recheck_at | string | `` | 마지막 로컬 상태 재확인 일시 | +| last_recheck_result | string | `` | 마지막 로컬 상태 재확인 결과 (`local_status_checked`) | +| expired_at | string | `2026-07-08T06:40:12+00:00` | 만료 처리 시각(`payment_meta.cvs_expired_at`, ISO8601) | +| expiry_reason | string | `payment_term_elapsed` | 만료 처리 사유. 입금 기한 경과 만료는 `payment_term_elapsed`. | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "sirsoft-pay_kginicis::messages.cbt_cvs.expire_success", + "data": { + "is_cbt_cvs": true, + "order_number": "APIDOC-KGINICIS-000001", + "order_status": "pending_payment", + "payment_status": "expired", + "tid": "INIJPGCARDapidocsmpl0000000001", + "amount": 5000, + "currency": "JPY", + "cbt_mid": "apidocmid1", + "cbt_sid": "apidocsid1", + "is_test_mode": true, + "convenience": "seven_eleven", + "conf_no": "1234567890", + "receipt_no": "0987654321", + "payment_term": "20260710235959", + "payment_term_formatted": "2026-07-10 23:59:59", + "is_expired_by_time": false, + "cvs_status": "expired", + "last_notify_at": "", + "last_notify_result": "", + "last_notify_reason": "", + "notify_history": [], + "notify_url": "https://api.example.com/plugins/sirsoft-pay_kginicis/payment/cbt/cvs-notify", + "can_simulate_notify": false, + "can_mark_expired": false, + "last_recheck_at": "", + "last_recheck_result": "", + "expired_at": "2026-07-08T06:40:12+00:00", + "expiry_reason": "payment_term_elapsed" + } +} +``` **에러 응답** @@ -224,6 +294,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable | CBT 편의점 결제가 아닌 경우(`messages.cbt_cvs.not_cvs` — "CBT 편의점결제 주문이 아닙니다.") 또는 만료 조건 미충족(`messages.cbt_cvs.not_expirable` — "입금 마감일시가 지난 입금대기 CBT 편의점결제 주문만 만료 처리할 수 있습니다.") | @@ -367,11 +438,96 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (시뮬레이션 통보 처리 후 갱신된 CBT 편의점 운영 요약 — `GET .../cbt-cvs` 의 `data` 와 동일 구조)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| is_cbt_cvs | boolean | `true` | CBT 편의점(CVS) 결제 여부 | +| order_number | string | `APIDOC-KGINICIS-000001` | 주문번호 | +| order_status | string | `processing` | 주문상태 (OrderStatusEnum). 결제 확정 시 주문 처리 흐름에 따라 갱신된다. | +| payment_status | string | `paid` | 결제 상태값(PaymentStatusEnum). 시뮬레이션 통보가 정상 처리되면 `paid`(입금완료)로 전이한다. | +| tid | string | `INIJPGCARDapidocsmpl0000000001` | KG 이니시스 거래 ID(transaction_id) | +| amount | integer | `5000` | 청구 금액 (`payment_meta.cvs_amount` 우선, 없으면 결제 통화 환산 청구액) | +| currency | string | `JPY` | 결제 통화 코드. 합성 통보는 항상 `currencyCd=JPY` 로 전송된다. | +| cbt_mid | string | `apidocmid1` | CBT 일본 가맹점 ID | +| cbt_sid | string | `apidocsid1` | CBT 결제 세션/상점 식별자(SID) | +| is_test_mode | boolean | `true` | 테스트 모드 결제 여부. 이 엔드포인트는 `true` 인 경우에만 실행된다. | +| convenience | string | `seven_eleven` | 구매자가 선택한 일본 편의점 식별값 | +| conf_no | string | `1234567890` | 편의점 입금용 확인번호 | +| receipt_no | string | `0987654321` | 편의점 입금용 접수번호 | +| payment_term | string | `20260710235959` | 편의점 입금 마감 일시(YmdHis 압축 문자열) | +| payment_term_formatted | string | `2026-07-10 23:59:59` | `payment_term` 의 표시용 포맷 문자열 | +| is_expired_by_time | boolean | `false` | 입금 마감 경과 여부. 입금완료(`paid`) 후에는 `false`. | +| cvs_status | string | `paid` | CVS 입금 상태. 입금 확정 시 `paid` 로 기록된다. | +| last_notify_at | string | `2026-07-08T06:35:02+00:00` | 마지막 입금 통보 수신 일시(ISO8601). 시뮬레이션 시각이 기록된다. | +| last_notify_result | string | `confirmed` | 마지막 통보 처리 결과 (`confirmed`/`ignored`/`failed`) | +| last_notify_reason | string | `deposit_confirmed` | 마지막 통보 처리 사유. 입금 확정은 `deposit_confirmed`. | +| notify_history | array | `[{"received_at":"2026-07-08T06:35:02+00:00","source":"admin_simulation","remote_ip":"127.0.0.1","result":"confirmed","reason":"deposit_confirmed","tid":"INIJPGCARDapidocsmpl0000000001","order_id":"APIDOC-KGINICIS-000001","mid":"apidocmid1","status":"00","amount":5000,"currency":"JPY","sid":"apidocsid1"}]` | 최근 입금 통보 이력(최대 10건). 관리자 시뮬레이션은 `source=admin_simulation` 으로 기록된다. | +| notify_url | string | `https://api.example.com/plugins/sirsoft-pay_kginicis/payment/cbt/cvs-notify` | 입금 통보(NOTI) 수신 URL | +| can_simulate_notify | boolean | `false` | 통보 시뮬레이션 가능 여부(테스트 모드 + 입금대기). 입금완료 후에는 `false`. | +| can_mark_expired | boolean | `false` | 만료 처리 가능 여부. 입금완료 후에는 `false`. | +| last_recheck_at | string | `` | 마지막 로컬 상태 재확인 일시 | +| last_recheck_result | string | `` | 마지막 로컬 상태 재확인 결과 | +| expired_at | string | `` | 만료 처리 시각 | +| expiry_reason | string | `` | 만료 처리 사유 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "sirsoft-pay_kginicis::messages.cbt_cvs.simulate_success", + "data": { + "is_cbt_cvs": true, + "order_number": "APIDOC-KGINICIS-000001", + "order_status": "processing", + "payment_status": "paid", + "tid": "INIJPGCARDapidocsmpl0000000001", + "amount": 5000, + "currency": "JPY", + "cbt_mid": "apidocmid1", + "cbt_sid": "apidocsid1", + "is_test_mode": true, + "convenience": "seven_eleven", + "conf_no": "1234567890", + "receipt_no": "0987654321", + "payment_term": "20260710235959", + "payment_term_formatted": "2026-07-10 23:59:59", + "is_expired_by_time": false, + "cvs_status": "paid", + "last_notify_at": "2026-07-08T06:35:02+00:00", + "last_notify_result": "confirmed", + "last_notify_reason": "deposit_confirmed", + "notify_history": [ + { + "received_at": "2026-07-08T06:35:02+00:00", + "source": "admin_simulation", + "remote_ip": "127.0.0.1", + "result": "confirmed", + "reason": "deposit_confirmed", + "tid": "INIJPGCARDapidocsmpl0000000001", + "order_id": "APIDOC-KGINICIS-000001", + "mid": "apidocmid1", + "status": "00", + "amount": 5000, + "currency": "JPY", + "sid": "apidocsid1" + } + ], + "notify_url": "https://api.example.com/plugins/sirsoft-pay_kginicis/payment/cbt/cvs-notify", + "can_simulate_notify": false, + "can_mark_expired": false, + "last_recheck_at": "", + "last_recheck_result": "", + "expired_at": "", + "expiry_reason": "" + } +} +``` **에러 응답** @@ -380,6 +536,7 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable | CBT 편의점 결제 아님(`messages.cbt_cvs.not_cvs`) / 테스트 모드 아님(`messages.cbt_cvs.not_test_mode` — "테스트 모드의 CBT 편의점결제 주문에서만 입금 통보 테스트를 실행할 수 있습니다.") / 입금대기 상태 아님(`messages.cbt_cvs.not_waiting_deposit`) / 합성 통보 처리 실패(`messages.cbt_cvs.simulate_failed`) | @@ -410,7 +567,27 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드. 주문에 CBT 조정 레코드가 없으면 `data` 는 `null` 이다._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| status | string | `manual_refund_required` | 조정 상태. `auto_refunded`(자동환불 완료) · `manual_refund_required`(수동 환불 필요) · `refund_retrying`(재시도 선점 중) 중 하나. | +| manual_action_required | boolean | `true` | 수동 환불 조치 필요 여부. `status === manual_refund_required` 에서 파생된다. | +| can_retry | boolean | `true` | 관리자 환불 재시도 가능 여부. `manual_action_required` 이면서 `tid` 가 비어있지 않을 때 `true`. | +| tid | string | `INIJPGCARDapidocsmpl0000000001` | 환불 대상 CBT 결제의 KG 이니시스 거래 ID. | +| amount | integer | `5000` | 환불 대상 금액. | +| reason | string | `주문 취소 자동환불` | 자동환불 시도 사유(환불 요청 시 전달된 사유 문자열). | +| refund_error | string \| null | `CBT refund API timeout` | 마지막 환불 시도에서 발생한 오류 메시지. 성공 시 `null`. | +| refund_result | object \| null | `{"resultCode":"00","resultMsg":"정상처리","tid":"INIJPGCARDapidocsmpl0000000001"}` | 환불 성공 시 저장된 PG 응답(정제 필드: `resultCode`·`resultMsg`·`tid`·`cancelDate`·`cancelTime`·`prtcCode`). | +| refund_result_code | string | `00` | `refund_result.resultCode`(또는 `code`)에서 파생된 결과 코드. 값이 없으면 빈 문자열. | +| refund_result_msg | string | `정상처리` | `refund_result.resultMsg`(또는 `message`)에서 파생된 결과 메시지. 값이 없으면 빈 문자열. | +| retry_count | integer | `1` | 관리자 재시도 선점 횟수(재시도 요청마다 1씩 증가). | +| last_retry_at | string \| null | `2026-07-08T06:32:39+00:00` | 마지막 재시도 시각(ISO8601). | +| last_retry_error | string \| null | `null` | 마지막 재시도에서 발생한 오류 메시지. 성공 시 `null`. | +| is_test_mode | boolean | `true` | 원 결제가 테스트 모드였는지 여부. 재시도 시 사용할 자격증명 모드를 결정한다. | +| cbt_mid | string | `apidocmid1` | 원 결제에 사용된 CBT 일본 가맹점 ID. 재시도 시 동일 MID 자격증명을 사용한다. | +| created_at | string | `2026-07-08T06:30:01+00:00` | 조정 레코드 최초 생성 시각(ISO8601). | +| updated_at | string | `2026-07-08T06:32:39+00:00` | 조정 레코드 마지막 갱신 시각(ISO8601). | **응답 예시** @@ -421,7 +598,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": null } ``` @@ -463,11 +640,65 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드 (재시도 성공 후 갱신된 CBT 조정 레코드 — `GET .../cbt-reconciliation` 의 `data` 와 동일 구조)._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| status | string | `auto_refunded` | 조정 상태. 재시도 성공 시 `auto_refunded` 로 갱신된다. | +| manual_action_required | boolean | `false` | 수동 환불 조치 필요 여부. 성공 후에는 `false`. | +| can_retry | boolean | `false` | 재시도 가능 여부. 성공 후에는 `false`. | +| tid | string | `INIJPGCARDapidocsmpl0000000001` | 환불한 CBT 결제의 KG 이니시스 거래 ID. | +| amount | integer | `5000` | 환불 금액. | +| reason | string | `주문 취소 자동환불` | 최초 자동환불 시도 사유(레코드에 보존된 값). | +| refund_error | null | `null` | 재시도 성공 시 `null` 로 초기화된다. | +| refund_result | object | `{"resultCode":"00","resultMsg":"정상처리","tid":"INIJPGCARDapidocsmpl0000000001","cancelDate":"20260708","cancelTime":"063239"}` | 환불 API 응답의 정제 결과(`resultCode`·`resultMsg`·`tid`·`cancelDate`·`cancelTime`·`prtcCode` 만 저장). | +| refund_result_code | string | `00` | `refund_result.resultCode` 에서 파생된 결과 코드. | +| refund_result_msg | string | `정상처리` | `refund_result.resultMsg` 에서 파생된 결과 메시지. | +| retry_count | integer | `1` | 재시도 선점 시 1 증가한 누적 재시도 횟수. | +| last_retry_at | string | `2026-07-08T06:32:39+00:00` | 이번 재시도 시각(ISO8601). | +| last_retry_error | null | `null` | 재시도 성공 시 `null`. | +| is_test_mode | boolean | `true` | 원 결제의 테스트 모드 여부(재시도에 사용한 자격증명 모드). | +| cbt_mid | string | `apidocmid1` | 재시도에 사용한 CBT 일본 가맹점 ID. | +| created_at | string | `2026-07-08T06:30:01+00:00` | 조정 레코드 최초 생성 시각. | +| updated_at | string | `2026-07-08T06:32:39+00:00` | 조정 레코드 갱신 시각. | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "sirsoft-pay_kginicis::messages.cbt_reconciliation.retry_success", + "data": { + "status": "auto_refunded", + "manual_action_required": false, + "can_retry": false, + "tid": "INIJPGCARDapidocsmpl0000000001", + "amount": 5000, + "reason": "주문 취소 자동환불", + "refund_error": null, + "refund_result": { + "resultCode": "00", + "resultMsg": "정상처리", + "tid": "INIJPGCARDapidocsmpl0000000001", + "cancelDate": "20260708", + "cancelTime": "063239" + }, + "refund_result_code": "00", + "refund_result_msg": "정상처리", + "retry_count": 1, + "last_retry_at": "2026-07-08T06:32:39+00:00", + "last_retry_error": null, + "is_test_mode": true, + "cbt_mid": "apidocmid1", + "created_at": "2026-07-08T06:30:01+00:00", + "updated_at": "2026-07-08T06:32:39+00:00" + } +} +``` **에러 응답** @@ -476,6 +707,8 @@ Authorization: Bearer {YOUR_TOKEN} | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | | 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 422 | Unprocessable | 재시도 선점 실패 — 조정 레코드가 없거나 `can_retry` 가 아닌 경우 (`messages.cbt_reconciliation.not_retryable` — "재시도 가능한 CBT 환불 대기 건이 아닙니다.") | +| 502 | Bad Gateway | 환불 API 호출이 예외로 실패한 경우 (`messages.cbt_reconciliation.retry_failed` — "CBT 환불 재시도에 실패했습니다."). 레코드는 `manual_refund_required` 로 되돌아가고 오류가 기록된다. | @@ -528,7 +761,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "has_escrow_payment": true, "tid": "INIJPGCARDapidocsmpl0000000001", @@ -599,11 +832,33 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| result_code | string | `00` | KG 이니시스 배송등록 응답 코드. `00` 만 성공으로 처리된다(그 외는 502). | +| result_msg | string | `정상처리` | KG 이니시스 응답 메시지. 응답에 메시지가 없으면 `OK`. | +| invoice | string | `1234567890123` | 등록된 운송장번호(요청값 그대로). | +| ex_name | string | `CJ대한통운` | 등록된 택배사명(요청 `ex_code` 를 공식 코드표로 변환한 이름). | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "result_code": "00", + "result_msg": "정상처리", + "invoice": "1234567890123", + "ex_name": "CJ대한통운" + } +} +``` **에러 응답** @@ -611,7 +866,10 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 해당 주문에 KG 이니시스 에스크로 결제(`is_escrow = true` + TID 존재)가 없는 경우 | +| 422 | Unprocessable | `invoice` 미입력 또는 `ex_code` 가 공식 택배사 코드표에 없는 경우 (errors: `invoice` / `ex_code`) | +| 500 | Server Error | 배송등록 호출 중 예외 발생 (errors.message = 예외 메시지) | +| 502 | Bad Gateway | KG 이니시스 배송등록 응답의 `resultCode` 가 `00` 이 아닌 경우 (errors.message = PG `resultMsg`) | @@ -642,11 +900,29 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| result_code | string | `00` | KG 이니시스 구매거절확인(INIAPI `type=Dncf`) 응답 코드. `00` 만 성공으로 처리된다(그 외는 502). | +| result_msg | string | `정상처리` | KG 이니시스 응답 메시지. 응답에 메시지가 없으면 `OK`. | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "result_code": "00", + "result_msg": "정상처리" + } +} +``` **에러 응답** @@ -654,7 +930,10 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.update`)이 없는 경우 | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 404 | Not Found | 해당 주문에 KG 이니시스 에스크로 결제(`is_escrow = true` + TID 존재)가 없는 경우 | +| 422 | Unprocessable | 이미 구매거절확인 이력(`payment_meta.escrow_deny_confirm`)이 있는 경우 (errors.message = "이미 구매거절확인이 완료되었습니다.") | +| 500 | Server Error | 구매거절확인 호출 중 예외 발생 (errors.message = 예외 메시지) | +| 502 | Bad Gateway | KG 이니시스 구매거절확인 응답의 `resultCode` 가 `00` 이 아닌 경우 (errors.message = PG `resultMsg`) | @@ -745,7 +1024,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": { "resultCode": "0000", "resultMsg": "정상처리", @@ -844,7 +1123,25 @@ Authorization: Bearer {YOUR_TOKEN} (optional.sanctum: 비회원은 헤더 생 **응답 필드** (`data` 내부) - +_이 엔드포인트는 `ResponseHelper` 봉투를 쓰지 않고 **응답 본문 최상위(root)에 필드를 직접** 반환한다 (`data` 래핑 없음). 결제 종류에 따라 두 형태로 나뉜다: CBT(일본결제)면 `receipt_type=cbt_confirmation`, 일반 국내결제면 `receipt_type=inicis_receipt`._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| receipt_type | string | `cbt_confirmation` | 영수증 종류. CBT 결제는 `cbt_confirmation`(결제확인서), 일반 결제는 `inicis_receipt`(KG 이니시스 매출전표). | +| receipt_url | string \| null | `https://iniweb.inicis.com/DefaultWebApp/mall/cr/cm/mCmReceipt_head.jsp?noTid={TID}&noMethod=1` | KG 이니시스 매출전표 조회 URL. CBT 결제는 매출전표가 없어 `null`. | +| receipt_label | string | `결제확인` | 영수증 버튼 라벨. 일반 결제는 `영수증`, CBT 는 `결제확인`(CVS 입금대기 시 `입금정보`). | +| receipt_view_label | string | `결제확인서 보기` | 영수증 열람 링크 라벨. 일반 결제는 `영수증 조회`, CBT 는 `결제확인서 보기`(CVS 입금대기 시 `편의점 입금정보 보기`). | +| receipt_title | string | `KG 이니시스 CBT 결제확인서` | CBT 전용 — 결제확인서 제목. CVS 입금대기 시 `KG 이니시스 CBT 편의점 입금정보`. 일반 결제 응답에는 없음. | +| receipt_notice | string | `일본 CBT 결제는 한국 KG 이니시스 매출전표 조회와 별도로 결제 승인 정보를 표시합니다.` | CBT 전용 — 안내 문구. CVS 입금대기 시 편의점 입금 마감 안내 문구. 일반 결제 응답에는 없음. | +| receipt_fields | array | `[{"label":"주문번호","value":"APIDOC-KGINICIS-000001"}]` | CBT 전용 — 결제확인서 표시 항목 목록(`{label, value}`). 값이 빈 항목은 제외된다. 공통 항목: 주문번호·결제수단·거래번호·결제금액(CVS 입금대기 시 `입금예정금액`)·입금 상태·승인일시. 결제수단별 추가: CARD → 카드 승인번호·할부개월, PAYPAY → 승인번호, CVS → 편의점 코드·편의점 확인번호·편의점 접수번호·입금 마감일시. 일반 결제 응답에는 없음. | +| is_test_mode | boolean | `true` | 플러그인 설정(`is_test_mode`) 기준 테스트 모드 여부. | +| payment_method_label | string | `일본 편의점결제` | 결제수단 라벨. CBT 는 `신용카드 (일본 CBT)`/`일본 편의점결제`/`PayPay`/`LINE Pay`, 일반 결제는 `신용카드`·`가상계좌`·`계좌이체`·`무통장입금`·`휴대폰결제` 등. | +| payment_method_display_label | string | `일본 편의점결제` | 화면 표시용 결제수단 라벨. 간편결제면 `{간편결제사} ({기본 결제수단})` 형태로 조합된다. | +| cbt_pay_method | string | `CVS` | CBT 전용 — CBT 결제수단 코드(`CARD`/`CVS`/`PAYPAY`/`LINEPAY`). 일반 결제 응답에는 없음. | +| payment_status | string | `paid` | CBT 전용 — 결제 상태값(PaymentStatusEnum: `waiting_deposit`·`paid`·`cancelled`·`failed` 등). 일반 결제 응답에는 없음. | +| selected_payment_method | string \| null | `null` | 결제 시 사용자가 선택한 결제수단 식별값(`payment_meta.selected_payment_method`). 없으면 `null`. | +| embedded_pg_provider | string \| null | `null` | 간편결제 등 결제창에 내장된 실제 PG 제공사 식별값(예: `payco`, `tosspay`). 일반 결제면 `null`. | +| embedded_pg_provider_label | string \| null | `null` | `embedded_pg_provider` 의 사람이 읽는 라벨(예: `페이코`, `토스페이`). 없으면 `null`. | **응답 예시** diff --git a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/payment.md b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/payment.md index 4f80ce74..951648f0 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/payment.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/payment.md @@ -37,11 +37,24 @@ Accept: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| checkout_token | string | `eyJvaWQiOiJPUkQyMDI2MDcxNDAwMSIsInByaWNlIjoxMDAwMH0.5f1c…` | 후속 hash-data 요청에 그대로 실어 보내는 단기 체크아웃 토큰. 주문번호·금액·구매자(이메일/전화)·요청 IP·User-Agent 를 HMAC-SHA256 으로 봉인한 서명값이다. | **응답 예시** - +```json +{ + "success": true, + "data": { + "checkout_token": "eyJvaWQiOiJPUkQyMDI2MDcxNDAwMSIsInByaWNlIjoxMDAwMH0.5f1c…" + } +} +``` + +_이 엔드포인트는 `ResponseHelper` 봉투를 쓰지 않고 `response()->json()` 으로 `success`·`data` 만 반환합니다 (`message` 없음)._ **에러 응답** @@ -79,11 +92,24 @@ Accept: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| hash_data | string | `a1b2c3d4e5f6…` | 일본 CBT 결제창이 KG 이니시스에 전송할 위변조 방지 해시(P_HASHDATA). 일본 가맹점 MID·타임스탬프·금액·주문번호로 생성된다. | **응답 예시** - +```json +{ + "success": true, + "data": { + "hash_data": "a1b2c3d4e5f6…" + } +} +``` + +_이 엔드포인트는 `ResponseHelper` 봉투를 쓰지 않고 `response()->json()` 으로 `success`·`data` 만 반환합니다 (`message` 없음)._ **에러 응답** @@ -138,17 +164,33 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| status | string | `recorded` \| `ignored` | 닫힘 보고 처리 결과. `recorded` = 주문을 `USER_CANCEL` 로 실패 처리하고 취소 이력을 남김. `ignored` = 결제 성공 콜백과의 경쟁 등으로 처리하지 않고 무시. | +| reason | string | `order_not_payable` \| `payment_already_paid` | `status: ignored` 일 때만 포함되는 무시 사유. 주문이 이미 결제 가능 상태가 아니거나(`order_not_payable`), 결제가 이미 완료됨(`payment_already_paid`). | **응답 예시** - +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "status": "recorded" + } +} +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요청의 구매자 정보(`buyer_email` / `buyer_phone`)가 주문의 구매자와 일치하지 않는 경우 | +| 404 | Not Found | `oid` 에 해당하는 주문이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지), 주문 통화가 KRW 가 아님, 금액이 주문 청구액과 불일치 | +| 429 | Too Many Requests | 동일 IP·`oid` 조합에서 분당 20회를 초과해 요청한 경우 | @@ -192,17 +234,34 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| chkfake | string | `9f86d081884c7d65…` | 모바일 결제창이 KG 이니시스에 전송할 위변조 방지 해시(P_CHKFAKE). 주문번호·금액·타임스탬프로 생성된다. | +| mobile_payment_url | string | `https://mobile.inicis.com/smart/payment/` | 모바일 결제창 진입 URL. 테스트/운영 모드 설정에 따라 달라진다. | **응답 예시** - +```json +{ + "data": { + "chkfake": "9f86d081884c7d65…", + "mobile_payment_url": "https://mobile.inicis.com/smart/payment/" + } +} +``` + +_이 엔드포인트는 `ResponseHelper` 봉투를 쓰지 않고 `response()->json()` 으로 `data` 만 반환합니다 (성공 시 `success`·`message` 없음)._ **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요청의 구매자 정보(`buyer_email` / `buyer_phone`)가 주문의 구매자와 일치하지 않는 경우 | +| 404 | Not Found | `oid` 에 해당하는 주문이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지), 타임스탬프 만료·형식 오류, 주문이 결제 가능 상태가 아님, 주문 통화가 KRW 가 아님, 금액 불일치, 모바일 결제 자격증명 미설정 | +| 429 | Too Many Requests | 동일 IP·`oid` 조합에서 분당 20회를 초과해 요청한 경우 | @@ -246,17 +305,36 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| signature | string | `4d2f8a9c1b7e…` | PC 표준결제창에 전달할 위변조 방지 서명. 주문번호·금액·타임스탬프로 생성된다. | +| verification | string | `7c1a3e5b9d0f…` | 표준결제창 검증값. signature 와 함께 결제창 호출 파라미터로 전달된다. | +| mKey | string | `e3b0c44298fc1c14…` | 가맹점 키 해시(mKey). KG 이니시스 표준결제창이 가맹점 식별에 사용한다. | **응답 예시** - +```json +{ + "data": { + "signature": "4d2f8a9c1b7e…", + "verification": "7c1a3e5b9d0f…", + "mKey": "e3b0c44298fc1c14…" + } +} +``` + +_이 엔드포인트는 `ResponseHelper` 봉투를 쓰지 않고 `response()->json()` 으로 `data` 만 반환합니다 (성공 시 `success`·`message` 없음)._ **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | +| 403 | Forbidden | 요청의 구매자 정보(`buyer_email` / `buyer_phone`)가 주문의 구매자와 일치하지 않는 경우 | +| 404 | Not Found | `oid` 에 해당하는 주문이 없는 경우 | +| 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지), 타임스탬프 만료·형식 오류, 주문이 결제 가능 상태가 아님, 주문 통화가 KRW 가 아님, 금액 불일치, 표준결제 자격증명 미설정 | +| 429 | Too Many Requests | 동일 IP·`oid` 조합에서 분당 20회를 초과해 요청한 경우 | @@ -310,11 +388,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON `data` 를 반환하지 않습니다. 브라우저 리다이렉트(302)로만 응답하며, 결과는 리다이렉트 URL 과 그 쿼리스트링으로 전달됩니다._ + +| 리다이렉트 대상 | 조건 | 쿼리 파라미터 | +| --- | --- | --- | +| 성공 URL (`redirect_success_url`, 기본 `/shop/orders/{orderId}/complete`) | 서버 승인 성공(결제완료 또는 가상계좌 발급), 이미 결제완료된 거래(재전송) | 없음 (주문번호는 경로에 치환) | +| 실패 URL (`redirect_fail_url`, 기본 `/shop/checkout`) | 인증 실패·검증 실패·승인 실패 | `error` (`invalid_params` \| `missing_fields` \| `auth_url_invalid` \| `order_not_found` \| `amount_mismatch` 등), `message` (PG 결과 메시지), `orderId` | +| 실패 URL (쿼리 없음) | 사용자가 결제창을 닫은 취소(`2001` / `0021` / `0022` / 빈값, 또는 결과 메시지에 '취소'·'사용자' 포함) | 없음 (조용한 복귀) | **응답 예시** - +```http +HTTP/1.1 302 Found +Location: https://example.com/shop/orders/ORD20260714001/complete +``` + +실패 시: + +```http +HTTP/1.1 302 Found +Location: https://example.com/shop/checkout?error=amount_mismatch&orderId=ORD20260714001 +``` **에러 응답** @@ -334,7 +428,7 @@ PC 표준결제창(KRW)의 인증 결과를 브라우저 POST 로 수신해 서 ### GET /plugins/sirsoft-pay_kginicis/payment/cbt/callback - + - **라우트명**: `web.plugins.sirsoft-pay_kginicis.payment.cbt.callback` - **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\CbtCallbackController@handle` - **인증/권한**: 공개 (인증 불필요) @@ -363,11 +457,27 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON `data` 를 반환하지 않습니다. 브라우저 리다이렉트(302)로만 응답하며, 결과는 리다이렉트 URL 과 그 쿼리스트링으로 전달됩니다._ + +| 리다이렉트 대상 | 조건 | 쿼리 파라미터 | +| --- | --- | --- | +| 성공 URL (`redirect_success_url`, 기본 `/shop/orders/{orderId}/complete`) | CBT 서버 승인 성공(결제완료 또는 편의점 입금대기 등록), 이미 결제완료된 거래(재전송) | 없음 (주문번호는 경로에 치환) | +| 실패 URL (`redirect_fail_url`, 기본 `/shop/checkout`) | 인증 실패·MID 불일치·검증 실패·승인 실패 | `error` (`invalid_params` \| `mid_mismatch` \| `order_not_found` \| `cbt_failed` 등), `message` (PG 결과 메시지), `orderId` | +| 실패 URL (쿼리 없음) | 사용자 취소(취소 코드 또는 일본어·한국어 취소 문구) | 없음 (조용한 복귀) | **응답 예시** - +```http +HTTP/1.1 302 Found +Location: https://example.com/shop/orders/ORD20260714001/complete +``` + +실패 시: + +```http +HTTP/1.1 302 Found +Location: https://example.com/shop/checkout?error=mid_mismatch&orderId=ORD20260714001 +``` **에러 응답** @@ -387,7 +497,7 @@ Accept: application/json ### POST /plugins/sirsoft-pay_kginicis/payment/cbt/callback - + - **라우트명**: `web.plugins.sirsoft-pay_kginicis.payment.cbt.callback` - **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\CbtCallbackController@handle` - **인증/권한**: 공개 (인증 불필요) @@ -396,15 +506,15 @@ Accept: application/json | 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | | --- | --- | --- | --- | --- | --- | -| sid | body | string | 아니오 | max 255 | | -| resultCode | body | string | 아니오 | max 100 | 결제 인증 결과 코드 (`0000` = 성공). `2001`/`0021`/`0022`/빈값은 사용자 취소로 간주해 에러 없이 체크아웃으로 복귀한다. | -| resultMsg | body | string | 아니오 | max 500 | 결제 인증 결과 메시지. 실패 시 실패 URL 의 `message` 파라미터로 전달되며 '취소'/'사용자' 포함 여부로 사용자 취소를 판별한다. | -| orderID | body | string | 아니오 | max 100 | | -| orderId | body | string | 아니오 | max 100 | | -| oid | body | string | 아니오 | max 100 | 결제 대상 주문의 주문번호. 서버가 주문을 조회해 결제 가능 상태·통화·금액을 검증하고 이 값을 서명 생성 입력으로 사용한다. | -| mid | body | string | 아니오 | max 30 | | -| paymethod | body | string | 아니오 | max 50 | | -| selectedPaymentMethod | body | string | 아니오 | max 50 | | +| sid | body | string | 아니오 | max 255 | CBT 인증 세션 ID. 서버가 `/cbtapprove` 최종 승인 요청에 MID 와 함께 전송하는 승인 키이며, 결제 메타에 `cbt_sid` 로 저장된다. | +| resultCode | body | string | 아니오 | max 100 | CBT 인증 결과 코드 (`OK`/`00`/`0000` = 성공). `2001`/`0021`/`0022` 또는 취소 문구 포함 시 사용자 취소로 간주한다. | +| resultMsg | body | string | 아니오 | max 500 | CBT 인증 결과 메시지. 사용자 취소 판별(일본어/한국어 취소 문구)과 실패 리다이렉트 메시지에 사용된다. | +| orderID | body | string | 아니오 | max 100 | 주문번호 (1순위 키). `orderId` → `oid` 순으로 폴백해 주문을 조회한다. | +| orderId | body | string | 아니오 | max 100 | 주문번호 (2순위 폴백 키). | +| oid | body | string | 아니오 | max 100 | 주문번호 (3순위 폴백 키). | +| mid | body | string | 아니오 | max 30 | 일본 CBT 가맹점 MID. 설정된 일본 MID 와 불일치하면 결제를 중단한다(위조 콜백 차단). | +| paymethod | body | string | 아니오 | max 50 | CBT 결제수단 (CARD / PAYPAY / CVS). 승인 응답의 결제수단과 대조하며, CVS 는 편의점 입금대기 처리로 분기한다. | +| selectedPaymentMethod | body | string | 아니오 | max 50 | 체크아웃에서 사용자가 선택한 결제수단 식별값(`card` / `kginicis_japan_paypay` / `kginicis_japan_cvs`). 기대 결제수단 검증과 결제 메타 기록에 사용된다. | **요청 예시** @@ -429,11 +539,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON `data` 를 반환하지 않습니다. 브라우저 리다이렉트(302)로만 응답하며, 결과는 리다이렉트 URL 과 그 쿼리스트링으로 전달됩니다 (GET 경로와 동일)._ + +| 리다이렉트 대상 | 조건 | 쿼리 파라미터 | +| --- | --- | --- | +| 성공 URL (`redirect_success_url`, 기본 `/shop/orders/{orderId}/complete`) | CBT 서버 승인 성공(결제완료 또는 편의점 입금대기 등록), 이미 결제완료된 거래(재전송) | 없음 (주문번호는 경로에 치환) | +| 실패 URL (`redirect_fail_url`, 기본 `/shop/checkout`) | 인증 실패·MID 불일치·검증 실패·승인 실패 | `error` (`invalid_params` \| `mid_mismatch` \| `order_not_found` \| `cbt_failed` 등), `message` (PG 결과 메시지), `orderId` | +| 실패 URL (쿼리 없음) | 사용자 취소(취소 코드 또는 일본어·한국어 취소 문구) | 없음 (조용한 복귀) | **응답 예시** - +```http +HTTP/1.1 302 Found +Location: https://example.com/shop/orders/ORD20260714001/complete +``` + +실패 시: + +```http +HTTP/1.1 302 Found +Location: https://example.com/shop/checkout?error=cbt_failed&orderId=ORD20260714001 +``` **에러 응답** @@ -507,16 +633,29 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 을 반환하지 않습니다 (`data` 없음). 응답은 `Content-Type: text/plain` 의 평문 본문 한 줄이며, HTTP 상태코드는 항상 200 입니다._ + +| 본문 | 의미 | 발생 조건 | +| --- | --- | --- | +| `OK` | 통보 수신 확인 | 검증 통과 후 입금 처리 완료, 또는 처리 불필요(비-성공 `status` 통보 / 이미 결제완료된 중복 통보)로 무시 | +| `FAIL` | 통보 거부 | 주문·결제행 미존재, TID/MID/SID 불일치, 통화가 `JPY` 아님, 금액 불일치, 결제 상태가 입금대기 아님, 결제수단이 CVS 아님 | + +`FAIL` 을 반환하면 KG 이니시스가 동일 통보를 재시도합니다. **응답 예시** - +```http +HTTP/1.1 200 OK +Content-Type: text/plain + +OK +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 403 | Forbidden | KG 이니시스 공식 발송 IP 화이트리스트에 없는 IP 에서 요청한 경우 (로컬·테스트 환경 제외) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -550,15 +689,30 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 을 반환하지 않습니다 (`data` 없음). 응답은 `Content-Type: text/html; charset=UTF-8` · `Cache-Control: no-store` 의 HTML 페이지(HTTP 200)이며, KG 이니시스 결제창 close 스크립트를 로드하고 부모/opener 창에 `{ source: 'sirsoft-pay_kginicis', type: 'payment-window-closed', reason: 'inicis-close-url' }` 를 `postMessage` 로 전달합니다. 로드되는 close 스크립트 주소는 플러그인 설정 `is_test_mode` 에 따라 `stgstdpay.inicis.com`(테스트) 또는 `stdpay.inicis.com`(운영) 으로 분기합니다._ **응답 예시** - +```http +HTTP/1.1 200 OK +Content-Type: text/html; charset=UTF-8 +Cache-Control: no-store, no-cache, must-revalidate, max-age=0 + + + + + + KG 이니시스 결제창 닫기 + + + + + +``` **에러 응답** -_대표 에러 없음 (공개 조회). _ +_에러 응답이 정의되어 있지 않습니다. 인증·요청 파라미터 없이 정적 HTML(200)만 반환하므로 도메인 특이 에러가 발생하지 않습니다._ @@ -589,15 +743,20 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 을 반환하지 않습니다 (`data` 없음). 응답은 `Content-Type: text/html; charset=UTF-8` 의 HTML(HTTP 200)이며, 본문은 팝업을 닫는 스크립트(`window.close()`) 한 줄뿐입니다. 결제나 구매결정 상태를 변경하지 않습니다._ **응답 예시** - +```http +HTTP/1.1 200 OK +Content-Type: text/html; charset=UTF-8 + + +``` **에러 응답** -_대표 에러 없음 (공개 조회). _ +_에러 응답이 정의되어 있지 않습니다. 인증·요청 파라미터 없이 팝업 닫기 스크립트(HTML 200)만 반환하므로 도메인 특이 에러가 발생하지 않습니다._ @@ -626,15 +785,25 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON `data` 를 반환하지 않습니다. 브라우저 리다이렉트(302)로만 응답합니다._ + +| 리다이렉트 대상 | 조건 | +| --- | --- | +| `/mypage/orders/{orderNumber}` | `P_ESCROW_TID` 로 KG 이니시스 에스크로 결제행을 찾아 구매결정 결과(`P_STATUS` `00` = 구매확정, 그 외 = 구매거절)를 결제 메타 `escrow_confirm` 에 기록한 경우 | +| `/mypage/orders` | 거래번호가 비었거나 매칭되는 에스크로 결제가 없어 아무것도 기록하지 않은 경우 | + +_KG 이니시스가 POST 로 보내는 필드(라우트 FormRequest 로 선언되지 않아 요청 파라미터 표에는 나타나지 않음): `P_STATUS`(구매결정 결과 코드), `P_ESCROW_TID`(에스크로 거래번호), `P_CL_STATUS`(결제 상태 구분), `P_RMESG1`(결과 메시지)._ **응답 예시** - +```http +HTTP/1.1 302 Found +Location: https://example.com/mypage/orders/ORD20260714001 +``` **에러 응답** -_대표 에러 없음 (공개 조회). _ +_에러 응답이 정의되어 있지 않습니다. 거래번호가 비었거나 매칭되는 에스크로 결제가 없어도 예외를 던지지 않고 주문 목록(`/mypage/orders`)으로 리다이렉트합니다._ @@ -665,15 +834,22 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 을 반환하지 않습니다 (`data` 없음). 응답은 `Content-Type: text/html; charset=UTF-8` 의 HTML(HTTP 200)이며, 부모 창을 새로고침하고 팝업을 닫는 스크립트뿐입니다. 구매결정 결과(`ResultCode` `00` = 구매확정, 그 외 = 구매거절)와 확정·거절 일시, 거절 사유는 `tid` 로 찾은 에스크로 결제행의 결제 메타 `escrow_confirm` 에 기록됩니다._ + +_KG 이니시스가 POST 로 보내는 필드(라우트 FormRequest 로 선언되지 않아 요청 파라미터 표에는 나타나지 않음): `ResultCode`(구매결정 결과 코드), `tid`(에스크로 거래번호), `CNF_Date`/`CNF_Time`(구매확정 일시), `DNY_Date`/`DNY_Time`(구매거절 일시), `DNY_DenyMsg`(구매거절 사유)._ **응답 예시** - +```http +HTTP/1.1 200 OK +Content-Type: text/html; charset=UTF-8 + + +``` **에러 응답** -_대표 에러 없음 (공개 조회). _ +_에러 응답이 정의되어 있지 않습니다. 거래번호가 비었거나 매칭되는 에스크로 결제가 없어도 기록만 생략하고 동일한 HTML(200)을 반환합니다._ @@ -694,7 +870,7 @@ PC 에스크로 구매결정 결과를 KG 이니시스 팝업으로부터 수신 | 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | | --- | --- | --- | --- | --- | --- | -| orderNumber | path | string | 예 | — | 대상 order number의 식별자 | +| orderNumber | path | string | 예 | — | 구매결정할 주문의 주문번호. 로그인 사용자 본인의 KG 이니시스 에스크로 결제(`is_escrow=true`, `transaction_id` 존재)를 찾는 키로 사용된다. | **요청 예시** @@ -706,17 +882,50 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 을 반환하지 않습니다 (`data` 없음). 응답은 `Content-Type: text/html; charset=UTF-8` 의 HTML 페이지(HTTP 200)이며, KG 이니시스 구매결정 창으로 자동 전송되는 폼을 담고 있습니다. 접속 기기의 User-Agent 로 PC/모바일을 판별해 다음과 같이 분기합니다._ + +| 분기 | 반환 HTML | 폼 전송 대상 | 주요 hidden 필드 | +| --- | --- | --- | --- | +| PC | `INIStdPay_escrow_conf.js` 로드 후 `INIStdPay.pay('escrow_confirm_form')` 자동 실행 | KG 이니시스 PC 구매결정 팝업 (테스트: `stgstdpay.inicis.com`, 운영: `stdpay.inicis.com`) | `mid`, `tid`, `timestamp`, `mKey`, `currency=WON`, `returnUrl`(pc/return), `closeUrl`(escrow-confirm/close) | +| 모바일 | 폼 자동 submit 스크립트 | `https://mobile.inicis.com/smart/payment/` (accept-charset: euc-kr) | `P_INI_PAYMENT=ESCROWCONFIRM`, `P_MID`, `P_ESCROW_TID`, `P_NEXT_URL`(mobile/return) | **응답 예시** - +```http +HTTP/1.1 200 OK +Content-Type: text/html; charset=UTF-8 + + + + + + 에스크로 구매결정 + + + + +

에스크로 구매결정 창을 준비 중입니다...

+
+ + + + + + + + + +
+ + +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | -| 404 | Not Found | path 파라미터에 해당하는 리소스가 없는 경우 | +| 401 | Unauthorized | 비로그인 상태로 접근한 경우 (라우트에 `auth` 미들웨어 적용 — 요약의 "공개" 표기는 자동 생성 오차) | +| 404 | Not Found | `orderNumber` 에 해당하는 주문이 접속 사용자 본인 소유가 아니거나, 해당 주문에 거래번호가 있는 KG 이니시스 에스크로 결제(`pg_provider=kginicis`, `is_escrow=true`)가 없는 경우 | @@ -728,7 +937,7 @@ Accept: application/json ### GET /plugins/sirsoft-pay_kginicis/payment/mobile/callback - + - **라우트명**: `web.plugins.sirsoft-pay_kginicis.payment.mobile.callback` - **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\MobileCallbackController@handle` - **인증/권한**: 공개 (인증 불필요) @@ -755,11 +964,27 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON `data` 를 반환하지 않습니다. 브라우저 리다이렉트(302)로만 응답하며, 결과는 리다이렉트 URL 과 그 쿼리스트링으로 전달됩니다._ + +| 리다이렉트 대상 | 조건 | 쿼리 파라미터 | +| --- | --- | --- | +| 성공 URL (`redirect_success_url`, 기본 `/shop/orders/{orderId}/complete`) | 서버 승인 성공(결제완료 또는 가상계좌 발급), 이미 결제완료된 거래(재전송) | 없음 (주문번호는 경로에 치환) | +| 실패 URL (`redirect_fail_url`, 기본 `/shop/checkout`) | 인증 실패·검증 실패·승인 실패 | `error` (`order_id_missing` \| `missing_fields` \| `req_url_invalid` \| `order_not_found` \| `amount_mismatch` 등), `message` (`P_RMESG1` 결과 메시지), `orderId` | +| 실패 URL (쿼리 없음) | 사용자가 결제창을 닫은 취소(`P_RMESG1` 에 '사용자가 결제를 취소' 등 취소 문구 포함) | 없음 (조용한 복귀) | **응답 예시** - +```http +HTTP/1.1 302 Found +Location: https://example.com/shop/orders/ORD20260714001/complete +``` + +실패 시: + +```http +HTTP/1.1 302 Found +Location: https://example.com/shop/checkout?error=req_url_invalid&orderId=ORD20260714001 +``` **에러 응답** @@ -779,7 +1004,7 @@ Accept: application/json ### POST /plugins/sirsoft-pay_kginicis/payment/mobile/callback - + - **라우트명**: `web.plugins.sirsoft-pay_kginicis.payment.mobile.callback` - **컨트롤러**: `Plugins\Sirsoft\PayKginicis\Controllers\MobileCallbackController@handle` - **인증/권한**: 공개 (인증 불필요) @@ -788,12 +1013,12 @@ Accept: application/json | 이름 | 위치 | 타입 | 필수 | 허용값 | 용도 | | --- | --- | --- | --- | --- | --- | -| P_STATUS | body | string | 예 | — | | -| P_RMESG1 | body | string | 아니오 | — | | -| P_TID | body | string | 아니오 | — | | -| P_REQ_URL | body | string | 아니오 | — | | -| P_AMT | body | string | 아니오 | — | | -| P_OID | body | string | 아니오 | — | | +| P_STATUS | body | string | 예 | — | 모바일 결제 인증 결과 코드 (`00` = 성공). 그 외 값은 실패이며 `P_RMESG1` 문구로 사용자 취소 여부를 분기한다. | +| P_RMESG1 | body | string | 아니오 | — | 모바일 결제 인증 결과 메시지. '사용자가 결제를 취소' 등 취소 문구 포함 시 오류 없이 체크아웃으로 복귀한다. | +| P_TID | body | string | 아니오 | — | KG 이니시스 거래번호. 서버 승인 요청(`P_REQ_URL`)에 MID 와 함께 전송된다. | +| P_REQ_URL | body | string | 아니오 | — | 서버 승인 API 요청 URL. `idc_name` 과 함께 화이트리스트 검증(SSRF 방어)을 통과해야 호출된다. | +| P_AMT | body | string | 아니오 | — | 결제 금액. 서버 승인 응답의 `P_AMT` 가 없을 때 결제 완료 금액의 폴백으로 사용된다. | +| P_OID | body | string | 아니오 | — | 주문번호. 없으면 콜백 URL 쿼리스트링의 `orderId` 를 폴백으로 사용한다. | | idc_name | body | string | 아니오 | — | KG 이니시스 IDC 센터 코드(fc/ks/stg). 승인/망취소 URL 화이트리스트 검증의 기준값. | **요청 예시** @@ -817,11 +1042,27 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON `data` 를 반환하지 않습니다. 브라우저 리다이렉트(302)로만 응답하며, 결과는 리다이렉트 URL 과 그 쿼리스트링으로 전달됩니다 (GET 경로와 동일)._ + +| 리다이렉트 대상 | 조건 | 쿼리 파라미터 | +| --- | --- | --- | +| 성공 URL (`redirect_success_url`, 기본 `/shop/orders/{orderId}/complete`) | 서버 승인 성공(결제완료 또는 가상계좌 발급), 이미 결제완료된 거래(재전송) | 없음 (주문번호는 경로에 치환) | +| 실패 URL (`redirect_fail_url`, 기본 `/shop/checkout`) | 인증 실패·검증 실패·승인 실패 | `error` (`order_id_missing` \| `missing_fields` \| `req_url_invalid` \| `order_not_found` \| `amount_mismatch` 등), `message` (`P_RMESG1` 결과 메시지), `orderId` | +| 실패 URL (쿼리 없음) | 사용자가 결제창을 닫은 취소(`P_RMESG1` 에 취소 문구 포함) | 없음 (조용한 복귀) | **응답 예시** - +```http +HTTP/1.1 302 Found +Location: https://example.com/shop/orders/ORD20260714001/complete +``` + +실패 시: + +```http +HTTP/1.1 302 Found +Location: https://example.com/shop/checkout?error=amount_mismatch&orderId=ORD20260714001 +``` **에러 응답** @@ -903,16 +1144,29 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 을 반환하지 않습니다 (`data` 없음). 응답은 `Content-Type: text/plain` 의 평문 본문 한 줄이며, HTTP 상태코드는 항상 200 입니다._ + +| 본문 | 의미 | 발생 조건 | +| --- | --- | --- | +| `OK` | 통보 수신 확인 | 검증 통과 후 입금 처리 완료, 또는 처리 불필요(`P_STATUS` 가 `02` 가 아니거나 `P_TYPE` 이 `VBANK` 가 아닌 통보 / 이미 결제완료된 중복 통보)로 무시 | +| `FAIL` | 통보 거부 | 주문 미존재, 거래번호(TID)·MID·가상계좌번호 불일치, 금액이 결제 통화 기준 청구액과 불일치, 결제가 가상계좌·입금대기 상태가 아님, 처리 중 예외 발생 | + +`FAIL` 을 반환하면 KG 이니시스가 동일 통보를 재시도합니다. **응답 예시** - +```http +HTTP/1.1 200 OK +Content-Type: text/plain + +OK +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 403 | Forbidden | KG 이니시스 공식 발송 IP 화이트리스트에 없는 IP 에서 요청한 경우 (로컬·테스트 환경 제외) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | @@ -1007,16 +1261,29 @@ Content-Type: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 을 반환하지 않습니다 (`data` 없음). 응답은 `Content-Type: text/plain` 의 평문 본문 한 줄이며, HTTP 상태코드는 항상 200 입니다._ + +| 본문 | 의미 | 발생 조건 | +| --- | --- | --- | +| `OK` | 통보 수신 확인 | 검증 통과 후 입금 처리 완료, 또는 이미 결제완료된 거래번호의 중복 통보로 무시 | +| `FAIL` | 통보 거부 | 주문(`no_oid`) 미존재, 거래번호(`no_tid`)·MID(`id_merchant`)·가상계좌번호(`no_vacct`) 불일치, 입금 금액(`amt_input`)이 결제 통화 기준 청구액과 불일치, 결제가 가상계좌·입금대기 상태가 아님, 처리 중 예외 발생 | + +`FAIL` 을 반환하면 KG 이니시스가 동일 통보를 최대 10회까지 재시도합니다. **응답 예시** - +```http +HTTP/1.1 200 OK +Content-Type: text/plain + +OK +``` **에러 응답** | 상태코드 | 의미 | 발생 조건 | | --- | --- | --- | +| 403 | Forbidden | KG 이니시스 공식 발송 IP 화이트리스트에 없는 IP 에서 요청한 경우 (로컬·테스트 환경 제외) | | 422 | Unprocessable Entity | 요청 파라미터가 검증 규칙을 위반한 경우 (`error.errors` 에 필드별 메시지) | diff --git a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/transaction.md b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/transaction.md index e24a8b39..6a6d9fde 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/docs/api/transaction.md +++ b/plugins/_bundled/sirsoft-pay_kginicis/docs/api/transaction.md @@ -38,11 +38,115 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) - +_단건 응답: `data` 객체의 필드._ + +`data` 는 KG 이니시스 INIAPI v2 `inquiry` 응답(원본 키 그대로)에 화면 표시용 보강 필드(`_` 접두 키)를 덧붙인 객체입니다. 원본 키는 결제수단·거래 상태에 따라 존재 여부가 달라지므로, 화면은 항상 `_` 접두 필드를 기준으로 읽습니다. 보강 필드는 조회 응답 → 로컬 결제 레코드(`ecommerce_order_payments`) fallback → `null` 순으로 채워집니다. + +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| resultCode | string | `0000` | KG 이니시스 조회 결과 코드 (원본 응답). CBT 로컬 조회 시에는 `LOCAL_CBT` | +| resultMsg | string | `정상처리` | KG 이니시스 조회 결과 메시지 (원본 응답) | +| tid | string | `StdpayCARDSIRSOFT001202606191358...` | 거래번호(TID) | +| \_is_test_mode | boolean | `true` | 이 거래가 테스트 모드 자격증명으로 결제/조회된 거래인지 여부 | +| \_is_cbt | boolean | `true` | 일본 CBT(국가간 거래) 결제 여부. CBT 응답에만 포함 | +| \_is_local_confirmation | boolean | `true` | KG 이니시스 조회 API 가 아닌 로컬 저장 승인/입금 정보로 구성된 결과인지 여부. CBT 응답에만 포함 | +| \_local_notice | string | `CBT 거래는 한국 INIAPI 거래조회 대상이 아니므로 저장된 승인/입금 확인 정보로 표시됩니다.` | 로컬 확인 결과임을 알리는 안내 문구. CBT 응답에만 포함 | +| \_local_is_escrow | boolean | `false` | 로컬 결제 레코드(`ecommerce_order_payments.is_escrow`) 기준 에스크로 결제 여부 | +| \_pay_method | string | `Card` | KG 이니시스 결제수단 원본 코드 (`Card`/`VBank`/`DirectBank`/`HPP`/`EasyPay`/`CVS` 등) | +| \_base_pay_method_label | string | `신용카드` | 결제수단 코드의 한국어 라벨 (미매핑 시 코드 원문, 없으면 `-`) | +| \_embedded_pg_provider | string \| null | `kakaopay` | 간편결제 등에서 내부 결제사업자 코드 (없으면 `null`) | +| \_embedded_pg_provider_label | string \| null | `카카오페이` | 내부 결제사업자의 한국어 라벨 (없으면 `null`) | +| \_pay_method_label | string | `카카오페이 (신용카드)` | 화면 표시용 최종 결제수단 라벨. 내부 결제사업자가 있으면 `사업자 (기본수단)` 형태 | +| \_auth_code | string \| null | `30001234` | 승인번호 (카드 `applNum` 등) | +| \_auth_date | string \| null | `2026-06-19 13:58:55` | 승인 일시 (`YYYY-MM-DD HH:MM:SS`) | +| \_total_price | string \| null | `39000` | 결제(승인) 금액 | +| \_currency | string | `WON` | 결제 통화. KG 국내 거래는 `WON`, CBT 거래는 `JPY` 등 | +| \_moid | string \| null | `20260619-1358556131` | 주문번호(MOID) | +| \_buyer_name | string \| null | `홍길동` | 구매자 이름 | +| \_buyer_email | string \| null | `buyer@example.com` | 구매자 이메일 | +| \_buyer_tel | string \| null | `01012345678` | 구매자 연락처 | +| \_status | string \| null | `0` | KG 이니시스 거래 상태 값 (원본 `status`) | +| \_cancel_price | string \| null | `39000` | 취소 금액 (취소 이력이 있는 경우) | +| \_cancel_date | string \| null | `2026-06-20 10:12:00` | 취소 일시 | +| \_part_cancel_list | array | `[]` | 부분취소 이력 배열. 각 항목은 `price` / `date` / `msg` / `tid` | +| \_card_name | string \| null | `신한카드` | 카드사명 | +| \_card_num | string \| null | `123456******7890` | 마스킹된 카드번호 | +| \_card_code | string \| null | `03` | 카드사 코드 | +| \_card_quota | string \| null | `일시불` | 할부 개월 표시값 (`0` → `일시불`, 그 외 `N개월`) | +| \_card_interest | string \| null | `0` | 무이자 여부 원본 값 (CBT 응답에서는 항상 `null`) | +| \_vbank_num | string \| null | `56212345678901` | 가상계좌 번호 (CBT 편의점결제는 접수번호) | +| \_vbank_bank_code | string \| null | `88` | 가상계좌 은행 코드 | +| \_vbank_bank_name | string \| null | `신한(통합)은행` | 가상계좌 은행명. 미제공 시 은행 코드로 매핑 | +| \_vbank_holder | string \| null | `홍길동` | 가상계좌 예금주명 | +| \_vbank_expire_date | string \| null | `2026-06-20 08:59:59` | 가상계좌 입금 기한(KST). 로컬 `vbank_due_at` 이 있으면 그 값을 KST 로 변환해 사용 | +| \_vbank_status | string \| null | `1` | 가상계좌 입금 상태 값 | +| \_vbank_paid_at | string \| null | `2026-06-19 17:03:11` | 가상계좌 입금 완료 일시 | +| \_bank_code | string \| null | `04` | 계좌이체 은행 코드 | +| \_bank_name | string \| null | `국민은행` | 계좌이체 은행명. 미제공 시 은행 코드로 매핑 | +| \_bank_acnt_num | string \| null | `12345678901234` | 계좌이체 출금 계좌번호 | +| \_hpp_num | string \| null | `01012345678` | 휴대폰 결제 번호 | +| \_hpp_corp | string \| null | `SKT` | 휴대폰 결제 통신사 | +| \_escrow_status | string \| null | `1` | 에스크로 상태 값 | +| \_escrow_confirm | string \| null | `2026-06-21 09:00:00` | 에스크로 구매확정 일시 | +| \_inquiry_at | string | `2026-06-19 14:02:31` | 이 조회를 수행한 서버 시각 | +| \_cbt_cvs | object \| null | `null` | 일본 편의점결제(CVS) 거래일 때의 상세 상태. `status` / `last_notify_at` / `last_notify_result` / `last_notify_reason` / `last_recheck_at` / `last_recheck_result` / `expired_at` / `expiry_reason` / `notify_history`(최대 10건). CBT 응답에만 포함 | **응답 예시** - +```http +HTTP/1.1 200 +``` + +```json +{ + "success": true, + "message": "성공적으로 처리되었습니다.", + "data": { + "resultCode": "0000", + "resultMsg": "정상처리", + "tid": "StdpayCARDSIRSOFT001202606191358556131", + "_is_test_mode": true, + "_local_is_escrow": false, + "_pay_method": "Card", + "_base_pay_method_label": "신용카드", + "_embedded_pg_provider": null, + "_embedded_pg_provider_label": null, + "_pay_method_label": "신용카드", + "_auth_code": "30001234", + "_auth_date": "2026-06-19 13:58:55", + "_total_price": "39000", + "_currency": "WON", + "_moid": "20260619-1358556131", + "_buyer_name": "홍길동", + "_buyer_email": "buyer@example.com", + "_buyer_tel": "01012345678", + "_status": "0", + "_cancel_price": null, + "_cancel_date": null, + "_part_cancel_list": [], + "_card_name": "신한카드", + "_card_num": "123456******7890", + "_card_code": "03", + "_card_quota": "일시불", + "_card_interest": null, + "_vbank_num": null, + "_vbank_bank_code": null, + "_vbank_bank_name": null, + "_vbank_holder": null, + "_vbank_expire_date": null, + "_vbank_status": null, + "_vbank_paid_at": null, + "_bank_code": null, + "_bank_name": null, + "_bank_acnt_num": null, + "_hpp_num": null, + "_hpp_corp": null, + "_escrow_status": null, + "_escrow_confirm": null, + "_inquiry_at": "2026-06-19 14:02:31" + } +} +``` **에러 응답** @@ -50,6 +154,8 @@ Authorization: Bearer {YOUR_TOKEN} | --- | --- | --- | | 401 | Unauthenticated | 유효한 Bearer 토큰이 없거나 만료된 경우 | | 403 | Forbidden | 요구 권한(`sirsoft-ecommerce.orders.read`)이 없는 경우 | +| 422 | Unprocessable Entity | `tid` 가 비어 있는 경우 (`errors.tid` = `TID를 입력하세요.`) | +| 502 | Bad Gateway | KG 이니시스 조회 API 호출 실패(HTTP 오류·타임아웃 등) 시 | diff --git a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminCbtCvsOperationsController.php b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminCbtCvsOperationsController.php index e80218ef..648a2483 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminCbtCvsOperationsController.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminCbtCvsOperationsController.php @@ -35,7 +35,7 @@ class AdminCbtCvsOperationsController extends AdminBaseController ); } - return ResponseHelper::success('messages.success', $summary); + return ResponseHelper::success('common.success', $summary); } /** diff --git a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminCbtReconciliationController.php b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminCbtReconciliationController.php index ef4ae4c8..241a31fd 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminCbtReconciliationController.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminCbtReconciliationController.php @@ -28,7 +28,7 @@ class AdminCbtReconciliationController extends AdminBaseController */ public function show(string $orderNumber): JsonResponse { - return ResponseHelper::success('messages.success', $this->reconciliationService->get($orderNumber)); + return ResponseHelper::success('common.success', $this->reconciliationService->get($orderNumber)); } /** diff --git a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminCbtTestProductController.php b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminCbtTestProductController.php index 9a521c7e..c3096ec4 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminCbtTestProductController.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminCbtTestProductController.php @@ -34,7 +34,7 @@ class AdminCbtTestProductController extends AdminBaseController { try { $timestamp = now()->format('YmdHis'); - $productCode = 'CBT-TEST-' . $timestamp; + $productCode = 'CBT-TEST-'.$timestamp; // ProductService 가 currency_code 를 모듈 default_currency 로 자동 설정. // 운영 환경의 default_currency 가 JPY 이면 selling_price 가 JPY 로 해석됨. @@ -42,45 +42,45 @@ class AdminCbtTestProductController extends AdminBaseController // options 배열은 옵션 없는 상품도 default 1행 필수 — CartService 가 default option 을 // 못 찾으면 "존재하지 않는 옵션입니다" 예외를 던져 장바구니 담기가 실패한다. $product = $this->productService->create([ - 'name' => [ + 'name' => [ 'ko' => '[테스트] CBT 일본 결제', 'en' => '[Test] CBT Japan Payment', 'ja' => '[テスト] CBT 日本決済', ], - 'product_code' => $productCode, - 'sku' => 'KGINICIS-' . $productCode, - 'selling_price' => 100, // 100엔 — CBT 테스트 최소 단위 - 'list_price' => 100, + 'product_code' => $productCode, + 'sku' => 'KGINICIS-'.$productCode, + 'selling_price' => 100, // 100엔 — CBT 테스트 최소 단위 + 'list_price' => 100, 'stock_quantity' => 9999, - 'description' => [ + 'description' => [ 'ko' => 'KG 이니시스 일본 결제(CBT, JPPG) 테스트 전용 상품입니다.', 'en' => 'KG Inicis Japan Payment (CBT, JPPG) test product.', 'ja' => 'KG イニシス 日本決済 (CBT, JPPG) テスト用商品です。', ], - 'sales_status' => 'on_sale', + 'sales_status' => 'on_sale', 'display_status' => 'visible', - 'options' => [ + 'options' => [ [ - 'option_code' => 'default', - 'option_values' => [], - 'option_name' => ['ko' => '기본', 'en' => 'Default', 'ja' => 'デフォルト'], - 'stock_quantity' => 9999, - 'is_default' => true, - 'is_active' => true, + 'option_code' => 'default', + 'option_values' => [], + 'option_name' => ['ko' => '기본', 'en' => 'Default', 'ja' => 'デフォルト'], + 'stock_quantity' => 9999, + 'is_default' => true, + 'is_active' => true, ], ], ]); Log::info('KG Inicis CBT: test product created', [ - 'product_id' => $product->id, + 'product_id' => $product->id, 'product_code' => $product->product_code, ]); - return ResponseHelper::success('messages.success', [ - 'product_id' => $product->id, + return ResponseHelper::success('common.success', [ + 'product_id' => $product->id, 'product_code' => $product->product_code, - 'admin_url' => '/admin/ecommerce/products/' . $product->id . '/edit', - 'shop_url' => '/shop/products/' . $product->id . '?locale=ja', + 'admin_url' => '/admin/ecommerce/products/'.$product->id.'/edit', + 'shop_url' => '/shop/products/'.$product->id.'?locale=ja', ]); } catch (\Throwable $e) { Log::error('KG Inicis CBT: test product creation failed', [ @@ -88,7 +88,7 @@ class AdminCbtTestProductController extends AdminBaseController 'trace' => $e->getTraceAsString(), ]); - return ResponseHelper::error('messages.failed', 500, ['detail' => $e->getMessage()]); + return ResponseHelper::error('common.failed', 500, ['detail' => $e->getMessage()]); } } } diff --git a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminEscrowDeliveryController.php b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminEscrowDeliveryController.php index 6ccf5296..4cc89ca4 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminEscrowDeliveryController.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminEscrowDeliveryController.php @@ -72,7 +72,7 @@ class AdminEscrowDeliveryController extends AdminBaseController $payment = $this->findEscrowPayment($orderNumber); if (! $payment) { - return ResponseHelper::success('messages.success', null); + return ResponseHelper::success('common.success', null); } $address = DB::table('ecommerce_order_addresses as a') @@ -94,7 +94,7 @@ class AdminEscrowDeliveryController extends AdminBaseController $escrowConfirm = $meta['escrow_confirm'] ?? null; $denyConfirmed = isset($meta['escrow_deny_confirm']); - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'has_escrow_payment' => true, 'tid' => $payment->transaction_id, 'price' => (int) round((float) $payment->paid_amount_local), @@ -124,17 +124,17 @@ class AdminEscrowDeliveryController extends AdminBaseController $exCode = trim((string) $request->input('ex_code', '')); if ($invoice === '') { - return ResponseHelper::error('messages.failed', 422, ['invoice' => ['운송장번호를 입력해주세요.']]); + return ResponseHelper::error('common.failed', 422, ['invoice' => ['운송장번호를 입력해주세요.']]); } if ($exCode === '' || ! array_key_exists($exCode, self::COURIER_CODES)) { - return ResponseHelper::error('messages.failed', 422, ['ex_code' => ['택배사를 선택해주세요.']]); + return ResponseHelper::error('common.failed', 422, ['ex_code' => ['택배사를 선택해주세요.']]); } $payment = $this->findEscrowPayment($orderNumber); if (! $payment) { - return ResponseHelper::error('messages.failed', 404, null); + return ResponseHelper::error('common.failed', 404, null); } $report = in_array($request->input('report'), ['I', 'U'], true) ? $request->input('report') : 'I'; @@ -206,7 +206,7 @@ class AdminEscrowDeliveryController extends AdminBaseController 'pg_response' => $sanitizedPgResponse, ]); - return ResponseHelper::error('messages.failed', 502, [ + return ResponseHelper::error('common.failed', 502, [ 'message' => [$pgResponse['resultMsg'] ?? '배송등록에 실패했습니다.'], ]); } @@ -240,7 +240,7 @@ class AdminEscrowDeliveryController extends AdminBaseController 'ex_name' => $exName, ]); - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'result_code' => $resultCode, 'result_msg' => $pgResponse['resultMsg'] ?? 'OK', 'invoice' => $invoice, @@ -253,7 +253,7 @@ class AdminEscrowDeliveryController extends AdminBaseController 'error' => $e->getMessage(), ]); - return ResponseHelper::error('messages.failed', 500, [ + return ResponseHelper::error('common.failed', 500, [ 'message' => [$e->getMessage()], ]); } diff --git a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminEscrowDenyConfirmController.php b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminEscrowDenyConfirmController.php index defd4990..0b53e30f 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminEscrowDenyConfirmController.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminEscrowDenyConfirmController.php @@ -53,14 +53,14 @@ class AdminEscrowDenyConfirmController extends AdminBaseController $payment = $this->findEscrowPayment($orderNumber); if (! $payment) { - return ResponseHelper::error('messages.failed', 404, null); + return ResponseHelper::error('common.failed', 404, null); } $meta = $payment->payment_meta ? json_decode($payment->payment_meta, true) : []; // 이미 구매거절확인 완료된 경우 if (isset($meta['escrow_deny_confirm'])) { - return ResponseHelper::error('messages.failed', 422, [ + return ResponseHelper::error('common.failed', 422, [ 'message' => ['이미 구매거절확인이 완료되었습니다.'], ]); } @@ -91,7 +91,7 @@ class AdminEscrowDenyConfirmController extends AdminBaseController 'pg_response' => $sanitizedPgResponse, ]); - return ResponseHelper::error('messages.failed', 502, [ + return ResponseHelper::error('common.failed', 502, [ 'message' => [$pgResponse['resultMsg'] ?? '구매거절확인에 실패했습니다.'], ]); } @@ -116,7 +116,7 @@ class AdminEscrowDenyConfirmController extends AdminBaseController 'tid' => $payment->transaction_id, ]); - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'result_code' => $resultCode, 'result_msg' => $pgResponse['resultMsg'] ?? 'OK', ]); @@ -127,7 +127,7 @@ class AdminEscrowDenyConfirmController extends AdminBaseController 'error' => $e->getMessage(), ]); - return ResponseHelper::error('messages.failed', 500, [ + return ResponseHelper::error('common.failed', 500, [ 'message' => [$e->getMessage()], ]); } diff --git a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminOrderListController.php b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminOrderListController.php index 69a5acfd..31c238c9 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminOrderListController.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminOrderListController.php @@ -45,7 +45,7 @@ class AdminOrderListController extends AdminBaseController } } - return ResponseHelper::success('messages.success', $map); + return ResponseHelper::success('common.success', $map); } /** diff --git a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminSettingsStatusController.php b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminSettingsStatusController.php index a9cd5f4b..51aa9f67 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminSettingsStatusController.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminSettingsStatusController.php @@ -21,7 +21,7 @@ class AdminSettingsStatusController */ public function testMode(): JsonResponse { - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'is_test_mode' => (bool) $this->settingsService->get(self::PLUGIN_IDENTIFIER, 'is_test_mode', true), ]); } diff --git a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminTransactionController.php b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminTransactionController.php index 78deed44..a45e372a 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminTransactionController.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/AdminTransactionController.php @@ -31,7 +31,7 @@ class AdminTransactionController extends AdminBaseController $tid = trim((string) $request->input('tid', '')); if ($tid === '') { - return ResponseHelper::error('messages.failed', 422, ['tid' => ['TID를 입력하세요.']]); + return ResponseHelper::error('common.failed', 422, ['tid' => ['TID를 입력하세요.']]); } return $this->queryByTid($tid); @@ -55,7 +55,7 @@ class AdminTransactionController extends AdminBaseController ->first(); if (! $payment) { - return ResponseHelper::success('messages.success', null); + return ResponseHelper::success('common.success', null); } return $this->queryByTid($payment->transaction_id); @@ -117,7 +117,7 @@ class AdminTransactionController extends AdminBaseController is_string($embeddedPgProvider) ? $embeddedPgProvider : null, ); - return ResponseHelper::success('messages.success', $result); + return ResponseHelper::success('common.success', $result); } // 결제 시점 모드(payment_meta.is_test_mode) 가 있으면 그 모드의 inapi 자격증명으로 조회. @@ -140,14 +140,14 @@ class AdminTransactionController extends AdminBaseController is_string($embeddedPgProvider) ? $embeddedPgProvider : null, ); - return ResponseHelper::success('messages.success', $result); + return ResponseHelper::success('common.success', $result); } catch (\Exception $e) { Log::error('KG Inicis queryTransaction failed', [ 'tid' => $tid, 'error' => $e->getMessage(), ]); - return ResponseHelper::error('messages.failed', 502, null); + return ResponseHelper::error('common.failed', 502, null); } } diff --git a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/PaymentCloseReportController.php b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/PaymentCloseReportController.php index b43391c0..1be0cd63 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/PaymentCloseReportController.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/src/Controllers/PaymentCloseReportController.php @@ -43,7 +43,7 @@ class PaymentCloseReportController $rateLimitKey = $this->rateLimitKey($request, $oid); if (RateLimiter::tooManyAttempts($rateLimitKey, 20)) { - return ResponseHelper::error('messages.failed', 429, [ + return ResponseHelper::error('common.failed', 429, [ 'message' => ['Too many KG Inicis payment close reports. Please try again later.'], ]); } @@ -58,13 +58,13 @@ class PaymentCloseReportController $order = $this->orderService->findByOrderNumber($oid); if (! $order) { - return ResponseHelper::error('messages.failed', 404, [ + return ResponseHelper::error('common.failed', 404, [ 'message' => ['Order not found.'], ]); } if (! $order->order_status->isBeforePayment()) { - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'status' => 'ignored', 'reason' => 'order_not_payable', ]); @@ -76,20 +76,20 @@ class PaymentCloseReportController // 어긋나는 race 차단). failPayment 자체에도 동일 가드가 있으나, 여기서 차단해 불필요한 // 마일리지 복원 시도·결제취소 이력 기록까지 미연에 방지한다. if ($order->payment?->isPaid()) { - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'status' => 'ignored', 'reason' => 'payment_already_paid', ]); } if (strtoupper((string) $order->currency) !== 'KRW') { - return ResponseHelper::error('messages.failed', 422, [ + return ResponseHelper::error('common.failed', 422, [ 'message' => ['Standard KG Inicis close report is only available for KRW orders.'], ]); } if (! $this->requestMatchesOrderBuyer($request, $order)) { - return ResponseHelper::error('messages.failed', 403, [ + return ResponseHelper::error('common.failed', 403, [ 'message' => ['Order buyer verification failed.'], ]); } @@ -98,13 +98,13 @@ class PaymentCloseReportController 'received_amount' => $price, ]); if ($expectedPrice === null) { - return ResponseHelper::error('messages.failed', 422, [ + return ResponseHelper::error('common.failed', 422, [ 'message' => ['Payment currency is not chargeable.'], ]); } if ($price !== $expectedPrice) { - return ResponseHelper::error('messages.failed', 422, [ + return ResponseHelper::error('common.failed', 422, [ 'message' => ['Payment amount does not match the order amount.'], ]); } @@ -129,11 +129,11 @@ class PaymentCloseReportController $closeReason !== '' ? $closeReason : self::FAILURE_MESSAGE, ); - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'status' => 'recorded', ]); } catch (LockTimeoutException) { - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'status' => 'ignored', 'reason' => 'callback_in_progress', ]); diff --git a/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/AdminEscrowDeliveryController.php b/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/AdminEscrowDeliveryController.php index 5cffc760..18b02039 100644 --- a/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/AdminEscrowDeliveryController.php +++ b/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/AdminEscrowDeliveryController.php @@ -69,7 +69,7 @@ class AdminEscrowDeliveryController extends AdminBaseController $payment = $this->findEscrowPayment($orderNumber); if (! $payment) { - return ResponseHelper::success('messages.success', null); + return ResponseHelper::success('common.success', null); } $address = DB::table('ecommerce_order_addresses as a') @@ -88,7 +88,7 @@ class AdminEscrowDeliveryController extends AdminBaseController $meta = $payment->payment_meta ? json_decode($payment->payment_meta, true) : []; $escrowDelivery = $meta['escrow_delivery'] ?? null; - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'has_escrow_payment' => true, 'tno' => $payment->transaction_id, 'courier_codes' => self::COURIER_CODES, @@ -120,17 +120,17 @@ class AdminEscrowDeliveryController extends AdminBaseController $deliCorp = trim((string) $request->input('deli_corp', '')); if ($deliNumb === '') { - return ResponseHelper::error('messages.failed', 422, ['deli_numb' => ['운송장번호를 입력해주세요.']]); + return ResponseHelper::error('common.failed', 422, ['deli_numb' => ['운송장번호를 입력해주세요.']]); } if ($deliCorp === '' || ! array_key_exists($deliCorp, self::COURIER_CODES)) { - return ResponseHelper::error('messages.failed', 422, ['deli_corp' => ['택배사를 선택해주세요.']]); + return ResponseHelper::error('common.failed', 422, ['deli_corp' => ['택배사를 선택해주세요.']]); } $payment = $this->findEscrowPayment($orderNumber); if (! $payment) { - return ResponseHelper::error('messages.failed', 404, null); + return ResponseHelper::error('common.failed', 404, null); } Log::info('KCP: escrow delivery register requested', [ @@ -173,7 +173,7 @@ class AdminEscrowDeliveryController extends AdminBaseController 'courier_name' => $courierName, ]); - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'res_cd' => $pgResponse['res_cd'] ?? '0000', 'deli_numb' => $deliNumb, 'courier_name' => $courierName, @@ -185,7 +185,7 @@ class AdminEscrowDeliveryController extends AdminBaseController 'error' => $e->getMessage(), ]); - return ResponseHelper::error('messages.failed', 500, [ + return ResponseHelper::error('common.failed', 500, [ 'message' => [$e->getMessage()], ]); } diff --git a/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/AdminOrderListController.php b/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/AdminOrderListController.php index a9bcc21e..b63d60ea 100644 --- a/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/AdminOrderListController.php +++ b/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/AdminOrderListController.php @@ -59,7 +59,7 @@ class AdminOrderListController extends AdminBaseController } } - return ResponseHelper::success('messages.success', $map); + return ResponseHelper::success('common.success', $map); } /** @@ -99,6 +99,6 @@ class AdminOrderListController extends AdminBaseController ]; } - return ResponseHelper::success('messages.success', $map); + return ResponseHelper::success('common.success', $map); } } diff --git a/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/AdminSettingsStatusController.php b/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/AdminSettingsStatusController.php index 5bf03d56..5dc793f2 100644 --- a/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/AdminSettingsStatusController.php +++ b/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/AdminSettingsStatusController.php @@ -21,7 +21,7 @@ class AdminSettingsStatusController */ public function testMode(): JsonResponse { - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'is_test_mode' => (bool) $this->settingsService->get(self::PLUGIN_IDENTIFIER, 'is_test_mode', true), ]); } diff --git a/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/AdminTransactionController.php b/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/AdminTransactionController.php index 8fa43674..e41dfd5e 100644 --- a/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/AdminTransactionController.php +++ b/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/AdminTransactionController.php @@ -66,7 +66,7 @@ class AdminTransactionController extends AdminBaseController ->first(); if (! $payment) { - return ResponseHelper::success('messages.success', null); + return ResponseHelper::success('common.success', null); } $settings = $this->pluginSettingsService->get(self::PLUGIN_IDENTIFIER) ?? []; @@ -85,7 +85,7 @@ class AdminTransactionController extends AdminBaseController $cancelledAmount = (float) ($payment->cancelled_amount ?? 0); $refundAmount = $refund ? (float) ($refund->refund_amount ?? 0) : 0.0; - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'tno' => $payment->transaction_id, 'app_no' => $rawResponse['app_no'] ?? $meta['app_no'] ?? null, 'use_pay_method' => $meta['use_pay_method'] ?? $rawResponse['use_pay_method'] ?? null, diff --git a/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/PaymentCloseReportController.php b/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/PaymentCloseReportController.php index c7f7eb33..e8200ae0 100644 --- a/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/PaymentCloseReportController.php +++ b/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/PaymentCloseReportController.php @@ -40,7 +40,7 @@ class PaymentCloseReportController $rateLimitKey = $this->rateLimitKey($request, $oid); if (RateLimiter::tooManyAttempts($rateLimitKey, 20)) { - return ResponseHelper::error('messages.failed', 429, [ + return ResponseHelper::error('common.failed', 429, [ 'message' => ['Too many NHN KCP payment close reports. Please try again later.'], ]); } @@ -55,13 +55,13 @@ class PaymentCloseReportController $order = $this->orderService->findByOrderNumber($oid); if (! $order) { - return ResponseHelper::error('messages.failed', 404, [ + return ResponseHelper::error('common.failed', 404, [ 'message' => ['Order not found.'], ]); } if (! $order->order_status->isBeforePayment()) { - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'status' => 'ignored', 'reason' => 'order_not_payable', ]); @@ -73,14 +73,14 @@ class PaymentCloseReportController // 어긋나는 race 차단). failPayment 자체에도 동일 가드가 있으나 여기서 차단해 불필요한 // 결제취소 이력 기록까지 미연에 방지한다. if ($order->payment?->isPaid()) { - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'status' => 'ignored', 'reason' => 'payment_already_paid', ]); } if (! $this->requestMatchesOrderBuyer($request, $order)) { - return ResponseHelper::error('messages.failed', 403, [ + return ResponseHelper::error('common.failed', 403, [ 'message' => ['Order buyer verification failed.'], ]); } @@ -91,13 +91,13 @@ class PaymentCloseReportController 'ip' => $request->ip(), ]); if ($expectedPrice === null) { - return ResponseHelper::error('messages.failed', 422, [ + return ResponseHelper::error('common.failed', 422, [ 'message' => ['Payment currency is not chargeable.'], ]); } if ($price !== $expectedPrice) { - return ResponseHelper::error('messages.failed', 422, [ + return ResponseHelper::error('common.failed', 422, [ 'message' => ['Payment amount does not match the order amount.'], ]); } @@ -111,11 +111,11 @@ class PaymentCloseReportController $closeReason !== '' ? $closeReason : self::FAILURE_MESSAGE, ); - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'status' => 'recorded', ]); } catch (LockTimeoutException) { - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'status' => 'ignored', 'reason' => 'callback_in_progress', ]); diff --git a/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/PaymentRetryController.php b/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/PaymentRetryController.php index a5e115d4..68ac34fc 100644 --- a/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/PaymentRetryController.php +++ b/plugins/_bundled/sirsoft-pay_nhnkcp/src/Controllers/PaymentRetryController.php @@ -33,7 +33,7 @@ class PaymentRetryController $rateLimitKey = $this->rateLimitKey($request, $oid); if (RateLimiter::tooManyAttempts($rateLimitKey, 20)) { - return ResponseHelper::error('messages.failed', 429, [ + return ResponseHelper::error('common.failed', 429, [ 'message' => ['Too many NHN KCP payment retry requests. Please try again later.'], ]); } @@ -41,13 +41,13 @@ class PaymentRetryController $order = $this->orderService->findByOrderNumber($oid); if (! $order) { - return ResponseHelper::error('messages.failed', 404, [ + return ResponseHelper::error('common.failed', 404, [ 'message' => ['Order not found.'], ]); } if (! $this->requestMatchesOrderBuyer($request, $order)) { - return ResponseHelper::error('messages.failed', 403, [ + return ResponseHelper::error('common.failed', 403, [ 'message' => ['Order buyer verification failed.'], ]); } @@ -58,30 +58,30 @@ class PaymentRetryController 'ip' => $request->ip(), ]); if ($expectedPrice === null) { - return ResponseHelper::error('messages.failed', 422, [ + return ResponseHelper::error('common.failed', 422, [ 'message' => ['Payment currency is not chargeable.'], ]); } if ($price !== $expectedPrice) { - return ResponseHelper::error('messages.failed', 422, [ + return ResponseHelper::error('common.failed', 422, [ 'message' => ['Payment amount does not match the order amount.'], ]); } if ($order->order_status->isBeforePayment()) { - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'status' => 'ready', ]); } if ($this->restoreRetryableKcpOrder($order, $price)) { - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'status' => 'restored', ]); } - return ResponseHelper::error('messages.failed', 409, [ + return ResponseHelper::error('common.failed', 409, [ 'message' => ['Order is not retryable for NHN KCP payment.'], ]); } diff --git a/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminEscrowController.php b/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminEscrowController.php index 258c1b31..bb42dc48 100644 --- a/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminEscrowController.php +++ b/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminEscrowController.php @@ -45,7 +45,7 @@ class AdminEscrowController extends AdminBaseController ->where('ecommerce_order_payments.is_escrow', 1) ->get(['ecommerce_order_payments.id', 'ecommerce_order_payments.transaction_id', 'ecommerce_order_payments.payment_method', 'ecommerce_order_payments.payment_status']); - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'escrow_payments' => $payments->map(fn ($p) => [ 'id' => $p->id, 'transaction_id' => $p->transaction_id, @@ -82,7 +82,7 @@ class AdminEscrowController extends AdminBaseController try { $payment = $this->findRegisterableEscrowPayment($validated['tid']); if (! $payment) { - return ResponseHelper::error('messages.failed', 422, [ + return ResponseHelper::error('common.failed', 422, [ 'message' => ['Escrow payment not found for the requested NicePayments TID.'], ]); } @@ -103,7 +103,7 @@ class AdminEscrowController extends AdminBaseController 'tracking_number' => $validated['tracking_number'], ]); - return ResponseHelper::success('messages.success', $result); + return ResponseHelper::success('common.success', $result); } catch (\Exception $e) { return ResponseHelper::error($e->getMessage(), 502, null); } diff --git a/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminOrderListController.php b/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminOrderListController.php index 841bc581..66aadda9 100644 --- a/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminOrderListController.php +++ b/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminOrderListController.php @@ -46,7 +46,7 @@ class AdminOrderListController extends AdminBaseController } } - return ResponseHelper::success('messages.success', $map); + return ResponseHelper::success('common.success', $map); } /** @@ -86,6 +86,6 @@ class AdminOrderListController extends AdminBaseController ]; } - return ResponseHelper::success('messages.success', $map); + return ResponseHelper::success('common.success', $map); } } diff --git a/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminSettingsStatusController.php b/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminSettingsStatusController.php index 2e854622..453403bd 100644 --- a/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminSettingsStatusController.php +++ b/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminSettingsStatusController.php @@ -21,7 +21,7 @@ class AdminSettingsStatusController */ public function testMode(): JsonResponse { - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'is_test_mode' => (bool) $this->settingsService->get(self::PLUGIN_IDENTIFIER, 'is_test_mode', true), ]); } diff --git a/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminTransactionController.php b/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminTransactionController.php index 04631f52..09f099da 100644 --- a/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminTransactionController.php +++ b/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminTransactionController.php @@ -35,7 +35,7 @@ class AdminTransactionController extends AdminBaseController $tid = trim((string) $request->input('tid', '')); if ($tid === '') { - return ResponseHelper::error('messages.failed', 422, ['tid' => [__('sirsoft-pay_nicepayments::messages.errors.tid_required')]]); + return ResponseHelper::error('common.failed', 422, ['tid' => [__('sirsoft-pay_nicepayments::messages.errors.tid_required')]]); } return $this->queryByTid($tid); @@ -62,7 +62,7 @@ class AdminTransactionController extends AdminBaseController ->first(); if (!$payment) { - return ResponseHelper::success('messages.success', null); + return ResponseHelper::success('common.success', null); } return $this->queryByTid($payment->transaction_id); @@ -98,13 +98,13 @@ class AdminTransactionController extends AdminBaseController $result['_is_test_mode'] = (bool) ($meta['is_test_mode'] ?? false); } - return ResponseHelper::success('messages.success', $result); + return ResponseHelper::success('common.success', $result); } catch (\Exception $e) { Log::error('NicePayments queryTransaction failed', [ 'tid' => $tid, 'error' => $e->getMessage(), ]); - return ResponseHelper::error('messages.failed', 502, null); + return ResponseHelper::error('common.failed', 502, null); } } } diff --git a/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminVbankRefundController.php b/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminVbankRefundController.php index 6a1809ae..830f43ee 100644 --- a/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminVbankRefundController.php +++ b/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/AdminVbankRefundController.php @@ -58,7 +58,7 @@ class AdminVbankRefundController extends AdminBaseController if ($tid === '' || $moid === '' || $cancelAmt <= 0 || $refundAcctNo === '' || $refundBankCd === '' || $refundAcctNm === '') { - return ResponseHelper::error('messages.failed', 422, [ + return ResponseHelper::error('common.failed', 422, [ 'message' => __('sirsoft-pay_nicepayments::messages.errors.vbank_refund_required_fields'), ]); } @@ -110,7 +110,7 @@ class AdminVbankRefundController extends AdminBaseController 'cancel_amt' => $cancelAmt, ]); - return ResponseHelper::success('messages.success', $result); + return ResponseHelper::success('common.success', $result); } catch (\Exception $e) { Log::error('NicePayments: admin vbank refund failed', [ 'tid' => $tid, @@ -120,7 +120,7 @@ class AdminVbankRefundController extends AdminBaseController $this->markRefundFailed($claimedPayment, $e, $pgCancelled); - return ResponseHelper::error('messages.failed', 502, null); + return ResponseHelper::error('common.failed', 502, null); } } @@ -245,7 +245,7 @@ class AdminVbankRefundController extends AdminBaseController private function refundError(string $key, int $status): JsonResponse { - return ResponseHelper::error('messages.failed', $status, [ + return ResponseHelper::error('common.failed', $status, [ 'message' => __("sirsoft-pay_nicepayments::messages.errors.{$key}"), ]); } diff --git a/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/PaymentCloseReportController.php b/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/PaymentCloseReportController.php index b63757b3..ddbd0dc7 100644 --- a/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/PaymentCloseReportController.php +++ b/plugins/_bundled/sirsoft-pay_nicepayments/src/Controllers/PaymentCloseReportController.php @@ -40,7 +40,7 @@ class PaymentCloseReportController $rateLimitKey = $this->rateLimitKey($request, $oid); if (RateLimiter::tooManyAttempts($rateLimitKey, 20)) { - return ResponseHelper::error('messages.failed', 429, [ + return ResponseHelper::error('common.failed', 429, [ 'message' => ['Too many NicePayments payment close reports. Please try again later.'], ]); } @@ -48,13 +48,13 @@ class PaymentCloseReportController $order = $this->orderService->findByOrderNumber($oid); if (! $order) { - return ResponseHelper::error('messages.failed', 404, [ + return ResponseHelper::error('common.failed', 404, [ 'message' => ['Order not found.'], ]); } if (! $this->requestMatchesOrderBuyer($request, $order)) { - return ResponseHelper::error('messages.failed', 403, [ + return ResponseHelper::error('common.failed', 403, [ 'message' => ['Order buyer verification failed.'], ]); } @@ -65,13 +65,13 @@ class PaymentCloseReportController 'ip' => $request->ip(), ]); if ($expectedPrice === null) { - return ResponseHelper::error('messages.failed', 422, [ + return ResponseHelper::error('common.failed', 422, [ 'message' => ['Payment currency is not chargeable.'], ]); } if ($price !== $expectedPrice) { - return ResponseHelper::error('messages.failed', 422, [ + return ResponseHelper::error('common.failed', 422, [ 'message' => ['Payment amount does not match the order amount.'], ]); } @@ -84,25 +84,25 @@ class PaymentCloseReportController ); if (($result['status'] ?? null) === 'amount_mismatch') { - return ResponseHelper::error('messages.failed', 422, [ + return ResponseHelper::error('common.failed', 422, [ 'message' => ['Payment amount does not match the order amount.'], ]); } if (($result['status'] ?? null) === 'invalid_payment_currency') { - return ResponseHelper::error('messages.failed', 422, [ + return ResponseHelper::error('common.failed', 422, [ 'message' => ['Payment currency is not chargeable.'], ]); } if (($result['status'] ?? null) === 'ignored') { - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'status' => 'ignored', 'reason' => $result['reason'] ?? 'order_not_payable', ]); } - return ResponseHelper::success('messages.success', [ + return ResponseHelper::success('common.success', [ 'status' => 'recorded', ]); } diff --git a/plugins/_bundled/sirsoft-tosspayments/docs/api/webhook.md b/plugins/_bundled/sirsoft-tosspayments/docs/api/webhook.md index b405edfe..dc539b60 100644 --- a/plugins/_bundled/sirsoft-tosspayments/docs/api/webhook.md +++ b/plugins/_bundled/sirsoft-tosspayments/docs/api/webhook.md @@ -111,9 +111,9 @@ OK | eventType | body | string | 아니오 | max 64 | 토스 이벤트 종류 (예: `PAYMENT_STATUS_CHANGED`). | | createdAt | body | string | 아니오 | max 64 | 토스가 이벤트를 생성한 시각. | | data | body | array | 예 | — | 결제 정보 객체. `data.orderId`(주문번호)와 `data.status`(토스 결제상태)를 읽어 로컬 상태와 대조한다. | -| data.orderId | body | string | 예 | max 100 | | -| data.status | body | string | 예 | max 40 | | -| data.paymentKey | body | string | 아니오 | max 255 | | +| data.orderId | body | string | 예 | max 100 | 주문번호 (G7 `orders.order_number`). 이 값으로 주문·결제 레코드를 조회해 로컬 결제상태를 확인한다. | +| data.status | body | string | 예 | max 40 | 토스 측 결제상태 (예: `DONE`, `CANCELED`, `WAITING_FOR_DEPOSIT`). 로컬 `payments.payment_status` 와 함께 로그에 기록해 불일치를 추적한다. | +| data.paymentKey | body | string | 아니오 | max 255 | 토스 결제 키. 수신만 하며 이 엔드포인트에서 상태 전이에 사용하지 않는다. | **요청 예시** diff --git a/plugins/_bundled/sirsoft-verification_kginicis/CHANGELOG.md b/plugins/_bundled/sirsoft-verification_kginicis/CHANGELOG.md index 7a130a03..706a9b61 100644 --- a/plugins/_bundled/sirsoft-verification_kginicis/CHANGELOG.md +++ b/plugins/_bundled/sirsoft-verification_kginicis/CHANGELOG.md @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - 데이터베이스에서 일부 컬럼의 설명이 비어 있던 문제를 바로잡았습니다. 회원·작성자 등 다른 표를 가리키는 컬럼이 대상이며, 업그레이드하면 이미 운영 중인 데이터베이스에도 설명이 채워집니다(직접 적어 넣은 설명은 그대로 둡니다). - 사이트 언어를 바꾼 뒤에는 「본인확인 시작」을 눌러도 인증창이 열리지 않던 문제를 수정했습니다. 아무 반응도 오류 안내도 없어 원인을 알기 어려운 증상이었으며, 페이지를 새로 고치면 정상 동작했습니다. +- 본인인증 결과를 조회한 뒤 표시되는 안내 문구가 번역된 문장 대신 내부 식별자가 그대로 보이던 문제를 수정했습니다. 이제 사용 중인 언어에 맞는 안내 문구가 표시됩니다. ## [1.0.1] - 2026-07-14 diff --git a/plugins/_bundled/sirsoft-verification_kginicis/docs/api/identity.md b/plugins/_bundled/sirsoft-verification_kginicis/docs/api/identity.md index 73bd5d3c..4ed88018 100644 --- a/plugins/_bundled/sirsoft-verification_kginicis/docs/api/identity.md +++ b/plugins/_bundled/sirsoft-verification_kginicis/docs/api/identity.md @@ -38,9 +38,19 @@ Authorization: Bearer {YOUR_TOKEN} **응답 필드** (`data` 내부) +_단건 응답: `data` 객체의 필드. 본인확인 record 가 없는 사용자는 `data` 가 `null` 이다(컨트롤러가 `ResponseHelper::success('messages.success', null)` 로 분기)._ +| 필드 | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| method | string | `"KG이니시스 본인확인"` | 본인확인 수단 표시 라벨 (Resource 고정 문자열) | +| verified_at | string\|null | `"2026-07-01 14:22:10"` | 최종 본인확인 시각 (`Y-m-d H:i:s`). 재인증 이력이 있으면 `re_verified_at`, 없으면 최초 `verified_at` | +| name_masked | string | `"홍**"` | 마스킹된 실명 (첫 글자 + 나머지 `*`) | +| birthday_masked | string | `"1990-**-**"` | 마스킹된 생년월일 (연도 4자리만 노출) | +| phone_masked | string | `"010-****-5678"` | 마스킹된 휴대폰 번호 (앞 3자리 + 뒤 4자리) | +| is_adult | boolean | `true` | 성인 여부 (생년월일 기반 만 19세 이상 자동 계산값) | +| is_foreigner | boolean | `false` | 외국인 여부 (이니시스 `isForeign`) | - +`di`/`ci`/`ci2` 등 동일인 식별값과 평문 PII 는 응답에 포함하지 않는다. `InicisIdentityResource` 는 `resourceMeta()` 를 spread 하지 않으므로 `is_owner`/`abilities` 메타도 포함되지 않는다. **응답 예시** @@ -53,7 +63,7 @@ HTTP/1.1 200 ```json { "success": true, - "message": "messages.success", + "message": "성공적으로 처리되었습니다.", "data": null } ``` @@ -85,7 +95,7 @@ HTTP/1.1 200 | is_adult | boolean | `true` | 성인 여부(연령 게이팅 판정에 사용). | | is_foreigner | boolean | `false` | 외국인 여부. | - 이 외에 `BaseApiResource` 공통 메타 `is_owner`(항상 본인이므로 `true`) + `abilities` 가 함께 붙는다. + `InicisIdentityResource` 는 `BaseApiResource` 를 상속하지만 `resourceMeta()` 를 spread 하지 않으므로 `is_owner`/`abilities` 메타 필드는 응답에 포함되지 않는다(대상이 항상 본인이며 조회 전용이라 불필요). - **응답 예시 주의**: 실측 시 샘플 사용자에게 본인인증 record 가 없어 `data: null`(record 없음) 응답만 관측된다. 아래 두 응답 예시 중 "record 존재 시" 는 `InicisIdentityResource` 구조 기준 정적 작성이다. 실제 record 가 있는 사용자로 실측하면 마스킹된 본인확인 정보가 채워진다. **응답 예시** (record 존재 시 — 정적, `InicisIdentityResource` 구조 기준) @@ -93,6 +103,7 @@ HTTP/1.1 200 ```json { "success": true, + "message": "성공적으로 처리되었습니다.", "data": { "method": "KG이니시스 본인확인", "verified_at": "2026-07-01 14:22:10", @@ -100,12 +111,8 @@ HTTP/1.1 200 "birthday_masked": "1990-**-**", "phone_masked": "010-****-5678", "is_adult": true, - "is_foreigner": false, - "is_owner": true, - "abilities": {} - }, - "message": "성공적으로 처리되었습니다.", - "error": null + "is_foreigner": false + } } ``` @@ -114,9 +121,8 @@ HTTP/1.1 200 ```json { "success": true, - "data": null, "message": "성공적으로 처리되었습니다.", - "error": null + "data": null } ``` diff --git a/plugins/_bundled/sirsoft-verification_kginicis/docs/api/plugin.md b/plugins/_bundled/sirsoft-verification_kginicis/docs/api/plugin.md index e7831c4d..ba1036d7 100644 --- a/plugins/_bundled/sirsoft-verification_kginicis/docs/api/plugin.md +++ b/plugins/_bundled/sirsoft-verification_kginicis/docs/api/plugin.md @@ -37,19 +37,55 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투를 반환하지 않습니다. 이니시스 STEP2 콜백을 처리한 뒤 `302 Found` 로 popup-bridge 페이지(`GET /plugins/sirsoft-verification_kginicis/plugin/inicis/popup-bridge`)로 redirect 하며, 처리 결과는 아래 query string 으로 전달됩니다 (`InicisCallbackOutcome::toBridgeQuery()`)._ + +| 필드 (query) | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| verification_token | string | `9f1c...` (1회용 토큰) | 성공 시에만 부착. 코어 verify 결과 claims 의 `verification_token` — 후속 폼 제출에 첨부해 본인인증 완료를 증명 | +| challenge_id | string (uuid) | `1f2a3b4c-...` | 성공 시에만 부착. mTxId 로 매칭된 본인인증 challenge UUID | +| identity_error | string | `NOT_FOUND` | 실패 시에만 부착. 실패 코드 (아래 에러 응답 표 참조) | **응답 예시** - +```http +HTTP/1.1 302 Found +Location: https://api.example.com/plugins/sirsoft-verification_kginicis/plugin/inicis/popup-bridge?verification_token=9f1c8a2e6b5d4c3f&challenge_id=1f2a3b4c-5d6e-7f80-9a1b-2c3d4e5f6a7b +``` + +실패 시: + +```http +HTTP/1.1 302 Found +Location: https://api.example.com/plugins/sirsoft-verification_kginicis/plugin/inicis/popup-bridge?identity_error=NOT_FOUND +``` **에러 응답** -_대표 에러 없음 (공개 조회). _ +이 엔드포인트는 HTTP 에러 상태코드를 반환하지 않고, 항상 `302` 로 redirect 하면서 `identity_error` query 에 실패 코드를 실어 보냅니다 (`InicisCallbackResolver::resolve()`). + +| identity_error | 발생 조건 | +| --- | --- | +| 이니시스 `resultCode` 원문 (예: `9999`) | 콜백의 `resultCode` 가 `0000` 이 아닌 경우 — 이니시스가 보고한 실패 코드를 그대로 전달 | +| `PROVIDER_ERROR` | `resultCode` 가 `0000` 이 아니고 값도 비어 있는 경우 | +| `INVALID_AUTH_URL` | `authRequestUrl` 이 허용된 이니시스 도메인이 아닌 경우 (위조 도메인 차단) | +| `REMOTE_CALL_FAILED` | STEP3(`authRequestUrl`) 호출이 통신 오류/비정상 응답으로 실패한 경우 | +| `DECRYPT_FAILED` | STEP3 응답의 SEED 암호화 필드 복호화에 실패한 경우 | +| `NOT_FOUND` | STEP3 응답의 `mTxId` 로 challenge 매핑을 찾지 못한 경우 | +| `ALREADY_CONSUMED` | 해당 challenge 가 이미 소비(사용)된 경우 | +| 코어 verify 실패 코드 / `UNKNOWN` | 코어 `IdentityVerificationService::handleProviderCallback()` 이 실패를 반환한 경우 (`failureCode` 그대로, 없으면 `UNKNOWN`) | -**설명** +**설명** + +이니시스 본인인증 매뉴얼 STEP2 콜백 수신 엔드포인트입니다. 이니시스 인증창이 인증을 마치면 이 URL 로 form POST 를 보내며(`resultCode`, `authRequestUrl`, `txId`, `token` 등), 컨트롤러는 이를 `InicisCallbackResolver` 에 그대로 위임합니다. Resolver 는 STEP3(`authRequestUrl`) 를 호출해 인증 결과를 받아 SEED 복호화하고, 응답의 `mTxId` 로 challenge 를 매칭한 뒤 코어 IDV Service 에 verify 를 위임합니다. + +주의사항: + +- 외부 PG 가 호출하므로 CSRF 검증이 면제되어 있고, 인증(로그인)도 필요하지 않습니다. +- 이니시스가 challenge_id 를 콜백에 echo 하지 않기 때문에 코어 표준 콜백 라우트(`POST /api/identity/callback/{providerId}`)를 사용하지 않고 이 전용 라우트를 둡니다. challenge 매칭은 `mTxId` ↔ 매핑 테이블로 수행합니다. +- 외부 PG 가 보내는 임의 필드를 차단하지 않기 위해 FormRequest 검증을 두지 않습니다 (raw form POST 를 그대로 전달). +- 사용자 브라우저가 직접 따라가는 redirect 이므로 응답은 항상 302 이며, 실패도 HTTP 에러가 아닌 `identity_error` query 로 표현됩니다. ### GET /plugins/sirsoft-verification_kginicis/plugin/inicis/popup-bridge @@ -72,18 +108,60 @@ Accept: application/json **응답 필드** (`data` 내부) - +_이 엔드포인트는 JSON 봉투(`data`)를 반환하지 않습니다. `200 OK` + `Content-Type: text/html; charset=UTF-8` 로 브라우저에서 실행되는 bridge HTML 페이지를 반환합니다. 페이지 스크립트에 주입되는 payload 필드는 다음과 같습니다._ + +| 필드 (script payload) | 타입 | 실측 예시값 | 용도/설명 | +| --- | --- | --- | --- | +| verification_token | string | `9f1c8a2e6b5d4c3f` | 성공 토큰. 값이 없으면 빈 문자열(`""`) | +| challenge_id | string (uuid) | `1f2a3b4c-5d6e-7f80-9a1b-2c3d4e5f6a7b` | challenge UUID. 값이 없으면 빈 문자열(`""`) | +| identity_error | string | `NOT_FOUND` | 실패 코드. 값이 없으면 빈 문자열(`""`) | **응답 예시** - +```http +HTTP/1.1 200 OK +Content-Type: text/html; charset=UTF-8 +``` + +```html + + + + + + 본인인증 결과 + + + + + +``` **에러 응답** -_대표 에러 없음 (공개 조회). _ +_에러 응답 없음 — 인증/검증이 없고 query 파라미터가 모두 선택이므로, 어떤 요청에도 `200 OK` + bridge HTML 을 반환합니다. 본인인증 실패는 HTTP 에러가 아니라 `identity_error` query 로 전달되어 페이지 스크립트가 처리합니다._ -**설명** +**설명** + +이니시스 본인인증 매뉴얼 STEP4 결과 전달 페이지입니다. callback 컨트롤러가 302 redirect 로 넘긴 query(`verification_token` / `challenge_id` / `identity_error`)를 받아, 사용자 브라우저 환경에 따라 두 가지로 분기하는 HTML 을 반환합니다. + +- 데스크톱(팝업, `window.opener` 존재): 부모창에 `postMessage({ type: 'identity_result', verification_token, challenge_id, identity_error })` 를 same-origin 으로 전송한 뒤 팝업을 닫습니다. +- 모바일(`window.opener` 부재): `sessionStorage` 의 `g7.identity.redirectStash` 에 저장된 `return_url` 을 복원하고, 성공이면 `verification_token`, 실패면 `identity_error` 를 query 로 붙여 원래 페이지로 이동합니다. stash 가 없으면 `/` 로 이동합니다. + +주의사항: + +- 페이지에 주입되는 payload 는 `JSON_HEX_TAG|JSON_HEX_AMP|JSON_HEX_APOS|JSON_HEX_QUOT` 로 인코딩되어 script 컨텍스트에서 안전합니다. +- `sessionStorage` 키는 코어 IDV launcher 의 `IDENTITY_REDIRECT_STASH_KEY` 와 동일해야 복원이 동작합니다 (폼 값 복원인 formStash 처리는 launcher 책임). +- 이 URL 은 사용자가 직접 호출하는 API 가 아니라 callback 의 redirect 목적지입니다. diff --git a/plugins/_bundled/sirsoft-verification_kginicis/src/Http/Controllers/MyInicisIdentityShowController.php b/plugins/_bundled/sirsoft-verification_kginicis/src/Http/Controllers/MyInicisIdentityShowController.php index 873b2bfb..5db3de4e 100644 --- a/plugins/_bundled/sirsoft-verification_kginicis/src/Http/Controllers/MyInicisIdentityShowController.php +++ b/plugins/_bundled/sirsoft-verification_kginicis/src/Http/Controllers/MyInicisIdentityShowController.php @@ -38,11 +38,11 @@ class MyInicisIdentityShowController extends AuthBaseController $record = $this->cardService->findForUser((int) Auth::id()); if ($record === null) { - return ResponseHelper::success('messages.success', null); + return ResponseHelper::success('common.success', null); } return ResponseHelper::success( - 'messages.success', + 'common.success', (new InicisIdentityResource($record))->resolve(), ); } diff --git a/tests/Feature/Api/Identity/IdentityChallengeShowTest.php b/tests/Feature/Api/Identity/IdentityChallengeShowTest.php index 9f7b45c0..21e46160 100644 --- a/tests/Feature/Api/Identity/IdentityChallengeShowTest.php +++ b/tests/Feature/Api/Identity/IdentityChallengeShowTest.php @@ -36,6 +36,10 @@ class IdentityChallengeShowTest extends TestCase $response->assertStatus(404); } + /** + * @scenario source=identity-challenge-status-field-exposure axis=field:id,field:status,field:public_payload + * @effects public_safe_fields_present_in_response + */ public function test_show_returns_public_status_fields(): void { // start a challenge @@ -55,6 +59,10 @@ class IdentityChallengeShowTest extends TestCase ->assertJsonPath('data.id', $id); } + /** + * @scenario source=identity-challenge-status-field-exposure axis=field:attempts,field:max_attempts,field:target_hash + * @effects attempts_absent_from_response, max_attempts_absent_from_response, target_hash_absent_from_response, verification_token_absent_from_response, metadata_absent_from_response + */ public function test_show_does_not_expose_sensitive_fields(): void { $request = $this->postJson('/api/identity/challenges', [ @@ -65,8 +73,10 @@ class IdentityChallengeShowTest extends TestCase $response = $this->getJson("/api/identity/challenges/{$id}"); - // 시도 횟수·코드 본체·target_hash·verification_token 등 노출 금지 + // 시도 횟수(attempts / max_attempts)·코드 본체·target_hash·verification_token 등 노출 금지. + // 이 엔드포인트는 권한 가드 없는 공개 폴링용이므로 남은 시도 횟수를 추론할 단서를 응답에 담지 않는다. $response->assertJsonMissingPath('data.attempts') + ->assertJsonMissingPath('data.max_attempts') ->assertJsonMissingPath('data.target_hash') ->assertJsonMissingPath('data.verification_token') ->assertJsonMissingPath('data.metadata'); diff --git a/tests/Feature/Console/ApiDocgenCommandTest.php b/tests/Feature/Console/ApiDocgenCommandTest.php index 3ca6d539..4a6b1002 100644 --- a/tests/Feature/Console/ApiDocgenCommandTest.php +++ b/tests/Feature/Console/ApiDocgenCommandTest.php @@ -219,6 +219,54 @@ class ApiDocgenCommandTest extends TestCase } } + /** + * (e-2) --check 는 실측 제외를 drift 로 보지 않습니다. + * + * 회귀: `--check` 가 `skipped_reason` 이 있는 엔드포인트(쓰기 메서드·부수효과·미치환 path)를 + * 전부 drift 로 집계해 **항상 FAILURE** 를 반환했다. 실측 제외는 설계상 정상 동작이며 + * (부수효과 쓰기는 의도적으로 호출하지 않는다), 그 자리는 사람이 코드 근거로 채운다. + * 실측 제외를 결함으로 세면 문서가 완전해도 통과할 수 없어 기준이 무의미해진다. + * + * drift 판정 대상은 (1) 문서 파일 부재 (2) 미채움 마커 잔존 두 가지다. + */ + #[Test] + public function check는_실측제외를_drift로_보지_않는다(): void + { + // 문서가 완비된 확장(미채움 0건)에서 --check 는 성공해야 한다. + // ckeditor5 는 엔드포인트 2건 모두 실측 제외(unresolved-path-param / side-effectful-write)지만 + // 사람이 응답 필드/예시를 채워 두었으므로 문서 자체는 완전하다. + $this->artisan('api:docgen', ['--scope' => 'plugin:sirsoft-ckeditor5', '--check' => true]) + ->assertSuccessful(); + } + + /** + * (e-3) --check 는 미채움 마커가 남아 있으면 drift 로 검출합니다. + */ + #[Test] + public function check는_미채움_마커_잔존을_drift로_검출한다(): void + { + $target = base_path('plugins/_bundled/sirsoft-ckeditor5/docs/api/upload.md'); + + if (! File::exists($target)) { + $this->markTestSkipped('대상 문서 없음'); + } + + $backup = File::get($target); + + try { + // 사람이 채운 응답 필드 자리를 미채움 마커로 되돌린다. + File::put( + $target, + $backup."\n\n" + ); + + $this->artisan('api:docgen', ['--scope' => 'plugin:sirsoft-ckeditor5', '--check' => true]) + ->assertFailed(); + } finally { + File::put($target, $backup); + } + } + /** * README 목차 항목/확장 목록 샘플을 반환합니다. * diff --git a/tests/Unit/Helpers/ResponseHelperTest.php b/tests/Unit/Helpers/ResponseHelperTest.php index ff1f9bd7..93fa3342 100644 --- a/tests/Unit/Helpers/ResponseHelperTest.php +++ b/tests/Unit/Helpers/ResponseHelperTest.php @@ -248,8 +248,8 @@ class ResponseHelperTest extends TestCase /** * 깊은 호출 스택의 예외를 생성합니다. * - * @param int $depth 호출 깊이 - * @return \RuntimeException + * @param int $depth 호출 깊이 + * @return \RuntimeException 생성된 예외 */ private function createDeepException(int $depth): \RuntimeException { @@ -294,4 +294,74 @@ class ResponseHelperTest extends TestCase $this->assertSame('欢迎', $data['message']); } + + /** + * 회귀: 기본 메시지 키가 실제로 번역되어야 한다. + * + * `messages.success` 는 `lang/{ko,en}/messages.php` 가 존재하지 않아 번역되지 않았고, + * `__()` 가 미해석 키 문자열을 그대로 반환해 API 응답에 `"message": "messages.success"` 가 + * 그대로 나갔다 (코어 7곳 + gdpr/marketing/pay_kginicis/verification_kginicis 등 43개 호출). + * 정상 키는 `common.success` 다 (ko: "성공적으로 처리되었습니다." / en: "Successfully processed."). + */ + public function test_default_success_message_key_is_translated(): void + { + foreach (['ko', 'en'] as $locale) { + App::setLocale($locale); + + $data = ResponseHelper::success()->getData(true); + + $this->assertNotSame( + 'messages.success', + $data['message'], + "[{$locale}] 기본 메시지 키가 번역되지 않고 키 문자열 그대로 응답에 나갔다" + ); + + // 미해석 lang 키는 `도메인.키` 형태 그대로 반환된다 (공백 없는 dot notation). + // 번역문은 문장이므로 공백을 포함한다. + $this->assertDoesNotMatchRegularExpression( + '/^[a-z_]+(\.[a-z_]+)+$/', + $data['message'], + "[{$locale}] 번역문이 아니라 미해석 lang 키로 보인다: {$data['message']}" + ); + } + } + + /** + * 회귀: 코드베이스에 미해석 lang 키(`messages.success`)를 넘기는 호출이 없어야 한다. + * + * ResponseHelper 기본값만 고치면 명시적으로 그 키를 넘기던 호출부는 여전히 미해석 키를 낸다. + */ + public function test_no_caller_passes_unresolvable_messages_success_key(): void + { + $roots = array_filter([ + base_path('app'), + ...glob(base_path('modules/_bundled/*/src')), + ...glob(base_path('plugins/_bundled/*/src')), + ], 'is_dir'); + + $offenders = []; + + foreach ($roots as $root) { + $files = new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($root)); + + foreach ($files as $file) { + if (! $file->isFile() || $file->getExtension() !== 'php') { + continue; + } + + $content = (string) file_get_contents($file->getPathname()); + + if (str_contains($content, "'messages.success'")) { + $offenders[] = str_replace(base_path().DIRECTORY_SEPARATOR, '', $file->getPathname()); + } + } + } + + $this->assertSame( + [], + $offenders, + "번역되지 않는 'messages.success' 키를 넘기는 호출이 남아 있다 (정상 키: 'common.success'):\n - " + .implode("\n - ", $offenders) + ); + } } diff --git a/tests/Unit/Support/ApiDoc/ApiDocPipelineTest.php b/tests/Unit/Support/ApiDoc/ApiDocPipelineTest.php index 5d67291c..47c9676e 100644 --- a/tests/Unit/Support/ApiDoc/ApiDocPipelineTest.php +++ b/tests/Unit/Support/ApiDoc/ApiDocPipelineTest.php @@ -1763,7 +1763,7 @@ MD; // 사람이 도메인 특이 에러 표를 직접 채운다. $humanTable = "| 상태코드 | 의미 | 발생 조건 |\n" ."| --- | --- | --- |\n" - ."| 429 | Too Many Requests | 동일 IP 에서 분당 10회를 초과해 요청한 경우 |"; + .'| 429 | Too Many Requests | 동일 IP 에서 분당 10회를 초과해 요청한 경우 |'; $withTable = str_replace( '_대표 에러 없음 (공개 조회). _', $humanTable, @@ -1806,4 +1806,243 @@ MD; $this->assertStringContainsString('/api/admin/brands/{brand}', $block); $this->assertStringNotContainsString('/api/admin/brands/1', $block); } + + #[Test] + public function 같은_라우트명의_ge_t_pos_t_는_서로_다른_생성블록_키를_갖는다(): void + { + // 회귀: Route::match(['get','post'], ...)->name('x') 는 하나의 라우트명으로 두 메서드를 + // 등록한다(KG이니시스 CBT/모바일 콜백). 생성 블록 키가 라우트명뿐이면 한 문서에 같은 + // `@generated:start:x` 가 두 번 나오고, strpos 기반 블록 조회가 언제나 첫 블록만 잡아 + // 두 번째(POST) 블록의 사람 서술이 재생성마다 유실된다. + // (실측: pay_kginicis payment.md 의 body 파라미터 용도 12건) + $scaffolder = new ApiDocScaffolder; + + $base = [ + 'uri' => '/plugins/sirsoft-pay_kginicis/payment/cbt/callback', + 'name' => 'web.plugins.sirsoft-pay_kginicis.payment.cbt.callback', + 'controller' => 'C', 'controller_method' => 'handle', 'permission' => null, + 'middleware' => ['web'], 'path_params' => [], + ]; + $request = ['request_class' => null, 'params' => [], 'hook_filters' => []]; + $schema = ['envelope' => ['data'], 'shape' => 'object', 'pagination' => false, + 'fields' => [['name' => 'status', 'type' => 'string', 'sample' => 'ok']]]; + $probe = ['status' => 200, 'skipped_reason' => null]; + + // 라우트명이 문서 안에서 중복이면 커맨드가 methodScopedKey=true 로 호출한다. + $get = $scaffolder->endpointSection(['method' => 'GET'] + $base, $request, $schema, $probe, [], true); + $post = $scaffolder->endpointSection(['method' => 'POST'] + $base, $request, $schema, $probe, [], true); + + $extractKey = static fn (string $s): string => (string) preg_replace( + '/^.*.*$/s', '$1', explode("\n", $s)[1] + ); + + $this->assertNotSame( + $extractKey($get), + $extractKey($post), + '같은 라우트명이라도 메서드가 다르면 생성 블록 키가 달라야 한다' + ); + + // 스캐폴더의 키 생성기는 커맨드가 쓰는 섹션 키와 동일해야 한다 (mergeDocument 대조 키). + $this->assertSame($extractKey($get), $scaffolder->generatedKey(['method' => 'GET'] + $base, true)); + $this->assertSame($extractKey($post), $scaffolder->generatedKey(['method' => 'POST'] + $base, true)); + + // 중복이 아닌 라우트는 키를 그대로 둔다 (전 문서 키 변경 시 사람 서술 유실 방지). + $this->assertSame($base['name'], $scaffolder->generatedKey(['method' => 'GET'] + $base)); + } + + #[Test] + public function 같은_라우트명_두_메서드의_사람_서술이_각각_보존된다(): void + { + // 위 키 고유화가 실제 보존으로 이어지는지 — GET/POST 두 블록의 파라미터 용도가 + // 서로 섞이거나 유실되지 않고 각자 자리에 되살아나야 한다. + $scaffolder = new ApiDocScaffolder; + + $base = [ + 'uri' => '/plugins/sirsoft-pay_kginicis/payment/cbt/callback', + 'name' => 'web.plugins.sirsoft-pay_kginicis.payment.cbt.callback', + 'controller' => 'C', 'controller_method' => 'handle', 'permission' => null, + 'middleware' => ['web'], 'path_params' => [], + ]; + $schema = ['envelope' => ['data'], 'shape' => 'object', 'pagination' => false, + 'fields' => [['name' => 'status', 'type' => 'string', 'sample' => 'ok']]]; + $probe = ['status' => 200, 'skipped_reason' => null]; + + // GET 은 query, POST 는 body 로 같은 이름의 파라미터를 받는다 (실제 콜백 계약). + $getRequest = ['request_class' => null, 'hook_filters' => [], 'params' => [ + ['name' => 'sid', 'location' => 'query', 'type' => 'string', 'required' => false, 'allowed' => '—'], + ]]; + $postRequest = ['request_class' => null, 'hook_filters' => [], 'params' => [ + ['name' => 'sid', 'location' => 'body', 'type' => 'string', 'required' => false, 'allowed' => '—'], + ]]; + + $getSection = $scaffolder->endpointSection(['method' => 'GET'] + $base, $getRequest, $schema, $probe, [], true); + $postSection = $scaffolder->endpointSection(['method' => 'POST'] + $base, $postRequest, $schema, $probe, [], true); + + // 사람이 두 블록의 용도를 각각 채운 기존 문서 + $existing = "# 결제\n\n" + .str_replace('', 'GET 콜백의 세션 ID', $getSection)."\n" + .str_replace('', 'POST 콜백의 세션 ID', $postSection)."\n"; + + $merged = $scaffolder->mergeDocument( + $existing, + '# 결제', + [$getSection, $postSection], + [ + $scaffolder->generatedKey(['method' => 'GET'] + $base, true), + $scaffolder->generatedKey(['method' => 'POST'] + $base, true), + ], + ); + + $this->assertStringContainsString('GET 콜백의 세션 ID', $merged); + $this->assertStringContainsString('POST 콜백의 세션 ID', $merged, 'POST 블록의 사람 서술이 유실되면 안 된다'); + $this->assertStringNotContainsString('', $merged); + } + + #[Test] + public function 사람이_응답_필드_라벨을_고쳐도_채운_본문을_보존한다(): void + { + // 회귀: 봉투(`success`/`message`/`data`)를 쓰지 않고 JSON 을 root 에 그대로 내리는 + // 엔드포인트(LayoutPreviewController@serve 등)에서는 `**응답 필드** (`data` 내부)` 라벨이 + // 사실과 다르다. 사람이 이를 `**응답 필드**` 로 정정하면, 라벨 정확 일치를 요구하던 + // 보존 로직이 기존 본문을 찾지 못해 사람이 채운 내용이 통째로 마커로 퇴행했다. + // (실측: docs/backend/api/layouts.md 의 미리보기 서빙 응답 필드 표) + $scaffolder = new ApiDocScaffolder; + + $route = [ + 'method' => 'GET', 'uri' => '/api/layouts/{name}', 'name' => 'api.layouts.preview', + 'controller' => 'C', 'controller_method' => 'serve', 'permission' => null, + 'middleware' => ['api', 'optional.sanctum'], 'path_params' => ['name'], + ]; + $request = ['request_class' => null, 'params' => [], 'hook_filters' => []]; + $schema = ['envelope' => [], 'shape' => 'object', 'fields' => [], 'pagination' => false]; + + // 실측 불가(unresolved-path-param) → 응답 필드 자리에 마커만 생성된다. + $section = $scaffolder->endpointSection($route, $request, $schema, ['status' => null, 'skipped_reason' => 'unresolved-path-param']); + $this->assertStringContainsString('실측 응답에 필드 없음', $section, '마커 생성 전제 확인'); + + // 사람이 라벨을 정정하고(`(data 내부)` 제거) 본문을 서술로 채운 기존 문서. + // 표가 아니라 서술이므로 applyPreservedTableCells 의 행 키 대조로는 지켜지지 않는다 — + // 오직 라벨로 본문 구간을 찾는 applyPreservedResponseBodies 만이 이를 되살릴 수 있고, + // 라벨 정확 일치만 보면 사람이 고친 라벨 때문에 구간을 못 찾아 마커로 퇴행한다. + $filled = str_replace('**응답 필드** (`data` 내부)', '**응답 필드**', $section); + $filled = preg_replace( + '/_단건 응답[^\n]*_\n\n/', + '_이 엔드포인트는 봉투를 사용하지 않고 레이아웃 JSON 을 root 에 그대로 반환합니다._', + $filled + ); + $this->assertStringNotContainsString('실측 응답에 필드 없음', $filled, '테스트 픽스처가 마커를 실제로 대체했는지 확인'); + + $existing = "# 레이아웃\n\n".$filled; + + $merged = $scaffolder->mergeDocument($existing, '# 레이아웃', [$section], ['api.layouts.preview']); + + $this->assertStringContainsString('봉투를 사용하지 않고', $merged, '라벨을 고친 문서의 사람 본문이 보존되어야 한다'); + $this->assertStringNotContainsString('실측 응답에 필드 없음', $merged, '사람 본문이 마커로 퇴행하면 안 된다'); + } + + #[Test] + public function 에러_응답_자리의_사람_서술은_대표_에러_없음_초안에_덮이지_않는다(): void + { + // 회귀: 자동 추론이 에러 행을 하나도 만들지 못하는 공개 조회 엔드포인트는 + // `_대표 에러 없음 (공개 조회). _` 초안을 낸다. 사람이 그 자리를 + // "이 엔드포인트는 도메인 에러를 반환하지 않습니다 (근거...)" 같은 서술로 채우면, + // 표 행이 없으므로 errorTableRows() 가 빈 배열을 반환해 보존이 건너뛰어지고 + // 재생성 때마다 TODO 초안으로 퇴행한다. (실측: locales.md / modules.md / plugins.md) + $scaffolder = new ApiDocScaffolder; + + $route = [ + 'method' => 'GET', 'uri' => '/api/locales', 'name' => 'api.locales.index', + 'controller' => 'C', 'controller_method' => 'index', 'permission' => null, + 'middleware' => ['api'], 'path_params' => [], + ]; + $request = ['request_class' => null, 'params' => [], 'hook_filters' => []]; + $schema = ['envelope' => ['data'], 'shape' => 'collection', 'pagination' => false, + 'fields' => [['name' => 'code', 'type' => 'string', 'sample' => 'ko']]]; + + $section = $scaffolder->endpointSection($route, $request, $schema, ['status' => 200, 'skipped_reason' => null]); + $this->assertStringContainsString('대표 에러 없음', $section, '자동 초안 전제 확인'); + + $prose = '_이 엔드포인트는 도메인 에러를 반환하지 않습니다. 공개 조회이므로 인증 실패(401)가 없습니다._'; + $filled = preg_replace('/_대표 에러 없음[^\n]*_/', $prose, $section); + $existing = "# 로케일\n\n".$filled; + + $merged = $scaffolder->mergeDocument($existing, '# 로케일', [$section], ['api.locales.index']); + + $this->assertStringContainsString('도메인 에러를 반환하지 않습니다', $merged, '사람이 쓴 에러 서술이 보존되어야 한다'); + $this->assertStringNotContainsString('대표 에러 없음', $merged, '사람 서술이 자동 초안으로 퇴행하면 안 된다'); + } + + #[Test] + public function crl_f_문서에서도_사람이_채운_표_셀을_보존한다(): void + { + // 회귀: Windows 체크아웃(core.autocrlf=true)에서 문서가 CRLF 로 저장되면 + // parseTableRow 의 `str_ends_with($line, ' |')` 가드가 줄 끝 \r 때문에 전부 실패해 + // 표 셀 보존이 통째로 무력화된다 → 사람이 채운 설명이 재생성 때마다 TODO 로 퇴행. + // (실측: docs/backend/api/notifications.md 의 응답 필드 설명 10건 유실) + $scaffolder = new ApiDocScaffolder; + + $route = [ + 'method' => 'GET', 'uri' => '/api/admin/notifications', 'name' => 'api.admin.notifications.index', + 'controller' => 'C', 'controller_method' => 'index', 'permission' => null, + 'middleware' => ['api', 'auth:sanctum'], 'path_params' => [], + ]; + $request = ['request_class' => null, 'params' => [], 'hook_filters' => []]; + $schema = [ + 'envelope' => ['data'], 'shape' => 'collection', 'pagination' => false, + 'fields' => [['name' => 'type', 'type' => 'string', 'sample' => 'new_order_admin']], + ]; + + $section = $scaffolder->endpointSection($route, $request, $schema, ['status' => 200, 'skipped_reason' => null]); + + // 사람이 설명을 채운 기존 문서를 CRLF 로 구성한다. + $filled = str_replace( + '', + '알림 유형 식별자 (알림 정의의 type)', + $section + ); + $existingCrlf = str_replace("\n", "\r\n", "# 알림\n\n".$filled); + + $merged = $scaffolder->mergeDocument( + $existingCrlf, + '# 알림', + [$section], + ['api.admin.notifications.index'], + ); + + $this->assertStringContainsString('알림 유형 식별자', $merged, 'CRLF 문서의 사람 서술이 보존되어야 한다'); + $this->assertStringNotContainsString('', $merged, '보존된 셀이 TODO 로 퇴행하면 안 된다'); + } + + #[Test] + public function 에러표의_권한_셀은_파이프를_이스케이프한다(): void + { + // 회귀: permission 이 여러 권한의 OR 조합(`core.modules.read | core.menus.read`)일 때 + // 파이프를 이스케이프하지 않으면 셀이 갈라져 3열 표가 4열로 깨진다. + // (docs/backend/api/modules.md 의 403 행 24건이 이 상태로 생성돼 있었다) + $scaffolder = new ApiDocScaffolder; + + $route = [ + 'method' => 'GET', + 'uri' => '/api/admin/modules', + 'name' => 'api.admin.modules.index', + 'controller' => 'C', + 'controller_method' => 'index', + 'permission' => 'core.modules.read | core.menus.read', + 'middleware' => ['api', 'auth:sanctum', 'permission:admin,core.modules.read'], + 'path_params' => [], + ]; + $request = ['request_class' => null, 'params' => [], 'hook_filters' => []]; + $schema = ['envelope' => ['data'], 'shape' => 'collection', 'fields' => [['name' => 'id', 'type' => 'integer', 'sample' => '1']], 'pagination' => false]; + + $section = $scaffolder->endpointSection($route, $request, $schema, ['status' => 200, 'skipped_reason' => null]); + + // 403 행을 찾아 열 수를 센다 (이스케이프된 \| 는 셀 구분자가 아니다) + $line = collect(explode("\n", $section))->first(fn (string $l): bool => str_starts_with($l, '| 403 |')); + + $this->assertNotNull($line, '403 에러 행이 생성되어야 한다'); + $this->assertStringContainsString('\\|', $line, '권한 셀의 파이프가 이스케이프되어야 한다'); + + $cells = preg_split('/(?assertCount(3, $cells, "403 행은 3열(상태코드/의미/발생 조건)이어야 한다: {$line}"); + } } diff --git a/tests/Unit/Support/ApiDoc/ParameterDescriberTest.php b/tests/Unit/Support/ApiDoc/ParameterDescriberTest.php index b5b36f12..56fa8856 100644 --- a/tests/Unit/Support/ApiDoc/ParameterDescriberTest.php +++ b/tests/Unit/Support/ApiDoc/ParameterDescriberTest.php @@ -262,4 +262,72 @@ class ParameterDescriberTest extends TestCase $this->assertStringContainsString('SEO', $describer->describe('meta_description', 'body', 'string')); $this->assertStringContainsString('대체 텍스트', $describer->describe('alt_text', 'body', 'array')); } + + #[Test] + public function 중첩_파라미터를_leaf_세그먼트로_설명한다(): void + { + $describer = new ParameterDescriber; + + // 중첩 환경설정 키(general.*, mail.*, upload.*)는 leaf 가 의미를 결정한다. + // 부모 그룹명은 라벨일 뿐이므로 leaf 로 폴백해 공통 사전을 태운다. + $this->assertStringContainsString('호스트', $describer->describe('mail.host', 'body', 'string')); + $this->assertStringContainsString('포트', $describer->describe('mail.port', 'body', 'integer')); + $this->assertStringContainsString('타임존', $describer->describe('general.timezone', 'body', 'string')); + + // 회귀: 전체명 접미 매칭이 부모 세그먼트를 설명문에 흘리던 문제 + // (general.site_name => "general.site 이름 (식별자)") + $siteName = $describer->describe('general.site_name', 'body', 'string'); + $this->assertStringNotContainsString('general.', $siteName); + $this->assertStringContainsString('이름', $siteName); + } + + #[Test] + public function 로케일_접미_파라미터를_부모_설명_기준으로_설명한다(): void + { + $describer = new ParameterDescriber; + + // 다국어 필드(name.ko / alt_text.en)는 부모 필드의 로케일별 값이다. + $ko = $describer->describe('alt_text.ko', 'body', 'string'); + $this->assertStringContainsString('대체 텍스트', $ko); + $this->assertStringContainsString('ko', $ko); + + // 부모가 도메인 특이(사전 미등재)면 로케일 접미도 TODO 로 남는다. + $this->assertNull($describer->describe('refund_priority.ko', 'body', 'string')); + } + + #[Test] + public function 배열_원소_인덱스_파라미터는_상위_경로로_설명한다(): void + { + $describer = new ParameterDescriber; + + // items.*.name / ids.0 처럼 인덱스가 leaf 인 경우 상위 경로로 폴백한다. + $this->assertStringContainsString('식별자 배열', $describer->describe('ids.*', 'body', 'array')); + $this->assertStringContainsString('식별자 배열', $describer->describe('ids.0', 'body', 'integer')); + } + + #[Test] + public function seo_그룹의_중첩_키는_se_o_메타로_한정해_설명한다(): void + { + $describer = new ParameterDescriber; + + // 회귀: leaf 폴백만 태우면 seo_meta.title 이 "제목" 으로 축소돼 오설명이 된다. + // 부모가 의미를 한정하는 그룹(seo/seo_meta)은 leaf 를 SEO 맥락으로 해석해야 한다. + $this->assertStringContainsString('SEO', $describer->describe('seo_meta.title', 'body', 'string')); + $this->assertStringContainsString('SEO', $describer->describe('seo_meta.description', 'body', 'string')); + $this->assertStringContainsString('SEO', $describer->describe('seo_meta.keywords', 'body', 'string')); + $this->assertStringContainsString('SEO', $describer->describe('content.meta.seo.title', 'body', 'string')); + + // 다른 그룹의 title 은 일반 제목 그대로 (오적용 방지) + $this->assertStringNotContainsString('SEO', $describer->describe('basic_info.title', 'body', 'string')); + } + + #[Test] + public function 도메인_특이_중첩_파라미터는_null_로_남는다(): void + { + $describer = new ParameterDescriber; + + // leaf 폴백으로도 공통 사전에 없는 도메인 특이 키는 사람 서술(TODO) 대상이다. + $this->assertNull($describer->describe('mileage.earn_trigger', 'body', 'string')); + $this->assertNull($describer->describe('report_policy.auto_hide_target', 'body', 'string')); + } } diff --git a/tests/Unit/Support/ApiDoc/ResourceFieldDescriberTest.php b/tests/Unit/Support/ApiDoc/ResourceFieldDescriberTest.php index 5569f231..743d88da 100644 --- a/tests/Unit/Support/ApiDoc/ResourceFieldDescriberTest.php +++ b/tests/Unit/Support/ApiDoc/ResourceFieldDescriberTest.php @@ -267,4 +267,41 @@ class ResourceFieldDescriberTest extends TestCase // 정수가 아니면 미적용 (오설명 방지) $this->assertNull($describer->describe('depth', 'string')); } + + #[Test] + public function 중첩_응답_필드를_leaf_세그먼트로_설명한다(): void + { + $describer = new ResourceFieldDescriber; + + // 중첩 응답 필드(settings.general.site_url 등)는 leaf 가 의미를 결정한다. + $this->assertStringContainsString('생성 일시', $describer->describe('meta.created_at', 'string')); + $this->assertStringContainsString('개수', $describer->describe('stats.total', 'integer')); + + // 회귀: 전체명 접미 매칭이 부모 세그먼트를 설명문에 흘리던 문제 + $userId = $describer->describe('order.user_id', 'integer'); + $this->assertStringNotContainsString('order.', $userId); + $this->assertStringContainsString('식별자', $userId); + } + + #[Test] + public function 로케일_접미_응답_필드를_부모_설명_기준으로_설명한다(): void + { + $describer = new ResourceFieldDescriber; + + // 다국어 필드(name.ko)는 부모 필드의 로케일별 값이다. + $ko = $describer->describe('name.ko', 'string'); + $this->assertStringContainsString('이름', $ko); + $this->assertStringContainsString('ko', $ko); + + // 부모가 도메인 특이면 로케일 접미도 TODO 로 남는다. + $this->assertNull($describer->describe('refund_priority.ko', 'string')); + } + + #[Test] + public function 도메인_특이_중첩_응답_필드는_null_로_남는다(): void + { + $describer = new ResourceFieldDescriber; + + $this->assertNull($describer->describe('order.refund_priority', 'string')); + } } diff --git a/tests/scenarios/identity-challenge-status-field-exposure.yaml b/tests/scenarios/identity-challenge-status-field-exposure.yaml new file mode 100644 index 00000000..a31aaadb --- /dev/null +++ b/tests/scenarios/identity-challenge-status-field-exposure.yaml @@ -0,0 +1,40 @@ +# audit:allow test-scenario-coverage reason: 본 매니페스트는 challenge 상태 조회 응답의 노출 필드 SSoT. 회귀 가드는 test_files 의 Feature 테스트가 cover. +# e2e:allow 챌린지 진행 화면(auth/identity_challenge)의 프론트 변경은 서버가 더는 주지 않는 attempts 필드 참조를 제거한 것뿐이며, 남은 시도 횟수 UI 는 URL query fallback 과 verify 실패 시 로컬 증가로 동일하게 동작한다. 실질 회귀 대상(응답에서 attempts 제거)은 IdentityChallengeShowTest 가 검증하므로 브라우저 E2E 는 불요. + +feature: 본인인증 challenge 상태 조회 — 노출 필드 제한 (민감 필드 비노출) + +description: | + GET /api/identity/challenges/{id} 는 비동기 검증 흐름(외부 redirect 콜백 대기 등)에서 + 클라이언트가 진행 상태를 추적하기 위한 폴링 엔드포인트다. 이 라우트는 권한 가드 없이 + challenge id 만 알면 조회할 수 있으므로(로그인 불요), 응답에는 공개 안전 필드만 담아야 한다. + + 결함 배경: + - Service::getStatus 가 attempts / max_attempts 를 응답에 포함시켜 왔다. + - 두 값을 함께 알면 남은 시도 횟수를 정확히 계산할 수 있어, 인증번호 무차별 대입 시점을 + 노리는 단서가 된다. + + 조치: + - getStatus 응답에서 attempts / max_attempts 제거 (공개 안전 필드만 유지). + - 챌린지 진행 화면(auth/identity_challenge.json — admin_basic / basic)에서 서버 응답의 + attempts 참조를 제거. 남은 시도 횟수 UI 는 URL query fallback + verify 실패 시 로컬 + 증가로 유지되므로 사용자 가시 동작은 동일. + +axes: + field: [id, status, provider_id, purpose, render_hint, expires_at, public_payload, attempts, max_attempts, target_hash, verification_token, metadata] + requester: [guest_with_id, owner, admin] + +exclusions: + - { field: attempts, requester: owner, reason: "노출 여부는 requester 무관 — 필드 자체가 응답에서 제거됨" } + - { field: max_attempts, requester: owner, reason: "동일" } + +effects: + - public_safe_fields_present_in_response # id/status/provider_id/purpose/render_hint/expires_at/public_payload 노출 + - attempts_absent_from_response # 시도 횟수 비노출 (무차별 대입 힌트 차단) + - max_attempts_absent_from_response + - target_hash_absent_from_response # 기존 회귀 가드 유지 + - verification_token_absent_from_response + - metadata_absent_from_response + - challenge_screen_remaining_attempts_ui_works_via_query_fallback # 프론트: 서버 attempts 없이도 남은 횟수 UI 동작 + +test_files: + - tests/Feature/Api/Identity/IdentityChallengeShowTest.php From f496477ba0d7680b0963f0e6e0fbe38e360c7514 Mon Sep 17 00:00:00 2001 From: HeuJung Date: Wed, 15 Jul 2026 10:34:14 +0900 Subject: [PATCH 15/18] =?UTF-8?q?test(ecommerce):=20=EC=B2=B4=ED=81=AC?= =?UTF-8?q?=EC=95=84=EC=9B=83=20=EA=B2=B0=EC=A0=9C=EC=88=98=EB=8B=A8=20?= =?UTF-8?q?=ED=9A=8C=EA=B7=80=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20mock=20?= =?UTF-8?q?=EC=9D=84=20selectedCorePaymentMethod=20=EB=8F=84=EC=9E=85?= =?UTF-8?q?=EC=97=90=20=EB=A7=9E=EC=B6=B0=20=EC=A0=95=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 토스 주문서형 결제수단 도입으로 주문 body 표현식이 _computed.selectedPaymentMethod → selectedCorePaymentMethod (결제수단 id → core_payment_method 매핑) 로 바뀌었으나, ecommerce 회귀 테스트의 context 헬퍼가 selectedPaymentMethod 만 세팅한 채 새 키를 누락해 payment_method 가 undefined 로 평가되던 stale test 를 정정. 레이아웃 로직은 정상이며 템플릿 측 테스트가 동일 동작을 이미 커버한다. --- .../layouts/checkoutPaymentMethodRegression.test.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/checkoutPaymentMethodRegression.test.tsx b/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/checkoutPaymentMethodRegression.test.tsx index c24f4ae1..1d9fa972 100644 --- a/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/checkoutPaymentMethodRegression.test.tsx +++ b/modules/_bundled/sirsoft-ecommerce/resources/js/__tests__/layouts/checkoutPaymentMethodRegression.test.tsx @@ -77,7 +77,15 @@ describe('체크아웃 결제수단 회귀 테스트', () => { const context = (paymentMethod: string, localPaymentMethod?: string) => ({ checkoutData: { data: { temp_order_id: 'T-1', calculation: { summary: { final_amount: 1000 } } } }, - _computed: { selectedPaymentMethod: paymentMethod, ordererDefaults: { name: '홍길동' } }, + // body 는 _computed.selectedCorePaymentMethod 를 싣는다(#454 S3 — 결제수단 id → + // core_payment_method 매핑). selectedPaymentMethod 는 선택된 결제수단 id, core 는 + // 그 id 가 가리키는 코어 결제수단(dbank/card/vbank …)이다. 이 회귀 테스트의 관심사인 + // "고른 결제수단이 그대로 실려 나가는가" 는 core 값으로 검증한다. + _computed: { + selectedPaymentMethod: paymentMethod, + selectedCorePaymentMethod: paymentMethod, + ordererDefaults: { name: '홍길동' }, + }, _local: { paymentMethod: localPaymentMethod, shipping: {}, From 0207ae024e0aa0b4a9c5b314fe7e6c5f6ca87c20 Mon Sep 17 00:00:00 2001 From: HeuJung Date: Wed, 15 Jul 2026 16:53:22 +0900 Subject: [PATCH 16/18] =?UTF-8?q?chore(ecommerce):=20=EC=9D=B4=EC=BB=A4?= =?UTF-8?q?=EB=A8=B8=EC=8A=A4=20=EB=B2=88=EB=93=A4=20=EB=B0=B0=ED=8F=AC?= =?UTF-8?q?=EB=B3=B8=20=EC=86=8C=EC=8A=A4=EB=A7=B5=20=EC=B0=B8=EC=A1=B0=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 리베이스가 이월한 issue454 의 pre-strip 번들에 남은 dangling sourceMappingURL 참조를 프로덕션 빌드(module:build --production)로 재생성해 제거. 배포본 소스맵 차단 정책(코어 7.0.4)과 일치시킨다. --- modules/_bundled/sirsoft-ecommerce/dist/js/module.iife.js | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/_bundled/sirsoft-ecommerce/dist/js/module.iife.js b/modules/_bundled/sirsoft-ecommerce/dist/js/module.iife.js index efa3a1ce..cd9af5de 100644 --- a/modules/_bundled/sirsoft-ecommerce/dist/js/module.iife.js +++ b/modules/_bundled/sirsoft-ecommerce/dist/js/module.iife.js @@ -1,2 +1 @@ var SirsoftEcommerce=function(Pe){"use strict";const St={KRW:0,JPY:0},vt={KRW:"₩",USD:"$",JPY:"¥",CNY:"元",EUR:"€",GBP:"£"},Lt={KRW:1e3,JPY:100};function xt(r){if(!r)return 1;const c=r.base_unit??Lt[r.code]??1;return Math.max(1,c)}function Pt(r,c,e){const t=parseFloat(c)||1;if(t<=0)return r;const o=r/t;let a;switch(e){case"ceil":a=Math.ceil(o);break;case"floor":a=Math.floor(o);break;default:a=Math.round(o)}return a*t}function ye(r,c){const e=typeof c=="string"?{code:c}:c,t=e.code,o=e.symbol&&e.symbol.length>0?e.symbol:vt[t]??"",a=e.decimal_places??St[t]??2,n=r.toLocaleString(void 0,{minimumFractionDigits:a,maximumFractionDigits:a});return o?t==="KRW"||o==="₩"||o==="원"?n+"원":o+n:n+" "+t}function se(r,c){const{basePrice:e,currencies:t}=r,o=parseFloat(String(e))||0;if(!t||!Array.isArray(t)||t.length===0)return{};const a=t.find(i=>i.is_default),n=xt(a),s={};for(const i of t){const l=i.code;if(i.is_default??!1)s[l]={price:o,formatted:ye(o,i),is_default:!0,editable:!0};else if(i.exchange_rate&&i.exchange_rate>0){const d=o/n*i.exchange_rate,m=Pt(d,i.rounding_unit||"0.01",i.rounding_method||"round");s[l]={price:m,formatted:ye(m,i),is_default:!1,editable:!1,exchange_rate:i.exchange_rate}}}return s}const z=window.G7Core?.createLogger?.("Ecom:UpdateProduct")??{log:(...r)=>console.log("[Ecom:UpdateProduct]",...r),warn:(...r)=>console.warn("[Ecom:UpdateProduct]",...r),error:(...r)=>console.error("[Ecom:UpdateProduct]",...r)};function At(r,c){const e=r.params||{},{productId:t,field:o,dataSourceId:a="products"}=e;let{value:n}=e;if(n&&typeof n=="object"&&n.target!==void 0&&(n=n.target?.value,z.log("[updateProductField] Extracted value from event:",n)),!t||!o){z.warn("[updateProductField] Missing required params:",{productId:t,field:o});return}if(n===void 0){z.warn("[updateProductField] Value is undefined, skipping update");return}const s=window.G7Core;if(!s?.dataSource?.get||!s?.dataSource?.set){z.warn("[updateProductField] G7Core.dataSource API is not available");return}const i=s.dataSource.get(a);if(!i){console.warn(`[updateProductField] DataSource '${a}' not found`);return}const l=i.data?.data||[];if(!Array.isArray(l)||l.length===0){z.warn("[updateProductField] Products data is empty or invalid");return}const u=s.state.get()||{},d=u.modules?.["sirsoft-ecommerce"]?.language_currency?.currencies;let f=[...u._local?.productFieldErrors||[]];const g=l.map(C=>{if(String(C.id)===String(t)){const A=C[o];if(typeof n=="object"&&n!==null?JSON.stringify(A)===JSON.stringify(n):String(A)===String(n))return z.log(`[updateProductField] No change for product ${t}.${o}, skipping`),C;let I=n;const N=parseFloat(n)||0;if(o==="selling_price"){const O=parseFloat(C.list_price)||0;O>0&&N>O?(f.some(Q=>Q.productId===String(t)&&Q.field===o)||f.push({productId:String(t),field:"selling_price",message:"판매가는 정가를 초과할 수 없습니다."}),I=O):f=f.filter($=>!($.productId===String(t)&&$.field===o))}else f=f.filter(O=>!(O.productId===String(t)&&O.field===o));const L={...C,[o]:I,_modified:!0};return o==="selling_price"&&d&&Array.isArray(d)&&(L.multi_currency_selling_price=se({basePrice:I,currencies:d}),z.log(`[updateProductField] Recalculated multi_currency_selling_price for product ${t}`)),L}return C});s.dataSource.set(a,{...i,data:{...i.data,data:g}});const w=s.state.getLocal()||{},y=new Set(w.modifiedProductIds||[]);y.add(t);const _={...w.modifiedProductFields||{}},p=String(t),S=new Set(_[p]||[]);S.add(o),_[p]=Array.from(S),s.state.setLocal({modifiedProductIds:Array.from(y),modifiedProductFields:_,productFieldErrors:f}),z.log(`[updateProductField] Updated product ${t}.${o} =`,n)}const B=window.G7Core?.createLogger?.("Ecom:UpdateOption")??{log:(...r)=>console.log("[Ecom:UpdateOption]",...r),warn:(...r)=>console.warn("[Ecom:UpdateOption]",...r),error:(...r)=>console.error("[Ecom:UpdateOption]",...r)};function kt(r,c){const e=r.params||{},{productId:t,optionId:o,field:a,value:n,dataSourceId:s="products"}=e;if(!t||!o||!a){B.warn("[updateOptionField] Missing required params:",{productId:t,optionId:o,field:a});return}const i=window.G7Core;if(!i?.dataSource?.get||!i?.dataSource?.set){B.warn("[updateOptionField] G7Core.dataSource API is not available");return}const l=i.dataSource.get(s);if(!l){console.warn(`[updateOptionField] DataSource '${s}' not found`);return}const u=l.data?.data||[];if(!Array.isArray(u)||u.length===0){B.warn("[updateOptionField] Products data is empty or invalid");return}const d=i.state.get()||{},m=d.modules?.["sirsoft-ecommerce"]?.language_currency?.currencies;let g=[...d._local?.optionFieldErrors||[]],w=!1,y=!1;const _=u.map(N=>{if(String(N.id)===String(t)){const L=N.options||[],O=L.findIndex(D=>String(D.id)===String(o));if(O===-1)return B.warn("[updateOptionField] Option not found:",o),N;y=!0;const $=L[O],Q=$[a];if(typeof n=="object"&&n!==null?JSON.stringify(Q)===JSON.stringify(n):String(Q)===String(n))return B.log(`[updateOptionField] No change for option ${o}.${a}, skipping`),N;let J=n;const xe=parseFloat(n)||0;if(a==="selling_price"){const D=parseFloat($.list_price)||0;D>0&&xe>D?(g.some(we=>we.productId===String(t)&&we.optionId===String(o)&&we.field===a)||g.push({productId:String(t),optionId:String(o),field:"selling_price",message:"판매가는 정가를 초과할 수 없습니다."}),J=D):g=g.filter(H=>!(H.productId===String(t)&&H.optionId===String(o)&&H.field===a))}else g=g.filter(D=>!(D.productId===String(t)&&D.optionId===String(o)&&D.field===a));const re=[...L],ne={...re[O],[a]:J,_modified:!0};let ae=null;if(a==="selling_price"){const D=parseFloat(J)||0;if($.is_default===!0)ae=D,ne.price_adjustment=0;else{const H=parseFloat(N.selling_price)||0;ne.price_adjustment=D-H}ne.price_adjustment_formatted=(ne.price_adjustment>=0?"+":"")+ne.price_adjustment.toLocaleString()+"원"}if(a==="selling_price"&&m&&Array.isArray(m)&&(ne.multi_currency_selling_price=se({basePrice:J,currencies:m}),B.log(`[updateOptionField] Recalculated multi_currency_selling_price for option ${o}`)),re[O]=ne,ae!==null)for(let D=0;DH.is_active===!1?D:D+(parseInt(H.stock_quantity,10)||0),0),Be=Ke,B.log(`[updateOptionField] Updated product stock to option sum: ${Be}`));const Qe={...N,options:re,stock_quantity:Be,option_stock_sum:Ke,_modified:!0};return ae!==null&&(Qe.selling_price=ae,m&&Array.isArray(m)&&(Qe.multi_currency_selling_price=se({basePrice:ae,currencies:m})),w=!0,B.log(`[updateOptionField] Reverse-synced product ${t} selling_price to ${ae} from default option`)),Qe}return N});if(!y)return;i.dataSource.set(s,{...l,data:{...l.data,data:_}});const p=i.state.getLocal()||{},S=new Set(p.modifiedOptionIds||[]),C=`${t}-${o}`;S.add(C);const A={...p.modifiedOptionFields||{}},x=new Set(A[C]||[]);x.add(a),A[C]=Array.from(x);const I={modifiedOptionIds:Array.from(S),modifiedOptionFields:A,optionFieldErrors:g};if(w){const N=new Set(p.modifiedProductIds||[]);N.add(t);const L={...p.modifiedProductFields||{}},O=String(t),$=new Set(L[O]||[]);$.add("selling_price"),L[O]=Array.from($),I.modifiedProductIds=Array.from(N),I.modifiedProductFields=L}i.state.setLocal(I),B.log(`[updateOptionField] Updated option ${t}/${o}.${a} =`,n)}const Ot="g7_preferred_currency",Gt="g7_locale",ze=window.G7Core?.createLogger?.("Handler:InitPreferredCurrency")??{log:(...r)=>console.log("[Handler:InitPreferredCurrency]",...r),warn:(...r)=>console.warn("[Handler:InitPreferredCurrency]",...r),error:(...r)=>console.error("[Handler:InitPreferredCurrency]",...r)};function Et(r){const c=window.G7Core;c?.state?.set?c.state.set(r):ze.warn("G7Core.state.set not available")}function Ft(){try{return localStorage.getItem(Gt)}catch{return null}}function Dt(){try{const e=(window.G7Core?.state?.get?.()||{})?.modules?.["sirsoft-ecommerce"]?.language_currency;return Array.isArray(e?.currencies)?e.currencies:[]}catch{return[]}}function $t(r){if(!r)return null;const c=r.toLowerCase().split("-")[0].split("_")[0];if(!c)return null;const t=Dt().filter(o=>(Array.isArray(o?.locales)?o.locales:[]).some(n=>String(n).toLowerCase()===c));return t.length===1?t[0]?.code??null:t.length>1?t.find(a=>a?.is_default===!0)?.code??null:null}function Nt(){try{const r=window.G7Config;return r?.user?r.user:(window.G7Core?.state?.get?.()||{}).currentUser||null}catch{return null}}function Tt(r,c){const e=r?.params?.defaultCurrency||"KRW",t=l=>typeof l=="string"&&/^[A-Z]{3}$/.test(l),o=Nt(),a=r?.params?.accountCurrency??o?.ecommerce_preferred_currency;let n=null;try{n=localStorage.getItem(Ot)}catch{}const s=a?null:$t(Ft()),i=t(a)?a:t(n)?n:t(s)?s:t(e)?e:"KRW";Et({preferredCurrency:i}),ze.log("Preferred currency initialized:",i)}const Rt="g7_preferred_shipping_country",We=window.G7Core?.createLogger?.("Handler:InitPreferredShippingCountry")??{log:(...r)=>console.log("[Handler:InitPreferredShippingCountry]",...r),warn:(...r)=>console.warn("[Handler:InitPreferredShippingCountry]",...r),error:(...r)=>console.error("[Handler:InitPreferredShippingCountry]",...r)};function Mt(r){const c=window.G7Core;c?.state?.set?c.state.set(r):We.warn("G7Core.state.set not available")}function Ht(){try{const r=window.G7Config;return r?.user?r.user:(window.G7Core?.state?.get?.()||{}).currentUser||null}catch{return null}}function qt(r,c){const e=r?.params?.defaultCountry||"KR",t=i=>typeof i=="string"&&/^[A-Z]{2}$/.test(i),o=Ht(),a=r?.params?.accountCountry??o?.ecommerce_preferred_shipping_country;let n=null;try{n=localStorage.getItem(Rt)}catch{}const s=t(a)?a:t(n)?n:t(e)?e:"KR";Mt({preferredShippingCountry:s}),We.log("Preferred shipping country initialized:",s)}function X(r){const c=r.getFullYear(),e=String(r.getMonth()+1).padStart(2,"0"),t=String(r.getDate()).padStart(2,"0");return`${c}-${e}-${t}`}function Ut(r){const c=new Date,e=X(c);let t;switch(r){case"today":t=e;break;case"3days":{const o=new Date(c);o.setDate(o.getDate()-2),t=X(o);break}case"week":{const o=new Date(c);o.setDate(o.getDate()-6),t=X(o);break}case"month":{const o=new Date(c);o.setMonth(o.getMonth()-1),t=X(o);break}case"3months":{const o=new Date(c);o.setMonth(o.getMonth()-3),t=X(o);break}case"6months":{const o=new Date(c);o.setMonth(o.getMonth()-6),t=X(o);break}case"1year":{const o=new Date(c);o.setFullYear(o.getFullYear()-1),t=X(o);break}case"all":default:return t="",{startDate:"",endDate:""}}return{startDate:t,endDate:e}}function Vt(r){const{preset:c}=r.params||{preset:"today"},{startDate:e,endDate:t}=Ut(c);return{startDate:e,endDate:t,preset:c}}const ie=window.G7Core?.createLogger?.("Ecom:DefaultOption")??{log:(...r)=>console.log("[Ecom:DefaultOption]",...r),warn:(...r)=>console.warn("[Ecom:DefaultOption]",...r),error:(...r)=>console.error("[Ecom:DefaultOption]",...r)};function jt(r,c){const e=r.params||{},{productId:t,optionId:o,dataSourceId:a="products"}=e;if(!t||!o){ie.warn("[setDefaultOption] Missing required params:",{productId:t,optionId:o});return}const n=window.G7Core;if(!n?.dataSource?.get||!n?.dataSource?.set){ie.warn("[setDefaultOption] G7Core.dataSource API is not available");return}const s=n.dataSource.get(a);if(!s){console.warn(`[setDefaultOption] DataSource '${a}' not found`);return}const i=s.data?.data||[];if(!Array.isArray(i)||i.length===0){ie.warn("[setDefaultOption] Products data is empty or invalid");return}const u=(n.state.get()||{}).modules?.["sirsoft-ecommerce"]?.language_currency?.currencies,d=i.map(w=>{if(String(w.id)!==String(t))return w;const y=w.options||[];if(y.length===0)return w;const _=y.find(x=>String(x.id)===String(o));if(!_)return ie.warn("[setDefaultOption] Option not found:",o),w;const p=y.map(x=>{const I=String(x.id)===String(o);return{...x,is_default:I,_modified:I?!0:x._modified}}),S=_.list_price,C=_.selling_price;let A=w.multi_currency_selling_price;return u&&Array.isArray(u)&&(A=se({basePrice:C,currencies:u})),ie.log(`[setDefaultOption] Set option ${o} as default for product ${t}. Syncing prices: list_price=${S}, selling_price=${C}`),{...w,options:p,list_price:S,selling_price:C,multi_currency_selling_price:A,_modified:!0}});n.dataSource.set(a,{...s,data:{...s.data,data:d}});const m=n.state.getLocal()||{},f=new Set(m.modifiedProductIds||[]);f.add(String(t));const g=new Set(m.modifiedOptionIds||[]);g.add(`${t}-${o}`),n.state.setLocal({modifiedProductIds:Array.from(f),modifiedOptionIds:Array.from(g)}),ie.log(`[setDefaultOption] Option ${o} set as default for product ${t}`)}const Ae=window.G7Core?.createLogger?.("Ecom:OptionSelect")??{log:(...r)=>console.log("[Ecom:OptionSelect]",...r),warn:(...r)=>console.warn("[Ecom:OptionSelect]",...r),error:(...r)=>console.error("[Ecom:OptionSelect]",...r)},de=(r,c)=>`${r}-${c}`,ke=r=>r.split("-")[0];function Bt(r,c){const e=r.params||{},{productId:t,optionId:o,checked:a}=e,n=window.G7Core;if(!n?.state){Ae.warn("[toggleOption] G7Core.state를 사용할 수 없습니다.");return}const s=n.state.getLocal(),i=s.selectedOptionIds||[],l=s.selectedItems||[],u=de(t,o);let d;a?i.includes(u)?d=i:d=[...i,u]:d=i.filter(p=>p!==u);const w=(n.dataSource?.get("products")?.data?.data||[]).find(p=>String(p.id)===String(t))?.options||[];let y=[...l];const _=Number(t);w.length>0&&(w.map(C=>de(t,C.id)).filter(C=>d.includes(C)).length===w.length?y.includes(_)||y.push(_):y=y.filter(C=>C!==_)),n.state.setLocal({selectedOptionIds:d,selectedItems:y})}function Ye(r,c){const e=r.params||{},{productId:t,options:o,checked:a}=e,n=window.G7Core;if(!n?.state){Ae.warn("[toggleProductOptions] G7Core.state를 사용할 수 없습니다.");return}const s=n.state.getLocal(),i=s.selectedOptionIds||[],l=s.selectedItems||[],u=(o||[]).map(g=>de(t,g.id));let d,m=[...l];const f=Number(t);a?(d=[...i.filter(w=>ke(w)!==String(t)),...u],m.includes(f)||m.push(f)):(d=i.filter(g=>ke(g)!==String(t)),m=m.filter(g=>g!==f)),n.state.setLocal({selectedOptionIds:d,selectedItems:m})}function Kt(r,c){return Ye(r)}function Qt(r,c){const e=r.params||{products:[],selectedOptionIds:[]},{products:t,selectedOptionIds:o}=e,a=o||[];if(!t||!Array.isArray(t))return{};const n={};for(const s of t){const i=String(s.id),l=s.options||[];if(l.length===0){n[i]="none";continue}const d=l.map(m=>de(i,m.id)).filter(m=>a.includes(m)).length;d===0?n[i]="none":d===l.length?n[i]="all":n[i]="some"}return n}function zt(r,c){const e=r.params||{},{selectedIds:t}=e,o=window.G7Core;if(!o?.state){Ae.warn("[syncProductSelection] G7Core.state를 사용할 수 없습니다.");return}const a=o.state.getLocal(),n=a.selectedItems||[],s=a.selectedOptionIds||[],l=o.dataSource?.get("products")?.data?.data||[],u=t.filter(f=>!n.includes(f)),d=n.filter(f=>!t.includes(f));let m=[...s];for(const f of u){const g=l.find(w=>Number(w.id)===f);if(g?.options)for(const w of g.options){const y=de(f,w.id);m.includes(y)||m.push(y)}}for(const f of d)m=m.filter(g=>ke(g)!==String(f));o.state.setLocal({selectedItems:t,selectedOptionIds:m})}const he=window.G7Core?.createLogger?.("Ecom:CopyCode")??{log:(...r)=>console.log("[Ecom:CopyCode]",...r),warn:(...r)=>console.warn("[Ecom:CopyCode]",...r),error:(...r)=>console.error("[Ecom:CopyCode]",...r)};async function Wt(r,c){const e=window.G7Core;if(!e?.state||!e?.api){he.warn("[generateCopyProductCode] G7Core API is not available");return}try{const t=await e.api.post("/api/modules/sirsoft-ecommerce/admin/products/generate-code");if(!t?.data?.product_code)throw new Error("Invalid API response");const o=t.data.product_code;if((window.__g7LayoutContextStack||[]).length>0&&e.state.setParentLocal)e.state.setParentLocal({"ui.copyOptions.newProductCode":o}),he.log(`[generateCopyProductCode] Generated (parent): ${o}`);else{const s=e.state.getLocal()||{};e.state.setLocal({ui:{...s.ui,copyOptions:{...s.ui?.copyOptions||{},newProductCode:o}}}),he.log(`[generateCopyProductCode] Generated (local): ${o}`)}}catch(t){he.error("[generateCopyProductCode] Failed:",t),e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.product.messages.code_generate_error")??"Failed to generate product code.")}}const Je=window.G7Core?.createLogger?.("Ecom:CopyProduct")??{log:(...r)=>console.log("[Ecom:CopyProduct]",...r),warn:(...r)=>console.warn("[Ecom:CopyProduct]",...r),error:(...r)=>console.error("[Ecom:CopyProduct]",...r)};async function Yt(r,c){const e=window.G7Core;if(!e?.state){Je.warn("[copyProduct] G7Core API is not available");return}const t=e.state.getLocal()||{},a=(e.state.getParent?.()||{})._local||{},n=a.ui?.copyOptions||t.ui?.copyOptions||{},s=t.form?.product_code||a.form?.product_code||a.productList?.copyTargetProduct?.product_code||t.productList?.copyTargetProduct?.product_code;if(!s){e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.product.messages.copy_source_not_found")??"Could not find source product information.");return}e.modal?.close?.();const i={copy_id:s,copy_images:n.images??!0?"1":"0",copy_options:n.options??!0?"1":"0",copy_categories:n.categories??!0?"1":"0",copy_sales_info:n.sales_info??!0?"1":"0",copy_description:n.description??!0?"1":"0",copy_notice:n.notice??!0?"1":"0",copy_common_info:n.common_info??!0?"1":"0",copy_other_info:n.other_info??!0?"1":"0",copy_shipping:n.shipping??!0?"1":"0",copy_seo:n.seo??!1?"1":"0",copy_identification:n.identification??!0?"1":"0"},u=`/admin/ecommerce/products/create?${new URLSearchParams(i).toString()}`;Je.log("[copyProduct] Navigating to:",u),e.navigate?e.navigate(u):c.navigate?c.navigate(u):window.location.href=u}const Ce=window.G7Core?.createLogger?.("Ecom:ExpandedOptions")??{log:(...r)=>console.log("[Ecom:ExpandedOptions]",...r),warn:(...r)=>console.warn("[Ecom:ExpandedOptions]",...r),error:(...r)=>console.error("[Ecom:ExpandedOptions]",...r)},Jt="/api/modules/sirsoft-ecommerce/admin/products/options",Oe=100,Ge=new Set;function Xt(r,c){const t=r?.dataSource?.get?.(c)?.data?.data;return Array.isArray(t)?t:[]}function Xe(r,c,e){const t=r?.dataSource?.get?.(c),o=t?.data?.data;if(!t||!Array.isArray(o)){Ce.warn("[loadExpandedOptions] DataSource not available for merge:",c);return}const a=o.map(n=>{const s=String(n?.id);return Object.prototype.hasOwnProperty.call(e,s)?{...n,options:e[s]}:n});r.dataSource.set(c,{...t,data:{...t.data,data:a}})}function Zt(r,c){const e=r?.state?.getLocal?.()||{},t=e.selectedItems||[];if(t.length===0)return;const o=new Set(t.map(s=>String(s))),a=new Set(e.selectedOptionIds||[]);let n=!1;Object.entries(c).forEach(([s,i])=>{o.has(s)&&i.forEach(l=>{const u=`${s}-${l?.id}`;a.has(u)||(a.add(u),n=!0)})}),n&&r.state.setLocal({selectedOptionIds:Array.from(a)})}function Ee(r,c){const e=r?.state?.getLocal?.()||{},t=c(e.optionsLoadingIds||[],e.optionsErrorIds||[]);r.state.setLocal({optionsLoadingIds:t.loading,optionsErrorIds:t.errored})}function Fe(r,c){const e=r.params||{},t=e.dataSourceId||"products",o=e.force===!0,a=window.G7Core;if(!a?.dataSource?.get||!a?.dataSource?.set||!a?.state?.setLocal){Ce.warn("[loadExpandedOptions] G7Core dataSource/state API is not available");return}Array.isArray(e.expandedRows)&&a.state.setLocal({expandedRows:e.expandedRows});const n=Array.isArray(e.productIds)?e.productIds:e.productId!==void 0&&e.productId!==null?[e.productId]:Array.isArray(e.expandedRows)?e.expandedRows:a.state.getLocal?.()?.expandedRows||[];if(!Array.isArray(n)||n.length===0)return;const s=Xt(a,t),i=new Map(s.map(d=>[String(d?.id),d])),l=[],u={};n.forEach(d=>{const m=String(d),f=i.get(m);if(f&&!(!o&&Array.isArray(f.options))){if(Number(f.options_total_count)===0){u[m]=[];return}Ge.has(m)||l.push(m)}}),Object.keys(u).length>0&&Xe(a,t,u),l.length!==0&&(l.length>Oe&&(Ce.warn(`[loadExpandedOptions] Requested ${l.length} products, truncating to ${Oe}`),l.length=Oe),l.forEach(d=>Ge.add(d)),Ee(a,(d,m)=>({loading:Array.from(new Set([...d,...l])),errored:m.filter(f=>!l.includes(f))})),a.api.get(Jt,{params:{product_ids:l.map(d=>Number(d))}}).then(d=>{const f=(d?.data||{}).options||{},g={};l.forEach(w=>{const y=f[w];g[w]=Array.isArray(y)?y:[]}),Xe(a,t,g),Zt(a,g),Ee(a,(w,y)=>({loading:w.filter(_=>!l.includes(_)),errored:y.filter(_=>!l.includes(_))}))}).catch(d=>{Ce.error("[loadExpandedOptions] Failed to load options:",d),Ee(a,(f,g)=>({loading:f.filter(w=>!l.includes(w)),errored:Array.from(new Set([...g,...l]))}));const m=d?.response?.data?.message||a.t?.("sirsoft-ecommerce.admin.product.table.options.load_failed")||"Failed to load product options.";a.toast?.error?.(m)}).finally(()=>{l.forEach(d=>Ge.delete(d))}))}function eo(r,c={}){const e=r?.state?.getLocal?.()?.expandedRows||[];!Array.isArray(e)||e.length===0||Fe({params:{productIds:e,force:c.force===!0,dataSourceId:c.dataSourceId||"products"}})}function to(r,c){const e=r.params||{};Fe({params:{productId:e.productId,productIds:e.productIds,force:!0,dataSourceId:e.dataSourceId}})}const P=window.G7Core?.createLogger?.("Ecom:Category")??{log:(...r)=>console.log("[Ecom:Category]",...r),warn:(...r)=>console.warn("[Ecom:Category]",...r),error:(...r)=>console.error("[Ecom:Category]",...r)};function Ze(r,c,e,t=[]){for(const o of r){const a=o.name?.[e]||o.name?.ko||"";if(o.id===c)return[...t,a].join(" > ");if(o.children&&o.children.length>0){const n=Ze(o.children,c,e,[...t,a]);if(n)return n}}return null}function oo(r,c,e){return r.map(t=>{if(t.breadcrumb)return{id:t.id,breadcrumb:t.breadcrumb};const o=Ze(c,t.id,e);if(o)return{id:t.id,breadcrumb:o};const a=t.name?.[e]||t.name?.ko||t.name_localized||"";return{id:t.id,breadcrumb:a}})}function ro(r,c){const e=r.params||{},t=e.depth,o=e.category;if(t===void 0||!o){P.warn("[selectCategory] Missing depth or category param");return}const a=c.isolatedContext;if(a){const u=a.state.selectedCategories||[null,null,null,null];if(u[t]?.id===o.id){P.log(`[selectCategory] Same category already selected at depth ${t}, skipping`);return}const d=u.map((m,f)=>fdp0?t+2:f;a.mergeState({selectedCategories:g,categoryStep:y}),P.log(`[selectCategoryMobile] Selected category at depth ${t} (isolated):`,o.id,"nextStep:",y);return}const n=window.G7Core;if(!n?.state){P.warn("[selectCategoryMobile] G7Core.state API is not available");return}const s=n.state.getLocal()||{},l=(s.ui?.selectedCategories||[null,null,null,null]).map((m,f)=>f0?t+2:s.ui?.categoryStep;n.state.setLocal({ui:{...s.ui,selectedCategories:l,categoryStep:d}}),P.log(`[selectCategoryMobile] Selected category at depth ${t}:`,o.id,"nextStep:",d)}function ao(r,c){P.log("[addCategoryToSelection] START");const e=window.G7Core;if(!e?.state){P.warn("[addCategoryToSelection] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=e.locale?.current?.()||"ko",a=c.isolatedContext,n=a?a.state.selectedCategories||[]:t.ui?.selectedCategories||[];P.log("[addCategoryToSelection] Current state:",{selectedCats:n.map(p=>p?.id??null),currentCategoryIds:t.form?.category_ids,currentSelectedCategoryInfos:t.selectedCategoryInfos,usingIsolatedContext:!!a});const s=n.filter(Boolean).pop();if(!s){P.warn("[addCategoryToSelection] No category selected");return}P.log("[addCategoryToSelection] Last selected category:",s.id,s.name);const i=t.form?.category_ids||[];if(i.length>=5){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.category.messages.max_5")??"You can select up to 5 categories.");return}if(i.includes(s.id)){P.log("[addCategoryToSelection] Duplicate detected:",s.id,"in",i),e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.category.messages.already_selected")??"This category is already selected.");return}const l=n.filter(Boolean).map(p=>p.name?.[o]||p.name?.ko||"").join(" > "),u=[...i,s.id],d=t.form?.primary_category_id||s.id,f=(e.state.getDataSources?.()||{}).categories?.data?.data||[];let g=t.selectedCategoryInfos||[];const w=t.form?.categories||[];g.length===0&&w.length>0&&(P.log("[addCategoryToSelection] Initializing from form.categories:",w.length,"items"),g=oo(w,f,o));const y=[...g,{id:s.id,breadcrumb:l}];P.log("[addCategoryToSelection] Before setLocal:",{newCategoryIds:u,primaryCategoryId:d,newInfos:y});try{e.state.setLocal({form:{...t.form,category_ids:u,primary_category_id:d},selectedCategoryInfos:y,hasChanges:!0}),P.log("[addCategoryToSelection] setLocal SUCCESS")}catch(p){P.error("[addCategoryToSelection] setLocal FAILED:",p)}const _=e.state.getLocal()||{};P.log("[addCategoryToSelection] After setLocal:",{category_ids:_.form?.category_ids,selectedCategoryInfos:_.selectedCategoryInfos}),P.log(`[addCategoryToSelection] Added category ${s.id} with breadcrumb: ${l}. Total: ${u.length}`)}function so(r,c){const t=(r.params||{}).categoryId;if(!t){P.warn("[removeCategoryFromSelection] Missing categoryId param");return}const o=window.G7Core;if(!o?.state){P.warn("[removeCategoryFromSelection] G7Core.state API is not available");return}const a=o.state.getLocal()||{},s=(a.form?.category_ids||[]).filter(d=>d!==t);let i=a.form?.primary_category_id;i===t&&(i=s[0]||null);const u=(a.selectedCategoryInfos||[]).filter(d=>d.id!==t);o.state.setLocal({form:{...a.form,category_ids:s,primary_category_id:i},selectedCategoryInfos:u,hasChanges:!0}),P.log(`[removeCategoryFromSelection] Removed category ${t}. Remaining: ${s.length}`)}function io(r,c){const e=r.params||{},t=e.categoryId,o=e.categories;if(!t||!o||!Array.isArray(o))return"";const n=window.G7Core?.locale?.current?.()||"ko",s=(l,u,d=[])=>{for(const m of l){const f=m.name?.[n]||m.name?.ko||"";if(m.id===u)return[...d,f];if(m.children&&m.children.length>0){const g=s(m.children,u,[...d,f]);if(g)return g}}return null},i=s(o,t);return i?i.join(" > "):""}function co(r,c){P.log("[initCategoryInfosFromProduct] START");const e=window.G7Core;if(!e?.state){P.warn("[initCategoryInfosFromProduct] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=e.locale?.current?.()||"ko",n=(e.state.getDataSources?.()||{}).categories?.data?.data||[],s=t.form?.categories||[],i=t.form?.category_ids||[];if(P.log("[initCategoryInfosFromProduct] Product categories:",s),P.log("[initCategoryInfosFromProduct] Category IDs:",i),P.log("[initCategoryInfosFromProduct] Categories tree available:",n.length>0),i.length===0){P.log("[initCategoryInfosFromProduct] No categories to initialize");return}const l=(d,m,f=[])=>{for(const g of d){const w=g.name?.[o]||g.name?.ko||"";if(g.id===m)return[...f,w];if(g.children&&g.children.length>0){const y=l(g.children,m,[...f,w]);if(y)return y}}return null},u=[];for(const d of i){const m=l(n,d);if(m)u.push({id:d,breadcrumb:m.join(" > ")});else{const f=s.find(g=>g.id===d);if(f){const g=f.name?.[o]||f.name?.ko||f.name_localized||"";u.push({id:d,breadcrumb:g})}}}P.log("[initCategoryInfosFromProduct] Generated selectedCategoryInfos:",u),e.state.setLocal({selectedCategoryInfos:u}),P.log("[initCategoryInfosFromProduct] DONE")}function lo(r,c){const e={category1:"",category2:"",category3:"",category4:""},t=r.params||{},o=t.categoryId1?String(t.categoryId1):"",a=t.categoryId2?String(t.categoryId2):"",n=t.categoryId3?String(t.categoryId3):"",s=t.categoryId4?String(t.categoryId4):"",i=t.categories;if(!i||!Array.isArray(i)||i.length===0)return P.warn("[validateCategoryPath] No categories data provided"),e;if(o){const l=i.find(u=>String(u.id)===o);if(l&&l.depth===0&&(e.category1=o,a&&l.children)){const u=l.children.find(d=>String(d.id)===a);if(u&&u.depth===1&&(e.category2=a,n&&u.children)){const d=u.children.find(m=>String(m.id)===n);if(d&&d.depth===2&&(e.category3=n,s&&d.children)){const m=d.children.find(f=>String(f.id)===s);m&&m.depth===3&&(e.category4=s)}}}}return P.log("[validateCategoryPath] Result:",e),e}function uo(r,c){const e=r.params||{},t=e.brandId,o=e.brands;if(!t||!o||!Array.isArray(o))return"";const n=window.G7Core?.locale?.current?.()||"ko",s=o.find(i=>i.id===t);return s?s.name?.[n]??s.name?.ko??"":""}function mo(r,c){const e=r.params||{},t=e.brandId,o=e.brands;if(!t||!o||!Array.isArray(o))return"";const n=window.G7Core?.locale?.current?.()||"ko",s=o.find(i=>i.id===t);return s?.description?.[n]??s?.description?.ko??""}const Z=window.G7Core?.createLogger?.("Ecom:Price")??{log:(...r)=>console.log("[Ecom:Price]",...r),warn:(...r)=>console.warn("[Ecom:Price]",...r),error:(...r)=>console.error("[Ecom:Price]",...r)},po={KRW:1e3,JPY:100};function fo(r,c){const t=r.find(o=>o.code===c)?.base_unit??po[c]??1;return Math.max(1,t)}function go(r,c,e,t){const o=r/t*c;switch(e){case"ceil":return Math.ceil(o);case"floor":return Math.floor(o);case"round":default:return Math.round(o)}}function _o(r,c){const e=r.params||{},t=e.field,o=e.currency,a=e.value,n=e.autoFill;if(!t||!o||a===void 0){Z.warn("[updatePrice] Missing required params: field, currency, or value");return}const s=window.G7Core;if(!s?.state){Z.warn("[updatePrice] G7Core.state API is not available");return}const i=s.state.getLocal()||{},l=c.datasources?.currencies?.data||{},u=l?.list||[],d=l?.default_currency||"KRW",m=l?.rounding_method||"round",f={...i.form?.multi_currency_prices||{}};if(f[o]={...f[o]||{},[t]:a},n&&o===d){const y=fo(u,d);u.forEach(_=>{if(_.code!==d){const p=_.exchange_rate??1,S=go(a,p,m,y);f[_.code]={...f[_.code]||{},[t]:S}}})}const g={list:"list_price",selling:"selling_price"},w=o===d?a:i.form?.[g[t]];s.state.setLocal({form:{...i.form,multi_currency_prices:f,[g[t]]:w},hasChanges:!0}),Z.log(`[updatePrice] Updated ${t} price for ${o}: ${a}`)}function wo(r,c){const t=(r.params||{}).options;if(!t||!Array.isArray(t)||t.length===0)return 0;const o=t.reduce((a,n)=>n.is_active===!1?a:a+(n.stock_quantity||0),0);return Z.log(`[calculateTotalOptionStock] Total stock: ${o}`),o}function yo(r,c){const e=window.G7Core;if(!e?.state){Z.warn("[validatePriceRelation] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=parseFloat(String(t.form?.list_price))||0,a=parseFloat(String(t.form?.selling_price))||0,n=a>o&&o>0,s=e.t?.("sirsoft-ecommerce.admin.product.validation.selling_price_exceeds_list_price")??"판매가는 정가보다 클 수 없습니다.",i={...t.errors||{}};n?i.selling_price=[s]:delete i.selling_price;const l=Object.keys(i).length>0;e.state.setLocal({validation:{...t.validation,price_error:n},errors:l?i:null}),n?(e.toast?.warning?.(s),Z.warn(`[validatePriceRelation] Selling price (${a}) exceeds list price (${o})`)):Z.log("[validatePriceRelation] Price validation passed")}const T=window.G7Core?.createLogger?.("Ecom:ProductOption")??{log:(...r)=>console.log("[Ecom:ProductOption]",...r),warn:(...r)=>console.warn("[Ecom:ProductOption]",...r),error:(...r)=>console.error("[Ecom:ProductOption]",...r)};function ho(){return window.G7Core?.config?.("app.supported_locales")??["ko","en"]}function et(){return ho().reduce((c,e)=>({...c,[e]:""}),{})}function be(r){return(r??[]).filter(c=>c.is_active!==!1).reduce((c,e)=>c+(parseInt(String(e.stock_quantity),10)||0),0)}const Co={KRW:1e3,JPY:100};function De(){const e=((window.G7Core?.state?.get?.()||{}).modules?.["sirsoft-ecommerce"]?.language_currency?.currencies||[]).find(o=>o.is_default);if(!e)return 1;const t=e.base_unit??Co[e.code]??1;return Math.max(1,t)}function bo(r,c,e){const t=parseFloat(c)||1;if(t<=0)return r;const o=r/t;let a;switch(e){case"ceil":a=Math.ceil(o);break;case"floor":a=Math.floor(o);break;default:a=Math.round(o)}return a*t}function $e(r,c,e){const t=c.exchange_rate||0;if(t<=0)return{price:0,formatted:ye(0,c)};const o=e??De(),a=r/o*t,n=bo(a,c.rounding_unit||"0.01",c.rounding_method||"round"),s=c.decimal_places??2,i=parseFloat(n.toFixed(s));return{price:i,formatted:ye(i,c)}}function Ne(r,c,e){return r.map(t=>{const o=parseFloat(String(t.price_adjustment))||0,a=c+o,n={...t,selling_price:a};if(e.length>0){const s=De(),i={};e.forEach(l=>{i[l.code]=$e(a,l,s)}),n.multi_currency_selling_price=i}return n})}function Te(){return((window.G7Core?.state?.get?.()||{}).modules?.["sirsoft-ecommerce"]?.language_currency?.currencies||[]).filter(c=>!c.is_default&&c.exchange_rate)}function Io(r,c){const e=r.params||{},t=window.G7Core;if(!t?.state){T.warn("[setDefaultOption] G7Core.state API is not available");return}const o=t.state.getLocal()||{},a=[...o.form?.options??[]],n=e.index,s=n!=null?typeof n=="string"?parseInt(n,10):n:-1,i=e.optionCode??a[s]?.option_code;if(!i){T.warn("[setDefaultOption] Missing optionCode/index param",{index:n});return}let l=a.map(m=>({...m,is_default:m.option_code===i}));const u=l.find(m=>m.is_default===!0),d=u?parseFloat(String(u.selling_price))||parseFloat(String(o.form?.selling_price))||0:parseFloat(String(o.form?.selling_price))||0;if(u){u.price_adjustment=0;const m=Te();l=Ne(l,d,m)}t.state.setLocal({form:{...o.form,options:l,selling_price:d},hasChanges:!0}),T.log(`[setDefaultOption] Set default option to ${i}, synced product selling_price to ${d}`)}function So(r,c){const e=r.params||{},t=typeof e.index=="string"?parseInt(e.index,10):e.index,o=e.field,a=e.value;if(t==null||!o){T.warn("[updateFormOptionField] Missing required params:",{index:t,field:o});return}const n=window.G7Core;if(!n?.state){T.warn("[updateFormOptionField] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=[...s.form?.options??[]];if(t<0||t>=i.length){T.warn("[updateFormOptionField] Index out of bounds:",{index:t,length:i.length});return}const l=["regular_price","sale_price","list_price","selling_price","stock_quantity","safe_stock_quantity","weight","volume","mileage_value"];let u=a;if(l.includes(o)&&(u=parseFloat(a)||0),i[t]={...i[t],[o]:u},o==="selling_price"){const d=parseFloat(String(u))||0,m=Te();if(i[t].is_default===!0){i[t].price_adjustment=0;const g=Ne(i,d,m);n.state.setLocal({form:{...s.form,options:g,selling_price:d},hasChanges:!0}),T.log(`[updateFormOptionField] Reverse-synced product selling_price to ${d} from default option`);return}const f=parseFloat(String(s.form?.selling_price))||0;if(i[t].price_adjustment=d-f,m.length>0){const g=De(),w={};m.forEach(y=>{w[y.code]=$e(d,y,g)}),i[t].multi_currency_selling_price=w,T.log(`[updateFormOptionField] Recalculated multi_currency_selling_price for option at index ${t}:`,m.map(y=>y.code))}}if((o==="stock_quantity"||o==="is_active")&&i.length>0){const d=be(i);n.state.setLocal({form:{...s.form,options:i,stock_quantity:d},hasChanges:!0}),T.log(`[updateFormOptionField] Updated product stock_quantity to ${d} (sum of active options)`);return}n.state.setLocal({form:{...s.form,options:i},hasChanges:!0}),T.log(`[updateFormOptionField] Updated options[${t}].${o} =`,u)}function vo(r,c){const e=window.G7Core;if(!e?.state){T.warn("[addOptionRow] G7Core.state API is not available");return}const o=r.params?.isCreate===!0||r.params?.isCreate==="true"?1:0,a=e.state.getLocal()||{},n=[...a.form?.options??[]],s=a.form?.option_groups??[],i=`OPT-${Date.now()}`,l=s.map(f=>({key:f.name,value:et()})),u={id:null,option_code:i,option_name:et(),option_values:l,is_default:n.length===0,regular_price:0,sale_price:0,list_price:0,selling_price:0,price_adjustment:0,multi_currency_selling_price:{},sku:"",stock_quantity:o,safe_stock_quantity:0,weight:0,volume:0,mileage_value:0,mileage_type:"percent",is_active:!0},d=[...n,u],m=be(d);e.state.setLocal({form:{...a.form,options:d,stock_quantity:m,has_options:d.length>0},hasChanges:!0}),T.log(`[addOptionRow] Added new option row: ${i}, product stock_quantity = ${m}`)}function Lo(r,c){const e=window.G7Core;if(!e?.state){T.warn("[recalculateOptionPriceAdjustments] G7Core.state API is not available");return}const t=r.params||{},o=e.state.getLocal()||{},a=t.newSellingPrice!==void 0?parseFloat(String(t.newSellingPrice))||0:parseFloat(String(o.form?.selling_price))||0,n=[...o.form?.options??[]];if(n.length===0){T.log("[recalculateOptionPriceAdjustments] No options to recalculate");return}const s=Te(),i=Ne(n,a,s);e.state.setLocal({form:{...o.form,options:i}}),T.log(`[recalculateOptionPriceAdjustments] Recalculated selling_price for ${n.length} options based on product selling_price: ${a}`)}const h=window.G7Core?.createLogger?.("Ecom:Option")??{log:(...r)=>console.log("[Ecom:Option]",...r),warn:(...r)=>console.warn("[Ecom:Option]",...r),error:(...r)=>console.error("[Ecom:Option]",...r)};function Re(){return window.G7Core?.config?.("app.supported_locales")??["ko","en"]}function ce(){return window.G7Core?.config?.("app.locale")??Re()[0]??"ko"}function q(){return Re().reduce((c,e)=>({...c,[e]:""}),{})}function tt(r){return{id:null,name:q(),price_adjustment:0,is_default:r===0,is_active:!0,allow_custom_text:!1,sort_order:r}}function xo(r,c){return typeof r=="string"?r:r[c]??r.ko??Object.values(r)[0]??""}function ot(r){return r&&typeof r=="object"&&!Array.isArray(r)}function Po(r){return Array.isArray(r)?r:r&&typeof r=="object"?Object.values(r):[]}function Ao(r){return r.reduce((c,e)=>{const t=[];return c.forEach(o=>{e.forEach(a=>{t.push([...o,a])})}),t},[[]])}function ko(r){const c=Re(),e={};for(const t of c){const o=r.map(a=>xo(a,t));e[t]=o.join("/")}return e}function Oo(r,c){return c.map((e,t)=>({key:typeof e.name=="string"?{...q(),[ce()]:e.name}:e.name,value:ot(r[t])?r[t]:{...q(),[ce()]:r[t]}}))}function Go(r,c){const e=window.G7Core;if(!e?.state){h.warn("[addOptionInput] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=t.ui?.optionInputs??[];if(o.length>=3){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.options.messages.input_max_3")??"You can add up to 3 option inputs.");return}e.state.setLocal({ui:{...t.ui,optionInputs:[...o,{name:q(),values:[]}]}}),h.log(`[addOptionInput] Added option input. Total: ${o.length+1}`)}function Eo(r,c){const t=(r.params||{}).index;if(t===void 0){h.warn("[removeOptionInput] Missing index param");return}const o=window.G7Core;if(!o?.state){h.warn("[removeOptionInput] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.ui?.optionInputs??[]];n.splice(t,1),o.state.setLocal({ui:{...a.ui,optionInputs:n}}),h.log(`[removeOptionInput] Removed option input at index ${t}`)}function Fo(r,c){const e=r.params||{},t=e.index,o=e.field,a=e.value;if(t===void 0||!o){h.warn("[updateOptionInput] Missing required params");return}const n=window.G7Core;if(!n?.state){h.warn("[updateOptionInput] G7Core.state API is not available");return}h.log(`[updateOptionInput] Called with index=${t}, field="${o}" (type: ${typeof o}), value=`,a);const s=n.state.getLocal()||{},i=[...s.ui?.optionInputs??[]];if(h.log(`[updateOptionInput] Current inputs[${t}]:`,i[t]),i[t]||(h.log(`[updateOptionInput] inputs[${t}] not found, initializing with empty structure`),i[t]={name:q(),values:[]}),o==="name"){const l=ce(),u=i[t].name;h.log(`[updateOptionInput] Processing 'name' field - defaultLocale: ${l}, existingName:`,u,`type: ${typeof u}`);let d;a&&typeof a=="object"&&!Array.isArray(a)?(d=a,h.log("[updateOptionInput] Using multilingual value directly:",d)):(d={...u&&typeof u=="object"&&!Array.isArray(u)?u:q(),[l]:a},h.log("[updateOptionInput] Setting single locale value:",d)),i[t]={...i[t],name:d}}else h.log(`[updateOptionInput] Processing non-name field '${o}'`),i[t]={...i[t],[o]:a};h.log(`[updateOptionInput] Final inputs[${t}]:`,i[t]),n.state.setLocal({ui:{...s.ui,optionInputs:i}})}function Do(r,c){const e=window.G7Core;if(!e?.state){h.warn("[generateOptions] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=e.state.get()||{},a=t.ui?.optionInputs??[],n=ce(),s=p=>p.name?typeof p.name=="string"?p.name:p.name[n]??"":"",i=a.map(p=>({...p,values:Po(p.values)})),l=i.filter(p=>s(p)&&p.values&&p.values.length>0);if(h.log(`[generateOptions] Validating inputs - defaultLocale: ${n}, normalizedInputs:`,i.map(p=>({name:p.name,nameType:typeof p.name,extractedName:s(p),values:p.values,valuesIsArray:Array.isArray(p.values)}))),h.log(`[generateOptions] Valid inputs count: ${l.length}`),l.length===0){e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.product.options.messages.name_value_required")??"Please enter option name and values.");return}const u=t.form?.options??[],d=r.params?.skipConfirm===!0;if(u.length>0&&!d){e.modal?.open?.("modal_confirm_regenerate");return}const f=r.params?.isCreate===!0||r.params?.isCreate==="true"?1:0,g=parseFloat(String(t.form?.list_price))||0,w=parseFloat(String(t.form?.selling_price))||0,y=t.form?.multi_currency_selling_price,_=(o.modules?.["sirsoft-ecommerce"]?.language_currency?.currencies||[]).filter(p=>!p.is_default&&p.exchange_rate);try{h.log("[generateOptions] Step 1: Creating optionGroups...");const p=l.map((L,O)=>(h.log(`[generateOptions] Processing input[${O}]:`,{name:L.name,values:L.values,valuesType:typeof L.values,valuesIsArray:Array.isArray(L.values)}),{name:typeof L.name=="string"?{...q(),[n]:L.name}:L.name,values:L.values.map($=>ot($)?$:{...q(),[n]:$})})),C=Ao(l.map(L=>L.values)).map((L,O)=>{const $=Oo(L,l),Q=ko(L),Ct=`OPT-${String(O+1).padStart(3,"0")}`;let J={};return y&&typeof y=="object"&&Object.keys(y).length>0?J=JSON.parse(JSON.stringify(y)):w>0&&_.length>0&&_.forEach(xe=>{J[xe.code]=$e(w,xe)}),{id:null,option_code:Ct,option_values:$,option_name:Q,list_price:g,selling_price:w,price_adjustment:0,stock_quantity:f,safe_stock_quantity:0,is_default:O===0,is_active:!0,sku:"",multi_currency_selling_price:J}}),A=t.form?.options??[],x=L=>L.option_name?typeof L.option_name=="string"?L.option_name:L.option_name[n]??L.option_name.ko??"":"",I=C.map(L=>{const O=x(L),$=A.find(Q=>x(Q)===O);return $?{...L,...$,id:$.id}:L}),N=be(I);e.state.setLocal({form:{...t.form,option_groups:p,options:I,has_options:I.length>0,stock_quantity:N},hasChanges:!0}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.product.options.messages.generated",{count:I.length})??`${I.length} options have been generated.`),h.log(`[generateOptions] Generated ${I.length} options`)}catch(p){throw h.error("[generateOptions] Error occurred:",p),h.error("[generateOptions] Error message:",p.message),h.error("[generateOptions] Error stack:",p.stack),p}}function $o(r,c){const t=(r.params||{}).rowIndex;if(t===void 0){h.warn("[deleteOption] Missing rowIndex param");return}const o=window.G7Core;if(!o?.state){h.warn("[deleteOption] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.options??[]];n.splice(t,1);const s=be(n),i=n.length>0;o.state.setLocal({form:{...a.form,options:n,has_options:i,...i?{stock_quantity:s}:{}},hasChanges:!0}),h.log(`[deleteOption] Deleted option at index ${t}, product stock_quantity = ${s}`)}function No(r,c){const e=r.params||{},t=e.optionName,o=e.applyToAll,a=e.inheritPrice,n=window.G7Core;if(!n?.state){h.warn("[applyOptionAddTool] G7Core.state API is not available");return}if(!t?.trim()){n.toast?.warning?.(n.t?.("sirsoft-ecommerce.admin.product.options.messages.name_required")??"Please enter option name.");return}const s=n.state.getLocal()||{},l=[...s.form?.options??[]].map(u=>{const d={...u};return o&&(d.option_values={...u.option_values,[t]:""}),a&&(d.price_adjustment=u.price_adjustment??0),d});n.state.setLocal({form:{...s.form,options:l},ui:{...s.ui,optionAddToolName:"",optionAddToolApplyToAll:!1,optionAddToolInheritPrice:!1},hasChanges:!0}),n.toast?.success?.(n.t?.("sirsoft-ecommerce.admin.product.options.messages.add_tool_applied")??"Option add tool has been applied.")}function To(r,c){const e=window.G7Core;if(!e?.state){h.warn("[addRequiredItem] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=t.form?.required_items??[],a={id:null,sort_order:o.length,option_name:{ko:"",en:""},description:{ko:"",en:""}};e.state.setLocal({form:{...t.form,required_items:[...o,a]},hasChanges:!0}),h.log(`[addRequiredItem] Added required item. Total: ${o.length+1}`)}function Ro(r,c){const e=r.params||{},t=e.index,o=e.field,a=e.locale,n=e.value;if(t===void 0||!o||!a){h.warn("[updateRequiredItem] Missing required params");return}const s=window.G7Core;if(!s?.state){h.warn("[updateRequiredItem] G7Core.state API is not available");return}const i=s.state.getLocal()||{},l=[...i.form?.required_items??[]];l[t]={...l[t],[o]:{...l[t][o],[a]:n}},s.state.setLocal({form:{...i.form,required_items:l},hasChanges:!0})}function Mo(r,c){const t=(r.params||{}).index;if(t===void 0){h.warn("[removeRequiredItem] Missing index param");return}const o=window.G7Core;if(!o?.state){h.warn("[removeRequiredItem] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.required_items??[]];n.splice(t,1),n.forEach((s,i)=>{s.sort_order=i}),o.state.setLocal({form:{...a.form,required_items:n},hasChanges:!0}),h.log(`[removeRequiredItem] Removed required item at index ${t}`)}function Ho(r,c){const e=r.params||{},t=e.oldIndex,o=e.newIndex;if(t===void 0||o===void 0){h.warn("[reorderRequiredItems] Missing oldIndex or newIndex param");return}const a=window.G7Core;if(!a?.state){h.warn("[reorderRequiredItems] G7Core.state API is not available");return}const n=a.state.getLocal()||{},s=[...n.form?.required_items??[]],[i]=s.splice(t,1);s.splice(o,0,i),s.forEach((l,u)=>{l.sort_order=u}),a.state.setLocal({form:{...n.form,required_items:s},hasChanges:!0}),h.log(`[reorderRequiredItems] Moved item from ${t} to ${o}`)}function qo(r,c){const e=window.G7Core;if(!e?.state){h.warn("[addAdditionalOption] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=t.form?.additional_options??[];if(o.length>=5){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.options.messages.additional_max_5")??"You can add up to 5 additional options.");return}const a=`temp_${Date.now()}_${Math.random().toString(36).substring(2,9)}`;e.state.setLocal({form:{...t.form,additional_options:[...o,{id:a,name:q(),is_required:!1,sort_order:o.length,values:[tt(0)]}]},hasChanges:!0}),h.log(`[addAdditionalOption] Added additional option. Total: ${o.length+1}`)}function Uo(r,c){const e=r.params||{},t=e.index,o=e.field,a=e.value;if(t===void 0||!o){h.warn("[updateAdditionalOption] Missing required params");return}const n=window.G7Core;if(!n?.state){h.warn("[updateAdditionalOption] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=[...s.form?.additional_options??[]];if(!i[t]){h.warn("[updateAdditionalOption] Option not found at index",t);return}if(o==="name")if(a&&typeof a=="object"&&!Array.isArray(a))i[t]={...i[t],name:a};else{const l=ce(),u=i[t].name,d=u&&typeof u=="object"&&!Array.isArray(u)?u:q();i[t]={...i[t],name:{...d,[l]:a}}}else i[t]={...i[t],[o]:a};n.state.setLocal({form:{...s.form,additional_options:i},hasChanges:!0}),h.log(`[updateAdditionalOption] Updated options[${t}].${o}`)}function Vo(r,c){const t=(r.params||{}).index;if(t===void 0){h.warn("[removeAdditionalOption] Missing index param");return}const o=window.G7Core;if(!o?.state){h.warn("[removeAdditionalOption] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.additional_options??[]];n.splice(t,1),n.forEach((s,i)=>{s.sort_order=i}),o.state.setLocal({form:{...a.form,additional_options:n},hasChanges:!0}),h.log(`[removeAdditionalOption] Removed additional option at index ${t}`)}function jo(r,c){const e=r.params||{},t=parseInt(String(e.oldIndex),10),o=parseInt(String(e.newIndex),10);if(isNaN(t)||isNaN(o)||t===o)return;const a=window.G7Core;if(!a?.state){h.warn("[reorderAdditionalOptions] G7Core.state API is not available");return}const n=a.state.getLocal()||{},s=[...n.form?.additional_options??[]];if(t<0||t>=s.length||o<0||o>=s.length)return;const[i]=s.splice(t,1);s.splice(o,0,i),s.forEach((l,u)=>{l.sort_order=u}),a.state.setLocal({form:{...n.form,additional_options:s},ui:{...n.ui,dragIndex:null},hasChanges:!0}),h.log(`[reorderAdditionalOptions] Moved item from ${t} to ${o}`)}function Bo(r,c){const e=window.G7Core;if(!e?.state){h.warn("[clearAdditionalOptions] G7Core.state API is not available");return}const t=e.state.getLocal()||{};e.state.setLocal({form:{...t.form,additional_options:[]},hasChanges:!0}),h.log("[clearAdditionalOptions] Cleared all additional options.")}function Me(r){if(!r)return[];const c=r.values;return Array.isArray(c)?c:c&&typeof c=="object"?Object.values(c):[]}function Ko(r,c){const e=r.params||{},t=typeof e.groupIndex=="string"?parseInt(e.groupIndex,10):e.groupIndex;if(t==null||isNaN(t)){h.warn("[addAdditionalOptionValue] Missing groupIndex param");return}const o=window.G7Core;if(!o?.state){h.warn("[addAdditionalOptionValue] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.additional_options??[]];if(!n[t]){h.warn("[addAdditionalOptionValue] Group not found at index",t);return}const s=[...Me(n[t])];if(s.length>=20){o.toast?.warning?.(o.t?.("sirsoft-ecommerce.admin.product.options.messages.additional_value_max_20")??"You can add up to 20 choices per group.");return}s.push(tt(s.length)),n[t]={...n[t],values:s},o.state.setLocal({form:{...a.form,additional_options:n},hasChanges:!0}),h.log(`[addAdditionalOptionValue] Added value to group ${t}. Total: ${s.length}`)}function Qo(r,c){const e=r.params||{},t=typeof e.groupIndex=="string"?parseInt(e.groupIndex,10):e.groupIndex,o=typeof e.valueIndex=="string"?parseInt(e.valueIndex,10):e.valueIndex,a=e.field,n=e.value;if(t===void 0||o===void 0||!a){h.warn("[updateAdditionalOptionValue] Missing required params");return}const s=window.G7Core;if(!s?.state){h.warn("[updateAdditionalOptionValue] G7Core.state API is not available");return}const i=s.state.getLocal()||{},l=[...i.form?.additional_options??[]];if(!l[t]){h.warn("[updateAdditionalOptionValue] Group not found at index",t);return}const u=[...Me(l[t])];if(!u[o]){h.warn("[updateAdditionalOptionValue] Value not found at index",o);return}if(a==="name")if(n&&typeof n=="object"&&!Array.isArray(n))u[o]={...u[o],name:n};else{const d=ce(),m=u[o].name,f=m&&typeof m=="object"&&!Array.isArray(m)?m:q();u[o]={...u[o],name:{...f,[d]:n}}}else if(a==="price_adjustment"){let d=parseFloat(String(n));(isNaN(d)||d<0)&&(d=0),u[o]={...u[o],price_adjustment:d}}else if(a==="is_default")n===!0||n==="true"?u.forEach((m,f)=>{m.is_default=f===o}):u[o].is_default=!1;else if(a==="is_active"||a==="allow_custom_text"){const d=n===!0||n==="true";u[o]={...u[o],[a]:d}}else u[o]={...u[o],[a]:n};l[t]={...l[t],values:u},s.state.setLocal({form:{...i.form,additional_options:l},hasChanges:!0}),h.log(`[updateAdditionalOptionValue] Updated group ${t} value ${o} field ${a}`)}function zo(r,c){const e=r.params||{},t=typeof e.groupIndex=="string"?parseInt(e.groupIndex,10):e.groupIndex,o=typeof e.valueIndex=="string"?parseInt(e.valueIndex,10):e.valueIndex;if(t===void 0||o===void 0){h.warn("[removeAdditionalOptionValue] Missing required params");return}const a=window.G7Core;if(!a?.state){h.warn("[removeAdditionalOptionValue] G7Core.state API is not available");return}const n=a.state.getLocal()||{},s=[...n.form?.additional_options??[]];if(!s[t]){h.warn("[removeAdditionalOptionValue] Group not found at index",t);return}const i=[...Me(s[t])];if(i.length<=1){a.toast?.warning?.(a.t?.("sirsoft-ecommerce.admin.product.options.messages.additional_value_min_1")??"At least one choice is required per group.");return}i.splice(o,1),i.forEach((l,u)=>{l.sort_order=u}),i.some(l=>l.is_default)||(i[0].is_default=!0),s[t]={...s[t],values:i},a.state.setLocal({form:{...n.form,additional_options:s},hasChanges:!0}),h.log(`[removeAdditionalOptionValue] Removed value ${o} from group ${t}`)}const j=window.G7Core?.createLogger?.("Ecom:Image")??{log:(...r)=>console.log("[Ecom:Image]",...r),warn:(...r)=>console.warn("[Ecom:Image]",...r),error:(...r)=>console.error("[Ecom:Image]",...r)},Wo=["image/jpeg","image/png","image/gif","image/webp"],Yo=10*1024*1024,Jo=20;async function Xo(r,c){const t=(r.params||{}).files;if(!t||t.length===0){j.warn("[uploadImages] No files provided");return}const o=window.G7Core;if(!o?.state||!o?.api){j.warn("[uploadImages] G7Core.state or G7Core.api is not available");return}const n=(o.state.getLocal()||{}).form?.images??[],s=Jo-n.length;t.length>s&&o.toast?.warning?.(o.t?.("sirsoft-ecommerce.admin.product.images.messages.max_count",{max:s})??`You can add up to ${s} images.`);const i=Array.from(t).slice(0,s);for(const l of i){if(!Wo.includes(l.type)){o.toast?.error?.(o.t?.("sirsoft-ecommerce.admin.product.images.messages.unsupported_format",{name:l.name})??`${l.name}: Unsupported format.`);continue}if(l.size>Yo){o.toast?.error?.(o.t?.("sirsoft-ecommerce.admin.product.images.messages.size_exceeded",{name:l.name})??`${l.name}: Exceeds 10MB.`);continue}const u=o.state.getLocal()||{};o.state.setLocal({ui:{...u.ui,uploadProgress:{...u.ui?.uploadProgress||{},[l.name]:0}}});try{const d=new FormData;d.append("file",l),d.append("collection","products");const m=await o.api.upload("/api/admin/media/upload",d,{onProgress:S=>{const C=o.state.getLocal()||{};o.state.setLocal({ui:{...C.ui,uploadProgress:{...C.ui?.uploadProgress||{},[l.name]:S}}})}}),f=o.state.getLocal()||{},g=f.form?.images??[],w={...m.data,is_thumbnail:g.length===0,sort_order:g.length};o.state.setLocal({form:{...f.form,images:[...g,w]},hasChanges:!0});const y=o.state.getLocal()||{},{[l.name]:_,...p}=y.ui?.uploadProgress||{};o.state.setLocal({ui:{...y.ui,uploadProgress:p}}),j.log(`[uploadImages] Uploaded ${l.name}`)}catch(d){o.toast?.error?.(o.t?.("sirsoft-ecommerce.admin.product.images.messages.upload_failed",{name:l.name})??`${l.name}: Upload failed`);const m=o.state.getLocal()||{},{[l.name]:f,...g}=m.ui?.uploadProgress||{};o.state.setLocal({ui:{...m.ui,uploadProgress:g}}),j.error(`[uploadImages] Failed to upload ${l.name}:`,d)}}}function Zo(r,c){const t=(r.params||{}).index;if(t===void 0){j.warn("[setThumbnail] Missing index param");return}const o=window.G7Core;if(!o?.state){j.warn("[setThumbnail] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=(a.form?.images??[]).map((s,i)=>({...s,is_thumbnail:i===t}));o.state.setLocal({form:{...a.form,images:n},hasChanges:!0}),j.log(`[setThumbnail] Set thumbnail to image at index ${t}`)}function er(r,c){const e=r.params||{},t=e.oldIndex,o=e.newIndex;if(t===void 0||o===void 0){j.warn("[reorderImages] Missing oldIndex or newIndex param");return}const a=window.G7Core;if(!a?.state){j.warn("[reorderImages] G7Core.state API is not available");return}const n=a.state.getLocal()||{},s=[...n.form?.images??[]],[i]=s.splice(t,1);s.splice(o,0,i),s.forEach((l,u)=>{l.sort_order=u}),a.state.setLocal({form:{...n.form,images:s},hasChanges:!0}),j.log(`[reorderImages] Moved image from ${t} to ${o}`)}const rt=window.G7Core?.createLogger?.("Ecom:Description")??{log:(...r)=>console.log("[Ecom:Description]",...r),warn:(...r)=>console.warn("[Ecom:Description]",...r),error:(...r)=>console.error("[Ecom:Description]",...r)};function tr(r,c){const e=r.params||{},t=e.locale,o=e.value;if(!t){rt.warn("[updateDescription] Missing locale param");return}const a=window.G7Core;if(!a?.state){rt.warn("[updateDescription] G7Core.state API is not available");return}const n=a.state.getLocal()||{};a.state.setLocal({form:{...n.form,description:{...n.form?.description,[t]:o}},hasChanges:!0})}const k=window.G7Core?.createLogger?.("Ecom:Notice")??{log:(...r)=>console.log("[Ecom:Notice]",...r),warn:(...r)=>console.warn("[Ecom:Notice]",...r),error:(...r)=>console.error("[Ecom:Notice]",...r)};function ue(r=""){const e=window.G7Core?.locale?.supported?.()??["ko","en"],t={};for(const o of e)t[o]=r;return t}function or(r,c){const t=(r.params||{}).templateId,o=window.G7Core;if(!o?.state){k.warn("[confirmSelectNoticeTemplate] G7Core.state API is not available");return}const n=(o.state.getLocal()||{}).form?.notice_items??[],s=n.length>0&&n.some(i=>Object.values(i.content||{}).some(u=>u&&u.trim()!==""));if(!t||!s){nt(r);return}o.state.setGlobal({pendingNoticeTemplateId:t}),o.modal?.open?.("notice_template_confirm_modal"),k.log(`[confirmSelectNoticeTemplate] Showing confirm modal for template: ${t}`)}function nt(r,c){const t=(r.params||{}).templateId,o=window.G7Core;if(!o?.state){k.warn("[selectNoticeTemplate] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=o.dataSource?.get?.("notice_templates"),s=n?.data?.data??n?.data??[];if(!t){o.state.setLocal({form:{...a.form,notice_items:[]},ui:{...a.ui,selectedNoticeTemplateId:null},hasChanges:!0});return}const i=s.find(d=>d.id===t);if(!i){k.warn(`[selectNoticeTemplate] Template not found: ${t}`);return}const l=a.form?.notice_items??[],u=(i.fields??[]).map((d,m)=>{const f=JSON.stringify(d.name),g=l.find(w=>JSON.stringify(w.name)===f);return{key:`field_${m}`,name:d.name,content:g?.content??d.content??ue(),sort_order:m,is_custom:!1}});o.state.setLocal({form:{...a.form,notice_items:u},ui:{...a.ui,selectedNoticeTemplateId:t},hasChanges:!0}),k.log(`[selectNoticeTemplate] Selected template: ${t}`)}function rr(r,c){const e=r.params||{},t=e.index,o=e.locale,a=e.value;if(t===void 0||!o){k.warn("[updateNoticeItem] Missing required params");return}const n=window.G7Core;if(!n?.state){k.warn("[updateNoticeItem] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=[...s.form?.notice_items??[]];i[t]={...i[t],content:{...i[t].content,[o]:a}},n.state.setLocal({form:{...s.form,notice_items:i},hasChanges:!0})}function nr(r,c){const t=(r.params||{}).index;if(t===void 0){k.warn("[removeNoticeItem] Missing index param");return}const o=window.G7Core;if(!o?.state){k.warn("[removeNoticeItem] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.notice_items??[]];n.splice(t,1),n.forEach((s,i)=>{s.sort_order=i}),o.state.setLocal({form:{...a.form,notice_items:n},hasChanges:!0}),k.log(`[removeNoticeItem] Removed notice item at index ${t}`)}function ar(r,c){const e=r.params||{},t=e.oldIndex,o=e.newIndex;if(t===void 0||o===void 0){k.warn("[reorderNoticeItems] Missing oldIndex or newIndex param");return}const a=window.G7Core;if(!a?.state){k.warn("[reorderNoticeItems] G7Core.state API is not available");return}const n=a.state.getLocal()||{},s=[...n.form?.notice_items??[]],[i]=s.splice(t,1);s.splice(o,0,i),s.forEach((l,u)=>{l.sort_order=u}),a.state.setLocal({form:{...n.form,notice_items:s},hasChanges:!0}),k.log(`[reorderNoticeItems] Moved item from ${t} to ${o}`)}function sr(r,c){const t=(r.params||{}).value,o=window.G7Core;if(!o?.state){k.warn("[fillNoticeWithValue] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=a.ui?.noticeLocale??"ko",s=(a.form?.notice_items??[]).map(i=>({...i,content:{...i.content,[n]:i.content?.[n]||t}}));o.state.setLocal({form:{...a.form,notice_items:s},hasChanges:!0}),o.toast?.success?.(o.t?.("sirsoft-ecommerce.admin.product.notice.messages.filled")??"Empty fields have been filled.")}function ir(r,c){const t=(r.params||{}).mode;if(!t){k.warn("[switchNoticeMode] Missing mode param");return}const o=window.G7Core;if(!o?.state){k.warn("[switchNoticeMode] G7Core.state API is not available");return}const a=o.state.getLocal()||{};o.state.setLocal({ui:{...a.ui,noticeMode:t}}),k.log(`[switchNoticeMode] Switched to ${t} mode`)}function cr(r,c){const e=r.params||{},t=e.locale,o=e.value;if(!t){k.warn("[updateNewTemplateName] Missing locale param");return}const a=window.G7Core;if(!a?.state){k.warn("[updateNewTemplateName] G7Core.state API is not available");return}const n=a.state.getLocal()||{};a.state.setLocal({form:{...n.form,new_template_name:{...n.form?.new_template_name,[t]:o}}})}function lr(r,c){const e=window.G7Core;if(!e?.state){k.warn("[addNoticeItem] G7Core.state API is not available");return}const t=e.state.getLocal()||{},o=t.form?.notice_items??[],a={key:`custom_${Date.now()}`,name:ue(),content:ue(),sort_order:o.length,is_custom:!0};e.state.setLocal({form:{...t.form,notice_items:[...o,a]},hasChanges:!0}),k.log(`[addNoticeItem] Added new notice item. Total: ${o.length+1}`)}function dr(r,c){const e=r.params||{},t=e.index,o=e.locale,a=e.value;if(t===void 0||!o){k.warn("[updateNoticeItemName] Missing required params");return}const n=window.G7Core;if(!n?.state){k.warn("[updateNoticeItemName] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=[...s.form?.notice_items??[]];i[t]={...i[t],name:{...i[t].name,[o]:a}},n.state.setLocal({form:{...s.form,notice_items:i},hasChanges:!0})}function ur(r,c){const e=window.G7Core;if(!e?.state){k.warn("[saveAsNoticeTemplate] G7Core.state API is not available");return}if(((e.state.getLocal()||{}).form?.notice_items??[]).length===0){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.no_items")??"No items to save.");return}e.state.set?.({"ui.saveTemplateData":{name:ue(),category_id:null,is_default:!1}}),e.dispatch?.({handler:"openModal",target:"modal_save_template"})}const Ie={ko:"상세설명참조",en:"See detail description"};function mr(r,c){const e=window.G7Core;if(!e?.state){k.warn("[fillTemplateFieldsWithDetailReference] G7Core.state API is not available");return}const a=((r.params||{}).form||{}).fields??[];if(a.length===0){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product_notice_template.messages.no_fields_to_change")??"변경할 항목이 없습니다.");return}const n=e.locale?.supported?.()??["ko","en"],s={};for(const l of n)s[l]=Ie[l]??Ie.en??"See detail description";const i=a.map(l=>({...l,content:{...s}}));e.state.setLocal({"form.fields":i}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.product_notice_template.messages.all_fields_changed_to_detail_ref")??"모든 항목이 '상세설명참조'로 변경되었습니다."),k.log("[fillTemplateFieldsWithDetailReference] All fields updated to detail reference")}function pr(r,c){const e=window.G7Core;if(!e?.state){k.warn("[fillNoticeItemsWithDetailReference] G7Core.state API is not available");return}const a=((r.params||{}).form||{}).notice_items??[];if(a.length===0){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.no_items_to_change")??"변경할 항목이 없습니다.");return}const n=e.locale?.supported?.()??["ko","en"],s={};for(const l of n)s[l]=Ie[l]??Ie.en??"See detail description";const i=a.map(l=>({...l,content:{...s}}));e.state.setLocal({"form.notice_items":i}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.all_items_changed_to_detail_ref")??"모든 항목이 '상세설명참조'로 변경되었습니다."),k.log("[fillNoticeItemsWithDetailReference] All notice items updated to detail reference")}async function fr(r,c){const e=window.G7Core;if(!e?.state||!e?.api){k.warn("[confirmSaveNoticeTemplate] G7Core.state or G7Core.api is not available");return}const t=e.state.getLocal()||{},o=e.state.get?.()?.ui?.saveTemplateData??{},a=o.name;if(!a?.ko?.trim()){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.template_name_required")??"Please enter template name.");return}try{const n=t.form?.notice_items??[],s=await e.api.post("/api/modules/sirsoft-ecommerce/admin/products/notice-templates",{name:a,is_active:o.is_default??!1,fields:n.map(i=>({name:i.name,content:i.content}))});e.state.set?.({"ui.saveTemplateData":{name:ue(),category_id:null,is_default:!1}}),e.state.setLocal({ui:{...t.ui,noticeMode:"existing"},hasChanges:!0}),e.dispatch?.({handler:"closeModal"}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.template_saved")??"Template has been saved."),e.datasources?.refresh?.("notice_templates"),k.log(`[confirmSaveNoticeTemplate] Template saved: ${s.data.id}`)}catch(n){e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.product.notice.messages.template_save_error")??"Failed to save template."),k.error("[confirmSaveNoticeTemplate] Failed to save template:",n)}}const v=window.G7Core?.createLogger?.("Ecom:Misc")??{log:(...r)=>console.log("[Ecom:Misc]",...r),warn:(...r)=>console.warn("[Ecom:Misc]",...r),error:(...r)=>console.error("[Ecom:Misc]",...r)};function gr(r,c){const t=(r.params||{}).labelId;if(!t){v.warn("[toggleLabel] Missing labelId param");return}const o=window.G7Core;if(!o?.state){v.warn("[toggleLabel] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=a.form?.labels??[],s=n.includes(t)?n.filter(i=>i!==t):[...n,t];o.state.setLocal({form:{...a.form,labels:s},hasChanges:!0}),v.log(`[toggleLabel] Toggled label ${t}. Current labels: ${s.length}`)}async function _r(r,c){const e=window.G7Core;if(!e?.state||!e?.api){v.warn("[generateProductCode] G7Core.state or G7Core.api is not available");return}try{const t=await e.api.post("/api/modules/sirsoft-ecommerce/admin/products/generate-code"),o=e.state.getLocal()||{};e.state.setLocal({form:{...o.form,product_code:t.data.product_code}}),v.log(`[generateProductCode] Generated: ${t.data.product_code}`)}catch(t){e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.product.messages.code_generate_error")??"Failed to generate product code."),v.error("[generateProductCode] Failed:",t)}}function wr(r,c){const e=r.params||{},t=e.policyId,o=e.field,a=e.policies;if(!t||!o||!a)return"-";const n=a.find(s=>s.id===t);return n?n[o]??"-":"-"}function yr(r,c){const e=r.params||{},t=e.templateId,o=e.templates;if(!t||!o)return"";const n=window.G7Core?.locale?.current?.()||"ko",s=o.find(i=>i.id===t);return s?.content?.[n]??s?.content?.ko??""}function hr(r,c){const e=r.params||{},t=e.platform,o=e.field,a=e.value;if(!t||!o){v.warn("[updateShoppingIntegration] Missing required params");return}const n=window.G7Core;if(!n?.state){v.warn("[updateShoppingIntegration] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=s.form?.shopping_integrations??{naver:{enabled:!1,sync_interval:"manual"},daum:{enabled:!1,sync_interval:"manual"},facebook:{enabled:!1,sync_interval:"manual"},google:{enabled:!1,sync_interval:"manual"}};n.state.setLocal({form:{...s.form,shopping_integrations:{...i,[t]:{...i[t],[o]:a}}},hasChanges:!0}),v.log(`[updateShoppingIntegration] Updated ${t}.${o} to ${a}`)}function Cr(r,c){const t=(r.params||{}).type;if(!t){v.warn("[updateShippingType] Missing type param");return}const o=window.G7Core;if(!o?.state){v.warn("[updateShippingType] G7Core.state API is not available");return}const a=o.state.getLocal()||{};let n=0,s=0;t==="fixed_paid"?n=3e3:t==="threshold_free"&&(s=3e4),o.state.setLocal({form:{...a.form,shipping_type:t,shipping_fee:t==="fixed_free"?0:a.form?.shipping_fee??n,free_shipping_threshold:t==="threshold_free"?a.form?.free_shipping_threshold??s:0},hasChanges:!0}),v.log(`[updateShippingType] Updated shipping type to ${t}`)}function br(r,c){const e=r.params||{},t=e.field,o=e.value;if(!t){v.warn("[updateIdentificationCode] Missing field param");return}const a=window.G7Core;if(!a?.state){v.warn("[updateIdentificationCode] G7Core.state API is not available");return}const n=a.state.getLocal()||{};a.state.setLocal({form:{...n.form,[t]:o},hasChanges:!0})}function Ir(r,c){const e=r.params||{},t=e.labelId,o=e.labelName;if(!t){v.warn("[openLabelPeriodModal] Missing labelId param");return}const a=window.G7Core;if(!a?.state){v.warn("[openLabelPeriodModal] G7Core.state API is not available");return}const n=a.state.getLocal()||{},i=(n.form?.labels??[]).find(l=>l.id===t);a.state.setLocal({ui:{...n.ui,showLabelPeriodModal:!0,labelPeriodModalData:{labelId:t,labelName:o,startDate:i?.start_date??null,endDate:i?.end_date??null}}})}function Sr(r,c){const e=r.params||{},t=e.labelId,o=e.startDate,a=e.endDate;if(!t){v.warn("[saveLabelPeriod] Missing labelId param");return}const n=window.G7Core;if(!n?.state){v.warn("[saveLabelPeriod] G7Core.state API is not available");return}const s=n.state.getLocal()||{},i=[...s.form?.labels??[]],l=i.findIndex(u=>u.id===t);l>=0?i[l]={...i[l],start_date:o,end_date:a}:i.push({id:t,start_date:o,end_date:a}),n.state.setLocal({form:{...s.form,labels:i},ui:{...s.ui,showLabelPeriodModal:!1,labelPeriodModalData:null},hasChanges:!0}),n.toast?.success?.(n.t?.("sirsoft-ecommerce.admin.product.messages.label_period_saved")??"Label period has been saved."),v.log(`[saveLabelPeriod] Saved period for label ${t}`)}function vr(r,c){const t=(r.params||{}).labelId;if(!t){v.warn("[removeLabelPeriod] Missing labelId param");return}const o=window.G7Core;if(!o?.state){v.warn("[removeLabelPeriod] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=[...a.form?.labels??[]],s=n.findIndex(i=>i.id===t);s>=0&&(n[s]={...n[s],start_date:null,end_date:null}),o.state.setLocal({form:{...a.form,labels:n},hasChanges:!0}),o.toast?.success?.(o.t?.("sirsoft-ecommerce.admin.product.messages.label_period_removed")??"Label period has been removed."),v.log(`[removeLabelPeriod] Removed period for label ${t}`)}function Lr(r,c){const t=(r.params||{}).sort;if(!t){v.warn("[updateActivityLogSort] Missing sort param");return}const o=window.G7Core;if(!o?.state){v.warn("[updateActivityLogSort] G7Core.state API is not available");return}const a=o.state.getLocal()||{};o.state.setLocal({ui:{...a.ui,activityLogSort:t}}),o.datasources?.refresh?.("activity_logs",{params:{sort:t==="latest"?"desc":"asc",per_page:a.ui?.activityLogPerPage??10}}),v.log(`[updateActivityLogSort] Updated sort to ${t}`)}function xr(r,c){const t=(r.params||{}).perPage;if(!t){v.warn("[updateActivityLogPerPage] Missing perPage param");return}const o=window.G7Core;if(!o?.state){v.warn("[updateActivityLogPerPage] G7Core.state API is not available");return}const a=o.state.getLocal()||{};o.state.setLocal({ui:{...a.ui,activityLogPerPage:t}}),o.datasources?.refresh?.("activity_logs",{params:{sort:a.ui?.activityLogSort==="oldest"?"asc":"desc",per_page:t}}),v.log(`[updateActivityLogPerPage] Updated perPage to ${t}`)}function Pr(r,c){const e=window.G7Core;if(!e?.state){v.warn("[setDefaultShippingPolicy] G7Core.state API is not available");return}const t=e.state.getLocal()||{};if(t.form?.shipping_policy_id){v.log("[setDefaultShippingPolicy] Shipping policy already set, skipping");return}if(t.ui?.useDefaultShippingPolicy===!1){v.log("[setDefaultShippingPolicy] useDefaultShippingPolicy is OFF, skipping");return}const o=e.dataSource?.get?.("shipping_policies"),a=o?.data?.data??o?.data??[];if(a.length===0){v.log("[setDefaultShippingPolicy] No shipping policies found");return}const n=a.find(s=>s.is_default===!0);n?(e.state.setLocal({form:{...t.form,shipping_policy_id:n.id}}),v.log(`[setDefaultShippingPolicy] Set default shipping policy: ${n.id} (${n.name})`)):v.log("[setDefaultShippingPolicy] No default shipping policy found")}function Ar(r,c){const e=window.G7Core;if(!e?.state){v.warn("[toggleDefaultShippingPolicy] G7Core.state API is not available");return}const t=r.params?.checked??!1,o=e.state.getLocal()||{},a={...o.ui,useDefaultShippingPolicy:t};if(t){const n=e.dataSource?.get?.("shipping_policies"),i=(n?.data?.data??n?.data??[]).find(l=>l.is_default===!0);e.state.setLocal({ui:a,form:{...o.form,shipping_policy_id:i?.id??null}}),i?v.log(`[toggleDefaultShippingPolicy] ON - Selected default policy: ${i.id}`):v.log("[toggleDefaultShippingPolicy] ON - No default policy found")}else e.state.setLocal({ui:a}),v.log("[toggleDefaultShippingPolicy] OFF - Keeping current shipping policy")}function kr(r,c){const e=window.G7Core;if(!e?.state){v.warn("[setLabelDatePreset] G7Core.state API is not available");return}const t=r.params?.preset;if(!t){v.warn("[setLabelDatePreset] Missing preset param");return}const o=new Date,a=i=>{const l=i.getFullYear(),u=String(i.getMonth()+1).padStart(2,"0"),d=String(i.getDate()).padStart(2,"0");return`${l}-${u}-${d}`},n=a(o);let s=null;switch(t){case"7d":{const i=new Date(o);i.setDate(i.getDate()+7),s=a(i);break}case"14d":{const i=new Date(o);i.setDate(i.getDate()+14),s=a(i);break}case"30d":{const i=new Date(o);i.setDate(i.getDate()+30),s=a(i);break}case"permanent":s=null;break;default:v.warn(`[setLabelDatePreset] Unknown preset: ${t}`);return}e.state.setGlobal({"labelFormData.start_date":n,"labelFormData.end_date":s}),v.log(`[setLabelDatePreset] Applied preset '${t}': ${n} ~ ${s??"permanent"}`)}const Or=(r,c)=>{const e=window.G7Core,o=(e?.state?.getLocal?.()||{}).form?.label_assignments??[],a=Number(r.params?.labelId);if(!a)return;const n=[...o];if(n.find(l=>l.label_id===a)){e?.state?.setLocal?.({"ui.lastClickedLabelId":a});return}const i=[...n,{label_id:a,started_at:null,ended_at:null}];e?.state?.setLocal?.({"form.label_assignments":i,"ui.lastClickedLabelId":a,hasChanges:!0})},Gr=(r,c)=>{const e=window.G7Core,o=(e?.state?.getLocal?.()||{}).form?.label_assignments??[],a=Number(r.params?.labelId),n=r.params?.field,s=r.params?.value;if(!a||!n)return;const i=[...o],l=i.findIndex(u=>u.label_id===a);l<0||(i[l]={...i[l],[n]:s||null},e?.state?.setLocal?.({"form.label_assignments":i,hasChanges:!0}))},Er=(r,c)=>{const e=window.G7Core,t=e?.state?.getLocal?.()||{},o=t.form?.label_assignments??[],a=t.ui?.lastClickedLabelId,n=r.params?.preset;if(!a||!n)return;const s=[...o],i=s.findIndex(f=>f.label_id===a);if(i<0)return;const l=new Date,u=f=>f.toISOString().split("T")[0],d=u(l);let m=null;switch(n){case"7d":m=u(new Date(l.getTime()+7*24*60*60*1e3));break;case"14d":m=u(new Date(l.getTime()+14*24*60*60*1e3));break;case"30d":m=u(new Date(l.getTime()+30*24*60*60*1e3));break;case"permanent":m=null;break}s[i]={...s[i],started_at:d,ended_at:m},e?.state?.setLocal?.({"form.label_assignments":s,hasChanges:!0})},Fr=(r,c)=>{const e=window.G7Core,o=(e?.state?.get()||{}).labelToUncheckId;if(!o)return;const i=[...(e?.state?.getParent?.()?._local||{}).form?.label_assignments??[]].filter(l=>l.label_id!==o);e?.state?.setParentLocal?.({"form.label_assignments":i,hasChanges:!0}),e?.state?.setGlobal?.({labelToUncheckId:null}),e?.modal?.close?.()},Dr=async(r,c)=>{const e=window.G7Core,t=e?.state?.get()||{},a=(e?.state?.getLocal?.()||{}).form?.label_assignments??[],n=t.labelToDeleteId;if(n){e?.state?.setGlobal?.({isDeletingLabel:!0});try{const s=await e.api.delete(`/api/modules/sirsoft-ecommerce/admin/product-labels/${n}`);if(!s?.success)throw new Error(s?.message||"Failed to delete label");const l=[...a].filter(u=>u.label_id!==n);e?.state?.setLocal?.({"form.label_assignments":l,"ui.lastClickedLabelId":null}),await e?.dataSource?.refetch?.("product_labels"),e?.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.product.labels.delete_success")??"Label deleted."),e?.modal?.close?.()}catch(s){e?.toast?.error?.(s?.response?.data?.message||s?.message||e.t?.("sirsoft-ecommerce.admin.product.labels.delete_error")||"Failed to delete label.")}finally{e?.state?.setGlobal?.({isDeletingLabel:!1,labelToDeleteId:null})}}},$r=async(r,c)=>{const e=window.G7Core,t=e?.state?.get()||{},a=(e?.state?.getLocal?.()||{}).form?.label_assignments??[],n=t.editingLabelId,s=t.labelFormData;if(s?.name?.ko){e?.state?.setGlobal?.({isSavingLabel:!0});try{if(n){const i=await e.api.put(`/api/modules/sirsoft-ecommerce/admin/product-labels/${n}`,{name:s.name,color:s.color});if(!i?.success)throw new Error(i?.message||"Failed to update label");const u=[...a].map(d=>d.label_id===n?{...d,started_at:s.started_at||null,ended_at:s.ended_at||null}:d);e?.state?.setLocal?.({"form.label_assignments":u,hasChanges:!0})}else{const i=await e.api.post("/api/modules/sirsoft-ecommerce/admin/product-labels",{name:s.name,color:s.color||"#6B7280"});if(!i?.success)throw new Error(i?.message||"Failed to create label");const l=Number(i?.data?.id);if(l){const d=[...[...a],{label_id:l,started_at:null,ended_at:null}];e?.state?.setLocal?.({"form.label_assignments":d,"ui.lastClickedLabelId":l,hasChanges:!0})}}await e?.dataSource?.refetch?.("product_labels"),e?.toast?.success?.(n?e.t?.("sirsoft-ecommerce.admin.product.labels.save_success")??"Label saved.":e.t?.("sirsoft-ecommerce.admin.product.labels.create_success")??"Label created."),e?.modal?.close?.()}catch(i){e?.toast?.error?.(i?.response?.data?.message||i?.message||e.t?.("sirsoft-ecommerce.admin.product.labels.save_error")||"Failed to save label.")}finally{e?.state?.setGlobal?.({isSavingLabel:!1})}}},ee=window.G7Core?.createLogger?.("Ecom:DescriptionLocale")??{log:(...r)=>console.log("[Ecom:DescriptionLocale]",...r),warn:(...r)=>console.warn("[Ecom:DescriptionLocale]",...r),error:(...r)=>console.error("[Ecom:DescriptionLocale]",...r)};function at(){return window.G7Core?.config?.("app.supported_locales")??["ko","en"]}function Nr(r,c){const t=(r.params||{}).locale;if(!t){ee.warn("[removeDescriptionLocale] Missing locale param");return}const o=window.G7Core;if(!o?.state){ee.warn("[removeDescriptionLocale] G7Core.state API is not available");return}const a=o?.state?.get?.("_global.settings.general.language")??o?.config?.("app.fallback_locale")??"ko";if(t===a){o.toast?.error?.(o.t?.("sirsoft-ecommerce.admin.product.description_editor.messages.default_locale_cannot_delete")??"Default language cannot be deleted.");return}const n=o.state.getLocal()||{},s=at(),i={...n.form?.description};delete i[t];const l={...n.form?.description_mobile};delete l[t];const u=(n.ui?.descriptionActiveLocales??s).filter(d=>d!==t);o.state.setLocal({form:{...n.form,description:i,description_mobile:l},ui:{...n.ui,descriptionActiveLocales:u,descriptionLocale:u[0]??"ko"},hasChanges:!0}),o.toast?.success?.(o.t?.("sirsoft-ecommerce.admin.product.description_editor.messages.locale_removed",{locale:t.toUpperCase()})??`${t.toUpperCase()} language has been removed.`),ee.log(`[removeDescriptionLocale] Removed locale: ${t}`)}function Tr(r,c){const e=window.G7Core;if(!e?.state){ee.warn("[showAddLocaleModal] G7Core.state API is not available");return}const t=e.state.getLocal()||{};e.state.setLocal({ui:{...t.ui,showAddLocaleModal:!0}})}function Rr(r,c){const t=(r.params||{}).locale;if(!t){ee.warn("[addDescriptionLocale] Missing locale param");return}const o=window.G7Core;if(!o?.state){ee.warn("[addDescriptionLocale] G7Core.state API is not available");return}const a=o.state.getLocal()||{},n=at(),s=a.ui?.descriptionActiveLocales??["ko"];if(s.includes(t)){o.toast?.warning?.(o.t?.("sirsoft-ecommerce.admin.product.description_editor.messages.locale_already_added")??"This language is already added.");return}if(!n.includes(t)){o.toast?.error?.(o.t?.("sirsoft-ecommerce.admin.product.description_editor.messages.locale_unsupported")??"Unsupported language.");return}o.state.setLocal({form:{...a.form,description:{...a.form?.description,[t]:""},description_mobile:{...a.form?.description_mobile,[t]:""}},ui:{...a.ui,descriptionActiveLocales:[...s,t],descriptionLocale:t,showAddLocaleModal:!1},hasChanges:!0}),o.toast?.success?.(o.t?.("sirsoft-ecommerce.admin.product.description_editor.messages.locale_added",{locale:t.toUpperCase()})??`${t.toUpperCase()} language has been added.`),ee.log(`[addDescriptionLocale] Added locale: ${t}`)}const W=window.G7Core?.createLogger?.("Ecom:BulkUpdate")??{log:(...r)=>console.log("[Ecom:BulkUpdate]",...r),warn:(...r)=>console.warn("[Ecom:BulkUpdate]",...r),error:(...r)=>console.error("[Ecom:BulkUpdate]",...r)};function st(r,c,e){const t=c?.response?.data??{},o=t?.message||c?.message||"",a=t?.errors,n=a&&typeof a=="object"?Object.values(a).map(i=>Array.isArray(i)?i[0]:String(i)):[],s=o||r.t(e);r.toast.error(s),r.state.set({bulkUpdateErrors:n.length>0?n:s?[s]:[]})}function Y(r){return typeof r=="string"?r:r&&typeof r=="object"?r.ko||r.en||JSON.stringify(r):String(r??"")}function Se(r,c,e){return e?r.t(`sirsoft-ecommerce.enums.${c}.${e}`)||e:String(e??"")}function it(){const r=window.G7Core;return r||(W.error("[bulkUpdate] G7Core is not available"),null)}function Mr(r,c){const e=it();if(!e)return;const t=e.state.getLocal()||{},o=e.state.get()||{},a=o.bulkSelectedItems||t.selectedItems||[],n=o.bulkSelectedOptionIds||t.selectedOptionIds||[];W.log("[bulkUpdate] globalState.bulkSelectedItems:",o.bulkSelectedItems),W.log("[bulkUpdate] localState.selectedItems:",t.selectedItems),W.log("[bulkUpdate] Final selectedItems:",a),a.length>0?Hr(e,o,t,a):n.length>0?qr(e,o,t,n):e.toast.warning(e.t("sirsoft-ecommerce.admin.product.bulk.no_selection"))}function Hr(r,c,e,t){const a=r.dataSource.get("products")?.data?.data||[],n={};c.bulkSalesStatus&&(n.sales_status=c.bulkSalesStatus),c.bulkDisplayStatus&&(n.display_status=c.bulkDisplayStatus);const s={};if(c.bulkPriceMethod&&c.bulkPriceValue!==void 0&&c.bulkPriceValue!==null&&c.bulkPriceValue!==""){const p={fixed:"set",increase:"add",decrease:"subtract"};c.bulkPriceUnit==="percent"?s.price_adjustment={method:"percent",value:c.bulkPriceMethod==="decrease"?-(Number(c.bulkPriceValue)||0):Number(c.bulkPriceValue)||0}:s.price_adjustment={method:p[c.bulkPriceMethod]||"add",value:Number(c.bulkPriceValue)||0}}if(c.bulkStockMethod&&c.bulkStockValue!==void 0&&c.bulkStockValue!==null&&c.bulkStockValue!==""){const p={set:"set",increase:"add",decrease:"subtract"};s.stock_quantity={method:p[c.bulkStockMethod]||"add",value:Number(c.bulkStockValue)||0}}const i=e.modifiedProductIds||[],l=e.modifiedOptionIds||[],u=e.modifiedProductFields||{},d=e.modifiedOptionFields||{},m=c.bulkSelectedOptionIds||e.selectedOptionIds||[],f=new Set(t),g=[],w=[];function y(p,S,C){if(S._modified||l.includes(C)){const x={product_id:p.id,option_id:S.id},I=d[C]||[];!s.price_adjustment&&I.includes("price_adjustment")&&(x.price_adjustment=S.price_adjustment),!s.price_adjustment&&I.includes("selling_price")&&(x.price_adjustment=S.price_adjustment),!s.stock_quantity&&I.includes("stock_quantity")&&(x.stock_quantity=S.stock_quantity),I.includes("option_name")&&(x.option_name=S.option_name),I.includes("sku")&&(x.sku=S.sku),I.includes("list_price")&&(x.list_price=S.list_price),I.includes("safe_stock_quantity")&&(x.safe_stock_quantity=S.safe_stock_quantity),I.includes("is_default")&&(x.is_default=S.is_default),I.includes("is_active")&&(x.is_active=S.is_active),Object.keys(x).length>2&&w.push(x)}}a.filter(p=>t.includes(p.id)).forEach(p=>{if(p._modified||i.includes(p.id)){const C={id:p.id},A=String(p.id),x=u[A]||[];!n.sales_status&&x.includes("sales_status")&&(C.sales_status=p.sales_status),!n.display_status&&x.includes("display_status")&&(C.display_status=p.display_status),x.includes("name")&&(C.name=p.name),x.includes("list_price")&&(C.list_price=p.list_price),x.includes("selling_price")&&(C.selling_price=p.selling_price),Object.keys(C).length>1&&g.push(C)}(p.options||[]).forEach(C=>{const A=`${p.id}-${C.id}`;y(p,C,A)})}),m.length>0&&a.forEach(p=>{f.has(p.id)||(p.options||[]).forEach(S=>{const C=`${p.id}-${S.id}`;m.includes(C)&&y(p,S,C)})});const _={ids:t};Object.keys(n).length>0&&(_.bulk_changes=n),g.length>0&&(_.items=g),Object.keys(s).length>0&&(_.option_bulk_changes=s),w.length>0&&(_.option_items=w),r.state.set({isProcessing:!0,bulkUpdateErrors:[]}),r.api.patch("/api/modules/sirsoft-ecommerce/admin/products/bulk-update",_).then(p=>{r.toast.success(r.t("sirsoft-ecommerce.admin.product.bulk.update_success",{products:p?.data?.products_updated||0,options:p?.data?.options_updated||0})),lt(r),ct(r),r.modal.close()}).catch(p=>{W.error("[bulkUpdateProducts] Error:",p),st(r,p,"sirsoft-ecommerce.admin.product.bulk.update_error")}).finally(()=>{r.state.set({isProcessing:!1})})}function qr(r,c,e,t){const a=r.dataSource.get("products")?.data?.data||[],n={};if(c.bulkPriceMethod&&c.bulkPriceValue!==void 0&&c.bulkPriceValue!==null&&c.bulkPriceValue!==""){const d={fixed:"set",increase:"add",decrease:"subtract"};c.bulkPriceUnit==="percent"?n.price_adjustment={method:"percent",value:c.bulkPriceMethod==="decrease"?-(Number(c.bulkPriceValue)||0):Number(c.bulkPriceValue)||0}:n.price_adjustment={method:d[c.bulkPriceMethod]||"add",value:Number(c.bulkPriceValue)||0}}if(c.bulkStockMethod&&c.bulkStockValue!==void 0&&c.bulkStockValue!==null&&c.bulkStockValue!==""){const d={set:"set",increase:"add",decrease:"subtract"};n.stock_quantity={method:d[c.bulkStockMethod]||"add",value:Number(c.bulkStockValue)||0}}const s=e.modifiedOptionFields||{},i=e.modifiedOptionIds||[],l=[];a.forEach(d=>{(d.options||[]).forEach(m=>{const f=`${d.id}-${m.id}`,g=m._modified||i.includes(f);if(t.includes(f)&&g){const w={product_id:d.id,option_id:m.id},y=s[f]||[];!n.price_adjustment&&y.includes("price_adjustment")&&(w.price_adjustment=m.price_adjustment),!n.price_adjustment&&y.includes("selling_price")&&(w.price_adjustment=m.price_adjustment),!n.stock_quantity&&y.includes("stock_quantity")&&(w.stock_quantity=m.stock_quantity),y.includes("option_name")&&(w.option_name=m.option_name),y.includes("sku")&&(w.sku=m.sku),y.includes("list_price")&&(w.list_price=m.list_price),y.includes("safe_stock_quantity")&&(w.safe_stock_quantity=m.safe_stock_quantity),y.includes("is_default")&&(w.is_default=m.is_default),y.includes("is_active")&&(w.is_active=m.is_active),Object.keys(w).length>2&&l.push(w)}})});const u={ids:t};Object.keys(n).length>0&&(u.bulk_changes=n),l.length>0&&(u.items=l),r.state.set({isProcessing:!0,bulkUpdateErrors:[]}),r.api.patch("/api/modules/sirsoft-ecommerce/admin/options/bulk-update",u).then(d=>{r.toast.success(r.t("sirsoft-ecommerce.admin.product.bulk.option_update_success",{count:d?.data?.options_updated||0})),lt(r),ct(r),r.modal.close()}).catch(d=>{W.error("[bulkUpdateOptions] Error:",d),st(r,d,"sirsoft-ecommerce.admin.product.bulk.option_update_error")}).finally(()=>{r.state.set({isProcessing:!1})})}function ct(r){Promise.resolve(r.dataSource.refetch("products")).then(()=>{eo(r,{force:!0})}).catch(c=>{W.error("[bulkUpdate] Failed to refetch products:",c)})}function lt(r){r.state.setLocal({modifiedProductIds:[],modifiedOptionIds:[],modifiedProductFields:{},modifiedOptionFields:{},selectedItems:[],selectedOptionIds:[]}),r.state.set({bulkSalesStatus:null,bulkDisplayStatus:null,bulkPriceCondition:null,bulkStockCondition:null,bulkConfirmData:null,bulkUpdateErrors:[]})}function Ur(r,c){const e=it();if(!e)return;const t=e.state.getLocal()||{},o=e.state.get()||{},n=e.dataSource.get("products")?.data?.data||[],s=o.bulkSelectedItems||t.selectedItems||[],i=o.bulkSelectedOptionIds||t.selectedOptionIds||[],l={products:[],options:[],summary:{productCount:0,optionCount:0,hasBulkChanges:!1,hasInlineChanges:!1}},u=!!(o.bulkSalesStatus||o.bulkDisplayStatus||o.bulkPriceCondition||o.bulkStockCondition);l.summary.hasBulkChanges=u;const d=t.modifiedProductIds||[],m=t.modifiedOptionIds||[],f=t.modifiedProductFields||{},g=t.modifiedOptionFields||{},w=new Set(s);function y(_,p,S){const C=[],A=g[p]||[];if(o.bulkPriceCondition&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_price_adjustment_inline",{value:o.bulkPriceCondition})||`Price adjustment: ${o.bulkPriceCondition}`),o.bulkStockCondition&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_stock_inline",{value:o.bulkStockCondition})||`Stock: ${o.bulkStockCondition}`),S){if(!o.bulkPriceCondition&&A.includes("price_adjustment")){const x=_.price_adjustment?.toLocaleString?.()??_.price_adjustment;C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_price_adjustment_inline",{value:x})||`Price adjustment: ${x}`)}!o.bulkPriceCondition&&A.includes("selling_price")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_selling_price",{price:_.selling_price?.toLocaleString?.()??_.selling_price})||`Selling price: ${_.selling_price}`),!o.bulkStockCondition&&A.includes("stock_quantity")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_stock_inline",{value:_.stock_quantity})||`Stock: ${_.stock_quantity}`),A.includes("option_name")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_option_name",{name:Y(_.option_name)})||`Option name: ${Y(_.option_name)}`),A.includes("sku")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_sku",{sku:_.sku})||`SKU: ${_.sku}`),A.includes("list_price")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_list_price",{price:_.list_price?.toLocaleString?.()??_.list_price})||`List price: ${_.list_price}`),A.includes("safe_stock_quantity")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_safe_stock",{value:_.safe_stock_quantity})||`Safe stock: ${_.safe_stock_quantity}`),A.includes("is_active")&&C.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_is_active",{value:_.is_active?"ON":"OFF"})||`Active: ${_.is_active?"ON":"OFF"}`),l.summary.hasInlineChanges=!0}return C}s.length>0&&n.filter(_=>s.includes(_.id)).forEach(_=>{const p=[],S=_._modified||d.includes(_.id),C=String(_.id),A=f[C]||[];if(o.bulkSalesStatus){const I=Se(e,"sales_status",o.bulkSalesStatus);p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_sales_status",{status:I})||`Sales status: ${I}`)}if(o.bulkDisplayStatus){const I=Se(e,"display_status",o.bulkDisplayStatus);p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_display_status",{status:I})||`Display status: ${I}`)}if(S){if(!o.bulkSalesStatus&&A.includes("sales_status")){const I=Se(e,"sales_status",_.sales_status);p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_sales_status",{status:I})||`Sales status: ${I}`)}if(!o.bulkDisplayStatus&&A.includes("display_status")){const I=Se(e,"display_status",_.display_status);p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_display_status",{status:I})||`Display status: ${I}`)}A.includes("name")&&p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_name_changed")||"Name changed"),A.includes("list_price")&&p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_list_price",{price:_.list_price?.toLocaleString?.()||_.list_price})||`List price: ${_.list_price?.toLocaleString?.()||_.list_price}`),A.includes("selling_price")&&p.push(e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_selling_price",{price:_.selling_price?.toLocaleString?.()||_.selling_price})||`Selling price: ${_.selling_price?.toLocaleString?.()||_.selling_price}`),l.summary.hasInlineChanges=!0}(p.length>0||u||S)&&l.products.push({id:_.id,name:Y(_.name),changes:p.length>0?p.join(", "):S?e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_inline_modified")||"Inline modified":e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_bulk_applied")||"Bulk changes applied"});const x=u&&!!(o.bulkPriceCondition||o.bulkStockCondition);if(Array.isArray(_.options))_.options.forEach(I=>{const N=`${_.id}-${I.id}`,L=I._modified||m.includes(N),O=y(I,N,L);(O.length>0||x||L)&&l.options.push({productId:_.id,optionId:I.id,productName:Y(_.name),optionName:I.option_name_localized||Y(I.option_name)||I.name||"",changes:O.length>0?O.join(", "):L?e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_inline_modified")||"Inline modified":e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_bulk_applied")||"Bulk changes applied"})});else if(x){const I=Number(_.options_total_count)||0;I>0&&l.options.push({aggregate:!0,productId:_.id,optionId:0,optionCount:I,productName:Y(_.name),optionName:"",changes:y({},`${_.id}-*`,!1).join(", ")||e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_bulk_applied")||"Bulk changes applied"})}}),i.length>0&&n.forEach(_=>{w.has(_.id)||(_.options||[]).forEach(p=>{const S=`${_.id}-${p.id}`;if(i.includes(S)){const C=p._modified||m.includes(S),A=y(p,S,C);l.options.push({productId:_.id,optionId:p.id,productName:Y(_.name),optionName:p.option_name_localized||Y(p.option_name)||p.name||"",changes:A.length>0?A.join(", "):C?e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_inline_modified")||"Inline modified":e.t("sirsoft-ecommerce.admin.product.messages.bulk_summary_selected")||"Selected"})}})}),l.summary.productCount=l.products.length,l.summary.optionCount=l.options.reduce((_,p)=>_+(p.aggregate?p.optionCount||0:1),0),e.state.set({bulkConfirmData:l}),W.log("[buildConfirmData] Built confirm data:",l)}const M=window.G7Core?.createLogger?.("Ecom:Order")??{log:(...r)=>console.log("[Ecom:Order]",...r),warn:(...r)=>console.warn("[Ecom:Order]",...r),error:(...r)=>console.error("[Ecom:Order]",...r)};function Vr(r){const{currencies:c=[]}=r.params||{},e=[{field:"no",header:"NO",width:"60px",sortable:!1,required:!0},{field:"ordered_at",header:"$t:sirsoft-ecommerce.admin.order.column.order_date",width:"140px",sortable:!0,required:!0},{field:"order_number",header:"$t:sirsoft-ecommerce.admin.order.column.order_number",width:"140px",sortable:!0,required:!0},{field:"product",header:"$t:sirsoft-ecommerce.admin.order.column.product",width:"auto",sortable:!1,required:!0},{field:"order_amount",header:"$t:sirsoft-ecommerce.admin.order.column.order_amount",width:"120px",sortable:!0,required:!1},{field:"order_status",header:"$t:sirsoft-ecommerce.admin.order.column.order_status",width:"100px",sortable:!1,required:!1},{field:"orderer",header:"$t:sirsoft-ecommerce.admin.order.column.orderer",width:"120px",sortable:!1,required:!1},{field:"payment_method",header:"$t:sirsoft-ecommerce.admin.order.column.payment_method",width:"100px",sortable:!1,required:!1},{field:"delivery_method",header:"$t:sirsoft-ecommerce.admin.order.column.delivery_method",width:"100px",sortable:!1,required:!1},{field:"country",header:"$t:sirsoft-ecommerce.admin.order.column.country",width:"80px",sortable:!1,required:!1}],t=c.filter(o=>!o.is_default).map(o=>({field:`order_amount_${o.code.toLowerCase()}`,header:`${o.name} (${o.symbol})`,width:"100px",sortable:!0,required:!1}));return[...e,...t]}function jr(r,c){const e=r.params||{},{target:t="_local",path:o,value:a}=e,n=window.G7Core;if(!n?.state)return M.warn("[toggleArrayValue] G7Core.state를 사용할 수 없습니다."),{success:!1,newValue:[]};const s=t==="_global"?n.state.getGlobal():n.state.getLocal(),i=o.split(".");let l=s;for(const d of i)l=l?.[d];Array.isArray(l)||(l=[]);let u;return l.includes(a)?u=l.filter(d=>d!==a):u=[...l,a],t==="_global"?n.state.setGlobal({[o]:u}):n.state.setLocal({[o]:u}),{success:!0,newValue:u}}function Br(r,c){const e=r.params||{},{filterKey:t,checked:o}=e,a=window.G7Core;if(!a?.state)return M.warn("[toggleVisibleFilter] G7Core.state를 사용할 수 없습니다."),{success:!1,newValue:[]};const s=a.state.getLocal().visibleFilters||[];let i;o?i=s.includes(t)?s:[...s,t]:i=s.filter(l=>l!==t),a.state.setLocal({visibleFilters:i});try{localStorage.setItem("g7_order_filter_visible_filters",JSON.stringify(i))}catch(l){M.warn("[toggleVisibleFilter] LocalStorage 저장 실패:",l)}return{success:!0,newValue:i}}function Kr(r,c){const e=r.params||{},{selectedIds:t=[]}=e,o=window.G7Core;return o?.state?(o.state.setLocal({selectedItems:t,selectAll:!1}),{success:!0}):(M.warn("[syncOrderSelection] G7Core.state를 사용할 수 없습니다."),{success:!1})}function Qr(r,c){const e=r.params||{},{actionId:t,row:o}=e,a=window.G7Core;if(!t||!o?.order_number)return M.warn("[handleOrderRowAction] actionId 또는 row.order_number가 없습니다."),{success:!1};switch(t){case"view":a?.navigate?.(`/admin/ecommerce/orders/${o.order_number}`);break;case"edit":a?.navigate?.(`/admin/ecommerce/orders/${o.order_number}`);break;case"status":case"shipping":case"memo":case"delete":a?.state?.setGlobal({orderList:{currentActionOrderId:o.id,currentActionType:t}});break;case"print":window.open(`/admin/ecommerce/orders/${o.order_number}/shipping-label`,"_blank");break;default:return console.warn(`[handleOrderRowAction] 알 수 없는 액션: ${t}`),{success:!1}}return{success:!0,action:t,targetId:o.id}}async function zr(r,c){const e=r.params||{},{actionType:t,orderIds:o,status:a,carrierId:n,trackingNumber:s}=e,i=window.G7Core;if(!o||o.length===0)throw new Error("선택된 주문이 없습니다.");let l="";const u={ids:o};switch(t){case"status":if(!a)throw new Error("변경할 상태를 선택해주세요.");l="/api/modules/sirsoft-ecommerce/admin/orders/bulk",u.order_status=a;break;case"shipping":if(!s&&!n)throw new Error("택배사 또는 운송장번호를 입력해주세요.");l="/api/modules/sirsoft-ecommerce/admin/orders/bulk",n&&(u.carrier_id=n),s&&(u.tracking_number=s);break;default:throw new Error(`알 수 없는 액션 타입: ${t}`)}const d=await i?.api?.call(l,{method:"PATCH",body:u});if(!d?.success)throw new Error(d?.message||"일괄 처리에 실패했습니다.");return{success:!0,successCount:d.data?.updated_count??o.length,failCount:d.data?.fail_count??0,errors:d.data?.errors??[]}}async function Wr(r,c){const e=r.params||{},{downloadType:t,orderIds:o,filters:a}=e,n=window.G7Core,s="/api/modules/sirsoft-ecommerce/admin/orders/export",i={};if(t==="selected"){if(!o||o.length===0)throw new Error("선택된 주문이 없습니다.");i.ids=o}else i.filters=a||{};const l=n?.auth?.getToken(),u=await fetch(s,{method:"POST",headers:{"Content-Type":"application/json",...l?{Authorization:`Bearer ${l}`}:{}},body:JSON.stringify(i)});if(!u.ok){const y=await u.json().catch(()=>null);throw new Error(y?.message||"엑셀 다운로드에 실패했습니다.")}const d=await u.blob(),m=window.URL.createObjectURL(d),f=document.createElement("a");f.href=m;const g=new Date,w=`${g.getFullYear()}-${String(g.getMonth()+1).padStart(2,"0")}-${String(g.getDate()).padStart(2,"0")}`;return f.download=`orders_${w}.xlsx`,document.body.appendChild(f),f.click(),document.body.removeChild(f),window.URL.revokeObjectURL(m),{success:!0}}function Yr(r,c){const e=r.params||{},{columns:t=[]}=e;try{localStorage.setItem("g7_order_visible_columns",JSON.stringify(t))}catch(o){return M.warn("[saveVisibleColumns] LocalStorage 저장 실패:",o),{success:!1}}return{success:!0}}function Jr(r,c){const t=(r.params||{}).defaultColumns||["order_date","order_number","order_status","order_amount","product","orderer","payment_method","delivery_method","country"];try{const o=localStorage.getItem("g7_order_visible_columns");if(o){const a=JSON.parse(o);if(Array.isArray(a))return a}}catch(o){M.warn("[loadVisibleColumns] LocalStorage 로드 실패:",o)}return t}function Xr(r,c){const e=r.params||{},{id:t,defaultFilters:o=[]}=e,a=window.G7Core;if(!t)return M.warn("[loadVisibleFilters] id 파라미터가 필요합니다."),o;let n;try{const i=a?.AuthManager?.getInstance();i&&(n=i.getUser()?.uuid)}catch{}const s=`g7_filters_${t}${n!==void 0?`_${n}`:""}`;try{const i=localStorage.getItem(s);if(i){const l=JSON.parse(i);if(Array.isArray(l)&&l.length>0)return M.log(`[loadVisibleFilters] localStorage에서 로드: ${s}`,l),l}}catch(i){M.warn("[loadVisibleFilters] LocalStorage 로드 실패:",i)}return M.log(`[loadVisibleFilters] 기본값 사용: ${s}`,o),o}function Zr(r,c){const e=window.G7Core;if(!e)return;const t=e.state.get()||{},o=t.bulkSelectedItems||[],a=t.bulkOrderStatus||"",n=t.bulkCourier||"",s=t.bulkTrackingNumber||"";if(!a){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.no_status_selected")||"변경할 주문상태를 선택해주세요.");return}if(["shipping_ready","shipping"].includes(a)&&(!n||!s)){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.carrier_required")||"해당 상태로 변경하려면 택배사와 송장번호를 모두 입력해주세요.");return}e.state.set({bulkConfirmData:{selectedItems:o,orderStatus:a,courierId:n,trackingNumber:s}}),e.modal?.open?.("modal_bulk_confirm")}async function en(r,c){const e=window.G7Core;if(!e)return;const o=(e.state.get()||{}).bulkConfirmData;if(!o||!o.selectedItems?.length){e.toast?.error?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.error")||"일괄 처리에 실패했습니다.");return}const a={ids:o.selectedItems,order_status:o.orderStatus};o.courierId&&(a.carrier_id=o.courierId),o.trackingNumber&&(a.tracking_number=o.trackingNumber);try{await e.api.patch("/api/modules/sirsoft-ecommerce/admin/orders/bulk",a),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.success")||"일괄 변경이 완료되었습니다."),e.state.setLocal({selectedItems:[],selectAll:!1,bulkOrderStatus:"",bulkCourier:"",bulkTrackingNumber:""}),e.state.set({bulkConfirmData:null}),e.dataSource?.refetch?.("orders"),e.modal?.close?.()}catch(n){M.error("[executeOrderBulkAction] Error:",n);const i=(n?.response?.data||n?.data||{})?.message||n?.message;e.toast?.error?.(i||e.t?.("sirsoft-ecommerce.admin.order.bulk.error")||"일괄 처리에 실패했습니다.")}}const He=window.G7Core?.createLogger?.("Ecom:ProductList")??{log:(...r)=>console.log("[Ecom:ProductList]",...r),warn:(...r)=>console.warn("[Ecom:ProductList]",...r),error:(...r)=>console.error("[Ecom:ProductList]",...r)};async function tn(r,c){const e=r.params||{},{actionId:t,row:o}=e,a=window.G7Core;if(!t||!o?.id)return He.warn("[handleProductRowAction] actionId 또는 row.id가 없습니다."),{success:!1};switch(t){case"edit":a?.navigate?.(`/admin/ecommerce/products/${o.product_code}/edit`);break;case"copy":a?.state?.setLocal({productList:{copyTargetProduct:o},ui:{showCopyModal:!0}});break;case"delete":try{const s=(await a?.api?.get(`/api/modules/sirsoft-ecommerce/admin/products/${o.id}/can-delete`))?.data;a?.state?.setLocal({productList:{deleteTargetProduct:o,canDelete:s?.canDelete??!0,deleteBlockReason:s?.reason??null,relatedData:s?.relatedData??null},ui:{showDeleteModal:!0}})}catch(n){He.error("[handleProductRowAction] 삭제 가능 여부 확인 실패:",n),a?.state?.setLocal({productList:{deleteTargetProduct:o,canDelete:!1,deleteBlockReason:"삭제 가능 여부를 확인할 수 없습니다.",relatedData:null},ui:{showDeleteModal:!0}})}break;default:return He.warn(`[handleProductRowAction] 알 수 없는 액션: ${t}`),{success:!1}}return{success:!0,action:t,targetId:o.id}}const U=window.G7Core?.createLogger?.("Ecom:OrderDetail")??{log:(...r)=>console.log("[Ecom:OrderDetail]",...r),warn:(...r)=>console.warn("[Ecom:OrderDetail]",...r),error:(...r)=>console.error("[Ecom:OrderDetail]",...r)};function dt(){return typeof document>"u"?"":document.querySelector('input[name="batchTrackingNumber"]')?.value?.trim()??""}function on(r,c){const e=window.G7Core;if(!e?.state){U.warn("[initOrderDetailForm] G7Core.state를 사용할 수 없습니다.");return}e.state.getLocal();const o=c?.data?.data??e.dataSource?.get?.("order")?.data;if(!o){U.warn("[initOrderDetailForm] order 데이터가 없습니다.");return}e.state.setLocal({form:{recipient_name:o.recipient_name||"",recipient_phone:o.recipient_phone||"",recipient_tel:o.recipient_tel||"",recipient_zipcode:o.recipient_zipcode||"",recipient_address:o.recipient_address||"",recipient_detail_address:o.recipient_detail_address||"",delivery_memo:o.delivery_memo||"",admin_memo:o.admin_memo||""}}),U.log("[initOrderDetailForm] 폼 초기화 완료")}function rn(r,c){const e=window.G7Core,{optionId:t}=r.params||{};if(!e?.state||!t)return;const a=e.state.getLocal().selectedProducts||[];let n;a.includes(t)?n=a.filter(u=>u!==t):n=[...a,t];const i=(e.dataSource?.get?.("order")?.data?.options||[]).length,l=n.length===i&&i>0;e.state.setLocal({selectedProducts:n,selectAll:l})}function nn(r,c){const e=window.G7Core;if(!e?.state)return;const o=e.state.getLocal().selectAll,n=e.dataSource?.get?.("order")?.data?.options||[];if(o)e.state.setLocal({selectedProducts:[],selectAll:!1});else{const s=n.map(i=>i.id);e.state.setLocal({selectedProducts:s,selectAll:!0})}}function an(r,c){const e=window.G7Core;if(!e)return;const t=r.params||{},o=t.selectedProducts||[],a=t.batchOrderStatus||"",n=t.batchCarrierId||"",s=t.batchTrackingNumber||dt();if(!a){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.no_status_selected")||"변경할 주문상태를 선택해주세요.");return}if(o.length===0){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.no_items_selected")||"변경할 상품을 선택해주세요.");return}if(a==="cancelled"){const f=t.cancelPg??!0,g=e.dataSource?.get?.("order")?.data,w=g?.options||[],y=o.map(_=>{const p=w.find(S=>S.id===_);return!p||p.option_status==="cancelled"?null:{id:p.id,product_name:p.product_name,product_option_name:p.product_option_name,thumbnail_url:p.product_snapshot?.thumbnail_url||"",unit_price:p.unit_price,quantity:p.quantity,cancel_quantity:p.quantity,option_status:p.option_status,option_status_label:p.option_status_label||p.option_status}}).filter(Boolean);if(y.length===0){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.no_cancellable_items")||"취소할 수 있는 상품이 없습니다. 이미 취소된 상품은 제외됩니다.");return}if(f){e.state.setLocal({cancelItems:y,cancelReason:"",cancelReasonDetail:"",cancelPg:!0,refundPriority:"pg_first",refundEstimate:null,refundLoading:!1,isCancelling:!1,cancelError:null,cancelValidationErrors:null}),e.modal?.open?.("modal_cancel_order");const _=g?.order_number||"";_&&e.dispatch?.({handler:"sirsoft-ecommerce.estimateRefundAmount",params:{orderId:_,cancelItems:y}})}else{const _={};for(const p of y)_[p.id]=p.quantity;e.state.setLocal({bulkConfirmItems:y,changeQuantities:_,batchOrderStatus:a}),e.modal?.open?.("modal_batch_change_confirm")}return}if(["shipping_ready","shipping","delivered"].includes(a)&&(!n||!s)){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.order.bulk.carrier_required")||"해당 상태로 변경하려면 택배사와 송장번호를 모두 입력해주세요.");return}const u=e.dataSource?.get?.("order")?.data?.options||[],d=[],m={};for(const f of o){const g=u.find(w=>w.id===f);g&&(d.push({id:g.id,product_name:g.product_name,product_option_name:g.product_option_name,sku:g.sku,thumbnail_url:g.product_snapshot?.thumbnail_url||"",unit_price:g.unit_price,original_price:g.product_snapshot?.original_price||g.unit_price,quantity:g.quantity,option_status:g.option_status}),m[g.id]=g.quantity)}e.state.setLocal({bulkConfirmItems:d,changeQuantities:m,batchOrderStatus:a,batchCarrierId:n,batchTrackingNumber:s}),e.modal?.open?.("modal_batch_change_confirm")}async function sn(r,c){const e=window.G7Core,{orderId:t}=r.params||{};if(!e?.state||!t){U.warn("[processOrderDetailBulkChange] orderId가 없습니다.");return}const o=e.state.getLocal?.()??{},a=r.params?.selectedProducts??o.selectedProducts,n=r.params?.batchOrderStatus||o.batchOrderStatus,s=r.params?.batchCarrierId||o.batchCarrierId,i=r.params?.batchTrackingNumber||o.batchTrackingNumber||dt(),l=r.params?.changeQuantities??o.changeQuantities;if(!a||a.length===0){U.warn("[processOrderDetailBulkChange] 선택된 상품이 없습니다.");return}if(!n){U.warn("[processOrderDetailBulkChange] 변경할 상태가 없습니다.");return}const d=e.dataSource?.get?.("order")?.data?.options||[],f={items:a.map(g=>{const w=d.find(y=>y.id===g);return{option_id:g,quantity:l?.[g]??w?.quantity??1}}),status:n};s&&(f.carrier_id=s),i&&(f.tracking_number=i);try{const g=await e.api.patch(`/api/modules/sirsoft-ecommerce/admin/orders/${t}/options/bulk-status`,f);if(g?.success){const w=e.t,y=g.data?.changed_count??a.length;e.toast?.success?.(w?.("sirsoft-ecommerce.admin.order.detail.handler.bulk_change_success",{count:y})??`${y}개 옵션의 상태가 변경되었습니다.`),e.modal?.close?.("modal_batch_change_confirm"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}}),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order_logs"}}),e.state.setLocal({selectedProducts:[],selectAll:!1,batchOrderStatus:"",batchCarrierId:"",batchTrackingNumber:"",changeQuantities:{}})}else throw new Error(g?.message||"상태 변경에 실패했습니다.")}catch(g){U.error("[processOrderDetailBulkChange] API 호출 실패:",g);const y=(g?.response?.data||g?.data||{})?.message||g?.message;e.toast?.error?.(y??e.t?.("sirsoft-ecommerce.admin.order.detail.handler.bulk_change_failed")??"상태 변경에 실패했습니다.")}}async function cn(r,c){const e=window.G7Core,{orderId:t}=r.params||{};if(!e?.state||!t)return;const a=e.state.getLocal().form?.admin_memo??"";try{const n=await e.api.patch(`/api/modules/sirsoft-ecommerce/admin/orders/${t}`,{admin_memo:a});if(n?.success)e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.order.detail.handler.memo_save_success")??"관리자 메모가 저장되었습니다.");else throw new Error(n?.message)}catch(n){U.error("[saveAdminMemo] 저장 실패:",n),e.toast?.error?.(n?.message??"메모 저장에 실패했습니다.")}}function ln(r,c){const e=window.G7Core;if(!e?.state)return;const{optionId:t,maxQuantity:o}=r.params||{};if(!t||!o)return;const a=r.params?.value??r.$event?.target?.value,n=parseInt(String(a),10),s=Math.max(1,Math.min(isNaN(n)?o:n,o)),l={...e.state.getLocal().changeQuantities||{}};l[t]=s,e.state.setLocal({changeQuantities:l})}function dn(r,c){const e=window.G7Core;if(!e?.state){U.warn("[openConfirmDepositModal] G7Core.state 를 사용할 수 없습니다.");return}const t=e.dataSource?.get?.("order")?.data,o=t?.depositor_name??"",a=t?.total_due_amount??0;e.state.setLocal({depositorName:o,depositAmount:a,depositConfirmErrors:null,isConfirmingDeposit:!1,markOrderComplete:!1}),e.modal?.open?.("modal_confirm_deposit")}async function un(r,c){const e=window.G7Core,{orderId:t}=r.params||{};if(!e?.state||!t){U.warn("[confirmDeposit] orderId 가 없습니다.");return}const o=e.state.getLocal(),a=r.params?.amount??o.depositAmount,n=r.params?.depositorName??o.depositorName??"",s=r.params?.markOrderComplete??o.markOrderComplete??!1,i=s===!0||s==="true";e.state.setLocal({isConfirmingDeposit:!0,depositConfirmErrors:null});try{const l=await e.api.patch(`/api/modules/sirsoft-ecommerce/admin/orders/${t}/confirm-deposit`,{amount:a,depositor_name:n,mark_order_complete:i});if(l?.success)e.state.setLocal({isConfirmingDeposit:!1,depositConfirmErrors:null}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.order.detail.modal.confirm_deposit.confirm_success")??"입금이 확인되어 결제완료 처리되었습니다."),e.modal?.close?.("modal_confirm_deposit"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}}),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order_logs"}});else throw new Error(l?.message||"Deposit confirm failed")}catch(l){U.error("[confirmDeposit] 실패:",l);const u=l?.response?.data||l?.data||{},d=u?.errors?.detail||u?.message||l?.message||"",m=e.t?.("sirsoft-ecommerce.admin.order.detail.modal.confirm_deposit.confirm_failed")??"입금 확인에 실패했습니다.";e.state.setLocal({isConfirmingDeposit:!1,depositConfirmErrors:{amount:[d||m]}}),e.toast?.error?.(d||m)}}const qe=window.G7Core?.createLogger?.("Ecom:CancelOrder")??{log:(...r)=>console.log("[Ecom:CancelOrder]",...r),warn:(...r)=>console.warn("[Ecom:CancelOrder]",...r),error:(...r)=>console.error("[Ecom:CancelOrder]",...r)};let K=null;function mn(){K&&(clearTimeout(K),K=null,qe.log("[clearCancelOrderTimers] debounce 타이머 정리 완료"))}function pn(r,c){const e=window.G7Core;if(!e?.state)return;const{optionId:t,maxQuantity:o,orderId:a}=r.params||{};if(!t||!o||!a)return;const n=r.params?.value??r.$event?.target?.value,s=parseInt(String(n),10),i=Math.max(1,Math.min(isNaN(s)?o:s,o)),u=(e.state.getLocal().cancelItems||[]).map(m=>m.id===t?{...m,cancel_quantity:i}:m);e.state.setLocal({cancelItems:u});const d=window.__g7ActionContext;K&&clearTimeout(K),K=setTimeout(()=>{const m=window.__g7ActionContext;window.__g7ActionContext=d;try{Ue(e,a)}finally{window.__g7ActionContext=m}},500)}async function fn(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t,cancelItems:o}=r.params||{};t&&await Ue(e,t,o)}async function Ue(r,c,e){const t=r.state.getLocal(),o=e||t.cancelItems||[],a=t.refundPriority||"pg_first";if(o.length===0){r.state.setLocal({refundEstimate:null});return}const n=o.map(s=>({order_option_id:s.id,cancel_quantity:s.cancel_quantity}));r.state.setLocal({refundLoading:!0});try{const s=await r.api.post(`/api/modules/sirsoft-ecommerce/admin/orders/${c}/estimate-refund`,{items:n,refund_priority:a});if(s?.success)r.state.setLocal({refundEstimate:s.data,refundLoading:!1,cancelError:null});else throw new Error(s?.message||"Estimate failed")}catch(s){qe.error("[estimateRefundAmount] 실패:",s),r.state.setLocal({refundLoading:!1,refundEstimate:null}),r.toast?.error?.(r.t?.("sirsoft-ecommerce.admin.order.detail.modal.cancel.estimate_failed")??"환불 예상금액 계산에 실패했습니다.")}}function gn(r,c){const e=window.G7Core;if(!e?.state)return;const{priority:t,orderId:o}=r.params||{};if(!t||!o)return;e.state.setLocal({refundPriority:t});const a=window.__g7ActionContext;K&&clearTimeout(K),K=setTimeout(()=>{const n=window.__g7ActionContext;window.__g7ActionContext=a;try{Ue(e,o)}finally{window.__g7ActionContext=n}},300)}async function _n(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t}=r.params||{};if(!t)return;const o=e.state.getLocal(),a=r.params?.cancelItems||o.cancelItems||[],n=r.params?.cancelReason||o.cancelReason||"",s=r.params?.cancelReasonDetail||o.cancelReasonDetail||"",i=r.params?.cancelPg??o.cancelPg??!0,l=r.params?.refundPriority||o.refundPriority||"pg_first",u={type:"partial",cancel_pg:i,refund_priority:l,items:a.map(m=>({order_option_id:m.id,cancel_quantity:m.cancel_quantity}))};n&&(u.reason=n),s&&(u.reason_detail=s);const d={bank_code:o.refundBankCode||"",account_number:o.refundBankAccount||"",holder:o.refundBankHolder||""};(d.bank_code||d.account_number||d.holder)&&(u.refund_bank=d),e.state.setLocal({isCancelling:!0,cancelError:null,cancelValidationErrors:null});try{const m=await e.api.post(`/api/modules/sirsoft-ecommerce/admin/orders/${t}/cancel`,u);if(m?.success)e.state.setLocal({isCancelling:!1}),e.toast?.success?.(e.t?.("sirsoft-ecommerce.admin.order.detail.modal.cancel.cancel_success")??"주문이 취소되었습니다."),e.modal?.close?.("modal_cancel_order"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}}),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order_logs"}}),e.state.setLocal({selectedProducts:[],selectAll:!1,batchOrderStatus:""});else throw new Error(m?.message||"Cancel failed")}catch(m){qe.error("[executeCancelOrder] 실패:",m);const f=m?.response?.data||m?.data,w=(m?.response?.status||m?.status)===422,y=f?.errors?.detail,_=f?.errors??null,p=y||f?.message||m?.message||"",S=e.t?.("sirsoft-ecommerce.admin.order.detail.modal.cancel.cancel_failed")??"주문 취소에 실패했습니다.";w?(e.state.setLocal({isCancelling:!1,cancelError:null,cancelValidationErrors:_}),e.toast?.error?.(p||S)):(e.state.setLocal({isCancelling:!1,cancelError:p||S,cancelValidationErrors:null}),e.toast?.error?.(p||S))}}const ut=window.G7Core?.createLogger?.("Ecom:UserCancelOrder")??{log:(...r)=>console.log("[Ecom:UserCancelOrder]",...r),warn:(...r)=>console.warn("[Ecom:UserCancelOrder]",...r),error:(...r)=>console.error("[Ecom:UserCancelOrder]",...r)};let R=null;function ve(r){const c=r?.state?.get?.("_global")?.guestOrderToken,e=r?.dataSource?.get?.("order")?.data?.order_number;return!!(c&&e)}function wn(){R&&(clearTimeout(R),R=null)}function yn(r,c){const e=window.G7Core;if(!e?.state)return;const{optionId:t}=r.params||{};if(!t)return;const a=[...e.state.getLocal().selectedItemIds||[]],n=a.indexOf(t);n>=0?a.splice(n,1):a.push(t);const i=(e.dataSource?.get?.("order")?.data?.options||[]).filter(u=>u.option_status!=="cancelled").map(u=>u.id),l=i.length>0&&i.every(u=>a.includes(u));e.state.setLocal({selectedItemIds:a,selectAllItems:l})}function hn(r,c){const e=window.G7Core;if(!e?.state)return;const t=e.state.getLocal(),a=(e.dataSource?.get?.("order")?.data?.options||[]).filter(s=>s.option_status!=="cancelled").map(s=>s.id),n=!t.selectAllItems;e.state.setLocal({selectedItemIds:n?a:[],selectAllItems:n})}function Cn(r,c){const e=window.G7Core;if(!e?.state)return;const t=e.dataSource?.get?.("order")?.data;if(!t)return;const a=e.state.getLocal().selectedItemIds||[];if(a.length===0){e.toast?.warning?.(e.t?.("mypage.order_detail.cancel_modal.no_selected_items")??"취소할 상품을 선택해주세요.");return}const s=(t.options||[]).filter(l=>a.includes(l.id)&&l.option_status!=="cancelled").map(l=>({id:l.id,product_name:l.product_name??"",product_option_name:l.product_option_name??"",thumbnail_url:l.product_snapshot?.thumbnail_url||"",unit_price:l.unit_price??0,quantity:l.quantity??1,cancel_quantity:l.quantity??1,option_status:l.option_status??"",selected:!0}));if(s.length===0){e.toast?.warning?.(e.t?.("mypage.order_detail.cancel_modal.no_cancellable_items")??"취소 가능한 상품이 없습니다.");return}e.state.setLocal({cancelItems:s,cancelSelectAll:!0,cancelReason:"",refundEstimate:null,refundLoading:!1,isCancelling:!1,cancelError:null}),e.modal?.open?.("modal_cancel_order");const i=r.params?.orderId||t.id;(i||t.order_number)&&le(e,i)}function bn(r,c){const e=window.G7Core;if(!e?.state)return;const{optionId:t,orderId:o}=r.params||{};if(!t)return;const n=(e.state.getLocal().cancelItems||[]).map(i=>i.id===t?{...i,selected:!i.selected}:i),s=n.every(i=>i.selected);e.state.setLocal({cancelItems:n,cancelSelectAll:s}),R&&clearTimeout(R),R=setTimeout(()=>{le(e,o)},500)}function In(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t}=r.params||{},o=e.state.getLocal(),a=!o.cancelSelectAll,n=(o.cancelItems||[]).map(s=>({...s,selected:a}));e.state.setLocal({cancelItems:n,cancelSelectAll:a}),R&&clearTimeout(R),R=setTimeout(()=>{le(e,t)},500)}function Sn(r,c){const e=window.G7Core;if(!e?.state)return;const{optionId:t,maxQuantity:o,orderId:a}=r.params||{};if(!t||!o||!a&&!ve(e))return;const n=r.params?.value??r.$event?.target?.value,s=parseInt(String(n),10),i=Math.max(1,Math.min(isNaN(s)?o:s,o)),u=(e.state.getLocal().cancelItems||[]).map(m=>m.id===t?{...m,cancel_quantity:i}:m);e.state.setLocal({cancelItems:u});const d=window.__g7ActionContext;R&&clearTimeout(R),R=setTimeout(()=>{const m=window.__g7ActionContext;window.__g7ActionContext=d;try{le(e,a)}finally{window.__g7ActionContext=m}},500)}async function vn(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t}=r.params||{};!t&&!ve(e)||await le(e,t)}async function le(r,c){const e=r.state.getLocal(),t=e.cancelItems||[],o=e.refundPriority||"pg_first",a=t.filter(s=>s.selected);if(a.length===0){r.state.setLocal({refundEstimate:null,refundLoading:!1});return}const n=a.map(s=>({order_option_id:s.id,cancel_quantity:s.cancel_quantity}));r.state.setLocal({refundLoading:!0});try{const s=r.state.get?.("_global")?.guestOrderToken,i=r.dataSource?.get?.("order")?.data?.order_number,l=!!(s&&i),u=l?`/api/modules/sirsoft-ecommerce/guest/orders/${i}/estimate-refund`:`/api/modules/sirsoft-ecommerce/user/orders/${c}/estimate-refund`,d=l?{headers:{"X-Guest-Order-Token":s}}:void 0,m=await r.api.post(u,{items:n,refund_priority:o},d);if(m?.success)r.state.setLocal({refundEstimate:m.data,refundLoading:!1,cancelError:null});else throw new Error(m?.message||"Estimate failed")}catch(s){ut.error("[estimateUserRefund] 실패:",s),r.state.setLocal({refundLoading:!1,refundEstimate:null}),r.toast?.error?.(r.t?.("mypage.order_detail.cancel_modal.estimate_failed")??"환불 예상금액 계산에 실패했습니다.")}}function Ln(r,c){const e=window.G7Core;if(!e?.state)return;const{priority:t,orderId:o}=r.params||{};if(!t||!o&&!ve(e))return;e.state.setLocal({refundPriority:t});const a=window.__g7ActionContext;R&&clearTimeout(R),R=setTimeout(()=>{const n=window.__g7ActionContext;window.__g7ActionContext=a;try{le(e,o)}finally{window.__g7ActionContext=n}},300)}async function xn(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t}=r.params||{};if(!t&&!ve(e))return;const o=e.state.getLocal(),n=(o.cancelItems||[]).filter(d=>d.selected),s=r.params?.cancelReason||o.cancelReason||"",i=r.params?.cancelReasonDetail??o.cancelReasonDetail??"",l=r.params?.refundPriority||o.refundPriority||"pg_first";if(n.length===0){e.toast?.warning?.(e.t?.("mypage.order_detail.cancel_modal.no_selected_items")??"취소할 상품을 선택해주세요.");return}if(!s){e.toast?.warning?.(e.t?.("mypage.order_detail.cancel_modal.reason_required")??"취소 사유를 선택해주세요.");return}const u={reason:s,refund_priority:l,items:n.map(d=>({order_option_id:d.id,cancel_quantity:d.cancel_quantity}))};i&&(u.reason_detail=i),e.state.setLocal({isCancelling:!0,cancelError:null,cancelValidationErrors:null});try{const d=e.state.get?.("_global")?.guestOrderToken,m=e.dataSource?.get?.("order")?.data?.order_number,f=!!(d&&m),g=f?`/api/modules/sirsoft-ecommerce/guest/orders/${m}/cancel`:`/api/modules/sirsoft-ecommerce/user/orders/${t}/cancel`,w=f?{headers:{"X-Guest-Order-Token":d}}:void 0,y=await e.api.post(g,u,w);if(y?.success)e.state.setLocal({isCancelling:!1}),e.toast?.success?.(e.t?.("mypage.order_detail.cancel_success")??"주문이 취소되었습니다."),e.modal?.close?.("modal_cancel_order"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}});else throw new Error(y?.message||"Cancel failed")}catch(d){ut.error("[executeUserCancelOrder] 실패:",d);const m=d?.response?.data||d?.data,f=m?.message||d?.message||"",g=m?.errors??null,w=e.t?.("mypage.order_detail.cancel_modal.cancel_failed")??"주문 취소에 실패했습니다.";e.state.setLocal({isCancelling:!1,cancelError:f||w,cancelValidationErrors:g}),e.toast?.error?.(f||w)}}const mt=window.G7Core?.createLogger?.("Ecom:ConfirmOrder")??{log:(...r)=>console.log("[Ecom:ConfirmOrder]",...r),warn:(...r)=>console.warn("[Ecom:ConfirmOrder]",...r),error:(...r)=>console.error("[Ecom:ConfirmOrder]",...r)};function Pn(r){const c=r?.state?.get?.("_global")?.guestOrderToken,e=r?.dataSource?.get?.("order")?.data?.order_number;return!!(c&&e)}async function An(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t,optionId:o}=r.params||{};if(!o||!t&&!Pn(e)){mt.error("[confirmOrderOption] optionId 또는 식별자 누락");return}e.state.setLocal({isConfirming:!0});try{const a=e.state.get?.("_global")?.guestOrderToken,n=e.dataSource?.get?.("order")?.data?.order_number,s=!!(a&&n),i=s?`/api/modules/sirsoft-ecommerce/guest/orders/${n}/options/${o}/confirm`:`/api/modules/sirsoft-ecommerce/user/orders/${t}/options/${o}/confirm`,l=s?{headers:{"X-Guest-Order-Token":a}}:void 0,u=await e.api.post(i,void 0,l);if(u?.success)e.state.setLocal({isConfirming:!1,confirmTarget:null}),e.modal?.close?.("modal_confirm_purchase"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}}),e.toast?.success?.(u.message??e.t?.("sirsoft-ecommerce::messages.order.confirmed")??"구매확정이 완료되었습니다.");else throw new Error(u?.message||"Confirm failed")}catch(a){mt.error("[confirmOrderOption] 실패:",a);const n=a?.response?.data?.message||a?.data?.message||a?.message||e.t?.("sirsoft-ecommerce::messages.order.cannot_confirm")||"구매확정에 실패했습니다.";e.state.setLocal({isConfirming:!1}),e.toast?.error?.(n)}}const pt=window.G7Core?.createLogger?.("Ecom:ChangeShippingAddress")??{log:(...r)=>console.log("[Ecom:ChangeShippingAddress]",...r),warn:(...r)=>console.warn("[Ecom:ChangeShippingAddress]",...r),error:(...r)=>console.error("[Ecom:ChangeShippingAddress]",...r)};function kn(r){const c=r?.state?.get?.("_global")?.guestOrderToken,e=r?.dataSource?.get?.("order")?.data?.order_number;return!!(c&&e)}async function On(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t}=r.params||{},o=kn(e);if(!t&&!o){pt.error("[changeShippingAddress] orderId 또는 비회원 식별자 누락");return}const a=e.state.get?.("_global")??{},s=(o?"manual":a.changeAddressMode??"saved")==="saved"?{address_id:a.selectedAddressId}:a.editingShippingAddress;e.state.setLocal({isSubmittingAddress:!0});try{const i=a.guestOrderToken,l=e.dataSource?.get?.("order")?.data?.order_number,u=o?`/api/modules/sirsoft-ecommerce/guest/orders/${l}/shipping-address`:`/api/modules/sirsoft-ecommerce/user/orders/${t}/shipping-address`,d=o?{headers:{"X-Guest-Order-Token":i}}:void 0,m=await e.api.put(u,s,d);if(m?.success)e.state.setLocal({isSubmittingAddress:!1}),e.modal?.close?.("changeAddressModal"),e.dispatch?.({handler:"refetchDataSource",params:{dataSourceId:"order"}}),e.toast?.success?.(m.message??e.t?.("mypage.order_detail.shipping_address_changed")??"배송지가 변경되었습니다.");else throw new Error(m?.message||"Change shipping address failed")}catch(i){pt.error("[changeShippingAddress] 실패:",i),e.state.setLocal({isSubmittingAddress:!1});const l=i?.response?.data?.message||i?.data?.message||i?.message||"배송지 변경에 실패했습니다.";e.toast?.error?.(l)}}const Ve=window.G7Core?.createLogger?.("Ecom:Review")??{log:(...r)=>console.log("[Ecom:Review]",...r),warn:(...r)=>console.warn("[Ecom:Review]",...r),error:(...r)=>console.error("[Ecom:Review]",...r)};async function Gn(r,c){const e=window.G7Core;if(!e?.state)return;const{orderId:t,optionId:o,productId:a}=r.params||{};if(!t||!o||!a){Ve.error("[submitReview] orderId, optionId 또는 productId 누락");return}const n=e.state.getLocal(),s=r.params?.rating??n.reviewRating??5,i=(r.params?.content??n.reviewContent??"").trim(),u=(r.params?.images??n.reviewImages??[]).map(d=>d instanceof File?d:d?.file instanceof File||d?.file instanceof Blob||d?.file&&typeof d.file.name=="string"&&d.file.size>0?d.file:d instanceof Blob?d:null).filter(d=>d!==null);if(!s||s<1||s>5){e.toast?.error?.(e.t?.("sirsoft-ecommerce.user.review.validation.rating_required")??"별점을 선택해 주세요.");return}if(i.length<10){e.state.setLocal({reviewError:e.t?.("sirsoft-ecommerce.user.review.validation.content_min")??"리뷰 내용을 최소 10자 이상 입력해 주세요."});return}e.state.setLocal({isSubmittingReview:!0,reviewError:null});try{const d=await e.api.post("/api/modules/sirsoft-ecommerce/user/reviews",{order_option_id:o,product_id:a,rating:s,content:i});if(!d?.success)throw new Error(d?.message||"Review creation failed");const m=d.data?.id;if(m&&u.length>0)for(let f=0;fconsole.log("[Ecom:ShippingPolicyForm]",...r),warn:(...r)=>console.warn("[Ecom:ShippingPolicyForm]",...r),error:(...r)=>console.error("[Ecom:ShippingPolicyForm]",...r)},En=["fixed","conditional_free","per_quantity","per_weight","per_volume","per_volume_weight","per_amount"],Fn=["conditional_free"],Dn=["range_amount","range_quantity","range_weight","range_volume","range_volume_weight"],$n=["api"],Nn=["per_quantity","per_weight","per_volume","per_volume_weight","per_amount"],Tn={shipping_method:"parcel",custom_shipping_name:null,carrier:null,currency_code:"KRW",charge_policy:"fixed",base_fee:0,free_threshold:null,ranges:null,api_endpoint:null,api_request_fields:null,api_response_fee_field:null,api_config:null,extra_fee_enabled:!1,extra_fee_settings:[],extra_fee_multiply:!1,is_active:!0};function te(r){return{showBaseFee:En.includes(r),showFreeThreshold:Fn.includes(r),showRanges:Dn.includes(r),showApiSettings:$n.includes(r),showUnitValue:Nn.includes(r)}}function G(){const r=window.G7Core;return r?.state?r:(b.warn("G7Core.state not available"),null)}function E(r,c){r.setLocalState?r.setLocalState(c):G()?.state?.setLocal(c)}function F(r){return[...(r.state.getLocal?.()??{}).form?.country_settings??[]]}function Rn(r,c){const e=r.params||{},t=e.policy,o=!!e.isEdit,a=!!e.isCopy;if(e.availableCountries,!G())return;const s={activeCountryTab:0,rangeErrors:{}};if((o||a)&&t){const i=t.country_settings??[],u=i[0]?.charge_policy??"fixed",d=te(u);Object.assign(s,d),b.log("[initShippingPolicyForm]",o?"Edit":"Copy","mode, countries:",i.length,"first charge_policy:",u)}else{const i=te("fixed");Object.assign(s,i),b.log("[initShippingPolicyForm] Create mode, default flags")}E(c,s)}function Mn(r,c){const t=(r.params||{}).country_code??"";if(!t){b.warn("[addCountrySetting] country_code is empty");return}const o=G();if(!o)return;const a=F(o);if(a.some(u=>u.country_code===t)){b.warn("[addCountrySetting] Duplicate country_code:",t);return}const n={country_code:t,...Tn};a.push(n);const s=a.length-1,i=te(n.charge_policy),l={"form.country_settings":a,activeCountryTab:s,...i};E(c,l),b.log("[addCountrySetting] Added country:",t,"index:",s)}function Hn(r,c){const e=r.params||{},t=Number(e.index);if(isNaN(t)||t<0){b.warn("[removeCountrySetting] Invalid index:",e.index);return}const o=G();if(!o)return;const a=F(o),n=o.state.getLocal?.()??{};if(t>=a.length){b.warn("[removeCountrySetting] Index out of bounds:",t);return}const s=a[t].country_code;a.splice(t,1);const i=n.activeCountryTab??0;let l=i;a.length===0?l=0:i>=a.length?l=a.length-1:i>t&&(l=i-1);const u={...n.rangeErrors??{}};u[s]=[];const d=a[l],m=te(d?d.charge_policy:"fixed"),f={"form.country_settings":a,activeCountryTab:l,rangeErrors:u,...m};E(c,f),b.log("[removeCountrySetting] Removed index:",t,"country:",s,"newTab:",l)}function qn(r,c){const e=r.params||{},t=Number(e.index);if(isNaN(t)||t<0){b.warn("[switchCountryTab] Invalid index:",e.index);return}const o=G();if(!o)return;const a=F(o);if(t>=a.length){b.warn("[switchCountryTab] Index out of bounds:",t);return}const n=a[t],s=te(n.charge_policy),i={activeCountryTab:t,...s};E(c,i),b.log("[switchCountryTab] Switched to tab:",t,"country:",n.country_code,"charge_policy:",n.charge_policy)}function Un(r,c){const e=r.params||{},t=e.field??"",o=e.value;if(!t){b.warn("[updateCountryField] field is empty");return}const a=G();if(!a)return;const n=a.state.getLocal?.()??{},s=Number(n.activeCountryTab??0),i=F(a);if(s>=i.length){b.warn("[updateCountryField] Index out of bounds:",s);return}i[s]={...i[s],[t]:o},E(c,{"form.country_settings":i}),b.log("[updateCountryField] Updated",t,"=",o,"at index:",s)}function Vn(r,c){const e=r.params||{},t=e.value??"",o=Number(e.index??0);if(!t){b.warn("[onChargePolicyChange] charge_policy value is empty");return}const a=G();if(!a)return;const n=te(t);b.log("[onChargePolicyChange]",t,n,"countryIndex:",o);const s=F(a),i=s[o];if(!i){b.warn("[onChargePolicyChange] No country setting at index:",o);return}const l={...i,charge_policy:t};if(n.showBaseFee||(l.base_fee=0),n.showFreeThreshold||(l.free_threshold=null),!n.showRanges&&!n.showUnitValue&&(l.ranges=null),n.showApiSettings||(l.api_endpoint=null,l.api_request_fields=null,l.api_response_fee_field=null,l.api_config=null),n.showRanges&&(!l.ranges||!l.ranges.tiers)){const d=t.replace("range_","");l.ranges={type:d,tiers:[{min:0,max:null,fee:0}]}}n.showUnitValue&&(!l.ranges||!l.ranges.unit_value)&&(l.ranges={type:t,unit_value:1}),s[o]=l;const u={"form.country_settings":s,...n};E(c,u)}function jn(r,c){const e=r.params||{},t=Number(e.index??0),o=G();if(!o)return;const a=F(o),n=a[t];if(!n){b.warn("[addRangeTier] No country setting at index:",t);return}const s=[...n.ranges?.tiers??[]],i=s[s.length-1],u={min:i?.max!=null?i.max+1:0,max:null,fee:0};s.push(u),a[t]={...n,ranges:{...n.ranges??{},tiers:s}},E(c,{"form.country_settings":a}),Le(o,c,t,s,n.country_code),b.log("[addRangeTier] Added tier, total:",s.length)}function Bn(r,c){const e=r.params||{},t=Number(e.countryIndex??0),o=Number(e.tierIndex);if(isNaN(o)||o<0){b.warn("[removeRangeTier] Invalid tierIndex:",e.tierIndex);return}const a=G();if(!a)return;const n=F(a),s=n[t];if(!s){b.warn("[removeRangeTier] No country setting at index:",t);return}const i=[...s.ranges?.tiers??[]];if(o>=i.length){b.warn("[removeRangeTier] tierIndex out of bounds:",o);return}i.splice(o,1),n[t]={...s,ranges:{...s.ranges??{},tiers:i}},E(c,{"form.country_settings":n}),Le(a,c,t,i,s.country_code),b.log("[removeRangeTier] Removed tier:",o,"remaining:",i.length)}function Kn(r,c){const e=r.params||{},t=Number(e.countryIndex??0),o=Number(e.tierIndex),a=e.field,n=e.value;if(isNaN(o)||o<0){b.warn("[updateRangeTierField] Invalid tierIndex:",e.tierIndex);return}if(!["min","max","fee"].includes(a)){b.warn("[updateRangeTierField] Invalid field:",a);return}const s=G();if(!s)return;const i=F(s),l=i[t];if(!l){b.warn("[updateRangeTierField] No country setting at index:",t);return}const u=[...l.ranges?.tiers??[]];if(o>=u.length){b.warn("[updateRangeTierField] tierIndex out of bounds:",o);return}let d;a==="max"?d=n===""||n===null||n===void 0?null:Number(n):d=Number(n),u[o]={...u[o],[a]:d},i[t]={...l,ranges:{...l.ranges??{},tiers:u}},E(c,{"form.country_settings":i}),Le(s,c,t,u,l.country_code)}function Qn(r,c){const e=r.params||{},t=Number(e.countryIndex??0),o=G();if(!o)return;const n=F(o)[t];if(!n)return;const s=n.ranges?.tiers??[];Le(o,c,t,s,n.country_code)}function Le(r,c,e,t,o){const n={...(r.state.getLocal?.()??{}).rangeErrors??{}};if(t.length===0){n[o]=[],E(c,{rangeErrors:n});return}const s=new Array(t.length).fill(null).map(()=>({}));let i=!1;const l=r.t;for(let u=0;u=d.max&&(s[u].min=l?.("sirsoft-ecommerce.validation.shipping_policy.ranges.min_less_than_max")??"시작값이 종료값보다 작아야 합니다.",i=!0),u=i.length){b.warn("[removeExtraFeeRow] feeIndex out of bounds:",o);return}i.splice(o,1),n[t]={...s,extra_fee_settings:i},E(c,{"form.country_settings":n}),b.log("[removeExtraFeeRow] Removed index:",o,"remaining:",i.length)}function Yn(r,c){const e=r.params||{},t=Number(e.countryIndex??0),o=e.settings;if(!o||!Array.isArray(o)){b.warn("[applyExtraFeeTemplate] Invalid settings:",o);return}const a=G();if(!a)return;const n=F(a),s=n[t];if(!s){b.warn("[applyExtraFeeTemplate] No country setting at index:",t);return}n[t]={...s,extra_fee_settings:o},E(c,{"form.country_settings":n});const i=a.t,l=i?.("sirsoft-ecommerce.admin.shipping_policy.form.template_applied")??"템플릿이 적용되었습니다.";a.toast?.success?.(l),b.log("[applyExtraFeeTemplate] Applied template with",o.length,"rows")}function Jn(r,c){const e=r.params||{},t=parseFloat(e.value)||1,o=G();if(!o)return;const a=o.state.getLocal?.()??{},n=Number(a.activeCountryTab??0),s=F(o),i=s[n];i&&(s[n]={...i,ranges:{...i.ranges??{},type:i.charge_policy,unit_value:t}},E(c,{"form.country_settings":s}),b.log("[updateUnitValue] Updated unit_value:",t))}function Xn(r,c){const e=G();if(!e)return;const t=e.state.getLocal?.()??{},o=Number(t.activeCountryTab??0),a=F(e),n=a[o];if(!n)return;const s=[...n.api_request_fields??[]];s.push(""),a[o]={...n,api_request_fields:s},E(c,{"form.country_settings":a}),b.log("[addApiRequestField] Added field, total:",s.length)}function Zn(r,c){const e=r.params||{},t=Number(e.fieldIndex),o=e.value??"";if(isNaN(t)||t<0){b.warn("[updateApiRequestField] Invalid fieldIndex:",e.fieldIndex);return}const a=G();if(!a)return;const n=a.state.getLocal?.()??{},s=Number(n.activeCountryTab??0),i=F(a),l=i[s];if(!l)return;const u=[...l.api_request_fields??[]];t>=u.length||(u[t]=o,i[s]={...l,api_request_fields:u},E(c,{"form.country_settings":i}),b.log("[updateApiRequestField] Updated index:",t,"value:",o))}function ea(r,c){const e=r.params||{},t=Number(e.fieldIndex);if(isNaN(t)||t<0){b.warn("[removeApiRequestField] Invalid fieldIndex:",e.fieldIndex);return}const o=G();if(!o)return;const a=o.state.getLocal?.()??{},n=Number(a.activeCountryTab??0),s=F(o),i=s[n];if(!i)return;const l=[...i.api_request_fields??[]];t>=l.length||(l.splice(t,1),s[n]={...i,api_request_fields:l},E(c,{"form.country_settings":s}),b.log("[removeApiRequestField] Removed index:",t,"remaining:",l.length))}function ta(r,c){const t=(r.params||{}).field??"";if(!t){b.warn("[toggleApiRequestField] Missing field param");return}const o=G();if(!o)return;const a=o.state.getLocal?.()??{},n=Number(a.activeCountryTab??0),s=F(o),i=s[n];if(!i)return;const l=[...i.api_request_fields??[]],u=l.indexOf(t);u>=0?l.splice(u,1):l.push(t);const d=l.length>0?l:null;s[n]={...i,api_request_fields:d},E(c,{"form.country_settings":s}),b.log("[toggleApiRequestField] Toggled:",t,"selected:",d)}function oa(r,c){const e=r.params||{},t=e.field??"";if(!t){b.warn("[updateApiConfigField] Missing field param");return}const o=G();if(!o)return;const a=o.state.getLocal?.()??{},n=Number(a.activeCountryTab??0),s=F(o),i=s[n];if(!i)return;const l={...i.api_config??{},[t]:e.value};s[n]={...i,api_config:l},E(c,{"form.country_settings":s}),b.log("[updateApiConfigField] Updated",t,"at index:",n)}function ra(r,c){const e=r.params||{},t=e.field??"";if(!t){b.warn("[updateApiFieldMap] Missing field param");return}const o=G();if(!o)return;const a=o.state.getLocal?.()??{},n=Number(a.activeCountryTab??0),s=F(o),i=s[n];if(!i)return;const l=e.value??"",u={...i.api_config?.field_map??{}};l.trim()===""?delete u[t]:u[t]=l;const d={...i.api_config??{},field_map:Object.keys(u).length>0?u:null};s[n]={...i,api_config:d},E(c,{"form.country_settings":s}),b.log("[updateApiFieldMap] Mapped",t,"→",l||"(removed)")}function na(r,c){const e=G();if(!e)return;const t=e.state.getLocal?.()??{},o=Number(t.activeCountryTab??0),n=F(e)[o];if(n){if(!n.api_endpoint){e.toast?.warning?.(e.t?.("sirsoft-ecommerce.admin.shipping_policy.form.api_test_endpoint_required")??"Endpoint required");return}e.state.set?.({apiTestLoading:!0,apiTestResult:null}),e.dispatch({handler:"apiCall",target:"/api/modules/sirsoft-ecommerce/admin/shipping-policies/test-api-call",auth_required:!0,params:{method:"POST",body:{endpoint:n.api_endpoint,request_fields:n.api_request_fields,config:n.api_config??{},sample:{country_code:n.country_code}}},onSuccess:{handler:"setState",params:{target:"global",apiTestLoading:!1,apiTestResult:"{{response.data}}"}},onError:{handler:"setState",params:{target:"global",apiTestLoading:!1,apiTestResult:"{{error.errors ?? error}}"}}})}}function aa(r,c){const e=r.params||{},t=Number(e.feeIndex),o=e.field,a=e.value;if(isNaN(t)||t<0){b.warn("[updateExtraFeeField] Invalid feeIndex:",e.feeIndex);return}if(!["zipcode","fee","region"].includes(o)){b.warn("[updateExtraFeeField] Invalid field:",o);return}const n=G();if(!n)return;const s=n.state.getLocal?.()??{},i=Number(s.activeCountryTab??0),l=F(n),u=l[i];if(!u)return;const d=[...u.extra_fee_settings??[]];if(t>=d.length)return;const m=o==="fee"?parseFloat(a)||0:a;d[t]={...d[t],[o]:m},l[i]={...u,extra_fee_settings:d},E(c,{"form.country_settings":l}),b.log("[updateExtraFeeField] Updated index:",t,o,"=",m)}const me=window.G7Core?.createLogger?.("Handler:InitCategory")??{log:(...r)=>console.log("[Handler:InitCategory]",...r),warn:(...r)=>console.warn("[Handler:InitCategory]",...r),error:(...r)=>console.error("[Handler:InitCategory]",...r)};function ft(r,c){for(const e of r){if(e.id===c)return e;if(e.children&&e.children.length>0){const t=ft(e.children,c);if(t)return t}}return null}function gt(r){return new URLSearchParams(window.location.search).get(r)}function sa(r){return window.G7Core?.state?.getDataSource?.(r)}async function ia(r,c,e=30,t=100){for(let o=0;o0)return n;await new Promise(s=>setTimeout(s,t))}return null}async function ca(r,c){const e=window.G7Core,t=gt("id"),o=gt("mode");if(!t){me.log("[initCategoryFromUrl] No id parameter in URL");return}if(!e?.state?.set){me.warn("[initCategoryFromUrl] G7Core.state.set not available");return}const a=await ia("categories",l=>l?.data?.data);if(!a){me.warn("[initCategoryFromUrl] categories data not available after waiting");return}const n=parseInt(t,10),s=ft(a,n);if(!s){me.warn("[initCategoryFromUrl] Category not found with id:",n);return}const i=o==="edit"?"edit":"view";e.state.set({selectedCategoryId:s.id,selectedCategory:s,panelMode:i}),me.log("[initCategoryFromUrl] Category initialized from URL:",{id:n,mode:i})}const pe=window.G7Core?.createLogger?.("Handler:InitBrand")??{log:(...r)=>console.log("[Handler:InitBrand]",...r),warn:(...r)=>console.warn("[Handler:InitBrand]",...r),error:(...r)=>console.error("[Handler:InitBrand]",...r)};function _t(r){return new URLSearchParams(window.location.search).get(r)}function la(r){return window.G7Core?.state?.getDataSource?.(r)}async function da(r,c,e=30,t=100){for(let o=0;o0)return n;await new Promise(s=>setTimeout(s,t))}return null}async function ua(r,c){const e=window.G7Core,t=_t("id"),o=_t("mode");if(!t){pe.log("[initBrandFromUrl] No id parameter in URL");return}if(!e?.state?.set){pe.warn("[initBrandFromUrl] G7Core.state.set not available");return}const a=await da("brands",l=>l?.data?.data);if(!a){pe.warn("[initBrandFromUrl] brands data not available after waiting");return}const n=parseInt(t,10),s=a.find(l=>l.id===n);if(!s){pe.warn("[initBrandFromUrl] Brand not found with id:",n);return}const i=o==="edit"?"edit":"view";e.state.set({selectedBrandId:s.id,selectedBrand:s,panelMode:i}),pe.log("[initBrandFromUrl] Brand initialized from URL:",{id:n,mode:i})}const fe=window.G7Core?.createLogger?.("Handler:InitCommonInfo")??{log:(...r)=>console.log("[Handler:InitCommonInfo]",...r),warn:(...r)=>console.warn("[Handler:InitCommonInfo]",...r),error:(...r)=>console.error("[Handler:InitCommonInfo]",...r)};function wt(r){return new URLSearchParams(window.location.search).get(r)}function ma(r){return window.G7Core?.state?.getDataSource?.(r)}async function pa(r,c,e=30,t=100){for(let o=0;o0)return n;await new Promise(s=>setTimeout(s,t))}return null}async function fa(r,c){const e=window.G7Core,t=wt("id"),o=wt("mode");if(!t){fe.log("[initCommonInfoFromUrl] No id parameter in URL");return}if(!e?.state?.set){fe.warn("[initCommonInfoFromUrl] G7Core.state.set not available");return}const a=await pa("commonInfos",l=>l?.data);if(!a){fe.warn("[initCommonInfoFromUrl] commonInfos data not available after waiting");return}const n=parseInt(t,10),s=a.find(l=>l.id===n);if(!s){fe.warn("[initCommonInfoFromUrl] Common info not found with id:",n);return}const i=o==="edit"?"edit":"view";e.state.set({selectedId:s.id,selectedItem:s,panelMode:i}),fe.log("[initCommonInfoFromUrl] Common info initialized from URL:",{id:n,mode:i})}const ge=window.G7Core?.createLogger?.("Handler:InitNotice")??{log:(...r)=>console.log("[Handler:InitNotice]",...r),warn:(...r)=>console.warn("[Handler:InitNotice]",...r),error:(...r)=>console.error("[Handler:InitNotice]",...r)};function yt(r){return new URLSearchParams(window.location.search).get(r)}function ga(r){return window.G7Core?.state?.getDataSource?.(r)}async function _a(r,c,e=30,t=100){for(let o=0;o0)return n;await new Promise(s=>setTimeout(s,t))}return null}async function wa(r,c){const e=window.G7Core,t=yt("id"),o=yt("mode");if(!t){ge.log("[initNoticeFromUrl] No id parameter in URL");return}if(!e?.state?.set){ge.warn("[initNoticeFromUrl] G7Core.state.set not available");return}const a=await _a("templates",l=>l?.data);if(!a){ge.warn("[initNoticeFromUrl] templates data not available after waiting");return}const n=parseInt(t,10),s=a.find(l=>l.id===n);if(!s){ge.warn("[initNoticeFromUrl] Template not found with id:",n);return}const i=o==="edit"?"edit":"view";e.state.set({selectedTemplateId:s.id,selectedTemplate:s,panelMode:i}),ge.log("[initNoticeFromUrl] Template initialized from URL:",{id:n,mode:i})}const oe={updateProductField:At,updateOptionField:kt,calculateCurrencyPrices:se,initPreferredCurrency:Tt,initPreferredShippingCountry:qt,setDateRange:Vt,setDefaultOption:jt,toggleOption:Bt,toggleProductOptions:Ye,toggleAllOptionsInRow:Kt,getProductOptionStates:Qt,syncProductSelection:zt,loadExpandedOptions:Fe,retryExpandedOptions:to,generateCopyProductCode:Wt,copyProduct:Yt,selectCategory:ro,selectCategoryMobile:no,addCategoryToSelection:ao,removeCategoryFromSelection:so,getCategoryBreadcrumb:io,validateCategoryPath:lo,initCategoryInfosFromProduct:co,getBrandName:uo,getBrandDescription:mo,updatePrice:_o,calculateTotalOptionStock:wo,validatePriceRelation:yo,addOptionInput:Go,removeOptionInput:Eo,updateOptionInput:Fo,generateOptions:Do,deleteOption:$o,applyOptionAddTool:No,addRequiredItem:To,updateRequiredItem:Ro,removeRequiredItem:Mo,reorderRequiredItems:Ho,addAdditionalOption:qo,updateAdditionalOption:Uo,removeAdditionalOption:Vo,reorderAdditionalOptions:jo,clearAdditionalOptions:Bo,addAdditionalOptionValue:Ko,updateAdditionalOptionValue:Qo,removeAdditionalOptionValue:zo,uploadImages:Xo,setThumbnail:Zo,reorderImages:er,updateDescription:tr,confirmSelectNoticeTemplate:or,selectNoticeTemplate:nt,updateNoticeItem:rr,removeNoticeItem:nr,reorderNoticeItems:ar,fillNoticeWithValue:sr,switchNoticeMode:ir,updateNewTemplateName:cr,addNoticeItem:lr,updateNoticeItemName:dr,saveAsNoticeTemplate:ur,confirmSaveNoticeTemplate:fr,fillTemplateFieldsWithDetailReference:mr,fillNoticeItemsWithDetailReference:pr,toggleLabel:gr,generateProductCode:_r,getShippingPolicyInfo:wr,getCommonInfoContent:yr,updateShoppingIntegration:hr,updateShippingType:Cr,updateIdentificationCode:br,openLabelPeriodModal:Ir,saveLabelPeriod:Sr,removeLabelPeriod:vr,updateActivityLogSort:Lr,updateActivityLogPerPage:xr,setDefaultShippingPolicy:Pr,setLabelDatePreset:kr,toggleDefaultShippingPolicy:Ar,toggleLabelAssignment:Or,saveLabelSettings:$r,deleteLabel:Dr,updateLabelPeriodInline:Gr,setLabelDatePresetInline:Er,confirmUncheckLabel:Fr,removeDescriptionLocale:Nr,showAddLocaleModal:Tr,addDescriptionLocale:Rr,setDefaultOptionFromGrid:Io,addOptionRow:vo,updateFormOptionField:So,recalculateOptionPriceAdjustments:Lo,bulkUpdate:Mr,buildConfirmData:Ur,buildOrderColumns:Vr,toggleArrayValue:jr,toggleVisibleFilter:Br,syncOrderSelection:Kr,handleOrderRowAction:Qr,processOrderBulkAction:zr,buildOrderBulkConfirmData:Zr,executeOrderBulkAction:en,downloadOrderExcel:Wr,saveVisibleColumns:Yr,loadVisibleColumns:Jr,loadVisibleFilters:Xr,handleProductRowAction:tn,initOrderDetailForm:on,toggleProductSelection:rn,toggleAllProducts:nn,buildOrderDetailBulkConfirmData:an,processOrderDetailBulkChange:sn,saveAdminMemo:cn,updateChangeQuantity:ln,openConfirmDepositModal:dn,confirmDeposit:un,initShippingPolicyForm:Rn,addCountrySetting:Mn,removeCountrySetting:Hn,switchCountryTab:qn,updateCountryField:Un,onChargePolicyChange:Vn,addRangeTier:jn,removeRangeTier:Bn,updateRangeTierField:Kn,validateRangeTiers:Qn,addExtraFeeRow:zn,removeExtraFeeRow:Wn,applyExtraFeeTemplate:Yn,updateUnitValue:Jn,addApiRequestField:Xn,updateApiRequestField:Zn,removeApiRequestField:ea,toggleApiRequestField:ta,updateApiConfigField:oa,updateApiFieldMap:ra,testShippingApi:na,updateExtraFeeField:aa,updateCancelQuantity:pn,estimateRefundAmount:fn,changeRefundPriority:gn,executeCancelOrder:_n,clearCancelOrderTimers:mn,toggleItemSelection:yn,toggleSelectAllItems:hn,initUserCancelItems:Cn,toggleUserCancelItem:bn,toggleUserCancelSelectAll:In,updateUserCancelQuantity:Sn,estimateUserRefund:vn,changeUserRefundPriority:Ln,executeUserCancelOrder:xn,clearUserCancelOrderTimers:wn,confirmOrderOption:An,changeShippingAddress:On,submitReview:Gn,initCategoryFromUrl:ca,initBrandFromUrl:ua,initCommonInfoFromUrl:fa,initNoticeFromUrl:wa},V="sirsoft-ecommerce",_e=window.G7Core?.createLogger?.(`Module:${V}`)??{log:(...r)=>console.log(`[Module:${V}]`,...r),warn:(...r)=>console.warn(`[Module:${V}]`,...r),error:(...r)=>console.error(`[Module:${V}]`,...r)};function ht(r=!1){const c=window.G7Core?.getActionDispatcher?.();if(c)Object.entries(oe).forEach(([e,t])=>{const o=`${V}.${e}`;c.registerHandler(o,t,{category:"module",source:V})}),_e.log(`${Object.keys(oe).length} handler(s) registered:`,Object.keys(oe).map(e=>`${V}.${e}`));else if(r){let e=0;const t=50,o=()=>{const a=window.G7Core?.getActionDispatcher?.();a?(Object.entries(oe).forEach(([n,s])=>{const i=`${V}.${n}`;a.registerHandler(i,s,{category:"module",source:V})}),_e.log(`${Object.keys(oe).length} handler(s) registered:`,Object.keys(oe).map(n=>`${V}.${n}`))):(e++,e<=t?(_e.warn(`ActionDispatcher not found, retrying... (${e}/${t})`),setTimeout(o,100)):_e.error("Failed to register handlers: ActionDispatcher not available after maximum retries"))};o()}else _e.warn("ActionDispatcher not found, handlers not registered")}function je(){if(document.readyState==="loading")document.addEventListener("DOMContentLoaded",()=>ht(!0));else{const r=!!window.G7Core?.getActionDispatcher?.();ht(!r)}}return je(),typeof window<"u"&&(window.__SirsoftEcommerce={identifier:V,handlers:Object.keys(oe),initModule:je}),Pe.initModule=je,Object.defineProperty(Pe,Symbol.toStringTag,{value:"Module"}),Pe}({}); -//# sourceMappingURL=module.iife.js.map From c9a73e7877c9e2d927203fa94d35c30c639f8c97 Mon Sep 17 00:00:00 2001 From: HeuJung Date: Thu, 6 Aug 2026 15:00:23 +0900 Subject: [PATCH 17/18] =?UTF-8?q?chore(core,ecommerce,tosspayments,pay=5Fk?= =?UTF-8?q?ginicis,message=5Fbizppurio,admin=5Fbasic):=20=EB=A6=AC?= =?UTF-8?q?=EB=B2=A0=EC=9D=B4=EC=8A=A4=20=ED=9B=84=EC=86=8D=20=EC=A0=95?= =?UTF-8?q?=ED=95=A9=ED=99=94=20=E2=80=94=20=EB=B3=B4=EB=A5=98=20=ED=85=8C?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20=EC=A0=95=EB=A6=AC=C2=B7=EC=86=8C=EC=8A=A4?= =?UTF-8?q?=EB=A7=B5=20=EA=B2=8C=EC=9D=B4=ED=8A=B8=20=EA=B0=95=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit develop 리베이스 완주 후 보류 항목 처리. - ApiDocPipelineTest 의 예시값 갱신 단언을 병합 계약(타입 동일 시 보존 — 멱등)에 정합화. 예시값 최신성 단언과 멱등성 설계가 같은 상황에 정반대를 요구하던 stale test 로, 병합에서 의도 채택한 쪽은 멱등성이다. - 환경설정 보안 탭 체크박스 2개의 label prop 을 Label 래핑+형제 Span 으로 교체. label prop 은 렌더되지 않아 설명 문구가 화면에 없었다. - 확장 vite config 의 sourcemap: true 하드코딩이 --production 의 G7_BUILD_SOURCEMAP=0 주입을 조용히 무시해 배포본 dist 에 .map 과 dangling 참조가 남던 문제를 tosspayments·message_bizppurio 에서 정정하고 production 재빌드. template-security.md 에 게이트 형태를 명시하고 audit 룰 vite-sourcemap-env-gate(error) 를 신설해 재발을 차단한다. - PHPUnit 12 대비: 접촉 테스트 파일의 docblock 메타데이터 6건 attribute 전환. --- docs/extension/template-security.md | 8 ++++ .../Seo/EcommerceSitemapContributorTest.php | 8 ++-- .../Services/OrderProcessingServiceTest.php | 4 +- .../dist/js/plugin.iife.js | 3 +- .../dist/js/plugin.iife.js.map | 1 - .../sirsoft-message_bizppurio/vite.config.ts | 5 +- .../BackendMessageKeyResolutionTest.php | 4 +- .../sirsoft-tosspayments/components.json | 2 +- .../dist/js/plugin.iife.js | 1 - .../dist/js/plugin.iife.js.map | 1 - .../ValidateTossSettingsListenerTest.php | 17 ++----- .../sirsoft-tosspayments/vite.config.ts | 5 +- .../admin_settings/_tab_security.json | 47 +++++++++++++++---- .../Support/ApiDoc/ApiDocPipelineTest.php | 12 +++-- 14 files changed, 76 insertions(+), 42 deletions(-) delete mode 100644 plugins/_bundled/sirsoft-message_bizppurio/dist/js/plugin.iife.js.map delete mode 100644 plugins/_bundled/sirsoft-tosspayments/dist/js/plugin.iife.js.map diff --git a/docs/extension/template-security.md b/docs/extension/template-security.md index 7d2a007e..6afe8f6d 100644 --- a/docs/extension/template-security.md +++ b/docs/extension/template-security.md @@ -283,6 +283,14 @@ class TemplateService 가리키기 때문이다 — 차단하면 브라우저 콘솔에 404 가 쌓인다. `--production` 빌드는 소스맵을 생성하지 않으므로(`G7_BUILD_SOURCEMAP=0`) 운영에서는 참조 자체가 없다. +이 주입이 실제로 먹으려면 확장의 vite config 가 그 환경변수를 읽어야 한다. `sourcemap: true` +리터럴 하드코딩은 주입을 조용히 무시해 `--production` 빌드에도 `.map` 과 dangling 참조가 +배포본에 남는다. 확장 vite config 의 소스맵 선언은 다음 형태만 사용한다: + +```ts +sourcemap: !['0', 'false'].includes(process.env.G7_BUILD_SOURCEMAP ?? ''), +``` + 판정 지점은 `Allowed{Module,Plugin,Template}FileType::getAllowedExtensions()` 한 곳이며, `validate()` 도 이 게터를 참조한다(상수 직접 참조 금지 — 환경 분기가 우회된다). diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Seo/EcommerceSitemapContributorTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Seo/EcommerceSitemapContributorTest.php index ce9765dc..f754ceb2 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Seo/EcommerceSitemapContributorTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Seo/EcommerceSitemapContributorTest.php @@ -11,6 +11,7 @@ use Modules\Sirsoft\Ecommerce\Models\Category; use Modules\Sirsoft\Ecommerce\Models\Product; use Modules\Sirsoft\Ecommerce\Seo\EcommerceSitemapContributor; use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; +use PHPUnit\Framework\Attributes\Group; /** * EcommerceSitemapContributor 단위 테스트 @@ -19,11 +20,10 @@ use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; * - getIdentifier: 'sirsoft-ecommerce' 반환 * - getUrls: 기본(토글 ON) 상태에서 목록/카테고리/상품 URL 포함 * - getUrls: SEO 제공 페이지 토글 OFF 시 해당 URL 유형 제외 (회귀) - * - * @group ecommerce - * @group unit - * @group seo */ +#[Group('ecommerce')] +#[Group('unit')] +#[Group('seo')] class EcommerceSitemapContributorTest extends ModuleTestCase { private EcommerceSitemapContributor $contributor; diff --git a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/OrderProcessingServiceTest.php b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/OrderProcessingServiceTest.php index c3ce9e3e..c2d337b8 100644 --- a/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/OrderProcessingServiceTest.php +++ b/modules/_bundled/sirsoft-ecommerce/tests/Unit/Services/OrderProcessingServiceTest.php @@ -35,6 +35,7 @@ use Modules\Sirsoft\Ecommerce\Services\OrderCalculationService; use Modules\Sirsoft\Ecommerce\Services\OrderProcessingService; use Modules\Sirsoft\Ecommerce\Services\StockService; use Modules\Sirsoft\Ecommerce\Tests\ModuleTestCase; +use PHPUnit\Framework\Attributes\DataProvider; use PHPUnit\Framework\MockObject\MockObject; /** @@ -1197,9 +1198,8 @@ class OrderProcessingServiceTest extends ModuleTestCase * 하도록 바뀌었으나, validatePaymentAmount 2단계가 base(total_due_amount)를 직접 비교해 * base≠order_currency(예: base JPY 500 → 결제 KRW 4,750) 에서 "결제금액 불일치"로 오차단됐다. * 검증 기준을 결제 통화 환산액으로 통일했으므로, 환산 청구액은 통과하고 base 금액은 거부되어야 한다. - * - * @dataProvider providePaymentCurrencyCombinations */ + #[DataProvider('providePaymentCurrencyCombinations')] public function test_validate_payment_amount_uses_payment_currency_charge( string $baseCurrency, string $orderCurrency, diff --git a/plugins/_bundled/sirsoft-message_bizppurio/dist/js/plugin.iife.js b/plugins/_bundled/sirsoft-message_bizppurio/dist/js/plugin.iife.js index 991b4d28..b29c9bd6 100644 --- a/plugins/_bundled/sirsoft-message_bizppurio/dist/js/plugin.iife.js +++ b/plugins/_bundled/sirsoft-message_bizppurio/dist/js/plugin.iife.js @@ -1,2 +1 @@ -var SirsoftMessageBizppurio=(function(r){"use strict";const i={},t="sirsoft-message_bizppurio",o=window.G7Core?.createLogger?.(`Plugin:${t}`)??{log:(...e)=>console.log(`[Plugin:${t}]`,...e),warn:(...e)=>console.warn(`[Plugin:${t}]`,...e),error:(...e)=>console.error(`[Plugin:${t}]`,...e)};function a(e){Object.entries(i).forEach(([n,c])=>{e.registerHandler(`${t}.${n}`,c,{category:"plugin",source:t})}),o.log(`${Object.keys(i).length} handler(s) registered:`,Object.keys(i).map(n=>`${t}.${n}`))}function g(e){const n=window.G7Core?.getActionDispatcher?.();if(n){a(n);return}if(!e){o.warn("ActionDispatcher 를 찾지 못해 핸들러를 등록하지 못했습니다.");return}let c=0;const l=50,u=()=>{const d=window.G7Core?.getActionDispatcher?.();if(d){a(d);return}++c<=l?setTimeout(u,100):o.error("ActionDispatcher 를 찾지 못해 핸들러 등록에 실패했습니다.")};u()}function s(){if(document.readyState==="loading")document.addEventListener("DOMContentLoaded",()=>g(!0));else{const e=!!window.G7Core?.getActionDispatcher?.();g(!e)}}return s(),typeof window<"u"&&(window.__SirsoftMessageBizppurio={identifier:t,handlers:Object.keys(i),initPlugin:s}),r.initPlugin=s,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r})({}); -//# sourceMappingURL=plugin.iife.js.map +var SirsoftMessageBizppurio=function(r){"use strict";const i={},t="sirsoft-message_bizppurio",o=window.G7Core?.createLogger?.(`Plugin:${t}`)??{log:(...e)=>console.log(`[Plugin:${t}]`,...e),warn:(...e)=>console.warn(`[Plugin:${t}]`,...e),error:(...e)=>console.error(`[Plugin:${t}]`,...e)};function a(e){Object.entries(i).forEach(([n,c])=>{e.registerHandler(`${t}.${n}`,c,{category:"plugin",source:t})}),o.log(`${Object.keys(i).length} handler(s) registered:`,Object.keys(i).map(n=>`${t}.${n}`))}function g(e){const n=window.G7Core?.getActionDispatcher?.();if(n){a(n);return}if(!e){o.warn("ActionDispatcher 를 찾지 못해 핸들러를 등록하지 못했습니다.");return}let c=0;const l=50,u=()=>{const d=window.G7Core?.getActionDispatcher?.();if(d){a(d);return}++c<=l?setTimeout(u,100):o.error("ActionDispatcher 를 찾지 못해 핸들러 등록에 실패했습니다.")};u()}function s(){if(document.readyState==="loading")document.addEventListener("DOMContentLoaded",()=>g(!0));else{const e=!!window.G7Core?.getActionDispatcher?.();g(!e)}}return s(),typeof window<"u"&&(window.__SirsoftMessageBizppurio={identifier:t,handlers:Object.keys(i),initPlugin:s}),r.initPlugin=s,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r}({}); diff --git a/plugins/_bundled/sirsoft-message_bizppurio/dist/js/plugin.iife.js.map b/plugins/_bundled/sirsoft-message_bizppurio/dist/js/plugin.iife.js.map deleted file mode 100644 index b9acd530..00000000 --- a/plugins/_bundled/sirsoft-message_bizppurio/dist/js/plugin.iife.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"plugin.iife.js","sources":["../../resources/js/handlers/index.ts","../../resources/js/index.ts"],"sourcesContent":["/**\n * sirsoft-message_bizppurio 플러그인 커스텀 핸들러 맵.\n *\n * 키는 네임스페이스 없는 핸들러 이름이며, ActionDispatcher 등록 시 플러그인\n * 식별자가 네임스페이스로 접두된다.\n *\n * 현재 등록 핸들러 없음(알림톡 템플릿 등록·이미지 업로드 제거로 uploadTemplateImage 제거).\n * 커스텀 핸들러 추가 시 이 맵에 등록한다.\n */\n\nexport const handlerMap = {} as const;","/**\n * sirsoft-message_bizppurio 플러그인 엔트리포인트.\n *\n * 플러그인 활성화 시 자동 로드되어 handlerMap 의 커스텀 핸들러를 ActionDispatcher 에\n * 등록한다. 핸들러명은 `sirsoft-message_bizppurio.{name}` 네임스페이스를 갖는다.\n * (현재 등록 핸들러 없음 — 필요 시 handlers/index.ts 에 추가.)\n */\n\nimport { handlerMap } from './handlers';\n\nconst PLUGIN_IDENTIFIER = 'sirsoft-message_bizppurio';\n\nconst logger = ((window as any).G7Core?.createLogger?.(`Plugin:${PLUGIN_IDENTIFIER}`)) ?? {\n log: (...args: unknown[]) => console.log(`[Plugin:${PLUGIN_IDENTIFIER}]`, ...args),\n warn: (...args: unknown[]) => console.warn(`[Plugin:${PLUGIN_IDENTIFIER}]`, ...args),\n error: (...args: unknown[]) => console.error(`[Plugin:${PLUGIN_IDENTIFIER}]`, ...args),\n};\n\n/**\n * handlerMap 의 모든 핸들러를 ActionDispatcher 에 등록합니다.\n *\n * @param dispatcher 코어 ActionDispatcher 인스턴스\n */\nfunction register(dispatcher: any): void {\n Object.entries(handlerMap).forEach(([name, handler]) => {\n dispatcher.registerHandler(`${PLUGIN_IDENTIFIER}.${name}`, handler, {\n category: 'plugin',\n source: PLUGIN_IDENTIFIER,\n });\n });\n\n logger.log(\n `${Object.keys(handlerMap).length} handler(s) registered:`,\n Object.keys(handlerMap).map(name => `${PLUGIN_IDENTIFIER}.${name}`),\n );\n}\n\n/**\n * ActionDispatcher 준비 후 핸들러를 등록합니다.\n *\n * 최초 로드 시 ActionDispatcher 가 아직 없을 수 있으므로 짧게 재시도한다.\n *\n * @param retry ActionDispatcher 부재 시 재시도 여부\n */\nfunction registerHandlers(retry: boolean): void {\n const dispatcher = (window as any).G7Core?.getActionDispatcher?.();\n\n if (dispatcher) {\n register(dispatcher);\n return;\n }\n\n if (!retry) {\n logger.warn('ActionDispatcher 를 찾지 못해 핸들러를 등록하지 못했습니다.');\n return;\n }\n\n let count = 0;\n const max = 50; // 최대 5초 (50 * 100ms)\n const tick = () => {\n const found = (window as any).G7Core?.getActionDispatcher?.();\n if (found) {\n register(found);\n return;\n }\n if (++count <= max) {\n setTimeout(tick, 100);\n } else {\n logger.error('ActionDispatcher 를 찾지 못해 핸들러 등록에 실패했습니다.');\n }\n };\n tick();\n}\n\n/**\n * 플러그인 초기화 — DOM 준비 후 핸들러 등록.\n */\nexport function initPlugin(): void {\n if (document.readyState === 'loading') {\n document.addEventListener('DOMContentLoaded', () => registerHandlers(true));\n } else {\n const hasDispatcher = !!(window as any).G7Core?.getActionDispatcher?.();\n registerHandlers(!hasDispatcher);\n }\n}\n\ninitPlugin();\n\nif (typeof window !== 'undefined') {\n (window as any).__SirsoftMessageBizppurio = {\n identifier: PLUGIN_IDENTIFIER,\n handlers: Object.keys(handlerMap),\n initPlugin,\n };\n}"],"names":["handlerMap","PLUGIN_IDENTIFIER","logger","args","register","dispatcher","name","handler","registerHandlers","retry","count","max","tick","found","initPlugin","hasDispatcher"],"mappings":"sDAUO,MAAMA,EAAa,CAAA,ECApBC,EAAoB,4BAEpBC,EAAW,OAAe,QAAQ,eAAe,UAAUD,CAAiB,EAAE,GAAM,CACtF,IAAK,IAAIE,IAAoB,QAAQ,IAAI,WAAWF,CAAiB,IAAK,GAAGE,CAAI,EACjF,KAAM,IAAIA,IAAoB,QAAQ,KAAK,WAAWF,CAAiB,IAAK,GAAGE,CAAI,EACnF,MAAO,IAAIA,IAAoB,QAAQ,MAAM,WAAWF,CAAiB,IAAK,GAAGE,CAAI,CACzF,EAOA,SAASC,EAASC,EAAuB,CACrC,OAAO,QAAQL,CAAU,EAAE,QAAQ,CAAC,CAACM,EAAMC,CAAO,IAAM,CACpDF,EAAW,gBAAgB,GAAGJ,CAAiB,IAAIK,CAAI,GAAIC,EAAS,CAChE,SAAU,SACV,OAAQN,CAAA,CACX,CACL,CAAC,EAEDC,EAAO,IACH,GAAG,OAAO,KAAKF,CAAU,EAAE,MAAM,0BACjC,OAAO,KAAKA,CAAU,EAAE,OAAY,GAAGC,CAAiB,IAAIK,CAAI,EAAE,CAAA,CAE1E,CASA,SAASE,EAAiBC,EAAsB,CAC5C,MAAMJ,EAAc,OAAe,QAAQ,sBAAA,EAE3C,GAAIA,EAAY,CACZD,EAASC,CAAU,EACnB,MACJ,CAEA,GAAI,CAACI,EAAO,CACRP,EAAO,KAAK,2CAA2C,EACvD,MACJ,CAEA,IAAIQ,EAAQ,EACZ,MAAMC,EAAM,GACNC,EAAO,IAAM,CACf,MAAMC,EAAS,OAAe,QAAQ,sBAAA,EACtC,GAAIA,EAAO,CACPT,EAASS,CAAK,EACd,MACJ,CACI,EAAEH,GAASC,EACX,WAAWC,EAAM,GAAG,EAEpBV,EAAO,MAAM,0CAA0C,CAE/D,EACAU,EAAA,CACJ,CAKO,SAASE,GAAmB,CAC/B,GAAI,SAAS,aAAe,UACxB,SAAS,iBAAiB,mBAAoB,IAAMN,EAAiB,EAAI,CAAC,MACvE,CACH,MAAMO,EAAgB,CAAC,CAAE,OAAe,QAAQ,sBAAA,EAChDP,EAAiB,CAACO,CAAa,CACnC,CACJ,CAEA,OAAAD,EAAA,EAEI,OAAO,OAAW,MACjB,OAAe,0BAA4B,CACxC,WAAYb,EACZ,SAAU,OAAO,KAAKD,CAAU,EAChC,WAAAc,CAAA"} \ No newline at end of file diff --git a/plugins/_bundled/sirsoft-message_bizppurio/vite.config.ts b/plugins/_bundled/sirsoft-message_bizppurio/vite.config.ts index 232b2ace..215bb6b0 100644 --- a/plugins/_bundled/sirsoft-message_bizppurio/vite.config.ts +++ b/plugins/_bundled/sirsoft-message_bizppurio/vite.config.ts @@ -21,7 +21,10 @@ export default defineConfig({ }, outDir: 'dist', emptyOutDir: true, - sourcemap: true, + // 소스맵 생성 + // 배포용 빌드(--production)는 G7_BUILD_SOURCEMAP=0 을 주입해 소스맵을 생성하지 않는다. + // 미설정(로컬 npm run build)이면 생성 — 개발 디버깅 경험을 유지한다. + sourcemap: !['0', 'false'].includes(process.env.G7_BUILD_SOURCEMAP ?? ''), rollupOptions: { output: { entryFileNames: 'js/plugin.iife.js', diff --git a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Support/BackendMessageKeyResolutionTest.php b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Support/BackendMessageKeyResolutionTest.php index d4d5cc2b..f2276b43 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Support/BackendMessageKeyResolutionTest.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/tests/Unit/Support/BackendMessageKeyResolutionTest.php @@ -4,6 +4,7 @@ declare(strict_types=1); namespace Plugins\Sirsoft\PayKginicis\Tests\Unit\Support; +use PHPUnit\Framework\Attributes\DataProvider; use Plugins\Sirsoft\PayKginicis\Tests\PluginTestCase; /** @@ -66,9 +67,8 @@ class BackendMessageKeyResolutionTest extends PluginTestCase /** * 백엔드가 내보내는 모든 메시지 키가 각 로케일에서 해석되어야 합니다. - * - * @dataProvider localeProvider */ + #[DataProvider('localeProvider')] public function test_every_emitted_message_key_resolves(string $locale): void { $emitted = $this->emittedMessageKeys(); diff --git a/plugins/_bundled/sirsoft-tosspayments/components.json b/plugins/_bundled/sirsoft-tosspayments/components.json index fe1b2d2c..d1818243 100644 --- a/plugins/_bundled/sirsoft-tosspayments/components.json +++ b/plugins/_bundled/sirsoft-tosspayments/components.json @@ -1,7 +1,7 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", "identifier": "sirsoft-tosspayments", - "version": "1.0.0-beta.4", + "version": "1.0.0", "components": { "basic": [], "composite": [], diff --git a/plugins/_bundled/sirsoft-tosspayments/dist/js/plugin.iife.js b/plugins/_bundled/sirsoft-tosspayments/dist/js/plugin.iife.js index afd75f6b..c5d1054a 100644 --- a/plugins/_bundled/sirsoft-tosspayments/dist/js/plugin.iife.js +++ b/plugins/_bundled/sirsoft-tosspayments/dist/js/plugin.iife.js @@ -1,2 +1 @@ (function(){"use strict";function b(t){return new Promise((r,o)=>{if(document.querySelector(`script[src="${t}"]`)){r();return}const e=document.createElement("script");e.src=t,e.async=!0,e.onload=()=>r(),e.onerror=()=>o(new Error(`Failed to load script: ${t}`)),document.head.appendChild(e)})}function C(t,r){if(!t.order_sheet_mode||!r)return{method:"CARD",easyPay:null};const o=(t.enabled_methods??[]).find(e=>e.id===r);return o?{method:o.method,easyPay:o.easy_pay_provider}:{method:"CARD",easyPay:null}}function p(t){if(t==="on")return!0;if(t==="off")return!1}function E(t,r){const o={validHours:t.vbank?.valid_hours??24},e=t.vbank?.cash_receipt_type??"";e&&(o.cashReceipt={type:e});const s=p(t.use_escrow);return s!==void 0&&(o.useEscrow=s),o}function w(t,r,o){if(r.use_escrow==="off")return;const e=o.escrow_products??[];e.length>0&&(t.escrowProducts=e)}async function A(t,r){const o=t.params||{},{pgPaymentData:e}=o;if(!e){console.error("[sirsoft-tosspayments] pgPaymentData is required");return}const s=window.G7Core,l=o.paymentMethod??s?.state?.getLocal?.()?.paymentMethod;try{const n=await s.api.get("/modules/sirsoft-ecommerce/payments/client-config/tosspayments");if(!n.data){console.error("[sirsoft-tosspayments] Failed to fetch client config",n);return}const a=n.data;if(window.TossPayments||await b(a.sdk_url),window.TossPayments||await new Promise(u=>setTimeout(u,100)),!window.TossPayments){console.error("[sirsoft-tosspayments] TossPayments SDK not available");return}const R=window.TossPayments(a.client_key).payment({customerKey:e.customer_key??window.TossPayments.ANONYMOUS}),f=e.currency??"KRW",{method:d,easyPay:y}=C(a,l);if(f!=="KRW"&&(d!=="CARD"||y!==null)){console.warn("[sirsoft-tosspayments] non-KRW currency supports card only",{currency:f,method:d}),s?.state?.setLocal?.({paymentErrorMessage:s?.t?.("sirsoft-tosspayments.errors.non_krw_method")??"This payment method is available for KRW only.",isSubmittingOrder:!1}),s?.modal?.open?.("tosspayments_payment_error_modal");return}const v=window.location.origin,c={method:d,amount:{currency:f,value:e.amount},orderId:e.order_number,orderName:e.order_name,successUrl:v+a.callback_urls.success,failUrl:v+a.callback_urls.fail,customerEmail:e.customer_email??void 0,customerName:e.customer_name??void 0,customerMobilePhone:e.customer_phone??void 0};if(d==="CARD")c.card={flowMode:"DEFAULT",useCardPoint:!1,useAppCardOnly:!1},y&&(c.easyPay={provider:y});else if(d==="VIRTUAL_ACCOUNT")c.virtualAccount=E(a,e),w(c,a,e);else if(d==="TRANSFER"){const u=p(a.use_escrow);u!==void 0&&(c.transfer={useEscrow:u}),w(c,a,e)}await R.requestPayment(c)}catch(n){if(console.error("[sirsoft-tosspayments] requestPayment error",n),n?.code==="USER_CANCEL"){console.info("[sirsoft-tosspayments] Payment cancelled by user");try{await s.api.post(`/modules/sirsoft-ecommerce/orders/${e.order_number}/cancel-payment`,{cancel_code:n.code,cancel_message:n.message})}catch(P){console.warn("[sirsoft-tosspayments] Failed to record cancellation",P)}s?.state?.setLocal?.({isSubmittingOrder:!1}),s?.modal?.open?.("tosspayments_payment_cancel_modal");return}const a=n?.message??"Unknown error";s?.state?.setLocal?.({paymentErrorMessage:a,isSubmittingOrder:!1}),s?.modal?.open?.("tosspayments_payment_error_modal")}}const _={requestPayment:A},i="sirsoft-tosspayments",m={info:(...t)=>console.info(`[${i}]`,...t),warn:(...t)=>console.warn(`[${i}]`,...t),error:(...t)=>console.error(`[${i}]`,...t)};function h(){const t=window.G7Core;if(!t)return 0;const r=t.getActionDispatcher;if(typeof r!="function")return 0;const o=r();if(!o||typeof o.registerHandler!="function")return 0;let e=0;for(const[s,l]of Object.entries(_)){const n=`${i}.${s}`;o.registerHandler(n,l,{category:"plugin",source:i}),e++}return e}function g(){const t=()=>{const r=h();if(r>0){m.info(`${r} handler(s) registered`);return}let o=0;const e=50,s=setInterval(()=>{o++;const l=h();if(l>0){clearInterval(s),m.info(`${l} handler(s) registered (after ${o} retries)`);return}o>=e&&(clearInterval(s),m.warn("ActionDispatcher not available after timeout"))},100)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}g(),window.__SirsoftTosspayments={identifier:i,handlers:Object.keys(_),initPlugin:g}})(); -//# sourceMappingURL=plugin.iife.js.map diff --git a/plugins/_bundled/sirsoft-tosspayments/dist/js/plugin.iife.js.map b/plugins/_bundled/sirsoft-tosspayments/dist/js/plugin.iife.js.map deleted file mode 100644 index cf88d7df..00000000 --- a/plugins/_bundled/sirsoft-tosspayments/dist/js/plugin.iife.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"plugin.iife.js","sources":["../../resources/js/handlers/requestPayment.ts","../../resources/js/handlers/index.ts","../../resources/js/index.ts"],"sourcesContent":["/**\n * 토스페이먼츠 결제창 호출 핸들러\n *\n * 체크아웃 레이아웃에서 주문 생성 API 성공 후 호출됩니다:\n * handler: \"sirsoft-tosspayments.requestPayment\"\n * params: { pgPaymentData: response.data.pg_payment_data }\n *\n * 호출 순서:\n * 1. Client Config API 호출 → clientKey 획득\n * 2. TossPayments SDK 동적 로드 (미로드 시)\n * 3. SDK 초기화 + payment 인스턴스 생성\n * 4. payment.requestPayment() 호출 → 통합결제창 오픈\n * 5. 결제 완료 시 브라우저가 successUrl/failUrl로 리다이렉트\n */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\ninterface EscrowProduct {\n id: string;\n name: string;\n code: string;\n unitPrice: number;\n quantity: number;\n}\n\ninterface PgPaymentData {\n order_number: string;\n order_name: string;\n amount: number;\n currency?: string;\n customer_name?: string;\n customer_email?: string;\n customer_phone?: string;\n customer_key?: string | null;\n escrow_products?: EscrowProduct[];\n}\n\ninterface RequestPaymentParams {\n pgPaymentData: PgPaymentData;\n // 주문서형에서 사용자가 선택한 결제수단 id (toss_*). 미지정 시 _local.paymentMethod 참조.\n paymentMethod?: string;\n}\n\ninterface EnabledMethod {\n id: string;\n method: string;\n easy_pay_provider: string | null;\n core_payment_method: string;\n}\n\ninterface ClientConfig {\n client_key: string;\n sdk_url: string;\n order_sheet_mode?: boolean;\n enabled_methods?: EnabledMethod[];\n vbank?: {\n valid_hours: number;\n cash_receipt_type: string;\n };\n use_escrow?: string;\n callback_urls: {\n success: string;\n fail: string;\n };\n}\n\ndeclare global {\n interface Window {\n TossPayments: any;\n }\n}\n\n/**\n * 스크립트를 동적으로 로드합니다.\n *\n * @param src 스크립트 URL\n * @returns Promise\n */\nfunction loadScript(src: string): Promise {\n return new Promise((resolve, reject) => {\n // 이미 로드된 스크립트인지 확인\n if (document.querySelector(`script[src=\"${src}\"]`)) {\n resolve();\n return;\n }\n\n const script = document.createElement('script');\n script.src = src;\n script.async = true;\n script.onload = () => resolve();\n script.onerror = () => reject(new Error(`Failed to load script: ${src}`));\n document.head.appendChild(script);\n });\n}\n\n/**\n * 토스페이먼츠 결제창 호출 핸들러\n *\n * ActionDispatcher는 커스텀 핸들러를 (action, context) 시그니처로 호출합니다.\n * params는 action.params에서 접근해야 합니다.\n *\n * @param action 액션 정의 (handler, params 등)\n * @param _context 액션 컨텍스트\n */\n/**\n * 선택된 결제수단 id 를 SDK 파라미터로 변환합니다.\n *\n * 서버가 내려준 enabled_methods 에서 선택 id 를 찾아 SDK method / easyPay provider 를\n * 결정한다. 프론트는 결제수단 매핑을 하드코딩하지 않는다 (서버가 SSoT).\n * order_sheet_mode 가 off 이거나 선택 id 를 못 찾으면 통합결제창 카드(CARD)로 처리한다.\n *\n * @param config 클라이언트 설정 (enabled_methods 포함)\n * @param selectedId 선택된 toss_* 결제수단 id\n * @returns SDK method 와 easyPay provider\n */\nfunction resolveMethod(config: ClientConfig, selectedId?: string): { method: string; easyPay: string | null } {\n if (!config.order_sheet_mode || !selectedId) {\n return { method: 'CARD', easyPay: null };\n }\n\n const entry = (config.enabled_methods ?? []).find((m) => m.id === selectedId);\n if (!entry) {\n return { method: 'CARD', easyPay: null };\n }\n\n return { method: entry.method, easyPay: entry.easy_pay_provider };\n}\n\n/**\n * use_escrow 설정 문자열을 SDK useEscrow boolean/undefined 로 변환합니다.\n *\n * off → false, on → true, buyer_choice → undefined(키 생략 → 결제창에서 구매자 선택).\n *\n * @param useEscrow 설정값 (off | on | buyer_choice)\n * @returns SDK useEscrow 값 (undefined 면 키를 넣지 않음)\n */\nfunction resolveEscrowFlag(useEscrow?: string): boolean | undefined {\n if (useEscrow === 'on') return true;\n if (useEscrow === 'off') return false;\n // buyer_choice (또는 미설정) → 키 자체를 생략\n return undefined;\n}\n\n/**\n * 가상계좌 SDK 페이로드를 구성합니다.\n *\n * @param config 클라이언트 설정 (vbank / use_escrow 포함)\n * @param pgPaymentData PG 결제 데이터 (escrow_products 포함)\n * @returns virtualAccount 페이로드\n */\nfunction buildVirtualAccountPayload(config: ClientConfig, pgPaymentData: PgPaymentData): any {\n const vbank: any = {\n validHours: config.vbank?.valid_hours ?? 24,\n };\n\n // 현금영수증 자동 발급 유형 (설정 시에만)\n const receiptType = config.vbank?.cash_receipt_type ?? '';\n if (receiptType) {\n vbank.cashReceipt = { type: receiptType };\n }\n\n // 에스크로 (off → false, on → true, buyer_choice → 키 생략)\n const useEscrow = resolveEscrowFlag(config.use_escrow);\n if (useEscrow !== undefined) {\n vbank.useEscrow = useEscrow;\n }\n\n return vbank;\n}\n\n/**\n * 에스크로 사용 시 필수인 escrowProducts 배열을 페이로드에 부착합니다.\n *\n * use_escrow 가 off 가 아니고(강제 on 또는 구매자 선택) escrow_products 가 있으면 부착한다.\n *\n * @param payload 결제 요청 페이로드 (변경됨)\n * @param config 클라이언트 설정\n * @param pgPaymentData PG 결제 데이터\n * @returns void\n */\nfunction attachEscrowProducts(payload: any, config: ClientConfig, pgPaymentData: PgPaymentData): void {\n if (config.use_escrow === 'off') {\n return;\n }\n\n const products = pgPaymentData.escrow_products ?? [];\n if (products.length > 0) {\n payload.escrowProducts = products;\n }\n}\n\nexport async function requestPaymentHandler(action: any, _context?: any): Promise {\n const params = (action.params || {}) as RequestPaymentParams;\n const { pgPaymentData } = params;\n\n if (!pgPaymentData) {\n console.error('[sirsoft-tosspayments] pgPaymentData is required');\n return;\n }\n\n const G7Core = (window as any).G7Core;\n\n // 선택된 결제수단 id — action.params 우선, 없으면 _local.paymentMethod 참조\n const selectedMethodId: string | undefined =\n params.paymentMethod ?? G7Core?.state?.getLocal?.()?.paymentMethod;\n\n try {\n // 1. Client Config API 호출\n const configJson = await G7Core.api.get('/modules/sirsoft-ecommerce/payments/client-config/tosspayments');\n\n if (!configJson.data) {\n console.error('[sirsoft-tosspayments] Failed to fetch client config', configJson);\n return;\n }\n\n const config: ClientConfig = configJson.data;\n\n // 2. SDK 동적 로드 (미로드 시)\n if (!window.TossPayments) {\n await loadScript(config.sdk_url);\n }\n\n // SDK 로드 대기 (스크립트 로드 후 TossPayments 객체 초기화까지 약간의 시간 소요)\n if (!window.TossPayments) {\n await new Promise((resolve) => setTimeout(resolve, 100));\n }\n\n if (!window.TossPayments) {\n console.error('[sirsoft-tosspayments] TossPayments SDK not available');\n return;\n }\n\n // 3. SDK 초기화\n const tossPayments = window.TossPayments(config.client_key);\n const payment = tossPayments.payment({\n customerKey: pgPaymentData.customer_key ?? window.TossPayments.ANONYMOUS,\n });\n\n // 4. 결제수단 결정 + 비KRW 차단\n const currency = pgPaymentData.currency ?? 'KRW';\n const { method, easyPay } = resolveMethod(config, selectedMethodId);\n\n // 토스 국내 전용 수단(가상계좌·계좌이체·휴대폰·간편결제)은 비KRW 결제 불가. 카드만 허용.\n const domesticOnly = method !== 'CARD' || easyPay !== null;\n if (currency !== 'KRW' && domesticOnly) {\n console.warn('[sirsoft-tosspayments] non-KRW currency supports card only', { currency, method });\n G7Core?.state?.setLocal?.({\n paymentErrorMessage: G7Core?.t?.('sirsoft-tosspayments.errors.non_krw_method') ?? 'This payment method is available for KRW only.',\n isSubmittingOrder: false,\n });\n G7Core?.modal?.open?.('tosspayments_payment_error_modal');\n return;\n }\n\n // 5. 결제 요청 페이로드 조립\n const origin = window.location.origin;\n const requestPayload: any = {\n method,\n amount: {\n currency,\n value: pgPaymentData.amount,\n },\n orderId: pgPaymentData.order_number,\n orderName: pgPaymentData.order_name,\n successUrl: origin + config.callback_urls.success,\n failUrl: origin + config.callback_urls.fail,\n customerEmail: pgPaymentData.customer_email ?? undefined,\n customerName: pgPaymentData.customer_name ?? undefined,\n customerMobilePhone: pgPaymentData.customer_phone ?? undefined,\n };\n\n if (method === 'CARD') {\n requestPayload.card = {\n flowMode: 'DEFAULT',\n useCardPoint: false,\n useAppCardOnly: false,\n };\n // 간편결제(easyPay)는 CARD method 에 easyPay provider 를 실어 호출한다.\n if (easyPay) {\n requestPayload.easyPay = { provider: easyPay };\n }\n } else if (method === 'VIRTUAL_ACCOUNT') {\n // 가상계좌 — 에스크로 적용 대상 (escrowProducts 는 에스크로 사용 시 필수)\n requestPayload.virtualAccount = buildVirtualAccountPayload(config, pgPaymentData);\n attachEscrowProducts(requestPayload, config, pgPaymentData);\n } else if (method === 'TRANSFER') {\n // 계좌이체 — 에스크로만 적용 대상\n const useEscrow = resolveEscrowFlag(config.use_escrow);\n if (useEscrow !== undefined) {\n requestPayload.transfer = { useEscrow };\n }\n attachEscrowProducts(requestPayload, config, pgPaymentData);\n }\n\n await payment.requestPayment(requestPayload);\n // → 브라우저가 successUrl 또는 failUrl로 리다이렉트됨\n\n } catch (error: any) {\n console.error('[sirsoft-tosspayments] requestPayment error', error);\n\n // SDK에서 사용자 취소 시 에러가 발생할 수 있음\n if (error?.code === 'USER_CANCEL') {\n console.info('[sirsoft-tosspayments] Payment cancelled by user');\n\n // 1. 결제 취소 이력 기록 API 호출 (PG사 응답값 전달)\n try {\n await G7Core.api.post(\n `/modules/sirsoft-ecommerce/orders/${pgPaymentData.order_number}/cancel-payment`,\n {\n cancel_code: error.code,\n cancel_message: error.message,\n }\n );\n } catch (e) {\n console.warn('[sirsoft-tosspayments] Failed to record cancellation', e);\n }\n\n // 2. 로딩 상태 해제 + 취소 안내 모달 표시\n G7Core?.state?.setLocal?.({ isSubmittingOrder: false });\n G7Core?.modal?.open?.('tosspayments_payment_cancel_modal');\n return;\n }\n\n // 기타 에러 시 모달로 오류 표시 (체크아웃 페이지 유지)\n const errorMessage = error?.message ?? 'Unknown error';\n G7Core?.state?.setLocal?.({ paymentErrorMessage: errorMessage, isSubmittingOrder: false });\n G7Core?.modal?.open?.('tosspayments_payment_error_modal');\n }\n}\n","import { requestPaymentHandler } from './requestPayment';\n\n/**\n * 토스페이먼츠 플러그인 핸들러 맵\n *\n * ActionDispatcher에 등록될 핸들러 목록입니다.\n * 네임스페이스 접두사(sirsoft-tosspayments.)는 index.ts에서 자동으로 추가됩니다.\n */\nexport const handlerMap: Record unknown> = {\n requestPayment: requestPaymentHandler,\n} as const;\n","/**\n * 토스페이먼츠 플러그인 엔트리\n *\n * ActionDispatcher에 핸들러를 등록하여\n * 레이아웃 JSON에서 \"sirsoft-tosspayments.requestPayment\" 형태로 호출할 수 있게 합니다.\n */\n\nimport { handlerMap } from './handlers';\n\nconst PLUGIN_IDENTIFIER = 'sirsoft-tosspayments';\n\n/**\n * 로거 (G7Core 초기화 전에도 동작)\n */\nconst logger = {\n info: (...args: unknown[]) => console.info(`[${PLUGIN_IDENTIFIER}]`, ...args),\n warn: (...args: unknown[]) => console.warn(`[${PLUGIN_IDENTIFIER}]`, ...args),\n error: (...args: unknown[]) => console.error(`[${PLUGIN_IDENTIFIER}]`, ...args),\n};\n\n/**\n * ActionDispatcher에 핸들러를 등록합니다.\n *\n * @returns 등록된 핸들러 수\n */\nfunction registerHandlers(): number {\n const g7Core = (window as Record).G7Core as Record | undefined;\n\n if (!g7Core) {\n return 0;\n }\n\n const getDispatcher = g7Core.getActionDispatcher as (() => Record) | undefined;\n\n if (typeof getDispatcher !== 'function') {\n return 0;\n }\n\n const dispatcher = getDispatcher() as Record | undefined;\n\n if (!dispatcher || typeof dispatcher.registerHandler !== 'function') {\n return 0;\n }\n\n let count = 0;\n for (const [name, handler] of Object.entries(handlerMap)) {\n const fullName = `${PLUGIN_IDENTIFIER}.${name}`;\n dispatcher.registerHandler(fullName, handler, {\n category: 'plugin',\n source: PLUGIN_IDENTIFIER,\n });\n count++;\n }\n\n return count;\n}\n\n/**\n * 플러그인 초기화\n *\n * DOMContentLoaded 후 ActionDispatcher가 준비되면 핸들러를 등록합니다.\n * ActionDispatcher가 아직 준비되지 않았으면 최대 5초간 재시도합니다.\n */\nfunction initPlugin(): void {\n const doInit = () => {\n const count = registerHandlers();\n\n if (count > 0) {\n logger.info(`${count} handler(s) registered`);\n return;\n }\n\n // ActionDispatcher 미준비 시 재시도 (100ms 간격, 최대 50회 = 5초)\n let retries = 0;\n const maxRetries = 50;\n const interval = setInterval(() => {\n retries++;\n const result = registerHandlers();\n\n if (result > 0) {\n clearInterval(interval);\n logger.info(`${result} handler(s) registered (after ${retries} retries)`);\n return;\n }\n\n if (retries >= maxRetries) {\n clearInterval(interval);\n logger.warn('ActionDispatcher not available after timeout');\n }\n }, 100);\n };\n\n if (document.readyState === 'loading') {\n document.addEventListener('DOMContentLoaded', doInit);\n } else {\n doInit();\n }\n}\n\n// 자동 초기화\ninitPlugin();\n\n// 디버그용 글로벌 노출\n(window as Record).__SirsoftTosspayments = {\n identifier: PLUGIN_IDENTIFIER,\n handlers: Object.keys(handlerMap),\n initPlugin,\n};\n"],"names":["loadScript","src","resolve","reject","script","resolveMethod","config","selectedId","entry","m","resolveEscrowFlag","useEscrow","buildVirtualAccountPayload","pgPaymentData","vbank","receiptType","attachEscrowProducts","payload","products","requestPaymentHandler","action","_context","params","G7Core","selectedMethodId","configJson","payment","currency","method","easyPay","origin","requestPayload","error","e","errorMessage","handlerMap","PLUGIN_IDENTIFIER","logger","args","registerHandlers","g7Core","getDispatcher","dispatcher","count","name","handler","fullName","initPlugin","doInit","retries","maxRetries","interval","result"],"mappings":"yBA8EA,SAASA,EAAWC,EAA4B,CAC5C,OAAO,IAAI,QAAQ,CAACC,EAASC,IAAW,CAEpC,GAAI,SAAS,cAAc,eAAeF,CAAG,IAAI,EAAG,CAChDC,EAAA,EACA,MACJ,CAEA,MAAME,EAAS,SAAS,cAAc,QAAQ,EAC9CA,EAAO,IAAMH,EACbG,EAAO,MAAQ,GACfA,EAAO,OAAS,IAAMF,EAAA,EACtBE,EAAO,QAAU,IAAMD,EAAO,IAAI,MAAM,0BAA0BF,CAAG,EAAE,CAAC,EACxE,SAAS,KAAK,YAAYG,CAAM,CACpC,CAAC,CACL,CAsBA,SAASC,EAAcC,EAAsBC,EAAiE,CAC1G,GAAI,CAACD,EAAO,kBAAoB,CAACC,EAC7B,MAAO,CAAE,OAAQ,OAAQ,QAAS,IAAA,EAGtC,MAAMC,GAASF,EAAO,iBAAmB,CAAA,GAAI,KAAMG,GAAMA,EAAE,KAAOF,CAAU,EAC5E,OAAKC,EAIE,CAAE,OAAQA,EAAM,OAAQ,QAASA,EAAM,iBAAA,EAHnC,CAAE,OAAQ,OAAQ,QAAS,IAAA,CAI1C,CAUA,SAASE,EAAkBC,EAAyC,CAChE,GAAIA,IAAc,KAAM,MAAO,GAC/B,GAAIA,IAAc,MAAO,MAAO,EAGpC,CASA,SAASC,EAA2BN,EAAsBO,EAAmC,CACzF,MAAMC,EAAa,CACf,WAAYR,EAAO,OAAO,aAAe,EAAA,EAIvCS,EAAcT,EAAO,OAAO,mBAAqB,GACnDS,IACAD,EAAM,YAAc,CAAE,KAAMC,CAAA,GAIhC,MAAMJ,EAAYD,EAAkBJ,EAAO,UAAU,EACrD,OAAIK,IAAc,SACdG,EAAM,UAAYH,GAGfG,CACX,CAYA,SAASE,EAAqBC,EAAcX,EAAsBO,EAAoC,CAClG,GAAIP,EAAO,aAAe,MACtB,OAGJ,MAAMY,EAAWL,EAAc,iBAAmB,CAAA,EAC9CK,EAAS,OAAS,IAClBD,EAAQ,eAAiBC,EAEjC,CAEA,eAAsBC,EAAsBC,EAAaC,EAA+B,CACpF,MAAMC,EAAUF,EAAO,QAAU,CAAA,EAC3B,CAAE,cAAAP,GAAkBS,EAE1B,GAAI,CAACT,EAAe,CAChB,QAAQ,MAAM,kDAAkD,EAChE,MACJ,CAEA,MAAMU,EAAU,OAAe,OAGzBC,EACFF,EAAO,eAAiBC,GAAQ,OAAO,cAAc,cAEzD,GAAI,CAEA,MAAME,EAAa,MAAMF,EAAO,IAAI,IAAI,gEAAgE,EAExG,GAAI,CAACE,EAAW,KAAM,CAClB,QAAQ,MAAM,uDAAwDA,CAAU,EAChF,MACJ,CAEA,MAAMnB,EAAuBmB,EAAW,KAYxC,GATK,OAAO,cACR,MAAMzB,EAAWM,EAAO,OAAO,EAI9B,OAAO,cACR,MAAM,IAAI,QAAeJ,GAAY,WAAWA,EAAS,GAAG,CAAC,EAG7D,CAAC,OAAO,aAAc,CACtB,QAAQ,MAAM,uDAAuD,EACrE,MACJ,CAIA,MAAMwB,EADe,OAAO,aAAapB,EAAO,UAAU,EAC7B,QAAQ,CACjC,YAAaO,EAAc,cAAgB,OAAO,aAAa,SAAA,CAClE,EAGKc,EAAWd,EAAc,UAAY,MACrC,CAAE,OAAAe,EAAQ,QAAAC,CAAA,EAAYxB,EAAcC,EAAQkB,CAAgB,EAIlE,GAAIG,IAAa,QADIC,IAAW,QAAUC,IAAY,MACd,CACpC,QAAQ,KAAK,6DAA8D,CAAE,SAAAF,EAAU,OAAAC,EAAQ,EAC/FL,GAAQ,OAAO,WAAW,CACtB,oBAAqBA,GAAQ,IAAI,4CAA4C,GAAK,iDAClF,kBAAmB,EAAA,CACtB,EACDA,GAAQ,OAAO,OAAO,kCAAkC,EACxD,MACJ,CAGA,MAAMO,EAAS,OAAO,SAAS,OACzBC,EAAsB,CACxB,OAAAH,EACA,OAAQ,CACJ,SAAAD,EACA,MAAOd,EAAc,MAAA,EAEzB,QAASA,EAAc,aACvB,UAAWA,EAAc,WACzB,WAAYiB,EAASxB,EAAO,cAAc,QAC1C,QAASwB,EAASxB,EAAO,cAAc,KACvC,cAAeO,EAAc,gBAAkB,OAC/C,aAAcA,EAAc,eAAiB,OAC7C,oBAAqBA,EAAc,gBAAkB,MAAA,EAGzD,GAAIe,IAAW,OACXG,EAAe,KAAO,CAClB,SAAU,UACV,aAAc,GACd,eAAgB,EAAA,EAGhBF,IACAE,EAAe,QAAU,CAAE,SAAUF,CAAA,WAElCD,IAAW,kBAElBG,EAAe,eAAiBnB,EAA2BN,EAAQO,CAAa,EAChFG,EAAqBe,EAAgBzB,EAAQO,CAAa,UACnDe,IAAW,WAAY,CAE9B,MAAMjB,EAAYD,EAAkBJ,EAAO,UAAU,EACjDK,IAAc,SACdoB,EAAe,SAAW,CAAE,UAAApB,CAAA,GAEhCK,EAAqBe,EAAgBzB,EAAQO,CAAa,CAC9D,CAEA,MAAMa,EAAQ,eAAeK,CAAc,CAG/C,OAASC,EAAY,CAIjB,GAHA,QAAQ,MAAM,8CAA+CA,CAAK,EAG9DA,GAAO,OAAS,cAAe,CAC/B,QAAQ,KAAK,kDAAkD,EAG/D,GAAI,CACA,MAAMT,EAAO,IAAI,KACb,qCAAqCV,EAAc,YAAY,kBAC/D,CACI,YAAamB,EAAM,KACnB,eAAgBA,EAAM,OAAA,CAC1B,CAER,OAASC,EAAG,CACR,QAAQ,KAAK,uDAAwDA,CAAC,CAC1E,CAGAV,GAAQ,OAAO,WAAW,CAAE,kBAAmB,GAAO,EACtDA,GAAQ,OAAO,OAAO,mCAAmC,EACzD,MACJ,CAGA,MAAMW,EAAeF,GAAO,SAAW,gBACvCT,GAAQ,OAAO,WAAW,CAAE,oBAAqBW,EAAc,kBAAmB,GAAO,EACzFX,GAAQ,OAAO,OAAO,kCAAkC,CAC5D,CACJ,CChUO,MAAMY,EAA8D,CACvE,eAAgBhB,CACpB,ECDMiB,EAAoB,uBAKpBC,EAAS,CACX,KAAM,IAAIC,IAAoB,QAAQ,KAAK,IAAIF,CAAiB,IAAK,GAAGE,CAAI,EAC5E,KAAM,IAAIA,IAAoB,QAAQ,KAAK,IAAIF,CAAiB,IAAK,GAAGE,CAAI,EAC5E,MAAO,IAAIA,IAAoB,QAAQ,MAAM,IAAIF,CAAiB,IAAK,GAAGE,CAAI,CAClF,EAOA,SAASC,GAA2B,CAChC,MAAMC,EAAU,OAAmC,OAEnD,GAAI,CAACA,EACD,MAAO,GAGX,MAAMC,EAAgBD,EAAO,oBAE7B,GAAI,OAAOC,GAAkB,WACzB,MAAO,GAGX,MAAMC,EAAaD,EAAA,EAEnB,GAAI,CAACC,GAAc,OAAOA,EAAW,iBAAoB,WACrD,MAAO,GAGX,IAAIC,EAAQ,EACZ,SAAW,CAACC,EAAMC,CAAO,IAAK,OAAO,QAAQV,CAAU,EAAG,CACtD,MAAMW,EAAW,GAAGV,CAAiB,IAAIQ,CAAI,GAC7CF,EAAW,gBAAgBI,EAAUD,EAAS,CAC1C,SAAU,SACV,OAAQT,CAAA,CACX,EACDO,GACJ,CAEA,OAAOA,CACX,CAQA,SAASI,GAAmB,CACxB,MAAMC,EAAS,IAAM,CACjB,MAAML,EAAQJ,EAAA,EAEd,GAAII,EAAQ,EAAG,CACXN,EAAO,KAAK,GAAGM,CAAK,wBAAwB,EAC5C,MACJ,CAGA,IAAIM,EAAU,EACd,MAAMC,EAAa,GACbC,EAAW,YAAY,IAAM,CAC/BF,IACA,MAAMG,EAASb,EAAA,EAEf,GAAIa,EAAS,EAAG,CACZ,cAAcD,CAAQ,EACtBd,EAAO,KAAK,GAAGe,CAAM,iCAAiCH,CAAO,WAAW,EACxE,MACJ,CAEIA,GAAWC,IACX,cAAcC,CAAQ,EACtBd,EAAO,KAAK,8CAA8C,EAElE,EAAG,GAAG,CACV,EAEI,SAAS,aAAe,UACxB,SAAS,iBAAiB,mBAAoBW,CAAM,EAEpDA,EAAA,CAER,CAGAD,EAAA,EAGC,OAAmC,sBAAwB,CACxD,WAAYX,EACZ,SAAU,OAAO,KAAKD,CAAU,EAChC,WAAAY,CACJ"} \ No newline at end of file diff --git a/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/ValidateTossSettingsListenerTest.php b/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/ValidateTossSettingsListenerTest.php index b03a67fe..a8a801ff 100644 --- a/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/ValidateTossSettingsListenerTest.php +++ b/plugins/_bundled/sirsoft-tosspayments/tests/Unit/Listeners/ValidateTossSettingsListenerTest.php @@ -8,6 +8,7 @@ use App\Extension\HookListenerRegistrar; use App\Extension\HookManager; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; +use PHPUnit\Framework\Attributes\DataProvider; use Plugins\Sirsoft\Tosspayments\Listeners\ValidateTossSettingsListener; use Plugins\Sirsoft\Tosspayments\Plugin; use Plugins\Sirsoft\Tosspayments\Tests\PluginTestCase; @@ -82,9 +83,7 @@ class ValidateTossSettingsListenerTest extends PluginTestCase ]; } - /** - * @dataProvider validHoursProvider - */ + #[DataProvider('validHoursProvider')] public function test_valid_vbank_valid_hours_pass(int $hours): void { $this->listener->validateBeforeSave('sirsoft-tosspayments', ['vbank_valid_hours' => $hours]); @@ -105,9 +104,7 @@ class ValidateTossSettingsListenerTest extends PluginTestCase ]; } - /** - * @dataProvider invalidHoursProvider - */ + #[DataProvider('invalidHoursProvider')] public function test_out_of_range_vbank_valid_hours_are_rejected(mixed $hours): void { $this->expectException(ValidationException::class); @@ -136,9 +133,7 @@ class ValidateTossSettingsListenerTest extends PluginTestCase ]; } - /** - * @dataProvider invalidEscrowProvider - */ + #[DataProvider('invalidEscrowProvider')] public function test_invalid_use_escrow_is_rejected(string $value): void { $this->expectException(ValidationException::class); @@ -158,9 +153,7 @@ class ValidateTossSettingsListenerTest extends PluginTestCase ]; } - /** - * @dataProvider validEscrowProvider - */ + #[DataProvider('validEscrowProvider')] public function test_valid_use_escrow_passes(string $value): void { $this->listener->validateBeforeSave('sirsoft-tosspayments', ['use_escrow' => $value]); diff --git a/plugins/_bundled/sirsoft-tosspayments/vite.config.ts b/plugins/_bundled/sirsoft-tosspayments/vite.config.ts index 24a7eb49..374b3131 100644 --- a/plugins/_bundled/sirsoft-tosspayments/vite.config.ts +++ b/plugins/_bundled/sirsoft-tosspayments/vite.config.ts @@ -14,7 +14,10 @@ export default defineConfig({ entryFileNames: 'js/plugin.iife.js', }, }, - sourcemap: true, + // 소스맵 생성 + // 배포용 빌드(--production)는 G7_BUILD_SOURCEMAP=0 을 주입해 소스맵을 생성하지 않는다. + // 미설정(로컬 npm run build)이면 생성 — 개발 디버깅 경험을 유지한다. + sourcemap: !['0', 'false'].includes(process.env.G7_BUILD_SOURCEMAP ?? ''), minify: 'esbuild', target: 'es2020', chunkSizeWarningLimit: 500, diff --git a/templates/_bundled/sirsoft-admin_basic/layouts/partials/admin_settings/_tab_security.json b/templates/_bundled/sirsoft-admin_basic/layouts/partials/admin_settings/_tab_security.json index ef51c96d..17287000 100644 --- a/templates/_bundled/sirsoft-admin_basic/layouts/partials/admin_settings/_tab_security.json +++ b/templates/_bundled/sirsoft-admin_basic/layouts/partials/admin_settings/_tab_security.json @@ -1,4 +1,5 @@ { + "comment": "e2e:allow 체크박스 label prop 미렌더 정정(Label 래핑+Span) — 마크업 치환만, 동작 변화 없음. admin-settings-security-password-policy 레이아웃 테스트가 커버", "meta": { "is_partial": true, "description": "환경설정 보안 탭 콘텐츠" @@ -450,12 +451,25 @@ }, { "type": "basic", - "name": "Checkbox", + "name": "Label", "props": { - "name": "security.require_password_special_char", - "disabled": "{{_computed.isReadOnly}}", - "label": "$t:admin.settings.security.require_password_special_char_label" - } + "className": "flex items-center gap-2 cursor-pointer text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Checkbox", + "props": { + "name": "security.require_password_special_char", + "disabled": "{{_computed.isReadOnly}}" + } + }, + { + "type": "basic", + "name": "Span", + "text": "$t:admin.settings.security.require_password_special_char_label" + } + ] }, { "type": "basic", @@ -485,12 +499,25 @@ }, { "type": "basic", - "name": "Checkbox", + "name": "Label", "props": { - "name": "security.two_factor_auth", - "disabled": "{{_computed.isReadOnly}}", - "label": "$t:admin.settings.security.two_factor_auth_label" - } + "className": "flex items-center gap-2 cursor-pointer text-sm text-gray-700 dark:text-gray-300" + }, + "children": [ + { + "type": "basic", + "name": "Checkbox", + "props": { + "name": "security.two_factor_auth", + "disabled": "{{_computed.isReadOnly}}" + } + }, + { + "type": "basic", + "name": "Span", + "text": "$t:admin.settings.security.two_factor_auth_label" + } + ] }, { "type": "basic", diff --git a/tests/Unit/Support/ApiDoc/ApiDocPipelineTest.php b/tests/Unit/Support/ApiDoc/ApiDocPipelineTest.php index 47c9676e..98c6c34a 100644 --- a/tests/Unit/Support/ApiDoc/ApiDocPipelineTest.php +++ b/tests/Unit/Support/ApiDoc/ApiDocPipelineTest.php @@ -1429,7 +1429,11 @@ MD; * 도구의 설명은 필드명에서 유추한 일반 문구라 사람이 적은 도메인 사실보다 정보량이 적다. * 회귀 배경 (#518): `플러그인 이름 (다국어 JSON)` 이 `대상의 이름/명칭 (다국어 필드는 …)` 로, * `desc 는 주문별 가장 늦은 발송일` 같은 서술이 일반 문구로 대체돼 224건이 후퇴했다. - * 값이 바뀌는 컬럼(타입·예시·허용값)은 그대로 재생성되므로 최신성은 유지된다. + * + * 예시값 컬럼은 타입이 그대로면 기존 값을 유지한다 (#454 멱등성 — 실측값은 호출 시점 + * DB 표본이라 매번 덮으면 스펙이 그대로인 문서까지 재실행마다 diff 가 난다). 타입이 + * 바뀌면(스펙 변경) 새 실측값으로 갱신되므로 최신성은 그 경로로 유지된다 — + * `재생성_시_타입이_같은_필드의_실측_예시값을_보존한다` / `신규_필드와_타입_변경은_실측_예시값을_갱신한다` 참조. */ #[Test] public function 기존_설명은_도구의_일반_문구로_덮어쓰지_않는다(): void @@ -1461,9 +1465,9 @@ MD; // 설명은 사람 서술을 유지하고, $this->assertStringContainsString('플러그인 이름 (다국어 JSON)', $merged); $this->assertStringNotContainsString('대상의 이름/명칭', $merged); - // 실측으로 갱신되는 예시값은 새 값으로 바뀐다. - $this->assertStringContainsString('`새값`', $merged); - $this->assertStringNotContainsString('`옛값`', $merged); + // 타입이 같으므로 실측 예시값도 기존 값이 유지된다 (멱등 — 타입 변경 시에만 갱신). + $this->assertStringContainsString('`옛값`', $merged); + $this->assertStringNotContainsString('`새값`', $merged); } /** From bf3d0d1df54de03b77a7cca65070006db359d4ac Mon Sep 17 00:00:00 2001 From: HeuJung Date: Thu, 6 Aug 2026 15:57:23 +0900 Subject: [PATCH 18/18] =?UTF-8?q?fix(ecommerce,tosspayments,pay=5Fkginicis?= =?UTF-8?q?,core):=20=EB=A6=AC=EB=B2=A0=EC=9D=B4=EC=8A=A4=20=EC=A0=91?= =?UTF-8?q?=ED=95=A9=EB=B6=80=20payment=5Fmethod=20string=20=EA=B3=84?= =?UTF-8?q?=EC=95=BD=20=EB=AF=B8=EC=A0=84=ED=8C=8C=20=ED=9A=8C=EA=B7=80=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit develop 가 확장 결제수단 ID 허용을 위해 OrderPayment.payment_method 의 enum 캐스트를 제거했으나, 리베이스에서 텍스트 충돌이 없던 브랜치 소유 코드 4곳이 enum 전제 그대로 병합되어 string===enum(항상 false)·string 메서드 호출 (fatal)로 잠복했다. 부분취소/환불 재계산 fatal, 무통장 입금완료 현금영수증 자동발급 무동작, 토스 가상계좌 환불 수취계좌 미전송이 이에 해당하며, 전부 develop 기존 관용구(tryFrom/능력 메서드/->value)로 수렴해 해소. IDV getStatus 의 리베이스 잔재 주석(코드와 모순)도 사실에 맞게 정정. 검증: ecommerce 235/235 · tosspayments 19/19 · pay_kginicis 5/5 green, audit --working 0, 활성 반영(module/plugin:update --force) 완료. --- app/Services/IdentityVerificationService.php | 5 +++-- .../sirsoft-ecommerce/src/Models/OrderPayment.php | 10 ---------- .../src/Services/CashReceiptService.php | 3 +-- .../src/Services/OrderAdjustmentService.php | 7 ++++++- .../src/Support/ApiDoc/ApiDocSampleService.php | 2 +- .../src/Listeners/PaymentRefundListener.php | 3 +-- 6 files changed, 12 insertions(+), 18 deletions(-) diff --git a/app/Services/IdentityVerificationService.php b/app/Services/IdentityVerificationService.php index 13a641e9..ab6543a0 100644 --- a/app/Services/IdentityVerificationService.php +++ b/app/Services/IdentityVerificationService.php @@ -199,9 +199,10 @@ class IdentityVerificationService $publicPayload = $log->properties['public_payload']; } - // 시도 횟수(attempts / max_attempts) 는 노출하지 않는다. + // 누적 시도 횟수(attempts) 는 노출하지 않는다. // 이 엔드포인트는 권한 가드 없는 공개 폴링용이라 challenge id 만 알면 누구나 조회할 수 있고, - // 두 값을 함께 알면 남은 시도 횟수를 정확히 계산해 무차별 대입 시점을 노릴 수 있다. + // 남의 인증 시도 실패 횟수가 드러나면 잠금 직전까지 시도 횟수를 맞춰 보는 데 쓰일 수 있다. + // 상한(max_attempts) 은 정책 상수라 노출해도 무방하다 — 아래 반환 배열의 주석 참조. return [ 'id' => $log->id, 'status' => $log->status->value, diff --git a/modules/_bundled/sirsoft-ecommerce/src/Models/OrderPayment.php b/modules/_bundled/sirsoft-ecommerce/src/Models/OrderPayment.php index 69a0cb60..c02017bc 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Models/OrderPayment.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Models/OrderPayment.php @@ -183,16 +183,6 @@ class OrderPayment extends Model return CashReceiptType::fromLegacy($this->cash_receipt_type); } - /** - * 무통장입금 결제 여부 확인 - * - * @return bool 무통장입금 결제 여부 - */ - public function isBankDeposit(): bool - { - return $this->payment_method === PaymentMethodEnum::DBANK; - } - /** * 카드 결제 여부 확인 * diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php index e9b5e0c4..9a097c41 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/CashReceiptService.php @@ -8,7 +8,6 @@ use Modules\Sirsoft\Ecommerce\Enums\CashReceiptIdentifierType; use Modules\Sirsoft\Ecommerce\Enums\CashReceiptIssueStatus; use Modules\Sirsoft\Ecommerce\Enums\CashReceiptTransactionType; use Modules\Sirsoft\Ecommerce\Enums\CashReceiptType; -use Modules\Sirsoft\Ecommerce\Enums\PaymentMethodEnum; use Modules\Sirsoft\Ecommerce\Enums\PaymentStatusEnum; use Modules\Sirsoft\Ecommerce\Models\Order; use Modules\Sirsoft\Ecommerce\Models\OrderCashReceipt; @@ -461,7 +460,7 @@ class CashReceiptService return 'PAYMENT_NOT_FOUND'; } - if ($payment->payment_method !== PaymentMethodEnum::DBANK) { + if (! $payment->isBankTransfer()) { return 'NOT_CASH_PAYMENT'; } diff --git a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderAdjustmentService.php b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderAdjustmentService.php index 8a606513..abeae70b 100644 --- a/modules/_bundled/sirsoft-ecommerce/src/Services/OrderAdjustmentService.php +++ b/modules/_bundled/sirsoft-ecommerce/src/Services/OrderAdjustmentService.php @@ -12,6 +12,7 @@ use Modules\Sirsoft\Ecommerce\DTO\OrderCalculationResult; use Modules\Sirsoft\Ecommerce\DTO\ShippingAddress; use Modules\Sirsoft\Ecommerce\Enums\CouponIssueRecordStatus; use Modules\Sirsoft\Ecommerce\Enums\OrderStatusEnum; +use Modules\Sirsoft\Ecommerce\Enums\PaymentMethodEnum; use Modules\Sirsoft\Ecommerce\Enums\RefundPriorityEnum; use Modules\Sirsoft\Ecommerce\Models\Order; use Modules\Sirsoft\Ecommerce\Repositories\Contracts\CouponIssueRepositoryInterface; @@ -833,7 +834,11 @@ class OrderAdjustmentService { $order->loadMissing('payment'); - return $order->payment?->payment_method?->resolveCashEquivalentAmount($finalAmount) ?? 0; + // payment_method 는 순수 string (#475 — 확장 결제수단 ID 허용). 코어 enum 에 없는 + // 확장 결제수단은 현금성 0 으로 판정한다 (OrderProcessingService 와 동일 idiom). + return PaymentMethodEnum::tryFrom($order->payment?->paymentMethodId() ?? '') + ?->resolveCashEquivalentAmount($finalAmount) + ?? 0; } /** diff --git a/plugins/_bundled/sirsoft-pay_kginicis/src/Support/ApiDoc/ApiDocSampleService.php b/plugins/_bundled/sirsoft-pay_kginicis/src/Support/ApiDoc/ApiDocSampleService.php index 660637fe..ae9eb02a 100644 --- a/plugins/_bundled/sirsoft-pay_kginicis/src/Support/ApiDoc/ApiDocSampleService.php +++ b/plugins/_bundled/sirsoft-pay_kginicis/src/Support/ApiDoc/ApiDocSampleService.php @@ -141,7 +141,7 @@ class ApiDocSampleService implements ApiDocSampleSeeder 'transaction_id' => self::SAMPLE_TID, 'merchant_order_id' => 'MO-'.self::SAMPLE_ORDER_NUMBER, 'payment_status' => PaymentStatusEnum::PAID, - 'payment_method' => PaymentMethodEnum::VBANK, + 'payment_method' => PaymentMethodEnum::VBANK->value, 'is_escrow' => true, 'buyer_name' => 'API 문서 샘플 구매자', 'buyer_email' => 'apidoc-sample-user@example.com', diff --git a/plugins/_bundled/sirsoft-tosspayments/src/Listeners/PaymentRefundListener.php b/plugins/_bundled/sirsoft-tosspayments/src/Listeners/PaymentRefundListener.php index 1c13d339..12735c72 100644 --- a/plugins/_bundled/sirsoft-tosspayments/src/Listeners/PaymentRefundListener.php +++ b/plugins/_bundled/sirsoft-tosspayments/src/Listeners/PaymentRefundListener.php @@ -4,7 +4,6 @@ namespace Plugins\Sirsoft\Tosspayments\Listeners; use App\Contracts\Extension\HookListenerInterface; use Illuminate\Support\Facades\Log; -use Modules\Sirsoft\Ecommerce\Enums\PaymentMethodEnum; use Modules\Sirsoft\Ecommerce\Models\Order; use Modules\Sirsoft\Ecommerce\Models\OrderPayment; use Modules\Sirsoft\Ecommerce\Models\OrderRefund; @@ -257,7 +256,7 @@ class PaymentRefundListener implements HookListenerInterface */ private function requiresRefundReceiveAccount(OrderPayment $payment): bool { - return $payment->payment_method === PaymentMethodEnum::VBANK; + return $payment->isVirtualAccount(); } /**