comic-vine-sdk 1.2.5 → 1.2.7
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/.gitattributes +27 -0
- package/.husky/pre-commit +4 -0
- package/.prettierignore +2 -0
- package/.prettierrc.json +4 -0
- package/.projenrc.ts +50 -0
- package/.releaserc.json +17 -0
- package/CHANGELOG.md +83 -0
- package/CODE_OF_CONDUCT.md +128 -0
- package/LICENSE +1 -3
- package/jest.setup.js +2 -0
- package/lib/cjs/comic-vine.d.ts +42 -0
- package/lib/cjs/comic-vine.js +92 -0
- package/lib/cjs/errors/base-error.js +18 -0
- package/lib/cjs/errors/custom-error.d.ts +2 -0
- package/lib/cjs/errors/custom-error.js +12 -0
- package/lib/cjs/errors/filter-error.d.ts +4 -0
- package/lib/cjs/errors/filter-error.js +14 -0
- package/lib/cjs/errors/generic-error.d.ts +4 -0
- package/lib/cjs/errors/generic-error.js +14 -0
- package/lib/cjs/errors/generic-request-error.d.ts +10 -0
- package/lib/cjs/errors/generic-request-error.js +23 -0
- package/lib/cjs/errors/index.d.ts +10 -0
- package/lib/cjs/errors/index.js +27 -0
- package/lib/cjs/errors/jsonp-callback-missing-error.d.ts +4 -0
- package/lib/cjs/errors/jsonp-callback-missing-error.js +14 -0
- package/lib/cjs/errors/object-not-found-error.d.ts +4 -0
- package/lib/cjs/errors/object-not-found-error.js +14 -0
- package/lib/cjs/errors/options-validation-error.d.ts +4 -0
- package/lib/cjs/errors/options-validation-error.js +14 -0
- package/lib/cjs/errors/subscriber-only-error.d.ts +4 -0
- package/lib/cjs/errors/subscriber-only-error.js +14 -0
- package/lib/cjs/errors/unauthorized-error.d.ts +4 -0
- package/lib/cjs/errors/unauthorized-error.js +14 -0
- package/lib/cjs/errors/url-format-error.d.ts +4 -0
- package/lib/cjs/errors/url-format-error.js +14 -0
- package/lib/cjs/http-client/http-client-factory.d.ts +6 -0
- package/lib/cjs/http-client/http-client-factory.js +15 -0
- package/lib/cjs/http-client/http-client.d.ts +8 -0
- package/lib/cjs/http-client/http-client.js +69 -0
- package/lib/cjs/http-client/index.d.ts +1 -0
- package/lib/cjs/http-client/index.js +18 -0
- package/lib/cjs/http-client/status-code.js +14 -0
- package/lib/cjs/http-client/url-builder.d.ts +29 -0
- package/lib/cjs/http-client/url-builder.js +107 -0
- package/lib/cjs/index.d.ts +3 -0
- package/lib/cjs/index.js +5 -0
- package/lib/cjs/options/index.d.ts +22 -0
- package/lib/cjs/options/index.js +32 -0
- package/lib/cjs/package.json +3 -0
- package/lib/cjs/resources/base-resource.d.ts +19 -0
- package/lib/cjs/resources/base-resource.js +86 -0
- package/lib/cjs/resources/character/character.d.ts +6 -0
- package/lib/cjs/resources/character/character.js +13 -0
- package/lib/cjs/resources/character/index.d.ts +1 -0
- package/lib/cjs/resources/character/index.js +18 -0
- package/lib/cjs/resources/character/types/character-details.d.ts +110 -0
- package/lib/cjs/resources/character/types/character-details.js +3 -0
- package/lib/cjs/resources/character/types/character-list-item.d.ts +71 -0
- package/lib/cjs/resources/character/types/character-list-item.js +3 -0
- package/lib/cjs/resources/character/types/index.d.ts +2 -0
- package/lib/cjs/resources/character/types/index.js +19 -0
- package/lib/cjs/resources/common-types.js +3 -0
- package/lib/cjs/resources/concept/concept.d.ts +6 -0
- package/lib/cjs/resources/concept/concept.js +13 -0
- package/lib/cjs/resources/concept/index.d.ts +1 -0
- package/lib/cjs/resources/concept/index.js +18 -0
- package/lib/cjs/resources/concept/types/concept-details.d.ts +58 -0
- package/lib/cjs/resources/concept/types/concept-details.js +3 -0
- package/lib/cjs/resources/concept/types/concept-list-item.d.ts +52 -0
- package/lib/cjs/resources/concept/types/concept-list-item.js +3 -0
- package/lib/cjs/resources/concept/types/index.d.ts +2 -0
- package/lib/cjs/resources/concept/types/index.js +19 -0
- package/lib/cjs/resources/episode/episode.d.ts +6 -0
- package/lib/cjs/resources/episode/episode.js +13 -0
- package/lib/cjs/resources/episode/index.d.ts +1 -0
- package/lib/cjs/resources/episode/index.js +18 -0
- package/lib/cjs/resources/episode/types/episode-details.d.ts +87 -0
- package/lib/cjs/resources/episode/types/episode-details.js +3 -0
- package/lib/cjs/resources/episode/types/episode-list-item.d.ts +53 -0
- package/lib/cjs/resources/episode/types/episode-list-item.js +3 -0
- package/lib/cjs/resources/episode/types/index.d.ts +2 -0
- package/lib/cjs/resources/episode/types/index.js +19 -0
- package/lib/cjs/resources/index.d.ts +3 -0
- package/lib/cjs/resources/index.js +20 -0
- package/lib/cjs/resources/issue/index.d.ts +1 -0
- package/lib/cjs/resources/issue/index.js +18 -0
- package/lib/cjs/resources/issue/issue.d.ts +6 -0
- package/lib/cjs/resources/issue/issue.js +13 -0
- package/lib/cjs/resources/issue/types/index.d.ts +2 -0
- package/lib/cjs/resources/issue/types/index.js +19 -0
- package/lib/cjs/resources/issue/types/issue-details.d.ts +94 -0
- package/lib/cjs/resources/issue/types/issue-details.js +3 -0
- package/lib/cjs/resources/issue/types/issue-list-item.d.ts +61 -0
- package/lib/cjs/resources/issue/types/issue-list-item.js +3 -0
- package/lib/cjs/resources/location/index.d.ts +1 -0
- package/lib/cjs/resources/location/index.js +18 -0
- package/lib/cjs/resources/location/location.d.ts +6 -0
- package/lib/cjs/resources/location/location.js +13 -0
- package/lib/cjs/resources/location/types/index.d.ts +2 -0
- package/lib/cjs/resources/location/types/index.js +19 -0
- package/lib/cjs/resources/location/types/location-details.d.ts +62 -0
- package/lib/cjs/resources/location/types/location-details.js +3 -0
- package/lib/cjs/resources/location/types/location-list-item.d.ts +55 -0
- package/lib/cjs/resources/location/types/location-list-item.js +3 -0
- package/lib/cjs/resources/movie/index.d.ts +1 -0
- package/lib/cjs/resources/movie/index.js +18 -0
- package/lib/cjs/resources/movie/movie.d.ts +6 -0
- package/lib/cjs/resources/movie/movie.js +13 -0
- package/lib/cjs/resources/movie/types/index.d.ts +2 -0
- package/lib/cjs/resources/movie/types/index.js +19 -0
- package/lib/cjs/resources/movie/types/movie-details.d.ts +91 -0
- package/lib/cjs/resources/movie/types/movie-details.js +3 -0
- package/lib/cjs/resources/movie/types/movie-list-item.d.ts +74 -0
- package/lib/cjs/resources/movie/types/movie-list-item.js +3 -0
- package/lib/cjs/resources/origin/index.d.ts +1 -0
- package/lib/cjs/resources/origin/index.js +18 -0
- package/lib/cjs/resources/origin/origin.d.ts +6 -0
- package/lib/cjs/resources/origin/origin.js +13 -0
- package/lib/cjs/resources/origin/types/index.d.ts +2 -0
- package/lib/cjs/resources/origin/types/index.js +19 -0
- package/lib/cjs/resources/origin/types/origin-details.d.ts +22 -0
- package/lib/cjs/resources/origin/types/origin-details.js +3 -0
- package/lib/cjs/resources/origin/types/origin-list-item.d.ts +18 -0
- package/lib/cjs/resources/origin/types/origin-list-item.js +3 -0
- package/lib/cjs/resources/person/index.d.ts +1 -0
- package/lib/cjs/resources/person/index.js +18 -0
- package/lib/cjs/resources/person/person.d.ts +6 -0
- package/lib/cjs/resources/person/person.js +13 -0
- package/lib/cjs/resources/person/types/index.d.ts +2 -0
- package/lib/cjs/resources/person/types/index.js +19 -0
- package/lib/cjs/resources/person/types/person-details.d.ts +82 -0
- package/lib/cjs/resources/person/types/person-details.js +3 -0
- package/lib/cjs/resources/person/types/person-list-item.d.ts +77 -0
- package/lib/cjs/resources/person/types/person-list-item.js +8 -0
- package/lib/cjs/resources/power/index.d.ts +1 -0
- package/lib/cjs/resources/power/index.js +18 -0
- package/lib/cjs/resources/power/power.d.ts +6 -0
- package/lib/cjs/resources/power/power.js +13 -0
- package/lib/cjs/resources/power/types/index.d.ts +2 -0
- package/lib/cjs/resources/power/types/index.js +19 -0
- package/lib/cjs/resources/power/types/power-details.d.ts +39 -0
- package/lib/cjs/resources/power/types/power-details.js +3 -0
- package/lib/cjs/resources/power/types/power-list-item.d.ts +34 -0
- package/lib/cjs/resources/power/types/power-list-item.js +3 -0
- package/lib/cjs/resources/promo/index.d.ts +1 -0
- package/lib/cjs/resources/promo/index.js +18 -0
- package/lib/cjs/resources/promo/promo.d.ts +6 -0
- package/lib/cjs/resources/promo/promo.js +13 -0
- package/lib/cjs/resources/promo/types/index.d.ts +2 -0
- package/lib/cjs/resources/promo/types/index.js +19 -0
- package/lib/cjs/resources/promo/types/promo-details.d.ts +40 -0
- package/lib/cjs/resources/promo/types/promo-details.js +3 -0
- package/lib/cjs/resources/promo/types/promo-list-item.d.ts +40 -0
- package/lib/cjs/resources/promo/types/promo-list-item.js +3 -0
- package/lib/cjs/resources/publisher/index.d.ts +1 -0
- package/lib/cjs/resources/publisher/index.js +18 -0
- package/lib/cjs/resources/publisher/publisher.d.ts +6 -0
- package/lib/cjs/resources/publisher/publisher.js +13 -0
- package/lib/cjs/resources/publisher/types/index.d.ts +2 -0
- package/lib/cjs/resources/publisher/types/index.js +19 -0
- package/lib/cjs/resources/publisher/types/publisher-details.d.ts +71 -0
- package/lib/cjs/resources/publisher/types/publisher-details.js +3 -0
- package/lib/cjs/resources/publisher/types/publisher-list-item.d.ts +61 -0
- package/lib/cjs/resources/publisher/types/publisher-list-item.js +11 -0
- package/lib/cjs/resources/resource-factory.d.ts +8 -0
- package/lib/cjs/resources/resource-factory.js +42 -0
- package/lib/cjs/resources/resource-list.d.ts +19 -0
- package/lib/cjs/resources/resource-list.js +36 -0
- package/lib/cjs/resources/resource-map.d.ts +7 -0
- package/lib/cjs/resources/resource-map.js +40 -0
- package/lib/cjs/resources/resource-type.js +26 -0
- package/lib/cjs/resources/series/index.d.ts +1 -0
- package/lib/cjs/resources/series/index.js +18 -0
- package/lib/cjs/resources/series/series.d.ts +6 -0
- package/lib/cjs/resources/series/series.js +13 -0
- package/lib/cjs/resources/series/types/index.d.ts +2 -0
- package/lib/cjs/resources/series/types/index.js +19 -0
- package/lib/cjs/resources/series/types/series-details.d.ts +68 -0
- package/lib/cjs/resources/series/types/series-details.js +3 -0
- package/lib/cjs/resources/series/types/series-list-item.d.ts +18 -0
- package/lib/cjs/resources/series/types/series-list-item.js +3 -0
- package/lib/cjs/resources/story-arc/index.d.ts +1 -0
- package/lib/cjs/resources/story-arc/index.js +18 -0
- package/lib/cjs/resources/story-arc/story-arc.d.ts +6 -0
- package/lib/cjs/resources/story-arc/story-arc.js +13 -0
- package/lib/cjs/resources/story-arc/types/index.d.ts +2 -0
- package/lib/cjs/resources/story-arc/types/index.js +19 -0
- package/lib/cjs/resources/story-arc/types/story-arc-details.d.ts +62 -0
- package/lib/cjs/resources/story-arc/types/story-arc-details.js +3 -0
- package/lib/cjs/resources/story-arc/types/story-arc-list-item.d.ts +53 -0
- package/lib/cjs/resources/story-arc/types/story-arc-list-item.js +3 -0
- package/lib/cjs/resources/team/index.d.ts +1 -0
- package/lib/cjs/resources/team/index.js +18 -0
- package/lib/cjs/resources/team/team.d.ts +6 -0
- package/lib/cjs/resources/team/team.js +13 -0
- package/lib/cjs/resources/team/types/index.d.ts +2 -0
- package/lib/cjs/resources/team/types/index.js +19 -0
- package/lib/cjs/resources/team/types/team-details.d.ts +80 -0
- package/lib/cjs/resources/team/types/team-details.js +3 -0
- package/lib/cjs/resources/team/types/team-list-item.d.ts +56 -0
- package/lib/cjs/resources/team/types/team-list-item.js +3 -0
- package/lib/cjs/resources/thing/index.d.ts +1 -0
- package/lib/cjs/resources/thing/index.js +18 -0
- package/lib/cjs/resources/thing/thing.d.ts +6 -0
- package/lib/cjs/resources/thing/thing.js +13 -0
- package/lib/cjs/resources/thing/types/index.d.ts +2 -0
- package/lib/cjs/resources/thing/types/index.js +19 -0
- package/lib/cjs/resources/thing/types/thing-details.d.ts +62 -0
- package/lib/cjs/resources/thing/types/thing-details.js +3 -0
- package/lib/cjs/resources/thing/types/thing-list-item.d.ts +55 -0
- package/lib/cjs/resources/thing/types/thing-list-item.js +3 -0
- package/lib/cjs/resources/video/index.d.ts +1 -0
- package/lib/cjs/resources/video/index.js +18 -0
- package/lib/cjs/resources/video/types/index.d.ts +2 -0
- package/lib/cjs/resources/video/types/index.js +19 -0
- package/lib/cjs/resources/video/types/video-details.d.ts +63 -0
- package/lib/cjs/resources/video/types/video-details.js +3 -0
- package/lib/cjs/resources/video/types/video-list-item.d.ts +85 -0
- package/lib/cjs/resources/video/types/video-list-item.js +28 -0
- package/lib/cjs/resources/video/video.d.ts +6 -0
- package/lib/cjs/resources/video/video.js +13 -0
- package/lib/cjs/resources/video-category/index.d.ts +1 -0
- package/lib/cjs/resources/video-category/index.js +18 -0
- package/lib/cjs/resources/video-category/types/index.d.ts +2 -0
- package/lib/cjs/resources/video-category/types/index.js +19 -0
- package/lib/cjs/resources/video-category/types/video-category-details.d.ts +24 -0
- package/lib/cjs/resources/video-category/types/video-category-details.js +3 -0
- package/lib/cjs/resources/video-category/types/video-category-list-item.d.ts +24 -0
- package/lib/cjs/resources/video-category/types/video-category-list-item.js +3 -0
- package/lib/cjs/resources/video-category/video-category.d.ts +6 -0
- package/lib/cjs/resources/video-category/video-category.js +13 -0
- package/lib/cjs/resources/video-type/index.d.ts +1 -0
- package/lib/cjs/resources/video-type/index.js +18 -0
- package/lib/cjs/resources/video-type/types/index.d.ts +2 -0
- package/lib/cjs/resources/video-type/types/index.js +19 -0
- package/lib/cjs/resources/video-type/types/video-type-details.d.ts +22 -0
- package/lib/cjs/resources/video-type/types/video-type-details.js +3 -0
- package/lib/cjs/resources/video-type/types/video-type-list-item.d.ts +22 -0
- package/lib/cjs/resources/video-type/types/video-type-list-item.js +3 -0
- package/lib/cjs/resources/video-type/video-type.d.ts +6 -0
- package/lib/cjs/resources/video-type/video-type.js +13 -0
- package/lib/cjs/resources/volume/index.d.ts +1 -0
- package/lib/cjs/resources/volume/index.js +18 -0
- package/lib/cjs/resources/volume/types/index.d.ts +2 -0
- package/lib/cjs/resources/volume/types/index.js +19 -0
- package/lib/cjs/resources/volume/types/volume-details.d.ts +77 -0
- package/lib/cjs/resources/volume/types/volume-details.js +3 -0
- package/lib/cjs/resources/volume/types/volume-list-item.d.ts +63 -0
- package/lib/cjs/resources/volume/types/volume-list-item.js +3 -0
- package/lib/cjs/resources/volume/volume.d.ts +6 -0
- package/lib/cjs/resources/volume/volume.js +13 -0
- package/lib/cjs/types/apply-override.js +3 -0
- package/lib/cjs/types/http-client.d.ts +4 -0
- package/lib/cjs/types/http-client.js +3 -0
- package/lib/cjs/types/index.d.ts +7 -0
- package/lib/cjs/types/index.js +24 -0
- package/lib/cjs/types/iso-date.js +3 -0
- package/lib/cjs/types/pick-filters.js +3 -0
- package/lib/cjs/types/request.d.ts +31 -0
- package/lib/cjs/types/request.js +3 -0
- package/lib/cjs/types/response.d.ts +10 -0
- package/lib/cjs/types/response.js +3 -0
- package/lib/cjs/types/url-builder.d.ts +6 -0
- package/lib/cjs/types/url-builder.js +3 -0
- package/lib/cjs/types/valueof.js +3 -0
- package/lib/cjs/utils/case-converter.js +34 -0
- package/lib/cjs/utils/index.d.ts +2 -0
- package/lib/cjs/utils/index.js +19 -0
- package/lib/cjs/utils/is-object.js +8 -0
- package/lib/esm/comic-vine.d.ts +42 -0
- package/lib/esm/comic-vine.js +88 -0
- package/lib/esm/errors/base-error.js +14 -0
- package/lib/esm/errors/custom-error.d.ts +2 -0
- package/lib/esm/errors/custom-error.js +8 -0
- package/lib/esm/errors/filter-error.d.ts +4 -0
- package/lib/esm/errors/filter-error.js +10 -0
- package/lib/esm/errors/generic-error.d.ts +4 -0
- package/lib/esm/errors/generic-error.js +10 -0
- package/lib/esm/errors/generic-request-error.d.ts +10 -0
- package/lib/esm/errors/generic-request-error.js +18 -0
- package/lib/esm/errors/index.d.ts +10 -0
- package/lib/esm/errors/index.js +11 -0
- package/lib/esm/errors/jsonp-callback-missing-error.d.ts +4 -0
- package/lib/esm/errors/jsonp-callback-missing-error.js +10 -0
- package/lib/esm/errors/object-not-found-error.d.ts +4 -0
- package/lib/esm/errors/object-not-found-error.js +10 -0
- package/lib/esm/errors/options-validation-error.d.ts +4 -0
- package/lib/esm/errors/options-validation-error.js +10 -0
- package/lib/esm/errors/subscriber-only-error.d.ts +4 -0
- package/lib/esm/errors/subscriber-only-error.js +10 -0
- package/lib/esm/errors/unauthorized-error.d.ts +4 -0
- package/lib/esm/errors/unauthorized-error.js +10 -0
- package/lib/esm/errors/url-format-error.d.ts +4 -0
- package/lib/esm/errors/url-format-error.js +10 -0
- package/lib/esm/http-client/http-client-factory.d.ts +6 -0
- package/lib/esm/http-client/http-client-factory.js +11 -0
- package/lib/esm/http-client/http-client.d.ts +8 -0
- package/lib/esm/http-client/http-client.js +50 -0
- package/lib/esm/http-client/index.d.ts +1 -0
- package/lib/esm/http-client/index.js +2 -0
- package/lib/esm/http-client/status-code.js +11 -0
- package/lib/esm/http-client/url-builder.d.ts +29 -0
- package/lib/esm/http-client/url-builder.js +103 -0
- package/lib/esm/index.d.ts +3 -0
- package/lib/esm/index.js +3 -0
- package/lib/esm/options/index.d.ts +22 -0
- package/lib/esm/options/index.js +28 -0
- package/lib/esm/package.json +3 -0
- package/lib/esm/resources/base-resource.d.ts +19 -0
- package/lib/esm/resources/base-resource.js +54 -0
- package/lib/esm/resources/character/character.d.ts +6 -0
- package/lib/esm/resources/character/character.js +9 -0
- package/lib/esm/resources/character/index.d.ts +1 -0
- package/lib/esm/resources/character/index.js +2 -0
- package/lib/esm/resources/character/types/character-details.d.ts +110 -0
- package/lib/esm/resources/character/types/character-details.js +2 -0
- package/lib/esm/resources/character/types/character-list-item.d.ts +71 -0
- package/lib/esm/resources/character/types/character-list-item.js +2 -0
- package/lib/esm/resources/character/types/index.d.ts +2 -0
- package/lib/esm/resources/character/types/index.js +3 -0
- package/lib/esm/resources/common-types.js +2 -0
- package/lib/esm/resources/concept/concept.d.ts +6 -0
- package/lib/esm/resources/concept/concept.js +9 -0
- package/lib/esm/resources/concept/index.d.ts +1 -0
- package/lib/esm/resources/concept/index.js +2 -0
- package/lib/esm/resources/concept/types/concept-details.d.ts +58 -0
- package/lib/esm/resources/concept/types/concept-details.js +2 -0
- package/lib/esm/resources/concept/types/concept-list-item.d.ts +52 -0
- package/lib/esm/resources/concept/types/concept-list-item.js +2 -0
- package/lib/esm/resources/concept/types/index.d.ts +2 -0
- package/lib/esm/resources/concept/types/index.js +3 -0
- package/lib/esm/resources/episode/episode.d.ts +6 -0
- package/lib/esm/resources/episode/episode.js +9 -0
- package/lib/esm/resources/episode/index.d.ts +1 -0
- package/lib/esm/resources/episode/index.js +2 -0
- package/lib/esm/resources/episode/types/episode-details.d.ts +87 -0
- package/lib/esm/resources/episode/types/episode-details.js +2 -0
- package/lib/esm/resources/episode/types/episode-list-item.d.ts +53 -0
- package/lib/esm/resources/episode/types/episode-list-item.js +2 -0
- package/lib/esm/resources/episode/types/index.d.ts +2 -0
- package/lib/esm/resources/episode/types/index.js +3 -0
- package/lib/esm/resources/index.d.ts +3 -0
- package/lib/esm/resources/index.js +4 -0
- package/lib/esm/resources/issue/index.d.ts +1 -0
- package/lib/esm/resources/issue/index.js +2 -0
- package/lib/esm/resources/issue/issue.d.ts +6 -0
- package/lib/esm/resources/issue/issue.js +9 -0
- package/lib/esm/resources/issue/types/index.d.ts +2 -0
- package/lib/esm/resources/issue/types/index.js +3 -0
- package/lib/esm/resources/issue/types/issue-details.d.ts +94 -0
- package/lib/esm/resources/issue/types/issue-details.js +2 -0
- package/lib/esm/resources/issue/types/issue-list-item.d.ts +61 -0
- package/lib/esm/resources/issue/types/issue-list-item.js +2 -0
- package/lib/esm/resources/location/index.d.ts +1 -0
- package/lib/esm/resources/location/index.js +2 -0
- package/lib/esm/resources/location/location.d.ts +6 -0
- package/lib/esm/resources/location/location.js +9 -0
- package/lib/esm/resources/location/types/index.d.ts +2 -0
- package/lib/esm/resources/location/types/index.js +3 -0
- package/lib/esm/resources/location/types/location-details.d.ts +62 -0
- package/lib/esm/resources/location/types/location-details.js +2 -0
- package/lib/esm/resources/location/types/location-list-item.d.ts +55 -0
- package/lib/esm/resources/location/types/location-list-item.js +2 -0
- package/lib/esm/resources/movie/index.d.ts +1 -0
- package/lib/esm/resources/movie/index.js +2 -0
- package/lib/esm/resources/movie/movie.d.ts +6 -0
- package/lib/esm/resources/movie/movie.js +9 -0
- package/lib/esm/resources/movie/types/index.d.ts +2 -0
- package/lib/esm/resources/movie/types/index.js +3 -0
- package/lib/esm/resources/movie/types/movie-details.d.ts +91 -0
- package/lib/esm/resources/movie/types/movie-details.js +2 -0
- package/lib/esm/resources/movie/types/movie-list-item.d.ts +74 -0
- package/lib/esm/resources/movie/types/movie-list-item.js +2 -0
- package/lib/esm/resources/origin/index.d.ts +1 -0
- package/lib/esm/resources/origin/index.js +2 -0
- package/lib/esm/resources/origin/origin.d.ts +6 -0
- package/lib/esm/resources/origin/origin.js +9 -0
- package/lib/esm/resources/origin/types/index.d.ts +2 -0
- package/lib/esm/resources/origin/types/index.js +3 -0
- package/lib/esm/resources/origin/types/origin-details.d.ts +22 -0
- package/lib/esm/resources/origin/types/origin-details.js +2 -0
- package/lib/esm/resources/origin/types/origin-list-item.d.ts +18 -0
- package/lib/esm/resources/origin/types/origin-list-item.js +2 -0
- package/lib/esm/resources/person/index.d.ts +1 -0
- package/lib/esm/resources/person/index.js +2 -0
- package/lib/esm/resources/person/person.d.ts +6 -0
- package/lib/esm/resources/person/person.js +9 -0
- package/lib/esm/resources/person/types/index.d.ts +2 -0
- package/lib/esm/resources/person/types/index.js +3 -0
- package/lib/esm/resources/person/types/person-details.d.ts +82 -0
- package/lib/esm/resources/person/types/person-details.js +2 -0
- package/lib/esm/resources/person/types/person-list-item.d.ts +77 -0
- package/lib/esm/resources/person/types/person-list-item.js +5 -0
- package/lib/esm/resources/power/index.d.ts +1 -0
- package/lib/esm/resources/power/index.js +2 -0
- package/lib/esm/resources/power/power.d.ts +6 -0
- package/lib/esm/resources/power/power.js +9 -0
- package/lib/esm/resources/power/types/index.d.ts +2 -0
- package/lib/esm/resources/power/types/index.js +3 -0
- package/lib/esm/resources/power/types/power-details.d.ts +39 -0
- package/lib/esm/resources/power/types/power-details.js +2 -0
- package/lib/esm/resources/power/types/power-list-item.d.ts +34 -0
- package/lib/esm/resources/power/types/power-list-item.js +2 -0
- package/lib/esm/resources/promo/index.d.ts +1 -0
- package/lib/esm/resources/promo/index.js +2 -0
- package/lib/esm/resources/promo/promo.d.ts +6 -0
- package/lib/esm/resources/promo/promo.js +9 -0
- package/lib/esm/resources/promo/types/index.d.ts +2 -0
- package/lib/esm/resources/promo/types/index.js +3 -0
- package/lib/esm/resources/promo/types/promo-details.d.ts +40 -0
- package/lib/esm/resources/promo/types/promo-details.js +2 -0
- package/lib/esm/resources/promo/types/promo-list-item.d.ts +40 -0
- package/lib/esm/resources/promo/types/promo-list-item.js +2 -0
- package/lib/esm/resources/publisher/index.d.ts +1 -0
- package/lib/esm/resources/publisher/index.js +2 -0
- package/lib/esm/resources/publisher/publisher.d.ts +6 -0
- package/lib/esm/resources/publisher/publisher.js +9 -0
- package/lib/esm/resources/publisher/types/index.d.ts +2 -0
- package/lib/esm/resources/publisher/types/index.js +3 -0
- package/lib/esm/resources/publisher/types/publisher-details.d.ts +71 -0
- package/lib/esm/resources/publisher/types/publisher-details.js +2 -0
- package/lib/esm/resources/publisher/types/publisher-list-item.d.ts +61 -0
- package/lib/esm/resources/publisher/types/publisher-list-item.js +8 -0
- package/lib/esm/resources/resource-factory.d.ts +8 -0
- package/lib/esm/resources/resource-factory.js +15 -0
- package/lib/esm/resources/resource-list.d.ts +19 -0
- package/lib/esm/resources/resource-list.js +20 -0
- package/lib/esm/resources/resource-map.d.ts +7 -0
- package/lib/esm/resources/resource-map.js +36 -0
- package/lib/esm/resources/resource-type.js +23 -0
- package/lib/esm/resources/series/index.d.ts +1 -0
- package/lib/esm/resources/series/index.js +2 -0
- package/lib/esm/resources/series/series.d.ts +6 -0
- package/lib/esm/resources/series/series.js +9 -0
- package/lib/esm/resources/series/types/index.d.ts +2 -0
- package/lib/esm/resources/series/types/index.js +3 -0
- package/lib/esm/resources/series/types/series-details.d.ts +68 -0
- package/lib/esm/resources/series/types/series-details.js +2 -0
- package/lib/esm/resources/series/types/series-list-item.d.ts +18 -0
- package/lib/esm/resources/series/types/series-list-item.js +2 -0
- package/lib/esm/resources/story-arc/index.d.ts +1 -0
- package/lib/esm/resources/story-arc/index.js +2 -0
- package/lib/esm/resources/story-arc/story-arc.d.ts +6 -0
- package/lib/esm/resources/story-arc/story-arc.js +9 -0
- package/lib/esm/resources/story-arc/types/index.d.ts +2 -0
- package/lib/esm/resources/story-arc/types/index.js +3 -0
- package/lib/esm/resources/story-arc/types/story-arc-details.d.ts +62 -0
- package/lib/esm/resources/story-arc/types/story-arc-details.js +2 -0
- package/lib/esm/resources/story-arc/types/story-arc-list-item.d.ts +53 -0
- package/lib/esm/resources/story-arc/types/story-arc-list-item.js +2 -0
- package/lib/esm/resources/team/index.d.ts +1 -0
- package/lib/esm/resources/team/index.js +2 -0
- package/lib/esm/resources/team/team.d.ts +6 -0
- package/lib/esm/resources/team/team.js +9 -0
- package/lib/esm/resources/team/types/index.d.ts +2 -0
- package/lib/esm/resources/team/types/index.js +3 -0
- package/lib/esm/resources/team/types/team-details.d.ts +80 -0
- package/lib/esm/resources/team/types/team-details.js +2 -0
- package/lib/esm/resources/team/types/team-list-item.d.ts +56 -0
- package/lib/esm/resources/team/types/team-list-item.js +2 -0
- package/lib/esm/resources/thing/index.d.ts +1 -0
- package/lib/esm/resources/thing/index.js +2 -0
- package/lib/esm/resources/thing/thing.d.ts +6 -0
- package/lib/esm/resources/thing/thing.js +9 -0
- package/lib/esm/resources/thing/types/index.d.ts +2 -0
- package/lib/esm/resources/thing/types/index.js +3 -0
- package/lib/esm/resources/thing/types/thing-details.d.ts +62 -0
- package/lib/esm/resources/thing/types/thing-details.js +2 -0
- package/lib/esm/resources/thing/types/thing-list-item.d.ts +55 -0
- package/lib/esm/resources/thing/types/thing-list-item.js +2 -0
- package/lib/esm/resources/video/index.d.ts +1 -0
- package/lib/esm/resources/video/index.js +2 -0
- package/lib/esm/resources/video/types/index.d.ts +2 -0
- package/lib/esm/resources/video/types/index.js +3 -0
- package/lib/esm/resources/video/types/video-details.d.ts +63 -0
- package/lib/esm/resources/video/types/video-details.js +2 -0
- package/lib/esm/resources/video/types/video-list-item.d.ts +85 -0
- package/lib/esm/resources/video/types/video-list-item.js +25 -0
- package/lib/esm/resources/video/video.d.ts +6 -0
- package/lib/esm/resources/video/video.js +9 -0
- package/lib/esm/resources/video-category/index.d.ts +1 -0
- package/lib/esm/resources/video-category/index.js +2 -0
- package/lib/esm/resources/video-category/types/index.d.ts +2 -0
- package/lib/esm/resources/video-category/types/index.js +3 -0
- package/lib/esm/resources/video-category/types/video-category-details.d.ts +24 -0
- package/lib/esm/resources/video-category/types/video-category-details.js +2 -0
- package/lib/esm/resources/video-category/types/video-category-list-item.d.ts +24 -0
- package/lib/esm/resources/video-category/types/video-category-list-item.js +2 -0
- package/lib/esm/resources/video-category/video-category.d.ts +6 -0
- package/lib/esm/resources/video-category/video-category.js +9 -0
- package/lib/esm/resources/video-type/index.d.ts +1 -0
- package/lib/esm/resources/video-type/index.js +2 -0
- package/lib/esm/resources/video-type/types/index.d.ts +2 -0
- package/lib/esm/resources/video-type/types/index.js +3 -0
- package/lib/esm/resources/video-type/types/video-type-details.d.ts +22 -0
- package/lib/esm/resources/video-type/types/video-type-details.js +2 -0
- package/lib/esm/resources/video-type/types/video-type-list-item.d.ts +22 -0
- package/lib/esm/resources/video-type/types/video-type-list-item.js +2 -0
- package/lib/esm/resources/video-type/video-type.d.ts +6 -0
- package/lib/esm/resources/video-type/video-type.js +9 -0
- package/lib/esm/resources/volume/index.d.ts +1 -0
- package/lib/esm/resources/volume/index.js +2 -0
- package/lib/esm/resources/volume/types/index.d.ts +2 -0
- package/lib/esm/resources/volume/types/index.js +3 -0
- package/lib/esm/resources/volume/types/volume-details.d.ts +77 -0
- package/lib/esm/resources/volume/types/volume-details.js +2 -0
- package/lib/esm/resources/volume/types/volume-list-item.d.ts +63 -0
- package/lib/esm/resources/volume/types/volume-list-item.js +2 -0
- package/lib/esm/resources/volume/volume.d.ts +6 -0
- package/lib/esm/resources/volume/volume.js +9 -0
- package/lib/esm/types/apply-override.js +2 -0
- package/lib/esm/types/http-client.d.ts +4 -0
- package/lib/esm/types/http-client.js +2 -0
- package/lib/esm/types/index.d.ts +7 -0
- package/lib/esm/types/index.js +8 -0
- package/lib/esm/types/iso-date.js +2 -0
- package/lib/esm/types/pick-filters.js +2 -0
- package/lib/esm/types/request.d.ts +31 -0
- package/lib/esm/types/request.js +2 -0
- package/lib/esm/types/response.d.ts +10 -0
- package/lib/esm/types/response.js +2 -0
- package/lib/esm/types/url-builder.d.ts +6 -0
- package/lib/esm/types/url-builder.js +2 -0
- package/lib/esm/types/valueof.js +2 -0
- package/lib/esm/utils/case-converter.js +27 -0
- package/lib/esm/utils/index.d.ts +2 -0
- package/lib/esm/utils/index.js +3 -0
- package/lib/esm/utils/is-object.js +4 -0
- package/package-old.json +90 -0
- package/package.json +86 -73
- package/scripts/create-package-json.ts +30 -0
- package/vitest.config.ts +8 -0
- package/dist/cjs/comic-vine.d.ts +0 -42
- package/dist/cjs/comic-vine.js +0 -92
- package/dist/cjs/comic-vine.js.map +0 -1
- package/dist/cjs/errors/base-error.js +0 -15
- package/dist/cjs/errors/base-error.js.map +0 -1
- package/dist/cjs/errors/custom-error.d.ts +0 -2
- package/dist/cjs/errors/custom-error.js +0 -12
- package/dist/cjs/errors/custom-error.js.map +0 -1
- package/dist/cjs/errors/filter-error.d.ts +0 -4
- package/dist/cjs/errors/filter-error.js +0 -14
- package/dist/cjs/errors/filter-error.js.map +0 -1
- package/dist/cjs/errors/generic-error.d.ts +0 -4
- package/dist/cjs/errors/generic-error.js +0 -14
- package/dist/cjs/errors/generic-error.js.map +0 -1
- package/dist/cjs/errors/generic-request-error.d.ts +0 -7
- package/dist/cjs/errors/generic-request-error.js +0 -20
- package/dist/cjs/errors/generic-request-error.js.map +0 -1
- package/dist/cjs/errors/index.d.ts +0 -10
- package/dist/cjs/errors/index.js +0 -27
- package/dist/cjs/errors/index.js.map +0 -1
- package/dist/cjs/errors/jsonp-callback-missing-error.d.ts +0 -4
- package/dist/cjs/errors/jsonp-callback-missing-error.js +0 -14
- package/dist/cjs/errors/jsonp-callback-missing-error.js.map +0 -1
- package/dist/cjs/errors/object-not-found-error.d.ts +0 -4
- package/dist/cjs/errors/object-not-found-error.js +0 -14
- package/dist/cjs/errors/object-not-found-error.js.map +0 -1
- package/dist/cjs/errors/options-validation-error.d.ts +0 -4
- package/dist/cjs/errors/options-validation-error.js +0 -14
- package/dist/cjs/errors/options-validation-error.js.map +0 -1
- package/dist/cjs/errors/subscriber-only-error.d.ts +0 -4
- package/dist/cjs/errors/subscriber-only-error.js +0 -14
- package/dist/cjs/errors/subscriber-only-error.js.map +0 -1
- package/dist/cjs/errors/unauthorized-error.d.ts +0 -4
- package/dist/cjs/errors/unauthorized-error.js +0 -14
- package/dist/cjs/errors/unauthorized-error.js.map +0 -1
- package/dist/cjs/errors/url-format-error.d.ts +0 -4
- package/dist/cjs/errors/url-format-error.js +0 -14
- package/dist/cjs/errors/url-format-error.js.map +0 -1
- package/dist/cjs/http-client/http-client-factory.d.ts +0 -6
- package/dist/cjs/http-client/http-client-factory.js +0 -15
- package/dist/cjs/http-client/http-client-factory.js.map +0 -1
- package/dist/cjs/http-client/http-client.d.ts +0 -8
- package/dist/cjs/http-client/http-client.js +0 -69
- package/dist/cjs/http-client/http-client.js.map +0 -1
- package/dist/cjs/http-client/index.d.ts +0 -1
- package/dist/cjs/http-client/index.js +0 -18
- package/dist/cjs/http-client/index.js.map +0 -1
- package/dist/cjs/http-client/status-code.js +0 -14
- package/dist/cjs/http-client/status-code.js.map +0 -1
- package/dist/cjs/http-client/url-builder.d.ts +0 -18
- package/dist/cjs/http-client/url-builder.js +0 -90
- package/dist/cjs/http-client/url-builder.js.map +0 -1
- package/dist/cjs/index.cjs.d.ts +0 -2
- package/dist/cjs/index.cjs.js +0 -4
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/options/index.d.ts +0 -16
- package/dist/cjs/options/index.js +0 -26
- package/dist/cjs/options/index.js.map +0 -1
- package/dist/cjs/package.json +0 -3
- package/dist/cjs/resources/base-resource.d.ts +0 -19
- package/dist/cjs/resources/base-resource.js +0 -85
- package/dist/cjs/resources/base-resource.js.map +0 -1
- package/dist/cjs/resources/character/character.d.ts +0 -6
- package/dist/cjs/resources/character/character.js +0 -13
- package/dist/cjs/resources/character/character.js.map +0 -1
- package/dist/cjs/resources/character/index.d.ts +0 -1
- package/dist/cjs/resources/character/index.js +0 -18
- package/dist/cjs/resources/character/index.js.map +0 -1
- package/dist/cjs/resources/character/types/character-details.d.ts +0 -32
- package/dist/cjs/resources/character/types/character-details.js +0 -3
- package/dist/cjs/resources/character/types/character-details.js.map +0 -1
- package/dist/cjs/resources/character/types/character-list-item.d.ts +0 -20
- package/dist/cjs/resources/character/types/character-list-item.js +0 -3
- package/dist/cjs/resources/character/types/character-list-item.js.map +0 -1
- package/dist/cjs/resources/character/types/index.d.ts +0 -2
- package/dist/cjs/resources/character/types/index.js +0 -19
- package/dist/cjs/resources/character/types/index.js.map +0 -1
- package/dist/cjs/resources/common-types.js +0 -3
- package/dist/cjs/resources/common-types.js.map +0 -1
- package/dist/cjs/resources/concept/concept.d.ts +0 -6
- package/dist/cjs/resources/concept/concept.js +0 -13
- package/dist/cjs/resources/concept/concept.js.map +0 -1
- package/dist/cjs/resources/concept/index.d.ts +0 -1
- package/dist/cjs/resources/concept/index.js +0 -18
- package/dist/cjs/resources/concept/index.js.map +0 -1
- package/dist/cjs/resources/concept/types/concept-details.d.ts +0 -19
- package/dist/cjs/resources/concept/types/concept-details.js +0 -3
- package/dist/cjs/resources/concept/types/concept-details.js.map +0 -1
- package/dist/cjs/resources/concept/types/concept-list-item.d.ts +0 -16
- package/dist/cjs/resources/concept/types/concept-list-item.js +0 -3
- package/dist/cjs/resources/concept/types/concept-list-item.js.map +0 -1
- package/dist/cjs/resources/concept/types/index.d.ts +0 -2
- package/dist/cjs/resources/concept/types/index.js +0 -19
- package/dist/cjs/resources/concept/types/index.js.map +0 -1
- package/dist/cjs/resources/episode/episode.d.ts +0 -6
- package/dist/cjs/resources/episode/episode.js +0 -13
- package/dist/cjs/resources/episode/episode.js.map +0 -1
- package/dist/cjs/resources/episode/index.d.ts +0 -1
- package/dist/cjs/resources/episode/index.js +0 -18
- package/dist/cjs/resources/episode/index.js.map +0 -1
- package/dist/cjs/resources/episode/types/episode-details.d.ts +0 -30
- package/dist/cjs/resources/episode/types/episode-details.js +0 -3
- package/dist/cjs/resources/episode/types/episode-details.js.map +0 -1
- package/dist/cjs/resources/episode/types/episode-list-item.d.ts +0 -17
- package/dist/cjs/resources/episode/types/episode-list-item.js +0 -3
- package/dist/cjs/resources/episode/types/episode-list-item.js.map +0 -1
- package/dist/cjs/resources/episode/types/index.d.ts +0 -2
- package/dist/cjs/resources/episode/types/index.js +0 -19
- package/dist/cjs/resources/episode/types/index.js.map +0 -1
- package/dist/cjs/resources/index.d.ts +0 -3
- package/dist/cjs/resources/index.js +0 -20
- package/dist/cjs/resources/index.js.map +0 -1
- package/dist/cjs/resources/issue/index.d.ts +0 -1
- package/dist/cjs/resources/issue/index.js +0 -18
- package/dist/cjs/resources/issue/index.js.map +0 -1
- package/dist/cjs/resources/issue/issue.d.ts +0 -6
- package/dist/cjs/resources/issue/issue.js +0 -13
- package/dist/cjs/resources/issue/issue.js.map +0 -1
- package/dist/cjs/resources/issue/types/index.d.ts +0 -2
- package/dist/cjs/resources/issue/types/index.js +0 -19
- package/dist/cjs/resources/issue/types/index.js.map +0 -1
- package/dist/cjs/resources/issue/types/issue-details.d.ts +0 -34
- package/dist/cjs/resources/issue/types/issue-details.js +0 -3
- package/dist/cjs/resources/issue/types/issue-details.js.map +0 -1
- package/dist/cjs/resources/issue/types/issue-list-item.d.ts +0 -19
- package/dist/cjs/resources/issue/types/issue-list-item.js +0 -3
- package/dist/cjs/resources/issue/types/issue-list-item.js.map +0 -1
- package/dist/cjs/resources/location/index.d.ts +0 -1
- package/dist/cjs/resources/location/index.js +0 -18
- package/dist/cjs/resources/location/index.js.map +0 -1
- package/dist/cjs/resources/location/location.d.ts +0 -6
- package/dist/cjs/resources/location/location.js +0 -13
- package/dist/cjs/resources/location/location.js.map +0 -1
- package/dist/cjs/resources/location/types/index.d.ts +0 -2
- package/dist/cjs/resources/location/types/index.js +0 -19
- package/dist/cjs/resources/location/types/index.js.map +0 -1
- package/dist/cjs/resources/location/types/location-details.d.ts +0 -20
- package/dist/cjs/resources/location/types/location-details.js +0 -3
- package/dist/cjs/resources/location/types/location-details.js.map +0 -1
- package/dist/cjs/resources/location/types/location-list-item.d.ts +0 -16
- package/dist/cjs/resources/location/types/location-list-item.js +0 -3
- package/dist/cjs/resources/location/types/location-list-item.js.map +0 -1
- package/dist/cjs/resources/movie/index.d.ts +0 -1
- package/dist/cjs/resources/movie/index.js +0 -18
- package/dist/cjs/resources/movie/index.js.map +0 -1
- package/dist/cjs/resources/movie/movie.d.ts +0 -6
- package/dist/cjs/resources/movie/movie.js +0 -13
- package/dist/cjs/resources/movie/movie.js.map +0 -1
- package/dist/cjs/resources/movie/types/index.d.ts +0 -2
- package/dist/cjs/resources/movie/types/index.js +0 -19
- package/dist/cjs/resources/movie/types/index.js.map +0 -1
- package/dist/cjs/resources/movie/types/movie-details.d.ts +0 -28
- package/dist/cjs/resources/movie/types/movie-details.js +0 -3
- package/dist/cjs/resources/movie/types/movie-details.js.map +0 -1
- package/dist/cjs/resources/movie/types/movie-list-item.d.ts +0 -23
- package/dist/cjs/resources/movie/types/movie-list-item.js +0 -3
- package/dist/cjs/resources/movie/types/movie-list-item.js.map +0 -1
- package/dist/cjs/resources/origin/index.d.ts +0 -1
- package/dist/cjs/resources/origin/index.js +0 -18
- package/dist/cjs/resources/origin/index.js.map +0 -1
- package/dist/cjs/resources/origin/origin.d.ts +0 -6
- package/dist/cjs/resources/origin/origin.js +0 -13
- package/dist/cjs/resources/origin/origin.js.map +0 -1
- package/dist/cjs/resources/origin/types/index.d.ts +0 -2
- package/dist/cjs/resources/origin/types/index.js +0 -19
- package/dist/cjs/resources/origin/types/index.js.map +0 -1
- package/dist/cjs/resources/origin/types/origin-details.d.ts +0 -10
- package/dist/cjs/resources/origin/types/origin-details.js +0 -3
- package/dist/cjs/resources/origin/types/origin-details.js.map +0 -1
- package/dist/cjs/resources/origin/types/origin-list-item.d.ts +0 -6
- package/dist/cjs/resources/origin/types/origin-list-item.js +0 -3
- package/dist/cjs/resources/origin/types/origin-list-item.js.map +0 -1
- package/dist/cjs/resources/person/index.d.ts +0 -1
- package/dist/cjs/resources/person/index.js +0 -18
- package/dist/cjs/resources/person/index.js.map +0 -1
- package/dist/cjs/resources/person/person.d.ts +0 -6
- package/dist/cjs/resources/person/person.js +0 -13
- package/dist/cjs/resources/person/person.js.map +0 -1
- package/dist/cjs/resources/person/types/index.d.ts +0 -2
- package/dist/cjs/resources/person/types/index.js +0 -19
- package/dist/cjs/resources/person/types/index.js.map +0 -1
- package/dist/cjs/resources/person/types/person-details.d.ts +0 -25
- package/dist/cjs/resources/person/types/person-details.js +0 -3
- package/dist/cjs/resources/person/types/person-details.js.map +0 -1
- package/dist/cjs/resources/person/types/person-list-item.d.ts +0 -26
- package/dist/cjs/resources/person/types/person-list-item.js +0 -8
- package/dist/cjs/resources/person/types/person-list-item.js.map +0 -1
- package/dist/cjs/resources/power/index.d.ts +0 -1
- package/dist/cjs/resources/power/index.js +0 -18
- package/dist/cjs/resources/power/index.js.map +0 -1
- package/dist/cjs/resources/power/power.d.ts +0 -6
- package/dist/cjs/resources/power/power.js +0 -13
- package/dist/cjs/resources/power/power.js.map +0 -1
- package/dist/cjs/resources/power/types/index.d.ts +0 -2
- package/dist/cjs/resources/power/types/index.js +0 -19
- package/dist/cjs/resources/power/types/index.js.map +0 -1
- package/dist/cjs/resources/power/types/power-details.d.ts +0 -12
- package/dist/cjs/resources/power/types/power-details.js +0 -3
- package/dist/cjs/resources/power/types/power-details.js.map +0 -1
- package/dist/cjs/resources/power/types/power-list-item.d.ts +0 -10
- package/dist/cjs/resources/power/types/power-list-item.js +0 -3
- package/dist/cjs/resources/power/types/power-list-item.js.map +0 -1
- package/dist/cjs/resources/promo/index.d.ts +0 -1
- package/dist/cjs/resources/promo/index.js +0 -18
- package/dist/cjs/resources/promo/index.js.map +0 -1
- package/dist/cjs/resources/promo/promo.d.ts +0 -6
- package/dist/cjs/resources/promo/promo.js +0 -13
- package/dist/cjs/resources/promo/promo.js.map +0 -1
- package/dist/cjs/resources/promo/types/index.d.ts +0 -2
- package/dist/cjs/resources/promo/types/index.js +0 -19
- package/dist/cjs/resources/promo/types/index.js.map +0 -1
- package/dist/cjs/resources/promo/types/promo-details.d.ts +0 -13
- package/dist/cjs/resources/promo/types/promo-details.js +0 -3
- package/dist/cjs/resources/promo/types/promo-details.js.map +0 -1
- package/dist/cjs/resources/promo/types/promo-list-item.d.ts +0 -13
- package/dist/cjs/resources/promo/types/promo-list-item.js +0 -3
- package/dist/cjs/resources/promo/types/promo-list-item.js.map +0 -1
- package/dist/cjs/resources/publisher/index.d.ts +0 -1
- package/dist/cjs/resources/publisher/index.js +0 -18
- package/dist/cjs/resources/publisher/index.js.map +0 -1
- package/dist/cjs/resources/publisher/publisher.d.ts +0 -6
- package/dist/cjs/resources/publisher/publisher.js +0 -13
- package/dist/cjs/resources/publisher/publisher.js.map +0 -1
- package/dist/cjs/resources/publisher/types/index.d.ts +0 -2
- package/dist/cjs/resources/publisher/types/index.js +0 -19
- package/dist/cjs/resources/publisher/types/index.js.map +0 -1
- package/dist/cjs/resources/publisher/types/publisher-details.d.ts +0 -20
- package/dist/cjs/resources/publisher/types/publisher-details.js +0 -3
- package/dist/cjs/resources/publisher/types/publisher-details.js.map +0 -1
- package/dist/cjs/resources/publisher/types/publisher-list-item.d.ts +0 -22
- package/dist/cjs/resources/publisher/types/publisher-list-item.js +0 -11
- package/dist/cjs/resources/publisher/types/publisher-list-item.js.map +0 -1
- package/dist/cjs/resources/resource-factory.d.ts +0 -8
- package/dist/cjs/resources/resource-factory.js +0 -42
- package/dist/cjs/resources/resource-factory.js.map +0 -1
- package/dist/cjs/resources/resource-list.d.ts +0 -19
- package/dist/cjs/resources/resource-list.js +0 -36
- package/dist/cjs/resources/resource-list.js.map +0 -1
- package/dist/cjs/resources/resource-map.d.ts +0 -7
- package/dist/cjs/resources/resource-map.js +0 -40
- package/dist/cjs/resources/resource-map.js.map +0 -1
- package/dist/cjs/resources/resource-type.js +0 -26
- package/dist/cjs/resources/resource-type.js.map +0 -1
- package/dist/cjs/resources/series/index.d.ts +0 -1
- package/dist/cjs/resources/series/index.js +0 -18
- package/dist/cjs/resources/series/index.js.map +0 -1
- package/dist/cjs/resources/series/series.d.ts +0 -6
- package/dist/cjs/resources/series/series.js +0 -13
- package/dist/cjs/resources/series/series.js.map +0 -1
- package/dist/cjs/resources/series/types/index.d.ts +0 -2
- package/dist/cjs/resources/series/types/index.js +0 -19
- package/dist/cjs/resources/series/types/index.js.map +0 -1
- package/dist/cjs/resources/series/types/series-details.d.ts +0 -20
- package/dist/cjs/resources/series/types/series-details.js +0 -3
- package/dist/cjs/resources/series/types/series-details.js.map +0 -1
- package/dist/cjs/resources/series/types/series-list-item.d.ts +0 -18
- package/dist/cjs/resources/series/types/series-list-item.js +0 -3
- package/dist/cjs/resources/series/types/series-list-item.js.map +0 -1
- package/dist/cjs/resources/story-arc/index.d.ts +0 -1
- package/dist/cjs/resources/story-arc/index.js +0 -18
- package/dist/cjs/resources/story-arc/index.js.map +0 -1
- package/dist/cjs/resources/story-arc/story-arc.d.ts +0 -6
- package/dist/cjs/resources/story-arc/story-arc.js +0 -13
- package/dist/cjs/resources/story-arc/story-arc.js.map +0 -1
- package/dist/cjs/resources/story-arc/types/index.d.ts +0 -2
- package/dist/cjs/resources/story-arc/types/index.js +0 -19
- package/dist/cjs/resources/story-arc/types/index.js.map +0 -1
- package/dist/cjs/resources/story-arc/types/story-arc-details.d.ts +0 -20
- package/dist/cjs/resources/story-arc/types/story-arc-details.js +0 -3
- package/dist/cjs/resources/story-arc/types/story-arc-details.js.map +0 -1
- package/dist/cjs/resources/story-arc/types/story-arc-list-item.d.ts +0 -17
- package/dist/cjs/resources/story-arc/types/story-arc-list-item.js +0 -3
- package/dist/cjs/resources/story-arc/types/story-arc-list-item.js.map +0 -1
- package/dist/cjs/resources/team/index.d.ts +0 -1
- package/dist/cjs/resources/team/index.js +0 -18
- package/dist/cjs/resources/team/index.js.map +0 -1
- package/dist/cjs/resources/team/team.d.ts +0 -6
- package/dist/cjs/resources/team/team.js +0 -13
- package/dist/cjs/resources/team/team.js.map +0 -1
- package/dist/cjs/resources/team/types/index.d.ts +0 -2
- package/dist/cjs/resources/team/types/index.js +0 -19
- package/dist/cjs/resources/team/types/index.js.map +0 -1
- package/dist/cjs/resources/team/types/team-details.d.ts +0 -26
- package/dist/cjs/resources/team/types/team-details.js +0 -3
- package/dist/cjs/resources/team/types/team-details.js.map +0 -1
- package/dist/cjs/resources/team/types/team-list-item.d.ts +0 -17
- package/dist/cjs/resources/team/types/team-list-item.js +0 -3
- package/dist/cjs/resources/team/types/team-list-item.js.map +0 -1
- package/dist/cjs/resources/thing/index.d.ts +0 -1
- package/dist/cjs/resources/thing/index.js +0 -18
- package/dist/cjs/resources/thing/index.js.map +0 -1
- package/dist/cjs/resources/thing/thing.d.ts +0 -6
- package/dist/cjs/resources/thing/thing.js +0 -13
- package/dist/cjs/resources/thing/thing.js.map +0 -1
- package/dist/cjs/resources/thing/types/index.d.ts +0 -2
- package/dist/cjs/resources/thing/types/index.js +0 -19
- package/dist/cjs/resources/thing/types/index.js.map +0 -1
- package/dist/cjs/resources/thing/types/thing-details.d.ts +0 -20
- package/dist/cjs/resources/thing/types/thing-details.js +0 -3
- package/dist/cjs/resources/thing/types/thing-details.js.map +0 -1
- package/dist/cjs/resources/thing/types/thing-list-item.d.ts +0 -16
- package/dist/cjs/resources/thing/types/thing-list-item.js +0 -3
- package/dist/cjs/resources/thing/types/thing-list-item.js.map +0 -1
- package/dist/cjs/resources/video/index.d.ts +0 -1
- package/dist/cjs/resources/video/index.js +0 -18
- package/dist/cjs/resources/video/index.js.map +0 -1
- package/dist/cjs/resources/video/types/index.d.ts +0 -2
- package/dist/cjs/resources/video/types/index.js +0 -19
- package/dist/cjs/resources/video/types/index.js.map +0 -1
- package/dist/cjs/resources/video/types/video-details.d.ts +0 -27
- package/dist/cjs/resources/video/types/video-details.js +0 -3
- package/dist/cjs/resources/video/types/video-details.js.map +0 -1
- package/dist/cjs/resources/video/types/video-list-item.d.ts +0 -49
- package/dist/cjs/resources/video/types/video-list-item.js +0 -28
- package/dist/cjs/resources/video/types/video-list-item.js.map +0 -1
- package/dist/cjs/resources/video/video.d.ts +0 -6
- package/dist/cjs/resources/video/video.js +0 -13
- package/dist/cjs/resources/video/video.js.map +0 -1
- package/dist/cjs/resources/video-category/index.d.ts +0 -1
- package/dist/cjs/resources/video-category/index.js +0 -18
- package/dist/cjs/resources/video-category/index.js.map +0 -1
- package/dist/cjs/resources/video-category/types/index.d.ts +0 -2
- package/dist/cjs/resources/video-category/types/index.js +0 -19
- package/dist/cjs/resources/video-category/types/index.js.map +0 -1
- package/dist/cjs/resources/video-category/types/video-category-details.d.ts +0 -9
- package/dist/cjs/resources/video-category/types/video-category-details.js +0 -3
- package/dist/cjs/resources/video-category/types/video-category-details.js.map +0 -1
- package/dist/cjs/resources/video-category/types/video-category-list-item.d.ts +0 -9
- package/dist/cjs/resources/video-category/types/video-category-list-item.js +0 -3
- package/dist/cjs/resources/video-category/types/video-category-list-item.js.map +0 -1
- package/dist/cjs/resources/video-category/video-category.d.ts +0 -6
- package/dist/cjs/resources/video-category/video-category.js +0 -13
- package/dist/cjs/resources/video-category/video-category.js.map +0 -1
- package/dist/cjs/resources/video-type/index.d.ts +0 -1
- package/dist/cjs/resources/video-type/index.js +0 -18
- package/dist/cjs/resources/video-type/index.js.map +0 -1
- package/dist/cjs/resources/video-type/types/index.d.ts +0 -2
- package/dist/cjs/resources/video-type/types/index.js +0 -19
- package/dist/cjs/resources/video-type/types/index.js.map +0 -1
- package/dist/cjs/resources/video-type/types/video-type-details.d.ts +0 -7
- package/dist/cjs/resources/video-type/types/video-type-details.js +0 -3
- package/dist/cjs/resources/video-type/types/video-type-details.js.map +0 -1
- package/dist/cjs/resources/video-type/types/video-type-list-item.d.ts +0 -7
- package/dist/cjs/resources/video-type/types/video-type-list-item.js +0 -3
- package/dist/cjs/resources/video-type/types/video-type-list-item.js.map +0 -1
- package/dist/cjs/resources/video-type/video-type.d.ts +0 -6
- package/dist/cjs/resources/video-type/video-type.js +0 -13
- package/dist/cjs/resources/video-type/video-type.js.map +0 -1
- package/dist/cjs/resources/volume/index.d.ts +0 -1
- package/dist/cjs/resources/volume/index.js +0 -18
- package/dist/cjs/resources/volume/index.js.map +0 -1
- package/dist/cjs/resources/volume/types/index.d.ts +0 -2
- package/dist/cjs/resources/volume/types/index.js +0 -19
- package/dist/cjs/resources/volume/types/index.js.map +0 -1
- package/dist/cjs/resources/volume/types/volume-details.d.ts +0 -23
- package/dist/cjs/resources/volume/types/volume-details.js +0 -3
- package/dist/cjs/resources/volume/types/volume-details.js.map +0 -1
- package/dist/cjs/resources/volume/types/volume-list-item.d.ts +0 -18
- package/dist/cjs/resources/volume/types/volume-list-item.js +0 -3
- package/dist/cjs/resources/volume/types/volume-list-item.js.map +0 -1
- package/dist/cjs/resources/volume/volume.d.ts +0 -6
- package/dist/cjs/resources/volume/volume.js +0 -13
- package/dist/cjs/resources/volume/volume.js.map +0 -1
- package/dist/cjs/types/apply-override.js +0 -3
- package/dist/cjs/types/apply-override.js.map +0 -1
- package/dist/cjs/types/http-client.d.ts +0 -4
- package/dist/cjs/types/http-client.js +0 -3
- package/dist/cjs/types/http-client.js.map +0 -1
- package/dist/cjs/types/index.d.ts +0 -7
- package/dist/cjs/types/index.js +0 -24
- package/dist/cjs/types/index.js.map +0 -1
- package/dist/cjs/types/iso-date.js +0 -3
- package/dist/cjs/types/iso-date.js.map +0 -1
- package/dist/cjs/types/pick-filters.js +0 -3
- package/dist/cjs/types/pick-filters.js.map +0 -1
- package/dist/cjs/types/request.d.ts +0 -14
- package/dist/cjs/types/request.js +0 -3
- package/dist/cjs/types/request.js.map +0 -1
- package/dist/cjs/types/response.d.ts +0 -10
- package/dist/cjs/types/response.js +0 -3
- package/dist/cjs/types/response.js.map +0 -1
- package/dist/cjs/types/url-builder.d.ts +0 -6
- package/dist/cjs/types/url-builder.js +0 -3
- package/dist/cjs/types/url-builder.js.map +0 -1
- package/dist/cjs/types/valueof.js +0 -3
- package/dist/cjs/types/valueof.js.map +0 -1
- package/dist/cjs/utils/case-converter.js +0 -34
- package/dist/cjs/utils/case-converter.js.map +0 -1
- package/dist/cjs/utils/index.d.ts +0 -2
- package/dist/cjs/utils/index.js +0 -19
- package/dist/cjs/utils/index.js.map +0 -1
- package/dist/cjs/utils/is-object.js +0 -8
- package/dist/cjs/utils/is-object.js.map +0 -1
- package/dist/mjs/comic-vine.d.ts +0 -42
- package/dist/mjs/comic-vine.js +0 -107
- package/dist/mjs/comic-vine.js.map +0 -1
- package/dist/mjs/errors/base-error.js +0 -12
- package/dist/mjs/errors/base-error.js.map +0 -1
- package/dist/mjs/errors/custom-error.d.ts +0 -2
- package/dist/mjs/errors/custom-error.js +0 -8
- package/dist/mjs/errors/custom-error.js.map +0 -1
- package/dist/mjs/errors/filter-error.d.ts +0 -4
- package/dist/mjs/errors/filter-error.js +0 -10
- package/dist/mjs/errors/filter-error.js.map +0 -1
- package/dist/mjs/errors/generic-error.d.ts +0 -4
- package/dist/mjs/errors/generic-error.js +0 -10
- package/dist/mjs/errors/generic-error.js.map +0 -1
- package/dist/mjs/errors/generic-request-error.d.ts +0 -7
- package/dist/mjs/errors/generic-request-error.js +0 -15
- package/dist/mjs/errors/generic-request-error.js.map +0 -1
- package/dist/mjs/errors/index.d.ts +0 -10
- package/dist/mjs/errors/index.js +0 -11
- package/dist/mjs/errors/index.js.map +0 -1
- package/dist/mjs/errors/jsonp-callback-missing-error.d.ts +0 -4
- package/dist/mjs/errors/jsonp-callback-missing-error.js +0 -10
- package/dist/mjs/errors/jsonp-callback-missing-error.js.map +0 -1
- package/dist/mjs/errors/object-not-found-error.d.ts +0 -4
- package/dist/mjs/errors/object-not-found-error.js +0 -10
- package/dist/mjs/errors/object-not-found-error.js.map +0 -1
- package/dist/mjs/errors/options-validation-error.d.ts +0 -4
- package/dist/mjs/errors/options-validation-error.js +0 -10
- package/dist/mjs/errors/options-validation-error.js.map +0 -1
- package/dist/mjs/errors/subscriber-only-error.d.ts +0 -4
- package/dist/mjs/errors/subscriber-only-error.js +0 -10
- package/dist/mjs/errors/subscriber-only-error.js.map +0 -1
- package/dist/mjs/errors/unauthorized-error.d.ts +0 -4
- package/dist/mjs/errors/unauthorized-error.js +0 -10
- package/dist/mjs/errors/unauthorized-error.js.map +0 -1
- package/dist/mjs/errors/url-format-error.d.ts +0 -4
- package/dist/mjs/errors/url-format-error.js +0 -10
- package/dist/mjs/errors/url-format-error.js.map +0 -1
- package/dist/mjs/http-client/http-client-factory.d.ts +0 -6
- package/dist/mjs/http-client/http-client-factory.js +0 -11
- package/dist/mjs/http-client/http-client-factory.js.map +0 -1
- package/dist/mjs/http-client/http-client.d.ts +0 -8
- package/dist/mjs/http-client/http-client.js +0 -51
- package/dist/mjs/http-client/http-client.js.map +0 -1
- package/dist/mjs/http-client/index.d.ts +0 -1
- package/dist/mjs/http-client/index.js +0 -2
- package/dist/mjs/http-client/index.js.map +0 -1
- package/dist/mjs/http-client/status-code.js +0 -11
- package/dist/mjs/http-client/status-code.js.map +0 -1
- package/dist/mjs/http-client/url-builder.d.ts +0 -18
- package/dist/mjs/http-client/url-builder.js +0 -88
- package/dist/mjs/http-client/url-builder.js.map +0 -1
- package/dist/mjs/index.d.ts +0 -2
- package/dist/mjs/index.js +0 -3
- package/dist/mjs/index.js.map +0 -1
- package/dist/mjs/options/index.d.ts +0 -16
- package/dist/mjs/options/index.js +0 -22
- package/dist/mjs/options/index.js.map +0 -1
- package/dist/mjs/package.json +0 -3
- package/dist/mjs/resources/base-resource.d.ts +0 -19
- package/dist/mjs/resources/base-resource.js +0 -55
- package/dist/mjs/resources/base-resource.js.map +0 -1
- package/dist/mjs/resources/character/character.d.ts +0 -6
- package/dist/mjs/resources/character/character.js +0 -6
- package/dist/mjs/resources/character/character.js.map +0 -1
- package/dist/mjs/resources/character/index.d.ts +0 -1
- package/dist/mjs/resources/character/index.js +0 -2
- package/dist/mjs/resources/character/index.js.map +0 -1
- package/dist/mjs/resources/character/types/character-details.d.ts +0 -32
- package/dist/mjs/resources/character/types/character-details.js +0 -2
- package/dist/mjs/resources/character/types/character-details.js.map +0 -1
- package/dist/mjs/resources/character/types/character-list-item.d.ts +0 -20
- package/dist/mjs/resources/character/types/character-list-item.js +0 -2
- package/dist/mjs/resources/character/types/character-list-item.js.map +0 -1
- package/dist/mjs/resources/character/types/index.d.ts +0 -2
- package/dist/mjs/resources/character/types/index.js +0 -3
- package/dist/mjs/resources/character/types/index.js.map +0 -1
- package/dist/mjs/resources/common-types.js +0 -2
- package/dist/mjs/resources/common-types.js.map +0 -1
- package/dist/mjs/resources/concept/concept.d.ts +0 -6
- package/dist/mjs/resources/concept/concept.js +0 -6
- package/dist/mjs/resources/concept/concept.js.map +0 -1
- package/dist/mjs/resources/concept/index.d.ts +0 -1
- package/dist/mjs/resources/concept/index.js +0 -2
- package/dist/mjs/resources/concept/index.js.map +0 -1
- package/dist/mjs/resources/concept/types/concept-details.d.ts +0 -19
- package/dist/mjs/resources/concept/types/concept-details.js +0 -2
- package/dist/mjs/resources/concept/types/concept-details.js.map +0 -1
- package/dist/mjs/resources/concept/types/concept-list-item.d.ts +0 -16
- package/dist/mjs/resources/concept/types/concept-list-item.js +0 -2
- package/dist/mjs/resources/concept/types/concept-list-item.js.map +0 -1
- package/dist/mjs/resources/concept/types/index.d.ts +0 -2
- package/dist/mjs/resources/concept/types/index.js +0 -3
- package/dist/mjs/resources/concept/types/index.js.map +0 -1
- package/dist/mjs/resources/episode/episode.d.ts +0 -6
- package/dist/mjs/resources/episode/episode.js +0 -6
- package/dist/mjs/resources/episode/episode.js.map +0 -1
- package/dist/mjs/resources/episode/index.d.ts +0 -1
- package/dist/mjs/resources/episode/index.js +0 -2
- package/dist/mjs/resources/episode/index.js.map +0 -1
- package/dist/mjs/resources/episode/types/episode-details.d.ts +0 -30
- package/dist/mjs/resources/episode/types/episode-details.js +0 -2
- package/dist/mjs/resources/episode/types/episode-details.js.map +0 -1
- package/dist/mjs/resources/episode/types/episode-list-item.d.ts +0 -17
- package/dist/mjs/resources/episode/types/episode-list-item.js +0 -2
- package/dist/mjs/resources/episode/types/episode-list-item.js.map +0 -1
- package/dist/mjs/resources/episode/types/index.d.ts +0 -2
- package/dist/mjs/resources/episode/types/index.js +0 -3
- package/dist/mjs/resources/episode/types/index.js.map +0 -1
- package/dist/mjs/resources/index.d.ts +0 -3
- package/dist/mjs/resources/index.js +0 -4
- package/dist/mjs/resources/index.js.map +0 -1
- package/dist/mjs/resources/issue/index.d.ts +0 -1
- package/dist/mjs/resources/issue/index.js +0 -2
- package/dist/mjs/resources/issue/index.js.map +0 -1
- package/dist/mjs/resources/issue/issue.d.ts +0 -6
- package/dist/mjs/resources/issue/issue.js +0 -6
- package/dist/mjs/resources/issue/issue.js.map +0 -1
- package/dist/mjs/resources/issue/types/index.d.ts +0 -2
- package/dist/mjs/resources/issue/types/index.js +0 -3
- package/dist/mjs/resources/issue/types/index.js.map +0 -1
- package/dist/mjs/resources/issue/types/issue-details.d.ts +0 -34
- package/dist/mjs/resources/issue/types/issue-details.js +0 -2
- package/dist/mjs/resources/issue/types/issue-details.js.map +0 -1
- package/dist/mjs/resources/issue/types/issue-list-item.d.ts +0 -19
- package/dist/mjs/resources/issue/types/issue-list-item.js +0 -2
- package/dist/mjs/resources/issue/types/issue-list-item.js.map +0 -1
- package/dist/mjs/resources/location/index.d.ts +0 -1
- package/dist/mjs/resources/location/index.js +0 -2
- package/dist/mjs/resources/location/index.js.map +0 -1
- package/dist/mjs/resources/location/location.d.ts +0 -6
- package/dist/mjs/resources/location/location.js +0 -6
- package/dist/mjs/resources/location/location.js.map +0 -1
- package/dist/mjs/resources/location/types/index.d.ts +0 -2
- package/dist/mjs/resources/location/types/index.js +0 -3
- package/dist/mjs/resources/location/types/index.js.map +0 -1
- package/dist/mjs/resources/location/types/location-details.d.ts +0 -20
- package/dist/mjs/resources/location/types/location-details.js +0 -2
- package/dist/mjs/resources/location/types/location-details.js.map +0 -1
- package/dist/mjs/resources/location/types/location-list-item.d.ts +0 -16
- package/dist/mjs/resources/location/types/location-list-item.js +0 -2
- package/dist/mjs/resources/location/types/location-list-item.js.map +0 -1
- package/dist/mjs/resources/movie/index.d.ts +0 -1
- package/dist/mjs/resources/movie/index.js +0 -2
- package/dist/mjs/resources/movie/index.js.map +0 -1
- package/dist/mjs/resources/movie/movie.d.ts +0 -6
- package/dist/mjs/resources/movie/movie.js +0 -6
- package/dist/mjs/resources/movie/movie.js.map +0 -1
- package/dist/mjs/resources/movie/types/index.d.ts +0 -2
- package/dist/mjs/resources/movie/types/index.js +0 -3
- package/dist/mjs/resources/movie/types/index.js.map +0 -1
- package/dist/mjs/resources/movie/types/movie-details.d.ts +0 -28
- package/dist/mjs/resources/movie/types/movie-details.js +0 -2
- package/dist/mjs/resources/movie/types/movie-details.js.map +0 -1
- package/dist/mjs/resources/movie/types/movie-list-item.d.ts +0 -23
- package/dist/mjs/resources/movie/types/movie-list-item.js +0 -2
- package/dist/mjs/resources/movie/types/movie-list-item.js.map +0 -1
- package/dist/mjs/resources/origin/index.d.ts +0 -1
- package/dist/mjs/resources/origin/index.js +0 -2
- package/dist/mjs/resources/origin/index.js.map +0 -1
- package/dist/mjs/resources/origin/origin.d.ts +0 -6
- package/dist/mjs/resources/origin/origin.js +0 -6
- package/dist/mjs/resources/origin/origin.js.map +0 -1
- package/dist/mjs/resources/origin/types/index.d.ts +0 -2
- package/dist/mjs/resources/origin/types/index.js +0 -3
- package/dist/mjs/resources/origin/types/index.js.map +0 -1
- package/dist/mjs/resources/origin/types/origin-details.d.ts +0 -10
- package/dist/mjs/resources/origin/types/origin-details.js +0 -2
- package/dist/mjs/resources/origin/types/origin-details.js.map +0 -1
- package/dist/mjs/resources/origin/types/origin-list-item.d.ts +0 -6
- package/dist/mjs/resources/origin/types/origin-list-item.js +0 -2
- package/dist/mjs/resources/origin/types/origin-list-item.js.map +0 -1
- package/dist/mjs/resources/person/index.d.ts +0 -1
- package/dist/mjs/resources/person/index.js +0 -2
- package/dist/mjs/resources/person/index.js.map +0 -1
- package/dist/mjs/resources/person/person.d.ts +0 -6
- package/dist/mjs/resources/person/person.js +0 -6
- package/dist/mjs/resources/person/person.js.map +0 -1
- package/dist/mjs/resources/person/types/index.d.ts +0 -2
- package/dist/mjs/resources/person/types/index.js +0 -3
- package/dist/mjs/resources/person/types/index.js.map +0 -1
- package/dist/mjs/resources/person/types/person-details.d.ts +0 -25
- package/dist/mjs/resources/person/types/person-details.js +0 -2
- package/dist/mjs/resources/person/types/person-details.js.map +0 -1
- package/dist/mjs/resources/person/types/person-list-item.d.ts +0 -26
- package/dist/mjs/resources/person/types/person-list-item.js +0 -5
- package/dist/mjs/resources/person/types/person-list-item.js.map +0 -1
- package/dist/mjs/resources/power/index.d.ts +0 -1
- package/dist/mjs/resources/power/index.js +0 -2
- package/dist/mjs/resources/power/index.js.map +0 -1
- package/dist/mjs/resources/power/power.d.ts +0 -6
- package/dist/mjs/resources/power/power.js +0 -6
- package/dist/mjs/resources/power/power.js.map +0 -1
- package/dist/mjs/resources/power/types/index.d.ts +0 -2
- package/dist/mjs/resources/power/types/index.js +0 -3
- package/dist/mjs/resources/power/types/index.js.map +0 -1
- package/dist/mjs/resources/power/types/power-details.d.ts +0 -12
- package/dist/mjs/resources/power/types/power-details.js +0 -2
- package/dist/mjs/resources/power/types/power-details.js.map +0 -1
- package/dist/mjs/resources/power/types/power-list-item.d.ts +0 -10
- package/dist/mjs/resources/power/types/power-list-item.js +0 -2
- package/dist/mjs/resources/power/types/power-list-item.js.map +0 -1
- package/dist/mjs/resources/promo/index.d.ts +0 -1
- package/dist/mjs/resources/promo/index.js +0 -2
- package/dist/mjs/resources/promo/index.js.map +0 -1
- package/dist/mjs/resources/promo/promo.d.ts +0 -6
- package/dist/mjs/resources/promo/promo.js +0 -6
- package/dist/mjs/resources/promo/promo.js.map +0 -1
- package/dist/mjs/resources/promo/types/index.d.ts +0 -2
- package/dist/mjs/resources/promo/types/index.js +0 -3
- package/dist/mjs/resources/promo/types/index.js.map +0 -1
- package/dist/mjs/resources/promo/types/promo-details.d.ts +0 -13
- package/dist/mjs/resources/promo/types/promo-details.js +0 -2
- package/dist/mjs/resources/promo/types/promo-details.js.map +0 -1
- package/dist/mjs/resources/promo/types/promo-list-item.d.ts +0 -13
- package/dist/mjs/resources/promo/types/promo-list-item.js +0 -2
- package/dist/mjs/resources/promo/types/promo-list-item.js.map +0 -1
- package/dist/mjs/resources/publisher/index.d.ts +0 -1
- package/dist/mjs/resources/publisher/index.js +0 -2
- package/dist/mjs/resources/publisher/index.js.map +0 -1
- package/dist/mjs/resources/publisher/publisher.d.ts +0 -6
- package/dist/mjs/resources/publisher/publisher.js +0 -6
- package/dist/mjs/resources/publisher/publisher.js.map +0 -1
- package/dist/mjs/resources/publisher/types/index.d.ts +0 -2
- package/dist/mjs/resources/publisher/types/index.js +0 -3
- package/dist/mjs/resources/publisher/types/index.js.map +0 -1
- package/dist/mjs/resources/publisher/types/publisher-details.d.ts +0 -20
- package/dist/mjs/resources/publisher/types/publisher-details.js +0 -2
- package/dist/mjs/resources/publisher/types/publisher-details.js.map +0 -1
- package/dist/mjs/resources/publisher/types/publisher-list-item.d.ts +0 -22
- package/dist/mjs/resources/publisher/types/publisher-list-item.js +0 -8
- package/dist/mjs/resources/publisher/types/publisher-list-item.js.map +0 -1
- package/dist/mjs/resources/resource-factory.d.ts +0 -8
- package/dist/mjs/resources/resource-factory.js +0 -17
- package/dist/mjs/resources/resource-factory.js.map +0 -1
- package/dist/mjs/resources/resource-list.d.ts +0 -19
- package/dist/mjs/resources/resource-list.js +0 -20
- package/dist/mjs/resources/resource-list.js.map +0 -1
- package/dist/mjs/resources/resource-map.d.ts +0 -7
- package/dist/mjs/resources/resource-map.js +0 -36
- package/dist/mjs/resources/resource-map.js.map +0 -1
- package/dist/mjs/resources/resource-type.js +0 -23
- package/dist/mjs/resources/resource-type.js.map +0 -1
- package/dist/mjs/resources/series/index.d.ts +0 -1
- package/dist/mjs/resources/series/index.js +0 -2
- package/dist/mjs/resources/series/index.js.map +0 -1
- package/dist/mjs/resources/series/series.d.ts +0 -6
- package/dist/mjs/resources/series/series.js +0 -6
- package/dist/mjs/resources/series/series.js.map +0 -1
- package/dist/mjs/resources/series/types/index.d.ts +0 -2
- package/dist/mjs/resources/series/types/index.js +0 -3
- package/dist/mjs/resources/series/types/index.js.map +0 -1
- package/dist/mjs/resources/series/types/series-details.d.ts +0 -20
- package/dist/mjs/resources/series/types/series-details.js +0 -2
- package/dist/mjs/resources/series/types/series-details.js.map +0 -1
- package/dist/mjs/resources/series/types/series-list-item.d.ts +0 -18
- package/dist/mjs/resources/series/types/series-list-item.js +0 -2
- package/dist/mjs/resources/series/types/series-list-item.js.map +0 -1
- package/dist/mjs/resources/story-arc/index.d.ts +0 -1
- package/dist/mjs/resources/story-arc/index.js +0 -2
- package/dist/mjs/resources/story-arc/index.js.map +0 -1
- package/dist/mjs/resources/story-arc/story-arc.d.ts +0 -6
- package/dist/mjs/resources/story-arc/story-arc.js +0 -6
- package/dist/mjs/resources/story-arc/story-arc.js.map +0 -1
- package/dist/mjs/resources/story-arc/types/index.d.ts +0 -2
- package/dist/mjs/resources/story-arc/types/index.js +0 -3
- package/dist/mjs/resources/story-arc/types/index.js.map +0 -1
- package/dist/mjs/resources/story-arc/types/story-arc-details.d.ts +0 -20
- package/dist/mjs/resources/story-arc/types/story-arc-details.js +0 -2
- package/dist/mjs/resources/story-arc/types/story-arc-details.js.map +0 -1
- package/dist/mjs/resources/story-arc/types/story-arc-list-item.d.ts +0 -17
- package/dist/mjs/resources/story-arc/types/story-arc-list-item.js +0 -2
- package/dist/mjs/resources/story-arc/types/story-arc-list-item.js.map +0 -1
- package/dist/mjs/resources/team/index.d.ts +0 -1
- package/dist/mjs/resources/team/index.js +0 -2
- package/dist/mjs/resources/team/index.js.map +0 -1
- package/dist/mjs/resources/team/team.d.ts +0 -6
- package/dist/mjs/resources/team/team.js +0 -6
- package/dist/mjs/resources/team/team.js.map +0 -1
- package/dist/mjs/resources/team/types/index.d.ts +0 -2
- package/dist/mjs/resources/team/types/index.js +0 -3
- package/dist/mjs/resources/team/types/index.js.map +0 -1
- package/dist/mjs/resources/team/types/team-details.d.ts +0 -26
- package/dist/mjs/resources/team/types/team-details.js +0 -2
- package/dist/mjs/resources/team/types/team-details.js.map +0 -1
- package/dist/mjs/resources/team/types/team-list-item.d.ts +0 -17
- package/dist/mjs/resources/team/types/team-list-item.js +0 -2
- package/dist/mjs/resources/team/types/team-list-item.js.map +0 -1
- package/dist/mjs/resources/thing/index.d.ts +0 -1
- package/dist/mjs/resources/thing/index.js +0 -2
- package/dist/mjs/resources/thing/index.js.map +0 -1
- package/dist/mjs/resources/thing/thing.d.ts +0 -6
- package/dist/mjs/resources/thing/thing.js +0 -6
- package/dist/mjs/resources/thing/thing.js.map +0 -1
- package/dist/mjs/resources/thing/types/index.d.ts +0 -2
- package/dist/mjs/resources/thing/types/index.js +0 -3
- package/dist/mjs/resources/thing/types/index.js.map +0 -1
- package/dist/mjs/resources/thing/types/thing-details.d.ts +0 -20
- package/dist/mjs/resources/thing/types/thing-details.js +0 -2
- package/dist/mjs/resources/thing/types/thing-details.js.map +0 -1
- package/dist/mjs/resources/thing/types/thing-list-item.d.ts +0 -16
- package/dist/mjs/resources/thing/types/thing-list-item.js +0 -2
- package/dist/mjs/resources/thing/types/thing-list-item.js.map +0 -1
- package/dist/mjs/resources/video/index.d.ts +0 -1
- package/dist/mjs/resources/video/index.js +0 -2
- package/dist/mjs/resources/video/index.js.map +0 -1
- package/dist/mjs/resources/video/types/index.d.ts +0 -2
- package/dist/mjs/resources/video/types/index.js +0 -3
- package/dist/mjs/resources/video/types/index.js.map +0 -1
- package/dist/mjs/resources/video/types/video-details.d.ts +0 -27
- package/dist/mjs/resources/video/types/video-details.js +0 -2
- package/dist/mjs/resources/video/types/video-details.js.map +0 -1
- package/dist/mjs/resources/video/types/video-list-item.d.ts +0 -49
- package/dist/mjs/resources/video/types/video-list-item.js +0 -25
- package/dist/mjs/resources/video/types/video-list-item.js.map +0 -1
- package/dist/mjs/resources/video/video.d.ts +0 -6
- package/dist/mjs/resources/video/video.js +0 -6
- package/dist/mjs/resources/video/video.js.map +0 -1
- package/dist/mjs/resources/video-category/index.d.ts +0 -1
- package/dist/mjs/resources/video-category/index.js +0 -2
- package/dist/mjs/resources/video-category/index.js.map +0 -1
- package/dist/mjs/resources/video-category/types/index.d.ts +0 -2
- package/dist/mjs/resources/video-category/types/index.js +0 -3
- package/dist/mjs/resources/video-category/types/index.js.map +0 -1
- package/dist/mjs/resources/video-category/types/video-category-details.d.ts +0 -9
- package/dist/mjs/resources/video-category/types/video-category-details.js +0 -2
- package/dist/mjs/resources/video-category/types/video-category-details.js.map +0 -1
- package/dist/mjs/resources/video-category/types/video-category-list-item.d.ts +0 -9
- package/dist/mjs/resources/video-category/types/video-category-list-item.js +0 -2
- package/dist/mjs/resources/video-category/types/video-category-list-item.js.map +0 -1
- package/dist/mjs/resources/video-category/video-category.d.ts +0 -6
- package/dist/mjs/resources/video-category/video-category.js +0 -6
- package/dist/mjs/resources/video-category/video-category.js.map +0 -1
- package/dist/mjs/resources/video-type/index.d.ts +0 -1
- package/dist/mjs/resources/video-type/index.js +0 -2
- package/dist/mjs/resources/video-type/index.js.map +0 -1
- package/dist/mjs/resources/video-type/types/index.d.ts +0 -2
- package/dist/mjs/resources/video-type/types/index.js +0 -3
- package/dist/mjs/resources/video-type/types/index.js.map +0 -1
- package/dist/mjs/resources/video-type/types/video-type-details.d.ts +0 -7
- package/dist/mjs/resources/video-type/types/video-type-details.js +0 -2
- package/dist/mjs/resources/video-type/types/video-type-details.js.map +0 -1
- package/dist/mjs/resources/video-type/types/video-type-list-item.d.ts +0 -7
- package/dist/mjs/resources/video-type/types/video-type-list-item.js +0 -2
- package/dist/mjs/resources/video-type/types/video-type-list-item.js.map +0 -1
- package/dist/mjs/resources/video-type/video-type.d.ts +0 -6
- package/dist/mjs/resources/video-type/video-type.js +0 -6
- package/dist/mjs/resources/video-type/video-type.js.map +0 -1
- package/dist/mjs/resources/volume/index.d.ts +0 -1
- package/dist/mjs/resources/volume/index.js +0 -2
- package/dist/mjs/resources/volume/index.js.map +0 -1
- package/dist/mjs/resources/volume/types/index.d.ts +0 -2
- package/dist/mjs/resources/volume/types/index.js +0 -3
- package/dist/mjs/resources/volume/types/index.js.map +0 -1
- package/dist/mjs/resources/volume/types/volume-details.d.ts +0 -23
- package/dist/mjs/resources/volume/types/volume-details.js +0 -2
- package/dist/mjs/resources/volume/types/volume-details.js.map +0 -1
- package/dist/mjs/resources/volume/types/volume-list-item.d.ts +0 -18
- package/dist/mjs/resources/volume/types/volume-list-item.js +0 -2
- package/dist/mjs/resources/volume/types/volume-list-item.js.map +0 -1
- package/dist/mjs/resources/volume/volume.d.ts +0 -6
- package/dist/mjs/resources/volume/volume.js +0 -6
- package/dist/mjs/resources/volume/volume.js.map +0 -1
- package/dist/mjs/types/apply-override.js +0 -2
- package/dist/mjs/types/apply-override.js.map +0 -1
- package/dist/mjs/types/http-client.d.ts +0 -4
- package/dist/mjs/types/http-client.js +0 -2
- package/dist/mjs/types/http-client.js.map +0 -1
- package/dist/mjs/types/index.d.ts +0 -7
- package/dist/mjs/types/index.js +0 -8
- package/dist/mjs/types/index.js.map +0 -1
- package/dist/mjs/types/iso-date.js +0 -2
- package/dist/mjs/types/iso-date.js.map +0 -1
- package/dist/mjs/types/pick-filters.js +0 -2
- package/dist/mjs/types/pick-filters.js.map +0 -1
- package/dist/mjs/types/request.d.ts +0 -14
- package/dist/mjs/types/request.js +0 -2
- package/dist/mjs/types/request.js.map +0 -1
- package/dist/mjs/types/response.d.ts +0 -10
- package/dist/mjs/types/response.js +0 -2
- package/dist/mjs/types/response.js.map +0 -1
- package/dist/mjs/types/url-builder.d.ts +0 -6
- package/dist/mjs/types/url-builder.js +0 -2
- package/dist/mjs/types/url-builder.js.map +0 -1
- package/dist/mjs/types/valueof.js +0 -2
- package/dist/mjs/types/valueof.js.map +0 -1
- package/dist/mjs/utils/case-converter.js +0 -27
- package/dist/mjs/utils/case-converter.js.map +0 -1
- package/dist/mjs/utils/index.d.ts +0 -2
- package/dist/mjs/utils/index.js +0 -3
- package/dist/mjs/utils/index.js.map +0 -1
- package/dist/mjs/utils/is-object.js +0 -4
- package/dist/mjs/utils/is-object.js.map +0 -1
- /package/{dist → lib}/cjs/errors/base-error.d.ts +0 -0
- /package/{dist → lib}/cjs/http-client/status-code.d.ts +0 -0
- /package/{dist → lib}/cjs/resources/common-types.d.ts +0 -0
- /package/{dist → lib}/cjs/resources/resource-type.d.ts +0 -0
- /package/{dist → lib}/cjs/types/apply-override.d.ts +0 -0
- /package/{dist → lib}/cjs/types/iso-date.d.ts +0 -0
- /package/{dist → lib}/cjs/types/pick-filters.d.ts +0 -0
- /package/{dist → lib}/cjs/types/valueof.d.ts +0 -0
- /package/{dist → lib}/cjs/utils/case-converter.d.ts +0 -0
- /package/{dist → lib}/cjs/utils/is-object.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/errors/base-error.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/http-client/status-code.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/resources/common-types.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/resources/resource-type.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/types/apply-override.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/types/iso-date.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/types/pick-filters.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/types/valueof.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/utils/case-converter.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/utils/is-object.d.ts +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXJsLWJ1aWxkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdHlwZXMvdXJsLWJ1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFJldHJpZXZlT3B0aW9ucywgTGlzdE9wdGlvbnMgfSBmcm9tICcuL2luZGV4LmpzJztcbmltcG9ydCB7IFJlc291cmNlVHlwZSB9IGZyb20gJy4uL3Jlc291cmNlcy9yZXNvdXJjZS10eXBlLmpzJztcblxuZXhwb3J0IGludGVyZmFjZSBVcmxCdWlsZGVyIHtcbiAgcmV0cmlldmU8S2V5PihcbiAgICByZXNvdXJjZVR5cGU6IFJlc291cmNlVHlwZSxcbiAgICBpZDogbnVtYmVyLFxuICAgIHJlcXVlc3RPcHRpb25zPzogUmV0cmlldmVPcHRpb25zPEtleT4gfCB1bmRlZmluZWQsXG4gICk6IHN0cmluZztcblxuICBsaXN0PFJlc291cmNlLCBGaWx0ZXJUeXBlPihcbiAgICByZXNvdXJjZVR5cGU6IFJlc291cmNlVHlwZSxcbiAgICByZXF1ZXN0T3B0aW9ucz86IExpc3RPcHRpb25zPFJlc291cmNlLCBGaWx0ZXJUeXBlPiB8IHVuZGVmaW5lZCxcbiAgKTogc3RyaW5nO1xufVxuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWVvZi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90eXBlcy92YWx1ZW9mLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBWYWx1ZU9mPFQ+ID0gVFtrZXlvZiBUXTtcbiJdfQ==
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { isObject } from './is-object.js';
|
|
2
|
+
export const toCamelCase = (str) => {
|
|
3
|
+
return str.replace(/([-_][a-z])/gi, ($1) => {
|
|
4
|
+
return $1.toUpperCase().replace('-', '').replace('_', '');
|
|
5
|
+
});
|
|
6
|
+
};
|
|
7
|
+
export const toSnakeCase = (str) => str.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`);
|
|
8
|
+
const convertCase = (caseConverter, object) => {
|
|
9
|
+
if (isObject(object)) {
|
|
10
|
+
const newObject = {};
|
|
11
|
+
Object.keys(object).forEach((key) => {
|
|
12
|
+
newObject[caseConverter(key)] = convertCase(caseConverter, object[key]);
|
|
13
|
+
});
|
|
14
|
+
return newObject;
|
|
15
|
+
}
|
|
16
|
+
else if (Array.isArray(object)) {
|
|
17
|
+
return object.map((arrayElement) => convertCase(caseConverter, arrayElement));
|
|
18
|
+
}
|
|
19
|
+
return object;
|
|
20
|
+
};
|
|
21
|
+
export const convertSnakeCaseToCamelCase = (object) => {
|
|
22
|
+
return convertCase(toCamelCase, object);
|
|
23
|
+
};
|
|
24
|
+
export const convertCamelCaseToSnakeCase = (object) => {
|
|
25
|
+
return convertCase(toSnakeCase, object);
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1jb252ZXJ0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdXRpbHMvY2FzZS1jb252ZXJ0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRTFDLE1BQU0sQ0FBQyxNQUFNLFdBQVcsR0FBRyxDQUFDLEdBQVcsRUFBVSxFQUFFO0lBQ2pELE9BQU8sR0FBRyxDQUFDLE9BQU8sQ0FBQyxlQUFlLEVBQUUsQ0FBQyxFQUFFLEVBQUUsRUFBRTtRQUN6QyxPQUFPLEVBQUUsQ0FBQyxXQUFXLEVBQUUsQ0FBQyxPQUFPLENBQUMsR0FBRyxFQUFFLEVBQUUsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxHQUFHLEVBQUUsRUFBRSxDQUFDLENBQUM7SUFDNUQsQ0FBQyxDQUFDLENBQUM7QUFDTCxDQUFDLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSxXQUFXLEdBQUcsQ0FBQyxHQUFXLEVBQUUsRUFBRSxDQUN6QyxHQUFHLENBQUMsT0FBTyxDQUFDLFFBQVEsRUFBRSxDQUFDLE1BQU0sRUFBRSxFQUFFLENBQUMsSUFBSSxNQUFNLENBQUMsV0FBVyxFQUFFLEVBQUUsQ0FBQyxDQUFDO0FBSWhFLE1BQU0sV0FBVyxHQUFHLENBQUMsYUFBNEIsRUFBRSxNQUFXLEVBQVUsRUFBRTtJQUN4RSxJQUFJLFFBQVEsQ0FBQyxNQUFNLENBQUMsRUFBRTtRQUNwQixNQUFNLFNBQVMsR0FBUSxFQUFFLENBQUM7UUFFMUIsTUFBTSxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQyxPQUFPLENBQUMsQ0FBQyxHQUFHLEVBQUUsRUFBRTtZQUNsQyxTQUFTLENBQUMsYUFBYSxDQUFDLEdBQUcsQ0FBQyxDQUFDLEdBQUcsV0FBVyxDQUFDLGFBQWEsRUFBRSxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQztRQUMxRSxDQUFDLENBQUMsQ0FBQztRQUVILE9BQU8sU0FBUyxDQUFDO0tBQ2xCO1NBQU0sSUFBSSxLQUFLLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyxFQUFFO1FBQ2hDLE9BQU8sTUFBTSxDQUFDLEdBQUcsQ0FBQyxDQUFDLFlBQVksRUFBRSxFQUFFLENBQ2pDLFdBQVcsQ0FBQyxhQUFhLEVBQUUsWUFBWSxDQUFDLENBQ3pDLENBQUM7S0FDSDtJQUVELE9BQU8sTUFBTSxDQUFDO0FBQ2hCLENBQUMsQ0FBQztBQUVGLE1BQU0sQ0FBQyxNQUFNLDJCQUEyQixHQUFHLENBQ3pDLE1BQVcsRUFDQyxFQUFFO0lBQ2QsT0FBTyxXQUFXLENBQUMsV0FBVyxFQUFFLE1BQU0sQ0FBc0IsQ0FBQztBQUMvRCxDQUFDLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSwyQkFBMkIsR0FBRyxDQUN6QyxNQUFXLEVBQ0MsRUFBRTtJQUNkLE9BQU8sV0FBVyxDQUFDLFdBQVcsRUFBRSxNQUFNLENBQXNCLENBQUM7QUFDL0QsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgaXNPYmplY3QgfSBmcm9tICcuL2lzLW9iamVjdC5qcyc7XG5cbmV4cG9ydCBjb25zdCB0b0NhbWVsQ2FzZSA9IChzdHI6IHN0cmluZyk6IHN0cmluZyA9PiB7XG4gIHJldHVybiBzdHIucmVwbGFjZSgvKFstX11bYS16XSkvZ2ksICgkMSkgPT4ge1xuICAgIHJldHVybiAkMS50b1VwcGVyQ2FzZSgpLnJlcGxhY2UoJy0nLCAnJykucmVwbGFjZSgnXycsICcnKTtcbiAgfSk7XG59O1xuXG5leHBvcnQgY29uc3QgdG9TbmFrZUNhc2UgPSAoc3RyOiBzdHJpbmcpID0+XG4gIHN0ci5yZXBsYWNlKC9bQS1aXS9nLCAobGV0dGVyKSA9PiBgXyR7bGV0dGVyLnRvTG93ZXJDYXNlKCl9YCk7XG5cbnR5cGUgQ2FzZUNvbnZlcnRlciA9IChzdHI6IHN0cmluZykgPT4gc3RyaW5nO1xuXG5jb25zdCBjb252ZXJ0Q2FzZSA9IChjYXNlQ29udmVydGVyOiBDYXNlQ29udmVydGVyLCBvYmplY3Q6IGFueSk6IG9iamVjdCA9PiB7XG4gIGlmIChpc09iamVjdChvYmplY3QpKSB7XG4gICAgY29uc3QgbmV3T2JqZWN0OiBhbnkgPSB7fTtcblxuICAgIE9iamVjdC5rZXlzKG9iamVjdCkuZm9yRWFjaCgoa2V5KSA9PiB7XG4gICAgICBuZXdPYmplY3RbY2FzZUNvbnZlcnRlcihrZXkpXSA9IGNvbnZlcnRDYXNlKGNhc2VDb252ZXJ0ZXIsIG9iamVjdFtrZXldKTtcbiAgICB9KTtcblxuICAgIHJldHVybiBuZXdPYmplY3Q7XG4gIH0gZWxzZSBpZiAoQXJyYXkuaXNBcnJheShvYmplY3QpKSB7XG4gICAgcmV0dXJuIG9iamVjdC5tYXAoKGFycmF5RWxlbWVudCkgPT5cbiAgICAgIGNvbnZlcnRDYXNlKGNhc2VDb252ZXJ0ZXIsIGFycmF5RWxlbWVudCksXG4gICAgKTtcbiAgfVxuXG4gIHJldHVybiBvYmplY3Q7XG59O1xuXG5leHBvcnQgY29uc3QgY29udmVydFNuYWtlQ2FzZVRvQ2FtZWxDYXNlID0gPFJldHVyblR5cGU+KFxuICBvYmplY3Q6IGFueSxcbik6IFJldHVyblR5cGUgPT4ge1xuICByZXR1cm4gY29udmVydENhc2UodG9DYW1lbENhc2UsIG9iamVjdCkgYXMgYW55IGFzIFJldHVyblR5cGU7XG59O1xuXG5leHBvcnQgY29uc3QgY29udmVydENhbWVsQ2FzZVRvU25ha2VDYXNlID0gPFJldHVyblR5cGU+KFxuICBvYmplY3Q6IGFueSxcbik6IFJldHVyblR5cGUgPT4ge1xuICByZXR1cm4gY29udmVydENhc2UodG9TbmFrZUNhc2UsIG9iamVjdCkgYXMgYW55IGFzIFJldHVyblR5cGU7XG59O1xuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './case-converter.js';
|
|
2
|
+
export * from './is-object.js';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdXRpbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jYXNlLWNvbnZlcnRlci5qcyc7XG5leHBvcnQgKiBmcm9tICcuL2lzLW9iamVjdC5qcyc7XG4iXX0=
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export const isObject = (maybeObject) => maybeObject === Object(maybeObject) &&
|
|
2
|
+
!Array.isArray(maybeObject) &&
|
|
3
|
+
typeof maybeObject !== 'function';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtb2JqZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3V0aWxzL2lzLW9iamVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSxRQUFRLEdBQUcsQ0FBQyxXQUFnQixFQUFFLEVBQUUsQ0FDM0MsV0FBVyxLQUFLLE1BQU0sQ0FBQyxXQUFXLENBQUM7SUFDbkMsQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFDLFdBQVcsQ0FBQztJQUMzQixPQUFPLFdBQVcsS0FBSyxVQUFVLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgaXNPYmplY3QgPSAobWF5YmVPYmplY3Q6IGFueSkgPT5cbiAgbWF5YmVPYmplY3QgPT09IE9iamVjdChtYXliZU9iamVjdCkgJiZcbiAgIUFycmF5LmlzQXJyYXkobWF5YmVPYmplY3QpICYmXG4gIHR5cGVvZiBtYXliZU9iamVjdCAhPT0gJ2Z1bmN0aW9uJztcbiJdfQ==
|
package/package-old.json
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "comic-vine-sdk",
|
|
3
|
+
"version": "1.2.4",
|
|
4
|
+
"description": "A JS/TS client for the Comic Vine API",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"comic",
|
|
7
|
+
"comics",
|
|
8
|
+
"comic-vine",
|
|
9
|
+
"metadata"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://github.com/AllyMurray/comic-vine#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/AllyMurray/comic-vine/issues"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/AllyMurray/comic-vine.git"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"author": "Ally Murray",
|
|
21
|
+
"main": "dist/cjs/index.cjs.js",
|
|
22
|
+
"module": "dist/mjs/index.js",
|
|
23
|
+
"types": "dist/mjs/index.d.ts",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"import": "./dist/mjs/index.js",
|
|
27
|
+
"require": "./dist/cjs/index.cjs.js"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist/**"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "run-s build:**",
|
|
35
|
+
"build:clean": "rimraf dist",
|
|
36
|
+
"build:esm": "tsc -p tsconfig.build.json",
|
|
37
|
+
"build:cjs": "tsc -p tsconfig.cjs.build.json",
|
|
38
|
+
"build:package-json": "bash ./scripts/create-package-json",
|
|
39
|
+
"test": "jest",
|
|
40
|
+
"format": "prettier ./src --write",
|
|
41
|
+
"lint": "eslint src --fix",
|
|
42
|
+
"prepare": "husky install",
|
|
43
|
+
"prepack": "npm run build",
|
|
44
|
+
"commit": "cz",
|
|
45
|
+
"semantic-release": "semantic-release"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"axios": "1.3.4",
|
|
49
|
+
"clone-deep": "4.0.1",
|
|
50
|
+
"zod": "3.21.4"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@semantic-release/changelog": "6.0.2",
|
|
54
|
+
"@semantic-release/git": "10.0.1",
|
|
55
|
+
"@types/clone-deep": "4.0.1",
|
|
56
|
+
"@types/jest": "29.5.0",
|
|
57
|
+
"@types/node": "16.11.59",
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "5.55.0",
|
|
59
|
+
"@typescript-eslint/parser": "5.55.0",
|
|
60
|
+
"commitizen": "4.3.0",
|
|
61
|
+
"cz-conventional-changelog": "3.3.0",
|
|
62
|
+
"eslint": "8.36.0",
|
|
63
|
+
"eslint-config-prettier": "8.7.0",
|
|
64
|
+
"husky": "8.0.3",
|
|
65
|
+
"jest": "29.5.0",
|
|
66
|
+
"lint-staged": "13.2.0",
|
|
67
|
+
"nock": "13.3.0",
|
|
68
|
+
"npm-run-all": "4.1.5",
|
|
69
|
+
"prettier": "2.8.4",
|
|
70
|
+
"rimraf": "3.0.2",
|
|
71
|
+
"semantic-release": "^19.0.5",
|
|
72
|
+
"ts-jest": "29.0.5",
|
|
73
|
+
"typescript": "5.0.2"
|
|
74
|
+
},
|
|
75
|
+
"engines": {
|
|
76
|
+
"node": ">=14"
|
|
77
|
+
},
|
|
78
|
+
"lint-staged": {
|
|
79
|
+
"*.{ts,json,md}": "npm run format",
|
|
80
|
+
"*.ts": "npm run lint"
|
|
81
|
+
},
|
|
82
|
+
"publishConfig": {
|
|
83
|
+
"access": "public"
|
|
84
|
+
},
|
|
85
|
+
"config": {
|
|
86
|
+
"commitizen": {
|
|
87
|
+
"path": "./node_modules/cz-conventional-changelog"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
package/package.json
CHANGED
|
@@ -1,90 +1,103 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "comic-vine-sdk",
|
|
3
|
-
"version": "1.2.5",
|
|
4
3
|
"description": "A JS/TS client for the Comic Vine API",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "https://github.com/AllyMurray/comic-vine.git"
|
|
7
|
+
},
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "npx projen build",
|
|
10
|
+
"bump": "npx projen bump",
|
|
11
|
+
"clobber": "npx projen clobber",
|
|
12
|
+
"compile": "npx projen compile",
|
|
13
|
+
"default": "npx projen default",
|
|
14
|
+
"eject": "npx projen eject",
|
|
15
|
+
"eslint": "npx projen eslint",
|
|
16
|
+
"package": "npx projen package",
|
|
17
|
+
"post-compile": "npx projen post-compile",
|
|
18
|
+
"post-upgrade": "npx projen post-upgrade",
|
|
19
|
+
"pre-compile": "npx projen pre-compile",
|
|
20
|
+
"release": "npx projen release",
|
|
21
|
+
"test": "npx projen test",
|
|
22
|
+
"unbump": "npx projen unbump",
|
|
23
|
+
"upgrade": "npx projen upgrade",
|
|
24
|
+
"watch": "npx projen watch",
|
|
25
|
+
"projen": "npx projen"
|
|
26
|
+
},
|
|
27
|
+
"author": {
|
|
28
|
+
"name": "Ally Murray",
|
|
29
|
+
"email": "allymurray88@gmail.com",
|
|
30
|
+
"organization": false
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@ally-murray/projen-modules": "^0.0.11",
|
|
34
|
+
"@types/clone-deep": "^4.0.2",
|
|
35
|
+
"@types/node": "^16",
|
|
36
|
+
"@typescript-eslint/eslint-plugin": "^6",
|
|
37
|
+
"@typescript-eslint/parser": "^6",
|
|
38
|
+
"commander": "^11.0.0",
|
|
39
|
+
"commitizen": "^4.3.0",
|
|
40
|
+
"eslint": "^8",
|
|
41
|
+
"eslint-config-prettier": "^9.0.0",
|
|
42
|
+
"eslint-import-resolver-node": "^0.3.9",
|
|
43
|
+
"eslint-import-resolver-typescript": "^3.6.0",
|
|
44
|
+
"eslint-plugin-import": "^2.28.1",
|
|
45
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
46
|
+
"husky": "^8.0.3",
|
|
47
|
+
"lint-staged": "^14.0.1",
|
|
48
|
+
"nock": "^13.3.3",
|
|
49
|
+
"npm-check-updates": "^16",
|
|
50
|
+
"prettier": "^3.0.3",
|
|
51
|
+
"projen": "0.73.15",
|
|
52
|
+
"rimraf": "^5.0.1",
|
|
53
|
+
"standard-version": "^9",
|
|
54
|
+
"ts-node": "^10.9.1",
|
|
55
|
+
"typescript": "^5.2.2",
|
|
56
|
+
"vitest": "^0.34.3"
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"axios": "^1.5.0",
|
|
60
|
+
"clone-deep": "^4.0.1",
|
|
61
|
+
"zod": "^3.22.2"
|
|
62
|
+
},
|
|
63
|
+
"pnpm": {},
|
|
5
64
|
"keywords": [
|
|
6
65
|
"comic",
|
|
7
|
-
"
|
|
66
|
+
"comic-metadata",
|
|
8
67
|
"comic-vine",
|
|
68
|
+
"comic-vine-api",
|
|
69
|
+
"comic-vine-client",
|
|
70
|
+
"comic-vine-javascript",
|
|
71
|
+
"comic-vine-js",
|
|
72
|
+
"comic-vine-node",
|
|
73
|
+
"comic-vine-nodejs",
|
|
74
|
+
"comic-vine-sdk",
|
|
75
|
+
"comic-vine-ts",
|
|
76
|
+
"comic-vine-typescript",
|
|
77
|
+
"comics",
|
|
9
78
|
"metadata"
|
|
10
79
|
],
|
|
80
|
+
"main": "lib/cjs/index.js",
|
|
81
|
+
"license": "MIT",
|
|
11
82
|
"homepage": "https://github.com/AllyMurray/comic-vine#readme",
|
|
83
|
+
"version": "1.2.7",
|
|
12
84
|
"bugs": {
|
|
13
85
|
"url": "https://github.com/AllyMurray/comic-vine/issues"
|
|
14
86
|
},
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
},
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"author": "Ally Murray",
|
|
21
|
-
"main": "dist/cjs/index.cjs.js",
|
|
22
|
-
"module": "dist/mjs/index.js",
|
|
23
|
-
"types": "dist/mjs/index.d.ts",
|
|
87
|
+
"types": "lib/cjs/index.d.ts",
|
|
88
|
+
"type": "module",
|
|
89
|
+
"module": "lib/esm/index.js",
|
|
24
90
|
"exports": {
|
|
25
91
|
".": {
|
|
26
|
-
"import":
|
|
27
|
-
|
|
92
|
+
"import": {
|
|
93
|
+
"types": "./lib/esm/index.d.ts",
|
|
94
|
+
"default": "./lib/esm/index.js"
|
|
95
|
+
},
|
|
96
|
+
"require": {
|
|
97
|
+
"types": "./lib/cjs/index.d.ts",
|
|
98
|
+
"default": "./lib/cjs/index.js"
|
|
99
|
+
}
|
|
28
100
|
}
|
|
29
101
|
},
|
|
30
|
-
"
|
|
31
|
-
"dist/**"
|
|
32
|
-
],
|
|
33
|
-
"scripts": {
|
|
34
|
-
"build": "run-s build:**",
|
|
35
|
-
"build:clean": "rimraf dist",
|
|
36
|
-
"build:esm": "tsc -p tsconfig.build.json",
|
|
37
|
-
"build:cjs": "tsc -p tsconfig.cjs.build.json",
|
|
38
|
-
"build:package-json": "bash ./scripts/create-package-json",
|
|
39
|
-
"test": "jest",
|
|
40
|
-
"format": "prettier ./src --write",
|
|
41
|
-
"lint": "eslint src --fix",
|
|
42
|
-
"prepare": "husky install",
|
|
43
|
-
"prepack": "npm run build",
|
|
44
|
-
"commit": "cz",
|
|
45
|
-
"semantic-release": "semantic-release"
|
|
46
|
-
},
|
|
47
|
-
"dependencies": {
|
|
48
|
-
"axios": "1.3.4",
|
|
49
|
-
"clone-deep": "4.0.1",
|
|
50
|
-
"zod": "3.21.4"
|
|
51
|
-
},
|
|
52
|
-
"devDependencies": {
|
|
53
|
-
"@semantic-release/changelog": "6.0.2",
|
|
54
|
-
"@semantic-release/git": "10.0.1",
|
|
55
|
-
"@types/clone-deep": "4.0.1",
|
|
56
|
-
"@types/jest": "29.5.0",
|
|
57
|
-
"@types/node": "16.11.59",
|
|
58
|
-
"@typescript-eslint/eslint-plugin": "5.55.0",
|
|
59
|
-
"@typescript-eslint/parser": "5.55.0",
|
|
60
|
-
"commitizen": "4.3.0",
|
|
61
|
-
"cz-conventional-changelog": "3.3.0",
|
|
62
|
-
"eslint": "8.36.0",
|
|
63
|
-
"eslint-config-prettier": "8.7.0",
|
|
64
|
-
"husky": "8.0.3",
|
|
65
|
-
"jest": "29.5.0",
|
|
66
|
-
"lint-staged": "13.2.0",
|
|
67
|
-
"nock": "13.3.0",
|
|
68
|
-
"npm-run-all": "4.1.5",
|
|
69
|
-
"prettier": "2.8.4",
|
|
70
|
-
"rimraf": "3.0.2",
|
|
71
|
-
"semantic-release": "^19.0.5",
|
|
72
|
-
"ts-jest": "29.0.5",
|
|
73
|
-
"typescript": "5.0.2"
|
|
74
|
-
},
|
|
75
|
-
"engines": {
|
|
76
|
-
"node": ">=14"
|
|
77
|
-
},
|
|
78
|
-
"lint-staged": {
|
|
79
|
-
"*.{ts,json,md}": "npm run format",
|
|
80
|
-
"*.ts": "npm run lint"
|
|
81
|
-
},
|
|
82
|
-
"publishConfig": {
|
|
83
|
-
"access": "public"
|
|
84
|
-
},
|
|
85
|
-
"config": {
|
|
86
|
-
"commitizen": {
|
|
87
|
-
"path": "./node_modules/cz-conventional-changelog"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
102
|
+
"//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"."
|
|
90
103
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
|
|
2
|
+
/**
|
|
3
|
+
* Creates a package.json for the given build type
|
|
4
|
+
*/
|
|
5
|
+
import fs from 'fs';
|
|
6
|
+
import path from 'path';
|
|
7
|
+
import { program } from 'commander';
|
|
8
|
+
|
|
9
|
+
program
|
|
10
|
+
.option('--moduleType <string>', 'The module type, cjs or esm')
|
|
11
|
+
.option(
|
|
12
|
+
'--packageJsonType <string>',
|
|
13
|
+
'The package.json type, either commonjs or module'
|
|
14
|
+
);
|
|
15
|
+
program.parse();
|
|
16
|
+
|
|
17
|
+
const options = program.opts();
|
|
18
|
+
|
|
19
|
+
const type = options.packageJsonType;
|
|
20
|
+
|
|
21
|
+
fs.writeFileSync(
|
|
22
|
+
path.resolve('lib', options.moduleType, 'package.json'),
|
|
23
|
+
JSON.stringify(
|
|
24
|
+
{
|
|
25
|
+
type,
|
|
26
|
+
},
|
|
27
|
+
null,
|
|
28
|
+
2
|
|
29
|
+
)
|
|
30
|
+
);
|
package/vitest.config.ts
ADDED
package/dist/cjs/comic-vine.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { userOptions } from './options';
|
|
2
|
-
export declare class ComicVine {
|
|
3
|
-
private _character;
|
|
4
|
-
private _concept;
|
|
5
|
-
private _episode;
|
|
6
|
-
private _issue;
|
|
7
|
-
private _location;
|
|
8
|
-
private _movie;
|
|
9
|
-
private _origin;
|
|
10
|
-
private _person;
|
|
11
|
-
private _power;
|
|
12
|
-
private _promo;
|
|
13
|
-
private _publisher;
|
|
14
|
-
private _series;
|
|
15
|
-
private _storyArc;
|
|
16
|
-
private _team;
|
|
17
|
-
private _thing;
|
|
18
|
-
private _video;
|
|
19
|
-
private _videoCategory;
|
|
20
|
-
private _videoType;
|
|
21
|
-
private _volume;
|
|
22
|
-
constructor(key: string, options?: userOptions);
|
|
23
|
-
get character(): import("./resources/character").Character;
|
|
24
|
-
get concept(): import("./resources/concept").Concept;
|
|
25
|
-
get episode(): import("./resources/episode").Episode;
|
|
26
|
-
get issue(): import("./resources/issue").Issue;
|
|
27
|
-
get location(): import("./resources/location").Location;
|
|
28
|
-
get movie(): import("./resources/movie").Movie;
|
|
29
|
-
get origin(): import("./resources/origin").Origin;
|
|
30
|
-
get person(): import("./resources/person").Person;
|
|
31
|
-
get power(): import("./resources/power").Power;
|
|
32
|
-
get promo(): import("./resources/promo").Promo;
|
|
33
|
-
get publisher(): import("./resources/publisher").Publisher;
|
|
34
|
-
get series(): import("./resources/series").Series;
|
|
35
|
-
get storyArc(): import("./resources/story-arc").StoryArc;
|
|
36
|
-
get team(): import("./resources/team").Team;
|
|
37
|
-
get thing(): import("./resources/thing").Thing;
|
|
38
|
-
get video(): import("./resources/video").Video;
|
|
39
|
-
get videoCategory(): import("./resources/video-category").VideoCategory;
|
|
40
|
-
get videoType(): import("./resources/video-type").VideoType;
|
|
41
|
-
get volume(): import("./resources/volume").Volume;
|
|
42
|
-
}
|
package/dist/cjs/comic-vine.js
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ComicVine = void 0;
|
|
4
|
-
const options_1 = require("./options");
|
|
5
|
-
const http_client_1 = require("./http-client");
|
|
6
|
-
const resources_1 = require("./resources");
|
|
7
|
-
class ComicVine {
|
|
8
|
-
constructor(key, options) {
|
|
9
|
-
const _options = (0, options_1.loadOptions)(options);
|
|
10
|
-
const httpClient = http_client_1.HttpClientFactory.createClient();
|
|
11
|
-
const urlBuilder = http_client_1.HttpClientFactory.createUrlBuilder(key, _options.baseUrl);
|
|
12
|
-
const resourceFactory = new resources_1.ResourceFactory(httpClient, urlBuilder);
|
|
13
|
-
this._character = resourceFactory.create('Character');
|
|
14
|
-
this._concept = resourceFactory.create('Concept');
|
|
15
|
-
this._episode = resourceFactory.create('Episode');
|
|
16
|
-
this._issue = resourceFactory.create('Issue');
|
|
17
|
-
this._location = resourceFactory.create('Location');
|
|
18
|
-
this._movie = resourceFactory.create('Movie');
|
|
19
|
-
this._origin = resourceFactory.create('Origin');
|
|
20
|
-
this._person = resourceFactory.create('Person');
|
|
21
|
-
this._power = resourceFactory.create('Power');
|
|
22
|
-
this._promo = resourceFactory.create('Promo');
|
|
23
|
-
this._publisher = resourceFactory.create('Publisher');
|
|
24
|
-
this._series = resourceFactory.create('Series');
|
|
25
|
-
this._storyArc = resourceFactory.create('StoryArc');
|
|
26
|
-
this._team = resourceFactory.create('Team');
|
|
27
|
-
this._thing = resourceFactory.create('Thing');
|
|
28
|
-
this._video = resourceFactory.create('Video');
|
|
29
|
-
this._videoCategory = resourceFactory.create('VideoCategory');
|
|
30
|
-
this._videoType = resourceFactory.create('VideoType');
|
|
31
|
-
this._volume = resourceFactory.create('Volume');
|
|
32
|
-
}
|
|
33
|
-
get character() {
|
|
34
|
-
return this._character;
|
|
35
|
-
}
|
|
36
|
-
get concept() {
|
|
37
|
-
return this._concept;
|
|
38
|
-
}
|
|
39
|
-
get episode() {
|
|
40
|
-
return this._episode;
|
|
41
|
-
}
|
|
42
|
-
get issue() {
|
|
43
|
-
return this._issue;
|
|
44
|
-
}
|
|
45
|
-
get location() {
|
|
46
|
-
return this._location;
|
|
47
|
-
}
|
|
48
|
-
get movie() {
|
|
49
|
-
return this._movie;
|
|
50
|
-
}
|
|
51
|
-
get origin() {
|
|
52
|
-
return this._origin;
|
|
53
|
-
}
|
|
54
|
-
get person() {
|
|
55
|
-
return this._person;
|
|
56
|
-
}
|
|
57
|
-
get power() {
|
|
58
|
-
return this._power;
|
|
59
|
-
}
|
|
60
|
-
get promo() {
|
|
61
|
-
return this._promo;
|
|
62
|
-
}
|
|
63
|
-
get publisher() {
|
|
64
|
-
return this._publisher;
|
|
65
|
-
}
|
|
66
|
-
get series() {
|
|
67
|
-
return this._series;
|
|
68
|
-
}
|
|
69
|
-
get storyArc() {
|
|
70
|
-
return this._storyArc;
|
|
71
|
-
}
|
|
72
|
-
get team() {
|
|
73
|
-
return this._team;
|
|
74
|
-
}
|
|
75
|
-
get thing() {
|
|
76
|
-
return this._thing;
|
|
77
|
-
}
|
|
78
|
-
get video() {
|
|
79
|
-
return this._video;
|
|
80
|
-
}
|
|
81
|
-
get videoCategory() {
|
|
82
|
-
return this._videoCategory;
|
|
83
|
-
}
|
|
84
|
-
get videoType() {
|
|
85
|
-
return this._videoType;
|
|
86
|
-
}
|
|
87
|
-
get volume() {
|
|
88
|
-
return this._volume;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
exports.ComicVine = ComicVine;
|
|
92
|
-
//# sourceMappingURL=comic-vine.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"comic-vine.js","sourceRoot":"","sources":["../../src/comic-vine.ts"],"names":[],"mappings":";;;AAAA,uCAAqD;AACrD,+CAAkD;AAClD,2CAA8C;AAE9C,MAAa,SAAS;IAqBpB,YAAY,GAAW,EAAE,OAAqB;QAC5C,MAAM,QAAQ,GAAG,IAAA,qBAAW,EAAC,OAAO,CAAC,CAAC;QACtC,MAAM,UAAU,GAAG,+BAAiB,CAAC,YAAY,EAAE,CAAC;QACpD,MAAM,UAAU,GAAG,+BAAiB,CAAC,gBAAgB,CACnD,GAAG,EACH,QAAQ,CAAC,OAAO,CACjB,CAAC;QACF,MAAM,eAAe,GAAG,IAAI,2BAAe,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;QAEpE,IAAI,CAAC,UAAU,GAAG,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QACtD,IAAI,CAAC,QAAQ,GAAG,eAAe,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;QAClD,IAAI,CAAC,QAAQ,GAAG,eAAe,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;QAClD,IAAI,CAAC,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAI,CAAC,SAAS,GAAG,eAAe,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QACpD,IAAI,CAAC,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAI,CAAC,OAAO,GAAG,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAChD,IAAI,CAAC,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAI,CAAC,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAI,CAAC,UAAU,GAAG,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QACtD,IAAI,CAAC,OAAO,GAAG,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAChD,IAAI,CAAC,SAAS,GAAG,eAAe,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QACpD,IAAI,CAAC,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAC5C,IAAI,CAAC,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAI,CAAC,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAI,CAAC,cAAc,GAAG,eAAe,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;QAC9D,IAAI,CAAC,UAAU,GAAG,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QACtD,IAAI,CAAC,OAAO,GAAG,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAClD,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,aAAa;QACf,OAAO,IAAI,CAAC,cAAc,CAAC;IAC7B,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;CACF;AA9HD,8BA8HC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BaseError = void 0;
|
|
4
|
-
class BaseError extends Error {
|
|
5
|
-
constructor(details) {
|
|
6
|
-
super(details.message);
|
|
7
|
-
this.name = this.constructor.name;
|
|
8
|
-
if (Error.captureStackTrace) {
|
|
9
|
-
Error.captureStackTrace(this, this.constructor);
|
|
10
|
-
}
|
|
11
|
-
this.help = details.help;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
exports.BaseError = BaseError;
|
|
15
|
-
//# sourceMappingURL=base-error.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-error.js","sourceRoot":"","sources":["../../../src/errors/base-error.ts"],"names":[],"mappings":";;;AAKA,MAAsB,SAAU,SAAQ,KAAK;IAG3C,YAAY,OAAqB;QAE/B,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QAGlC,IAAI,KAAK,CAAC,iBAAiB,EAAE;YAC3B,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;SACjD;QAGD,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAC3B,CAAC;CACF;AAhBD,8BAgBC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.customError = void 0;
|
|
4
|
-
const generic_error_1 = require("./generic-error");
|
|
5
|
-
const customError = (error) => {
|
|
6
|
-
if (error instanceof Error) {
|
|
7
|
-
return new generic_error_1.GenericError(error.message);
|
|
8
|
-
}
|
|
9
|
-
return new generic_error_1.GenericError();
|
|
10
|
-
};
|
|
11
|
-
exports.customError = customError;
|
|
12
|
-
//# sourceMappingURL=custom-error.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"custom-error.js","sourceRoot":"","sources":["../../../src/errors/custom-error.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAExC,MAAM,WAAW,GAAG,CAAC,KAAc,EAAE,EAAE;IAC5C,IAAI,KAAK,YAAY,KAAK,EAAE;QAC1B,OAAO,IAAI,4BAAY,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;KACxC;IACD,OAAO,IAAI,4BAAY,EAAE,CAAC;AAC5B,CAAC,CAAC;AALW,QAAA,WAAW,eAKtB"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ComicVineFilterError = void 0;
|
|
4
|
-
const base_error_1 = require("./base-error");
|
|
5
|
-
class ComicVineFilterError extends base_error_1.BaseError {
|
|
6
|
-
constructor() {
|
|
7
|
-
super({
|
|
8
|
-
message: 'There was a problem trying to filter the API results',
|
|
9
|
-
help: 'Please open a Github issue with steps to reproduce: https://github.com/AllyMurray/comic-vine/issues',
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.ComicVineFilterError = ComicVineFilterError;
|
|
14
|
-
//# sourceMappingURL=filter-error.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filter-error.js","sourceRoot":"","sources":["../../../src/errors/filter-error.ts"],"names":[],"mappings":";;;AAAA,6CAAyC;AAEzC,MAAa,oBAAqB,SAAQ,sBAAS;IACjD;QACE,KAAK,CAAC;YACJ,OAAO,EAAE,sDAAsD;YAC/D,IAAI,EAAE,qGAAqG;SAC5G,CAAC,CAAC;IACL,CAAC;CACF;AAPD,oDAOC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GenericError = void 0;
|
|
4
|
-
const base_error_1 = require("./base-error");
|
|
5
|
-
class GenericError extends base_error_1.BaseError {
|
|
6
|
-
constructor(message) {
|
|
7
|
-
super({
|
|
8
|
-
message: `An unexpected error occurred: ${message || 'Unknown Error'}`,
|
|
9
|
-
help: 'Please open a Github issue with steps to reproduce: https://github.com/AllyMurray/comic-vine/issues',
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.GenericError = GenericError;
|
|
14
|
-
//# sourceMappingURL=generic-error.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generic-error.js","sourceRoot":"","sources":["../../../src/errors/generic-error.ts"],"names":[],"mappings":";;;AAAA,6CAAyC;AAEzC,MAAa,YAAa,SAAQ,sBAAS;IACzC,YAAY,OAAgB;QAC1B,KAAK,CAAC;YACJ,OAAO,EAAE,iCAAiC,OAAO,IAAI,eAAe,EAAE;YACtE,IAAI,EAAE,qGAAqG;SAC5G,CAAC,CAAC;IACL,CAAC;CACF;AAPD,oCAOC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ComicVineGenericRequestError = exports.ComicVineGenericError = void 0;
|
|
4
|
-
const base_error_1 = require("./base-error");
|
|
5
|
-
class ComicVineGenericError extends base_error_1.BaseError {
|
|
6
|
-
constructor(message) {
|
|
7
|
-
super({
|
|
8
|
-
message: `Request to comic vine failed: ${message !== null && message !== void 0 ? message : 'Unknown Error'}`,
|
|
9
|
-
help: 'Please open a Github issue with steps to reproduce: https://github.com/AllyMurray/comic-vine/issues',
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.ComicVineGenericError = ComicVineGenericError;
|
|
14
|
-
class ComicVineGenericRequestError extends ComicVineGenericError {
|
|
15
|
-
constructor(message) {
|
|
16
|
-
super(message);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
exports.ComicVineGenericRequestError = ComicVineGenericRequestError;
|
|
20
|
-
//# sourceMappingURL=generic-request-error.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generic-request-error.js","sourceRoot":"","sources":["../../../src/errors/generic-request-error.ts"],"names":[],"mappings":";;;AAAA,6CAAyC;AAKzC,MAAa,qBAAsB,SAAQ,sBAAS;IAClD,YAAY,OAAgB;QAC1B,KAAK,CAAC;YACJ,OAAO,EAAE,iCAAiC,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,eAAe,EAAE;YACtE,IAAI,EAAE,qGAAqG;SAC5G,CAAC,CAAC;IACL,CAAC;CACF;AAPD,sDAOC;AAED,MAAa,4BAA6B,SAAQ,qBAAqB;IACrE,YAAY,OAAgB;QAC1B,KAAK,CAAC,OAAO,CAAC,CAAC;IACjB,CAAC;CACF;AAJD,oEAIC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './custom-error';
|
|
2
|
-
export * from './filter-error';
|
|
3
|
-
export * from './generic-error';
|
|
4
|
-
export * from './generic-request-error';
|
|
5
|
-
export * from './jsonp-callback-missing-error';
|
|
6
|
-
export * from './object-not-found-error';
|
|
7
|
-
export * from './options-validation-error';
|
|
8
|
-
export * from './subscriber-only-error';
|
|
9
|
-
export * from './unauthorized-error';
|
|
10
|
-
export * from './url-format-error';
|