diff --git a/package-lock.json b/package-lock.json index 2f6400d..3cdbb9c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,129 +1,114 @@ { - "name": "intercom-openapi", + "name": "@intercom/openapi", "version": "1.0.0", - "lockfileVersion": 1, + "lockfileVersion": 3, "requires": true, - "dependencies": { - "@actions/core": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.0.tgz", - "integrity": "sha512-2aZDDa3zrrZbP5ZYg159sNoLRb61nQ7awl5pSvIq5Qpj81vwDzdMRKzkWJGJuwVvWpvZKx7vspJALyvaaIQyug==", - "requires": { - "@actions/http-client": "^2.0.1", - "uuid": "^8.3.2" + "packages": { + "": { + "name": "@intercom/openapi", + "version": "1.0.0", + "dependencies": { + "@actions/core": "^1.10.0", + "@actions/github": "^5.1.1", + "@stoplight/json-ref-resolver": "^3.0.1", + "api": "^6.1.1", + "axios": "^1.7.4", + "deepmerge": "^4.3.0", + "dotenv": "^16.0.3", + "flatted": "^3.2.7", + "jsonpath-plus": "^10.0.7", + "lodash": "^4.17.21", + "openapi-to-postmanv2": "^4.12.0", + "remove-markdown": "^0.3.0", + "standard": "^16.0.1", + "uuid": "^8.0.0", + "yaml": "^2.2.2" + } + }, + "node_modules/@actions/core": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.11.1.tgz", + "integrity": "sha512-hXJCSrkwfA46Vd9Z3q4cpEpHB1rL5NG04+/rbqW9d3+CSvtB1tYe8UTpAlixa1vj0m/ULglfEK2UKxMGxCxv5A==", + "dependencies": { + "@actions/exec": "^1.1.1", + "@actions/http-client": "^2.0.1" + } + }, + "node_modules/@actions/exec": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz", + "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==", + "dependencies": { + "@actions/io": "^1.0.1" } }, - "@actions/github": { + "node_modules/@actions/github": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/@actions/github/-/github-5.1.1.tgz", "integrity": "sha512-Nk59rMDoJaV+mHCOJPXuvB1zIbomlKS0dmSIqPGxd0enAXBnOfn4VWF+CGtRCwXZG9Epa54tZA7VIRlJDS8A6g==", - "requires": { + "dependencies": { "@actions/http-client": "^2.0.1", "@octokit/core": "^3.6.0", "@octokit/plugin-paginate-rest": "^2.17.0", "@octokit/plugin-rest-endpoint-methods": "^5.13.0" } }, - "@actions/http-client": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.0.1.tgz", - "integrity": "sha512-PIXiMVtz6VvyaRsGY268qvj57hXQEpsYogYOu2nrQhlf+XCGmZstmuZBbAybUl1nQGnvS1k1eEsQ69ZoD7xlSw==", - "requires": { - "tunnel": "^0.0.6" + "node_modules/@actions/http-client": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.3.tgz", + "integrity": "sha512-mx8hyJi/hjFvbPokCg4uRd4ZX78t+YyRPtnKWwIl+RzNaVuFpQHfmlGVfsKEJN8LwTCvL+DfVgAM04XaHkm6bA==", + "dependencies": { + "tunnel": "^0.0.6", + "undici": "^5.25.4" } }, - "@apidevtools/openapi-schemas": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@apidevtools/openapi-schemas/-/openapi-schemas-2.1.0.tgz", - "integrity": "sha512-Zc1AlqrJlX3SlpupFGpiLi2EbteyP7fXmUOGup6/DnkRgjP9bgMM/ag+n91rsv0U1Gpz0H3VILA/o3bW7Ua6BQ==" + "node_modules/@actions/io": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.3.tgz", + "integrity": "sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==" }, - "@apidevtools/swagger-methods": { + "node_modules/@apidevtools/swagger-methods": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/@apidevtools/swagger-methods/-/swagger-methods-3.0.2.tgz", "integrity": "sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg==" }, - "@babel/code-frame": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", - "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", - "requires": { - "@babel/highlight": "^7.18.6" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.19.1", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", - "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==" - }, - "@babel/highlight": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", - "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", - "requires": { - "@babel/helper-validator-identifier": "^7.18.6", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==" - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } + "node_modules/@babel/code-frame": { + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", + "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", + "dependencies": { + "@babel/helper-validator-identifier": "^7.25.9", + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", + "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", + "engines": { + "node": ">=6.9.0" } }, - "@babel/runtime": { - "version": "7.21.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.0.tgz", - "integrity": "sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==", - "requires": { - "regenerator-runtime": "^0.13.11" + "node_modules/@babel/runtime": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.0.tgz", + "integrity": "sha512-VtPOkrdPHZsKc/clNqyi9WUA8TINkZ4cGk63UUE3u4pmB2k+ZMQRDuIOagv8UVd6j7k0T3+RRIb7beKTebNbcw==", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" } }, - "@eslint/eslintrc": { + "node_modules/@eslint/eslintrc": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.3.0.tgz", "integrity": "sha512-1JTKgrOKAHVivSvOYw+sJOunkBjUOvjqWk1DPja7ZFhIS2mX/4EgTT8M7eTK9jrKhL/FvXXEbQwIs3pg1xp3dg==", - "requires": { + "dependencies": { "ajv": "^6.12.4", "debug": "^4.1.1", "espree": "^7.3.0", @@ -135,130 +120,161 @@ "minimatch": "^3.0.4", "strip-json-comments": "^3.1.1" }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/@eslint/eslintrc/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@eslint/eslintrc/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dependencies": { - "ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "requires": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "requires": { - "sprintf-js": "~1.0.2" - } - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==" - }, - "js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - } - }, - "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "requires": { - "brace-expansion": "^1.1.7" - } - } + "sprintf-js": "~1.0.2" + } + }, + "node_modules/@eslint/eslintrc/node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@eslint/eslintrc/node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "@exodus/schemasafe": { - "version": "1.0.0-rc.9", - "resolved": "https://registry.npmjs.org/@exodus/schemasafe/-/schemasafe-1.0.0-rc.9.tgz", - "integrity": "sha512-dGGHpb61hLwifAu7sotuHFDBw6GTdpG8aKC0fsK17EuTzMRvUrH7lEAr6LTJ+sx3AZYed9yZ77rltVDHyg2hRg==" + "node_modules/@eslint/eslintrc/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "node_modules/@exodus/schemasafe": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@exodus/schemasafe/-/schemasafe-1.3.0.tgz", + "integrity": "sha512-5Aap/GaRupgNx/feGBwLLTVv8OQFfv3pq2lPRzPg9R+IOBnDgghTGW7l7EuVXOvg5cc/xSAlRW8rBrjIC3Nvqw==" }, - "@faker-js/faker": { + "node_modules/@faker-js/faker": { "version": "5.5.3", "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-5.5.3.tgz", - "integrity": "sha512-R11tGE6yIFwqpaIqcfkcg7AICXzFg14+5h5v0TfF/9+RMDL6jhzCy/pxHVOfbALGdtVYdt6JdR21tuxEgl34dw==" + "integrity": "sha512-R11tGE6yIFwqpaIqcfkcg7AICXzFg14+5h5v0TfF/9+RMDL6jhzCy/pxHVOfbALGdtVYdt6JdR21tuxEgl34dw==", + "deprecated": "Please update to a newer version." + }, + "node_modules/@fastify/busboy": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz", + "integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==", + "engines": { + "node": ">=14" + } }, - "@humanwhocodes/momoa": { + "node_modules/@humanwhocodes/momoa": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@humanwhocodes/momoa/-/momoa-2.0.4.tgz", - "integrity": "sha512-RE815I4arJFtt+FVeU1Tgp9/Xvecacji8w/V6XtXsWWH/wz/eNkNbhb+ny/+PlVZjV0rxQpRSQKNKE3lcktHEA==" + "integrity": "sha512-RE815I4arJFtt+FVeU1Tgp9/Xvecacji8w/V6XtXsWWH/wz/eNkNbhb+ny/+PlVZjV0rxQpRSQKNKE3lcktHEA==", + "engines": { + "node": ">=10.10.0" + } }, - "@jsdevtools/ono": { + "node_modules/@jsdevtools/ono": { "version": "7.1.3", "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==" }, - "@jsep-plugin/assignment": { + "node_modules/@jsep-plugin/assignment": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/@jsep-plugin/assignment/-/assignment-1.3.0.tgz", - "integrity": "sha512-VVgV+CXrhbMI3aSusQyclHkenWSAm95WaiKrMxRFam3JSUiIaQjoMIw2sEs/OX4XifnqeQUN4DYbJjlA8EfktQ==" + "integrity": "sha512-VVgV+CXrhbMI3aSusQyclHkenWSAm95WaiKrMxRFam3JSUiIaQjoMIw2sEs/OX4XifnqeQUN4DYbJjlA8EfktQ==", + "engines": { + "node": ">= 10.16.0" + }, + "peerDependencies": { + "jsep": "^0.4.0||^1.0.0" + } }, - "@jsep-plugin/regex": { + "node_modules/@jsep-plugin/regex": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/@jsep-plugin/regex/-/regex-1.0.4.tgz", - "integrity": "sha512-q7qL4Mgjs1vByCaTnDFcBnV9HS7GVPJX5vyVoCgZHNSC9rjwIlmbXG5sUuorR5ndfHAIlJ8pVStxvjXHbNvtUg==" + "integrity": "sha512-q7qL4Mgjs1vByCaTnDFcBnV9HS7GVPJX5vyVoCgZHNSC9rjwIlmbXG5sUuorR5ndfHAIlJ8pVStxvjXHbNvtUg==", + "engines": { + "node": ">= 10.16.0" + }, + "peerDependencies": { + "jsep": "^0.4.0||^1.0.0" + } }, - "@nodelib/fs.scandir": { + "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "requires": { + "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" } }, - "@nodelib/fs.stat": { + "node_modules/@nodelib/fs.stat": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==" + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "engines": { + "node": ">= 8" + } }, - "@nodelib/fs.walk": { + "node_modules/@nodelib/fs.walk": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "requires": { + "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" } }, - "@octokit/auth-token": { + "node_modules/@octokit/auth-token": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.5.0.tgz", "integrity": "sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g==", - "requires": { + "dependencies": { "@octokit/types": "^6.0.3" } }, - "@octokit/core": { + "node_modules/@octokit/core": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.6.0.tgz", "integrity": "sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q==", - "requires": { + "dependencies": { "@octokit/auth-token": "^2.4.4", "@octokit/graphql": "^4.5.8", "@octokit/request": "^5.6.3", @@ -268,53 +284,59 @@ "universal-user-agent": "^6.0.0" } }, - "@octokit/endpoint": { + "node_modules/@octokit/endpoint": { "version": "6.0.12", "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz", "integrity": "sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA==", - "requires": { + "dependencies": { "@octokit/types": "^6.0.3", "is-plain-object": "^5.0.0", "universal-user-agent": "^6.0.0" } }, - "@octokit/graphql": { + "node_modules/@octokit/graphql": { "version": "4.8.0", "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.8.0.tgz", "integrity": "sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg==", - "requires": { + "dependencies": { "@octokit/request": "^5.6.0", "@octokit/types": "^6.0.3", "universal-user-agent": "^6.0.0" } }, - "@octokit/openapi-types": { + "node_modules/@octokit/openapi-types": { "version": "12.11.0", "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.11.0.tgz", "integrity": "sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ==" }, - "@octokit/plugin-paginate-rest": { + "node_modules/@octokit/plugin-paginate-rest": { "version": "2.21.3", "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.21.3.tgz", "integrity": "sha512-aCZTEf0y2h3OLbrgKkrfFdjRL6eSOo8komneVQJnYecAxIej7Bafor2xhuDJOIFau4pk0i/P28/XgtbyPF0ZHw==", - "requires": { + "dependencies": { "@octokit/types": "^6.40.0" + }, + "peerDependencies": { + "@octokit/core": ">=2" } }, - "@octokit/plugin-rest-endpoint-methods": { + "node_modules/@octokit/plugin-rest-endpoint-methods": { "version": "5.16.2", "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.16.2.tgz", "integrity": "sha512-8QFz29Fg5jDuTPXVtey05BLm7OB+M8fnvE64RNegzX7U+5NUXcOcnpTIK0YfSHBg8gYd0oxIq3IZTe9SfPZiRw==", - "requires": { + "dependencies": { "@octokit/types": "^6.39.0", "deprecation": "^2.3.1" + }, + "peerDependencies": { + "@octokit/core": ">=3" } }, - "@octokit/request": { + "node_modules/@octokit/request": { "version": "5.6.3", "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.6.3.tgz", "integrity": "sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A==", - "requires": { + "dependencies": { "@octokit/endpoint": "^6.0.1", "@octokit/request-error": "^2.1.0", "@octokit/types": "^6.16.1", @@ -323,99 +345,167 @@ "universal-user-agent": "^6.0.0" } }, - "@octokit/request-error": { + "node_modules/@octokit/request-error": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.1.0.tgz", "integrity": "sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg==", - "requires": { + "dependencies": { "@octokit/types": "^6.0.3", "deprecation": "^2.0.0", "once": "^1.4.0" } }, - "@octokit/types": { + "node_modules/@octokit/types": { "version": "6.41.0", "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.41.0.tgz", "integrity": "sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg==", - "requires": { + "dependencies": { "@octokit/openapi-types": "^12.11.0" } }, - "@readme/better-ajv-errors": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@readme/better-ajv-errors/-/better-ajv-errors-1.5.0.tgz", - "integrity": "sha512-dJLAlfN5ahAb6J5t+zCv0YeJsf4mrRHllwBb6pIYZa4yfFKs3lOSAN+i+ChebbpnqCkw7IrwzPz9vzk8p5mCEw==", - "requires": { - "@babel/code-frame": "^7.16.0", - "@babel/runtime": "^7.17.8", + "node_modules/@readme/better-ajv-errors": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/@readme/better-ajv-errors/-/better-ajv-errors-2.3.2.tgz", + "integrity": "sha512-T4GGnRAlY3C339NhoUpgJJFsMYko9vIgFAlhgV+/vEGFw66qEY4a4TRJIAZBcX/qT1pq5DvXSme+SQODHOoBrw==", + "dependencies": { + "@babel/code-frame": "^7.22.5", + "@babel/runtime": "^7.22.5", "@humanwhocodes/momoa": "^2.0.3", - "chalk": "^4.1.2", - "json-to-ast": "^2.0.3", "jsonpointer": "^5.0.0", - "leven": "^3.1.0" + "leven": "^3.1.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "ajv": "4.11.8 - 8" + } + }, + "node_modules/@readme/data-urls": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@readme/data-urls/-/data-urls-1.0.1.tgz", + "integrity": "sha512-FNP4ntG5rCgmrvQGoNH/Ljivc6jSWaaVeMuXneOyQ6oLuhm/NkysXJN3DnBrIsJUJbSae7qIs2QfPYnaropoHw==", + "engines": { + "node": ">=14" } }, - "@readme/json-schema-ref-parser": { + "node_modules/@readme/http-status-codes": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@readme/http-status-codes/-/http-status-codes-7.2.0.tgz", + "integrity": "sha512-/dBh9qw3QhJYqlGwt2I+KUP/lQ6nytdCx3aq+GpMUhibLHF3O7fwoowNcTwlbnwtyJ+TJYTIIrp3oVUlRNx3fA==" + }, + "node_modules/@readme/json-schema-ref-parser": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@readme/json-schema-ref-parser/-/json-schema-ref-parser-1.2.0.tgz", "integrity": "sha512-Bt3QVovFSua4QmHa65EHUmh2xS0XJ3rgTEUPH998f4OW4VVJke3BuS16f+kM0ZLOGdvIrzrPRqwihuv5BAjtrA==", - "requires": { + "deprecated": "This package is no longer maintained. Please use `@apidevtools/json-schema-ref-parser` instead.", + "dependencies": { "@jsdevtools/ono": "^7.1.3", "@types/json-schema": "^7.0.6", "call-me-maybe": "^1.0.1", "js-yaml": "^4.1.0" } }, - "@readme/oas-extensions": { - "version": "14.4.0", - "resolved": "https://registry.npmjs.org/@readme/oas-extensions/-/oas-extensions-14.4.0.tgz", - "integrity": "sha512-vNrZ1s7SyvWfqJAW9OI3lciDe9fbgJYXz2XIGoyi6f3Q8MMHbKx1GCVsX4SiAFai7lUIZDe2ltEKKtoxTfOKNQ==" + "node_modules/@readme/oas-extensions": { + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/@readme/oas-extensions/-/oas-extensions-17.0.1.tgz", + "integrity": "sha512-PCU7WLz8TkbdxsiE4eQGvJYDYZQPiyLhXme3SvLboSmH+8G6AJPJ5OymzSAdlf5sXpSSoD2q3dTIou3Cb2DirQ==", + "deprecated": "The functionality for this library has been moved into `oas`.", + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "oas": "^20.0.0" + } }, - "@readme/oas-to-har": { - "version": "16.1.0", - "resolved": "https://registry.npmjs.org/@readme/oas-to-har/-/oas-to-har-16.1.0.tgz", - "integrity": "sha512-gwyu5w41sigPhijmOxeQFgjfe7ItCLo6wwWuw/MzKfW5ma2GWANauT2c+tSlsZN7zNuPdjAK0wEfOxKSXxQE0g==", - "requires": { - "@readme/oas-extensions": "^14.2.0", - "oas": "^18.0.6", - "parse-data-url": "^4.0.1", - "remove-undefined-objects": "^1.1.0" + "node_modules/@readme/oas-to-har": { + "version": "20.1.1", + "resolved": "https://registry.npmjs.org/@readme/oas-to-har/-/oas-to-har-20.1.1.tgz", + "integrity": "sha512-rz8YpdZw+Jqrd8VQhQaYrzctkCAYdBldoQ5qDQyF9vGvq2lpA1yMvQPgKCJXfPGXH8Cm+NjLbunxnYabKQeKeA==", + "dependencies": { + "@readme/data-urls": "^1.0.1", + "@readme/oas-extensions": "^17.0.1", + "oas": "^20.5.0", + "qs": "^6.10.5", + "remove-undefined-objects": "^2.0.2" + }, + "engines": { + "node": ">=14" } }, - "@readme/openapi-parser": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@readme/openapi-parser/-/openapi-parser-2.4.0.tgz", - "integrity": "sha512-KZMzLYsruShysgLgGaLNQFkinTdQu+rmVjrshhYlviHvvU6k28KYu0aOJciIQSBY0u38QHYFi74gsxU0IsmO1Q==", - "requires": { - "@apidevtools/openapi-schemas": "^2.1.0", + "node_modules/@readme/openapi-parser": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/@readme/openapi-parser/-/openapi-parser-2.7.0.tgz", + "integrity": "sha512-P8WSr8WTOxilnT89tcCRKWYsG/II4sAwt1a/DIWub8xTtkrG9cCBBy/IUcvc5X8oGWN82MwcTA3uEkDrXZd/7A==", + "dependencies": { "@apidevtools/swagger-methods": "^3.0.2", "@jsdevtools/ono": "^7.1.3", - "@readme/better-ajv-errors": "^1.5.0", + "@readme/better-ajv-errors": "^2.0.0", "@readme/json-schema-ref-parser": "^1.2.0", - "ajv": "^8.11.0", + "@readme/openapi-schemas": "^3.1.0", + "ajv": "^8.12.0", "ajv-draft-04": "^1.0.0", "call-me-maybe": "^1.0.1" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "openapi-types": ">=7" + } + }, + "node_modules/@readme/openapi-schemas": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@readme/openapi-schemas/-/openapi-schemas-3.1.0.tgz", + "integrity": "sha512-9FC/6ho8uFa8fV50+FPy/ngWN53jaUu4GRXlAjcxIRrzhltJnpKkBG2Tp0IDraFJeWrOpk84RJ9EMEEYzaI1Bw==", + "engines": { + "node": ">=18" + } + }, + "node_modules/@readme/postman-to-openapi": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@readme/postman-to-openapi/-/postman-to-openapi-4.1.0.tgz", + "integrity": "sha512-VvV2Hzjskz01m8doSn7Ypt6cSZzgjnypVqXy1ipThbyYD6SGiM74VSePXykOODj/43Y2m6zeYedPk/ZLts/HvQ==", + "dependencies": { + "@readme/http-status-codes": "^7.2.0", + "js-yaml": "^4.1.0", + "jsonc-parser": "3.2.0", + "lodash.camelcase": "^4.3.0", + "marked": "^4.3.0", + "mustache": "^4.2.0" + }, + "engines": { + "node": ">=14" } }, - "@stoplight/json": { - "version": "3.20.2", - "resolved": "https://registry.npmjs.org/@stoplight/json/-/json-3.20.2.tgz", - "integrity": "sha512-e3Eb/DdLSpJVAsxAG1jKSnl4TVZLl2pH8KsJBWKf5GPCeI58Eo0ZpRTX3HcZ0gBaHWH6CnEHJkCRCONhoFbDIA==", - "requires": { + "node_modules/@readme/postman-to-openapi/node_modules/jsonc-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==" + }, + "node_modules/@stoplight/json": { + "version": "3.21.7", + "resolved": "https://registry.npmjs.org/@stoplight/json/-/json-3.21.7.tgz", + "integrity": "sha512-xcJXgKFqv/uCEgtGlPxy3tPA+4I+ZI4vAuMJ885+ThkTHFVkC+0Fm58lA9NlsyjnkpxFh4YiQWpH+KefHdbA0A==", + "dependencies": { "@stoplight/ordered-object-literal": "^1.0.3", "@stoplight/path": "^1.3.2", "@stoplight/types": "^13.6.0", "jsonc-parser": "~2.2.1", "lodash": "^4.17.21", "safe-stable-stringify": "^1.1" + }, + "engines": { + "node": ">=8.3.0" } }, - "@stoplight/json-ref-resolver": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/@stoplight/json-ref-resolver/-/json-ref-resolver-3.1.5.tgz", - "integrity": "sha512-uaKLITor7UF+JBtI84zs3aOWM0L79zp7w9TrBTwPtx5SLbaQQ4HadDKgX5yhFOLMApLdhwhiftF4c0GFanOxGg==", - "requires": { - "@stoplight/json": "^3.17.0", + "node_modules/@stoplight/json-ref-resolver": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/@stoplight/json-ref-resolver/-/json-ref-resolver-3.1.6.tgz", + "integrity": "sha512-YNcWv3R3n3U6iQYBsFOiWSuRGE5su1tJSiX6pAPRVk7dP0L7lqCteXGzuVRQ0gMZqUl8v1P0+fAKxF6PLo9B5A==", + "dependencies": { + "@stoplight/json": "^3.21.0", "@stoplight/path": "^1.3.2", "@stoplight/types": "^12.3.0 || ^13.0.0", "@types/urijs": "^1.19.19", @@ -423,702 +513,1182 @@ "fast-memoize": "^2.5.2", "immer": "^9.0.6", "lodash": "^4.17.21", - "tslib": "^2.3.1", + "tslib": "^2.6.0", "urijs": "^1.19.11" + }, + "engines": { + "node": ">=8.3.0" } }, - "@stoplight/ordered-object-literal": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@stoplight/ordered-object-literal/-/ordered-object-literal-1.0.4.tgz", - "integrity": "sha512-OF8uib1jjDs5/cCU+iOVy+GJjU3X7vk/qJIkIJFqwmlJKrrtijFmqwbu8XToXrwTYLQTP+Hebws5gtZEmk9jag==" + "node_modules/@stoplight/ordered-object-literal": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@stoplight/ordered-object-literal/-/ordered-object-literal-1.0.5.tgz", + "integrity": "sha512-COTiuCU5bgMUtbIFBuyyh2/yVVzlr5Om0v5utQDgBCuQUOPgU1DwoffkTfg4UBQOvByi5foF4w4T+H9CoRe5wg==", + "engines": { + "node": ">=8" + } }, - "@stoplight/path": { + "node_modules/@stoplight/path": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/@stoplight/path/-/path-1.3.2.tgz", - "integrity": "sha512-lyIc6JUlUA8Ve5ELywPC8I2Sdnh1zc1zmbYgVarhXIp9YeAB0ReeqmGEOWNtlHkbP2DAA1AL65Wfn2ncjK/jtQ==" + "integrity": "sha512-lyIc6JUlUA8Ve5ELywPC8I2Sdnh1zc1zmbYgVarhXIp9YeAB0ReeqmGEOWNtlHkbP2DAA1AL65Wfn2ncjK/jtQ==", + "engines": { + "node": ">=8" + } }, - "@stoplight/types": { - "version": "13.9.0", - "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-13.9.0.tgz", - "integrity": "sha512-o3sg/5aYpnT8jZITjXqBz6MGwuW/RQxjXlcU57bKorCustgBH+TvcI9QFNJSeg4fomAwQo6rk+xmhf93Xf8OzQ==", - "requires": { + "node_modules/@stoplight/types": { + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-13.20.0.tgz", + "integrity": "sha512-2FNTv05If7ib79VPDA/r9eUet76jewXFH2y2K5vuge6SXbRHtWBhcaRmu+6QpF4/WRNoJj5XYRSwLGXDxysBGA==", + "dependencies": { "@types/json-schema": "^7.0.4", "utility-types": "^3.10.0" + }, + "engines": { + "node": "^12.20 || >=14.13" + } + }, + "node_modules/@ts-morph/common": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.18.1.tgz", + "integrity": "sha512-RVE+zSRICWRsfrkAw5qCAK+4ZH9kwEFv5h0+/YeHTLieWP7F4wWq4JsKFuNWG+fYh/KF+8rAtgdj5zb2mm+DVA==", + "dependencies": { + "fast-glob": "^3.2.12", + "minimatch": "^5.1.0", + "mkdirp": "^1.0.4", + "path-browserify": "^1.0.1" + } + }, + "node_modules/@ts-morph/common/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@ts-morph/common/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" } }, - "@types/json-schema": { - "version": "7.0.11", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", - "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==" + "node_modules/@types/har-format": { + "version": "1.2.16", + "resolved": "https://registry.npmjs.org/@types/har-format/-/har-format-1.2.16.tgz", + "integrity": "sha512-fluxdy7ryD3MV6h8pTfTYpy/xQzCFC7m89nOH9y94cNqJ1mDIDPut7MnRHI3F6qRmh/cT2fUjG1MLdCNb4hE9A==" }, - "@types/json5": { + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" + }, + "node_modules/@types/json5": { "version": "0.0.29", "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==" }, - "@types/urijs": { - "version": "1.19.19", - "resolved": "https://registry.npmjs.org/@types/urijs/-/urijs-1.19.19.tgz", - "integrity": "sha512-FDJNkyhmKLw7uEvTxx5tSXfPeQpO0iy73Ry+PmYZJvQy0QIWX8a7kJ4kLWRf+EbTPJEPDSgPXHaM7pzr5lmvCg==" + "node_modules/@types/urijs": { + "version": "1.19.25", + "resolved": "https://registry.npmjs.org/@types/urijs/-/urijs-1.19.25.tgz", + "integrity": "sha512-XOfUup9r3Y06nFAZh3WvO0rBU4OtlfPB/vgxpjg+NRdGU6CN6djdc6OEiH+PcqHCY6eFLo9Ista73uarf4gnBg==" }, - "acorn": { + "node_modules/acorn": { "version": "7.4.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==" + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } }, - "acorn-jsx": { + "node_modules/acorn-jsx": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==" + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } }, - "ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "requires": { - "fast-deep-equal": "^3.1.1", + "node_modules/ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" + "require-from-string": "^2.0.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "ajv-draft-04": { + "node_modules/ajv-draft-04": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz", - "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==" + "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==", + "peerDependencies": { + "ajv": "^8.5.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } }, - "ajv-formats": { + "node_modules/ajv-formats": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", - "requires": { + "dependencies": { "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } } }, - "ansi-colors": { + "node_modules/ansi-colors": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", - "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==" - }, - "ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "requires": { - "type-fest": "^0.21.3" + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", + "engines": { + "node": ">=6" } }, - "ansi-regex": { + "node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } }, - "ansi-styles": { + "node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { + "dependencies": { "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "ansicolors": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz", - "integrity": "sha512-QXu7BPrP29VllRxH8GwB7x5iX5qWKAAMLqKQGWTeLWVlNHNOpVMJ91dsxQAIWXpjuW5wqvxu3Jd/nRjrJ+0pqg==" - }, - "api": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/api/-/api-4.5.2.tgz", - "integrity": "sha512-RbqDVdRVBd3Y/M+iAkFj4IqHhBR86FoyfcRkRs77qYQW9nL+tBC+aPkgKtlhirMHjoCmNrxnh0CNhCTqFq4PSg==", - "requires": { - "@readme/oas-to-har": "^16.1.0", - "@readme/openapi-parser": "^2.1.0", + "node_modules/api": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/api/-/api-6.1.3.tgz", + "integrity": "sha512-a9Bk/CVzQUvGIDG8HR1sVyQdPd5gxzygoQEnzBhYWvSJOW5fIMGkGq+lXItM2vWAneJqWgFMqbBklYw9qMsz6A==", + "dependencies": { + "@readme/oas-to-har": "^20.0.2", + "@readme/openapi-parser": "^2.4.0", + "caseless": "^0.12.0", + "chalk": "^4.1.2", + "commander": "^10.0.0", "datauri": "^4.1.0", - "fetch-har": "^5.0.5", + "execa": "^5.1.1", + "fetch-har": "^8.1.5", + "figures": "^3.2.0", "find-cache-dir": "^3.3.1", - "form-data": "^4.0.0", - "get-stream": "^6.0.0", + "form-data-encoder": "^1.7.2", + "formdata-node": "^4.3.2", + "get-stream": "^6.0.1", + "isomorphic-fetch": "^3.0.0", "js-yaml": "^4.1.0", + "json-schema-to-ts": "^2.6.2-beta.0", + "json-schema-traverse": "^1.0.0", + "lodash": "^4.17.21", "make-dir": "^3.1.0", - "mimer": "^2.0.2", - "node-fetch": "^2.6.0", - "oas": "^18.3.4" + "node-abort-controller": "^3.1.1", + "oas": "^20.11.0", + "ora": "^5.4.1", + "prompts": "^2.4.2", + "remove-undefined-objects": "^2.0.2", + "semver": "^7.3.8", + "ssri": "^10.0.1", + "ts-morph": "^17.0.1", + "validate-npm-package-name": "^5.0.0" + }, + "bin": { + "api": "bin/api" + }, + "engines": { + "node": ">=16" } }, - "argparse": { + "node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" }, - "array-includes": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz", - "integrity": "sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "get-intrinsic": "^1.1.3", - "is-string": "^1.0.7" + "node_modules/array-buffer-byte-length": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz", + "integrity": "sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==", + "dependencies": { + "call-bound": "^1.0.3", + "is-array-buffer": "^3.0.5" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" - }, - "array.prototype.flat": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", - "integrity": "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "es-shim-unscopables": "^1.0.0" - } - }, - "array.prototype.flatmap": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz", - "integrity": "sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "es-shim-unscopables": "^1.0.0" - } - }, - "array.prototype.map": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/array.prototype.map/-/array.prototype.map-1.0.5.tgz", - "integrity": "sha512-gfaKntvwqYIuC7mLLyv2wzZIJqrRhn5PZ9EfFejSx6a78sV7iDsGpG9P+3oUPtm1Rerqm6nrKS4FYuTIvWfo3g==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "es-array-method-boxes-properly": "^1.0.0", + "node_modules/array-includes": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz", + "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==", + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.4", "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flat": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.3.tgz", + "integrity": "sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==", + "dependencies": { + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-shim-unscopables": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "astral-regex": { + "node_modules/array.prototype.flatmap": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.3.tgz", + "integrity": "sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==", + "dependencies": { + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-shim-unscopables": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/arraybuffer.prototype.slice": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz", + "integrity": "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==", + "dependencies": { + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "is-array-buffer": "^3.0.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/astral-regex": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", - "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==" + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "engines": { + "node": ">=8" + } }, - "async": { + "node_modules/async": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==" }, - "asynckit": { + "node_modules/async-function": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz", + "integrity": "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, - "available-typed-arrays": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==" - }, - "axios": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz", - "integrity": "sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==", - "requires": { + "node_modules/available-typed-arrays": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", + "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "dependencies": { + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/axios": { + "version": "1.8.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.4.tgz", + "integrity": "sha512-eBSYY4Y68NNlHbHBMdeDmKNtDgXWhQsJcGqzO3iLUM0GraQFSS9cVgPX5I9b3lbdFKyYoAEGAZF1DwhTaljNAw==", + "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } }, - "balanced-match": { + "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, - "base64-js": { + "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, - "before-after-hook": { + "node_modules/before-after-hook": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==" }, - "bl": { + "node_modules/bl": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "requires": { + "dependencies": { "buffer": "^5.5.0", "inherits": "^2.0.4", "readable-stream": "^3.4.0" } }, - "brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "requires": { - "balanced-match": "^1.0.0" + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" } }, - "buffer": { + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/buffer": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "requires": { + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" } }, - "call-bind": { + "node_modules/call-bind": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz", + "integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.0", + "es-define-property": "^1.0.0", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/call-bind-apply-helpers": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "call-me-maybe": { + "node_modules/call-me-maybe": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==" }, - "callsites": { + "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" - }, - "cardinal": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/cardinal/-/cardinal-2.1.1.tgz", - "integrity": "sha512-JSr5eOgoEymtYHBjNWyjrMqet9Am2miJhlfKNdqLp6zoeAh0KN5dRAcxlecj5mAJrmQomgiOBj35xHLrFjqBpw==", - "requires": { - "ansicolors": "~0.3.2", - "redeyed": "~2.1.0" + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "engines": { + "node": ">=6" } }, - "chalk": { + "node_modules/caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==" + }, + "node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "requires": { + "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" - }, - "charset": { + "node_modules/charset": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/charset/-/charset-1.0.1.tgz", - "integrity": "sha512-6dVyOOYjpfFcL1Y4qChrAoQLRHvj2ziyhcm0QJlhOcAhykL/k1kTUPbeo+87MNRTRdk2OIIsIXbuF3x2wi5EXg==" + "integrity": "sha512-6dVyOOYjpfFcL1Y4qChrAoQLRHvj2ziyhcm0QJlhOcAhykL/k1kTUPbeo+87MNRTRdk2OIIsIXbuF3x2wi5EXg==", + "engines": { + "node": ">=4.0.0" + } }, - "cli-cursor": { + "node_modules/cli-cursor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "requires": { + "dependencies": { "restore-cursor": "^3.1.0" + }, + "engines": { + "node": ">=8" } }, - "cli-spinners": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.7.0.tgz", - "integrity": "sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw==" - }, - "cli-width": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", - "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==" + "node_modules/cli-spinners": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", + "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "cliui": { + "node_modules/cliui": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "requires": { + "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" } }, - "clone": { + "node_modules/clone": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==" + "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", + "engines": { + "node": ">=0.8" + } }, - "code-error-fragment": { - "version": "0.0.230", - "resolved": "https://registry.npmjs.org/code-error-fragment/-/code-error-fragment-0.0.230.tgz", - "integrity": "sha512-cadkfKp6932H8UkhzE/gcUqhRMNf8jHzkAN7+5Myabswaghu4xABTgPHDCjW+dBAJxj/SpkTYokpzDqY4pCzQw==" + "node_modules/code-block-writer": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-11.0.3.tgz", + "integrity": "sha512-NiujjUFB4SwScJq2bwbYUtXbZhBSlY6vYzm++3Q6oC+U+injTqfPYFK8wS9COOmb2lueqp0ZRB4nK1VYeHgNyw==" }, - "color-convert": { + "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { + "dependencies": { "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" } }, - "color-name": { + "node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, - "combined-stream": { + "node_modules/combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "requires": { + "dependencies": { "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" } }, - "commander": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", - "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==" - }, - "comment-patterns": { - "version": "0.12.2", - "resolved": "https://registry.npmjs.org/comment-patterns/-/comment-patterns-0.12.2.tgz", - "integrity": "sha512-yA1FeubMSK0MXzapPm1uNdxyGk0mTAn5qrsVS6uQUSDOpUgWVLCqsgZfA/lhRx6TCLr1MvxeRqXOb1peWXWg3Q==", - "requires": { - "lodash": "^4.17.11" + "node_modules/commander": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", + "engines": { + "node": ">=14" } }, - "commondir": { + "node_modules/commondir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==" }, - "compute-gcd": { + "node_modules/compute-gcd": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/compute-gcd/-/compute-gcd-1.2.1.tgz", "integrity": "sha512-TwMbxBNz0l71+8Sc4czv13h4kEqnchV9igQZBi6QUaz09dnz13juGnnaWWJTRsP3brxOoxeB4SA2WELLw1hCtg==", - "requires": { + "dependencies": { "validate.io-array": "^1.0.3", "validate.io-function": "^1.0.2", "validate.io-integer-array": "^1.0.0" } }, - "compute-lcm": { + "node_modules/compute-lcm": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/compute-lcm/-/compute-lcm-1.1.2.tgz", "integrity": "sha512-OFNPdQAXnQhDSKioX8/XYT6sdUlXwpeMjfd6ApxMJfyZ4GxmLR1xvMERctlYhlHwIiz6CSpBc2+qYKjHGZw4TQ==", - "requires": { + "dependencies": { "compute-gcd": "^1.2.1", "validate.io-array": "^1.0.3", "validate.io-function": "^1.0.2", "validate.io-integer-array": "^1.0.0" } }, - "concat-map": { + "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" }, - "cross-spawn": { + "node_modules/cross-spawn": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", - "requires": { + "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/d": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/d/-/d-1.0.2.tgz", + "integrity": "sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw==", + "dependencies": { + "es5-ext": "^0.10.64", + "type": "^2.7.2" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/data-view-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz", + "integrity": "sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==", + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/data-view-byte-length": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz", + "integrity": "sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==", + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/inspect-js" } }, - "d": { + "node_modules/data-view-byte-offset": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", - "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", - "requires": { - "es5-ext": "^0.10.50", - "type": "^1.0.1" + "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz", + "integrity": "sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "datauri": { + "node_modules/datauri": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/datauri/-/datauri-4.1.0.tgz", "integrity": "sha512-y17kh32+I82G+ED9MNWFkZiP/Cq/vO1hN9+tSZsT9C9qn3NrvcBnh7crSepg0AQPge1hXx2Ca44s1FRdv0gFWA==", - "requires": { + "dependencies": { "image-size": "1.0.0", "mimer": "^2.0.2" + }, + "engines": { + "node": ">= 10" } }, - "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "requires": { - "ms": "2.1.2" + "node_modules/debug": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } } }, - "deep-is": { + "node_modules/deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" }, - "deepmerge": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.0.tgz", - "integrity": "sha512-z2wJZXrmeHdvYJp/Ux55wIjqo81G5Bp4c+oELTW+7ar6SogWHajt5a9gO3s3IDaGSAXjDk0vlQKN3rms8ab3og==" + "node_modules/deepmerge": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", + "engines": { + "node": ">=0.10.0" + } }, - "defaults": { + "node_modules/defaults": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", - "requires": { + "dependencies": { "clone": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "define-properties": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", - "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", - "requires": { + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/define-properties": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", + "dependencies": { + "define-data-property": "^1.0.1", "has-property-descriptors": "^1.0.0", "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "delayed-stream": { + "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "engines": { + "node": ">=0.4.0" + } }, - "dependency-graph": { + "node_modules/dependency-graph": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.11.0.tgz", - "integrity": "sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==" + "integrity": "sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==", + "engines": { + "node": ">= 0.6.0" + } }, - "deprecation": { + "node_modules/deprecation": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" }, - "dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "requires": { - "path-type": "^4.0.0" - } - }, - "doctrine": { + "node_modules/doctrine": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "requires": { + "dependencies": { "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" } }, - "dotenv": { - "version": "16.0.3", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.3.tgz", - "integrity": "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==" + "node_modules/dotenv": { + "version": "16.4.7", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz", + "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } }, - "emoji-regex": { + "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, - "enquirer": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", - "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", - "requires": { - "ansi-colors": "^4.1.1" + "node_modules/enquirer": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz", + "integrity": "sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==", + "dependencies": { + "ansi-colors": "^4.1.1", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8.6" } }, - "error-ex": { + "node_modules/error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "requires": { + "dependencies": { "is-arrayish": "^0.2.1" } }, - "es-abstract": { - "version": "1.21.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.1.tgz", - "integrity": "sha512-QudMsPOz86xYz/1dG1OuGBKOELjCh99IIWHLzy5znUB6j8xG2yMA7bfTV86VSqKF+Y/H08vQPR+9jyXpuC6hfg==", - "requires": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "es-set-tostringtag": "^2.0.1", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "function.prototype.name": "^1.1.5", - "get-intrinsic": "^1.1.3", - "get-symbol-description": "^1.0.0", - "globalthis": "^1.0.3", - "gopd": "^1.0.1", - "has": "^1.0.3", - "has-property-descriptors": "^1.0.0", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.4", - "is-array-buffer": "^3.0.1", + "node_modules/es-abstract": { + "version": "1.23.9", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.9.tgz", + "integrity": "sha512-py07lI0wjxAC/DcfK1S6G7iANonniZwTISvdPzk9hzeH0IZIshbuuFxLIU96OyF89Yb9hiqWn8M/bY83KY5vzA==", + "dependencies": { + "array-buffer-byte-length": "^1.0.2", + "arraybuffer.prototype.slice": "^1.0.4", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "data-view-buffer": "^1.0.2", + "data-view-byte-length": "^1.0.2", + "data-view-byte-offset": "^1.0.1", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-set-tostringtag": "^2.1.0", + "es-to-primitive": "^1.3.0", + "function.prototype.name": "^1.1.8", + "get-intrinsic": "^1.2.7", + "get-proto": "^1.0.0", + "get-symbol-description": "^1.1.0", + "globalthis": "^1.0.4", + "gopd": "^1.2.0", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "internal-slot": "^1.1.0", + "is-array-buffer": "^3.0.5", "is-callable": "^1.2.7", - "is-negative-zero": "^2.0.2", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.2", - "is-string": "^1.0.7", - "is-typed-array": "^1.1.10", - "is-weakref": "^1.0.2", - "object-inspect": "^1.12.2", + "is-data-view": "^1.0.2", + "is-regex": "^1.2.1", + "is-shared-array-buffer": "^1.0.4", + "is-string": "^1.1.1", + "is-typed-array": "^1.1.15", + "is-weakref": "^1.1.0", + "math-intrinsics": "^1.1.0", + "object-inspect": "^1.13.3", "object-keys": "^1.1.1", - "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.4.3", - "safe-regex-test": "^1.0.0", - "string.prototype.trimend": "^1.0.6", - "string.prototype.trimstart": "^1.0.6", - "typed-array-length": "^1.0.4", - "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.9" + "object.assign": "^4.1.7", + "own-keys": "^1.0.1", + "regexp.prototype.flags": "^1.5.3", + "safe-array-concat": "^1.1.3", + "safe-push-apply": "^1.0.0", + "safe-regex-test": "^1.1.0", + "set-proto": "^1.0.0", + "string.prototype.trim": "^1.2.10", + "string.prototype.trimend": "^1.0.9", + "string.prototype.trimstart": "^1.0.8", + "typed-array-buffer": "^1.0.3", + "typed-array-byte-length": "^1.0.3", + "typed-array-byte-offset": "^1.0.4", + "typed-array-length": "^1.0.7", + "unbox-primitive": "^1.1.0", + "which-typed-array": "^1.1.18" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "es-aggregate-error": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/es-aggregate-error/-/es-aggregate-error-1.0.9.tgz", - "integrity": "sha512-fvnX40sb538wdU6r4s35cq4EY6Lr09Upj40BEVem4LEsuW8XgQep9yD5Q1U2KftokNp1rWODFJ2qwZSsAjFpbg==", - "requires": { - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "function-bind": "^1.1.1", - "functions-have-names": "^1.2.3", - "get-intrinsic": "^1.1.3", - "globalthis": "^1.0.3", - "has-property-descriptors": "^1.0.0" + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "engines": { + "node": ">= 0.4" } }, - "es-array-method-boxes-properly": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz", - "integrity": "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==" + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "engines": { + "node": ">= 0.4" + } }, - "es-get-iterator": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.3.tgz", - "integrity": "sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==", - "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.3", - "has-symbols": "^1.0.3", - "is-arguments": "^1.1.1", - "is-map": "^2.0.2", - "is-set": "^2.0.2", - "is-string": "^1.0.7", - "isarray": "^2.0.5", - "stop-iteration-iterator": "^1.0.0" + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" } }, - "es-set-tostringtag": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", - "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", - "requires": { - "get-intrinsic": "^1.1.3", - "has": "^1.0.3", - "has-tostringtag": "^1.0.0" + "node_modules/es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" } }, - "es-shim-unscopables": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", - "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", - "requires": { - "has": "^1.0.3" + "node_modules/es-shim-unscopables": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.1.0.tgz", + "integrity": "sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==", + "dependencies": { + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" } }, - "es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" + "node_modules/es-to-primitive": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.0.tgz", + "integrity": "sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==", + "dependencies": { + "is-callable": "^1.2.7", + "is-date-object": "^1.0.5", + "is-symbol": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "es5-ext": { + "node_modules/es5-ext": { "version": "0.10.64", "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.64.tgz", "integrity": "sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==", - "requires": { + "hasInstallScript": true, + "dependencies": { "es6-iterator": "^2.0.3", "es6-symbol": "^3.1.3", "esniff": "^2.0.1", "next-tick": "^1.1.0" + }, + "engines": { + "node": ">=0.10" } }, - "es6-iterator": { + "node_modules/es6-iterator": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", "integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==", - "requires": { + "dependencies": { "d": "1", "es5-ext": "^0.10.35", "es6-symbol": "^3.1.1" } }, - "es6-promise": { + "node_modules/es6-promise": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.3.1.tgz", "integrity": "sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==" }, - "es6-symbol": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", - "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", - "requires": { - "d": "^1.0.1", - "ext": "^1.1.2" + "node_modules/es6-symbol": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.4.tgz", + "integrity": "sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg==", + "dependencies": { + "d": "^1.0.2", + "ext": "^1.7.0" + }, + "engines": { + "node": ">=0.12" } }, - "es6-weak-map": { + "node_modules/es6-weak-map": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz", "integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==", - "requires": { + "dependencies": { "d": "1", "es5-ext": "^0.10.46", "es6-iterator": "^2.0.3", "es6-symbol": "^3.1.1" } }, - "escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "engines": { + "node": ">=6" + } }, - "escape-string-regexp": { + "node_modules/escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==" + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "engines": { + "node": ">=0.8.0" + } }, - "escodegen": { + "node_modules/escodegen": { "version": "1.14.3", "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", - "requires": { + "dependencies": { "esprima": "^4.0.1", "estraverse": "^4.2.0", "esutils": "^2.0.2", - "optionator": "^0.8.1", + "optionator": "^0.8.1" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=4.0" + }, + "optionalDependencies": { "source-map": "~0.6.1" } }, - "eslint": { + "node_modules/escodegen/node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/escodegen/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/escodegen/node_modules/levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==", + "dependencies": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/escodegen/node_modules/optionator": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "dependencies": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/escodegen/node_modules/prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/escodegen/node_modules/type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==", + "dependencies": { + "prelude-ls": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/eslint": { "version": "7.18.0", "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.18.0.tgz", "integrity": "sha512-fbgTiE8BfUJZuBeq2Yi7J3RB3WGUQ9PNuNbmgi6jt9Iv8qrkxfy19Ds3OpL1Pm7zg3BtTVhvcUZbIRQ0wmSjAQ==", - "requires": { + "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", + "dependencies": { "@babel/code-frame": "^7.0.0", "@eslint/eslintrc": "^0.3.0", "ajv": "^6.10.0", @@ -1157,179 +1727,129 @@ "text-table": "^0.2.0", "v8-compile-cache": "^2.0.3" }, - "dependencies": { - "ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "requires": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "requires": { - "sprintf-js": "~1.0.2" - } - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==" - }, - "js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - } - }, - "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" - }, - "levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "requires": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - } - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", - "requires": { - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" - } - }, - "prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==" - }, - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "requires": { - "lru-cache": "^6.0.0" - } - }, - "type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "requires": { - "prelude-ls": "^1.2.1" - } - } + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "eslint-config-standard": { + "node_modules/eslint-config-standard": { "version": "16.0.3", "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-16.0.3.tgz", - "integrity": "sha512-x4fmJL5hGqNJKGHSjnLdgA6U6h1YW/G2dW9fA+cyVur4SK6lyue8+UgNKWlZtUDTXvgKDD/Oa3GQjmB5kjtVvg==" + "integrity": "sha512-x4fmJL5hGqNJKGHSjnLdgA6U6h1YW/G2dW9fA+cyVur4SK6lyue8+UgNKWlZtUDTXvgKDD/Oa3GQjmB5kjtVvg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "peerDependencies": { + "eslint": "^7.12.1", + "eslint-plugin-import": "^2.22.1", + "eslint-plugin-node": "^11.1.0", + "eslint-plugin-promise": "^4.2.1 || ^5.0.0" + } }, - "eslint-config-standard-jsx": { + "node_modules/eslint-config-standard-jsx": { "version": "10.0.0", "resolved": "https://registry.npmjs.org/eslint-config-standard-jsx/-/eslint-config-standard-jsx-10.0.0.tgz", - "integrity": "sha512-hLeA2f5e06W1xyr/93/QJulN/rLbUVUmqTlexv9PRKHFwEC9ffJcH2LvJhMoEqYQBEYafedgGZXH2W8NUpt5lA==" + "integrity": "sha512-hLeA2f5e06W1xyr/93/QJulN/rLbUVUmqTlexv9PRKHFwEC9ffJcH2LvJhMoEqYQBEYafedgGZXH2W8NUpt5lA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "peerDependencies": { + "eslint": "^7.12.1", + "eslint-plugin-react": "^7.21.5" + } }, - "eslint-import-resolver-node": { - "version": "0.3.7", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz", - "integrity": "sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==", - "requires": { + "node_modules/eslint-import-resolver-node": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", + "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==", + "dependencies": { "debug": "^3.2.7", - "is-core-module": "^2.11.0", - "resolve": "^1.22.1" - }, + "is-core-module": "^2.13.0", + "resolve": "^1.22.4" + } + }, + "node_modules/eslint-import-resolver-node/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dependencies": { - "debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "requires": { - "ms": "^2.1.1" - } - }, - "resolve": { - "version": "1.22.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", - "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", - "requires": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } - } + "ms": "^2.1.1" } }, - "eslint-module-utils": { - "version": "2.7.4", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz", - "integrity": "sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==", - "requires": { + "node_modules/eslint-module-utils": { + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.12.0.tgz", + "integrity": "sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==", + "dependencies": { "debug": "^3.2.7" }, - "dependencies": { - "debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "requires": { - "ms": "^2.1.1" - } + "engines": { + "node": ">=4" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true } } }, - "eslint-plugin-es": { + "node_modules/eslint-module-utils/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-es": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz", "integrity": "sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==", - "requires": { + "dependencies": { "eslint-utils": "^2.0.0", "regexpp": "^3.0.0" + }, + "engines": { + "node": ">=8.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + }, + "peerDependencies": { + "eslint": ">=4.19.1" } }, - "eslint-plugin-import": { + "node_modules/eslint-plugin-import": { "version": "2.24.2", "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.24.2.tgz", "integrity": "sha512-hNVtyhiEtZmpsabL4neEj+6M5DCLgpYyG9nzJY8lZQeQXEn5UPW1DpUdsMHMXsq98dbNm7nt1w9ZMSVpfJdi8Q==", - "requires": { + "dependencies": { "array-includes": "^3.1.3", "array.prototype.flat": "^1.2.4", "debug": "^2.6.9", @@ -1346,152 +1866,149 @@ "resolve": "^1.20.0", "tsconfig-paths": "^3.11.0" }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dependencies": { - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "doctrine": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", - "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", - "requires": { - "esutils": "^2.0.2" - } - }, - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", - "requires": { - "locate-path": "^2.0.0" - } - }, - "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", - "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - } - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" - }, - "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "requires": { - "p-try": "^1.0.0" - } - }, - "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", - "requires": { - "p-limit": "^1.1.0" - } - }, - "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==" - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==" - }, - "resolve": { - "version": "1.22.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", - "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", - "requires": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } - } + "ms": "2.0.0" } }, - "eslint-plugin-node": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz", - "integrity": "sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==", - "requires": { - "eslint-plugin-es": "^3.0.0", - "eslint-utils": "^2.0.0", - "ignore": "^5.1.1", - "minimatch": "^3.0.4", - "resolve": "^1.10.1", - "semver": "^6.1.0" + "node_modules/eslint-plugin-import/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dependencies": { + "esutils": "^2.0.2" }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", "dependencies": { - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "resolve": { - "version": "1.22.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", - "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", - "requires": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } - } + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" } }, - "eslint-plugin-promise": { + "node_modules/eslint-plugin-import/node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/eslint-plugin-import/node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-node": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz", + "integrity": "sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==", + "dependencies": { + "eslint-plugin-es": "^3.0.0", + "eslint-utils": "^2.0.0", + "ignore": "^5.1.1", + "minimatch": "^3.0.4", + "resolve": "^1.10.1", + "semver": "^6.1.0" + }, + "engines": { + "node": ">=8.10.0" + }, + "peerDependencies": { + "eslint": ">=5.16.0" + } + }, + "node_modules/eslint-plugin-node/node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "engines": { + "node": ">= 4" + } + }, + "node_modules/eslint-plugin-node/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/eslint-plugin-promise": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-5.1.1.tgz", - "integrity": "sha512-XgdcdyNzHfmlQyweOPTxmc7pIsS6dE4MvwhXWMQ2Dxs1XAL2GJDilUsjWen6TWik0aSI+zD/PqocZBblcm9rdA==" + "integrity": "sha512-XgdcdyNzHfmlQyweOPTxmc7pIsS6dE4MvwhXWMQ2Dxs1XAL2GJDilUsjWen6TWik0aSI+zD/PqocZBblcm9rdA==", + "engines": { + "node": "^10.12.0 || >=12.0.0" + }, + "peerDependencies": { + "eslint": "^7.0.0" + } }, - "eslint-plugin-react": { + "node_modules/eslint-plugin-react": { "version": "7.25.3", "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.25.3.tgz", "integrity": "sha512-ZMbFvZ1WAYSZKY662MBVEWR45VaBT6KSJCiupjrNlcdakB90juaZeDCbJq19e73JZQubqFtgETohwgAt8u5P6w==", - "requires": { + "dependencies": { "array-includes": "^3.1.3", "array.prototype.flatmap": "^1.2.4", "doctrine": "^2.1.0", @@ -1506,1295 +2023,2031 @@ "resolve": "^2.0.0-next.3", "string.prototype.matchall": "^4.0.5" }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^3 || ^4 || ^5 || ^6 || ^7" + } + }, + "node_modules/eslint-plugin-react/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", "dependencies": { - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "doctrine": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", - "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", - "requires": { - "esutils": "^2.0.2" - } - }, - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "resolve": { - "version": "2.0.0-next.4", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.4.tgz", - "integrity": "sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==", - "requires": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } - } + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-react/node_modules/resolve": { + "version": "2.0.0-next.5", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz", + "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==", + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "eslint-scope": { + "node_modules/eslint-scope": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", - "requires": { + "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/eslint-scope/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "engines": { + "node": ">=4.0" } }, - "eslint-utils": { + "node_modules/eslint-utils": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", - "requires": { + "dependencies": { "eslint-visitor-keys": "^1.1.0" }, - "dependencies": { - "eslint-visitor-keys": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", - "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==" - } + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + } + }, + "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "engines": { + "node": ">=4" } }, - "eslint-visitor-keys": { + "node_modules/eslint-visitor-keys": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==" + "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/eslint/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/eslint/node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint/node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } }, - "esniff": { + "node_modules/eslint/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "node_modules/esniff": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/esniff/-/esniff-2.0.1.tgz", "integrity": "sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==", - "requires": { + "dependencies": { "d": "^1.0.1", "es5-ext": "^0.10.62", "event-emitter": "^0.3.5", "type": "^2.7.2" }, - "dependencies": { - "type": { - "version": "2.7.2", - "resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz", - "integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==" - } + "engines": { + "node": ">=0.10" } }, - "espree": { + "node_modules/espree": { "version": "7.3.1", "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==", - "requires": { + "dependencies": { "acorn": "^7.4.0", "acorn-jsx": "^5.3.1", "eslint-visitor-keys": "^1.3.0" }, - "dependencies": { - "eslint-visitor-keys": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", - "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==" - } + "engines": { + "node": "^10.12.0 || >=12.0.0" } }, - "esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" + "node_modules/espree/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "engines": { + "node": ">=4" + } + }, + "node_modules/esprima": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-1.2.2.tgz", + "integrity": "sha512-+JpPZam9w5DuJ3Q67SqsMGtiHKENSMRVoxvArfJZK01/BfLEObtZ6orJa/MtoGNR/rfMgp5837T41PAmTwAv/A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=0.4.0" + } }, - "esquery": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.2.tgz", - "integrity": "sha512-JVSoLdTlTDkmjFmab7H/9SL9qGSyjElT3myyKp7krqjVFQCDLmj1QFaCLRFBszBKI0XVZaiiXvuPIX3ZwHe1Ng==", - "requires": { + "node_modules/esquery": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", + "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", + "dependencies": { "estraverse": "^5.1.0" }, - "dependencies": { - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" - } + "engines": { + "node": ">=0.10" } }, - "esrecurse": { + "node_modules/esrecurse": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "requires": { + "dependencies": { "estraverse": "^5.2.0" }, - "dependencies": { - "estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" - } + "engines": { + "node": ">=4.0" } }, - "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "engines": { + "node": ">=4.0" + } }, - "esutils": { + "node_modules/esutils": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "engines": { + "node": ">=0.10.0" + } }, - "event-emitter": { + "node_modules/event-emitter": { "version": "0.3.5", "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", "integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==", - "requires": { + "dependencies": { "d": "1", "es5-ext": "~0.10.14" } }, - "ext": { + "node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/ext": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz", "integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==", - "requires": { - "type": "^2.7.2" - }, "dependencies": { - "type": { - "version": "2.7.2", - "resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz", - "integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==" - } - } - }, - "external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", - "requires": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" + "type": "^2.7.2" } }, - "fast-deep-equal": { + "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, - "fast-glob": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", - "requires": { + "node_modules/fast-glob": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", + "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", - "micromatch": "^4.0.4" + "micromatch": "^4.0.8" + }, + "engines": { + "node": ">=8.6.0" } }, - "fast-json-stable-stringify": { + "node_modules/fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" }, - "fast-levenshtein": { + "node_modules/fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" }, - "fast-memoize": { + "node_modules/fast-memoize": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/fast-memoize/-/fast-memoize-2.5.2.tgz", "integrity": "sha512-Ue0LwpDYErFbmNnZSF0UH6eImUwDmogUO1jyE+JbN2gsQz/jICm1Ve7t9QT0rNSsfJt+Hs4/S3GnsDVjL4HVrw==" }, - "fast-safe-stringify": { + "node_modules/fast-safe-stringify": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==" }, - "fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", - "requires": { + "node_modules/fast-uri": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", + "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ] + }, + "node_modules/fastq": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz", + "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==", + "dependencies": { "reusify": "^1.0.4" } }, - "fetch-har": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/fetch-har/-/fetch-har-5.0.5.tgz", - "integrity": "sha512-Vzj/U++CyHhTMNTB1NAyjOuhOc/2rXhCweWHfCX02rHb8+IfFUSy9aWnImRJ/tMYT/c1c7tYNwwU7Dr9ty3cyg==", - "requires": { - "parse-data-url": "^4.0.1" + "node_modules/fetch-har": { + "version": "8.1.5", + "resolved": "https://registry.npmjs.org/fetch-har/-/fetch-har-8.1.5.tgz", + "integrity": "sha512-c9WDro4RWC+suOVRJFNW21cgqTOELRZpvFJgfENvOM7Yt/VA4QeFtRax795SyOpTisdpcl5XNQlQZdAE6HERDA==", + "dependencies": { + "@readme/data-urls": "^1.0.1", + "@types/har-format": "^1.2.8", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=14" + }, + "optionalDependencies": { + "formdata-node": "^4.3.2" } }, - "figures": { + "node_modules/figures": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", - "requires": { + "dependencies": { "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "file-entry-cache": { + "node_modules/file-entry-cache": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", - "requires": { + "dependencies": { "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" } }, - "file-type": { + "node_modules/file-type": { "version": "3.9.0", "resolved": "https://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz", - "integrity": "sha512-RLoqTXE8/vPmMuTI88DAzhMYC99I8BWv7zYP4A1puo5HIjEJ5EX48ighy4ZyKMG9EDXxBgW6e++cn7d1xuFghA==" + "integrity": "sha512-RLoqTXE8/vPmMuTI88DAzhMYC99I8BWv7zYP4A1puo5HIjEJ5EX48ighy4ZyKMG9EDXxBgW6e++cn7d1xuFghA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } }, - "find-cache-dir": { + "node_modules/find-cache-dir": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", - "requires": { + "dependencies": { "commondir": "^1.0.1", "make-dir": "^3.0.2", "pkg-dir": "^4.1.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/avajs/find-cache-dir?sponsor=1" } }, - "find-up": { + "node_modules/find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "requires": { + "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, - "flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", - "requires": { - "flatted": "^3.1.0", + "node_modules/flat-cache": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.3", "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" } }, - "flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==" + "node_modules/flatted": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz", + "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==" }, - "follow-redirects": { + "node_modules/follow-redirects": { "version": "1.15.9", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", - "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==" + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } }, - "for-each": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "requires": { - "is-callable": "^1.1.3" + "node_modules/for-each": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz", + "integrity": "sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==", + "dependencies": { + "is-callable": "^1.2.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "requires": { + "node_modules/foreach": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.6.tgz", + "integrity": "sha512-k6GAGDyqLe9JaebCsFCoudPPWfihKu8pylYXRlqP1J7ms39iPoTtk2fviNglIeQEwdh0bQeKJ01ZPyuyQvKzwg==" + }, + "node_modules/form-data": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz", + "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==", + "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" } }, - "fs.realpath": { + "node_modules/form-data-encoder": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-1.9.0.tgz", + "integrity": "sha512-rahaRMkN8P8d/tgK/BLPX+WBVM27NbvdXBxqQujBtkDAIFspaRqN7Od7lfdGQA6KAD+f82fYCLBq1ipvcu8qLw==" + }, + "node_modules/formdata-node": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/formdata-node/-/formdata-node-4.4.1.tgz", + "integrity": "sha512-0iirZp3uVDjVGt9p49aTaqjk84TrglENEDuqfdlZQ1roC9CWlPk6Avf8EEnZNcAqPonwkG35x4n3ww/1THYAeQ==", + "dependencies": { + "node-domexception": "1.0.0", + "web-streams-polyfill": "4.0.0-beta.3" + }, + "engines": { + "node": ">= 12.20" + } + }, + "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" }, - "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "function.prototype.name": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz", - "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.0", - "functions-have-names": "^1.2.2" + "node_modules/function.prototype.name": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.8.tgz", + "integrity": "sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==", + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "functions-have-names": "^1.2.3", + "hasown": "^2.0.2", + "is-callable": "^1.2.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "functional-red-black-tree": { + "node_modules/functional-red-black-tree": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", "integrity": "sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==" }, - "functions-have-names": { + "node_modules/functions-have-names": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", - "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "get-caller-file": { + "node_modules/get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } }, - "get-intrinsic": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz", - "integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==", - "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.3" + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" } }, - "get-stdin": { + "node_modules/get-stdin": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz", - "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==" + "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "get-stream": { + "node_modules/get-stream": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==" + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", - "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - } - }, - "glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", - "requires": { + "node_modules/get-symbol-description": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz", + "integrity": "sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==", + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "glob-parent": { + "node_modules/glob-parent": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "requires": { + "dependencies": { "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" } }, - "globals": { + "node_modules/globals": { "version": "12.4.0", "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", - "requires": { + "dependencies": { "type-fest": "^0.8.1" }, - "dependencies": { - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==" - } + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "globalthis": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", - "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", - "requires": { - "define-properties": "^1.1.3" + "node_modules/globalthis": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", + "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", + "dependencies": { + "define-properties": "^1.2.1", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "requires": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - } - }, - "gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "requires": { - "get-intrinsic": "^1.1.3" + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "graceful-fs": { - "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" }, - "grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==" + "node_modules/graphlib": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/graphlib/-/graphlib-2.1.8.tgz", + "integrity": "sha512-jcLLfkpoVGmH7/InMC/1hIvOPSUh38oJtGhvrOFGzioE1DZ+0YW16RgmOJhHiuWTvGiJQ9Z1Ik43JvkRPRvE+A==", + "dependencies": { + "lodash": "^4.17.15" + } }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "requires": { - "function-bind": "^1.1.1" + "node_modules/has": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.4.tgz", + "integrity": "sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==", + "engines": { + "node": ">= 0.4.0" } }, - "has-bigints": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", - "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==" + "node_modules/has-bigints": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz", + "integrity": "sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "has-flag": { + "node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } }, - "has-property-descriptors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", - "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", - "requires": { - "get-intrinsic": "^1.1.1" + "node_modules/has-property-descriptors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "has-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==" + "node_modules/has-proto": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz", + "integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==", + "dependencies": { + "dunder-proto": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", - "requires": { - "has-symbols": "^1.0.2" + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" } }, - "hosted-git-info": { + "node_modules/hosted-git-info": { "version": "2.8.9", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" }, - "http-reasons": { + "node_modules/http-reasons": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/http-reasons/-/http-reasons-0.1.0.tgz", "integrity": "sha512-P6kYh0lKZ+y29T2Gqz+RlC9WBLhKe8kDmcJ+A+611jFfxdPsbMRQ5aNmFRM3lENqFkK+HTTL+tlQviAiv0AbLQ==" }, - "http2-client": { + "node_modules/http2-client": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/http2-client/-/http2-client-1.3.5.tgz", "integrity": "sha512-EC2utToWl4RKfs5zd36Mxq7nzHHBuomZboI0yYL6Y0RmBgT7Sgkq4rQ0ezFTYoIsSs7Tm9SJe+o2FcAg6GBhGA==" }, - "iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3" + "node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "engines": { + "node": ">=10.17.0" } }, - "ieee754": { + "node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, - "ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==" + "node_modules/ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "engines": { + "node": ">= 4" + } }, - "image-size": { + "node_modules/image-size": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/image-size/-/image-size-1.0.0.tgz", "integrity": "sha512-JLJ6OwBfO1KcA+TvJT+v8gbE6iWbj24LyDNFgFEN0lzegn6cC6a/p3NIDaepMsJjQjlUWqIC7wJv8lBFxPNjcw==", - "requires": { + "dependencies": { "queue": "6.0.2" + }, + "bin": { + "image-size": "bin/image-size.js" + }, + "engines": { + "node": ">=12.0.0" } }, - "immer": { - "version": "9.0.19", - "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.19.tgz", - "integrity": "sha512-eY+Y0qcsB4TZKwgQzLaE/lqYMlKhv5J9dyd2RhhtGhNo2njPXDqU9XPfcNfa3MIDsdtZt5KlkIsirlo4dHsWdQ==" + "node_modules/immer": { + "version": "9.0.21", + "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.21.tgz", + "integrity": "sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } }, - "import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "requires": { + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "imurmurhash": { + "node_modules/imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==" + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "engines": { + "node": ">=0.8.19" + } }, - "inflight": { + "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "requires": { + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "dependencies": { "once": "^1.3.0", "wrappy": "1" } }, - "inherits": { + "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, - "inquirer": { - "version": "8.2.5", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", - "integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==", - "requires": { - "ansi-escapes": "^4.2.1", - "chalk": "^4.1.1", - "cli-cursor": "^3.1.0", - "cli-width": "^3.0.0", - "external-editor": "^3.0.3", - "figures": "^3.0.0", - "lodash": "^4.17.21", - "mute-stream": "0.0.8", - "ora": "^5.4.1", - "run-async": "^2.4.0", - "rxjs": "^7.5.5", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0", - "through": "^2.3.6", - "wrap-ansi": "^7.0.0" - } - }, - "internal-slot": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", - "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", - "requires": { - "get-intrinsic": "^1.2.0", - "has": "^1.0.3", - "side-channel": "^1.0.4" - } - }, - "is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" + "node_modules/internal-slot": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz", + "integrity": "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==", + "dependencies": { + "es-errors": "^1.3.0", + "hasown": "^2.0.2", + "side-channel": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" } }, - "is-array-buffer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.1.tgz", - "integrity": "sha512-ASfLknmY8Xa2XtB4wmbz13Wu202baeA18cJBCeCy0wXUHZF0IPyVEXqKEcd+t2fNSLLL1vC6k7lxZEojNbISXQ==", - "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.3", - "is-typed-array": "^1.1.10" + "node_modules/is-array-buffer": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz", + "integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==", + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "get-intrinsic": "^1.2.6" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "is-arrayish": { + "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" }, - "is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", - "requires": { - "has-bigints": "^1.0.1" + "node_modules/is-async-function": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.1.1.tgz", + "integrity": "sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==", + "dependencies": { + "async-function": "^1.0.0", + "call-bound": "^1.0.3", + "get-proto": "^1.0.1", + "has-tostringtag": "^1.0.2", + "safe-regex-test": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" + "node_modules/is-bigint": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz", + "integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==", + "dependencies": { + "has-bigints": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "is-callable": { + "node_modules/is-boolean-object": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz", + "integrity": "sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==", + "dependencies": { + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-callable": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==" + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "is-core-module": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", - "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", - "requires": { - "has": "^1.0.3" + "node_modules/is-core-module": { + "version": "2.16.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", + "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", + "dependencies": { + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "requires": { - "has-tostringtag": "^1.0.0" + "node_modules/is-data-view": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz", + "integrity": "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==", + "dependencies": { + "call-bound": "^1.0.2", + "get-intrinsic": "^1.2.6", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz", + "integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==", + "dependencies": { + "call-bound": "^1.0.2", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "is-extglob": { + "node_modules/is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==" + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-finalizationregistry": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz", + "integrity": "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==", + "dependencies": { + "call-bound": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "is-fullwidth-code-point": { + "node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-generator-function": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.0.tgz", + "integrity": "sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ==", + "dependencies": { + "call-bound": "^1.0.3", + "get-proto": "^1.0.0", + "has-tostringtag": "^1.0.2", + "safe-regex-test": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "is-glob": { + "node_modules/is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "requires": { + "dependencies": { "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" } }, - "is-interactive": { + "node_modules/is-interactive": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==" - }, - "is-map": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.2.tgz", - "integrity": "sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==" + "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", + "engines": { + "node": ">=8" + } }, - "is-negative-zero": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", - "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==" + "node_modules/is-map": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz", + "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "is-number": { + "node_modules/is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "engines": { + "node": ">=0.12.0" + } }, - "is-number-object": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", - "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", - "requires": { - "has-tostringtag": "^1.0.0" + "node_modules/is-number-object": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz", + "integrity": "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==", + "dependencies": { + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "is-plain-object": { + "node_modules/is-plain-object": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", - "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==" + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "engines": { + "node": ">=0.10.0" + } }, - "is-promise": { + "node_modules/is-promise": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" }, - "is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" + "node_modules/is-regex": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz", + "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==", + "dependencies": { + "call-bound": "^1.0.2", + "gopd": "^1.2.0", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-set": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz", + "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz", + "integrity": "sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==", + "dependencies": { + "call-bound": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "is-set": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.2.tgz", - "integrity": "sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==" + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "is-shared-array-buffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", - "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", - "requires": { - "call-bind": "^1.0.2" + "node_modules/is-string": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz", + "integrity": "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==", + "dependencies": { + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", - "requires": { - "has-tostringtag": "^1.0.0" + "node_modules/is-symbol": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz", + "integrity": "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==", + "dependencies": { + "call-bound": "^1.0.2", + "has-symbols": "^1.1.0", + "safe-regex-test": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "requires": { - "has-symbols": "^1.0.2" - } - }, - "is-typed-array": { - "version": "1.1.10", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", - "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", - "requires": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" + "node_modules/is-typed-array": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz", + "integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==", + "dependencies": { + "which-typed-array": "^1.1.16" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "is-unicode-supported": { + "node_modules/is-unicode-supported": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==" + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "is-weakref": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", - "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", - "requires": { - "call-bind": "^1.0.2" + "node_modules/is-weakmap": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz", + "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "isarray": { + "node_modules/is-weakref": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.1.tgz", + "integrity": "sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==", + "dependencies": { + "call-bound": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakset": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz", + "integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==", + "dependencies": { + "call-bound": "^1.0.3", + "get-intrinsic": "^1.2.6" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/isarray": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" }, - "isexe": { + "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" }, - "iterate-iterator": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/iterate-iterator/-/iterate-iterator-1.0.2.tgz", - "integrity": "sha512-t91HubM4ZDQ70M9wqp+pcNpu8OyJ9UAtXntT/Bcsvp5tZMnz9vRa+IunKXeI8AnfZMTv0jNuVEmGeLSMjVvfPw==" - }, - "iterate-value": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/iterate-value/-/iterate-value-1.0.2.tgz", - "integrity": "sha512-A6fMAio4D2ot2r/TYzr4yUWrmwNdsN5xL7+HUiyACE4DXm+q8HtPcnFTp+NnW3k4N05tZ7FVYFFb2CR13NxyHQ==", - "requires": { - "es-get-iterator": "^1.0.2", - "iterate-iterator": "^1.0.1" + "node_modules/isomorphic-fetch": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-3.0.0.tgz", + "integrity": "sha512-qvUtwJ3j6qwsF3jLxkZ72qCgjMysPzDfeV240JHiGZsANBYd+EEuu35v7dfrJ9Up0Ak07D7GGSkGhCHTqg/5wA==", + "dependencies": { + "node-fetch": "^2.6.1", + "whatwg-fetch": "^3.4.1" } }, - "js-tokens": { + "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, - "js-yaml": { + "node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "requires": { + "dependencies": { "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "jsep": { + "node_modules/jsep": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/jsep/-/jsep-1.4.0.tgz", - "integrity": "sha512-B7qPcEVE3NVkmSJbaYxvv4cHkVW7DQsZz13pUMrfS8z8Q/BuShN+gcTXrUlPiGqM2/t/EEaI030bpxMqY8gMlw==" + "integrity": "sha512-B7qPcEVE3NVkmSJbaYxvv4cHkVW7DQsZz13pUMrfS8z8Q/BuShN+gcTXrUlPiGqM2/t/EEaI030bpxMqY8gMlw==", + "engines": { + "node": ">= 10.16.0" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==" }, - "json-parse-better-errors": { + "node_modules/json-parse-better-errors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" }, - "json-schema-compare": { + "node_modules/json-pointer": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/json-pointer/-/json-pointer-0.6.2.tgz", + "integrity": "sha512-vLWcKbOaXlO+jvRy4qNd+TI1QUPZzfJj1tpJ3vAXDych5XJf93ftpUKe5pKCrzyIIwgBJcOcCVRUfqQP25afBw==", + "dependencies": { + "foreach": "^2.0.4" + } + }, + "node_modules/json-schema-compare": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/json-schema-compare/-/json-schema-compare-0.2.2.tgz", "integrity": "sha512-c4WYmDKyJXhs7WWvAWm3uIYnfyWFoIp+JEoX34rctVvEkMYCPGhXtvmFFXiffBbxfZsvQ0RNnV5H7GvDF5HCqQ==", - "requires": { + "dependencies": { "lodash": "^4.17.4" } }, - "json-schema-merge-allof": { + "node_modules/json-schema-merge-allof": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/json-schema-merge-allof/-/json-schema-merge-allof-0.8.1.tgz", "integrity": "sha512-CTUKmIlPJbsWfzRRnOXz+0MjIqvnleIXwFTzz+t9T86HnYX/Rozria6ZVGLktAU9e+NygNljveP+yxqtQp/Q4w==", - "requires": { + "dependencies": { "compute-lcm": "^1.1.2", "json-schema-compare": "^0.2.2", "lodash": "^4.17.20" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/json-schema-to-ts": { + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/json-schema-to-ts/-/json-schema-to-ts-2.12.0.tgz", + "integrity": "sha512-uTde38yBm5lzJSRPWRaasxZo72pb+JGE4iUksNdNfAkFaLhV4N9akeBxPPUpZy5onINt9Zo0oTLrAoEXyZESiQ==", + "dependencies": { + "@babel/runtime": "^7.18.3", + "@types/json-schema": "^7.0.9", + "ts-algebra": "^1.2.2" + }, + "engines": { + "node": ">=16" } }, - "json-schema-traverse": { + "node_modules/json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" }, - "json-stable-stringify-without-jsonify": { + "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==" }, - "json-to-ast": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/json-to-ast/-/json-to-ast-2.1.0.tgz", - "integrity": "sha512-W9Lq347r8tA1DfMvAGn9QNcgYm4Wm7Yc+k8e6vezpMnRT+NHbtlxgNBXRVjXe9YM6eTn6+p/MKOlV/aABJcSnQ==", - "requires": { - "code-error-fragment": "0.0.230", - "grapheme-splitter": "^1.0.4" - } - }, - "json2yaml": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/json2yaml/-/json2yaml-1.1.0.tgz", - "integrity": "sha512-/xse+m0SlllfZahQrNOelmLrFNfeZv4QG0QKlvg7VsPSGIxpB3X+ggLkdffwmI1DdQ3o9XjZX+K+EOI1epdKgg==", - "requires": { - "remedial": "1.x" - } - }, - "json5": { + "node_modules/json5": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", - "requires": { + "dependencies": { "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" } }, - "jsonc-parser": { + "node_modules/jsonc-parser": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-2.2.1.tgz", "integrity": "sha512-o6/yDBYccGvTz1+QFevz6l6OBZ2+fMVu2JZ9CIhzsYRX4mjaK5IyX9eldUdCmga16zlgQxyrj5pt9kzuj2C02w==" }, - "jsonpath": { + "node_modules/jsonpath": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/jsonpath/-/jsonpath-1.1.1.tgz", "integrity": "sha512-l6Cg7jRpixfbgoWgkrl77dgEj8RPvND0wMH6TwQmi9Qs4TFfS9u5cUFnbeKTwj5ga5Y3BTGGNI28k117LJ009w==", - "requires": { + "dependencies": { "esprima": "1.2.2", "static-eval": "2.0.2", "underscore": "1.12.1" - }, - "dependencies": { - "esprima": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-1.2.2.tgz", - "integrity": "sha512-+JpPZam9w5DuJ3Q67SqsMGtiHKENSMRVoxvArfJZK01/BfLEObtZ6orJa/MtoGNR/rfMgp5837T41PAmTwAv/A==" - } } }, - "jsonpath-plus": { - "version": "10.0.7", - "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-10.0.7.tgz", - "integrity": "sha512-GDA8d8fu9+s4QzAzo5LMGiLL/9YjecAX+ytlnqdeXYpU55qME57StDgaHt9R2pA7Dr8U31nwzxNJMJiHkrkRgw==", - "requires": { - "@jsep-plugin/assignment": "^1.2.1", - "@jsep-plugin/regex": "^1.0.3", - "jsep": "^1.3.9" + "node_modules/jsonpath-plus": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-10.3.0.tgz", + "integrity": "sha512-8TNmfeTCk2Le33A3vRRwtuworG/L5RrgMvdjhKZxvyShO+mBu2fP50OWUjRLNtvw344DdDarFh9buFAZs5ujeA==", + "dependencies": { + "@jsep-plugin/assignment": "^1.3.0", + "@jsep-plugin/regex": "^1.0.4", + "jsep": "^1.4.0" + }, + "bin": { + "jsonpath": "bin/jsonpath-cli.js", + "jsonpath-plus": "bin/jsonpath-cli.js" + }, + "engines": { + "node": ">=18.0.0" } }, - "jsonpointer": { + "node_modules/jsonpointer": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz", - "integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==" + "integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==", + "engines": { + "node": ">=0.10.0" + } }, - "jsx-ast-utils": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz", - "integrity": "sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw==", - "requires": { - "array-includes": "^3.1.5", - "object.assign": "^4.1.3" + "node_modules/jsx-ast-utils": { + "version": "3.3.5", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz", + "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==", + "dependencies": { + "array-includes": "^3.1.6", + "array.prototype.flat": "^1.3.1", + "object.assign": "^4.1.4", + "object.values": "^1.1.6" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dependencies": { + "json-buffer": "3.0.1" } }, - "leven": { + "node_modules/kleur": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", + "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", + "engines": { + "node": ">=6" + } + }, + "node_modules/leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==" - }, - "levn": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==", - "requires": { - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2" + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "engines": { + "node": ">=6" } }, - "line-counter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/line-counter/-/line-counter-1.1.0.tgz", - "integrity": "sha512-6bmXJG/pOX5HBb2aIJZrI9CALBgY1VMbS0GPuXfJaT13UEfee/2xxPCsOOJdXLl3KPRyBf2/D+cjiG8hU9S7LA==" + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } }, - "liquid-json": { + "node_modules/liquid-json": { "version": "0.3.1", "resolved": "https://registry.npmjs.org/liquid-json/-/liquid-json-0.3.1.tgz", - "integrity": "sha512-wUayTU8MS827Dam6MxgD72Ui+KOSF+u/eIqpatOtjnvgJ0+mnDq33uC2M7J0tPK+upe/DpUAuK4JUU89iBoNKQ==" + "integrity": "sha512-wUayTU8MS827Dam6MxgD72Ui+KOSF+u/eIqpatOtjnvgJ0+mnDq33uC2M7J0tPK+upe/DpUAuK4JUU89iBoNKQ==", + "engines": { + "node": ">=4" + } }, - "load-json-file": { + "node_modules/load-json-file": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", "integrity": "sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==", - "requires": { + "dependencies": { "graceful-fs": "^4.1.2", "parse-json": "^4.0.0", "pify": "^3.0.0", "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=4" } }, - "locate-path": { + "node_modules/locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "requires": { + "dependencies": { "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" } }, - "lodash": { + "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, - "lodash.truncate": { + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==" + }, + "node_modules/lodash.truncate": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", "integrity": "sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==" }, - "log-symbols": { + "node_modules/log-symbols": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "requires": { + "dependencies": { "chalk": "^4.1.0", "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "loose-envify": { + "node_modules/loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "requires": { + "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" } }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "requires": { - "yallist": "^4.0.0" - } - }, - "lru-queue": { + "node_modules/lru-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/lru-queue/-/lru-queue-0.1.0.tgz", "integrity": "sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ==", - "requires": { + "dependencies": { "es5-ext": "~0.10.2" } }, - "make-dir": { + "node_modules/make-dir": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "requires": { + "dependencies": { "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "memoizee": { - "version": "0.4.15", - "resolved": "https://registry.npmjs.org/memoizee/-/memoizee-0.4.15.tgz", - "integrity": "sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ==", - "requires": { - "d": "^1.0.1", - "es5-ext": "^0.10.53", + "node_modules/make-dir/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/marked": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", + "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 12" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/memoizee": { + "version": "0.4.17", + "resolved": "https://registry.npmjs.org/memoizee/-/memoizee-0.4.17.tgz", + "integrity": "sha512-DGqD7Hjpi/1or4F/aYAspXKNm5Yili0QDAFAY4QYvpqpgiY6+1jOfqpmByzjxbWd/T9mChbCArXAbDAsTm5oXA==", + "dependencies": { + "d": "^1.0.2", + "es5-ext": "^0.10.64", "es6-weak-map": "^2.0.3", "event-emitter": "^0.3.5", "is-promise": "^2.2.2", "lru-queue": "^0.1.0", "next-tick": "^1.1.0", "timers-ext": "^0.1.7" + }, + "engines": { + "node": ">=0.12" } }, - "merge2": { + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" + }, + "node_modules/merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "engines": { + "node": ">= 8" + } }, - "micromatch": { + "node_modules/micromatch": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", - "requires": { + "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" }, - "dependencies": { - "braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "requires": { - "fill-range": "^7.1.1" - } - }, - "fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "requires": { - "to-regex-range": "^5.0.1" - } - } + "engines": { + "node": ">=8.6" } }, - "mime-db": { + "node_modules/mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } }, - "mime-format": { + "node_modules/mime-format": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/mime-format/-/mime-format-2.0.1.tgz", "integrity": "sha512-XxU3ngPbEnrYnNbIX+lYSaYg0M01v6p2ntd2YaFksTu0vayaw5OJvbdRyWs07EYRlLED5qadUZ+xo+XhOvFhwg==", - "requires": { + "dependencies": { "charset": "^1.0.0" } }, - "mime-types": { + "node_modules/mime-types": { "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "requires": { + "dependencies": { "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" } }, - "mimer": { + "node_modules/mimer": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/mimer/-/mimer-2.0.2.tgz", - "integrity": "sha512-izxvjsB7Ur5HrTbPu6VKTrzxSMBFBqyZQc6dWlZNQ4/wAvf886fD4lrjtFd8IQ8/WmZKdxKjUtqFFNaj3hQ52g==" + "integrity": "sha512-izxvjsB7Ur5HrTbPu6VKTrzxSMBFBqyZQc6dWlZNQ4/wAvf886fD4lrjtFd8IQ8/WmZKdxKjUtqFFNaj3hQ52g==", + "bin": { + "mimer": "bin/mimer" + }, + "engines": { + "node": ">= 12" + } }, - "mimic-fn": { + "node_modules/mimic-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "engines": { + "node": ">=6" + } }, - "minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "requires": { - "brace-expansion": "^2.0.1" + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" } }, - "minimist": { + "node_modules/minimist": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==" + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "engines": { + "node": ">=16 || 14 >=14.17" + } }, - "multilang-extract-comments": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/multilang-extract-comments/-/multilang-extract-comments-0.4.0.tgz", - "integrity": "sha512-8mXCo9Q42Wyfho9nn7hHkG/0sKxH0nJWfmBLl8+c+FLv++XhFkFC1sntOk4NFZ+nSpoMjlF/8ILeOLyMRTFbIw==", - "requires": { - "comment-patterns": "^0.12.0", - "line-counter": "^1.0.3", - "lodash": "^4.17.11", - "quotemeta": "0.0.0" + "node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" } }, - "mute-stream": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/mustache": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.2.0.tgz", + "integrity": "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==", + "bin": { + "mustache": "bin/mustache" + } }, - "natural-compare": { + "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==" }, - "next-tick": { + "node_modules/neotraverse": { + "version": "0.6.15", + "resolved": "https://registry.npmjs.org/neotraverse/-/neotraverse-0.6.15.tgz", + "integrity": "sha512-HZpdkco+JeXq0G+WWpMJ4NsX3pqb5O7eR9uGz3FfoFt+LYzU8iRWp49nJtud6hsDoywM8tIrDo3gjgmOqJA8LA==", + "engines": { + "node": ">= 10" + } + }, + "node_modules/next-tick": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz", "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" }, - "node-fetch": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.9.tgz", - "integrity": "sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==", - "requires": { + "node_modules/node-abort-controller": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-3.1.1.tgz", + "integrity": "sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==" + }, + "node_modules/node-domexception": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", + "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "github", + "url": "https://paypal.me/jimmywarting" + } + ], + "engines": { + "node": ">=10.5.0" + } + }, + "node_modules/node-fetch": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "dependencies": { "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } } }, - "node-fetch-h2": { + "node_modules/node-fetch-h2": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/node-fetch-h2/-/node-fetch-h2-2.3.0.tgz", "integrity": "sha512-ofRW94Ab0T4AOh5Fk8t0h8OBWrmjb0SSB20xh1H8YnPV9EJ+f5AMoYSUQ2zgJ4Iq2HAK0I2l5/Nequ8YzFS3Hg==", - "requires": { + "dependencies": { "http2-client": "^1.2.5" + }, + "engines": { + "node": "4.x || >=6.0.0" } }, - "node-readfiles": { + "node_modules/node-readfiles": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/node-readfiles/-/node-readfiles-0.2.0.tgz", "integrity": "sha512-SU00ZarexNlE4Rjdm83vglt5Y9yiQ+XI1XpflWlb7q7UTN1JUItm69xMeiQCTxtTfnzt+83T8Cx+vI2ED++VDA==", - "requires": { + "dependencies": { "es6-promise": "^3.2.1" } }, - "normalize-package-data": { + "node_modules/normalize-package-data": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "requires": { + "dependencies": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", "semver": "2 || 3 || 4 || 5", "validate-npm-package-license": "^3.0.1" - }, + } + }, + "node_modules/normalize-package-data/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", "dependencies": { - "resolve": { - "version": "1.22.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", - "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", - "requires": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - } - }, - "semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==" - } + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" } }, - "oas": { - "version": "18.4.4", - "resolved": "https://registry.npmjs.org/oas/-/oas-18.4.4.tgz", - "integrity": "sha512-m1r6vPRnNbPVfhXWiuFuK3JlneI0717iMHqsj9MaCF/lCQ7nAdX2sklqgQmKnnG8Jg6INHgP3oaHcHSuBfZooQ==", - "requires": { - "@readme/json-schema-ref-parser": "^1.1.0", + "node_modules/oas": { + "version": "20.11.0", + "resolved": "https://registry.npmjs.org/oas/-/oas-20.11.0.tgz", + "integrity": "sha512-Eio2qil8z86PD8KJTdyGPN7hbcF3dV0gc5B6mkSQgL3MLMVFE/XyVAmq/9BRh51zkIXOPmZpSIF3nStADbnkHA==", + "dependencies": { + "@readme/json-schema-ref-parser": "^1.2.0", "@types/json-schema": "^7.0.11", - "cardinal": "^2.1.1", - "chalk": "^4.1.2", - "glob": "^8.0.1", - "inquirer": "^8.1.2", "json-schema-merge-allof": "^0.8.1", - "json2yaml": "^1.1.0", "jsonpath": "^1.1.1", "jsonpointer": "^5.0.0", "memoizee": "^0.4.14", - "minimist": "^1.2.0", - "oas-normalize": "^7.0.0", - "openapi-types": "^12.0.0", - "path-to-regexp": "^6.2.0", - "swagger-inline": "^6.0.0" + "oas-normalize": "^8.3.0", + "openapi-types": "^12.1.0", + "path-to-regexp": "^6.2.0" + }, + "engines": { + "node": ">=14" } }, - "oas-kit-common": { + "node_modules/oas-kit-common": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/oas-kit-common/-/oas-kit-common-1.0.8.tgz", "integrity": "sha512-pJTS2+T0oGIwgjGpw7sIRU8RQMcUoKCDWFLdBqKB2BNmGpbBMH2sdqAaOXUg8OzonZHU0L7vfJu1mJFEiYDWOQ==", - "requires": { + "dependencies": { "fast-safe-stringify": "^2.0.7" } }, - "oas-linter": { + "node_modules/oas-linter": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/oas-linter/-/oas-linter-3.2.2.tgz", "integrity": "sha512-KEGjPDVoU5K6swgo9hJVA/qYGlwfbFx+Kg2QB/kd7rzV5N8N5Mg6PlsoCMohVnQmo+pzJap/F610qTodKzecGQ==", - "requires": { + "dependencies": { "@exodus/schemasafe": "^1.0.0-rc.2", "should": "^13.2.1", "yaml": "^1.10.0" }, - "dependencies": { - "yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==" - } + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" } }, - "oas-normalize": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/oas-normalize/-/oas-normalize-7.1.1.tgz", - "integrity": "sha512-5ZSkbkhiDN5K0eTIkGkDAef6ta6l713/6XIc1wfnZZzjG13RSR9M6ON13nY5opwNjhKnXhssIK48cIUVs6z3gA==", - "requires": { - "@readme/openapi-parser": "^2.3.0", + "node_modules/oas-linter/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/oas-normalize": { + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/oas-normalize/-/oas-normalize-8.4.1.tgz", + "integrity": "sha512-cGODg+AntZteJRHBiYDWKtcO2svWGMXuFWYu2I8b4hOrNiwB3hgDs/ScX3O9mYm6RpLsUIftt6rDHGc8eYG8aA==", + "dependencies": { + "@readme/openapi-parser": "^2.5.0", + "@readme/postman-to-openapi": "^4.1.0", "js-yaml": "^4.1.0", "node-fetch": "^2.6.1", - "openapi-types": "^12.0.0", + "openapi-types": "^12.1.0", "swagger2openapi": "^7.0.8" + }, + "engines": { + "node": ">=14" } }, - "oas-resolver": { + "node_modules/oas-resolver": { "version": "2.5.6", "resolved": "https://registry.npmjs.org/oas-resolver/-/oas-resolver-2.5.6.tgz", "integrity": "sha512-Yx5PWQNZomfEhPPOphFbZKi9W93CocQj18NlD2Pa4GWZzdZpSJvYwoiuurRI7m3SpcChrnO08hkuQDL3FGsVFQ==", - "requires": { + "dependencies": { "node-fetch-h2": "^2.3.0", "oas-kit-common": "^1.0.8", "reftools": "^1.1.9", "yaml": "^1.10.0", "yargs": "^17.0.1" }, + "bin": { + "resolve": "resolve.js" + }, + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" + } + }, + "node_modules/oas-resolver-browser": { + "version": "2.5.6", + "resolved": "https://registry.npmjs.org/oas-resolver-browser/-/oas-resolver-browser-2.5.6.tgz", + "integrity": "sha512-Jw5elT/kwUJrnGaVuRWe1D7hmnYWB8rfDDjBnpQ+RYY/dzAewGXeTexXzt4fGEo6PUE4eqKqPWF79MZxxvMppA==", "dependencies": { - "yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==" - } + "node-fetch-h2": "^2.3.0", + "oas-kit-common": "^1.0.8", + "path-browserify": "^1.0.1", + "reftools": "^1.1.9", + "yaml": "^1.10.0", + "yargs": "^17.0.1" + }, + "bin": { + "resolve": "resolve.js" + }, + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" + } + }, + "node_modules/oas-resolver-browser/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/oas-resolver/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "engines": { + "node": ">= 6" } }, - "oas-schema-walker": { + "node_modules/oas-schema-walker": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/oas-schema-walker/-/oas-schema-walker-1.1.5.tgz", - "integrity": "sha512-2yucenq1a9YPmeNExoUa9Qwrt9RFkjqaMAA1X+U7sbb0AqBeTIdMHky9SQQ6iN94bO5NW0W4TRYXerG+BdAvAQ==" + "integrity": "sha512-2yucenq1a9YPmeNExoUa9Qwrt9RFkjqaMAA1X+U7sbb0AqBeTIdMHky9SQQ6iN94bO5NW0W4TRYXerG+BdAvAQ==", + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" + } }, - "oas-validator": { + "node_modules/oas-validator": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/oas-validator/-/oas-validator-5.0.8.tgz", "integrity": "sha512-cu20/HE5N5HKqVygs3dt94eYJfBi0TsZvPVXDhbXQHiEityDN+RROTleefoKRKKJ9dFAF2JBkDHgvWj0sjKGmw==", - "requires": { + "dependencies": { "call-me-maybe": "^1.0.1", "oas-kit-common": "^1.0.8", "oas-linter": "^3.2.2", @@ -2804,197 +4057,242 @@ "should": "^13.2.1", "yaml": "^1.10.0" }, - "dependencies": { - "yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==" - } + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" + } + }, + "node_modules/oas-validator/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "engines": { + "node": ">= 6" } }, - "object-assign": { + "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==" + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "engines": { + "node": ">=0.10.0" + } }, - "object-hash": { + "node_modules/object-hash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz", - "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==" + "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==", + "engines": { + "node": ">= 6" + } }, - "object-inspect": { - "version": "1.12.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==" + "node_modules/object-inspect": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "object-keys": { + "node_modules/object-keys": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" - }, - "object.assign": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", - "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "has-symbols": "^1.0.3", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.7.tgz", + "integrity": "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==", + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0", + "has-symbols": "^1.1.0", "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "object.entries": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.6.tgz", - "integrity": "sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "node_modules/object.entries": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.9.tgz", + "integrity": "sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw==", + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.4", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" } }, - "object.fromentries": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.6.tgz", - "integrity": "sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "node_modules/object.fromentries": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz", + "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==", + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "object.hasown": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.2.tgz", - "integrity": "sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==", - "requires": { - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "node_modules/object.hasown": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.4.tgz", + "integrity": "sha512-FZ9LZt9/RHzGySlBARE3VF+gE26TxR38SdmqOqliuTnl9wrKulaQs+4dee1V+Io8VfxqzAfHu6YuRgUy8OHoTg==", + "dependencies": { + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "object.values": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz", - "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "node_modules/object.values": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.1.tgz", + "integrity": "sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==", + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "once": { + "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "requires": { + "dependencies": { "wrappy": "1" } }, - "onetime": { + "node_modules/onetime": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "requires": { + "dependencies": { "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "openapi-to-postmanv2": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/openapi-to-postmanv2/-/openapi-to-postmanv2-4.9.0.tgz", - "integrity": "sha512-ObkkNMJryK8RsvLMmOGFViACQcvxxgmP0CNIdBHY9AX3AdtQeYDEeNTedoCO/ayWLl5Kdli65+Dhm4Nx87sBEw==", - "requires": { - "ajv": "8.1.0", + "node_modules/openapi-to-postmanv2": { + "version": "4.25.0", + "resolved": "https://registry.npmjs.org/openapi-to-postmanv2/-/openapi-to-postmanv2-4.25.0.tgz", + "integrity": "sha512-sIymbkQby0gzxt2Yez8YKB6hoISEel05XwGwNrAhr6+vxJWXNxkmssQc/8UEtVkuJ9ZfUXLkip9PYACIpfPDWg==", + "dependencies": { + "ajv": "8.11.0", + "ajv-draft-04": "1.0.0", "ajv-formats": "2.1.1", "async": "3.2.4", "commander": "2.20.3", - "js-yaml": "3.14.1", + "graphlib": "2.1.8", + "js-yaml": "4.1.0", + "json-pointer": "0.6.2", "json-schema-merge-allof": "0.8.1", "lodash": "4.17.21", + "neotraverse": "0.6.15", "oas-resolver-browser": "2.5.6", "object-hash": "3.0.0", "path-browserify": "1.0.1", - "postman-collection": "4.1.5", + "postman-collection": "^4.4.0", "swagger2openapi": "7.0.8", - "traverse": "0.6.6", "yaml": "1.10.2" }, + "bin": { + "openapi2postmanv2": "bin/openapi2postmanv2.js" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/openapi-to-postmanv2/node_modules/ajv": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", + "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", "dependencies": { - "ajv": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.1.0.tgz", - "integrity": "sha512-B/Sk2Ix7A36fs/ZkuGLIR86EdjbgR6fsAcbx9lOP/QBSXujDNbVmIS/U4Itz5k8fPFDeVZl/zQ/gJW4Jrq6XjQ==", - "requires": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "requires": { - "sprintf-js": "~1.0.2" - } - }, - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" - }, - "js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - } - }, - "oas-resolver-browser": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/oas-resolver-browser/-/oas-resolver-browser-2.5.6.tgz", - "integrity": "sha512-Jw5elT/kwUJrnGaVuRWe1D7hmnYWB8rfDDjBnpQ+RYY/dzAewGXeTexXzt4fGEo6PUE4eqKqPWF79MZxxvMppA==", - "requires": { - "node-fetch-h2": "^2.3.0", - "oas-kit-common": "^1.0.8", - "path-browserify": "^1.0.1", - "reftools": "^1.1.9", - "yaml": "^1.10.0", - "yargs": "^17.0.1" - } - }, - "yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==" - } + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "openapi-types": { - "version": "12.1.0", - "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.1.0.tgz", - "integrity": "sha512-XpeCy01X6L5EpP+6Hc3jWN7rMZJ+/k1lwki/kTmWzbVhdPie3jd5O2ZtedEx8Yp58icJ0osVldLMrTB/zslQXA==" + "node_modules/openapi-to-postmanv2/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" }, - "optionator": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", - "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", - "requires": { - "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.6", - "levn": "~0.3.0", - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2", - "word-wrap": "~1.2.3" + "node_modules/openapi-to-postmanv2/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/openapi-types": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.1.3.tgz", + "integrity": "sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==" + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" } }, - "ora": { + "node_modules/ora": { "version": "5.4.1", "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", - "requires": { + "dependencies": { "bl": "^4.1.0", "chalk": "^4.1.0", "cli-cursor": "^3.1.0", @@ -3004,233 +4302,341 @@ "log-symbols": "^4.1.0", "strip-ansi": "^6.0.0", "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==" + "node_modules/own-keys": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/own-keys/-/own-keys-1.0.1.tgz", + "integrity": "sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==", + "dependencies": { + "get-intrinsic": "^1.2.6", + "object-keys": "^1.1.1", + "safe-push-apply": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "p-limit": { + "node_modules/p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "requires": { + "dependencies": { "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "p-locate": { + "node_modules/p-locate": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "requires": { + "dependencies": { "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" } }, - "p-try": { + "node_modules/p-try": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "engines": { + "node": ">=6" + } }, - "parent-module": { + "node_modules/parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "requires": { + "dependencies": { "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" } }, - "parse-data-url": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/parse-data-url/-/parse-data-url-4.0.1.tgz", - "integrity": "sha512-W+ZgeHPkG2Awbj2RCGG3zALoKGoKucIWXRp8jPgTVNmRgiftXbwXXzzaXXH4L1+OdxeSXC6C8G+hzlcv41f24A==", - "requires": { - "valid-data-url": "^4.0.0" - } - }, - "parse-json": { + "node_modules/parse-json": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", - "requires": { + "dependencies": { "error-ex": "^1.3.1", "json-parse-better-errors": "^1.0.1" + }, + "engines": { + "node": ">=4" } }, - "path-browserify": { + "node_modules/path-browserify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==" }, - "path-exists": { + "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "engines": { + "node": ">=8" + } }, - "path-is-absolute": { + "node_modules/path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "engines": { + "node": ">=0.10.0" + } }, - "path-key": { + "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "engines": { + "node": ">=8" + } }, - "path-parse": { + "node_modules/path-parse": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, - "path-to-regexp": { + "node_modules/path-to-regexp": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==" }, - "path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" + "node_modules/path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dependencies": { + "pify": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==" }, - "picomatch": { + "node_modules/picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } }, - "pify": { + "node_modules/pify": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==" + "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", + "engines": { + "node": ">=4" + } }, - "pkg-conf": { + "node_modules/pkg-conf": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-3.1.0.tgz", "integrity": "sha512-m0OTbR/5VPNPqO1ph6Fqbj7Hv6QU7gR/tQW40ZqrL1rjgCU85W6C1bJn0BItuJqnR98PWzw7Z8hHeChD1WrgdQ==", - "requires": { + "dependencies": { "find-up": "^3.0.0", "load-json-file": "^5.2.0" }, + "engines": { + "node": ">=6" + } + }, + "node_modules/pkg-conf/node_modules/find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", "dependencies": { - "find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "requires": { - "locate-path": "^3.0.0" - } - }, - "load-json-file": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-5.3.0.tgz", - "integrity": "sha512-cJGP40Jc/VXUsp8/OrnyKyTZ1y6v/dphm3bioS+RrKXjK2BB6wHUd6JptZEFDGgGahMT+InnZO5i1Ei9mpC8Bw==", - "requires": { - "graceful-fs": "^4.1.15", - "parse-json": "^4.0.0", - "pify": "^4.0.1", - "strip-bom": "^3.0.0", - "type-fest": "^0.3.0" - } - }, - "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - } - }, - "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "requires": { - "p-limit": "^2.0.0" - } - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==" - }, - "pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==" - }, - "type-fest": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.3.1.tgz", - "integrity": "sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ==" - } + "locate-path": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/pkg-conf/node_modules/load-json-file": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-5.3.0.tgz", + "integrity": "sha512-cJGP40Jc/VXUsp8/OrnyKyTZ1y6v/dphm3bioS+RrKXjK2BB6wHUd6JptZEFDGgGahMT+InnZO5i1Ei9mpC8Bw==", + "dependencies": { + "graceful-fs": "^4.1.15", + "parse-json": "^4.0.0", + "pify": "^4.0.1", + "strip-bom": "^3.0.0", + "type-fest": "^0.3.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/pkg-conf/node_modules/locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dependencies": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/pkg-conf/node_modules/p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dependencies": { + "p-limit": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/pkg-conf/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-conf/node_modules/pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "engines": { + "node": ">=6" } }, - "pkg-dir": { + "node_modules/pkg-conf/node_modules/type-fest": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.3.1.tgz", + "integrity": "sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/pkg-dir": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "requires": { + "dependencies": { "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, - "pkg-up": { + "node_modules/pkg-up": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-2.0.0.tgz", "integrity": "sha512-fjAPuiws93rm7mPUu21RdBnkeZNrbfCFCwfAhPWY+rR3zG0ubpe5cEReHOw5fIbfmsxEV/g2kSxGTATY3Bpnwg==", - "requires": { + "dependencies": { "find-up": "^2.1.0" }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-up/node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", "dependencies": { - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", - "requires": { - "locate-path": "^2.0.0" - } - }, - "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", - "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - } - }, - "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "requires": { - "p-try": "^1.0.0" - } - }, - "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", - "requires": { - "p-limit": "^1.1.0" - } - }, - "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==" - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==" - } + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-up/node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-up/node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-up/node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-up/node_modules/p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", + "engines": { + "node": ">=4" + } + }, + "node_modules/pkg-up/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "engines": { + "node": ">=4" + } + }, + "node_modules/possible-typed-array-names": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz", + "integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==", + "engines": { + "node": ">= 0.4" } }, - "postman-collection": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/postman-collection/-/postman-collection-4.1.5.tgz", - "integrity": "sha512-BY3NfP7EYExZG5ER9P82r0ZRc17z88WZAzn121EpWC8FM3HYtFwWJpXOsZk+2MKFn3agCq4JPRhnWw3G6XBXgw==", - "requires": { + "node_modules/postman-collection": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/postman-collection/-/postman-collection-4.5.0.tgz", + "integrity": "sha512-152JSW9pdbaoJihwjc7Q8lc3nPg/PC9lPTHdMk7SHnHhu/GBJB7b2yb9zG7Qua578+3PxkQ/HYBuXpDSvsf7GQ==", + "dependencies": { "@faker-js/faker": "5.5.3", "file-type": "3.9.0", "http-reasons": "0.1.0", @@ -3240,373 +4646,565 @@ "mime-format": "2.0.1", "mime-types": "2.1.35", "postman-url-encoder": "3.0.5", - "semver": "7.3.7", + "semver": "7.6.3", "uuid": "8.3.2" }, - "dependencies": { - "iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - } - }, - "semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "requires": { - "lru-cache": "^6.0.0" - } - } + "engines": { + "node": ">=10" } }, - "postman-url-encoder": { + "node_modules/postman-collection/node_modules/semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/postman-url-encoder": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/postman-url-encoder/-/postman-url-encoder-3.0.5.tgz", "integrity": "sha512-jOrdVvzUXBC7C+9gkIkpDJ3HIxOHTIqjpQ4C1EMt1ZGeMvSEpbFCKq23DEfgsj46vMnDgyQf+1ZLp2Wm+bKSsA==", - "requires": { + "dependencies": { "punycode": "^2.1.1" + }, + "engines": { + "node": ">=10" } }, - "prelude-ls": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==" + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "engines": { + "node": ">= 0.8.0" + } }, - "progress": { + "node_modules/progress": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==" + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "engines": { + "node": ">=0.4.0" + } }, - "promise.any": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/promise.any/-/promise.any-2.0.5.tgz", - "integrity": "sha512-aM+D4cv0Sjkc90Qhg19XH8Mo5aw28YWqPTFWFkaOpE80MuPbjH/brgI7NI4YGWbcS3suOa0xjJrYznet7lSHhw==", - "requires": { - "array.prototype.map": "^1.0.5", - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "es-aggregate-error": "^1.0.9", - "get-intrinsic": "^1.1.3", - "iterate-value": "^1.0.2" - } - }, - "prop-types": { + "node_modules/prompts": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", + "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "dependencies": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/prop-types": { "version": "15.8.1", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", - "requires": { + "dependencies": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", "react-is": "^16.13.1" } }, - "proxy-from-env": { + "node_modules/proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" }, - "punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==" + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "engines": { + "node": ">=6" + } + }, + "node_modules/qs": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz", + "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==", + "dependencies": { + "side-channel": "^1.1.0" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "queue": { + "node_modules/queue": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/queue/-/queue-6.0.2.tgz", "integrity": "sha512-iHZWu+q3IdFZFX36ro/lKBkSvfkztY5Y7HMiPlOUjhupPcG2JMfst2KKEpu5XndviX/3UhFbRngUPNKtgvtZiA==", - "requires": { + "dependencies": { "inherits": "~2.0.3" } }, - "queue-microtask": { + "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" - }, - "quotemeta": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/quotemeta/-/quotemeta-0.0.0.tgz", - "integrity": "sha512-1XGObUh7RN5b58vKuAsrlfqT+Rc4vmw8N4pP9gFCq1GFlTdV0Ex/D2Ro1Drvrqj++HPi3ig0Np17XPslELeMRA==" + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, - "react-is": { + "node_modules/react-is": { "version": "16.13.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" }, - "read-pkg": { + "node_modules/read-pkg": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", "integrity": "sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==", - "requires": { + "dependencies": { "load-json-file": "^4.0.0", "normalize-package-data": "^2.3.2", "path-type": "^3.0.0" }, - "dependencies": { - "path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "requires": { - "pify": "^3.0.0" - } - } + "engines": { + "node": ">=4" } }, - "read-pkg-up": { + "node_modules/read-pkg-up": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", "integrity": "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==", - "requires": { + "dependencies": { "find-up": "^2.0.0", "read-pkg": "^3.0.0" }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", "dependencies": { - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", - "requires": { - "locate-path": "^2.0.0" - } - }, - "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", - "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - } - }, - "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "requires": { - "p-try": "^1.0.0" - } - }, - "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", - "requires": { - "p-limit": "^1.1.0" - } - }, - "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==" - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==" - } + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" } }, - "readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "requires": { + "node_modules/read-pkg-up/node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "engines": { + "node": ">=4" + } + }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" } }, - "redeyed": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz", - "integrity": "sha512-FNpGGo1DycYAdnrKFxCMmKYgo/mILAqtRYbkdQD8Ep/Hk2PQ5+aEAEx+IU713RTDmuBaH0c8P5ZozurNu5ObRQ==", - "requires": { - "esprima": "~4.0.0" + "node_modules/reflect.getprototypeof": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz", + "integrity": "sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==", + "dependencies": { + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.9", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.7", + "get-proto": "^1.0.1", + "which-builtin-type": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "reftools": { + "node_modules/reftools": { "version": "1.1.9", "resolved": "https://registry.npmjs.org/reftools/-/reftools-1.1.9.tgz", - "integrity": "sha512-OVede/NQE13xBQ+ob5CKd5KyeJYU2YInb1bmV4nRoOfquZPkAkxuOXicSe1PvqIuZZ4kD13sPKBbR7UFDmli6w==" + "integrity": "sha512-OVede/NQE13xBQ+ob5CKd5KyeJYU2YInb1bmV4nRoOfquZPkAkxuOXicSe1PvqIuZZ4kD13sPKBbR7UFDmli6w==", + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" + } }, - "regenerator-runtime": { - "version": "0.13.11", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", - "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" + "node_modules/regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==" }, - "regexp.prototype.flags": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", - "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "functions-have-names": "^1.2.2" + "node_modules/regexp.prototype.flags": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz", + "integrity": "sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==", + "dependencies": { + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "set-function-name": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "regexpp": { + "node_modules/regexpp": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", - "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==" - }, - "remedial": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/remedial/-/remedial-1.0.8.tgz", - "integrity": "sha512-/62tYiOe6DzS5BqVsNpH/nkGlX45C/Sp6V+NtiN6JQNS1Viay7cWkazmRkrQrdFj2eshDe96SIQNIoMxqhzBOg==" + "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + } }, - "remove-markdown": { + "node_modules/remove-markdown": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/remove-markdown/-/remove-markdown-0.3.0.tgz", "integrity": "sha512-5392eIuy1mhjM74739VunOlsOYKjsH82rQcTBlJ1bkICVC3dQ3ksQzTHh4jGHQFnM+1xzLzcFOMH+BofqXhroQ==" }, - "remove-undefined-objects": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/remove-undefined-objects/-/remove-undefined-objects-1.1.0.tgz", - "integrity": "sha512-lZ8dJTI11nUE3M2l9lXHkXvhAxOquhLn/umJuBqu1Ea+4A10Wh0fymb36ioeze7UgCjYKIlZuSqjVZDtYa+FeQ==" + "node_modules/remove-undefined-objects": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/remove-undefined-objects/-/remove-undefined-objects-2.0.2.tgz", + "integrity": "sha512-b6x4MUtR4YBW1aCoGx3tE4mA2PFjiXSmtSdNmLexQzUdZa4ybnJAItXLKpkcVgCUJIzJtk2DFG402sMSEMlonQ==", + "engines": { + "node": ">=14" + } }, - "require-directory": { + "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==" + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "engines": { + "node": ">=0.10.0" + } }, - "require-from-string": { + "node_modules/require-from-string": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==" + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve": { + "version": "1.22.10", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", + "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", + "dependencies": { + "is-core-module": "^2.16.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "resolve-from": { + "node_modules/resolve-from": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==" + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "engines": { + "node": ">=4" + } }, - "restore-cursor": { + "node_modules/restore-cursor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "requires": { + "dependencies": { "onetime": "^5.1.0", "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8" } }, - "reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" + "node_modules/reusify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", + "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } }, - "rimraf": { + "node_modules/rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "requires": { + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dependencies": { "glob": "^7.1.3" }, - "dependencies": { - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "requires": { - "brace-expansion": "^1.1.7" - } - } + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "run-async": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==" - }, - "run-parallel": { + "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "requires": { + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { "queue-microtask": "^1.2.2" } }, - "rxjs": { - "version": "7.8.0", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz", - "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", - "requires": { - "tslib": "^2.1.0" + "node_modules/safe-array-concat": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.3.tgz", + "integrity": "sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==", + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.2", + "get-intrinsic": "^1.2.6", + "has-symbols": "^1.1.0", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">=0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "safe-buffer": { + "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, - "safe-regex-test": { + "node_modules/safe-push-apply": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", - "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", - "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.3", - "is-regex": "^1.1.4" + "resolved": "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz", + "integrity": "sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==", + "dependencies": { + "es-errors": "^1.3.0", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safe-regex-test": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz", + "integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "is-regex": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "safe-stable-stringify": { + "node_modules/safe-stable-stringify": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-1.1.1.tgz", "integrity": "sha512-ERq4hUjKDbJfE4+XtZLFPCDi8Vb1JqaxAPTxWFLBx8XcAlf9Bda/ZJdVezs/NAfsMQScyIlUMx+Yeu7P7rx5jw==" }, - "safer-buffer": { + "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, - "semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==" + "node_modules/semver": { + "version": "7.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", + "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/set-function-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", + "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/set-proto": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/set-proto/-/set-proto-1.0.0.tgz", + "integrity": "sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } }, - "shebang-command": { + "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "requires": { + "dependencies": { "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" } }, - "shebang-regex": { + "node_modules/shebang-regex": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "engines": { + "node": ">=8" + } }, - "should": { + "node_modules/should": { "version": "13.2.3", "resolved": "https://registry.npmjs.org/should/-/should-13.2.3.tgz", "integrity": "sha512-ggLesLtu2xp+ZxI+ysJTmNjh2U0TsC+rQ/pfED9bUZZ4DKefP27D+7YJVVTvKsmjLpIi9jAa7itwDGkDDmt1GQ==", - "requires": { + "dependencies": { "should-equal": "^2.0.0", "should-format": "^3.0.3", "should-type": "^1.4.0", @@ -3614,116 +5212,208 @@ "should-util": "^1.0.0" } }, - "should-equal": { + "node_modules/should-equal": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/should-equal/-/should-equal-2.0.0.tgz", "integrity": "sha512-ZP36TMrK9euEuWQYBig9W55WPC7uo37qzAEmbjHz4gfyuXrEUgF8cUvQVO+w+d3OMfPvSRQJ22lSm8MQJ43LTA==", - "requires": { + "dependencies": { "should-type": "^1.4.0" } }, - "should-format": { + "node_modules/should-format": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/should-format/-/should-format-3.0.3.tgz", "integrity": "sha512-hZ58adtulAk0gKtua7QxevgUaXTTXxIi8t41L3zo9AHvjXO1/7sdLECuHeIN2SRtYXpNkmhoUP2pdeWgricQ+Q==", - "requires": { + "dependencies": { "should-type": "^1.3.0", "should-type-adaptors": "^1.0.1" } }, - "should-type": { + "node_modules/should-type": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/should-type/-/should-type-1.4.0.tgz", "integrity": "sha512-MdAsTu3n25yDbIe1NeN69G4n6mUnJGtSJHygX3+oN0ZbO3DTiATnf7XnYJdGT42JCXurTb1JI0qOBR65shvhPQ==" }, - "should-type-adaptors": { + "node_modules/should-type-adaptors": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/should-type-adaptors/-/should-type-adaptors-1.1.0.tgz", "integrity": "sha512-JA4hdoLnN+kebEp2Vs8eBe9g7uy0zbRo+RMcU0EsNy+R+k049Ki+N5tT5Jagst2g7EAja+euFuoXFCa8vIklfA==", - "requires": { + "dependencies": { "should-type": "^1.3.0", "should-util": "^1.0.0" } }, - "should-util": { + "node_modules/should-util": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/should-util/-/should-util-1.0.1.tgz", "integrity": "sha512-oXF8tfxx5cDk8r2kYqlkUJzZpDBqVY/II2WhvU0n9Y3XYvAYRmeaf1PvvIvTgPnv4KJ+ES5M0PyDq5Jp+Ygy2g==" }, - "side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "requires": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" + "node_modules/side-channel": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "signal-exit": { + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" }, - "slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==" + "node_modules/sisteransi": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==" }, - "slice-ansi": { + "node_modules/slice-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", - "requires": { + "dependencies": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" } }, - "source-map": { + "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "optional": true + "optional": true, + "engines": { + "node": ">=0.10.0" + } }, - "spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", - "requires": { + "node_modules/spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dependencies": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" } }, - "spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" + "node_modules/spdx-exceptions": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", + "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==" }, - "spdx-expression-parse": { + "node_modules/spdx-expression-parse": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "requires": { + "dependencies": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" } }, - "spdx-license-ids": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz", - "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==" + "node_modules/spdx-license-ids": { + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.21.tgz", + "integrity": "sha512-Bvg/8F5XephndSK3JffaRqdT+gyhfqIPwDHpX80tJrF8QQRYMo8sNMeaZ2Dp5+jhwKnUmIOyFFQfHRkjJm5nXg==" }, - "sprintf-js": { + "node_modules/sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" }, - "standard": { + "node_modules/ssri": { + "version": "10.0.6", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", + "integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/standard": { "version": "16.0.4", "resolved": "https://registry.npmjs.org/standard/-/standard-16.0.4.tgz", "integrity": "sha512-2AGI874RNClW4xUdM+bg1LRXVlYLzTNEkHmTG5mhyn45OhbgwA+6znowkOGYy+WMb5HRyELvtNy39kcdMQMcYQ==", - "requires": { + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { "eslint": "~7.18.0", "eslint-config-standard": "16.0.3", "eslint-config-standard-jsx": "10.0.0", @@ -3732,136 +5422,215 @@ "eslint-plugin-promise": "~5.1.0", "eslint-plugin-react": "~7.25.1", "standard-engine": "^14.0.1" + }, + "bin": { + "standard": "bin/cmd.js" + }, + "engines": { + "node": ">=10.12.0" } }, - "standard-engine": { + "node_modules/standard-engine": { "version": "14.0.1", "resolved": "https://registry.npmjs.org/standard-engine/-/standard-engine-14.0.1.tgz", "integrity": "sha512-7FEzDwmHDOGva7r9ifOzD3BGdTbA7ujJ50afLVdW/tK14zQEptJjbFuUfn50irqdHDcTbNh0DTIoMPynMCXb0Q==", - "requires": { + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { "get-stdin": "^8.0.0", "minimist": "^1.2.5", "pkg-conf": "^3.1.0", "xdg-basedir": "^4.0.0" + }, + "engines": { + "node": ">=8.10" } }, - "static-eval": { + "node_modules/static-eval": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/static-eval/-/static-eval-2.0.2.tgz", "integrity": "sha512-N/D219Hcr2bPjLxPiV+TQE++Tsmrady7TqAJugLy7Xk1EumfDWS/f5dtBbkRCGE7wKKXuYockQoj8Rm2/pVKyg==", - "requires": { + "dependencies": { "escodegen": "^1.8.1" } }, - "stop-iteration-iterator": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz", - "integrity": "sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==", - "requires": { - "internal-slot": "^1.0.4" + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dependencies": { + "safe-buffer": "~5.2.0" } }, - "string-width": { + "node_modules/string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "requires": { + "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" } }, - "string.prototype.matchall": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz", - "integrity": "sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "get-intrinsic": "^1.1.3", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.3", - "regexp.prototype.flags": "^1.4.3", - "side-channel": "^1.0.4" - } - }, - "string.prototype.trimend": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", - "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "node_modules/string.prototype.matchall": { + "version": "4.0.12", + "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.12.tgz", + "integrity": "sha512-6CC9uyBL+/48dYizRf7H7VAYCMCNTBeM78x/VTUe9bFEaxBepPJDa1Ow99LqI/1yF7kuy7Q3cQsYMrcjGUcskA==", + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.6", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.6", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "internal-slot": "^1.1.0", + "regexp.prototype.flags": "^1.5.3", + "set-function-name": "^2.0.2", + "side-channel": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "string.prototype.trimstart": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", - "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" + "node_modules/string.prototype.trim": { + "version": "1.2.10", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.10.tgz", + "integrity": "sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==", + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.2", + "define-data-property": "^1.1.4", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-object-atoms": "^1.0.0", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "requires": { - "safe-buffer": "~5.2.0" + "node_modules/string.prototype.trimend": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.9.tgz", + "integrity": "sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==", + "dependencies": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.2", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", + "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", + "dependencies": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "strip-ansi": { + "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "requires": { + "dependencies": { "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" } }, - "strip-bom": { + "node_modules/strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==" + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "engines": { + "node": ">=4" + } }, - "strip-json-comments": { + "node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/strip-json-comments": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==" + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "supports-color": { + "node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "requires": { + "dependencies": { "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, - "supports-preserve-symlinks-flag": { + "node_modules/supports-preserve-symlinks-flag": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" - }, - "swagger-inline": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/swagger-inline/-/swagger-inline-6.1.1.tgz", - "integrity": "sha512-ytE+mTC/xc5Apq8YM00gXtzoO4ptlNltF60LYd21pQEGWRBQVBvrliy1gtoluvNUMHQxpHiFi48njQyq6Iwccg==", - "requires": { - "commander": "^6.0.0", - "globby": "^11.0.1", - "js-yaml": "^4.1.0", - "multilang-extract-comments": "^0.4.0", - "promise.any": "^2.0.2" + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "swagger2openapi": { + "node_modules/swagger2openapi": { "version": "7.0.8", "resolved": "https://registry.npmjs.org/swagger2openapi/-/swagger2openapi-7.0.8.tgz", "integrity": "sha512-upi/0ZGkYgEcLeGieoz8gT74oWHA0E7JivX7aN9mAf+Tc7BQoRBvnIGHoPDw+f9TXTW4s6kGYCZJtauP6OYp7g==", - "requires": { + "dependencies": { "call-me-maybe": "^1.0.1", "node-fetch": "^2.6.1", "node-fetch-h2": "^2.3.0", @@ -3874,320 +5643,520 @@ "yaml": "^1.10.0", "yargs": "^17.0.1" }, - "dependencies": { - "yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==" - } + "bin": { + "boast": "boast.js", + "oas-validate": "oas-validate.js", + "swagger2openapi": "swagger2openapi.js" + }, + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" + } + }, + "node_modules/swagger2openapi/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "engines": { + "node": ">= 6" } }, - "table": { - "version": "6.8.1", - "resolved": "https://registry.npmjs.org/table/-/table-6.8.1.tgz", - "integrity": "sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA==", - "requires": { + "node_modules/table": { + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/table/-/table-6.9.0.tgz", + "integrity": "sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==", + "dependencies": { "ajv": "^8.0.1", "lodash.truncate": "^4.4.2", "slice-ansi": "^4.0.0", "string-width": "^4.2.3", "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=10.0.0" } }, - "text-table": { + "node_modules/text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==" }, - "through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" - }, - "timers-ext": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.7.tgz", - "integrity": "sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ==", - "requires": { - "es5-ext": "~0.10.46", - "next-tick": "1" - } - }, - "tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "requires": { - "os-tmpdir": "~1.0.2" + "node_modules/timers-ext": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.8.tgz", + "integrity": "sha512-wFH7+SEAcKfJpfLPkrgMPvvwnEtj8W4IurvEyrKsDleXnKLCDw71w8jltvfLa8Rm4qQxxT4jmDBYbJG/z7qoww==", + "dependencies": { + "es5-ext": "^0.10.64", + "next-tick": "^1.1.0" + }, + "engines": { + "node": ">=0.12" } }, - "to-regex-range": { + "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "requires": { + "dependencies": { "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" } }, - "tr46": { + "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, - "traverse": { - "version": "0.6.6", - "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.6.tgz", - "integrity": "sha512-kdf4JKs8lbARxWdp7RKdNzoJBhGUcIalSYibuGyHJbmk40pOysQ0+QPvlkCOICOivDWU2IJo2rkrxyTK2AH4fw==" + "node_modules/ts-algebra": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/ts-algebra/-/ts-algebra-1.2.2.tgz", + "integrity": "sha512-kloPhf1hq3JbCPOTYoOWDKxebWjNb2o/LKnNfkWhxVVisFFmMJPPdJeGoGmM+iRLyoXAR61e08Pb+vUXINg8aA==" }, - "tsconfig-paths": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz", - "integrity": "sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==", - "requires": { + "node_modules/ts-morph": { + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-17.0.1.tgz", + "integrity": "sha512-10PkHyXmrtsTvZSL+cqtJLTgFXkU43Gd0JCc0Rw6GchWbqKe0Rwgt1v3ouobTZwQzF1mGhDeAlWYBMGRV7y+3g==", + "dependencies": { + "@ts-morph/common": "~0.18.0", + "code-block-writer": "^11.0.3" + } + }, + "node_modules/tsconfig-paths": { + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", + "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", + "dependencies": { "@types/json5": "^0.0.29", - "json5": "^1.0.1", + "json5": "^1.0.2", "minimist": "^1.2.6", "strip-bom": "^3.0.0" } }, - "tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" }, - "tunnel": { + "node_modules/tunnel": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", - "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==" + "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", + "engines": { + "node": ">=0.6.11 <=0.7.0 || >=0.7.3" + } }, - "type": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", - "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" + "node_modules/type": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/type/-/type-2.7.3.tgz", + "integrity": "sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ==" }, - "type-check": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==", - "requires": { - "prelude-ls": "~1.1.2" + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "engines": { + "node": ">=8" + } + }, + "node_modules/typed-array-buffer": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz", + "integrity": "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==", + "dependencies": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.14" + }, + "engines": { + "node": ">= 0.4" } }, - "type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==" + "node_modules/typed-array-byte-length": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz", + "integrity": "sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==", + "dependencies": { + "call-bind": "^1.0.8", + "for-each": "^0.3.3", + "gopd": "^1.2.0", + "has-proto": "^1.2.0", + "is-typed-array": "^1.1.14" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "typed-array-length": { + "node_modules/typed-array-byte-offset": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", - "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", - "requires": { - "call-bind": "^1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.4.tgz", + "integrity": "sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==", + "dependencies": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.8", "for-each": "^0.3.3", - "is-typed-array": "^1.1.9" + "gopd": "^1.2.0", + "has-proto": "^1.2.0", + "is-typed-array": "^1.1.15", + "reflect.getprototypeof": "^1.0.9" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "unbox-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", - "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", - "requires": { - "call-bind": "^1.0.2", + "node_modules/typed-array-length": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.7.tgz", + "integrity": "sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==", + "dependencies": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0", + "reflect.getprototypeof": "^1.0.6" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/unbox-primitive": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz", + "integrity": "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==", + "dependencies": { + "call-bound": "^1.0.3", "has-bigints": "^1.0.2", - "has-symbols": "^1.0.3", - "which-boxed-primitive": "^1.0.2" + "has-symbols": "^1.1.0", + "which-boxed-primitive": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "underscore": { + "node_modules/underscore": { "version": "1.12.1", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.12.1.tgz", "integrity": "sha512-hEQt0+ZLDVUMhebKxL4x1BTtDY7bavVofhZ9KZ4aI26X9SRaE+Y3m83XUL1UP2jn8ynjndwCCpEHdUG+9pP1Tw==" }, - "universal-user-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==" + "node_modules/undici": { + "version": "5.29.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.29.0.tgz", + "integrity": "sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==", + "dependencies": { + "@fastify/busboy": "^2.0.0" + }, + "engines": { + "node": ">=14.0" + } + }, + "node_modules/universal-user-agent": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.1.tgz", + "integrity": "sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==" }, - "uri-js": { + "node_modules/uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "requires": { + "dependencies": { "punycode": "^2.1.0" } }, - "urijs": { + "node_modules/urijs": { "version": "1.19.11", "resolved": "https://registry.npmjs.org/urijs/-/urijs-1.19.11.tgz", "integrity": "sha512-HXgFDgDommxn5/bIv0cnQZsPhHDA90NPHD6+c/v21U5+Sx5hoP8+dP9IZXBU1gIfvdRfhG8cel9QNPeionfcCQ==" }, - "util-deprecate": { + "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, - "utility-types": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz", - "integrity": "sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg==" + "node_modules/utility-types": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/utility-types/-/utility-types-3.11.0.tgz", + "integrity": "sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw==", + "engines": { + "node": ">= 4" + } }, - "uuid": { + "node_modules/uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" - }, - "v8-compile-cache": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", - "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==" + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } }, - "valid-data-url": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/valid-data-url/-/valid-data-url-4.0.1.tgz", - "integrity": "sha512-t0oA6VCnlQ/MPKP/Ie9ZD3biEpB2JTxK1Hx4KC72RbhubL9HsXznoBn228UQTazL7cPvsY36bhzt3fk424TjyA==" + "node_modules/v8-compile-cache": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.4.0.tgz", + "integrity": "sha512-ocyWc3bAHBB/guyqJQVI5o4BZkPhznPYUG2ea80Gond/BgNWpap8TOmLSeeQG7bnh2KMISxskdADG59j7zruhw==" }, - "validate-npm-package-license": { + "node_modules/validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "requires": { + "dependencies": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" } }, - "validate.io-array": { + "node_modules/validate-npm-package-name": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.1.tgz", + "integrity": "sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/validate.io-array": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/validate.io-array/-/validate.io-array-1.0.6.tgz", "integrity": "sha512-DeOy7CnPEziggrOO5CZhVKJw6S3Yi7e9e65R1Nl/RTN1vTQKnzjfvks0/8kQ40FP/dsjRAOd4hxmJ7uLa6vxkg==" }, - "validate.io-function": { + "node_modules/validate.io-function": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/validate.io-function/-/validate.io-function-1.0.2.tgz", "integrity": "sha512-LlFybRJEriSuBnUhQyG5bwglhh50EpTL2ul23MPIuR1odjO7XaMLFV8vHGwp7AZciFxtYOeiSCT5st+XSPONiQ==" }, - "validate.io-integer": { + "node_modules/validate.io-integer": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/validate.io-integer/-/validate.io-integer-1.0.5.tgz", "integrity": "sha512-22izsYSLojN/P6bppBqhgUDjCkr5RY2jd+N2a3DCAUey8ydvrZ/OkGvFPR7qfOpwR2LC5p4Ngzxz36g5Vgr/hQ==", - "requires": { + "dependencies": { "validate.io-number": "^1.0.3" } }, - "validate.io-integer-array": { + "node_modules/validate.io-integer-array": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/validate.io-integer-array/-/validate.io-integer-array-1.0.0.tgz", "integrity": "sha512-mTrMk/1ytQHtCY0oNO3dztafHYyGU88KL+jRxWuzfOmQb+4qqnWmI+gykvGp8usKZOM0H7keJHEbRaFiYA0VrA==", - "requires": { + "dependencies": { "validate.io-array": "^1.0.3", "validate.io-integer": "^1.0.4" } }, - "validate.io-number": { + "node_modules/validate.io-number": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/validate.io-number/-/validate.io-number-1.0.3.tgz", "integrity": "sha512-kRAyotcbNaSYoDnXvb4MHg/0a1egJdLwS6oJ38TJY7aw9n93Fl/3blIXdyYvPOp55CNxywooG/3BcrwNrBpcSg==" }, - "wcwidth": { + "node_modules/wcwidth": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", - "requires": { + "dependencies": { "defaults": "^1.0.3" } }, - "webidl-conversions": { + "node_modules/web-streams-polyfill": { + "version": "4.0.0-beta.3", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-4.0.0-beta.3.tgz", + "integrity": "sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==", + "engines": { + "node": ">= 14" + } + }, + "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" }, - "whatwg-url": { + "node_modules/whatwg-fetch": { + "version": "3.6.20", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz", + "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==" + }, + "node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "requires": { + "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" } }, - "which": { + "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "requires": { + "dependencies": { "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz", + "integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==", + "dependencies": { + "is-bigint": "^1.1.0", + "is-boolean-object": "^1.2.1", + "is-number-object": "^1.1.1", + "is-string": "^1.1.1", + "is-symbol": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-builtin-type": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz", + "integrity": "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==", + "dependencies": { + "call-bound": "^1.0.2", + "function.prototype.name": "^1.1.6", + "has-tostringtag": "^1.0.2", + "is-async-function": "^2.0.0", + "is-date-object": "^1.1.0", + "is-finalizationregistry": "^1.1.0", + "is-generator-function": "^1.0.10", + "is-regex": "^1.2.1", + "is-weakref": "^1.0.2", + "isarray": "^2.0.5", + "which-boxed-primitive": "^1.1.0", + "which-collection": "^1.0.2", + "which-typed-array": "^1.1.16" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "which-boxed-primitive": { + "node_modules/which-collection": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "requires": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" + "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz", + "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==", + "dependencies": { + "is-map": "^2.0.3", + "is-set": "^2.0.3", + "is-weakmap": "^2.0.2", + "is-weakset": "^2.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "which-typed-array": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", - "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", - "requires": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0", - "is-typed-array": "^1.1.10" + "node_modules/which-typed-array": { + "version": "1.1.19", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.19.tgz", + "integrity": "sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw==", + "dependencies": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.8", + "call-bound": "^1.0.4", + "for-each": "^0.3.5", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-tostringtag": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "word-wrap": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.4.tgz", - "integrity": "sha512-2V81OA4ugVo5pRo46hAoD2ivUJx8jXmWXfUkY4KFNw0hEptvN0QfH3K4nHiwzGeKl5rFKedV48QVoqYavy4YpA==" + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "engines": { + "node": ">=0.10.0" + } }, - "wrap-ansi": { + "node_modules/wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "requires": { + "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "wrappy": { + "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, - "xdg-basedir": { + "node_modules/xdg-basedir": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", - "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==" + "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==", + "engines": { + "node": ">=8" + } }, - "y18n": { + "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "engines": { + "node": ">=10" + } }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "node_modules/yaml": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.1.tgz", + "integrity": "sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14" + } }, - "yaml": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.2.2.tgz", - "integrity": "sha512-CBKFWExMn46Foo4cldiChEzn7S7SRV+wqiluAb6xmueD/fGyRHIhX8m14vVGgeFWjN540nKCNVj6P21eQjgTuA==" - }, - "yargs": { - "version": "17.7.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.0.tgz", - "integrity": "sha512-dwqOPg5trmrre9+v8SUo2q/hAwyKoVfu8OC1xPHKJGNdxAvPl4sKxL4vBnh3bQz/ZvvGAFeA5H3ou2kcOY8sQQ==", - "requires": { + "node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", @@ -4195,12 +6164,18 @@ "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" } }, - "yargs-parser": { + "node_modules/yargs-parser": { "version": "21.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "engines": { + "node": ">=12" + } } } } diff --git a/package.json b/package.json index 595e799..0d5bd05 100644 --- a/package.json +++ b/package.json @@ -16,14 +16,14 @@ "@actions/core": "^1.10.0", "@actions/github": "^5.1.1", "@stoplight/json-ref-resolver": "^3.0.1", - "api": "^4.5.2", + "api": "^6.1.1", "axios": "^1.7.4", "deepmerge": "^4.3.0", "dotenv": "^16.0.3", "flatted": "^3.2.7", "jsonpath-plus": "^10.0.7", "lodash": "^4.17.21", - "openapi-to-postmanv2": "^4.9.0", + "openapi-to-postmanv2": "^4.12.0", "remove-markdown": "^0.3.0", "standard": "^16.0.1", "uuid": "^8.0.0", diff --git a/postman/2.10/README.md b/postman/2.10/README.md new file mode 100644 index 0000000..142b658 --- /dev/null +++ b/postman/2.10/README.md @@ -0,0 +1,15 @@ +# Intercom API 2.10 Postman Collection + +This directory contains the Postman collection for Intercom API version 2.10. + +## Files +- `intercom-api.postman_collection.json`: The main Postman collection +- `environment.json`: Environment variables for this version + +## Usage +1. Import the collection into Postman +2. Import the environment file +3. Set your access token in the environment variables +4. Start making API calls! + +Last updated: 2025-04-15T14:40:02.395Z diff --git a/postman/2.10/environment.json b/postman/2.10/environment.json new file mode 100644 index 0000000..bd23982 --- /dev/null +++ b/postman/2.10/environment.json @@ -0,0 +1,18 @@ +{ + "id": "intercom-api-2.10-environment", + "name": "Intercom API 2.10 Environment", + "values": [ + { + "key": "baseUrl", + "value": "https://api.intercom.io", + "type": "default", + "enabled": true + }, + { + "key": "token", + "value": "YOUR_ACCESS_TOKEN", + "type": "secret", + "enabled": true + } + ] +} \ No newline at end of file diff --git a/postman/2.10/intercom-api.postman_collection.json b/postman/2.10/intercom-api.postman_collection.json new file mode 100644 index 0000000..2eeb07c --- /dev/null +++ b/postman/2.10/intercom-api.postman_collection.json @@ -0,0 +1,1934 @@ +{ + "info": { + "name": "Intercom API - 2.10", + "description": "The intercom API reference.", + "version": "2.10", + "contact": { + "name": "Intercom Developer Hub", + "url": "https://developers.intercom.com" + }, + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "updatedAt": "2025-04-15T14:40:02.393Z" + }, + "item": [ + { + "name": "General", + "item": [ + { + "name": "Identify an admin", + "request": { + "method": "GET", + "url": { + "raw": "/me", + "path": [ + "me" + ] + }, + "description": "\nYou can view the currently authorised admin along with the embedded app object (a \"workspace\" in legacy terminology).\n\n> 🚧 Single Sign On\n>\n> If you are building a custom \"Log in with Intercom\" flow for your site, and you call the `/me` endpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all activity logs", + "request": { + "method": "GET", + "url": { + "raw": "/admins/activity_logs", + "path": [ + "admins", + "activity_logs" + ] + }, + "description": "You can get a log of activities by all admins in an app.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all admins", + "request": { + "method": "GET", + "url": { + "raw": "/admins", + "path": [ + "admins" + ] + }, + "description": "You can fetch a list of admins for a given workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an admin", + "request": { + "method": "GET", + "url": { + "raw": "/admins/{id}", + "path": [ + "admins", + "{id}" + ] + }, + "description": "You can retrieve the details of a single admin.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all articles", + "request": { + "method": "GET", + "url": { + "raw": "/articles", + "path": [ + "articles" + ] + }, + "description": "You can fetch a list of all articles by making a GET request to `https://api.intercom.io/articles`.\n\n> 📘 How are the articles sorted and ordered?\n>\n> Articles will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated articles first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an article", + "request": { + "method": "GET", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can fetch the details of a single article by making a GET request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search for articles", + "request": { + "method": "GET", + "url": { + "raw": "/articles/search", + "path": [ + "articles", + "search" + ] + }, + "description": "You can search for articles by making a GET request to `https://api.intercom.io/articles/search`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all collections", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/collections", + "path": [ + "help_center", + "collections" + ] + }, + "description": "You can fetch a list of all collections by making a GET request to `https://api.intercom.io/help_center/collections`.\n\nCollections will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated collections first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a collection", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can fetch the details of a single collection by making a GET request to `https://api.intercom.io/help_center/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a Help Center", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/help_centers/{id}", + "path": [ + "help_center", + "help_centers", + "{id}" + ] + }, + "description": "You can fetch the details of a single Help Center by making a GET request to `https://api.intercom.io/help_center/help_center/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all Help Centers", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/help_centers", + "path": [ + "help_center", + "help_centers" + ] + }, + "description": "You can list all Help Centers by making a GET request to `https://api.intercom.io/help_center/help_centers`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies", + "path": [ + "companies" + ] + }, + "description": "You can fetch a single company by passing in `company_id` or `name`.\n\n `https://api.intercom.io/companies?name={name}`\n\n `https://api.intercom.io/companies?company_id={company_id}`\n\nYou can fetch all companies and filter by `segment_id` or `tag_id` as a query parameter.\n\n `https://api.intercom.io/companies?tag_id={tag_id}`\n\n `https://api.intercom.io/companies?segment_id={segment_id}`\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a company by ID", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can fetch a single company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached contacts", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}/contacts", + "path": [ + "companies", + "{id}", + "contacts" + ] + }, + "description": "You can fetch a list of all contacts that belong to a company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached segments for companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}/segments", + "path": [ + "companies", + "{id}", + "segments" + ] + }, + "description": "You can fetch a list of all segments that belong to a company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Scroll over all companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies/scroll", + "path": [ + "companies", + "scroll" + ] + }, + "description": " The `list all companies` functionality does not work well for huge datasets, and can result in errors and performance problems when paging deeply. The Scroll API provides an efficient mechanism for iterating over all companies in a dataset.\n\n- Each app can only have 1 scroll open at a time. You'll get an error message if you try to have more than one open per app.\n- If the scroll isn't used for 1 minute, it expires and calls with that scroll param will fail\n- If the end of the scroll is reached, \"companies\" will be empty and the scroll parameter will expire\n\n{% admonition type=\"info\" name=\"Scroll Parameter\" %}\n You can get the first page of companies by simply sending a GET request to the scroll endpoint.\n For subsequent requests you will need to use the scroll parameter from the response.\n{% /admonition %}\n{% admonition type=\"danger\" name=\"Scroll network timeouts\" %}\n Since scroll is often used on large datasets network errors such as timeouts can be encountered. When this occurs you will see a HTTP 500 error with the following message:\n \"Request failed due to an internal network error. Please restart the scroll operation.\"\n If this happens, you will need to restart your scroll query: It is not possible to continue from a specific point when using scroll.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached companies for contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}/companies", + "path": [ + "contacts", + "{id}", + "companies" + ] + }, + "description": "You can fetch a list of companies that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all notes", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}/notes", + "path": [ + "contacts", + "{id}", + "notes" + ] + }, + "description": "You can fetch a list of notes that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached segments for contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/segments", + "path": [ + "contacts", + "{contact_id}", + "segments" + ] + }, + "description": "You can fetch a list of segments that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List subscriptions for a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/subscriptions", + "path": [ + "contacts", + "{contact_id}", + "subscriptions" + ] + }, + "description": "You can fetch a list of subscription types that are attached to a contact. These can be subscriptions that a user has 'opted-in' to or has 'opted-out' from, depending on the subscription type.\nThis will return a list of Subscription Type objects that the contact is associated with.\n\nThe data property will show a combined list of:\n\n 1.Opt-out subscription types that the user has opted-out from.\n 2.Opt-in subscription types that the user has opted-in to receiving.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List tags attached to a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/tags", + "path": [ + "contacts", + "{contact_id}", + "tags" + ] + }, + "description": "You can fetch a list of all tags that are attached to a specific contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Get a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can fetch the details of a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all contacts", + "request": { + "method": "GET", + "url": { + "raw": "/contacts", + "path": [ + "contacts" + ] + }, + "description": "You can fetch a list of all contacts (ie. users or leads) in your workspace.\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `50` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all conversations", + "request": { + "method": "GET", + "url": { + "raw": "/conversations", + "path": [ + "conversations" + ] + }, + "description": "You can fetch a list of all conversations.\n\nYou can optionally request the result page size and the cursor to start after to fetch the result.\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a conversation", + "request": { + "method": "GET", + "url": { + "raw": "/conversations/{id}", + "path": [ + "conversations", + "{id}" + ] + }, + "description": "\nYou can fetch the details of a single conversation.\n\nThis will return a single Conversation model with all its conversation parts.\n\n{% admonition type=\"warning\" name=\"Hard limit of 500 parts\" %}\nThe maximum number of conversation parts that can be returned via the API is 500. If you have more than that we will return the 500 most recent conversation parts.\n{% /admonition %}\n\nFor AI agent conversation metadata, please note that you need to have the agent enabled in your workspace, which is a [paid feature](https://www.intercom.com/help/en/articles/8205718-fin-resolutions#h_97f8c2e671).\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all data attributes", + "request": { + "method": "GET", + "url": { + "raw": "/data_attributes", + "path": [ + "data_attributes" + ] + }, + "description": "You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all data events", + "request": { + "method": "GET", + "url": { + "raw": "/events", + "path": [ + "events" + ] + }, + "description": "\n> 🚧\n>\n> Please note that you can only 'list' events that are less than 90 days old. Event counts and summaries will still include your events older than 90 days but you cannot 'list' these events individually if they are older than 90 days\n\nThe events belonging to a customer can be listed by sending a GET request to `https://api.intercom.io/events` with a user or lead identifier along with a `type` parameter. The identifier parameter can be one of `user_id`, `email` or `intercom_user_id`. The `type` parameter value must be `user`.\n\n- `https://api.intercom.io/events?type=user&user_id={user_id}`\n- `https://api.intercom.io/events?type=user&email={email}`\n- `https://api.intercom.io/events?type=user&intercom_user_id={id}` (this call can be used to list leads)\n\nThe `email` parameter value should be [url encoded](http://en.wikipedia.org/wiki/Percent-encoding) when sending.\n\nYou can optionally define the result page size as well with the `per_page` parameter.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Show content data export", + "request": { + "method": "GET", + "url": { + "raw": "/export/content/data/{job_identifier}", + "path": [ + "export", + "content", + "data", + "{job_identifier}" + ] + }, + "description": "You can view the status of your job by sending a `GET` request to the URL\n`https://api.intercom.io/export/content/data/{job_identifier}` - the `{job_identifier}` is the value returned in the response when you first created the export job. More on it can be seen in the Export Job Model.\n\n> 🚧 Jobs expire after two days\n> All jobs that have completed processing (and are thus available to download from the provided URL) will have an expiry limit of two days from when the export ob completed. After this, the data will no longer be available.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Download content data export", + "request": { + "method": "GET", + "url": { + "raw": "/download/content/data/{job_identifier}", + "path": [ + "download", + "content", + "data", + "{job_identifier}" + ] + }, + "description": "When a job has a status of complete, and thus a filled download_url, you can download your data by hitting that provided URL, formatted like so: https://api.intercom.io/download/content/data/xyz1234.\n\nYour exported message data will be streamed continuously back down to you in a gzipped CSV format.\n\n> 📘 Octet header required\n>\n> You will have to specify the header Accept: `application/octet-stream` when hitting this endpoint.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all news items", + "request": { + "method": "GET", + "url": { + "raw": "/news/news_items", + "path": [ + "news", + "news_items" + ] + }, + "description": "You can fetch a list of all news items", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a news item", + "request": { + "method": "GET", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "You can fetch the details of a single news item.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all live newsfeed items", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds/{id}/items", + "path": [ + "news", + "newsfeeds", + "{id}", + "items" + ] + }, + "description": "You can fetch a list of all news items that are live on a given newsfeed", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all newsfeeds", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds", + "path": [ + "news", + "newsfeeds" + ] + }, + "description": "You can fetch a list of all newsfeeds", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a newsfeed", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds/{id}", + "path": [ + "news", + "newsfeeds", + "{id}" + ] + }, + "description": "You can fetch the details of a single newsfeed", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a note", + "request": { + "method": "GET", + "url": { + "raw": "/notes/{id}", + "path": [ + "notes", + "{id}" + ] + }, + "description": "You can fetch the details of a single note.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all segments", + "request": { + "method": "GET", + "url": { + "raw": "/segments", + "path": [ + "segments" + ] + }, + "description": "You can fetch a list of all segments.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a segment", + "request": { + "method": "GET", + "url": { + "raw": "/segments/{id}", + "path": [ + "segments", + "{id}" + ] + }, + "description": "You can fetch the details of a single segment.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List subscription types", + "request": { + "method": "GET", + "url": { + "raw": "/subscription_types", + "path": [ + "subscription_types" + ] + }, + "description": "You can list all subscription types. A list of subscription type objects will be returned.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all tags", + "request": { + "method": "GET", + "url": { + "raw": "/tags", + "path": [ + "tags" + ] + }, + "description": "You can fetch a list of all tags for a given workspace.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Find a specific tag", + "request": { + "method": "GET", + "url": { + "raw": "/tags/{id}", + "path": [ + "tags", + "{id}" + ] + }, + "description": "You can fetch the details of tags that are on the workspace by their id.\nThis will return a tag object.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all teams", + "request": { + "method": "GET", + "url": { + "raw": "/teams", + "path": [ + "teams" + ] + }, + "description": "This will return a list of team objects for the App.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a team", + "request": { + "method": "GET", + "url": { + "raw": "/teams/{id}", + "path": [ + "teams", + "{id}" + ] + }, + "description": "You can fetch the details of a single team, containing an array of admins that belong to this team.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all ticket types", + "request": { + "method": "GET", + "url": { + "raw": "/ticket_types", + "path": [ + "ticket_types" + ] + }, + "description": "You can get a list of all ticket types for a workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a ticket type", + "request": { + "method": "GET", + "url": { + "raw": "/ticket_types/{id}", + "path": [ + "ticket_types", + "{id}" + ] + }, + "description": "You can fetch the details of a single ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a ticket", + "request": { + "method": "GET", + "url": { + "raw": "/tickets/{id}", + "path": [ + "tickets", + "{id}" + ] + }, + "description": "You can fetch the details of a single ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a visitor with User ID", + "request": { + "method": "GET", + "url": { + "raw": "/visitors", + "path": [ + "visitors" + ] + }, + "description": "You can fetch the details of a single visitor.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create an article", + "request": { + "method": "POST", + "url": { + "raw": "/articles", + "path": [ + "articles" + ] + }, + "description": "You can create a new article by making a POST request to `https://api.intercom.io/articles`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a collection", + "request": { + "method": "POST", + "url": { + "raw": "/help_center/collections", + "path": [ + "help_center", + "collections" + ] + }, + "description": "You can create a new collection by making a POST request to `https://api.intercom.io/help_center/collections.`", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or Update a company", + "request": { + "method": "POST", + "url": { + "raw": "/companies", + "path": [ + "companies" + ] + }, + "description": "You can create or update a company.\n\nCompanies will be only visible in Intercom when there is at least one associated user.\n\nCompanies are looked up via `company_id` in a `POST` request, if not found via `company_id`, the new company will be created, if found, that company will be updated.\n\n{% admonition type=\"warning\" name=\"Using `company_id`\" %}\n You can set a unique `company_id` value when creating a company. However, it is not possible to update `company_id`. Be sure to set a unique value once upon creation of the company.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all companies", + "request": { + "method": "POST", + "url": { + "raw": "/companies/list", + "path": [ + "companies", + "list" + ] + }, + "description": "You can list companies. The company list is sorted by the `last_request_at` field and by default is ordered descending, most recently requested first.\n\nNote that the API does not include companies who have no associated users in list responses.\n\nWhen using the Companies endpoint and the pages object to iterate through the returned companies, there is a limit of 10,000 Companies that can be returned. If you need to list or iterate on more than 10,000 Companies, please use the [Scroll API](https://developers.intercom.com/reference#iterating-over-all-companies).\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Attach a Contact to a Company", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/companies", + "path": [ + "contacts", + "{id}", + "companies" + ] + }, + "description": "You can attach a company to a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a note", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/notes", + "path": [ + "contacts", + "{id}", + "notes" + ] + }, + "description": "You can add a note to a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add subscription to a contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/subscriptions", + "path": [ + "contacts", + "{contact_id}", + "subscriptions" + ] + }, + "description": "You can add a specific subscription to a contact. In Intercom, we have two different subscription types based on user consent - opt-out and opt-in:\n\n 1.Attaching a contact to an opt-out subscription type will opt that user out from receiving messages related to that subscription type.\n\n 2.Attaching a contact to an opt-in subscription type will opt that user in to receiving messages related to that subscription type.\n\nThis will return a subscription type model for the subscription type that was added to the contact.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/tags", + "path": [ + "contacts", + "{contact_id}", + "tags" + ] + }, + "description": "You can tag a specific contact. This will return a tag object for the tag that was added to the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Merge a lead and a user", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/merge", + "path": [ + "contacts", + "merge" + ] + }, + "description": "You can merge a contact with a `role` of `lead` into a contact with a `role` of `user`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search contacts", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/search", + "path": [ + "contacts", + "search" + ] + }, + "description": "You can search for multiple contacts by the value of their attributes in order to fetch exactly who you want.\n\nTo search for contacts, you need to send a `POST` request to `https://api.intercom.io/contacts/search`.\n\nThis will accept a query object in the body which will define your filters in order to search for contacts.\n\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `50` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n### Contact Creation Delay\n\nIf a contact has recently been created, there is a possibility that it will not yet be available when searching. This means that it may not appear in the response. This delay can take a few minutes. If you need to be instantly notified it is recommended to use webhooks and iterate to see if they match your search filters.\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiple's there can be:\n* There's a limit of max 2 nested filters\n* There's a limit of max 15 filters for each AND or OR group\n\n### Searching for Timestamp Fields\n\nAll timestamp fields (created_at, updated_at etc.) are indexed as Dates for Contact Search queries; Datetime queries are not currently supported. This means you can only query for timestamp fields by day - not hour, minute or second.\nFor example, if you search for all Contacts with a created_at value greater (>) than 1577869200 (the UNIX timestamp for January 1st, 2020 9:00 AM), that will be interpreted as 1577836800 (January 1st, 2020 12:00 AM). The search results will then include Contacts created from January 2nd, 2020 12:00 AM onwards.\nIf you'd like to get contacts created on January 1st, 2020 you should search with a created_at value equal (=) to 1577836800 (January 1st, 2020 12:00 AM).\nThis behaviour applies only to timestamps used in search queries. The search results will still contain the full UNIX timestamp and be sorted accordingly.\n\n### Accepted Fields\n\nMost key listed as part of the Contacts Model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foorbar\"`).\n\n| Field | Type |\n| ---------------------------------- | ------------------------------ |\n| id | String |\n| role | String
Accepts user or lead |\n| name | String |\n| avatar | String |\n| owner_id | Integer |\n| email | String |\n| email_domain | String |\n| phone | String |\n| external_id | String |\n| created_at | Date (UNIX Timestamp) |\n| signed_up_at | Date (UNIX Timestamp) |\n| updated_at | Date (UNIX Timestamp) |\n| last_seen_at | Date (UNIX Timestamp) |\n| last_contacted_at | Date (UNIX Timestamp) |\n| last_replied_at | Date (UNIX Timestamp) |\n| last_email_opened_at | Date (UNIX Timestamp) |\n| last_email_clicked_at | Date (UNIX Timestamp) |\n| language_override | String |\n| browser | String |\n| browser_language | String |\n| os | String |\n| location.country | String |\n| location.region | String |\n| location.city | String |\n| unsubscribed_from_emails | Boolean |\n| marked_email_as_spam | Boolean |\n| has_hard_bounced | Boolean |\n| ios_last_seen_at | Date (UNIX Timestamp) |\n| ios_app_version | String |\n| ios_device | String |\n| ios_app_device | String |\n| ios_os_version | String |\n| ios_app_name | String |\n| ios_sdk_version | String |\n| android_last_seen_at | Date (UNIX Timestamp) |\n| android_app_version | String |\n| android_device | String |\n| android_app_name | String |\n| andoid_sdk_version | String |\n| segment_id | String |\n| tag_id | String |\n| custom_attributes.{attribute_name} | String |\n\n### Accepted Operators\n\n{% admonition type=\"warning\" name=\"Searching based on `created_at`\" %}\n You cannot use the `<=` or `>=` operators to search by `created_at`.\n{% /admonition %}\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :------------------------------- | :--------------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In
Shortcut for `OR` queries
Values must be in Array |\n| NIN | All | Not In
Shortcut for `OR !` queries
Values must be in Array |\n| > | Integer
Date (UNIX Timestamp) | Greater than |\n| < | Integer
Date (UNIX Timestamp) | Lower than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts", + "path": [ + "contacts" + ] + }, + "description": "You can create a new contact (ie. user or lead).", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Archive contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/archive", + "path": [ + "contacts", + "{id}", + "archive" + ] + }, + "description": "You can archive a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Unarchive contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/unarchive", + "path": [ + "contacts", + "{id}", + "unarchive" + ] + }, + "description": "You can unarchive a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{conversation_id}/tags", + "path": [ + "conversations", + "{conversation_id}", + "tags" + ] + }, + "description": "You can tag a specific conversation. This will return a tag object for the tag that was added to the conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Creates a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations", + "path": [ + "conversations" + ] + }, + "description": "You can create a conversation that has been initiated by a contact (ie. user or lead).\nThe conversation can be an in-app message only.\n\n{% admonition type=\"info\" name=\"Sending for visitors\" %}\nYou can also send a message from a visitor by specifying their `user_id` or `id` value in the `from` field, along with a `type` field value of `contact`.\nThis visitor will be automatically converted to a contact with a lead role once the conversation is created.\n{% /admonition %}\n\nThis will return the Message model that has been created.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search conversations", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/search", + "path": [ + "conversations", + "search" + ] + }, + "description": "You can search for multiple conversations by the value of their attributes in order to fetch exactly which ones you want.\n\nTo search for conversations, you need to send a `POST` request to `https://api.intercom.io/conversations/search`.\n\nThis will accept a query object in the body which will define your filters in order to search for conversations.\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `20` results per page and maximum is `150`.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiple's there can be:\n- There's a limit of max 2 nested filters\n- There's a limit of max 15 filters for each AND or OR group\n\n### Accepted Fields\n\nMost keys listed as part of the conversation model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foorbar\"`).\nThe `source.body` field is unique as the search will not be performed against the entire value, but instead against every element of the value separately. For example, when searching for a conversation with a `\"I need support\"` body - the query should contain a `=` operator with the value `\"support\"` for such conversation to be returned. A query with a `=` operator and a `\"need support\"` value will not yield a result.\n\n| Field | Type |\n| :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------- |\n| id | String |\n| created_at | Date (UNIX timestamp) |\n| updated_at | Date (UNIX timestamp) |\n| source.type | String
Accepted fields are `conversation`, `email`, `facebook`, `instagram`, `phone_call`, `phone_switch`, `push`, `sms`, `twitter` and `whatsapp`. |\n| source.id | String |\n| source.delivered_as | String |\n| source.subject | String |\n| source.body | String |\n| source.author.id | String |\n| source.author.type | String |\n| source.author.name | String |\n| source.author.email | String |\n| source.url | String |\n| contact_ids | String |\n| teammate_ids | String |\n| admin_assignee_id | String |\n| team_assignee_id | String |\n| channel_initiated | String |\n| open | Boolean |\n| read | Boolean |\n| state | String |\n| waiting_since | Date (UNIX timestamp) |\n| snoozed_until | Date (UNIX timestamp) |\n| tag_ids | String |\n| priority | String |\n| statistics.time_to_assignment | Integer |\n| statistics.time_to_admin_reply | Integer |\n| statistics.time_to_first_close | Integer |\n| statistics.time_to_last_close | Integer |\n| statistics.median_time_to_reply | Integer |\n| statistics.first_contact_reply_at | Date (UNIX timestamp) |\n| statistics.first_assignment_at | Date (UNIX timestamp) |\n| statistics.first_admin_reply_at | Date (UNIX timestamp) |\n| statistics.first_close_at | Date (UNIX timestamp) |\n| statistics.last_assignment_at | Date (UNIX timestamp) |\n| statistics.last_assignment_admin_reply_at | Date (UNIX timestamp) |\n| statistics.last_contact_reply_at | Date (UNIX timestamp) |\n| statistics.last_admin_reply_at | Date (UNIX timestamp) |\n| statistics.last_close_at | Date (UNIX timestamp) |\n| statistics.last_closed_by_id | String |\n| statistics.count_reopens | Integer |\n| statistics.count_assignments | Integer |\n| statistics.count_conversation_parts | Integer |\n| conversation_rating.requested_at | Date (UNIX timestamp) |\n| conversation_rating.replied_at | Date (UNIX timestamp) |\n| conversation_rating.score | Integer |\n| conversation_rating.remark | String |\n| conversation_rating.contact_id | String |\n| conversation_rating.admin_d | String |\n| ai_agent_participated | Boolean |\n| ai_agent.resolution_state | String |\n| ai_agent.last_answer_type | String |\n| ai_agent.rating | Integer |\n| ai_agent.rating_remark | String |\n| ai_agent.source_type | String |\n| ai_agent.source_title | String |\n\n### Accepted Operators\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :----------------------------- | :----------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In Shortcut for `OR` queries Values most be in Array |\n| NIN | All | Not In Shortcut for `OR !` queries Values must be in Array |\n| > | Integer Date (UNIX Timestamp) | Greater (or equal) than |\n| < | Integer Date (UNIX Timestamp) | Lower (or equal) than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Reply to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/reply", + "path": [ + "conversations", + "{id}", + "reply" + ] + }, + "description": "You can reply to a conversation with a message from an admin or on behalf of a contact, or with a note for admins.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Manage a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/parts", + "path": [ + "conversations", + "{id}", + "parts" + ] + }, + "description": "For managing conversations you can:\n- Close a conversation\n- Snooze a conversation to reopen on a future date\n- Open a conversation which is `snoozed` or `closed`\n- Assign a conversation to an admin and/or team.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Run Assignment Rules on a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/run_assignment_rules", + "path": [ + "conversations", + "{id}", + "run_assignment_rules" + ] + }, + "description": "{% admonition type=\"danger\" name=\"Deprecation of Run Assignment Rules\" %}\nRun assignment rules is now deprecated in version 2.12 and future versions and will be permanently removed on December 31, 2026. After this date, any requests made to this endpoint will fail.\n{% /admonition %}\nYou can let a conversation be automatically assigned following assignment rules.\n{% admonition type=\"warning\" name=\"When using workflows\" %}\nIt is not possible to use this endpoint with Workflows.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Attach a contact to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/customers", + "path": [ + "conversations", + "{id}", + "customers" + ] + }, + "description": "You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.\n\n{% admonition type=\"warning\" name=\"Contacts without an email\" %}\nIf you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Redact a conversation part", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/redact", + "path": [ + "conversations", + "redact" + ] + }, + "description": "You can redact a conversation part or the source message of a conversation (as seen in the source object).\n\n{% admonition type=\"info\" name=\"Redacting parts and messages\" %}\nIf you are redacting a conversation part, it must have a `body`. If you are redacting a source message, it must have been created by a contact. We will return a `conversation_part_not_redactable` error if these criteria are not met.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Convert a conversation to a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/convert", + "path": [ + "conversations", + "{id}", + "convert" + ] + }, + "description": "You can convert a conversation to a ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a data attribute", + "request": { + "method": "POST", + "url": { + "raw": "/data_attributes", + "path": [ + "data_attributes" + ] + }, + "description": "You can create a data attributes for a `contact` or a `company`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Submit a data event", + "request": { + "method": "POST", + "url": { + "raw": "/events", + "path": [ + "events" + ] + }, + "description": "\nYou will need an Access Token that has write permissions to send Events. Once you have a key you can submit events via POST to the Events resource, which is located at https://api.intercom.io/events, or you can send events using one of the client libraries. When working with the HTTP API directly a client should send the event with a `Content-Type` of `application/json`.\n\nWhen using the JavaScript API, [adding the code to your app](http://docs.intercom.io/configuring-Intercom/tracking-user-events-in-your-app) makes the Events API available. Once added, you can submit an event using the `trackEvent` method. This will associate the event with the Lead or currently logged-in user or logged-out visitor/lead and send it to Intercom. The final parameter is a map that can be used to send optional metadata about the event.\n\nWith the Ruby client you pass a hash describing the event to `Intercom::Event.create`, or call the `track_user` method directly on the current user object (e.g. `user.track_event`).\n\n**NB: For the JSON object types, please note that we do not currently support nested JSON structure.**\n\n| Type | Description | Example |\n| :-------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------- |\n| String | The value is a JSON String | `\"source\":\"desktop\"` |\n| Number | The value is a JSON Number | `\"load\": 3.67` |\n| Date | The key ends with the String `_date` and the value is a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time), assumed to be in the [UTC](http://en.wikipedia.org/wiki/Coordinated_Universal_Time) timezone. | `\"contact_date\": 1392036272` |\n| Link | The value is a HTTP or HTTPS URI. | `\"article\": \"https://example.org/ab1de.html\"` |\n| Rich Link | The value is a JSON object that contains `url` and `value` keys. | `\"article\": {\"url\": \"https://example.org/ab1de.html\", \"value\":\"the dude abides\"}` |\n| Monetary Amount | The value is a JSON object that contains `amount` and `currency` keys. The `amount` key is a positive integer representing the amount in cents. The price in the example to the right denotes €349.99. | `\"price\": {\"amount\": 34999, \"currency\": \"eur\"}` |\n\n**Lead Events**\n\nWhen submitting events for Leads, you will need to specify the Lead's `id`.\n\n**Metadata behaviour**\n\n- We currently limit the number of tracked metadata keys to 10 per event. Once the quota is reached, we ignore any further keys we receive. The first 10 metadata keys are determined by the order in which they are sent in with the event.\n- It is not possible to change the metadata keys once the event has been sent. A new event will need to be created with the new keys and you can archive the old one.\n- There might be up to 24 hrs delay when you send a new metadata for an existing event.\n\n**Event de-duplication**\n\nThe API may detect and ignore duplicate events. Each event is uniquely identified as a combination of the following data - the Workspace identifier, the Contact external identifier, the Data Event name and the Data Event created time. As a result, it is **strongly recommended** to send a second granularity Unix timestamp in the `created_at` field.\n\nDuplicated events are responded to using the normal `202 Accepted` code - an error is not thrown, however repeat requests will be counted against any rate limit that is in place.\n\n### HTTP API Responses\n\n- Successful responses to submitted events return `202 Accepted` with an empty body.\n- Unauthorised access will be rejected with a `401 Unauthorized` or `403 Forbidden` response code.\n- Events sent about users that cannot be found will return a `404 Not Found`.\n- Event lists containing duplicate events will have those duplicates ignored.\n- Server errors will return a `500` response code and may contain an error message in the body.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create event summaries", + "request": { + "method": "POST", + "url": { + "raw": "/events/summaries", + "path": [ + "events", + "summaries" + ] + }, + "description": "Create event summaries for a user. Event summaries are used to track the number of times an event has occurred, the first time it occurred and the last time it occurred.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create content data export", + "request": { + "method": "POST", + "url": { + "raw": "/export/content/data", + "path": [ + "export", + "content", + "data" + ] + }, + "description": "To create your export job, you need to send a `POST` request to the export endpoint `https://api.intercom.io/export/content/data`.\n\nThe only parameters you need to provide are the range of dates that you want exported.\n\n>🚧 Limit of one active job\n>\n> You can only have one active job per workspace. You will receive a HTTP status code of 429 with the message Exceeded rate limit of 1 pending message data export jobs if you attempt to create a second concurrent job.\n\n>❗️ Updated_at not included\n>\n> It should be noted that the timeframe only includes messages sent during the time period and not messages that were only updated during this period. For example, if a message was updated yesterday but sent two days ago, you would need to set the created_at_after date before the message was sent to include that in your retrieval job.\n\n>📘 Date ranges are inclusive\n>\n> Requesting data for 2018-06-01 until 2018-06-30 will get all data for those days including those specified - e.g. 2018-06-01 00:00:00 until 2018-06-30 23:59:99.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Cancel content data export", + "request": { + "method": "POST", + "url": { + "raw": "/export/cancel/{job_identifier}", + "path": [ + "export", + "cancel", + "{job_identifier}" + ] + }, + "description": "You can cancel your job", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a message", + "request": { + "method": "POST", + "url": { + "raw": "/messages", + "path": [ + "messages" + ] + }, + "description": "You can create a message that has been initiated by an admin. The conversation can be either an in-app message or an email.\n\n> 🚧 Sending for visitors\n>\n> There can be a short delay between when a contact is created and when a contact becomes available to be messaged through the API. A 404 Not Found error will be returned in this case.\n\nThis will return the Message model that has been created.\n\n> 🚧 Retrieving Associated Conversations\n>\n> As this is a message, there will be no conversation present until the contact responds. Once they do, you will have to search for a contact's conversations with the id of the message.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a news item", + "request": { + "method": "POST", + "url": { + "raw": "/news/news_items", + "path": [ + "news", + "news_items" + ] + }, + "description": "You can create a news item", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a phone Switch", + "request": { + "method": "POST", + "url": { + "raw": "/phone_call_redirects", + "path": [ + "phone_call_redirects" + ] + }, + "description": "You can use the API to deflect phone calls to the Intercom Messenger.\nCalling this endpoint will send an SMS with a link to the Messenger to the phone number specified.\n\nIf custom attributes are specified, they will be added to the user or lead's custom data attributes.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or update a tag, Tag or untag companies, Tag contacts", + "request": { + "method": "POST", + "url": { + "raw": "/tags", + "path": [ + "tags" + ] + }, + "description": "You can use this endpoint to perform the following operations:\n\n **1. Create a new tag:** You can create a new tag by passing in the tag name as specified in \"Create or Update Tag Request Payload\" described below.\n\n **2. Update an existing tag:** You can update an existing tag by passing the id of the tag as specified in \"Create or Update Tag Request Payload\" described below.\n\n **3. Tag Companies:** You can tag single company or a list of companies. You can tag a company by passing in the tag name and the company details as specified in \"Tag Company Request Payload\" described below. Also, if the tag doesn't exist then a new one will be created automatically.\n\n **4. Untag Companies:** You can untag a single company or a list of companies. You can untag a company by passing in the tag id and the company details as specified in \"Untag Company Request Payload\" described below.\n\n **5. Tag Multiple Users:** You can tag a list of users. You can tag the users by passing in the tag name and the user details as specified in \"Tag Users Request Payload\" described below.\n\nEach operation will return a tag object.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a new attribute for a ticket type", + "request": { + "method": "POST", + "url": { + "raw": "/ticket_types/{ticket_type_id}/attributes", + "path": [ + "ticket_types", + "{ticket_type_id}", + "attributes" + ] + }, + "description": "You can create a new attribute for a ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a ticket type", + "request": { + "method": "POST", + "url": { + "raw": "/ticket_types", + "path": [ + "ticket_types" + ] + }, + "description": "You can create a new ticket type.\n> 📘 Creating ticket types.\n>\n> Every ticket type will be created with two default attributes: _default_title_ and _default_description_.\n> For the `icon` propery, use an emoji from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/)\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Reply to a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets/{id}/reply", + "path": [ + "tickets", + "{id}", + "reply" + ] + }, + "description": "You can reply to a ticket with a message from an admin or on behalf of a contact, or with a note for admins.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets/{ticket_id}/tags", + "path": [ + "tickets", + "{ticket_id}", + "tags" + ] + }, + "description": "You can tag a specific ticket. This will return a tag object for the tag that was added to the ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets", + "path": [ + "tickets" + ] + }, + "description": "You can create a new ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search tickets", + "request": { + "method": "POST", + "url": { + "raw": "/tickets/search", + "path": [ + "tickets", + "search" + ] + }, + "description": "You can search for multiple tickets by the value of their attributes in order to fetch exactly which ones you want.\n\nTo search for tickets, you send a `POST` request to `https://api.intercom.io/tickets/search`.\n\nThis will accept a query object in the body which will define your filters.\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiples there can be:\n- There's a limit of max 2 nested filters\n- There's a limit of max 15 filters for each AND or OR group\n\n### Accepted Fields\n\nMost keys listed as part of the Ticket model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foobar\"`).\nThe `source.body` field is unique as the search will not be performed against the entire value, but instead against every element of the value separately. For example, when searching for a conversation with a `\"I need support\"` body - the query should contain a `=` operator with the value `\"support\"` for such conversation to be returned. A query with a `=` operator and a `\"need support\"` value will not yield a result.\n\n| Field | Type |\n| :---------------------------------------- | :--------------------------------------------------------------------------------------- |\n| id | String |\n| created_at | Date (UNIX timestamp) |\n| updated_at | Date (UNIX timestamp) |\n| title | String |\n| description | String |\n| category | String |\n| ticket_type_id | String |\n| contact_ids | String |\n| teammate_ids | String |\n| admin_assignee_id | String |\n| team_assignee_id | String |\n| open | Boolean |\n| state | String |\n| snoozed_until | Date (UNIX timestamp) |\n| ticket_attribute.{id} | String or Boolean or Date (UNIX timestamp) or Float or Integer |\n\n### Accepted Operators\n\n{% admonition type=\"info\" name=\"Searching based on `created_at`\" %}\n You may use the `<=` or `>=` operators to search by `created_at`.\n{% /admonition %}\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :----------------------------- | :----------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In Shortcut for `OR` queries Values most be in Array |\n| NIN | All | Not In Shortcut for `OR !` queries Values must be in Array |\n| > | Integer Date (UNIX Timestamp) | Greater (or equal) than |\n| < | Integer Date (UNIX Timestamp) | Lower (or equal) than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Convert a visitor", + "request": { + "method": "POST", + "url": { + "raw": "/visitors/convert", + "path": [ + "visitors", + "convert" + ] + }, + "description": "You can merge a Visitor to a Contact of role type `lead` or `user`.\n\n> 📘 What happens upon a visitor being converted?\n>\n> If the User exists, then the Visitor will be merged into it, the Visitor deleted and the User returned. If the User does not exist, the Visitor will be converted to a User, with the User identifiers replacing it's Visitor identifiers.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Set an admin to away", + "request": { + "method": "PUT", + "url": { + "raw": "/admins/{id}/away", + "path": [ + "admins", + "{id}", + "away" + ] + }, + "description": "You can set an Admin as away for the Inbox.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update an article", + "request": { + "method": "PUT", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can update the details of a single article by making a PUT request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a collection", + "request": { + "method": "PUT", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can update the details of a single collection by making a PUT request to `https://api.intercom.io/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a company", + "request": { + "method": "PUT", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can update a single company using the Intercom provisioned `id`.\n\n{% admonition type=\"warning\" name=\"Using `company_id`\" %}\n When updating a company it is not possible to update `company_id`. This can only be set once upon creation of the company.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a contact", + "request": { + "method": "PUT", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can update an existing contact (ie. user or lead).", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a conversation", + "request": { + "method": "PUT", + "url": { + "raw": "/conversations/{id}", + "path": [ + "conversations", + "{id}" + ] + }, + "description": "\nYou can update an existing conversation.\n\n{% admonition type=\"info\" name=\"Replying and other actions\" %}\nIf you want to reply to a coveration or take an action such as assign, unassign, open, close or snooze, take a look at the reply and manage endpoints.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a data attribute", + "request": { + "method": "PUT", + "url": { + "raw": "/data_attributes/{id}", + "path": [ + "data_attributes", + "{id}" + ] + }, + "description": "\nYou can update a data attribute.\n\n> 🚧 Updating the data type is not possible\n>\n> It is currently a dangerous action to execute changing a data attribute's type via the API. You will need to update the type via the UI instead.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a news item", + "request": { + "method": "PUT", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update an existing attribute for a ticket type", + "request": { + "method": "PUT", + "url": { + "raw": "/ticket_types/{ticket_type_id}/attributes/{id}", + "path": [ + "ticket_types", + "{ticket_type_id}", + "attributes", + "{id}" + ] + }, + "description": "You can update an existing attribute for a ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a ticket type", + "request": { + "method": "PUT", + "url": { + "raw": "/ticket_types/{id}", + "path": [ + "ticket_types", + "{id}" + ] + }, + "description": "\nYou can update a ticket type.\n\n> 📘 Updating a ticket type.\n>\n> For the `icon` propery, use an emoji from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/)\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a ticket", + "request": { + "method": "PUT", + "url": { + "raw": "/tickets/{id}", + "path": [ + "tickets", + "{id}" + ] + }, + "description": "You can update a ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a visitor", + "request": { + "method": "PUT", + "url": { + "raw": "/visitors", + "path": [ + "visitors" + ] + }, + "description": "Sending a PUT request to `/visitors` will result in an update of an existing Visitor.\n\n**Option 1.** You can update a visitor by passing in the `user_id` of the visitor in the Request body.\n\n**Option 2.** You can update a visitor by passing in the `id` of the visitor in the Request body.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete an article", + "request": { + "method": "DELETE", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can delete a single article by making a DELETE request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a collection", + "request": { + "method": "DELETE", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can delete a single collection by making a DELETE request to `https://api.intercom.io/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a company", + "request": { + "method": "DELETE", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can delete a single company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Detach a contact from a company", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/companies/{id}", + "path": [ + "contacts", + "{contact_id}", + "companies", + "{id}" + ] + }, + "description": "You can detach a company from a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove subscription from a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/subscriptions/{id}", + "path": [ + "contacts", + "{contact_id}", + "subscriptions", + "{id}" + ] + }, + "description": "You can remove a specific subscription from a contact. This will return a subscription type model for the subscription type that was removed from the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/tags/{id}", + "path": [ + "contacts", + "{contact_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific contact. This will return a tag object for the tag that was removed from the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can delete a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{conversation_id}/tags/{id}", + "path": [ + "conversations", + "{conversation_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific conversation. This will return a tag object for the tag that was removed from the conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Detach a contact from a group conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{conversation_id}/customers/{contact_id}", + "path": [ + "conversations", + "{conversation_id}", + "customers", + "{contact_id}" + ] + }, + "description": "You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.\n\n{% admonition type=\"warning\" name=\"Contacts without an email\" %}\nIf you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a news item", + "request": { + "method": "DELETE", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "You can delete a single news item.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete tag", + "request": { + "method": "DELETE", + "url": { + "raw": "/tags/{id}", + "path": [ + "tags", + "{id}" + ] + }, + "description": "You can delete the details of tags that are on the workspace by passing in the id.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a ticket", + "request": { + "method": "DELETE", + "url": { + "raw": "/tickets/{ticket_id}/tags/{id}", + "path": [ + "tickets", + "{ticket_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific ticket. This will return a tag object for the tag that was removed from the ticket.", + "header": [], + "body": {} + }, + "response": [] + } + ] + } + ], + "event": [], + "variable": [ + { + "id": "02ef4d2f-64eb-44be-a785-1605d37c5f6e", + "key": "https://api.intercom.io", + "value": "https://api.intercom.io", + "type": "string", + "description": "The production API server" + }, + { + "id": "690e673d-1be6-4b65-8f3c-ca509b5e659d", + "key": "https://api.eu.intercom.io", + "value": "https://api.eu.intercom.io", + "type": "string", + "description": "The european API server" + }, + { + "id": "03b27b7e-90c1-4bd7-a47f-1c80037dedd0", + "key": "https://api.au.intercom.io", + "value": "https://api.au.intercom.io", + "type": "string", + "description": "The australian API server" + }, + { + "id": "903f694f-4502-4e3d-b5cb-8be4ee785c2c", + "key": "bearerToken", + "value": "{{bearerToken}}", + "type": "string", + "description": "bearertokenvalue" + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "bearerToken", + "value": "{{bearerToken}}", + "type": "string" + }, + { + "key": "tokenType", + "value": "bearer", + "type": "string" + }, + { + "key": "addTokenTo", + "value": "header", + "type": "string" + } + ] + } +} \ No newline at end of file diff --git a/postman/2.11/README.md b/postman/2.11/README.md new file mode 100644 index 0000000..633f2e4 --- /dev/null +++ b/postman/2.11/README.md @@ -0,0 +1,15 @@ +# Intercom API 2.11 Postman Collection + +This directory contains the Postman collection for Intercom API version 2.11. + +## Files +- `intercom-api.postman_collection.json`: The main Postman collection +- `environment.json`: Environment variables for this version + +## Usage +1. Import the collection into Postman +2. Import the environment file +3. Set your access token in the environment variables +4. Start making API calls! + +Last updated: 2025-04-15T14:40:02.652Z diff --git a/postman/2.11/environment.json b/postman/2.11/environment.json new file mode 100644 index 0000000..98f9d3f --- /dev/null +++ b/postman/2.11/environment.json @@ -0,0 +1,18 @@ +{ + "id": "intercom-api-2.11-environment", + "name": "Intercom API 2.11 Environment", + "values": [ + { + "key": "baseUrl", + "value": "https://api.intercom.io", + "type": "default", + "enabled": true + }, + { + "key": "token", + "value": "YOUR_ACCESS_TOKEN", + "type": "secret", + "enabled": true + } + ] +} \ No newline at end of file diff --git a/postman/2.11/intercom-api.postman_collection.json b/postman/2.11/intercom-api.postman_collection.json new file mode 100644 index 0000000..4cbb469 --- /dev/null +++ b/postman/2.11/intercom-api.postman_collection.json @@ -0,0 +1,1934 @@ +{ + "info": { + "name": "Intercom API - 2.11", + "description": "The intercom API reference.", + "version": "2.11", + "contact": { + "name": "Intercom Developer Hub", + "url": "https://developers.intercom.com" + }, + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "updatedAt": "2025-04-15T14:40:02.651Z" + }, + "item": [ + { + "name": "General", + "item": [ + { + "name": "Identify an admin", + "request": { + "method": "GET", + "url": { + "raw": "/me", + "path": [ + "me" + ] + }, + "description": "\nYou can view the currently authorised admin along with the embedded app object (a \"workspace\" in legacy terminology).\n\n> 🚧 Single Sign On\n>\n> If you are building a custom \"Log in with Intercom\" flow for your site, and you call the `/me` endpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all activity logs", + "request": { + "method": "GET", + "url": { + "raw": "/admins/activity_logs", + "path": [ + "admins", + "activity_logs" + ] + }, + "description": "You can get a log of activities by all admins in an app.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all admins", + "request": { + "method": "GET", + "url": { + "raw": "/admins", + "path": [ + "admins" + ] + }, + "description": "You can fetch a list of admins for a given workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an admin", + "request": { + "method": "GET", + "url": { + "raw": "/admins/{admin_id}", + "path": [ + "admins", + "{admin_id}" + ] + }, + "description": "You can retrieve the details of a single admin.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all articles", + "request": { + "method": "GET", + "url": { + "raw": "/articles", + "path": [ + "articles" + ] + }, + "description": "You can fetch a list of all articles by making a GET request to `https://api.intercom.io/articles`.\n\n> 📘 How are the articles sorted and ordered?\n>\n> Articles will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated articles first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an article", + "request": { + "method": "GET", + "url": { + "raw": "/articles/{article_id}", + "path": [ + "articles", + "{article_id}" + ] + }, + "description": "You can fetch the details of a single article by making a GET request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search for articles", + "request": { + "method": "GET", + "url": { + "raw": "/articles/search", + "path": [ + "articles", + "search" + ] + }, + "description": "You can search for articles by making a GET request to `https://api.intercom.io/articles/search`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all collections", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/collections", + "path": [ + "help_center", + "collections" + ] + }, + "description": "You can fetch a list of all collections by making a GET request to `https://api.intercom.io/help_center/collections`.\n\nCollections will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated collections first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a collection", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/collections/{collection_id}", + "path": [ + "help_center", + "collections", + "{collection_id}" + ] + }, + "description": "You can fetch the details of a single collection by making a GET request to `https://api.intercom.io/help_center/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a Help Center", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/help_centers/{help_center_id}", + "path": [ + "help_center", + "help_centers", + "{help_center_id}" + ] + }, + "description": "You can fetch the details of a single Help Center by making a GET request to `https://api.intercom.io/help_center/help_center/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all Help Centers", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/help_centers", + "path": [ + "help_center", + "help_centers" + ] + }, + "description": "You can list all Help Centers by making a GET request to `https://api.intercom.io/help_center/help_centers`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies", + "path": [ + "companies" + ] + }, + "description": "You can fetch a single company by passing in `company_id` or `name`.\n\n `https://api.intercom.io/companies?name={name}`\n\n `https://api.intercom.io/companies?company_id={company_id}`\n\nYou can fetch all companies and filter by `segment_id` or `tag_id` as a query parameter.\n\n `https://api.intercom.io/companies?tag_id={tag_id}`\n\n `https://api.intercom.io/companies?segment_id={segment_id}`\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a company by ID", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{company_id}", + "path": [ + "companies", + "{company_id}" + ] + }, + "description": "You can fetch a single company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached contacts", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{company_id}/contacts", + "path": [ + "companies", + "{company_id}", + "contacts" + ] + }, + "description": "You can fetch a list of all contacts that belong to a company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached segments for companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{company_id}/segments", + "path": [ + "companies", + "{company_id}", + "segments" + ] + }, + "description": "You can fetch a list of all segments that belong to a company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Scroll over all companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies/scroll", + "path": [ + "companies", + "scroll" + ] + }, + "description": " The `list all companies` functionality does not work well for huge datasets, and can result in errors and performance problems when paging deeply. The Scroll API provides an efficient mechanism for iterating over all companies in a dataset.\n\n- Each app can only have 1 scroll open at a time. You'll get an error message if you try to have more than one open per app.\n- If the scroll isn't used for 1 minute, it expires and calls with that scroll param will fail\n- If the end of the scroll is reached, \"companies\" will be empty and the scroll parameter will expire\n\n{% admonition type=\"info\" name=\"Scroll Parameter\" %}\n You can get the first page of companies by simply sending a GET request to the scroll endpoint.\n For subsequent requests you will need to use the scroll parameter from the response.\n{% /admonition %}\n{% admonition type=\"danger\" name=\"Scroll network timeouts\" %}\n Since scroll is often used on large datasets network errors such as timeouts can be encountered. When this occurs you will see a HTTP 500 error with the following message:\n \"Request failed due to an internal network error. Please restart the scroll operation.\"\n If this happens, you will need to restart your scroll query: It is not possible to continue from a specific point when using scroll.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached companies for contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/companies", + "path": [ + "contacts", + "{contact_id}", + "companies" + ] + }, + "description": "You can fetch a list of companies that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all notes", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/notes", + "path": [ + "contacts", + "{contact_id}", + "notes" + ] + }, + "description": "You can fetch a list of notes that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached segments for contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/segments", + "path": [ + "contacts", + "{contact_id}", + "segments" + ] + }, + "description": "You can fetch a list of segments that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List subscriptions for a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/subscriptions", + "path": [ + "contacts", + "{contact_id}", + "subscriptions" + ] + }, + "description": "You can fetch a list of subscription types that are attached to a contact. These can be subscriptions that a user has 'opted-in' to or has 'opted-out' from, depending on the subscription type.\nThis will return a list of Subscription Type objects that the contact is associated with.\n\nThe data property will show a combined list of:\n\n 1.Opt-out subscription types that the user has opted-out from.\n 2.Opt-in subscription types that the user has opted-in to receiving.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List tags attached to a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/tags", + "path": [ + "contacts", + "{contact_id}", + "tags" + ] + }, + "description": "You can fetch a list of all tags that are attached to a specific contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Get a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}", + "path": [ + "contacts", + "{contact_id}" + ] + }, + "description": "You can fetch the details of a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all contacts", + "request": { + "method": "GET", + "url": { + "raw": "/contacts", + "path": [ + "contacts" + ] + }, + "description": "You can fetch a list of all contacts (ie. users or leads) in your workspace.\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `50` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all conversations", + "request": { + "method": "GET", + "url": { + "raw": "/conversations", + "path": [ + "conversations" + ] + }, + "description": "You can fetch a list of all conversations.\n\nYou can optionally request the result page size and the cursor to start after to fetch the result.\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a conversation", + "request": { + "method": "GET", + "url": { + "raw": "/conversations/{conversation_id}", + "path": [ + "conversations", + "{conversation_id}" + ] + }, + "description": "\nYou can fetch the details of a single conversation.\n\nThis will return a single Conversation model with all its conversation parts.\n\n{% admonition type=\"warning\" name=\"Hard limit of 500 parts\" %}\nThe maximum number of conversation parts that can be returned via the API is 500. If you have more than that we will return the 500 most recent conversation parts.\n{% /admonition %}\n\nFor AI agent conversation metadata, please note that you need to have the agent enabled in your workspace, which is a [paid feature](https://www.intercom.com/help/en/articles/8205718-fin-resolutions#h_97f8c2e671).\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all data attributes", + "request": { + "method": "GET", + "url": { + "raw": "/data_attributes", + "path": [ + "data_attributes" + ] + }, + "description": "You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all data events", + "request": { + "method": "GET", + "url": { + "raw": "/events", + "path": [ + "events" + ] + }, + "description": "\n> 🚧\n>\n> Please note that you can only 'list' events that are less than 90 days old. Event counts and summaries will still include your events older than 90 days but you cannot 'list' these events individually if they are older than 90 days\n\nThe events belonging to a customer can be listed by sending a GET request to `https://api.intercom.io/events` with a user or lead identifier along with a `type` parameter. The identifier parameter can be one of `user_id`, `email` or `intercom_user_id`. The `type` parameter value must be `user`.\n\n- `https://api.intercom.io/events?type=user&user_id={user_id}`\n- `https://api.intercom.io/events?type=user&email={email}`\n- `https://api.intercom.io/events?type=user&intercom_user_id={id}` (this call can be used to list leads)\n\nThe `email` parameter value should be [url encoded](http://en.wikipedia.org/wiki/Percent-encoding) when sending.\n\nYou can optionally define the result page size as well with the `per_page` parameter.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Show content data export", + "request": { + "method": "GET", + "url": { + "raw": "/export/content/data/{job_identifier}", + "path": [ + "export", + "content", + "data", + "{job_identifier}" + ] + }, + "description": "You can view the status of your job by sending a `GET` request to the URL\n`https://api.intercom.io/export/content/data/{job_identifier}` - the `{job_identifier}` is the value returned in the response when you first created the export job. More on it can be seen in the Export Job Model.\n\n> 🚧 Jobs expire after two days\n> All jobs that have completed processing (and are thus available to download from the provided URL) will have an expiry limit of two days from when the export ob completed. After this, the data will no longer be available.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Download content data export", + "request": { + "method": "GET", + "url": { + "raw": "/download/content/data/{job_identifier}", + "path": [ + "download", + "content", + "data", + "{job_identifier}" + ] + }, + "description": "When a job has a status of complete, and thus a filled download_url, you can download your data by hitting that provided URL, formatted like so: https://api.intercom.io/download/content/data/xyz1234.\n\nYour exported message data will be streamed continuously back down to you in a gzipped CSV format.\n\n> 📘 Octet header required\n>\n> You will have to specify the header Accept: `application/octet-stream` when hitting this endpoint.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all news items", + "request": { + "method": "GET", + "url": { + "raw": "/news/news_items", + "path": [ + "news", + "news_items" + ] + }, + "description": "You can fetch a list of all news items", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a news item", + "request": { + "method": "GET", + "url": { + "raw": "/news/news_items/{news_item_id}", + "path": [ + "news", + "news_items", + "{news_item_id}" + ] + }, + "description": "You can fetch the details of a single news item.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all live newsfeed items", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds/{newsfeed_id}/items", + "path": [ + "news", + "newsfeeds", + "{newsfeed_id}", + "items" + ] + }, + "description": "You can fetch a list of all news items that are live on a given newsfeed", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all newsfeeds", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds", + "path": [ + "news", + "newsfeeds" + ] + }, + "description": "You can fetch a list of all newsfeeds", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a newsfeed", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds/{newsfeed_id}", + "path": [ + "news", + "newsfeeds", + "{newsfeed_id}" + ] + }, + "description": "You can fetch the details of a single newsfeed", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a note", + "request": { + "method": "GET", + "url": { + "raw": "/notes/{note_id}", + "path": [ + "notes", + "{note_id}" + ] + }, + "description": "You can fetch the details of a single note.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all segments", + "request": { + "method": "GET", + "url": { + "raw": "/segments", + "path": [ + "segments" + ] + }, + "description": "You can fetch a list of all segments.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a segment", + "request": { + "method": "GET", + "url": { + "raw": "/segments/{segment_id}", + "path": [ + "segments", + "{segment_id}" + ] + }, + "description": "You can fetch the details of a single segment.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List subscription types", + "request": { + "method": "GET", + "url": { + "raw": "/subscription_types", + "path": [ + "subscription_types" + ] + }, + "description": "You can list all subscription types. A list of subscription type objects will be returned.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all tags", + "request": { + "method": "GET", + "url": { + "raw": "/tags", + "path": [ + "tags" + ] + }, + "description": "You can fetch a list of all tags for a given workspace.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Find a specific tag", + "request": { + "method": "GET", + "url": { + "raw": "/tags/{tag_id}", + "path": [ + "tags", + "{tag_id}" + ] + }, + "description": "You can fetch the details of tags that are on the workspace by their id.\nThis will return a tag object.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all teams", + "request": { + "method": "GET", + "url": { + "raw": "/teams", + "path": [ + "teams" + ] + }, + "description": "This will return a list of team objects for the App.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a team", + "request": { + "method": "GET", + "url": { + "raw": "/teams/{team_id}", + "path": [ + "teams", + "{team_id}" + ] + }, + "description": "You can fetch the details of a single team, containing an array of admins that belong to this team.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all ticket types", + "request": { + "method": "GET", + "url": { + "raw": "/ticket_types", + "path": [ + "ticket_types" + ] + }, + "description": "You can get a list of all ticket types for a workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a ticket type", + "request": { + "method": "GET", + "url": { + "raw": "/ticket_types/{ticket_type_id}", + "path": [ + "ticket_types", + "{ticket_type_id}" + ] + }, + "description": "You can fetch the details of a single ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a ticket", + "request": { + "method": "GET", + "url": { + "raw": "/tickets/{ticket_id}", + "path": [ + "tickets", + "{ticket_id}" + ] + }, + "description": "You can fetch the details of a single ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a visitor with User ID", + "request": { + "method": "GET", + "url": { + "raw": "/visitors", + "path": [ + "visitors" + ] + }, + "description": "You can fetch the details of a single visitor.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create an article", + "request": { + "method": "POST", + "url": { + "raw": "/articles", + "path": [ + "articles" + ] + }, + "description": "You can create a new article by making a POST request to `https://api.intercom.io/articles`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a collection", + "request": { + "method": "POST", + "url": { + "raw": "/help_center/collections", + "path": [ + "help_center", + "collections" + ] + }, + "description": "You can create a new collection by making a POST request to `https://api.intercom.io/help_center/collections.`", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or Update a company", + "request": { + "method": "POST", + "url": { + "raw": "/companies", + "path": [ + "companies" + ] + }, + "description": "You can create or update a company.\n\nCompanies will be only visible in Intercom when there is at least one associated user.\n\nCompanies are looked up via `company_id` in a `POST` request, if not found via `company_id`, the new company will be created, if found, that company will be updated.\n\n{% admonition type=\"warning\" name=\"Using `company_id`\" %}\n You can set a unique `company_id` value when creating a company. However, it is not possible to update `company_id`. Be sure to set a unique value once upon creation of the company.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all companies", + "request": { + "method": "POST", + "url": { + "raw": "/companies/list", + "path": [ + "companies", + "list" + ] + }, + "description": "You can list companies. The company list is sorted by the `last_request_at` field and by default is ordered descending, most recently requested first.\n\nNote that the API does not include companies who have no associated users in list responses.\n\nWhen using the Companies endpoint and the pages object to iterate through the returned companies, there is a limit of 10,000 Companies that can be returned. If you need to list or iterate on more than 10,000 Companies, please use the [Scroll API](https://developers.intercom.com/reference#iterating-over-all-companies).\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Attach a Contact to a Company", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/companies", + "path": [ + "contacts", + "{contact_id}", + "companies" + ] + }, + "description": "You can attach a company to a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a note", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/notes", + "path": [ + "contacts", + "{contact_id}", + "notes" + ] + }, + "description": "You can add a note to a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add subscription to a contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/subscriptions", + "path": [ + "contacts", + "{contact_id}", + "subscriptions" + ] + }, + "description": "You can add a specific subscription to a contact. In Intercom, we have two different subscription types based on user consent - opt-out and opt-in:\n\n 1.Attaching a contact to an opt-out subscription type will opt that user out from receiving messages related to that subscription type.\n\n 2.Attaching a contact to an opt-in subscription type will opt that user in to receiving messages related to that subscription type.\n\nThis will return a subscription type model for the subscription type that was added to the contact.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/tags", + "path": [ + "contacts", + "{contact_id}", + "tags" + ] + }, + "description": "You can tag a specific contact. This will return a tag object for the tag that was added to the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Merge a lead and a user", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/merge", + "path": [ + "contacts", + "merge" + ] + }, + "description": "You can merge a contact with a `role` of `lead` into a contact with a `role` of `user`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search contacts", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/search", + "path": [ + "contacts", + "search" + ] + }, + "description": "You can search for multiple contacts by the value of their attributes in order to fetch exactly who you want.\n\nTo search for contacts, you need to send a `POST` request to `https://api.intercom.io/contacts/search`.\n\nThis will accept a query object in the body which will define your filters in order to search for contacts.\n\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `50` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n### Contact Creation Delay\n\nIf a contact has recently been created, there is a possibility that it will not yet be available when searching. This means that it may not appear in the response. This delay can take a few minutes. If you need to be instantly notified it is recommended to use webhooks and iterate to see if they match your search filters.\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiple's there can be:\n* There's a limit of max 2 nested filters\n* There's a limit of max 15 filters for each AND or OR group\n\n### Searching for Timestamp Fields\n\nAll timestamp fields (created_at, updated_at etc.) are indexed as Dates for Contact Search queries; Datetime queries are not currently supported. This means you can only query for timestamp fields by day - not hour, minute or second.\nFor example, if you search for all Contacts with a created_at value greater (>) than 1577869200 (the UNIX timestamp for January 1st, 2020 9:00 AM), that will be interpreted as 1577836800 (January 1st, 2020 12:00 AM). The search results will then include Contacts created from January 2nd, 2020 12:00 AM onwards.\nIf you'd like to get contacts created on January 1st, 2020 you should search with a created_at value equal (=) to 1577836800 (January 1st, 2020 12:00 AM).\nThis behaviour applies only to timestamps used in search queries. The search results will still contain the full UNIX timestamp and be sorted accordingly.\n\n### Accepted Fields\n\nMost key listed as part of the Contacts Model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foorbar\"`).\n\n| Field | Type |\n| ---------------------------------- | ------------------------------ |\n| id | String |\n| role | String
Accepts user or lead |\n| name | String |\n| avatar | String |\n| owner_id | Integer |\n| email | String |\n| email_domain | String |\n| phone | String |\n| external_id | String |\n| created_at | Date (UNIX Timestamp) |\n| signed_up_at | Date (UNIX Timestamp) |\n| updated_at | Date (UNIX Timestamp) |\n| last_seen_at | Date (UNIX Timestamp) |\n| last_contacted_at | Date (UNIX Timestamp) |\n| last_replied_at | Date (UNIX Timestamp) |\n| last_email_opened_at | Date (UNIX Timestamp) |\n| last_email_clicked_at | Date (UNIX Timestamp) |\n| language_override | String |\n| browser | String |\n| browser_language | String |\n| os | String |\n| location.country | String |\n| location.region | String |\n| location.city | String |\n| unsubscribed_from_emails | Boolean |\n| marked_email_as_spam | Boolean |\n| has_hard_bounced | Boolean |\n| ios_last_seen_at | Date (UNIX Timestamp) |\n| ios_app_version | String |\n| ios_device | String |\n| ios_app_device | String |\n| ios_os_version | String |\n| ios_app_name | String |\n| ios_sdk_version | String |\n| android_last_seen_at | Date (UNIX Timestamp) |\n| android_app_version | String |\n| android_device | String |\n| android_app_name | String |\n| andoid_sdk_version | String |\n| segment_id | String |\n| tag_id | String |\n| custom_attributes.{attribute_name} | String |\n\n### Accepted Operators\n\n{% admonition type=\"warning\" name=\"Searching based on `created_at`\" %}\n You cannot use the `<=` or `>=` operators to search by `created_at`.\n{% /admonition %}\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :------------------------------- | :--------------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In
Shortcut for `OR` queries
Values must be in Array |\n| NIN | All | Not In
Shortcut for `OR !` queries
Values must be in Array |\n| > | Integer
Date (UNIX Timestamp) | Greater than |\n| < | Integer
Date (UNIX Timestamp) | Lower than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts", + "path": [ + "contacts" + ] + }, + "description": "You can create a new contact (ie. user or lead).", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Archive contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/archive", + "path": [ + "contacts", + "{contact_id}", + "archive" + ] + }, + "description": "You can archive a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Unarchive contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/unarchive", + "path": [ + "contacts", + "{contact_id}", + "unarchive" + ] + }, + "description": "You can unarchive a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{conversation_id}/tags", + "path": [ + "conversations", + "{conversation_id}", + "tags" + ] + }, + "description": "You can tag a specific conversation. This will return a tag object for the tag that was added to the conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Creates a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations", + "path": [ + "conversations" + ] + }, + "description": "You can create a conversation that has been initiated by a contact (ie. user or lead).\nThe conversation can be an in-app message only.\n\n{% admonition type=\"info\" name=\"Sending for visitors\" %}\nYou can also send a message from a visitor by specifying their `user_id` or `id` value in the `from` field, along with a `type` field value of `contact`.\nThis visitor will be automatically converted to a contact with a lead role once the conversation is created.\n{% /admonition %}\n\nThis will return the Message model that has been created.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search conversations", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/search", + "path": [ + "conversations", + "search" + ] + }, + "description": "You can search for multiple conversations by the value of their attributes in order to fetch exactly which ones you want.\n\nTo search for conversations, you need to send a `POST` request to `https://api.intercom.io/conversations/search`.\n\nThis will accept a query object in the body which will define your filters in order to search for conversations.\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `20` results per page and maximum is `150`.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiple's there can be:\n- There's a limit of max 2 nested filters\n- There's a limit of max 15 filters for each AND or OR group\n\n### Accepted Fields\n\nMost keys listed as part of the The conversation model is searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foorbar\"`).\nThe `source.body` field is unique as the search will not be performed against the entire value, but instead against every element of the value separately. For example, when searching for a conversation with a `\"I need support\"` body - the query should contain a `=` operator with the value `\"support\"` for such conversation to be returned. A query with a `=` operator and a `\"need support\"` value will not yield a result.\n\n| Field | Type |\n| :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------- |\n| id | String |\n| created_at | Date (UNIX timestamp) |\n| updated_at | Date (UNIX timestamp) |\n| source.type | String
Accepted fields are `conversation`, `email`, `facebook`, `instagram`, `phone_call`, `phone_switch`, `push`, `sms`, `twitter` and `whatsapp`. |\n| source.id | String |\n| source.delivered_as | String |\n| source.subject | String |\n| source.body | String |\n| source.author.id | String |\n| source.author.type | String |\n| source.author.name | String |\n| source.author.email | String |\n| source.url | String |\n| contact_ids | String |\n| teammate_ids | String |\n| admin_assignee_id | String |\n| team_assignee_id | String |\n| channel_initiated | String |\n| open | Boolean |\n| read | Boolean |\n| state | String |\n| waiting_since | Date (UNIX timestamp) |\n| snoozed_until | Date (UNIX timestamp) |\n| tag_ids | String |\n| priority | String |\n| statistics.time_to_assignment | Integer |\n| statistics.time_to_admin_reply | Integer |\n| statistics.time_to_first_close | Integer |\n| statistics.time_to_last_close | Integer |\n| statistics.median_time_to_reply | Integer |\n| statistics.first_contact_reply_at | Date (UNIX timestamp) |\n| statistics.first_assignment_at | Date (UNIX timestamp) |\n| statistics.first_admin_reply_at | Date (UNIX timestamp) |\n| statistics.first_close_at | Date (UNIX timestamp) |\n| statistics.last_assignment_at | Date (UNIX timestamp) |\n| statistics.last_assignment_admin_reply_at | Date (UNIX timestamp) |\n| statistics.last_contact_reply_at | Date (UNIX timestamp) |\n| statistics.last_admin_reply_at | Date (UNIX timestamp) |\n| statistics.last_close_at | Date (UNIX timestamp) |\n| statistics.last_closed_by_id | String |\n| statistics.count_reopens | Integer |\n| statistics.count_assignments | Integer |\n| statistics.count_conversation_parts | Integer |\n| conversation_rating.requested_at | Date (UNIX timestamp) |\n| conversation_rating.replied_at | Date (UNIX timestamp) |\n| conversation_rating.score | Integer |\n| conversation_rating.remark | String |\n| conversation_rating.contact_id | String |\n| conversation_rating.admin_d | String |\n| ai_agent_participated | Boolean |\n| ai_agent.resolution_state | String |\n| ai_agent.last_answer_type | String |\n| ai_agent.rating | Integer |\n| ai_agent.rating_remark | String |\n| ai_agent.source_type | String |\n| ai_agent.source_title | String |\n\n### Accepted Operators\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :----------------------------- | :----------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In Shortcut for `OR` queries Values most be in Array |\n| NIN | All | Not In Shortcut for `OR !` queries Values must be in Array |\n| > | Integer Date (UNIX Timestamp) | Greater (or equal) than |\n| < | Integer Date (UNIX Timestamp) | Lower (or equal) than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Reply to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{conversation_id}/reply", + "path": [ + "conversations", + "{conversation_id}", + "reply" + ] + }, + "description": "You can reply to a conversation with a message from an admin or on behalf of a contact, or with a note for admins.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Manage a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{conversation_id}/parts", + "path": [ + "conversations", + "{conversation_id}", + "parts" + ] + }, + "description": "For managing conversations you can:\n- Close a conversation\n- Snooze a conversation to reopen on a future date\n- Open a conversation which is `snoozed` or `closed`\n- Assign a conversation to an admin and/or team.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Run Assignment Rules on a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{conversation_id}/run_assignment_rules", + "path": [ + "conversations", + "{conversation_id}", + "run_assignment_rules" + ] + }, + "description": "{% admonition type=\"danger\" name=\"Deprecation of Run Assignment Rules\" %}\nRun assignment rules is now deprecated in version 2.12 and future versions and will be permanently removed on December 31, 2026. After this date, any requests made to this endpoint will fail.\n{% /admonition %}\nYou can let a conversation be automatically assigned following assignment rules.\n{% admonition type=\"warning\" name=\"When using workflows\" %}\nIt is not possible to use this endpoint with Workflows.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Attach a contact to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{conversation_id}/customers", + "path": [ + "conversations", + "{conversation_id}", + "customers" + ] + }, + "description": "You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.\n\n{% admonition type=\"warning\" name=\"Contacts without an email\" %}\nIf you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Redact a conversation part", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/redact", + "path": [ + "conversations", + "redact" + ] + }, + "description": "You can redact a conversation part or the source message of a conversation (as seen in the source object).\n\n{% admonition type=\"info\" name=\"Redacting parts and messages\" %}\nIf you are redacting a conversation part, it must have a `body`. If you are redacting a source message, it must have been created by a contact. We will return a `conversation_part_not_redactable` error if these criteria are not met.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Convert a conversation to a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{conversation_id}/convert", + "path": [ + "conversations", + "{conversation_id}", + "convert" + ] + }, + "description": "You can convert a conversation to a ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a data attribute", + "request": { + "method": "POST", + "url": { + "raw": "/data_attributes", + "path": [ + "data_attributes" + ] + }, + "description": "You can create a data attributes for a `contact` or a `company`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Submit a data event", + "request": { + "method": "POST", + "url": { + "raw": "/events", + "path": [ + "events" + ] + }, + "description": "\nYou will need an Access Token that has write permissions to send Events. Once you have a key you can submit events via POST to the Events resource, which is located at https://api.intercom.io/events, or you can send events using one of the client libraries. When working with the HTTP API directly a client should send the event with a `Content-Type` of `application/json`.\n\nWhen using the JavaScript API, [adding the code to your app](http://docs.intercom.io/configuring-Intercom/tracking-user-events-in-your-app) makes the Events API available. Once added, you can submit an event using the `trackEvent` method. This will associate the event with the Lead or currently logged-in user or logged-out visitor/lead and send it to Intercom. The final parameter is a map that can be used to send optional metadata about the event.\n\nWith the Ruby client you pass a hash describing the event to `Intercom::Event.create`, or call the `track_user` method directly on the current user object (e.g. `user.track_event`).\n\n**NB: For the JSON object types, please note that we do not currently support nested JSON structure.**\n\n| Type | Description | Example |\n| :-------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------- |\n| String | The value is a JSON String | `\"source\":\"desktop\"` |\n| Number | The value is a JSON Number | `\"load\": 3.67` |\n| Date | The key ends with the String `_date` and the value is a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time), assumed to be in the [UTC](http://en.wikipedia.org/wiki/Coordinated_Universal_Time) timezone. | `\"contact_date\": 1392036272` |\n| Link | The value is a HTTP or HTTPS URI. | `\"article\": \"https://example.org/ab1de.html\"` |\n| Rich Link | The value is a JSON object that contains `url` and `value` keys. | `\"article\": {\"url\": \"https://example.org/ab1de.html\", \"value\":\"the dude abides\"}` |\n| Monetary Amount | The value is a JSON object that contains `amount` and `currency` keys. The `amount` key is a positive integer representing the amount in cents. The price in the example to the right denotes €349.99. | `\"price\": {\"amount\": 34999, \"currency\": \"eur\"}` |\n\n**Lead Events**\n\nWhen submitting events for Leads, you will need to specify the Lead's `id`.\n\n**Metadata behaviour**\n\n- We currently limit the number of tracked metadata keys to 10 per event. Once the quota is reached, we ignore any further keys we receive. The first 10 metadata keys are determined by the order in which they are sent in with the event.\n- It is not possible to change the metadata keys once the event has been sent. A new event will need to be created with the new keys and you can archive the old one.\n- There might be up to 24 hrs delay when you send a new metadata for an existing event.\n\n**Event de-duplication**\n\nThe API may detect and ignore duplicate events. Each event is uniquely identified as a combination of the following data - the Workspace identifier, the Contact external identifier, the Data Event name and the Data Event created time. As a result, it is **strongly recommended** to send a second granularity Unix timestamp in the `created_at` field.\n\nDuplicated events are responded to using the normal `202 Accepted` code - an error is not thrown, however repeat requests will be counted against any rate limit that is in place.\n\n### HTTP API Responses\n\n- Successful responses to submitted events return `202 Accepted` with an empty body.\n- Unauthorised access will be rejected with a `401 Unauthorized` or `403 Forbidden` response code.\n- Events sent about users that cannot be found will return a `404 Not Found`.\n- Event lists containing duplicate events will have those duplicates ignored.\n- Server errors will return a `500` response code and may contain an error message in the body.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create event summaries", + "request": { + "method": "POST", + "url": { + "raw": "/events/summaries", + "path": [ + "events", + "summaries" + ] + }, + "description": "Create event summaries for a user. Event summaries are used to track the number of times an event has occurred, the first time it occurred and the last time it occurred.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create content data export", + "request": { + "method": "POST", + "url": { + "raw": "/export/content/data", + "path": [ + "export", + "content", + "data" + ] + }, + "description": "To create your export job, you need to send a `POST` request to the export endpoint `https://api.intercom.io/export/content/data`.\n\nThe only parameters you need to provide are the range of dates that you want exported.\n\n>🚧 Limit of one active job\n>\n> You can only have one active job per workspace. You will receive a HTTP status code of 429 with the message Exceeded rate limit of 1 pending message data export jobs if you attempt to create a second concurrent job.\n\n>❗️ Updated_at not included\n>\n> It should be noted that the timeframe only includes messages sent during the time period and not messages that were only updated during this period. For example, if a message was updated yesterday but sent two days ago, you would need to set the created_at_after date before the message was sent to include that in your retrieval job.\n\n>📘 Date ranges are inclusive\n>\n> Requesting data for 2018-06-01 until 2018-06-30 will get all data for those days including those specified - e.g. 2018-06-01 00:00:00 until 2018-06-30 23:59:99.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Cancel content data export", + "request": { + "method": "POST", + "url": { + "raw": "/export/cancel/{job_identifier}", + "path": [ + "export", + "cancel", + "{job_identifier}" + ] + }, + "description": "You can cancel your job", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a message", + "request": { + "method": "POST", + "url": { + "raw": "/messages", + "path": [ + "messages" + ] + }, + "description": "You can create a message that has been initiated by an admin. The conversation can be either an in-app message or an email.\n\n> 🚧 Sending for visitors\n>\n> There can be a short delay between when a contact is created and when a contact becomes available to be messaged through the API. A 404 Not Found error will be returned in this case.\n\nThis will return the Message model that has been created.\n\n> 🚧 Retrieving Associated Conversations\n>\n> As this is a message, there will be no conversation present until the contact responds. Once they do, you will have to search for a contact's conversations with the id of the message.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a news item", + "request": { + "method": "POST", + "url": { + "raw": "/news/news_items", + "path": [ + "news", + "news_items" + ] + }, + "description": "You can create a news item", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a phone Switch", + "request": { + "method": "POST", + "url": { + "raw": "/phone_call_redirects", + "path": [ + "phone_call_redirects" + ] + }, + "description": "You can use the API to deflect phone calls to the Intercom Messenger.\nCalling this endpoint will send an SMS with a link to the Messenger to the phone number specified.\n\nIf custom attributes are specified, they will be added to the user or lead's custom data attributes.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or update a tag, Tag or untag companies, Tag contacts", + "request": { + "method": "POST", + "url": { + "raw": "/tags", + "path": [ + "tags" + ] + }, + "description": "You can use this endpoint to perform the following operations:\n\n **1. Create a new tag:** You can create a new tag by passing in the tag name as specified in \"Create or Update Tag Request Payload\" described below.\n\n **2. Update an existing tag:** You can update an existing tag by passing the id of the tag as specified in \"Create or Update Tag Request Payload\" described below.\n\n **3. Tag Companies:** You can tag single company or a list of companies. You can tag a company by passing in the tag name and the company details as specified in \"Tag Company Request Payload\" described below. Also, if the tag doesn't exist then a new one will be created automatically.\n\n **4. Untag Companies:** You can untag a single company or a list of companies. You can untag a company by passing in the tag id and the company details as specified in \"Untag Company Request Payload\" described below.\n\n **5. Tag Multiple Users:** You can tag a list of users. You can tag the users by passing in the tag name and the user details as specified in \"Tag Users Request Payload\" described below.\n\nEach operation will return a tag object.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a new attribute for a ticket type", + "request": { + "method": "POST", + "url": { + "raw": "/ticket_types/{ticket_type_id}/attributes", + "path": [ + "ticket_types", + "{ticket_type_id}", + "attributes" + ] + }, + "description": "You can create a new attribute for a ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a ticket type", + "request": { + "method": "POST", + "url": { + "raw": "/ticket_types", + "path": [ + "ticket_types" + ] + }, + "description": "You can create a new ticket type.\n> 📘 Creating ticket types.\n>\n> Every ticket type will be created with two default attributes: _default_title_ and _default_description_.\n> For the `icon` propery, use an emoji from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/)\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Reply to a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets/{ticket_id}/reply", + "path": [ + "tickets", + "{ticket_id}", + "reply" + ] + }, + "description": "You can reply to a ticket with a message from an admin or on behalf of a contact, or with a note for admins.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets/{ticket_id}/tags", + "path": [ + "tickets", + "{ticket_id}", + "tags" + ] + }, + "description": "You can tag a specific ticket. This will return a tag object for the tag that was added to the ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets", + "path": [ + "tickets" + ] + }, + "description": "You can create a new ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search tickets", + "request": { + "method": "POST", + "url": { + "raw": "/tickets/search", + "path": [ + "tickets", + "search" + ] + }, + "description": "You can search for multiple tickets by the value of their attributes in order to fetch exactly which ones you want.\n\nTo search for tickets, you send a `POST` request to `https://api.intercom.io/tickets/search`.\n\nThis will accept a query object in the body which will define your filters.\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiples there can be:\n- There's a limit of max 2 nested filters\n- There's a limit of max 15 filters for each AND or OR group\n\n### Accepted Fields\n\nMost keys listed as part of the Ticket model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foobar\"`).\n\n| Field | Type |\n| :---------------------------------------- | :--------------------------------------------------------------------------------------- |\n| id | String |\n| created_at | Date (UNIX timestamp) |\n| updated_at | Date (UNIX timestamp) |\n| _default_title_ | String |\n| _default_description_ | String |\n| category | String |\n| ticket_type_id | String |\n| contact_ids | String |\n| teammate_ids | String |\n| admin_assignee_id | String |\n| team_assignee_id | String |\n| open | Boolean |\n| state | String |\n| snoozed_until | Date (UNIX timestamp) |\n| ticket_attribute.{id} | String or Boolean or Date (UNIX timestamp) or Float or Integer |\n\n### Accepted Operators\n\n{% admonition type=\"info\" name=\"Searching based on `created_at`\" %}\n You may use the `<=` or `>=` operators to search by `created_at`.\n{% /admonition %}\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :----------------------------- | :----------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In Shortcut for `OR` queries Values most be in Array |\n| NIN | All | Not In Shortcut for `OR !` queries Values must be in Array |\n| > | Integer Date (UNIX Timestamp) | Greater (or equal) than |\n| < | Integer Date (UNIX Timestamp) | Lower (or equal) than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Convert a visitor", + "request": { + "method": "POST", + "url": { + "raw": "/visitors/convert", + "path": [ + "visitors", + "convert" + ] + }, + "description": "You can merge a Visitor to a Contact of role type `lead` or `user`.\n\n> 📘 What happens upon a visitor being converted?\n>\n> If the User exists, then the Visitor will be merged into it, the Visitor deleted and the User returned. If the User does not exist, the Visitor will be converted to a User, with the User identifiers replacing it's Visitor identifiers.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Set an admin to away", + "request": { + "method": "PUT", + "url": { + "raw": "/admins/{admin_id}/away", + "path": [ + "admins", + "{admin_id}", + "away" + ] + }, + "description": "You can set an Admin as away for the Inbox.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update an article", + "request": { + "method": "PUT", + "url": { + "raw": "/articles/{article_id}", + "path": [ + "articles", + "{article_id}" + ] + }, + "description": "You can update the details of a single article by making a PUT request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a collection", + "request": { + "method": "PUT", + "url": { + "raw": "/help_center/collections/{collection_id}", + "path": [ + "help_center", + "collections", + "{collection_id}" + ] + }, + "description": "You can update the details of a single collection by making a PUT request to `https://api.intercom.io/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a company", + "request": { + "method": "PUT", + "url": { + "raw": "/companies/{company_id}", + "path": [ + "companies", + "{company_id}" + ] + }, + "description": "You can update a single company using the Intercom provisioned `id`.\n\n{% admonition type=\"warning\" name=\"Using `company_id`\" %}\n When updating a company it is not possible to update `company_id`. This can only be set once upon creation of the company.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a contact", + "request": { + "method": "PUT", + "url": { + "raw": "/contacts/{contact_id}", + "path": [ + "contacts", + "{contact_id}" + ] + }, + "description": "You can update an existing contact (ie. user or lead).", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a conversation", + "request": { + "method": "PUT", + "url": { + "raw": "/conversations/{conversation_id}", + "path": [ + "conversations", + "{conversation_id}" + ] + }, + "description": "\nYou can update an existing conversation.\n\n{% admonition type=\"info\" name=\"Replying and other actions\" %}\nIf you want to reply to a coveration or take an action such as assign, unassign, open, close or snooze, take a look at the reply and manage endpoints.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a data attribute", + "request": { + "method": "PUT", + "url": { + "raw": "/data_attributes/{data_attribute_id}", + "path": [ + "data_attributes", + "{data_attribute_id}" + ] + }, + "description": "\nYou can update a data attribute.\n\n> 🚧 Updating the data type is not possible\n>\n> It is currently a dangerous action to execute changing a data attribute's type via the API. You will need to update the type via the UI instead.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a news item", + "request": { + "method": "PUT", + "url": { + "raw": "/news/news_items/{news_item_id}", + "path": [ + "news", + "news_items", + "{news_item_id}" + ] + }, + "description": "", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update an existing attribute for a ticket type", + "request": { + "method": "PUT", + "url": { + "raw": "/ticket_types/{ticket_type_id}/attributes/{attribute_id}", + "path": [ + "ticket_types", + "{ticket_type_id}", + "attributes", + "{attribute_id}" + ] + }, + "description": "You can update an existing attribute for a ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a ticket type", + "request": { + "method": "PUT", + "url": { + "raw": "/ticket_types/{ticket_type_id}", + "path": [ + "ticket_types", + "{ticket_type_id}" + ] + }, + "description": "\nYou can update a ticket type.\n\n> 📘 Updating a ticket type.\n>\n> For the `icon` propery, use an emoji from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/)\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a ticket", + "request": { + "method": "PUT", + "url": { + "raw": "/tickets/{ticket_id}", + "path": [ + "tickets", + "{ticket_id}" + ] + }, + "description": "You can update a ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a visitor", + "request": { + "method": "PUT", + "url": { + "raw": "/visitors", + "path": [ + "visitors" + ] + }, + "description": "Sending a PUT request to `/visitors` will result in an update of an existing Visitor.\n\n**Option 1.** You can update a visitor by passing in the `user_id` of the visitor in the Request body.\n\n**Option 2.** You can update a visitor by passing in the `id` of the visitor in the Request body.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete an article", + "request": { + "method": "DELETE", + "url": { + "raw": "/articles/{article_id}", + "path": [ + "articles", + "{article_id}" + ] + }, + "description": "You can delete a single article by making a DELETE request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a collection", + "request": { + "method": "DELETE", + "url": { + "raw": "/help_center/collections/{collection_id}", + "path": [ + "help_center", + "collections", + "{collection_id}" + ] + }, + "description": "You can delete a single collection by making a DELETE request to `https://api.intercom.io/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a company", + "request": { + "method": "DELETE", + "url": { + "raw": "/companies/{company_id}", + "path": [ + "companies", + "{company_id}" + ] + }, + "description": "You can delete a single company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Detach a contact from a company", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/companies/{company_id}", + "path": [ + "contacts", + "{contact_id}", + "companies", + "{company_id}" + ] + }, + "description": "You can detach a company from a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove subscription from a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/subscriptions/{subscription_id}", + "path": [ + "contacts", + "{contact_id}", + "subscriptions", + "{subscription_id}" + ] + }, + "description": "You can remove a specific subscription from a contact. This will return a subscription type model for the subscription type that was removed from the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/tags/{tag_id}", + "path": [ + "contacts", + "{contact_id}", + "tags", + "{tag_id}" + ] + }, + "description": "You can remove tag from a specific contact. This will return a tag object for the tag that was removed from the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}", + "path": [ + "contacts", + "{contact_id}" + ] + }, + "description": "You can delete a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{conversation_id}/tags/{tag_id}", + "path": [ + "conversations", + "{conversation_id}", + "tags", + "{tag_id}" + ] + }, + "description": "You can remove tag from a specific conversation. This will return a tag object for the tag that was removed from the conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Detach a contact from a group conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{conversation_id}/customers/{contact_id}", + "path": [ + "conversations", + "{conversation_id}", + "customers", + "{contact_id}" + ] + }, + "description": "You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.\n\n{% admonition type=\"warning\" name=\"Contacts without an email\" %}\nIf you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a news item", + "request": { + "method": "DELETE", + "url": { + "raw": "/news/news_items/{news_item_id}", + "path": [ + "news", + "news_items", + "{news_item_id}" + ] + }, + "description": "You can delete a single news item.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete tag", + "request": { + "method": "DELETE", + "url": { + "raw": "/tags/{tag_id}", + "path": [ + "tags", + "{tag_id}" + ] + }, + "description": "You can delete the details of tags that are on the workspace by passing in the id.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a ticket", + "request": { + "method": "DELETE", + "url": { + "raw": "/tickets/{ticket_id}/tags/{tag_id}", + "path": [ + "tickets", + "{ticket_id}", + "tags", + "{tag_id}" + ] + }, + "description": "You can remove tag from a specific ticket. This will return a tag object for the tag that was removed from the ticket.", + "header": [], + "body": {} + }, + "response": [] + } + ] + } + ], + "event": [], + "variable": [ + { + "id": "7eb39327-d036-4126-9f9f-a8b6df1432f7", + "key": "https://api.intercom.io", + "value": "https://api.intercom.io", + "type": "string", + "description": "The production API server" + }, + { + "id": "468c1f33-6f74-4305-83db-78167eae312b", + "key": "https://api.eu.intercom.io", + "value": "https://api.eu.intercom.io", + "type": "string", + "description": "The european API server" + }, + { + "id": "58514801-c6c1-4e16-9ae3-a0ff7e4b346d", + "key": "https://api.au.intercom.io", + "value": "https://api.au.intercom.io", + "type": "string", + "description": "The australian API server" + }, + { + "id": "f1c85242-77d8-4df3-ad18-bef5eaa5c26a", + "key": "bearerToken", + "value": "{{bearerToken}}", + "type": "string", + "description": "bearertokenvalue" + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "bearerToken", + "value": "{{bearerToken}}", + "type": "string" + }, + { + "key": "tokenType", + "value": "bearer", + "type": "string" + }, + { + "key": "addTokenTo", + "value": "header", + "type": "string" + } + ] + } +} \ No newline at end of file diff --git a/postman/2.12/README.md b/postman/2.12/README.md new file mode 100644 index 0000000..42b0887 --- /dev/null +++ b/postman/2.12/README.md @@ -0,0 +1,15 @@ +# Intercom API 2.12 Postman Collection + +This directory contains the Postman collection for Intercom API version 2.12. + +## Files +- `intercom-api.postman_collection.json`: The main Postman collection +- `environment.json`: Environment variables for this version + +## Usage +1. Import the collection into Postman +2. Import the environment file +3. Set your access token in the environment variables +4. Start making API calls! + +Last updated: 2025-04-15T14:40:02.870Z diff --git a/postman/2.12/environment.json b/postman/2.12/environment.json new file mode 100644 index 0000000..a14e0a8 --- /dev/null +++ b/postman/2.12/environment.json @@ -0,0 +1,18 @@ +{ + "id": "intercom-api-2.12-environment", + "name": "Intercom API 2.12 Environment", + "values": [ + { + "key": "baseUrl", + "value": "https://api.intercom.io", + "type": "default", + "enabled": true + }, + { + "key": "token", + "value": "YOUR_ACCESS_TOKEN", + "type": "secret", + "enabled": true + } + ] +} \ No newline at end of file diff --git a/postman/2.12/intercom-api.postman_collection.json b/postman/2.12/intercom-api.postman_collection.json new file mode 100644 index 0000000..d388582 --- /dev/null +++ b/postman/2.12/intercom-api.postman_collection.json @@ -0,0 +1,2108 @@ +{ + "info": { + "name": "Intercom API - 2.12", + "description": "The Intercom API reference.", + "version": "2.12", + "contact": { + "name": "Intercom Developer Hub", + "url": "https://developers.intercom.com" + }, + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "updatedAt": "2025-04-15T14:40:02.869Z" + }, + "item": [ + { + "name": "General", + "item": [ + { + "name": "Identify an admin", + "request": { + "method": "GET", + "url": { + "raw": "/me", + "path": [ + "me" + ] + }, + "description": "\nYou can view the currently authorised admin along with the embedded app object (a \"workspace\" in legacy terminology).\n\n> 🚧 Single Sign On\n>\n> If you are building a custom \"Log in with Intercom\" flow for your site, and you call the `/me` endpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all activity logs", + "request": { + "method": "GET", + "url": { + "raw": "/admins/activity_logs", + "path": [ + "admins", + "activity_logs" + ] + }, + "description": "You can get a log of activities by all admins in an app.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all admins", + "request": { + "method": "GET", + "url": { + "raw": "/admins", + "path": [ + "admins" + ] + }, + "description": "You can fetch a list of admins for a given workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an admin", + "request": { + "method": "GET", + "url": { + "raw": "/admins/{id}", + "path": [ + "admins", + "{id}" + ] + }, + "description": "You can retrieve the details of a single admin.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List content import sources", + "request": { + "method": "GET", + "url": { + "raw": "/ai/content_import_sources", + "path": [ + "ai", + "content_import_sources" + ] + }, + "description": "You can retrieve a list of all content import sources for a workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a content import source", + "request": { + "method": "GET", + "url": { + "raw": "/ai/content_import_sources/{id}", + "path": [ + "ai", + "content_import_sources", + "{id}" + ] + }, + "description": "", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List external pages", + "request": { + "method": "GET", + "url": { + "raw": "/ai/external_pages", + "path": [ + "ai", + "external_pages" + ] + }, + "description": "You can retrieve a list of all external pages for a workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an external page", + "request": { + "method": "GET", + "url": { + "raw": "/ai/external_pages/{id}", + "path": [ + "ai", + "external_pages", + "{id}" + ] + }, + "description": "You can retrieve an external page.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all articles", + "request": { + "method": "GET", + "url": { + "raw": "/articles", + "path": [ + "articles" + ] + }, + "description": "You can fetch a list of all articles by making a GET request to `https://api.intercom.io/articles`.\n\n> 📘 How are the articles sorted and ordered?\n>\n> Articles will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated articles first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an article", + "request": { + "method": "GET", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can fetch the details of a single article by making a GET request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search for articles", + "request": { + "method": "GET", + "url": { + "raw": "/articles/search", + "path": [ + "articles", + "search" + ] + }, + "description": "You can search for articles by making a GET request to `https://api.intercom.io/articles/search`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all collections", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/collections", + "path": [ + "help_center", + "collections" + ] + }, + "description": "You can fetch a list of all collections by making a GET request to `https://api.intercom.io/help_center/collections`.\n\nCollections will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated collections first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a collection", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can fetch the details of a single collection by making a GET request to `https://api.intercom.io/help_center/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a Help Center", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/help_centers/{id}", + "path": [ + "help_center", + "help_centers", + "{id}" + ] + }, + "description": "You can fetch the details of a single Help Center by making a GET request to `https://api.intercom.io/help_center/help_center/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all Help Centers", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/help_centers", + "path": [ + "help_center", + "help_centers" + ] + }, + "description": "You can list all Help Centers by making a GET request to `https://api.intercom.io/help_center/help_centers`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies", + "path": [ + "companies" + ] + }, + "description": "You can fetch a single company by passing in `company_id` or `name`.\n\n `https://api.intercom.io/companies?name={name}`\n\n `https://api.intercom.io/companies?company_id={company_id}`\n\nYou can fetch all companies and filter by `segment_id` or `tag_id` as a query parameter.\n\n `https://api.intercom.io/companies?tag_id={tag_id}`\n\n `https://api.intercom.io/companies?segment_id={segment_id}`\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a company by ID", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can fetch a single company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached contacts", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}/contacts", + "path": [ + "companies", + "{id}", + "contacts" + ] + }, + "description": "You can fetch a list of all contacts that belong to a company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached segments for companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}/segments", + "path": [ + "companies", + "{id}", + "segments" + ] + }, + "description": "You can fetch a list of all segments that belong to a company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Scroll over all companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies/scroll", + "path": [ + "companies", + "scroll" + ] + }, + "description": " The `list all companies` functionality does not work well for huge datasets, and can result in errors and performance problems when paging deeply. The Scroll API provides an efficient mechanism for iterating over all companies in a dataset.\n\n- Each app can only have 1 scroll open at a time. You'll get an error message if you try to have more than one open per app.\n- If the scroll isn't used for 1 minute, it expires and calls with that scroll param will fail\n- If the end of the scroll is reached, \"companies\" will be empty and the scroll parameter will expire\n\n{% admonition type=\"info\" name=\"Scroll Parameter\" %}\n You can get the first page of companies by simply sending a GET request to the scroll endpoint.\n For subsequent requests you will need to use the scroll parameter from the response.\n{% /admonition %}\n{% admonition type=\"danger\" name=\"Scroll network timeouts\" %}\n Since scroll is often used on large datasets network errors such as timeouts can be encountered. When this occurs you will see a HTTP 500 error with the following message:\n \"Request failed due to an internal network error. Please restart the scroll operation.\"\n If this happens, you will need to restart your scroll query: It is not possible to continue from a specific point when using scroll.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached companies for contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}/companies", + "path": [ + "contacts", + "{id}", + "companies" + ] + }, + "description": "You can fetch a list of companies that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all notes", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}/notes", + "path": [ + "contacts", + "{id}", + "notes" + ] + }, + "description": "You can fetch a list of notes that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached segments for contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/segments", + "path": [ + "contacts", + "{contact_id}", + "segments" + ] + }, + "description": "You can fetch a list of segments that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List subscriptions for a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/subscriptions", + "path": [ + "contacts", + "{contact_id}", + "subscriptions" + ] + }, + "description": "You can fetch a list of subscription types that are attached to a contact. These can be subscriptions that a user has 'opted-in' to or has 'opted-out' from, depending on the subscription type.\nThis will return a list of Subscription Type objects that the contact is associated with.\n\nThe data property will show a combined list of:\n\n 1.Opt-out subscription types that the user has opted-out from.\n 2.Opt-in subscription types that the user has opted-in to receiving.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List tags attached to a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/tags", + "path": [ + "contacts", + "{contact_id}", + "tags" + ] + }, + "description": "You can fetch a list of all tags that are attached to a specific contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Get a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can fetch the details of a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all contacts", + "request": { + "method": "GET", + "url": { + "raw": "/contacts", + "path": [ + "contacts" + ] + }, + "description": "You can fetch a list of all contacts (ie. users or leads) in your workspace.\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `50` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all conversations", + "request": { + "method": "GET", + "url": { + "raw": "/conversations", + "path": [ + "conversations" + ] + }, + "description": "You can fetch a list of all conversations.\n\nYou can optionally request the result page size and the cursor to start after to fetch the result.\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a conversation", + "request": { + "method": "GET", + "url": { + "raw": "/conversations/{id}", + "path": [ + "conversations", + "{id}" + ] + }, + "description": "\nYou can fetch the details of a single conversation.\n\nThis will return a single Conversation model with all its conversation parts.\n\n{% admonition type=\"warning\" name=\"Hard limit of 500 parts\" %}\nThe maximum number of conversation parts that can be returned via the API is 500. If you have more than that we will return the 500 most recent conversation parts.\n{% /admonition %}\n\nFor AI agent conversation metadata, please note that you need to have the agent enabled in your workspace, which is a [paid feature](https://www.intercom.com/help/en/articles/8205718-fin-resolutions#h_97f8c2e671).\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all data attributes", + "request": { + "method": "GET", + "url": { + "raw": "/data_attributes", + "path": [ + "data_attributes" + ] + }, + "description": "You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all data events", + "request": { + "method": "GET", + "url": { + "raw": "/events", + "path": [ + "events" + ] + }, + "description": "\n> 🚧\n>\n> Please note that you can only 'list' events that are less than 90 days old. Event counts and summaries will still include your events older than 90 days but you cannot 'list' these events individually if they are older than 90 days\n\nThe events belonging to a customer can be listed by sending a GET request to `https://api.intercom.io/events` with a user or lead identifier along with a `type` parameter. The identifier parameter can be one of `user_id`, `email` or `intercom_user_id`. The `type` parameter value must be `user`.\n\n- `https://api.intercom.io/events?type=user&user_id={user_id}`\n- `https://api.intercom.io/events?type=user&email={email}`\n- `https://api.intercom.io/events?type=user&intercom_user_id={id}` (this call can be used to list leads)\n\nThe `email` parameter value should be [url encoded](http://en.wikipedia.org/wiki/Percent-encoding) when sending.\n\nYou can optionally define the result page size as well with the `per_page` parameter.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Show content data export", + "request": { + "method": "GET", + "url": { + "raw": "/export/content/data/{job_identifier}", + "path": [ + "export", + "content", + "data", + "{job_identifier}" + ] + }, + "description": "You can view the status of your job by sending a `GET` request to the URL\n`https://api.intercom.io/export/content/data/{job_identifier}` - the `{job_identifier}` is the value returned in the response when you first created the export job. More on it can be seen in the Export Job Model.\n\n> 🚧 Jobs expire after two days\n> All jobs that have completed processing (and are thus available to download from the provided URL) will have an expiry limit of two days from when the export ob completed. After this, the data will no longer be available.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Download content data export", + "request": { + "method": "GET", + "url": { + "raw": "/download/content/data/{job_identifier}", + "path": [ + "download", + "content", + "data", + "{job_identifier}" + ] + }, + "description": "When a job has a status of complete, and thus a filled download_url, you can download your data by hitting that provided URL, formatted like so: https://api.intercom.io/download/content/data/xyz1234.\n\nYour exported message data will be streamed continuously back down to you in a gzipped CSV format.\n\n> 📘 Octet header required\n>\n> You will have to specify the header Accept: `application/octet-stream` when hitting this endpoint.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all news items", + "request": { + "method": "GET", + "url": { + "raw": "/news/news_items", + "path": [ + "news", + "news_items" + ] + }, + "description": "You can fetch a list of all news items", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a news item", + "request": { + "method": "GET", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "You can fetch the details of a single news item.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all live newsfeed items", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds/{id}/items", + "path": [ + "news", + "newsfeeds", + "{id}", + "items" + ] + }, + "description": "You can fetch a list of all news items that are live on a given newsfeed", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all newsfeeds", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds", + "path": [ + "news", + "newsfeeds" + ] + }, + "description": "You can fetch a list of all newsfeeds", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a newsfeed", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds/{id}", + "path": [ + "news", + "newsfeeds", + "{id}" + ] + }, + "description": "You can fetch the details of a single newsfeed", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a note", + "request": { + "method": "GET", + "url": { + "raw": "/notes/{id}", + "path": [ + "notes", + "{id}" + ] + }, + "description": "You can fetch the details of a single note.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all segments", + "request": { + "method": "GET", + "url": { + "raw": "/segments", + "path": [ + "segments" + ] + }, + "description": "You can fetch a list of all segments.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a segment", + "request": { + "method": "GET", + "url": { + "raw": "/segments/{id}", + "path": [ + "segments", + "{id}" + ] + }, + "description": "You can fetch the details of a single segment.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List subscription types", + "request": { + "method": "GET", + "url": { + "raw": "/subscription_types", + "path": [ + "subscription_types" + ] + }, + "description": "You can list all subscription types. A list of subscription type objects will be returned.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all tags", + "request": { + "method": "GET", + "url": { + "raw": "/tags", + "path": [ + "tags" + ] + }, + "description": "You can fetch a list of all tags for a given workspace.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Find a specific tag", + "request": { + "method": "GET", + "url": { + "raw": "/tags/{id}", + "path": [ + "tags", + "{id}" + ] + }, + "description": "You can fetch the details of tags that are on the workspace by their id.\nThis will return a tag object.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all teams", + "request": { + "method": "GET", + "url": { + "raw": "/teams", + "path": [ + "teams" + ] + }, + "description": "This will return a list of team objects for the App.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a team", + "request": { + "method": "GET", + "url": { + "raw": "/teams/{id}", + "path": [ + "teams", + "{id}" + ] + }, + "description": "You can fetch the details of a single team, containing an array of admins that belong to this team.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all ticket states", + "request": { + "method": "GET", + "url": { + "raw": "/ticket_states", + "path": [ + "ticket_states" + ] + }, + "description": "You can get a list of all ticket states for a workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all ticket types", + "request": { + "method": "GET", + "url": { + "raw": "/ticket_types", + "path": [ + "ticket_types" + ] + }, + "description": "You can get a list of all ticket types for a workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a ticket type", + "request": { + "method": "GET", + "url": { + "raw": "/ticket_types/{id}", + "path": [ + "ticket_types", + "{id}" + ] + }, + "description": "You can fetch the details of a single ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a ticket", + "request": { + "method": "GET", + "url": { + "raw": "/tickets/{id}", + "path": [ + "tickets", + "{id}" + ] + }, + "description": "You can fetch the details of a single ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a visitor with User ID", + "request": { + "method": "GET", + "url": { + "raw": "/visitors", + "path": [ + "visitors" + ] + }, + "description": "You can fetch the details of a single visitor.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a content import source", + "request": { + "method": "POST", + "url": { + "raw": "/ai/content_import_sources", + "path": [ + "ai", + "content_import_sources" + ] + }, + "description": "You can create a new content import source by sending a POST request to this endpoint.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create an external page (or update an external page by external ID)", + "request": { + "method": "POST", + "url": { + "raw": "/ai/external_pages", + "path": [ + "ai", + "external_pages" + ] + }, + "description": "You can create a new external page by sending a POST request to this endpoint. If an external page already exists with the specified source_id and external_id, it will be updated instead.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create an article", + "request": { + "method": "POST", + "url": { + "raw": "/articles", + "path": [ + "articles" + ] + }, + "description": "You can create a new article by making a POST request to `https://api.intercom.io/articles`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a collection", + "request": { + "method": "POST", + "url": { + "raw": "/help_center/collections", + "path": [ + "help_center", + "collections" + ] + }, + "description": "You can create a new collection by making a POST request to `https://api.intercom.io/help_center/collections.`", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or Update a company", + "request": { + "method": "POST", + "url": { + "raw": "/companies", + "path": [ + "companies" + ] + }, + "description": "You can create or update a company.\n\nCompanies will be only visible in Intercom when there is at least one associated user.\n\nCompanies are looked up via `company_id` in a `POST` request, if not found via `company_id`, the new company will be created, if found, that company will be updated.\n\n{% admonition type=\"warning\" name=\"Using `company_id`\" %}\n You can set a unique `company_id` value when creating a company. However, it is not possible to update `company_id`. Be sure to set a unique value once upon creation of the company.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all companies", + "request": { + "method": "POST", + "url": { + "raw": "/companies/list", + "path": [ + "companies", + "list" + ] + }, + "description": "You can list companies. The company list is sorted by the `last_request_at` field and by default is ordered descending, most recently requested first.\n\nNote that the API does not include companies who have no associated users in list responses.\n\nWhen using the Companies endpoint and the pages object to iterate through the returned companies, there is a limit of 10,000 Companies that can be returned. If you need to list or iterate on more than 10,000 Companies, please use the [Scroll API](https://developers.intercom.com/reference#iterating-over-all-companies).\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Attach a Contact to a Company", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/companies", + "path": [ + "contacts", + "{id}", + "companies" + ] + }, + "description": "You can attach a company to a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a note", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/notes", + "path": [ + "contacts", + "{id}", + "notes" + ] + }, + "description": "You can add a note to a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add subscription to a contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/subscriptions", + "path": [ + "contacts", + "{contact_id}", + "subscriptions" + ] + }, + "description": "You can add a specific subscription to a contact. In Intercom, we have two different subscription types based on user consent - opt-out and opt-in:\n\n 1.Attaching a contact to an opt-out subscription type will opt that user out from receiving messages related to that subscription type.\n\n 2.Attaching a contact to an opt-in subscription type will opt that user in to receiving messages related to that subscription type.\n\nThis will return a subscription type model for the subscription type that was added to the contact.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/tags", + "path": [ + "contacts", + "{contact_id}", + "tags" + ] + }, + "description": "You can tag a specific contact. This will return a tag object for the tag that was added to the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Merge a lead and a user", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/merge", + "path": [ + "contacts", + "merge" + ] + }, + "description": "You can merge a contact with a `role` of `lead` into a contact with a `role` of `user`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search contacts", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/search", + "path": [ + "contacts", + "search" + ] + }, + "description": "You can search for multiple contacts by the value of their attributes in order to fetch exactly who you want.\n\nTo search for contacts, you need to send a `POST` request to `https://api.intercom.io/contacts/search`.\n\nThis will accept a query object in the body which will define your filters in order to search for contacts.\n\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `50` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n### Contact Creation Delay\n\nIf a contact has recently been created, there is a possibility that it will not yet be available when searching. This means that it may not appear in the response. This delay can take a few minutes. If you need to be instantly notified it is recommended to use webhooks and iterate to see if they match your search filters.\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiple's there can be:\n* There's a limit of max 2 nested filters\n* There's a limit of max 15 filters for each AND or OR group\n\n### Searching for Timestamp Fields\n\nAll timestamp fields (created_at, updated_at etc.) are indexed as Dates for Contact Search queries; Datetime queries are not currently supported. This means you can only query for timestamp fields by day - not hour, minute or second.\nFor example, if you search for all Contacts with a created_at value greater (>) than 1577869200 (the UNIX timestamp for January 1st, 2020 9:00 AM), that will be interpreted as 1577836800 (January 1st, 2020 12:00 AM). The search results will then include Contacts created from January 2nd, 2020 12:00 AM onwards.\nIf you'd like to get contacts created on January 1st, 2020 you should search with a created_at value equal (=) to 1577836800 (January 1st, 2020 12:00 AM).\nThis behaviour applies only to timestamps used in search queries. The search results will still contain the full UNIX timestamp and be sorted accordingly.\n\n### Accepted Fields\n\nMost key listed as part of the Contacts Model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foorbar\"`).\n\n| Field | Type |\n| ---------------------------------- | ------------------------------ |\n| id | String |\n| role | String
Accepts user or lead |\n| name | String |\n| avatar | String |\n| owner_id | Integer |\n| email | String |\n| email_domain | String |\n| phone | String |\n| external_id | String |\n| created_at | Date (UNIX Timestamp) |\n| signed_up_at | Date (UNIX Timestamp) |\n| updated_at | Date (UNIX Timestamp) |\n| last_seen_at | Date (UNIX Timestamp) |\n| last_contacted_at | Date (UNIX Timestamp) |\n| last_replied_at | Date (UNIX Timestamp) |\n| last_email_opened_at | Date (UNIX Timestamp) |\n| last_email_clicked_at | Date (UNIX Timestamp) |\n| language_override | String |\n| browser | String |\n| browser_language | String |\n| os | String |\n| location.country | String |\n| location.region | String |\n| location.city | String |\n| unsubscribed_from_emails | Boolean |\n| marked_email_as_spam | Boolean |\n| has_hard_bounced | Boolean |\n| ios_last_seen_at | Date (UNIX Timestamp) |\n| ios_app_version | String |\n| ios_device | String |\n| ios_app_device | String |\n| ios_os_version | String |\n| ios_app_name | String |\n| ios_sdk_version | String |\n| android_last_seen_at | Date (UNIX Timestamp) |\n| android_app_version | String |\n| android_device | String |\n| android_app_name | String |\n| andoid_sdk_version | String |\n| segment_id | String |\n| tag_id | String |\n| custom_attributes.{attribute_name} | String |\n\n### Accepted Operators\n\n{% admonition type=\"warning\" name=\"Searching based on `created_at`\" %}\n You cannot use the `<=` or `>=` operators to search by `created_at`.\n{% /admonition %}\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :------------------------------- | :--------------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In
Shortcut for `OR` queries
Values must be in Array |\n| NIN | All | Not In
Shortcut for `OR !` queries
Values must be in Array |\n| > | Integer
Date (UNIX Timestamp) | Greater than |\n| < | Integer
Date (UNIX Timestamp) | Lower than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts", + "path": [ + "contacts" + ] + }, + "description": "You can create a new contact (ie. user or lead).", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Archive contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/archive", + "path": [ + "contacts", + "{id}", + "archive" + ] + }, + "description": "You can archive a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Unarchive contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/unarchive", + "path": [ + "contacts", + "{id}", + "unarchive" + ] + }, + "description": "You can unarchive a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{conversation_id}/tags", + "path": [ + "conversations", + "{conversation_id}", + "tags" + ] + }, + "description": "You can tag a specific conversation. This will return a tag object for the tag that was added to the conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Creates a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations", + "path": [ + "conversations" + ] + }, + "description": "You can create a conversation that has been initiated by a contact (ie. user or lead).\nThe conversation can be an in-app message only.\n\n{% admonition type=\"info\" name=\"Sending for visitors\" %}\nYou can also send a message from a visitor by specifying their `user_id` or `id` value in the `from` field, along with a `type` field value of `contact`.\nThis visitor will be automatically converted to a contact with a lead role once the conversation is created.\n{% /admonition %}\n\nThis will return the Message model that has been created.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search conversations", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/search", + "path": [ + "conversations", + "search" + ] + }, + "description": "You can search for multiple conversations by the value of their attributes in order to fetch exactly which ones you want.\n\nTo search for conversations, you need to send a `POST` request to `https://api.intercom.io/conversations/search`.\n\nThis will accept a query object in the body which will define your filters in order to search for conversations.\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `20` results per page and maximum is `150`.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiple's there can be:\n- There's a limit of max 2 nested filters\n- There's a limit of max 15 filters for each AND or OR group\n\n### Accepted Fields\n\nMost keys listed as part of the conversation model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foorbar\"`).\nThe `source.body` field is unique as the search will not be performed against the entire value, but instead against every element of the value separately. For example, when searching for a conversation with a `\"I need support\"` body - the query should contain a `=` operator with the value `\"support\"` for such conversation to be returned. A query with a `=` operator and a `\"need support\"` value will not yield a result.\n\n| Field | Type |\n| :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------- |\n| id | String |\n| created_at | Date (UNIX timestamp) |\n| updated_at | Date (UNIX timestamp) |\n| source.type | String
Accepted fields are `conversation`, `email`, `facebook`, `instagram`, `phone_call`, `phone_switch`, `push`, `sms`, `twitter` and `whatsapp`. |\n| source.id | String |\n| source.delivered_as | String |\n| source.subject | String |\n| source.body | String |\n| source.author.id | String |\n| source.author.type | String |\n| source.author.name | String |\n| source.author.email | String |\n| source.url | String |\n| contact_ids | String |\n| teammate_ids | String |\n| admin_assignee_id | String |\n| team_assignee_id | String |\n| channel_initiated | String |\n| open | Boolean |\n| read | Boolean |\n| state | String |\n| waiting_since | Date (UNIX timestamp) |\n| snoozed_until | Date (UNIX timestamp) |\n| tag_ids | String |\n| priority | String |\n| statistics.time_to_assignment | Integer |\n| statistics.time_to_admin_reply | Integer |\n| statistics.time_to_first_close | Integer |\n| statistics.time_to_last_close | Integer |\n| statistics.median_time_to_reply | Integer |\n| statistics.first_contact_reply_at | Date (UNIX timestamp) |\n| statistics.first_assignment_at | Date (UNIX timestamp) |\n| statistics.first_admin_reply_at | Date (UNIX timestamp) |\n| statistics.first_close_at | Date (UNIX timestamp) |\n| statistics.last_assignment_at | Date (UNIX timestamp) |\n| statistics.last_assignment_admin_reply_at | Date (UNIX timestamp) |\n| statistics.last_contact_reply_at | Date (UNIX timestamp) |\n| statistics.last_admin_reply_at | Date (UNIX timestamp) |\n| statistics.last_close_at | Date (UNIX timestamp) |\n| statistics.last_closed_by_id | String |\n| statistics.count_reopens | Integer |\n| statistics.count_assignments | Integer |\n| statistics.count_conversation_parts | Integer |\n| conversation_rating.requested_at | Date (UNIX timestamp) |\n| conversation_rating.replied_at | Date (UNIX timestamp) |\n| conversation_rating.score | Integer |\n| conversation_rating.remark | String |\n| conversation_rating.contact_id | String |\n| conversation_rating.admin_d | String |\n| ai_agent_participated | Boolean |\n| ai_agent.resolution_state | String |\n| ai_agent.last_answer_type | String |\n| ai_agent.rating | Integer |\n| ai_agent.rating_remark | String |\n| ai_agent.source_type | String |\n| ai_agent.source_title | String |\n\n### Accepted Operators\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :----------------------------- | :----------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In Shortcut for `OR` queries Values most be in Array |\n| NIN | All | Not In Shortcut for `OR !` queries Values must be in Array |\n| > | Integer Date (UNIX Timestamp) | Greater (or equal) than |\n| < | Integer Date (UNIX Timestamp) | Lower (or equal) than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Reply to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/reply", + "path": [ + "conversations", + "{id}", + "reply" + ] + }, + "description": "You can reply to a conversation with a message from an admin or on behalf of a contact, or with a note for admins.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Manage a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/parts", + "path": [ + "conversations", + "{id}", + "parts" + ] + }, + "description": "For managing conversations you can:\n- Close a conversation\n- Snooze a conversation to reopen on a future date\n- Open a conversation which is `snoozed` or `closed`\n- Assign a conversation to an admin and/or team.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Attach a contact to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/customers", + "path": [ + "conversations", + "{id}", + "customers" + ] + }, + "description": "You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.\n\n{% admonition type=\"warning\" name=\"Contacts without an email\" %}\nIf you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Redact a conversation part", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/redact", + "path": [ + "conversations", + "redact" + ] + }, + "description": "You can redact a conversation part or the source message of a conversation (as seen in the source object).\n\n{% admonition type=\"info\" name=\"Redacting parts and messages\" %}\nIf you are redacting a conversation part, it must have a `body`. If you are redacting a source message, it must have been created by a contact. We will return a `conversation_part_not_redactable` error if these criteria are not met.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Convert a conversation to a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/convert", + "path": [ + "conversations", + "{id}", + "convert" + ] + }, + "description": "You can convert a conversation to a ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a data attribute", + "request": { + "method": "POST", + "url": { + "raw": "/data_attributes", + "path": [ + "data_attributes" + ] + }, + "description": "You can create a data attributes for a `contact` or a `company`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Submit a data event", + "request": { + "method": "POST", + "url": { + "raw": "/events", + "path": [ + "events" + ] + }, + "description": "\nYou will need an Access Token that has write permissions to send Events. Once you have a key you can submit events via POST to the Events resource, which is located at https://api.intercom.io/events, or you can send events using one of the client libraries. When working with the HTTP API directly a client should send the event with a `Content-Type` of `application/json`.\n\nWhen using the JavaScript API, [adding the code to your app](http://docs.intercom.io/configuring-Intercom/tracking-user-events-in-your-app) makes the Events API available. Once added, you can submit an event using the `trackEvent` method. This will associate the event with the Lead or currently logged-in user or logged-out visitor/lead and send it to Intercom. The final parameter is a map that can be used to send optional metadata about the event.\n\nWith the Ruby client you pass a hash describing the event to `Intercom::Event.create`, or call the `track_user` method directly on the current user object (e.g. `user.track_event`).\n\n**NB: For the JSON object types, please note that we do not currently support nested JSON structure.**\n\n| Type | Description | Example |\n| :-------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------- |\n| String | The value is a JSON String | `\"source\":\"desktop\"` |\n| Number | The value is a JSON Number | `\"load\": 3.67` |\n| Date | The key ends with the String `_date` and the value is a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time), assumed to be in the [UTC](http://en.wikipedia.org/wiki/Coordinated_Universal_Time) timezone. | `\"contact_date\": 1392036272` |\n| Link | The value is a HTTP or HTTPS URI. | `\"article\": \"https://example.org/ab1de.html\"` |\n| Rich Link | The value is a JSON object that contains `url` and `value` keys. | `\"article\": {\"url\": \"https://example.org/ab1de.html\", \"value\":\"the dude abides\"}` |\n| Monetary Amount | The value is a JSON object that contains `amount` and `currency` keys. The `amount` key is a positive integer representing the amount in cents. The price in the example to the right denotes €349.99. | `\"price\": {\"amount\": 34999, \"currency\": \"eur\"}` |\n\n**Lead Events**\n\nWhen submitting events for Leads, you will need to specify the Lead's `id`.\n\n**Metadata behaviour**\n\n- We currently limit the number of tracked metadata keys to 10 per event. Once the quota is reached, we ignore any further keys we receive. The first 10 metadata keys are determined by the order in which they are sent in with the event.\n- It is not possible to change the metadata keys once the event has been sent. A new event will need to be created with the new keys and you can archive the old one.\n- There might be up to 24 hrs delay when you send a new metadata for an existing event.\n\n**Event de-duplication**\n\nThe API may detect and ignore duplicate events. Each event is uniquely identified as a combination of the following data - the Workspace identifier, the Contact external identifier, the Data Event name and the Data Event created time. As a result, it is **strongly recommended** to send a second granularity Unix timestamp in the `created_at` field.\n\nDuplicated events are responded to using the normal `202 Accepted` code - an error is not thrown, however repeat requests will be counted against any rate limit that is in place.\n\n### HTTP API Responses\n\n- Successful responses to submitted events return `202 Accepted` with an empty body.\n- Unauthorised access will be rejected with a `401 Unauthorized` or `403 Forbidden` response code.\n- Events sent about users that cannot be found will return a `404 Not Found`.\n- Event lists containing duplicate events will have those duplicates ignored.\n- Server errors will return a `500` response code and may contain an error message in the body.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create event summaries", + "request": { + "method": "POST", + "url": { + "raw": "/events/summaries", + "path": [ + "events", + "summaries" + ] + }, + "description": "Create event summaries for a user. Event summaries are used to track the number of times an event has occurred, the first time it occurred and the last time it occurred.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create content data export", + "request": { + "method": "POST", + "url": { + "raw": "/export/content/data", + "path": [ + "export", + "content", + "data" + ] + }, + "description": "To create your export job, you need to send a `POST` request to the export endpoint `https://api.intercom.io/export/content/data`.\n\nThe only parameters you need to provide are the range of dates that you want exported.\n\n>🚧 Limit of one active job\n>\n> You can only have one active job per workspace. You will receive a HTTP status code of 429 with the message Exceeded rate limit of 1 pending message data export jobs if you attempt to create a second concurrent job.\n\n>❗️ Updated_at not included\n>\n> It should be noted that the timeframe only includes messages sent during the time period and not messages that were only updated during this period. For example, if a message was updated yesterday but sent two days ago, you would need to set the created_at_after date before the message was sent to include that in your retrieval job.\n\n>📘 Date ranges are inclusive\n>\n> Requesting data for 2018-06-01 until 2018-06-30 will get all data for those days including those specified - e.g. 2018-06-01 00:00:00 until 2018-06-30 23:59:99.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Cancel content data export", + "request": { + "method": "POST", + "url": { + "raw": "/export/cancel/{job_identifier}", + "path": [ + "export", + "cancel", + "{job_identifier}" + ] + }, + "description": "You can cancel your job", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a message", + "request": { + "method": "POST", + "url": { + "raw": "/messages", + "path": [ + "messages" + ] + }, + "description": "You can create a message that has been initiated by an admin. The conversation can be either an in-app message or an email.\n\n> 🚧 Sending for visitors\n>\n> There can be a short delay between when a contact is created and when a contact becomes available to be messaged through the API. A 404 Not Found error will be returned in this case.\n\nThis will return the Message model that has been created.\n\n> 🚧 Retrieving Associated Conversations\n>\n> As this is a message, there will be no conversation present until the contact responds. Once they do, you will have to search for a contact's conversations with the id of the message.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a news item", + "request": { + "method": "POST", + "url": { + "raw": "/news/news_items", + "path": [ + "news", + "news_items" + ] + }, + "description": "You can create a news item", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a phone Switch", + "request": { + "method": "POST", + "url": { + "raw": "/phone_call_redirects", + "path": [ + "phone_call_redirects" + ] + }, + "description": "You can use the API to deflect phone calls to the Intercom Messenger.\nCalling this endpoint will send an SMS with a link to the Messenger to the phone number specified.\n\nIf custom attributes are specified, they will be added to the user or lead's custom data attributes.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or update a tag, Tag or untag companies, Tag contacts", + "request": { + "method": "POST", + "url": { + "raw": "/tags", + "path": [ + "tags" + ] + }, + "description": "You can use this endpoint to perform the following operations:\n\n **1. Create a new tag:** You can create a new tag by passing in the tag name as specified in \"Create or Update Tag Request Payload\" described below.\n\n **2. Update an existing tag:** You can update an existing tag by passing the id of the tag as specified in \"Create or Update Tag Request Payload\" described below.\n\n **3. Tag Companies:** You can tag single company or a list of companies. You can tag a company by passing in the tag name and the company details as specified in \"Tag Company Request Payload\" described below. Also, if the tag doesn't exist then a new one will be created automatically.\n\n **4. Untag Companies:** You can untag a single company or a list of companies. You can untag a company by passing in the tag id and the company details as specified in \"Untag Company Request Payload\" described below.\n\n **5. Tag Multiple Users:** You can tag a list of users. You can tag the users by passing in the tag name and the user details as specified in \"Tag Users Request Payload\" described below.\n\nEach operation will return a tag object.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a new attribute for a ticket type", + "request": { + "method": "POST", + "url": { + "raw": "/ticket_types/{ticket_type_id}/attributes", + "path": [ + "ticket_types", + "{ticket_type_id}", + "attributes" + ] + }, + "description": "You can create a new attribute for a ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a ticket type", + "request": { + "method": "POST", + "url": { + "raw": "/ticket_types", + "path": [ + "ticket_types" + ] + }, + "description": "You can create a new ticket type.\n> 📘 Creating ticket types.\n>\n> Every ticket type will be created with two default attributes: _default_title_ and _default_description_.\n> For the `icon` propery, use an emoji from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/)\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Reply to a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets/{id}/reply", + "path": [ + "tickets", + "{id}", + "reply" + ] + }, + "description": "You can reply to a ticket with a message from an admin or on behalf of a contact, or with a note for admins.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets/{ticket_id}/tags", + "path": [ + "tickets", + "{ticket_id}", + "tags" + ] + }, + "description": "You can tag a specific ticket. This will return a tag object for the tag that was added to the ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets", + "path": [ + "tickets" + ] + }, + "description": "You can create a new ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search tickets", + "request": { + "method": "POST", + "url": { + "raw": "/tickets/search", + "path": [ + "tickets", + "search" + ] + }, + "description": "You can search for multiple tickets by the value of their attributes in order to fetch exactly which ones you want.\n\nTo search for tickets, you send a `POST` request to `https://api.intercom.io/tickets/search`.\n\nThis will accept a query object in the body which will define your filters.\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiples there can be:\n- There's a limit of max 2 nested filters\n- There's a limit of max 15 filters for each AND or OR group\n\n### Accepted Fields\n\nMost keys listed as part of the Ticket model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foobar\"`).\nThe `source.body` field is unique as the search will not be performed against the entire value, but instead against every element of the value separately. For example, when searching for a conversation with a `\"I need support\"` body - the query should contain a `=` operator with the value `\"support\"` for such conversation to be returned. A query with a `=` operator and a `\"need support\"` value will not yield a result.\n\n| Field | Type |\n| :---------------------------------------- | :--------------------------------------------------------------------------------------- |\n| id | String |\n| created_at | Date (UNIX timestamp) |\n| updated_at | Date (UNIX timestamp) |\n| _default_title_ | String |\n| _default_description_ | String |\n| category | String |\n| ticket_type_id | String |\n| contact_ids | String |\n| teammate_ids | String |\n| admin_assignee_id | String |\n| team_assignee_id | String |\n| open | Boolean |\n| state | String |\n| snoozed_until | Date (UNIX timestamp) |\n| ticket_attribute.{id} | String or Boolean or Date (UNIX timestamp) or Float or Integer |\n\n### Accepted Operators\n\n{% admonition type=\"info\" name=\"Searching based on `created_at`\" %}\n You may use the `<=` or `>=` operators to search by `created_at`.\n{% /admonition %}\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :----------------------------- | :----------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In Shortcut for `OR` queries Values most be in Array |\n| NIN | All | Not In Shortcut for `OR !` queries Values must be in Array |\n| > | Integer Date (UNIX Timestamp) | Greater (or equal) than |\n| < | Integer Date (UNIX Timestamp) | Lower (or equal) than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Convert a visitor", + "request": { + "method": "POST", + "url": { + "raw": "/visitors/convert", + "path": [ + "visitors", + "convert" + ] + }, + "description": "You can merge a Visitor to a Contact of role type `lead` or `user`.\n\n> 📘 What happens upon a visitor being converted?\n>\n> If the User exists, then the Visitor will be merged into it, the Visitor deleted and the User returned. If the User does not exist, the Visitor will be converted to a User, with the User identifiers replacing it's Visitor identifiers.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Set an admin to away", + "request": { + "method": "PUT", + "url": { + "raw": "/admins/{id}/away", + "path": [ + "admins", + "{id}", + "away" + ] + }, + "description": "You can set an Admin as away for the Inbox.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a content import source", + "request": { + "method": "PUT", + "url": { + "raw": "/ai/content_import_sources/{id}", + "path": [ + "ai", + "content_import_sources", + "{id}" + ] + }, + "description": "You can update an existing content import source.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update an external page", + "request": { + "method": "PUT", + "url": { + "raw": "/ai/external_pages/{id}", + "path": [ + "ai", + "external_pages", + "{id}" + ] + }, + "description": "You can update an existing external page (if it was created via the API).", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update an article", + "request": { + "method": "PUT", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can update the details of a single article by making a PUT request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a collection", + "request": { + "method": "PUT", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can update the details of a single collection by making a PUT request to `https://api.intercom.io/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a company", + "request": { + "method": "PUT", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can update a single company using the Intercom provisioned `id`.\n\n{% admonition type=\"warning\" name=\"Using `company_id`\" %}\n When updating a company it is not possible to update `company_id`. This can only be set once upon creation of the company.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a contact", + "request": { + "method": "PUT", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can update an existing contact (ie. user or lead).", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a conversation", + "request": { + "method": "PUT", + "url": { + "raw": "/conversations/{id}", + "path": [ + "conversations", + "{id}" + ] + }, + "description": "\nYou can update an existing conversation.\n\n{% admonition type=\"info\" name=\"Replying and other actions\" %}\nIf you want to reply to a coveration or take an action such as assign, unassign, open, close or snooze, take a look at the reply and manage endpoints.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a data attribute", + "request": { + "method": "PUT", + "url": { + "raw": "/data_attributes/{id}", + "path": [ + "data_attributes", + "{id}" + ] + }, + "description": "\nYou can update a data attribute.\n\n> 🚧 Updating the data type is not possible\n>\n> It is currently a dangerous action to execute changing a data attribute's type via the API. You will need to update the type via the UI instead.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a news item", + "request": { + "method": "PUT", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update an existing attribute for a ticket type", + "request": { + "method": "PUT", + "url": { + "raw": "/ticket_types/{ticket_type_id}/attributes/{id}", + "path": [ + "ticket_types", + "{ticket_type_id}", + "attributes", + "{id}" + ] + }, + "description": "You can update an existing attribute for a ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a ticket type", + "request": { + "method": "PUT", + "url": { + "raw": "/ticket_types/{id}", + "path": [ + "ticket_types", + "{id}" + ] + }, + "description": "\nYou can update a ticket type.\n\n> 📘 Updating a ticket type.\n>\n> For the `icon` propery, use an emoji from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/)\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a ticket", + "request": { + "method": "PUT", + "url": { + "raw": "/tickets/{id}", + "path": [ + "tickets", + "{id}" + ] + }, + "description": "You can update a ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a visitor", + "request": { + "method": "PUT", + "url": { + "raw": "/visitors", + "path": [ + "visitors" + ] + }, + "description": "Sending a PUT request to `/visitors` will result in an update of an existing Visitor.\n\n**Option 1.** You can update a visitor by passing in the `user_id` of the visitor in the Request body.\n\n**Option 2.** You can update a visitor by passing in the `id` of the visitor in the Request body.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a content import source", + "request": { + "method": "DELETE", + "url": { + "raw": "/ai/content_import_sources/{id}", + "path": [ + "ai", + "content_import_sources", + "{id}" + ] + }, + "description": "You can delete a content import source by making a DELETE request this endpoint. This will also delete all external pages that were imported from this source.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete an external page", + "request": { + "method": "DELETE", + "url": { + "raw": "/ai/external_pages/{id}", + "path": [ + "ai", + "external_pages", + "{id}" + ] + }, + "description": "Sending a DELETE request for an external page will remove it from the content library UI and from being used for AI answers.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete an article", + "request": { + "method": "DELETE", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can delete a single article by making a DELETE request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a collection", + "request": { + "method": "DELETE", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can delete a single collection by making a DELETE request to `https://api.intercom.io/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a company", + "request": { + "method": "DELETE", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can delete a single company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Detach a contact from a company", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/companies/{id}", + "path": [ + "contacts", + "{contact_id}", + "companies", + "{id}" + ] + }, + "description": "You can detach a company from a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove subscription from a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/subscriptions/{id}", + "path": [ + "contacts", + "{contact_id}", + "subscriptions", + "{id}" + ] + }, + "description": "You can remove a specific subscription from a contact. This will return a subscription type model for the subscription type that was removed from the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/tags/{id}", + "path": [ + "contacts", + "{contact_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific contact. This will return a tag object for the tag that was removed from the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can delete a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{conversation_id}/tags/{id}", + "path": [ + "conversations", + "{conversation_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific conversation. This will return a tag object for the tag that was removed from the conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Detach a contact from a group conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{conversation_id}/customers/{contact_id}", + "path": [ + "conversations", + "{conversation_id}", + "customers", + "{contact_id}" + ] + }, + "description": "You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.\n\n{% admonition type=\"warning\" name=\"Contacts without an email\" %}\nIf you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a news item", + "request": { + "method": "DELETE", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "You can delete a single news item.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete tag", + "request": { + "method": "DELETE", + "url": { + "raw": "/tags/{id}", + "path": [ + "tags", + "{id}" + ] + }, + "description": "You can delete the details of tags that are on the workspace by passing in the id.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a ticket", + "request": { + "method": "DELETE", + "url": { + "raw": "/tickets/{ticket_id}/tags/{id}", + "path": [ + "tickets", + "{ticket_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific ticket. This will return a tag object for the tag that was removed from the ticket.", + "header": [], + "body": {} + }, + "response": [] + } + ] + } + ], + "event": [], + "variable": [ + { + "id": "6cf3d4bc-34fb-48a9-9ac4-f1b31b89c341", + "key": "https://api.intercom.io", + "value": "https://api.intercom.io", + "type": "string", + "description": "The production API server" + }, + { + "id": "a1681354-8f79-4de4-9bce-830ca6ac8a6f", + "key": "https://api.eu.intercom.io", + "value": "https://api.eu.intercom.io", + "type": "string", + "description": "The european API server" + }, + { + "id": "43bbb147-7883-4b55-a416-66759b2ac5d1", + "key": "https://api.au.intercom.io", + "value": "https://api.au.intercom.io", + "type": "string", + "description": "The australian API server" + }, + { + "id": "e5ce57d2-0d34-4131-baa5-3189284e1220", + "key": "bearerToken", + "value": "{{bearerToken}}", + "type": "string", + "description": "bearertokenvalue" + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "bearerToken", + "value": "{{bearerToken}}", + "type": "string" + }, + { + "key": "tokenType", + "value": "bearer", + "type": "string" + }, + { + "key": "addTokenTo", + "value": "header", + "type": "string" + } + ] + } +} \ No newline at end of file diff --git a/postman/2.13/README.md b/postman/2.13/README.md new file mode 100644 index 0000000..a195547 --- /dev/null +++ b/postman/2.13/README.md @@ -0,0 +1,15 @@ +# Intercom API 2.13 Postman Collection + +This directory contains the Postman collection for Intercom API version 2.13. + +## Files +- `intercom-api.postman_collection.json`: The main Postman collection +- `environment.json`: Environment variables for this version + +## Usage +1. Import the collection into Postman +2. Import the environment file +3. Set your access token in the environment variables +4. Start making API calls! + +Last updated: 2025-04-15T14:40:03.094Z diff --git a/postman/2.13/environment.json b/postman/2.13/environment.json new file mode 100644 index 0000000..fb820e3 --- /dev/null +++ b/postman/2.13/environment.json @@ -0,0 +1,18 @@ +{ + "id": "intercom-api-2.13-environment", + "name": "Intercom API 2.13 Environment", + "values": [ + { + "key": "baseUrl", + "value": "https://api.intercom.io", + "type": "default", + "enabled": true + }, + { + "key": "token", + "value": "YOUR_ACCESS_TOKEN", + "type": "secret", + "enabled": true + } + ] +} \ No newline at end of file diff --git a/postman/2.13/intercom-api.postman_collection.json b/postman/2.13/intercom-api.postman_collection.json new file mode 100644 index 0000000..8fdc9fd --- /dev/null +++ b/postman/2.13/intercom-api.postman_collection.json @@ -0,0 +1,2265 @@ +{ + "info": { + "name": "Intercom API - 2.13", + "description": "The Intercom API reference.", + "version": "2.13", + "contact": { + "name": "Intercom Developer Hub", + "url": "https://developers.intercom.com" + }, + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "updatedAt": "2025-04-15T14:40:03.093Z" + }, + "item": [ + { + "name": "General", + "item": [ + { + "name": "Identify an admin", + "request": { + "method": "GET", + "url": { + "raw": "/me", + "path": [ + "me" + ] + }, + "description": "\nYou can view the currently authorised admin along with the embedded app object (a \"workspace\" in legacy terminology).\n\n> 🚧 Single Sign On\n>\n> If you are building a custom \"Log in with Intercom\" flow for your site, and you call the `/me` endpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all activity logs", + "request": { + "method": "GET", + "url": { + "raw": "/admins/activity_logs", + "path": [ + "admins", + "activity_logs" + ] + }, + "description": "You can get a log of activities by all admins in an app.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all admins", + "request": { + "method": "GET", + "url": { + "raw": "/admins", + "path": [ + "admins" + ] + }, + "description": "You can fetch a list of admins for a given workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an admin", + "request": { + "method": "GET", + "url": { + "raw": "/admins/{id}", + "path": [ + "admins", + "{id}" + ] + }, + "description": "You can retrieve the details of a single admin.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List content import sources", + "request": { + "method": "GET", + "url": { + "raw": "/ai/content_import_sources", + "path": [ + "ai", + "content_import_sources" + ] + }, + "description": "You can retrieve a list of all content import sources for a workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a content import source", + "request": { + "method": "GET", + "url": { + "raw": "/ai/content_import_sources/{id}", + "path": [ + "ai", + "content_import_sources", + "{id}" + ] + }, + "description": "", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List external pages", + "request": { + "method": "GET", + "url": { + "raw": "/ai/external_pages", + "path": [ + "ai", + "external_pages" + ] + }, + "description": "You can retrieve a list of all external pages for a workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an external page", + "request": { + "method": "GET", + "url": { + "raw": "/ai/external_pages/{id}", + "path": [ + "ai", + "external_pages", + "{id}" + ] + }, + "description": "You can retrieve an external page.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all articles", + "request": { + "method": "GET", + "url": { + "raw": "/articles", + "path": [ + "articles" + ] + }, + "description": "You can fetch a list of all articles by making a GET request to `https://api.intercom.io/articles`.\n\n> 📘 How are the articles sorted and ordered?\n>\n> Articles will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated articles first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an article", + "request": { + "method": "GET", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can fetch the details of a single article by making a GET request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search for articles", + "request": { + "method": "GET", + "url": { + "raw": "/articles/search", + "path": [ + "articles", + "search" + ] + }, + "description": "You can search for articles by making a GET request to `https://api.intercom.io/articles/search`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all collections", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/collections", + "path": [ + "help_center", + "collections" + ] + }, + "description": "You can fetch a list of all collections by making a GET request to `https://api.intercom.io/help_center/collections`.\n\nCollections will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated collections first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a collection", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can fetch the details of a single collection by making a GET request to `https://api.intercom.io/help_center/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a Help Center", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/help_centers/{id}", + "path": [ + "help_center", + "help_centers", + "{id}" + ] + }, + "description": "You can fetch the details of a single Help Center by making a GET request to `https://api.intercom.io/help_center/help_center/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all Help Centers", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/help_centers", + "path": [ + "help_center", + "help_centers" + ] + }, + "description": "You can list all Help Centers by making a GET request to `https://api.intercom.io/help_center/help_centers`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies", + "path": [ + "companies" + ] + }, + "description": "You can fetch a single company by passing in `company_id` or `name`.\n\n `https://api.intercom.io/companies?name={name}`\n\n `https://api.intercom.io/companies?company_id={company_id}`\n\nYou can fetch all companies and filter by `segment_id` or `tag_id` as a query parameter.\n\n `https://api.intercom.io/companies?tag_id={tag_id}`\n\n `https://api.intercom.io/companies?segment_id={segment_id}`\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a company by ID", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can fetch a single company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached contacts", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}/contacts", + "path": [ + "companies", + "{id}", + "contacts" + ] + }, + "description": "You can fetch a list of all contacts that belong to a company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached segments for companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}/segments", + "path": [ + "companies", + "{id}", + "segments" + ] + }, + "description": "You can fetch a list of all segments that belong to a company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Scroll over all companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies/scroll", + "path": [ + "companies", + "scroll" + ] + }, + "description": " The `list all companies` functionality does not work well for huge datasets, and can result in errors and performance problems when paging deeply. The Scroll API provides an efficient mechanism for iterating over all companies in a dataset.\n\n- Each app can only have 1 scroll open at a time. You'll get an error message if you try to have more than one open per app.\n- If the scroll isn't used for 1 minute, it expires and calls with that scroll param will fail\n- If the end of the scroll is reached, \"companies\" will be empty and the scroll parameter will expire\n\n{% admonition type=\"info\" name=\"Scroll Parameter\" %}\n You can get the first page of companies by simply sending a GET request to the scroll endpoint.\n For subsequent requests you will need to use the scroll parameter from the response.\n{% /admonition %}\n{% admonition type=\"danger\" name=\"Scroll network timeouts\" %}\n Since scroll is often used on large datasets network errors such as timeouts can be encountered. When this occurs you will see a HTTP 500 error with the following message:\n \"Request failed due to an internal network error. Please restart the scroll operation.\"\n If this happens, you will need to restart your scroll query: It is not possible to continue from a specific point when using scroll.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached companies for contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}/companies", + "path": [ + "contacts", + "{id}", + "companies" + ] + }, + "description": "You can fetch a list of companies that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all notes", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}/notes", + "path": [ + "contacts", + "{id}", + "notes" + ] + }, + "description": "You can fetch a list of notes that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached segments for contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/segments", + "path": [ + "contacts", + "{contact_id}", + "segments" + ] + }, + "description": "You can fetch a list of segments that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List subscriptions for a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/subscriptions", + "path": [ + "contacts", + "{contact_id}", + "subscriptions" + ] + }, + "description": "You can fetch a list of subscription types that are attached to a contact. These can be subscriptions that a user has 'opted-in' to or has 'opted-out' from, depending on the subscription type.\nThis will return a list of Subscription Type objects that the contact is associated with.\n\nThe data property will show a combined list of:\n\n 1.Opt-out subscription types that the user has opted-out from.\n 2.Opt-in subscription types that the user has opted-in to receiving.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List tags attached to a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/tags", + "path": [ + "contacts", + "{contact_id}", + "tags" + ] + }, + "description": "You can fetch a list of all tags that are attached to a specific contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Get a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can fetch the details of a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all contacts", + "request": { + "method": "GET", + "url": { + "raw": "/contacts", + "path": [ + "contacts" + ] + }, + "description": "You can fetch a list of all contacts (ie. users or leads) in your workspace.\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `50` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Get a contact by External ID", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/find_by_external_id/{external_id}", + "path": [ + "contacts", + "find_by_external_id", + "{external_id}" + ] + }, + "description": "You can fetch the details of a single contact by external ID. Note that this endpoint only supports users and not leads.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all conversations", + "request": { + "method": "GET", + "url": { + "raw": "/conversations", + "path": [ + "conversations" + ] + }, + "description": "You can fetch a list of all conversations.\n\nYou can optionally request the result page size and the cursor to start after to fetch the result.\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a conversation", + "request": { + "method": "GET", + "url": { + "raw": "/conversations/{id}", + "path": [ + "conversations", + "{id}" + ] + }, + "description": "\nYou can fetch the details of a single conversation.\n\nThis will return a single Conversation model with all its conversation parts.\n\n{% admonition type=\"warning\" name=\"Hard limit of 500 parts\" %}\nThe maximum number of conversation parts that can be returned via the API is 500. If you have more than that we will return the 500 most recent conversation parts.\n{% /admonition %}\n\nFor AI agent conversation metadata, please note that you need to have the agent enabled in your workspace, which is a [paid feature](https://www.intercom.com/help/en/articles/8205718-fin-resolutions#h_97f8c2e671).\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Get Custom Object Instance by External ID", + "request": { + "method": "GET", + "url": { + "raw": "/custom_object_instances/{custom_object_type_identifier}", + "path": [ + "custom_object_instances", + "{custom_object_type_identifier}" + ] + }, + "description": "Fetch a Custom Object Instance by external_id.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Get Custom Object Instance by ID", + "request": { + "method": "GET", + "url": { + "raw": "/custom_object_instances/{custom_object_type_identifier}/{id}", + "path": [ + "custom_object_instances", + "{custom_object_type_identifier}", + "{id}" + ] + }, + "description": "Fetch a Custom Object Instance by id.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all data attributes", + "request": { + "method": "GET", + "url": { + "raw": "/data_attributes", + "path": [ + "data_attributes" + ] + }, + "description": "You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all data events", + "request": { + "method": "GET", + "url": { + "raw": "/events", + "path": [ + "events" + ] + }, + "description": "\n> 🚧\n>\n> Please note that you can only 'list' events that are less than 90 days old. Event counts and summaries will still include your events older than 90 days but you cannot 'list' these events individually if they are older than 90 days\n\nThe events belonging to a customer can be listed by sending a GET request to `https://api.intercom.io/events` with a user or lead identifier along with a `type` parameter. The identifier parameter can be one of `user_id`, `email` or `intercom_user_id`. The `type` parameter value must be `user`.\n\n- `https://api.intercom.io/events?type=user&user_id={user_id}`\n- `https://api.intercom.io/events?type=user&email={email}`\n- `https://api.intercom.io/events?type=user&intercom_user_id={id}` (this call can be used to list leads)\n\nThe `email` parameter value should be [url encoded](http://en.wikipedia.org/wiki/Percent-encoding) when sending.\n\nYou can optionally define the result page size as well with the `per_page` parameter.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Show content data export", + "request": { + "method": "GET", + "url": { + "raw": "/export/content/data/{job_identifier}", + "path": [ + "export", + "content", + "data", + "{job_identifier}" + ] + }, + "description": "You can view the status of your job by sending a `GET` request to the URL\n`https://api.intercom.io/export/content/data/{job_identifier}` - the `{job_identifier}` is the value returned in the response when you first created the export job. More on it can be seen in the Export Job Model.\n\n> 🚧 Jobs expire after two days\n> All jobs that have completed processing (and are thus available to download from the provided URL) will have an expiry limit of two days from when the export ob completed. After this, the data will no longer be available.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Download content data export", + "request": { + "method": "GET", + "url": { + "raw": "/download/content/data/{job_identifier}", + "path": [ + "download", + "content", + "data", + "{job_identifier}" + ] + }, + "description": "When a job has a status of complete, and thus a filled download_url, you can download your data by hitting that provided URL, formatted like so: https://api.intercom.io/download/content/data/xyz1234.\n\nYour exported message data will be streamed continuously back down to you in a gzipped CSV format.\n\n> 📘 Octet header required\n>\n> You will have to specify the header Accept: `application/octet-stream` when hitting this endpoint.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all news items", + "request": { + "method": "GET", + "url": { + "raw": "/news/news_items", + "path": [ + "news", + "news_items" + ] + }, + "description": "You can fetch a list of all news items", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a news item", + "request": { + "method": "GET", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "You can fetch the details of a single news item.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all live newsfeed items", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds/{id}/items", + "path": [ + "news", + "newsfeeds", + "{id}", + "items" + ] + }, + "description": "You can fetch a list of all news items that are live on a given newsfeed", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all newsfeeds", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds", + "path": [ + "news", + "newsfeeds" + ] + }, + "description": "You can fetch a list of all newsfeeds", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a newsfeed", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds/{id}", + "path": [ + "news", + "newsfeeds", + "{id}" + ] + }, + "description": "You can fetch the details of a single newsfeed", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a note", + "request": { + "method": "GET", + "url": { + "raw": "/notes/{id}", + "path": [ + "notes", + "{id}" + ] + }, + "description": "You can fetch the details of a single note.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all segments", + "request": { + "method": "GET", + "url": { + "raw": "/segments", + "path": [ + "segments" + ] + }, + "description": "You can fetch a list of all segments.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a segment", + "request": { + "method": "GET", + "url": { + "raw": "/segments/{id}", + "path": [ + "segments", + "{id}" + ] + }, + "description": "You can fetch the details of a single segment.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List subscription types", + "request": { + "method": "GET", + "url": { + "raw": "/subscription_types", + "path": [ + "subscription_types" + ] + }, + "description": "You can list all subscription types. A list of subscription type objects will be returned.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all tags", + "request": { + "method": "GET", + "url": { + "raw": "/tags", + "path": [ + "tags" + ] + }, + "description": "You can fetch a list of all tags for a given workspace.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Find a specific tag", + "request": { + "method": "GET", + "url": { + "raw": "/tags/{id}", + "path": [ + "tags", + "{id}" + ] + }, + "description": "You can fetch the details of tags that are on the workspace by their id.\nThis will return a tag object.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all teams", + "request": { + "method": "GET", + "url": { + "raw": "/teams", + "path": [ + "teams" + ] + }, + "description": "This will return a list of team objects for the App.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a team", + "request": { + "method": "GET", + "url": { + "raw": "/teams/{id}", + "path": [ + "teams", + "{id}" + ] + }, + "description": "You can fetch the details of a single team, containing an array of admins that belong to this team.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all ticket states", + "request": { + "method": "GET", + "url": { + "raw": "/ticket_states", + "path": [ + "ticket_states" + ] + }, + "description": "You can get a list of all ticket states for a workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all ticket types", + "request": { + "method": "GET", + "url": { + "raw": "/ticket_types", + "path": [ + "ticket_types" + ] + }, + "description": "You can get a list of all ticket types for a workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a ticket type", + "request": { + "method": "GET", + "url": { + "raw": "/ticket_types/{id}", + "path": [ + "ticket_types", + "{id}" + ] + }, + "description": "You can fetch the details of a single ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a ticket", + "request": { + "method": "GET", + "url": { + "raw": "/tickets/{id}", + "path": [ + "tickets", + "{id}" + ] + }, + "description": "You can fetch the details of a single ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a visitor with User ID", + "request": { + "method": "GET", + "url": { + "raw": "/visitors", + "path": [ + "visitors" + ] + }, + "description": "You can fetch the details of a single visitor.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a content import source", + "request": { + "method": "POST", + "url": { + "raw": "/ai/content_import_sources", + "path": [ + "ai", + "content_import_sources" + ] + }, + "description": "You can create a new content import source by sending a POST request to this endpoint.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create an external page (or update an external page by external ID)", + "request": { + "method": "POST", + "url": { + "raw": "/ai/external_pages", + "path": [ + "ai", + "external_pages" + ] + }, + "description": "You can create a new external page by sending a POST request to this endpoint. If an external page already exists with the specified source_id and external_id, it will be updated instead.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create an article", + "request": { + "method": "POST", + "url": { + "raw": "/articles", + "path": [ + "articles" + ] + }, + "description": "You can create a new article by making a POST request to `https://api.intercom.io/articles`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a collection", + "request": { + "method": "POST", + "url": { + "raw": "/help_center/collections", + "path": [ + "help_center", + "collections" + ] + }, + "description": "You can create a new collection by making a POST request to `https://api.intercom.io/help_center/collections.`", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or Update a company", + "request": { + "method": "POST", + "url": { + "raw": "/companies", + "path": [ + "companies" + ] + }, + "description": "You can create or update a company.\n\nCompanies will be only visible in Intercom when there is at least one associated user.\n\nCompanies are looked up via `company_id` in a `POST` request, if not found via `company_id`, the new company will be created, if found, that company will be updated.\n\n{% admonition type=\"warning\" name=\"Using `company_id`\" %}\n You can set a unique `company_id` value when creating a company. However, it is not possible to update `company_id`. Be sure to set a unique value once upon creation of the company.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all companies", + "request": { + "method": "POST", + "url": { + "raw": "/companies/list", + "path": [ + "companies", + "list" + ] + }, + "description": "You can list companies. The company list is sorted by the `last_request_at` field and by default is ordered descending, most recently requested first.\n\nNote that the API does not include companies who have no associated users in list responses.\n\nWhen using the Companies endpoint and the pages object to iterate through the returned companies, there is a limit of 10,000 Companies that can be returned. If you need to list or iterate on more than 10,000 Companies, please use the [Scroll API](https://developers.intercom.com/reference#iterating-over-all-companies).\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Attach a Contact to a Company", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/companies", + "path": [ + "contacts", + "{id}", + "companies" + ] + }, + "description": "You can attach a company to a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a note", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/notes", + "path": [ + "contacts", + "{id}", + "notes" + ] + }, + "description": "You can add a note to a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add subscription to a contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/subscriptions", + "path": [ + "contacts", + "{contact_id}", + "subscriptions" + ] + }, + "description": "You can add a specific subscription to a contact. In Intercom, we have two different subscription types based on user consent - opt-out and opt-in:\n\n 1.Attaching a contact to an opt-out subscription type will opt that user out from receiving messages related to that subscription type.\n\n 2.Attaching a contact to an opt-in subscription type will opt that user in to receiving messages related to that subscription type.\n\nThis will return a subscription type model for the subscription type that was added to the contact.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/tags", + "path": [ + "contacts", + "{contact_id}", + "tags" + ] + }, + "description": "You can tag a specific contact. This will return a tag object for the tag that was added to the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Merge a lead and a user", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/merge", + "path": [ + "contacts", + "merge" + ] + }, + "description": "You can merge a contact with a `role` of `lead` into a contact with a `role` of `user`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search contacts", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/search", + "path": [ + "contacts", + "search" + ] + }, + "description": "You can search for multiple contacts by the value of their attributes in order to fetch exactly who you want.\n\nTo search for contacts, you need to send a `POST` request to `https://api.intercom.io/contacts/search`.\n\nThis will accept a query object in the body which will define your filters in order to search for contacts.\n\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `50` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n### Contact Creation Delay\n\nIf a contact has recently been created, there is a possibility that it will not yet be available when searching. This means that it may not appear in the response. This delay can take a few minutes. If you need to be instantly notified it is recommended to use webhooks and iterate to see if they match your search filters.\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiple's there can be:\n* There's a limit of max 2 nested filters\n* There's a limit of max 15 filters for each AND or OR group\n\n### Searching for Timestamp Fields\n\nAll timestamp fields (created_at, updated_at etc.) are indexed as Dates for Contact Search queries; Datetime queries are not currently supported. This means you can only query for timestamp fields by day - not hour, minute or second.\nFor example, if you search for all Contacts with a created_at value greater (>) than 1577869200 (the UNIX timestamp for January 1st, 2020 9:00 AM), that will be interpreted as 1577836800 (January 1st, 2020 12:00 AM). The search results will then include Contacts created from January 2nd, 2020 12:00 AM onwards.\nIf you'd like to get contacts created on January 1st, 2020 you should search with a created_at value equal (=) to 1577836800 (January 1st, 2020 12:00 AM).\nThis behaviour applies only to timestamps used in search queries. The search results will still contain the full UNIX timestamp and be sorted accordingly.\n\n### Accepted Fields\n\nMost key listed as part of the Contacts Model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foorbar\"`).\n\n| Field | Type |\n| ---------------------------------- | ------------------------------ |\n| id | String |\n| role | String
Accepts user or lead |\n| name | String |\n| avatar | String |\n| owner_id | Integer |\n| email | String |\n| email_domain | String |\n| phone | String |\n| external_id | String |\n| created_at | Date (UNIX Timestamp) |\n| signed_up_at | Date (UNIX Timestamp) |\n| updated_at | Date (UNIX Timestamp) |\n| last_seen_at | Date (UNIX Timestamp) |\n| last_contacted_at | Date (UNIX Timestamp) |\n| last_replied_at | Date (UNIX Timestamp) |\n| last_email_opened_at | Date (UNIX Timestamp) |\n| last_email_clicked_at | Date (UNIX Timestamp) |\n| language_override | String |\n| browser | String |\n| browser_language | String |\n| os | String |\n| location.country | String |\n| location.region | String |\n| location.city | String |\n| unsubscribed_from_emails | Boolean |\n| marked_email_as_spam | Boolean |\n| has_hard_bounced | Boolean |\n| ios_last_seen_at | Date (UNIX Timestamp) |\n| ios_app_version | String |\n| ios_device | String |\n| ios_app_device | String |\n| ios_os_version | String |\n| ios_app_name | String |\n| ios_sdk_version | String |\n| android_last_seen_at | Date (UNIX Timestamp) |\n| android_app_version | String |\n| android_device | String |\n| android_app_name | String |\n| andoid_sdk_version | String |\n| segment_id | String |\n| tag_id | String |\n| custom_attributes.{attribute_name} | String |\n\n### Accepted Operators\n\n{% admonition type=\"warning\" name=\"Searching based on `created_at`\" %}\n You cannot use the `<=` or `>=` operators to search by `created_at`.\n{% /admonition %}\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :------------------------------- | :--------------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In
Shortcut for `OR` queries
Values must be in Array |\n| NIN | All | Not In
Shortcut for `OR !` queries
Values must be in Array |\n| > | Integer
Date (UNIX Timestamp) | Greater than |\n| < | Integer
Date (UNIX Timestamp) | Lower than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts", + "path": [ + "contacts" + ] + }, + "description": "You can create a new contact (ie. user or lead).", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Archive contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/archive", + "path": [ + "contacts", + "{id}", + "archive" + ] + }, + "description": "You can archive a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Unarchive contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/unarchive", + "path": [ + "contacts", + "{id}", + "unarchive" + ] + }, + "description": "You can unarchive a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Block contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/block", + "path": [ + "contacts", + "{id}", + "block" + ] + }, + "description": "Block a single contact.
**Note:** conversations of the contact will also be archived during the process.
More details in [FAQ How do I block Inbox spam?](https://www.intercom.com/help/en/articles/8838656-inbox-faqs)", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{conversation_id}/tags", + "path": [ + "conversations", + "{conversation_id}", + "tags" + ] + }, + "description": "You can tag a specific conversation. This will return a tag object for the tag that was added to the conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Creates a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations", + "path": [ + "conversations" + ] + }, + "description": "You can create a conversation that has been initiated by a contact (ie. user or lead).\nThe conversation can be an in-app message only.\n\n{% admonition type=\"info\" name=\"Sending for visitors\" %}\nYou can also send a message from a visitor by specifying their `user_id` or `id` value in the `from` field, along with a `type` field value of `contact`.\nThis visitor will be automatically converted to a contact with a lead role once the conversation is created.\n{% /admonition %}\n\nThis will return the Message model that has been created.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search conversations", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/search", + "path": [ + "conversations", + "search" + ] + }, + "description": "You can search for multiple conversations by the value of their attributes in order to fetch exactly which ones you want.\n\nTo search for conversations, you need to send a `POST` request to `https://api.intercom.io/conversations/search`.\n\nThis will accept a query object in the body which will define your filters in order to search for conversations.\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `20` results per page and maximum is `150`.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiple's there can be:\n- There's a limit of max 2 nested filters\n- There's a limit of max 15 filters for each AND or OR group\n\n### Accepted Fields\n\nMost keys listed as part of the conversation model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foorbar\"`).\nThe `source.body` field is unique as the search will not be performed against the entire value, but instead against every element of the value separately. For example, when searching for a conversation with a `\"I need support\"` body - the query should contain a `=` operator with the value `\"support\"` for such conversation to be returned. A query with a `=` operator and a `\"need support\"` value will not yield a result.\n\n| Field | Type |\n| :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------- |\n| id | String |\n| created_at | Date (UNIX timestamp) |\n| updated_at | Date (UNIX timestamp) |\n| source.type | String
Accepted fields are `conversation`, `email`, `facebook`, `instagram`, `phone_call`, `phone_switch`, `push`, `sms`, `twitter` and `whatsapp`. |\n| source.id | String |\n| source.delivered_as | String |\n| source.subject | String |\n| source.body | String |\n| source.author.id | String |\n| source.author.type | String |\n| source.author.name | String |\n| source.author.email | String |\n| source.url | String |\n| contact_ids | String |\n| teammate_ids | String |\n| admin_assignee_id | String |\n| team_assignee_id | String |\n| channel_initiated | String |\n| open | Boolean |\n| read | Boolean |\n| state | String |\n| waiting_since | Date (UNIX timestamp) |\n| snoozed_until | Date (UNIX timestamp) |\n| tag_ids | String |\n| priority | String |\n| statistics.time_to_assignment | Integer |\n| statistics.time_to_admin_reply | Integer |\n| statistics.time_to_first_close | Integer |\n| statistics.time_to_last_close | Integer |\n| statistics.median_time_to_reply | Integer |\n| statistics.first_contact_reply_at | Date (UNIX timestamp) |\n| statistics.first_assignment_at | Date (UNIX timestamp) |\n| statistics.first_admin_reply_at | Date (UNIX timestamp) |\n| statistics.first_close_at | Date (UNIX timestamp) |\n| statistics.last_assignment_at | Date (UNIX timestamp) |\n| statistics.last_assignment_admin_reply_at | Date (UNIX timestamp) |\n| statistics.last_contact_reply_at | Date (UNIX timestamp) |\n| statistics.last_admin_reply_at | Date (UNIX timestamp) |\n| statistics.last_close_at | Date (UNIX timestamp) |\n| statistics.last_closed_by_id | String |\n| statistics.count_reopens | Integer |\n| statistics.count_assignments | Integer |\n| statistics.count_conversation_parts | Integer |\n| conversation_rating.requested_at | Date (UNIX timestamp) |\n| conversation_rating.replied_at | Date (UNIX timestamp) |\n| conversation_rating.score | Integer |\n| conversation_rating.remark | String |\n| conversation_rating.contact_id | String |\n| conversation_rating.admin_d | String |\n| ai_agent_participated | Boolean |\n| ai_agent.resolution_state | String |\n| ai_agent.last_answer_type | String |\n| ai_agent.rating | Integer |\n| ai_agent.rating_remark | String |\n| ai_agent.source_type | String |\n| ai_agent.source_title | String |\n\n### Accepted Operators\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :----------------------------- | :----------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In Shortcut for `OR` queries Values most be in Array |\n| NIN | All | Not In Shortcut for `OR !` queries Values must be in Array |\n| > | Integer Date (UNIX Timestamp) | Greater (or equal) than |\n| < | Integer Date (UNIX Timestamp) | Lower (or equal) than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Reply to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/reply", + "path": [ + "conversations", + "{id}", + "reply" + ] + }, + "description": "You can reply to a conversation with a message from an admin or on behalf of a contact, or with a note for admins.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Manage a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/parts", + "path": [ + "conversations", + "{id}", + "parts" + ] + }, + "description": "For managing conversations you can:\n- Close a conversation\n- Snooze a conversation to reopen on a future date\n- Open a conversation which is `snoozed` or `closed`\n- Assign a conversation to an admin and/or team.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Attach a contact to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/customers", + "path": [ + "conversations", + "{id}", + "customers" + ] + }, + "description": "You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.\n\n{% admonition type=\"warning\" name=\"Contacts without an email\" %}\nIf you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Redact a conversation part", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/redact", + "path": [ + "conversations", + "redact" + ] + }, + "description": "You can redact a conversation part or the source message of a conversation (as seen in the source object).\n\n{% admonition type=\"info\" name=\"Redacting parts and messages\" %}\nIf you are redacting a conversation part, it must have a `body`. If you are redacting a source message, it must have been created by a contact. We will return a `conversation_part_not_redactable` error if these criteria are not met.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Convert a conversation to a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/convert", + "path": [ + "conversations", + "{id}", + "convert" + ] + }, + "description": "You can convert a conversation to a ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or Update a Custom Object Instance", + "request": { + "method": "POST", + "url": { + "raw": "/custom_object_instances/{custom_object_type_identifier}", + "path": [ + "custom_object_instances", + "{custom_object_type_identifier}" + ] + }, + "description": "Create or update a custom object instance", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a data attribute", + "request": { + "method": "POST", + "url": { + "raw": "/data_attributes", + "path": [ + "data_attributes" + ] + }, + "description": "You can create a data attributes for a `contact` or a `company`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Submit a data event", + "request": { + "method": "POST", + "url": { + "raw": "/events", + "path": [ + "events" + ] + }, + "description": "\nYou will need an Access Token that has write permissions to send Events. Once you have a key you can submit events via POST to the Events resource, which is located at https://api.intercom.io/events, or you can send events using one of the client libraries. When working with the HTTP API directly a client should send the event with a `Content-Type` of `application/json`.\n\nWhen using the JavaScript API, [adding the code to your app](http://docs.intercom.io/configuring-Intercom/tracking-user-events-in-your-app) makes the Events API available. Once added, you can submit an event using the `trackEvent` method. This will associate the event with the Lead or currently logged-in user or logged-out visitor/lead and send it to Intercom. The final parameter is a map that can be used to send optional metadata about the event.\n\nWith the Ruby client you pass a hash describing the event to `Intercom::Event.create`, or call the `track_user` method directly on the current user object (e.g. `user.track_event`).\n\n**NB: For the JSON object types, please note that we do not currently support nested JSON structure.**\n\n| Type | Description | Example |\n| :-------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------- |\n| String | The value is a JSON String | `\"source\":\"desktop\"` |\n| Number | The value is a JSON Number | `\"load\": 3.67` |\n| Date | The key ends with the String `_date` and the value is a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time), assumed to be in the [UTC](http://en.wikipedia.org/wiki/Coordinated_Universal_Time) timezone. | `\"contact_date\": 1392036272` |\n| Link | The value is a HTTP or HTTPS URI. | `\"article\": \"https://example.org/ab1de.html\"` |\n| Rich Link | The value is a JSON object that contains `url` and `value` keys. | `\"article\": {\"url\": \"https://example.org/ab1de.html\", \"value\":\"the dude abides\"}` |\n| Monetary Amount | The value is a JSON object that contains `amount` and `currency` keys. The `amount` key is a positive integer representing the amount in cents. The price in the example to the right denotes €349.99. | `\"price\": {\"amount\": 34999, \"currency\": \"eur\"}` |\n\n**Lead Events**\n\nWhen submitting events for Leads, you will need to specify the Lead's `id`.\n\n**Metadata behaviour**\n\n- We currently limit the number of tracked metadata keys to 10 per event. Once the quota is reached, we ignore any further keys we receive. The first 10 metadata keys are determined by the order in which they are sent in with the event.\n- It is not possible to change the metadata keys once the event has been sent. A new event will need to be created with the new keys and you can archive the old one.\n- There might be up to 24 hrs delay when you send a new metadata for an existing event.\n\n**Event de-duplication**\n\nThe API may detect and ignore duplicate events. Each event is uniquely identified as a combination of the following data - the Workspace identifier, the Contact external identifier, the Data Event name and the Data Event created time. As a result, it is **strongly recommended** to send a second granularity Unix timestamp in the `created_at` field.\n\nDuplicated events are responded to using the normal `202 Accepted` code - an error is not thrown, however repeat requests will be counted against any rate limit that is in place.\n\n### HTTP API Responses\n\n- Successful responses to submitted events return `202 Accepted` with an empty body.\n- Unauthorised access will be rejected with a `401 Unauthorized` or `403 Forbidden` response code.\n- Events sent about users that cannot be found will return a `404 Not Found`.\n- Event lists containing duplicate events will have those duplicates ignored.\n- Server errors will return a `500` response code and may contain an error message in the body.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create event summaries", + "request": { + "method": "POST", + "url": { + "raw": "/events/summaries", + "path": [ + "events", + "summaries" + ] + }, + "description": "Create event summaries for a user. Event summaries are used to track the number of times an event has occurred, the first time it occurred and the last time it occurred.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create content data export", + "request": { + "method": "POST", + "url": { + "raw": "/export/content/data", + "path": [ + "export", + "content", + "data" + ] + }, + "description": "To create your export job, you need to send a `POST` request to the export endpoint `https://api.intercom.io/export/content/data`.\n\nThe only parameters you need to provide are the range of dates that you want exported.\n\n>🚧 Limit of one active job\n>\n> You can only have one active job per workspace. You will receive a HTTP status code of 429 with the message Exceeded rate limit of 1 pending message data export jobs if you attempt to create a second concurrent job.\n\n>❗️ Updated_at not included\n>\n> It should be noted that the timeframe only includes messages sent during the time period and not messages that were only updated during this period. For example, if a message was updated yesterday but sent two days ago, you would need to set the created_at_after date before the message was sent to include that in your retrieval job.\n\n>📘 Date ranges are inclusive\n>\n> Requesting data for 2018-06-01 until 2018-06-30 will get all data for those days including those specified - e.g. 2018-06-01 00:00:00 until 2018-06-30 23:59:99.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Cancel content data export", + "request": { + "method": "POST", + "url": { + "raw": "/export/cancel/{job_identifier}", + "path": [ + "export", + "cancel", + "{job_identifier}" + ] + }, + "description": "You can cancel your job", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a message", + "request": { + "method": "POST", + "url": { + "raw": "/messages", + "path": [ + "messages" + ] + }, + "description": "You can create a message that has been initiated by an admin. The conversation can be either an in-app message or an email.\n\n> 🚧 Sending for visitors\n>\n> There can be a short delay between when a contact is created and when a contact becomes available to be messaged through the API. A 404 Not Found error will be returned in this case.\n\nThis will return the Message model that has been created.\n\n> 🚧 Retrieving Associated Conversations\n>\n> As this is a message, there will be no conversation present until the contact responds. Once they do, you will have to search for a contact's conversations with the id of the message.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a news item", + "request": { + "method": "POST", + "url": { + "raw": "/news/news_items", + "path": [ + "news", + "news_items" + ] + }, + "description": "You can create a news item", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a phone Switch", + "request": { + "method": "POST", + "url": { + "raw": "/phone_call_redirects", + "path": [ + "phone_call_redirects" + ] + }, + "description": "You can use the API to deflect phone calls to the Intercom Messenger.\nCalling this endpoint will send an SMS with a link to the Messenger to the phone number specified.\n\nIf custom attributes are specified, they will be added to the user or lead's custom data attributes.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or update a tag, Tag or untag companies, Tag contacts", + "request": { + "method": "POST", + "url": { + "raw": "/tags", + "path": [ + "tags" + ] + }, + "description": "You can use this endpoint to perform the following operations:\n\n **1. Create a new tag:** You can create a new tag by passing in the tag name as specified in \"Create or Update Tag Request Payload\" described below.\n\n **2. Update an existing tag:** You can update an existing tag by passing the id of the tag as specified in \"Create or Update Tag Request Payload\" described below.\n\n **3. Tag Companies:** You can tag single company or a list of companies. You can tag a company by passing in the tag name and the company details as specified in \"Tag Company Request Payload\" described below. Also, if the tag doesn't exist then a new one will be created automatically.\n\n **4. Untag Companies:** You can untag a single company or a list of companies. You can untag a company by passing in the tag id and the company details as specified in \"Untag Company Request Payload\" described below.\n\n **5. Tag Multiple Users:** You can tag a list of users. You can tag the users by passing in the tag name and the user details as specified in \"Tag Users Request Payload\" described below.\n\nEach operation will return a tag object.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a new attribute for a ticket type", + "request": { + "method": "POST", + "url": { + "raw": "/ticket_types/{ticket_type_id}/attributes", + "path": [ + "ticket_types", + "{ticket_type_id}", + "attributes" + ] + }, + "description": "You can create a new attribute for a ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a ticket type", + "request": { + "method": "POST", + "url": { + "raw": "/ticket_types", + "path": [ + "ticket_types" + ] + }, + "description": "You can create a new ticket type.\n> 📘 Creating ticket types.\n>\n> Every ticket type will be created with two default attributes: _default_title_ and _default_description_.\n> For the `icon` propery, use an emoji from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/)\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Reply to a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets/{id}/reply", + "path": [ + "tickets", + "{id}", + "reply" + ] + }, + "description": "You can reply to a ticket with a message from an admin or on behalf of a contact, or with a note for admins.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets/{ticket_id}/tags", + "path": [ + "tickets", + "{ticket_id}", + "tags" + ] + }, + "description": "You can tag a specific ticket. This will return a tag object for the tag that was added to the ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets", + "path": [ + "tickets" + ] + }, + "description": "You can create a new ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search tickets", + "request": { + "method": "POST", + "url": { + "raw": "/tickets/search", + "path": [ + "tickets", + "search" + ] + }, + "description": "You can search for multiple tickets by the value of their attributes in order to fetch exactly which ones you want.\n\nTo search for tickets, you send a `POST` request to `https://api.intercom.io/tickets/search`.\n\nThis will accept a query object in the body which will define your filters.\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiples there can be:\n- There's a limit of max 2 nested filters\n- There's a limit of max 15 filters for each AND or OR group\n\n### Accepted Fields\n\nMost keys listed as part of the Ticket model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foobar\"`).\nThe `source.body` field is unique as the search will not be performed against the entire value, but instead against every element of the value separately. For example, when searching for a conversation with a `\"I need support\"` body - the query should contain a `=` operator with the value `\"support\"` for such conversation to be returned. A query with a `=` operator and a `\"need support\"` value will not yield a result.\n\n| Field | Type |\n| :---------------------------------------- | :--------------------------------------------------------------------------------------- |\n| id | String |\n| created_at | Date (UNIX timestamp) |\n| updated_at | Date (UNIX timestamp) |\n| _default_title_ | String |\n| _default_description_ | String |\n| category | String |\n| ticket_type_id | String |\n| contact_ids | String |\n| teammate_ids | String |\n| admin_assignee_id | String |\n| team_assignee_id | String |\n| open | Boolean |\n| state | String |\n| snoozed_until | Date (UNIX timestamp) |\n| ticket_attribute.{id} | String or Boolean or Date (UNIX timestamp) or Float or Integer |\n\n### Accepted Operators\n\n{% admonition type=\"info\" name=\"Searching based on `created_at`\" %}\n You may use the `<=` or `>=` operators to search by `created_at`.\n{% /admonition %}\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :----------------------------- | :----------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In Shortcut for `OR` queries Values most be in Array |\n| NIN | All | Not In Shortcut for `OR !` queries Values must be in Array |\n| > | Integer Date (UNIX Timestamp) | Greater (or equal) than |\n| < | Integer Date (UNIX Timestamp) | Lower (or equal) than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Convert a visitor", + "request": { + "method": "POST", + "url": { + "raw": "/visitors/convert", + "path": [ + "visitors", + "convert" + ] + }, + "description": "You can merge a Visitor to a Contact of role type `lead` or `user`.\n\n> 📘 What happens upon a visitor being converted?\n>\n> If the User exists, then the Visitor will be merged into it, the Visitor deleted and the User returned. If the User does not exist, the Visitor will be converted to a User, with the User identifiers replacing it's Visitor identifiers.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Set an admin to away", + "request": { + "method": "PUT", + "url": { + "raw": "/admins/{id}/away", + "path": [ + "admins", + "{id}", + "away" + ] + }, + "description": "You can set an Admin as away for the Inbox.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a content import source", + "request": { + "method": "PUT", + "url": { + "raw": "/ai/content_import_sources/{id}", + "path": [ + "ai", + "content_import_sources", + "{id}" + ] + }, + "description": "You can update an existing content import source.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update an external page", + "request": { + "method": "PUT", + "url": { + "raw": "/ai/external_pages/{id}", + "path": [ + "ai", + "external_pages", + "{id}" + ] + }, + "description": "You can update an existing external page (if it was created via the API).", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update an article", + "request": { + "method": "PUT", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can update the details of a single article by making a PUT request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a collection", + "request": { + "method": "PUT", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can update the details of a single collection by making a PUT request to `https://api.intercom.io/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a company", + "request": { + "method": "PUT", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can update a single company using the Intercom provisioned `id`.\n\n{% admonition type=\"warning\" name=\"Using `company_id`\" %}\n When updating a company it is not possible to update `company_id`. This can only be set once upon creation of the company.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a contact", + "request": { + "method": "PUT", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can update an existing contact (ie. user or lead).\n\n{% admonition type=\"info\" %}\n This endpoint handles both **contact updates** and **custom object associations**.\n\n See _`update a contact with an association to a custom object instance`_ in the request/response examples to see the custom object association format.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a conversation", + "request": { + "method": "PUT", + "url": { + "raw": "/conversations/{id}", + "path": [ + "conversations", + "{id}" + ] + }, + "description": "\nYou can update an existing conversation.\n\n{% admonition type=\"info\" name=\"Replying and other actions\" %}\nIf you want to reply to a coveration or take an action such as assign, unassign, open, close or snooze, take a look at the reply and manage endpoints.\n{% /admonition %}\n\n{% admonition type=\"info\" %}\n This endpoint handles both **conversation updates** and **custom object associations**.\n\n See _`update a conversation with an association to a custom object instance`_ in the request/response examples to see the custom object association format.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a data attribute", + "request": { + "method": "PUT", + "url": { + "raw": "/data_attributes/{id}", + "path": [ + "data_attributes", + "{id}" + ] + }, + "description": "\nYou can update a data attribute.\n\n> 🚧 Updating the data type is not possible\n>\n> It is currently a dangerous action to execute changing a data attribute's type via the API. You will need to update the type via the UI instead.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a news item", + "request": { + "method": "PUT", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update an existing attribute for a ticket type", + "request": { + "method": "PUT", + "url": { + "raw": "/ticket_types/{ticket_type_id}/attributes/{id}", + "path": [ + "ticket_types", + "{ticket_type_id}", + "attributes", + "{id}" + ] + }, + "description": "You can update an existing attribute for a ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a ticket type", + "request": { + "method": "PUT", + "url": { + "raw": "/ticket_types/{id}", + "path": [ + "ticket_types", + "{id}" + ] + }, + "description": "\nYou can update a ticket type.\n\n> 📘 Updating a ticket type.\n>\n> For the `icon` propery, use an emoji from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/)\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a ticket", + "request": { + "method": "PUT", + "url": { + "raw": "/tickets/{id}", + "path": [ + "tickets", + "{id}" + ] + }, + "description": "You can update a ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a visitor", + "request": { + "method": "PUT", + "url": { + "raw": "/visitors", + "path": [ + "visitors" + ] + }, + "description": "Sending a PUT request to `/visitors` will result in an update of an existing Visitor.\n\n**Option 1.** You can update a visitor by passing in the `user_id` of the visitor in the Request body.\n\n**Option 2.** You can update a visitor by passing in the `id` of the visitor in the Request body.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a content import source", + "request": { + "method": "DELETE", + "url": { + "raw": "/ai/content_import_sources/{id}", + "path": [ + "ai", + "content_import_sources", + "{id}" + ] + }, + "description": "You can delete a content import source by making a DELETE request this endpoint. This will also delete all external pages that were imported from this source.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete an external page", + "request": { + "method": "DELETE", + "url": { + "raw": "/ai/external_pages/{id}", + "path": [ + "ai", + "external_pages", + "{id}" + ] + }, + "description": "Sending a DELETE request for an external page will remove it from the content library UI and from being used for AI answers.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete an article", + "request": { + "method": "DELETE", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can delete a single article by making a DELETE request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a collection", + "request": { + "method": "DELETE", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can delete a single collection by making a DELETE request to `https://api.intercom.io/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a company", + "request": { + "method": "DELETE", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can delete a single company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Detach a contact from a company", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/companies/{id}", + "path": [ + "contacts", + "{contact_id}", + "companies", + "{id}" + ] + }, + "description": "You can detach a company from a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove subscription from a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/subscriptions/{id}", + "path": [ + "contacts", + "{contact_id}", + "subscriptions", + "{id}" + ] + }, + "description": "You can remove a specific subscription from a contact. This will return a subscription type model for the subscription type that was removed from the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/tags/{id}", + "path": [ + "contacts", + "{contact_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific contact. This will return a tag object for the tag that was removed from the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can delete a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{conversation_id}/tags/{id}", + "path": [ + "conversations", + "{conversation_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific conversation. This will return a tag object for the tag that was removed from the conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{id}", + "path": [ + "conversations", + "{id}" + ] + }, + "description": "You can delete a single conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Detach a contact from a group conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{conversation_id}/customers/{contact_id}", + "path": [ + "conversations", + "{conversation_id}", + "customers", + "{contact_id}" + ] + }, + "description": "You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.\n\n{% admonition type=\"warning\" name=\"Contacts without an email\" %}\nIf you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a Custom Object Instance by External ID", + "request": { + "method": "DELETE", + "url": { + "raw": "/custom_object_instances/{custom_object_type_identifier}", + "path": [ + "custom_object_instances", + "{custom_object_type_identifier}" + ] + }, + "description": "Delete a single Custom Object instance by external_id.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a Custom Object Instance by ID", + "request": { + "method": "DELETE", + "url": { + "raw": "/custom_object_instances/{custom_object_type_identifier}/{id}", + "path": [ + "custom_object_instances", + "{custom_object_type_identifier}", + "{id}" + ] + }, + "description": "Delete a single Custom Object instance using the Intercom defined id.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a news item", + "request": { + "method": "DELETE", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "You can delete a single news item.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete tag", + "request": { + "method": "DELETE", + "url": { + "raw": "/tags/{id}", + "path": [ + "tags", + "{id}" + ] + }, + "description": "You can delete the details of tags that are on the workspace by passing in the id.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a ticket", + "request": { + "method": "DELETE", + "url": { + "raw": "/tickets/{ticket_id}/tags/{id}", + "path": [ + "tickets", + "{ticket_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific ticket. This will return a tag object for the tag that was removed from the ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a ticket", + "request": { + "method": "DELETE", + "url": { + "raw": "/tickets/{id}", + "path": [ + "tickets", + "{id}" + ] + }, + "description": "You can delete a ticket using the Intercom provided ID.", + "header": [], + "body": {} + }, + "response": [] + } + ] + } + ], + "event": [], + "variable": [ + { + "id": "2a91ef54-b011-4e48-a1da-ffbb3643fe54", + "key": "https://api.intercom.io", + "value": "https://api.intercom.io", + "type": "string", + "description": "The production API server" + }, + { + "id": "34ef03aa-6af8-46de-86eb-cc0ccd7d2668", + "key": "https://api.eu.intercom.io", + "value": "https://api.eu.intercom.io", + "type": "string", + "description": "The european API server" + }, + { + "id": "13a5da53-58e4-4e81-8f77-d937cc46c213", + "key": "https://api.au.intercom.io", + "value": "https://api.au.intercom.io", + "type": "string", + "description": "The australian API server" + }, + { + "id": "531454af-c64c-4920-89fe-066a7b9682a6", + "key": "bearerToken", + "value": "{{bearerToken}}", + "type": "string", + "description": "bearertokenvalue" + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "bearerToken", + "value": "{{bearerToken}}", + "type": "string" + }, + { + "key": "tokenType", + "value": "bearer", + "type": "string" + }, + { + "key": "addTokenTo", + "value": "header", + "type": "string" + } + ] + } +} \ No newline at end of file diff --git a/postman/2.7/README.md b/postman/2.7/README.md new file mode 100644 index 0000000..68e3bb1 --- /dev/null +++ b/postman/2.7/README.md @@ -0,0 +1,15 @@ +# Intercom API 2.7 Postman Collection + +This directory contains the Postman collection for Intercom API version 2.7. + +## Files +- `intercom-api.postman_collection.json`: The main Postman collection +- `environment.json`: Environment variables for this version + +## Usage +1. Import the collection into Postman +2. Import the environment file +3. Set your access token in the environment variables +4. Start making API calls! + +Last updated: 2025-04-15T14:40:03.263Z diff --git a/postman/2.7/environment.json b/postman/2.7/environment.json new file mode 100644 index 0000000..35b4e00 --- /dev/null +++ b/postman/2.7/environment.json @@ -0,0 +1,18 @@ +{ + "id": "intercom-api-2.7-environment", + "name": "Intercom API 2.7 Environment", + "values": [ + { + "key": "baseUrl", + "value": "https://api.intercom.io", + "type": "default", + "enabled": true + }, + { + "key": "token", + "value": "YOUR_ACCESS_TOKEN", + "type": "secret", + "enabled": true + } + ] +} \ No newline at end of file diff --git a/postman/2.7/intercom-api.postman_collection.json b/postman/2.7/intercom-api.postman_collection.json new file mode 100644 index 0000000..e47b91a --- /dev/null +++ b/postman/2.7/intercom-api.postman_collection.json @@ -0,0 +1,1762 @@ +{ + "info": { + "name": "Intercom API - 2.7", + "description": "The intercom API reference.", + "version": "2.7", + "contact": { + "name": "Intercom Developer Hub", + "url": "https://developers.intercom.com" + }, + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "updatedAt": "2025-04-15T14:40:03.262Z" + }, + "item": [ + { + "name": "General", + "item": [ + { + "name": "Identify an admin", + "request": { + "method": "GET", + "url": { + "raw": "/me", + "path": [ + "me" + ] + }, + "description": "\nYou can view the currently authorised admin along with the embedded app object (a \"workspace\" in legacy terminology).\n\n> 🚧 Single Sign On\n>\n> If you are building a custom \"Log in with Intercom\" flow for your site, and you call the `/me` endpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all activity logs", + "request": { + "method": "GET", + "url": { + "raw": "/admins/activity_logs", + "path": [ + "admins", + "activity_logs" + ] + }, + "description": "You can get a log of activities by all admins in an app.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all admins", + "request": { + "method": "GET", + "url": { + "raw": "/admins", + "path": [ + "admins" + ] + }, + "description": "You can fetch a list of admins for a given workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an admin", + "request": { + "method": "GET", + "url": { + "raw": "/admins/{id}", + "path": [ + "admins", + "{id}" + ] + }, + "description": "You can retrieve the details of a single admin.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all articles", + "request": { + "method": "GET", + "url": { + "raw": "/articles", + "path": [ + "articles" + ] + }, + "description": "You can fetch a list of all articles by making a GET request to `https://api.intercom.io/articles`.\n\n> 📘 How are the articles sorted and ordered?\n>\n> Articles will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated articles first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an article", + "request": { + "method": "GET", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can fetch the details of a single article by making a GET request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all collections", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/collections", + "path": [ + "help_center", + "collections" + ] + }, + "description": "You can fetch a list of all collections by making a GET request to `https://api.intercom.io/help_center/collections`.\n\nCollections will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated collections first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a collection", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can fetch the details of a single collection by making a GET request to `https://api.intercom.io/help_center/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a Help Center", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/help_centers/{id}", + "path": [ + "help_center", + "help_centers", + "{id}" + ] + }, + "description": "You can fetch the details of a single Help Center by making a GET request to `https://api.intercom.io/help_center/help_center/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all Help Centers", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/help_centers", + "path": [ + "help_center", + "help_centers" + ] + }, + "description": "You can list all Help Centers by making a GET request to `https://api.intercom.io/help_center/help_centers`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all sections", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/sections", + "path": [ + "help_center", + "sections" + ] + }, + "description": "You can fetch a list of all sections by making a GET request to `https://api.intercom.io/help_center/sections`.\n> 📘 How are the sections sorted and ordered?\n>\n> Sections will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated sections first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a section", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/sections/{id}", + "path": [ + "help_center", + "sections", + "{id}" + ] + }, + "description": "You can fetch the details of a single section by making a GET request to `https://api.intercom.io/help_center/sections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies", + "path": [ + "companies" + ] + }, + "description": "You can fetch a single company by passing in `company_id` or `name`.\n\n `https://api.intercom.io/companies?name={name}`\n\n `https://api.intercom.io/companies?company_id={company_id}`\n\nYou can fetch all companies and filter by `segment_id` or `tag_id` as a query parameter.\n\n `https://api.intercom.io/companies?tag_id={tag_id}`\n\n `https://api.intercom.io/companies?segment_id={segment_id}`\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a company by ID", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can fetch a single company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached contacts", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}/contacts", + "path": [ + "companies", + "{id}", + "contacts" + ] + }, + "description": "You can fetch a list of all contacts that belong to a company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached segments for companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}/segments", + "path": [ + "companies", + "{id}", + "segments" + ] + }, + "description": "You can fetch a list of all segments that belong to a company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Scroll over all companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies/scroll", + "path": [ + "companies", + "scroll" + ] + }, + "description": " The `list all companies` functionality does not work well for huge datasets, and can result in errors and performance problems when paging deeply. The Scroll API provides an efficient mechanism for iterating over all companies in a dataset.\n\n- Each app can only have 1 scroll open at a time. You'll get an error message if you try to have more than one open per app.\n- If the scroll isn't used for 1 minute, it expires and calls with that scroll param will fail\n- If the end of the scroll is reached, \"companies\" will be empty and the scroll parameter will expire\n\n{% admonition type=\"info\" name=\"Scroll Parameter\" %}\n You can get the first page of companies by simply sending a GET request to the scroll endpoint.\n For subsequent requests you will need to use the scroll parameter from the response.\n{% /admonition %}\n{% admonition type=\"danger\" name=\"Scroll network timeouts\" %}\n Since scroll is often used on large datasets network errors such as timeouts can be encountered. When this occurs you will see a HTTP 500 error with the following message:\n \"Request failed due to an internal network error. Please restart the scroll operation.\"\n If this happens, you will need to restart your scroll query: It is not possible to continue from a specific point when using scroll.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached companies for contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}/companies", + "path": [ + "contacts", + "{id}", + "companies" + ] + }, + "description": "You can fetch a list of companies that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all notes", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}/notes", + "path": [ + "contacts", + "{id}", + "notes" + ] + }, + "description": "You can fetch a list of notes that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached segments for contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/segments", + "path": [ + "contacts", + "{contact_id}", + "segments" + ] + }, + "description": "You can fetch a list of segments that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List subscriptions for a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/subscriptions", + "path": [ + "contacts", + "{contact_id}", + "subscriptions" + ] + }, + "description": "You can fetch a list of subscription types that are attached to a contact. These can be subscriptions that a user has 'opted-in' to or has 'opted-out' from, depending on the subscription type.\nThis will return a list of Subscription Type objects that the contact is associated with.\n\nThe data property will show a combined list of:\n\n 1.Opt-out subscription types that the user has opted-out from.\n 2.Opt-in subscription types that the user has opted-in to receiving.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List tags attached to a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/tags", + "path": [ + "contacts", + "{contact_id}", + "tags" + ] + }, + "description": "You can fetch a list of all tags that are attached to a specific contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Get a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can fetch the details of a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all contacts", + "request": { + "method": "GET", + "url": { + "raw": "/contacts", + "path": [ + "contacts" + ] + }, + "description": "You can fetch a list of all contacts (ie. users or leads) in your workspace.\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `50` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all conversations", + "request": { + "method": "GET", + "url": { + "raw": "/conversations", + "path": [ + "conversations" + ] + }, + "description": "You can fetch a list of all conversations.\n\nYou can optionally request the result page size and the cursor to start after to fetch the result.\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a conversation", + "request": { + "method": "GET", + "url": { + "raw": "/conversations/{id}", + "path": [ + "conversations", + "{id}" + ] + }, + "description": "\nYou can fetch the details of a single conversation.\n\nThis will return a single Conversation model with all its conversation parts.\n\n{% admonition type=\"warning\" name=\"Hard limit of 500 parts\" %}\nThe maximum number of conversation parts that can be returned via the API is 500. If you have more than that we will return the 500 most recent conversation parts.\n{% /admonition %}\n\nFor AI agent conversation metadata, please note that you need to have the agent enabled in your workspace, which is a [paid feature](https://www.intercom.com/help/en/articles/8205718-fin-resolutions#h_97f8c2e671).\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all data attributes", + "request": { + "method": "GET", + "url": { + "raw": "/data_attributes", + "path": [ + "data_attributes" + ] + }, + "description": "You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all data events", + "request": { + "method": "GET", + "url": { + "raw": "/events", + "path": [ + "events" + ] + }, + "description": "\n> 🚧\n>\n> Please note that you can only 'list' events that are less than 90 days old. Event counts and summaries will still include your events older than 90 days but you cannot 'list' these events individually if they are older than 90 days\n\nThe events belonging to a customer can be listed by sending a GET request to `https://api.intercom.io/events` with a user or lead identifier along with a `type` parameter. The identifier parameter can be one of `user_id`, `email` or `intercom_user_id`. The `type` parameter value must be `user`.\n\n- `https://api.intercom.io/events?type=user&user_id={user_id}`\n- `https://api.intercom.io/events?type=user&email={email}`\n- `https://api.intercom.io/events?type=user&intercom_user_id={id}` (this call can be used to list leads)\n\nThe `email` parameter value should be [url encoded](http://en.wikipedia.org/wiki/Percent-encoding) when sending.\n\nYou can optionally define the result page size as well with the `per_page` parameter.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Show content data export", + "request": { + "method": "GET", + "url": { + "raw": "/export/content/data/{job_identifier}", + "path": [ + "export", + "content", + "data", + "{job_identifier}" + ] + }, + "description": "You can view the status of your job by sending a `GET` request to the URL\n`https://api.intercom.io/export/content/data/{job_identifier}` - the `{job_identifier}` is the value returned in the response when you first created the export job. More on it can be seen in the Export Job Model.\n\n> 🚧 Jobs expire after two days\n> All jobs that have completed processing (and are thus available to download from the provided URL) will have an expiry limit of two days from when the export ob completed. After this, the data will no longer be available.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Download content data export", + "request": { + "method": "GET", + "url": { + "raw": "/download/content/data/{job_identifier}", + "path": [ + "download", + "content", + "data", + "{job_identifier}" + ] + }, + "description": "When a job has a status of complete, and thus a filled download_url, you can download your data by hitting that provided URL, formatted like so: https://api.intercom.io/download/content/data/xyz1234.\n\nYour exported message data will be streamed continuously back down to you in a gzipped CSV format.\n\n> 📘 Octet header required\n>\n> You will have to specify the header Accept: `application/octet-stream` when hitting this endpoint.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all news items", + "request": { + "method": "GET", + "url": { + "raw": "/news/news_items", + "path": [ + "news", + "news_items" + ] + }, + "description": "You can fetch a list of all news items", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a news item", + "request": { + "method": "GET", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "You can fetch the details of a single news item.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all live newsfeed items", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds/{id}/items", + "path": [ + "news", + "newsfeeds", + "{id}", + "items" + ] + }, + "description": "You can fetch a list of all news items that are live on a given newsfeed", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all newsfeeds", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds", + "path": [ + "news", + "newsfeeds" + ] + }, + "description": "You can fetch a list of all newsfeeds", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a newsfeed", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds/{id}", + "path": [ + "news", + "newsfeeds", + "{id}" + ] + }, + "description": "You can fetch the details of a single newsfeed", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a note", + "request": { + "method": "GET", + "url": { + "raw": "/notes/{id}", + "path": [ + "notes", + "{id}" + ] + }, + "description": "You can fetch the details of a single note.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all segments", + "request": { + "method": "GET", + "url": { + "raw": "/segments", + "path": [ + "segments" + ] + }, + "description": "You can fetch a list of all segments.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a segment", + "request": { + "method": "GET", + "url": { + "raw": "/segments/{id}", + "path": [ + "segments", + "{id}" + ] + }, + "description": "You can fetch the details of a single segment.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List subscription types", + "request": { + "method": "GET", + "url": { + "raw": "/subscription_types", + "path": [ + "subscription_types" + ] + }, + "description": "You can list all subscription types. A list of subscription type objects will be returned.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all tags", + "request": { + "method": "GET", + "url": { + "raw": "/tags", + "path": [ + "tags" + ] + }, + "description": "You can fetch a list of all tags for a given workspace.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Find a specific tag", + "request": { + "method": "GET", + "url": { + "raw": "/tags/{id}", + "path": [ + "tags", + "{id}" + ] + }, + "description": "You can fetch the details of tags that are on the workspace by their id.\nThis will return a tag object.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all teams", + "request": { + "method": "GET", + "url": { + "raw": "/teams", + "path": [ + "teams" + ] + }, + "description": "This will return a list of team objects for the App.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a team", + "request": { + "method": "GET", + "url": { + "raw": "/teams/{id}", + "path": [ + "teams", + "{id}" + ] + }, + "description": "You can fetch the details of a single team, containing an array of admins that belong to this team.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a visitor with User ID", + "request": { + "method": "GET", + "url": { + "raw": "/visitors", + "path": [ + "visitors" + ] + }, + "description": "You can fetch the details of a single visitor.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create an article", + "request": { + "method": "POST", + "url": { + "raw": "/articles", + "path": [ + "articles" + ] + }, + "description": "You can create a new article by making a POST request to `https://api.intercom.io/articles`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a collection", + "request": { + "method": "POST", + "url": { + "raw": "/help_center/collections", + "path": [ + "help_center", + "collections" + ] + }, + "description": "You can create a new collection by making a POST request to `https://api.intercom.io/help_center/collections.`", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a section", + "request": { + "method": "POST", + "url": { + "raw": "/help_center/sections", + "path": [ + "help_center", + "sections" + ] + }, + "description": "You can create a new section by making a POST request to `https://api.intercom.io/help_center/sections.`", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or Update a company", + "request": { + "method": "POST", + "url": { + "raw": "/companies", + "path": [ + "companies" + ] + }, + "description": "You can create or update a company.\n\nCompanies will be only visible in Intercom when there is at least one associated user.\n\nCompanies are looked up via `company_id` in a `POST` request, if not found via `company_id`, the new company will be created, if found, that company will be updated.\n\n{% admonition type=\"warning\" name=\"Using `company_id`\" %}\n You can set a unique `company_id` value when creating a company. However, it is not possible to update `company_id`. Be sure to set a unique value once upon creation of the company.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all companies", + "request": { + "method": "POST", + "url": { + "raw": "/companies/list", + "path": [ + "companies", + "list" + ] + }, + "description": "You can list companies. The company list is sorted by the `last_request_at` field and by default is ordered descending, most recently requested first.\n\nNote that the API does not include companies who have no associated users in list responses.\n\nWhen using the Companies endpoint and the pages object to iterate through the returned companies, there is a limit of 10,000 Companies that can be returned. If you need to list or iterate on more than 10,000 Companies, please use the [Scroll API](https://developers.intercom.com/reference#iterating-over-all-companies).\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Attach a Contact to a Company", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/companies", + "path": [ + "contacts", + "{id}", + "companies" + ] + }, + "description": "You can attach a company to a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a note", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/notes", + "path": [ + "contacts", + "{id}", + "notes" + ] + }, + "description": "You can add a note to a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add subscription to a contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/subscriptions", + "path": [ + "contacts", + "{contact_id}", + "subscriptions" + ] + }, + "description": "You can add a specific subscription to a contact. In Intercom, we have two different subscription types based on user consent - opt-out and opt-in:\n\n 1.Attaching a contact to an opt-out subscription type will opt that user out from receiving messages related to that subscription type.\n\n 2.Attaching a contact to an opt-in subscription type will opt that user in to receiving messages related to that subscription type.\n\nThis will return a subscription type model for the subscription type that was added to the contact.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/tags", + "path": [ + "contacts", + "{contact_id}", + "tags" + ] + }, + "description": "You can tag a specific contact. This will return a tag object for the tag that was added to the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Merge a lead and a user", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/merge", + "path": [ + "contacts", + "merge" + ] + }, + "description": "You can merge a contact with a `role` of `lead` into a contact with a `role` of `user`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search contacts", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/search", + "path": [ + "contacts", + "search" + ] + }, + "description": "You can search for multiple contacts by the value of their attributes in order to fetch exactly who you want.\n\nTo search for contacts, you need to send a `POST` request to `https://api.intercom.io/contacts/search`.\n\nThis will accept a query object in the body which will define your filters in order to search for contacts.\n\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `50` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n### Contact Creation Delay\n\nIf a contact has recently been created, there is a possibility that it will not yet be available when searching. This means that it may not appear in the response. This delay can take a few minutes. If you need to be instantly notified it is recommended to use webhooks and iterate to see if they match your search filters.\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiple's there can be:\n* There's a limit of max 2 nested filters\n* There's a limit of max 15 filters for each AND or OR group\n\n### Searching for Timestamp Fields\n\nAll timestamp fields (created_at, updated_at etc.) are indexed as Dates for Contact Search queries; Datetime queries are not currently supported. This means you can only query for timestamp fields by day - not hour, minute or second.\nFor example, if you search for all Contacts with a created_at value greater (>) than 1577869200 (the UNIX timestamp for January 1st, 2020 9:00 AM), that will be interpreted as 1577836800 (January 1st, 2020 12:00 AM). The search results will then include Contacts created from January 2nd, 2020 12:00 AM onwards.\nIf you'd like to get contacts created on January 1st, 2020 you should search with a created_at value equal (=) to 1577836800 (January 1st, 2020 12:00 AM).\nThis behaviour applies only to timestamps used in search queries. The search results will still contain the full UNIX timestamp and be sorted accordingly.\n\n### Accepted Fields\n\nMost key listed as part of the Contacts Model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foorbar\"`).\n\n| Field | Type |\n| ---------------------------------- | ------------------------------ |\n| id | String |\n| role | String
Accepts user or lead |\n| name | String |\n| avatar | String |\n| owner_id | Integer |\n| email | String |\n| email_domain | String |\n| phone | String |\n| external_id | String |\n| created_at | Date (UNIX Timestamp) |\n| signed_up_at | Date (UNIX Timestamp) |\n| updated_at | Date (UNIX Timestamp) |\n| last_seen_at | Date (UNIX Timestamp) |\n| last_contacted_at | Date (UNIX Timestamp) |\n| last_replied_at | Date (UNIX Timestamp) |\n| last_email_opened_at | Date (UNIX Timestamp) |\n| last_email_clicked_at | Date (UNIX Timestamp) |\n| language_override | String |\n| browser | String |\n| browser_language | String |\n| os | String |\n| location.country | String |\n| location.region | String |\n| location.city | String |\n| unsubscribed_from_emails | Boolean |\n| marked_email_as_spam | Boolean |\n| has_hard_bounced | Boolean |\n| ios_last_seen_at | Date (UNIX Timestamp) |\n| ios_app_version | String |\n| ios_device | String |\n| ios_app_device | String |\n| ios_os_version | String |\n| ios_app_name | String |\n| ios_sdk_version | String |\n| android_last_seen_at | Date (UNIX Timestamp) |\n| android_app_version | String |\n| android_device | String |\n| android_app_name | String |\n| andoid_sdk_version | String |\n| segment_id | String |\n| tag_id | String |\n| custom_attributes.{attribute_name} | String |\n\n### Accepted Operators\n\n{% admonition type=\"warning\" name=\"Searching based on `created_at`\" %}\n You cannot use the `<=` or `>=` operators to search by `created_at`.\n{% /admonition %}\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :------------------------------- | :--------------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In
Shortcut for `OR` queries
Values must be in Array |\n| NIN | All | Not In
Shortcut for `OR !` queries
Values must be in Array |\n| > | Integer
Date (UNIX Timestamp) | Greater than |\n| < | Integer
Date (UNIX Timestamp) | Lower than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts", + "path": [ + "contacts" + ] + }, + "description": "You can create a new contact (ie. user or lead).", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Archive contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/archive", + "path": [ + "contacts", + "{id}", + "archive" + ] + }, + "description": "You can archive a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Unarchive contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/unarchive", + "path": [ + "contacts", + "{id}", + "unarchive" + ] + }, + "description": "You can unarchive a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{conversation_id}/tags", + "path": [ + "conversations", + "{conversation_id}", + "tags" + ] + }, + "description": "You can tag a specific conversation. This will return a tag object for the tag that was added to the conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Creates a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations", + "path": [ + "conversations" + ] + }, + "description": "You can create a conversation that has been initiated by a contact (ie. user or lead).\nThe conversation can be an in-app message only.\n\n{% admonition type=\"info\" name=\"Sending for visitors\" %}\nYou can also send a message from a visitor by specifying their `user_id` or `id` value in the `from` field, along with a `type` field value of `contact`.\nThis visitor will be automatically converted to a contact with a lead role once the conversation is created.\n{% /admonition %}\n\nThis will return the Message model that has been created.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search conversations", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/search", + "path": [ + "conversations", + "search" + ] + }, + "description": "You can search for multiple conversations by the value of their attributes in order to fetch exactly which ones you want.\n\nTo search for conversations, you need to send a `POST` request to `https://api.intercom.io/conversations/search`.\n\nThis will accept a query object in the body which will define your filters in order to search for conversations.\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `20` results per page and maximum is `150`.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiple's there can be:\n- There's a limit of max 2 nested filters\n- There's a limit of max 15 filters for each AND or OR group\n\n### Accepted Fields\n\nMost keys listed in the conversation model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foorbar\"`).\nThe `source.body` field is unique as the search will not be performed against the entire value, but instead against every element of the value separately. For example, when searching for a conversation with a `\"I need support\"` body - the query should contain a `=` operator with the value `\"support\"` for such conversation to be returned. A query with a `=` operator and a `\"need support\"` value will not yield a result.\n\n| Field | Type |\n| :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------- |\n| id | String |\n| created_at | Date (UNIX timestamp) |\n| updated_at | Date (UNIX timestamp) |\n| source.type | String
Accepted fields are `conversation`, `email`, `facebook`, `instagram`, `phone_call`, `phone_switch`, `push`, `sms`, `twitter` and `whatsapp`. |\n| source.id | String |\n| source.delivered_as | String |\n| source.subject | String |\n| source.body | String |\n| source.author.id | String |\n| source.author.type | String |\n| source.author.name | String |\n| source.author.email | String |\n| source.url | String |\n| contact_ids | String |\n| teammate_ids | String |\n| admin_assignee_id | String |\n| team_assignee_id | String |\n| channel_initiated | String |\n| open | Boolean |\n| read | Boolean |\n| state | String |\n| waiting_since | Date (UNIX timestamp) |\n| snoozed_until | Date (UNIX timestamp) |\n| tag_ids | String |\n| priority | String |\n| statistics.time_to_assignment | Integer |\n| statistics.time_to_admin_reply | Integer |\n| statistics.time_to_first_close | Integer |\n| statistics.time_to_last_close | Integer |\n| statistics.median_time_to_reply | Integer |\n| statistics.first_contact_reply_at | Date (UNIX timestamp) |\n| statistics.first_assignment_at | Date (UNIX timestamp) |\n| statistics.first_admin_reply_at | Date (UNIX timestamp) |\n| statistics.first_close_at | Date (UNIX timestamp) |\n| statistics.last_assignment_at | Date (UNIX timestamp) |\n| statistics.last_assignment_admin_reply_at | Date (UNIX timestamp) |\n| statistics.last_contact_reply_at | Date (UNIX timestamp) |\n| statistics.last_admin_reply_at | Date (UNIX timestamp) |\n| statistics.last_close_at | Date (UNIX timestamp) |\n| statistics.last_closed_by_id | String |\n| statistics.count_reopens | Integer |\n| statistics.count_assignments | Integer |\n| statistics.count_conversation_parts | Integer |\n| conversation_rating.requested_at | Date (UNIX timestamp) |\n| conversation_rating.replied_at | Date (UNIX timestamp) |\n| conversation_rating.score | Integer |\n| conversation_rating.remark | String |\n| conversation_rating.contact_id | String |\n| conversation_rating.admin_d | String |\n| ai_agent_participated | Boolean |\n| ai_agent.resolution_state | String |\n| ai_agent.last_answer_type | String |\n| ai_agent.rating | Integer |\n| ai_agent.rating_remark | String |\n| ai_agent.source_type | String |\n| ai_agent.source_title | String |\n\n### Accepted Operators\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :----------------------------- | :----------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In Shortcut for `OR` queries Values most be in Array |\n| NIN | All | Not In Shortcut for `OR !` queries Values must be in Array |\n| > | Integer Date (UNIX Timestamp) | Greater (or equal) than |\n| < | Integer Date (UNIX Timestamp) | Lower (or equal) than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Reply to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/reply", + "path": [ + "conversations", + "{id}", + "reply" + ] + }, + "description": "You can reply to a conversation with a message from an admin or on behalf of a contact, or with a note for admins.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Manage a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/parts", + "path": [ + "conversations", + "{id}", + "parts" + ] + }, + "description": "For managing conversations you can:\n- Close a conversation\n- Snooze a conversation to reopen on a future date\n- Open a conversation which is `snoozed` or `closed`\n- Assign a conversation to an admin and/or team.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Run Assignment Rules on a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/run_assignment_rules", + "path": [ + "conversations", + "{id}", + "run_assignment_rules" + ] + }, + "description": "{% admonition type=\"danger\" name=\"Deprecation of Run Assignment Rules\" %}\nRun assignment rules is now deprecated in version 2.12 and future versions and will be permanently removed on December 31, 2026. After this date, any requests made to this endpoint will fail.\n{% /admonition %}\nYou can let a conversation be automatically assigned following assignment rules.\n{% admonition type=\"warning\" name=\"When using workflows\" %}\nIt is not possible to use this endpoint with Workflows.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Attach a contact to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/customers", + "path": [ + "conversations", + "{id}", + "customers" + ] + }, + "description": "You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.\n\n{% admonition type=\"warning\" name=\"Contacts without an email\" %}\nIf you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Redact a conversation part", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/redact", + "path": [ + "conversations", + "redact" + ] + }, + "description": "You can redact a conversation part or the source message of a conversation (as seen in the source object).\n\n{% admonition type=\"info\" name=\"Redacting parts and messages\" %}\nIf you are redacting a conversation part, it must have a `body`. If you are redacting a source message, it must have been created by a contact. We will return a `conversation_part_not_redactable` error if these criteria are not met.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a data attribute", + "request": { + "method": "POST", + "url": { + "raw": "/data_attributes", + "path": [ + "data_attributes" + ] + }, + "description": "You can create a data attributes for a `contact` or a `company`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Submit a data event", + "request": { + "method": "POST", + "url": { + "raw": "/events", + "path": [ + "events" + ] + }, + "description": "\nYou will need an Access Token that has write permissions to send Events. Once you have a key you can submit events via POST to the Events resource, which is located at https://api.intercom.io/events, or you can send events using one of the client libraries. When working with the HTTP API directly a client should send the event with a `Content-Type` of `application/json`.\n\nWhen using the JavaScript API, [adding the code to your app](http://docs.intercom.io/configuring-Intercom/tracking-user-events-in-your-app) makes the Events API available. Once added, you can submit an event using the `trackEvent` method. This will associate the event with the Lead or currently logged-in user or logged-out visitor/lead and send it to Intercom. The final parameter is a map that can be used to send optional metadata about the event.\n\nWith the Ruby client you pass a hash describing the event to `Intercom::Event.create`, or call the `track_user` method directly on the current user object (e.g. `user.track_event`).\n\n**NB: For the JSON object types, please note that we do not currently support nested JSON structure.**\n\n| Type | Description | Example |\n| :-------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------- |\n| String | The value is a JSON String | `\"source\":\"desktop\"` |\n| Number | The value is a JSON Number | `\"load\": 3.67` |\n| Date | The key ends with the String `_date` and the value is a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time), assumed to be in the [UTC](http://en.wikipedia.org/wiki/Coordinated_Universal_Time) timezone. | `\"contact_date\": 1392036272` |\n| Link | The value is a HTTP or HTTPS URI. | `\"article\": \"https://example.org/ab1de.html\"` |\n| Rich Link | The value is a JSON object that contains `url` and `value` keys. | `\"article\": {\"url\": \"https://example.org/ab1de.html\", \"value\":\"the dude abides\"}` |\n| Monetary Amount | The value is a JSON object that contains `amount` and `currency` keys. The `amount` key is a positive integer representing the amount in cents. The price in the example to the right denotes €349.99. | `\"price\": {\"amount\": 34999, \"currency\": \"eur\"}` |\n\n**Lead Events**\n\nWhen submitting events for Leads, you will need to specify the Lead's `id`.\n\n**Metadata behaviour**\n\n- We currently limit the number of tracked metadata keys to 10 per event. Once the quota is reached, we ignore any further keys we receive. The first 10 metadata keys are determined by the order in which they are sent in with the event.\n- It is not possible to change the metadata keys once the event has been sent. A new event will need to be created with the new keys and you can archive the old one.\n- There might be up to 24 hrs delay when you send a new metadata for an existing event.\n\n**Event de-duplication**\n\nThe API may detect and ignore duplicate events. Each event is uniquely identified as a combination of the following data - the Workspace identifier, the Contact external identifier, the Data Event name and the Data Event created time. As a result, it is **strongly recommended** to send a second granularity Unix timestamp in the `created_at` field.\n\nDuplicated events are responded to using the normal `202 Accepted` code - an error is not thrown, however repeat requests will be counted against any rate limit that is in place.\n\n### HTTP API Responses\n\n- Successful responses to submitted events return `202 Accepted` with an empty body.\n- Unauthorised access will be rejected with a `401 Unauthorized` or `403 Forbidden` response code.\n- Events sent about users that cannot be found will return a `404 Not Found`.\n- Event lists containing duplicate events will have those duplicates ignored.\n- Server errors will return a `500` response code and may contain an error message in the body.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create event summaries", + "request": { + "method": "POST", + "url": { + "raw": "/events/summaries", + "path": [ + "events", + "summaries" + ] + }, + "description": "Create event summaries for a user. Event summaries are used to track the number of times an event has occurred, the first time it occurred and the last time it occurred.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create content data export", + "request": { + "method": "POST", + "url": { + "raw": "/export/content/data", + "path": [ + "export", + "content", + "data" + ] + }, + "description": "To create your export job, you need to send a `POST` request to the export endpoint `https://api.intercom.io/export/content/data`.\n\nThe only parameters you need to provide are the range of dates that you want exported.\n\n>🚧 Limit of one active job\n>\n> You can only have one active job per workspace. You will receive a HTTP status code of 429 with the message Exceeded rate limit of 1 pending message data export jobs if you attempt to create a second concurrent job.\n\n>❗️ Updated_at not included\n>\n> It should be noted that the timeframe only includes messages sent during the time period and not messages that were only updated during this period. For example, if a message was updated yesterday but sent two days ago, you would need to set the created_at_after date before the message was sent to include that in your retrieval job.\n\n>📘 Date ranges are inclusive\n>\n> Requesting data for 2018-06-01 until 2018-06-30 will get all data for those days including those specified - e.g. 2018-06-01 00:00:00 until 2018-06-30 23:59:99.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Cancel content data export", + "request": { + "method": "POST", + "url": { + "raw": "/export/cancel/{job_identifier}", + "path": [ + "export", + "cancel", + "{job_identifier}" + ] + }, + "description": "You can cancel your job", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a message", + "request": { + "method": "POST", + "url": { + "raw": "/messages", + "path": [ + "messages" + ] + }, + "description": "You can create a message that has been initiated by an admin. The conversation can be either an in-app message or an email.\n\n> 🚧 Sending for visitors\n>\n> There can be a short delay between when a contact is created and when a contact becomes available to be messaged through the API. A 404 Not Found error will be returned in this case.\n\nThis will return the Message model that has been created.\n\n> 🚧 Retrieving Associated Conversations\n>\n> As this is a message, there will be no conversation present until the contact responds. Once they do, you will have to search for a contact's conversations with the id of the message.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a news item", + "request": { + "method": "POST", + "url": { + "raw": "/news/news_items", + "path": [ + "news", + "news_items" + ] + }, + "description": "You can create a news item", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a phone Switch", + "request": { + "method": "POST", + "url": { + "raw": "/phone_call_redirects", + "path": [ + "phone_call_redirects" + ] + }, + "description": "You can use the API to deflect phone calls to the Intercom Messenger.\nCalling this endpoint will send an SMS with a link to the Messenger to the phone number specified.\n\nIf custom attributes are specified, they will be added to the user or lead's custom data attributes.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or update a tag, Tag or untag companies, Tag contacts", + "request": { + "method": "POST", + "url": { + "raw": "/tags", + "path": [ + "tags" + ] + }, + "description": "You can use this endpoint to perform the following operations:\n\n **1. Create a new tag:** You can create a new tag by passing in the tag name as specified in \"Create or Update Tag Request Payload\" described below.\n\n **2. Update an existing tag:** You can update an existing tag by passing the id of the tag as specified in \"Create or Update Tag Request Payload\" described below.\n\n **3. Tag Companies:** You can tag single company or a list of companies. You can tag a company by passing in the tag name and the company details as specified in \"Tag Company Request Payload\" described below. Also, if the tag doesn't exist then a new one will be created automatically.\n\n **4. Untag Companies:** You can untag a single company or a list of companies. You can untag a company by passing in the tag id and the company details as specified in \"Untag Company Request Payload\" described below.\n\n **5. Tag Multiple Users:** You can tag a list of users. You can tag the users by passing in the tag name and the user details as specified in \"Tag Users Request Payload\" described below.\n\nEach operation will return a tag object.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Convert a visitor", + "request": { + "method": "POST", + "url": { + "raw": "/visitors/convert", + "path": [ + "visitors", + "convert" + ] + }, + "description": "You can merge a Visitor to a Contact of role type `lead` or `user`.\n\n> 📘 What happens upon a visitor being converted?\n>\n> If the User exists, then the Visitor will be merged into it, the Visitor deleted and the User returned. If the User does not exist, the Visitor will be converted to a User, with the User identifiers replacing it's Visitor identifiers.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Set an admin to away", + "request": { + "method": "PUT", + "url": { + "raw": "/admins/{id}/away", + "path": [ + "admins", + "{id}", + "away" + ] + }, + "description": "You can set an Admin as away for the Inbox.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update an article", + "request": { + "method": "PUT", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can update the details of a single article by making a PUT request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a collection", + "request": { + "method": "PUT", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can update the details of a single collection by making a PUT request to `https://api.intercom.io/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a section", + "request": { + "method": "PUT", + "url": { + "raw": "/help_center/sections/{id}", + "path": [ + "help_center", + "sections", + "{id}" + ] + }, + "description": "You can update the details of a single section by making a PUT request to `https://api.intercom.io/sections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a company", + "request": { + "method": "PUT", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can update a single company using the Intercom provisioned `id`.\n\n{% admonition type=\"warning\" name=\"Using `company_id`\" %}\n When updating a company it is not possible to update `company_id`. This can only be set once upon creation of the company.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a contact", + "request": { + "method": "PUT", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can update an existing contact (ie. user or lead).", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a conversation", + "request": { + "method": "PUT", + "url": { + "raw": "/conversations/{id}", + "path": [ + "conversations", + "{id}" + ] + }, + "description": "\nYou can update an existing conversation.\n\n{% admonition type=\"info\" name=\"Replying and other actions\" %}\nIf you want to reply to a coveration or take an action such as assign, unassign, open, close or snooze, take a look at the reply and manage endpoints.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a data attribute", + "request": { + "method": "PUT", + "url": { + "raw": "/data_attributes/{id}", + "path": [ + "data_attributes", + "{id}" + ] + }, + "description": "\nYou can update a data attribute.\n\n> 🚧 Updating the data type is not possible\n>\n> It is currently a dangerous action to execute changing a data attribute's type via the API. You will need to update the type via the UI instead.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a news item", + "request": { + "method": "PUT", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a visitor", + "request": { + "method": "PUT", + "url": { + "raw": "/visitors", + "path": [ + "visitors" + ] + }, + "description": "Sending a PUT request to `/visitors` will result in an update of an existing Visitor.\n\n**Option 1.** You can update a visitor by passing in the `user_id` of the visitor in the Request body.\n\n**Option 2.** You can update a visitor by passing in the `id` of the visitor in the Request body.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete an article", + "request": { + "method": "DELETE", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can delete a single article by making a DELETE request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a collection", + "request": { + "method": "DELETE", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can delete a single collection by making a DELETE request to `https://api.intercom.io/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a section", + "request": { + "method": "DELETE", + "url": { + "raw": "/help_center/sections/{id}", + "path": [ + "help_center", + "sections", + "{id}" + ] + }, + "description": "You can delete a single section by making a DELETE request to `https://api.intercom.io/sections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a company", + "request": { + "method": "DELETE", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can delete a single company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Detach a contact from a company", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/companies/{id}", + "path": [ + "contacts", + "{contact_id}", + "companies", + "{id}" + ] + }, + "description": "You can detach a company from a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove subscription from a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/subscriptions/{id}", + "path": [ + "contacts", + "{contact_id}", + "subscriptions", + "{id}" + ] + }, + "description": "You can remove a specific subscription from a contact. This will return a subscription type model for the subscription type that was removed from the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/tags/{id}", + "path": [ + "contacts", + "{contact_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific contact. This will return a tag object for the tag that was removed from the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can delete a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{conversation_id}/tags/{id}", + "path": [ + "conversations", + "{conversation_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific conversation. This will return a tag object for the tag that was removed from the conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Detach a contact from a group conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{conversation_id}/customers/{contact_id}", + "path": [ + "conversations", + "{conversation_id}", + "customers", + "{contact_id}" + ] + }, + "description": "You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.\n\n{% admonition type=\"warning\" name=\"Contacts without an email\" %}\nIf you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a news item", + "request": { + "method": "DELETE", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "You can delete a single news item.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete tag", + "request": { + "method": "DELETE", + "url": { + "raw": "/tags/{id}", + "path": [ + "tags", + "{id}" + ] + }, + "description": "You can delete the details of tags that are on the workspace by passing in the id.", + "header": [], + "body": {} + }, + "response": [] + } + ] + } + ], + "event": [], + "variable": [ + { + "id": "4e4661fa-189b-4650-90d1-a68c9b10cc54", + "key": "https://api.intercom.io", + "value": "https://api.intercom.io", + "type": "string", + "description": "The production API server" + }, + { + "id": "c6f33b2c-3fa5-4c20-b1e3-92c7cbd3dc59", + "key": "https://api.eu.intercom.io", + "value": "https://api.eu.intercom.io", + "type": "string", + "description": "The european API server" + }, + { + "id": "4fd2fd9b-d120-4015-91ce-c40178e6d5d0", + "key": "https://api.au.intercom.io", + "value": "https://api.au.intercom.io", + "type": "string", + "description": "The australian API server" + }, + { + "id": "a56e3c18-6718-4e70-99fb-ab47e1efc6cd", + "key": "bearerToken", + "value": "{{bearerToken}}", + "type": "string", + "description": "bearertokenvalue" + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "bearerToken", + "value": "{{bearerToken}}", + "type": "string" + }, + { + "key": "tokenType", + "value": "bearer", + "type": "string" + }, + { + "key": "addTokenTo", + "value": "header", + "type": "string" + } + ] + } +} \ No newline at end of file diff --git a/postman/2.8/README.md b/postman/2.8/README.md new file mode 100644 index 0000000..eea4f0b --- /dev/null +++ b/postman/2.8/README.md @@ -0,0 +1,15 @@ +# Intercom API 2.8 Postman Collection + +This directory contains the Postman collection for Intercom API version 2.8. + +## Files +- `intercom-api.postman_collection.json`: The main Postman collection +- `environment.json`: Environment variables for this version + +## Usage +1. Import the collection into Postman +2. Import the environment file +3. Set your access token in the environment variables +4. Start making API calls! + +Last updated: 2025-04-15T14:40:03.437Z diff --git a/postman/2.8/environment.json b/postman/2.8/environment.json new file mode 100644 index 0000000..b53bceb --- /dev/null +++ b/postman/2.8/environment.json @@ -0,0 +1,18 @@ +{ + "id": "intercom-api-2.8-environment", + "name": "Intercom API 2.8 Environment", + "values": [ + { + "key": "baseUrl", + "value": "https://api.intercom.io", + "type": "default", + "enabled": true + }, + { + "key": "token", + "value": "YOUR_ACCESS_TOKEN", + "type": "secret", + "enabled": true + } + ] +} \ No newline at end of file diff --git a/postman/2.8/intercom-api.postman_collection.json b/postman/2.8/intercom-api.postman_collection.json new file mode 100644 index 0000000..fa01935 --- /dev/null +++ b/postman/2.8/intercom-api.postman_collection.json @@ -0,0 +1,1762 @@ +{ + "info": { + "name": "Intercom API - 2.8", + "description": "The intercom API reference.", + "version": "2.8", + "contact": { + "name": "Intercom Developer Hub", + "url": "https://developers.intercom.com" + }, + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "updatedAt": "2025-04-15T14:40:03.436Z" + }, + "item": [ + { + "name": "General", + "item": [ + { + "name": "Identify an admin", + "request": { + "method": "GET", + "url": { + "raw": "/me", + "path": [ + "me" + ] + }, + "description": "\nYou can view the currently authorised admin along with the embedded app object (a \"workspace\" in legacy terminology).\n\n> 🚧 Single Sign On\n>\n> If you are building a custom \"Log in with Intercom\" flow for your site, and you call the `/me` endpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all activity logs", + "request": { + "method": "GET", + "url": { + "raw": "/admins/activity_logs", + "path": [ + "admins", + "activity_logs" + ] + }, + "description": "You can get a log of activities by all admins in an app.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all admins", + "request": { + "method": "GET", + "url": { + "raw": "/admins", + "path": [ + "admins" + ] + }, + "description": "You can fetch a list of admins for a given workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an admin", + "request": { + "method": "GET", + "url": { + "raw": "/admins/{id}", + "path": [ + "admins", + "{id}" + ] + }, + "description": "You can retrieve the details of a single admin.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all articles", + "request": { + "method": "GET", + "url": { + "raw": "/articles", + "path": [ + "articles" + ] + }, + "description": "You can fetch a list of all articles by making a GET request to `https://api.intercom.io/articles`.\n\n> 📘 How are the articles sorted and ordered?\n>\n> Articles will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated articles first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an article", + "request": { + "method": "GET", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can fetch the details of a single article by making a GET request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all collections", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/collections", + "path": [ + "help_center", + "collections" + ] + }, + "description": "You can fetch a list of all collections by making a GET request to `https://api.intercom.io/help_center/collections`.\n\nCollections will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated collections first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a collection", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can fetch the details of a single collection by making a GET request to `https://api.intercom.io/help_center/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a Help Center", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/help_centers/{id}", + "path": [ + "help_center", + "help_centers", + "{id}" + ] + }, + "description": "You can fetch the details of a single Help Center by making a GET request to `https://api.intercom.io/help_center/help_center/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all Help Centers", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/help_centers", + "path": [ + "help_center", + "help_centers" + ] + }, + "description": "You can list all Help Centers by making a GET request to `https://api.intercom.io/help_center/help_centers`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all sections", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/sections", + "path": [ + "help_center", + "sections" + ] + }, + "description": "You can fetch a list of all sections by making a GET request to `https://api.intercom.io/help_center/sections`.\n> 📘 How are the sections sorted and ordered?\n>\n> Sections will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated sections first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a section", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/sections/{id}", + "path": [ + "help_center", + "sections", + "{id}" + ] + }, + "description": "You can fetch the details of a single section by making a GET request to `https://api.intercom.io/help_center/sections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies", + "path": [ + "companies" + ] + }, + "description": "You can fetch a single company by passing in `company_id` or `name`.\n\n `https://api.intercom.io/companies?name={name}`\n\n `https://api.intercom.io/companies?company_id={company_id}`\n\nYou can fetch all companies and filter by `segment_id` or `tag_id` as a query parameter.\n\n `https://api.intercom.io/companies?tag_id={tag_id}`\n\n `https://api.intercom.io/companies?segment_id={segment_id}`\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a company by ID", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can fetch a single company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached contacts", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}/contacts", + "path": [ + "companies", + "{id}", + "contacts" + ] + }, + "description": "You can fetch a list of all contacts that belong to a company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached segments for companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}/segments", + "path": [ + "companies", + "{id}", + "segments" + ] + }, + "description": "You can fetch a list of all segments that belong to a company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Scroll over all companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies/scroll", + "path": [ + "companies", + "scroll" + ] + }, + "description": " The `list all companies` functionality does not work well for huge datasets, and can result in errors and performance problems when paging deeply. The Scroll API provides an efficient mechanism for iterating over all companies in a dataset.\n\n- Each app can only have 1 scroll open at a time. You'll get an error message if you try to have more than one open per app.\n- If the scroll isn't used for 1 minute, it expires and calls with that scroll param will fail\n- If the end of the scroll is reached, \"companies\" will be empty and the scroll parameter will expire\n\n{% admonition type=\"info\" name=\"Scroll Parameter\" %}\n You can get the first page of companies by simply sending a GET request to the scroll endpoint.\n For subsequent requests you will need to use the scroll parameter from the response.\n{% /admonition %}\n{% admonition type=\"danger\" name=\"Scroll network timeouts\" %}\n Since scroll is often used on large datasets network errors such as timeouts can be encountered. When this occurs you will see a HTTP 500 error with the following message:\n \"Request failed due to an internal network error. Please restart the scroll operation.\"\n If this happens, you will need to restart your scroll query: It is not possible to continue from a specific point when using scroll.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached companies for contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}/companies", + "path": [ + "contacts", + "{id}", + "companies" + ] + }, + "description": "You can fetch a list of companies that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all notes", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}/notes", + "path": [ + "contacts", + "{id}", + "notes" + ] + }, + "description": "You can fetch a list of notes that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached segments for contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/segments", + "path": [ + "contacts", + "{contact_id}", + "segments" + ] + }, + "description": "You can fetch a list of segments that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List subscriptions for a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/subscriptions", + "path": [ + "contacts", + "{contact_id}", + "subscriptions" + ] + }, + "description": "You can fetch a list of subscription types that are attached to a contact. These can be subscriptions that a user has 'opted-in' to or has 'opted-out' from, depending on the subscription type.\nThis will return a list of Subscription Type objects that the contact is associated with.\n\nThe data property will show a combined list of:\n\n 1.Opt-out subscription types that the user has opted-out from.\n 2.Opt-in subscription types that the user has opted-in to receiving.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List tags attached to a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/tags", + "path": [ + "contacts", + "{contact_id}", + "tags" + ] + }, + "description": "You can fetch a list of all tags that are attached to a specific contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Get a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can fetch the details of a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all contacts", + "request": { + "method": "GET", + "url": { + "raw": "/contacts", + "path": [ + "contacts" + ] + }, + "description": "You can fetch a list of all contacts (ie. users or leads) in your workspace.\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `50` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all conversations", + "request": { + "method": "GET", + "url": { + "raw": "/conversations", + "path": [ + "conversations" + ] + }, + "description": "You can fetch a list of all conversations.\n\nYou can optionally request the result page size and the cursor to start after to fetch the result.\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a conversation", + "request": { + "method": "GET", + "url": { + "raw": "/conversations/{id}", + "path": [ + "conversations", + "{id}" + ] + }, + "description": "\nYou can fetch the details of a single conversation.\n\nThis will return a single Conversation model with all its conversation parts.\n\n{% admonition type=\"warning\" name=\"Hard limit of 500 parts\" %}\nThe maximum number of conversation parts that can be returned via the API is 500. If you have more than that we will return the 500 most recent conversation parts.\n{% /admonition %}\n\nFor AI agent conversation metadata, please note that you need to have the agent enabled in your workspace, which is a [paid feature](https://www.intercom.com/help/en/articles/8205718-fin-resolutions#h_97f8c2e671).\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all data attributes", + "request": { + "method": "GET", + "url": { + "raw": "/data_attributes", + "path": [ + "data_attributes" + ] + }, + "description": "You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all data events", + "request": { + "method": "GET", + "url": { + "raw": "/events", + "path": [ + "events" + ] + }, + "description": "\n> 🚧\n>\n> Please note that you can only 'list' events that are less than 90 days old. Event counts and summaries will still include your events older than 90 days but you cannot 'list' these events individually if they are older than 90 days\n\nThe events belonging to a customer can be listed by sending a GET request to `https://api.intercom.io/events` with a user or lead identifier along with a `type` parameter. The identifier parameter can be one of `user_id`, `email` or `intercom_user_id`. The `type` parameter value must be `user`.\n\n- `https://api.intercom.io/events?type=user&user_id={user_id}`\n- `https://api.intercom.io/events?type=user&email={email}`\n- `https://api.intercom.io/events?type=user&intercom_user_id={id}` (this call can be used to list leads)\n\nThe `email` parameter value should be [url encoded](http://en.wikipedia.org/wiki/Percent-encoding) when sending.\n\nYou can optionally define the result page size as well with the `per_page` parameter.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Show content data export", + "request": { + "method": "GET", + "url": { + "raw": "/export/content/data/{job_identifier}", + "path": [ + "export", + "content", + "data", + "{job_identifier}" + ] + }, + "description": "You can view the status of your job by sending a `GET` request to the URL\n`https://api.intercom.io/export/content/data/{job_identifier}` - the `{job_identifier}` is the value returned in the response when you first created the export job. More on it can be seen in the Export Job Model.\n\n> 🚧 Jobs expire after two days\n> All jobs that have completed processing (and are thus available to download from the provided URL) will have an expiry limit of two days from when the export ob completed. After this, the data will no longer be available.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Download content data export", + "request": { + "method": "GET", + "url": { + "raw": "/download/content/data/{job_identifier}", + "path": [ + "download", + "content", + "data", + "{job_identifier}" + ] + }, + "description": "When a job has a status of complete, and thus a filled download_url, you can download your data by hitting that provided URL, formatted like so: https://api.intercom.io/download/content/data/xyz1234.\n\nYour exported message data will be streamed continuously back down to you in a gzipped CSV format.\n\n> 📘 Octet header required\n>\n> You will have to specify the header Accept: `application/octet-stream` when hitting this endpoint.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all news items", + "request": { + "method": "GET", + "url": { + "raw": "/news/news_items", + "path": [ + "news", + "news_items" + ] + }, + "description": "You can fetch a list of all news items", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a news item", + "request": { + "method": "GET", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "You can fetch the details of a single news item.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all live newsfeed items", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds/{id}/items", + "path": [ + "news", + "newsfeeds", + "{id}", + "items" + ] + }, + "description": "You can fetch a list of all news items that are live on a given newsfeed", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all newsfeeds", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds", + "path": [ + "news", + "newsfeeds" + ] + }, + "description": "You can fetch a list of all newsfeeds", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a newsfeed", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds/{id}", + "path": [ + "news", + "newsfeeds", + "{id}" + ] + }, + "description": "You can fetch the details of a single newsfeed", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a note", + "request": { + "method": "GET", + "url": { + "raw": "/notes/{id}", + "path": [ + "notes", + "{id}" + ] + }, + "description": "You can fetch the details of a single note.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all segments", + "request": { + "method": "GET", + "url": { + "raw": "/segments", + "path": [ + "segments" + ] + }, + "description": "You can fetch a list of all segments.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a segment", + "request": { + "method": "GET", + "url": { + "raw": "/segments/{id}", + "path": [ + "segments", + "{id}" + ] + }, + "description": "You can fetch the details of a single segment.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List subscription types", + "request": { + "method": "GET", + "url": { + "raw": "/subscription_types", + "path": [ + "subscription_types" + ] + }, + "description": "You can list all subscription types. A list of subscription type objects will be returned.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all tags", + "request": { + "method": "GET", + "url": { + "raw": "/tags", + "path": [ + "tags" + ] + }, + "description": "You can fetch a list of all tags for a given workspace.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Find a specific tag", + "request": { + "method": "GET", + "url": { + "raw": "/tags/{id}", + "path": [ + "tags", + "{id}" + ] + }, + "description": "You can fetch the details of tags that are on the workspace by their id.\nThis will return a tag object.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all teams", + "request": { + "method": "GET", + "url": { + "raw": "/teams", + "path": [ + "teams" + ] + }, + "description": "This will return a list of team objects for the App.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a team", + "request": { + "method": "GET", + "url": { + "raw": "/teams/{id}", + "path": [ + "teams", + "{id}" + ] + }, + "description": "You can fetch the details of a single team, containing an array of admins that belong to this team.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a visitor with User ID", + "request": { + "method": "GET", + "url": { + "raw": "/visitors", + "path": [ + "visitors" + ] + }, + "description": "You can fetch the details of a single visitor.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create an article", + "request": { + "method": "POST", + "url": { + "raw": "/articles", + "path": [ + "articles" + ] + }, + "description": "You can create a new article by making a POST request to `https://api.intercom.io/articles`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a collection", + "request": { + "method": "POST", + "url": { + "raw": "/help_center/collections", + "path": [ + "help_center", + "collections" + ] + }, + "description": "You can create a new collection by making a POST request to `https://api.intercom.io/help_center/collections.`", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a section", + "request": { + "method": "POST", + "url": { + "raw": "/help_center/sections", + "path": [ + "help_center", + "sections" + ] + }, + "description": "You can create a new section by making a POST request to `https://api.intercom.io/help_center/sections.`", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or Update a company", + "request": { + "method": "POST", + "url": { + "raw": "/companies", + "path": [ + "companies" + ] + }, + "description": "You can create or update a company.\n\nCompanies will be only visible in Intercom when there is at least one associated user.\n\nCompanies are looked up via `company_id` in a `POST` request, if not found via `company_id`, the new company will be created, if found, that company will be updated.\n\n{% admonition type=\"warning\" name=\"Using `company_id`\" %}\n You can set a unique `company_id` value when creating a company. However, it is not possible to update `company_id`. Be sure to set a unique value once upon creation of the company.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all companies", + "request": { + "method": "POST", + "url": { + "raw": "/companies/list", + "path": [ + "companies", + "list" + ] + }, + "description": "You can list companies. The company list is sorted by the `last_request_at` field and by default is ordered descending, most recently requested first.\n\nNote that the API does not include companies who have no associated users in list responses.\n\nWhen using the Companies endpoint and the pages object to iterate through the returned companies, there is a limit of 10,000 Companies that can be returned. If you need to list or iterate on more than 10,000 Companies, please use the [Scroll API](https://developers.intercom.com/reference#iterating-over-all-companies).\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Attach a Contact to a Company", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/companies", + "path": [ + "contacts", + "{id}", + "companies" + ] + }, + "description": "You can attach a company to a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a note", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/notes", + "path": [ + "contacts", + "{id}", + "notes" + ] + }, + "description": "You can add a note to a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add subscription to a contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/subscriptions", + "path": [ + "contacts", + "{contact_id}", + "subscriptions" + ] + }, + "description": "You can add a specific subscription to a contact. In Intercom, we have two different subscription types based on user consent - opt-out and opt-in:\n\n 1.Attaching a contact to an opt-out subscription type will opt that user out from receiving messages related to that subscription type.\n\n 2.Attaching a contact to an opt-in subscription type will opt that user in to receiving messages related to that subscription type.\n\nThis will return a subscription type model for the subscription type that was added to the contact.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/tags", + "path": [ + "contacts", + "{contact_id}", + "tags" + ] + }, + "description": "You can tag a specific contact. This will return a tag object for the tag that was added to the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Merge a lead and a user", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/merge", + "path": [ + "contacts", + "merge" + ] + }, + "description": "You can merge a contact with a `role` of `lead` into a contact with a `role` of `user`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search contacts", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/search", + "path": [ + "contacts", + "search" + ] + }, + "description": "You can search for multiple contacts by the value of their attributes in order to fetch exactly who you want.\n\nTo search for contacts, you need to send a `POST` request to `https://api.intercom.io/contacts/search`.\n\nThis will accept a query object in the body which will define your filters in order to search for contacts.\n\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `50` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n### Contact Creation Delay\n\nIf a contact has recently been created, there is a possibility that it will not yet be available when searching. This means that it may not appear in the response. This delay can take a few minutes. If you need to be instantly notified it is recommended to use webhooks and iterate to see if they match your search filters.\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiple's there can be:\n* There's a limit of max 2 nested filters\n* There's a limit of max 15 filters for each AND or OR group\n\n### Searching for Timestamp Fields\n\nAll timestamp fields (created_at, updated_at etc.) are indexed as Dates for Contact Search queries; Datetime queries are not currently supported. This means you can only query for timestamp fields by day - not hour, minute or second.\nFor example, if you search for all Contacts with a created_at value greater (>) than 1577869200 (the UNIX timestamp for January 1st, 2020 9:00 AM), that will be interpreted as 1577836800 (January 1st, 2020 12:00 AM). The search results will then include Contacts created from January 2nd, 2020 12:00 AM onwards.\nIf you'd like to get contacts created on January 1st, 2020 you should search with a created_at value equal (=) to 1577836800 (January 1st, 2020 12:00 AM).\nThis behaviour applies only to timestamps used in search queries. The search results will still contain the full UNIX timestamp and be sorted accordingly.\n\n### Accepted Fields\n\nMost key listed as part of the Contacts Model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foorbar\"`).\n\n| Field | Type |\n| ---------------------------------- | ------------------------------ |\n| id | String |\n| role | String
Accepts user or lead |\n| name | String |\n| avatar | String |\n| owner_id | Integer |\n| email | String |\n| email_domain | String |\n| phone | String |\n| external_id | String |\n| created_at | Date (UNIX Timestamp) |\n| signed_up_at | Date (UNIX Timestamp) |\n| updated_at | Date (UNIX Timestamp) |\n| last_seen_at | Date (UNIX Timestamp) |\n| last_contacted_at | Date (UNIX Timestamp) |\n| last_replied_at | Date (UNIX Timestamp) |\n| last_email_opened_at | Date (UNIX Timestamp) |\n| last_email_clicked_at | Date (UNIX Timestamp) |\n| language_override | String |\n| browser | String |\n| browser_language | String |\n| os | String |\n| location.country | String |\n| location.region | String |\n| location.city | String |\n| unsubscribed_from_emails | Boolean |\n| marked_email_as_spam | Boolean |\n| has_hard_bounced | Boolean |\n| ios_last_seen_at | Date (UNIX Timestamp) |\n| ios_app_version | String |\n| ios_device | String |\n| ios_app_device | String |\n| ios_os_version | String |\n| ios_app_name | String |\n| ios_sdk_version | String |\n| android_last_seen_at | Date (UNIX Timestamp) |\n| android_app_version | String |\n| android_device | String |\n| android_app_name | String |\n| andoid_sdk_version | String |\n| segment_id | String |\n| tag_id | String |\n| custom_attributes.{attribute_name} | String |\n\n### Accepted Operators\n\n{% admonition type=\"warning\" name=\"Searching based on `created_at`\" %}\n You cannot use the `<=` or `>=` operators to search by `created_at`.\n{% /admonition %}\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :------------------------------- | :--------------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In
Shortcut for `OR` queries
Values must be in Array |\n| NIN | All | Not In
Shortcut for `OR !` queries
Values must be in Array |\n| > | Integer
Date (UNIX Timestamp) | Greater than |\n| < | Integer
Date (UNIX Timestamp) | Lower than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts", + "path": [ + "contacts" + ] + }, + "description": "You can create a new contact (ie. user or lead).", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Archive contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/archive", + "path": [ + "contacts", + "{id}", + "archive" + ] + }, + "description": "You can archive a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Unarchive contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/unarchive", + "path": [ + "contacts", + "{id}", + "unarchive" + ] + }, + "description": "You can unarchive a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{conversation_id}/tags", + "path": [ + "conversations", + "{conversation_id}", + "tags" + ] + }, + "description": "You can tag a specific conversation. This will return a tag object for the tag that was added to the conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Creates a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations", + "path": [ + "conversations" + ] + }, + "description": "You can create a conversation that has been initiated by a contact (ie. user or lead).\nThe conversation can be an in-app message only.\n\n{% admonition type=\"info\" name=\"Sending for visitors\" %}\nYou can also send a message from a visitor by specifying their `user_id` or `id` value in the `from` field, along with a `type` field value of `contact`.\nThis visitor will be automatically converted to a contact with a lead role once the conversation is created.\n{% /admonition %}\n\nThis will return the Message model that has been created.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search conversations", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/search", + "path": [ + "conversations", + "search" + ] + }, + "description": "You can search for multiple conversations by the value of their attributes in order to fetch exactly which ones you want.\n\nTo search for conversations, you need to send a `POST` request to `https://api.intercom.io/conversations/search`.\n\nThis will accept a query object in the body which will define your filters in order to search for conversations.\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `20` results per page and maximum is `150`.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiple's there can be:\n- There's a limit of max 2 nested filters\n- There's a limit of max 15 filters for each AND or OR group\n\n### Accepted Fields\n\nMost keys listed as part of the conversation model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foorbar\"`).\nThe `source.body` field is unique as the search will not be performed against the entire value, but instead against every element of the value separately. For example, when searching for a conversation with a `\"I need support\"` body - the query should contain a `=` operator with the value `\"support\"` for such conversation to be returned. A query with a `=` operator and a `\"need support\"` value will not yield a result.\n\n| Field | Type |\n| :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------- |\n| id | String |\n| created_at | Date (UNIX timestamp) |\n| updated_at | Date (UNIX timestamp) |\n| source.type | String
Accepted fields are `conversation`, `email`, `facebook`, `instagram`, `phone_call`, `phone_switch`, `push`, `sms`, `twitter` and `whatsapp`. |\n| source.id | String |\n| source.delivered_as | String |\n| source.subject | String |\n| source.body | String |\n| source.author.id | String |\n| source.author.type | String |\n| source.author.name | String |\n| source.author.email | String |\n| source.url | String |\n| contact_ids | String |\n| teammate_ids | String |\n| admin_assignee_id | String |\n| team_assignee_id | String |\n| channel_initiated | String |\n| open | Boolean |\n| read | Boolean |\n| state | String |\n| waiting_since | Date (UNIX timestamp) |\n| snoozed_until | Date (UNIX timestamp) |\n| tag_ids | String |\n| priority | String |\n| statistics.time_to_assignment | Integer |\n| statistics.time_to_admin_reply | Integer |\n| statistics.time_to_first_close | Integer |\n| statistics.time_to_last_close | Integer |\n| statistics.median_time_to_reply | Integer |\n| statistics.first_contact_reply_at | Date (UNIX timestamp) |\n| statistics.first_assignment_at | Date (UNIX timestamp) |\n| statistics.first_admin_reply_at | Date (UNIX timestamp) |\n| statistics.first_close_at | Date (UNIX timestamp) |\n| statistics.last_assignment_at | Date (UNIX timestamp) |\n| statistics.last_assignment_admin_reply_at | Date (UNIX timestamp) |\n| statistics.last_contact_reply_at | Date (UNIX timestamp) |\n| statistics.last_admin_reply_at | Date (UNIX timestamp) |\n| statistics.last_close_at | Date (UNIX timestamp) |\n| statistics.last_closed_by_id | String |\n| statistics.count_reopens | Integer |\n| statistics.count_assignments | Integer |\n| statistics.count_conversation_parts | Integer |\n| conversation_rating.requested_at | Date (UNIX timestamp) |\n| conversation_rating.replied_at | Date (UNIX timestamp) |\n| conversation_rating.score | Integer |\n| conversation_rating.remark | String |\n| conversation_rating.contact_id | String |\n| conversation_rating.admin_d | String |\n| ai_agent_participated | Boolean |\n| ai_agent.resolution_state | String |\n| ai_agent.last_answer_type | String |\n| ai_agent.rating | Integer |\n| ai_agent.rating_remark | String |\n| ai_agent.source_type | String |\n| ai_agent.source_title | String |\n\n### Accepted Operators\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :----------------------------- | :----------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In Shortcut for `OR` queries Values most be in Array |\n| NIN | All | Not In Shortcut for `OR !` queries Values must be in Array |\n| > | Integer Date (UNIX Timestamp) | Greater (or equal) than |\n| < | Integer Date (UNIX Timestamp) | Lower (or equal) than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Reply to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/reply", + "path": [ + "conversations", + "{id}", + "reply" + ] + }, + "description": "You can reply to a conversation with a message from an admin or on behalf of a contact, or with a note for admins.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Manage a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/parts", + "path": [ + "conversations", + "{id}", + "parts" + ] + }, + "description": "For managing conversations you can:\n- Close a conversation\n- Snooze a conversation to reopen on a future date\n- Open a conversation which is `snoozed` or `closed`\n- Assign a conversation to an admin and/or team.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Run Assignment Rules on a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/run_assignment_rules", + "path": [ + "conversations", + "{id}", + "run_assignment_rules" + ] + }, + "description": "{% admonition type=\"danger\" name=\"Deprecation of Run Assignment Rules\" %}\nRun assignment rules is now deprecated in version 2.12 and future versions and will be permanently removed on December 31, 2026. After this date, any requests made to this endpoint will fail.\n{% /admonition %}\nYou can let a conversation be automatically assigned following assignment rules.\n{% admonition type=\"warning\" name=\"When using workflows\" %}\nIt is not possible to use this endpoint with Workflows.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Attach a contact to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/customers", + "path": [ + "conversations", + "{id}", + "customers" + ] + }, + "description": "You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.\n\n{% admonition type=\"warning\" name=\"Contacts without an email\" %}\nIf you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Redact a conversation part", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/redact", + "path": [ + "conversations", + "redact" + ] + }, + "description": "You can redact a conversation part or the source message of a conversation (as seen in the source object).\n\n{% admonition type=\"info\" name=\"Redacting parts and messages\" %}\nIf you are redacting a conversation part, it must have a `body`. If you are redacting a source message, it must have been created by a contact. We will return a `conversation_part_not_redactable` error if these criteria are not met.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a data attribute", + "request": { + "method": "POST", + "url": { + "raw": "/data_attributes", + "path": [ + "data_attributes" + ] + }, + "description": "You can create a data attributes for a `contact` or a `company`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Submit a data event", + "request": { + "method": "POST", + "url": { + "raw": "/events", + "path": [ + "events" + ] + }, + "description": "\nYou will need an Access Token that has write permissions to send Events. Once you have a key you can submit events via POST to the Events resource, which is located at https://api.intercom.io/events, or you can send events using one of the client libraries. When working with the HTTP API directly a client should send the event with a `Content-Type` of `application/json`.\n\nWhen using the JavaScript API, [adding the code to your app](http://docs.intercom.io/configuring-Intercom/tracking-user-events-in-your-app) makes the Events API available. Once added, you can submit an event using the `trackEvent` method. This will associate the event with the Lead or currently logged-in user or logged-out visitor/lead and send it to Intercom. The final parameter is a map that can be used to send optional metadata about the event.\n\nWith the Ruby client you pass a hash describing the event to `Intercom::Event.create`, or call the `track_user` method directly on the current user object (e.g. `user.track_event`).\n\n**NB: For the JSON object types, please note that we do not currently support nested JSON structure.**\n\n| Type | Description | Example |\n| :-------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------- |\n| String | The value is a JSON String | `\"source\":\"desktop\"` |\n| Number | The value is a JSON Number | `\"load\": 3.67` |\n| Date | The key ends with the String `_date` and the value is a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time), assumed to be in the [UTC](http://en.wikipedia.org/wiki/Coordinated_Universal_Time) timezone. | `\"contact_date\": 1392036272` |\n| Link | The value is a HTTP or HTTPS URI. | `\"article\": \"https://example.org/ab1de.html\"` |\n| Rich Link | The value is a JSON object that contains `url` and `value` keys. | `\"article\": {\"url\": \"https://example.org/ab1de.html\", \"value\":\"the dude abides\"}` |\n| Monetary Amount | The value is a JSON object that contains `amount` and `currency` keys. The `amount` key is a positive integer representing the amount in cents. The price in the example to the right denotes €349.99. | `\"price\": {\"amount\": 34999, \"currency\": \"eur\"}` |\n\n**Lead Events**\n\nWhen submitting events for Leads, you will need to specify the Lead's `id`.\n\n**Metadata behaviour**\n\n- We currently limit the number of tracked metadata keys to 10 per event. Once the quota is reached, we ignore any further keys we receive. The first 10 metadata keys are determined by the order in which they are sent in with the event.\n- It is not possible to change the metadata keys once the event has been sent. A new event will need to be created with the new keys and you can archive the old one.\n- There might be up to 24 hrs delay when you send a new metadata for an existing event.\n\n**Event de-duplication**\n\nThe API may detect and ignore duplicate events. Each event is uniquely identified as a combination of the following data - the Workspace identifier, the Contact external identifier, the Data Event name and the Data Event created time. As a result, it is **strongly recommended** to send a second granularity Unix timestamp in the `created_at` field.\n\nDuplicated events are responded to using the normal `202 Accepted` code - an error is not thrown, however repeat requests will be counted against any rate limit that is in place.\n\n### HTTP API Responses\n\n- Successful responses to submitted events return `202 Accepted` with an empty body.\n- Unauthorised access will be rejected with a `401 Unauthorized` or `403 Forbidden` response code.\n- Events sent about users that cannot be found will return a `404 Not Found`.\n- Event lists containing duplicate events will have those duplicates ignored.\n- Server errors will return a `500` response code and may contain an error message in the body.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create event summaries", + "request": { + "method": "POST", + "url": { + "raw": "/events/summaries", + "path": [ + "events", + "summaries" + ] + }, + "description": "Create event summaries for a user. Event summaries are used to track the number of times an event has occurred, the first time it occurred and the last time it occurred.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create content data export", + "request": { + "method": "POST", + "url": { + "raw": "/export/content/data", + "path": [ + "export", + "content", + "data" + ] + }, + "description": "To create your export job, you need to send a `POST` request to the export endpoint `https://api.intercom.io/export/content/data`.\n\nThe only parameters you need to provide are the range of dates that you want exported.\n\n>🚧 Limit of one active job\n>\n> You can only have one active job per workspace. You will receive a HTTP status code of 429 with the message Exceeded rate limit of 1 pending message data export jobs if you attempt to create a second concurrent job.\n\n>❗️ Updated_at not included\n>\n> It should be noted that the timeframe only includes messages sent during the time period and not messages that were only updated during this period. For example, if a message was updated yesterday but sent two days ago, you would need to set the created_at_after date before the message was sent to include that in your retrieval job.\n\n>📘 Date ranges are inclusive\n>\n> Requesting data for 2018-06-01 until 2018-06-30 will get all data for those days including those specified - e.g. 2018-06-01 00:00:00 until 2018-06-30 23:59:99.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Cancel content data export", + "request": { + "method": "POST", + "url": { + "raw": "/export/cancel/{job_identifier}", + "path": [ + "export", + "cancel", + "{job_identifier}" + ] + }, + "description": "You can cancel your job", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a message", + "request": { + "method": "POST", + "url": { + "raw": "/messages", + "path": [ + "messages" + ] + }, + "description": "You can create a message that has been initiated by an admin. The conversation can be either an in-app message or an email.\n\n> 🚧 Sending for visitors\n>\n> There can be a short delay between when a contact is created and when a contact becomes available to be messaged through the API. A 404 Not Found error will be returned in this case.\n\nThis will return the Message model that has been created.\n\n> 🚧 Retrieving Associated Conversations\n>\n> As this is a message, there will be no conversation present until the contact responds. Once they do, you will have to search for a contact's conversations with the id of the message.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a news item", + "request": { + "method": "POST", + "url": { + "raw": "/news/news_items", + "path": [ + "news", + "news_items" + ] + }, + "description": "You can create a news item", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a phone Switch", + "request": { + "method": "POST", + "url": { + "raw": "/phone_call_redirects", + "path": [ + "phone_call_redirects" + ] + }, + "description": "You can use the API to deflect phone calls to the Intercom Messenger.\nCalling this endpoint will send an SMS with a link to the Messenger to the phone number specified.\n\nIf custom attributes are specified, they will be added to the user or lead's custom data attributes.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or update a tag, Tag or untag companies, Tag contacts", + "request": { + "method": "POST", + "url": { + "raw": "/tags", + "path": [ + "tags" + ] + }, + "description": "You can use this endpoint to perform the following operations:\n\n **1. Create a new tag:** You can create a new tag by passing in the tag name as specified in \"Create or Update Tag Request Payload\" described below.\n\n **2. Update an existing tag:** You can update an existing tag by passing the id of the tag as specified in \"Create or Update Tag Request Payload\" described below.\n\n **3. Tag Companies:** You can tag single company or a list of companies. You can tag a company by passing in the tag name and the company details as specified in \"Tag Company Request Payload\" described below. Also, if the tag doesn't exist then a new one will be created automatically.\n\n **4. Untag Companies:** You can untag a single company or a list of companies. You can untag a company by passing in the tag id and the company details as specified in \"Untag Company Request Payload\" described below.\n\n **5. Tag Multiple Users:** You can tag a list of users. You can tag the users by passing in the tag name and the user details as specified in \"Tag Users Request Payload\" described below.\n\nEach operation will return a tag object.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Convert a visitor", + "request": { + "method": "POST", + "url": { + "raw": "/visitors/convert", + "path": [ + "visitors", + "convert" + ] + }, + "description": "You can merge a Visitor to a Contact of role type `lead` or `user`.\n\n> 📘 What happens upon a visitor being converted?\n>\n> If the User exists, then the Visitor will be merged into it, the Visitor deleted and the User returned. If the User does not exist, the Visitor will be converted to a User, with the User identifiers replacing it's Visitor identifiers.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Set an admin to away", + "request": { + "method": "PUT", + "url": { + "raw": "/admins/{id}/away", + "path": [ + "admins", + "{id}", + "away" + ] + }, + "description": "You can set an Admin as away for the Inbox.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update an article", + "request": { + "method": "PUT", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can update the details of a single article by making a PUT request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a collection", + "request": { + "method": "PUT", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can update the details of a single collection by making a PUT request to `https://api.intercom.io/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a section", + "request": { + "method": "PUT", + "url": { + "raw": "/help_center/sections/{id}", + "path": [ + "help_center", + "sections", + "{id}" + ] + }, + "description": "You can update the details of a single section by making a PUT request to `https://api.intercom.io/sections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a company", + "request": { + "method": "PUT", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can update a single company using the Intercom provisioned `id`.\n\n{% admonition type=\"warning\" name=\"Using `company_id`\" %}\n When updating a company it is not possible to update `company_id`. This can only be set once upon creation of the company.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a contact", + "request": { + "method": "PUT", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can update an existing contact (ie. user or lead).", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a conversation", + "request": { + "method": "PUT", + "url": { + "raw": "/conversations/{id}", + "path": [ + "conversations", + "{id}" + ] + }, + "description": "\nYou can update an existing conversation.\n\n{% admonition type=\"info\" name=\"Replying and other actions\" %}\nIf you want to reply to a coveration or take an action such as assign, unassign, open, close or snooze, take a look at the reply and manage endpoints.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a data attribute", + "request": { + "method": "PUT", + "url": { + "raw": "/data_attributes/{id}", + "path": [ + "data_attributes", + "{id}" + ] + }, + "description": "\nYou can update a data attribute.\n\n> 🚧 Updating the data type is not possible\n>\n> It is currently a dangerous action to execute changing a data attribute's type via the API. You will need to update the type via the UI instead.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a news item", + "request": { + "method": "PUT", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a visitor", + "request": { + "method": "PUT", + "url": { + "raw": "/visitors", + "path": [ + "visitors" + ] + }, + "description": "Sending a PUT request to `/visitors` will result in an update of an existing Visitor.\n\n**Option 1.** You can update a visitor by passing in the `user_id` of the visitor in the Request body.\n\n**Option 2.** You can update a visitor by passing in the `id` of the visitor in the Request body.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete an article", + "request": { + "method": "DELETE", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can delete a single article by making a DELETE request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a collection", + "request": { + "method": "DELETE", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can delete a single collection by making a DELETE request to `https://api.intercom.io/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a section", + "request": { + "method": "DELETE", + "url": { + "raw": "/help_center/sections/{id}", + "path": [ + "help_center", + "sections", + "{id}" + ] + }, + "description": "You can delete a single section by making a DELETE request to `https://api.intercom.io/sections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a company", + "request": { + "method": "DELETE", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can delete a single company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Detach a contact from a company", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/companies/{id}", + "path": [ + "contacts", + "{contact_id}", + "companies", + "{id}" + ] + }, + "description": "You can detach a company from a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove subscription from a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/subscriptions/{id}", + "path": [ + "contacts", + "{contact_id}", + "subscriptions", + "{id}" + ] + }, + "description": "You can remove a specific subscription from a contact. This will return a subscription type model for the subscription type that was removed from the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/tags/{id}", + "path": [ + "contacts", + "{contact_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific contact. This will return a tag object for the tag that was removed from the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can delete a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{conversation_id}/tags/{id}", + "path": [ + "conversations", + "{conversation_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific conversation. This will return a tag object for the tag that was removed from the conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Detach a contact from a group conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{conversation_id}/customers/{contact_id}", + "path": [ + "conversations", + "{conversation_id}", + "customers", + "{contact_id}" + ] + }, + "description": "You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.\n\n{% admonition type=\"warning\" name=\"Contacts without an email\" %}\nIf you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a news item", + "request": { + "method": "DELETE", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "You can delete a single news item.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete tag", + "request": { + "method": "DELETE", + "url": { + "raw": "/tags/{id}", + "path": [ + "tags", + "{id}" + ] + }, + "description": "You can delete the details of tags that are on the workspace by passing in the id.", + "header": [], + "body": {} + }, + "response": [] + } + ] + } + ], + "event": [], + "variable": [ + { + "id": "4b388d48-91d8-491f-a315-f1c8933484d5", + "key": "https://api.intercom.io", + "value": "https://api.intercom.io", + "type": "string", + "description": "The production API server" + }, + { + "id": "b352c0ce-fad2-4691-83ba-29dcc8aa42a2", + "key": "https://api.eu.intercom.io", + "value": "https://api.eu.intercom.io", + "type": "string", + "description": "The european API server" + }, + { + "id": "6b34f174-1348-41c3-8787-b800e239eee5", + "key": "https://api.au.intercom.io", + "value": "https://api.au.intercom.io", + "type": "string", + "description": "The australian API server" + }, + { + "id": "f8a4626c-c870-4246-a37d-36463679ed44", + "key": "bearerToken", + "value": "{{bearerToken}}", + "type": "string", + "description": "bearertokenvalue" + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "bearerToken", + "value": "{{bearerToken}}", + "type": "string" + }, + { + "key": "tokenType", + "value": "bearer", + "type": "string" + }, + { + "key": "addTokenTo", + "value": "header", + "type": "string" + } + ] + } +} \ No newline at end of file diff --git a/postman/2.9/README.md b/postman/2.9/README.md new file mode 100644 index 0000000..f6c4491 --- /dev/null +++ b/postman/2.9/README.md @@ -0,0 +1,15 @@ +# Intercom API 2.9 Postman Collection + +This directory contains the Postman collection for Intercom API version 2.9. + +## Files +- `intercom-api.postman_collection.json`: The main Postman collection +- `environment.json`: Environment variables for this version + +## Usage +1. Import the collection into Postman +2. Import the environment file +3. Set your access token in the environment variables +4. Start making API calls! + +Last updated: 2025-04-15T14:40:03.618Z diff --git a/postman/2.9/environment.json b/postman/2.9/environment.json new file mode 100644 index 0000000..3944dee --- /dev/null +++ b/postman/2.9/environment.json @@ -0,0 +1,18 @@ +{ + "id": "intercom-api-2.9-environment", + "name": "Intercom API 2.9 Environment", + "values": [ + { + "key": "baseUrl", + "value": "https://api.intercom.io", + "type": "default", + "enabled": true + }, + { + "key": "token", + "value": "YOUR_ACCESS_TOKEN", + "type": "secret", + "enabled": true + } + ] +} \ No newline at end of file diff --git a/postman/2.9/intercom-api.postman_collection.json b/postman/2.9/intercom-api.postman_collection.json new file mode 100644 index 0000000..9e267e4 --- /dev/null +++ b/postman/2.9/intercom-api.postman_collection.json @@ -0,0 +1,1933 @@ +{ + "info": { + "name": "Intercom API - 2.9", + "description": "The intercom API reference.", + "version": "2.9", + "contact": { + "name": "Intercom Developer Hub", + "url": "https://developers.intercom.com" + }, + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "updatedAt": "2025-04-15T14:40:03.617Z" + }, + "item": [ + { + "name": "General", + "item": [ + { + "name": "Identify an admin", + "request": { + "method": "GET", + "url": { + "raw": "/me", + "path": [ + "me" + ] + }, + "description": "\nYou can view the currently authorised admin along with the embedded app object (a \"workspace\" in legacy terminology).\n\n> 🚧 Single Sign On\n>\n> If you are building a custom \"Log in with Intercom\" flow for your site, and you call the `/me` endpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all activity logs", + "request": { + "method": "GET", + "url": { + "raw": "/admins/activity_logs", + "path": [ + "admins", + "activity_logs" + ] + }, + "description": "You can get a log of activities by all admins in an app.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all admins", + "request": { + "method": "GET", + "url": { + "raw": "/admins", + "path": [ + "admins" + ] + }, + "description": "You can fetch a list of admins for a given workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an admin", + "request": { + "method": "GET", + "url": { + "raw": "/admins/{id}", + "path": [ + "admins", + "{id}" + ] + }, + "description": "You can retrieve the details of a single admin.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all articles", + "request": { + "method": "GET", + "url": { + "raw": "/articles", + "path": [ + "articles" + ] + }, + "description": "You can fetch a list of all articles by making a GET request to `https://api.intercom.io/articles`.\n\n> 📘 How are the articles sorted and ordered?\n>\n> Articles will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated articles first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an article", + "request": { + "method": "GET", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can fetch the details of a single article by making a GET request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all collections", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/collections", + "path": [ + "help_center", + "collections" + ] + }, + "description": "You can fetch a list of all collections by making a GET request to `https://api.intercom.io/help_center/collections`.\n\nCollections will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated collections first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a collection", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can fetch the details of a single collection by making a GET request to `https://api.intercom.io/help_center/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a Help Center", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/help_centers/{id}", + "path": [ + "help_center", + "help_centers", + "{id}" + ] + }, + "description": "You can fetch the details of a single Help Center by making a GET request to `https://api.intercom.io/help_center/help_center/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all Help Centers", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/help_centers", + "path": [ + "help_center", + "help_centers" + ] + }, + "description": "You can list all Help Centers by making a GET request to `https://api.intercom.io/help_center/help_centers`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all sections", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/sections", + "path": [ + "help_center", + "sections" + ] + }, + "description": "You can fetch a list of all sections by making a GET request to `https://api.intercom.io/help_center/sections`.\n> 📘 How are the sections sorted and ordered?\n>\n> Sections will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated sections first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a section", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/sections/{id}", + "path": [ + "help_center", + "sections", + "{id}" + ] + }, + "description": "You can fetch the details of a single section by making a GET request to `https://api.intercom.io/help_center/sections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies", + "path": [ + "companies" + ] + }, + "description": "You can fetch a single company by passing in `company_id` or `name`.\n\n `https://api.intercom.io/companies?name={name}`\n\n `https://api.intercom.io/companies?company_id={company_id}`\n\nYou can fetch all companies and filter by `segment_id` or `tag_id` as a query parameter.\n\n `https://api.intercom.io/companies?tag_id={tag_id}`\n\n `https://api.intercom.io/companies?segment_id={segment_id}`\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a company by ID", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can fetch a single company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached contacts", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}/contacts", + "path": [ + "companies", + "{id}", + "contacts" + ] + }, + "description": "You can fetch a list of all contacts that belong to a company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached segments for companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}/segments", + "path": [ + "companies", + "{id}", + "segments" + ] + }, + "description": "You can fetch a list of all segments that belong to a company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Scroll over all companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies/scroll", + "path": [ + "companies", + "scroll" + ] + }, + "description": " The `list all companies` functionality does not work well for huge datasets, and can result in errors and performance problems when paging deeply. The Scroll API provides an efficient mechanism for iterating over all companies in a dataset.\n\n- Each app can only have 1 scroll open at a time. You'll get an error message if you try to have more than one open per app.\n- If the scroll isn't used for 1 minute, it expires and calls with that scroll param will fail\n- If the end of the scroll is reached, \"companies\" will be empty and the scroll parameter will expire\n\n{% admonition type=\"info\" name=\"Scroll Parameter\" %}\n You can get the first page of companies by simply sending a GET request to the scroll endpoint.\n For subsequent requests you will need to use the scroll parameter from the response.\n{% /admonition %}\n{% admonition type=\"danger\" name=\"Scroll network timeouts\" %}\n Since scroll is often used on large datasets network errors such as timeouts can be encountered. When this occurs you will see a HTTP 500 error with the following message:\n \"Request failed due to an internal network error. Please restart the scroll operation.\"\n If this happens, you will need to restart your scroll query: It is not possible to continue from a specific point when using scroll.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached companies for contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}/companies", + "path": [ + "contacts", + "{id}", + "companies" + ] + }, + "description": "You can fetch a list of companies that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all notes", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}/notes", + "path": [ + "contacts", + "{id}", + "notes" + ] + }, + "description": "You can fetch a list of notes that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached segments for contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/segments", + "path": [ + "contacts", + "{contact_id}", + "segments" + ] + }, + "description": "You can fetch a list of segments that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List subscriptions for a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/subscriptions", + "path": [ + "contacts", + "{contact_id}", + "subscriptions" + ] + }, + "description": "You can fetch a list of subscription types that are attached to a contact. These can be subscriptions that a user has 'opted-in' to or has 'opted-out' from, depending on the subscription type.\nThis will return a list of Subscription Type objects that the contact is associated with.\n\nThe data property will show a combined list of:\n\n 1.Opt-out subscription types that the user has opted-out from.\n 2.Opt-in subscription types that the user has opted-in to receiving.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List tags attached to a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/tags", + "path": [ + "contacts", + "{contact_id}", + "tags" + ] + }, + "description": "You can fetch a list of all tags that are attached to a specific contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Get a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can fetch the details of a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all contacts", + "request": { + "method": "GET", + "url": { + "raw": "/contacts", + "path": [ + "contacts" + ] + }, + "description": "You can fetch a list of all contacts (ie. users or leads) in your workspace.\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `50` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all conversations", + "request": { + "method": "GET", + "url": { + "raw": "/conversations", + "path": [ + "conversations" + ] + }, + "description": "You can fetch a list of all conversations.\n\nYou can optionally request the result page size and the cursor to start after to fetch the result.\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a conversation", + "request": { + "method": "GET", + "url": { + "raw": "/conversations/{id}", + "path": [ + "conversations", + "{id}" + ] + }, + "description": "\nYou can fetch the details of a single conversation.\n\nThis will return a single Conversation model with all its conversation parts.\n\n{% admonition type=\"warning\" name=\"Hard limit of 500 parts\" %}\nThe maximum number of conversation parts that can be returned via the API is 500. If you have more than that we will return the 500 most recent conversation parts.\n{% /admonition %}\n\nFor AI agent conversation metadata, please note that you need to have the agent enabled in your workspace, which is a [paid feature](https://www.intercom.com/help/en/articles/8205718-fin-resolutions#h_97f8c2e671).\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all data attributes", + "request": { + "method": "GET", + "url": { + "raw": "/data_attributes", + "path": [ + "data_attributes" + ] + }, + "description": "You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all data events", + "request": { + "method": "GET", + "url": { + "raw": "/events", + "path": [ + "events" + ] + }, + "description": "\n> 🚧\n>\n> Please note that you can only 'list' events that are less than 90 days old. Event counts and summaries will still include your events older than 90 days but you cannot 'list' these events individually if they are older than 90 days\n\nThe events belonging to a customer can be listed by sending a GET request to `https://api.intercom.io/events` with a user or lead identifier along with a `type` parameter. The identifier parameter can be one of `user_id`, `email` or `intercom_user_id`. The `type` parameter value must be `user`.\n\n- `https://api.intercom.io/events?type=user&user_id={user_id}`\n- `https://api.intercom.io/events?type=user&email={email}`\n- `https://api.intercom.io/events?type=user&intercom_user_id={id}` (this call can be used to list leads)\n\nThe `email` parameter value should be [url encoded](http://en.wikipedia.org/wiki/Percent-encoding) when sending.\n\nYou can optionally define the result page size as well with the `per_page` parameter.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Show content data export", + "request": { + "method": "GET", + "url": { + "raw": "/export/content/data/{job_identifier}", + "path": [ + "export", + "content", + "data", + "{job_identifier}" + ] + }, + "description": "You can view the status of your job by sending a `GET` request to the URL\n`https://api.intercom.io/export/content/data/{job_identifier}` - the `{job_identifier}` is the value returned in the response when you first created the export job. More on it can be seen in the Export Job Model.\n\n> 🚧 Jobs expire after two days\n> All jobs that have completed processing (and are thus available to download from the provided URL) will have an expiry limit of two days from when the export ob completed. After this, the data will no longer be available.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Download content data export", + "request": { + "method": "GET", + "url": { + "raw": "/download/content/data/{job_identifier}", + "path": [ + "download", + "content", + "data", + "{job_identifier}" + ] + }, + "description": "When a job has a status of complete, and thus a filled download_url, you can download your data by hitting that provided URL, formatted like so: https://api.intercom.io/download/content/data/xyz1234.\n\nYour exported message data will be streamed continuously back down to you in a gzipped CSV format.\n\n> 📘 Octet header required\n>\n> You will have to specify the header Accept: `application/octet-stream` when hitting this endpoint.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all news items", + "request": { + "method": "GET", + "url": { + "raw": "/news/news_items", + "path": [ + "news", + "news_items" + ] + }, + "description": "You can fetch a list of all news items", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a news item", + "request": { + "method": "GET", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "You can fetch the details of a single news item.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all live newsfeed items", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds/{id}/items", + "path": [ + "news", + "newsfeeds", + "{id}", + "items" + ] + }, + "description": "You can fetch a list of all news items that are live on a given newsfeed", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all newsfeeds", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds", + "path": [ + "news", + "newsfeeds" + ] + }, + "description": "You can fetch a list of all newsfeeds", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a newsfeed", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds/{id}", + "path": [ + "news", + "newsfeeds", + "{id}" + ] + }, + "description": "You can fetch the details of a single newsfeed", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a note", + "request": { + "method": "GET", + "url": { + "raw": "/notes/{id}", + "path": [ + "notes", + "{id}" + ] + }, + "description": "You can fetch the details of a single note.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all segments", + "request": { + "method": "GET", + "url": { + "raw": "/segments", + "path": [ + "segments" + ] + }, + "description": "You can fetch a list of all segments.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a segment", + "request": { + "method": "GET", + "url": { + "raw": "/segments/{id}", + "path": [ + "segments", + "{id}" + ] + }, + "description": "You can fetch the details of a single segment.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List subscription types", + "request": { + "method": "GET", + "url": { + "raw": "/subscription_types", + "path": [ + "subscription_types" + ] + }, + "description": "You can list all subscription types. A list of subscription type objects will be returned.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all tags", + "request": { + "method": "GET", + "url": { + "raw": "/tags", + "path": [ + "tags" + ] + }, + "description": "You can fetch a list of all tags for a given workspace.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Find a specific tag", + "request": { + "method": "GET", + "url": { + "raw": "/tags/{id}", + "path": [ + "tags", + "{id}" + ] + }, + "description": "You can fetch the details of tags that are on the workspace by their id.\nThis will return a tag object.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all teams", + "request": { + "method": "GET", + "url": { + "raw": "/teams", + "path": [ + "teams" + ] + }, + "description": "This will return a list of team objects for the App.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a team", + "request": { + "method": "GET", + "url": { + "raw": "/teams/{id}", + "path": [ + "teams", + "{id}" + ] + }, + "description": "You can fetch the details of a single team, containing an array of admins that belong to this team.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all ticket types", + "request": { + "method": "GET", + "url": { + "raw": "/ticket_types", + "path": [ + "ticket_types" + ] + }, + "description": "You can get a list of all ticket types for a workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a ticket type", + "request": { + "method": "GET", + "url": { + "raw": "/ticket_types/{id}", + "path": [ + "ticket_types", + "{id}" + ] + }, + "description": "You can fetch the details of a single ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a ticket", + "request": { + "method": "GET", + "url": { + "raw": "/tickets/{id}", + "path": [ + "tickets", + "{id}" + ] + }, + "description": "You can fetch the details of a single ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a visitor with User ID", + "request": { + "method": "GET", + "url": { + "raw": "/visitors", + "path": [ + "visitors" + ] + }, + "description": "You can fetch the details of a single visitor.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create an article", + "request": { + "method": "POST", + "url": { + "raw": "/articles", + "path": [ + "articles" + ] + }, + "description": "You can create a new article by making a POST request to `https://api.intercom.io/articles`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a collection", + "request": { + "method": "POST", + "url": { + "raw": "/help_center/collections", + "path": [ + "help_center", + "collections" + ] + }, + "description": "You can create a new collection by making a POST request to `https://api.intercom.io/help_center/collections.`", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a section", + "request": { + "method": "POST", + "url": { + "raw": "/help_center/sections", + "path": [ + "help_center", + "sections" + ] + }, + "description": "You can create a new section by making a POST request to `https://api.intercom.io/help_center/sections.`", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or Update a company", + "request": { + "method": "POST", + "url": { + "raw": "/companies", + "path": [ + "companies" + ] + }, + "description": "You can create or update a company.\n\nCompanies will be only visible in Intercom when there is at least one associated user.\n\nCompanies are looked up via `company_id` in a `POST` request, if not found via `company_id`, the new company will be created, if found, that company will be updated.\n\n{% admonition type=\"warning\" name=\"Using `company_id`\" %}\n You can set a unique `company_id` value when creating a company. However, it is not possible to update `company_id`. Be sure to set a unique value once upon creation of the company.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all companies", + "request": { + "method": "POST", + "url": { + "raw": "/companies/list", + "path": [ + "companies", + "list" + ] + }, + "description": "You can list companies. The company list is sorted by the `last_request_at` field and by default is ordered descending, most recently requested first.\n\nNote that the API does not include companies who have no associated users in list responses.\n\nWhen using the Companies endpoint and the pages object to iterate through the returned companies, there is a limit of 10,000 Companies that can be returned. If you need to list or iterate on more than 10,000 Companies, please use the [Scroll API](https://developers.intercom.com/reference#iterating-over-all-companies).\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Attach a Contact to a Company", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/companies", + "path": [ + "contacts", + "{id}", + "companies" + ] + }, + "description": "You can attach a company to a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a note", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/notes", + "path": [ + "contacts", + "{id}", + "notes" + ] + }, + "description": "You can add a note to a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add subscription to a contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/subscriptions", + "path": [ + "contacts", + "{contact_id}", + "subscriptions" + ] + }, + "description": "You can add a specific subscription to a contact. In Intercom, we have two different subscription types based on user consent - opt-out and opt-in:\n\n 1.Attaching a contact to an opt-out subscription type will opt that user out from receiving messages related to that subscription type.\n\n 2.Attaching a contact to an opt-in subscription type will opt that user in to receiving messages related to that subscription type.\n\nThis will return a subscription type model for the subscription type that was added to the contact.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/tags", + "path": [ + "contacts", + "{contact_id}", + "tags" + ] + }, + "description": "You can tag a specific contact. This will return a tag object for the tag that was added to the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Merge a lead and a user", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/merge", + "path": [ + "contacts", + "merge" + ] + }, + "description": "You can merge a contact with a `role` of `lead` into a contact with a `role` of `user`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search contacts", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/search", + "path": [ + "contacts", + "search" + ] + }, + "description": "You can search for multiple contacts by the value of their attributes in order to fetch exactly who you want.\n\nTo search for contacts, you need to send a `POST` request to `https://api.intercom.io/contacts/search`.\n\nThis will accept a query object in the body which will define your filters in order to search for contacts.\n\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `50` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n### Contact Creation Delay\n\nIf a contact has recently been created, there is a possibility that it will not yet be available when searching. This means that it may not appear in the response. This delay can take a few minutes. If you need to be instantly notified it is recommended to use webhooks and iterate to see if they match your search filters.\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiple's there can be:\n* There's a limit of max 2 nested filters\n* There's a limit of max 15 filters for each AND or OR group\n\n### Searching for Timestamp Fields\n\nAll timestamp fields (created_at, updated_at etc.) are indexed as Dates for Contact Search queries; Datetime queries are not currently supported. This means you can only query for timestamp fields by day - not hour, minute or second.\nFor example, if you search for all Contacts with a created_at value greater (>) than 1577869200 (the UNIX timestamp for January 1st, 2020 9:00 AM), that will be interpreted as 1577836800 (January 1st, 2020 12:00 AM). The search results will then include Contacts created from January 2nd, 2020 12:00 AM onwards.\nIf you'd like to get contacts created on January 1st, 2020 you should search with a created_at value equal (=) to 1577836800 (January 1st, 2020 12:00 AM).\nThis behaviour applies only to timestamps used in search queries. The search results will still contain the full UNIX timestamp and be sorted accordingly.\n\n### Accepted Fields\n\nMost key listed as part of the Contacts Model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foorbar\"`).\n\n| Field | Type |\n| ---------------------------------- | ------------------------------ |\n| id | String |\n| role | String
Accepts user or lead |\n| name | String |\n| avatar | String |\n| owner_id | Integer |\n| email | String |\n| email_domain | String |\n| phone | String |\n| external_id | String |\n| created_at | Date (UNIX Timestamp) |\n| signed_up_at | Date (UNIX Timestamp) |\n| updated_at | Date (UNIX Timestamp) |\n| last_seen_at | Date (UNIX Timestamp) |\n| last_contacted_at | Date (UNIX Timestamp) |\n| last_replied_at | Date (UNIX Timestamp) |\n| last_email_opened_at | Date (UNIX Timestamp) |\n| last_email_clicked_at | Date (UNIX Timestamp) |\n| language_override | String |\n| browser | String |\n| browser_language | String |\n| os | String |\n| location.country | String |\n| location.region | String |\n| location.city | String |\n| unsubscribed_from_emails | Boolean |\n| marked_email_as_spam | Boolean |\n| has_hard_bounced | Boolean |\n| ios_last_seen_at | Date (UNIX Timestamp) |\n| ios_app_version | String |\n| ios_device | String |\n| ios_app_device | String |\n| ios_os_version | String |\n| ios_app_name | String |\n| ios_sdk_version | String |\n| android_last_seen_at | Date (UNIX Timestamp) |\n| android_app_version | String |\n| android_device | String |\n| android_app_name | String |\n| andoid_sdk_version | String |\n| segment_id | String |\n| tag_id | String |\n| custom_attributes.{attribute_name} | String |\n\n### Accepted Operators\n\n{% admonition type=\"warning\" name=\"Searching based on `created_at`\" %}\n You cannot use the `<=` or `>=` operators to search by `created_at`.\n{% /admonition %}\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :------------------------------- | :--------------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In
Shortcut for `OR` queries
Values must be in Array |\n| NIN | All | Not In
Shortcut for `OR !` queries
Values must be in Array |\n| > | Integer
Date (UNIX Timestamp) | Greater than |\n| < | Integer
Date (UNIX Timestamp) | Lower than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts", + "path": [ + "contacts" + ] + }, + "description": "You can create a new contact (ie. user or lead).", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Archive contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/archive", + "path": [ + "contacts", + "{id}", + "archive" + ] + }, + "description": "You can archive a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Unarchive contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/unarchive", + "path": [ + "contacts", + "{id}", + "unarchive" + ] + }, + "description": "You can unarchive a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{conversation_id}/tags", + "path": [ + "conversations", + "{conversation_id}", + "tags" + ] + }, + "description": "You can tag a specific conversation. This will return a tag object for the tag that was added to the conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Creates a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations", + "path": [ + "conversations" + ] + }, + "description": "You can create a conversation that has been initiated by a contact (ie. user or lead).\nThe conversation can be an in-app message only.\n\n{% admonition type=\"info\" name=\"Sending for visitors\" %}\nYou can also send a message from a visitor by specifying their `user_id` or `id` value in the `from` field, along with a `type` field value of `contact`.\nThis visitor will be automatically converted to a contact with a lead role once the conversation is created.\n{% /admonition %}\n\nThis will return the Message model that has been created.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search conversations", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/search", + "path": [ + "conversations", + "search" + ] + }, + "description": "You can search for multiple conversations by the value of their attributes in order to fetch exactly which ones you want.\n\nTo search for conversations, you need to send a `POST` request to `https://api.intercom.io/conversations/search`.\n\nThis will accept a query object in the body which will define your filters in order to search for conversations.\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `20` results per page and maximum is `150`.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiple's there can be:\n- There's a limit of max 2 nested filters\n- There's a limit of max 15 filters for each AND or OR group\n\n### Accepted Fields\n\nMost keys listed in the conversation model is searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foorbar\"`).\nThe `source.body` field is unique as the search will not be performed against the entire value, but instead against every element of the value separately. For example, when searching for a conversation with a `\"I need support\"` body - the query should contain a `=` operator with the value `\"support\"` for such conversation to be returned. A query with a `=` operator and a `\"need support\"` value will not yield a result.\n\n| Field | Type |\n| :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------- |\n| id | String |\n| created_at | Date (UNIX timestamp) |\n| updated_at | Date (UNIX timestamp) |\n| source.type | String
Accepted fields are `conversation`, `email`, `facebook`, `instagram`, `phone_call`, `phone_switch`, `push`, `sms`, `twitter` and `whatsapp`. |\n| source.id | String |\n| source.delivered_as | String |\n| source.subject | String |\n| source.body | String |\n| source.author.id | String |\n| source.author.type | String |\n| source.author.name | String |\n| source.author.email | String |\n| source.url | String |\n| contact_ids | String |\n| teammate_ids | String |\n| admin_assignee_id | String |\n| team_assignee_id | String |\n| channel_initiated | String |\n| open | Boolean |\n| read | Boolean |\n| state | String |\n| waiting_since | Date (UNIX timestamp) |\n| snoozed_until | Date (UNIX timestamp) |\n| tag_ids | String |\n| priority | String |\n| statistics.time_to_assignment | Integer |\n| statistics.time_to_admin_reply | Integer |\n| statistics.time_to_first_close | Integer |\n| statistics.time_to_last_close | Integer |\n| statistics.median_time_to_reply | Integer |\n| statistics.first_contact_reply_at | Date (UNIX timestamp) |\n| statistics.first_assignment_at | Date (UNIX timestamp) |\n| statistics.first_admin_reply_at | Date (UNIX timestamp) |\n| statistics.first_close_at | Date (UNIX timestamp) |\n| statistics.last_assignment_at | Date (UNIX timestamp) |\n| statistics.last_assignment_admin_reply_at | Date (UNIX timestamp) |\n| statistics.last_contact_reply_at | Date (UNIX timestamp) |\n| statistics.last_admin_reply_at | Date (UNIX timestamp) |\n| statistics.last_close_at | Date (UNIX timestamp) |\n| statistics.last_closed_by_id | String |\n| statistics.count_reopens | Integer |\n| statistics.count_assignments | Integer |\n| statistics.count_conversation_parts | Integer |\n| conversation_rating.requested_at | Date (UNIX timestamp) |\n| conversation_rating.replied_at | Date (UNIX timestamp) |\n| conversation_rating.score | Integer |\n| conversation_rating.remark | String |\n| conversation_rating.contact_id | String |\n| conversation_rating.admin_d | String |\n| ai_agent_participated | Boolean |\n| ai_agent.resolution_state | String |\n| ai_agent.last_answer_type | String |\n| ai_agent.rating | Integer |\n| ai_agent.rating_remark | String |\n| ai_agent.source_type | String |\n| ai_agent.source_title | String |\n\n### Accepted Operators\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :----------------------------- | :----------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In Shortcut for `OR` queries Values most be in Array |\n| NIN | All | Not In Shortcut for `OR !` queries Values must be in Array |\n| > | Integer Date (UNIX Timestamp) | Greater (or equal) than |\n| < | Integer Date (UNIX Timestamp) | Lower (or equal) than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Reply to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/reply", + "path": [ + "conversations", + "{id}", + "reply" + ] + }, + "description": "You can reply to a conversation with a message from an admin or on behalf of a contact, or with a note for admins.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Manage a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/parts", + "path": [ + "conversations", + "{id}", + "parts" + ] + }, + "description": "For managing conversations you can:\n- Close a conversation\n- Snooze a conversation to reopen on a future date\n- Open a conversation which is `snoozed` or `closed`\n- Assign a conversation to an admin and/or team.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Run Assignment Rules on a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/run_assignment_rules", + "path": [ + "conversations", + "{id}", + "run_assignment_rules" + ] + }, + "description": "{% admonition type=\"danger\" name=\"Deprecation of Run Assignment Rules\" %}\nRun assignment rules is now deprecated in version 2.12 and future versions and will be permanently removed on December 31, 2026. After this date, any requests made to this endpoint will fail.\n{% /admonition %}\nYou can let a conversation be automatically assigned following assignment rules.\n{% admonition type=\"warning\" name=\"When using workflows\" %}\nIt is not possible to use this endpoint with Workflows.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Attach a contact to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/customers", + "path": [ + "conversations", + "{id}", + "customers" + ] + }, + "description": "You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.\n\n{% admonition type=\"warning\" name=\"Contacts without an email\" %}\nIf you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Redact a conversation part", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/redact", + "path": [ + "conversations", + "redact" + ] + }, + "description": "You can redact a conversation part or the source message of a conversation (as seen in the source object).\n\n{% admonition type=\"info\" name=\"Redacting parts and messages\" %}\nIf you are redacting a conversation part, it must have a `body`. If you are redacting a source message, it must have been created by a contact. We will return a `conversation_part_not_redactable` error if these criteria are not met.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a data attribute", + "request": { + "method": "POST", + "url": { + "raw": "/data_attributes", + "path": [ + "data_attributes" + ] + }, + "description": "You can create a data attributes for a `contact` or a `company`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Submit a data event", + "request": { + "method": "POST", + "url": { + "raw": "/events", + "path": [ + "events" + ] + }, + "description": "\nYou will need an Access Token that has write permissions to send Events. Once you have a key you can submit events via POST to the Events resource, which is located at https://api.intercom.io/events, or you can send events using one of the client libraries. When working with the HTTP API directly a client should send the event with a `Content-Type` of `application/json`.\n\nWhen using the JavaScript API, [adding the code to your app](http://docs.intercom.io/configuring-Intercom/tracking-user-events-in-your-app) makes the Events API available. Once added, you can submit an event using the `trackEvent` method. This will associate the event with the Lead or currently logged-in user or logged-out visitor/lead and send it to Intercom. The final parameter is a map that can be used to send optional metadata about the event.\n\nWith the Ruby client you pass a hash describing the event to `Intercom::Event.create`, or call the `track_user` method directly on the current user object (e.g. `user.track_event`).\n\n**NB: For the JSON object types, please note that we do not currently support nested JSON structure.**\n\n| Type | Description | Example |\n| :-------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------- |\n| String | The value is a JSON String | `\"source\":\"desktop\"` |\n| Number | The value is a JSON Number | `\"load\": 3.67` |\n| Date | The key ends with the String `_date` and the value is a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time), assumed to be in the [UTC](http://en.wikipedia.org/wiki/Coordinated_Universal_Time) timezone. | `\"contact_date\": 1392036272` |\n| Link | The value is a HTTP or HTTPS URI. | `\"article\": \"https://example.org/ab1de.html\"` |\n| Rich Link | The value is a JSON object that contains `url` and `value` keys. | `\"article\": {\"url\": \"https://example.org/ab1de.html\", \"value\":\"the dude abides\"}` |\n| Monetary Amount | The value is a JSON object that contains `amount` and `currency` keys. The `amount` key is a positive integer representing the amount in cents. The price in the example to the right denotes €349.99. | `\"price\": {\"amount\": 34999, \"currency\": \"eur\"}` |\n\n**Lead Events**\n\nWhen submitting events for Leads, you will need to specify the Lead's `id`.\n\n**Metadata behaviour**\n\n- We currently limit the number of tracked metadata keys to 10 per event. Once the quota is reached, we ignore any further keys we receive. The first 10 metadata keys are determined by the order in which they are sent in with the event.\n- It is not possible to change the metadata keys once the event has been sent. A new event will need to be created with the new keys and you can archive the old one.\n- There might be up to 24 hrs delay when you send a new metadata for an existing event.\n\n**Event de-duplication**\n\nThe API may detect and ignore duplicate events. Each event is uniquely identified as a combination of the following data - the Workspace identifier, the Contact external identifier, the Data Event name and the Data Event created time. As a result, it is **strongly recommended** to send a second granularity Unix timestamp in the `created_at` field.\n\nDuplicated events are responded to using the normal `202 Accepted` code - an error is not thrown, however repeat requests will be counted against any rate limit that is in place.\n\n### HTTP API Responses\n\n- Successful responses to submitted events return `202 Accepted` with an empty body.\n- Unauthorised access will be rejected with a `401 Unauthorized` or `403 Forbidden` response code.\n- Events sent about users that cannot be found will return a `404 Not Found`.\n- Event lists containing duplicate events will have those duplicates ignored.\n- Server errors will return a `500` response code and may contain an error message in the body.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create event summaries", + "request": { + "method": "POST", + "url": { + "raw": "/events/summaries", + "path": [ + "events", + "summaries" + ] + }, + "description": "Create event summaries for a user. Event summaries are used to track the number of times an event has occurred, the first time it occurred and the last time it occurred.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create content data export", + "request": { + "method": "POST", + "url": { + "raw": "/export/content/data", + "path": [ + "export", + "content", + "data" + ] + }, + "description": "To create your export job, you need to send a `POST` request to the export endpoint `https://api.intercom.io/export/content/data`.\n\nThe only parameters you need to provide are the range of dates that you want exported.\n\n>🚧 Limit of one active job\n>\n> You can only have one active job per workspace. You will receive a HTTP status code of 429 with the message Exceeded rate limit of 1 pending message data export jobs if you attempt to create a second concurrent job.\n\n>❗️ Updated_at not included\n>\n> It should be noted that the timeframe only includes messages sent during the time period and not messages that were only updated during this period. For example, if a message was updated yesterday but sent two days ago, you would need to set the created_at_after date before the message was sent to include that in your retrieval job.\n\n>📘 Date ranges are inclusive\n>\n> Requesting data for 2018-06-01 until 2018-06-30 will get all data for those days including those specified - e.g. 2018-06-01 00:00:00 until 2018-06-30 23:59:99.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Cancel content data export", + "request": { + "method": "POST", + "url": { + "raw": "/export/cancel/{job_identifier}", + "path": [ + "export", + "cancel", + "{job_identifier}" + ] + }, + "description": "You can cancel your job", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a message", + "request": { + "method": "POST", + "url": { + "raw": "/messages", + "path": [ + "messages" + ] + }, + "description": "You can create a message that has been initiated by an admin. The conversation can be either an in-app message or an email.\n\n> 🚧 Sending for visitors\n>\n> There can be a short delay between when a contact is created and when a contact becomes available to be messaged through the API. A 404 Not Found error will be returned in this case.\n\nThis will return the Message model that has been created.\n\n> 🚧 Retrieving Associated Conversations\n>\n> As this is a message, there will be no conversation present until the contact responds. Once they do, you will have to search for a contact's conversations with the id of the message.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a news item", + "request": { + "method": "POST", + "url": { + "raw": "/news/news_items", + "path": [ + "news", + "news_items" + ] + }, + "description": "You can create a news item", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a phone Switch", + "request": { + "method": "POST", + "url": { + "raw": "/phone_call_redirects", + "path": [ + "phone_call_redirects" + ] + }, + "description": "You can use the API to deflect phone calls to the Intercom Messenger.\nCalling this endpoint will send an SMS with a link to the Messenger to the phone number specified.\n\nIf custom attributes are specified, they will be added to the user or lead's custom data attributes.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or update a tag, Tag or untag companies, Tag contacts", + "request": { + "method": "POST", + "url": { + "raw": "/tags", + "path": [ + "tags" + ] + }, + "description": "You can use this endpoint to perform the following operations:\n\n **1. Create a new tag:** You can create a new tag by passing in the tag name as specified in \"Create or Update Tag Request Payload\" described below.\n\n **2. Update an existing tag:** You can update an existing tag by passing the id of the tag as specified in \"Create or Update Tag Request Payload\" described below.\n\n **3. Tag Companies:** You can tag single company or a list of companies. You can tag a company by passing in the tag name and the company details as specified in \"Tag Company Request Payload\" described below. Also, if the tag doesn't exist then a new one will be created automatically.\n\n **4. Untag Companies:** You can untag a single company or a list of companies. You can untag a company by passing in the tag id and the company details as specified in \"Untag Company Request Payload\" described below.\n\n **5. Tag Multiple Users:** You can tag a list of users. You can tag the users by passing in the tag name and the user details as specified in \"Tag Users Request Payload\" described below.\n\nEach operation will return a tag object.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a new attribute for a ticket type", + "request": { + "method": "POST", + "url": { + "raw": "/ticket_types/{ticket_type_id}/attributes", + "path": [ + "ticket_types", + "{ticket_type_id}", + "attributes" + ] + }, + "description": "You can create a new attribute for a ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a ticket type", + "request": { + "method": "POST", + "url": { + "raw": "/ticket_types", + "path": [ + "ticket_types" + ] + }, + "description": "You can create a new ticket type.\n> 📘 Creating ticket types.\n>\n> Every ticket type will be created with two default attributes: _default_title_ and _default_description_.\n> For the `icon` propery, use an emoji from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/)\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Reply to a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets/{id}/reply", + "path": [ + "tickets", + "{id}", + "reply" + ] + }, + "description": "You can reply to a ticket with a note from an admin.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets", + "path": [ + "tickets" + ] + }, + "description": "You can create a new ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Convert a visitor", + "request": { + "method": "POST", + "url": { + "raw": "/visitors/convert", + "path": [ + "visitors", + "convert" + ] + }, + "description": "You can merge a Visitor to a Contact of role type `lead` or `user`.\n\n> 📘 What happens upon a visitor being converted?\n>\n> If the User exists, then the Visitor will be merged into it, the Visitor deleted and the User returned. If the User does not exist, the Visitor will be converted to a User, with the User identifiers replacing it's Visitor identifiers.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Set an admin to away", + "request": { + "method": "PUT", + "url": { + "raw": "/admins/{id}/away", + "path": [ + "admins", + "{id}", + "away" + ] + }, + "description": "You can set an Admin as away for the Inbox.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update an article", + "request": { + "method": "PUT", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can update the details of a single article by making a PUT request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a collection", + "request": { + "method": "PUT", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can update the details of a single collection by making a PUT request to `https://api.intercom.io/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a section", + "request": { + "method": "PUT", + "url": { + "raw": "/help_center/sections/{id}", + "path": [ + "help_center", + "sections", + "{id}" + ] + }, + "description": "You can update the details of a single section by making a PUT request to `https://api.intercom.io/sections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a company", + "request": { + "method": "PUT", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can update a single company using the Intercom provisioned `id`.\n\n{% admonition type=\"warning\" name=\"Using `company_id`\" %}\n When updating a company it is not possible to update `company_id`. This can only be set once upon creation of the company.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a contact", + "request": { + "method": "PUT", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can update an existing contact (ie. user or lead).", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a conversation", + "request": { + "method": "PUT", + "url": { + "raw": "/conversations/{id}", + "path": [ + "conversations", + "{id}" + ] + }, + "description": "\nYou can update an existing conversation.\n\n{% admonition type=\"info\" name=\"Replying and other actions\" %}\nIf you want to reply to a coveration or take an action such as assign, unassign, open, close or snooze, take a look at the reply and manage endpoints.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a data attribute", + "request": { + "method": "PUT", + "url": { + "raw": "/data_attributes/{id}", + "path": [ + "data_attributes", + "{id}" + ] + }, + "description": "\nYou can update a data attribute.\n\n> 🚧 Updating the data type is not possible\n>\n> It is currently a dangerous action to execute changing a data attribute's type via the API. You will need to update the type via the UI instead.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a news item", + "request": { + "method": "PUT", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update an existing attribute for a ticket type", + "request": { + "method": "PUT", + "url": { + "raw": "/ticket_types/{ticket_type_id}/attributes/{id}", + "path": [ + "ticket_types", + "{ticket_type_id}", + "attributes", + "{id}" + ] + }, + "description": "You can update an existing attribute for a ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a ticket type", + "request": { + "method": "PUT", + "url": { + "raw": "/ticket_types/{id}", + "path": [ + "ticket_types", + "{id}" + ] + }, + "description": "\nYou can update a ticket type.\n\n> 📘 Updating a ticket type.\n>\n> For the `icon` propery, use an emoji from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/)\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a ticket", + "request": { + "method": "PUT", + "url": { + "raw": "/tickets/{id}", + "path": [ + "tickets", + "{id}" + ] + }, + "description": "You can update a ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a visitor", + "request": { + "method": "PUT", + "url": { + "raw": "/visitors", + "path": [ + "visitors" + ] + }, + "description": "Sending a PUT request to `/visitors` will result in an update of an existing Visitor.\n\n**Option 1.** You can update a visitor by passing in the `user_id` of the visitor in the Request body.\n\n**Option 2.** You can update a visitor by passing in the `id` of the visitor in the Request body.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete an article", + "request": { + "method": "DELETE", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can delete a single article by making a DELETE request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a collection", + "request": { + "method": "DELETE", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can delete a single collection by making a DELETE request to `https://api.intercom.io/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a section", + "request": { + "method": "DELETE", + "url": { + "raw": "/help_center/sections/{id}", + "path": [ + "help_center", + "sections", + "{id}" + ] + }, + "description": "You can delete a single section by making a DELETE request to `https://api.intercom.io/sections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a company", + "request": { + "method": "DELETE", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can delete a single company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Detach a contact from a company", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/companies/{id}", + "path": [ + "contacts", + "{contact_id}", + "companies", + "{id}" + ] + }, + "description": "You can detach a company from a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove subscription from a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/subscriptions/{id}", + "path": [ + "contacts", + "{contact_id}", + "subscriptions", + "{id}" + ] + }, + "description": "You can remove a specific subscription from a contact. This will return a subscription type model for the subscription type that was removed from the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/tags/{id}", + "path": [ + "contacts", + "{contact_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific contact. This will return a tag object for the tag that was removed from the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can delete a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{conversation_id}/tags/{id}", + "path": [ + "conversations", + "{conversation_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific conversation. This will return a tag object for the tag that was removed from the conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Detach a contact from a group conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{conversation_id}/customers/{contact_id}", + "path": [ + "conversations", + "{conversation_id}", + "customers", + "{contact_id}" + ] + }, + "description": "You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.\n\n{% admonition type=\"warning\" name=\"Contacts without an email\" %}\nIf you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a news item", + "request": { + "method": "DELETE", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "You can delete a single news item.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete tag", + "request": { + "method": "DELETE", + "url": { + "raw": "/tags/{id}", + "path": [ + "tags", + "{id}" + ] + }, + "description": "You can delete the details of tags that are on the workspace by passing in the id.", + "header": [], + "body": {} + }, + "response": [] + } + ] + } + ], + "event": [], + "variable": [ + { + "id": "60167912-5632-4d65-9914-7918df9a3e5b", + "key": "https://api.intercom.io", + "value": "https://api.intercom.io", + "type": "string", + "description": "The production API server" + }, + { + "id": "9abe27b7-def6-4964-83ec-f55cdb15e70b", + "key": "https://api.eu.intercom.io", + "value": "https://api.eu.intercom.io", + "type": "string", + "description": "The european API server" + }, + { + "id": "ad955e7f-67a5-4ada-afec-eaee68fa2219", + "key": "https://api.au.intercom.io", + "value": "https://api.au.intercom.io", + "type": "string", + "description": "The australian API server" + }, + { + "id": "65ec7c79-bcc2-482f-8d39-8905884c70fb", + "key": "bearerToken", + "value": "{{bearerToken}}", + "type": "string", + "description": "bearertokenvalue" + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "bearerToken", + "value": "{{bearerToken}}", + "type": "string" + }, + { + "key": "tokenType", + "value": "bearer", + "type": "string" + }, + { + "key": "addTokenTo", + "value": "header", + "type": "string" + } + ] + } +} \ No newline at end of file diff --git a/postman/README.md b/postman/README.md new file mode 100644 index 0000000..e0ccfb5 --- /dev/null +++ b/postman/README.md @@ -0,0 +1,2 @@ +# Intercom API Postman Collections +... \ No newline at end of file diff --git a/postman/Unstable/README.md b/postman/Unstable/README.md new file mode 100644 index 0000000..f01ec3c --- /dev/null +++ b/postman/Unstable/README.md @@ -0,0 +1,15 @@ +# Intercom API Unstable Postman Collection + +This directory contains the Postman collection for Intercom API version Unstable. + +## Files +- `intercom-api.postman_collection.json`: The main Postman collection +- `environment.json`: Environment variables for this version + +## Usage +1. Import the collection into Postman +2. Import the environment file +3. Set your access token in the environment variables +4. Start making API calls! + +Last updated: 2025-04-15T14:40:02.148Z diff --git a/postman/Unstable/environment.json b/postman/Unstable/environment.json new file mode 100644 index 0000000..73f27b8 --- /dev/null +++ b/postman/Unstable/environment.json @@ -0,0 +1,18 @@ +{ + "id": "intercom-api-0-environment", + "name": "Intercom API 0 Environment", + "values": [ + { + "key": "baseUrl", + "value": "https://api.intercom.io", + "type": "default", + "enabled": true + }, + { + "key": "token", + "value": "YOUR_ACCESS_TOKEN", + "type": "secret", + "enabled": true + } + ] +} \ No newline at end of file diff --git a/postman/Unstable/intercom-api.postman_collection.json b/postman/Unstable/intercom-api.postman_collection.json new file mode 100644 index 0000000..29c8c97 --- /dev/null +++ b/postman/Unstable/intercom-api.postman_collection.json @@ -0,0 +1,2316 @@ +{ + "info": { + "name": "Intercom API - Unstable", + "description": "The intercom API reference.", + "version": "0", + "contact": { + "name": "Intercom Developer Hub", + "url": "https://developers.intercom.com" + }, + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "updatedAt": "2025-04-15T14:40:02.147Z" + }, + "item": [ + { + "name": "General", + "item": [ + { + "name": "Identify an admin", + "request": { + "method": "GET", + "url": { + "raw": "/me", + "path": [ + "me" + ] + }, + "description": "\nYou can view the currently authorised admin along with the embedded app object (a \"workspace\" in legacy terminology).\n\n> 🚧 Single Sign On\n>\n> If you are building a custom \"Log in with Intercom\" flow for your site, and you call the `/me` endpoint to identify the logged-in user, you should not accept any sign-ins from users with unverified email addresses as it poses a potential impersonation security risk.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all activity logs", + "request": { + "method": "GET", + "url": { + "raw": "/admins/activity_logs", + "path": [ + "admins", + "activity_logs" + ] + }, + "description": "You can get a log of activities by all admins in an app.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all admins", + "request": { + "method": "GET", + "url": { + "raw": "/admins", + "path": [ + "admins" + ] + }, + "description": "You can fetch a list of admins for a given workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an admin", + "request": { + "method": "GET", + "url": { + "raw": "/admins/{id}", + "path": [ + "admins", + "{id}" + ] + }, + "description": "You can retrieve the details of a single admin.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List content import sources", + "request": { + "method": "GET", + "url": { + "raw": "/ai/content_import_sources", + "path": [ + "ai", + "content_import_sources" + ] + }, + "description": "You can retrieve a list of all content import sources for a workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a content import source", + "request": { + "method": "GET", + "url": { + "raw": "/ai/content_import_sources/{id}", + "path": [ + "ai", + "content_import_sources", + "{id}" + ] + }, + "description": "", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List external pages", + "request": { + "method": "GET", + "url": { + "raw": "/ai/external_pages", + "path": [ + "ai", + "external_pages" + ] + }, + "description": "You can retrieve a list of all external pages for a workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an external page", + "request": { + "method": "GET", + "url": { + "raw": "/ai/external_pages/{id}", + "path": [ + "ai", + "external_pages", + "{id}" + ] + }, + "description": "You can retrieve an external page.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all articles", + "request": { + "method": "GET", + "url": { + "raw": "/articles", + "path": [ + "articles" + ] + }, + "description": "You can fetch a list of all articles by making a GET request to `https://api.intercom.io/articles`.\n\n> 📘 How are the articles sorted and ordered?\n>\n> Articles will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated articles first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve an article", + "request": { + "method": "GET", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can fetch the details of a single article by making a GET request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search for articles", + "request": { + "method": "GET", + "url": { + "raw": "/articles/search", + "path": [ + "articles", + "search" + ] + }, + "description": "You can search for articles by making a GET request to `https://api.intercom.io/articles/search`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all away status reasons", + "request": { + "method": "GET", + "url": { + "raw": "/away_status_reasons", + "path": [ + "away_status_reasons" + ] + }, + "description": "Returns a list of all away status reasons configured for the workspace, including deleted ones.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all collections", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/collections", + "path": [ + "help_center", + "collections" + ] + }, + "description": "You can fetch a list of all collections by making a GET request to `https://api.intercom.io/help_center/collections`.\n\nCollections will be returned in descending order on the `updated_at` attribute. This means if you need to iterate through results then we'll show the most recently updated collections first.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a collection", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can fetch the details of a single collection by making a GET request to `https://api.intercom.io/help_center/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a Help Center", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/help_centers/{id}", + "path": [ + "help_center", + "help_centers", + "{id}" + ] + }, + "description": "You can fetch the details of a single Help Center by making a GET request to `https://api.intercom.io/help_center/help_center/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all Help Centers", + "request": { + "method": "GET", + "url": { + "raw": "/help_center/help_centers", + "path": [ + "help_center", + "help_centers" + ] + }, + "description": "You can list all Help Centers by making a GET request to `https://api.intercom.io/help_center/help_centers`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies", + "path": [ + "companies" + ] + }, + "description": "You can fetch a single company by passing in `company_id` or `name`.\n\n `https://api.intercom.io/companies?name={name}`\n\n `https://api.intercom.io/companies?company_id={company_id}`\n\nYou can fetch all companies and filter by `segment_id` or `tag_id` as a query parameter.\n\n `https://api.intercom.io/companies?tag_id={tag_id}`\n\n `https://api.intercom.io/companies?segment_id={segment_id}`\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a company by ID", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can fetch a single company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached contacts", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}/contacts", + "path": [ + "companies", + "{id}", + "contacts" + ] + }, + "description": "You can fetch a list of all contacts that belong to a company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached segments for companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies/{id}/segments", + "path": [ + "companies", + "{id}", + "segments" + ] + }, + "description": "You can fetch a list of all segments that belong to a company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Scroll over all companies", + "request": { + "method": "GET", + "url": { + "raw": "/companies/scroll", + "path": [ + "companies", + "scroll" + ] + }, + "description": " The `list all companies` functionality does not work well for huge datasets, and can result in errors and performance problems when paging deeply. The Scroll API provides an efficient mechanism for iterating over all companies in a dataset.\n\n- Each app can only have 1 scroll open at a time. You'll get an error message if you try to have more than one open per app.\n- If the scroll isn't used for 1 minute, it expires and calls with that scroll param will fail\n- If the end of the scroll is reached, \"companies\" will be empty and the scroll parameter will expire\n\n{% admonition type=\"info\" name=\"Scroll Parameter\" %}\n You can get the first page of companies by simply sending a GET request to the scroll endpoint.\n For subsequent requests you will need to use the scroll parameter from the response.\n{% /admonition %}\n{% admonition type=\"danger\" name=\"Scroll network timeouts\" %}\n Since scroll is often used on large datasets network errors such as timeouts can be encountered. When this occurs you will see a HTTP 500 error with the following message:\n \"Request failed due to an internal network error. Please restart the scroll operation.\"\n If this happens, you will need to restart your scroll query: It is not possible to continue from a specific point when using scroll.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached companies for contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}/companies", + "path": [ + "contacts", + "{id}", + "companies" + ] + }, + "description": "You can fetch a list of companies that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all notes", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}/notes", + "path": [ + "contacts", + "{id}", + "notes" + ] + }, + "description": "You can fetch a list of notes that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List attached segments for contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/segments", + "path": [ + "contacts", + "{contact_id}", + "segments" + ] + }, + "description": "You can fetch a list of segments that are associated to a contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List subscriptions for a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/subscriptions", + "path": [ + "contacts", + "{contact_id}", + "subscriptions" + ] + }, + "description": "You can fetch a list of subscription types that are attached to a contact. These can be subscriptions that a user has 'opted-in' to or has 'opted-out' from, depending on the subscription type.\nThis will return a list of Subscription Type objects that the contact is associated with.\n\nThe data property will show a combined list of:\n\n 1.Opt-out subscription types that the user has opted-out from.\n 2.Opt-in subscription types that the user has opted-in to receiving.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List tags attached to a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{contact_id}/tags", + "path": [ + "contacts", + "{contact_id}", + "tags" + ] + }, + "description": "You can fetch a list of all tags that are attached to a specific contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Get a contact", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can fetch the details of a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all contacts", + "request": { + "method": "GET", + "url": { + "raw": "/contacts", + "path": [ + "contacts" + ] + }, + "description": "You can fetch a list of all contacts (ie. users or leads) in your workspace.\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `50` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Get a contact by External ID", + "request": { + "method": "GET", + "url": { + "raw": "/contacts/find_by_external_id/{external_id}", + "path": [ + "contacts", + "find_by_external_id", + "{external_id}" + ] + }, + "description": "You can fetch the details of a single contact by external ID. Note that this endpoint only supports users and not leads.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all conversations", + "request": { + "method": "GET", + "url": { + "raw": "/conversations", + "path": [ + "conversations" + ] + }, + "description": "You can fetch a list of all conversations.\n\nYou can optionally request the result page size and the cursor to start after to fetch the result.\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a conversation", + "request": { + "method": "GET", + "url": { + "raw": "/conversations/{id}", + "path": [ + "conversations", + "{id}" + ] + }, + "description": "\nYou can fetch the details of a single conversation.\n\nThis will return a single Conversation model with all its conversation parts.\n\n{% admonition type=\"warning\" name=\"Hard limit of 500 parts\" %}\nThe maximum number of conversation parts that can be returned via the API is 500. If you have more than that we will return the 500 most recent conversation parts.\n{% /admonition %}\n\nFor AI agent conversation metadata, please note that you need to have the agent enabled in your workspace, which is a [paid feature](https://www.intercom.com/help/en/articles/8205718-fin-resolutions#h_97f8c2e671).\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Get Custom Object Instance by External ID", + "request": { + "method": "GET", + "url": { + "raw": "/custom_object_instances/{custom_object_type_identifier}", + "path": [ + "custom_object_instances", + "{custom_object_type_identifier}" + ] + }, + "description": "Fetch a Custom Object Instance by external_id.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Get Custom Object Instance by ID", + "request": { + "method": "GET", + "url": { + "raw": "/custom_object_instances/{custom_object_type_identifier}/{id}", + "path": [ + "custom_object_instances", + "{custom_object_type_identifier}", + "{id}" + ] + }, + "description": "Fetch a Custom Object Instance by id.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all data attributes", + "request": { + "method": "GET", + "url": { + "raw": "/data_attributes", + "path": [ + "data_attributes" + ] + }, + "description": "You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all data events", + "request": { + "method": "GET", + "url": { + "raw": "/events", + "path": [ + "events" + ] + }, + "description": "\n> 🚧\n>\n> Please note that you can only 'list' events that are less than 90 days old. Event counts and summaries will still include your events older than 90 days but you cannot 'list' these events individually if they are older than 90 days\n\nThe events belonging to a customer can be listed by sending a GET request to `https://api.intercom.io/events` with a user or lead identifier along with a `type` parameter. The identifier parameter can be one of `user_id`, `email` or `intercom_user_id`. The `type` parameter value must be `user`.\n\n- `https://api.intercom.io/events?type=user&user_id={user_id}`\n- `https://api.intercom.io/events?type=user&email={email}`\n- `https://api.intercom.io/events?type=user&intercom_user_id={id}` (this call can be used to list leads)\n\nThe `email` parameter value should be [url encoded](http://en.wikipedia.org/wiki/Percent-encoding) when sending.\n\nYou can optionally define the result page size as well with the `per_page` parameter.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Show content data export", + "request": { + "method": "GET", + "url": { + "raw": "/export/content/data/{job_identifier}", + "path": [ + "export", + "content", + "data", + "{job_identifier}" + ] + }, + "description": "You can view the status of your job by sending a `GET` request to the URL\n`https://api.intercom.io/export/content/data/{job_identifier}` - the `{job_identifier}` is the value returned in the response when you first created the export job. More on it can be seen in the Export Job Model.\n\n> 🚧 Jobs expire after two days\n> All jobs that have completed processing (and are thus available to download from the provided URL) will have an expiry limit of two days from when the export ob completed. After this, the data will no longer be available.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Download content data export", + "request": { + "method": "GET", + "url": { + "raw": "/download/content/data/{job_identifier}", + "path": [ + "download", + "content", + "data", + "{job_identifier}" + ] + }, + "description": "When a job has a status of complete, and thus a filled download_url, you can download your data by hitting that provided URL, formatted like so: https://api.intercom.io/download/content/data/xyz1234.\n\nYour exported message data will be streamed continuously back down to you in a gzipped CSV format.\n\n> 📘 Octet header required\n>\n> You will have to specify the header Accept: `application/octet-stream` when hitting this endpoint.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve job status", + "request": { + "method": "GET", + "url": { + "raw": "/jobs/status/{id}", + "path": [ + "jobs", + "status", + "{id}" + ] + }, + "description": "Retrieve the status of job execution.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all news items", + "request": { + "method": "GET", + "url": { + "raw": "/news/news_items", + "path": [ + "news", + "news_items" + ] + }, + "description": "You can fetch a list of all news items", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a news item", + "request": { + "method": "GET", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "You can fetch the details of a single news item.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all live newsfeed items", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds/{id}/items", + "path": [ + "news", + "newsfeeds", + "{id}", + "items" + ] + }, + "description": "You can fetch a list of all news items that are live on a given newsfeed", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all newsfeeds", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds", + "path": [ + "news", + "newsfeeds" + ] + }, + "description": "You can fetch a list of all newsfeeds", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a newsfeed", + "request": { + "method": "GET", + "url": { + "raw": "/news/newsfeeds/{id}", + "path": [ + "news", + "newsfeeds", + "{id}" + ] + }, + "description": "You can fetch the details of a single newsfeed", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a note", + "request": { + "method": "GET", + "url": { + "raw": "/notes/{id}", + "path": [ + "notes", + "{id}" + ] + }, + "description": "You can fetch the details of a single note.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all segments", + "request": { + "method": "GET", + "url": { + "raw": "/segments", + "path": [ + "segments" + ] + }, + "description": "You can fetch a list of all segments.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a segment", + "request": { + "method": "GET", + "url": { + "raw": "/segments/{id}", + "path": [ + "segments", + "{id}" + ] + }, + "description": "You can fetch the details of a single segment.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List subscription types", + "request": { + "method": "GET", + "url": { + "raw": "/subscription_types", + "path": [ + "subscription_types" + ] + }, + "description": "You can list all subscription types. A list of subscription type objects will be returned.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all tags", + "request": { + "method": "GET", + "url": { + "raw": "/tags", + "path": [ + "tags" + ] + }, + "description": "You can fetch a list of all tags for a given workspace.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Find a specific tag", + "request": { + "method": "GET", + "url": { + "raw": "/tags/{id}", + "path": [ + "tags", + "{id}" + ] + }, + "description": "You can fetch the details of tags that are on the workspace by their id.\nThis will return a tag object.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all teams", + "request": { + "method": "GET", + "url": { + "raw": "/teams", + "path": [ + "teams" + ] + }, + "description": "This will return a list of team objects for the App.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a team", + "request": { + "method": "GET", + "url": { + "raw": "/teams/{id}", + "path": [ + "teams", + "{id}" + ] + }, + "description": "You can fetch the details of a single team, containing an array of admins that belong to this team.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all ticket states", + "request": { + "method": "GET", + "url": { + "raw": "/ticket_states", + "path": [ + "ticket_states" + ] + }, + "description": "You can get a list of all ticket states for a workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all ticket types", + "request": { + "method": "GET", + "url": { + "raw": "/ticket_types", + "path": [ + "ticket_types" + ] + }, + "description": "You can get a list of all ticket types for a workspace.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a ticket type", + "request": { + "method": "GET", + "url": { + "raw": "/ticket_types/{id}", + "path": [ + "ticket_types", + "{id}" + ] + }, + "description": "You can fetch the details of a single ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a ticket", + "request": { + "method": "GET", + "url": { + "raw": "/tickets/{id}", + "path": [ + "tickets", + "{id}" + ] + }, + "description": "You can fetch the details of a single ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Retrieve a visitor with User ID", + "request": { + "method": "GET", + "url": { + "raw": "/visitors", + "path": [ + "visitors" + ] + }, + "description": "You can fetch the details of a single visitor.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a content import source", + "request": { + "method": "POST", + "url": { + "raw": "/ai/content_import_sources", + "path": [ + "ai", + "content_import_sources" + ] + }, + "description": "You can create a new content import source by sending a POST request to this endpoint.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create an external page (or update an external page by external ID)", + "request": { + "method": "POST", + "url": { + "raw": "/ai/external_pages", + "path": [ + "ai", + "external_pages" + ] + }, + "description": "You can create a new external page by sending a POST request to this endpoint. If an external page already exists with the specified source_id and external_id, it will be updated instead.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create an article", + "request": { + "method": "POST", + "url": { + "raw": "/articles", + "path": [ + "articles" + ] + }, + "description": "You can create a new article by making a POST request to `https://api.intercom.io/articles`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a collection", + "request": { + "method": "POST", + "url": { + "raw": "/help_center/collections", + "path": [ + "help_center", + "collections" + ] + }, + "description": "You can create a new collection by making a POST request to `https://api.intercom.io/help_center/collections.`", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or Update a company", + "request": { + "method": "POST", + "url": { + "raw": "/companies", + "path": [ + "companies" + ] + }, + "description": "You can create or update a company.\n\nCompanies will be only visible in Intercom when there is at least one associated user.\n\nCompanies are looked up via `company_id` in a `POST` request, if not found via `company_id`, the new company will be created, if found, that company will be updated.\n\n{% admonition type=\"warning\" name=\"Using `company_id`\" %}\n You can set a unique `company_id` value when creating a company. However, it is not possible to update `company_id`. Be sure to set a unique value once upon creation of the company.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "List all companies", + "request": { + "method": "POST", + "url": { + "raw": "/companies/list", + "path": [ + "companies", + "list" + ] + }, + "description": "You can list companies. The company list is sorted by the `last_request_at` field and by default is ordered descending, most recently requested first.\n\nNote that the API does not include companies who have no associated users in list responses.\n\nWhen using the Companies endpoint and the pages object to iterate through the returned companies, there is a limit of 10,000 Companies that can be returned. If you need to list or iterate on more than 10,000 Companies, please use the [Scroll API](https://developers.intercom.com/reference#iterating-over-all-companies).\n{% admonition type=\"warning\" name=\"Pagination\" %}\n You can use pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#pagination-for-list-apis) for more details on how to use the `starting_after` param.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Attach a Contact to a Company", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/companies", + "path": [ + "contacts", + "{id}", + "companies" + ] + }, + "description": "You can attach a company to a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a note", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/notes", + "path": [ + "contacts", + "{id}", + "notes" + ] + }, + "description": "You can add a note to a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add subscription to a contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/subscriptions", + "path": [ + "contacts", + "{contact_id}", + "subscriptions" + ] + }, + "description": "You can add a specific subscription to a contact. In Intercom, we have two different subscription types based on user consent - opt-out and opt-in:\n\n 1.Attaching a contact to an opt-out subscription type will opt that user out from receiving messages related to that subscription type.\n\n 2.Attaching a contact to an opt-in subscription type will opt that user in to receiving messages related to that subscription type.\n\nThis will return a subscription type model for the subscription type that was added to the contact.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{contact_id}/tags", + "path": [ + "contacts", + "{contact_id}", + "tags" + ] + }, + "description": "You can tag a specific contact. This will return a tag object for the tag that was added to the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Merge a lead and a user", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/merge", + "path": [ + "contacts", + "merge" + ] + }, + "description": "You can merge a contact with a `role` of `lead` into a contact with a `role` of `user`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search contacts", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/search", + "path": [ + "contacts", + "search" + ] + }, + "description": "You can search for multiple contacts by the value of their attributes in order to fetch exactly who you want.\n\nTo search for contacts, you need to send a `POST` request to `https://api.intercom.io/contacts/search`.\n\nThis will accept a query object in the body which will define your filters in order to search for contacts.\n\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `50` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n### Contact Creation Delay\n\nIf a contact has recently been created, there is a possibility that it will not yet be available when searching. This means that it may not appear in the response. This delay can take a few minutes. If you need to be instantly notified it is recommended to use webhooks and iterate to see if they match your search filters.\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiple's there can be:\n* There's a limit of max 2 nested filters\n* There's a limit of max 15 filters for each AND or OR group\n\n### Searching for Timestamp Fields\n\nAll timestamp fields (created_at, updated_at etc.) are indexed as Dates for Contact Search queries; Datetime queries are not currently supported. This means you can only query for timestamp fields by day - not hour, minute or second.\nFor example, if you search for all Contacts with a created_at value greater (>) than 1577869200 (the UNIX timestamp for January 1st, 2020 9:00 AM), that will be interpreted as 1577836800 (January 1st, 2020 12:00 AM). The search results will then include Contacts created from January 2nd, 2020 12:00 AM onwards.\nIf you'd like to get contacts created on January 1st, 2020 you should search with a created_at value equal (=) to 1577836800 (January 1st, 2020 12:00 AM).\nThis behaviour applies only to timestamps used in search queries. The search results will still contain the full UNIX timestamp and be sorted accordingly.\n\n### Accepted Fields\n\nMost key listed as part of the Contacts Model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foorbar\"`).\n\n| Field | Type |\n| ---------------------------------- | ------------------------------ |\n| id | String |\n| role | String
Accepts user or lead |\n| name | String |\n| avatar | String |\n| owner_id | Integer |\n| email | String |\n| email_domain | String |\n| phone | String |\n| formatted_phone | String |\n| external_id | String |\n| created_at | Date (UNIX Timestamp) |\n| signed_up_at | Date (UNIX Timestamp) |\n| updated_at | Date (UNIX Timestamp) |\n| last_seen_at | Date (UNIX Timestamp) |\n| last_contacted_at | Date (UNIX Timestamp) |\n| last_replied_at | Date (UNIX Timestamp) |\n| last_email_opened_at | Date (UNIX Timestamp) |\n| last_email_clicked_at | Date (UNIX Timestamp) |\n| language_override | String |\n| browser | String |\n| browser_language | String |\n| os | String |\n| location.country | String |\n| location.region | String |\n| location.city | String |\n| unsubscribed_from_emails | Boolean |\n| marked_email_as_spam | Boolean |\n| has_hard_bounced | Boolean |\n| ios_last_seen_at | Date (UNIX Timestamp) |\n| ios_app_version | String |\n| ios_device | String |\n| ios_app_device | String |\n| ios_os_version | String |\n| ios_app_name | String |\n| ios_sdk_version | String |\n| android_last_seen_at | Date (UNIX Timestamp) |\n| android_app_version | String |\n| android_device | String |\n| android_app_name | String |\n| andoid_sdk_version | String |\n| segment_id | String |\n| tag_id | String |\n| custom_attributes.{attribute_name} | String |\n\n### Accepted Operators\n\n{% admonition type=\"warning\" name=\"Searching based on `created_at`\" %}\n You cannot use the `<=` or `>=` operators to search by `created_at`.\n{% /admonition %}\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :------------------------------- | :--------------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In
Shortcut for `OR` queries
Values must be in Array |\n| NIN | All | Not In
Shortcut for `OR !` queries
Values must be in Array |\n| > | Integer
Date (UNIX Timestamp) | Greater than |\n| < | Integer
Date (UNIX Timestamp) | Lower than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts", + "path": [ + "contacts" + ] + }, + "description": "You can create a new contact (ie. user or lead).", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Archive contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/archive", + "path": [ + "contacts", + "{id}", + "archive" + ] + }, + "description": "You can archive a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Unarchive contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/unarchive", + "path": [ + "contacts", + "{id}", + "unarchive" + ] + }, + "description": "You can unarchive a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Block contact", + "request": { + "method": "POST", + "url": { + "raw": "/contacts/{id}/block", + "path": [ + "contacts", + "{id}", + "block" + ] + }, + "description": "Block a single contact.
**Note:** conversations of the contact will also be archived during the process.
More details in [FAQ How do I block Inbox spam?](https://www.intercom.com/help/en/articles/8838656-inbox-faqs)", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{conversation_id}/tags", + "path": [ + "conversations", + "{conversation_id}", + "tags" + ] + }, + "description": "You can tag a specific conversation. This will return a tag object for the tag that was added to the conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Creates a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations", + "path": [ + "conversations" + ] + }, + "description": "You can create a conversation that has been initiated by a contact (ie. user or lead).\nThe conversation can be an in-app message only.\n\n{% admonition type=\"info\" name=\"Sending for visitors\" %}\nYou can also send a message from a visitor by specifying their `user_id` or `id` value in the `from` field, along with a `type` field value of `contact`.\nThis visitor will be automatically converted to a contact with a lead role once the conversation is created.\n{% /admonition %}\n\nThis will return the Message model that has been created.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search conversations", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/search", + "path": [ + "conversations", + "search" + ] + }, + "description": "You can search for multiple conversations by the value of their attributes in order to fetch exactly which ones you want.\n\nTo search for conversations, you need to send a `POST` request to `https://api.intercom.io/conversations/search`.\n\nThis will accept a query object in the body which will define your filters in order to search for conversations.\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `20` results per page and maximum is `150`.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiple's there can be:\n- There's a limit of max 2 nested filters\n- There's a limit of max 15 filters for each AND or OR group\n\n### Accepted Fields\n\nMost keys listed in the conversation model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foorbar\"`).\nThe `source.body` field is unique as the search will not be performed against the entire value, but instead against every element of the value separately. For example, when searching for a conversation with a `\"I need support\"` body - the query should contain a `=` operator with the value `\"support\"` for such conversation to be returned. A query with a `=` operator and a `\"need support\"` value will not yield a result.\n\n| Field | Type |\n| :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------- |\n| id | String |\n| created_at | Date (UNIX timestamp) |\n| updated_at | Date (UNIX timestamp) |\n| source.type | String
Accepted fields are `conversation`, `email`, `facebook`, `instagram`, `phone_call`, `phone_switch`, `push`, `sms`, `twitter` and `whatsapp`. |\n| source.id | String |\n| source.delivered_as | String |\n| source.subject | String |\n| source.body | String |\n| source.author.id | String |\n| source.author.type | String |\n| source.author.name | String |\n| source.author.email | String |\n| source.url | String |\n| contact_ids | String |\n| teammate_ids | String |\n| admin_assignee_id | String |\n| team_assignee_id | String |\n| channel_initiated | String |\n| open | Boolean |\n| read | Boolean |\n| state | String |\n| waiting_since | Date (UNIX timestamp) |\n| snoozed_until | Date (UNIX timestamp) |\n| tag_ids | String |\n| priority | String |\n| statistics.time_to_assignment | Integer |\n| statistics.time_to_admin_reply | Integer |\n| statistics.time_to_first_close | Integer |\n| statistics.time_to_last_close | Integer |\n| statistics.median_time_to_reply | Integer |\n| statistics.first_contact_reply_at | Date (UNIX timestamp) |\n| statistics.first_assignment_at | Date (UNIX timestamp) |\n| statistics.first_admin_reply_at | Date (UNIX timestamp) |\n| statistics.first_close_at | Date (UNIX timestamp) |\n| statistics.last_assignment_at | Date (UNIX timestamp) |\n| statistics.last_assignment_admin_reply_at | Date (UNIX timestamp) |\n| statistics.last_contact_reply_at | Date (UNIX timestamp) |\n| statistics.last_admin_reply_at | Date (UNIX timestamp) |\n| statistics.last_close_at | Date (UNIX timestamp) |\n| statistics.last_closed_by_id | String |\n| statistics.count_reopens | Integer |\n| statistics.count_assignments | Integer |\n| statistics.count_conversation_parts | Integer |\n| conversation_rating.requested_at | Date (UNIX timestamp) |\n| conversation_rating.replied_at | Date (UNIX timestamp) |\n| conversation_rating.score | Integer |\n| conversation_rating.remark | String |\n| conversation_rating.contact_id | String |\n| conversation_rating.admin_d | String |\n| ai_agent_participated | Boolean |\n| ai_agent.resolution_state | String |\n| ai_agent.last_answer_type | String |\n| ai_agent.rating | Integer |\n| ai_agent.rating_remark | String |\n| ai_agent.source_type | String |\n| ai_agent.source_title | String |\n\n### Accepted Operators\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :----------------------------- | :----------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In Shortcut for `OR` queries Values most be in Array |\n| NIN | All | Not In Shortcut for `OR !` queries Values must be in Array |\n| > | Integer Date (UNIX Timestamp) | Greater (or equal) than |\n| < | Integer Date (UNIX Timestamp) | Lower (or equal) than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Reply to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/reply", + "path": [ + "conversations", + "{id}", + "reply" + ] + }, + "description": "You can reply to a conversation with a message from an admin or on behalf of a contact, or with a note for admins.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Manage a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/parts", + "path": [ + "conversations", + "{id}", + "parts" + ] + }, + "description": "For managing conversations you can:\n- Close a conversation\n- Snooze a conversation to reopen on a future date\n- Open a conversation which is `snoozed` or `closed`\n- Assign a conversation to an admin and/or team.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Attach a contact to a conversation", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/customers", + "path": [ + "conversations", + "{id}", + "customers" + ] + }, + "description": "You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.\n\n{% admonition type=\"warning\" name=\"Contacts without an email\" %}\nIf you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Redact a conversation part", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/redact", + "path": [ + "conversations", + "redact" + ] + }, + "description": "You can redact a conversation part or the source message of a conversation (as seen in the source object).\n\n{% admonition type=\"info\" name=\"Redacting parts and messages\" %}\nIf you are redacting a conversation part, it must have a `body`. If you are redacting a source message, it must have been created by a contact. We will return a `conversation_part_not_redactable` error if these criteria are not met.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Convert a conversation to a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/conversations/{id}/convert", + "path": [ + "conversations", + "{id}", + "convert" + ] + }, + "description": "You can convert a conversation to a ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or Update a Custom Object Instance", + "request": { + "method": "POST", + "url": { + "raw": "/custom_object_instances/{custom_object_type_identifier}", + "path": [ + "custom_object_instances", + "{custom_object_type_identifier}" + ] + }, + "description": "Create or update a custom object instance", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a data attribute", + "request": { + "method": "POST", + "url": { + "raw": "/data_attributes", + "path": [ + "data_attributes" + ] + }, + "description": "You can create a data attributes for a `contact` or a `company`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Submit a data event", + "request": { + "method": "POST", + "url": { + "raw": "/events", + "path": [ + "events" + ] + }, + "description": "\nYou will need an Access Token that has write permissions to send Events. Once you have a key you can submit events via POST to the Events resource, which is located at https://api.intercom.io/events, or you can send events using one of the client libraries. When working with the HTTP API directly a client should send the event with a `Content-Type` of `application/json`.\n\nWhen using the JavaScript API, [adding the code to your app](http://docs.intercom.io/configuring-Intercom/tracking-user-events-in-your-app) makes the Events API available. Once added, you can submit an event using the `trackEvent` method. This will associate the event with the Lead or currently logged-in user or logged-out visitor/lead and send it to Intercom. The final parameter is a map that can be used to send optional metadata about the event.\n\nWith the Ruby client you pass a hash describing the event to `Intercom::Event.create`, or call the `track_user` method directly on the current user object (e.g. `user.track_event`).\n\n**NB: For the JSON object types, please note that we do not currently support nested JSON structure.**\n\n| Type | Description | Example |\n| :-------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------- |\n| String | The value is a JSON String | `\"source\":\"desktop\"` |\n| Number | The value is a JSON Number | `\"load\": 3.67` |\n| Date | The key ends with the String `_date` and the value is a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time), assumed to be in the [UTC](http://en.wikipedia.org/wiki/Coordinated_Universal_Time) timezone. | `\"contact_date\": 1392036272` |\n| Link | The value is a HTTP or HTTPS URI. | `\"article\": \"https://example.org/ab1de.html\"` |\n| Rich Link | The value is a JSON object that contains `url` and `value` keys. | `\"article\": {\"url\": \"https://example.org/ab1de.html\", \"value\":\"the dude abides\"}` |\n| Monetary Amount | The value is a JSON object that contains `amount` and `currency` keys. The `amount` key is a positive integer representing the amount in cents. The price in the example to the right denotes €349.99. | `\"price\": {\"amount\": 34999, \"currency\": \"eur\"}` |\n\n**Lead Events**\n\nWhen submitting events for Leads, you will need to specify the Lead's `id`.\n\n**Metadata behaviour**\n\n- We currently limit the number of tracked metadata keys to 10 per event. Once the quota is reached, we ignore any further keys we receive. The first 10 metadata keys are determined by the order in which they are sent in with the event.\n- It is not possible to change the metadata keys once the event has been sent. A new event will need to be created with the new keys and you can archive the old one.\n- There might be up to 24 hrs delay when you send a new metadata for an existing event.\n\n**Event de-duplication**\n\nThe API may detect and ignore duplicate events. Each event is uniquely identified as a combination of the following data - the Workspace identifier, the Contact external identifier, the Data Event name and the Data Event created time. As a result, it is **strongly recommended** to send a second granularity Unix timestamp in the `created_at` field.\n\nDuplicated events are responded to using the normal `202 Accepted` code - an error is not thrown, however repeat requests will be counted against any rate limit that is in place.\n\n### HTTP API Responses\n\n- Successful responses to submitted events return `202 Accepted` with an empty body.\n- Unauthorised access will be rejected with a `401 Unauthorized` or `403 Forbidden` response code.\n- Events sent about users that cannot be found will return a `404 Not Found`.\n- Event lists containing duplicate events will have those duplicates ignored.\n- Server errors will return a `500` response code and may contain an error message in the body.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create event summaries", + "request": { + "method": "POST", + "url": { + "raw": "/events/summaries", + "path": [ + "events", + "summaries" + ] + }, + "description": "Create event summaries for a user. Event summaries are used to track the number of times an event has occurred, the first time it occurred and the last time it occurred.\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create content data export", + "request": { + "method": "POST", + "url": { + "raw": "/export/content/data", + "path": [ + "export", + "content", + "data" + ] + }, + "description": "To create your export job, you need to send a `POST` request to the export endpoint `https://api.intercom.io/export/content/data`.\n\nThe only parameters you need to provide are the range of dates that you want exported.\n\n>🚧 Limit of one active job\n>\n> You can only have one active job per workspace. You will receive a HTTP status code of 429 with the message Exceeded rate limit of 1 pending message data export jobs if you attempt to create a second concurrent job.\n\n>❗️ Updated_at not included\n>\n> It should be noted that the timeframe only includes messages sent during the time period and not messages that were only updated during this period. For example, if a message was updated yesterday but sent two days ago, you would need to set the created_at_after date before the message was sent to include that in your retrieval job.\n\n>📘 Date ranges are inclusive\n>\n> Requesting data for 2018-06-01 until 2018-06-30 will get all data for those days including those specified - e.g. 2018-06-01 00:00:00 until 2018-06-30 23:59:99.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Cancel content data export", + "request": { + "method": "POST", + "url": { + "raw": "/export/cancel/{job_identifier}", + "path": [ + "export", + "cancel", + "{job_identifier}" + ] + }, + "description": "You can cancel your job", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a message", + "request": { + "method": "POST", + "url": { + "raw": "/messages", + "path": [ + "messages" + ] + }, + "description": "You can create a message that has been initiated by an admin. The conversation can be either an in-app message, an email or sms.\n\n> 🚧 Sending for visitors\n>\n> There can be a short delay between when a contact is created and when a contact becomes available to be messaged through the API. A 404 Not Found error will be returned in this case.\n\nThis will return the Message model that has been created.\n\n> 🚧 Retrieving Associated Conversations\n>\n> As this is a message, there will be no conversation present until the contact responds. Once they do, you will have to search for a contact's conversations with the id of the message.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a news item", + "request": { + "method": "POST", + "url": { + "raw": "/news/news_items", + "path": [ + "news", + "news_items" + ] + }, + "description": "You can create a news item", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a phone Switch", + "request": { + "method": "POST", + "url": { + "raw": "/phone_call_redirects", + "path": [ + "phone_call_redirects" + ] + }, + "description": "You can use the API to deflect phone calls to the Intercom Messenger.\nCalling this endpoint will send an SMS with a link to the Messenger to the phone number specified.\n\nIf custom attributes are specified, they will be added to the user or lead's custom data attributes.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create or update a tag, Tag or untag companies, Tag contacts", + "request": { + "method": "POST", + "url": { + "raw": "/tags", + "path": [ + "tags" + ] + }, + "description": "You can use this endpoint to perform the following operations:\n\n **1. Create a new tag:** You can create a new tag by passing in the tag name as specified in \"Create or Update Tag Request Payload\" described below.\n\n **2. Update an existing tag:** You can update an existing tag by passing the id of the tag as specified in \"Create or Update Tag Request Payload\" described below.\n\n **3. Tag Companies:** You can tag single company or a list of companies. You can tag a company by passing in the tag name and the company details as specified in \"Tag Company Request Payload\" described below. Also, if the tag doesn't exist then a new one will be created automatically.\n\n **4. Untag Companies:** You can untag a single company or a list of companies. You can untag a company by passing in the tag id and the company details as specified in \"Untag Company Request Payload\" described below.\n\n **5. Tag Multiple Users:** You can tag a list of users. You can tag the users by passing in the tag name and the user details as specified in \"Tag Users Request Payload\" described below.\n\nEach operation will return a tag object.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a new attribute for a ticket type", + "request": { + "method": "POST", + "url": { + "raw": "/ticket_types/{ticket_type_id}/attributes", + "path": [ + "ticket_types", + "{ticket_type_id}", + "attributes" + ] + }, + "description": "You can create a new attribute for a ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a ticket type", + "request": { + "method": "POST", + "url": { + "raw": "/ticket_types", + "path": [ + "ticket_types" + ] + }, + "description": "You can create a new ticket type.\n> 📘 Creating ticket types.\n>\n> Every ticket type will be created with two default attributes: _default_title_ and _default_description_.\n> For the `icon` propery, use an emoji from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/)\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Reply to a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets/{id}/reply", + "path": [ + "tickets", + "{id}", + "reply" + ] + }, + "description": "You can reply to a ticket with a message from an admin or on behalf of a contact, or with a note for admins.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Add tag to a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets/{ticket_id}/tags", + "path": [ + "tickets", + "{ticket_id}", + "tags" + ] + }, + "description": "You can tag a specific ticket. This will return a tag object for the tag that was added to the ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Create a ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets", + "path": [ + "tickets" + ] + }, + "description": "You can create a new ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Enqueue create ticket", + "request": { + "method": "POST", + "url": { + "raw": "/tickets/enqueue", + "path": [ + "tickets", + "enqueue" + ] + }, + "description": "Enqueues ticket creation for asynchronous processing, returning if the job was enqueued successfully to be processed. We attempt to perform a best-effort validation on inputs before tasks are enqueued. If the given parameters are incorrect, we won't enqueue the job.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Search tickets", + "request": { + "method": "POST", + "url": { + "raw": "/tickets/search", + "path": [ + "tickets", + "search" + ] + }, + "description": "You can search for multiple tickets by the value of their attributes in order to fetch exactly which ones you want.\n\nTo search for tickets, you send a `POST` request to `https://api.intercom.io/tickets/search`.\n\nThis will accept a query object in the body which will define your filters.\n{% admonition type=\"warning\" name=\"Optimizing search queries\" %}\n Search queries can be complex, so optimizing them can help the performance of your search.\n Use the `AND` and `OR` operators to combine multiple filters to get the exact results you need and utilize\n pagination to limit the number of results returned. The default is `20` results per page.\n See the [pagination section](https://developers.intercom.com/docs/build-an-integration/learn-more/rest-apis/pagination/#example-search-conversations-request) for more details on how to use the `starting_after` param.\n{% /admonition %}\n\n### Nesting & Limitations\n\nYou can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4).\nThere are some limitations to the amount of multiples there can be:\n- There's a limit of max 2 nested filters\n- There's a limit of max 15 filters for each AND or OR group\n\n### Accepted Fields\n\nMost keys listed as part of the Ticket model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `\"foobar\"`).\nThe `source.body` field is unique as the search will not be performed against the entire value, but instead against every element of the value separately. For example, when searching for a conversation with a `\"I need support\"` body - the query should contain a `=` operator with the value `\"support\"` for such conversation to be returned. A query with a `=` operator and a `\"need support\"` value will not yield a result.\n\n| Field | Type |\n| :---------------------------------------- | :--------------------------------------------------------------------------------------- |\n| id | String |\n| created_at | Date (UNIX timestamp) |\n| updated_at | Date (UNIX timestamp) |\n| _default_title_ | String |\n| _default_description_ | String |\n| category | String |\n| ticket_type_id | String |\n| contact_ids | String |\n| teammate_ids | String |\n| admin_assignee_id | String |\n| team_assignee_id | String |\n| open | Boolean |\n| state | String |\n| snoozed_until | Date (UNIX timestamp) |\n| ticket_attribute.{id} | String or Boolean or Date (UNIX timestamp) or Float or Integer |\n\n### Accepted Operators\n\n{% admonition type=\"info\" name=\"Searching based on `created_at`\" %}\n You may use the `<=` or `>=` operators to search by `created_at`.\n{% /admonition %}\n\nThe table below shows the operators you can use to define how you want to search for the value. The operator should be put in as a string (`\"=\"`). The operator has to be compatible with the field's type (eg. you cannot search with `>` for a given string value as it's only compatible for integer's and dates).\n\n| Operator | Valid Types | Description |\n| :------- | :----------------------------- | :----------------------------------------------------------- |\n| = | All | Equals |\n| != | All | Doesn't Equal |\n| IN | All | In Shortcut for `OR` queries Values most be in Array |\n| NIN | All | Not In Shortcut for `OR !` queries Values must be in Array |\n| > | Integer Date (UNIX Timestamp) | Greater (or equal) than |\n| < | Integer Date (UNIX Timestamp) | Lower (or equal) than |\n| ~ | String | Contains |\n| !~ | String | Doesn't Contain |\n| ^ | String | Starts With |\n| $ | String | Ends With |\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Convert a visitor", + "request": { + "method": "POST", + "url": { + "raw": "/visitors/convert", + "path": [ + "visitors", + "convert" + ] + }, + "description": "You can merge a Visitor to a Contact of role type `lead` or `user`.\n\n> 📘 What happens upon a visitor being converted?\n>\n> If the User exists, then the Visitor will be merged into it, the Visitor deleted and the User returned. If the User does not exist, the Visitor will be converted to a User, with the User identifiers replacing it's Visitor identifiers.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Set an admin to away", + "request": { + "method": "PUT", + "url": { + "raw": "/admins/{id}/away", + "path": [ + "admins", + "{id}", + "away" + ] + }, + "description": "You can set an Admin as away for the Inbox.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a content import source", + "request": { + "method": "PUT", + "url": { + "raw": "/ai/content_import_sources/{id}", + "path": [ + "ai", + "content_import_sources", + "{id}" + ] + }, + "description": "You can update an existing content import source.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update an external page", + "request": { + "method": "PUT", + "url": { + "raw": "/ai/external_pages/{id}", + "path": [ + "ai", + "external_pages", + "{id}" + ] + }, + "description": "You can update an existing external page (if it was created via the API).", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update an article", + "request": { + "method": "PUT", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can update the details of a single article by making a PUT request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a collection", + "request": { + "method": "PUT", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can update the details of a single collection by making a PUT request to `https://api.intercom.io/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a company", + "request": { + "method": "PUT", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can update a single company using the Intercom provisioned `id`.\n\n{% admonition type=\"warning\" name=\"Using `company_id`\" %}\n When updating a company it is not possible to update `company_id`. This can only be set once upon creation of the company.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a contact", + "request": { + "method": "PUT", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can update an existing contact (ie. user or lead).\n\n{% admonition type=\"info\" %}\n This endpoint handles both **contact updates** and **custom object associations**.\n\n See _`update a contact with an association to a custom object instance`_ in the request/response examples to see the custom object association format.\n{% /admonition %}\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a conversation", + "request": { + "method": "PUT", + "url": { + "raw": "/conversations/{id}", + "path": [ + "conversations", + "{id}" + ] + }, + "description": "\nYou can update an existing conversation.\n\n{% admonition type=\"info\" name=\"Replying and other actions\" %}\nIf you want to reply to a coveration or take an action such as assign, unassign, open, close or snooze, take a look at the reply and manage endpoints.\n{% /admonition %}\n\n{% admonition type=\"info\" %}\n This endpoint handles both **conversation updates** and **custom object associations**.\n\n See _`update a conversation with an association to a custom object instance`_ in the request/response examples to see the custom object association format.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a data attribute", + "request": { + "method": "PUT", + "url": { + "raw": "/data_attributes/{id}", + "path": [ + "data_attributes", + "{id}" + ] + }, + "description": "\nYou can update a data attribute.\n\n> 🚧 Updating the data type is not possible\n>\n> It is currently a dangerous action to execute changing a data attribute's type via the API. You will need to update the type via the UI instead.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a news item", + "request": { + "method": "PUT", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update an existing attribute for a ticket type", + "request": { + "method": "PUT", + "url": { + "raw": "/ticket_types/{ticket_type_id}/attributes/{id}", + "path": [ + "ticket_types", + "{ticket_type_id}", + "attributes", + "{id}" + ] + }, + "description": "You can update an existing attribute for a ticket type.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a ticket type", + "request": { + "method": "PUT", + "url": { + "raw": "/ticket_types/{id}", + "path": [ + "ticket_types", + "{id}" + ] + }, + "description": "\nYou can update a ticket type.\n\n> 📘 Updating a ticket type.\n>\n> For the `icon` propery, use an emoji from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/)\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a ticket", + "request": { + "method": "PUT", + "url": { + "raw": "/tickets/{id}", + "path": [ + "tickets", + "{id}" + ] + }, + "description": "You can update a ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Update a visitor", + "request": { + "method": "PUT", + "url": { + "raw": "/visitors", + "path": [ + "visitors" + ] + }, + "description": "Sending a PUT request to `/visitors` will result in an update of an existing Visitor.\n\n**Option 1.** You can update a visitor by passing in the `user_id` of the visitor in the Request body.\n\n**Option 2.** You can update a visitor by passing in the `id` of the visitor in the Request body.\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a content import source", + "request": { + "method": "DELETE", + "url": { + "raw": "/ai/content_import_sources/{id}", + "path": [ + "ai", + "content_import_sources", + "{id}" + ] + }, + "description": "You can delete a content import source by making a DELETE request this endpoint. This will also delete all external pages that were imported from this source.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete an external page", + "request": { + "method": "DELETE", + "url": { + "raw": "/ai/external_pages/{id}", + "path": [ + "ai", + "external_pages", + "{id}" + ] + }, + "description": "Sending a DELETE request for an external page will remove it from the content library UI and from being used for AI answers.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete an article", + "request": { + "method": "DELETE", + "url": { + "raw": "/articles/{id}", + "path": [ + "articles", + "{id}" + ] + }, + "description": "You can delete a single article by making a DELETE request to `https://api.intercom.io/articles/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a collection", + "request": { + "method": "DELETE", + "url": { + "raw": "/help_center/collections/{id}", + "path": [ + "help_center", + "collections", + "{id}" + ] + }, + "description": "You can delete a single collection by making a DELETE request to `https://api.intercom.io/collections/`.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a company", + "request": { + "method": "DELETE", + "url": { + "raw": "/companies/{id}", + "path": [ + "companies", + "{id}" + ] + }, + "description": "You can delete a single company.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Detach a contact from a company", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/companies/{id}", + "path": [ + "contacts", + "{contact_id}", + "companies", + "{id}" + ] + }, + "description": "You can detach a company from a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove subscription from a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/subscriptions/{id}", + "path": [ + "contacts", + "{contact_id}", + "subscriptions", + "{id}" + ] + }, + "description": "You can remove a specific subscription from a contact. This will return a subscription type model for the subscription type that was removed from the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{contact_id}/tags/{id}", + "path": [ + "contacts", + "{contact_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific contact. This will return a tag object for the tag that was removed from the contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a contact", + "request": { + "method": "DELETE", + "url": { + "raw": "/contacts/{id}", + "path": [ + "contacts", + "{id}" + ] + }, + "description": "You can delete a single contact.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{conversation_id}/tags/{id}", + "path": [ + "conversations", + "{conversation_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific conversation. This will return a tag object for the tag that was removed from the conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{id}", + "path": [ + "conversations", + "{id}" + ] + }, + "description": "You can delete a single conversation.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Detach a contact from a group conversation", + "request": { + "method": "DELETE", + "url": { + "raw": "/conversations/{conversation_id}/customers/{contact_id}", + "path": [ + "conversations", + "{conversation_id}", + "customers", + "{contact_id}" + ] + }, + "description": "You can add participants who are contacts to a conversation, on behalf of either another contact or an admin.\n\n{% admonition type=\"warning\" name=\"Contacts without an email\" %}\nIf you add a contact via the email parameter and there is no user/lead found on that workspace with he given email, then we will create a new contact with `role` set to `lead`.\n{% /admonition %}\n\n", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a Custom Object Instance by External ID", + "request": { + "method": "DELETE", + "url": { + "raw": "/custom_object_instances/{custom_object_type_identifier}", + "path": [ + "custom_object_instances", + "{custom_object_type_identifier}" + ] + }, + "description": "Delete a single Custom Object instance by external_id.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a Custom Object Instance by ID", + "request": { + "method": "DELETE", + "url": { + "raw": "/custom_object_instances/{custom_object_type_identifier}/{id}", + "path": [ + "custom_object_instances", + "{custom_object_type_identifier}", + "{id}" + ] + }, + "description": "Delete a single Custom Object instance using the Intercom defined id.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a news item", + "request": { + "method": "DELETE", + "url": { + "raw": "/news/news_items/{id}", + "path": [ + "news", + "news_items", + "{id}" + ] + }, + "description": "You can delete a single news item.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete tag", + "request": { + "method": "DELETE", + "url": { + "raw": "/tags/{id}", + "path": [ + "tags", + "{id}" + ] + }, + "description": "You can delete the details of tags that are on the workspace by passing in the id.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Remove tag from a ticket", + "request": { + "method": "DELETE", + "url": { + "raw": "/tickets/{ticket_id}/tags/{id}", + "path": [ + "tickets", + "{ticket_id}", + "tags", + "{id}" + ] + }, + "description": "You can remove tag from a specific ticket. This will return a tag object for the tag that was removed from the ticket.", + "header": [], + "body": {} + }, + "response": [] + }, + { + "name": "Delete a ticket", + "request": { + "method": "DELETE", + "url": { + "raw": "/tickets/{id}", + "path": [ + "tickets", + "{id}" + ] + }, + "description": "You can delete a ticket using the Intercom provided ID.", + "header": [], + "body": {} + }, + "response": [] + } + ] + } + ], + "event": [], + "variable": [ + { + "id": "b8467fa8-fcc7-4748-a124-6698d312ce10", + "key": "https://api.intercom.io", + "value": "https://api.intercom.io", + "type": "string", + "description": "The production API server" + }, + { + "id": "dcd07a7a-85a8-495e-aa39-1dc3052e6905", + "key": "https://api.eu.intercom.io", + "value": "https://api.eu.intercom.io", + "type": "string", + "description": "The european API server" + }, + { + "id": "63671ca2-e670-4b83-acb1-d744ccdb8194", + "key": "https://api.au.intercom.io", + "value": "https://api.au.intercom.io", + "type": "string", + "description": "The australian API server" + }, + { + "id": "23228843-13f3-409d-9a72-25bae41b9a9c", + "key": "bearerToken", + "value": "{{bearerToken}}", + "type": "string", + "description": "bearertokenvalue" + } + ], + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "bearerToken", + "value": "{{bearerToken}}", + "type": "string" + }, + { + "key": "tokenType", + "value": "bearer", + "type": "string" + }, + { + "key": "addTokenTo", + "value": "header", + "type": "string" + } + ] + } +} \ No newline at end of file diff --git a/scripts/postman/collection.js b/scripts/postman/collection.js index f4b4888..939c446 100644 --- a/scripts/postman/collection.js +++ b/scripts/postman/collection.js @@ -7,6 +7,9 @@ const { resolve } = require('path'); const { uniq } = require('lodash'); const Example = require('./example'); const VERB_PRIORITY = ['GET', 'POST', 'PUT', 'DELETE']; +const createCollectionFromYaml = require('./create-collection-from-yaml'); +const fs = require('fs'); +const path = require('path'); const byName = (a, b) => { if (a.name < b.name) { @@ -20,6 +23,8 @@ const byName = (a, b) => { module.exports = class Collection { constructor(openapi) { this.openapi = openapi; + this.folders = []; // Initialize folders array + this.tags = {}; // Initialize tags object } async createCompleteCollection() { @@ -111,23 +116,51 @@ module.exports = class Collection { } insertEndpoints() { - const paths = Object.keys(this.openapi.paths); - paths.forEach((path) => { - const endpoints = this.openapi.paths[path]; - const verbs = Object.keys(endpoints); - verbs.forEach((verb) => this.insertEndpoint(verb, path, endpoints[verb])); + Object.entries(this.openapi.paths).forEach(([path, methods]) => { + Object.entries(methods).forEach(([method, endpoint]) => { + if (method !== 'parameters') { + // Skip global parameters + this.insertEndpoint({ + name: endpoint.summary || path, + request: { + method: method.toUpperCase(), + url: { + raw: path, + path: path.split('/').filter((p) => p), + }, + description: endpoint.description || '', + header: [], // Initialize headers array + body: {}, // Initialize body object + }, + response: [], // Initialize responses array + }); + } + }); }); } - insertEndpoint(verb, path, endpoint) { - const item = { - id: uuid.v4(), - name: endpoint.summary, - description: endpoint.description, - request: this.request(verb, path, endpoint), - }; - const parent = this.findFolder(endpoint); - parent.push(item); + insertEndpoint(endpoint) { + try { + // Get folder name from tags or default to 'General' + const folderName = endpoint.tags && endpoint.tags.length > 0 ? endpoint.tags[0] : 'General'; + + const folder = this.findFolder(folderName); + if (!folder.item) { + folder.item = []; // Ensure item is an array + } + folder.item.push(endpoint); + } catch (err) { + console.warn( + `Warning: Could not insert endpoint ${endpoint.name || 'unknown'}:`, + err.message, + ); + // Add to General folder as fallback + const generalFolder = this.findFolder('General'); + if (!generalFolder.item) { + generalFolder.item = []; + } + generalFolder.item.push(endpoint); + } } request(verb, path, endpoint) { @@ -289,20 +322,23 @@ module.exports = class Collection { } return param.name; } - /** - * Finds a folder instance for a given reference category ID - */ - findFolder(endpoint) { - try { - const currentTag = endpoint.tags[0]; - // first find the folder name - const folderName = this.openapi.tags.filter((tag) => tag.name === currentTag)[0].name; - // return the first folder to match this name - return this.folders.filter((folder) => folder.name === folderName)[0].item; - } catch (e) { - console.error("Couldn't find folder for endpoint", e); - return this.folders.filter((folder) => folder.name === 'Uncategorized')[0].item; + + findFolder(folderName) { + // Handle case where folderName is undefined or null + if (!folderName) { + folderName = 'General'; + } + + // Find existing folder or create new one + let folder = this.folders.find((f) => f.name === folderName); + if (!folder) { + folder = { + name: folderName, + item: [], // Initialize item as array + }; + this.folders.push(folder); } + return folder; } pruneEmptyFolders() { diff --git a/scripts/postman/create-collection-from-yaml.js b/scripts/postman/create-collection-from-yaml.js index 7c30791..659a45b 100644 --- a/scripts/postman/create-collection-from-yaml.js +++ b/scripts/postman/create-collection-from-yaml.js @@ -1,27 +1,83 @@ -const yaml = require('js-yaml'); const fs = require('fs'); -const OUTPUT_FOLDER = './compiled'; +const path = require('path'); +const YAML = require('yaml'); const OpenAPI = require('./open-api'); module.exports = async function createCollectionFromYaml(filePath) { - let versionNumber = filePath.split('/')[1]; - let fileName = `intercom-api-${versionNumber}.json`; - try { - let openApiYamlDoc = yaml.load(fs.readFileSync(filePath)); - let doc = JSON.stringify(openApiYamlDoc, null, 2); - let openapi = new OpenAPI(doc); - let collection = await openapi.convert(); - dumpCollectionToFolder(fileName, collection); - } catch (err) { - console.error(`[ERROR] Failed to convert ${filePath} to collection. Error: ${err}`); - throw err; - } -}; + const pathParts = filePath.split('/'); + const versionNumber = pathParts[pathParts.length - 2]; + + // version 0 means the Unstable version + const folderName = versionNumber === '0' ? 'Unstable' : versionNumber; + const versionFolder = `postman/${folderName}`; -async function dumpCollectionToFolder(fileName, collection) { - if (!fs.existsSync(OUTPUT_FOLDER)) { - fs.mkdirSync(OUTPUT_FOLDER, { recursive: true }); + if (!fs.existsSync('postman')) { + fs.mkdirSync('postman'); } + if (!fs.existsSync(versionFolder)) { + fs.mkdirSync(versionFolder); + } + + const fileContents = fs.readFileSync(filePath, 'utf8'); + const openApiYamlDoc = YAML.parse(fileContents); + const doc = JSON.stringify(openApiYamlDoc, null, 2); + + const openapi = new OpenAPI(doc); + const collection = await openapi.convert(); + + collection.info = { + ...collection.info, + version: versionNumber, + updatedAt: new Date().toISOString(), + }; + + const outputPath = path.join(versionFolder, 'intercom-api.postman_collection.json'); + fs.writeFileSync(outputPath, JSON.stringify(collection, null, 2)); + + // Create a version-specific environment file (optional) + const environment = { + id: `intercom-api-${versionNumber}-environment`, + name: `Intercom API ${versionNumber} Environment`, + values: [ + { + key: 'baseUrl', + value: 'https://api.intercom.io', + type: 'default', + enabled: true, + }, + { + key: 'token', + value: 'YOUR_ACCESS_TOKEN', + type: 'secret', + enabled: true, + }, + ], + }; - fs.writeFileSync(`${OUTPUT_FOLDER}/${fileName}`, JSON.stringify(collection, null, 2)); -} + fs.writeFileSync( + path.join(versionFolder, 'environment.json'), + JSON.stringify(environment, null, 2), + ); + + // Create a README for the version + const readmeContent = `# Intercom API ${folderName} Postman Collection + +This directory contains the Postman collection for Intercom API version ${folderName}. + +## Files +- \`intercom-api.postman_collection.json\`: The main Postman collection +- \`environment.json\`: Environment variables for this version + +## Usage +1. Import the collection into Postman +2. Import the environment file +3. Set your access token in the environment variables +4. Start making API calls! + +Last updated: ${new Date().toISOString()} +`; + + fs.writeFileSync(path.join(versionFolder, 'README.md'), readmeContent); + + return outputPath; +}; diff --git a/scripts/postman/generate-postman-in-repo.js b/scripts/postman/generate-postman-in-repo.js new file mode 100644 index 0000000..aed6081 --- /dev/null +++ b/scripts/postman/generate-postman-in-repo.js @@ -0,0 +1,37 @@ +const createCollectionFromYaml = require('./create-collection-from-yaml'); +const fs = require('fs'); +const path = require('path'); + +const processAllVersions = async () => { + try { + const descriptionsPath = path.join(process.cwd(), 'descriptions'); + + // Get only numeric version directories + const versionDirs = fs + .readdirSync(descriptionsPath) + .filter((item) => { + const fullPath = path.join(descriptionsPath, item); + return fs.statSync(fullPath).isDirectory() && !isNaN(parseFloat(item)); + }) + .sort((a, b) => parseFloat(a) - parseFloat(b)); + + console.log(`Processing versions: ${versionDirs.join(', ')}`); + + for (const version of versionDirs) { + const yamlPath = path.join(descriptionsPath, version, 'api.intercom.io.yaml'); + if (fs.existsSync(yamlPath)) { + try { + await createCollectionFromYaml(yamlPath); + console.log(`✓ Processed version ${version}`); + } catch (err) { + console.error(`Error processing version ${version}:`, err); + } + } + } + } catch (err) { + console.error('Failed to process versions:', err); + process.exit(1); + } +}; + +processAllVersions();