This file contains 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
import {Composio} from "./src/index"; | |
(async function setupUserConnectionIfNotExists(entityId: string = "default", appName: string = "shopify") { | |
try { | |
console.log(`Setting up user connection for entity ${entityId} with app name ${appName}`); | |
const toolset = new Composio("vohqlw2wgvc7wtnm81buwq"); | |
const entity = await toolset.getEntity(entityId); | |
if (!entity) { | |
throw new Error(`Entity with ID ${entityId} not found`); |
This file contains 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
{"api":[{"name":"apaleo","enum":"APALEO","logo":"","tags":[],"displayName":"Apaleo","description":"MISSING: please reach out to the developer.","numberOfActions":29,"numberOfTriggers":0,"noAuth":false,"authSchemes":[],"getCurrentUserEndpoint":null,"runInSandbox":false,"documentationText":null,"configurationText":null},{"name":"apify","enum":"APIFY","logo":"https://avatars.githubusercontent.com/u/24586296","tags":["project management","productivity"],"displayName":"Apify","description":"Connect to Apify","numberOfActions":6,"numberOfTriggers":0,"noAuth":false,"authSchemes":["apify_api_key"],"getCurrentUserEndpoint":null,"runInSandbox":false,"documentationText":null,"configurationText":null},{"name":"asana","enum":"ASANA","logo":"https://raw.githubusercontent.com/SamparkAI/open-logos/master/asana.png","tags":["productivity","ticketing"],"displayName":"Asana","description":"Tool to help teams organize, track, and manage their work.","numberOfActions":189,"numberOfTriggers":0,"noAuth":false,"authSchemes":["asana_ |
This file contains 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
curl --location 'http://localhost:9900/api/v1/apps/sync' \ | |
--header 'Accept: application/json, text/plain, */*' \ | |
--header 'Accept-Language: en-US,en;q=0.9' \ | |
--header 'Connection: keep-alive' \ | |
--header 'Content-Type: application/json' \ | |
--header 'Cookie: intercom-id-dvp1uc7s=1e796232-b436-49c6-9434-b0ee22fa36c5; intercom-device-id-dvp1uc7s=c9b940ec-deae-42c3-bd27-e66e9045114f; composio_email=hudixt+001@gmail.com; isLoggedIn=true; authToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2N2NmNzdmNC1lNjY2LTRhM2QtYTQ1Ny1hMzAzNTlkNzBjODQiLCJlbWFpbCI6Imh1ZGl4dCswMDFAZ21haWwuY29tIiwiaWF0IjoxNzE0MDMxMzA5LCJleHAiOjE3MTY2MjMzMDl9.LdEk_aKAHRayJ32mR41gYZL4AGl6M2uaNO_nuufJyg4; intercom-session-dvp1uc7s=UG5nNUJHSjhseWRmUnhzY3RIaXJVVDI2V1k1SzJqenMxeHJjQ2VjUmNRTHRXRTdISHp2cDBvN2ZXQ3lDaWtTaS0tZy94dFBUWHExRkFxOVpYelo2UFY4Zz09--4ecb12f9adbe7c21f93240bd17b0f1ed29624429; ph_phc_Gz8DBv1ZMbOwt3hE8sJZwKGsDl5FtMSkvBNSR0HC07c_posthog=%7B%22distinct_id%22%3A%22hudixt%2B001%40gmail.com%22%2C%22%24sesid%22%3A%5B1714044263931%2C%2 |
This file contains 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
curl --location 'http://localhost:9900/api/v1/apps/custom-repo/add-repo' \ | |
--header 'Accept: application/json, text/plain, */*' \ | |
--header 'Accept-Language: en-US,en;q=0.9' \ | |
--header 'Connection: keep-alive' \ | |
--header 'Content-Type: application/json' \ | |
--header 'Cookie: intercom-id-dvp1uc7s=1e796232-b436-49c6-9434-b0ee22fa36c5; intercom-device-id-dvp1uc7s=c9b940ec-deae-42c3-bd27-e66e9045114f; composio_email=hudixt+001@gmail.com; isLoggedIn=true; authToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2N2NmNzdmNC1lNjY2LTRhM2QtYTQ1Ny1hMzAzNTlkNzBjODQiLCJlbWFpbCI6Imh1ZGl4dCswMDFAZ21haWwuY29tIiwiaWF0IjoxNzE0MDMxMzA5LCJleHAiOjE3MTY2MjMzMDl9.LdEk_aKAHRayJ32mR41gYZL4AGl6M2uaNO_nuufJyg4; intercom-session-dvp1uc7s=UG5nNUJHSjhseWRmUnhzY3RIaXJVVDI2V1k1SzJqenMxeHJjQ2VjUmNRTHRXRTdISHp2cDBvN2ZXQ3lDaWtTaS0tZy94dFBUWHExRkFxOVpYelo2UFY4Zz09--4ecb12f9adbe7c21f93240bd17b0f1ed29624429; ph_phc_Gz8DBv1ZMbOwt3hE8sJZwKGsDl5FtMSkvBNSR0HC07c_posthog=%7B%22distinct_id%22%3A%22hudixt%2B001%40gmail.com%22%2C%22%24sesid%22%3A%5B17 |
This file contains 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
[2024-02-16 15:32:57.140 IST] INFO Moving status to processing from initiated { | |
"ResponseSpeed": false, | |
"callSid": "CAdae2ea839feb7c8f83547d956b58cda4", | |
"id": "127659000", | |
"phoneNumber": "+916376004208", | |
"responseGeneratorId": "127659000" | |
} | |
[2024-02-16 15:32:57.140 IST] INFO Moving status to done from processing { | |
"ResponseSpeed": false, | |
"callSid": "CAdae2ea839feb7c8f83547d956b58cda4", |
This file contains 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
import { sleep } from 'k6' | |
import http from 'k6/http' | |
// See https://k6.io/docs/using-k6/options | |
export const options = { | |
stages: [ | |
{ duration: '1m', target: 50 }, | |
{ duration: '3m', target: 100 }, | |
{ duration: '1m', target: 50 }, | |
], |
This file contains 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
curl 'https://api.investmint.club/api/v1/feed/media/toggle-curated' \ | |
-H 'Accept: application/json, text/plain, */*' \ | |
-H 'Referer;' \ | |
-H 'X-IM-API-KEY: yLpum7YLhC9aYsPs' \ | |
-H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxNjY2NzM2OS1iM2QwLTQ2MDctODc4My0wMzlhZWMxZWRkMWUiLCJpYXQiOjE2OTE2NzIzMzUsImV4cCI6MTY5Njg1NjMzNX0.E8s3gE1oGBa57fXgWtNan0HfjhuDOaJpA2rgFbbExaQ' \ | |
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) ReactNativeDebugger/0.14.0 Chrome/114.0.5735.199 Electron/25.3.0 Safari/537.36' \ | |
-H 'Content-Type: application/json' \ | |
--data-raw '{"itemId":"83960232-0cd8-4898-a369-11dcf22c4c9a","image":"iVBORw0KGgoAAAANSUhEUgAABQoAAAIlCAYAAACdAMU1AAAAAXNSR0IArs4c6QAA\r\nAGxlWElmTU0AKgAAAAgABAEaAAUAAAABAAAAPgEbAAUAAAABAAAARgEoAAMAAAAB\r\nAAIAAIdpAAQAAAABAAAATgAAAAAAAADYAAAAAQAAANgAAAABAAKgAgAEAAAAAQAA\r\nBQqgAwAEAAAAAQAAAiUAAAAABdbAogAAAAlwSFlzAAAhOAAAITgBRZYxYAAAABxp\r\nRE9UAAAAAgAAAAAAAAETAAAAKAAAARMAAAESAAB6+F3RKpIAAEAASU |
This file contains 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
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MzgyMzk4MjcsImlzcyI6IkFQSVVhZUVWTjhIU052aCIsImp0aSI6IjIiLCJuYmYiOjE2MzU2NDc4MjcsInN1YiI6IjIiLCJ2aWRlbyI6eyJyb29tIjoibXlyb29tIiwicm9vbUpvaW4iOnRydWV9fQ.J6UOgidJP0h6GWqjs7tm5Gs2taPw1DcMRWJzOXitzOg |
This file contains 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
{ | |
"name":{ | |
"value":"test name", | |
"editable":false | |
}, | |
"isSpecialSchedule":{ | |
"value":true, | |
"editable":false | |
}, | |
"applicableDays":[ |
This file contains 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
<html xmlns="http://www.w3.org/1999/xhtml"><head> <link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap" rel="stylesheet"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0;"> <meta name="format-detection" content="telephone=no"> <!-- Responsive Mobile-First Email Template by Konstantin Savchenko, 2015. https://github.com/konsav/email-templates/ --> <style> /* Reset styles */ body { margin: 0; padding: 0; min-width: 100%; width: 100% !important; height: 100% !important;} body, table, td, div, p, a { -webkit-font-smoothing: antialiased; text-size-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; line-height: 100%; } table, td { mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse !important; border-spacing: 0; } img { border: 0; line-height: 100%; outline: none; text-decoration: no |
NewerOlder