{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":158027095,"defaultBranch":"master","name":"loyalty-php-sdk","ownerLogin":"b24io","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2018-11-17T21:38:28.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/13961393?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1722266044.0","currentOid":""},"activityList":{"items":[{"before":"8468e7aaecf8f71d47c9d5cbda9a1b71be5e03e5","after":"afb478947e2650d6116056748d013e12c9688d37","ref":"refs/heads/v3","pushedAt":"2024-07-29T15:12:10.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"b24io-sdk","name":"B24io","path":"/b24io-sdk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32178121?s=80&v=4"},"commit":{"message":"Merge pull request #35 from b24io/feature/v3-remove-ext-bcmath\n\nRemove ext-bcmath dependency","shortMessageHtmlLink":"Merge pull request #35 from b24io/feature/v3-remove-ext-bcmath"}},{"before":null,"after":"c33e72c06921f144dfdcad1a3fbc44f89c2a68d7","ref":"refs/heads/feature/v3-remove-ext-bcmath","pushedAt":"2024-07-29T15:08:50.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Remove ext-bcmath dependency\n\nRemove `ext-bcmath` from composer.json and Dockerfile since it is no longer required. The appropriate changes have been documented in the CHANGELOG.\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Remove ext-bcmath dependency"}},{"before":"f0d0d2b6af0c2ccd842e2c1a8411ba6d50491f67","after":"8468e7aaecf8f71d47c9d5cbda9a1b71be5e03e5","ref":"refs/heads/v3","pushedAt":"2024-07-09T19:24:14.000Z","pushType":"pr_merge","commitsCount":8,"pusher":{"login":"b24io-sdk","name":"B24io","path":"/b24io-sdk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32178121?s=80&v=4"},"commit":{"message":"Merge pull request #33 from b24io/feature/32-add-mobile-phone-node-v3\n\nFeature/32 add mobile phone node v3","shortMessageHtmlLink":"Merge pull request #33 from b24io/feature/32-add-mobile-phone-node-v3"}},{"before":"6f68aba438c42932076dfe5f8f8ebe6b90133ba6","after":"43fdb68a29b918c155bea376ef88836f05453384","ref":"refs/heads/feature/32-add-mobile-phone-node-v3","pushedAt":"2024-07-09T19:15:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"add nesbot/carbon\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"add nesbot/carbon"}},{"before":"1741a77b5e378f2526c6034056d1888cf0fa9a7d","after":"6f68aba438c42932076dfe5f8f8ebe6b90133ba6","ref":"refs/heads/feature/32-add-mobile-phone-node-v3","pushedAt":"2024-07-09T18:03:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Update Cards service method signature\n\nThe signature for the method `getById` in the `Cards` service has been changed from `CardItemResult` to `CardResult`. The required changes have been made in the `Cards` class and the associated test. A new class `CardResult` has also been added.\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Update Cards service method signature"}},{"before":"83697b06d7ce06c29e8cf3bd512099d97f1add2a","after":"1741a77b5e378f2526c6034056d1888cf0fa9a7d","ref":"refs/heads/feature/32-add-mobile-phone-node-v3","pushedAt":"2024-07-09T17:22:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Remove incorrect annotation in FullName.php\n\nThe incorrect annotation \"@var non-empty-string\" was removed from FullName.php. This cleanup enhances code readability and adheres to the proper syntax for variable annotation.\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Remove incorrect annotation in FullName.php"}},{"before":"bbe2eacb4ad9b1f8e326f4fff5cfc666f83d57c9","after":"83697b06d7ce06c29e8cf3bd512099d97f1add2a","ref":"refs/heads/feature/32-add-mobile-phone-node-v3","pushedAt":"2024-07-09T17:08:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Refactor test cases and update property annotations\n\nThis commit refactors the test cases within ContactsTest.php file, ensuring better code readability and data integrity checks. Furthermore, adjustments have been also made to property annotations across multiple classes, altering both type definitions and treating PhpDoc types as uncertain. Lastly, the docker-compose file version has been updated to 3.8.\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Refactor test cases and update property annotations"}},{"before":"949280272baf4c53d33dc92b82bb7dcc5df5e362","after":"bbe2eacb4ad9b1f8e326f4fff5cfc666f83d57c9","ref":"refs/heads/feature/32-add-mobile-phone-node-v3","pushedAt":"2024-07-09T05:57:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Update method signatures and improve data handling\n\nMethod signatures for `Loyalty\\SDK\\Services\\Admin\\Contacts::add` are updated to make `$mobilePhone` nullable. The return types of `getById` methods have been changed. Also, data handling in the `MobilePhoneItemResult` class has been improved to better handle instances where the `PhoneNumberUtil` instance is not created. Tests are updated to reflect these changes.\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Update method signatures and improve data handling"}},{"before":"861b0b2a2a312b4df52befb54f94c639fea01848","after":"949280272baf4c53d33dc92b82bb7dcc5df5e362","ref":"refs/heads/feature/32-add-mobile-phone-node-v3","pushedAt":"2024-07-09T04:32:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Update card and contact addition functionality for mobile phones\n\nThis commit integrates mobile phone handling in the card and contact addition process. Both additions of contacts with and without mobile phones are now supported, which are also covered in the new test cases. The mobile phone is also now accounted for in the card verification process. Additionally, HTTP client timeout has been reduced from 60 to 30.\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Update card and contact addition functionality for mobile phones"}},{"before":"f0d0d2b6af0c2ccd842e2c1a8411ba6d50491f67","after":"861b0b2a2a312b4df52befb54f94c639fea01848","ref":"refs/heads/feature/32-add-mobile-phone-node-v3","pushedAt":"2024-07-08T19:55:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Add VerificationStatus functionality and associated tests\n\nThis commit introduces the VerificationStatus class and its related methods. The class is responsible for managing different verification statuses. Associated unit tests have also been added to validate its functionality. Additionally, a minor change has been made in the ApiClient to ensure the 'context' is always a string.\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Add VerificationStatus functionality and associated tests"}},{"before":null,"after":"f0d0d2b6af0c2ccd842e2c1a8411ba6d50491f67","ref":"refs/heads/feature/32-add-mobile-phone-node-v3","pushedAt":"2024-06-01T04:57:33.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"b24io-sdk","name":"B24io","path":"/b24io-sdk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32178121?s=80&v=4"},"commit":{"message":"Merge pull request #31 from b24io/feature/27-downgrade-v3-to-php-74\n\nFeature/27 downgrade v3 to php 74","shortMessageHtmlLink":"Merge pull request #31 from b24io/feature/27-downgrade-v3-to-php-74"}},{"before":"aaaac02946bab6a246027980d7464821c4c5122f","after":null,"ref":"refs/heads/feature/32-add-mobile_phone-node","pushedAt":"2024-06-01T04:56:08.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"b24io-sdk","name":"B24io","path":"/b24io-sdk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32178121?s=80&v=4"}},{"before":null,"after":"aaaac02946bab6a246027980d7464821c4c5122f","ref":"refs/heads/feature/32-add-mobile_phone-node","pushedAt":"2024-06-01T04:54:59.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"b24io-sdk","name":"B24io","path":"/b24io-sdk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32178121?s=80&v=4"},"commit":{"message":"Merge pull request #30 from b24io/v4\n\nv4.1.0","shortMessageHtmlLink":"Merge pull request #30 from b24io/v4"}},{"before":"07b24a476f16708c5e0215ef7e31f93e854841ee","after":null,"ref":"refs/heads/feature/add-turnovers","pushedAt":"2024-05-23T07:43:26.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"b24io-sdk","name":"B24io","path":"/b24io-sdk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32178121?s=80&v=4"}},{"before":"881544235be478d54d3e2e386944e1c0afc1325d","after":null,"ref":"refs/heads/feature/27-downgrade-v3-to-php-74","pushedAt":"2024-05-23T07:43:23.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"b24io-sdk","name":"B24io","path":"/b24io-sdk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32178121?s=80&v=4"}},{"before":"e1d01f3d03961f51d7949aa38776599f86042a4c","after":"f0d0d2b6af0c2ccd842e2c1a8411ba6d50491f67","ref":"refs/heads/v3","pushedAt":"2024-05-23T07:39:07.000Z","pushType":"pr_merge","commitsCount":28,"pusher":{"login":"b24io-sdk","name":"B24io","path":"/b24io-sdk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32178121?s=80&v=4"},"commit":{"message":"Merge pull request #31 from b24io/feature/27-downgrade-v3-to-php-74\n\nFeature/27 downgrade v3 to php 74","shortMessageHtmlLink":"Merge pull request #31 from b24io/feature/27-downgrade-v3-to-php-74"}},{"before":"3bb94486099f5637da42a98069e988ce45194faf","after":"881544235be478d54d3e2e386944e1c0afc1325d","ref":"refs/heads/feature/27-downgrade-v3-to-php-74","pushedAt":"2024-05-23T07:35:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Update PHPStan command in GitHub workflow\n\nThe PHPStan command previously used in the \".github/workflows/phpstan.yml\" workflow file was updated to \"make lint-phpstan\". This ensures that the correct task is run during automated checks.\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Update PHPStan command in GitHub workflow"}},{"before":"782ef783f3408085b462a26d52393c1922d56a56","after":"3bb94486099f5637da42a98069e988ce45194faf","ref":"refs/heads/feature/27-downgrade-v3-to-php-74","pushedAt":"2024-05-23T07:31:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Add new files and make updates throughout codebase\n\nThis commit includes the addition of various new files related to tests, admin transactions, and cards. It also updates existing files by modifying certain functions and improving the code structure, and integrates GitHub workflows for v3. Numerous changes were made to improve code readability and functionality. The added files include new HTTP requests and responses for conducting tests and admin operations.\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Add new files and make updates throughout codebase"}},{"before":"91cf101b68f40806b2a1fe6784768707aa30ec93","after":"782ef783f3408085b462a26d52393c1922d56a56","ref":"refs/heads/feature/27-downgrade-v3-to-php-74","pushedAt":"2024-05-22T20:17:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Updated TransactionsReader from readonly to non-readonly\n\nRemoved the readonly constraint from the TransactionsReader class to allow for property modification. The LoggerInterface has been introduced as a private\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Updated TransactionsReader from readonly to non-readonly"}},{"before":"5dd89262fccfd62f04a8aa40dd89d3786b8ca034","after":"91cf101b68f40806b2a1fe6784768707aa30ec93","ref":"refs/heads/feature/27-downgrade-v3-to-php-74","pushedAt":"2024-05-22T20:13:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Update SDK version and adjust context handling in ApiClient\n\nThis commit updates the SDK version from '3.0.0' to '3.2.0' in ApiClient.php. Simultaneously, it refactors how 'context' is accessed and utilized within the same class. Now, rather than accessing the context's name, it uses the context directly and checks if it's an admin via an 'isAdmin()' method.\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Update SDK version and adjust context handling in ApiClient"}},{"before":"461ef32ee188778557f38003e10d3fee7fe1196b","after":"5dd89262fccfd62f04a8aa40dd89d3786b8ca034","ref":"refs/heads/feature/27-downgrade-v3-to-php-74","pushedAt":"2024-05-22T19:53:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Add context creation methods and refactor code\n\nImplemented new static methods in the Context class to create default, user, and admin contexts. Refactored the Core class to simplify checks for the existence of the itemsOrder attribute. Made changes in the AbstractItem class to change typing for array offset access methods and improve code readability.\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Add context creation methods and refactor code"}},{"before":"2bb553cc816a5f657c4299446d912afb1a68e707","after":"461ef32ee188778557f38003e10d3fee7fe1196b","ref":"refs/heads/feature/27-downgrade-v3-to-php-74","pushedAt":"2024-05-22T19:49:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Refactor ApiProblem and Response classes\n\nRemoved 'readonly' attribute from properties in ApiProblem and Response classes and introduced classic setters in constructor. This is a part of an ongoing initiative to refactor our codebase for better readability and maintainability. This change also improves compatibility with various PHP versions.\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Refactor ApiProblem and Response classes"}},{"before":"5e394c2c677047fff0d11034133acee7adc9a4d0","after":"2bb553cc816a5f657c4299446d912afb1a68e707","ref":"refs/heads/feature/27-downgrade-v3-to-php-74","pushedAt":"2024-05-22T19:48:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Refactor DTO classes and update constructors\n\nUpdated the DTO classes Metadata, ResponseData, and Pagination to not be read-only, and added explicit property definitions. The constructors for these classes were refactored to follow a more traditional pattern, with properties being assigned inside the constructor body rather than through public property promotion in the parameter list\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Refactor DTO classes and update constructors"}},{"before":"9acd0f542ddf84429545ffe87048b7865caeca47","after":"5e394c2c677047fff0d11034133acee7adc9a4d0","ref":"refs/heads/feature/27-downgrade-v3-to-php-74","pushedAt":"2024-05-22T19:40:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Update PHP version in GitHub workflow\n\nThe PHP version used in the PHPStan GitHub workflow has been updated. Previously\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Update PHP version in GitHub workflow"}},{"before":"6d0c181d31cf334b94c59b20f19418ff39014865","after":"9acd0f542ddf84429545ffe87048b7865caeca47","ref":"refs/heads/feature/27-downgrade-v3-to-php-74","pushedAt":"2024-05-22T19:35:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Remove trailing comma from exception parameters\n\nThe trailing commas in BadRequestException.php and InternalServerErrorException.php after the $previous parameter have been removed. This small clean-up ensures better code consistency and adherence to the coding standards of the project.\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Remove trailing comma from exception parameters"}},{"before":"8f2db61f87924c9579ef353a8c3a316fd2504581","after":"6d0c181d31cf334b94c59b20f19418ff39014865","ref":"refs/heads/feature/27-downgrade-v3-to-php-74","pushedAt":"2024-05-22T19:33:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Refactor Credentials and Context classes\n\nThe Credentials class has been refactored to provide readonly access to attributes. For the Context class, it has been changed from an enum to a class with additional validation in its constructor and methods to check the type of context. It now includes methods to verify whether the context is user, admin, or default.\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Refactor Credentials and Context classes"}},{"before":"ca17d9d3763f5ad51eba28b8f429f33ad6cc5c14","after":"8f2db61f87924c9579ef353a8c3a316fd2504581","ref":"refs/heads/feature/27-downgrade-v3-to-php-74","pushedAt":"2024-05-22T19:32:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Add Dockerfile for PHP 7.4 CLI\n\nA Dockerfile for a PHP 7.4 command-line interface (CLI) environment on Alpine Linux has been added. It includes the installation of necessary PHP extensions, Composer, and other dependencies. The working directory is set to /var/www/html.\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Add Dockerfile for PHP 7.4 CLI"}},{"before":"35ecccfa70d260df8f10e75e427d5025b10430dc","after":"aaaac02946bab6a246027980d7464821c4c5122f","ref":"refs/heads/master","pushedAt":"2024-05-22T18:56:00.000Z","pushType":"pr_merge","commitsCount":8,"pusher":{"login":"b24io-sdk","name":"B24io","path":"/b24io-sdk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32178121?s=80&v=4"},"commit":{"message":"Merge pull request #30 from b24io/v4\n\nv4.1.0","shortMessageHtmlLink":"Merge pull request #30 from b24io/v4"}},{"before":"ec74df2e86db9b60936ae5d08e3bfe4c3b79aacf","after":"afc779f5d069078d0d80016557ed0738bec4d7fe","ref":"refs/heads/v4","pushedAt":"2024-05-22T14:16:18.000Z","pushType":"pr_merge","commitsCount":7,"pusher":{"login":"b24io-sdk","name":"B24io","path":"/b24io-sdk","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/32178121?s=80&v=4"},"commit":{"message":"Merge pull request #29 from b24io/feature/add-turnovers\n\nAdd 'Turnovers' feature to CardItemResult","shortMessageHtmlLink":"Merge pull request #29 from b24io/feature/add-turnovers"}},{"before":"1c6d26b6d5041348441bcc5387739db239512106","after":"07b24a476f16708c5e0215ef7e31f93e854841ee","ref":"refs/heads/feature/add-turnovers","pushedAt":"2024-05-22T14:13:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mesilov","name":"Maxim Mesilov","path":"/mesilov","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1843965?s=80&v=4"},"commit":{"message":"Downgrade PHP version and refactor code\n\nThe codebase has been modified for compatibility with PHP 8.2. A DowngradeLevelSetList was imported and utilized in rector.php to downgrade the PHP version. In BurnBonuses.php, the REASON_ID constant was refactored for clarity.\n\nSigned-off-by: B24io ","shortMessageHtmlLink":"Downgrade PHP version and refactor code"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEjAsuwAA","startCursor":null,"endCursor":null}},"title":"Activity ยท b24io/loyalty-php-sdk"}