• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gettyimages / gettyimages-api_nodejs
98%
main: 98%

Build:
Build:
LAST BUILD BRANCH: refs/tags/6.7.0
DEFAULT BRANCH: main
Repo Added 15 Jul 2016 05:44AM UTC
Files 19
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH refs/tags/6.7.0
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • actions
  • add-orientations-search-videos-creative
  • allow-calls-with-api-key-only
  • allow-custom-param-header
  • allow-setting-token
  • api-consistency
  • code-samples
  • dependabot/31
  • dependabot/60
  • dependabot/github_actions/dot-github/workflows/actions/download-artifact-4.1.7
  • dependabot/npm_and_yarn/babel/traverse-7.23.2
  • dependabot/npm_and_yarn/braces-3.0.3
  • dependabot/npm_and_yarn/flatted-3.4.2
  • dependabot/npm_and_yarn/got-and-ava--removed
  • dependabot/npm_and_yarn/js-yaml-3.14.2
  • dependabot/npm_and_yarn/json5-1.0.2
  • dependabot/npm_and_yarn/lodash-4.17.23
  • dependabot/npm_and_yarn/lodash-4.18.1
  • dependabot/npm_and_yarn/minimatch-3.1.5
  • dependabot/npm_and_yarn/picomatch-2.3.2
  • dependabot/npm_and_yarn/word-wrap-1.2.4
  • deprecate-eol-versions-of-node
  • feature/add-search-video-editorial-filters
  • feature/typescript-declarations
  • fix-lint-errors
  • fix/js-yaml-dependabot-61
  • fix/npm-publish
  • fix_token_exp
  • handle-boolean-properties-correctly
  • main
  • node-10
  • node10
  • publish-only-one-version
  • refs/heads/main
  • refs/tags/5.1.0
  • refs/tags/6.0.0
  • refs/tags/6.0.1
  • refs/tags/6.1.0
  • refs/tags/6.1.1
  • refs/tags/6.1.2
  • refs/tags/6.2.0
  • refs/tags/6.2.1
  • refs/tags/6.2.2
  • refs/tags/6.2.3
  • refs/tags/6.3.0
  • refs/tags/6.3.1
  • refs/tags/6.4.0
  • refs/tags/6.5.0
  • refs/tags/6.5.1
  • refs/tags/6.5.2
  • refs/tags/6.5.3
  • refs/tags/6.5.4
  • refs/tags/6.5.5
  • refs/tags/6.5.6
  • refs/tags/6.5.7
  • refs/tags/6.5.8
  • refs/tags/6.6.0
  • refs/tags/6.7.0
  • review-tests
  • update-auth-hostname
  • update-code-samples
  • update-dependencies
  • update-packages
  • upgrade-upload-artifact

19 Aug 2026 03:46PM UTC coverage: 98.093%. Remained the same
32273671972

push

github

web-flow
Add TypeScript declarations for the existing public surface (#84)

Declare the client, the fourteen request classes, and their fluent builders in
a single root gettyimages-api.d.ts, and point the "types" field at it. This
covers only what the SDK supports today: no response models, no new operations,
and no literal-union enums for values the SDK never enumerates.

No runtime code changes, so JavaScript consumers are unaffected. The risk that
does exist is a declaration too strict for a call the SDK already accepts,
which would break TypeScript consumers at compile time. Three cases drove the
signatures:

- Builders named in the singular, such as withCollectionCode, are called with
  arrays throughout the tests, so they accept a value or an array.
- Identifier builders, such as withKeywordId, are called with numbers as well
  as strings.
- execute() returns Promise<any>, because Promise<unknown> would force every
  existing consumer to cast before reading a response field.

types-test.ts exercises every builder in the argument forms the AVA tests and
the README use. It runs under "npm run test:types" and in CI, so an over-strict
signature fails the build rather than reaching consumers.

Closes #56

94 of 115 branches covered (81.74%)

1029 of 1049 relevant lines covered (98.09%)

114.41 hits per line

Relevant lines Covered
Build:
Build:
1049 RELEVANT LINES 1029 COVERED LINES
114.41 HITS PER LINE
Source Files on main
  • Tree
  • List 19
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
32273671972 refs/tags/6.7.0 Add TypeScript declarations for the existing public surface (#84) Declare the client, the fourteen request classes, and their fluent builders in a single root gettyimages-api.d.ts, and point the "types" field at it. This covers only what the SDK ... push 19 Aug 2026 04:03PM UTC web-flow github
98.09
32272072756 main Add TypeScript declarations for the existing public surface (#84) Declare the client, the fourteen request classes, and their fluent builders in a single root gettyimages-api.d.ts, and point the "types" field at it. This covers only what the SDK ... push 19 Aug 2026 03:47PM UTC web-flow github
98.09
32191505935 feature/typescript-declarations Add TypeScript declarations for the existing public surface Declare the client, the fourteen request classes, and their fluent builders in a single root gettyimages-api.d.ts, and point the "types" field at it. This covers only what the SDK suppor... Pull #84 18 Aug 2026 10:11PM UTC mapitman github
98.09
32181813381 refs/tags/6.6.0 Add orientations parameter to SearchVideosCreative and update date parameter naming in SearchImages and SearchVideosEditorial (#83) Co-authored-by: Faiz <faiz@stringr.com> push 18 Aug 2026 08:22PM UTC web-flow github
98.09
32181153638 main Add orientations parameter to SearchVideosCreative and update date parameter naming in SearchImages and SearchVideosEditorial (#83) Co-authored-by: Faiz <faiz@stringr.com> push 18 Aug 2026 08:14PM UTC web-flow github
98.09
32082120781 add-orientations-search-videos-creative Merge 941496672 into 915908378 Pull #83 17 Aug 2026 11:50PM UTC web-flow github
98.09
31417677134 refs/tags/6.5.8 Fix js-yaml quadratic CPU vulnerability (#82) Add an override pinning the transitive dev dependency js-yaml to 3.15.0 or later, which patches a high-severity denial-of-service issue in YAML merge-key handling. push 10 Aug 2026 06:10PM UTC web-flow github
98.09
31417625767 main Fix js-yaml quadratic CPU vulnerability (#82) Add an override pinning the transitive dev dependency js-yaml to 3.15.0 or later, which patches a high-severity denial-of-service issue in YAML merge-key handling. push 10 Aug 2026 06:09PM UTC web-flow github
98.09
31417102061 fix/js-yaml-dependabot-61 Fix js-yaml quadratic CPU vulnerability Add an override pinning the transitive dev dependency js-yaml to 3.15.0 or later, which patches a high-severity denial-of-service issue in YAML merge-key handling. Pull #82 10 Aug 2026 06:03PM UTC ChrisSimmons github
98.09
31396405377 refs/tags/6.5.7 Bump brace-expansion from 1.1.11 to 1.1.16 (#81) Fixes GHSA-3jxr-9vmj-r5cp (CVE-2026-13149), a DoS via exponential-time expansion of consecutive non-expanding {} groups in brace-expansion, pulled in transitively via eslint-plugin-import -> minima... push 10 Aug 2026 02:07PM UTC web-flow github
98.09
See All Builds (261)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc