@tryfinch/finch-api 1.1.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_shims/agent.d.ts +9 -0
- package/_shims/agent.d.ts.map +1 -0
- package/_shims/agent.js +14 -0
- package/_shims/agent.js.map +1 -0
- package/_shims/agent.mjs +10 -0
- package/_shims/agent.mjs.map +1 -0
- package/_shims/agent.node.d.ts +7 -0
- package/_shims/agent.node.d.ts.map +1 -0
- package/_shims/agent.node.js +28 -0
- package/_shims/agent.node.js.map +1 -0
- package/_shims/agent.node.mjs +16 -0
- package/_shims/agent.node.mjs.map +1 -0
- package/_shims/fetch.d.ts +52 -0
- package/_shims/fetch.js +13 -0
- package/_shims/fetch.mjs +15 -0
- package/_shims/fetch.node.d.ts +53 -0
- package/_shims/fetch.node.js +12 -0
- package/_shims/fetch.node.mjs +14 -0
- package/_shims/fileFromPath.d.ts +22 -0
- package/_shims/fileFromPath.d.ts.map +1 -0
- package/_shims/fileFromPath.js +16 -0
- package/_shims/fileFromPath.js.map +1 -0
- package/_shims/fileFromPath.mjs +12 -0
- package/_shims/fileFromPath.mjs.map +1 -0
- package/_shims/fileFromPath.node.d.ts +17 -0
- package/_shims/fileFromPath.node.d.ts.map +1 -0
- package/_shims/fileFromPath.node.js +17 -0
- package/_shims/fileFromPath.node.js.map +1 -0
- package/_shims/fileFromPath.node.mjs +13 -0
- package/_shims/fileFromPath.node.mjs.map +1 -0
- package/_shims/formdata.d.ts +43 -0
- package/_shims/formdata.js +9 -0
- package/_shims/formdata.mjs +11 -0
- package/_shims/formdata.node.d.ts +44 -0
- package/_shims/formdata.node.js +11 -0
- package/_shims/formdata.node.mjs +9 -0
- package/_shims/getMultipartRequestOptions.d.ts +10 -0
- package/_shims/getMultipartRequestOptions.d.ts.map +1 -0
- package/_shims/getMultipartRequestOptions.js +12 -0
- package/_shims/getMultipartRequestOptions.js.map +1 -0
- package/_shims/getMultipartRequestOptions.mjs +8 -0
- package/_shims/getMultipartRequestOptions.mjs.map +1 -0
- package/_shims/getMultipartRequestOptions.node.d.ts +10 -0
- package/_shims/getMultipartRequestOptions.node.d.ts.map +1 -0
- package/_shims/getMultipartRequestOptions.node.js +22 -0
- package/_shims/getMultipartRequestOptions.node.js.map +1 -0
- package/_shims/getMultipartRequestOptions.node.mjs +18 -0
- package/_shims/getMultipartRequestOptions.node.mjs.map +1 -0
- package/_shims/node-readable.d.ts +23 -0
- package/_shims/node-readable.d.ts.map +1 -0
- package/_shims/node-readable.js +11 -0
- package/_shims/node-readable.js.map +1 -0
- package/_shims/node-readable.mjs +7 -0
- package/_shims/node-readable.mjs.map +1 -0
- package/_shims/node-readable.node.d.ts +8 -0
- package/_shims/node-readable.node.d.ts.map +1 -0
- package/_shims/node-readable.node.js +9 -0
- package/_shims/node-readable.node.js.map +1 -0
- package/_shims/node-readable.node.mjs +5 -0
- package/_shims/node-readable.node.mjs.map +1 -0
- package/{dist/cjs/core.d.ts → core.d.ts} +18 -68
- package/core.d.ts.map +1 -0
- package/core.js +683 -0
- package/core.js.map +1 -0
- package/core.mjs +587 -0
- package/core.mjs.map +1 -0
- package/error.d.ts +48 -0
- package/error.d.ts.map +1 -0
- package/error.js +126 -0
- package/error.js.map +1 -0
- package/error.mjs +101 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +160 -0
- package/index.d.ts +160 -0
- package/index.d.ts.map +1 -0
- package/{dist/cjs/index.js → index.js} +55 -44
- package/index.js.map +1 -0
- package/index.mjs +157 -0
- package/index.mjs.map +1 -0
- package/package.json +57 -20
- package/{dist/cjs/pagination.d.ts → pagination.d.ts} +6 -4
- package/pagination.d.ts.map +1 -0
- package/{dist/cjs/pagination.js → pagination.js} +1 -1
- package/pagination.js.map +1 -0
- package/pagination.mjs +198 -0
- package/pagination.mjs.map +1 -0
- package/{dist/cjs/resource.d.ts → resource.d.ts} +1 -1
- package/resource.d.ts.map +1 -0
- package/resource.js.map +1 -0
- package/resource.mjs +13 -0
- package/resource.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/account.d.ts +7 -2
- package/resources/account.d.ts.map +1 -0
- package/{dist/cjs/resources → resources}/account.js +2 -1
- package/resources/account.js.map +1 -0
- package/resources/account.mjs +20 -0
- package/resources/account.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/ats/applications.d.ts +10 -5
- package/resources/ats/applications.d.ts.map +1 -0
- package/{dist/cjs/resources → resources}/ats/applications.js +5 -8
- package/resources/ats/applications.js.map +1 -0
- package/resources/ats/applications.mjs +20 -0
- package/resources/ats/applications.mjs.map +1 -0
- package/resources/ats/ats.d.ts +32 -0
- package/resources/ats/ats.d.ts.map +1 -0
- package/resources/ats/ats.js +71 -0
- package/resources/ats/ats.js.map +1 -0
- package/resources/ats/ats.mjs +27 -0
- package/resources/ats/ats.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/ats/candidates.d.ts +13 -8
- package/resources/ats/candidates.d.ts.map +1 -0
- package/{dist/cjs/resources → resources}/ats/candidates.js +5 -4
- package/resources/ats/candidates.js.map +1 -0
- package/resources/ats/candidates.mjs +21 -0
- package/resources/ats/candidates.mjs.map +1 -0
- package/resources/ats/index.d.ts +7 -0
- package/resources/ats/index.d.ts.map +1 -0
- package/resources/ats/index.js +60 -0
- package/resources/ats/index.js.map +1 -0
- package/resources/ats/index.mjs +8 -0
- package/resources/ats/index.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/ats/jobs.d.ts +13 -8
- package/resources/ats/jobs.d.ts.map +1 -0
- package/{dist/cjs/resources → resources}/ats/jobs.js +5 -4
- package/resources/ats/jobs.js.map +1 -0
- package/resources/ats/jobs.mjs +20 -0
- package/resources/ats/jobs.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/ats/offers.d.ts +9 -4
- package/resources/ats/offers.d.ts.map +1 -0
- package/{dist/cjs/resources → resources}/ats/offers.js +5 -4
- package/resources/ats/offers.js.map +1 -0
- package/resources/ats/offers.mjs +20 -0
- package/resources/ats/offers.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/ats/stages.d.ts +10 -3
- package/resources/ats/stages.d.ts.map +1 -0
- package/{dist/cjs/resources → resources}/ats/stages.js +3 -2
- package/resources/ats/stages.js.map +1 -0
- package/resources/ats/stages.mjs +17 -0
- package/resources/ats/stages.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/hris/benefits/benefits.d.ts +32 -4
- package/resources/hris/benefits/benefits.d.ts.map +1 -0
- package/resources/hris/benefits/benefits.js +104 -0
- package/resources/hris/benefits/benefits.js.map +1 -0
- package/resources/hris/benefits/benefits.mjs +58 -0
- package/resources/hris/benefits/benefits.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/hris/benefits/index.d.ts +4 -2
- package/resources/hris/benefits/index.d.ts.map +1 -0
- package/{dist/cjs/resources → resources}/hris/benefits/index.js +17 -3
- package/resources/hris/benefits/index.js.map +1 -0
- package/resources/hris/benefits/index.mjs +9 -0
- package/resources/hris/benefits/index.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/hris/benefits/individuals.d.ts +21 -4
- package/resources/hris/benefits/individuals.d.ts.map +1 -0
- package/{dist/cjs/resources → resources}/hris/benefits/individuals.js +18 -18
- package/resources/hris/benefits/individuals.js.map +1 -0
- package/resources/hris/benefits/individuals.mjs +57 -0
- package/resources/hris/benefits/individuals.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/hris/company.d.ts +42 -38
- package/resources/hris/company.d.ts.map +1 -0
- package/{dist/cjs/resources → resources}/hris/company.js +4 -1
- package/resources/hris/company.js.map +1 -0
- package/resources/hris/company.mjs +12 -0
- package/resources/hris/company.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/hris/directory.d.ts +20 -15
- package/resources/hris/directory.d.ts.map +1 -0
- package/{dist/cjs/resources → resources}/hris/directory.js +5 -8
- package/resources/hris/directory.js.map +1 -0
- package/resources/hris/directory.mjs +14 -0
- package/resources/hris/directory.mjs.map +1 -0
- package/resources/hris/hris.d.ts +134 -0
- package/resources/hris/hris.d.ts.map +1 -0
- package/resources/hris/hris.js +78 -0
- package/resources/hris/hris.js.map +1 -0
- package/resources/hris/hris.mjs +34 -0
- package/resources/hris/hris.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/hris/index.d.ts +10 -7
- package/resources/hris/index.d.ts.map +1 -0
- package/resources/hris/index.js +96 -0
- package/resources/hris/index.js.map +1 -0
- package/resources/hris/index.mjs +9 -0
- package/resources/hris/index.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/hris/individuals/employment-data.d.ts +28 -19
- package/resources/hris/individuals/employment-data.d.ts.map +1 -0
- package/resources/hris/individuals/employment-data.js +70 -0
- package/resources/hris/individuals/employment-data.js.map +1 -0
- package/resources/hris/individuals/employment-data.mjs +25 -0
- package/resources/hris/individuals/employment-data.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/hris/individuals/index.d.ts +3 -2
- package/resources/hris/individuals/index.d.ts.map +1 -0
- package/{dist/cjs/resources → resources}/hris/individuals/index.js +10 -3
- package/resources/hris/individuals/index.js.map +1 -0
- package/resources/hris/individuals/index.mjs +4 -0
- package/resources/hris/individuals/index.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/hris/individuals/individuals.d.ts +28 -15
- package/resources/hris/individuals/individuals.d.ts.map +1 -0
- package/resources/hris/individuals/individuals.js +73 -0
- package/resources/hris/individuals/individuals.js.map +1 -0
- package/resources/hris/individuals/individuals.mjs +28 -0
- package/resources/hris/individuals/individuals.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/hris/pay-statements.d.ts +45 -35
- package/resources/hris/pay-statements.d.ts.map +1 -0
- package/{dist/cjs/resources → resources}/hris/pay-statements.js +8 -7
- package/resources/hris/pay-statements.js.map +1 -0
- package/resources/hris/pay-statements.mjs +21 -0
- package/resources/hris/pay-statements.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/hris/payments.d.ts +16 -8
- package/resources/hris/payments.d.ts.map +1 -0
- package/{dist/cjs/resources → resources}/hris/payments.js +4 -3
- package/resources/hris/payments.js.map +1 -0
- package/resources/hris/payments.mjs +14 -0
- package/resources/hris/payments.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/index.d.ts +4 -4
- package/resources/index.d.ts.map +1 -0
- package/{dist/cjs/resources → resources}/index.js +4 -4
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +6 -0
- package/resources/index.mjs.map +1 -0
- package/{dist/cjs/resources → resources}/providers.d.ts +14 -7
- package/resources/providers.d.ts.map +1 -0
- package/{dist/cjs/resources → resources}/providers.js +3 -2
- package/resources/providers.js.map +1 -0
- package/resources/providers.mjs +14 -0
- package/resources/providers.mjs.map +1 -0
- package/resources/top-level.d.ts.map +1 -0
- package/resources/top-level.js.map +1 -0
- package/resources/top-level.mjs +3 -0
- package/resources/top-level.mjs.map +1 -0
- package/src/_shims/agent.node.ts +22 -0
- package/src/_shims/agent.ts +12 -0
- package/src/_shims/fetch.d.ts +52 -0
- package/src/_shims/fetch.js +13 -0
- package/src/_shims/fetch.mjs +15 -0
- package/src/_shims/fetch.node.d.ts +53 -0
- package/src/_shims/fetch.node.js +12 -0
- package/src/_shims/fetch.node.mjs +14 -0
- package/src/_shims/fileFromPath.node.ts +29 -0
- package/src/_shims/fileFromPath.ts +29 -0
- package/src/_shims/formdata.d.ts +43 -0
- package/src/_shims/formdata.js +9 -0
- package/src/_shims/formdata.mjs +11 -0
- package/src/_shims/formdata.node.d.ts +44 -0
- package/src/_shims/formdata.node.js +11 -0
- package/src/_shims/formdata.node.mjs +9 -0
- package/src/_shims/getMultipartRequestOptions.node.ts +25 -0
- package/src/_shims/getMultipartRequestOptions.ts +14 -0
- package/src/_shims/node-readable.node.ts +10 -0
- package/src/_shims/node-readable.ts +30 -0
- package/{core.ts → src/core.ts} +69 -177
- package/src/error.ts +115 -0
- package/{index.ts → src/index.ts} +78 -27
- package/{pagination.ts → src/pagination.ts} +4 -1
- package/{resources → src/resources}/account.ts +8 -2
- package/{resources → src/resources}/ats/applications.ts +13 -7
- package/src/resources/ats/ats.ts +39 -0
- package/{resources → src/resources}/ats/candidates.ts +16 -10
- package/src/resources/ats/index.ts +8 -0
- package/{resources → src/resources}/ats/jobs.ts +16 -10
- package/{resources → src/resources}/ats/offers.ts +12 -6
- package/{resources → src/resources}/ats/stages.ts +11 -3
- package/{resources → src/resources}/hris/benefits/benefits.ts +35 -4
- package/{resources → src/resources}/hris/benefits/index.ts +2 -0
- package/{resources → src/resources}/hris/benefits/individuals.ts +25 -5
- package/{resources → src/resources}/hris/company.ts +47 -42
- package/{resources → src/resources}/hris/directory.ts +23 -17
- package/{resources → src/resources}/hris/hris.ts +47 -1
- package/{resources → src/resources}/hris/index.ts +7 -4
- package/{resources → src/resources}/hris/individuals/employment-data.ts +31 -21
- package/{resources → src/resources}/hris/individuals/index.ts +1 -0
- package/{resources → src/resources}/hris/individuals/individuals.ts +31 -16
- package/{resources → src/resources}/hris/pay-statements.ts +47 -36
- package/{resources → src/resources}/hris/payments.ts +18 -9
- package/{resources → src/resources}/providers.ts +16 -8
- package/src/streaming.ts +204 -0
- package/src/uploads.ts +248 -0
- package/src/version.ts +1 -0
- package/{dist/cjs/streaming.d.ts → streaming.d.ts} +4 -3
- package/streaming.d.ts.map +1 -0
- package/streaming.js +155 -0
- package/streaming.js.map +1 -0
- package/streaming.mjs +151 -0
- package/streaming.mjs.map +1 -0
- package/uploads.d.ts +90 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +207 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +174 -0
- package/uploads.mjs.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/{dist/cjs/version.js → version.js} +1 -1
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
- package/.eslintrc.js +0 -10
- package/.github/workflows/publish-npm.yml +0 -28
- package/.github/workflows/release-doctor.yml +0 -20
- package/.github/workflows/release.yml +0 -38
- package/.prettierignore +0 -1
- package/.prettierrc +0 -6
- package/.release-please-manifest.json +0 -3
- package/.stats.yml +0 -1
- package/CHANGELOG.md +0 -40
- package/LICENSE +0 -201
- package/README.md +0 -219
- package/api.md +0 -186
- package/bin/check-release-environment +0 -25
- package/bin/check-test-server +0 -50
- package/bin/publish-npm +0 -6
- package/build +0 -12
- package/check-version.ts +0 -18
- package/dist/cjs/check-version.d.ts +0 -2
- package/dist/cjs/check-version.d.ts.map +0 -1
- package/dist/cjs/check-version.js +0 -23
- package/dist/cjs/check-version.js.map +0 -1
- package/dist/cjs/core.d.ts.map +0 -1
- package/dist/cjs/core.js +0 -950
- package/dist/cjs/core.js.map +0 -1
- package/dist/cjs/fetch-polyfill.d.ts +0 -6
- package/dist/cjs/fetch-polyfill.d.ts.map +0 -1
- package/dist/cjs/fetch-polyfill.js +0 -57
- package/dist/cjs/fetch-polyfill.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -118
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/pagination.d.ts.map +0 -1
- package/dist/cjs/pagination.js.map +0 -1
- package/dist/cjs/resource.d.ts.map +0 -1
- package/dist/cjs/resource.js.map +0 -1
- package/dist/cjs/resources/account.d.ts.map +0 -1
- package/dist/cjs/resources/account.js.map +0 -1
- package/dist/cjs/resources/ats/applications.d.ts.map +0 -1
- package/dist/cjs/resources/ats/applications.js.map +0 -1
- package/dist/cjs/resources/ats/ats.d.ts +0 -14
- package/dist/cjs/resources/ats/ats.d.ts.map +0 -1
- package/dist/cjs/resources/ats/ats.js +0 -22
- package/dist/cjs/resources/ats/ats.js.map +0 -1
- package/dist/cjs/resources/ats/candidates.d.ts.map +0 -1
- package/dist/cjs/resources/ats/candidates.js.map +0 -1
- package/dist/cjs/resources/ats/index.d.ts +0 -6
- package/dist/cjs/resources/ats/index.d.ts.map +0 -1
- package/dist/cjs/resources/ats/index.js +0 -12
- package/dist/cjs/resources/ats/index.js.map +0 -1
- package/dist/cjs/resources/ats/jobs.d.ts.map +0 -1
- package/dist/cjs/resources/ats/jobs.js.map +0 -1
- package/dist/cjs/resources/ats/offers.d.ts.map +0 -1
- package/dist/cjs/resources/ats/offers.js.map +0 -1
- package/dist/cjs/resources/ats/stages.d.ts.map +0 -1
- package/dist/cjs/resources/ats/stages.js.map +0 -1
- package/dist/cjs/resources/hris/benefits/benefits.d.ts.map +0 -1
- package/dist/cjs/resources/hris/benefits/benefits.js +0 -57
- package/dist/cjs/resources/hris/benefits/benefits.js.map +0 -1
- package/dist/cjs/resources/hris/benefits/index.d.ts.map +0 -1
- package/dist/cjs/resources/hris/benefits/index.js.map +0 -1
- package/dist/cjs/resources/hris/benefits/individuals.d.ts.map +0 -1
- package/dist/cjs/resources/hris/benefits/individuals.js.map +0 -1
- package/dist/cjs/resources/hris/company.d.ts.map +0 -1
- package/dist/cjs/resources/hris/company.js.map +0 -1
- package/dist/cjs/resources/hris/directory.d.ts.map +0 -1
- package/dist/cjs/resources/hris/directory.js.map +0 -1
- package/dist/cjs/resources/hris/hris.d.ts +0 -95
- package/dist/cjs/resources/hris/hris.d.ts.map +0 -1
- package/dist/cjs/resources/hris/hris.js +0 -24
- package/dist/cjs/resources/hris/hris.js.map +0 -1
- package/dist/cjs/resources/hris/index.d.ts.map +0 -1
- package/dist/cjs/resources/hris/index.js +0 -44
- package/dist/cjs/resources/hris/index.js.map +0 -1
- package/dist/cjs/resources/hris/individuals/employment-data.d.ts.map +0 -1
- package/dist/cjs/resources/hris/individuals/employment-data.js +0 -26
- package/dist/cjs/resources/hris/individuals/employment-data.js.map +0 -1
- package/dist/cjs/resources/hris/individuals/index.d.ts.map +0 -1
- package/dist/cjs/resources/hris/individuals/index.js.map +0 -1
- package/dist/cjs/resources/hris/individuals/individuals.d.ts.map +0 -1
- package/dist/cjs/resources/hris/individuals/individuals.js +0 -28
- package/dist/cjs/resources/hris/individuals/individuals.js.map +0 -1
- package/dist/cjs/resources/hris/pay-statements.d.ts.map +0 -1
- package/dist/cjs/resources/hris/pay-statements.js.map +0 -1
- package/dist/cjs/resources/hris/payments.d.ts.map +0 -1
- package/dist/cjs/resources/hris/payments.js.map +0 -1
- package/dist/cjs/resources/index.d.ts.map +0 -1
- package/dist/cjs/resources/index.js.map +0 -1
- package/dist/cjs/resources/providers.d.ts.map +0 -1
- package/dist/cjs/resources/providers.js.map +0 -1
- package/dist/cjs/resources/top-level.d.ts.map +0 -1
- package/dist/cjs/resources/top-level.js.map +0 -1
- package/dist/cjs/streaming.d.ts.map +0 -1
- package/dist/cjs/streaming.js +0 -220
- package/dist/cjs/streaming.js.map +0 -1
- package/dist/cjs/tests/api-resources/account.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/account.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/account.test.js +0 -66
- package/dist/cjs/tests/api-resources/account.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/ats/applications.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/ats/applications.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/ats/applications.test.js +0 -73
- package/dist/cjs/tests/api-resources/ats/applications.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/ats/candidates.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/ats/candidates.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/ats/candidates.test.js +0 -73
- package/dist/cjs/tests/api-resources/ats/candidates.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/ats/jobs.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/ats/jobs.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/ats/jobs.test.js +0 -73
- package/dist/cjs/tests/api-resources/ats/jobs.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/ats/offers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/ats/offers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/ats/offers.test.js +0 -73
- package/dist/cjs/tests/api-resources/ats/offers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/ats/stages.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/ats/stages.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/ats/stages.test.js +0 -55
- package/dist/cjs/tests/api-resources/ats/stages.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/hris/benefits/benefits.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/hris/benefits/benefits.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/hris/benefits/benefits.test.js +0 -116
- package/dist/cjs/tests/api-resources/hris/benefits/benefits.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/hris/benefits/individuals.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/hris/benefits/individuals.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/hris/benefits/individuals.test.js +0 -111
- package/dist/cjs/tests/api-resources/hris/benefits/individuals.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/hris/company.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/hris/company.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/hris/company.test.js +0 -55
- package/dist/cjs/tests/api-resources/hris/company.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/hris/directory.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/hris/directory.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/hris/directory.test.js +0 -62
- package/dist/cjs/tests/api-resources/hris/directory.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/hris/individuals/employment-data.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/hris/individuals/employment-data.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/hris/individuals/employment-data.test.js +0 -56
- package/dist/cjs/tests/api-resources/hris/individuals/employment-data.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/hris/individuals/individuals.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/hris/individuals/individuals.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/hris/individuals/individuals.test.js +0 -68
- package/dist/cjs/tests/api-resources/hris/individuals/individuals.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/hris/pay-statements.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/hris/pay-statements.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/hris/pay-statements.test.js +0 -64
- package/dist/cjs/tests/api-resources/hris/pay-statements.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/hris/payments.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/hris/payments.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/hris/payments.test.js +0 -52
- package/dist/cjs/tests/api-resources/hris/payments.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/providers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/providers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/providers.test.js +0 -55
- package/dist/cjs/tests/api-resources/providers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/top-level.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/top-level.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/top-level.test.js +0 -52
- package/dist/cjs/tests/api-resources/top-level.test.js.map +0 -1
- package/dist/cjs/tests/form.test.d.ts +0 -2
- package/dist/cjs/tests/form.test.d.ts.map +0 -1
- package/dist/cjs/tests/form.test.js +0 -61
- package/dist/cjs/tests/form.test.js.map +0 -1
- package/dist/cjs/tests/index.test.d.ts +0 -2
- package/dist/cjs/tests/index.test.d.ts.map +0 -1
- package/dist/cjs/tests/index.test.js +0 -65
- package/dist/cjs/tests/index.test.js.map +0 -1
- package/dist/cjs/tests/responses.test.d.ts +0 -2
- package/dist/cjs/tests/responses.test.d.ts.map +0 -1
- package/dist/cjs/tests/responses.test.js +0 -60
- package/dist/cjs/tests/responses.test.js.map +0 -1
- package/dist/cjs/version.d.ts +0 -2
- package/dist/cjs/version.d.ts.map +0 -1
- package/dist/cjs/version.js.map +0 -1
- package/fetch-polyfill.ts +0 -69
- package/jest.config.js +0 -8
- package/release-please-config.json +0 -61
- package/resources/ats/ats.ts +0 -16
- package/resources/ats/index.ts +0 -7
- package/streaming.ts +0 -122
- package/tests/api-resources/account.test.ts +0 -29
- package/tests/api-resources/ats/applications.test.ts +0 -36
- package/tests/api-resources/ats/candidates.test.ts +0 -36
- package/tests/api-resources/ats/jobs.test.ts +0 -36
- package/tests/api-resources/ats/offers.test.ts +0 -36
- package/tests/api-resources/ats/stages.test.ts +0 -18
- package/tests/api-resources/hris/benefits/benefits.test.ts +0 -79
- package/tests/api-resources/hris/benefits/individuals.test.ts +0 -74
- package/tests/api-resources/hris/company.test.ts +0 -18
- package/tests/api-resources/hris/directory.test.ts +0 -25
- package/tests/api-resources/hris/individuals/employment-data.test.ts +0 -19
- package/tests/api-resources/hris/individuals/individuals.test.ts +0 -31
- package/tests/api-resources/hris/pay-statements.test.ts +0 -27
- package/tests/api-resources/hris/payments.test.ts +0 -15
- package/tests/api-resources/providers.test.ts +0 -18
- package/tests/api-resources/top-level.test.ts +0 -15
- package/tests/form.test.ts +0 -27
- package/tests/index.test.ts +0 -72
- package/tests/responses.test.ts +0 -25
- package/tsconfig.cjs.json +0 -8
- package/tsconfig.json +0 -39
- package/typings/digest-fetch/index.d.ts +0 -33
- package/version.ts +0 -1
- /package/{dist/cjs/resource.js → resource.js} +0 -0
- /package/{dist/cjs/resources → resources}/top-level.d.ts +0 -0
- /package/{dist/cjs/resources → resources}/top-level.js +0 -0
- /package/{resource.ts → src/resource.ts} +0 -0
- /package/{resources → src/resources}/index.ts +0 -0
- /package/{resources → src/resources}/top-level.ts +0 -0
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless.
|
|
3
|
-
var __awaiter =
|
|
4
|
-
(this && this.__awaiter) ||
|
|
5
|
-
function (thisArg, _arguments, P, generator) {
|
|
6
|
-
function adopt(value) {
|
|
7
|
-
return value instanceof P ? value : (
|
|
8
|
-
new P(function (resolve) {
|
|
9
|
-
resolve(value);
|
|
10
|
-
})
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
14
|
-
function fulfilled(value) {
|
|
15
|
-
try {
|
|
16
|
-
step(generator.next(value));
|
|
17
|
-
} catch (e) {
|
|
18
|
-
reject(e);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
function rejected(value) {
|
|
22
|
-
try {
|
|
23
|
-
step(generator['throw'](value));
|
|
24
|
-
} catch (e) {
|
|
25
|
-
reject(e);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
function step(result) {
|
|
29
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
30
|
-
}
|
|
31
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
|
-
var __importDefault =
|
|
35
|
-
(this && this.__importDefault) ||
|
|
36
|
-
function (mod) {
|
|
37
|
-
return mod && mod.__esModule ? mod : { default: mod };
|
|
38
|
-
};
|
|
39
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
40
|
-
const index_1 = __importDefault(require('../../index'));
|
|
41
|
-
const finch = new index_1.default({ accessToken: 'something1234', baseURL: 'http://127.0.0.1:4010' });
|
|
42
|
-
describe('top level methods', () => {
|
|
43
|
-
test('getAccessToken', () =>
|
|
44
|
-
__awaiter(void 0, void 0, void 0, function* () {
|
|
45
|
-
// TODO
|
|
46
|
-
}));
|
|
47
|
-
test('getAuthUrl', () =>
|
|
48
|
-
__awaiter(void 0, void 0, void 0, function* () {
|
|
49
|
-
// TODO
|
|
50
|
-
}));
|
|
51
|
-
});
|
|
52
|
-
//# sourceMappingURL=top-level.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"top-level.test.js","sourceRoot":"","sources":["../../../../tests/api-resources/top-level.test.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;;;;;;;;;;;AAErD,oDAA4B;AAE5B,MAAM,KAAK,GAAG,IAAI,eAAK,CAAC,EAAE,WAAW,EAAE,eAAe,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC,CAAC;AAE5F,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IACjC,IAAI,CAAC,gBAAgB,EAAE,GAAS,EAAE;QAChC,OAAO;IACT,CAAC,CAAA,CAAC,CAAC;IAEH,IAAI,CAAC,YAAY,EAAE,GAAS,EAAE;QAC5B,OAAO;IACT,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"form.test.d.ts","sourceRoot":"","sources":["../../../tests/form.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
var __awaiter =
|
|
3
|
-
(this && this.__awaiter) ||
|
|
4
|
-
function (thisArg, _arguments, P, generator) {
|
|
5
|
-
function adopt(value) {
|
|
6
|
-
return value instanceof P ? value : (
|
|
7
|
-
new P(function (resolve) {
|
|
8
|
-
resolve(value);
|
|
9
|
-
})
|
|
10
|
-
);
|
|
11
|
-
}
|
|
12
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
13
|
-
function fulfilled(value) {
|
|
14
|
-
try {
|
|
15
|
-
step(generator.next(value));
|
|
16
|
-
} catch (e) {
|
|
17
|
-
reject(e);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
function rejected(value) {
|
|
21
|
-
try {
|
|
22
|
-
step(generator['throw'](value));
|
|
23
|
-
} catch (e) {
|
|
24
|
-
reject(e);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
function step(result) {
|
|
28
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
29
|
-
}
|
|
30
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
34
|
-
const core_1 = require('../core');
|
|
35
|
-
const formdata_node_1 = require('formdata-node');
|
|
36
|
-
const file_from_path_1 = require('formdata-node/file-from-path');
|
|
37
|
-
describe('form data validation', () => {
|
|
38
|
-
test('valid values do not error', () =>
|
|
39
|
-
__awaiter(void 0, void 0, void 0, function* () {
|
|
40
|
-
(0, core_1.multipartFormRequestOptions)({
|
|
41
|
-
body: {
|
|
42
|
-
foo: 'foo',
|
|
43
|
-
string: 1,
|
|
44
|
-
bool: true,
|
|
45
|
-
file: yield (0, file_from_path_1.fileFromPath)('README.md'),
|
|
46
|
-
blob: new formdata_node_1.Blob(['Some content'], { type: 'text/plain' }),
|
|
47
|
-
},
|
|
48
|
-
});
|
|
49
|
-
}));
|
|
50
|
-
test('null', () =>
|
|
51
|
-
__awaiter(void 0, void 0, void 0, function* () {
|
|
52
|
-
expect(() =>
|
|
53
|
-
(0, core_1.multipartFormRequestOptions)({
|
|
54
|
-
body: {
|
|
55
|
-
null: null,
|
|
56
|
-
},
|
|
57
|
-
}),
|
|
58
|
-
).toThrow(TypeError);
|
|
59
|
-
}));
|
|
60
|
-
});
|
|
61
|
-
//# sourceMappingURL=form.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"form.test.js","sourceRoot":"","sources":["../../../tests/form.test.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,iCAAqD;AACrD,iDAAqC;AACrC,iEAA4D;AAE5D,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IACpC,IAAI,CAAC,2BAA2B,EAAE,GAAS,EAAE;QAC3C,IAAA,kCAA2B,EAAC;YAC1B,IAAI,EAAE;gBACJ,GAAG,EAAE,KAAK;gBACV,MAAM,EAAE,CAAC;gBACT,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,MAAM,IAAA,6BAAY,EAAC,WAAW,CAAC;gBACrC,IAAI,EAAE,IAAI,oBAAI,CAAC,CAAC,cAAc,CAAC,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;aACzD;SACF,CAAC,CAAC;IACL,CAAC,CAAA,CAAC,CAAC;IAEH,IAAI,CAAC,MAAM,EAAE,GAAS,EAAE;QACtB,MAAM,CAAC,GAAG,EAAE,CACV,IAAA,kCAA2B,EAAC;YAC1B,IAAI,EAAE;gBACJ,IAAI,EAAE,IAAI;aACX;SACF,CAAC,CACH,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IACvB,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../../tests/index.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless.
|
|
3
|
-
var __importDefault =
|
|
4
|
-
(this && this.__importDefault) ||
|
|
5
|
-
function (mod) {
|
|
6
|
-
return mod && mod.__esModule ? mod : { default: mod };
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
|
-
const index_1 = __importDefault(require('../index'));
|
|
10
|
-
describe('instantiate client', () => {
|
|
11
|
-
const env = process.env;
|
|
12
|
-
beforeEach(() => {
|
|
13
|
-
jest.resetModules();
|
|
14
|
-
process.env = Object.assign({}, env);
|
|
15
|
-
console.warn = jest.fn();
|
|
16
|
-
});
|
|
17
|
-
afterEach(() => {
|
|
18
|
-
process.env = env;
|
|
19
|
-
});
|
|
20
|
-
test('defaultHeaders are passed through', () => {
|
|
21
|
-
const client = new index_1.default({
|
|
22
|
-
defaultHeaders: { 'X-My-Default-Header': '2' },
|
|
23
|
-
accessToken: 'my access token',
|
|
24
|
-
});
|
|
25
|
-
const { req } = client.buildRequest({ path: '/foo', method: 'post' });
|
|
26
|
-
expect(req.headers['X-My-Default-Header']).toEqual('2');
|
|
27
|
-
});
|
|
28
|
-
describe('baseUrl', () => {
|
|
29
|
-
test('trailing slash', () => {
|
|
30
|
-
const client = new index_1.default({
|
|
31
|
-
baseURL: 'http://localhost:5000/custom/path/',
|
|
32
|
-
accessToken: 'my access token',
|
|
33
|
-
});
|
|
34
|
-
expect(client.buildURL('/foo', null)).toEqual('http://localhost:5000/custom/path/foo');
|
|
35
|
-
});
|
|
36
|
-
test('no trailing slash', () => {
|
|
37
|
-
const client = new index_1.default({
|
|
38
|
-
baseURL: 'http://localhost:5000/custom/path',
|
|
39
|
-
accessToken: 'my access token',
|
|
40
|
-
});
|
|
41
|
-
expect(client.buildURL('/foo', null)).toEqual('http://localhost:5000/custom/path/foo');
|
|
42
|
-
});
|
|
43
|
-
});
|
|
44
|
-
test('maxRetries option is correctly set', () => {
|
|
45
|
-
const client = new index_1.default({ maxRetries: 1, accessToken: 'my access token' });
|
|
46
|
-
expect(client.maxRetries).toEqual(1);
|
|
47
|
-
// default
|
|
48
|
-
const client2 = new index_1.default({ accessToken: 'my access token' });
|
|
49
|
-
expect(client2.maxRetries).toEqual(2);
|
|
50
|
-
});
|
|
51
|
-
test('with accessToken argument', () => {
|
|
52
|
-
const client = new index_1.default({ accessToken: 'another access token' });
|
|
53
|
-
expect(client.accessToken).toBe('another access token');
|
|
54
|
-
});
|
|
55
|
-
test('with options argument', () => {
|
|
56
|
-
// accessToken
|
|
57
|
-
const client = new index_1.default({ accessToken: 'my access token' });
|
|
58
|
-
expect(client.accessToken).toBe('my access token');
|
|
59
|
-
});
|
|
60
|
-
test('with disabled authentication', () => {
|
|
61
|
-
const client = new index_1.default({ accessToken: null });
|
|
62
|
-
expect(client.accessToken).toBeNull();
|
|
63
|
-
});
|
|
64
|
-
});
|
|
65
|
-
//# sourceMappingURL=index.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.test.js","sourceRoot":"","sources":["../../../tests/index.test.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"responses.test.d.ts","sourceRoot":"","sources":["../../../tests/responses.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
var __awaiter =
|
|
3
|
-
(this && this.__awaiter) ||
|
|
4
|
-
function (thisArg, _arguments, P, generator) {
|
|
5
|
-
function adopt(value) {
|
|
6
|
-
return value instanceof P ? value : (
|
|
7
|
-
new P(function (resolve) {
|
|
8
|
-
resolve(value);
|
|
9
|
-
})
|
|
10
|
-
);
|
|
11
|
-
}
|
|
12
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
13
|
-
function fulfilled(value) {
|
|
14
|
-
try {
|
|
15
|
-
step(generator.next(value));
|
|
16
|
-
} catch (e) {
|
|
17
|
-
reject(e);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
function rejected(value) {
|
|
21
|
-
try {
|
|
22
|
-
step(generator['throw'](value));
|
|
23
|
-
} catch (e) {
|
|
24
|
-
reject(e);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
function step(result) {
|
|
28
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
29
|
-
}
|
|
30
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
34
|
-
const core_1 = require('../core');
|
|
35
|
-
const node_fetch_1 = require('node-fetch');
|
|
36
|
-
describe('response parsing', () => {
|
|
37
|
-
// TODO: test unicode characters
|
|
38
|
-
test('headers are case agnostic', () =>
|
|
39
|
-
__awaiter(void 0, void 0, void 0, function* () {
|
|
40
|
-
const headers = (0, core_1.createResponseHeaders)(
|
|
41
|
-
new node_fetch_1.Headers({ 'Content-Type': 'foo', Accept: 'text/plain' }),
|
|
42
|
-
);
|
|
43
|
-
expect(headers['content-type']).toEqual('foo');
|
|
44
|
-
expect(headers['Content-type']).toEqual('foo');
|
|
45
|
-
expect(headers['Content-Type']).toEqual('foo');
|
|
46
|
-
expect(headers['accept']).toEqual('text/plain');
|
|
47
|
-
expect(headers['Accept']).toEqual('text/plain');
|
|
48
|
-
expect(headers['Hello-World']).toBeUndefined();
|
|
49
|
-
}));
|
|
50
|
-
test('duplicate headers are concatenated', () => {
|
|
51
|
-
const headers = (0, core_1.createResponseHeaders)(
|
|
52
|
-
new node_fetch_1.Headers([
|
|
53
|
-
['Content-Type', 'text/xml'],
|
|
54
|
-
['Content-Type', 'application/json'],
|
|
55
|
-
]),
|
|
56
|
-
);
|
|
57
|
-
expect(headers['content-type']).toBe('text/xml, application/json');
|
|
58
|
-
});
|
|
59
|
-
});
|
|
60
|
-
//# sourceMappingURL=responses.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"responses.test.js","sourceRoot":"","sources":["../../../tests/responses.test.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,iCAA+C;AAC/C,2CAAqC;AAErC,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAChC,gCAAgC;IAChC,IAAI,CAAC,2BAA2B,EAAE,GAAS,EAAE;QAC3C,MAAM,OAAO,GAAG,IAAA,4BAAqB,EAAC,IAAI,oBAAO,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC;QACpG,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAC/C,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAC/C,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAC/C,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;QAChD,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;QAChD,MAAM,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC;IACjD,CAAC,CAAA,CAAC,CAAC;IAEH,IAAI,CAAC,oCAAoC,EAAE,GAAG,EAAE;QAC9C,MAAM,OAAO,GAAG,IAAA,4BAAqB,EACnC,IAAI,oBAAO,CAAC;YACV,CAAC,cAAc,EAAE,UAAU,CAAC;YAC5B,CAAC,cAAc,EAAE,kBAAkB,CAAC;SACrC,CAAC,CACH,CAAC;QACF,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC;IACrE,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/dist/cjs/version.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
|
package/dist/cjs/version.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
|
package/fetch-polyfill.ts
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import type NodeFetch from 'node-fetch';
|
|
2
|
-
import type { RequestInfo, RequestInit, Response } from 'node-fetch';
|
|
3
|
-
import type KeepAliveAgent from 'agentkeepalive';
|
|
4
|
-
import type { Agent } from 'http';
|
|
5
|
-
import { AbortController as AbortControllerPolyfill } from 'abort-controller';
|
|
6
|
-
|
|
7
|
-
declare const Deno: any;
|
|
8
|
-
// For now, we just pretend that Fetch is the same type as NodeFetch.
|
|
9
|
-
declare const fetch: Fetch | undefined;
|
|
10
|
-
|
|
11
|
-
let nodeFetch: typeof NodeFetch | undefined = undefined;
|
|
12
|
-
let nodeFetchImportError: unknown;
|
|
13
|
-
let defaultHttpAgent: Agent;
|
|
14
|
-
let defaultHttpsAgent: Agent;
|
|
15
|
-
|
|
16
|
-
// In a Node environment, we prefer `node-fetch` to other fetch implementations
|
|
17
|
-
// which may be present, because it allows keepAlive and others don't.
|
|
18
|
-
// Alternative, "Web Standards"-based environments typically provide fetch implementations
|
|
19
|
-
// which provide good performance for this by default, and may not support node-fetch.
|
|
20
|
-
const isProbablyNode = typeof process !== 'undefined' && typeof Deno === 'undefined';
|
|
21
|
-
if (isProbablyNode) {
|
|
22
|
-
try {
|
|
23
|
-
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
24
|
-
nodeFetch = require('node-fetch').default;
|
|
25
|
-
const KeepAliveHttpAgent: typeof KeepAliveAgent = require('agentkeepalive');
|
|
26
|
-
/* eslint-enable @typescript-eslint/no-var-requires */
|
|
27
|
-
|
|
28
|
-
defaultHttpAgent = new KeepAliveHttpAgent({ keepAlive: true, timeout: 5 * 60 * 1000 });
|
|
29
|
-
defaultHttpsAgent = new KeepAliveHttpAgent.HttpsAgent({ keepAlive: true, timeout: 5 * 60 * 1000 });
|
|
30
|
-
} catch (e) {
|
|
31
|
-
// We can fall back to a built-in "fetch".
|
|
32
|
-
nodeFetchImportError = e;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// Polyfill global object if needed.
|
|
37
|
-
if (typeof AbortController === 'undefined') {
|
|
38
|
-
AbortController = AbortControllerPolyfill as typeof AbortController;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export type Fetch = (url: RequestInfo, init?: RequestInit) => Promise<Response>;
|
|
42
|
-
|
|
43
|
-
export const getFetch = (): Fetch => {
|
|
44
|
-
if (isProbablyNode && nodeFetch) {
|
|
45
|
-
return nodeFetch;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// For other environments, use a global fetch function expected to already be present
|
|
49
|
-
if (typeof fetch === 'undefined' || typeof fetch !== 'function') {
|
|
50
|
-
if (isProbablyNode) {
|
|
51
|
-
throw new Error(
|
|
52
|
-
`Could not import "node-fetch", and no global "fetch" function is defined.`,
|
|
53
|
-
// @ts-expect-error This is only Node 16.9.0+, but isn't harmful in other contexts.
|
|
54
|
-
{ cause: nodeFetchImportError },
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
throw new Error(
|
|
58
|
-
`Unexpected: running in a non-Node environment without a global "fetch" function defined.`,
|
|
59
|
-
);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
return fetch;
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
export const getDefaultAgent = (url: string): Agent | undefined => {
|
|
66
|
-
if (defaultHttpsAgent && url.startsWith('https')) return defaultHttpsAgent;
|
|
67
|
-
if (defaultHttpAgent) return defaultHttpAgent;
|
|
68
|
-
return undefined;
|
|
69
|
-
};
|
package/jest.config.js
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"packages": {
|
|
3
|
-
".": {}
|
|
4
|
-
},
|
|
5
|
-
"$schema": "https://raw.githubusercontent.com/stainless-api/release-please/main/schemas/config.json",
|
|
6
|
-
"include-v-in-tag": true,
|
|
7
|
-
"include-component-in-tag": false,
|
|
8
|
-
"bump-minor-pre-major": true,
|
|
9
|
-
"bump-patch-for-minor-pre-major": true,
|
|
10
|
-
"pull-request-header": "Automated Release PR",
|
|
11
|
-
"changelog-sections": [
|
|
12
|
-
{
|
|
13
|
-
"type": "feat",
|
|
14
|
-
"section": "Features"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"type": "fix",
|
|
18
|
-
"section": "Bug Fixes"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"type": "perf",
|
|
22
|
-
"section": "Performance Improvements"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"type": "revert",
|
|
26
|
-
"section": "Reverts"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"type": "chore",
|
|
30
|
-
"section": "Chores"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"type": "docs",
|
|
34
|
-
"section": "Documentation"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"type": "style",
|
|
38
|
-
"section": "Styles"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"type": "refactor",
|
|
42
|
-
"section": "Refactors"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"type": "test",
|
|
46
|
-
"section": "Tests",
|
|
47
|
-
"hidden": true
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"type": "build",
|
|
51
|
-
"section": "Build System"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"type": "ci",
|
|
55
|
-
"section": "Continuous Integration",
|
|
56
|
-
"hidden": true
|
|
57
|
-
}
|
|
58
|
-
],
|
|
59
|
-
"release-type": "node",
|
|
60
|
-
"extra-files": ["version.ts"]
|
|
61
|
-
}
|
package/resources/ats/ats.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '~/resource';
|
|
4
|
-
import { Candidates } from './candidates';
|
|
5
|
-
import { Applications } from './applications';
|
|
6
|
-
import { Stages } from './stages';
|
|
7
|
-
import { Jobs } from './jobs';
|
|
8
|
-
import { Offers } from './offers';
|
|
9
|
-
|
|
10
|
-
export class ATS extends APIResource {
|
|
11
|
-
candidates: Candidates = new Candidates(this.client);
|
|
12
|
-
applications: Applications = new Applications(this.client);
|
|
13
|
-
stages: Stages = new Stages(this.client);
|
|
14
|
-
jobs: Jobs = new Jobs(this.client);
|
|
15
|
-
offers: Offers = new Offers(this.client);
|
|
16
|
-
}
|
package/resources/ats/index.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless.
|
|
2
|
-
|
|
3
|
-
export { Application, ApplicationListParams } from './applications';
|
|
4
|
-
export { Candidate, CandidateListParams } from './candidates';
|
|
5
|
-
export { Job, JobListParams } from './jobs';
|
|
6
|
-
export { Offer, OfferListParams } from './offers';
|
|
7
|
-
export { Stage, StagesSinglePage } from './stages';
|
package/streaming.ts
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import type { Response } from 'node-fetch';
|
|
2
|
-
import { APIResponse, Headers, createResponseHeaders } from '~/core';
|
|
3
|
-
|
|
4
|
-
type ServerSentEvent = {
|
|
5
|
-
event: string | null;
|
|
6
|
-
data: string;
|
|
7
|
-
raw: string[];
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
class SSEDecoder {
|
|
11
|
-
private data: string[];
|
|
12
|
-
private event: string | null;
|
|
13
|
-
private chunks: string[];
|
|
14
|
-
|
|
15
|
-
constructor() {
|
|
16
|
-
this.event = null;
|
|
17
|
-
this.data = [];
|
|
18
|
-
this.chunks = [];
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
decode(line: string) {
|
|
22
|
-
if (line.endsWith('\r')) {
|
|
23
|
-
line = line.substring(0, line.length - 1);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
if (!line) {
|
|
27
|
-
// empty line and we didn't previously encounter any messages
|
|
28
|
-
if (!this.event && !this.data.length) return null;
|
|
29
|
-
|
|
30
|
-
const sse: ServerSentEvent = {
|
|
31
|
-
event: this.event,
|
|
32
|
-
data: this.data.join('\n'),
|
|
33
|
-
raw: this.chunks,
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
this.event = null;
|
|
37
|
-
this.data = [];
|
|
38
|
-
this.chunks = [];
|
|
39
|
-
|
|
40
|
-
return sse;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
this.chunks.push(line);
|
|
44
|
-
|
|
45
|
-
if (line.startsWith(':')) {
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
let [fieldname, _, value] = partition(line, ':');
|
|
50
|
-
|
|
51
|
-
if (value.startsWith(' ')) {
|
|
52
|
-
value = value.substring(1);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
if (fieldname === 'event') {
|
|
56
|
-
this.event = value;
|
|
57
|
-
} else if (fieldname === 'data') {
|
|
58
|
-
this.data.push(value);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return null;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export class Stream<Item> implements AsyncIterable<Item>, APIResponse<Stream<Item>> {
|
|
66
|
-
response: Response;
|
|
67
|
-
responseHeaders: Headers;
|
|
68
|
-
controller: AbortController;
|
|
69
|
-
|
|
70
|
-
private decoder: SSEDecoder;
|
|
71
|
-
|
|
72
|
-
constructor(response: Response, controller: AbortController) {
|
|
73
|
-
this.response = response;
|
|
74
|
-
this.controller = controller;
|
|
75
|
-
this.decoder = new SSEDecoder();
|
|
76
|
-
this.responseHeaders = createResponseHeaders(response.headers);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
private async *iterMessages(): AsyncGenerator<ServerSentEvent, void, unknown> {
|
|
80
|
-
if (!this.response.body) {
|
|
81
|
-
this.controller.abort();
|
|
82
|
-
throw new Error(`Attempted to iterate over a response with no body`);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
for await (const chunk of this.response.body) {
|
|
86
|
-
let text;
|
|
87
|
-
if (chunk instanceof Buffer) {
|
|
88
|
-
text = chunk.toString();
|
|
89
|
-
} else {
|
|
90
|
-
text = chunk;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
for (let line of text.split('\n')) {
|
|
94
|
-
const sse = this.decoder.decode(line);
|
|
95
|
-
if (sse) yield sse;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
this.controller.abort();
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
async *[Symbol.asyncIterator](): AsyncIterator<Item, any, undefined> {
|
|
103
|
-
for await (const sse of this.iterMessages()) {
|
|
104
|
-
try {
|
|
105
|
-
yield JSON.parse(sse.data);
|
|
106
|
-
} catch (e) {
|
|
107
|
-
console.error(`Could not parse message into JSON:`, sse.data);
|
|
108
|
-
console.error(`From chunk:`, sse.raw);
|
|
109
|
-
throw e;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
function partition(str: string, delimiter: string): [string, string, string] {
|
|
116
|
-
const index = str.indexOf(delimiter);
|
|
117
|
-
if (index !== -1) {
|
|
118
|
-
return [str.substring(0, index), delimiter, str.substring(index + delimiter.length)];
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
return [str, '', ''];
|
|
122
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless.
|
|
2
|
-
|
|
3
|
-
import Finch from '~/index';
|
|
4
|
-
|
|
5
|
-
const finch = new Finch({ accessToken: 'something1234', baseURL: 'http://127.0.0.1:4010' });
|
|
6
|
-
|
|
7
|
-
describe('resource account', () => {
|
|
8
|
-
test('disconnect', async () => {
|
|
9
|
-
const response = await finch.account.disconnect();
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
test('disconnect: request options instead of params are passed correctly', async () => {
|
|
13
|
-
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
|
|
14
|
-
await expect(finch.account.disconnect({ path: '/_stainless_unknown_path' })).rejects.toThrow(
|
|
15
|
-
Finch.NotFoundError,
|
|
16
|
-
);
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
test('introspect', async () => {
|
|
20
|
-
const response = await finch.account.introspect();
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
test('introspect: request options instead of params are passed correctly', async () => {
|
|
24
|
-
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
|
|
25
|
-
await expect(finch.account.introspect({ path: '/_stainless_unknown_path' })).rejects.toThrow(
|
|
26
|
-
Finch.NotFoundError,
|
|
27
|
-
);
|
|
28
|
-
});
|
|
29
|
-
});
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless.
|
|
2
|
-
|
|
3
|
-
import Finch from '~/index';
|
|
4
|
-
|
|
5
|
-
const finch = new Finch({ accessToken: 'something1234', baseURL: 'http://127.0.0.1:4010' });
|
|
6
|
-
|
|
7
|
-
describe('resource applications', () => {
|
|
8
|
-
test('retrieve', async () => {
|
|
9
|
-
const response = await finch.ats.applications.retrieve('string');
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
test('retrieve: request options instead of params are passed correctly', async () => {
|
|
13
|
-
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
|
|
14
|
-
await expect(
|
|
15
|
-
finch.ats.applications.retrieve('string', { path: '/_stainless_unknown_path' }),
|
|
16
|
-
).rejects.toThrow(Finch.NotFoundError);
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
test('list', async () => {
|
|
20
|
-
const response = await finch.ats.applications.list();
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
test('list: request options instead of params are passed correctly', async () => {
|
|
24
|
-
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
|
|
25
|
-
await expect(finch.ats.applications.list({ path: '/_stainless_unknown_path' })).rejects.toThrow(
|
|
26
|
-
Finch.NotFoundError,
|
|
27
|
-
);
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
test('list: request options and params are passed correctly', async () => {
|
|
31
|
-
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
|
|
32
|
-
await expect(
|
|
33
|
-
finch.ats.applications.list({ limit: 0, offset: 0 }, { path: '/_stainless_unknown_path' }),
|
|
34
|
-
).rejects.toThrow(Finch.NotFoundError);
|
|
35
|
-
});
|
|
36
|
-
});
|