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
| GET /api/user HTTP/1.1 | |
| Host: testing.www.atlasbus.ru | |
| Cookie: session=eyJhbGciOiJSUzI1NiIsImtpZCI6IjdUWDJldyJ9.eyJpc3MiOiJodHRwczovL3Nlc3Npb24uZmlyZWJhc2UuZ29vZ2xlLmNvbS9hdGxhcy1tb3JkYS10ZXN0aW5nIiwiYXVkIjoiYXRsYXMtbW9yZGEtdGVzdGluZyIsImF1dGhfdGltZSI6MTU4NTE1MTEyMSwidXNlcl9pZCI6Ijc5MTExMTExMTE5Iiwic3ViIjoiNzkxMTExMTExMTkiLCJpYXQiOjE1ODUxNTExMjIsImV4cCI6MTU4NjM2MDcyMiwiZmlyZWJhc2UiOnsiaWRlbnRpdGllcyI6e30sInNpZ25faW5fcHJvdmlkZXIiOiJjdXN0b20ifX0.Zwex00KI_I6s_5LuMqhhsbxIqUOg3gJVkrb2MywlMNWhNMeFJDQMxyTVZBVsbdtwqvkjLmJ8unRs3Lis--obnpj1tQpmvJQBQBTPVkV7ylpLIQTxKoPOuS47Sjf75vfEqjswmlGX1f0h74MQKjBe7Yyz8nhmzN1S4VMNlKCGaS1s27AL7Vm0AdPRxTbaOIqqJtoA3Lmm8BFHi39nQMUew3Hn-MiBd3xvFL4tqLOz-KeFcL5A-48z9EEWt_bL2Y7QQS8fxhI69OpaliarOHoZYW1RDQGlYQUhKsPGTDmcZLxywVxc50PkwICfQ_zZo79lKmX9BBxRbwzsRQSeJ3E2UQ | |
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
| { | |
| "status": "expired", | |
| "tickets": [ | |
| { | |
| "id": "atlas:3816801", | |
| "price": 550, | |
| "data": { | |
| "series": "3816801", | |
| "id": "3816801", | |
| "number": "3816801" |
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
| { | |
| "status": "booked", | |
| "tickets": [ | |
| { | |
| "id": "atlas:3816813", | |
| "price": 550, | |
| "data": { | |
| "series": "3816813", | |
| "number": "3816813", | |
| "id": "3816813" |
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
| type NewSaaSConfigDto = Omit<SaaSConfigDto, 'meta'> & { | |
| meta: SaaSConfigMetaDto & { | |
| driversURL: string; | |
| driversIframeURL: string; | |
| contactFormURL: string; | |
| contactFormIframeURL: string; | |
| termsIframeURL: string; | |
| contactPhone: string; | |
| }; | |
| }; |
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
| { | |
| "partner": "jaguar", | |
| "meta": { | |
| "domains": ["pinsk.testing.atlasbus.by", "localhost:3000"], | |
| "logoURL": "https://storage.googleapis.com/testing.static.frontend.atls.cc/jaguar.svg", | |
| "carriers": [ | |
| { | |
| "carrierId": "77", | |
| "connector": "atlas" | |
| } |
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
| { | |
| "partner": "m7", | |
| "meta": { | |
| "domains": [ | |
| "beta.www.atlasbus.app", | |
| "m7.by" | |
| ], | |
| "logoURL": "https://storage.googleapis.com/static.frontend.atls.cc/saas/m7.by/m7.by.svg", | |
| "billingID": 106, | |
| "partnerID": "m7", |
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
| { | |
| "partner": "atlas", | |
| "meta": { | |
| "domains": [ | |
| "atlasbus.ru", | |
| "atlasbus.by" | |
| ], | |
| "logoURL": "", | |
| "billingID": 0, | |
| "countries": [ |
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
| { | |
| "waypoints": [ | |
| { "cityId": 625144, "stops": [{ "name": "Минский вокзал" }] }, | |
| { "cityId": 625743, "stops": [{ "name": "Лепельский вокзал" }] }, | |
| { "cityId": 620127, "stops": [{ "name": "Витебский вокзал" }] }, | |
| { "cityId": 625665, "stops": [{ "name": "Могилевский вокзал" }] } | |
| ], | |
| "legs": [ | |
| { "fromCityId": 625144, "toCityId": 625665, "price": 730 }, | |
| { "fromCityId": 620127, "toCityId": 625665, "price": 310 }, |
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
| #!/bin/bash | |
| # Enabling ChromeOS keyboard shortcuts in Linux apps | |
| # @see https://www.reddit.com/r/Crostini/wiki/enable-chrome-shortcuts-in-linux-apps/#wiki_enabling_chrome_keyboard_shortcuts_in_linux_apps | |
| # | |
| # The following key shortcuts will be added: | |
| # | |
| # Super_L (known as Search Key or Launcher key) | |
| # <Alt> + [ | |
| # <Alt> + ] |
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
| { | |
| async createTransaction(address = '', amount = 0, fee) { | |
| const unspents = await this.getUnspents() | |
| // populate with txHex <-- | |
| for (const unspent of unspents) { | |
| const txHex = await this._get(`/tx/${unspent.txid}/hex`) | |
| unspent.txHex = txHex | |
| } |