From 94472f83b10cca45b4f10db64e16f1bc278c3cf6 Mon Sep 17 00:00:00 2001 From: Yorda Date: Thu, 22 Aug 2024 15:09:37 -0600 Subject: [PATCH] adds qrcode track outcome --- src/Services/ClickService.php | 2 ++ ...code_scanned_outcome_to_outcomes_table.php | 23 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 src/Utility/Migrations/2024_08_22_163744_adds_qr_code_scanned_outcome_to_outcomes_table.php diff --git a/src/Services/ClickService.php b/src/Services/ClickService.php index 7f0e37d..8c35957 100644 --- a/src/Services/ClickService.php +++ b/src/Services/ClickService.php @@ -46,6 +46,8 @@ class ClickService public static int $CLIENT_INITIATED_ROUTING = 8; + public static int $CLIENT_INITIATED_QRCODE = 9; + /** * @throws ClickServiceException */ diff --git a/src/Utility/Migrations/2024_08_22_163744_adds_qr_code_scanned_outcome_to_outcomes_table.php b/src/Utility/Migrations/2024_08_22_163744_adds_qr_code_scanned_outcome_to_outcomes_table.php new file mode 100644 index 0000000..8963412 --- /dev/null +++ b/src/Utility/Migrations/2024_08_22_163744_adds_qr_code_scanned_outcome_to_outcomes_table.php @@ -0,0 +1,23 @@ +insert([ + [ + 'id' => 9, + 'name' => 'client_scanned_qrcode', + 'alias' => 'The short url\'s QR code was scanned.', + ], + ]); + } +};