isbnlab 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2075 @@
1
+ /**
2
+ * ISBNLab API
3
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: hello@isbnlab.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ declare const BASE_PATH: string;
13
+ interface ConfigurationParameters {
14
+ basePath?: string;
15
+ fetchApi?: FetchAPI;
16
+ middleware?: Middleware[];
17
+ queryParamsStringify?: (params: HTTPQuery) => string;
18
+ username?: string;
19
+ password?: string;
20
+ apiKey?: string | Promise<string> | ((name: string) => string | Promise<string>);
21
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
22
+ headers?: HTTPHeaders;
23
+ credentials?: RequestCredentials;
24
+ }
25
+ declare class Configuration {
26
+ private configuration;
27
+ constructor(configuration?: ConfigurationParameters);
28
+ set config(configuration: Configuration);
29
+ get basePath(): string;
30
+ get fetchApi(): FetchAPI | undefined;
31
+ get middleware(): Middleware[];
32
+ get queryParamsStringify(): (params: HTTPQuery) => string;
33
+ get username(): string | undefined;
34
+ get password(): string | undefined;
35
+ get apiKey(): ((name: string) => string | Promise<string>) | undefined;
36
+ get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
37
+ get headers(): HTTPHeaders | undefined;
38
+ get credentials(): RequestCredentials | undefined;
39
+ }
40
+ declare const DefaultConfig: Configuration;
41
+ /**
42
+ * This is the base class for all generated API classes.
43
+ */
44
+ declare class BaseAPI {
45
+ protected configuration: Configuration;
46
+ private static readonly jsonRegex;
47
+ private middleware;
48
+ constructor(configuration?: Configuration);
49
+ withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
50
+ withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
51
+ withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
52
+ /**
53
+ * Check if the given MIME is a JSON MIME.
54
+ * JSON MIME examples:
55
+ * application/json
56
+ * application/json; charset=UTF8
57
+ * APPLICATION/JSON
58
+ * application/vnd.company+json
59
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
60
+ * @return True if the given MIME is JSON, false otherwise.
61
+ */
62
+ protected isJsonMime(mime: string | null | undefined): boolean;
63
+ protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
64
+ private createFetchParams;
65
+ private fetchApi;
66
+ /**
67
+ * Create a shallow clone of `this` by constructing a new instance
68
+ * and then shallow cloning data members.
69
+ */
70
+ private clone;
71
+ }
72
+ declare class ResponseError extends Error {
73
+ response: Response;
74
+ name: "ResponseError";
75
+ constructor(response: Response, msg?: string);
76
+ }
77
+ declare class FetchError extends Error {
78
+ cause: Error;
79
+ name: "FetchError";
80
+ constructor(cause: Error, msg?: string);
81
+ }
82
+ declare class RequiredError extends Error {
83
+ field: string;
84
+ name: "RequiredError";
85
+ constructor(field: string, msg?: string);
86
+ }
87
+ declare const COLLECTION_FORMATS: {
88
+ csv: string;
89
+ ssv: string;
90
+ tsv: string;
91
+ pipes: string;
92
+ };
93
+ type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
94
+ type Json = any;
95
+ type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
96
+ type HTTPHeaders = {
97
+ [key: string]: string;
98
+ };
99
+ type HTTPQuery = {
100
+ [key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
101
+ };
102
+ type HTTPBody = Json | FormData | URLSearchParams;
103
+ type HTTPRequestInit = {
104
+ headers?: HTTPHeaders;
105
+ method: HTTPMethod;
106
+ credentials?: RequestCredentials;
107
+ body?: HTTPBody;
108
+ };
109
+ type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
110
+ type InitOverrideFunction = (requestContext: {
111
+ init: HTTPRequestInit;
112
+ context: RequestOpts;
113
+ }) => Promise<RequestInit>;
114
+ interface FetchParams {
115
+ url: string;
116
+ init: RequestInit;
117
+ }
118
+ interface RequestOpts {
119
+ path: string;
120
+ method: HTTPMethod;
121
+ headers: HTTPHeaders;
122
+ query?: HTTPQuery;
123
+ body?: HTTPBody;
124
+ }
125
+ declare function querystring(params: HTTPQuery, prefix?: string): string;
126
+ declare function exists(json: any, key: string): boolean;
127
+ declare function mapValues(data: any, fn: (item: any) => any): {
128
+ [key: string]: any;
129
+ };
130
+ declare function canConsumeForm(consumes: Consume[]): boolean;
131
+ interface Consume {
132
+ contentType: string;
133
+ }
134
+ interface RequestContext {
135
+ fetch: FetchAPI;
136
+ url: string;
137
+ init: RequestInit;
138
+ }
139
+ interface ResponseContext {
140
+ fetch: FetchAPI;
141
+ url: string;
142
+ init: RequestInit;
143
+ response: Response;
144
+ }
145
+ interface ErrorContext {
146
+ fetch: FetchAPI;
147
+ url: string;
148
+ init: RequestInit;
149
+ error: unknown;
150
+ response?: Response;
151
+ }
152
+ interface Middleware {
153
+ pre?(context: RequestContext): Promise<FetchParams | void>;
154
+ post?(context: ResponseContext): Promise<Response | void>;
155
+ onError?(context: ErrorContext): Promise<Response | void>;
156
+ }
157
+ interface ApiResponse<T> {
158
+ raw: Response;
159
+ value(): Promise<T>;
160
+ }
161
+ interface ResponseTransformer<T> {
162
+ (json: any): T;
163
+ }
164
+ declare class JSONApiResponse<T> {
165
+ raw: Response;
166
+ private transformer;
167
+ constructor(raw: Response, transformer?: ResponseTransformer<T>);
168
+ value(): Promise<T>;
169
+ }
170
+ declare class VoidApiResponse {
171
+ raw: Response;
172
+ constructor(raw: Response);
173
+ value(): Promise<void>;
174
+ }
175
+ declare class BlobApiResponse {
176
+ raw: Response;
177
+ constructor(raw: Response);
178
+ value(): Promise<Blob>;
179
+ }
180
+ declare class TextApiResponse {
181
+ raw: Response;
182
+ constructor(raw: Response);
183
+ value(): Promise<string>;
184
+ }
185
+
186
+ /**
187
+ * ISBNLab API
188
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
189
+ *
190
+ * The version of the OpenAPI document: 1.0.0
191
+ * Contact: hello@isbnlab.com
192
+ *
193
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
194
+ * https://openapi-generator.tech
195
+ * Do not edit the class manually.
196
+ */
197
+ /**
198
+ *
199
+ * @export
200
+ * @interface AuthorPhoto
201
+ */
202
+ interface AuthorPhoto {
203
+ /**
204
+ *
205
+ * @type {string}
206
+ * @memberof AuthorPhoto
207
+ */
208
+ url?: string | null;
209
+ /**
210
+ *
211
+ * @type {number}
212
+ * @memberof AuthorPhoto
213
+ */
214
+ width?: number | null;
215
+ /**
216
+ *
217
+ * @type {number}
218
+ * @memberof AuthorPhoto
219
+ */
220
+ height?: number | null;
221
+ /**
222
+ *
223
+ * @type {string}
224
+ * @memberof AuthorPhoto
225
+ */
226
+ credit?: string | null;
227
+ /**
228
+ *
229
+ * @type {string}
230
+ * @memberof AuthorPhoto
231
+ */
232
+ license?: string | null;
233
+ /**
234
+ *
235
+ * @type {string}
236
+ * @memberof AuthorPhoto
237
+ */
238
+ licenseUrl?: string | null;
239
+ }
240
+ /**
241
+ * Check if a given object implements the AuthorPhoto interface.
242
+ */
243
+ declare function instanceOfAuthorPhoto(value: object): value is AuthorPhoto;
244
+ declare function AuthorPhotoFromJSON(json: any): AuthorPhoto;
245
+ declare function AuthorPhotoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthorPhoto;
246
+ declare function AuthorPhotoToJSON(json: any): AuthorPhoto;
247
+ declare function AuthorPhotoToJSONTyped(value?: AuthorPhoto | null, ignoreDiscriminator?: boolean): any;
248
+
249
+ /**
250
+ * ISBNLab API
251
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
252
+ *
253
+ * The version of the OpenAPI document: 1.0.0
254
+ * Contact: hello@isbnlab.com
255
+ *
256
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
257
+ * https://openapi-generator.tech
258
+ * Do not edit the class manually.
259
+ */
260
+
261
+ /**
262
+ *
263
+ * @export
264
+ * @interface Author
265
+ */
266
+ interface Author {
267
+ /**
268
+ *
269
+ * @type {string}
270
+ * @memberof Author
271
+ */
272
+ name?: string | null;
273
+ /**
274
+ *
275
+ * @type {string}
276
+ * @memberof Author
277
+ */
278
+ slug?: string | null;
279
+ /**
280
+ *
281
+ * @type {Array<string>}
282
+ * @memberof Author
283
+ */
284
+ alternativeNames?: Array<string> | null;
285
+ /**
286
+ *
287
+ * @type {Date}
288
+ * @memberof Author
289
+ */
290
+ deathDate?: Date | null;
291
+ /**
292
+ *
293
+ * @type {Date}
294
+ * @memberof Author
295
+ */
296
+ birthDate?: Date | null;
297
+ /**
298
+ *
299
+ * @type {string}
300
+ * @memberof Author
301
+ */
302
+ bio?: string | null;
303
+ /**
304
+ *
305
+ * @type {Array<AuthorPhoto>}
306
+ * @memberof Author
307
+ */
308
+ photos?: Array<AuthorPhoto> | null;
309
+ }
310
+ /**
311
+ * Check if a given object implements the Author interface.
312
+ */
313
+ declare function instanceOfAuthor(value: object): value is Author;
314
+ declare function AuthorFromJSON(json: any): Author;
315
+ declare function AuthorFromJSONTyped(json: any, ignoreDiscriminator: boolean): Author;
316
+ declare function AuthorToJSON(json: any): Author;
317
+ declare function AuthorToJSONTyped(value?: Author | null, ignoreDiscriminator?: boolean): any;
318
+
319
+ /**
320
+ * ISBNLab API
321
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
322
+ *
323
+ * The version of the OpenAPI document: 1.0.0
324
+ * Contact: hello@isbnlab.com
325
+ *
326
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
327
+ * https://openapi-generator.tech
328
+ * Do not edit the class manually.
329
+ */
330
+ /**
331
+ *
332
+ * @export
333
+ * @interface RetailLink
334
+ */
335
+ interface RetailLink {
336
+ /**
337
+ *
338
+ * @type {string}
339
+ * @memberof RetailLink
340
+ */
341
+ retailer?: string | null;
342
+ /**
343
+ *
344
+ * @type {string}
345
+ * @memberof RetailLink
346
+ */
347
+ url?: string | null;
348
+ }
349
+ /**
350
+ * Check if a given object implements the RetailLink interface.
351
+ */
352
+ declare function instanceOfRetailLink(value: object): value is RetailLink;
353
+ declare function RetailLinkFromJSON(json: any): RetailLink;
354
+ declare function RetailLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): RetailLink;
355
+ declare function RetailLinkToJSON(json: any): RetailLink;
356
+ declare function RetailLinkToJSONTyped(value?: RetailLink | null, ignoreDiscriminator?: boolean): any;
357
+
358
+ /**
359
+ * ISBNLab API
360
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
361
+ *
362
+ * The version of the OpenAPI document: 1.0.0
363
+ * Contact: hello@isbnlab.com
364
+ *
365
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
366
+ * https://openapi-generator.tech
367
+ * Do not edit the class manually.
368
+ */
369
+ /**
370
+ *
371
+ * @export
372
+ * @interface SeriesBook
373
+ */
374
+ interface SeriesBook {
375
+ /**
376
+ *
377
+ * @type {string}
378
+ * @memberof SeriesBook
379
+ */
380
+ isbn10?: string | null;
381
+ /**
382
+ *
383
+ * @type {string}
384
+ * @memberof SeriesBook
385
+ */
386
+ isbn13?: string | null;
387
+ /**
388
+ *
389
+ * @type {string}
390
+ * @memberof SeriesBook
391
+ */
392
+ title?: string | null;
393
+ /**
394
+ *
395
+ * @type {string}
396
+ * @memberof SeriesBook
397
+ */
398
+ slug?: string | null;
399
+ /**
400
+ *
401
+ * @type {number}
402
+ * @memberof SeriesBook
403
+ */
404
+ number?: number | null;
405
+ /**
406
+ *
407
+ * @type {number}
408
+ * @memberof SeriesBook
409
+ */
410
+ workId?: number | null;
411
+ /**
412
+ *
413
+ * @type {string}
414
+ * @memberof SeriesBook
415
+ */
416
+ workSlug?: string | null;
417
+ }
418
+ /**
419
+ * Check if a given object implements the SeriesBook interface.
420
+ */
421
+ declare function instanceOfSeriesBook(value: object): value is SeriesBook;
422
+ declare function SeriesBookFromJSON(json: any): SeriesBook;
423
+ declare function SeriesBookFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeriesBook;
424
+ declare function SeriesBookToJSON(json: any): SeriesBook;
425
+ declare function SeriesBookToJSONTyped(value?: SeriesBook | null, ignoreDiscriminator?: boolean): any;
426
+
427
+ /**
428
+ * ISBNLab API
429
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
430
+ *
431
+ * The version of the OpenAPI document: 1.0.0
432
+ * Contact: hello@isbnlab.com
433
+ *
434
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
435
+ * https://openapi-generator.tech
436
+ * Do not edit the class manually.
437
+ */
438
+ /**
439
+ *
440
+ * @export
441
+ * @interface SeriesParent
442
+ */
443
+ interface SeriesParent {
444
+ /**
445
+ *
446
+ * @type {number}
447
+ * @memberof SeriesParent
448
+ */
449
+ id?: number | null;
450
+ /**
451
+ *
452
+ * @type {string}
453
+ * @memberof SeriesParent
454
+ */
455
+ slug?: string | null;
456
+ /**
457
+ *
458
+ * @type {string}
459
+ * @memberof SeriesParent
460
+ */
461
+ name?: string | null;
462
+ }
463
+ /**
464
+ * Check if a given object implements the SeriesParent interface.
465
+ */
466
+ declare function instanceOfSeriesParent(value: object): value is SeriesParent;
467
+ declare function SeriesParentFromJSON(json: any): SeriesParent;
468
+ declare function SeriesParentFromJSONTyped(json: any, ignoreDiscriminator: boolean): SeriesParent;
469
+ declare function SeriesParentToJSON(json: any): SeriesParent;
470
+ declare function SeriesParentToJSONTyped(value?: SeriesParent | null, ignoreDiscriminator?: boolean): any;
471
+
472
+ /**
473
+ * ISBNLab API
474
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
475
+ *
476
+ * The version of the OpenAPI document: 1.0.0
477
+ * Contact: hello@isbnlab.com
478
+ *
479
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
480
+ * https://openapi-generator.tech
481
+ * Do not edit the class manually.
482
+ */
483
+
484
+ /**
485
+ *
486
+ * @export
487
+ * @interface OtherSeries
488
+ */
489
+ interface OtherSeries {
490
+ /**
491
+ *
492
+ * @type {number}
493
+ * @memberof OtherSeries
494
+ */
495
+ id?: number | null;
496
+ /**
497
+ *
498
+ * @type {string}
499
+ * @memberof OtherSeries
500
+ */
501
+ identifier?: string | null;
502
+ /**
503
+ *
504
+ * @type {string}
505
+ * @memberof OtherSeries
506
+ */
507
+ slug?: string | null;
508
+ /**
509
+ *
510
+ * @type {string}
511
+ * @memberof OtherSeries
512
+ */
513
+ name?: string | null;
514
+ /**
515
+ *
516
+ * @type {number}
517
+ * @memberof OtherSeries
518
+ */
519
+ number?: number | null;
520
+ /**
521
+ *
522
+ * @type {string}
523
+ * @memberof OtherSeries
524
+ */
525
+ kind?: OtherSeriesKindEnum | null;
526
+ /**
527
+ *
528
+ * @type {SeriesParent}
529
+ * @memberof OtherSeries
530
+ */
531
+ parent?: SeriesParent | null;
532
+ }
533
+ /**
534
+ * @export
535
+ */
536
+ declare const OtherSeriesKindEnum: {
537
+ readonly Story: "story";
538
+ readonly Collection: "collection";
539
+ readonly Unknown: "unknown";
540
+ readonly UnknownDefaultOpenApi: "11184809";
541
+ };
542
+ type OtherSeriesKindEnum = typeof OtherSeriesKindEnum[keyof typeof OtherSeriesKindEnum];
543
+ /**
544
+ * Check if a given object implements the OtherSeries interface.
545
+ */
546
+ declare function instanceOfOtherSeries(value: object): value is OtherSeries;
547
+ declare function OtherSeriesFromJSON(json: any): OtherSeries;
548
+ declare function OtherSeriesFromJSONTyped(json: any, ignoreDiscriminator: boolean): OtherSeries;
549
+ declare function OtherSeriesToJSON(json: any): OtherSeries;
550
+ declare function OtherSeriesToJSONTyped(value?: OtherSeries | null, ignoreDiscriminator?: boolean): any;
551
+
552
+ /**
553
+ * ISBNLab API
554
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
555
+ *
556
+ * The version of the OpenAPI document: 1.0.0
557
+ * Contact: hello@isbnlab.com
558
+ *
559
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
560
+ * https://openapi-generator.tech
561
+ * Do not edit the class manually.
562
+ */
563
+
564
+ /**
565
+ *
566
+ * @export
567
+ * @interface Series
568
+ */
569
+ interface Series {
570
+ /**
571
+ *
572
+ * @type {number}
573
+ * @memberof Series
574
+ */
575
+ id?: number | null;
576
+ /**
577
+ *
578
+ * @type {string}
579
+ * @memberof Series
580
+ */
581
+ identifier?: string | null;
582
+ /**
583
+ *
584
+ * @type {string}
585
+ * @memberof Series
586
+ */
587
+ slug?: string | null;
588
+ /**
589
+ *
590
+ * @type {string}
591
+ * @memberof Series
592
+ */
593
+ name?: string | null;
594
+ /**
595
+ *
596
+ * @type {number}
597
+ * @memberof Series
598
+ */
599
+ number?: number | null;
600
+ /**
601
+ *
602
+ * @type {string}
603
+ * @memberof Series
604
+ */
605
+ kind?: SeriesKindEnum | null;
606
+ /**
607
+ *
608
+ * @type {SeriesParent}
609
+ * @memberof Series
610
+ */
611
+ parent?: SeriesParent | null;
612
+ /**
613
+ *
614
+ * @type {Array<OtherSeries>}
615
+ * @memberof Series
616
+ */
617
+ otherSeries?: Array<OtherSeries> | null;
618
+ /**
619
+ *
620
+ * @type {SeriesBook}
621
+ * @memberof Series
622
+ */
623
+ previousBook?: SeriesBook | null;
624
+ /**
625
+ *
626
+ * @type {SeriesBook}
627
+ * @memberof Series
628
+ */
629
+ nextBook?: SeriesBook | null;
630
+ }
631
+ /**
632
+ * @export
633
+ */
634
+ declare const SeriesKindEnum: {
635
+ readonly Story: "story";
636
+ readonly Collection: "collection";
637
+ readonly Unknown: "unknown";
638
+ readonly UnknownDefaultOpenApi: "11184809";
639
+ };
640
+ type SeriesKindEnum = typeof SeriesKindEnum[keyof typeof SeriesKindEnum];
641
+ /**
642
+ * Check if a given object implements the Series interface.
643
+ */
644
+ declare function instanceOfSeries(value: object): value is Series;
645
+ declare function SeriesFromJSON(json: any): Series;
646
+ declare function SeriesFromJSONTyped(json: any, ignoreDiscriminator: boolean): Series;
647
+ declare function SeriesToJSON(json: any): Series;
648
+ declare function SeriesToJSONTyped(value?: Series | null, ignoreDiscriminator?: boolean): any;
649
+
650
+ /**
651
+ * ISBNLab API
652
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
653
+ *
654
+ * The version of the OpenAPI document: 1.0.0
655
+ * Contact: hello@isbnlab.com
656
+ *
657
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
658
+ * https://openapi-generator.tech
659
+ * Do not edit the class manually.
660
+ */
661
+ /**
662
+ *
663
+ * @export
664
+ * @interface Category
665
+ */
666
+ interface Category {
667
+ /**
668
+ *
669
+ * @type {number}
670
+ * @memberof Category
671
+ */
672
+ id?: number | null;
673
+ /**
674
+ *
675
+ * @type {string}
676
+ * @memberof Category
677
+ */
678
+ name?: string | null;
679
+ /**
680
+ *
681
+ * @type {string}
682
+ * @memberof Category
683
+ */
684
+ uri?: string | null;
685
+ }
686
+ /**
687
+ * Check if a given object implements the Category interface.
688
+ */
689
+ declare function instanceOfCategory(value: object): value is Category;
690
+ declare function CategoryFromJSON(json: any): Category;
691
+ declare function CategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): Category;
692
+ declare function CategoryToJSON(json: any): Category;
693
+ declare function CategoryToJSONTyped(value?: Category | null, ignoreDiscriminator?: boolean): any;
694
+
695
+ /**
696
+ * ISBNLab API
697
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
698
+ *
699
+ * The version of the OpenAPI document: 1.0.0
700
+ * Contact: hello@isbnlab.com
701
+ *
702
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
703
+ * https://openapi-generator.tech
704
+ * Do not edit the class manually.
705
+ */
706
+ /**
707
+ *
708
+ * @export
709
+ * @interface EditionRef
710
+ */
711
+ interface EditionRef {
712
+ /**
713
+ *
714
+ * @type {string}
715
+ * @memberof EditionRef
716
+ */
717
+ isbn10?: string | null;
718
+ /**
719
+ *
720
+ * @type {string}
721
+ * @memberof EditionRef
722
+ */
723
+ isbn13?: string | null;
724
+ /**
725
+ *
726
+ * @type {string}
727
+ * @memberof EditionRef
728
+ */
729
+ title?: string | null;
730
+ /**
731
+ *
732
+ * @type {string}
733
+ * @memberof EditionRef
734
+ */
735
+ slug?: string | null;
736
+ /**
737
+ *
738
+ * @type {string}
739
+ * @memberof EditionRef
740
+ */
741
+ published?: string | null;
742
+ /**
743
+ *
744
+ * @type {string}
745
+ * @memberof EditionRef
746
+ */
747
+ physicalFormat?: string | null;
748
+ /**
749
+ *
750
+ * @type {number}
751
+ * @memberof EditionRef
752
+ */
753
+ pages?: number | null;
754
+ /**
755
+ *
756
+ * @type {string}
757
+ * @memberof EditionRef
758
+ */
759
+ imprint?: string | null;
760
+ }
761
+ /**
762
+ * Check if a given object implements the EditionRef interface.
763
+ */
764
+ declare function instanceOfEditionRef(value: object): value is EditionRef;
765
+ declare function EditionRefFromJSON(json: any): EditionRef;
766
+ declare function EditionRefFromJSONTyped(json: any, ignoreDiscriminator: boolean): EditionRef;
767
+ declare function EditionRefToJSON(json: any): EditionRef;
768
+ declare function EditionRefToJSONTyped(value?: EditionRef | null, ignoreDiscriminator?: boolean): any;
769
+
770
+ /**
771
+ * ISBNLab API
772
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
773
+ *
774
+ * The version of the OpenAPI document: 1.0.0
775
+ * Contact: hello@isbnlab.com
776
+ *
777
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
778
+ * https://openapi-generator.tech
779
+ * Do not edit the class manually.
780
+ */
781
+ /**
782
+ *
783
+ * @export
784
+ * @interface IsbnDetails
785
+ */
786
+ interface IsbnDetails {
787
+ /**
788
+ *
789
+ * @type {string}
790
+ * @memberof IsbnDetails
791
+ */
792
+ id?: string | null;
793
+ /**
794
+ *
795
+ * @type {string}
796
+ * @memberof IsbnDetails
797
+ */
798
+ isbn10?: string | null;
799
+ /**
800
+ *
801
+ * @type {string}
802
+ * @memberof IsbnDetails
803
+ */
804
+ isbn10Formatted?: string | null;
805
+ /**
806
+ *
807
+ * @type {string}
808
+ * @memberof IsbnDetails
809
+ */
810
+ isbn13?: string | null;
811
+ /**
812
+ *
813
+ * @type {string}
814
+ * @memberof IsbnDetails
815
+ */
816
+ isbn13Formatted?: string | null;
817
+ /**
818
+ *
819
+ * @type {string}
820
+ * @memberof IsbnDetails
821
+ */
822
+ ean?: string | null;
823
+ /**
824
+ *
825
+ * @type {string}
826
+ * @memberof IsbnDetails
827
+ */
828
+ asin?: string | null;
829
+ /**
830
+ *
831
+ * @type {string}
832
+ * @memberof IsbnDetails
833
+ */
834
+ prefix?: string | null;
835
+ /**
836
+ *
837
+ * @type {string}
838
+ * @memberof IsbnDetails
839
+ */
840
+ registrationGroup?: string | null;
841
+ /**
842
+ *
843
+ * @type {string}
844
+ * @memberof IsbnDetails
845
+ */
846
+ registrationGroupName?: string | null;
847
+ /**
848
+ *
849
+ * @type {string}
850
+ * @memberof IsbnDetails
851
+ */
852
+ groupIdentifier?: string | null;
853
+ /**
854
+ *
855
+ * @type {string}
856
+ * @memberof IsbnDetails
857
+ */
858
+ registrant?: string | null;
859
+ /**
860
+ *
861
+ * @type {string}
862
+ * @memberof IsbnDetails
863
+ */
864
+ publication?: string | null;
865
+ /**
866
+ *
867
+ * @type {string}
868
+ * @memberof IsbnDetails
869
+ */
870
+ checkDigit?: string | null;
871
+ }
872
+ /**
873
+ * Check if a given object implements the IsbnDetails interface.
874
+ */
875
+ declare function instanceOfIsbnDetails(value: object): value is IsbnDetails;
876
+ declare function IsbnDetailsFromJSON(json: any): IsbnDetails;
877
+ declare function IsbnDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): IsbnDetails;
878
+ declare function IsbnDetailsToJSON(json: any): IsbnDetails;
879
+ declare function IsbnDetailsToJSONTyped(value?: IsbnDetails | null, ignoreDiscriminator?: boolean): any;
880
+
881
+ /**
882
+ * ISBNLab API
883
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
884
+ *
885
+ * The version of the OpenAPI document: 1.0.0
886
+ * Contact: hello@isbnlab.com
887
+ *
888
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
889
+ * https://openapi-generator.tech
890
+ * Do not edit the class manually.
891
+ */
892
+ /**
893
+ *
894
+ * @export
895
+ * @interface SubjectRef
896
+ */
897
+ interface SubjectRef {
898
+ /**
899
+ *
900
+ * @type {number}
901
+ * @memberof SubjectRef
902
+ */
903
+ id?: number | null;
904
+ /**
905
+ *
906
+ * @type {string}
907
+ * @memberof SubjectRef
908
+ */
909
+ slug?: string | null;
910
+ /**
911
+ *
912
+ * @type {string}
913
+ * @memberof SubjectRef
914
+ */
915
+ name?: string | null;
916
+ /**
917
+ *
918
+ * @type {boolean}
919
+ * @memberof SubjectRef
920
+ */
921
+ inherited?: boolean | null;
922
+ }
923
+ /**
924
+ * Check if a given object implements the SubjectRef interface.
925
+ */
926
+ declare function instanceOfSubjectRef(value: object): value is SubjectRef;
927
+ declare function SubjectRefFromJSON(json: any): SubjectRef;
928
+ declare function SubjectRefFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubjectRef;
929
+ declare function SubjectRefToJSON(json: any): SubjectRef;
930
+ declare function SubjectRefToJSONTyped(value?: SubjectRef | null, ignoreDiscriminator?: boolean): any;
931
+
932
+ /**
933
+ * ISBNLab API
934
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
935
+ *
936
+ * The version of the OpenAPI document: 1.0.0
937
+ * Contact: hello@isbnlab.com
938
+ *
939
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
940
+ * https://openapi-generator.tech
941
+ * Do not edit the class manually.
942
+ */
943
+ /**
944
+ *
945
+ * @export
946
+ * @interface Contributor
947
+ */
948
+ interface Contributor {
949
+ /**
950
+ *
951
+ * @type {number}
952
+ * @memberof Contributor
953
+ */
954
+ id?: number | null;
955
+ /**
956
+ *
957
+ * @type {string}
958
+ * @memberof Contributor
959
+ */
960
+ slug?: string | null;
961
+ /**
962
+ *
963
+ * @type {string}
964
+ * @memberof Contributor
965
+ */
966
+ name?: string | null;
967
+ /**
968
+ *
969
+ * @type {string}
970
+ * @memberof Contributor
971
+ */
972
+ role?: ContributorRoleEnum | null;
973
+ }
974
+ /**
975
+ * @export
976
+ */
977
+ declare const ContributorRoleEnum: {
978
+ readonly Translator: "translator";
979
+ readonly Illustrator: "illustrator";
980
+ readonly Editor: "editor";
981
+ readonly Narrator: "narrator";
982
+ readonly Introduction: "introduction";
983
+ readonly Photographer: "photographer";
984
+ readonly UnknownDefaultOpenApi: "11184809";
985
+ };
986
+ type ContributorRoleEnum = typeof ContributorRoleEnum[keyof typeof ContributorRoleEnum];
987
+ /**
988
+ * Check if a given object implements the Contributor interface.
989
+ */
990
+ declare function instanceOfContributor(value: object): value is Contributor;
991
+ declare function ContributorFromJSON(json: any): Contributor;
992
+ declare function ContributorFromJSONTyped(json: any, ignoreDiscriminator: boolean): Contributor;
993
+ declare function ContributorToJSON(json: any): Contributor;
994
+ declare function ContributorToJSONTyped(value?: Contributor | null, ignoreDiscriminator?: boolean): any;
995
+
996
+ /**
997
+ * ISBNLab API
998
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
999
+ *
1000
+ * The version of the OpenAPI document: 1.0.0
1001
+ * Contact: hello@isbnlab.com
1002
+ *
1003
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1004
+ * https://openapi-generator.tech
1005
+ * Do not edit the class manually.
1006
+ */
1007
+ /**
1008
+ *
1009
+ * @export
1010
+ * @interface EntityRef
1011
+ */
1012
+ interface EntityRef {
1013
+ /**
1014
+ *
1015
+ * @type {number}
1016
+ * @memberof EntityRef
1017
+ */
1018
+ id?: number | null;
1019
+ /**
1020
+ *
1021
+ * @type {string}
1022
+ * @memberof EntityRef
1023
+ */
1024
+ slug?: string | null;
1025
+ /**
1026
+ *
1027
+ * @type {string}
1028
+ * @memberof EntityRef
1029
+ */
1030
+ name?: string | null;
1031
+ }
1032
+ /**
1033
+ * Check if a given object implements the EntityRef interface.
1034
+ */
1035
+ declare function instanceOfEntityRef(value: object): value is EntityRef;
1036
+ declare function EntityRefFromJSON(json: any): EntityRef;
1037
+ declare function EntityRefFromJSONTyped(json: any, ignoreDiscriminator: boolean): EntityRef;
1038
+ declare function EntityRefToJSON(json: any): EntityRef;
1039
+ declare function EntityRefToJSONTyped(value?: EntityRef | null, ignoreDiscriminator?: boolean): any;
1040
+
1041
+ /**
1042
+ * ISBNLab API
1043
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
1044
+ *
1045
+ * The version of the OpenAPI document: 1.0.0
1046
+ * Contact: hello@isbnlab.com
1047
+ *
1048
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1049
+ * https://openapi-generator.tech
1050
+ * Do not edit the class manually.
1051
+ */
1052
+ /**
1053
+ *
1054
+ * @export
1055
+ * @interface RatingSummary
1056
+ */
1057
+ interface RatingSummary {
1058
+ /**
1059
+ *
1060
+ * @type {number}
1061
+ * @memberof RatingSummary
1062
+ */
1063
+ average?: number | null;
1064
+ /**
1065
+ *
1066
+ * @type {number}
1067
+ * @memberof RatingSummary
1068
+ */
1069
+ count?: number | null;
1070
+ /**
1071
+ *
1072
+ * @type {number}
1073
+ * @memberof RatingSummary
1074
+ */
1075
+ sum?: number | null;
1076
+ }
1077
+ /**
1078
+ * Check if a given object implements the RatingSummary interface.
1079
+ */
1080
+ declare function instanceOfRatingSummary(value: object): value is RatingSummary;
1081
+ declare function RatingSummaryFromJSON(json: any): RatingSummary;
1082
+ declare function RatingSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): RatingSummary;
1083
+ declare function RatingSummaryToJSON(json: any): RatingSummary;
1084
+ declare function RatingSummaryToJSONTyped(value?: RatingSummary | null, ignoreDiscriminator?: boolean): any;
1085
+
1086
+ /**
1087
+ * ISBNLab API
1088
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
1089
+ *
1090
+ * The version of the OpenAPI document: 1.0.0
1091
+ * Contact: hello@isbnlab.com
1092
+ *
1093
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1094
+ * https://openapi-generator.tech
1095
+ * Do not edit the class manually.
1096
+ */
1097
+ /**
1098
+ *
1099
+ * @export
1100
+ * @interface RatingCounts
1101
+ */
1102
+ interface RatingCounts {
1103
+ /**
1104
+ *
1105
+ * @type {number}
1106
+ * @memberof RatingCounts
1107
+ */
1108
+ _1?: number | null;
1109
+ /**
1110
+ *
1111
+ * @type {number}
1112
+ * @memberof RatingCounts
1113
+ */
1114
+ _2?: number | null;
1115
+ /**
1116
+ *
1117
+ * @type {number}
1118
+ * @memberof RatingCounts
1119
+ */
1120
+ _3?: number | null;
1121
+ /**
1122
+ *
1123
+ * @type {number}
1124
+ * @memberof RatingCounts
1125
+ */
1126
+ _4?: number | null;
1127
+ /**
1128
+ *
1129
+ * @type {number}
1130
+ * @memberof RatingCounts
1131
+ */
1132
+ _5?: number | null;
1133
+ }
1134
+ /**
1135
+ * Check if a given object implements the RatingCounts interface.
1136
+ */
1137
+ declare function instanceOfRatingCounts(value: object): value is RatingCounts;
1138
+ declare function RatingCountsFromJSON(json: any): RatingCounts;
1139
+ declare function RatingCountsFromJSONTyped(json: any, ignoreDiscriminator: boolean): RatingCounts;
1140
+ declare function RatingCountsToJSON(json: any): RatingCounts;
1141
+ declare function RatingCountsToJSONTyped(value?: RatingCounts | null, ignoreDiscriminator?: boolean): any;
1142
+
1143
+ /**
1144
+ * ISBNLab API
1145
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
1146
+ *
1147
+ * The version of the OpenAPI document: 1.0.0
1148
+ * Contact: hello@isbnlab.com
1149
+ *
1150
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1151
+ * https://openapi-generator.tech
1152
+ * Do not edit the class manually.
1153
+ */
1154
+
1155
+ /**
1156
+ *
1157
+ * @export
1158
+ * @interface Ratings
1159
+ */
1160
+ interface Ratings {
1161
+ /**
1162
+ *
1163
+ * @type {RatingSummary}
1164
+ * @memberof Ratings
1165
+ */
1166
+ summary?: RatingSummary | null;
1167
+ /**
1168
+ *
1169
+ * @type {RatingCounts}
1170
+ * @memberof Ratings
1171
+ */
1172
+ counts?: RatingCounts | null;
1173
+ }
1174
+ /**
1175
+ * Check if a given object implements the Ratings interface.
1176
+ */
1177
+ declare function instanceOfRatings(value: object): value is Ratings;
1178
+ declare function RatingsFromJSON(json: any): Ratings;
1179
+ declare function RatingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ratings;
1180
+ declare function RatingsToJSON(json: any): Ratings;
1181
+ declare function RatingsToJSONTyped(value?: Ratings | null, ignoreDiscriminator?: boolean): any;
1182
+
1183
+ /**
1184
+ * ISBNLab API
1185
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
1186
+ *
1187
+ * The version of the OpenAPI document: 1.0.0
1188
+ * Contact: hello@isbnlab.com
1189
+ *
1190
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1191
+ * https://openapi-generator.tech
1192
+ * Do not edit the class manually.
1193
+ */
1194
+
1195
+ /**
1196
+ *
1197
+ * @export
1198
+ * @interface Book
1199
+ */
1200
+ interface Book {
1201
+ /**
1202
+ *
1203
+ * @type {number}
1204
+ * @memberof Book
1205
+ */
1206
+ readonly id?: number | null;
1207
+ /**
1208
+ *
1209
+ * @type {string}
1210
+ * @memberof Book
1211
+ */
1212
+ isbn10?: string | null;
1213
+ /**
1214
+ *
1215
+ * @type {string}
1216
+ * @memberof Book
1217
+ */
1218
+ isbn13?: string | null;
1219
+ /**
1220
+ *
1221
+ * @type {number}
1222
+ * @memberof Book
1223
+ */
1224
+ workId?: number | null;
1225
+ /**
1226
+ *
1227
+ * @type {string}
1228
+ * @memberof Book
1229
+ */
1230
+ title?: string | null;
1231
+ /**
1232
+ *
1233
+ * @type {string}
1234
+ * @memberof Book
1235
+ */
1236
+ subtitle?: string | null;
1237
+ /**
1238
+ *
1239
+ * @type {number}
1240
+ * @memberof Book
1241
+ */
1242
+ numberOfPages?: number | null;
1243
+ /**
1244
+ *
1245
+ * @type {string}
1246
+ * @memberof Book
1247
+ */
1248
+ description?: string | null;
1249
+ /**
1250
+ *
1251
+ * @type {Array<EntityRef>}
1252
+ * @memberof Book
1253
+ */
1254
+ publishers?: Array<EntityRef> | null;
1255
+ /**
1256
+ *
1257
+ * @type {Array<EntityRef>}
1258
+ * @memberof Book
1259
+ */
1260
+ imprint?: Array<EntityRef> | null;
1261
+ /**
1262
+ *
1263
+ * @type {Date}
1264
+ * @memberof Book
1265
+ */
1266
+ publishDate?: Date | null;
1267
+ /**
1268
+ *
1269
+ * @type {string}
1270
+ * @memberof Book
1271
+ */
1272
+ physicalFormat?: string | null;
1273
+ /**
1274
+ *
1275
+ * @type {Array<string>}
1276
+ * @memberof Book
1277
+ */
1278
+ covers?: Array<string> | null;
1279
+ /**
1280
+ *
1281
+ * @type {Array<EntityRef>}
1282
+ * @memberof Book
1283
+ */
1284
+ authors?: Array<EntityRef> | null;
1285
+ /**
1286
+ *
1287
+ * @type {Array<Contributor>}
1288
+ * @memberof Book
1289
+ */
1290
+ contributors?: Array<Contributor> | null;
1291
+ /**
1292
+ *
1293
+ * @type {Array<SubjectRef>}
1294
+ * @memberof Book
1295
+ */
1296
+ subjects?: Array<SubjectRef> | null;
1297
+ /**
1298
+ *
1299
+ * @type {Series}
1300
+ * @memberof Book
1301
+ */
1302
+ series?: Series | null;
1303
+ /**
1304
+ *
1305
+ * @type {Array<EntityRef>}
1306
+ * @memberof Book
1307
+ */
1308
+ genres?: Array<EntityRef> | null;
1309
+ /**
1310
+ *
1311
+ * @type {Array<EditionRef>}
1312
+ * @memberof Book
1313
+ */
1314
+ otherEditions?: Array<EditionRef> | null;
1315
+ /**
1316
+ *
1317
+ * @type {EditionRef}
1318
+ * @memberof Book
1319
+ */
1320
+ previousEdition?: EditionRef | null;
1321
+ /**
1322
+ *
1323
+ * @type {EditionRef}
1324
+ * @memberof Book
1325
+ */
1326
+ nextEdition?: EditionRef | null;
1327
+ /**
1328
+ *
1329
+ * @type {string}
1330
+ * @memberof Book
1331
+ */
1332
+ physicalDimensions?: string | null;
1333
+ /**
1334
+ *
1335
+ * @type {Ratings}
1336
+ * @memberof Book
1337
+ */
1338
+ ratings?: Ratings | null;
1339
+ /**
1340
+ *
1341
+ * @type {string}
1342
+ * @memberof Book
1343
+ */
1344
+ language?: string | null;
1345
+ /**
1346
+ *
1347
+ * @type {string}
1348
+ * @memberof Book
1349
+ */
1350
+ saleStatus?: string | null;
1351
+ /**
1352
+ *
1353
+ * @type {string}
1354
+ * @memberof Book
1355
+ */
1356
+ excerpt?: string | null;
1357
+ /**
1358
+ *
1359
+ * @type {string}
1360
+ * @memberof Book
1361
+ */
1362
+ reviewQuotes?: string | null;
1363
+ /**
1364
+ *
1365
+ * @type {Array<RetailLink>}
1366
+ * @memberof Book
1367
+ */
1368
+ retailLinks?: Array<RetailLink> | null;
1369
+ /**
1370
+ *
1371
+ * @type {Array<Category>}
1372
+ * @memberof Book
1373
+ */
1374
+ categories?: Array<Category> | null;
1375
+ /**
1376
+ *
1377
+ * @type {string}
1378
+ * @memberof Book
1379
+ */
1380
+ aiSummary?: string | null;
1381
+ /**
1382
+ *
1383
+ * @type {number}
1384
+ * @memberof Book
1385
+ */
1386
+ canonicalEditionId?: number | null;
1387
+ /**
1388
+ *
1389
+ * @type {string}
1390
+ * @memberof Book
1391
+ */
1392
+ languageCode?: string | null;
1393
+ /**
1394
+ *
1395
+ * @type {string}
1396
+ * @memberof Book
1397
+ */
1398
+ publishDatePrecision?: BookPublishDatePrecisionEnum | null;
1399
+ /**
1400
+ *
1401
+ * @type {number}
1402
+ * @memberof Book
1403
+ */
1404
+ estimatedReadTime?: number | null;
1405
+ /**
1406
+ *
1407
+ * @type {number}
1408
+ * @memberof Book
1409
+ */
1410
+ languagesCount?: number | null;
1411
+ /**
1412
+ *
1413
+ * @type {string}
1414
+ * @memberof Book
1415
+ */
1416
+ link?: string | null;
1417
+ /**
1418
+ *
1419
+ * @type {IsbnDetails}
1420
+ * @memberof Book
1421
+ */
1422
+ isbnModel?: IsbnDetails | null;
1423
+ }
1424
+ /**
1425
+ * @export
1426
+ */
1427
+ declare const BookPublishDatePrecisionEnum: {
1428
+ readonly Year: "year";
1429
+ readonly Month: "month";
1430
+ readonly Day: "day";
1431
+ readonly UnknownDefaultOpenApi: "11184809";
1432
+ };
1433
+ type BookPublishDatePrecisionEnum = typeof BookPublishDatePrecisionEnum[keyof typeof BookPublishDatePrecisionEnum];
1434
+ /**
1435
+ * Check if a given object implements the Book interface.
1436
+ */
1437
+ declare function instanceOfBook(value: object): value is Book;
1438
+ declare function BookFromJSON(json: any): Book;
1439
+ declare function BookFromJSONTyped(json: any, ignoreDiscriminator: boolean): Book;
1440
+ declare function BookToJSON(json: any): Book;
1441
+ declare function BookToJSONTyped(value?: Omit<Book, 'id'> | null, ignoreDiscriminator?: boolean): any;
1442
+
1443
+ /**
1444
+ * ISBNLab API
1445
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
1446
+ *
1447
+ * The version of the OpenAPI document: 1.0.0
1448
+ * Contact: hello@isbnlab.com
1449
+ *
1450
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1451
+ * https://openapi-generator.tech
1452
+ * Do not edit the class manually.
1453
+ */
1454
+ /**
1455
+ *
1456
+ * @export
1457
+ * @interface BookCover
1458
+ */
1459
+ interface BookCover {
1460
+ /**
1461
+ *
1462
+ * @type {string}
1463
+ * @memberof BookCover
1464
+ */
1465
+ isbn13?: string | null;
1466
+ /**
1467
+ *
1468
+ * @type {Array<string>}
1469
+ * @memberof BookCover
1470
+ */
1471
+ covers?: Array<string> | null;
1472
+ }
1473
+ /**
1474
+ * Check if a given object implements the BookCover interface.
1475
+ */
1476
+ declare function instanceOfBookCover(value: object): value is BookCover;
1477
+ declare function BookCoverFromJSON(json: any): BookCover;
1478
+ declare function BookCoverFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookCover;
1479
+ declare function BookCoverToJSON(json: any): BookCover;
1480
+ declare function BookCoverToJSONTyped(value?: BookCover | null, ignoreDiscriminator?: boolean): any;
1481
+
1482
+ /**
1483
+ * ISBNLab API
1484
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
1485
+ *
1486
+ * The version of the OpenAPI document: 1.0.0
1487
+ * Contact: hello@isbnlab.com
1488
+ *
1489
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1490
+ * https://openapi-generator.tech
1491
+ * Do not edit the class manually.
1492
+ */
1493
+
1494
+ /**
1495
+ *
1496
+ * @export
1497
+ * @interface BookEditions
1498
+ */
1499
+ interface BookEditions {
1500
+ /**
1501
+ *
1502
+ * @type {string}
1503
+ * @memberof BookEditions
1504
+ */
1505
+ isbn13?: string | null;
1506
+ /**
1507
+ *
1508
+ * @type {Array<EditionRef>}
1509
+ * @memberof BookEditions
1510
+ */
1511
+ otherEditions?: Array<EditionRef> | null;
1512
+ /**
1513
+ *
1514
+ * @type {EditionRef}
1515
+ * @memberof BookEditions
1516
+ */
1517
+ previousEdition?: EditionRef | null;
1518
+ /**
1519
+ *
1520
+ * @type {EditionRef}
1521
+ * @memberof BookEditions
1522
+ */
1523
+ nextEdition?: EditionRef | null;
1524
+ }
1525
+ /**
1526
+ * Check if a given object implements the BookEditions interface.
1527
+ */
1528
+ declare function instanceOfBookEditions(value: object): value is BookEditions;
1529
+ declare function BookEditionsFromJSON(json: any): BookEditions;
1530
+ declare function BookEditionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookEditions;
1531
+ declare function BookEditionsToJSON(json: any): BookEditions;
1532
+ declare function BookEditionsToJSONTyped(value?: BookEditions | null, ignoreDiscriminator?: boolean): any;
1533
+
1534
+ /**
1535
+ * ISBNLab API
1536
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
1537
+ *
1538
+ * The version of the OpenAPI document: 1.0.0
1539
+ * Contact: hello@isbnlab.com
1540
+ *
1541
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1542
+ * https://openapi-generator.tech
1543
+ * Do not edit the class manually.
1544
+ */
1545
+ /**
1546
+ *
1547
+ * @export
1548
+ * @interface Genre
1549
+ */
1550
+ interface Genre {
1551
+ /**
1552
+ *
1553
+ * @type {string}
1554
+ * @memberof Genre
1555
+ */
1556
+ bisacCode?: string | null;
1557
+ /**
1558
+ *
1559
+ * @type {string}
1560
+ * @memberof Genre
1561
+ */
1562
+ name?: string | null;
1563
+ /**
1564
+ *
1565
+ * @type {number}
1566
+ * @memberof Genre
1567
+ */
1568
+ editionCount?: number | null;
1569
+ }
1570
+ /**
1571
+ * Check if a given object implements the Genre interface.
1572
+ */
1573
+ declare function instanceOfGenre(value: object): value is Genre;
1574
+ declare function GenreFromJSON(json: any): Genre;
1575
+ declare function GenreFromJSONTyped(json: any, ignoreDiscriminator: boolean): Genre;
1576
+ declare function GenreToJSON(json: any): Genre;
1577
+ declare function GenreToJSONTyped(value?: Genre | null, ignoreDiscriminator?: boolean): any;
1578
+
1579
+ /**
1580
+ * ISBNLab API
1581
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
1582
+ *
1583
+ * The version of the OpenAPI document: 1.0.0
1584
+ * Contact: hello@isbnlab.com
1585
+ *
1586
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1587
+ * https://openapi-generator.tech
1588
+ * Do not edit the class manually.
1589
+ */
1590
+ /**
1591
+ *
1592
+ * @export
1593
+ * @interface Publisher
1594
+ */
1595
+ interface Publisher {
1596
+ /**
1597
+ *
1598
+ * @type {string}
1599
+ * @memberof Publisher
1600
+ */
1601
+ name?: string | null;
1602
+ /**
1603
+ *
1604
+ * @type {string}
1605
+ * @memberof Publisher
1606
+ */
1607
+ prefix?: string | null;
1608
+ /**
1609
+ *
1610
+ * @type {string}
1611
+ * @memberof Publisher
1612
+ */
1613
+ country?: string | null;
1614
+ /**
1615
+ *
1616
+ * @type {string}
1617
+ * @memberof Publisher
1618
+ */
1619
+ url?: string | null;
1620
+ /**
1621
+ *
1622
+ * @type {string}
1623
+ * @memberof Publisher
1624
+ */
1625
+ slug?: string | null;
1626
+ /**
1627
+ *
1628
+ * @type {number}
1629
+ * @memberof Publisher
1630
+ */
1631
+ editionCount?: number | null;
1632
+ }
1633
+ /**
1634
+ * Check if a given object implements the Publisher interface.
1635
+ */
1636
+ declare function instanceOfPublisher(value: object): value is Publisher;
1637
+ declare function PublisherFromJSON(json: any): Publisher;
1638
+ declare function PublisherFromJSONTyped(json: any, ignoreDiscriminator: boolean): Publisher;
1639
+ declare function PublisherToJSON(json: any): Publisher;
1640
+ declare function PublisherToJSONTyped(value?: Publisher | null, ignoreDiscriminator?: boolean): any;
1641
+
1642
+ /**
1643
+ * ISBNLab API
1644
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
1645
+ *
1646
+ * The version of the OpenAPI document: 1.0.0
1647
+ * Contact: hello@isbnlab.com
1648
+ *
1649
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1650
+ * https://openapi-generator.tech
1651
+ * Do not edit the class manually.
1652
+ */
1653
+ /**
1654
+ *
1655
+ * @export
1656
+ * @interface Subject
1657
+ */
1658
+ interface Subject {
1659
+ /**
1660
+ *
1661
+ * @type {string}
1662
+ * @memberof Subject
1663
+ */
1664
+ name?: string | null;
1665
+ /**
1666
+ *
1667
+ * @type {string}
1668
+ * @memberof Subject
1669
+ */
1670
+ identifier?: string | null;
1671
+ /**
1672
+ *
1673
+ * @type {string}
1674
+ * @memberof Subject
1675
+ */
1676
+ slug?: string | null;
1677
+ /**
1678
+ *
1679
+ * @type {string}
1680
+ * @memberof Subject
1681
+ */
1682
+ firstChar?: string | null;
1683
+ /**
1684
+ *
1685
+ * @type {number}
1686
+ * @memberof Subject
1687
+ */
1688
+ editionCount?: number | null;
1689
+ }
1690
+ /**
1691
+ * Check if a given object implements the Subject interface.
1692
+ */
1693
+ declare function instanceOfSubject(value: object): value is Subject;
1694
+ declare function SubjectFromJSON(json: any): Subject;
1695
+ declare function SubjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): Subject;
1696
+ declare function SubjectToJSON(json: any): Subject;
1697
+ declare function SubjectToJSONTyped(value?: Subject | null, ignoreDiscriminator?: boolean): any;
1698
+
1699
+ /**
1700
+ * ISBNLab API
1701
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
1702
+ *
1703
+ * The version of the OpenAPI document: 1.0.0
1704
+ * Contact: hello@isbnlab.com
1705
+ *
1706
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1707
+ * https://openapi-generator.tech
1708
+ * Do not edit the class manually.
1709
+ */
1710
+
1711
+ interface FindAuthorRequest {
1712
+ search: string;
1713
+ }
1714
+ interface GetAuthorRequest {
1715
+ id: string;
1716
+ }
1717
+ /**
1718
+ *
1719
+ */
1720
+ declare class AuthorsApi extends BaseAPI {
1721
+ /**
1722
+ * Find an author by name.
1723
+ */
1724
+ findAuthorRaw(requestParameters: FindAuthorRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Author>>;
1725
+ /**
1726
+ * Find an author by name.
1727
+ */
1728
+ findAuthor(search: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<Author>;
1729
+ /**
1730
+ * Look up an author by id.
1731
+ */
1732
+ getAuthorRaw(requestParameters: GetAuthorRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Author>>;
1733
+ /**
1734
+ * Look up an author by id.
1735
+ */
1736
+ getAuthor(id: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<Author>;
1737
+ }
1738
+
1739
+ /**
1740
+ * ISBNLab API
1741
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
1742
+ *
1743
+ * The version of the OpenAPI document: 1.0.0
1744
+ * Contact: hello@isbnlab.com
1745
+ *
1746
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1747
+ * https://openapi-generator.tech
1748
+ * Do not edit the class manually.
1749
+ */
1750
+
1751
+ interface GetBookByAsinRequest {
1752
+ asin: string;
1753
+ }
1754
+ interface GetBookByIdRequest {
1755
+ id: string;
1756
+ }
1757
+ interface GetBookByIsbnRequest {
1758
+ isbn: string;
1759
+ }
1760
+ interface GetBookCoverByAsinRequest {
1761
+ asin: string;
1762
+ }
1763
+ interface GetBookCoverByIsbnRequest {
1764
+ isbn: string;
1765
+ }
1766
+ interface GetEditionsByAsinRequest {
1767
+ asin: string;
1768
+ }
1769
+ interface GetEditionsByIsbnRequest {
1770
+ isbn: string;
1771
+ }
1772
+ interface SearchBooksRequest {
1773
+ query: string;
1774
+ limit?: number;
1775
+ page?: number;
1776
+ maxResults?: number;
1777
+ }
1778
+ /**
1779
+ *
1780
+ */
1781
+ declare class BooksApi extends BaseAPI {
1782
+ /**
1783
+ * Look up a book by Amazon ASIN.
1784
+ */
1785
+ getBookByAsinRaw(requestParameters: GetBookByAsinRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Book>>;
1786
+ /**
1787
+ * Look up a book by Amazon ASIN.
1788
+ */
1789
+ getBookByAsin(asin: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<Book>;
1790
+ /**
1791
+ * Look up a book by ISBNLab book id.
1792
+ */
1793
+ getBookByIdRaw(requestParameters: GetBookByIdRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Book>>;
1794
+ /**
1795
+ * Look up a book by ISBNLab book id.
1796
+ */
1797
+ getBookById(id: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<Book>;
1798
+ /**
1799
+ * Look up a book by ISBN-10 or ISBN-13.
1800
+ */
1801
+ getBookByIsbnRaw(requestParameters: GetBookByIsbnRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Book>>;
1802
+ /**
1803
+ * Look up a book by ISBN-10 or ISBN-13.
1804
+ */
1805
+ getBookByIsbn(isbn: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<Book>;
1806
+ /**
1807
+ * Get the cover image URLs for a book by ASIN.
1808
+ */
1809
+ getBookCoverByAsinRaw(requestParameters: GetBookCoverByAsinRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<BookCover>>;
1810
+ /**
1811
+ * Get the cover image URLs for a book by ASIN.
1812
+ */
1813
+ getBookCoverByAsin(asin: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<BookCover>;
1814
+ /**
1815
+ * Get the cover image URLs for a book by ISBN.
1816
+ */
1817
+ getBookCoverByIsbnRaw(requestParameters: GetBookCoverByIsbnRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<BookCover>>;
1818
+ /**
1819
+ * Get the cover image URLs for a book by ISBN.
1820
+ */
1821
+ getBookCoverByIsbn(isbn: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<BookCover>;
1822
+ /**
1823
+ * Get every other edition of a book by ASIN.
1824
+ */
1825
+ getEditionsByAsinRaw(requestParameters: GetEditionsByAsinRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<BookEditions>>;
1826
+ /**
1827
+ * Get every other edition of a book by ASIN.
1828
+ */
1829
+ getEditionsByAsin(asin: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<BookEditions>;
1830
+ /**
1831
+ * Get every other edition of a book by ISBN.
1832
+ */
1833
+ getEditionsByIsbnRaw(requestParameters: GetEditionsByIsbnRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<BookEditions>>;
1834
+ /**
1835
+ * Get every other edition of a book by ISBN.
1836
+ */
1837
+ getEditionsByIsbn(isbn: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<BookEditions>;
1838
+ /**
1839
+ * Search books by title, subtitle, author or ISBN.
1840
+ */
1841
+ searchBooksRaw(requestParameters: SearchBooksRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Array<Book>>>;
1842
+ /**
1843
+ * Search books by title, subtitle, author or ISBN.
1844
+ */
1845
+ searchBooks(query: string, limit?: number, page?: number, maxResults?: number, initOverrides?: RequestInit | InitOverrideFunction): Promise<Array<Book>>;
1846
+ }
1847
+
1848
+ /**
1849
+ * ISBNLab API
1850
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
1851
+ *
1852
+ * The version of the OpenAPI document: 1.0.0
1853
+ * Contact: hello@isbnlab.com
1854
+ *
1855
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1856
+ * https://openapi-generator.tech
1857
+ * Do not edit the class manually.
1858
+ */
1859
+
1860
+ interface FindGenreRequest {
1861
+ search: string;
1862
+ }
1863
+ interface GetGenreRequest {
1864
+ id: string;
1865
+ }
1866
+ /**
1867
+ *
1868
+ */
1869
+ declare class GenresApi extends BaseAPI {
1870
+ /**
1871
+ * Find a BISAC genre by name or BISAC code.
1872
+ */
1873
+ findGenreRaw(requestParameters: FindGenreRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Genre>>;
1874
+ /**
1875
+ * Find a BISAC genre by name or BISAC code.
1876
+ */
1877
+ findGenre(search: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<Genre>;
1878
+ /**
1879
+ * Look up a BISAC genre by id.
1880
+ */
1881
+ getGenreRaw(requestParameters: GetGenreRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Genre>>;
1882
+ /**
1883
+ * Look up a BISAC genre by id.
1884
+ */
1885
+ getGenre(id: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<Genre>;
1886
+ }
1887
+
1888
+ /**
1889
+ * ISBNLab API
1890
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
1891
+ *
1892
+ * The version of the OpenAPI document: 1.0.0
1893
+ * Contact: hello@isbnlab.com
1894
+ *
1895
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1896
+ * https://openapi-generator.tech
1897
+ * Do not edit the class manually.
1898
+ */
1899
+
1900
+ interface AsinToIsbnRequest {
1901
+ asin: string;
1902
+ }
1903
+ interface EanToIsbnRequest {
1904
+ ean: string;
1905
+ }
1906
+ interface Isbn10ToIsbn13Request {
1907
+ isbn10: string;
1908
+ }
1909
+ interface Isbn13ToIsbn10Request {
1910
+ isbn13: string;
1911
+ }
1912
+ interface IsbnToAsinRequest {
1913
+ isbn: string;
1914
+ }
1915
+ interface IsbnToEanRequest {
1916
+ isbn: string;
1917
+ }
1918
+ interface ParseIsbnRequest {
1919
+ isbn: string;
1920
+ }
1921
+ /**
1922
+ *
1923
+ */
1924
+ declare class IsbnApi extends BaseAPI {
1925
+ /**
1926
+ * Convert an Amazon ASIN to ISBN.
1927
+ */
1928
+ asinToIsbnRaw(requestParameters: AsinToIsbnRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<IsbnDetails>>;
1929
+ /**
1930
+ * Convert an Amazon ASIN to ISBN.
1931
+ */
1932
+ asinToIsbn(asin: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<IsbnDetails>;
1933
+ /**
1934
+ * Convert an EAN to ISBN.
1935
+ */
1936
+ eanToIsbnRaw(requestParameters: EanToIsbnRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<IsbnDetails>>;
1937
+ /**
1938
+ * Convert an EAN to ISBN.
1939
+ */
1940
+ eanToIsbn(ean: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<IsbnDetails>;
1941
+ /**
1942
+ * Convert an ISBN-10 to ISBN-13.
1943
+ */
1944
+ isbn10ToIsbn13Raw(requestParameters: Isbn10ToIsbn13Request, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<IsbnDetails>>;
1945
+ /**
1946
+ * Convert an ISBN-10 to ISBN-13.
1947
+ */
1948
+ isbn10ToIsbn13(isbn10: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<IsbnDetails>;
1949
+ /**
1950
+ * Convert an ISBN-13 to ISBN-10.
1951
+ */
1952
+ isbn13ToIsbn10Raw(requestParameters: Isbn13ToIsbn10Request, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<IsbnDetails>>;
1953
+ /**
1954
+ * Convert an ISBN-13 to ISBN-10.
1955
+ */
1956
+ isbn13ToIsbn10(isbn13: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<IsbnDetails>;
1957
+ /**
1958
+ * Convert an ISBN to Amazon ASIN.
1959
+ */
1960
+ isbnToAsinRaw(requestParameters: IsbnToAsinRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<IsbnDetails>>;
1961
+ /**
1962
+ * Convert an ISBN to Amazon ASIN.
1963
+ */
1964
+ isbnToAsin(isbn: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<IsbnDetails>;
1965
+ /**
1966
+ * Convert an ISBN to EAN.
1967
+ */
1968
+ isbnToEanRaw(requestParameters: IsbnToEanRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<IsbnDetails>>;
1969
+ /**
1970
+ * Convert an ISBN to EAN.
1971
+ */
1972
+ isbnToEan(isbn: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<IsbnDetails>;
1973
+ /**
1974
+ * Validate an ISBN and split it into its parts.
1975
+ */
1976
+ parseIsbnRaw(requestParameters: ParseIsbnRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<IsbnDetails>>;
1977
+ /**
1978
+ * Validate an ISBN and split it into its parts.
1979
+ */
1980
+ parseIsbn(isbn: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<IsbnDetails>;
1981
+ }
1982
+
1983
+ /**
1984
+ * ISBNLab API
1985
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
1986
+ *
1987
+ * The version of the OpenAPI document: 1.0.0
1988
+ * Contact: hello@isbnlab.com
1989
+ *
1990
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1991
+ * https://openapi-generator.tech
1992
+ * Do not edit the class manually.
1993
+ */
1994
+
1995
+ interface FindPublisherRequest {
1996
+ search: string;
1997
+ }
1998
+ interface GetPublisherRequest {
1999
+ id: string;
2000
+ }
2001
+ interface GetPublishersByPrefixRequest {
2002
+ prefix: string;
2003
+ page?: number;
2004
+ }
2005
+ /**
2006
+ *
2007
+ */
2008
+ declare class PublishersApi extends BaseAPI {
2009
+ /**
2010
+ * Find a publisher by name.
2011
+ */
2012
+ findPublisherRaw(requestParameters: FindPublisherRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Publisher>>;
2013
+ /**
2014
+ * Find a publisher by name.
2015
+ */
2016
+ findPublisher(search: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<Publisher>;
2017
+ /**
2018
+ * Look up a publisher by id.
2019
+ */
2020
+ getPublisherRaw(requestParameters: GetPublisherRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Publisher>>;
2021
+ /**
2022
+ * Look up a publisher by id.
2023
+ */
2024
+ getPublisher(id: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<Publisher>;
2025
+ /**
2026
+ * List the publishers that use an ISBN registrant prefix.
2027
+ */
2028
+ getPublishersByPrefixRaw(requestParameters: GetPublishersByPrefixRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Array<Publisher>>>;
2029
+ /**
2030
+ * List the publishers that use an ISBN registrant prefix.
2031
+ */
2032
+ getPublishersByPrefix(prefix: string, page?: number, initOverrides?: RequestInit | InitOverrideFunction): Promise<Array<Publisher>>;
2033
+ }
2034
+
2035
+ /**
2036
+ * ISBNLab API
2037
+ * Book metadata by ISBN: books, editions, covers, authors, publishers, subjects, BISAC genres, and ISBN validation and conversion.
2038
+ *
2039
+ * The version of the OpenAPI document: 1.0.0
2040
+ * Contact: hello@isbnlab.com
2041
+ *
2042
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2043
+ * https://openapi-generator.tech
2044
+ * Do not edit the class manually.
2045
+ */
2046
+
2047
+ interface FindSubjectRequest {
2048
+ search: string;
2049
+ }
2050
+ interface GetSubjectRequest {
2051
+ id: string;
2052
+ }
2053
+ /**
2054
+ *
2055
+ */
2056
+ declare class SubjectsApi extends BaseAPI {
2057
+ /**
2058
+ * Find a subject by name.
2059
+ */
2060
+ findSubjectRaw(requestParameters: FindSubjectRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Subject>>;
2061
+ /**
2062
+ * Find a subject by name.
2063
+ */
2064
+ findSubject(search: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<Subject>;
2065
+ /**
2066
+ * Look up a subject by id.
2067
+ */
2068
+ getSubjectRaw(requestParameters: GetSubjectRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Subject>>;
2069
+ /**
2070
+ * Look up a subject by id.
2071
+ */
2072
+ getSubject(id: string, initOverrides?: RequestInit | InitOverrideFunction): Promise<Subject>;
2073
+ }
2074
+
2075
+ export { type ApiResponse, type AsinToIsbnRequest, type Author, AuthorFromJSON, AuthorFromJSONTyped, type AuthorPhoto, AuthorPhotoFromJSON, AuthorPhotoFromJSONTyped, AuthorPhotoToJSON, AuthorPhotoToJSONTyped, AuthorToJSON, AuthorToJSONTyped, AuthorsApi, BASE_PATH, BaseAPI, BlobApiResponse, type Book, type BookCover, BookCoverFromJSON, BookCoverFromJSONTyped, BookCoverToJSON, BookCoverToJSONTyped, type BookEditions, BookEditionsFromJSON, BookEditionsFromJSONTyped, BookEditionsToJSON, BookEditionsToJSONTyped, BookFromJSON, BookFromJSONTyped, BookPublishDatePrecisionEnum, BookToJSON, BookToJSONTyped, BooksApi, COLLECTION_FORMATS, type Category, CategoryFromJSON, CategoryFromJSONTyped, CategoryToJSON, CategoryToJSONTyped, Configuration, type ConfigurationParameters, type Consume, type Contributor, ContributorFromJSON, ContributorFromJSONTyped, ContributorRoleEnum, ContributorToJSON, ContributorToJSONTyped, DefaultConfig, type EanToIsbnRequest, type EditionRef, EditionRefFromJSON, EditionRefFromJSONTyped, EditionRefToJSON, EditionRefToJSONTyped, type EntityRef, EntityRefFromJSON, EntityRefFromJSONTyped, EntityRefToJSON, EntityRefToJSONTyped, type ErrorContext, type FetchAPI, FetchError, type FetchParams, type FindAuthorRequest, type FindGenreRequest, type FindPublisherRequest, type FindSubjectRequest, type Genre, GenreFromJSON, GenreFromJSONTyped, GenreToJSON, GenreToJSONTyped, GenresApi, type GetAuthorRequest, type GetBookByAsinRequest, type GetBookByIdRequest, type GetBookByIsbnRequest, type GetBookCoverByAsinRequest, type GetBookCoverByIsbnRequest, type GetEditionsByAsinRequest, type GetEditionsByIsbnRequest, type GetGenreRequest, type GetPublisherRequest, type GetPublishersByPrefixRequest, type GetSubjectRequest, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type InitOverrideFunction, type Isbn10ToIsbn13Request, type Isbn13ToIsbn10Request, IsbnApi, type IsbnDetails, IsbnDetailsFromJSON, IsbnDetailsFromJSONTyped, IsbnDetailsToJSON, IsbnDetailsToJSONTyped, type IsbnToAsinRequest, type IsbnToEanRequest, JSONApiResponse, type Json, type Middleware, type ModelPropertyNaming, type OtherSeries, OtherSeriesFromJSON, OtherSeriesFromJSONTyped, OtherSeriesKindEnum, OtherSeriesToJSON, OtherSeriesToJSONTyped, type ParseIsbnRequest, type Publisher, PublisherFromJSON, PublisherFromJSONTyped, PublisherToJSON, PublisherToJSONTyped, PublishersApi, type RatingCounts, RatingCountsFromJSON, RatingCountsFromJSONTyped, RatingCountsToJSON, RatingCountsToJSONTyped, type RatingSummary, RatingSummaryFromJSON, RatingSummaryFromJSONTyped, RatingSummaryToJSON, RatingSummaryToJSONTyped, type Ratings, RatingsFromJSON, RatingsFromJSONTyped, RatingsToJSON, RatingsToJSONTyped, type RequestContext, type RequestOpts, RequiredError, type ResponseContext, ResponseError, type ResponseTransformer, type RetailLink, RetailLinkFromJSON, RetailLinkFromJSONTyped, RetailLinkToJSON, RetailLinkToJSONTyped, type SearchBooksRequest, type Series, type SeriesBook, SeriesBookFromJSON, SeriesBookFromJSONTyped, SeriesBookToJSON, SeriesBookToJSONTyped, SeriesFromJSON, SeriesFromJSONTyped, SeriesKindEnum, type SeriesParent, SeriesParentFromJSON, SeriesParentFromJSONTyped, SeriesParentToJSON, SeriesParentToJSONTyped, SeriesToJSON, SeriesToJSONTyped, type Subject, SubjectFromJSON, SubjectFromJSONTyped, type SubjectRef, SubjectRefFromJSON, SubjectRefFromJSONTyped, SubjectRefToJSON, SubjectRefToJSONTyped, SubjectToJSON, SubjectToJSONTyped, SubjectsApi, TextApiResponse, VoidApiResponse, canConsumeForm, exists, instanceOfAuthor, instanceOfAuthorPhoto, instanceOfBook, instanceOfBookCover, instanceOfBookEditions, instanceOfCategory, instanceOfContributor, instanceOfEditionRef, instanceOfEntityRef, instanceOfGenre, instanceOfIsbnDetails, instanceOfOtherSeries, instanceOfPublisher, instanceOfRatingCounts, instanceOfRatingSummary, instanceOfRatings, instanceOfRetailLink, instanceOfSeries, instanceOfSeriesBook, instanceOfSeriesParent, instanceOfSubject, instanceOfSubjectRef, mapValues, querystring };