comic-vine-sdk 1.2.4 → 1.2.6

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.
Files changed (1347) hide show
  1. package/.gitattributes +27 -0
  2. package/.husky/pre-commit +4 -0
  3. package/.prettierignore +2 -0
  4. package/.prettierrc.json +4 -0
  5. package/.projenrc.ts +76 -0
  6. package/.releaserc.json +17 -0
  7. package/CHANGELOG.md +83 -0
  8. package/CODE_OF_CONDUCT.md +128 -0
  9. package/LICENSE +1 -3
  10. package/jest.setup.js +2 -0
  11. package/lib/cjs/comic-vine.d.ts +42 -0
  12. package/lib/cjs/comic-vine.js +92 -0
  13. package/lib/cjs/errors/base-error.js +18 -0
  14. package/lib/cjs/errors/custom-error.d.ts +2 -0
  15. package/lib/cjs/errors/custom-error.js +12 -0
  16. package/lib/cjs/errors/filter-error.d.ts +4 -0
  17. package/lib/cjs/errors/filter-error.js +14 -0
  18. package/lib/cjs/errors/generic-error.d.ts +4 -0
  19. package/lib/cjs/errors/generic-error.js +14 -0
  20. package/lib/cjs/errors/generic-request-error.d.ts +10 -0
  21. package/lib/cjs/errors/generic-request-error.js +23 -0
  22. package/lib/cjs/errors/index.d.ts +10 -0
  23. package/lib/cjs/errors/index.js +27 -0
  24. package/lib/cjs/errors/jsonp-callback-missing-error.d.ts +4 -0
  25. package/lib/cjs/errors/jsonp-callback-missing-error.js +14 -0
  26. package/lib/cjs/errors/object-not-found-error.d.ts +4 -0
  27. package/lib/cjs/errors/object-not-found-error.js +14 -0
  28. package/lib/cjs/errors/options-validation-error.d.ts +4 -0
  29. package/lib/cjs/errors/options-validation-error.js +14 -0
  30. package/lib/cjs/errors/subscriber-only-error.d.ts +4 -0
  31. package/lib/cjs/errors/subscriber-only-error.js +14 -0
  32. package/lib/cjs/errors/unauthorized-error.d.ts +4 -0
  33. package/lib/cjs/errors/unauthorized-error.js +14 -0
  34. package/lib/cjs/errors/url-format-error.d.ts +4 -0
  35. package/lib/cjs/errors/url-format-error.js +14 -0
  36. package/lib/cjs/http-client/http-client-factory.d.ts +6 -0
  37. package/lib/cjs/http-client/http-client-factory.js +15 -0
  38. package/lib/cjs/http-client/http-client.d.ts +8 -0
  39. package/lib/cjs/http-client/http-client.js +69 -0
  40. package/lib/cjs/http-client/index.d.ts +1 -0
  41. package/lib/cjs/http-client/index.js +18 -0
  42. package/lib/cjs/http-client/status-code.js +14 -0
  43. package/lib/cjs/http-client/url-builder.d.ts +29 -0
  44. package/lib/cjs/http-client/url-builder.js +107 -0
  45. package/lib/cjs/index.d.ts +3 -0
  46. package/lib/cjs/index.js +5 -0
  47. package/lib/cjs/options/index.d.ts +22 -0
  48. package/lib/cjs/options/index.js +32 -0
  49. package/lib/cjs/package.json +3 -0
  50. package/lib/cjs/resources/base-resource.d.ts +19 -0
  51. package/lib/cjs/resources/base-resource.js +86 -0
  52. package/lib/cjs/resources/character/character.d.ts +6 -0
  53. package/lib/cjs/resources/character/character.js +13 -0
  54. package/lib/cjs/resources/character/index.d.ts +1 -0
  55. package/lib/cjs/resources/character/index.js +18 -0
  56. package/lib/cjs/resources/character/types/character-details.d.ts +110 -0
  57. package/lib/cjs/resources/character/types/character-details.js +3 -0
  58. package/lib/cjs/resources/character/types/character-list-item.d.ts +71 -0
  59. package/lib/cjs/resources/character/types/character-list-item.js +3 -0
  60. package/lib/cjs/resources/character/types/index.d.ts +2 -0
  61. package/lib/cjs/resources/character/types/index.js +19 -0
  62. package/lib/cjs/resources/common-types.d.ts +58 -0
  63. package/lib/cjs/resources/common-types.js +3 -0
  64. package/lib/cjs/resources/concept/concept.d.ts +6 -0
  65. package/lib/cjs/resources/concept/concept.js +13 -0
  66. package/lib/cjs/resources/concept/index.d.ts +1 -0
  67. package/lib/cjs/resources/concept/index.js +18 -0
  68. package/lib/cjs/resources/concept/types/concept-details.d.ts +58 -0
  69. package/lib/cjs/resources/concept/types/concept-details.js +3 -0
  70. package/lib/cjs/resources/concept/types/concept-list-item.d.ts +52 -0
  71. package/lib/cjs/resources/concept/types/concept-list-item.js +3 -0
  72. package/lib/cjs/resources/concept/types/index.d.ts +2 -0
  73. package/lib/cjs/resources/concept/types/index.js +19 -0
  74. package/lib/cjs/resources/episode/episode.d.ts +6 -0
  75. package/lib/cjs/resources/episode/episode.js +13 -0
  76. package/lib/cjs/resources/episode/index.d.ts +1 -0
  77. package/lib/cjs/resources/episode/index.js +18 -0
  78. package/lib/cjs/resources/episode/types/episode-details.d.ts +87 -0
  79. package/lib/cjs/resources/episode/types/episode-details.js +3 -0
  80. package/lib/cjs/resources/episode/types/episode-list-item.d.ts +53 -0
  81. package/lib/cjs/resources/episode/types/episode-list-item.js +3 -0
  82. package/lib/cjs/resources/episode/types/index.d.ts +2 -0
  83. package/lib/cjs/resources/episode/types/index.js +19 -0
  84. package/lib/cjs/resources/index.d.ts +3 -0
  85. package/lib/cjs/resources/index.js +20 -0
  86. package/lib/cjs/resources/issue/index.d.ts +1 -0
  87. package/lib/cjs/resources/issue/index.js +18 -0
  88. package/lib/cjs/resources/issue/issue.d.ts +6 -0
  89. package/lib/cjs/resources/issue/issue.js +13 -0
  90. package/lib/cjs/resources/issue/types/index.d.ts +2 -0
  91. package/lib/cjs/resources/issue/types/index.js +19 -0
  92. package/lib/cjs/resources/issue/types/issue-details.d.ts +94 -0
  93. package/lib/cjs/resources/issue/types/issue-details.js +3 -0
  94. package/lib/cjs/resources/issue/types/issue-list-item.d.ts +61 -0
  95. package/lib/cjs/resources/issue/types/issue-list-item.js +3 -0
  96. package/lib/cjs/resources/location/index.d.ts +1 -0
  97. package/lib/cjs/resources/location/index.js +18 -0
  98. package/lib/cjs/resources/location/location.d.ts +6 -0
  99. package/lib/cjs/resources/location/location.js +13 -0
  100. package/lib/cjs/resources/location/types/index.d.ts +2 -0
  101. package/lib/cjs/resources/location/types/index.js +19 -0
  102. package/lib/cjs/resources/location/types/location-details.d.ts +62 -0
  103. package/lib/cjs/resources/location/types/location-details.js +3 -0
  104. package/lib/cjs/resources/location/types/location-list-item.d.ts +55 -0
  105. package/lib/cjs/resources/location/types/location-list-item.js +3 -0
  106. package/lib/cjs/resources/movie/index.d.ts +1 -0
  107. package/lib/cjs/resources/movie/index.js +18 -0
  108. package/lib/cjs/resources/movie/movie.d.ts +6 -0
  109. package/lib/cjs/resources/movie/movie.js +13 -0
  110. package/lib/cjs/resources/movie/types/index.d.ts +2 -0
  111. package/lib/cjs/resources/movie/types/index.js +19 -0
  112. package/lib/cjs/resources/movie/types/movie-details.d.ts +91 -0
  113. package/lib/cjs/resources/movie/types/movie-details.js +3 -0
  114. package/lib/cjs/resources/movie/types/movie-list-item.d.ts +74 -0
  115. package/lib/cjs/resources/movie/types/movie-list-item.js +3 -0
  116. package/lib/cjs/resources/origin/index.d.ts +1 -0
  117. package/lib/cjs/resources/origin/index.js +18 -0
  118. package/lib/cjs/resources/origin/origin.d.ts +6 -0
  119. package/lib/cjs/resources/origin/origin.js +13 -0
  120. package/lib/cjs/resources/origin/types/index.d.ts +2 -0
  121. package/lib/cjs/resources/origin/types/index.js +19 -0
  122. package/lib/cjs/resources/origin/types/origin-details.d.ts +22 -0
  123. package/lib/cjs/resources/origin/types/origin-details.js +3 -0
  124. package/lib/cjs/resources/origin/types/origin-list-item.d.ts +18 -0
  125. package/lib/cjs/resources/origin/types/origin-list-item.js +3 -0
  126. package/lib/cjs/resources/person/index.d.ts +1 -0
  127. package/lib/cjs/resources/person/index.js +18 -0
  128. package/lib/cjs/resources/person/person.d.ts +6 -0
  129. package/lib/cjs/resources/person/person.js +13 -0
  130. package/lib/cjs/resources/person/types/index.d.ts +2 -0
  131. package/lib/cjs/resources/person/types/index.js +19 -0
  132. package/lib/cjs/resources/person/types/person-details.d.ts +82 -0
  133. package/lib/cjs/resources/person/types/person-details.js +3 -0
  134. package/lib/cjs/resources/person/types/person-list-item.d.ts +77 -0
  135. package/lib/cjs/resources/person/types/person-list-item.js +8 -0
  136. package/lib/cjs/resources/power/index.d.ts +1 -0
  137. package/lib/cjs/resources/power/index.js +18 -0
  138. package/lib/cjs/resources/power/power.d.ts +6 -0
  139. package/lib/cjs/resources/power/power.js +13 -0
  140. package/lib/cjs/resources/power/types/index.d.ts +2 -0
  141. package/lib/cjs/resources/power/types/index.js +19 -0
  142. package/lib/cjs/resources/power/types/power-details.d.ts +39 -0
  143. package/lib/cjs/resources/power/types/power-details.js +3 -0
  144. package/lib/cjs/resources/power/types/power-list-item.d.ts +34 -0
  145. package/lib/cjs/resources/power/types/power-list-item.js +3 -0
  146. package/lib/cjs/resources/promo/index.d.ts +1 -0
  147. package/lib/cjs/resources/promo/index.js +18 -0
  148. package/lib/cjs/resources/promo/promo.d.ts +6 -0
  149. package/lib/cjs/resources/promo/promo.js +13 -0
  150. package/lib/cjs/resources/promo/types/index.d.ts +2 -0
  151. package/lib/cjs/resources/promo/types/index.js +19 -0
  152. package/lib/cjs/resources/promo/types/promo-details.d.ts +40 -0
  153. package/lib/cjs/resources/promo/types/promo-details.js +3 -0
  154. package/lib/cjs/resources/promo/types/promo-list-item.d.ts +40 -0
  155. package/lib/cjs/resources/promo/types/promo-list-item.js +3 -0
  156. package/lib/cjs/resources/publisher/index.d.ts +1 -0
  157. package/lib/cjs/resources/publisher/index.js +18 -0
  158. package/lib/cjs/resources/publisher/publisher.d.ts +6 -0
  159. package/lib/cjs/resources/publisher/publisher.js +13 -0
  160. package/lib/cjs/resources/publisher/types/index.d.ts +2 -0
  161. package/lib/cjs/resources/publisher/types/index.js +19 -0
  162. package/lib/cjs/resources/publisher/types/publisher-details.d.ts +71 -0
  163. package/lib/cjs/resources/publisher/types/publisher-details.js +3 -0
  164. package/lib/cjs/resources/publisher/types/publisher-list-item.d.ts +61 -0
  165. package/lib/cjs/resources/publisher/types/publisher-list-item.js +11 -0
  166. package/lib/cjs/resources/resource-factory.d.ts +8 -0
  167. package/lib/cjs/resources/resource-factory.js +42 -0
  168. package/lib/cjs/resources/resource-list.d.ts +19 -0
  169. package/lib/cjs/resources/resource-list.js +36 -0
  170. package/lib/cjs/resources/resource-map.d.ts +7 -0
  171. package/lib/cjs/resources/resource-map.js +40 -0
  172. package/lib/cjs/resources/resource-type.js +26 -0
  173. package/lib/cjs/resources/series/index.d.ts +1 -0
  174. package/lib/cjs/resources/series/index.js +18 -0
  175. package/lib/cjs/resources/series/series.d.ts +6 -0
  176. package/lib/cjs/resources/series/series.js +13 -0
  177. package/lib/cjs/resources/series/types/index.d.ts +2 -0
  178. package/lib/cjs/resources/series/types/index.js +19 -0
  179. package/lib/cjs/resources/series/types/series-details.d.ts +68 -0
  180. package/lib/cjs/resources/series/types/series-details.js +3 -0
  181. package/lib/cjs/resources/series/types/series-list-item.d.ts +18 -0
  182. package/lib/cjs/resources/series/types/series-list-item.js +3 -0
  183. package/lib/cjs/resources/story-arc/index.d.ts +1 -0
  184. package/lib/cjs/resources/story-arc/index.js +18 -0
  185. package/lib/cjs/resources/story-arc/story-arc.d.ts +6 -0
  186. package/lib/cjs/resources/story-arc/story-arc.js +13 -0
  187. package/lib/cjs/resources/story-arc/types/index.d.ts +2 -0
  188. package/lib/cjs/resources/story-arc/types/index.js +19 -0
  189. package/lib/cjs/resources/story-arc/types/story-arc-details.d.ts +62 -0
  190. package/lib/cjs/resources/story-arc/types/story-arc-details.js +3 -0
  191. package/lib/cjs/resources/story-arc/types/story-arc-list-item.d.ts +53 -0
  192. package/lib/cjs/resources/story-arc/types/story-arc-list-item.js +3 -0
  193. package/lib/cjs/resources/team/index.d.ts +1 -0
  194. package/lib/cjs/resources/team/index.js +18 -0
  195. package/lib/cjs/resources/team/team.d.ts +6 -0
  196. package/lib/cjs/resources/team/team.js +13 -0
  197. package/lib/cjs/resources/team/types/index.d.ts +2 -0
  198. package/lib/cjs/resources/team/types/index.js +19 -0
  199. package/lib/cjs/resources/team/types/team-details.d.ts +80 -0
  200. package/lib/cjs/resources/team/types/team-details.js +3 -0
  201. package/lib/cjs/resources/team/types/team-list-item.d.ts +56 -0
  202. package/lib/cjs/resources/team/types/team-list-item.js +3 -0
  203. package/lib/cjs/resources/thing/index.d.ts +1 -0
  204. package/lib/cjs/resources/thing/index.js +18 -0
  205. package/lib/cjs/resources/thing/thing.d.ts +6 -0
  206. package/lib/cjs/resources/thing/thing.js +13 -0
  207. package/lib/cjs/resources/thing/types/index.d.ts +2 -0
  208. package/lib/cjs/resources/thing/types/index.js +19 -0
  209. package/lib/cjs/resources/thing/types/thing-details.d.ts +62 -0
  210. package/lib/cjs/resources/thing/types/thing-details.js +3 -0
  211. package/lib/cjs/resources/thing/types/thing-list-item.d.ts +55 -0
  212. package/lib/cjs/resources/thing/types/thing-list-item.js +3 -0
  213. package/lib/cjs/resources/video/index.d.ts +1 -0
  214. package/lib/cjs/resources/video/index.js +18 -0
  215. package/lib/cjs/resources/video/types/index.d.ts +2 -0
  216. package/lib/cjs/resources/video/types/index.js +19 -0
  217. package/lib/cjs/resources/video/types/video-details.d.ts +63 -0
  218. package/lib/cjs/resources/video/types/video-details.js +3 -0
  219. package/lib/cjs/resources/video/types/video-list-item.d.ts +85 -0
  220. package/lib/cjs/resources/video/types/video-list-item.js +28 -0
  221. package/lib/cjs/resources/video/video.d.ts +6 -0
  222. package/lib/cjs/resources/video/video.js +13 -0
  223. package/lib/cjs/resources/video-category/index.d.ts +1 -0
  224. package/lib/cjs/resources/video-category/index.js +18 -0
  225. package/lib/cjs/resources/video-category/types/index.d.ts +2 -0
  226. package/lib/cjs/resources/video-category/types/index.js +19 -0
  227. package/lib/cjs/resources/video-category/types/video-category-details.d.ts +24 -0
  228. package/lib/cjs/resources/video-category/types/video-category-details.js +3 -0
  229. package/lib/cjs/resources/video-category/types/video-category-list-item.d.ts +24 -0
  230. package/lib/cjs/resources/video-category/types/video-category-list-item.js +3 -0
  231. package/lib/cjs/resources/video-category/video-category.d.ts +6 -0
  232. package/lib/cjs/resources/video-category/video-category.js +13 -0
  233. package/lib/cjs/resources/video-type/index.d.ts +1 -0
  234. package/lib/cjs/resources/video-type/index.js +18 -0
  235. package/lib/cjs/resources/video-type/types/index.d.ts +2 -0
  236. package/lib/cjs/resources/video-type/types/index.js +19 -0
  237. package/lib/cjs/resources/video-type/types/video-type-details.d.ts +22 -0
  238. package/lib/cjs/resources/video-type/types/video-type-details.js +3 -0
  239. package/lib/cjs/resources/video-type/types/video-type-list-item.d.ts +22 -0
  240. package/lib/cjs/resources/video-type/types/video-type-list-item.js +3 -0
  241. package/lib/cjs/resources/video-type/video-type.d.ts +6 -0
  242. package/lib/cjs/resources/video-type/video-type.js +13 -0
  243. package/lib/cjs/resources/volume/index.d.ts +1 -0
  244. package/lib/cjs/resources/volume/index.js +18 -0
  245. package/lib/cjs/resources/volume/types/index.d.ts +2 -0
  246. package/lib/cjs/resources/volume/types/index.js +19 -0
  247. package/lib/cjs/resources/volume/types/volume-details.d.ts +77 -0
  248. package/lib/cjs/resources/volume/types/volume-details.js +3 -0
  249. package/lib/cjs/resources/volume/types/volume-list-item.d.ts +63 -0
  250. package/lib/cjs/resources/volume/types/volume-list-item.js +3 -0
  251. package/lib/cjs/resources/volume/volume.d.ts +6 -0
  252. package/lib/cjs/resources/volume/volume.js +13 -0
  253. package/lib/cjs/types/apply-override.d.ts +1 -0
  254. package/lib/cjs/types/apply-override.js +3 -0
  255. package/lib/cjs/types/http-client.d.ts +4 -0
  256. package/lib/cjs/types/http-client.js +3 -0
  257. package/lib/cjs/types/index.d.ts +7 -0
  258. package/lib/cjs/types/index.js +24 -0
  259. package/lib/cjs/types/iso-date.d.ts +7 -0
  260. package/lib/cjs/types/iso-date.js +3 -0
  261. package/lib/cjs/types/pick-filters.d.ts +6 -0
  262. package/lib/cjs/types/pick-filters.js +3 -0
  263. package/lib/cjs/types/request.d.ts +31 -0
  264. package/lib/cjs/types/request.js +3 -0
  265. package/lib/cjs/types/response.d.ts +10 -0
  266. package/lib/cjs/types/response.js +3 -0
  267. package/lib/cjs/types/url-builder.d.ts +6 -0
  268. package/lib/cjs/types/url-builder.js +3 -0
  269. package/lib/cjs/types/valueof.d.ts +1 -0
  270. package/lib/cjs/types/valueof.js +3 -0
  271. package/lib/cjs/utils/case-converter.js +34 -0
  272. package/lib/cjs/utils/index.d.ts +2 -0
  273. package/lib/cjs/utils/index.js +19 -0
  274. package/lib/cjs/utils/is-object.js +8 -0
  275. package/lib/esm/comic-vine.d.ts +42 -0
  276. package/lib/esm/comic-vine.js +88 -0
  277. package/lib/esm/errors/base-error.js +14 -0
  278. package/lib/esm/errors/custom-error.d.ts +2 -0
  279. package/lib/esm/errors/custom-error.js +8 -0
  280. package/lib/esm/errors/filter-error.d.ts +4 -0
  281. package/lib/esm/errors/filter-error.js +10 -0
  282. package/lib/esm/errors/generic-error.d.ts +4 -0
  283. package/lib/esm/errors/generic-error.js +10 -0
  284. package/lib/esm/errors/generic-request-error.d.ts +10 -0
  285. package/lib/esm/errors/generic-request-error.js +18 -0
  286. package/lib/esm/errors/index.d.ts +10 -0
  287. package/lib/esm/errors/index.js +11 -0
  288. package/lib/esm/errors/jsonp-callback-missing-error.d.ts +4 -0
  289. package/lib/esm/errors/jsonp-callback-missing-error.js +10 -0
  290. package/lib/esm/errors/object-not-found-error.d.ts +4 -0
  291. package/lib/esm/errors/object-not-found-error.js +10 -0
  292. package/lib/esm/errors/options-validation-error.d.ts +4 -0
  293. package/lib/esm/errors/options-validation-error.js +10 -0
  294. package/lib/esm/errors/subscriber-only-error.d.ts +4 -0
  295. package/lib/esm/errors/subscriber-only-error.js +10 -0
  296. package/lib/esm/errors/unauthorized-error.d.ts +4 -0
  297. package/lib/esm/errors/unauthorized-error.js +10 -0
  298. package/lib/esm/errors/url-format-error.d.ts +4 -0
  299. package/lib/esm/errors/url-format-error.js +10 -0
  300. package/lib/esm/http-client/http-client-factory.d.ts +6 -0
  301. package/lib/esm/http-client/http-client-factory.js +11 -0
  302. package/lib/esm/http-client/http-client.d.ts +8 -0
  303. package/lib/esm/http-client/http-client.js +50 -0
  304. package/lib/esm/http-client/index.d.ts +1 -0
  305. package/lib/esm/http-client/index.js +2 -0
  306. package/lib/esm/http-client/status-code.js +11 -0
  307. package/lib/esm/http-client/url-builder.d.ts +29 -0
  308. package/lib/esm/http-client/url-builder.js +103 -0
  309. package/lib/esm/index.d.ts +3 -0
  310. package/lib/esm/index.js +3 -0
  311. package/lib/esm/options/index.d.ts +22 -0
  312. package/lib/esm/options/index.js +28 -0
  313. package/lib/esm/package.json +3 -0
  314. package/lib/esm/resources/base-resource.d.ts +19 -0
  315. package/lib/esm/resources/base-resource.js +54 -0
  316. package/lib/esm/resources/character/character.d.ts +6 -0
  317. package/lib/esm/resources/character/character.js +9 -0
  318. package/lib/esm/resources/character/index.d.ts +1 -0
  319. package/lib/esm/resources/character/index.js +2 -0
  320. package/lib/esm/resources/character/types/character-details.d.ts +110 -0
  321. package/lib/esm/resources/character/types/character-details.js +2 -0
  322. package/lib/esm/resources/character/types/character-list-item.d.ts +71 -0
  323. package/lib/esm/resources/character/types/character-list-item.js +2 -0
  324. package/lib/esm/resources/character/types/index.d.ts +2 -0
  325. package/lib/esm/resources/character/types/index.js +3 -0
  326. package/lib/esm/resources/common-types.d.ts +58 -0
  327. package/lib/esm/resources/common-types.js +2 -0
  328. package/lib/esm/resources/concept/concept.d.ts +6 -0
  329. package/lib/esm/resources/concept/concept.js +9 -0
  330. package/lib/esm/resources/concept/index.d.ts +1 -0
  331. package/lib/esm/resources/concept/index.js +2 -0
  332. package/lib/esm/resources/concept/types/concept-details.d.ts +58 -0
  333. package/lib/esm/resources/concept/types/concept-details.js +2 -0
  334. package/lib/esm/resources/concept/types/concept-list-item.d.ts +52 -0
  335. package/lib/esm/resources/concept/types/concept-list-item.js +2 -0
  336. package/lib/esm/resources/concept/types/index.d.ts +2 -0
  337. package/lib/esm/resources/concept/types/index.js +3 -0
  338. package/lib/esm/resources/episode/episode.d.ts +6 -0
  339. package/lib/esm/resources/episode/episode.js +9 -0
  340. package/lib/esm/resources/episode/index.d.ts +1 -0
  341. package/lib/esm/resources/episode/index.js +2 -0
  342. package/lib/esm/resources/episode/types/episode-details.d.ts +87 -0
  343. package/lib/esm/resources/episode/types/episode-details.js +2 -0
  344. package/lib/esm/resources/episode/types/episode-list-item.d.ts +53 -0
  345. package/lib/esm/resources/episode/types/episode-list-item.js +2 -0
  346. package/lib/esm/resources/episode/types/index.d.ts +2 -0
  347. package/lib/esm/resources/episode/types/index.js +3 -0
  348. package/lib/esm/resources/index.d.ts +3 -0
  349. package/lib/esm/resources/index.js +4 -0
  350. package/lib/esm/resources/issue/index.d.ts +1 -0
  351. package/lib/esm/resources/issue/index.js +2 -0
  352. package/lib/esm/resources/issue/issue.d.ts +6 -0
  353. package/lib/esm/resources/issue/issue.js +9 -0
  354. package/lib/esm/resources/issue/types/index.d.ts +2 -0
  355. package/lib/esm/resources/issue/types/index.js +3 -0
  356. package/lib/esm/resources/issue/types/issue-details.d.ts +94 -0
  357. package/lib/esm/resources/issue/types/issue-details.js +2 -0
  358. package/lib/esm/resources/issue/types/issue-list-item.d.ts +61 -0
  359. package/lib/esm/resources/issue/types/issue-list-item.js +2 -0
  360. package/lib/esm/resources/location/index.d.ts +1 -0
  361. package/lib/esm/resources/location/index.js +2 -0
  362. package/lib/esm/resources/location/location.d.ts +6 -0
  363. package/lib/esm/resources/location/location.js +9 -0
  364. package/lib/esm/resources/location/types/index.d.ts +2 -0
  365. package/lib/esm/resources/location/types/index.js +3 -0
  366. package/lib/esm/resources/location/types/location-details.d.ts +62 -0
  367. package/lib/esm/resources/location/types/location-details.js +2 -0
  368. package/lib/esm/resources/location/types/location-list-item.d.ts +55 -0
  369. package/lib/esm/resources/location/types/location-list-item.js +2 -0
  370. package/lib/esm/resources/movie/index.d.ts +1 -0
  371. package/lib/esm/resources/movie/index.js +2 -0
  372. package/lib/esm/resources/movie/movie.d.ts +6 -0
  373. package/lib/esm/resources/movie/movie.js +9 -0
  374. package/lib/esm/resources/movie/types/index.d.ts +2 -0
  375. package/lib/esm/resources/movie/types/index.js +3 -0
  376. package/lib/esm/resources/movie/types/movie-details.d.ts +91 -0
  377. package/lib/esm/resources/movie/types/movie-details.js +2 -0
  378. package/lib/esm/resources/movie/types/movie-list-item.d.ts +74 -0
  379. package/lib/esm/resources/movie/types/movie-list-item.js +2 -0
  380. package/lib/esm/resources/origin/index.d.ts +1 -0
  381. package/lib/esm/resources/origin/index.js +2 -0
  382. package/lib/esm/resources/origin/origin.d.ts +6 -0
  383. package/lib/esm/resources/origin/origin.js +9 -0
  384. package/lib/esm/resources/origin/types/index.d.ts +2 -0
  385. package/lib/esm/resources/origin/types/index.js +3 -0
  386. package/lib/esm/resources/origin/types/origin-details.d.ts +22 -0
  387. package/lib/esm/resources/origin/types/origin-details.js +2 -0
  388. package/lib/esm/resources/origin/types/origin-list-item.d.ts +18 -0
  389. package/lib/esm/resources/origin/types/origin-list-item.js +2 -0
  390. package/lib/esm/resources/person/index.d.ts +1 -0
  391. package/lib/esm/resources/person/index.js +2 -0
  392. package/lib/esm/resources/person/person.d.ts +6 -0
  393. package/lib/esm/resources/person/person.js +9 -0
  394. package/lib/esm/resources/person/types/index.d.ts +2 -0
  395. package/lib/esm/resources/person/types/index.js +3 -0
  396. package/lib/esm/resources/person/types/person-details.d.ts +82 -0
  397. package/lib/esm/resources/person/types/person-details.js +2 -0
  398. package/lib/esm/resources/person/types/person-list-item.d.ts +77 -0
  399. package/lib/esm/resources/person/types/person-list-item.js +5 -0
  400. package/lib/esm/resources/power/index.d.ts +1 -0
  401. package/lib/esm/resources/power/index.js +2 -0
  402. package/lib/esm/resources/power/power.d.ts +6 -0
  403. package/lib/esm/resources/power/power.js +9 -0
  404. package/lib/esm/resources/power/types/index.d.ts +2 -0
  405. package/lib/esm/resources/power/types/index.js +3 -0
  406. package/lib/esm/resources/power/types/power-details.d.ts +39 -0
  407. package/lib/esm/resources/power/types/power-details.js +2 -0
  408. package/lib/esm/resources/power/types/power-list-item.d.ts +34 -0
  409. package/lib/esm/resources/power/types/power-list-item.js +2 -0
  410. package/lib/esm/resources/promo/index.d.ts +1 -0
  411. package/lib/esm/resources/promo/index.js +2 -0
  412. package/lib/esm/resources/promo/promo.d.ts +6 -0
  413. package/lib/esm/resources/promo/promo.js +9 -0
  414. package/lib/esm/resources/promo/types/index.d.ts +2 -0
  415. package/lib/esm/resources/promo/types/index.js +3 -0
  416. package/lib/esm/resources/promo/types/promo-details.d.ts +40 -0
  417. package/lib/esm/resources/promo/types/promo-details.js +2 -0
  418. package/lib/esm/resources/promo/types/promo-list-item.d.ts +40 -0
  419. package/lib/esm/resources/promo/types/promo-list-item.js +2 -0
  420. package/lib/esm/resources/publisher/index.d.ts +1 -0
  421. package/lib/esm/resources/publisher/index.js +2 -0
  422. package/lib/esm/resources/publisher/publisher.d.ts +6 -0
  423. package/lib/esm/resources/publisher/publisher.js +9 -0
  424. package/lib/esm/resources/publisher/types/index.d.ts +2 -0
  425. package/lib/esm/resources/publisher/types/index.js +3 -0
  426. package/lib/esm/resources/publisher/types/publisher-details.d.ts +71 -0
  427. package/lib/esm/resources/publisher/types/publisher-details.js +2 -0
  428. package/lib/esm/resources/publisher/types/publisher-list-item.d.ts +61 -0
  429. package/lib/esm/resources/publisher/types/publisher-list-item.js +8 -0
  430. package/lib/esm/resources/resource-factory.d.ts +8 -0
  431. package/lib/esm/resources/resource-factory.js +15 -0
  432. package/lib/esm/resources/resource-list.d.ts +19 -0
  433. package/lib/esm/resources/resource-list.js +20 -0
  434. package/lib/esm/resources/resource-map.d.ts +7 -0
  435. package/lib/esm/resources/resource-map.js +36 -0
  436. package/lib/esm/resources/resource-type.js +23 -0
  437. package/lib/esm/resources/series/index.d.ts +1 -0
  438. package/lib/esm/resources/series/index.js +2 -0
  439. package/lib/esm/resources/series/series.d.ts +6 -0
  440. package/lib/esm/resources/series/series.js +9 -0
  441. package/lib/esm/resources/series/types/index.d.ts +2 -0
  442. package/lib/esm/resources/series/types/index.js +3 -0
  443. package/lib/esm/resources/series/types/series-details.d.ts +68 -0
  444. package/lib/esm/resources/series/types/series-details.js +2 -0
  445. package/lib/esm/resources/series/types/series-list-item.d.ts +18 -0
  446. package/lib/esm/resources/series/types/series-list-item.js +2 -0
  447. package/lib/esm/resources/story-arc/index.d.ts +1 -0
  448. package/lib/esm/resources/story-arc/index.js +2 -0
  449. package/lib/esm/resources/story-arc/story-arc.d.ts +6 -0
  450. package/lib/esm/resources/story-arc/story-arc.js +9 -0
  451. package/lib/esm/resources/story-arc/types/index.d.ts +2 -0
  452. package/lib/esm/resources/story-arc/types/index.js +3 -0
  453. package/lib/esm/resources/story-arc/types/story-arc-details.d.ts +62 -0
  454. package/lib/esm/resources/story-arc/types/story-arc-details.js +2 -0
  455. package/lib/esm/resources/story-arc/types/story-arc-list-item.d.ts +53 -0
  456. package/lib/esm/resources/story-arc/types/story-arc-list-item.js +2 -0
  457. package/lib/esm/resources/team/index.d.ts +1 -0
  458. package/lib/esm/resources/team/index.js +2 -0
  459. package/lib/esm/resources/team/team.d.ts +6 -0
  460. package/lib/esm/resources/team/team.js +9 -0
  461. package/lib/esm/resources/team/types/index.d.ts +2 -0
  462. package/lib/esm/resources/team/types/index.js +3 -0
  463. package/lib/esm/resources/team/types/team-details.d.ts +80 -0
  464. package/lib/esm/resources/team/types/team-details.js +2 -0
  465. package/lib/esm/resources/team/types/team-list-item.d.ts +56 -0
  466. package/lib/esm/resources/team/types/team-list-item.js +2 -0
  467. package/lib/esm/resources/thing/index.d.ts +1 -0
  468. package/lib/esm/resources/thing/index.js +2 -0
  469. package/lib/esm/resources/thing/thing.d.ts +6 -0
  470. package/lib/esm/resources/thing/thing.js +9 -0
  471. package/lib/esm/resources/thing/types/index.d.ts +2 -0
  472. package/lib/esm/resources/thing/types/index.js +3 -0
  473. package/lib/esm/resources/thing/types/thing-details.d.ts +62 -0
  474. package/lib/esm/resources/thing/types/thing-details.js +2 -0
  475. package/lib/esm/resources/thing/types/thing-list-item.d.ts +55 -0
  476. package/lib/esm/resources/thing/types/thing-list-item.js +2 -0
  477. package/lib/esm/resources/video/index.d.ts +1 -0
  478. package/lib/esm/resources/video/index.js +2 -0
  479. package/lib/esm/resources/video/types/index.d.ts +2 -0
  480. package/lib/esm/resources/video/types/index.js +3 -0
  481. package/lib/esm/resources/video/types/video-details.d.ts +63 -0
  482. package/lib/esm/resources/video/types/video-details.js +2 -0
  483. package/lib/esm/resources/video/types/video-list-item.d.ts +85 -0
  484. package/lib/esm/resources/video/types/video-list-item.js +25 -0
  485. package/lib/esm/resources/video/video.d.ts +6 -0
  486. package/lib/esm/resources/video/video.js +9 -0
  487. package/lib/esm/resources/video-category/index.d.ts +1 -0
  488. package/lib/esm/resources/video-category/index.js +2 -0
  489. package/lib/esm/resources/video-category/types/index.d.ts +2 -0
  490. package/lib/esm/resources/video-category/types/index.js +3 -0
  491. package/lib/esm/resources/video-category/types/video-category-details.d.ts +24 -0
  492. package/lib/esm/resources/video-category/types/video-category-details.js +2 -0
  493. package/lib/esm/resources/video-category/types/video-category-list-item.d.ts +24 -0
  494. package/lib/esm/resources/video-category/types/video-category-list-item.js +2 -0
  495. package/lib/esm/resources/video-category/video-category.d.ts +6 -0
  496. package/lib/esm/resources/video-category/video-category.js +9 -0
  497. package/lib/esm/resources/video-type/index.d.ts +1 -0
  498. package/lib/esm/resources/video-type/index.js +2 -0
  499. package/lib/esm/resources/video-type/types/index.d.ts +2 -0
  500. package/lib/esm/resources/video-type/types/index.js +3 -0
  501. package/lib/esm/resources/video-type/types/video-type-details.d.ts +22 -0
  502. package/lib/esm/resources/video-type/types/video-type-details.js +2 -0
  503. package/lib/esm/resources/video-type/types/video-type-list-item.d.ts +22 -0
  504. package/lib/esm/resources/video-type/types/video-type-list-item.js +2 -0
  505. package/lib/esm/resources/video-type/video-type.d.ts +6 -0
  506. package/lib/esm/resources/video-type/video-type.js +9 -0
  507. package/lib/esm/resources/volume/index.d.ts +1 -0
  508. package/lib/esm/resources/volume/index.js +2 -0
  509. package/lib/esm/resources/volume/types/index.d.ts +2 -0
  510. package/lib/esm/resources/volume/types/index.js +3 -0
  511. package/lib/esm/resources/volume/types/volume-details.d.ts +77 -0
  512. package/lib/esm/resources/volume/types/volume-details.js +2 -0
  513. package/lib/esm/resources/volume/types/volume-list-item.d.ts +63 -0
  514. package/lib/esm/resources/volume/types/volume-list-item.js +2 -0
  515. package/lib/esm/resources/volume/volume.d.ts +6 -0
  516. package/lib/esm/resources/volume/volume.js +9 -0
  517. package/lib/esm/types/apply-override.d.ts +1 -0
  518. package/lib/esm/types/apply-override.js +2 -0
  519. package/lib/esm/types/http-client.d.ts +4 -0
  520. package/lib/esm/types/http-client.js +2 -0
  521. package/lib/esm/types/index.d.ts +7 -0
  522. package/lib/esm/types/index.js +8 -0
  523. package/lib/esm/types/iso-date.d.ts +7 -0
  524. package/lib/esm/types/iso-date.js +2 -0
  525. package/lib/esm/types/pick-filters.d.ts +6 -0
  526. package/lib/esm/types/pick-filters.js +2 -0
  527. package/lib/esm/types/request.d.ts +31 -0
  528. package/lib/esm/types/request.js +2 -0
  529. package/lib/esm/types/response.d.ts +10 -0
  530. package/lib/esm/types/response.js +2 -0
  531. package/lib/esm/types/url-builder.d.ts +6 -0
  532. package/lib/esm/types/url-builder.js +2 -0
  533. package/lib/esm/types/valueof.d.ts +1 -0
  534. package/lib/esm/types/valueof.js +2 -0
  535. package/lib/esm/utils/case-converter.js +27 -0
  536. package/lib/esm/utils/index.d.ts +2 -0
  537. package/lib/esm/utils/index.js +3 -0
  538. package/lib/esm/utils/is-object.js +4 -0
  539. package/package.json +86 -73
  540. package/scripts/create-package-json.ts +30 -0
  541. package/vitest.config.ts +8 -0
  542. package/dist/cjs/comic-vine.d.ts +0 -42
  543. package/dist/cjs/comic-vine.js +0 -92
  544. package/dist/cjs/comic-vine.js.map +0 -1
  545. package/dist/cjs/errors/base-error.js +0 -15
  546. package/dist/cjs/errors/base-error.js.map +0 -1
  547. package/dist/cjs/errors/custom-error.d.ts +0 -2
  548. package/dist/cjs/errors/custom-error.js +0 -12
  549. package/dist/cjs/errors/custom-error.js.map +0 -1
  550. package/dist/cjs/errors/filter-error.d.ts +0 -4
  551. package/dist/cjs/errors/filter-error.js +0 -14
  552. package/dist/cjs/errors/filter-error.js.map +0 -1
  553. package/dist/cjs/errors/generic-error.d.ts +0 -4
  554. package/dist/cjs/errors/generic-error.js +0 -14
  555. package/dist/cjs/errors/generic-error.js.map +0 -1
  556. package/dist/cjs/errors/generic-request-error.d.ts +0 -7
  557. package/dist/cjs/errors/generic-request-error.js +0 -20
  558. package/dist/cjs/errors/generic-request-error.js.map +0 -1
  559. package/dist/cjs/errors/index.d.ts +0 -10
  560. package/dist/cjs/errors/index.js +0 -27
  561. package/dist/cjs/errors/index.js.map +0 -1
  562. package/dist/cjs/errors/jsonp-callback-missing-error.d.ts +0 -4
  563. package/dist/cjs/errors/jsonp-callback-missing-error.js +0 -14
  564. package/dist/cjs/errors/jsonp-callback-missing-error.js.map +0 -1
  565. package/dist/cjs/errors/object-not-found-error.d.ts +0 -4
  566. package/dist/cjs/errors/object-not-found-error.js +0 -14
  567. package/dist/cjs/errors/object-not-found-error.js.map +0 -1
  568. package/dist/cjs/errors/options-validation-error.d.ts +0 -4
  569. package/dist/cjs/errors/options-validation-error.js +0 -14
  570. package/dist/cjs/errors/options-validation-error.js.map +0 -1
  571. package/dist/cjs/errors/subscriber-only-error.d.ts +0 -4
  572. package/dist/cjs/errors/subscriber-only-error.js +0 -14
  573. package/dist/cjs/errors/subscriber-only-error.js.map +0 -1
  574. package/dist/cjs/errors/unauthorized-error.d.ts +0 -4
  575. package/dist/cjs/errors/unauthorized-error.js +0 -14
  576. package/dist/cjs/errors/unauthorized-error.js.map +0 -1
  577. package/dist/cjs/errors/url-format-error.d.ts +0 -4
  578. package/dist/cjs/errors/url-format-error.js +0 -14
  579. package/dist/cjs/errors/url-format-error.js.map +0 -1
  580. package/dist/cjs/http-client/http-client-factory.d.ts +0 -6
  581. package/dist/cjs/http-client/http-client-factory.js +0 -15
  582. package/dist/cjs/http-client/http-client-factory.js.map +0 -1
  583. package/dist/cjs/http-client/http-client.d.ts +0 -8
  584. package/dist/cjs/http-client/http-client.js +0 -69
  585. package/dist/cjs/http-client/http-client.js.map +0 -1
  586. package/dist/cjs/http-client/index.d.ts +0 -1
  587. package/dist/cjs/http-client/index.js +0 -18
  588. package/dist/cjs/http-client/index.js.map +0 -1
  589. package/dist/cjs/http-client/status-code.js +0 -14
  590. package/dist/cjs/http-client/status-code.js.map +0 -1
  591. package/dist/cjs/http-client/url-builder.d.ts +0 -18
  592. package/dist/cjs/http-client/url-builder.js +0 -90
  593. package/dist/cjs/http-client/url-builder.js.map +0 -1
  594. package/dist/cjs/index.cjs.d.ts +0 -2
  595. package/dist/cjs/index.cjs.js +0 -4
  596. package/dist/cjs/index.cjs.js.map +0 -1
  597. package/dist/cjs/options/index.d.ts +0 -16
  598. package/dist/cjs/options/index.js +0 -26
  599. package/dist/cjs/options/index.js.map +0 -1
  600. package/dist/cjs/package.json +0 -3
  601. package/dist/cjs/resources/base-resource.d.ts +0 -19
  602. package/dist/cjs/resources/base-resource.js +0 -85
  603. package/dist/cjs/resources/base-resource.js.map +0 -1
  604. package/dist/cjs/resources/character/character.d.ts +0 -6
  605. package/dist/cjs/resources/character/character.js +0 -13
  606. package/dist/cjs/resources/character/character.js.map +0 -1
  607. package/dist/cjs/resources/character/index.d.ts +0 -1
  608. package/dist/cjs/resources/character/index.js +0 -18
  609. package/dist/cjs/resources/character/index.js.map +0 -1
  610. package/dist/cjs/resources/character/types/character-details.d.ts +0 -32
  611. package/dist/cjs/resources/character/types/character-details.js +0 -3
  612. package/dist/cjs/resources/character/types/character-details.js.map +0 -1
  613. package/dist/cjs/resources/character/types/character-list-item.d.ts +0 -20
  614. package/dist/cjs/resources/character/types/character-list-item.js +0 -3
  615. package/dist/cjs/resources/character/types/character-list-item.js.map +0 -1
  616. package/dist/cjs/resources/character/types/index.d.ts +0 -2
  617. package/dist/cjs/resources/character/types/index.js +0 -19
  618. package/dist/cjs/resources/character/types/index.js.map +0 -1
  619. package/dist/cjs/resources/common-types.d.ts +0 -58
  620. package/dist/cjs/resources/common-types.js +0 -3
  621. package/dist/cjs/resources/common-types.js.map +0 -1
  622. package/dist/cjs/resources/concept/concept.d.ts +0 -6
  623. package/dist/cjs/resources/concept/concept.js +0 -13
  624. package/dist/cjs/resources/concept/concept.js.map +0 -1
  625. package/dist/cjs/resources/concept/index.d.ts +0 -1
  626. package/dist/cjs/resources/concept/index.js +0 -18
  627. package/dist/cjs/resources/concept/index.js.map +0 -1
  628. package/dist/cjs/resources/concept/types/concept-details.d.ts +0 -19
  629. package/dist/cjs/resources/concept/types/concept-details.js +0 -3
  630. package/dist/cjs/resources/concept/types/concept-details.js.map +0 -1
  631. package/dist/cjs/resources/concept/types/concept-list-item.d.ts +0 -16
  632. package/dist/cjs/resources/concept/types/concept-list-item.js +0 -3
  633. package/dist/cjs/resources/concept/types/concept-list-item.js.map +0 -1
  634. package/dist/cjs/resources/concept/types/index.d.ts +0 -2
  635. package/dist/cjs/resources/concept/types/index.js +0 -19
  636. package/dist/cjs/resources/concept/types/index.js.map +0 -1
  637. package/dist/cjs/resources/episode/episode.d.ts +0 -6
  638. package/dist/cjs/resources/episode/episode.js +0 -13
  639. package/dist/cjs/resources/episode/episode.js.map +0 -1
  640. package/dist/cjs/resources/episode/index.d.ts +0 -1
  641. package/dist/cjs/resources/episode/index.js +0 -18
  642. package/dist/cjs/resources/episode/index.js.map +0 -1
  643. package/dist/cjs/resources/episode/types/episode-details.d.ts +0 -30
  644. package/dist/cjs/resources/episode/types/episode-details.js +0 -3
  645. package/dist/cjs/resources/episode/types/episode-details.js.map +0 -1
  646. package/dist/cjs/resources/episode/types/episode-list-item.d.ts +0 -17
  647. package/dist/cjs/resources/episode/types/episode-list-item.js +0 -3
  648. package/dist/cjs/resources/episode/types/episode-list-item.js.map +0 -1
  649. package/dist/cjs/resources/episode/types/index.d.ts +0 -2
  650. package/dist/cjs/resources/episode/types/index.js +0 -19
  651. package/dist/cjs/resources/episode/types/index.js.map +0 -1
  652. package/dist/cjs/resources/index.d.ts +0 -3
  653. package/dist/cjs/resources/index.js +0 -20
  654. package/dist/cjs/resources/index.js.map +0 -1
  655. package/dist/cjs/resources/issue/index.d.ts +0 -1
  656. package/dist/cjs/resources/issue/index.js +0 -18
  657. package/dist/cjs/resources/issue/index.js.map +0 -1
  658. package/dist/cjs/resources/issue/issue.d.ts +0 -6
  659. package/dist/cjs/resources/issue/issue.js +0 -13
  660. package/dist/cjs/resources/issue/issue.js.map +0 -1
  661. package/dist/cjs/resources/issue/types/index.d.ts +0 -2
  662. package/dist/cjs/resources/issue/types/index.js +0 -19
  663. package/dist/cjs/resources/issue/types/index.js.map +0 -1
  664. package/dist/cjs/resources/issue/types/issue-details.d.ts +0 -34
  665. package/dist/cjs/resources/issue/types/issue-details.js +0 -3
  666. package/dist/cjs/resources/issue/types/issue-details.js.map +0 -1
  667. package/dist/cjs/resources/issue/types/issue-list-item.d.ts +0 -19
  668. package/dist/cjs/resources/issue/types/issue-list-item.js +0 -3
  669. package/dist/cjs/resources/issue/types/issue-list-item.js.map +0 -1
  670. package/dist/cjs/resources/location/index.d.ts +0 -1
  671. package/dist/cjs/resources/location/index.js +0 -18
  672. package/dist/cjs/resources/location/index.js.map +0 -1
  673. package/dist/cjs/resources/location/location.d.ts +0 -6
  674. package/dist/cjs/resources/location/location.js +0 -13
  675. package/dist/cjs/resources/location/location.js.map +0 -1
  676. package/dist/cjs/resources/location/types/index.d.ts +0 -2
  677. package/dist/cjs/resources/location/types/index.js +0 -19
  678. package/dist/cjs/resources/location/types/index.js.map +0 -1
  679. package/dist/cjs/resources/location/types/location-details.d.ts +0 -20
  680. package/dist/cjs/resources/location/types/location-details.js +0 -3
  681. package/dist/cjs/resources/location/types/location-details.js.map +0 -1
  682. package/dist/cjs/resources/location/types/location-list-item.d.ts +0 -16
  683. package/dist/cjs/resources/location/types/location-list-item.js +0 -3
  684. package/dist/cjs/resources/location/types/location-list-item.js.map +0 -1
  685. package/dist/cjs/resources/movie/index.d.ts +0 -1
  686. package/dist/cjs/resources/movie/index.js +0 -18
  687. package/dist/cjs/resources/movie/index.js.map +0 -1
  688. package/dist/cjs/resources/movie/movie.d.ts +0 -6
  689. package/dist/cjs/resources/movie/movie.js +0 -13
  690. package/dist/cjs/resources/movie/movie.js.map +0 -1
  691. package/dist/cjs/resources/movie/types/index.d.ts +0 -2
  692. package/dist/cjs/resources/movie/types/index.js +0 -19
  693. package/dist/cjs/resources/movie/types/index.js.map +0 -1
  694. package/dist/cjs/resources/movie/types/movie-details.d.ts +0 -28
  695. package/dist/cjs/resources/movie/types/movie-details.js +0 -3
  696. package/dist/cjs/resources/movie/types/movie-details.js.map +0 -1
  697. package/dist/cjs/resources/movie/types/movie-list-item.d.ts +0 -23
  698. package/dist/cjs/resources/movie/types/movie-list-item.js +0 -3
  699. package/dist/cjs/resources/movie/types/movie-list-item.js.map +0 -1
  700. package/dist/cjs/resources/origin/index.d.ts +0 -1
  701. package/dist/cjs/resources/origin/index.js +0 -18
  702. package/dist/cjs/resources/origin/index.js.map +0 -1
  703. package/dist/cjs/resources/origin/origin.d.ts +0 -6
  704. package/dist/cjs/resources/origin/origin.js +0 -13
  705. package/dist/cjs/resources/origin/origin.js.map +0 -1
  706. package/dist/cjs/resources/origin/types/index.d.ts +0 -2
  707. package/dist/cjs/resources/origin/types/index.js +0 -19
  708. package/dist/cjs/resources/origin/types/index.js.map +0 -1
  709. package/dist/cjs/resources/origin/types/origin-details.d.ts +0 -10
  710. package/dist/cjs/resources/origin/types/origin-details.js +0 -3
  711. package/dist/cjs/resources/origin/types/origin-details.js.map +0 -1
  712. package/dist/cjs/resources/origin/types/origin-list-item.d.ts +0 -6
  713. package/dist/cjs/resources/origin/types/origin-list-item.js +0 -3
  714. package/dist/cjs/resources/origin/types/origin-list-item.js.map +0 -1
  715. package/dist/cjs/resources/person/index.d.ts +0 -1
  716. package/dist/cjs/resources/person/index.js +0 -18
  717. package/dist/cjs/resources/person/index.js.map +0 -1
  718. package/dist/cjs/resources/person/person.d.ts +0 -6
  719. package/dist/cjs/resources/person/person.js +0 -13
  720. package/dist/cjs/resources/person/person.js.map +0 -1
  721. package/dist/cjs/resources/person/types/index.d.ts +0 -2
  722. package/dist/cjs/resources/person/types/index.js +0 -19
  723. package/dist/cjs/resources/person/types/index.js.map +0 -1
  724. package/dist/cjs/resources/person/types/person-details.d.ts +0 -25
  725. package/dist/cjs/resources/person/types/person-details.js +0 -3
  726. package/dist/cjs/resources/person/types/person-details.js.map +0 -1
  727. package/dist/cjs/resources/person/types/person-list-item.d.ts +0 -26
  728. package/dist/cjs/resources/person/types/person-list-item.js +0 -8
  729. package/dist/cjs/resources/person/types/person-list-item.js.map +0 -1
  730. package/dist/cjs/resources/power/index.d.ts +0 -1
  731. package/dist/cjs/resources/power/index.js +0 -18
  732. package/dist/cjs/resources/power/index.js.map +0 -1
  733. package/dist/cjs/resources/power/power.d.ts +0 -6
  734. package/dist/cjs/resources/power/power.js +0 -13
  735. package/dist/cjs/resources/power/power.js.map +0 -1
  736. package/dist/cjs/resources/power/types/index.d.ts +0 -2
  737. package/dist/cjs/resources/power/types/index.js +0 -19
  738. package/dist/cjs/resources/power/types/index.js.map +0 -1
  739. package/dist/cjs/resources/power/types/power-details.d.ts +0 -12
  740. package/dist/cjs/resources/power/types/power-details.js +0 -3
  741. package/dist/cjs/resources/power/types/power-details.js.map +0 -1
  742. package/dist/cjs/resources/power/types/power-list-item.d.ts +0 -10
  743. package/dist/cjs/resources/power/types/power-list-item.js +0 -3
  744. package/dist/cjs/resources/power/types/power-list-item.js.map +0 -1
  745. package/dist/cjs/resources/promo/index.d.ts +0 -1
  746. package/dist/cjs/resources/promo/index.js +0 -18
  747. package/dist/cjs/resources/promo/index.js.map +0 -1
  748. package/dist/cjs/resources/promo/promo.d.ts +0 -6
  749. package/dist/cjs/resources/promo/promo.js +0 -13
  750. package/dist/cjs/resources/promo/promo.js.map +0 -1
  751. package/dist/cjs/resources/promo/types/index.d.ts +0 -2
  752. package/dist/cjs/resources/promo/types/index.js +0 -19
  753. package/dist/cjs/resources/promo/types/index.js.map +0 -1
  754. package/dist/cjs/resources/promo/types/promo-details.d.ts +0 -13
  755. package/dist/cjs/resources/promo/types/promo-details.js +0 -3
  756. package/dist/cjs/resources/promo/types/promo-details.js.map +0 -1
  757. package/dist/cjs/resources/promo/types/promo-list-item.d.ts +0 -13
  758. package/dist/cjs/resources/promo/types/promo-list-item.js +0 -3
  759. package/dist/cjs/resources/promo/types/promo-list-item.js.map +0 -1
  760. package/dist/cjs/resources/publisher/index.d.ts +0 -1
  761. package/dist/cjs/resources/publisher/index.js +0 -18
  762. package/dist/cjs/resources/publisher/index.js.map +0 -1
  763. package/dist/cjs/resources/publisher/publisher.d.ts +0 -6
  764. package/dist/cjs/resources/publisher/publisher.js +0 -13
  765. package/dist/cjs/resources/publisher/publisher.js.map +0 -1
  766. package/dist/cjs/resources/publisher/types/index.d.ts +0 -2
  767. package/dist/cjs/resources/publisher/types/index.js +0 -19
  768. package/dist/cjs/resources/publisher/types/index.js.map +0 -1
  769. package/dist/cjs/resources/publisher/types/publisher-details.d.ts +0 -20
  770. package/dist/cjs/resources/publisher/types/publisher-details.js +0 -3
  771. package/dist/cjs/resources/publisher/types/publisher-details.js.map +0 -1
  772. package/dist/cjs/resources/publisher/types/publisher-list-item.d.ts +0 -22
  773. package/dist/cjs/resources/publisher/types/publisher-list-item.js +0 -11
  774. package/dist/cjs/resources/publisher/types/publisher-list-item.js.map +0 -1
  775. package/dist/cjs/resources/resource-factory.d.ts +0 -8
  776. package/dist/cjs/resources/resource-factory.js +0 -42
  777. package/dist/cjs/resources/resource-factory.js.map +0 -1
  778. package/dist/cjs/resources/resource-list.d.ts +0 -19
  779. package/dist/cjs/resources/resource-list.js +0 -36
  780. package/dist/cjs/resources/resource-list.js.map +0 -1
  781. package/dist/cjs/resources/resource-map.d.ts +0 -7
  782. package/dist/cjs/resources/resource-map.js +0 -40
  783. package/dist/cjs/resources/resource-map.js.map +0 -1
  784. package/dist/cjs/resources/resource-type.js +0 -26
  785. package/dist/cjs/resources/resource-type.js.map +0 -1
  786. package/dist/cjs/resources/series/index.d.ts +0 -1
  787. package/dist/cjs/resources/series/index.js +0 -18
  788. package/dist/cjs/resources/series/index.js.map +0 -1
  789. package/dist/cjs/resources/series/series.d.ts +0 -6
  790. package/dist/cjs/resources/series/series.js +0 -13
  791. package/dist/cjs/resources/series/series.js.map +0 -1
  792. package/dist/cjs/resources/series/types/index.d.ts +0 -2
  793. package/dist/cjs/resources/series/types/index.js +0 -19
  794. package/dist/cjs/resources/series/types/index.js.map +0 -1
  795. package/dist/cjs/resources/series/types/series-details.d.ts +0 -20
  796. package/dist/cjs/resources/series/types/series-details.js +0 -3
  797. package/dist/cjs/resources/series/types/series-details.js.map +0 -1
  798. package/dist/cjs/resources/series/types/series-list-item.d.ts +0 -18
  799. package/dist/cjs/resources/series/types/series-list-item.js +0 -3
  800. package/dist/cjs/resources/series/types/series-list-item.js.map +0 -1
  801. package/dist/cjs/resources/story-arc/index.d.ts +0 -1
  802. package/dist/cjs/resources/story-arc/index.js +0 -18
  803. package/dist/cjs/resources/story-arc/index.js.map +0 -1
  804. package/dist/cjs/resources/story-arc/story-arc.d.ts +0 -6
  805. package/dist/cjs/resources/story-arc/story-arc.js +0 -13
  806. package/dist/cjs/resources/story-arc/story-arc.js.map +0 -1
  807. package/dist/cjs/resources/story-arc/types/index.d.ts +0 -2
  808. package/dist/cjs/resources/story-arc/types/index.js +0 -19
  809. package/dist/cjs/resources/story-arc/types/index.js.map +0 -1
  810. package/dist/cjs/resources/story-arc/types/story-arc-details.d.ts +0 -20
  811. package/dist/cjs/resources/story-arc/types/story-arc-details.js +0 -3
  812. package/dist/cjs/resources/story-arc/types/story-arc-details.js.map +0 -1
  813. package/dist/cjs/resources/story-arc/types/story-arc-list-item.d.ts +0 -17
  814. package/dist/cjs/resources/story-arc/types/story-arc-list-item.js +0 -3
  815. package/dist/cjs/resources/story-arc/types/story-arc-list-item.js.map +0 -1
  816. package/dist/cjs/resources/team/index.d.ts +0 -1
  817. package/dist/cjs/resources/team/index.js +0 -18
  818. package/dist/cjs/resources/team/index.js.map +0 -1
  819. package/dist/cjs/resources/team/team.d.ts +0 -6
  820. package/dist/cjs/resources/team/team.js +0 -13
  821. package/dist/cjs/resources/team/team.js.map +0 -1
  822. package/dist/cjs/resources/team/types/index.d.ts +0 -2
  823. package/dist/cjs/resources/team/types/index.js +0 -19
  824. package/dist/cjs/resources/team/types/index.js.map +0 -1
  825. package/dist/cjs/resources/team/types/team-details.d.ts +0 -26
  826. package/dist/cjs/resources/team/types/team-details.js +0 -3
  827. package/dist/cjs/resources/team/types/team-details.js.map +0 -1
  828. package/dist/cjs/resources/team/types/team-list-item.d.ts +0 -17
  829. package/dist/cjs/resources/team/types/team-list-item.js +0 -3
  830. package/dist/cjs/resources/team/types/team-list-item.js.map +0 -1
  831. package/dist/cjs/resources/thing/index.d.ts +0 -1
  832. package/dist/cjs/resources/thing/index.js +0 -18
  833. package/dist/cjs/resources/thing/index.js.map +0 -1
  834. package/dist/cjs/resources/thing/thing.d.ts +0 -6
  835. package/dist/cjs/resources/thing/thing.js +0 -13
  836. package/dist/cjs/resources/thing/thing.js.map +0 -1
  837. package/dist/cjs/resources/thing/types/index.d.ts +0 -2
  838. package/dist/cjs/resources/thing/types/index.js +0 -19
  839. package/dist/cjs/resources/thing/types/index.js.map +0 -1
  840. package/dist/cjs/resources/thing/types/thing-details.d.ts +0 -20
  841. package/dist/cjs/resources/thing/types/thing-details.js +0 -3
  842. package/dist/cjs/resources/thing/types/thing-details.js.map +0 -1
  843. package/dist/cjs/resources/thing/types/thing-list-item.d.ts +0 -16
  844. package/dist/cjs/resources/thing/types/thing-list-item.js +0 -3
  845. package/dist/cjs/resources/thing/types/thing-list-item.js.map +0 -1
  846. package/dist/cjs/resources/video/index.d.ts +0 -1
  847. package/dist/cjs/resources/video/index.js +0 -18
  848. package/dist/cjs/resources/video/index.js.map +0 -1
  849. package/dist/cjs/resources/video/types/index.d.ts +0 -2
  850. package/dist/cjs/resources/video/types/index.js +0 -19
  851. package/dist/cjs/resources/video/types/index.js.map +0 -1
  852. package/dist/cjs/resources/video/types/video-details.d.ts +0 -27
  853. package/dist/cjs/resources/video/types/video-details.js +0 -3
  854. package/dist/cjs/resources/video/types/video-details.js.map +0 -1
  855. package/dist/cjs/resources/video/types/video-list-item.d.ts +0 -49
  856. package/dist/cjs/resources/video/types/video-list-item.js +0 -28
  857. package/dist/cjs/resources/video/types/video-list-item.js.map +0 -1
  858. package/dist/cjs/resources/video/video.d.ts +0 -6
  859. package/dist/cjs/resources/video/video.js +0 -13
  860. package/dist/cjs/resources/video/video.js.map +0 -1
  861. package/dist/cjs/resources/video-category/index.d.ts +0 -1
  862. package/dist/cjs/resources/video-category/index.js +0 -18
  863. package/dist/cjs/resources/video-category/index.js.map +0 -1
  864. package/dist/cjs/resources/video-category/types/index.d.ts +0 -2
  865. package/dist/cjs/resources/video-category/types/index.js +0 -19
  866. package/dist/cjs/resources/video-category/types/index.js.map +0 -1
  867. package/dist/cjs/resources/video-category/types/video-category-details.d.ts +0 -9
  868. package/dist/cjs/resources/video-category/types/video-category-details.js +0 -3
  869. package/dist/cjs/resources/video-category/types/video-category-details.js.map +0 -1
  870. package/dist/cjs/resources/video-category/types/video-category-list-item.d.ts +0 -9
  871. package/dist/cjs/resources/video-category/types/video-category-list-item.js +0 -3
  872. package/dist/cjs/resources/video-category/types/video-category-list-item.js.map +0 -1
  873. package/dist/cjs/resources/video-category/video-category.d.ts +0 -6
  874. package/dist/cjs/resources/video-category/video-category.js +0 -13
  875. package/dist/cjs/resources/video-category/video-category.js.map +0 -1
  876. package/dist/cjs/resources/video-type/index.d.ts +0 -1
  877. package/dist/cjs/resources/video-type/index.js +0 -18
  878. package/dist/cjs/resources/video-type/index.js.map +0 -1
  879. package/dist/cjs/resources/video-type/types/index.d.ts +0 -2
  880. package/dist/cjs/resources/video-type/types/index.js +0 -19
  881. package/dist/cjs/resources/video-type/types/index.js.map +0 -1
  882. package/dist/cjs/resources/video-type/types/video-type-details.d.ts +0 -7
  883. package/dist/cjs/resources/video-type/types/video-type-details.js +0 -3
  884. package/dist/cjs/resources/video-type/types/video-type-details.js.map +0 -1
  885. package/dist/cjs/resources/video-type/types/video-type-list-item.d.ts +0 -7
  886. package/dist/cjs/resources/video-type/types/video-type-list-item.js +0 -3
  887. package/dist/cjs/resources/video-type/types/video-type-list-item.js.map +0 -1
  888. package/dist/cjs/resources/video-type/video-type.d.ts +0 -6
  889. package/dist/cjs/resources/video-type/video-type.js +0 -13
  890. package/dist/cjs/resources/video-type/video-type.js.map +0 -1
  891. package/dist/cjs/resources/volume/index.d.ts +0 -1
  892. package/dist/cjs/resources/volume/index.js +0 -18
  893. package/dist/cjs/resources/volume/index.js.map +0 -1
  894. package/dist/cjs/resources/volume/types/index.d.ts +0 -2
  895. package/dist/cjs/resources/volume/types/index.js +0 -19
  896. package/dist/cjs/resources/volume/types/index.js.map +0 -1
  897. package/dist/cjs/resources/volume/types/volume-details.d.ts +0 -23
  898. package/dist/cjs/resources/volume/types/volume-details.js +0 -3
  899. package/dist/cjs/resources/volume/types/volume-details.js.map +0 -1
  900. package/dist/cjs/resources/volume/types/volume-list-item.d.ts +0 -18
  901. package/dist/cjs/resources/volume/types/volume-list-item.js +0 -3
  902. package/dist/cjs/resources/volume/types/volume-list-item.js.map +0 -1
  903. package/dist/cjs/resources/volume/volume.d.ts +0 -6
  904. package/dist/cjs/resources/volume/volume.js +0 -13
  905. package/dist/cjs/resources/volume/volume.js.map +0 -1
  906. package/dist/cjs/types/apply-override.d.ts +0 -1
  907. package/dist/cjs/types/apply-override.js +0 -3
  908. package/dist/cjs/types/apply-override.js.map +0 -1
  909. package/dist/cjs/types/http-client.d.ts +0 -4
  910. package/dist/cjs/types/http-client.js +0 -3
  911. package/dist/cjs/types/http-client.js.map +0 -1
  912. package/dist/cjs/types/index.d.ts +0 -7
  913. package/dist/cjs/types/index.js +0 -24
  914. package/dist/cjs/types/index.js.map +0 -1
  915. package/dist/cjs/types/iso-date.d.ts +0 -7
  916. package/dist/cjs/types/iso-date.js +0 -3
  917. package/dist/cjs/types/iso-date.js.map +0 -1
  918. package/dist/cjs/types/pick-filters.d.ts +0 -6
  919. package/dist/cjs/types/pick-filters.js +0 -3
  920. package/dist/cjs/types/pick-filters.js.map +0 -1
  921. package/dist/cjs/types/request.d.ts +0 -14
  922. package/dist/cjs/types/request.js +0 -3
  923. package/dist/cjs/types/request.js.map +0 -1
  924. package/dist/cjs/types/response.d.ts +0 -10
  925. package/dist/cjs/types/response.js +0 -3
  926. package/dist/cjs/types/response.js.map +0 -1
  927. package/dist/cjs/types/url-builder.d.ts +0 -6
  928. package/dist/cjs/types/url-builder.js +0 -3
  929. package/dist/cjs/types/url-builder.js.map +0 -1
  930. package/dist/cjs/types/valueof.d.ts +0 -1
  931. package/dist/cjs/types/valueof.js +0 -3
  932. package/dist/cjs/types/valueof.js.map +0 -1
  933. package/dist/cjs/utils/case-converter.js +0 -34
  934. package/dist/cjs/utils/case-converter.js.map +0 -1
  935. package/dist/cjs/utils/index.d.ts +0 -2
  936. package/dist/cjs/utils/index.js +0 -19
  937. package/dist/cjs/utils/index.js.map +0 -1
  938. package/dist/cjs/utils/is-object.js +0 -8
  939. package/dist/cjs/utils/is-object.js.map +0 -1
  940. package/dist/mjs/comic-vine.d.ts +0 -42
  941. package/dist/mjs/comic-vine.js +0 -107
  942. package/dist/mjs/comic-vine.js.map +0 -1
  943. package/dist/mjs/errors/base-error.js +0 -12
  944. package/dist/mjs/errors/base-error.js.map +0 -1
  945. package/dist/mjs/errors/custom-error.d.ts +0 -2
  946. package/dist/mjs/errors/custom-error.js +0 -8
  947. package/dist/mjs/errors/custom-error.js.map +0 -1
  948. package/dist/mjs/errors/filter-error.d.ts +0 -4
  949. package/dist/mjs/errors/filter-error.js +0 -10
  950. package/dist/mjs/errors/filter-error.js.map +0 -1
  951. package/dist/mjs/errors/generic-error.d.ts +0 -4
  952. package/dist/mjs/errors/generic-error.js +0 -10
  953. package/dist/mjs/errors/generic-error.js.map +0 -1
  954. package/dist/mjs/errors/generic-request-error.d.ts +0 -7
  955. package/dist/mjs/errors/generic-request-error.js +0 -15
  956. package/dist/mjs/errors/generic-request-error.js.map +0 -1
  957. package/dist/mjs/errors/index.d.ts +0 -10
  958. package/dist/mjs/errors/index.js +0 -11
  959. package/dist/mjs/errors/index.js.map +0 -1
  960. package/dist/mjs/errors/jsonp-callback-missing-error.d.ts +0 -4
  961. package/dist/mjs/errors/jsonp-callback-missing-error.js +0 -10
  962. package/dist/mjs/errors/jsonp-callback-missing-error.js.map +0 -1
  963. package/dist/mjs/errors/object-not-found-error.d.ts +0 -4
  964. package/dist/mjs/errors/object-not-found-error.js +0 -10
  965. package/dist/mjs/errors/object-not-found-error.js.map +0 -1
  966. package/dist/mjs/errors/options-validation-error.d.ts +0 -4
  967. package/dist/mjs/errors/options-validation-error.js +0 -10
  968. package/dist/mjs/errors/options-validation-error.js.map +0 -1
  969. package/dist/mjs/errors/subscriber-only-error.d.ts +0 -4
  970. package/dist/mjs/errors/subscriber-only-error.js +0 -10
  971. package/dist/mjs/errors/subscriber-only-error.js.map +0 -1
  972. package/dist/mjs/errors/unauthorized-error.d.ts +0 -4
  973. package/dist/mjs/errors/unauthorized-error.js +0 -10
  974. package/dist/mjs/errors/unauthorized-error.js.map +0 -1
  975. package/dist/mjs/errors/url-format-error.d.ts +0 -4
  976. package/dist/mjs/errors/url-format-error.js +0 -10
  977. package/dist/mjs/errors/url-format-error.js.map +0 -1
  978. package/dist/mjs/http-client/http-client-factory.d.ts +0 -6
  979. package/dist/mjs/http-client/http-client-factory.js +0 -11
  980. package/dist/mjs/http-client/http-client-factory.js.map +0 -1
  981. package/dist/mjs/http-client/http-client.d.ts +0 -8
  982. package/dist/mjs/http-client/http-client.js +0 -51
  983. package/dist/mjs/http-client/http-client.js.map +0 -1
  984. package/dist/mjs/http-client/index.d.ts +0 -1
  985. package/dist/mjs/http-client/index.js +0 -2
  986. package/dist/mjs/http-client/index.js.map +0 -1
  987. package/dist/mjs/http-client/status-code.js +0 -11
  988. package/dist/mjs/http-client/status-code.js.map +0 -1
  989. package/dist/mjs/http-client/url-builder.d.ts +0 -18
  990. package/dist/mjs/http-client/url-builder.js +0 -88
  991. package/dist/mjs/http-client/url-builder.js.map +0 -1
  992. package/dist/mjs/index.d.ts +0 -2
  993. package/dist/mjs/index.js +0 -3
  994. package/dist/mjs/index.js.map +0 -1
  995. package/dist/mjs/options/index.d.ts +0 -16
  996. package/dist/mjs/options/index.js +0 -22
  997. package/dist/mjs/options/index.js.map +0 -1
  998. package/dist/mjs/package.json +0 -3
  999. package/dist/mjs/resources/base-resource.d.ts +0 -19
  1000. package/dist/mjs/resources/base-resource.js +0 -55
  1001. package/dist/mjs/resources/base-resource.js.map +0 -1
  1002. package/dist/mjs/resources/character/character.d.ts +0 -6
  1003. package/dist/mjs/resources/character/character.js +0 -6
  1004. package/dist/mjs/resources/character/character.js.map +0 -1
  1005. package/dist/mjs/resources/character/index.d.ts +0 -1
  1006. package/dist/mjs/resources/character/index.js +0 -2
  1007. package/dist/mjs/resources/character/index.js.map +0 -1
  1008. package/dist/mjs/resources/character/types/character-details.d.ts +0 -32
  1009. package/dist/mjs/resources/character/types/character-details.js +0 -2
  1010. package/dist/mjs/resources/character/types/character-details.js.map +0 -1
  1011. package/dist/mjs/resources/character/types/character-list-item.d.ts +0 -20
  1012. package/dist/mjs/resources/character/types/character-list-item.js +0 -2
  1013. package/dist/mjs/resources/character/types/character-list-item.js.map +0 -1
  1014. package/dist/mjs/resources/character/types/index.d.ts +0 -2
  1015. package/dist/mjs/resources/character/types/index.js +0 -3
  1016. package/dist/mjs/resources/character/types/index.js.map +0 -1
  1017. package/dist/mjs/resources/common-types.d.ts +0 -58
  1018. package/dist/mjs/resources/common-types.js +0 -2
  1019. package/dist/mjs/resources/common-types.js.map +0 -1
  1020. package/dist/mjs/resources/concept/concept.d.ts +0 -6
  1021. package/dist/mjs/resources/concept/concept.js +0 -6
  1022. package/dist/mjs/resources/concept/concept.js.map +0 -1
  1023. package/dist/mjs/resources/concept/index.d.ts +0 -1
  1024. package/dist/mjs/resources/concept/index.js +0 -2
  1025. package/dist/mjs/resources/concept/index.js.map +0 -1
  1026. package/dist/mjs/resources/concept/types/concept-details.d.ts +0 -19
  1027. package/dist/mjs/resources/concept/types/concept-details.js +0 -2
  1028. package/dist/mjs/resources/concept/types/concept-details.js.map +0 -1
  1029. package/dist/mjs/resources/concept/types/concept-list-item.d.ts +0 -16
  1030. package/dist/mjs/resources/concept/types/concept-list-item.js +0 -2
  1031. package/dist/mjs/resources/concept/types/concept-list-item.js.map +0 -1
  1032. package/dist/mjs/resources/concept/types/index.d.ts +0 -2
  1033. package/dist/mjs/resources/concept/types/index.js +0 -3
  1034. package/dist/mjs/resources/concept/types/index.js.map +0 -1
  1035. package/dist/mjs/resources/episode/episode.d.ts +0 -6
  1036. package/dist/mjs/resources/episode/episode.js +0 -6
  1037. package/dist/mjs/resources/episode/episode.js.map +0 -1
  1038. package/dist/mjs/resources/episode/index.d.ts +0 -1
  1039. package/dist/mjs/resources/episode/index.js +0 -2
  1040. package/dist/mjs/resources/episode/index.js.map +0 -1
  1041. package/dist/mjs/resources/episode/types/episode-details.d.ts +0 -30
  1042. package/dist/mjs/resources/episode/types/episode-details.js +0 -2
  1043. package/dist/mjs/resources/episode/types/episode-details.js.map +0 -1
  1044. package/dist/mjs/resources/episode/types/episode-list-item.d.ts +0 -17
  1045. package/dist/mjs/resources/episode/types/episode-list-item.js +0 -2
  1046. package/dist/mjs/resources/episode/types/episode-list-item.js.map +0 -1
  1047. package/dist/mjs/resources/episode/types/index.d.ts +0 -2
  1048. package/dist/mjs/resources/episode/types/index.js +0 -3
  1049. package/dist/mjs/resources/episode/types/index.js.map +0 -1
  1050. package/dist/mjs/resources/index.d.ts +0 -3
  1051. package/dist/mjs/resources/index.js +0 -4
  1052. package/dist/mjs/resources/index.js.map +0 -1
  1053. package/dist/mjs/resources/issue/index.d.ts +0 -1
  1054. package/dist/mjs/resources/issue/index.js +0 -2
  1055. package/dist/mjs/resources/issue/index.js.map +0 -1
  1056. package/dist/mjs/resources/issue/issue.d.ts +0 -6
  1057. package/dist/mjs/resources/issue/issue.js +0 -6
  1058. package/dist/mjs/resources/issue/issue.js.map +0 -1
  1059. package/dist/mjs/resources/issue/types/index.d.ts +0 -2
  1060. package/dist/mjs/resources/issue/types/index.js +0 -3
  1061. package/dist/mjs/resources/issue/types/index.js.map +0 -1
  1062. package/dist/mjs/resources/issue/types/issue-details.d.ts +0 -34
  1063. package/dist/mjs/resources/issue/types/issue-details.js +0 -2
  1064. package/dist/mjs/resources/issue/types/issue-details.js.map +0 -1
  1065. package/dist/mjs/resources/issue/types/issue-list-item.d.ts +0 -19
  1066. package/dist/mjs/resources/issue/types/issue-list-item.js +0 -2
  1067. package/dist/mjs/resources/issue/types/issue-list-item.js.map +0 -1
  1068. package/dist/mjs/resources/location/index.d.ts +0 -1
  1069. package/dist/mjs/resources/location/index.js +0 -2
  1070. package/dist/mjs/resources/location/index.js.map +0 -1
  1071. package/dist/mjs/resources/location/location.d.ts +0 -6
  1072. package/dist/mjs/resources/location/location.js +0 -6
  1073. package/dist/mjs/resources/location/location.js.map +0 -1
  1074. package/dist/mjs/resources/location/types/index.d.ts +0 -2
  1075. package/dist/mjs/resources/location/types/index.js +0 -3
  1076. package/dist/mjs/resources/location/types/index.js.map +0 -1
  1077. package/dist/mjs/resources/location/types/location-details.d.ts +0 -20
  1078. package/dist/mjs/resources/location/types/location-details.js +0 -2
  1079. package/dist/mjs/resources/location/types/location-details.js.map +0 -1
  1080. package/dist/mjs/resources/location/types/location-list-item.d.ts +0 -16
  1081. package/dist/mjs/resources/location/types/location-list-item.js +0 -2
  1082. package/dist/mjs/resources/location/types/location-list-item.js.map +0 -1
  1083. package/dist/mjs/resources/movie/index.d.ts +0 -1
  1084. package/dist/mjs/resources/movie/index.js +0 -2
  1085. package/dist/mjs/resources/movie/index.js.map +0 -1
  1086. package/dist/mjs/resources/movie/movie.d.ts +0 -6
  1087. package/dist/mjs/resources/movie/movie.js +0 -6
  1088. package/dist/mjs/resources/movie/movie.js.map +0 -1
  1089. package/dist/mjs/resources/movie/types/index.d.ts +0 -2
  1090. package/dist/mjs/resources/movie/types/index.js +0 -3
  1091. package/dist/mjs/resources/movie/types/index.js.map +0 -1
  1092. package/dist/mjs/resources/movie/types/movie-details.d.ts +0 -28
  1093. package/dist/mjs/resources/movie/types/movie-details.js +0 -2
  1094. package/dist/mjs/resources/movie/types/movie-details.js.map +0 -1
  1095. package/dist/mjs/resources/movie/types/movie-list-item.d.ts +0 -23
  1096. package/dist/mjs/resources/movie/types/movie-list-item.js +0 -2
  1097. package/dist/mjs/resources/movie/types/movie-list-item.js.map +0 -1
  1098. package/dist/mjs/resources/origin/index.d.ts +0 -1
  1099. package/dist/mjs/resources/origin/index.js +0 -2
  1100. package/dist/mjs/resources/origin/index.js.map +0 -1
  1101. package/dist/mjs/resources/origin/origin.d.ts +0 -6
  1102. package/dist/mjs/resources/origin/origin.js +0 -6
  1103. package/dist/mjs/resources/origin/origin.js.map +0 -1
  1104. package/dist/mjs/resources/origin/types/index.d.ts +0 -2
  1105. package/dist/mjs/resources/origin/types/index.js +0 -3
  1106. package/dist/mjs/resources/origin/types/index.js.map +0 -1
  1107. package/dist/mjs/resources/origin/types/origin-details.d.ts +0 -10
  1108. package/dist/mjs/resources/origin/types/origin-details.js +0 -2
  1109. package/dist/mjs/resources/origin/types/origin-details.js.map +0 -1
  1110. package/dist/mjs/resources/origin/types/origin-list-item.d.ts +0 -6
  1111. package/dist/mjs/resources/origin/types/origin-list-item.js +0 -2
  1112. package/dist/mjs/resources/origin/types/origin-list-item.js.map +0 -1
  1113. package/dist/mjs/resources/person/index.d.ts +0 -1
  1114. package/dist/mjs/resources/person/index.js +0 -2
  1115. package/dist/mjs/resources/person/index.js.map +0 -1
  1116. package/dist/mjs/resources/person/person.d.ts +0 -6
  1117. package/dist/mjs/resources/person/person.js +0 -6
  1118. package/dist/mjs/resources/person/person.js.map +0 -1
  1119. package/dist/mjs/resources/person/types/index.d.ts +0 -2
  1120. package/dist/mjs/resources/person/types/index.js +0 -3
  1121. package/dist/mjs/resources/person/types/index.js.map +0 -1
  1122. package/dist/mjs/resources/person/types/person-details.d.ts +0 -25
  1123. package/dist/mjs/resources/person/types/person-details.js +0 -2
  1124. package/dist/mjs/resources/person/types/person-details.js.map +0 -1
  1125. package/dist/mjs/resources/person/types/person-list-item.d.ts +0 -26
  1126. package/dist/mjs/resources/person/types/person-list-item.js +0 -5
  1127. package/dist/mjs/resources/person/types/person-list-item.js.map +0 -1
  1128. package/dist/mjs/resources/power/index.d.ts +0 -1
  1129. package/dist/mjs/resources/power/index.js +0 -2
  1130. package/dist/mjs/resources/power/index.js.map +0 -1
  1131. package/dist/mjs/resources/power/power.d.ts +0 -6
  1132. package/dist/mjs/resources/power/power.js +0 -6
  1133. package/dist/mjs/resources/power/power.js.map +0 -1
  1134. package/dist/mjs/resources/power/types/index.d.ts +0 -2
  1135. package/dist/mjs/resources/power/types/index.js +0 -3
  1136. package/dist/mjs/resources/power/types/index.js.map +0 -1
  1137. package/dist/mjs/resources/power/types/power-details.d.ts +0 -12
  1138. package/dist/mjs/resources/power/types/power-details.js +0 -2
  1139. package/dist/mjs/resources/power/types/power-details.js.map +0 -1
  1140. package/dist/mjs/resources/power/types/power-list-item.d.ts +0 -10
  1141. package/dist/mjs/resources/power/types/power-list-item.js +0 -2
  1142. package/dist/mjs/resources/power/types/power-list-item.js.map +0 -1
  1143. package/dist/mjs/resources/promo/index.d.ts +0 -1
  1144. package/dist/mjs/resources/promo/index.js +0 -2
  1145. package/dist/mjs/resources/promo/index.js.map +0 -1
  1146. package/dist/mjs/resources/promo/promo.d.ts +0 -6
  1147. package/dist/mjs/resources/promo/promo.js +0 -6
  1148. package/dist/mjs/resources/promo/promo.js.map +0 -1
  1149. package/dist/mjs/resources/promo/types/index.d.ts +0 -2
  1150. package/dist/mjs/resources/promo/types/index.js +0 -3
  1151. package/dist/mjs/resources/promo/types/index.js.map +0 -1
  1152. package/dist/mjs/resources/promo/types/promo-details.d.ts +0 -13
  1153. package/dist/mjs/resources/promo/types/promo-details.js +0 -2
  1154. package/dist/mjs/resources/promo/types/promo-details.js.map +0 -1
  1155. package/dist/mjs/resources/promo/types/promo-list-item.d.ts +0 -13
  1156. package/dist/mjs/resources/promo/types/promo-list-item.js +0 -2
  1157. package/dist/mjs/resources/promo/types/promo-list-item.js.map +0 -1
  1158. package/dist/mjs/resources/publisher/index.d.ts +0 -1
  1159. package/dist/mjs/resources/publisher/index.js +0 -2
  1160. package/dist/mjs/resources/publisher/index.js.map +0 -1
  1161. package/dist/mjs/resources/publisher/publisher.d.ts +0 -6
  1162. package/dist/mjs/resources/publisher/publisher.js +0 -6
  1163. package/dist/mjs/resources/publisher/publisher.js.map +0 -1
  1164. package/dist/mjs/resources/publisher/types/index.d.ts +0 -2
  1165. package/dist/mjs/resources/publisher/types/index.js +0 -3
  1166. package/dist/mjs/resources/publisher/types/index.js.map +0 -1
  1167. package/dist/mjs/resources/publisher/types/publisher-details.d.ts +0 -20
  1168. package/dist/mjs/resources/publisher/types/publisher-details.js +0 -2
  1169. package/dist/mjs/resources/publisher/types/publisher-details.js.map +0 -1
  1170. package/dist/mjs/resources/publisher/types/publisher-list-item.d.ts +0 -22
  1171. package/dist/mjs/resources/publisher/types/publisher-list-item.js +0 -8
  1172. package/dist/mjs/resources/publisher/types/publisher-list-item.js.map +0 -1
  1173. package/dist/mjs/resources/resource-factory.d.ts +0 -8
  1174. package/dist/mjs/resources/resource-factory.js +0 -17
  1175. package/dist/mjs/resources/resource-factory.js.map +0 -1
  1176. package/dist/mjs/resources/resource-list.d.ts +0 -19
  1177. package/dist/mjs/resources/resource-list.js +0 -20
  1178. package/dist/mjs/resources/resource-list.js.map +0 -1
  1179. package/dist/mjs/resources/resource-map.d.ts +0 -7
  1180. package/dist/mjs/resources/resource-map.js +0 -36
  1181. package/dist/mjs/resources/resource-map.js.map +0 -1
  1182. package/dist/mjs/resources/resource-type.js +0 -23
  1183. package/dist/mjs/resources/resource-type.js.map +0 -1
  1184. package/dist/mjs/resources/series/index.d.ts +0 -1
  1185. package/dist/mjs/resources/series/index.js +0 -2
  1186. package/dist/mjs/resources/series/index.js.map +0 -1
  1187. package/dist/mjs/resources/series/series.d.ts +0 -6
  1188. package/dist/mjs/resources/series/series.js +0 -6
  1189. package/dist/mjs/resources/series/series.js.map +0 -1
  1190. package/dist/mjs/resources/series/types/index.d.ts +0 -2
  1191. package/dist/mjs/resources/series/types/index.js +0 -3
  1192. package/dist/mjs/resources/series/types/index.js.map +0 -1
  1193. package/dist/mjs/resources/series/types/series-details.d.ts +0 -20
  1194. package/dist/mjs/resources/series/types/series-details.js +0 -2
  1195. package/dist/mjs/resources/series/types/series-details.js.map +0 -1
  1196. package/dist/mjs/resources/series/types/series-list-item.d.ts +0 -18
  1197. package/dist/mjs/resources/series/types/series-list-item.js +0 -2
  1198. package/dist/mjs/resources/series/types/series-list-item.js.map +0 -1
  1199. package/dist/mjs/resources/story-arc/index.d.ts +0 -1
  1200. package/dist/mjs/resources/story-arc/index.js +0 -2
  1201. package/dist/mjs/resources/story-arc/index.js.map +0 -1
  1202. package/dist/mjs/resources/story-arc/story-arc.d.ts +0 -6
  1203. package/dist/mjs/resources/story-arc/story-arc.js +0 -6
  1204. package/dist/mjs/resources/story-arc/story-arc.js.map +0 -1
  1205. package/dist/mjs/resources/story-arc/types/index.d.ts +0 -2
  1206. package/dist/mjs/resources/story-arc/types/index.js +0 -3
  1207. package/dist/mjs/resources/story-arc/types/index.js.map +0 -1
  1208. package/dist/mjs/resources/story-arc/types/story-arc-details.d.ts +0 -20
  1209. package/dist/mjs/resources/story-arc/types/story-arc-details.js +0 -2
  1210. package/dist/mjs/resources/story-arc/types/story-arc-details.js.map +0 -1
  1211. package/dist/mjs/resources/story-arc/types/story-arc-list-item.d.ts +0 -17
  1212. package/dist/mjs/resources/story-arc/types/story-arc-list-item.js +0 -2
  1213. package/dist/mjs/resources/story-arc/types/story-arc-list-item.js.map +0 -1
  1214. package/dist/mjs/resources/team/index.d.ts +0 -1
  1215. package/dist/mjs/resources/team/index.js +0 -2
  1216. package/dist/mjs/resources/team/index.js.map +0 -1
  1217. package/dist/mjs/resources/team/team.d.ts +0 -6
  1218. package/dist/mjs/resources/team/team.js +0 -6
  1219. package/dist/mjs/resources/team/team.js.map +0 -1
  1220. package/dist/mjs/resources/team/types/index.d.ts +0 -2
  1221. package/dist/mjs/resources/team/types/index.js +0 -3
  1222. package/dist/mjs/resources/team/types/index.js.map +0 -1
  1223. package/dist/mjs/resources/team/types/team-details.d.ts +0 -26
  1224. package/dist/mjs/resources/team/types/team-details.js +0 -2
  1225. package/dist/mjs/resources/team/types/team-details.js.map +0 -1
  1226. package/dist/mjs/resources/team/types/team-list-item.d.ts +0 -17
  1227. package/dist/mjs/resources/team/types/team-list-item.js +0 -2
  1228. package/dist/mjs/resources/team/types/team-list-item.js.map +0 -1
  1229. package/dist/mjs/resources/thing/index.d.ts +0 -1
  1230. package/dist/mjs/resources/thing/index.js +0 -2
  1231. package/dist/mjs/resources/thing/index.js.map +0 -1
  1232. package/dist/mjs/resources/thing/thing.d.ts +0 -6
  1233. package/dist/mjs/resources/thing/thing.js +0 -6
  1234. package/dist/mjs/resources/thing/thing.js.map +0 -1
  1235. package/dist/mjs/resources/thing/types/index.d.ts +0 -2
  1236. package/dist/mjs/resources/thing/types/index.js +0 -3
  1237. package/dist/mjs/resources/thing/types/index.js.map +0 -1
  1238. package/dist/mjs/resources/thing/types/thing-details.d.ts +0 -20
  1239. package/dist/mjs/resources/thing/types/thing-details.js +0 -2
  1240. package/dist/mjs/resources/thing/types/thing-details.js.map +0 -1
  1241. package/dist/mjs/resources/thing/types/thing-list-item.d.ts +0 -16
  1242. package/dist/mjs/resources/thing/types/thing-list-item.js +0 -2
  1243. package/dist/mjs/resources/thing/types/thing-list-item.js.map +0 -1
  1244. package/dist/mjs/resources/video/index.d.ts +0 -1
  1245. package/dist/mjs/resources/video/index.js +0 -2
  1246. package/dist/mjs/resources/video/index.js.map +0 -1
  1247. package/dist/mjs/resources/video/types/index.d.ts +0 -2
  1248. package/dist/mjs/resources/video/types/index.js +0 -3
  1249. package/dist/mjs/resources/video/types/index.js.map +0 -1
  1250. package/dist/mjs/resources/video/types/video-details.d.ts +0 -27
  1251. package/dist/mjs/resources/video/types/video-details.js +0 -2
  1252. package/dist/mjs/resources/video/types/video-details.js.map +0 -1
  1253. package/dist/mjs/resources/video/types/video-list-item.d.ts +0 -49
  1254. package/dist/mjs/resources/video/types/video-list-item.js +0 -25
  1255. package/dist/mjs/resources/video/types/video-list-item.js.map +0 -1
  1256. package/dist/mjs/resources/video/video.d.ts +0 -6
  1257. package/dist/mjs/resources/video/video.js +0 -6
  1258. package/dist/mjs/resources/video/video.js.map +0 -1
  1259. package/dist/mjs/resources/video-category/index.d.ts +0 -1
  1260. package/dist/mjs/resources/video-category/index.js +0 -2
  1261. package/dist/mjs/resources/video-category/index.js.map +0 -1
  1262. package/dist/mjs/resources/video-category/types/index.d.ts +0 -2
  1263. package/dist/mjs/resources/video-category/types/index.js +0 -3
  1264. package/dist/mjs/resources/video-category/types/index.js.map +0 -1
  1265. package/dist/mjs/resources/video-category/types/video-category-details.d.ts +0 -9
  1266. package/dist/mjs/resources/video-category/types/video-category-details.js +0 -2
  1267. package/dist/mjs/resources/video-category/types/video-category-details.js.map +0 -1
  1268. package/dist/mjs/resources/video-category/types/video-category-list-item.d.ts +0 -9
  1269. package/dist/mjs/resources/video-category/types/video-category-list-item.js +0 -2
  1270. package/dist/mjs/resources/video-category/types/video-category-list-item.js.map +0 -1
  1271. package/dist/mjs/resources/video-category/video-category.d.ts +0 -6
  1272. package/dist/mjs/resources/video-category/video-category.js +0 -6
  1273. package/dist/mjs/resources/video-category/video-category.js.map +0 -1
  1274. package/dist/mjs/resources/video-type/index.d.ts +0 -1
  1275. package/dist/mjs/resources/video-type/index.js +0 -2
  1276. package/dist/mjs/resources/video-type/index.js.map +0 -1
  1277. package/dist/mjs/resources/video-type/types/index.d.ts +0 -2
  1278. package/dist/mjs/resources/video-type/types/index.js +0 -3
  1279. package/dist/mjs/resources/video-type/types/index.js.map +0 -1
  1280. package/dist/mjs/resources/video-type/types/video-type-details.d.ts +0 -7
  1281. package/dist/mjs/resources/video-type/types/video-type-details.js +0 -2
  1282. package/dist/mjs/resources/video-type/types/video-type-details.js.map +0 -1
  1283. package/dist/mjs/resources/video-type/types/video-type-list-item.d.ts +0 -7
  1284. package/dist/mjs/resources/video-type/types/video-type-list-item.js +0 -2
  1285. package/dist/mjs/resources/video-type/types/video-type-list-item.js.map +0 -1
  1286. package/dist/mjs/resources/video-type/video-type.d.ts +0 -6
  1287. package/dist/mjs/resources/video-type/video-type.js +0 -6
  1288. package/dist/mjs/resources/video-type/video-type.js.map +0 -1
  1289. package/dist/mjs/resources/volume/index.d.ts +0 -1
  1290. package/dist/mjs/resources/volume/index.js +0 -2
  1291. package/dist/mjs/resources/volume/index.js.map +0 -1
  1292. package/dist/mjs/resources/volume/types/index.d.ts +0 -2
  1293. package/dist/mjs/resources/volume/types/index.js +0 -3
  1294. package/dist/mjs/resources/volume/types/index.js.map +0 -1
  1295. package/dist/mjs/resources/volume/types/volume-details.d.ts +0 -23
  1296. package/dist/mjs/resources/volume/types/volume-details.js +0 -2
  1297. package/dist/mjs/resources/volume/types/volume-details.js.map +0 -1
  1298. package/dist/mjs/resources/volume/types/volume-list-item.d.ts +0 -18
  1299. package/dist/mjs/resources/volume/types/volume-list-item.js +0 -2
  1300. package/dist/mjs/resources/volume/types/volume-list-item.js.map +0 -1
  1301. package/dist/mjs/resources/volume/volume.d.ts +0 -6
  1302. package/dist/mjs/resources/volume/volume.js +0 -6
  1303. package/dist/mjs/resources/volume/volume.js.map +0 -1
  1304. package/dist/mjs/types/apply-override.d.ts +0 -1
  1305. package/dist/mjs/types/apply-override.js +0 -2
  1306. package/dist/mjs/types/apply-override.js.map +0 -1
  1307. package/dist/mjs/types/http-client.d.ts +0 -4
  1308. package/dist/mjs/types/http-client.js +0 -2
  1309. package/dist/mjs/types/http-client.js.map +0 -1
  1310. package/dist/mjs/types/index.d.ts +0 -7
  1311. package/dist/mjs/types/index.js +0 -8
  1312. package/dist/mjs/types/index.js.map +0 -1
  1313. package/dist/mjs/types/iso-date.d.ts +0 -7
  1314. package/dist/mjs/types/iso-date.js +0 -2
  1315. package/dist/mjs/types/iso-date.js.map +0 -1
  1316. package/dist/mjs/types/pick-filters.d.ts +0 -6
  1317. package/dist/mjs/types/pick-filters.js +0 -2
  1318. package/dist/mjs/types/pick-filters.js.map +0 -1
  1319. package/dist/mjs/types/request.d.ts +0 -14
  1320. package/dist/mjs/types/request.js +0 -2
  1321. package/dist/mjs/types/request.js.map +0 -1
  1322. package/dist/mjs/types/response.d.ts +0 -10
  1323. package/dist/mjs/types/response.js +0 -2
  1324. package/dist/mjs/types/response.js.map +0 -1
  1325. package/dist/mjs/types/url-builder.d.ts +0 -6
  1326. package/dist/mjs/types/url-builder.js +0 -2
  1327. package/dist/mjs/types/url-builder.js.map +0 -1
  1328. package/dist/mjs/types/valueof.d.ts +0 -1
  1329. package/dist/mjs/types/valueof.js +0 -2
  1330. package/dist/mjs/types/valueof.js.map +0 -1
  1331. package/dist/mjs/utils/case-converter.js +0 -27
  1332. package/dist/mjs/utils/case-converter.js.map +0 -1
  1333. package/dist/mjs/utils/index.d.ts +0 -2
  1334. package/dist/mjs/utils/index.js +0 -3
  1335. package/dist/mjs/utils/index.js.map +0 -1
  1336. package/dist/mjs/utils/is-object.js +0 -4
  1337. package/dist/mjs/utils/is-object.js.map +0 -1
  1338. /package/{dist → lib}/cjs/errors/base-error.d.ts +0 -0
  1339. /package/{dist → lib}/cjs/http-client/status-code.d.ts +0 -0
  1340. /package/{dist → lib}/cjs/resources/resource-type.d.ts +0 -0
  1341. /package/{dist → lib}/cjs/utils/case-converter.d.ts +0 -0
  1342. /package/{dist → lib}/cjs/utils/is-object.d.ts +0 -0
  1343. /package/{dist/mjs → lib/esm}/errors/base-error.d.ts +0 -0
  1344. /package/{dist/mjs → lib/esm}/http-client/status-code.d.ts +0 -0
  1345. /package/{dist/mjs → lib/esm}/resources/resource-type.d.ts +0 -0
  1346. /package/{dist/mjs → lib/esm}/utils/case-converter.d.ts +0 -0
  1347. /package/{dist/mjs → lib/esm}/utils/is-object.d.ts +0 -0
package/.gitattributes ADDED
@@ -0,0 +1,27 @@
1
+ # ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
2
+
3
+ /.eslintrc.json linguist-generated
4
+ /.gitattributes linguist-generated
5
+ /.github/pull_request_template.md linguist-generated
6
+ /.github/workflows/build.yml linguist-generated
7
+ /.github/workflows/pull-request-lint.yml linguist-generated
8
+ /.github/workflows/release.yml linguist-generated
9
+ /.github/workflows/upgrade-main.yml linguist-generated
10
+ /.gitignore linguist-generated
11
+ /.mergify.yml linguist-generated
12
+ /.npmignore linguist-generated
13
+ /.npmrc linguist-generated
14
+ /.prettierignore linguist-generated
15
+ /.prettierrc.json linguist-generated
16
+ /.projen/** linguist-generated
17
+ /.projen/deps.json linguist-generated
18
+ /.projen/files.json linguist-generated
19
+ /.projen/tasks.json linguist-generated
20
+ /LICENSE linguist-generated
21
+ /package.json linguist-generated
22
+ /pnpm-lock.yaml linguist-generated
23
+ /scripts/create-package-json.ts linguist-generated
24
+ /tsconfig.build.cjs.json linguist-generated
25
+ /tsconfig.build.esm.json linguist-generated
26
+ /tsconfig.dev.json linguist-generated
27
+ /tsconfig.json linguist-generated
@@ -0,0 +1,4 @@
1
+ #!/bin/sh
2
+ . "$(dirname "$0")/_/husky.sh"
3
+
4
+ npx lint-staged
@@ -0,0 +1,2 @@
1
+ # ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
2
+ scripts/create-package-json.ts
@@ -0,0 +1,4 @@
1
+ {
2
+ "singleQuote": true,
3
+ "overrides": []
4
+ }
package/.projenrc.ts ADDED
@@ -0,0 +1,76 @@
1
+ import { TypeScriptNpmPackage } from '@ally-murray/projen-modules';
2
+
3
+ const repository = 'https://github.com/AllyMurray/comic-vine';
4
+
5
+ const project = new TypeScriptNpmPackage({
6
+ name: 'comic-vine',
7
+ packageName: 'comic-vine-sdk',
8
+ description: 'A JS/TS client for the Comic Vine API',
9
+ authorName: 'Ally Murray',
10
+ authorEmail: 'allymurray88@gmail.com',
11
+ defaultReleaseBranch: 'main',
12
+ deps: ['axios', 'clone-deep', 'zod'],
13
+ devDeps: [
14
+ '@ally-murray/projen-modules',
15
+ '@types/clone-deep',
16
+ 'commitizen',
17
+ 'husky',
18
+ 'lint-staged',
19
+ 'nock',
20
+ 'rimraf',
21
+ 'vitest',
22
+ ],
23
+ minMajorVersion: 1,
24
+ projenrcTs: true,
25
+ tsconfig: {
26
+ compilerOptions: {
27
+ module: 'Node16',
28
+ target: 'ES2020',
29
+ // @ts-expect-error types is missing from compilerOptions
30
+ types: ['vitest/globals'],
31
+ skipLibCheck: true,
32
+ },
33
+ },
34
+ gitignore: ['.DS_Store', '*yalc*', 'test-reports'],
35
+ jest: false,
36
+ repository: `${repository}.git`,
37
+ bugsUrl: `${repository}/issues`,
38
+ homepage: `${repository}#readme`,
39
+ keywords: [
40
+ 'comic-metadata',
41
+ 'comic-vine-api',
42
+ 'comic-vine-client',
43
+ 'comic-vine-javascript',
44
+ 'comic-vine-js',
45
+ 'comic-vine-node',
46
+ 'comic-vine-nodejs',
47
+ 'comic-vine-sdk',
48
+ 'comic-vine-ts',
49
+ 'comic-vine-typescript',
50
+ 'comic-vine',
51
+ 'comic',
52
+ 'comics',
53
+ 'metadata',
54
+ ],
55
+ });
56
+
57
+ project.npmrc.addConfig('save-exact', 'true');
58
+
59
+ project.testTask.prependExec('vitest --dir=src', { receiveArgs: true });
60
+
61
+ project.eslint?.addOverride({
62
+ files: ['*.test.ts'],
63
+ rules: {
64
+ 'dot-notation': 'off',
65
+ 'import/no-extraneous-dependencies': [
66
+ 'error',
67
+ {
68
+ devDependencies: true,
69
+ },
70
+ ],
71
+ },
72
+ });
73
+
74
+ project.synth();
75
+
76
+ // TODO: Sort out version number
@@ -0,0 +1,17 @@
1
+ {
2
+ "branches": [
3
+ "+([0-9])?(.{+([0-9]),x}).x",
4
+ "main",
5
+ "next",
6
+ { "name": "alpha", "prerelease": true },
7
+ { "name": "beta", "prerelease": true }
8
+ ],
9
+ "plugins": [
10
+ "@semantic-release/commit-analyzer",
11
+ "@semantic-release/release-notes-generator",
12
+ "@semantic-release/changelog",
13
+ "@semantic-release/npm",
14
+ "@semantic-release/github",
15
+ "@semantic-release/git"
16
+ ]
17
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,83 @@
1
+ ## [1.2.5](https://github.com/AllyMurray/comic-vine/compare/v1.2.4...v1.2.5) (2023-03-18)
2
+
3
+ ### Bug Fixes
4
+
5
+ - upgrade zod from 3.20.2 to 3.20.5 ([31755e7](https://github.com/AllyMurray/comic-vine/commit/31755e711b7a61fced6da6554461b45f4db43046))
6
+ - upgrade zod from 3.20.5 to 3.20.6 ([4c32d5b](https://github.com/AllyMurray/comic-vine/commit/4c32d5b8f8d94da50a1a4c456f360dbe9d53beaf))
7
+
8
+ ## [1.2.4](https://github.com/AllyMurray/comic-vine/compare/v1.2.3...v1.2.4) (2023-01-31)
9
+
10
+ ### Bug Fixes
11
+
12
+ - :package: publish typings to npm ([f132dd6](https://github.com/AllyMurray/comic-vine/commit/f132dd6e3d8a2983e5e8b20434c6d491123503e4))
13
+
14
+ ## [1.2.3](https://github.com/AllyMurray/comic-vine/compare/v1.2.2...v1.2.3) (2023-01-22)
15
+
16
+ ### Bug Fixes
17
+
18
+ - upgrade zod from 3.19.1 to 3.20.2 ([4576f78](https://github.com/AllyMurray/comic-vine/commit/4576f78a34a5470274da2d384814bf8f85e977fe))
19
+
20
+ ## [1.2.2](https://github.com/AllyMurray/comic-vine/compare/v1.2.1...v1.2.2) (2022-12-04)
21
+
22
+ ### Bug Fixes
23
+
24
+ - **typo in pagination example:** typo in pagination example ([3b3d3c5](https://github.com/AllyMurray/comic-vine/commit/3b3d3c5b30ce42672767f1a17d78b792a6dc3a0f))
25
+
26
+ ## [1.2.1](https://github.com/AllyMurray/comic-vine/compare/v1.2.0...v1.2.1) (2022-12-04)
27
+
28
+ ### Bug Fixes
29
+
30
+ - **auto pagination example:** fixes the autopagination example so limit is set to 50 ([a198408](https://github.com/AllyMurray/comic-vine/commit/a19840857a67c71f8cd671f47335b8c7a6f28f4d))
31
+
32
+ # [1.2.0](https://github.com/AllyMurray/comic-vine/compare/v1.1.1...v1.2.0) (2022-12-04)
33
+
34
+ ### Features
35
+
36
+ - **auto pagination:** add auto pagination to list methods ([a5fa379](https://github.com/AllyMurray/comic-vine/commit/a5fa379e9cc267552741aa5f82c06b8242f55856))
37
+
38
+ ## [1.1.1](https://github.com/AllyMurray/comic-vine/compare/v1.1.0...v1.1.1) (2022-10-15)
39
+
40
+ ### Bug Fixes
41
+
42
+ - **options docs:** add missing documentation for setting baseUrl ([6954695](https://github.com/AllyMurray/comic-vine/commit/6954695b6d3322fde38258fcc1f50fc6a83aa72e))
43
+
44
+ # [1.1.0](https://github.com/AllyMurray/comic-vine/compare/v1.0.4...v1.1.0) (2022-10-15)
45
+
46
+ ### Features
47
+
48
+ - **library options:** allow setting baseUrl when initializing the library ([07fe7e3](https://github.com/AllyMurray/comic-vine/commit/07fe7e3905bea006b8a15dc0b545a0ae1f53f084))
49
+
50
+ ## [1.0.4](https://github.com/AllyMurray/comic-vine/compare/v1.0.3...v1.0.4) (2022-10-08)
51
+
52
+ ### Bug Fixes
53
+
54
+ - **typings:** improve the api response typings ([e5bf556](https://github.com/AllyMurray/comic-vine/commit/e5bf5561149e1cff6e0c538dacf3c8fc71b6c935))
55
+
56
+ ## [1.0.3](https://github.com/AllyMurray/comic-vine/compare/v1.0.2...v1.0.3) (2022-10-07)
57
+
58
+ ### Bug Fixes
59
+
60
+ - **tsconfig.json:** remove comments so that the file can be parsed by snyk ([fe715f7](https://github.com/AllyMurray/comic-vine/commit/fe715f72840bce8247c0550c21fa45d555b7990f))
61
+
62
+ ## [1.0.2](https://github.com/AllyMurray/comic-vine/compare/v1.0.1...v1.0.2) (2022-10-07)
63
+
64
+ ### Bug Fixes
65
+
66
+ - **character details typings:** birth can be null or string, change any arrays to SiteResource array ([5a69bd3](https://github.com/AllyMurray/comic-vine/commit/5a69bd3b6394b2a389cdf7c5b9b4713350788fb8))
67
+
68
+ ## [1.0.1](https://github.com/AllyMurray/comic-vine/compare/v1.0.0...v1.0.1) (2022-10-05)
69
+
70
+ ### Bug Fixes
71
+
72
+ - **ts build:** update typescript typings to remove false positives in vscode problems window ([ece4080](https://github.com/AllyMurray/comic-vine/commit/ece4080370be2635712b1978f2e6d7f6c88ddc40))
73
+
74
+ # [1.0.0](https://github.com/AllyMurray/comic-vine/compare/efa0a077ec5104451fc33ab773d888bb79f6438f...v1.0.0) (2022-09-30)
75
+
76
+ ### Bug Fixes
77
+
78
+ - **npm publish:** rename npm package ([37eb3a1](https://github.com/AllyMurray/comic-vine/commit/37eb3a17b9b8cd1c58e09b2efcb1380e10124d14))
79
+ - **npm publish:** rename npm package to comic-vine-sdk ([26fe0d8](https://github.com/AllyMurray/comic-vine/commit/26fe0d8321c7ed4df57664e5006a798e296b17dc))
80
+
81
+ ### Features
82
+
83
+ - **gh workflow:** automate release to npm ([efa0a07](https://github.com/AllyMurray/comic-vine/commit/efa0a077ec5104451fc33ab773d888bb79f6438f))
@@ -0,0 +1,128 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, religion, or sexual identity
10
+ and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ - Demonstrating empathy and kindness toward other people
21
+ - Being respectful of differing opinions, viewpoints, and experiences
22
+ - Giving and gracefully accepting constructive feedback
23
+ - Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ - Focusing on what is best not just for us as individuals, but for the
26
+ overall community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ - The use of sexualized language or imagery, and sexual attention or
31
+ advances of any kind
32
+ - Trolling, insulting or derogatory comments, and personal or political attacks
33
+ - Public or private harassment
34
+ - Publishing others' private information, such as a physical or email
35
+ address, without their explicit permission
36
+ - Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official e-mail address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ allymurray88@gmail.com.
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series
86
+ of actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or
93
+ permanent ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within
113
+ the community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.0, available at
119
+ https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120
+
121
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct
122
+ enforcement ladder](https://github.com/mozilla/diversity).
123
+
124
+ [homepage]: https://www.contributor-covenant.org
125
+
126
+ For answers to common questions about this code of conduct, see the FAQ at
127
+ https://www.contributor-covenant.org/faq. Translations are available at
128
+ https://www.contributor-covenant.org/translations.
package/LICENSE CHANGED
@@ -1,6 +1,4 @@
1
- MIT License
2
-
3
- Copyright (c) 2022 Ally Murray
1
+ Copyright (c) 2023 Ally Murray
4
2
 
5
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
4
  of this software and associated documentation files (the "Software"), to deal
package/jest.setup.js ADDED
@@ -0,0 +1,2 @@
1
+ const nock = require('nock');
2
+ nock.disableNetConnect();
@@ -0,0 +1,42 @@
1
+ import { userOptions } from './options/index.js';
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/resource-list.js").Character;
24
+ get concept(): import("./resources/resource-list.js").Concept;
25
+ get episode(): import("./resources/resource-list.js").Episode;
26
+ get issue(): import("./resources/resource-list.js").Issue;
27
+ get location(): import("./resources/resource-list.js").Location;
28
+ get movie(): import("./resources/resource-list.js").Movie;
29
+ get origin(): import("./resources/resource-list.js").Origin;
30
+ get person(): import("./resources/resource-list.js").Person;
31
+ get power(): import("./resources/resource-list.js").Power;
32
+ get promo(): import("./resources/resource-list.js").Promo;
33
+ get publisher(): import("./resources/resource-list.js").Publisher;
34
+ get series(): import("./resources/resource-list.js").Series;
35
+ get storyArc(): import("./resources/resource-list.js").StoryArc;
36
+ get team(): import("./resources/resource-list.js").Team;
37
+ get thing(): import("./resources/resource-list.js").Thing;
38
+ get video(): import("./resources/resource-list.js").Video;
39
+ get videoCategory(): import("./resources/resource-list.js").VideoCategory;
40
+ get videoType(): import("./resources/resource-list.js").VideoType;
41
+ get volume(): import("./resources/resource-list.js").Volume;
42
+ }
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ComicVine = void 0;
4
+ const index_js_1 = require("./http-client/index.js");
5
+ const index_js_2 = require("./options/index.js");
6
+ const index_js_3 = require("./resources/index.js");
7
+ class ComicVine {
8
+ constructor(key, options) {
9
+ const _options = (0, index_js_2.loadOptions)(options);
10
+ const httpClient = index_js_1.HttpClientFactory.createClient();
11
+ const urlBuilder = index_js_1.HttpClientFactory.createUrlBuilder(key, _options.baseUrl);
12
+ const resourceFactory = new index_js_3.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=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29taWMtdmluZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21pYy12aW5lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHFEQUEyRDtBQUMzRCxpREFBOEQ7QUFDOUQsbURBQXVEO0FBRXZELE1BQWEsU0FBUztJQXFCcEIsWUFBWSxHQUFXLEVBQUUsT0FBcUI7UUFDNUMsTUFBTSxRQUFRLEdBQUcsSUFBQSxzQkFBVyxFQUFDLE9BQU8sQ0FBQyxDQUFDO1FBQ3RDLE1BQU0sVUFBVSxHQUFHLDRCQUFpQixDQUFDLFlBQVksRUFBRSxDQUFDO1FBQ3BELE1BQU0sVUFBVSxHQUFHLDRCQUFpQixDQUFDLGdCQUFnQixDQUNuRCxHQUFHLEVBQ0gsUUFBUSxDQUFDLE9BQU8sQ0FDakIsQ0FBQztRQUNGLE1BQU0sZUFBZSxHQUFHLElBQUksMEJBQWUsQ0FBQyxVQUFVLEVBQUUsVUFBVSxDQUFDLENBQUM7UUFFcEUsSUFBSSxDQUFDLFVBQVUsR0FBRyxlQUFlLENBQUMsTUFBTSxDQUFDLFdBQVcsQ0FBQyxDQUFDO1FBQ3RELElBQUksQ0FBQyxRQUFRLEdBQUcsZUFBZSxDQUFDLE1BQU0sQ0FBQyxTQUFTLENBQUMsQ0FBQztRQUNsRCxJQUFJLENBQUMsUUFBUSxHQUFHLGVBQWUsQ0FBQyxNQUFNLENBQUMsU0FBUyxDQUFDLENBQUM7UUFDbEQsSUFBSSxDQUFDLE1BQU0sR0FBRyxlQUFlLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBQzlDLElBQUksQ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G5cbiAgZ2V0IHZpZGVvKCkge1xuICAgIHJldHVybiB0aGlzLl92aWRlbztcbiAgfVxuXG4gIGdldCB2aWRlb0NhdGVnb3J5KCkge1xuICAgIHJldHVybiB0aGlzLl92aWRlb0NhdGVnb3J5O1xuICB9XG5cbiAgZ2V0IHZpZGVvVHlwZSgpIHtcbiAgICByZXR1cm4gdGhpcy5fdmlkZW9UeXBlO1xuICB9XG5cbiAgZ2V0IHZvbHVtZSgpIHtcbiAgICByZXR1cm4gdGhpcy5fdm9sdW1lO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BaseError = void 0;
4
+ class BaseError extends Error {
5
+ constructor(details) {
6
+ // Pass remaining arguments (including vendor specific ones) to parent constructor
7
+ super(details.message);
8
+ this.name = this.constructor.name;
9
+ // Remove constructor invocation from the stack trace. Only available in V8.
10
+ if (Error.captureStackTrace) {
11
+ Error.captureStackTrace(this, this.constructor);
12
+ }
13
+ // Custom debugging information
14
+ this.help = details.help;
15
+ }
16
+ }
17
+ exports.BaseError = BaseError;
18
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1lcnJvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9lcnJvcnMvYmFzZS1lcnJvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFLQSxNQUFzQixTQUFVLFNBQVEsS0FBSztJQUczQyxZQUFZLE9BQXFCO1FBQy9CLGtGQUFrRjtRQUNsRixLQUFLLENBQUMsT0FBTyxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBQ3ZCLElBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUM7UUFFbEMsNEVBQTRFO1FBQzVFLElBQUksS0FBSyxDQUFDLGlCQUFpQixF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
+ import { GenericError } from './generic-error.js';
2
+ export declare const customError: (error: unknown) => GenericError;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.customError = void 0;
4
+ const generic_error_js_1 = require("./generic-error.js");
5
+ const customError = (error) => {
6
+ if (error instanceof Error) {
7
+ return new generic_error_js_1.GenericError(error.message);
8
+ }
9
+ return new generic_error_js_1.GenericError();
10
+ };
11
+ exports.customError = customError;
12
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLWVycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Vycm9ycy9jdXN0b20tZXJyb3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseURBQWtEO0FBRTNDLE1BQU0sV0FBVyxHQUFHLENBQUMsS0FBYyxFQUFFLEVBQUU7SUFDNUMsSUFBSSxLQUFLLFlBQVksS0FBSyxFQUFFO1FBQzFCLE9BQU8sSUFBSSwrQkFBWSxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQztLQUN4QztJQUNELE9BQU8sSUFBSSwrQkFBWSxFQUFFLENBQUM7QUFDNUIsQ0FBQyxDQUFDO0FBTFcsUUFBQSxXQUFXLGVBS3RCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgR2VuZXJpY0Vycm9yIH0gZnJvbSAnLi9nZW5lcmljLWVycm9yLmpzJztcblxuZXhwb3J0IGNvbnN0IGN1c3RvbUVycm9yID0gKGVycm9yOiB1bmtub3duKSA9PiB7XG4gIGlmIChlcnJvciBpbnN0YW5jZW9mIEVycm9yKSB7XG4gICAgcmV0dXJuIG5ldyBHZW5lcmljRXJyb3IoZXJyb3IubWVzc2FnZSk7XG4gIH1cbiAgcmV0dXJuIG5ldyBHZW5lcmljRXJyb3IoKTtcbn07XG4iXX0=
@@ -0,0 +1,4 @@
1
+ import { BaseError } from './base-error.js';
2
+ export declare class ComicVineFilterError extends BaseError {
3
+ constructor();
4
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ComicVineFilterError = void 0;
4
+ const base_error_js_1 = require("./base-error.js");
5
+ class ComicVineFilterError extends base_error_js_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=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLWVycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Vycm9ycy9maWx0ZXItZXJyb3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsbURBQTRDO0FBRTVDLE1BQWEsb0JBQXFCLFNBQVEseUJBQVM7SUFDakQ7UUFDRSxLQUFLLENBQUM7WUFDSixPQUFPLEVBQUUsc0RBQXNEO1lBQy9ELElBQUksRUFBRSxxR0FBcUc7U0FDNUcsQ0FBQyxDQUFDO0lBQ0wsQ0FBQztDQUNGO0FBUEQsb0RBT0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBCYXNlRXJyb3IgfSBmcm9tICcuL2Jhc2UtZXJyb3IuanMnO1xuXG5leHBvcnQgY2xhc3MgQ29taWNWaW5lRmlsdGVyRXJyb3IgZXh0ZW5kcyBCYXNlRXJyb3Ige1xuICBjb25zdHJ1Y3RvcigpIHtcbiAgICBzdXBlcih7XG4gICAgICBtZXNzYWdlOiAnVGhlcmUgd2FzIGEgcHJvYmxlbSB0cnlpbmcgdG8gZmlsdGVyIHRoZSBBUEkgcmVzdWx0cycsXG4gICAgICBoZWxwOiAnUGxlYXNlIG9wZW4gYSBHaXRodWIgaXNzdWUgd2l0aCBzdGVwcyB0byByZXByb2R1Y2U6IGh0dHBzOi8vZ2l0aHViLmNvbS9BbGx5TXVycmF5L2NvbWljLXZpbmUvaXNzdWVzJyxcbiAgICB9KTtcbiAgfVxufVxuIl19
@@ -0,0 +1,4 @@
1
+ import { BaseError } from './base-error.js';
2
+ export declare class GenericError extends BaseError {
3
+ constructor(message?: string);
4
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GenericError = void 0;
4
+ const base_error_js_1 = require("./base-error.js");
5
+ class GenericError extends base_error_js_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=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJpYy1lcnJvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9lcnJvcnMvZ2VuZXJpYy1lcnJvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxtREFBNEM7QUFFNUMsTUFBYSxZQUFhLFNBQVEseUJBQVM7SUFDekMsWUFBWSxPQUFnQjtRQUMxQixLQUFLLENBQUM7WUFDSixPQUFPLEVBQUUsaUNBQWlDLE9BQU8sSUFBSSxlQUFlLEVBQUU7WUFDdEUsSUFBSSxFQUFFLHFHQUFxRztTQUM1RyxDQUFDLENBQUM7SUFDTCxDQUFDO0NBQ0Y7QUFQRCxvQ0FPQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJhc2VFcnJvciB9IGZyb20gJy4vYmFzZS1lcnJvci5qcyc7XG5cbmV4cG9ydCBjbGFzcyBHZW5lcmljRXJyb3IgZXh0ZW5kcyBCYXNlRXJyb3Ige1xuICBjb25zdHJ1Y3RvcihtZXNzYWdlPzogc3RyaW5nKSB7XG4gICAgc3VwZXIoe1xuICAgICAgbWVzc2FnZTogYEFuIHVuZXhwZWN0ZWQgZXJyb3Igb2NjdXJyZWQ6ICR7bWVzc2FnZSB8fCAnVW5rbm93biBFcnJvcid9YCxcbiAgICAgIGhlbHA6ICdQbGVhc2Ugb3BlbiBhIEdpdGh1YiBpc3N1ZSB3aXRoIHN0ZXBzIHRvIHJlcHJvZHVjZTogaHR0cHM6Ly9naXRodWIuY29tL0FsbHlNdXJyYXkvY29taWMtdmluZS9pc3N1ZXMnLFxuICAgIH0pO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,10 @@
1
+ import { BaseError } from './base-error.js';
2
+ /**
3
+ * @deprecated will be removed in the next major version, use ComicVineGenericRequestError instead!
4
+ */
5
+ export declare class ComicVineGenericError extends BaseError {
6
+ constructor(message?: string);
7
+ }
8
+ export declare class ComicVineGenericRequestError extends ComicVineGenericError {
9
+ constructor(message?: string);
10
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ComicVineGenericRequestError = exports.ComicVineGenericError = void 0;
4
+ const base_error_js_1 = require("./base-error.js");
5
+ /**
6
+ * @deprecated will be removed in the next major version, use ComicVineGenericRequestError instead!
7
+ */
8
+ class ComicVineGenericError extends base_error_js_1.BaseError {
9
+ constructor(message) {
10
+ super({
11
+ message: `Request to comic vine failed: ${message !== null && message !== void 0 ? message : 'Unknown Error'}`,
12
+ help: 'Please open a Github issue with steps to reproduce: https://github.com/AllyMurray/comic-vine/issues',
13
+ });
14
+ }
15
+ }
16
+ exports.ComicVineGenericError = ComicVineGenericError;
17
+ class ComicVineGenericRequestError extends ComicVineGenericError {
18
+ constructor(message) {
19
+ super(message);
20
+ }
21
+ }
22
+ exports.ComicVineGenericRequestError = ComicVineGenericRequestError;
23
+ //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WMgdmluZSBmYWlsZWQ6ICR7bWVzc2FnZSA/PyAnVW5rbm93biBFcnJvcid9YCxcbiAgICAgIGhlbHA6ICdQbGVhc2Ugb3BlbiBhIEdpdGh1YiBpc3N1ZSB3aXRoIHN0ZXBzIHRvIHJlcHJvZHVjZTogaHR0cHM6Ly9naXRodWIuY29tL0FsbHlNdXJyYXkvY29taWMtdmluZS9pc3N1ZXMnLFxuICAgIH0pO1xuICB9XG59XG5cbmV4cG9ydCBjbGFzcyBDb21pY1ZpbmVHZW5lcmljUmVxdWVzdEVycm9yIGV4dGVuZHMgQ29taWNWaW5lR2VuZXJpY0Vycm9yIHtcbiAgY29uc3RydWN0b3IobWVzc2FnZT86IHN0cmluZykge1xuICAgIHN1cGVyKG1lc3NhZ2UpO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,10 @@
1
+ export * from './custom-error.js';
2
+ export * from './filter-error.js';
3
+ export * from './generic-error.js';
4
+ export * from './generic-request-error.js';
5
+ export * from './jsonp-callback-missing-error.js';
6
+ export * from './object-not-found-error.js';
7
+ export * from './options-validation-error.js';
8
+ export * from './subscriber-only-error.js';
9
+ export * from './unauthorized-error.js';
10
+ export * from './url-format-error.js';