@prdb/sdk 0.7.0 → 0.9.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.
Files changed (58) hide show
  1. package/README.md +10 -14
  2. package/dist/generated/models/index.d.ts +196 -735
  3. package/dist/generated/models/index.d.ts.map +1 -1
  4. package/dist/generated/models/index.js +158 -660
  5. package/dist/generated/models/index.js.map +1 -1
  6. package/dist/generated/prdbClient.d.ts +0 -10
  7. package/dist/generated/prdbClient.d.ts.map +1 -1
  8. package/dist/generated/prdbClient.js +0 -11
  9. package/dist/generated/prdbClient.js.map +1 -1
  10. package/dist/generated/videos/filehashSubmissions/index.d.ts +2 -2
  11. package/dist/generated/videos/images/changes/index.d.ts +58 -0
  12. package/dist/generated/videos/images/changes/index.d.ts.map +1 -0
  13. package/dist/generated/{indexerFilehashes → videos/images}/changes/index.js +5 -13
  14. package/dist/generated/videos/images/changes/index.js.map +1 -0
  15. package/dist/generated/videos/images/index.d.ts +20 -0
  16. package/dist/generated/videos/images/index.d.ts.map +1 -0
  17. package/dist/generated/videos/images/index.js +20 -0
  18. package/dist/generated/videos/images/index.js.map +1 -0
  19. package/dist/generated/videos/index.d.ts +5 -0
  20. package/dist/generated/videos/index.d.ts.map +1 -1
  21. package/dist/generated/videos/index.js +5 -0
  22. package/dist/generated/videos/index.js.map +1 -1
  23. package/dist/index.d.ts +6 -10
  24. package/dist/index.d.ts.map +1 -1
  25. package/dist/index.js +6 -10
  26. package/dist/index.js.map +1 -1
  27. package/package.json +1 -1
  28. package/dist/generated/downloadedFromIndexers/index.d.ts +0 -48
  29. package/dist/generated/downloadedFromIndexers/index.d.ts.map +0 -1
  30. package/dist/generated/downloadedFromIndexers/index.js +0 -47
  31. package/dist/generated/downloadedFromIndexers/index.js.map +0 -1
  32. package/dist/generated/downloadedFromIndexers/item/filenames/index.d.ts +0 -48
  33. package/dist/generated/downloadedFromIndexers/item/filenames/index.d.ts.map +0 -1
  34. package/dist/generated/downloadedFromIndexers/item/filenames/index.js +0 -46
  35. package/dist/generated/downloadedFromIndexers/item/filenames/index.js.map +0 -1
  36. package/dist/generated/downloadedFromIndexers/item/filenames/item/index.d.ts +0 -53
  37. package/dist/generated/downloadedFromIndexers/item/filenames/item/index.d.ts.map +0 -1
  38. package/dist/generated/downloadedFromIndexers/item/filenames/item/index.js +0 -47
  39. package/dist/generated/downloadedFromIndexers/item/filenames/item/index.js.map +0 -1
  40. package/dist/generated/downloadedFromIndexers/item/index.d.ts +0 -62
  41. package/dist/generated/downloadedFromIndexers/item/index.d.ts.map +0 -1
  42. package/dist/generated/downloadedFromIndexers/item/index.js +0 -58
  43. package/dist/generated/downloadedFromIndexers/item/index.js.map +0 -1
  44. package/dist/generated/indexerFilehashes/changes/index.d.ts +0 -67
  45. package/dist/generated/indexerFilehashes/changes/index.d.ts.map +0 -1
  46. package/dist/generated/indexerFilehashes/changes/index.js.map +0 -1
  47. package/dist/generated/indexerFilehashes/index.d.ts +0 -30
  48. package/dist/generated/indexerFilehashes/index.d.ts.map +0 -1
  49. package/dist/generated/indexerFilehashes/index.js +0 -30
  50. package/dist/generated/indexerFilehashes/index.js.map +0 -1
  51. package/dist/generated/indexerFilehashes/latest/index.d.ts +0 -109
  52. package/dist/generated/indexerFilehashes/latest/index.d.ts.map +0 -1
  53. package/dist/generated/indexerFilehashes/latest/index.js +0 -71
  54. package/dist/generated/indexerFilehashes/latest/index.js.map +0 -1
  55. package/dist/generated/indexerFilehashes/lookup/index.d.ts +0 -35
  56. package/dist/generated/indexerFilehashes/lookup/index.d.ts.map +0 -1
  57. package/dist/generated/indexerFilehashes/lookup/index.js +0 -33
  58. package/dist/generated/indexerFilehashes/lookup/index.js.map +0 -1
@@ -124,24 +124,6 @@ export function createActorLinkDtoFromDiscriminatorValue(parseNode) {
124
124
  export function createActorSummaryDtoFromDiscriminatorValue(parseNode) {
125
125
  return deserializeIntoActorSummaryDto;
126
126
  }
127
- /**
128
- * Creates a new instance of the appropriate class based on discriminator value
129
- * @param parseNode The parse node to use to read the discriminator value and create the object
130
- * @returns {AddDownloadedFromIndexerFilenameRequest}
131
- */
132
- // @ts-ignore
133
- export function createAddDownloadedFromIndexerFilenameRequestFromDiscriminatorValue(parseNode) {
134
- return deserializeIntoAddDownloadedFromIndexerFilenameRequest;
135
- }
136
- /**
137
- * Creates a new instance of the appropriate class based on discriminator value
138
- * @param parseNode The parse node to use to read the discriminator value and create the object
139
- * @returns {AddDownloadedFromIndexerRequest}
140
- */
141
- // @ts-ignore
142
- export function createAddDownloadedFromIndexerRequestFromDiscriminatorValue(parseNode) {
143
- return deserializeIntoAddDownloadedFromIndexerRequest;
144
- }
145
127
  /**
146
128
  * Creates a new instance of the appropriate class based on discriminator value
147
129
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -160,24 +142,6 @@ export function createAddWantedVideosBatchRequestFromDiscriminatorValue(parseNod
160
142
  export function createAddWantedVideosBatchResponseFromDiscriminatorValue(parseNode) {
161
143
  return deserializeIntoAddWantedVideosBatchResponse;
162
144
  }
163
- /**
164
- * Creates a new instance of the appropriate class based on discriminator value
165
- * @param parseNode The parse node to use to read the discriminator value and create the object
166
- * @returns {DownloadedFromIndexerFilenameDto}
167
- */
168
- // @ts-ignore
169
- export function createDownloadedFromIndexerFilenameDtoFromDiscriminatorValue(parseNode) {
170
- return deserializeIntoDownloadedFromIndexerFilenameDto;
171
- }
172
- /**
173
- * Creates a new instance of the appropriate class based on discriminator value
174
- * @param parseNode The parse node to use to read the discriminator value and create the object
175
- * @returns {DownloadedFromIndexerResponse}
176
- */
177
- // @ts-ignore
178
- export function createDownloadedFromIndexerResponseFromDiscriminatorValue(parseNode) {
179
- return deserializeIntoDownloadedFromIndexerResponse;
180
- }
181
145
  /**
182
146
  * Creates a new instance of the appropriate class based on discriminator value
183
147
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -331,15 +295,6 @@ export function createGetFavoriteSiteChangesResponseFromDiscriminatorValue(parse
331
295
  export function createGetHealthResponseFromDiscriminatorValue(parseNode) {
332
296
  return deserializeIntoGetHealthResponse;
333
297
  }
334
- /**
335
- * Creates a new instance of the appropriate class based on discriminator value
336
- * @param parseNode The parse node to use to read the discriminator value and create the object
337
- * @returns {GetIndexerFilehashChangesResponse}
338
- */
339
- // @ts-ignore
340
- export function createGetIndexerFilehashChangesResponseFromDiscriminatorValue(parseNode) {
341
- return deserializeIntoGetIndexerFilehashChangesResponse;
342
- }
343
298
  /**
344
299
  * Creates a new instance of the appropriate class based on discriminator value
345
300
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -376,6 +331,15 @@ export function createGetVideoFilehashesByVideoIdsRequestFromDiscriminatorValue(
376
331
  export function createGetVideoFilehashesByVideoIdsResponseFromDiscriminatorValue(parseNode) {
377
332
  return deserializeIntoGetVideoFilehashesByVideoIdsResponse;
378
333
  }
334
+ /**
335
+ * Creates a new instance of the appropriate class based on discriminator value
336
+ * @param parseNode The parse node to use to read the discriminator value and create the object
337
+ * @returns {GetVideoImageChangesResponse}
338
+ */
339
+ // @ts-ignore
340
+ export function createGetVideoImageChangesResponseFromDiscriminatorValue(parseNode) {
341
+ return deserializeIntoGetVideoImageChangesResponse;
342
+ }
379
343
  /**
380
344
  * Creates a new instance of the appropriate class based on discriminator value
381
345
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -448,60 +412,6 @@ export function createIdentifyVideosRequestFromDiscriminatorValue(parseNode) {
448
412
  export function createIdentifyVideosResponseFromDiscriminatorValue(parseNode) {
449
413
  return deserializeIntoIdentifyVideosResponse;
450
414
  }
451
- /**
452
- * Creates a new instance of the appropriate class based on discriminator value
453
- * @param parseNode The parse node to use to read the discriminator value and create the object
454
- * @returns {IndexerFilehashChangeDto}
455
- */
456
- // @ts-ignore
457
- export function createIndexerFilehashChangeDtoFromDiscriminatorValue(parseNode) {
458
- return deserializeIntoIndexerFilehashChangeDto;
459
- }
460
- /**
461
- * Creates a new instance of the appropriate class based on discriminator value
462
- * @param parseNode The parse node to use to read the discriminator value and create the object
463
- * @returns {IndexerFilehashChangeFilehashDto}
464
- */
465
- // @ts-ignore
466
- export function createIndexerFilehashChangeFilehashDtoFromDiscriminatorValue(parseNode) {
467
- return deserializeIntoIndexerFilehashChangeFilehashDto;
468
- }
469
- /**
470
- * Creates a new instance of the appropriate class based on discriminator value
471
- * @param parseNode The parse node to use to read the discriminator value and create the object
472
- * @returns {IndexerFilehashChangesCursorDto}
473
- */
474
- // @ts-ignore
475
- export function createIndexerFilehashChangesCursorDtoFromDiscriminatorValue(parseNode) {
476
- return deserializeIntoIndexerFilehashChangesCursorDto;
477
- }
478
- /**
479
- * Creates a new instance of the appropriate class based on discriminator value
480
- * @param parseNode The parse node to use to read the discriminator value and create the object
481
- * @returns {IndexerFilehashDto}
482
- */
483
- // @ts-ignore
484
- export function createIndexerFilehashDtoFromDiscriminatorValue(parseNode) {
485
- return deserializeIntoIndexerFilehashDto;
486
- }
487
- /**
488
- * Creates a new instance of the appropriate class based on discriminator value
489
- * @param parseNode The parse node to use to read the discriminator value and create the object
490
- * @returns {IndexerFilehashLookupKeyDto}
491
- */
492
- // @ts-ignore
493
- export function createIndexerFilehashLookupKeyDtoFromDiscriminatorValue(parseNode) {
494
- return deserializeIntoIndexerFilehashLookupKeyDto;
495
- }
496
- /**
497
- * Creates a new instance of the appropriate class based on discriminator value
498
- * @param parseNode The parse node to use to read the discriminator value and create the object
499
- * @returns {LatestIndexerFilehashesResponse}
500
- */
501
- // @ts-ignore
502
- export function createLatestIndexerFilehashesResponseFromDiscriminatorValue(parseNode) {
503
- return deserializeIntoLatestIndexerFilehashesResponse;
504
- }
505
415
  /**
506
416
  * Creates a new instance of the appropriate class based on discriminator value
507
417
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -610,24 +520,6 @@ export function createListVideosResponseFromDiscriminatorValue(parseNode) {
610
520
  export function createListWantedVideosResponseFromDiscriminatorValue(parseNode) {
611
521
  return deserializeIntoListWantedVideosResponse;
612
522
  }
613
- /**
614
- * Creates a new instance of the appropriate class based on discriminator value
615
- * @param parseNode The parse node to use to read the discriminator value and create the object
616
- * @returns {LookupIndexerFilehashesRequest}
617
- */
618
- // @ts-ignore
619
- export function createLookupIndexerFilehashesRequestFromDiscriminatorValue(parseNode) {
620
- return deserializeIntoLookupIndexerFilehashesRequest;
621
- }
622
- /**
623
- * Creates a new instance of the appropriate class based on discriminator value
624
- * @param parseNode The parse node to use to read the discriminator value and create the object
625
- * @returns {LookupIndexerFilehashesResponse}
626
- */
627
- // @ts-ignore
628
- export function createLookupIndexerFilehashesResponseFromDiscriminatorValue(parseNode) {
629
- return deserializeIntoLookupIndexerFilehashesResponse;
630
- }
631
523
  /**
632
524
  * Creates a new instance of the appropriate class based on discriminator value
633
525
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -781,24 +673,6 @@ export function createSubmitVideoUserImageResponseFromDiscriminatorValue(parseNo
781
673
  export function createUnlinkedVideoFilehashesResponseFromDiscriminatorValue(parseNode) {
782
674
  return deserializeIntoUnlinkedVideoFilehashesResponse;
783
675
  }
784
- /**
785
- * Creates a new instance of the appropriate class based on discriminator value
786
- * @param parseNode The parse node to use to read the discriminator value and create the object
787
- * @returns {UpdateDownloadedFromIndexerFilenameRequest}
788
- */
789
- // @ts-ignore
790
- export function createUpdateDownloadedFromIndexerFilenameRequestFromDiscriminatorValue(parseNode) {
791
- return deserializeIntoUpdateDownloadedFromIndexerFilenameRequest;
792
- }
793
- /**
794
- * Creates a new instance of the appropriate class based on discriminator value
795
- * @param parseNode The parse node to use to read the discriminator value and create the object
796
- * @returns {UpdateDownloadedFromIndexerRequest}
797
- */
798
- // @ts-ignore
799
- export function createUpdateDownloadedFromIndexerRequestFromDiscriminatorValue(parseNode) {
800
- return deserializeIntoUpdateDownloadedFromIndexerRequest;
801
- }
802
676
  /**
803
677
  * Creates a new instance of the appropriate class based on discriminator value
804
678
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -934,6 +808,33 @@ export function createVideoFilehashDtoFromDiscriminatorValue(parseNode) {
934
808
  export function createVideoFilehashesByVideoIdDtoFromDiscriminatorValue(parseNode) {
935
809
  return deserializeIntoVideoFilehashesByVideoIdDto;
936
810
  }
811
+ /**
812
+ * Creates a new instance of the appropriate class based on discriminator value
813
+ * @param parseNode The parse node to use to read the discriminator value and create the object
814
+ * @returns {VideoImageChangeDto}
815
+ */
816
+ // @ts-ignore
817
+ export function createVideoImageChangeDtoFromDiscriminatorValue(parseNode) {
818
+ return deserializeIntoVideoImageChangeDto;
819
+ }
820
+ /**
821
+ * Creates a new instance of the appropriate class based on discriminator value
822
+ * @param parseNode The parse node to use to read the discriminator value and create the object
823
+ * @returns {VideoImageChangeImageDto}
824
+ */
825
+ // @ts-ignore
826
+ export function createVideoImageChangeImageDtoFromDiscriminatorValue(parseNode) {
827
+ return deserializeIntoVideoImageChangeImageDto;
828
+ }
829
+ /**
830
+ * Creates a new instance of the appropriate class based on discriminator value
831
+ * @param parseNode The parse node to use to read the discriminator value and create the object
832
+ * @returns {VideoImageChangesCursorDto}
833
+ */
834
+ // @ts-ignore
835
+ export function createVideoImageChangesCursorDtoFromDiscriminatorValue(parseNode) {
836
+ return deserializeIntoVideoImageChangesCursorDto;
837
+ }
937
838
  /**
938
839
  * Creates a new instance of the appropriate class based on discriminator value
939
840
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1265,37 +1166,6 @@ export function deserializeIntoActorSummaryDto(actorSummaryDto = {}) {
1265
1166
  "profileImageUrl": n => { actorSummaryDto.profileImageUrl = n.getStringValue(); },
1266
1167
  };
1267
1168
  }
1268
- /**
1269
- * The deserialization information for the current model
1270
- * @param AddDownloadedFromIndexerFilenameRequest The instance to deserialize into.
1271
- * @returns {Record<string, (node: ParseNode) => void>}
1272
- */
1273
- // @ts-ignore
1274
- export function deserializeIntoAddDownloadedFromIndexerFilenameRequest(addDownloadedFromIndexerFilenameRequest = {}) {
1275
- return {
1276
- "filename": n => { addDownloadedFromIndexerFilenameRequest.filename = n.getStringValue(); },
1277
- "filesize": n => { addDownloadedFromIndexerFilenameRequest.filesize = n.getNumberValue(); },
1278
- "osHash": n => { addDownloadedFromIndexerFilenameRequest.osHash = n.getStringValue(); },
1279
- "pHash": n => { addDownloadedFromIndexerFilenameRequest.pHash = n.getStringValue(); },
1280
- };
1281
- }
1282
- /**
1283
- * The deserialization information for the current model
1284
- * @param AddDownloadedFromIndexerRequest The instance to deserialize into.
1285
- * @returns {Record<string, (node: ParseNode) => void>}
1286
- */
1287
- // @ts-ignore
1288
- export function deserializeIntoAddDownloadedFromIndexerRequest(addDownloadedFromIndexerRequest = {}) {
1289
- return {
1290
- "downloadIdentifier": n => { addDownloadedFromIndexerRequest.downloadIdentifier = n.getStringValue(); },
1291
- "filenames": n => { addDownloadedFromIndexerRequest.filenames = n.getCollectionOfObjectValues(createAddDownloadedFromIndexerFilenameRequestFromDiscriminatorValue); },
1292
- "indexerId": n => { addDownloadedFromIndexerRequest.indexerId = n.getStringValue(); },
1293
- "indexerSource": n => { addDownloadedFromIndexerRequest.indexerSource = n.getNumberValue(); },
1294
- "nzbName": n => { addDownloadedFromIndexerRequest.nzbName = n.getStringValue(); },
1295
- "nzbUrl": n => { addDownloadedFromIndexerRequest.nzbUrl = n.getStringValue(); },
1296
- "videoId": n => { addDownloadedFromIndexerRequest.videoId = n.getGuidValue(); },
1297
- };
1298
- }
1299
1169
  /**
1300
1170
  * The deserialization information for the current model
1301
1171
  * @param AddWantedVideosBatchRequest The instance to deserialize into.
@@ -1320,44 +1190,6 @@ export function deserializeIntoAddWantedVideosBatchResponse(addWantedVideosBatch
1320
1190
  "notFound": n => { addWantedVideosBatchResponse.notFound = n.getNumberValue(); },
1321
1191
  };
1322
1192
  }
1323
- /**
1324
- * The deserialization information for the current model
1325
- * @param DownloadedFromIndexerFilenameDto The instance to deserialize into.
1326
- * @returns {Record<string, (node: ParseNode) => void>}
1327
- */
1328
- // @ts-ignore
1329
- export function deserializeIntoDownloadedFromIndexerFilenameDto(downloadedFromIndexerFilenameDto = {}) {
1330
- return {
1331
- "createdAtUtc": n => { downloadedFromIndexerFilenameDto.createdAtUtc = n.getDateValue(); },
1332
- "downloadedFromIndexerId": n => { downloadedFromIndexerFilenameDto.downloadedFromIndexerId = n.getGuidValue(); },
1333
- "filename": n => { downloadedFromIndexerFilenameDto.filename = n.getStringValue(); },
1334
- "filesize": n => { downloadedFromIndexerFilenameDto.filesize = n.getNumberValue(); },
1335
- "id": n => { downloadedFromIndexerFilenameDto.id = n.getGuidValue(); },
1336
- "osHash": n => { downloadedFromIndexerFilenameDto.osHash = n.getStringValue(); },
1337
- "pHash": n => { downloadedFromIndexerFilenameDto.pHash = n.getStringValue(); },
1338
- "updatedAtUtc": n => { downloadedFromIndexerFilenameDto.updatedAtUtc = n.getDateValue(); },
1339
- };
1340
- }
1341
- /**
1342
- * The deserialization information for the current model
1343
- * @param DownloadedFromIndexerResponse The instance to deserialize into.
1344
- * @returns {Record<string, (node: ParseNode) => void>}
1345
- */
1346
- // @ts-ignore
1347
- export function deserializeIntoDownloadedFromIndexerResponse(downloadedFromIndexerResponse = {}) {
1348
- return {
1349
- "createdAtUtc": n => { downloadedFromIndexerResponse.createdAtUtc = n.getDateValue(); },
1350
- "downloadIdentifier": n => { downloadedFromIndexerResponse.downloadIdentifier = n.getStringValue(); },
1351
- "filenames": n => { downloadedFromIndexerResponse.filenames = n.getCollectionOfObjectValues(createDownloadedFromIndexerFilenameDtoFromDiscriminatorValue); },
1352
- "id": n => { downloadedFromIndexerResponse.id = n.getGuidValue(); },
1353
- "indexerId": n => { downloadedFromIndexerResponse.indexerId = n.getStringValue(); },
1354
- "indexerSource": n => { downloadedFromIndexerResponse.indexerSource = n.getNumberValue(); },
1355
- "nzbName": n => { downloadedFromIndexerResponse.nzbName = n.getStringValue(); },
1356
- "nzbUrl": n => { downloadedFromIndexerResponse.nzbUrl = n.getStringValue(); },
1357
- "updatedAtUtc": n => { downloadedFromIndexerResponse.updatedAtUtc = n.getDateValue(); },
1358
- "videoId": n => { downloadedFromIndexerResponse.videoId = n.getGuidValue(); },
1359
- };
1360
- }
1361
1193
  /**
1362
1194
  * The deserialization information for the current model
1363
1195
  * @param FavoriteActorChangeDto The instance to deserialize into.
@@ -1598,21 +1430,6 @@ export function deserializeIntoGetHealthResponse(getHealthResponse = {}) {
1598
1430
  "timestamp": n => { getHealthResponse.timestamp = n.getDateValue(); },
1599
1431
  };
1600
1432
  }
1601
- /**
1602
- * The deserialization information for the current model
1603
- * @param GetIndexerFilehashChangesResponse The instance to deserialize into.
1604
- * @returns {Record<string, (node: ParseNode) => void>}
1605
- */
1606
- // @ts-ignore
1607
- export function deserializeIntoGetIndexerFilehashChangesResponse(getIndexerFilehashChangesResponse = {}) {
1608
- return {
1609
- "hasMore": n => { getIndexerFilehashChangesResponse.hasMore = n.getBooleanValue(); },
1610
- "items": n => { getIndexerFilehashChangesResponse.items = n.getCollectionOfObjectValues(createIndexerFilehashChangeDtoFromDiscriminatorValue); },
1611
- "nextCursor": n => { getIndexerFilehashChangesResponse.nextCursor = n.getObjectValue(createIndexerFilehashChangesCursorDtoFromDiscriminatorValue); },
1612
- "pageSize": n => { getIndexerFilehashChangesResponse.pageSize = n.getNumberValue(); },
1613
- "serverTimeUtc": n => { getIndexerFilehashChangesResponse.serverTimeUtc = n.getDateValue(); },
1614
- };
1615
- }
1616
1433
  /**
1617
1434
  * The deserialization information for the current model
1618
1435
  * @param GetRateLimitResponse The instance to deserialize into.
@@ -1664,6 +1481,21 @@ export function deserializeIntoGetVideoFilehashesByVideoIdsResponse(getVideoFile
1664
1481
  "notFoundVideoIds": n => { getVideoFilehashesByVideoIdsResponse.notFoundVideoIds = n.getCollectionOfPrimitiveValues("string"); },
1665
1482
  };
1666
1483
  }
1484
+ /**
1485
+ * The deserialization information for the current model
1486
+ * @param GetVideoImageChangesResponse The instance to deserialize into.
1487
+ * @returns {Record<string, (node: ParseNode) => void>}
1488
+ */
1489
+ // @ts-ignore
1490
+ export function deserializeIntoGetVideoImageChangesResponse(getVideoImageChangesResponse = {}) {
1491
+ return {
1492
+ "hasMore": n => { getVideoImageChangesResponse.hasMore = n.getBooleanValue(); },
1493
+ "items": n => { getVideoImageChangesResponse.items = n.getCollectionOfObjectValues(createVideoImageChangeDtoFromDiscriminatorValue); },
1494
+ "nextCursor": n => { getVideoImageChangesResponse.nextCursor = n.getObjectValue(createVideoImageChangesCursorDtoFromDiscriminatorValue); },
1495
+ "pageSize": n => { getVideoImageChangesResponse.pageSize = n.getNumberValue(); },
1496
+ "serverTimeUtc": n => { getVideoImageChangesResponse.serverTimeUtc = n.getDateValue(); },
1497
+ };
1498
+ }
1667
1499
  /**
1668
1500
  * The deserialization information for the current model
1669
1501
  * @param GetVideosByIdsRequest The instance to deserialize into.
@@ -1773,102 +1605,6 @@ export function deserializeIntoIdentifyVideosResponse(identifyVideosResponse = {
1773
1605
  "results": n => { identifyVideosResponse.results = n.getCollectionOfObjectValues(createIdentifyVideoResultDtoFromDiscriminatorValue); },
1774
1606
  };
1775
1607
  }
1776
- /**
1777
- * The deserialization information for the current model
1778
- * @param IndexerFilehashChangeDto The instance to deserialize into.
1779
- * @returns {Record<string, (node: ParseNode) => void>}
1780
- */
1781
- // @ts-ignore
1782
- export function deserializeIntoIndexerFilehashChangeDto(indexerFilehashChangeDto = {}) {
1783
- return {
1784
- "eventType": n => { indexerFilehashChangeDto.eventType = n.getStringValue(); },
1785
- "filehash": n => { indexerFilehashChangeDto.filehash = n.getObjectValue(createIndexerFilehashChangeFilehashDtoFromDiscriminatorValue); },
1786
- };
1787
- }
1788
- /**
1789
- * The deserialization information for the current model
1790
- * @param IndexerFilehashChangeFilehashDto The instance to deserialize into.
1791
- * @returns {Record<string, (node: ParseNode) => void>}
1792
- */
1793
- // @ts-ignore
1794
- export function deserializeIntoIndexerFilehashChangeFilehashDto(indexerFilehashChangeFilehashDto = {}) {
1795
- return {
1796
- "createdAtUtc": n => { indexerFilehashChangeFilehashDto.createdAtUtc = n.getDateValue(); },
1797
- "deletedAtUtc": n => { indexerFilehashChangeFilehashDto.deletedAtUtc = n.getDateValue(); },
1798
- "filename": n => { indexerFilehashChangeFilehashDto.filename = n.getStringValue(); },
1799
- "filesize": n => { indexerFilehashChangeFilehashDto.filesize = n.getNumberValue(); },
1800
- "id": n => { indexerFilehashChangeFilehashDto.id = n.getGuidValue(); },
1801
- "indexerId": n => { indexerFilehashChangeFilehashDto.indexerId = n.getStringValue(); },
1802
- "indexerSource": n => { indexerFilehashChangeFilehashDto.indexerSource = n.getStringValue(); },
1803
- "isDeleted": n => { indexerFilehashChangeFilehashDto.isDeleted = n.getBooleanValue(); },
1804
- "isVerified": n => { indexerFilehashChangeFilehashDto.isVerified = n.getBooleanValue(); },
1805
- "osHash": n => { indexerFilehashChangeFilehashDto.osHash = n.getStringValue(); },
1806
- "pHash": n => { indexerFilehashChangeFilehashDto.pHash = n.getStringValue(); },
1807
- "submissionCount": n => { indexerFilehashChangeFilehashDto.submissionCount = n.getNumberValue(); },
1808
- "updatedAtUtc": n => { indexerFilehashChangeFilehashDto.updatedAtUtc = n.getDateValue(); },
1809
- };
1810
- }
1811
- /**
1812
- * The deserialization information for the current model
1813
- * @param IndexerFilehashChangesCursorDto The instance to deserialize into.
1814
- * @returns {Record<string, (node: ParseNode) => void>}
1815
- */
1816
- // @ts-ignore
1817
- export function deserializeIntoIndexerFilehashChangesCursorDto(indexerFilehashChangesCursorDto = {}) {
1818
- return {
1819
- "id": n => { indexerFilehashChangesCursorDto.id = n.getGuidValue(); },
1820
- "updatedAtUtc": n => { indexerFilehashChangesCursorDto.updatedAtUtc = n.getDateValue(); },
1821
- };
1822
- }
1823
- /**
1824
- * The deserialization information for the current model
1825
- * @param IndexerFilehashDto The instance to deserialize into.
1826
- * @returns {Record<string, (node: ParseNode) => void>}
1827
- */
1828
- // @ts-ignore
1829
- export function deserializeIntoIndexerFilehashDto(indexerFilehashDto = {}) {
1830
- return {
1831
- "createdAtUtc": n => { indexerFilehashDto.createdAtUtc = n.getDateValue(); },
1832
- "filename": n => { indexerFilehashDto.filename = n.getStringValue(); },
1833
- "filesize": n => { indexerFilehashDto.filesize = n.getNumberValue(); },
1834
- "id": n => { indexerFilehashDto.id = n.getGuidValue(); },
1835
- "indexerId": n => { indexerFilehashDto.indexerId = n.getStringValue(); },
1836
- "indexerSource": n => { indexerFilehashDto.indexerSource = n.getStringValue(); },
1837
- "isVerified": n => { indexerFilehashDto.isVerified = n.getBooleanValue(); },
1838
- "osHash": n => { indexerFilehashDto.osHash = n.getStringValue(); },
1839
- "pHash": n => { indexerFilehashDto.pHash = n.getStringValue(); },
1840
- "submissionCount": n => { indexerFilehashDto.submissionCount = n.getNumberValue(); },
1841
- "updatedAtUtc": n => { indexerFilehashDto.updatedAtUtc = n.getDateValue(); },
1842
- };
1843
- }
1844
- /**
1845
- * The deserialization information for the current model
1846
- * @param IndexerFilehashLookupKeyDto The instance to deserialize into.
1847
- * @returns {Record<string, (node: ParseNode) => void>}
1848
- */
1849
- // @ts-ignore
1850
- export function deserializeIntoIndexerFilehashLookupKeyDto(indexerFilehashLookupKeyDto = {}) {
1851
- return {
1852
- "indexerId": n => { indexerFilehashLookupKeyDto.indexerId = n.getStringValue(); },
1853
- "indexerSource": n => { indexerFilehashLookupKeyDto.indexerSource = n.getEnumValue(IndexerFilehashLookupKeyDto_indexerSourceObject); },
1854
- };
1855
- }
1856
- /**
1857
- * The deserialization information for the current model
1858
- * @param LatestIndexerFilehashesResponse The instance to deserialize into.
1859
- * @returns {Record<string, (node: ParseNode) => void>}
1860
- */
1861
- // @ts-ignore
1862
- export function deserializeIntoLatestIndexerFilehashesResponse(latestIndexerFilehashesResponse = {}) {
1863
- return {
1864
- "items": n => { latestIndexerFilehashesResponse.items = n.getCollectionOfObjectValues(createIndexerFilehashDtoFromDiscriminatorValue); },
1865
- "page": n => { latestIndexerFilehashesResponse.page = n.getNumberValue(); },
1866
- "pageSize": n => { latestIndexerFilehashesResponse.pageSize = n.getNumberValue(); },
1867
- "sortBy": n => { latestIndexerFilehashesResponse.sortBy = n.getStringValue(); },
1868
- "sortDirection": n => { latestIndexerFilehashesResponse.sortDirection = n.getStringValue(); },
1869
- "totalCount": n => { latestIndexerFilehashesResponse.totalCount = n.getNumberValue(); },
1870
- };
1871
- }
1872
1608
  /**
1873
1609
  * The deserialization information for the current model
1874
1610
  * @param LatestPreDbItemDto The instance to deserialize into.
@@ -2055,33 +1791,6 @@ export function deserializeIntoListWantedVideosResponse(listWantedVideosResponse
2055
1791
  "totalPages": n => { listWantedVideosResponse.totalPages = n.getNumberValue(); },
2056
1792
  };
2057
1793
  }
2058
- /**
2059
- * The deserialization information for the current model
2060
- * @param LookupIndexerFilehashesRequest The instance to deserialize into.
2061
- * @returns {Record<string, (node: ParseNode) => void>}
2062
- */
2063
- // @ts-ignore
2064
- export function deserializeIntoLookupIndexerFilehashesRequest(lookupIndexerFilehashesRequest = {}) {
2065
- return {
2066
- "filenames": n => { lookupIndexerFilehashesRequest.filenames = n.getCollectionOfPrimitiveValues("string"); },
2067
- "filesizes": n => { lookupIndexerFilehashesRequest.filesizes = n.getCollectionOfPrimitiveValues("number"); },
2068
- "ids": n => { lookupIndexerFilehashesRequest.ids = n.getCollectionOfPrimitiveValues("string"); },
2069
- "indexerKeys": n => { lookupIndexerFilehashesRequest.indexerKeys = n.getCollectionOfObjectValues(createIndexerFilehashLookupKeyDtoFromDiscriminatorValue); },
2070
- "osHashes": n => { lookupIndexerFilehashesRequest.osHashes = n.getCollectionOfPrimitiveValues("string"); },
2071
- "pHashes": n => { lookupIndexerFilehashesRequest.pHashes = n.getCollectionOfPrimitiveValues("string"); },
2072
- };
2073
- }
2074
- /**
2075
- * The deserialization information for the current model
2076
- * @param LookupIndexerFilehashesResponse The instance to deserialize into.
2077
- * @returns {Record<string, (node: ParseNode) => void>}
2078
- */
2079
- // @ts-ignore
2080
- export function deserializeIntoLookupIndexerFilehashesResponse(lookupIndexerFilehashesResponse = {}) {
2081
- return {
2082
- "items": n => { lookupIndexerFilehashesResponse.items = n.getCollectionOfObjectValues(createIndexerFilehashDtoFromDiscriminatorValue); },
2083
- };
2084
- }
2085
1794
  /**
2086
1795
  * The deserialization information for the current model
2087
1796
  * @param LookupVideoFilehashesRequest The instance to deserialize into.
@@ -2270,6 +1979,7 @@ export function deserializeIntoSubmitVideoFilehashItem(submitVideoFilehashItem =
2270
1979
  "filesize": n => { submitVideoFilehashItem.filesize = n.getNumberValue(); },
2271
1980
  "osHash": n => { submitVideoFilehashItem.osHash = n.getStringValue(); },
2272
1981
  "pHash": n => { submitVideoFilehashItem.pHash = n.getStringValue(); },
1982
+ "releaseName": n => { submitVideoFilehashItem.releaseName = n.getStringValue(); },
2273
1983
  "source": n => { submitVideoFilehashItem.source = n.getNumberValue(); },
2274
1984
  "videoId": n => { submitVideoFilehashItem.videoId = n.getGuidValue(); },
2275
1985
  };
@@ -2317,35 +2027,6 @@ export function deserializeIntoUnlinkedVideoFilehashesResponse(unlinkedVideoFile
2317
2027
  "totalCount": n => { unlinkedVideoFilehashesResponse.totalCount = n.getNumberValue(); },
2318
2028
  };
2319
2029
  }
2320
- /**
2321
- * The deserialization information for the current model
2322
- * @param UpdateDownloadedFromIndexerFilenameRequest The instance to deserialize into.
2323
- * @returns {Record<string, (node: ParseNode) => void>}
2324
- */
2325
- // @ts-ignore
2326
- export function deserializeIntoUpdateDownloadedFromIndexerFilenameRequest(updateDownloadedFromIndexerFilenameRequest = {}) {
2327
- return {
2328
- "filename": n => { updateDownloadedFromIndexerFilenameRequest.filename = n.getStringValue(); },
2329
- "filesize": n => { updateDownloadedFromIndexerFilenameRequest.filesize = n.getNumberValue(); },
2330
- "osHash": n => { updateDownloadedFromIndexerFilenameRequest.osHash = n.getStringValue(); },
2331
- "pHash": n => { updateDownloadedFromIndexerFilenameRequest.pHash = n.getStringValue(); },
2332
- };
2333
- }
2334
- /**
2335
- * The deserialization information for the current model
2336
- * @param UpdateDownloadedFromIndexerRequest The instance to deserialize into.
2337
- * @returns {Record<string, (node: ParseNode) => void>}
2338
- */
2339
- // @ts-ignore
2340
- export function deserializeIntoUpdateDownloadedFromIndexerRequest(updateDownloadedFromIndexerRequest = {}) {
2341
- return {
2342
- "downloadIdentifier": n => { updateDownloadedFromIndexerRequest.downloadIdentifier = n.getStringValue(); },
2343
- "indexerId": n => { updateDownloadedFromIndexerRequest.indexerId = n.getStringValue(); },
2344
- "indexerSource": n => { updateDownloadedFromIndexerRequest.indexerSource = n.getNumberValue(); },
2345
- "nzbName": n => { updateDownloadedFromIndexerRequest.nzbName = n.getStringValue(); },
2346
- "nzbUrl": n => { updateDownloadedFromIndexerRequest.nzbUrl = n.getStringValue(); },
2347
- };
2348
- }
2349
2030
  /**
2350
2031
  * The deserialization information for the current model
2351
2032
  * @param UpdateWantedVideoRequest The instance to deserialize into.
@@ -2570,6 +2251,45 @@ export function deserializeIntoVideoFilehashesByVideoIdDto(videoFilehashesByVide
2570
2251
  "videoId": n => { videoFilehashesByVideoIdDto.videoId = n.getGuidValue(); },
2571
2252
  };
2572
2253
  }
2254
+ /**
2255
+ * The deserialization information for the current model
2256
+ * @param VideoImageChangeDto The instance to deserialize into.
2257
+ * @returns {Record<string, (node: ParseNode) => void>}
2258
+ */
2259
+ // @ts-ignore
2260
+ export function deserializeIntoVideoImageChangeDto(videoImageChangeDto = {}) {
2261
+ return {
2262
+ "eventType": n => { videoImageChangeDto.eventType = n.getStringValue(); },
2263
+ "image": n => { videoImageChangeDto.image = n.getObjectValue(createVideoImageChangeImageDtoFromDiscriminatorValue); },
2264
+ };
2265
+ }
2266
+ /**
2267
+ * The deserialization information for the current model
2268
+ * @param VideoImageChangeImageDto The instance to deserialize into.
2269
+ * @returns {Record<string, (node: ParseNode) => void>}
2270
+ */
2271
+ // @ts-ignore
2272
+ export function deserializeIntoVideoImageChangeImageDto(videoImageChangeImageDto = {}) {
2273
+ return {
2274
+ "createdAtUtc": n => { videoImageChangeImageDto.createdAtUtc = n.getDateValue(); },
2275
+ "id": n => { videoImageChangeImageDto.id = n.getGuidValue(); },
2276
+ "updatedAtUtc": n => { videoImageChangeImageDto.updatedAtUtc = n.getDateValue(); },
2277
+ "url": n => { videoImageChangeImageDto.url = n.getStringValue(); },
2278
+ "videoId": n => { videoImageChangeImageDto.videoId = n.getGuidValue(); },
2279
+ };
2280
+ }
2281
+ /**
2282
+ * The deserialization information for the current model
2283
+ * @param VideoImageChangesCursorDto The instance to deserialize into.
2284
+ * @returns {Record<string, (node: ParseNode) => void>}
2285
+ */
2286
+ // @ts-ignore
2287
+ export function deserializeIntoVideoImageChangesCursorDto(videoImageChangesCursorDto = {}) {
2288
+ return {
2289
+ "id": n => { videoImageChangesCursorDto.id = n.getGuidValue(); },
2290
+ "updatedAtUtc": n => { videoImageChangesCursorDto.updatedAtUtc = n.getDateValue(); },
2291
+ };
2292
+ }
2573
2293
  /**
2574
2294
  * The deserialization information for the current model
2575
2295
  * @param VideoSummaryActorDto The instance to deserialize into.
@@ -3022,43 +2742,6 @@ export function serializeActorSummaryDto(writer, actorSummaryDto = {}, isSeriali
3022
2742
  writer.writeStringValue("profileImageUrl", actorSummaryDto.profileImageUrl);
3023
2743
  writer.writeAdditionalData(actorSummaryDto.additionalData);
3024
2744
  }
3025
- /**
3026
- * Serializes information the current object
3027
- * @param AddDownloadedFromIndexerFilenameRequest The instance to serialize from.
3028
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3029
- * @param writer Serialization writer to use to serialize this model
3030
- */
3031
- // @ts-ignore
3032
- export function serializeAddDownloadedFromIndexerFilenameRequest(writer, addDownloadedFromIndexerFilenameRequest = {}, isSerializingDerivedType = false) {
3033
- if (!addDownloadedFromIndexerFilenameRequest || isSerializingDerivedType) {
3034
- return;
3035
- }
3036
- writer.writeStringValue("filename", addDownloadedFromIndexerFilenameRequest.filename);
3037
- writer.writeNumberValue("filesize", addDownloadedFromIndexerFilenameRequest.filesize);
3038
- writer.writeStringValue("osHash", addDownloadedFromIndexerFilenameRequest.osHash);
3039
- writer.writeStringValue("pHash", addDownloadedFromIndexerFilenameRequest.pHash);
3040
- writer.writeAdditionalData(addDownloadedFromIndexerFilenameRequest.additionalData);
3041
- }
3042
- /**
3043
- * Serializes information the current object
3044
- * @param AddDownloadedFromIndexerRequest The instance to serialize from.
3045
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3046
- * @param writer Serialization writer to use to serialize this model
3047
- */
3048
- // @ts-ignore
3049
- export function serializeAddDownloadedFromIndexerRequest(writer, addDownloadedFromIndexerRequest = {}, isSerializingDerivedType = false) {
3050
- if (!addDownloadedFromIndexerRequest || isSerializingDerivedType) {
3051
- return;
3052
- }
3053
- writer.writeStringValue("downloadIdentifier", addDownloadedFromIndexerRequest.downloadIdentifier);
3054
- writer.writeCollectionOfObjectValues("filenames", addDownloadedFromIndexerRequest.filenames, serializeAddDownloadedFromIndexerFilenameRequest);
3055
- writer.writeStringValue("indexerId", addDownloadedFromIndexerRequest.indexerId);
3056
- writer.writeNumberValue("indexerSource", addDownloadedFromIndexerRequest.indexerSource);
3057
- writer.writeStringValue("nzbName", addDownloadedFromIndexerRequest.nzbName);
3058
- writer.writeStringValue("nzbUrl", addDownloadedFromIndexerRequest.nzbUrl);
3059
- writer.writeGuidValue("videoId", addDownloadedFromIndexerRequest.videoId);
3060
- writer.writeAdditionalData(addDownloadedFromIndexerRequest.additionalData);
3061
- }
3062
2745
  /**
3063
2746
  * Serializes information the current object
3064
2747
  * @param AddWantedVideosBatchRequest The instance to serialize from.
@@ -3089,50 +2772,6 @@ export function serializeAddWantedVideosBatchResponse(writer, addWantedVideosBat
3089
2772
  writer.writeNumberValue("notFound", addWantedVideosBatchResponse.notFound);
3090
2773
  writer.writeAdditionalData(addWantedVideosBatchResponse.additionalData);
3091
2774
  }
3092
- /**
3093
- * Serializes information the current object
3094
- * @param DownloadedFromIndexerFilenameDto The instance to serialize from.
3095
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3096
- * @param writer Serialization writer to use to serialize this model
3097
- */
3098
- // @ts-ignore
3099
- export function serializeDownloadedFromIndexerFilenameDto(writer, downloadedFromIndexerFilenameDto = {}, isSerializingDerivedType = false) {
3100
- if (!downloadedFromIndexerFilenameDto || isSerializingDerivedType) {
3101
- return;
3102
- }
3103
- writer.writeDateValue("createdAtUtc", downloadedFromIndexerFilenameDto.createdAtUtc);
3104
- writer.writeGuidValue("downloadedFromIndexerId", downloadedFromIndexerFilenameDto.downloadedFromIndexerId);
3105
- writer.writeStringValue("filename", downloadedFromIndexerFilenameDto.filename);
3106
- writer.writeNumberValue("filesize", downloadedFromIndexerFilenameDto.filesize);
3107
- writer.writeGuidValue("id", downloadedFromIndexerFilenameDto.id);
3108
- writer.writeStringValue("osHash", downloadedFromIndexerFilenameDto.osHash);
3109
- writer.writeStringValue("pHash", downloadedFromIndexerFilenameDto.pHash);
3110
- writer.writeDateValue("updatedAtUtc", downloadedFromIndexerFilenameDto.updatedAtUtc);
3111
- writer.writeAdditionalData(downloadedFromIndexerFilenameDto.additionalData);
3112
- }
3113
- /**
3114
- * Serializes information the current object
3115
- * @param DownloadedFromIndexerResponse The instance to serialize from.
3116
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3117
- * @param writer Serialization writer to use to serialize this model
3118
- */
3119
- // @ts-ignore
3120
- export function serializeDownloadedFromIndexerResponse(writer, downloadedFromIndexerResponse = {}, isSerializingDerivedType = false) {
3121
- if (!downloadedFromIndexerResponse || isSerializingDerivedType) {
3122
- return;
3123
- }
3124
- writer.writeDateValue("createdAtUtc", downloadedFromIndexerResponse.createdAtUtc);
3125
- writer.writeStringValue("downloadIdentifier", downloadedFromIndexerResponse.downloadIdentifier);
3126
- writer.writeCollectionOfObjectValues("filenames", downloadedFromIndexerResponse.filenames, serializeDownloadedFromIndexerFilenameDto);
3127
- writer.writeGuidValue("id", downloadedFromIndexerResponse.id);
3128
- writer.writeStringValue("indexerId", downloadedFromIndexerResponse.indexerId);
3129
- writer.writeNumberValue("indexerSource", downloadedFromIndexerResponse.indexerSource);
3130
- writer.writeStringValue("nzbName", downloadedFromIndexerResponse.nzbName);
3131
- writer.writeStringValue("nzbUrl", downloadedFromIndexerResponse.nzbUrl);
3132
- writer.writeDateValue("updatedAtUtc", downloadedFromIndexerResponse.updatedAtUtc);
3133
- writer.writeGuidValue("videoId", downloadedFromIndexerResponse.videoId);
3134
- writer.writeAdditionalData(downloadedFromIndexerResponse.additionalData);
3135
- }
3136
2775
  /**
3137
2776
  * Serializes information the current object
3138
2777
  * @param FavoriteActorChangeDto The instance to serialize from.
@@ -3424,24 +3063,6 @@ export function serializeGetHealthResponse(writer, getHealthResponse = {}, isSer
3424
3063
  writer.writeDateValue("timestamp", getHealthResponse.timestamp);
3425
3064
  writer.writeAdditionalData(getHealthResponse.additionalData);
3426
3065
  }
3427
- /**
3428
- * Serializes information the current object
3429
- * @param GetIndexerFilehashChangesResponse The instance to serialize from.
3430
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3431
- * @param writer Serialization writer to use to serialize this model
3432
- */
3433
- // @ts-ignore
3434
- export function serializeGetIndexerFilehashChangesResponse(writer, getIndexerFilehashChangesResponse = {}, isSerializingDerivedType = false) {
3435
- if (!getIndexerFilehashChangesResponse || isSerializingDerivedType) {
3436
- return;
3437
- }
3438
- writer.writeBooleanValue("hasMore", getIndexerFilehashChangesResponse.hasMore);
3439
- writer.writeCollectionOfObjectValues("items", getIndexerFilehashChangesResponse.items, serializeIndexerFilehashChangeDto);
3440
- writer.writeObjectValue("nextCursor", getIndexerFilehashChangesResponse.nextCursor, serializeIndexerFilehashChangesCursorDto);
3441
- writer.writeNumberValue("pageSize", getIndexerFilehashChangesResponse.pageSize);
3442
- writer.writeDateValue("serverTimeUtc", getIndexerFilehashChangesResponse.serverTimeUtc);
3443
- writer.writeAdditionalData(getIndexerFilehashChangesResponse.additionalData);
3444
- }
3445
3066
  /**
3446
3067
  * Serializes information the current object
3447
3068
  * @param GetRateLimitResponse The instance to serialize from.
@@ -3505,6 +3126,24 @@ export function serializeGetVideoFilehashesByVideoIdsResponse(writer, getVideoFi
3505
3126
  writer.writeCollectionOfPrimitiveValues("notFoundVideoIds", getVideoFilehashesByVideoIdsResponse.notFoundVideoIds);
3506
3127
  writer.writeAdditionalData(getVideoFilehashesByVideoIdsResponse.additionalData);
3507
3128
  }
3129
+ /**
3130
+ * Serializes information the current object
3131
+ * @param GetVideoImageChangesResponse The instance to serialize from.
3132
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3133
+ * @param writer Serialization writer to use to serialize this model
3134
+ */
3135
+ // @ts-ignore
3136
+ export function serializeGetVideoImageChangesResponse(writer, getVideoImageChangesResponse = {}, isSerializingDerivedType = false) {
3137
+ if (!getVideoImageChangesResponse || isSerializingDerivedType) {
3138
+ return;
3139
+ }
3140
+ writer.writeBooleanValue("hasMore", getVideoImageChangesResponse.hasMore);
3141
+ writer.writeCollectionOfObjectValues("items", getVideoImageChangesResponse.items, serializeVideoImageChangeDto);
3142
+ writer.writeObjectValue("nextCursor", getVideoImageChangesResponse.nextCursor, serializeVideoImageChangesCursorDto);
3143
+ writer.writeNumberValue("pageSize", getVideoImageChangesResponse.pageSize);
3144
+ writer.writeDateValue("serverTimeUtc", getVideoImageChangesResponse.serverTimeUtc);
3145
+ writer.writeAdditionalData(getVideoImageChangesResponse.additionalData);
3146
+ }
3508
3147
  /**
3509
3148
  * Serializes information the current object
3510
3149
  * @param GetVideosByIdsRequest The instance to serialize from.
@@ -3638,120 +3277,6 @@ export function serializeIdentifyVideosResponse(writer, identifyVideosResponse =
3638
3277
  writer.writeCollectionOfObjectValues("results", identifyVideosResponse.results, serializeIdentifyVideoResultDto);
3639
3278
  writer.writeAdditionalData(identifyVideosResponse.additionalData);
3640
3279
  }
3641
- /**
3642
- * Serializes information the current object
3643
- * @param IndexerFilehashChangeDto The instance to serialize from.
3644
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3645
- * @param writer Serialization writer to use to serialize this model
3646
- */
3647
- // @ts-ignore
3648
- export function serializeIndexerFilehashChangeDto(writer, indexerFilehashChangeDto = {}, isSerializingDerivedType = false) {
3649
- if (!indexerFilehashChangeDto || isSerializingDerivedType) {
3650
- return;
3651
- }
3652
- writer.writeStringValue("eventType", indexerFilehashChangeDto.eventType);
3653
- writer.writeObjectValue("filehash", indexerFilehashChangeDto.filehash, serializeIndexerFilehashChangeFilehashDto);
3654
- writer.writeAdditionalData(indexerFilehashChangeDto.additionalData);
3655
- }
3656
- /**
3657
- * Serializes information the current object
3658
- * @param IndexerFilehashChangeFilehashDto The instance to serialize from.
3659
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3660
- * @param writer Serialization writer to use to serialize this model
3661
- */
3662
- // @ts-ignore
3663
- export function serializeIndexerFilehashChangeFilehashDto(writer, indexerFilehashChangeFilehashDto = {}, isSerializingDerivedType = false) {
3664
- if (!indexerFilehashChangeFilehashDto || isSerializingDerivedType) {
3665
- return;
3666
- }
3667
- writer.writeDateValue("createdAtUtc", indexerFilehashChangeFilehashDto.createdAtUtc);
3668
- writer.writeDateValue("deletedAtUtc", indexerFilehashChangeFilehashDto.deletedAtUtc);
3669
- writer.writeStringValue("filename", indexerFilehashChangeFilehashDto.filename);
3670
- writer.writeNumberValue("filesize", indexerFilehashChangeFilehashDto.filesize);
3671
- writer.writeGuidValue("id", indexerFilehashChangeFilehashDto.id);
3672
- writer.writeStringValue("indexerId", indexerFilehashChangeFilehashDto.indexerId);
3673
- writer.writeStringValue("indexerSource", indexerFilehashChangeFilehashDto.indexerSource);
3674
- writer.writeBooleanValue("isDeleted", indexerFilehashChangeFilehashDto.isDeleted);
3675
- writer.writeBooleanValue("isVerified", indexerFilehashChangeFilehashDto.isVerified);
3676
- writer.writeStringValue("osHash", indexerFilehashChangeFilehashDto.osHash);
3677
- writer.writeStringValue("pHash", indexerFilehashChangeFilehashDto.pHash);
3678
- writer.writeNumberValue("submissionCount", indexerFilehashChangeFilehashDto.submissionCount);
3679
- writer.writeDateValue("updatedAtUtc", indexerFilehashChangeFilehashDto.updatedAtUtc);
3680
- writer.writeAdditionalData(indexerFilehashChangeFilehashDto.additionalData);
3681
- }
3682
- /**
3683
- * Serializes information the current object
3684
- * @param IndexerFilehashChangesCursorDto The instance to serialize from.
3685
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3686
- * @param writer Serialization writer to use to serialize this model
3687
- */
3688
- // @ts-ignore
3689
- export function serializeIndexerFilehashChangesCursorDto(writer, indexerFilehashChangesCursorDto = {}, isSerializingDerivedType = false) {
3690
- if (!indexerFilehashChangesCursorDto || isSerializingDerivedType) {
3691
- return;
3692
- }
3693
- writer.writeGuidValue("id", indexerFilehashChangesCursorDto.id);
3694
- writer.writeDateValue("updatedAtUtc", indexerFilehashChangesCursorDto.updatedAtUtc);
3695
- writer.writeAdditionalData(indexerFilehashChangesCursorDto.additionalData);
3696
- }
3697
- /**
3698
- * Serializes information the current object
3699
- * @param IndexerFilehashDto The instance to serialize from.
3700
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3701
- * @param writer Serialization writer to use to serialize this model
3702
- */
3703
- // @ts-ignore
3704
- export function serializeIndexerFilehashDto(writer, indexerFilehashDto = {}, isSerializingDerivedType = false) {
3705
- if (!indexerFilehashDto || isSerializingDerivedType) {
3706
- return;
3707
- }
3708
- writer.writeDateValue("createdAtUtc", indexerFilehashDto.createdAtUtc);
3709
- writer.writeStringValue("filename", indexerFilehashDto.filename);
3710
- writer.writeNumberValue("filesize", indexerFilehashDto.filesize);
3711
- writer.writeGuidValue("id", indexerFilehashDto.id);
3712
- writer.writeStringValue("indexerId", indexerFilehashDto.indexerId);
3713
- writer.writeStringValue("indexerSource", indexerFilehashDto.indexerSource);
3714
- writer.writeBooleanValue("isVerified", indexerFilehashDto.isVerified);
3715
- writer.writeStringValue("osHash", indexerFilehashDto.osHash);
3716
- writer.writeStringValue("pHash", indexerFilehashDto.pHash);
3717
- writer.writeNumberValue("submissionCount", indexerFilehashDto.submissionCount);
3718
- writer.writeDateValue("updatedAtUtc", indexerFilehashDto.updatedAtUtc);
3719
- writer.writeAdditionalData(indexerFilehashDto.additionalData);
3720
- }
3721
- /**
3722
- * Serializes information the current object
3723
- * @param IndexerFilehashLookupKeyDto The instance to serialize from.
3724
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3725
- * @param writer Serialization writer to use to serialize this model
3726
- */
3727
- // @ts-ignore
3728
- export function serializeIndexerFilehashLookupKeyDto(writer, indexerFilehashLookupKeyDto = {}, isSerializingDerivedType = false) {
3729
- if (!indexerFilehashLookupKeyDto || isSerializingDerivedType) {
3730
- return;
3731
- }
3732
- writer.writeStringValue("indexerId", indexerFilehashLookupKeyDto.indexerId);
3733
- writer.writeEnumValue("indexerSource", indexerFilehashLookupKeyDto.indexerSource);
3734
- writer.writeAdditionalData(indexerFilehashLookupKeyDto.additionalData);
3735
- }
3736
- /**
3737
- * Serializes information the current object
3738
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3739
- * @param LatestIndexerFilehashesResponse The instance to serialize from.
3740
- * @param writer Serialization writer to use to serialize this model
3741
- */
3742
- // @ts-ignore
3743
- export function serializeLatestIndexerFilehashesResponse(writer, latestIndexerFilehashesResponse = {}, isSerializingDerivedType = false) {
3744
- if (!latestIndexerFilehashesResponse || isSerializingDerivedType) {
3745
- return;
3746
- }
3747
- writer.writeCollectionOfObjectValues("items", latestIndexerFilehashesResponse.items, serializeIndexerFilehashDto);
3748
- writer.writeNumberValue("page", latestIndexerFilehashesResponse.page);
3749
- writer.writeNumberValue("pageSize", latestIndexerFilehashesResponse.pageSize);
3750
- writer.writeStringValue("sortBy", latestIndexerFilehashesResponse.sortBy);
3751
- writer.writeStringValue("sortDirection", latestIndexerFilehashesResponse.sortDirection);
3752
- writer.writeNumberValue("totalCount", latestIndexerFilehashesResponse.totalCount);
3753
- writer.writeAdditionalData(latestIndexerFilehashesResponse.additionalData);
3754
- }
3755
3280
  /**
3756
3281
  * Serializes information the current object
3757
3282
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -3974,39 +3499,6 @@ export function serializeListWantedVideosResponse(writer, listWantedVideosRespon
3974
3499
  writer.writeNumberValue("totalPages", listWantedVideosResponse.totalPages);
3975
3500
  writer.writeAdditionalData(listWantedVideosResponse.additionalData);
3976
3501
  }
3977
- /**
3978
- * Serializes information the current object
3979
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3980
- * @param LookupIndexerFilehashesRequest The instance to serialize from.
3981
- * @param writer Serialization writer to use to serialize this model
3982
- */
3983
- // @ts-ignore
3984
- export function serializeLookupIndexerFilehashesRequest(writer, lookupIndexerFilehashesRequest = {}, isSerializingDerivedType = false) {
3985
- if (!lookupIndexerFilehashesRequest || isSerializingDerivedType) {
3986
- return;
3987
- }
3988
- writer.writeCollectionOfPrimitiveValues("filenames", lookupIndexerFilehashesRequest.filenames);
3989
- writer.writeCollectionOfPrimitiveValues("filesizes", lookupIndexerFilehashesRequest.filesizes);
3990
- writer.writeCollectionOfPrimitiveValues("ids", lookupIndexerFilehashesRequest.ids);
3991
- writer.writeCollectionOfObjectValues("indexerKeys", lookupIndexerFilehashesRequest.indexerKeys, serializeIndexerFilehashLookupKeyDto);
3992
- writer.writeCollectionOfPrimitiveValues("osHashes", lookupIndexerFilehashesRequest.osHashes);
3993
- writer.writeCollectionOfPrimitiveValues("pHashes", lookupIndexerFilehashesRequest.pHashes);
3994
- writer.writeAdditionalData(lookupIndexerFilehashesRequest.additionalData);
3995
- }
3996
- /**
3997
- * Serializes information the current object
3998
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3999
- * @param LookupIndexerFilehashesResponse The instance to serialize from.
4000
- * @param writer Serialization writer to use to serialize this model
4001
- */
4002
- // @ts-ignore
4003
- export function serializeLookupIndexerFilehashesResponse(writer, lookupIndexerFilehashesResponse = {}, isSerializingDerivedType = false) {
4004
- if (!lookupIndexerFilehashesResponse || isSerializingDerivedType) {
4005
- return;
4006
- }
4007
- writer.writeCollectionOfObjectValues("items", lookupIndexerFilehashesResponse.items, serializeIndexerFilehashDto);
4008
- writer.writeAdditionalData(lookupIndexerFilehashesResponse.additionalData);
4009
- }
4010
3502
  /**
4011
3503
  * Serializes information the current object
4012
3504
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -4237,6 +3729,7 @@ export function serializeSubmitVideoFilehashItem(writer, submitVideoFilehashItem
4237
3729
  writer.writeNumberValue("filesize", submitVideoFilehashItem.filesize);
4238
3730
  writer.writeStringValue("osHash", submitVideoFilehashItem.osHash);
4239
3731
  writer.writeStringValue("pHash", submitVideoFilehashItem.pHash);
3732
+ writer.writeStringValue("releaseName", submitVideoFilehashItem.releaseName);
4240
3733
  writer.writeNumberValue("source", submitVideoFilehashItem.source);
4241
3734
  writer.writeGuidValue("videoId", submitVideoFilehashItem.videoId);
4242
3735
  writer.writeAdditionalData(submitVideoFilehashItem.additionalData);
@@ -4293,41 +3786,6 @@ export function serializeUnlinkedVideoFilehashesResponse(writer, unlinkedVideoFi
4293
3786
  writer.writeNumberValue("totalCount", unlinkedVideoFilehashesResponse.totalCount);
4294
3787
  writer.writeAdditionalData(unlinkedVideoFilehashesResponse.additionalData);
4295
3788
  }
4296
- /**
4297
- * Serializes information the current object
4298
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4299
- * @param UpdateDownloadedFromIndexerFilenameRequest The instance to serialize from.
4300
- * @param writer Serialization writer to use to serialize this model
4301
- */
4302
- // @ts-ignore
4303
- export function serializeUpdateDownloadedFromIndexerFilenameRequest(writer, updateDownloadedFromIndexerFilenameRequest = {}, isSerializingDerivedType = false) {
4304
- if (!updateDownloadedFromIndexerFilenameRequest || isSerializingDerivedType) {
4305
- return;
4306
- }
4307
- writer.writeStringValue("filename", updateDownloadedFromIndexerFilenameRequest.filename);
4308
- writer.writeNumberValue("filesize", updateDownloadedFromIndexerFilenameRequest.filesize);
4309
- writer.writeStringValue("osHash", updateDownloadedFromIndexerFilenameRequest.osHash);
4310
- writer.writeStringValue("pHash", updateDownloadedFromIndexerFilenameRequest.pHash);
4311
- writer.writeAdditionalData(updateDownloadedFromIndexerFilenameRequest.additionalData);
4312
- }
4313
- /**
4314
- * Serializes information the current object
4315
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4316
- * @param UpdateDownloadedFromIndexerRequest The instance to serialize from.
4317
- * @param writer Serialization writer to use to serialize this model
4318
- */
4319
- // @ts-ignore
4320
- export function serializeUpdateDownloadedFromIndexerRequest(writer, updateDownloadedFromIndexerRequest = {}, isSerializingDerivedType = false) {
4321
- if (!updateDownloadedFromIndexerRequest || isSerializingDerivedType) {
4322
- return;
4323
- }
4324
- writer.writeStringValue("downloadIdentifier", updateDownloadedFromIndexerRequest.downloadIdentifier);
4325
- writer.writeStringValue("indexerId", updateDownloadedFromIndexerRequest.indexerId);
4326
- writer.writeNumberValue("indexerSource", updateDownloadedFromIndexerRequest.indexerSource);
4327
- writer.writeStringValue("nzbName", updateDownloadedFromIndexerRequest.nzbName);
4328
- writer.writeStringValue("nzbUrl", updateDownloadedFromIndexerRequest.nzbUrl);
4329
- writer.writeAdditionalData(updateDownloadedFromIndexerRequest.additionalData);
4330
- }
4331
3789
  /**
4332
3790
  * Serializes information the current object
4333
3791
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -4597,6 +4055,54 @@ export function serializeVideoFilehashesByVideoIdDto(writer, videoFilehashesByVi
4597
4055
  writer.writeGuidValue("videoId", videoFilehashesByVideoIdDto.videoId);
4598
4056
  writer.writeAdditionalData(videoFilehashesByVideoIdDto.additionalData);
4599
4057
  }
4058
+ /**
4059
+ * Serializes information the current object
4060
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4061
+ * @param VideoImageChangeDto The instance to serialize from.
4062
+ * @param writer Serialization writer to use to serialize this model
4063
+ */
4064
+ // @ts-ignore
4065
+ export function serializeVideoImageChangeDto(writer, videoImageChangeDto = {}, isSerializingDerivedType = false) {
4066
+ if (!videoImageChangeDto || isSerializingDerivedType) {
4067
+ return;
4068
+ }
4069
+ writer.writeStringValue("eventType", videoImageChangeDto.eventType);
4070
+ writer.writeObjectValue("image", videoImageChangeDto.image, serializeVideoImageChangeImageDto);
4071
+ writer.writeAdditionalData(videoImageChangeDto.additionalData);
4072
+ }
4073
+ /**
4074
+ * Serializes information the current object
4075
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4076
+ * @param VideoImageChangeImageDto The instance to serialize from.
4077
+ * @param writer Serialization writer to use to serialize this model
4078
+ */
4079
+ // @ts-ignore
4080
+ export function serializeVideoImageChangeImageDto(writer, videoImageChangeImageDto = {}, isSerializingDerivedType = false) {
4081
+ if (!videoImageChangeImageDto || isSerializingDerivedType) {
4082
+ return;
4083
+ }
4084
+ writer.writeDateValue("createdAtUtc", videoImageChangeImageDto.createdAtUtc);
4085
+ writer.writeGuidValue("id", videoImageChangeImageDto.id);
4086
+ writer.writeDateValue("updatedAtUtc", videoImageChangeImageDto.updatedAtUtc);
4087
+ writer.writeStringValue("url", videoImageChangeImageDto.url);
4088
+ writer.writeGuidValue("videoId", videoImageChangeImageDto.videoId);
4089
+ writer.writeAdditionalData(videoImageChangeImageDto.additionalData);
4090
+ }
4091
+ /**
4092
+ * Serializes information the current object
4093
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4094
+ * @param VideoImageChangesCursorDto The instance to serialize from.
4095
+ * @param writer Serialization writer to use to serialize this model
4096
+ */
4097
+ // @ts-ignore
4098
+ export function serializeVideoImageChangesCursorDto(writer, videoImageChangesCursorDto = {}, isSerializingDerivedType = false) {
4099
+ if (!videoImageChangesCursorDto || isSerializingDerivedType) {
4100
+ return;
4101
+ }
4102
+ writer.writeGuidValue("id", videoImageChangesCursorDto.id);
4103
+ writer.writeDateValue("updatedAtUtc", videoImageChangesCursorDto.updatedAtUtc);
4104
+ writer.writeAdditionalData(videoImageChangesCursorDto.additionalData);
4105
+ }
4600
4106
  /**
4601
4107
  * Serializes information the current object
4602
4108
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -4784,14 +4290,6 @@ export function serializeWantedVideoSummaryDto(writer, wantedVideoSummaryDto = {
4784
4290
  writer.writeStringValue("videoTitle", wantedVideoSummaryDto.videoTitle);
4785
4291
  writer.writeAdditionalData(wantedVideoSummaryDto.additionalData);
4786
4292
  }
4787
- /**
4788
- * Indexer source. Supported values: `DrunkenSlug`, `NzbFinder`, `NzbPorn`. Allowed values: DrunkenSlug, NzbFinder, NzbPorn.
4789
- */
4790
- export const IndexerFilehashLookupKeyDto_indexerSourceObject = {
4791
- DrunkenSlug: "DrunkenSlug",
4792
- NzbFinder: "NzbFinder",
4793
- NzbPorn: "NzbPorn",
4794
- };
4795
4293
  /**
4796
4294
  * Allowed values: NotRelatedToVideo, SpamOrPromotional, OffensiveOrProhibited, DuplicateOrLowQuality, MisleadingOrWrongPreview, CopyrightConcern, Other.
4797
4295
  */