├── .eslintignore ├── .eslintrc.js ├── .github ├── ISSUE_TEMPLATE │ ├── bug-report.md │ ├── feature-request.md │ └── support-question.md ├── PULL_REQUEST_TEMPLATE.md ├── PULL_REQUEST_TEMPLATE │ ├── bugs.md │ └── features.md ├── dependabot.yml └── workflows │ ├── ci-standard-checks.yml │ ├── pr.yml │ └── release.yml ├── .gitignore ├── .npmrc ├── .nycrc ├── .releaserc ├── CODEOWNERS ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── commitlint.config.js ├── package.json ├── rollup.config.js ├── sonar-project.properties ├── src ├── auto-page-items.ts ├── bin.ts ├── constants │ └── index.ts ├── create-client.ts ├── forms.ts ├── images.ts ├── index.ts ├── insights.ts ├── responses.ts ├── themes.ts ├── typeform-types.ts ├── utils.ts ├── webhooks.ts └── workspaces.ts ├── tests ├── common.ts ├── integration │ ├── db.json │ ├── forms.test.ts │ └── mockServer.js └── unit │ ├── create-client.test.ts │ ├── forms.test.ts │ ├── images.test.ts │ ├── index.test.ts │ ├── insights.test.ts │ ├── responses.test.ts │ ├── themes.test.ts │ ├── utils.test.ts │ ├── webhooks.test.ts │ └── workspaces.test.ts ├── tsconfig.json └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['@typeform/eslint-config'], 3 | } -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug-report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/.github/ISSUE_TEMPLATE/bug-report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/.github/ISSUE_TEMPLATE/feature-request.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/support-question.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/.github/ISSUE_TEMPLATE/support-question.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE/bugs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/.github/PULL_REQUEST_TEMPLATE/bugs.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE/features.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/.github/PULL_REQUEST_TEMPLATE/features.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci-standard-checks.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/.github/workflows/ci-standard-checks.yml -------------------------------------------------------------------------------- /.github/workflows/pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/.github/workflows/pr.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/.npmrc -------------------------------------------------------------------------------- /.nycrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/.nycrc -------------------------------------------------------------------------------- /.releaserc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/.releaserc -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @Typeform/blocks 2 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/README.md -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/commitlint.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/rollup.config.js -------------------------------------------------------------------------------- /sonar-project.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/sonar-project.properties -------------------------------------------------------------------------------- /src/auto-page-items.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/src/auto-page-items.ts -------------------------------------------------------------------------------- /src/bin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/src/bin.ts -------------------------------------------------------------------------------- /src/constants/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/src/constants/index.ts -------------------------------------------------------------------------------- /src/create-client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/src/create-client.ts -------------------------------------------------------------------------------- /src/forms.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/src/forms.ts -------------------------------------------------------------------------------- /src/images.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/src/images.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/insights.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/src/insights.ts -------------------------------------------------------------------------------- /src/responses.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/src/responses.ts -------------------------------------------------------------------------------- /src/themes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/src/themes.ts -------------------------------------------------------------------------------- /src/typeform-types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/src/typeform-types.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/src/utils.ts -------------------------------------------------------------------------------- /src/webhooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/src/webhooks.ts -------------------------------------------------------------------------------- /src/workspaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/src/workspaces.ts -------------------------------------------------------------------------------- /tests/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/tests/common.ts -------------------------------------------------------------------------------- /tests/integration/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/tests/integration/db.json -------------------------------------------------------------------------------- /tests/integration/forms.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/tests/integration/forms.test.ts -------------------------------------------------------------------------------- /tests/integration/mockServer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/tests/integration/mockServer.js -------------------------------------------------------------------------------- /tests/unit/create-client.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/tests/unit/create-client.test.ts -------------------------------------------------------------------------------- /tests/unit/forms.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/tests/unit/forms.test.ts -------------------------------------------------------------------------------- /tests/unit/images.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/tests/unit/images.test.ts -------------------------------------------------------------------------------- /tests/unit/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/tests/unit/index.test.ts -------------------------------------------------------------------------------- /tests/unit/insights.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/tests/unit/insights.test.ts -------------------------------------------------------------------------------- /tests/unit/responses.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/tests/unit/responses.test.ts -------------------------------------------------------------------------------- /tests/unit/themes.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/tests/unit/themes.test.ts -------------------------------------------------------------------------------- /tests/unit/utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/tests/unit/utils.test.ts -------------------------------------------------------------------------------- /tests/unit/webhooks.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/tests/unit/webhooks.test.ts -------------------------------------------------------------------------------- /tests/unit/workspaces.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/tests/unit/workspaces.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Typeform/js-api-client/HEAD/yarn.lock --------------------------------------------------------------------------------