comic-vine-sdk 1.2.5 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1338) 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 +50 -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.js +3 -0
  63. package/lib/cjs/resources/concept/concept.d.ts +6 -0
  64. package/lib/cjs/resources/concept/concept.js +13 -0
  65. package/lib/cjs/resources/concept/index.d.ts +1 -0
  66. package/lib/cjs/resources/concept/index.js +18 -0
  67. package/lib/cjs/resources/concept/types/concept-details.d.ts +58 -0
  68. package/lib/cjs/resources/concept/types/concept-details.js +3 -0
  69. package/lib/cjs/resources/concept/types/concept-list-item.d.ts +52 -0
  70. package/lib/cjs/resources/concept/types/concept-list-item.js +3 -0
  71. package/lib/cjs/resources/concept/types/index.d.ts +2 -0
  72. package/lib/cjs/resources/concept/types/index.js +19 -0
  73. package/lib/cjs/resources/episode/episode.d.ts +6 -0
  74. package/lib/cjs/resources/episode/episode.js +13 -0
  75. package/lib/cjs/resources/episode/index.d.ts +1 -0
  76. package/lib/cjs/resources/episode/index.js +18 -0
  77. package/lib/cjs/resources/episode/types/episode-details.d.ts +87 -0
  78. package/lib/cjs/resources/episode/types/episode-details.js +3 -0
  79. package/lib/cjs/resources/episode/types/episode-list-item.d.ts +53 -0
  80. package/lib/cjs/resources/episode/types/episode-list-item.js +3 -0
  81. package/lib/cjs/resources/episode/types/index.d.ts +2 -0
  82. package/lib/cjs/resources/episode/types/index.js +19 -0
  83. package/lib/cjs/resources/index.d.ts +3 -0
  84. package/lib/cjs/resources/index.js +20 -0
  85. package/lib/cjs/resources/issue/index.d.ts +1 -0
  86. package/lib/cjs/resources/issue/index.js +18 -0
  87. package/lib/cjs/resources/issue/issue.d.ts +6 -0
  88. package/lib/cjs/resources/issue/issue.js +13 -0
  89. package/lib/cjs/resources/issue/types/index.d.ts +2 -0
  90. package/lib/cjs/resources/issue/types/index.js +19 -0
  91. package/lib/cjs/resources/issue/types/issue-details.d.ts +94 -0
  92. package/lib/cjs/resources/issue/types/issue-details.js +3 -0
  93. package/lib/cjs/resources/issue/types/issue-list-item.d.ts +61 -0
  94. package/lib/cjs/resources/issue/types/issue-list-item.js +3 -0
  95. package/lib/cjs/resources/location/index.d.ts +1 -0
  96. package/lib/cjs/resources/location/index.js +18 -0
  97. package/lib/cjs/resources/location/location.d.ts +6 -0
  98. package/lib/cjs/resources/location/location.js +13 -0
  99. package/lib/cjs/resources/location/types/index.d.ts +2 -0
  100. package/lib/cjs/resources/location/types/index.js +19 -0
  101. package/lib/cjs/resources/location/types/location-details.d.ts +62 -0
  102. package/lib/cjs/resources/location/types/location-details.js +3 -0
  103. package/lib/cjs/resources/location/types/location-list-item.d.ts +55 -0
  104. package/lib/cjs/resources/location/types/location-list-item.js +3 -0
  105. package/lib/cjs/resources/movie/index.d.ts +1 -0
  106. package/lib/cjs/resources/movie/index.js +18 -0
  107. package/lib/cjs/resources/movie/movie.d.ts +6 -0
  108. package/lib/cjs/resources/movie/movie.js +13 -0
  109. package/lib/cjs/resources/movie/types/index.d.ts +2 -0
  110. package/lib/cjs/resources/movie/types/index.js +19 -0
  111. package/lib/cjs/resources/movie/types/movie-details.d.ts +91 -0
  112. package/lib/cjs/resources/movie/types/movie-details.js +3 -0
  113. package/lib/cjs/resources/movie/types/movie-list-item.d.ts +74 -0
  114. package/lib/cjs/resources/movie/types/movie-list-item.js +3 -0
  115. package/lib/cjs/resources/origin/index.d.ts +1 -0
  116. package/lib/cjs/resources/origin/index.js +18 -0
  117. package/lib/cjs/resources/origin/origin.d.ts +6 -0
  118. package/lib/cjs/resources/origin/origin.js +13 -0
  119. package/lib/cjs/resources/origin/types/index.d.ts +2 -0
  120. package/lib/cjs/resources/origin/types/index.js +19 -0
  121. package/lib/cjs/resources/origin/types/origin-details.d.ts +22 -0
  122. package/lib/cjs/resources/origin/types/origin-details.js +3 -0
  123. package/lib/cjs/resources/origin/types/origin-list-item.d.ts +18 -0
  124. package/lib/cjs/resources/origin/types/origin-list-item.js +3 -0
  125. package/lib/cjs/resources/person/index.d.ts +1 -0
  126. package/lib/cjs/resources/person/index.js +18 -0
  127. package/lib/cjs/resources/person/person.d.ts +6 -0
  128. package/lib/cjs/resources/person/person.js +13 -0
  129. package/lib/cjs/resources/person/types/index.d.ts +2 -0
  130. package/lib/cjs/resources/person/types/index.js +19 -0
  131. package/lib/cjs/resources/person/types/person-details.d.ts +82 -0
  132. package/lib/cjs/resources/person/types/person-details.js +3 -0
  133. package/lib/cjs/resources/person/types/person-list-item.d.ts +77 -0
  134. package/lib/cjs/resources/person/types/person-list-item.js +8 -0
  135. package/lib/cjs/resources/power/index.d.ts +1 -0
  136. package/lib/cjs/resources/power/index.js +18 -0
  137. package/lib/cjs/resources/power/power.d.ts +6 -0
  138. package/lib/cjs/resources/power/power.js +13 -0
  139. package/lib/cjs/resources/power/types/index.d.ts +2 -0
  140. package/lib/cjs/resources/power/types/index.js +19 -0
  141. package/lib/cjs/resources/power/types/power-details.d.ts +39 -0
  142. package/lib/cjs/resources/power/types/power-details.js +3 -0
  143. package/lib/cjs/resources/power/types/power-list-item.d.ts +34 -0
  144. package/lib/cjs/resources/power/types/power-list-item.js +3 -0
  145. package/lib/cjs/resources/promo/index.d.ts +1 -0
  146. package/lib/cjs/resources/promo/index.js +18 -0
  147. package/lib/cjs/resources/promo/promo.d.ts +6 -0
  148. package/lib/cjs/resources/promo/promo.js +13 -0
  149. package/lib/cjs/resources/promo/types/index.d.ts +2 -0
  150. package/lib/cjs/resources/promo/types/index.js +19 -0
  151. package/lib/cjs/resources/promo/types/promo-details.d.ts +40 -0
  152. package/lib/cjs/resources/promo/types/promo-details.js +3 -0
  153. package/lib/cjs/resources/promo/types/promo-list-item.d.ts +40 -0
  154. package/lib/cjs/resources/promo/types/promo-list-item.js +3 -0
  155. package/lib/cjs/resources/publisher/index.d.ts +1 -0
  156. package/lib/cjs/resources/publisher/index.js +18 -0
  157. package/lib/cjs/resources/publisher/publisher.d.ts +6 -0
  158. package/lib/cjs/resources/publisher/publisher.js +13 -0
  159. package/lib/cjs/resources/publisher/types/index.d.ts +2 -0
  160. package/lib/cjs/resources/publisher/types/index.js +19 -0
  161. package/lib/cjs/resources/publisher/types/publisher-details.d.ts +71 -0
  162. package/lib/cjs/resources/publisher/types/publisher-details.js +3 -0
  163. package/lib/cjs/resources/publisher/types/publisher-list-item.d.ts +61 -0
  164. package/lib/cjs/resources/publisher/types/publisher-list-item.js +11 -0
  165. package/lib/cjs/resources/resource-factory.d.ts +8 -0
  166. package/lib/cjs/resources/resource-factory.js +42 -0
  167. package/lib/cjs/resources/resource-list.d.ts +19 -0
  168. package/lib/cjs/resources/resource-list.js +36 -0
  169. package/lib/cjs/resources/resource-map.d.ts +7 -0
  170. package/lib/cjs/resources/resource-map.js +40 -0
  171. package/lib/cjs/resources/resource-type.js +26 -0
  172. package/lib/cjs/resources/series/index.d.ts +1 -0
  173. package/lib/cjs/resources/series/index.js +18 -0
  174. package/lib/cjs/resources/series/series.d.ts +6 -0
  175. package/lib/cjs/resources/series/series.js +13 -0
  176. package/lib/cjs/resources/series/types/index.d.ts +2 -0
  177. package/lib/cjs/resources/series/types/index.js +19 -0
  178. package/lib/cjs/resources/series/types/series-details.d.ts +68 -0
  179. package/lib/cjs/resources/series/types/series-details.js +3 -0
  180. package/lib/cjs/resources/series/types/series-list-item.d.ts +18 -0
  181. package/lib/cjs/resources/series/types/series-list-item.js +3 -0
  182. package/lib/cjs/resources/story-arc/index.d.ts +1 -0
  183. package/lib/cjs/resources/story-arc/index.js +18 -0
  184. package/lib/cjs/resources/story-arc/story-arc.d.ts +6 -0
  185. package/lib/cjs/resources/story-arc/story-arc.js +13 -0
  186. package/lib/cjs/resources/story-arc/types/index.d.ts +2 -0
  187. package/lib/cjs/resources/story-arc/types/index.js +19 -0
  188. package/lib/cjs/resources/story-arc/types/story-arc-details.d.ts +62 -0
  189. package/lib/cjs/resources/story-arc/types/story-arc-details.js +3 -0
  190. package/lib/cjs/resources/story-arc/types/story-arc-list-item.d.ts +53 -0
  191. package/lib/cjs/resources/story-arc/types/story-arc-list-item.js +3 -0
  192. package/lib/cjs/resources/team/index.d.ts +1 -0
  193. package/lib/cjs/resources/team/index.js +18 -0
  194. package/lib/cjs/resources/team/team.d.ts +6 -0
  195. package/lib/cjs/resources/team/team.js +13 -0
  196. package/lib/cjs/resources/team/types/index.d.ts +2 -0
  197. package/lib/cjs/resources/team/types/index.js +19 -0
  198. package/lib/cjs/resources/team/types/team-details.d.ts +80 -0
  199. package/lib/cjs/resources/team/types/team-details.js +3 -0
  200. package/lib/cjs/resources/team/types/team-list-item.d.ts +56 -0
  201. package/lib/cjs/resources/team/types/team-list-item.js +3 -0
  202. package/lib/cjs/resources/thing/index.d.ts +1 -0
  203. package/lib/cjs/resources/thing/index.js +18 -0
  204. package/lib/cjs/resources/thing/thing.d.ts +6 -0
  205. package/lib/cjs/resources/thing/thing.js +13 -0
  206. package/lib/cjs/resources/thing/types/index.d.ts +2 -0
  207. package/lib/cjs/resources/thing/types/index.js +19 -0
  208. package/lib/cjs/resources/thing/types/thing-details.d.ts +62 -0
  209. package/lib/cjs/resources/thing/types/thing-details.js +3 -0
  210. package/lib/cjs/resources/thing/types/thing-list-item.d.ts +55 -0
  211. package/lib/cjs/resources/thing/types/thing-list-item.js +3 -0
  212. package/lib/cjs/resources/video/index.d.ts +1 -0
  213. package/lib/cjs/resources/video/index.js +18 -0
  214. package/lib/cjs/resources/video/types/index.d.ts +2 -0
  215. package/lib/cjs/resources/video/types/index.js +19 -0
  216. package/lib/cjs/resources/video/types/video-details.d.ts +63 -0
  217. package/lib/cjs/resources/video/types/video-details.js +3 -0
  218. package/lib/cjs/resources/video/types/video-list-item.d.ts +85 -0
  219. package/lib/cjs/resources/video/types/video-list-item.js +28 -0
  220. package/lib/cjs/resources/video/video.d.ts +6 -0
  221. package/lib/cjs/resources/video/video.js +13 -0
  222. package/lib/cjs/resources/video-category/index.d.ts +1 -0
  223. package/lib/cjs/resources/video-category/index.js +18 -0
  224. package/lib/cjs/resources/video-category/types/index.d.ts +2 -0
  225. package/lib/cjs/resources/video-category/types/index.js +19 -0
  226. package/lib/cjs/resources/video-category/types/video-category-details.d.ts +24 -0
  227. package/lib/cjs/resources/video-category/types/video-category-details.js +3 -0
  228. package/lib/cjs/resources/video-category/types/video-category-list-item.d.ts +24 -0
  229. package/lib/cjs/resources/video-category/types/video-category-list-item.js +3 -0
  230. package/lib/cjs/resources/video-category/video-category.d.ts +6 -0
  231. package/lib/cjs/resources/video-category/video-category.js +13 -0
  232. package/lib/cjs/resources/video-type/index.d.ts +1 -0
  233. package/lib/cjs/resources/video-type/index.js +18 -0
  234. package/lib/cjs/resources/video-type/types/index.d.ts +2 -0
  235. package/lib/cjs/resources/video-type/types/index.js +19 -0
  236. package/lib/cjs/resources/video-type/types/video-type-details.d.ts +22 -0
  237. package/lib/cjs/resources/video-type/types/video-type-details.js +3 -0
  238. package/lib/cjs/resources/video-type/types/video-type-list-item.d.ts +22 -0
  239. package/lib/cjs/resources/video-type/types/video-type-list-item.js +3 -0
  240. package/lib/cjs/resources/video-type/video-type.d.ts +6 -0
  241. package/lib/cjs/resources/video-type/video-type.js +13 -0
  242. package/lib/cjs/resources/volume/index.d.ts +1 -0
  243. package/lib/cjs/resources/volume/index.js +18 -0
  244. package/lib/cjs/resources/volume/types/index.d.ts +2 -0
  245. package/lib/cjs/resources/volume/types/index.js +19 -0
  246. package/lib/cjs/resources/volume/types/volume-details.d.ts +77 -0
  247. package/lib/cjs/resources/volume/types/volume-details.js +3 -0
  248. package/lib/cjs/resources/volume/types/volume-list-item.d.ts +63 -0
  249. package/lib/cjs/resources/volume/types/volume-list-item.js +3 -0
  250. package/lib/cjs/resources/volume/volume.d.ts +6 -0
  251. package/lib/cjs/resources/volume/volume.js +13 -0
  252. package/lib/cjs/types/apply-override.js +3 -0
  253. package/lib/cjs/types/http-client.d.ts +4 -0
  254. package/lib/cjs/types/http-client.js +3 -0
  255. package/lib/cjs/types/index.d.ts +7 -0
  256. package/lib/cjs/types/index.js +24 -0
  257. package/lib/cjs/types/iso-date.js +3 -0
  258. package/lib/cjs/types/pick-filters.js +3 -0
  259. package/lib/cjs/types/request.d.ts +31 -0
  260. package/lib/cjs/types/request.js +3 -0
  261. package/lib/cjs/types/response.d.ts +10 -0
  262. package/lib/cjs/types/response.js +3 -0
  263. package/lib/cjs/types/url-builder.d.ts +6 -0
  264. package/lib/cjs/types/url-builder.js +3 -0
  265. package/lib/cjs/types/valueof.js +3 -0
  266. package/lib/cjs/utils/case-converter.js +34 -0
  267. package/lib/cjs/utils/index.d.ts +2 -0
  268. package/lib/cjs/utils/index.js +19 -0
  269. package/lib/cjs/utils/is-object.js +8 -0
  270. package/lib/esm/comic-vine.d.ts +42 -0
  271. package/lib/esm/comic-vine.js +88 -0
  272. package/lib/esm/errors/base-error.js +14 -0
  273. package/lib/esm/errors/custom-error.d.ts +2 -0
  274. package/lib/esm/errors/custom-error.js +8 -0
  275. package/lib/esm/errors/filter-error.d.ts +4 -0
  276. package/lib/esm/errors/filter-error.js +10 -0
  277. package/lib/esm/errors/generic-error.d.ts +4 -0
  278. package/lib/esm/errors/generic-error.js +10 -0
  279. package/lib/esm/errors/generic-request-error.d.ts +10 -0
  280. package/lib/esm/errors/generic-request-error.js +18 -0
  281. package/lib/esm/errors/index.d.ts +10 -0
  282. package/lib/esm/errors/index.js +11 -0
  283. package/lib/esm/errors/jsonp-callback-missing-error.d.ts +4 -0
  284. package/lib/esm/errors/jsonp-callback-missing-error.js +10 -0
  285. package/lib/esm/errors/object-not-found-error.d.ts +4 -0
  286. package/lib/esm/errors/object-not-found-error.js +10 -0
  287. package/lib/esm/errors/options-validation-error.d.ts +4 -0
  288. package/lib/esm/errors/options-validation-error.js +10 -0
  289. package/lib/esm/errors/subscriber-only-error.d.ts +4 -0
  290. package/lib/esm/errors/subscriber-only-error.js +10 -0
  291. package/lib/esm/errors/unauthorized-error.d.ts +4 -0
  292. package/lib/esm/errors/unauthorized-error.js +10 -0
  293. package/lib/esm/errors/url-format-error.d.ts +4 -0
  294. package/lib/esm/errors/url-format-error.js +10 -0
  295. package/lib/esm/http-client/http-client-factory.d.ts +6 -0
  296. package/lib/esm/http-client/http-client-factory.js +11 -0
  297. package/lib/esm/http-client/http-client.d.ts +8 -0
  298. package/lib/esm/http-client/http-client.js +50 -0
  299. package/lib/esm/http-client/index.d.ts +1 -0
  300. package/lib/esm/http-client/index.js +2 -0
  301. package/lib/esm/http-client/status-code.js +11 -0
  302. package/lib/esm/http-client/url-builder.d.ts +29 -0
  303. package/lib/esm/http-client/url-builder.js +103 -0
  304. package/lib/esm/index.d.ts +3 -0
  305. package/lib/esm/index.js +3 -0
  306. package/lib/esm/options/index.d.ts +22 -0
  307. package/lib/esm/options/index.js +28 -0
  308. package/lib/esm/package.json +3 -0
  309. package/lib/esm/resources/base-resource.d.ts +19 -0
  310. package/lib/esm/resources/base-resource.js +54 -0
  311. package/lib/esm/resources/character/character.d.ts +6 -0
  312. package/lib/esm/resources/character/character.js +9 -0
  313. package/lib/esm/resources/character/index.d.ts +1 -0
  314. package/lib/esm/resources/character/index.js +2 -0
  315. package/lib/esm/resources/character/types/character-details.d.ts +110 -0
  316. package/lib/esm/resources/character/types/character-details.js +2 -0
  317. package/lib/esm/resources/character/types/character-list-item.d.ts +71 -0
  318. package/lib/esm/resources/character/types/character-list-item.js +2 -0
  319. package/lib/esm/resources/character/types/index.d.ts +2 -0
  320. package/lib/esm/resources/character/types/index.js +3 -0
  321. package/lib/esm/resources/common-types.js +2 -0
  322. package/lib/esm/resources/concept/concept.d.ts +6 -0
  323. package/lib/esm/resources/concept/concept.js +9 -0
  324. package/lib/esm/resources/concept/index.d.ts +1 -0
  325. package/lib/esm/resources/concept/index.js +2 -0
  326. package/lib/esm/resources/concept/types/concept-details.d.ts +58 -0
  327. package/lib/esm/resources/concept/types/concept-details.js +2 -0
  328. package/lib/esm/resources/concept/types/concept-list-item.d.ts +52 -0
  329. package/lib/esm/resources/concept/types/concept-list-item.js +2 -0
  330. package/lib/esm/resources/concept/types/index.d.ts +2 -0
  331. package/lib/esm/resources/concept/types/index.js +3 -0
  332. package/lib/esm/resources/episode/episode.d.ts +6 -0
  333. package/lib/esm/resources/episode/episode.js +9 -0
  334. package/lib/esm/resources/episode/index.d.ts +1 -0
  335. package/lib/esm/resources/episode/index.js +2 -0
  336. package/lib/esm/resources/episode/types/episode-details.d.ts +87 -0
  337. package/lib/esm/resources/episode/types/episode-details.js +2 -0
  338. package/lib/esm/resources/episode/types/episode-list-item.d.ts +53 -0
  339. package/lib/esm/resources/episode/types/episode-list-item.js +2 -0
  340. package/lib/esm/resources/episode/types/index.d.ts +2 -0
  341. package/lib/esm/resources/episode/types/index.js +3 -0
  342. package/lib/esm/resources/index.d.ts +3 -0
  343. package/lib/esm/resources/index.js +4 -0
  344. package/lib/esm/resources/issue/index.d.ts +1 -0
  345. package/lib/esm/resources/issue/index.js +2 -0
  346. package/lib/esm/resources/issue/issue.d.ts +6 -0
  347. package/lib/esm/resources/issue/issue.js +9 -0
  348. package/lib/esm/resources/issue/types/index.d.ts +2 -0
  349. package/lib/esm/resources/issue/types/index.js +3 -0
  350. package/lib/esm/resources/issue/types/issue-details.d.ts +94 -0
  351. package/lib/esm/resources/issue/types/issue-details.js +2 -0
  352. package/lib/esm/resources/issue/types/issue-list-item.d.ts +61 -0
  353. package/lib/esm/resources/issue/types/issue-list-item.js +2 -0
  354. package/lib/esm/resources/location/index.d.ts +1 -0
  355. package/lib/esm/resources/location/index.js +2 -0
  356. package/lib/esm/resources/location/location.d.ts +6 -0
  357. package/lib/esm/resources/location/location.js +9 -0
  358. package/lib/esm/resources/location/types/index.d.ts +2 -0
  359. package/lib/esm/resources/location/types/index.js +3 -0
  360. package/lib/esm/resources/location/types/location-details.d.ts +62 -0
  361. package/lib/esm/resources/location/types/location-details.js +2 -0
  362. package/lib/esm/resources/location/types/location-list-item.d.ts +55 -0
  363. package/lib/esm/resources/location/types/location-list-item.js +2 -0
  364. package/lib/esm/resources/movie/index.d.ts +1 -0
  365. package/lib/esm/resources/movie/index.js +2 -0
  366. package/lib/esm/resources/movie/movie.d.ts +6 -0
  367. package/lib/esm/resources/movie/movie.js +9 -0
  368. package/lib/esm/resources/movie/types/index.d.ts +2 -0
  369. package/lib/esm/resources/movie/types/index.js +3 -0
  370. package/lib/esm/resources/movie/types/movie-details.d.ts +91 -0
  371. package/lib/esm/resources/movie/types/movie-details.js +2 -0
  372. package/lib/esm/resources/movie/types/movie-list-item.d.ts +74 -0
  373. package/lib/esm/resources/movie/types/movie-list-item.js +2 -0
  374. package/lib/esm/resources/origin/index.d.ts +1 -0
  375. package/lib/esm/resources/origin/index.js +2 -0
  376. package/lib/esm/resources/origin/origin.d.ts +6 -0
  377. package/lib/esm/resources/origin/origin.js +9 -0
  378. package/lib/esm/resources/origin/types/index.d.ts +2 -0
  379. package/lib/esm/resources/origin/types/index.js +3 -0
  380. package/lib/esm/resources/origin/types/origin-details.d.ts +22 -0
  381. package/lib/esm/resources/origin/types/origin-details.js +2 -0
  382. package/lib/esm/resources/origin/types/origin-list-item.d.ts +18 -0
  383. package/lib/esm/resources/origin/types/origin-list-item.js +2 -0
  384. package/lib/esm/resources/person/index.d.ts +1 -0
  385. package/lib/esm/resources/person/index.js +2 -0
  386. package/lib/esm/resources/person/person.d.ts +6 -0
  387. package/lib/esm/resources/person/person.js +9 -0
  388. package/lib/esm/resources/person/types/index.d.ts +2 -0
  389. package/lib/esm/resources/person/types/index.js +3 -0
  390. package/lib/esm/resources/person/types/person-details.d.ts +82 -0
  391. package/lib/esm/resources/person/types/person-details.js +2 -0
  392. package/lib/esm/resources/person/types/person-list-item.d.ts +77 -0
  393. package/lib/esm/resources/person/types/person-list-item.js +5 -0
  394. package/lib/esm/resources/power/index.d.ts +1 -0
  395. package/lib/esm/resources/power/index.js +2 -0
  396. package/lib/esm/resources/power/power.d.ts +6 -0
  397. package/lib/esm/resources/power/power.js +9 -0
  398. package/lib/esm/resources/power/types/index.d.ts +2 -0
  399. package/lib/esm/resources/power/types/index.js +3 -0
  400. package/lib/esm/resources/power/types/power-details.d.ts +39 -0
  401. package/lib/esm/resources/power/types/power-details.js +2 -0
  402. package/lib/esm/resources/power/types/power-list-item.d.ts +34 -0
  403. package/lib/esm/resources/power/types/power-list-item.js +2 -0
  404. package/lib/esm/resources/promo/index.d.ts +1 -0
  405. package/lib/esm/resources/promo/index.js +2 -0
  406. package/lib/esm/resources/promo/promo.d.ts +6 -0
  407. package/lib/esm/resources/promo/promo.js +9 -0
  408. package/lib/esm/resources/promo/types/index.d.ts +2 -0
  409. package/lib/esm/resources/promo/types/index.js +3 -0
  410. package/lib/esm/resources/promo/types/promo-details.d.ts +40 -0
  411. package/lib/esm/resources/promo/types/promo-details.js +2 -0
  412. package/lib/esm/resources/promo/types/promo-list-item.d.ts +40 -0
  413. package/lib/esm/resources/promo/types/promo-list-item.js +2 -0
  414. package/lib/esm/resources/publisher/index.d.ts +1 -0
  415. package/lib/esm/resources/publisher/index.js +2 -0
  416. package/lib/esm/resources/publisher/publisher.d.ts +6 -0
  417. package/lib/esm/resources/publisher/publisher.js +9 -0
  418. package/lib/esm/resources/publisher/types/index.d.ts +2 -0
  419. package/lib/esm/resources/publisher/types/index.js +3 -0
  420. package/lib/esm/resources/publisher/types/publisher-details.d.ts +71 -0
  421. package/lib/esm/resources/publisher/types/publisher-details.js +2 -0
  422. package/lib/esm/resources/publisher/types/publisher-list-item.d.ts +61 -0
  423. package/lib/esm/resources/publisher/types/publisher-list-item.js +8 -0
  424. package/lib/esm/resources/resource-factory.d.ts +8 -0
  425. package/lib/esm/resources/resource-factory.js +15 -0
  426. package/lib/esm/resources/resource-list.d.ts +19 -0
  427. package/lib/esm/resources/resource-list.js +20 -0
  428. package/lib/esm/resources/resource-map.d.ts +7 -0
  429. package/lib/esm/resources/resource-map.js +36 -0
  430. package/lib/esm/resources/resource-type.js +23 -0
  431. package/lib/esm/resources/series/index.d.ts +1 -0
  432. package/lib/esm/resources/series/index.js +2 -0
  433. package/lib/esm/resources/series/series.d.ts +6 -0
  434. package/lib/esm/resources/series/series.js +9 -0
  435. package/lib/esm/resources/series/types/index.d.ts +2 -0
  436. package/lib/esm/resources/series/types/index.js +3 -0
  437. package/lib/esm/resources/series/types/series-details.d.ts +68 -0
  438. package/lib/esm/resources/series/types/series-details.js +2 -0
  439. package/lib/esm/resources/series/types/series-list-item.d.ts +18 -0
  440. package/lib/esm/resources/series/types/series-list-item.js +2 -0
  441. package/lib/esm/resources/story-arc/index.d.ts +1 -0
  442. package/lib/esm/resources/story-arc/index.js +2 -0
  443. package/lib/esm/resources/story-arc/story-arc.d.ts +6 -0
  444. package/lib/esm/resources/story-arc/story-arc.js +9 -0
  445. package/lib/esm/resources/story-arc/types/index.d.ts +2 -0
  446. package/lib/esm/resources/story-arc/types/index.js +3 -0
  447. package/lib/esm/resources/story-arc/types/story-arc-details.d.ts +62 -0
  448. package/lib/esm/resources/story-arc/types/story-arc-details.js +2 -0
  449. package/lib/esm/resources/story-arc/types/story-arc-list-item.d.ts +53 -0
  450. package/lib/esm/resources/story-arc/types/story-arc-list-item.js +2 -0
  451. package/lib/esm/resources/team/index.d.ts +1 -0
  452. package/lib/esm/resources/team/index.js +2 -0
  453. package/lib/esm/resources/team/team.d.ts +6 -0
  454. package/lib/esm/resources/team/team.js +9 -0
  455. package/lib/esm/resources/team/types/index.d.ts +2 -0
  456. package/lib/esm/resources/team/types/index.js +3 -0
  457. package/lib/esm/resources/team/types/team-details.d.ts +80 -0
  458. package/lib/esm/resources/team/types/team-details.js +2 -0
  459. package/lib/esm/resources/team/types/team-list-item.d.ts +56 -0
  460. package/lib/esm/resources/team/types/team-list-item.js +2 -0
  461. package/lib/esm/resources/thing/index.d.ts +1 -0
  462. package/lib/esm/resources/thing/index.js +2 -0
  463. package/lib/esm/resources/thing/thing.d.ts +6 -0
  464. package/lib/esm/resources/thing/thing.js +9 -0
  465. package/lib/esm/resources/thing/types/index.d.ts +2 -0
  466. package/lib/esm/resources/thing/types/index.js +3 -0
  467. package/lib/esm/resources/thing/types/thing-details.d.ts +62 -0
  468. package/lib/esm/resources/thing/types/thing-details.js +2 -0
  469. package/lib/esm/resources/thing/types/thing-list-item.d.ts +55 -0
  470. package/lib/esm/resources/thing/types/thing-list-item.js +2 -0
  471. package/lib/esm/resources/video/index.d.ts +1 -0
  472. package/lib/esm/resources/video/index.js +2 -0
  473. package/lib/esm/resources/video/types/index.d.ts +2 -0
  474. package/lib/esm/resources/video/types/index.js +3 -0
  475. package/lib/esm/resources/video/types/video-details.d.ts +63 -0
  476. package/lib/esm/resources/video/types/video-details.js +2 -0
  477. package/lib/esm/resources/video/types/video-list-item.d.ts +85 -0
  478. package/lib/esm/resources/video/types/video-list-item.js +25 -0
  479. package/lib/esm/resources/video/video.d.ts +6 -0
  480. package/lib/esm/resources/video/video.js +9 -0
  481. package/lib/esm/resources/video-category/index.d.ts +1 -0
  482. package/lib/esm/resources/video-category/index.js +2 -0
  483. package/lib/esm/resources/video-category/types/index.d.ts +2 -0
  484. package/lib/esm/resources/video-category/types/index.js +3 -0
  485. package/lib/esm/resources/video-category/types/video-category-details.d.ts +24 -0
  486. package/lib/esm/resources/video-category/types/video-category-details.js +2 -0
  487. package/lib/esm/resources/video-category/types/video-category-list-item.d.ts +24 -0
  488. package/lib/esm/resources/video-category/types/video-category-list-item.js +2 -0
  489. package/lib/esm/resources/video-category/video-category.d.ts +6 -0
  490. package/lib/esm/resources/video-category/video-category.js +9 -0
  491. package/lib/esm/resources/video-type/index.d.ts +1 -0
  492. package/lib/esm/resources/video-type/index.js +2 -0
  493. package/lib/esm/resources/video-type/types/index.d.ts +2 -0
  494. package/lib/esm/resources/video-type/types/index.js +3 -0
  495. package/lib/esm/resources/video-type/types/video-type-details.d.ts +22 -0
  496. package/lib/esm/resources/video-type/types/video-type-details.js +2 -0
  497. package/lib/esm/resources/video-type/types/video-type-list-item.d.ts +22 -0
  498. package/lib/esm/resources/video-type/types/video-type-list-item.js +2 -0
  499. package/lib/esm/resources/video-type/video-type.d.ts +6 -0
  500. package/lib/esm/resources/video-type/video-type.js +9 -0
  501. package/lib/esm/resources/volume/index.d.ts +1 -0
  502. package/lib/esm/resources/volume/index.js +2 -0
  503. package/lib/esm/resources/volume/types/index.d.ts +2 -0
  504. package/lib/esm/resources/volume/types/index.js +3 -0
  505. package/lib/esm/resources/volume/types/volume-details.d.ts +77 -0
  506. package/lib/esm/resources/volume/types/volume-details.js +2 -0
  507. package/lib/esm/resources/volume/types/volume-list-item.d.ts +63 -0
  508. package/lib/esm/resources/volume/types/volume-list-item.js +2 -0
  509. package/lib/esm/resources/volume/volume.d.ts +6 -0
  510. package/lib/esm/resources/volume/volume.js +9 -0
  511. package/lib/esm/types/apply-override.js +2 -0
  512. package/lib/esm/types/http-client.d.ts +4 -0
  513. package/lib/esm/types/http-client.js +2 -0
  514. package/lib/esm/types/index.d.ts +7 -0
  515. package/lib/esm/types/index.js +8 -0
  516. package/lib/esm/types/iso-date.js +2 -0
  517. package/lib/esm/types/pick-filters.js +2 -0
  518. package/lib/esm/types/request.d.ts +31 -0
  519. package/lib/esm/types/request.js +2 -0
  520. package/lib/esm/types/response.d.ts +10 -0
  521. package/lib/esm/types/response.js +2 -0
  522. package/lib/esm/types/url-builder.d.ts +6 -0
  523. package/lib/esm/types/url-builder.js +2 -0
  524. package/lib/esm/types/valueof.js +2 -0
  525. package/lib/esm/utils/case-converter.js +27 -0
  526. package/lib/esm/utils/index.d.ts +2 -0
  527. package/lib/esm/utils/index.js +3 -0
  528. package/lib/esm/utils/is-object.js +4 -0
  529. package/package-old.json +90 -0
  530. package/package.json +86 -73
  531. package/scripts/create-package-json.ts +30 -0
  532. package/vitest.config.ts +8 -0
  533. package/dist/cjs/comic-vine.d.ts +0 -42
  534. package/dist/cjs/comic-vine.js +0 -92
  535. package/dist/cjs/comic-vine.js.map +0 -1
  536. package/dist/cjs/errors/base-error.js +0 -15
  537. package/dist/cjs/errors/base-error.js.map +0 -1
  538. package/dist/cjs/errors/custom-error.d.ts +0 -2
  539. package/dist/cjs/errors/custom-error.js +0 -12
  540. package/dist/cjs/errors/custom-error.js.map +0 -1
  541. package/dist/cjs/errors/filter-error.d.ts +0 -4
  542. package/dist/cjs/errors/filter-error.js +0 -14
  543. package/dist/cjs/errors/filter-error.js.map +0 -1
  544. package/dist/cjs/errors/generic-error.d.ts +0 -4
  545. package/dist/cjs/errors/generic-error.js +0 -14
  546. package/dist/cjs/errors/generic-error.js.map +0 -1
  547. package/dist/cjs/errors/generic-request-error.d.ts +0 -7
  548. package/dist/cjs/errors/generic-request-error.js +0 -20
  549. package/dist/cjs/errors/generic-request-error.js.map +0 -1
  550. package/dist/cjs/errors/index.d.ts +0 -10
  551. package/dist/cjs/errors/index.js +0 -27
  552. package/dist/cjs/errors/index.js.map +0 -1
  553. package/dist/cjs/errors/jsonp-callback-missing-error.d.ts +0 -4
  554. package/dist/cjs/errors/jsonp-callback-missing-error.js +0 -14
  555. package/dist/cjs/errors/jsonp-callback-missing-error.js.map +0 -1
  556. package/dist/cjs/errors/object-not-found-error.d.ts +0 -4
  557. package/dist/cjs/errors/object-not-found-error.js +0 -14
  558. package/dist/cjs/errors/object-not-found-error.js.map +0 -1
  559. package/dist/cjs/errors/options-validation-error.d.ts +0 -4
  560. package/dist/cjs/errors/options-validation-error.js +0 -14
  561. package/dist/cjs/errors/options-validation-error.js.map +0 -1
  562. package/dist/cjs/errors/subscriber-only-error.d.ts +0 -4
  563. package/dist/cjs/errors/subscriber-only-error.js +0 -14
  564. package/dist/cjs/errors/subscriber-only-error.js.map +0 -1
  565. package/dist/cjs/errors/unauthorized-error.d.ts +0 -4
  566. package/dist/cjs/errors/unauthorized-error.js +0 -14
  567. package/dist/cjs/errors/unauthorized-error.js.map +0 -1
  568. package/dist/cjs/errors/url-format-error.d.ts +0 -4
  569. package/dist/cjs/errors/url-format-error.js +0 -14
  570. package/dist/cjs/errors/url-format-error.js.map +0 -1
  571. package/dist/cjs/http-client/http-client-factory.d.ts +0 -6
  572. package/dist/cjs/http-client/http-client-factory.js +0 -15
  573. package/dist/cjs/http-client/http-client-factory.js.map +0 -1
  574. package/dist/cjs/http-client/http-client.d.ts +0 -8
  575. package/dist/cjs/http-client/http-client.js +0 -69
  576. package/dist/cjs/http-client/http-client.js.map +0 -1
  577. package/dist/cjs/http-client/index.d.ts +0 -1
  578. package/dist/cjs/http-client/index.js +0 -18
  579. package/dist/cjs/http-client/index.js.map +0 -1
  580. package/dist/cjs/http-client/status-code.js +0 -14
  581. package/dist/cjs/http-client/status-code.js.map +0 -1
  582. package/dist/cjs/http-client/url-builder.d.ts +0 -18
  583. package/dist/cjs/http-client/url-builder.js +0 -90
  584. package/dist/cjs/http-client/url-builder.js.map +0 -1
  585. package/dist/cjs/index.cjs.d.ts +0 -2
  586. package/dist/cjs/index.cjs.js +0 -4
  587. package/dist/cjs/index.cjs.js.map +0 -1
  588. package/dist/cjs/options/index.d.ts +0 -16
  589. package/dist/cjs/options/index.js +0 -26
  590. package/dist/cjs/options/index.js.map +0 -1
  591. package/dist/cjs/package.json +0 -3
  592. package/dist/cjs/resources/base-resource.d.ts +0 -19
  593. package/dist/cjs/resources/base-resource.js +0 -85
  594. package/dist/cjs/resources/base-resource.js.map +0 -1
  595. package/dist/cjs/resources/character/character.d.ts +0 -6
  596. package/dist/cjs/resources/character/character.js +0 -13
  597. package/dist/cjs/resources/character/character.js.map +0 -1
  598. package/dist/cjs/resources/character/index.d.ts +0 -1
  599. package/dist/cjs/resources/character/index.js +0 -18
  600. package/dist/cjs/resources/character/index.js.map +0 -1
  601. package/dist/cjs/resources/character/types/character-details.d.ts +0 -32
  602. package/dist/cjs/resources/character/types/character-details.js +0 -3
  603. package/dist/cjs/resources/character/types/character-details.js.map +0 -1
  604. package/dist/cjs/resources/character/types/character-list-item.d.ts +0 -20
  605. package/dist/cjs/resources/character/types/character-list-item.js +0 -3
  606. package/dist/cjs/resources/character/types/character-list-item.js.map +0 -1
  607. package/dist/cjs/resources/character/types/index.d.ts +0 -2
  608. package/dist/cjs/resources/character/types/index.js +0 -19
  609. package/dist/cjs/resources/character/types/index.js.map +0 -1
  610. package/dist/cjs/resources/common-types.js +0 -3
  611. package/dist/cjs/resources/common-types.js.map +0 -1
  612. package/dist/cjs/resources/concept/concept.d.ts +0 -6
  613. package/dist/cjs/resources/concept/concept.js +0 -13
  614. package/dist/cjs/resources/concept/concept.js.map +0 -1
  615. package/dist/cjs/resources/concept/index.d.ts +0 -1
  616. package/dist/cjs/resources/concept/index.js +0 -18
  617. package/dist/cjs/resources/concept/index.js.map +0 -1
  618. package/dist/cjs/resources/concept/types/concept-details.d.ts +0 -19
  619. package/dist/cjs/resources/concept/types/concept-details.js +0 -3
  620. package/dist/cjs/resources/concept/types/concept-details.js.map +0 -1
  621. package/dist/cjs/resources/concept/types/concept-list-item.d.ts +0 -16
  622. package/dist/cjs/resources/concept/types/concept-list-item.js +0 -3
  623. package/dist/cjs/resources/concept/types/concept-list-item.js.map +0 -1
  624. package/dist/cjs/resources/concept/types/index.d.ts +0 -2
  625. package/dist/cjs/resources/concept/types/index.js +0 -19
  626. package/dist/cjs/resources/concept/types/index.js.map +0 -1
  627. package/dist/cjs/resources/episode/episode.d.ts +0 -6
  628. package/dist/cjs/resources/episode/episode.js +0 -13
  629. package/dist/cjs/resources/episode/episode.js.map +0 -1
  630. package/dist/cjs/resources/episode/index.d.ts +0 -1
  631. package/dist/cjs/resources/episode/index.js +0 -18
  632. package/dist/cjs/resources/episode/index.js.map +0 -1
  633. package/dist/cjs/resources/episode/types/episode-details.d.ts +0 -30
  634. package/dist/cjs/resources/episode/types/episode-details.js +0 -3
  635. package/dist/cjs/resources/episode/types/episode-details.js.map +0 -1
  636. package/dist/cjs/resources/episode/types/episode-list-item.d.ts +0 -17
  637. package/dist/cjs/resources/episode/types/episode-list-item.js +0 -3
  638. package/dist/cjs/resources/episode/types/episode-list-item.js.map +0 -1
  639. package/dist/cjs/resources/episode/types/index.d.ts +0 -2
  640. package/dist/cjs/resources/episode/types/index.js +0 -19
  641. package/dist/cjs/resources/episode/types/index.js.map +0 -1
  642. package/dist/cjs/resources/index.d.ts +0 -3
  643. package/dist/cjs/resources/index.js +0 -20
  644. package/dist/cjs/resources/index.js.map +0 -1
  645. package/dist/cjs/resources/issue/index.d.ts +0 -1
  646. package/dist/cjs/resources/issue/index.js +0 -18
  647. package/dist/cjs/resources/issue/index.js.map +0 -1
  648. package/dist/cjs/resources/issue/issue.d.ts +0 -6
  649. package/dist/cjs/resources/issue/issue.js +0 -13
  650. package/dist/cjs/resources/issue/issue.js.map +0 -1
  651. package/dist/cjs/resources/issue/types/index.d.ts +0 -2
  652. package/dist/cjs/resources/issue/types/index.js +0 -19
  653. package/dist/cjs/resources/issue/types/index.js.map +0 -1
  654. package/dist/cjs/resources/issue/types/issue-details.d.ts +0 -34
  655. package/dist/cjs/resources/issue/types/issue-details.js +0 -3
  656. package/dist/cjs/resources/issue/types/issue-details.js.map +0 -1
  657. package/dist/cjs/resources/issue/types/issue-list-item.d.ts +0 -19
  658. package/dist/cjs/resources/issue/types/issue-list-item.js +0 -3
  659. package/dist/cjs/resources/issue/types/issue-list-item.js.map +0 -1
  660. package/dist/cjs/resources/location/index.d.ts +0 -1
  661. package/dist/cjs/resources/location/index.js +0 -18
  662. package/dist/cjs/resources/location/index.js.map +0 -1
  663. package/dist/cjs/resources/location/location.d.ts +0 -6
  664. package/dist/cjs/resources/location/location.js +0 -13
  665. package/dist/cjs/resources/location/location.js.map +0 -1
  666. package/dist/cjs/resources/location/types/index.d.ts +0 -2
  667. package/dist/cjs/resources/location/types/index.js +0 -19
  668. package/dist/cjs/resources/location/types/index.js.map +0 -1
  669. package/dist/cjs/resources/location/types/location-details.d.ts +0 -20
  670. package/dist/cjs/resources/location/types/location-details.js +0 -3
  671. package/dist/cjs/resources/location/types/location-details.js.map +0 -1
  672. package/dist/cjs/resources/location/types/location-list-item.d.ts +0 -16
  673. package/dist/cjs/resources/location/types/location-list-item.js +0 -3
  674. package/dist/cjs/resources/location/types/location-list-item.js.map +0 -1
  675. package/dist/cjs/resources/movie/index.d.ts +0 -1
  676. package/dist/cjs/resources/movie/index.js +0 -18
  677. package/dist/cjs/resources/movie/index.js.map +0 -1
  678. package/dist/cjs/resources/movie/movie.d.ts +0 -6
  679. package/dist/cjs/resources/movie/movie.js +0 -13
  680. package/dist/cjs/resources/movie/movie.js.map +0 -1
  681. package/dist/cjs/resources/movie/types/index.d.ts +0 -2
  682. package/dist/cjs/resources/movie/types/index.js +0 -19
  683. package/dist/cjs/resources/movie/types/index.js.map +0 -1
  684. package/dist/cjs/resources/movie/types/movie-details.d.ts +0 -28
  685. package/dist/cjs/resources/movie/types/movie-details.js +0 -3
  686. package/dist/cjs/resources/movie/types/movie-details.js.map +0 -1
  687. package/dist/cjs/resources/movie/types/movie-list-item.d.ts +0 -23
  688. package/dist/cjs/resources/movie/types/movie-list-item.js +0 -3
  689. package/dist/cjs/resources/movie/types/movie-list-item.js.map +0 -1
  690. package/dist/cjs/resources/origin/index.d.ts +0 -1
  691. package/dist/cjs/resources/origin/index.js +0 -18
  692. package/dist/cjs/resources/origin/index.js.map +0 -1
  693. package/dist/cjs/resources/origin/origin.d.ts +0 -6
  694. package/dist/cjs/resources/origin/origin.js +0 -13
  695. package/dist/cjs/resources/origin/origin.js.map +0 -1
  696. package/dist/cjs/resources/origin/types/index.d.ts +0 -2
  697. package/dist/cjs/resources/origin/types/index.js +0 -19
  698. package/dist/cjs/resources/origin/types/index.js.map +0 -1
  699. package/dist/cjs/resources/origin/types/origin-details.d.ts +0 -10
  700. package/dist/cjs/resources/origin/types/origin-details.js +0 -3
  701. package/dist/cjs/resources/origin/types/origin-details.js.map +0 -1
  702. package/dist/cjs/resources/origin/types/origin-list-item.d.ts +0 -6
  703. package/dist/cjs/resources/origin/types/origin-list-item.js +0 -3
  704. package/dist/cjs/resources/origin/types/origin-list-item.js.map +0 -1
  705. package/dist/cjs/resources/person/index.d.ts +0 -1
  706. package/dist/cjs/resources/person/index.js +0 -18
  707. package/dist/cjs/resources/person/index.js.map +0 -1
  708. package/dist/cjs/resources/person/person.d.ts +0 -6
  709. package/dist/cjs/resources/person/person.js +0 -13
  710. package/dist/cjs/resources/person/person.js.map +0 -1
  711. package/dist/cjs/resources/person/types/index.d.ts +0 -2
  712. package/dist/cjs/resources/person/types/index.js +0 -19
  713. package/dist/cjs/resources/person/types/index.js.map +0 -1
  714. package/dist/cjs/resources/person/types/person-details.d.ts +0 -25
  715. package/dist/cjs/resources/person/types/person-details.js +0 -3
  716. package/dist/cjs/resources/person/types/person-details.js.map +0 -1
  717. package/dist/cjs/resources/person/types/person-list-item.d.ts +0 -26
  718. package/dist/cjs/resources/person/types/person-list-item.js +0 -8
  719. package/dist/cjs/resources/person/types/person-list-item.js.map +0 -1
  720. package/dist/cjs/resources/power/index.d.ts +0 -1
  721. package/dist/cjs/resources/power/index.js +0 -18
  722. package/dist/cjs/resources/power/index.js.map +0 -1
  723. package/dist/cjs/resources/power/power.d.ts +0 -6
  724. package/dist/cjs/resources/power/power.js +0 -13
  725. package/dist/cjs/resources/power/power.js.map +0 -1
  726. package/dist/cjs/resources/power/types/index.d.ts +0 -2
  727. package/dist/cjs/resources/power/types/index.js +0 -19
  728. package/dist/cjs/resources/power/types/index.js.map +0 -1
  729. package/dist/cjs/resources/power/types/power-details.d.ts +0 -12
  730. package/dist/cjs/resources/power/types/power-details.js +0 -3
  731. package/dist/cjs/resources/power/types/power-details.js.map +0 -1
  732. package/dist/cjs/resources/power/types/power-list-item.d.ts +0 -10
  733. package/dist/cjs/resources/power/types/power-list-item.js +0 -3
  734. package/dist/cjs/resources/power/types/power-list-item.js.map +0 -1
  735. package/dist/cjs/resources/promo/index.d.ts +0 -1
  736. package/dist/cjs/resources/promo/index.js +0 -18
  737. package/dist/cjs/resources/promo/index.js.map +0 -1
  738. package/dist/cjs/resources/promo/promo.d.ts +0 -6
  739. package/dist/cjs/resources/promo/promo.js +0 -13
  740. package/dist/cjs/resources/promo/promo.js.map +0 -1
  741. package/dist/cjs/resources/promo/types/index.d.ts +0 -2
  742. package/dist/cjs/resources/promo/types/index.js +0 -19
  743. package/dist/cjs/resources/promo/types/index.js.map +0 -1
  744. package/dist/cjs/resources/promo/types/promo-details.d.ts +0 -13
  745. package/dist/cjs/resources/promo/types/promo-details.js +0 -3
  746. package/dist/cjs/resources/promo/types/promo-details.js.map +0 -1
  747. package/dist/cjs/resources/promo/types/promo-list-item.d.ts +0 -13
  748. package/dist/cjs/resources/promo/types/promo-list-item.js +0 -3
  749. package/dist/cjs/resources/promo/types/promo-list-item.js.map +0 -1
  750. package/dist/cjs/resources/publisher/index.d.ts +0 -1
  751. package/dist/cjs/resources/publisher/index.js +0 -18
  752. package/dist/cjs/resources/publisher/index.js.map +0 -1
  753. package/dist/cjs/resources/publisher/publisher.d.ts +0 -6
  754. package/dist/cjs/resources/publisher/publisher.js +0 -13
  755. package/dist/cjs/resources/publisher/publisher.js.map +0 -1
  756. package/dist/cjs/resources/publisher/types/index.d.ts +0 -2
  757. package/dist/cjs/resources/publisher/types/index.js +0 -19
  758. package/dist/cjs/resources/publisher/types/index.js.map +0 -1
  759. package/dist/cjs/resources/publisher/types/publisher-details.d.ts +0 -20
  760. package/dist/cjs/resources/publisher/types/publisher-details.js +0 -3
  761. package/dist/cjs/resources/publisher/types/publisher-details.js.map +0 -1
  762. package/dist/cjs/resources/publisher/types/publisher-list-item.d.ts +0 -22
  763. package/dist/cjs/resources/publisher/types/publisher-list-item.js +0 -11
  764. package/dist/cjs/resources/publisher/types/publisher-list-item.js.map +0 -1
  765. package/dist/cjs/resources/resource-factory.d.ts +0 -8
  766. package/dist/cjs/resources/resource-factory.js +0 -42
  767. package/dist/cjs/resources/resource-factory.js.map +0 -1
  768. package/dist/cjs/resources/resource-list.d.ts +0 -19
  769. package/dist/cjs/resources/resource-list.js +0 -36
  770. package/dist/cjs/resources/resource-list.js.map +0 -1
  771. package/dist/cjs/resources/resource-map.d.ts +0 -7
  772. package/dist/cjs/resources/resource-map.js +0 -40
  773. package/dist/cjs/resources/resource-map.js.map +0 -1
  774. package/dist/cjs/resources/resource-type.js +0 -26
  775. package/dist/cjs/resources/resource-type.js.map +0 -1
  776. package/dist/cjs/resources/series/index.d.ts +0 -1
  777. package/dist/cjs/resources/series/index.js +0 -18
  778. package/dist/cjs/resources/series/index.js.map +0 -1
  779. package/dist/cjs/resources/series/series.d.ts +0 -6
  780. package/dist/cjs/resources/series/series.js +0 -13
  781. package/dist/cjs/resources/series/series.js.map +0 -1
  782. package/dist/cjs/resources/series/types/index.d.ts +0 -2
  783. package/dist/cjs/resources/series/types/index.js +0 -19
  784. package/dist/cjs/resources/series/types/index.js.map +0 -1
  785. package/dist/cjs/resources/series/types/series-details.d.ts +0 -20
  786. package/dist/cjs/resources/series/types/series-details.js +0 -3
  787. package/dist/cjs/resources/series/types/series-details.js.map +0 -1
  788. package/dist/cjs/resources/series/types/series-list-item.d.ts +0 -18
  789. package/dist/cjs/resources/series/types/series-list-item.js +0 -3
  790. package/dist/cjs/resources/series/types/series-list-item.js.map +0 -1
  791. package/dist/cjs/resources/story-arc/index.d.ts +0 -1
  792. package/dist/cjs/resources/story-arc/index.js +0 -18
  793. package/dist/cjs/resources/story-arc/index.js.map +0 -1
  794. package/dist/cjs/resources/story-arc/story-arc.d.ts +0 -6
  795. package/dist/cjs/resources/story-arc/story-arc.js +0 -13
  796. package/dist/cjs/resources/story-arc/story-arc.js.map +0 -1
  797. package/dist/cjs/resources/story-arc/types/index.d.ts +0 -2
  798. package/dist/cjs/resources/story-arc/types/index.js +0 -19
  799. package/dist/cjs/resources/story-arc/types/index.js.map +0 -1
  800. package/dist/cjs/resources/story-arc/types/story-arc-details.d.ts +0 -20
  801. package/dist/cjs/resources/story-arc/types/story-arc-details.js +0 -3
  802. package/dist/cjs/resources/story-arc/types/story-arc-details.js.map +0 -1
  803. package/dist/cjs/resources/story-arc/types/story-arc-list-item.d.ts +0 -17
  804. package/dist/cjs/resources/story-arc/types/story-arc-list-item.js +0 -3
  805. package/dist/cjs/resources/story-arc/types/story-arc-list-item.js.map +0 -1
  806. package/dist/cjs/resources/team/index.d.ts +0 -1
  807. package/dist/cjs/resources/team/index.js +0 -18
  808. package/dist/cjs/resources/team/index.js.map +0 -1
  809. package/dist/cjs/resources/team/team.d.ts +0 -6
  810. package/dist/cjs/resources/team/team.js +0 -13
  811. package/dist/cjs/resources/team/team.js.map +0 -1
  812. package/dist/cjs/resources/team/types/index.d.ts +0 -2
  813. package/dist/cjs/resources/team/types/index.js +0 -19
  814. package/dist/cjs/resources/team/types/index.js.map +0 -1
  815. package/dist/cjs/resources/team/types/team-details.d.ts +0 -26
  816. package/dist/cjs/resources/team/types/team-details.js +0 -3
  817. package/dist/cjs/resources/team/types/team-details.js.map +0 -1
  818. package/dist/cjs/resources/team/types/team-list-item.d.ts +0 -17
  819. package/dist/cjs/resources/team/types/team-list-item.js +0 -3
  820. package/dist/cjs/resources/team/types/team-list-item.js.map +0 -1
  821. package/dist/cjs/resources/thing/index.d.ts +0 -1
  822. package/dist/cjs/resources/thing/index.js +0 -18
  823. package/dist/cjs/resources/thing/index.js.map +0 -1
  824. package/dist/cjs/resources/thing/thing.d.ts +0 -6
  825. package/dist/cjs/resources/thing/thing.js +0 -13
  826. package/dist/cjs/resources/thing/thing.js.map +0 -1
  827. package/dist/cjs/resources/thing/types/index.d.ts +0 -2
  828. package/dist/cjs/resources/thing/types/index.js +0 -19
  829. package/dist/cjs/resources/thing/types/index.js.map +0 -1
  830. package/dist/cjs/resources/thing/types/thing-details.d.ts +0 -20
  831. package/dist/cjs/resources/thing/types/thing-details.js +0 -3
  832. package/dist/cjs/resources/thing/types/thing-details.js.map +0 -1
  833. package/dist/cjs/resources/thing/types/thing-list-item.d.ts +0 -16
  834. package/dist/cjs/resources/thing/types/thing-list-item.js +0 -3
  835. package/dist/cjs/resources/thing/types/thing-list-item.js.map +0 -1
  836. package/dist/cjs/resources/video/index.d.ts +0 -1
  837. package/dist/cjs/resources/video/index.js +0 -18
  838. package/dist/cjs/resources/video/index.js.map +0 -1
  839. package/dist/cjs/resources/video/types/index.d.ts +0 -2
  840. package/dist/cjs/resources/video/types/index.js +0 -19
  841. package/dist/cjs/resources/video/types/index.js.map +0 -1
  842. package/dist/cjs/resources/video/types/video-details.d.ts +0 -27
  843. package/dist/cjs/resources/video/types/video-details.js +0 -3
  844. package/dist/cjs/resources/video/types/video-details.js.map +0 -1
  845. package/dist/cjs/resources/video/types/video-list-item.d.ts +0 -49
  846. package/dist/cjs/resources/video/types/video-list-item.js +0 -28
  847. package/dist/cjs/resources/video/types/video-list-item.js.map +0 -1
  848. package/dist/cjs/resources/video/video.d.ts +0 -6
  849. package/dist/cjs/resources/video/video.js +0 -13
  850. package/dist/cjs/resources/video/video.js.map +0 -1
  851. package/dist/cjs/resources/video-category/index.d.ts +0 -1
  852. package/dist/cjs/resources/video-category/index.js +0 -18
  853. package/dist/cjs/resources/video-category/index.js.map +0 -1
  854. package/dist/cjs/resources/video-category/types/index.d.ts +0 -2
  855. package/dist/cjs/resources/video-category/types/index.js +0 -19
  856. package/dist/cjs/resources/video-category/types/index.js.map +0 -1
  857. package/dist/cjs/resources/video-category/types/video-category-details.d.ts +0 -9
  858. package/dist/cjs/resources/video-category/types/video-category-details.js +0 -3
  859. package/dist/cjs/resources/video-category/types/video-category-details.js.map +0 -1
  860. package/dist/cjs/resources/video-category/types/video-category-list-item.d.ts +0 -9
  861. package/dist/cjs/resources/video-category/types/video-category-list-item.js +0 -3
  862. package/dist/cjs/resources/video-category/types/video-category-list-item.js.map +0 -1
  863. package/dist/cjs/resources/video-category/video-category.d.ts +0 -6
  864. package/dist/cjs/resources/video-category/video-category.js +0 -13
  865. package/dist/cjs/resources/video-category/video-category.js.map +0 -1
  866. package/dist/cjs/resources/video-type/index.d.ts +0 -1
  867. package/dist/cjs/resources/video-type/index.js +0 -18
  868. package/dist/cjs/resources/video-type/index.js.map +0 -1
  869. package/dist/cjs/resources/video-type/types/index.d.ts +0 -2
  870. package/dist/cjs/resources/video-type/types/index.js +0 -19
  871. package/dist/cjs/resources/video-type/types/index.js.map +0 -1
  872. package/dist/cjs/resources/video-type/types/video-type-details.d.ts +0 -7
  873. package/dist/cjs/resources/video-type/types/video-type-details.js +0 -3
  874. package/dist/cjs/resources/video-type/types/video-type-details.js.map +0 -1
  875. package/dist/cjs/resources/video-type/types/video-type-list-item.d.ts +0 -7
  876. package/dist/cjs/resources/video-type/types/video-type-list-item.js +0 -3
  877. package/dist/cjs/resources/video-type/types/video-type-list-item.js.map +0 -1
  878. package/dist/cjs/resources/video-type/video-type.d.ts +0 -6
  879. package/dist/cjs/resources/video-type/video-type.js +0 -13
  880. package/dist/cjs/resources/video-type/video-type.js.map +0 -1
  881. package/dist/cjs/resources/volume/index.d.ts +0 -1
  882. package/dist/cjs/resources/volume/index.js +0 -18
  883. package/dist/cjs/resources/volume/index.js.map +0 -1
  884. package/dist/cjs/resources/volume/types/index.d.ts +0 -2
  885. package/dist/cjs/resources/volume/types/index.js +0 -19
  886. package/dist/cjs/resources/volume/types/index.js.map +0 -1
  887. package/dist/cjs/resources/volume/types/volume-details.d.ts +0 -23
  888. package/dist/cjs/resources/volume/types/volume-details.js +0 -3
  889. package/dist/cjs/resources/volume/types/volume-details.js.map +0 -1
  890. package/dist/cjs/resources/volume/types/volume-list-item.d.ts +0 -18
  891. package/dist/cjs/resources/volume/types/volume-list-item.js +0 -3
  892. package/dist/cjs/resources/volume/types/volume-list-item.js.map +0 -1
  893. package/dist/cjs/resources/volume/volume.d.ts +0 -6
  894. package/dist/cjs/resources/volume/volume.js +0 -13
  895. package/dist/cjs/resources/volume/volume.js.map +0 -1
  896. package/dist/cjs/types/apply-override.js +0 -3
  897. package/dist/cjs/types/apply-override.js.map +0 -1
  898. package/dist/cjs/types/http-client.d.ts +0 -4
  899. package/dist/cjs/types/http-client.js +0 -3
  900. package/dist/cjs/types/http-client.js.map +0 -1
  901. package/dist/cjs/types/index.d.ts +0 -7
  902. package/dist/cjs/types/index.js +0 -24
  903. package/dist/cjs/types/index.js.map +0 -1
  904. package/dist/cjs/types/iso-date.js +0 -3
  905. package/dist/cjs/types/iso-date.js.map +0 -1
  906. package/dist/cjs/types/pick-filters.js +0 -3
  907. package/dist/cjs/types/pick-filters.js.map +0 -1
  908. package/dist/cjs/types/request.d.ts +0 -14
  909. package/dist/cjs/types/request.js +0 -3
  910. package/dist/cjs/types/request.js.map +0 -1
  911. package/dist/cjs/types/response.d.ts +0 -10
  912. package/dist/cjs/types/response.js +0 -3
  913. package/dist/cjs/types/response.js.map +0 -1
  914. package/dist/cjs/types/url-builder.d.ts +0 -6
  915. package/dist/cjs/types/url-builder.js +0 -3
  916. package/dist/cjs/types/url-builder.js.map +0 -1
  917. package/dist/cjs/types/valueof.js +0 -3
  918. package/dist/cjs/types/valueof.js.map +0 -1
  919. package/dist/cjs/utils/case-converter.js +0 -34
  920. package/dist/cjs/utils/case-converter.js.map +0 -1
  921. package/dist/cjs/utils/index.d.ts +0 -2
  922. package/dist/cjs/utils/index.js +0 -19
  923. package/dist/cjs/utils/index.js.map +0 -1
  924. package/dist/cjs/utils/is-object.js +0 -8
  925. package/dist/cjs/utils/is-object.js.map +0 -1
  926. package/dist/mjs/comic-vine.d.ts +0 -42
  927. package/dist/mjs/comic-vine.js +0 -107
  928. package/dist/mjs/comic-vine.js.map +0 -1
  929. package/dist/mjs/errors/base-error.js +0 -12
  930. package/dist/mjs/errors/base-error.js.map +0 -1
  931. package/dist/mjs/errors/custom-error.d.ts +0 -2
  932. package/dist/mjs/errors/custom-error.js +0 -8
  933. package/dist/mjs/errors/custom-error.js.map +0 -1
  934. package/dist/mjs/errors/filter-error.d.ts +0 -4
  935. package/dist/mjs/errors/filter-error.js +0 -10
  936. package/dist/mjs/errors/filter-error.js.map +0 -1
  937. package/dist/mjs/errors/generic-error.d.ts +0 -4
  938. package/dist/mjs/errors/generic-error.js +0 -10
  939. package/dist/mjs/errors/generic-error.js.map +0 -1
  940. package/dist/mjs/errors/generic-request-error.d.ts +0 -7
  941. package/dist/mjs/errors/generic-request-error.js +0 -15
  942. package/dist/mjs/errors/generic-request-error.js.map +0 -1
  943. package/dist/mjs/errors/index.d.ts +0 -10
  944. package/dist/mjs/errors/index.js +0 -11
  945. package/dist/mjs/errors/index.js.map +0 -1
  946. package/dist/mjs/errors/jsonp-callback-missing-error.d.ts +0 -4
  947. package/dist/mjs/errors/jsonp-callback-missing-error.js +0 -10
  948. package/dist/mjs/errors/jsonp-callback-missing-error.js.map +0 -1
  949. package/dist/mjs/errors/object-not-found-error.d.ts +0 -4
  950. package/dist/mjs/errors/object-not-found-error.js +0 -10
  951. package/dist/mjs/errors/object-not-found-error.js.map +0 -1
  952. package/dist/mjs/errors/options-validation-error.d.ts +0 -4
  953. package/dist/mjs/errors/options-validation-error.js +0 -10
  954. package/dist/mjs/errors/options-validation-error.js.map +0 -1
  955. package/dist/mjs/errors/subscriber-only-error.d.ts +0 -4
  956. package/dist/mjs/errors/subscriber-only-error.js +0 -10
  957. package/dist/mjs/errors/subscriber-only-error.js.map +0 -1
  958. package/dist/mjs/errors/unauthorized-error.d.ts +0 -4
  959. package/dist/mjs/errors/unauthorized-error.js +0 -10
  960. package/dist/mjs/errors/unauthorized-error.js.map +0 -1
  961. package/dist/mjs/errors/url-format-error.d.ts +0 -4
  962. package/dist/mjs/errors/url-format-error.js +0 -10
  963. package/dist/mjs/errors/url-format-error.js.map +0 -1
  964. package/dist/mjs/http-client/http-client-factory.d.ts +0 -6
  965. package/dist/mjs/http-client/http-client-factory.js +0 -11
  966. package/dist/mjs/http-client/http-client-factory.js.map +0 -1
  967. package/dist/mjs/http-client/http-client.d.ts +0 -8
  968. package/dist/mjs/http-client/http-client.js +0 -51
  969. package/dist/mjs/http-client/http-client.js.map +0 -1
  970. package/dist/mjs/http-client/index.d.ts +0 -1
  971. package/dist/mjs/http-client/index.js +0 -2
  972. package/dist/mjs/http-client/index.js.map +0 -1
  973. package/dist/mjs/http-client/status-code.js +0 -11
  974. package/dist/mjs/http-client/status-code.js.map +0 -1
  975. package/dist/mjs/http-client/url-builder.d.ts +0 -18
  976. package/dist/mjs/http-client/url-builder.js +0 -88
  977. package/dist/mjs/http-client/url-builder.js.map +0 -1
  978. package/dist/mjs/index.d.ts +0 -2
  979. package/dist/mjs/index.js +0 -3
  980. package/dist/mjs/index.js.map +0 -1
  981. package/dist/mjs/options/index.d.ts +0 -16
  982. package/dist/mjs/options/index.js +0 -22
  983. package/dist/mjs/options/index.js.map +0 -1
  984. package/dist/mjs/package.json +0 -3
  985. package/dist/mjs/resources/base-resource.d.ts +0 -19
  986. package/dist/mjs/resources/base-resource.js +0 -55
  987. package/dist/mjs/resources/base-resource.js.map +0 -1
  988. package/dist/mjs/resources/character/character.d.ts +0 -6
  989. package/dist/mjs/resources/character/character.js +0 -6
  990. package/dist/mjs/resources/character/character.js.map +0 -1
  991. package/dist/mjs/resources/character/index.d.ts +0 -1
  992. package/dist/mjs/resources/character/index.js +0 -2
  993. package/dist/mjs/resources/character/index.js.map +0 -1
  994. package/dist/mjs/resources/character/types/character-details.d.ts +0 -32
  995. package/dist/mjs/resources/character/types/character-details.js +0 -2
  996. package/dist/mjs/resources/character/types/character-details.js.map +0 -1
  997. package/dist/mjs/resources/character/types/character-list-item.d.ts +0 -20
  998. package/dist/mjs/resources/character/types/character-list-item.js +0 -2
  999. package/dist/mjs/resources/character/types/character-list-item.js.map +0 -1
  1000. package/dist/mjs/resources/character/types/index.d.ts +0 -2
  1001. package/dist/mjs/resources/character/types/index.js +0 -3
  1002. package/dist/mjs/resources/character/types/index.js.map +0 -1
  1003. package/dist/mjs/resources/common-types.js +0 -2
  1004. package/dist/mjs/resources/common-types.js.map +0 -1
  1005. package/dist/mjs/resources/concept/concept.d.ts +0 -6
  1006. package/dist/mjs/resources/concept/concept.js +0 -6
  1007. package/dist/mjs/resources/concept/concept.js.map +0 -1
  1008. package/dist/mjs/resources/concept/index.d.ts +0 -1
  1009. package/dist/mjs/resources/concept/index.js +0 -2
  1010. package/dist/mjs/resources/concept/index.js.map +0 -1
  1011. package/dist/mjs/resources/concept/types/concept-details.d.ts +0 -19
  1012. package/dist/mjs/resources/concept/types/concept-details.js +0 -2
  1013. package/dist/mjs/resources/concept/types/concept-details.js.map +0 -1
  1014. package/dist/mjs/resources/concept/types/concept-list-item.d.ts +0 -16
  1015. package/dist/mjs/resources/concept/types/concept-list-item.js +0 -2
  1016. package/dist/mjs/resources/concept/types/concept-list-item.js.map +0 -1
  1017. package/dist/mjs/resources/concept/types/index.d.ts +0 -2
  1018. package/dist/mjs/resources/concept/types/index.js +0 -3
  1019. package/dist/mjs/resources/concept/types/index.js.map +0 -1
  1020. package/dist/mjs/resources/episode/episode.d.ts +0 -6
  1021. package/dist/mjs/resources/episode/episode.js +0 -6
  1022. package/dist/mjs/resources/episode/episode.js.map +0 -1
  1023. package/dist/mjs/resources/episode/index.d.ts +0 -1
  1024. package/dist/mjs/resources/episode/index.js +0 -2
  1025. package/dist/mjs/resources/episode/index.js.map +0 -1
  1026. package/dist/mjs/resources/episode/types/episode-details.d.ts +0 -30
  1027. package/dist/mjs/resources/episode/types/episode-details.js +0 -2
  1028. package/dist/mjs/resources/episode/types/episode-details.js.map +0 -1
  1029. package/dist/mjs/resources/episode/types/episode-list-item.d.ts +0 -17
  1030. package/dist/mjs/resources/episode/types/episode-list-item.js +0 -2
  1031. package/dist/mjs/resources/episode/types/episode-list-item.js.map +0 -1
  1032. package/dist/mjs/resources/episode/types/index.d.ts +0 -2
  1033. package/dist/mjs/resources/episode/types/index.js +0 -3
  1034. package/dist/mjs/resources/episode/types/index.js.map +0 -1
  1035. package/dist/mjs/resources/index.d.ts +0 -3
  1036. package/dist/mjs/resources/index.js +0 -4
  1037. package/dist/mjs/resources/index.js.map +0 -1
  1038. package/dist/mjs/resources/issue/index.d.ts +0 -1
  1039. package/dist/mjs/resources/issue/index.js +0 -2
  1040. package/dist/mjs/resources/issue/index.js.map +0 -1
  1041. package/dist/mjs/resources/issue/issue.d.ts +0 -6
  1042. package/dist/mjs/resources/issue/issue.js +0 -6
  1043. package/dist/mjs/resources/issue/issue.js.map +0 -1
  1044. package/dist/mjs/resources/issue/types/index.d.ts +0 -2
  1045. package/dist/mjs/resources/issue/types/index.js +0 -3
  1046. package/dist/mjs/resources/issue/types/index.js.map +0 -1
  1047. package/dist/mjs/resources/issue/types/issue-details.d.ts +0 -34
  1048. package/dist/mjs/resources/issue/types/issue-details.js +0 -2
  1049. package/dist/mjs/resources/issue/types/issue-details.js.map +0 -1
  1050. package/dist/mjs/resources/issue/types/issue-list-item.d.ts +0 -19
  1051. package/dist/mjs/resources/issue/types/issue-list-item.js +0 -2
  1052. package/dist/mjs/resources/issue/types/issue-list-item.js.map +0 -1
  1053. package/dist/mjs/resources/location/index.d.ts +0 -1
  1054. package/dist/mjs/resources/location/index.js +0 -2
  1055. package/dist/mjs/resources/location/index.js.map +0 -1
  1056. package/dist/mjs/resources/location/location.d.ts +0 -6
  1057. package/dist/mjs/resources/location/location.js +0 -6
  1058. package/dist/mjs/resources/location/location.js.map +0 -1
  1059. package/dist/mjs/resources/location/types/index.d.ts +0 -2
  1060. package/dist/mjs/resources/location/types/index.js +0 -3
  1061. package/dist/mjs/resources/location/types/index.js.map +0 -1
  1062. package/dist/mjs/resources/location/types/location-details.d.ts +0 -20
  1063. package/dist/mjs/resources/location/types/location-details.js +0 -2
  1064. package/dist/mjs/resources/location/types/location-details.js.map +0 -1
  1065. package/dist/mjs/resources/location/types/location-list-item.d.ts +0 -16
  1066. package/dist/mjs/resources/location/types/location-list-item.js +0 -2
  1067. package/dist/mjs/resources/location/types/location-list-item.js.map +0 -1
  1068. package/dist/mjs/resources/movie/index.d.ts +0 -1
  1069. package/dist/mjs/resources/movie/index.js +0 -2
  1070. package/dist/mjs/resources/movie/index.js.map +0 -1
  1071. package/dist/mjs/resources/movie/movie.d.ts +0 -6
  1072. package/dist/mjs/resources/movie/movie.js +0 -6
  1073. package/dist/mjs/resources/movie/movie.js.map +0 -1
  1074. package/dist/mjs/resources/movie/types/index.d.ts +0 -2
  1075. package/dist/mjs/resources/movie/types/index.js +0 -3
  1076. package/dist/mjs/resources/movie/types/index.js.map +0 -1
  1077. package/dist/mjs/resources/movie/types/movie-details.d.ts +0 -28
  1078. package/dist/mjs/resources/movie/types/movie-details.js +0 -2
  1079. package/dist/mjs/resources/movie/types/movie-details.js.map +0 -1
  1080. package/dist/mjs/resources/movie/types/movie-list-item.d.ts +0 -23
  1081. package/dist/mjs/resources/movie/types/movie-list-item.js +0 -2
  1082. package/dist/mjs/resources/movie/types/movie-list-item.js.map +0 -1
  1083. package/dist/mjs/resources/origin/index.d.ts +0 -1
  1084. package/dist/mjs/resources/origin/index.js +0 -2
  1085. package/dist/mjs/resources/origin/index.js.map +0 -1
  1086. package/dist/mjs/resources/origin/origin.d.ts +0 -6
  1087. package/dist/mjs/resources/origin/origin.js +0 -6
  1088. package/dist/mjs/resources/origin/origin.js.map +0 -1
  1089. package/dist/mjs/resources/origin/types/index.d.ts +0 -2
  1090. package/dist/mjs/resources/origin/types/index.js +0 -3
  1091. package/dist/mjs/resources/origin/types/index.js.map +0 -1
  1092. package/dist/mjs/resources/origin/types/origin-details.d.ts +0 -10
  1093. package/dist/mjs/resources/origin/types/origin-details.js +0 -2
  1094. package/dist/mjs/resources/origin/types/origin-details.js.map +0 -1
  1095. package/dist/mjs/resources/origin/types/origin-list-item.d.ts +0 -6
  1096. package/dist/mjs/resources/origin/types/origin-list-item.js +0 -2
  1097. package/dist/mjs/resources/origin/types/origin-list-item.js.map +0 -1
  1098. package/dist/mjs/resources/person/index.d.ts +0 -1
  1099. package/dist/mjs/resources/person/index.js +0 -2
  1100. package/dist/mjs/resources/person/index.js.map +0 -1
  1101. package/dist/mjs/resources/person/person.d.ts +0 -6
  1102. package/dist/mjs/resources/person/person.js +0 -6
  1103. package/dist/mjs/resources/person/person.js.map +0 -1
  1104. package/dist/mjs/resources/person/types/index.d.ts +0 -2
  1105. package/dist/mjs/resources/person/types/index.js +0 -3
  1106. package/dist/mjs/resources/person/types/index.js.map +0 -1
  1107. package/dist/mjs/resources/person/types/person-details.d.ts +0 -25
  1108. package/dist/mjs/resources/person/types/person-details.js +0 -2
  1109. package/dist/mjs/resources/person/types/person-details.js.map +0 -1
  1110. package/dist/mjs/resources/person/types/person-list-item.d.ts +0 -26
  1111. package/dist/mjs/resources/person/types/person-list-item.js +0 -5
  1112. package/dist/mjs/resources/person/types/person-list-item.js.map +0 -1
  1113. package/dist/mjs/resources/power/index.d.ts +0 -1
  1114. package/dist/mjs/resources/power/index.js +0 -2
  1115. package/dist/mjs/resources/power/index.js.map +0 -1
  1116. package/dist/mjs/resources/power/power.d.ts +0 -6
  1117. package/dist/mjs/resources/power/power.js +0 -6
  1118. package/dist/mjs/resources/power/power.js.map +0 -1
  1119. package/dist/mjs/resources/power/types/index.d.ts +0 -2
  1120. package/dist/mjs/resources/power/types/index.js +0 -3
  1121. package/dist/mjs/resources/power/types/index.js.map +0 -1
  1122. package/dist/mjs/resources/power/types/power-details.d.ts +0 -12
  1123. package/dist/mjs/resources/power/types/power-details.js +0 -2
  1124. package/dist/mjs/resources/power/types/power-details.js.map +0 -1
  1125. package/dist/mjs/resources/power/types/power-list-item.d.ts +0 -10
  1126. package/dist/mjs/resources/power/types/power-list-item.js +0 -2
  1127. package/dist/mjs/resources/power/types/power-list-item.js.map +0 -1
  1128. package/dist/mjs/resources/promo/index.d.ts +0 -1
  1129. package/dist/mjs/resources/promo/index.js +0 -2
  1130. package/dist/mjs/resources/promo/index.js.map +0 -1
  1131. package/dist/mjs/resources/promo/promo.d.ts +0 -6
  1132. package/dist/mjs/resources/promo/promo.js +0 -6
  1133. package/dist/mjs/resources/promo/promo.js.map +0 -1
  1134. package/dist/mjs/resources/promo/types/index.d.ts +0 -2
  1135. package/dist/mjs/resources/promo/types/index.js +0 -3
  1136. package/dist/mjs/resources/promo/types/index.js.map +0 -1
  1137. package/dist/mjs/resources/promo/types/promo-details.d.ts +0 -13
  1138. package/dist/mjs/resources/promo/types/promo-details.js +0 -2
  1139. package/dist/mjs/resources/promo/types/promo-details.js.map +0 -1
  1140. package/dist/mjs/resources/promo/types/promo-list-item.d.ts +0 -13
  1141. package/dist/mjs/resources/promo/types/promo-list-item.js +0 -2
  1142. package/dist/mjs/resources/promo/types/promo-list-item.js.map +0 -1
  1143. package/dist/mjs/resources/publisher/index.d.ts +0 -1
  1144. package/dist/mjs/resources/publisher/index.js +0 -2
  1145. package/dist/mjs/resources/publisher/index.js.map +0 -1
  1146. package/dist/mjs/resources/publisher/publisher.d.ts +0 -6
  1147. package/dist/mjs/resources/publisher/publisher.js +0 -6
  1148. package/dist/mjs/resources/publisher/publisher.js.map +0 -1
  1149. package/dist/mjs/resources/publisher/types/index.d.ts +0 -2
  1150. package/dist/mjs/resources/publisher/types/index.js +0 -3
  1151. package/dist/mjs/resources/publisher/types/index.js.map +0 -1
  1152. package/dist/mjs/resources/publisher/types/publisher-details.d.ts +0 -20
  1153. package/dist/mjs/resources/publisher/types/publisher-details.js +0 -2
  1154. package/dist/mjs/resources/publisher/types/publisher-details.js.map +0 -1
  1155. package/dist/mjs/resources/publisher/types/publisher-list-item.d.ts +0 -22
  1156. package/dist/mjs/resources/publisher/types/publisher-list-item.js +0 -8
  1157. package/dist/mjs/resources/publisher/types/publisher-list-item.js.map +0 -1
  1158. package/dist/mjs/resources/resource-factory.d.ts +0 -8
  1159. package/dist/mjs/resources/resource-factory.js +0 -17
  1160. package/dist/mjs/resources/resource-factory.js.map +0 -1
  1161. package/dist/mjs/resources/resource-list.d.ts +0 -19
  1162. package/dist/mjs/resources/resource-list.js +0 -20
  1163. package/dist/mjs/resources/resource-list.js.map +0 -1
  1164. package/dist/mjs/resources/resource-map.d.ts +0 -7
  1165. package/dist/mjs/resources/resource-map.js +0 -36
  1166. package/dist/mjs/resources/resource-map.js.map +0 -1
  1167. package/dist/mjs/resources/resource-type.js +0 -23
  1168. package/dist/mjs/resources/resource-type.js.map +0 -1
  1169. package/dist/mjs/resources/series/index.d.ts +0 -1
  1170. package/dist/mjs/resources/series/index.js +0 -2
  1171. package/dist/mjs/resources/series/index.js.map +0 -1
  1172. package/dist/mjs/resources/series/series.d.ts +0 -6
  1173. package/dist/mjs/resources/series/series.js +0 -6
  1174. package/dist/mjs/resources/series/series.js.map +0 -1
  1175. package/dist/mjs/resources/series/types/index.d.ts +0 -2
  1176. package/dist/mjs/resources/series/types/index.js +0 -3
  1177. package/dist/mjs/resources/series/types/index.js.map +0 -1
  1178. package/dist/mjs/resources/series/types/series-details.d.ts +0 -20
  1179. package/dist/mjs/resources/series/types/series-details.js +0 -2
  1180. package/dist/mjs/resources/series/types/series-details.js.map +0 -1
  1181. package/dist/mjs/resources/series/types/series-list-item.d.ts +0 -18
  1182. package/dist/mjs/resources/series/types/series-list-item.js +0 -2
  1183. package/dist/mjs/resources/series/types/series-list-item.js.map +0 -1
  1184. package/dist/mjs/resources/story-arc/index.d.ts +0 -1
  1185. package/dist/mjs/resources/story-arc/index.js +0 -2
  1186. package/dist/mjs/resources/story-arc/index.js.map +0 -1
  1187. package/dist/mjs/resources/story-arc/story-arc.d.ts +0 -6
  1188. package/dist/mjs/resources/story-arc/story-arc.js +0 -6
  1189. package/dist/mjs/resources/story-arc/story-arc.js.map +0 -1
  1190. package/dist/mjs/resources/story-arc/types/index.d.ts +0 -2
  1191. package/dist/mjs/resources/story-arc/types/index.js +0 -3
  1192. package/dist/mjs/resources/story-arc/types/index.js.map +0 -1
  1193. package/dist/mjs/resources/story-arc/types/story-arc-details.d.ts +0 -20
  1194. package/dist/mjs/resources/story-arc/types/story-arc-details.js +0 -2
  1195. package/dist/mjs/resources/story-arc/types/story-arc-details.js.map +0 -1
  1196. package/dist/mjs/resources/story-arc/types/story-arc-list-item.d.ts +0 -17
  1197. package/dist/mjs/resources/story-arc/types/story-arc-list-item.js +0 -2
  1198. package/dist/mjs/resources/story-arc/types/story-arc-list-item.js.map +0 -1
  1199. package/dist/mjs/resources/team/index.d.ts +0 -1
  1200. package/dist/mjs/resources/team/index.js +0 -2
  1201. package/dist/mjs/resources/team/index.js.map +0 -1
  1202. package/dist/mjs/resources/team/team.d.ts +0 -6
  1203. package/dist/mjs/resources/team/team.js +0 -6
  1204. package/dist/mjs/resources/team/team.js.map +0 -1
  1205. package/dist/mjs/resources/team/types/index.d.ts +0 -2
  1206. package/dist/mjs/resources/team/types/index.js +0 -3
  1207. package/dist/mjs/resources/team/types/index.js.map +0 -1
  1208. package/dist/mjs/resources/team/types/team-details.d.ts +0 -26
  1209. package/dist/mjs/resources/team/types/team-details.js +0 -2
  1210. package/dist/mjs/resources/team/types/team-details.js.map +0 -1
  1211. package/dist/mjs/resources/team/types/team-list-item.d.ts +0 -17
  1212. package/dist/mjs/resources/team/types/team-list-item.js +0 -2
  1213. package/dist/mjs/resources/team/types/team-list-item.js.map +0 -1
  1214. package/dist/mjs/resources/thing/index.d.ts +0 -1
  1215. package/dist/mjs/resources/thing/index.js +0 -2
  1216. package/dist/mjs/resources/thing/index.js.map +0 -1
  1217. package/dist/mjs/resources/thing/thing.d.ts +0 -6
  1218. package/dist/mjs/resources/thing/thing.js +0 -6
  1219. package/dist/mjs/resources/thing/thing.js.map +0 -1
  1220. package/dist/mjs/resources/thing/types/index.d.ts +0 -2
  1221. package/dist/mjs/resources/thing/types/index.js +0 -3
  1222. package/dist/mjs/resources/thing/types/index.js.map +0 -1
  1223. package/dist/mjs/resources/thing/types/thing-details.d.ts +0 -20
  1224. package/dist/mjs/resources/thing/types/thing-details.js +0 -2
  1225. package/dist/mjs/resources/thing/types/thing-details.js.map +0 -1
  1226. package/dist/mjs/resources/thing/types/thing-list-item.d.ts +0 -16
  1227. package/dist/mjs/resources/thing/types/thing-list-item.js +0 -2
  1228. package/dist/mjs/resources/thing/types/thing-list-item.js.map +0 -1
  1229. package/dist/mjs/resources/video/index.d.ts +0 -1
  1230. package/dist/mjs/resources/video/index.js +0 -2
  1231. package/dist/mjs/resources/video/index.js.map +0 -1
  1232. package/dist/mjs/resources/video/types/index.d.ts +0 -2
  1233. package/dist/mjs/resources/video/types/index.js +0 -3
  1234. package/dist/mjs/resources/video/types/index.js.map +0 -1
  1235. package/dist/mjs/resources/video/types/video-details.d.ts +0 -27
  1236. package/dist/mjs/resources/video/types/video-details.js +0 -2
  1237. package/dist/mjs/resources/video/types/video-details.js.map +0 -1
  1238. package/dist/mjs/resources/video/types/video-list-item.d.ts +0 -49
  1239. package/dist/mjs/resources/video/types/video-list-item.js +0 -25
  1240. package/dist/mjs/resources/video/types/video-list-item.js.map +0 -1
  1241. package/dist/mjs/resources/video/video.d.ts +0 -6
  1242. package/dist/mjs/resources/video/video.js +0 -6
  1243. package/dist/mjs/resources/video/video.js.map +0 -1
  1244. package/dist/mjs/resources/video-category/index.d.ts +0 -1
  1245. package/dist/mjs/resources/video-category/index.js +0 -2
  1246. package/dist/mjs/resources/video-category/index.js.map +0 -1
  1247. package/dist/mjs/resources/video-category/types/index.d.ts +0 -2
  1248. package/dist/mjs/resources/video-category/types/index.js +0 -3
  1249. package/dist/mjs/resources/video-category/types/index.js.map +0 -1
  1250. package/dist/mjs/resources/video-category/types/video-category-details.d.ts +0 -9
  1251. package/dist/mjs/resources/video-category/types/video-category-details.js +0 -2
  1252. package/dist/mjs/resources/video-category/types/video-category-details.js.map +0 -1
  1253. package/dist/mjs/resources/video-category/types/video-category-list-item.d.ts +0 -9
  1254. package/dist/mjs/resources/video-category/types/video-category-list-item.js +0 -2
  1255. package/dist/mjs/resources/video-category/types/video-category-list-item.js.map +0 -1
  1256. package/dist/mjs/resources/video-category/video-category.d.ts +0 -6
  1257. package/dist/mjs/resources/video-category/video-category.js +0 -6
  1258. package/dist/mjs/resources/video-category/video-category.js.map +0 -1
  1259. package/dist/mjs/resources/video-type/index.d.ts +0 -1
  1260. package/dist/mjs/resources/video-type/index.js +0 -2
  1261. package/dist/mjs/resources/video-type/index.js.map +0 -1
  1262. package/dist/mjs/resources/video-type/types/index.d.ts +0 -2
  1263. package/dist/mjs/resources/video-type/types/index.js +0 -3
  1264. package/dist/mjs/resources/video-type/types/index.js.map +0 -1
  1265. package/dist/mjs/resources/video-type/types/video-type-details.d.ts +0 -7
  1266. package/dist/mjs/resources/video-type/types/video-type-details.js +0 -2
  1267. package/dist/mjs/resources/video-type/types/video-type-details.js.map +0 -1
  1268. package/dist/mjs/resources/video-type/types/video-type-list-item.d.ts +0 -7
  1269. package/dist/mjs/resources/video-type/types/video-type-list-item.js +0 -2
  1270. package/dist/mjs/resources/video-type/types/video-type-list-item.js.map +0 -1
  1271. package/dist/mjs/resources/video-type/video-type.d.ts +0 -6
  1272. package/dist/mjs/resources/video-type/video-type.js +0 -6
  1273. package/dist/mjs/resources/video-type/video-type.js.map +0 -1
  1274. package/dist/mjs/resources/volume/index.d.ts +0 -1
  1275. package/dist/mjs/resources/volume/index.js +0 -2
  1276. package/dist/mjs/resources/volume/index.js.map +0 -1
  1277. package/dist/mjs/resources/volume/types/index.d.ts +0 -2
  1278. package/dist/mjs/resources/volume/types/index.js +0 -3
  1279. package/dist/mjs/resources/volume/types/index.js.map +0 -1
  1280. package/dist/mjs/resources/volume/types/volume-details.d.ts +0 -23
  1281. package/dist/mjs/resources/volume/types/volume-details.js +0 -2
  1282. package/dist/mjs/resources/volume/types/volume-details.js.map +0 -1
  1283. package/dist/mjs/resources/volume/types/volume-list-item.d.ts +0 -18
  1284. package/dist/mjs/resources/volume/types/volume-list-item.js +0 -2
  1285. package/dist/mjs/resources/volume/types/volume-list-item.js.map +0 -1
  1286. package/dist/mjs/resources/volume/volume.d.ts +0 -6
  1287. package/dist/mjs/resources/volume/volume.js +0 -6
  1288. package/dist/mjs/resources/volume/volume.js.map +0 -1
  1289. package/dist/mjs/types/apply-override.js +0 -2
  1290. package/dist/mjs/types/apply-override.js.map +0 -1
  1291. package/dist/mjs/types/http-client.d.ts +0 -4
  1292. package/dist/mjs/types/http-client.js +0 -2
  1293. package/dist/mjs/types/http-client.js.map +0 -1
  1294. package/dist/mjs/types/index.d.ts +0 -7
  1295. package/dist/mjs/types/index.js +0 -8
  1296. package/dist/mjs/types/index.js.map +0 -1
  1297. package/dist/mjs/types/iso-date.js +0 -2
  1298. package/dist/mjs/types/iso-date.js.map +0 -1
  1299. package/dist/mjs/types/pick-filters.js +0 -2
  1300. package/dist/mjs/types/pick-filters.js.map +0 -1
  1301. package/dist/mjs/types/request.d.ts +0 -14
  1302. package/dist/mjs/types/request.js +0 -2
  1303. package/dist/mjs/types/request.js.map +0 -1
  1304. package/dist/mjs/types/response.d.ts +0 -10
  1305. package/dist/mjs/types/response.js +0 -2
  1306. package/dist/mjs/types/response.js.map +0 -1
  1307. package/dist/mjs/types/url-builder.d.ts +0 -6
  1308. package/dist/mjs/types/url-builder.js +0 -2
  1309. package/dist/mjs/types/url-builder.js.map +0 -1
  1310. package/dist/mjs/types/valueof.js +0 -2
  1311. package/dist/mjs/types/valueof.js.map +0 -1
  1312. package/dist/mjs/utils/case-converter.js +0 -27
  1313. package/dist/mjs/utils/case-converter.js.map +0 -1
  1314. package/dist/mjs/utils/index.d.ts +0 -2
  1315. package/dist/mjs/utils/index.js +0 -3
  1316. package/dist/mjs/utils/index.js.map +0 -1
  1317. package/dist/mjs/utils/is-object.js +0 -4
  1318. package/dist/mjs/utils/is-object.js.map +0 -1
  1319. /package/{dist → lib}/cjs/errors/base-error.d.ts +0 -0
  1320. /package/{dist → lib}/cjs/http-client/status-code.d.ts +0 -0
  1321. /package/{dist → lib}/cjs/resources/common-types.d.ts +0 -0
  1322. /package/{dist → lib}/cjs/resources/resource-type.d.ts +0 -0
  1323. /package/{dist → lib}/cjs/types/apply-override.d.ts +0 -0
  1324. /package/{dist → lib}/cjs/types/iso-date.d.ts +0 -0
  1325. /package/{dist → lib}/cjs/types/pick-filters.d.ts +0 -0
  1326. /package/{dist → lib}/cjs/types/valueof.d.ts +0 -0
  1327. /package/{dist → lib}/cjs/utils/case-converter.d.ts +0 -0
  1328. /package/{dist → lib}/cjs/utils/is-object.d.ts +0 -0
  1329. /package/{dist/mjs → lib/esm}/errors/base-error.d.ts +0 -0
  1330. /package/{dist/mjs → lib/esm}/http-client/status-code.d.ts +0 -0
  1331. /package/{dist/mjs → lib/esm}/resources/common-types.d.ts +0 -0
  1332. /package/{dist/mjs → lib/esm}/resources/resource-type.d.ts +0 -0
  1333. /package/{dist/mjs → lib/esm}/types/apply-override.d.ts +0 -0
  1334. /package/{dist/mjs → lib/esm}/types/iso-date.d.ts +0 -0
  1335. /package/{dist/mjs → lib/esm}/types/pick-filters.d.ts +0 -0
  1336. /package/{dist/mjs → lib/esm}/types/valueof.d.ts +0 -0
  1337. /package/{dist/mjs → lib/esm}/utils/case-converter.d.ts +0 -0
  1338. /package/{dist/mjs → lib/esm}/utils/is-object.d.ts +0 -0
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXJsLWJ1aWxkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdHlwZXMvdXJsLWJ1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFJldHJpZXZlT3B0aW9ucywgTGlzdE9wdGlvbnMgfSBmcm9tICcuL2luZGV4LmpzJztcbmltcG9ydCB7IFJlc291cmNlVHlwZSB9IGZyb20gJy4uL3Jlc291cmNlcy9yZXNvdXJjZS10eXBlLmpzJztcblxuZXhwb3J0IGludGVyZmFjZSBVcmxCdWlsZGVyIHtcbiAgcmV0cmlldmU8S2V5PihcbiAgICByZXNvdXJjZVR5cGU6IFJlc291cmNlVHlwZSxcbiAgICBpZDogbnVtYmVyLFxuICAgIHJlcXVlc3RPcHRpb25zPzogUmV0cmlldmVPcHRpb25zPEtleT4gfCB1bmRlZmluZWQsXG4gICk6IHN0cmluZztcblxuICBsaXN0PFJlc291cmNlLCBGaWx0ZXJUeXBlPihcbiAgICByZXNvdXJjZVR5cGU6IFJlc291cmNlVHlwZSxcbiAgICByZXF1ZXN0T3B0aW9ucz86IExpc3RPcHRpb25zPFJlc291cmNlLCBGaWx0ZXJUeXBlPiB8IHVuZGVmaW5lZCxcbiAgKTogc3RyaW5nO1xufVxuIl19
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWVvZi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90eXBlcy92YWx1ZW9mLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBWYWx1ZU9mPFQ+ID0gVFtrZXlvZiBUXTtcbiJdfQ==
@@ -0,0 +1,27 @@
1
+ import { isObject } from './is-object.js';
2
+ export const toCamelCase = (str) => {
3
+ return str.replace(/([-_][a-z])/gi, ($1) => {
4
+ return $1.toUpperCase().replace('-', '').replace('_', '');
5
+ });
6
+ };
7
+ export const toSnakeCase = (str) => str.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`);
8
+ const convertCase = (caseConverter, object) => {
9
+ if (isObject(object)) {
10
+ const newObject = {};
11
+ Object.keys(object).forEach((key) => {
12
+ newObject[caseConverter(key)] = convertCase(caseConverter, object[key]);
13
+ });
14
+ return newObject;
15
+ }
16
+ else if (Array.isArray(object)) {
17
+ return object.map((arrayElement) => convertCase(caseConverter, arrayElement));
18
+ }
19
+ return object;
20
+ };
21
+ export const convertSnakeCaseToCamelCase = (object) => {
22
+ return convertCase(toCamelCase, object);
23
+ };
24
+ export const convertCamelCaseToSnakeCase = (object) => {
25
+ return convertCase(toSnakeCase, object);
26
+ };
27
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1jb252ZXJ0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdXRpbHMvY2FzZS1jb252ZXJ0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRTFDLE1BQU0sQ0FBQyxNQUFNLFdBQVcsR0FBRyxDQUFDLEdBQVcsRUFBVSxFQUFFO0lBQ2pELE9BQU8sR0FBRyxDQUFDLE9BQU8sQ0FBQyxlQUFlLEVBQUUsQ0FBQyxFQUFFLEVBQUUsRUFBRTtRQUN6QyxPQUFPLEVBQUUsQ0FBQyxXQUFXLEVBQUUsQ0FBQyxPQUFPLENBQUMsR0FBRyxFQUFFLEVBQUUsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxHQUFHLEVBQUUsRUFBRSxDQUFDLENBQUM7SUFDNUQsQ0FBQyxDQUFDLENBQUM7QUFDTCxDQUFDLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSxXQUFXLEdBQUcsQ0FBQyxHQUFXLEVBQUUsRUFBRSxDQUN6QyxHQUFHLENBQUMsT0FBTyxDQUFDLFFBQVEsRUFBRSxDQUFDLE1BQU0sRUFBRSxFQUFFLENBQUMsSUFBSSxNQUFNLENBQUMsV0FBVyxFQUFFLEVBQUUsQ0FBQyxDQUFDO0FBSWhFLE1BQU0sV0FBVyxHQUFHLENBQUMsYUFBNEIsRUFBRSxNQUFXLEVBQVUsRUFBRTtJQUN4RSxJQUFJLFFBQVEsQ0FBQyxNQUFNLENBQUMsRUFBRTtRQUNwQixNQUFNLFNBQVMsR0FBUSxFQUFFLENBQUM7UUFFMUIsTUFBTSxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQyxPQUFPLENBQUMsQ0FBQyxHQUFHLEVBQUUsRUFBRTtZQUNsQyxTQUFTLENBQUMsYUFBYSxDQUFDLEdBQUcsQ0FBQyxDQUFDLEdBQUcsV0FBVyxDQUFDLGFBQWEsRUFBRSxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQztRQUMxRSxDQUFDLENBQUMsQ0FBQztRQUVILE9BQU8sU0FBUyxDQUFDO0tBQ2xCO1NBQU0sSUFBSSxLQUFLLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyxFQUFFO1FBQ2hDLE9BQU8sTUFBTSxDQUFDLEdBQUcsQ0FBQyxDQUFDLFlBQVksRUFBRSxFQUFFLENBQ2pDLFdBQVcsQ0FBQyxhQUFhLEVBQUUsWUFBWSxDQUFDLENBQ3pDLENBQUM7S0FDSDtJQUVELE9BQU8sTUFBTSxDQUFDO0FBQ2hCLENBQUMsQ0FBQztBQUVGLE1BQU0sQ0FBQyxNQUFNLDJCQUEyQixHQUFHLENBQ3pDLE1BQVcsRUFDQyxFQUFFO0lBQ2QsT0FBTyxXQUFXLENBQUMsV0FBVyxFQUFFLE1BQU0sQ0FBc0IsQ0FBQztBQUMvRCxDQUFDLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSwyQkFBMkIsR0FBRyxDQUN6QyxNQUFXLEVBQ0MsRUFBRTtJQUNkLE9BQU8sV0FBVyxDQUFDLFdBQVcsRUFBRSxNQUFNLENBQXNCLENBQUM7QUFDL0QsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgaXNPYmplY3QgfSBmcm9tICcuL2lzLW9iamVjdC5qcyc7XG5cbmV4cG9ydCBjb25zdCB0b0NhbWVsQ2FzZSA9IChzdHI6IHN0cmluZyk6IHN0cmluZyA9PiB7XG4gIHJldHVybiBzdHIucmVwbGFjZSgvKFstX11bYS16XSkvZ2ksICgkMSkgPT4ge1xuICAgIHJldHVybiAkMS50b1VwcGVyQ2FzZSgpLnJlcGxhY2UoJy0nLCAnJykucmVwbGFjZSgnXycsICcnKTtcbiAgfSk7XG59O1xuXG5leHBvcnQgY29uc3QgdG9TbmFrZUNhc2UgPSAoc3RyOiBzdHJpbmcpID0+XG4gIHN0ci5yZXBsYWNlKC9bQS1aXS9nLCAobGV0dGVyKSA9PiBgXyR7bGV0dGVyLnRvTG93ZXJDYXNlKCl9YCk7XG5cbnR5cGUgQ2FzZUNvbnZlcnRlciA9IChzdHI6IHN0cmluZykgPT4gc3RyaW5nO1xuXG5jb25zdCBjb252ZXJ0Q2FzZSA9IChjYXNlQ29udmVydGVyOiBDYXNlQ29udmVydGVyLCBvYmplY3Q6IGFueSk6IG9iamVjdCA9PiB7XG4gIGlmIChpc09iamVjdChvYmplY3QpKSB7XG4gICAgY29uc3QgbmV3T2JqZWN0OiBhbnkgPSB7fTtcblxuICAgIE9iamVjdC5rZXlzKG9iamVjdCkuZm9yRWFjaCgoa2V5KSA9PiB7XG4gICAgICBuZXdPYmplY3RbY2FzZUNvbnZlcnRlcihrZXkpXSA9IGNvbnZlcnRDYXNlKGNhc2VDb252ZXJ0ZXIsIG9iamVjdFtrZXldKTtcbiAgICB9KTtcblxuICAgIHJldHVybiBuZXdPYmplY3Q7XG4gIH0gZWxzZSBpZiAoQXJyYXkuaXNBcnJheShvYmplY3QpKSB7XG4gICAgcmV0dXJuIG9iamVjdC5tYXAoKGFycmF5RWxlbWVudCkgPT5cbiAgICAgIGNvbnZlcnRDYXNlKGNhc2VDb252ZXJ0ZXIsIGFycmF5RWxlbWVudCksXG4gICAgKTtcbiAgfVxuXG4gIHJldHVybiBvYmplY3Q7XG59O1xuXG5leHBvcnQgY29uc3QgY29udmVydFNuYWtlQ2FzZVRvQ2FtZWxDYXNlID0gPFJldHVyblR5cGU+KFxuICBvYmplY3Q6IGFueSxcbik6IFJldHVyblR5cGUgPT4ge1xuICByZXR1cm4gY29udmVydENhc2UodG9DYW1lbENhc2UsIG9iamVjdCkgYXMgYW55IGFzIFJldHVyblR5cGU7XG59O1xuXG5leHBvcnQgY29uc3QgY29udmVydENhbWVsQ2FzZVRvU25ha2VDYXNlID0gPFJldHVyblR5cGU+KFxuICBvYmplY3Q6IGFueSxcbik6IFJldHVyblR5cGUgPT4ge1xuICByZXR1cm4gY29udmVydENhc2UodG9TbmFrZUNhc2UsIG9iamVjdCkgYXMgYW55IGFzIFJldHVyblR5cGU7XG59O1xuIl19
@@ -0,0 +1,2 @@
1
+ export * from './case-converter.js';
2
+ export * from './is-object.js';
@@ -0,0 +1,3 @@
1
+ export * from './case-converter.js';
2
+ export * from './is-object.js';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdXRpbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jYXNlLWNvbnZlcnRlci5qcyc7XG5leHBvcnQgKiBmcm9tICcuL2lzLW9iamVjdC5qcyc7XG4iXX0=
@@ -0,0 +1,4 @@
1
+ export const isObject = (maybeObject) => maybeObject === Object(maybeObject) &&
2
+ !Array.isArray(maybeObject) &&
3
+ typeof maybeObject !== 'function';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtb2JqZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3V0aWxzL2lzLW9iamVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSxRQUFRLEdBQUcsQ0FBQyxXQUFnQixFQUFFLEVBQUUsQ0FDM0MsV0FBVyxLQUFLLE1BQU0sQ0FBQyxXQUFXLENBQUM7SUFDbkMsQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFDLFdBQVcsQ0FBQztJQUMzQixPQUFPLFdBQVcsS0FBSyxVQUFVLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgaXNPYmplY3QgPSAobWF5YmVPYmplY3Q6IGFueSkgPT5cbiAgbWF5YmVPYmplY3QgPT09IE9iamVjdChtYXliZU9iamVjdCkgJiZcbiAgIUFycmF5LmlzQXJyYXkobWF5YmVPYmplY3QpICYmXG4gIHR5cGVvZiBtYXliZU9iamVjdCAhPT0gJ2Z1bmN0aW9uJztcbiJdfQ==
@@ -0,0 +1,90 @@
1
+ {
2
+ "name": "comic-vine-sdk",
3
+ "version": "1.2.4",
4
+ "description": "A JS/TS client for the Comic Vine API",
5
+ "keywords": [
6
+ "comic",
7
+ "comics",
8
+ "comic-vine",
9
+ "metadata"
10
+ ],
11
+ "homepage": "https://github.com/AllyMurray/comic-vine#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/AllyMurray/comic-vine/issues"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/AllyMurray/comic-vine.git"
18
+ },
19
+ "license": "MIT",
20
+ "author": "Ally Murray",
21
+ "main": "dist/cjs/index.cjs.js",
22
+ "module": "dist/mjs/index.js",
23
+ "types": "dist/mjs/index.d.ts",
24
+ "exports": {
25
+ ".": {
26
+ "import": "./dist/mjs/index.js",
27
+ "require": "./dist/cjs/index.cjs.js"
28
+ }
29
+ },
30
+ "files": [
31
+ "dist/**"
32
+ ],
33
+ "scripts": {
34
+ "build": "run-s build:**",
35
+ "build:clean": "rimraf dist",
36
+ "build:esm": "tsc -p tsconfig.build.json",
37
+ "build:cjs": "tsc -p tsconfig.cjs.build.json",
38
+ "build:package-json": "bash ./scripts/create-package-json",
39
+ "test": "jest",
40
+ "format": "prettier ./src --write",
41
+ "lint": "eslint src --fix",
42
+ "prepare": "husky install",
43
+ "prepack": "npm run build",
44
+ "commit": "cz",
45
+ "semantic-release": "semantic-release"
46
+ },
47
+ "dependencies": {
48
+ "axios": "1.3.4",
49
+ "clone-deep": "4.0.1",
50
+ "zod": "3.21.4"
51
+ },
52
+ "devDependencies": {
53
+ "@semantic-release/changelog": "6.0.2",
54
+ "@semantic-release/git": "10.0.1",
55
+ "@types/clone-deep": "4.0.1",
56
+ "@types/jest": "29.5.0",
57
+ "@types/node": "16.11.59",
58
+ "@typescript-eslint/eslint-plugin": "5.55.0",
59
+ "@typescript-eslint/parser": "5.55.0",
60
+ "commitizen": "4.3.0",
61
+ "cz-conventional-changelog": "3.3.0",
62
+ "eslint": "8.36.0",
63
+ "eslint-config-prettier": "8.7.0",
64
+ "husky": "8.0.3",
65
+ "jest": "29.5.0",
66
+ "lint-staged": "13.2.0",
67
+ "nock": "13.3.0",
68
+ "npm-run-all": "4.1.5",
69
+ "prettier": "2.8.4",
70
+ "rimraf": "3.0.2",
71
+ "semantic-release": "^19.0.5",
72
+ "ts-jest": "29.0.5",
73
+ "typescript": "5.0.2"
74
+ },
75
+ "engines": {
76
+ "node": ">=14"
77
+ },
78
+ "lint-staged": {
79
+ "*.{ts,json,md}": "npm run format",
80
+ "*.ts": "npm run lint"
81
+ },
82
+ "publishConfig": {
83
+ "access": "public"
84
+ },
85
+ "config": {
86
+ "commitizen": {
87
+ "path": "./node_modules/cz-conventional-changelog"
88
+ }
89
+ }
90
+ }
package/package.json CHANGED
@@ -1,90 +1,103 @@
1
1
  {
2
2
  "name": "comic-vine-sdk",
3
- "version": "1.2.5",
4
3
  "description": "A JS/TS client for the Comic Vine API",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://github.com/AllyMurray/comic-vine.git"
7
+ },
8
+ "scripts": {
9
+ "build": "npx projen build",
10
+ "bump": "npx projen bump",
11
+ "clobber": "npx projen clobber",
12
+ "compile": "npx projen compile",
13
+ "default": "npx projen default",
14
+ "eject": "npx projen eject",
15
+ "eslint": "npx projen eslint",
16
+ "package": "npx projen package",
17
+ "post-compile": "npx projen post-compile",
18
+ "post-upgrade": "npx projen post-upgrade",
19
+ "pre-compile": "npx projen pre-compile",
20
+ "release": "npx projen release",
21
+ "test": "npx projen test",
22
+ "unbump": "npx projen unbump",
23
+ "upgrade": "npx projen upgrade",
24
+ "watch": "npx projen watch",
25
+ "projen": "npx projen"
26
+ },
27
+ "author": {
28
+ "name": "Ally Murray",
29
+ "email": "allymurray88@gmail.com",
30
+ "organization": false
31
+ },
32
+ "devDependencies": {
33
+ "@ally-murray/projen-modules": "^0.0.11",
34
+ "@types/clone-deep": "^4.0.2",
35
+ "@types/node": "^16",
36
+ "@typescript-eslint/eslint-plugin": "^6",
37
+ "@typescript-eslint/parser": "^6",
38
+ "commander": "^11.0.0",
39
+ "commitizen": "^4.3.0",
40
+ "eslint": "^8",
41
+ "eslint-config-prettier": "^9.0.0",
42
+ "eslint-import-resolver-node": "^0.3.9",
43
+ "eslint-import-resolver-typescript": "^3.6.0",
44
+ "eslint-plugin-import": "^2.28.1",
45
+ "eslint-plugin-prettier": "^5.0.0",
46
+ "husky": "^8.0.3",
47
+ "lint-staged": "^14.0.1",
48
+ "nock": "^13.3.3",
49
+ "npm-check-updates": "^16",
50
+ "prettier": "^3.0.3",
51
+ "projen": "0.73.15",
52
+ "rimraf": "^5.0.1",
53
+ "standard-version": "^9",
54
+ "ts-node": "^10.9.1",
55
+ "typescript": "^5.2.2",
56
+ "vitest": "^0.34.3"
57
+ },
58
+ "dependencies": {
59
+ "axios": "^1.5.0",
60
+ "clone-deep": "^4.0.1",
61
+ "zod": "^3.22.2"
62
+ },
63
+ "pnpm": {},
5
64
  "keywords": [
6
65
  "comic",
7
- "comics",
66
+ "comic-metadata",
8
67
  "comic-vine",
68
+ "comic-vine-api",
69
+ "comic-vine-client",
70
+ "comic-vine-javascript",
71
+ "comic-vine-js",
72
+ "comic-vine-node",
73
+ "comic-vine-nodejs",
74
+ "comic-vine-sdk",
75
+ "comic-vine-ts",
76
+ "comic-vine-typescript",
77
+ "comics",
9
78
  "metadata"
10
79
  ],
80
+ "main": "lib/cjs/index.js",
81
+ "license": "MIT",
11
82
  "homepage": "https://github.com/AllyMurray/comic-vine#readme",
83
+ "version": "1.2.7",
12
84
  "bugs": {
13
85
  "url": "https://github.com/AllyMurray/comic-vine/issues"
14
86
  },
15
- "repository": {
16
- "type": "git",
17
- "url": "https://github.com/AllyMurray/comic-vine.git"
18
- },
19
- "license": "MIT",
20
- "author": "Ally Murray",
21
- "main": "dist/cjs/index.cjs.js",
22
- "module": "dist/mjs/index.js",
23
- "types": "dist/mjs/index.d.ts",
87
+ "types": "lib/cjs/index.d.ts",
88
+ "type": "module",
89
+ "module": "lib/esm/index.js",
24
90
  "exports": {
25
91
  ".": {
26
- "import": "./dist/mjs/index.js",
27
- "require": "./dist/cjs/index.cjs.js"
92
+ "import": {
93
+ "types": "./lib/esm/index.d.ts",
94
+ "default": "./lib/esm/index.js"
95
+ },
96
+ "require": {
97
+ "types": "./lib/cjs/index.d.ts",
98
+ "default": "./lib/cjs/index.js"
99
+ }
28
100
  }
29
101
  },
30
- "files": [
31
- "dist/**"
32
- ],
33
- "scripts": {
34
- "build": "run-s build:**",
35
- "build:clean": "rimraf dist",
36
- "build:esm": "tsc -p tsconfig.build.json",
37
- "build:cjs": "tsc -p tsconfig.cjs.build.json",
38
- "build:package-json": "bash ./scripts/create-package-json",
39
- "test": "jest",
40
- "format": "prettier ./src --write",
41
- "lint": "eslint src --fix",
42
- "prepare": "husky install",
43
- "prepack": "npm run build",
44
- "commit": "cz",
45
- "semantic-release": "semantic-release"
46
- },
47
- "dependencies": {
48
- "axios": "1.3.4",
49
- "clone-deep": "4.0.1",
50
- "zod": "3.21.4"
51
- },
52
- "devDependencies": {
53
- "@semantic-release/changelog": "6.0.2",
54
- "@semantic-release/git": "10.0.1",
55
- "@types/clone-deep": "4.0.1",
56
- "@types/jest": "29.5.0",
57
- "@types/node": "16.11.59",
58
- "@typescript-eslint/eslint-plugin": "5.55.0",
59
- "@typescript-eslint/parser": "5.55.0",
60
- "commitizen": "4.3.0",
61
- "cz-conventional-changelog": "3.3.0",
62
- "eslint": "8.36.0",
63
- "eslint-config-prettier": "8.7.0",
64
- "husky": "8.0.3",
65
- "jest": "29.5.0",
66
- "lint-staged": "13.2.0",
67
- "nock": "13.3.0",
68
- "npm-run-all": "4.1.5",
69
- "prettier": "2.8.4",
70
- "rimraf": "3.0.2",
71
- "semantic-release": "^19.0.5",
72
- "ts-jest": "29.0.5",
73
- "typescript": "5.0.2"
74
- },
75
- "engines": {
76
- "node": ">=14"
77
- },
78
- "lint-staged": {
79
- "*.{ts,json,md}": "npm run format",
80
- "*.ts": "npm run lint"
81
- },
82
- "publishConfig": {
83
- "access": "public"
84
- },
85
- "config": {
86
- "commitizen": {
87
- "path": "./node_modules/cz-conventional-changelog"
88
- }
89
- }
102
+ "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"."
90
103
  }
@@ -0,0 +1,30 @@
1
+ // ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
2
+ /**
3
+ * Creates a package.json for the given build type
4
+ */
5
+ import fs from 'fs';
6
+ import path from 'path';
7
+ import { program } from 'commander';
8
+
9
+ program
10
+ .option('--moduleType <string>', 'The module type, cjs or esm')
11
+ .option(
12
+ '--packageJsonType <string>',
13
+ 'The package.json type, either commonjs or module'
14
+ );
15
+ program.parse();
16
+
17
+ const options = program.opts();
18
+
19
+ const type = options.packageJsonType;
20
+
21
+ fs.writeFileSync(
22
+ path.resolve('lib', options.moduleType, 'package.json'),
23
+ JSON.stringify(
24
+ {
25
+ type,
26
+ },
27
+ null,
28
+ 2
29
+ )
30
+ );
@@ -0,0 +1,8 @@
1
+ import { defineConfig } from 'vitest/config';
2
+
3
+ export default defineConfig({
4
+ test: {
5
+ silent: true,
6
+ globals: true,
7
+ },
8
+ });
@@ -1,42 +0,0 @@
1
- import { userOptions } from './options';
2
- export declare class ComicVine {
3
- private _character;
4
- private _concept;
5
- private _episode;
6
- private _issue;
7
- private _location;
8
- private _movie;
9
- private _origin;
10
- private _person;
11
- private _power;
12
- private _promo;
13
- private _publisher;
14
- private _series;
15
- private _storyArc;
16
- private _team;
17
- private _thing;
18
- private _video;
19
- private _videoCategory;
20
- private _videoType;
21
- private _volume;
22
- constructor(key: string, options?: userOptions);
23
- get character(): import("./resources/character").Character;
24
- get concept(): import("./resources/concept").Concept;
25
- get episode(): import("./resources/episode").Episode;
26
- get issue(): import("./resources/issue").Issue;
27
- get location(): import("./resources/location").Location;
28
- get movie(): import("./resources/movie").Movie;
29
- get origin(): import("./resources/origin").Origin;
30
- get person(): import("./resources/person").Person;
31
- get power(): import("./resources/power").Power;
32
- get promo(): import("./resources/promo").Promo;
33
- get publisher(): import("./resources/publisher").Publisher;
34
- get series(): import("./resources/series").Series;
35
- get storyArc(): import("./resources/story-arc").StoryArc;
36
- get team(): import("./resources/team").Team;
37
- get thing(): import("./resources/thing").Thing;
38
- get video(): import("./resources/video").Video;
39
- get videoCategory(): import("./resources/video-category").VideoCategory;
40
- get videoType(): import("./resources/video-type").VideoType;
41
- get volume(): import("./resources/volume").Volume;
42
- }
@@ -1,92 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ComicVine = void 0;
4
- const options_1 = require("./options");
5
- const http_client_1 = require("./http-client");
6
- const resources_1 = require("./resources");
7
- class ComicVine {
8
- constructor(key, options) {
9
- const _options = (0, options_1.loadOptions)(options);
10
- const httpClient = http_client_1.HttpClientFactory.createClient();
11
- const urlBuilder = http_client_1.HttpClientFactory.createUrlBuilder(key, _options.baseUrl);
12
- const resourceFactory = new resources_1.ResourceFactory(httpClient, urlBuilder);
13
- this._character = resourceFactory.create('Character');
14
- this._concept = resourceFactory.create('Concept');
15
- this._episode = resourceFactory.create('Episode');
16
- this._issue = resourceFactory.create('Issue');
17
- this._location = resourceFactory.create('Location');
18
- this._movie = resourceFactory.create('Movie');
19
- this._origin = resourceFactory.create('Origin');
20
- this._person = resourceFactory.create('Person');
21
- this._power = resourceFactory.create('Power');
22
- this._promo = resourceFactory.create('Promo');
23
- this._publisher = resourceFactory.create('Publisher');
24
- this._series = resourceFactory.create('Series');
25
- this._storyArc = resourceFactory.create('StoryArc');
26
- this._team = resourceFactory.create('Team');
27
- this._thing = resourceFactory.create('Thing');
28
- this._video = resourceFactory.create('Video');
29
- this._videoCategory = resourceFactory.create('VideoCategory');
30
- this._videoType = resourceFactory.create('VideoType');
31
- this._volume = resourceFactory.create('Volume');
32
- }
33
- get character() {
34
- return this._character;
35
- }
36
- get concept() {
37
- return this._concept;
38
- }
39
- get episode() {
40
- return this._episode;
41
- }
42
- get issue() {
43
- return this._issue;
44
- }
45
- get location() {
46
- return this._location;
47
- }
48
- get movie() {
49
- return this._movie;
50
- }
51
- get origin() {
52
- return this._origin;
53
- }
54
- get person() {
55
- return this._person;
56
- }
57
- get power() {
58
- return this._power;
59
- }
60
- get promo() {
61
- return this._promo;
62
- }
63
- get publisher() {
64
- return this._publisher;
65
- }
66
- get series() {
67
- return this._series;
68
- }
69
- get storyArc() {
70
- return this._storyArc;
71
- }
72
- get team() {
73
- return this._team;
74
- }
75
- get thing() {
76
- return this._thing;
77
- }
78
- get video() {
79
- return this._video;
80
- }
81
- get videoCategory() {
82
- return this._videoCategory;
83
- }
84
- get videoType() {
85
- return this._videoType;
86
- }
87
- get volume() {
88
- return this._volume;
89
- }
90
- }
91
- exports.ComicVine = ComicVine;
92
- //# sourceMappingURL=comic-vine.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"comic-vine.js","sourceRoot":"","sources":["../../src/comic-vine.ts"],"names":[],"mappings":";;;AAAA,uCAAqD;AACrD,+CAAkD;AAClD,2CAA8C;AAE9C,MAAa,SAAS;IAqBpB,YAAY,GAAW,EAAE,OAAqB;QAC5C,MAAM,QAAQ,GAAG,IAAA,qBAAW,EAAC,OAAO,CAAC,CAAC;QACtC,MAAM,UAAU,GAAG,+BAAiB,CAAC,YAAY,EAAE,CAAC;QACpD,MAAM,UAAU,GAAG,+BAAiB,CAAC,gBAAgB,CACnD,GAAG,EACH,QAAQ,CAAC,OAAO,CACjB,CAAC;QACF,MAAM,eAAe,GAAG,IAAI,2BAAe,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;QAEpE,IAAI,CAAC,UAAU,GAAG,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QACtD,IAAI,CAAC,QAAQ,GAAG,eAAe,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;QAClD,IAAI,CAAC,QAAQ,GAAG,eAAe,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;QAClD,IAAI,CAAC,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAI,CAAC,SAAS,GAAG,eAAe,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QACpD,IAAI,CAAC,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAI,CAAC,OAAO,GAAG,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAChD,IAAI,CAAC,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAI,CAAC,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAI,CAAC,UAAU,GAAG,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QACtD,IAAI,CAAC,OAAO,GAAG,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAChD,IAAI,CAAC,SAAS,GAAG,eAAe,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QACpD,IAAI,CAAC,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAC5C,IAAI,CAAC,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAI,CAAC,MAAM,GAAG,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAI,CAAC,cAAc,GAAG,eAAe,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;QAC9D,IAAI,CAAC,UAAU,GAAG,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QACtD,IAAI,CAAC,OAAO,GAAG,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAClD,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,aAAa;QACf,OAAO,IAAI,CAAC,cAAc,CAAC;IAC7B,CAAC;IAED,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;CACF;AA9HD,8BA8HC"}
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BaseError = void 0;
4
- class BaseError extends Error {
5
- constructor(details) {
6
- super(details.message);
7
- this.name = this.constructor.name;
8
- if (Error.captureStackTrace) {
9
- Error.captureStackTrace(this, this.constructor);
10
- }
11
- this.help = details.help;
12
- }
13
- }
14
- exports.BaseError = BaseError;
15
- //# sourceMappingURL=base-error.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base-error.js","sourceRoot":"","sources":["../../../src/errors/base-error.ts"],"names":[],"mappings":";;;AAKA,MAAsB,SAAU,SAAQ,KAAK;IAG3C,YAAY,OAAqB;QAE/B,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QAGlC,IAAI,KAAK,CAAC,iBAAiB,EAAE;YAC3B,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;SACjD;QAGD,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAC3B,CAAC;CACF;AAhBD,8BAgBC"}
@@ -1,2 +0,0 @@
1
- import { GenericError } from './generic-error';
2
- export declare const customError: (error: unknown) => GenericError;
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.customError = void 0;
4
- const generic_error_1 = require("./generic-error");
5
- const customError = (error) => {
6
- if (error instanceof Error) {
7
- return new generic_error_1.GenericError(error.message);
8
- }
9
- return new generic_error_1.GenericError();
10
- };
11
- exports.customError = customError;
12
- //# sourceMappingURL=custom-error.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"custom-error.js","sourceRoot":"","sources":["../../../src/errors/custom-error.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAExC,MAAM,WAAW,GAAG,CAAC,KAAc,EAAE,EAAE;IAC5C,IAAI,KAAK,YAAY,KAAK,EAAE;QAC1B,OAAO,IAAI,4BAAY,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;KACxC;IACD,OAAO,IAAI,4BAAY,EAAE,CAAC;AAC5B,CAAC,CAAC;AALW,QAAA,WAAW,eAKtB"}
@@ -1,4 +0,0 @@
1
- import { BaseError } from './base-error';
2
- export declare class ComicVineFilterError extends BaseError {
3
- constructor();
4
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ComicVineFilterError = void 0;
4
- const base_error_1 = require("./base-error");
5
- class ComicVineFilterError extends base_error_1.BaseError {
6
- constructor() {
7
- super({
8
- message: 'There was a problem trying to filter the API results',
9
- help: 'Please open a Github issue with steps to reproduce: https://github.com/AllyMurray/comic-vine/issues',
10
- });
11
- }
12
- }
13
- exports.ComicVineFilterError = ComicVineFilterError;
14
- //# sourceMappingURL=filter-error.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filter-error.js","sourceRoot":"","sources":["../../../src/errors/filter-error.ts"],"names":[],"mappings":";;;AAAA,6CAAyC;AAEzC,MAAa,oBAAqB,SAAQ,sBAAS;IACjD;QACE,KAAK,CAAC;YACJ,OAAO,EAAE,sDAAsD;YAC/D,IAAI,EAAE,qGAAqG;SAC5G,CAAC,CAAC;IACL,CAAC;CACF;AAPD,oDAOC"}
@@ -1,4 +0,0 @@
1
- import { BaseError } from './base-error';
2
- export declare class GenericError extends BaseError {
3
- constructor(message?: string);
4
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GenericError = void 0;
4
- const base_error_1 = require("./base-error");
5
- class GenericError extends base_error_1.BaseError {
6
- constructor(message) {
7
- super({
8
- message: `An unexpected error occurred: ${message || 'Unknown Error'}`,
9
- help: 'Please open a Github issue with steps to reproduce: https://github.com/AllyMurray/comic-vine/issues',
10
- });
11
- }
12
- }
13
- exports.GenericError = GenericError;
14
- //# sourceMappingURL=generic-error.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generic-error.js","sourceRoot":"","sources":["../../../src/errors/generic-error.ts"],"names":[],"mappings":";;;AAAA,6CAAyC;AAEzC,MAAa,YAAa,SAAQ,sBAAS;IACzC,YAAY,OAAgB;QAC1B,KAAK,CAAC;YACJ,OAAO,EAAE,iCAAiC,OAAO,IAAI,eAAe,EAAE;YACtE,IAAI,EAAE,qGAAqG;SAC5G,CAAC,CAAC;IACL,CAAC;CACF;AAPD,oCAOC"}
@@ -1,7 +0,0 @@
1
- import { BaseError } from './base-error';
2
- export declare class ComicVineGenericError extends BaseError {
3
- constructor(message?: string);
4
- }
5
- export declare class ComicVineGenericRequestError extends ComicVineGenericError {
6
- constructor(message?: string);
7
- }
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ComicVineGenericRequestError = exports.ComicVineGenericError = void 0;
4
- const base_error_1 = require("./base-error");
5
- class ComicVineGenericError extends base_error_1.BaseError {
6
- constructor(message) {
7
- super({
8
- message: `Request to comic vine failed: ${message !== null && message !== void 0 ? message : 'Unknown Error'}`,
9
- help: 'Please open a Github issue with steps to reproduce: https://github.com/AllyMurray/comic-vine/issues',
10
- });
11
- }
12
- }
13
- exports.ComicVineGenericError = ComicVineGenericError;
14
- class ComicVineGenericRequestError extends ComicVineGenericError {
15
- constructor(message) {
16
- super(message);
17
- }
18
- }
19
- exports.ComicVineGenericRequestError = ComicVineGenericRequestError;
20
- //# sourceMappingURL=generic-request-error.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generic-request-error.js","sourceRoot":"","sources":["../../../src/errors/generic-request-error.ts"],"names":[],"mappings":";;;AAAA,6CAAyC;AAKzC,MAAa,qBAAsB,SAAQ,sBAAS;IAClD,YAAY,OAAgB;QAC1B,KAAK,CAAC;YACJ,OAAO,EAAE,iCAAiC,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,eAAe,EAAE;YACtE,IAAI,EAAE,qGAAqG;SAC5G,CAAC,CAAC;IACL,CAAC;CACF;AAPD,sDAOC;AAED,MAAa,4BAA6B,SAAQ,qBAAqB;IACrE,YAAY,OAAgB;QAC1B,KAAK,CAAC,OAAO,CAAC,CAAC;IACjB,CAAC;CACF;AAJD,oEAIC"}
@@ -1,10 +0,0 @@
1
- export * from './custom-error';
2
- export * from './filter-error';
3
- export * from './generic-error';
4
- export * from './generic-request-error';
5
- export * from './jsonp-callback-missing-error';
6
- export * from './object-not-found-error';
7
- export * from './options-validation-error';
8
- export * from './subscriber-only-error';
9
- export * from './unauthorized-error';
10
- export * from './url-format-error';