This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function tryExecute(callable $func, $tries = 3) | |
| { | |
| while (true) { | |
| try { | |
| return $func(); | |
| } catch (\Throwable $e) { | |
| $tries--; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UPDATE action SET type = 'week-price' WHERE discr = 'promotion' AND id = 11; | |
| UPDATE action SET type = 'own-import' WHERE discr = 'promotion' AND id = 12; | |
| UPDATE action SET type = 'hot-offer' WHERE discr = 'promotion' AND id = 13; | |
| UPDATE action SET type = 'theme-weeks' WHERE discr = 'promotion' AND id = 14; | |
| UPDATE action SET type = 'children-weeks' WHERE discr = 'promotion' AND id = 15; | |
| UPDATE action SET type = 'default' WHERE discr = 'promotion' AND (type IS NULL OR type = ''); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "action": "IMPORT_STARTED", | |
| "data": { "accountId": "id", "total": "int" } | |
| }, | |
| { | |
| "action": "IMPORT_IN_PROGRESS", | |
| "data": { "accountId": "id", "total": "int", "progress": "int" } | |
| }, | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "memberId": 4053126, | |
| "subscribes": { | |
| "emailDistribution": 1, | |
| "surveyParticipation": 1, | |
| "email": "", | |
| "name": "Test name", | |
| "subscribe": [ | |
| { | |
| "name": "SILPO_NEWPROD", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace ApiBundle\Service\API; | |
| use AppBundle\Utils\ProjectErrorCode; | |
| /** | |
| * Class InternalApiErrors | |
| */ | |
| class InternalApiErrors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| REQUEST POST /Subscribes/SetMemberSubscribes | |
| { | |
| "memberId": 3883532, | |
| "subscribes": { | |
| "emailDistribution": 1, | |
| "surveyParticipation": 1, | |
| "email": "developer.youshido@gmail.com", | |
| "name": "test", | |
| "subscribe": [ | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "memberId": 15506221, | |
| "memberData": { | |
| "yourAssistance": 0, | |
| "deliveryLocation": 2, | |
| "address": { | |
| "postIndex": "02091", | |
| "region": "Київ", | |
| "city": "Київ", | |
| "cityType": "місто", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Imap: | |
| mutation { | |
| createAccount( | |
| type:IMAP, | |
| credentials: { | |
| email:"", | |
| password:"", | |
| host:"mail.digitalcares.com" | |
| } | |
| ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 5LpIshluMFRtGjjNGyXT3jgN4Q1GKocLT9TrWrp_bqk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tariff plans: | |
| - trial | |
| - basic [3 accounts, 10 gb] | |
| - pro | |
| - max | |
| - custom [n accounts, m gb] | |
| payment period: | |
| - monthly | |
| - yearly |
NewerOlder