@prdb/sdk 0.4.0 → 0.5.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 (29) hide show
  1. package/dist/generated/models/index.d.ts +437 -0
  2. package/dist/generated/models/index.d.ts.map +1 -1
  3. package/dist/generated/models/index.js +498 -0
  4. package/dist/generated/models/index.js.map +1 -1
  5. package/dist/generated/sites/index.d.ts +4 -3
  6. package/dist/generated/sites/index.d.ts.map +1 -1
  7. package/dist/generated/sites/index.js +1 -0
  8. package/dist/generated/sites/index.js.map +1 -1
  9. package/dist/generated/videos/filehashSubmissions/index.d.ts +35 -0
  10. package/dist/generated/videos/filehashSubmissions/index.d.ts.map +1 -0
  11. package/dist/generated/videos/filehashSubmissions/index.js +33 -0
  12. package/dist/generated/videos/filehashSubmissions/index.js.map +1 -0
  13. package/dist/generated/videos/identify/index.d.ts +35 -0
  14. package/dist/generated/videos/identify/index.d.ts.map +1 -0
  15. package/dist/generated/videos/identify/index.js +33 -0
  16. package/dist/generated/videos/identify/index.js.map +1 -0
  17. package/dist/generated/videos/index.d.ts +10 -0
  18. package/dist/generated/videos/index.d.ts.map +1 -1
  19. package/dist/generated/videos/index.js +10 -0
  20. package/dist/generated/videos/index.js.map +1 -1
  21. package/dist/generated/wantedVideos/fulfillments/index.d.ts +35 -0
  22. package/dist/generated/wantedVideos/fulfillments/index.d.ts.map +1 -0
  23. package/dist/generated/wantedVideos/fulfillments/index.js +33 -0
  24. package/dist/generated/wantedVideos/fulfillments/index.js.map +1 -0
  25. package/dist/generated/wantedVideos/index.d.ts +5 -0
  26. package/dist/generated/wantedVideos/index.d.ts.map +1 -1
  27. package/dist/generated/wantedVideos/index.js +5 -0
  28. package/dist/generated/wantedVideos/index.js.map +1 -1
  29. package/package.json +1 -1
@@ -250,6 +250,42 @@ export function createFavoriteSiteChangesCursorDtoFromDiscriminatorValue(parseNo
250
250
  export function createFavoriteSiteSummaryDtoFromDiscriminatorValue(parseNode) {
251
251
  return deserializeIntoFavoriteSiteSummaryDto;
252
252
  }
253
+ /**
254
+ * Creates a new instance of the appropriate class based on discriminator value
255
+ * @param parseNode The parse node to use to read the discriminator value and create the object
256
+ * @returns {FulfillWantedVideoItem}
257
+ */
258
+ // @ts-ignore
259
+ export function createFulfillWantedVideoItemFromDiscriminatorValue(parseNode) {
260
+ return deserializeIntoFulfillWantedVideoItem;
261
+ }
262
+ /**
263
+ * Creates a new instance of the appropriate class based on discriminator value
264
+ * @param parseNode The parse node to use to read the discriminator value and create the object
265
+ * @returns {FulfillWantedVideoResultDto}
266
+ */
267
+ // @ts-ignore
268
+ export function createFulfillWantedVideoResultDtoFromDiscriminatorValue(parseNode) {
269
+ return deserializeIntoFulfillWantedVideoResultDto;
270
+ }
271
+ /**
272
+ * Creates a new instance of the appropriate class based on discriminator value
273
+ * @param parseNode The parse node to use to read the discriminator value and create the object
274
+ * @returns {FulfillWantedVideosBatchRequest}
275
+ */
276
+ // @ts-ignore
277
+ export function createFulfillWantedVideosBatchRequestFromDiscriminatorValue(parseNode) {
278
+ return deserializeIntoFulfillWantedVideosBatchRequest;
279
+ }
280
+ /**
281
+ * Creates a new instance of the appropriate class based on discriminator value
282
+ * @param parseNode The parse node to use to read the discriminator value and create the object
283
+ * @returns {FulfillWantedVideosBatchResponse}
284
+ */
285
+ // @ts-ignore
286
+ export function createFulfillWantedVideosBatchResponseFromDiscriminatorValue(parseNode) {
287
+ return deserializeIntoFulfillWantedVideosBatchResponse;
288
+ }
253
289
  /**
254
290
  * Creates a new instance of the appropriate class based on discriminator value
255
291
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -367,6 +403,51 @@ export function createGetVideoUserImageChangesResponseFromDiscriminatorValue(par
367
403
  export function createGetWantedVideoChangesResponseFromDiscriminatorValue(parseNode) {
368
404
  return deserializeIntoGetWantedVideoChangesResponse;
369
405
  }
406
+ /**
407
+ * Creates a new instance of the appropriate class based on discriminator value
408
+ * @param parseNode The parse node to use to read the discriminator value and create the object
409
+ * @returns {IdentifySiteDto}
410
+ */
411
+ // @ts-ignore
412
+ export function createIdentifySiteDtoFromDiscriminatorValue(parseNode) {
413
+ return deserializeIntoIdentifySiteDto;
414
+ }
415
+ /**
416
+ * Creates a new instance of the appropriate class based on discriminator value
417
+ * @param parseNode The parse node to use to read the discriminator value and create the object
418
+ * @returns {IdentifyVideoFileDto}
419
+ */
420
+ // @ts-ignore
421
+ export function createIdentifyVideoFileDtoFromDiscriminatorValue(parseNode) {
422
+ return deserializeIntoIdentifyVideoFileDto;
423
+ }
424
+ /**
425
+ * Creates a new instance of the appropriate class based on discriminator value
426
+ * @param parseNode The parse node to use to read the discriminator value and create the object
427
+ * @returns {IdentifyVideoResultDto}
428
+ */
429
+ // @ts-ignore
430
+ export function createIdentifyVideoResultDtoFromDiscriminatorValue(parseNode) {
431
+ return deserializeIntoIdentifyVideoResultDto;
432
+ }
433
+ /**
434
+ * Creates a new instance of the appropriate class based on discriminator value
435
+ * @param parseNode The parse node to use to read the discriminator value and create the object
436
+ * @returns {IdentifyVideosRequest}
437
+ */
438
+ // @ts-ignore
439
+ export function createIdentifyVideosRequestFromDiscriminatorValue(parseNode) {
440
+ return deserializeIntoIdentifyVideosRequest;
441
+ }
442
+ /**
443
+ * Creates a new instance of the appropriate class based on discriminator value
444
+ * @param parseNode The parse node to use to read the discriminator value and create the object
445
+ * @returns {IdentifyVideosResponse}
446
+ */
447
+ // @ts-ignore
448
+ export function createIdentifyVideosResponseFromDiscriminatorValue(parseNode) {
449
+ return deserializeIntoIdentifyVideosResponse;
450
+ }
370
451
  /**
371
452
  * Creates a new instance of the appropriate class based on discriminator value
372
453
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -646,6 +727,42 @@ export function createSearchPreDbByVideoResponseFromDiscriminatorValue(parseNode
646
727
  export function createSiteSummaryDtoFromDiscriminatorValue(parseNode) {
647
728
  return deserializeIntoSiteSummaryDto;
648
729
  }
730
+ /**
731
+ * Creates a new instance of the appropriate class based on discriminator value
732
+ * @param parseNode The parse node to use to read the discriminator value and create the object
733
+ * @returns {SubmitVideoFilehashesRequest}
734
+ */
735
+ // @ts-ignore
736
+ export function createSubmitVideoFilehashesRequestFromDiscriminatorValue(parseNode) {
737
+ return deserializeIntoSubmitVideoFilehashesRequest;
738
+ }
739
+ /**
740
+ * Creates a new instance of the appropriate class based on discriminator value
741
+ * @param parseNode The parse node to use to read the discriminator value and create the object
742
+ * @returns {SubmitVideoFilehashesResponse}
743
+ */
744
+ // @ts-ignore
745
+ export function createSubmitVideoFilehashesResponseFromDiscriminatorValue(parseNode) {
746
+ return deserializeIntoSubmitVideoFilehashesResponse;
747
+ }
748
+ /**
749
+ * Creates a new instance of the appropriate class based on discriminator value
750
+ * @param parseNode The parse node to use to read the discriminator value and create the object
751
+ * @returns {SubmitVideoFilehashItem}
752
+ */
753
+ // @ts-ignore
754
+ export function createSubmitVideoFilehashItemFromDiscriminatorValue(parseNode) {
755
+ return deserializeIntoSubmitVideoFilehashItem;
756
+ }
757
+ /**
758
+ * Creates a new instance of the appropriate class based on discriminator value
759
+ * @param parseNode The parse node to use to read the discriminator value and create the object
760
+ * @returns {SubmitVideoFilehashResultDto}
761
+ */
762
+ // @ts-ignore
763
+ export function createSubmitVideoFilehashResultDtoFromDiscriminatorValue(parseNode) {
764
+ return deserializeIntoSubmitVideoFilehashResultDto;
765
+ }
649
766
  /**
650
767
  * Creates a new instance of the appropriate class based on discriminator value
651
768
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1361,6 +1478,56 @@ export function deserializeIntoFavoriteSiteSummaryDto(favoriteSiteSummaryDto = {
1361
1478
  "url": n => { favoriteSiteSummaryDto.url = n.getStringValue(); },
1362
1479
  };
1363
1480
  }
1481
+ /**
1482
+ * The deserialization information for the current model
1483
+ * @param FulfillWantedVideoItem The instance to deserialize into.
1484
+ * @returns {Record<string, (node: ParseNode) => void>}
1485
+ */
1486
+ // @ts-ignore
1487
+ export function deserializeIntoFulfillWantedVideoItem(fulfillWantedVideoItem = {}) {
1488
+ return {
1489
+ "fulfilledAtUtc": n => { fulfillWantedVideoItem.fulfilledAtUtc = n.getDateValue(); },
1490
+ "fulfilledInQuality": n => { fulfillWantedVideoItem.fulfilledInQuality = n.getNumberValue(); },
1491
+ "fulfillmentByApp": n => { fulfillWantedVideoItem.fulfillmentByApp = n.getNumberValue(); },
1492
+ "fulfillmentExternalId": n => { fulfillWantedVideoItem.fulfillmentExternalId = n.getStringValue(); },
1493
+ "isFulfilled": n => { fulfillWantedVideoItem.isFulfilled = n.getBooleanValue(); },
1494
+ "videoId": n => { fulfillWantedVideoItem.videoId = n.getGuidValue(); },
1495
+ };
1496
+ }
1497
+ /**
1498
+ * The deserialization information for the current model
1499
+ * @param FulfillWantedVideoResultDto The instance to deserialize into.
1500
+ * @returns {Record<string, (node: ParseNode) => void>}
1501
+ */
1502
+ // @ts-ignore
1503
+ export function deserializeIntoFulfillWantedVideoResultDto(fulfillWantedVideoResultDto = {}) {
1504
+ return {
1505
+ "outcome": n => { fulfillWantedVideoResultDto.outcome = n.getNumberValue(); },
1506
+ "videoId": n => { fulfillWantedVideoResultDto.videoId = n.getGuidValue(); },
1507
+ };
1508
+ }
1509
+ /**
1510
+ * The deserialization information for the current model
1511
+ * @param FulfillWantedVideosBatchRequest The instance to deserialize into.
1512
+ * @returns {Record<string, (node: ParseNode) => void>}
1513
+ */
1514
+ // @ts-ignore
1515
+ export function deserializeIntoFulfillWantedVideosBatchRequest(fulfillWantedVideosBatchRequest = {}) {
1516
+ return {
1517
+ "items": n => { fulfillWantedVideosBatchRequest.items = n.getCollectionOfObjectValues(createFulfillWantedVideoItemFromDiscriminatorValue); },
1518
+ };
1519
+ }
1520
+ /**
1521
+ * The deserialization information for the current model
1522
+ * @param FulfillWantedVideosBatchResponse The instance to deserialize into.
1523
+ * @returns {Record<string, (node: ParseNode) => void>}
1524
+ */
1525
+ // @ts-ignore
1526
+ export function deserializeIntoFulfillWantedVideosBatchResponse(fulfillWantedVideosBatchResponse = {}) {
1527
+ return {
1528
+ "results": n => { fulfillWantedVideosBatchResponse.results = n.getCollectionOfObjectValues(createFulfillWantedVideoResultDtoFromDiscriminatorValue); },
1529
+ };
1530
+ }
1364
1531
  /**
1365
1532
  * The deserialization information for the current model
1366
1533
  * @param GetActorChangesResponse The instance to deserialize into.
@@ -1536,6 +1703,74 @@ export function deserializeIntoGetWantedVideoChangesResponse(getWantedVideoChang
1536
1703
  "serverTimeUtc": n => { getWantedVideoChangesResponse.serverTimeUtc = n.getDateValue(); },
1537
1704
  };
1538
1705
  }
1706
+ /**
1707
+ * The deserialization information for the current model
1708
+ * @param IdentifySiteDto The instance to deserialize into.
1709
+ * @returns {Record<string, (node: ParseNode) => void>}
1710
+ */
1711
+ // @ts-ignore
1712
+ export function deserializeIntoIdentifySiteDto(identifySiteDto = {}) {
1713
+ return {
1714
+ "id": n => { identifySiteDto.id = n.getGuidValue(); },
1715
+ "title": n => { identifySiteDto.title = n.getStringValue(); },
1716
+ "url": n => { identifySiteDto.url = n.getStringValue(); },
1717
+ };
1718
+ }
1719
+ /**
1720
+ * The deserialization information for the current model
1721
+ * @param IdentifyVideoFileDto The instance to deserialize into.
1722
+ * @returns {Record<string, (node: ParseNode) => void>}
1723
+ */
1724
+ // @ts-ignore
1725
+ export function deserializeIntoIdentifyVideoFileDto(identifyVideoFileDto = {}) {
1726
+ return {
1727
+ "filename": n => { identifyVideoFileDto.filename = n.getStringValue(); },
1728
+ "filesize": n => { identifyVideoFileDto.filesize = n.getNumberValue(); },
1729
+ "osHash": n => { identifyVideoFileDto.osHash = n.getStringValue(); },
1730
+ "pHash": n => { identifyVideoFileDto.pHash = n.getStringValue(); },
1731
+ "ref": n => { identifyVideoFileDto.ref = n.getStringValue(); },
1732
+ };
1733
+ }
1734
+ /**
1735
+ * The deserialization information for the current model
1736
+ * @param IdentifyVideoResultDto The instance to deserialize into.
1737
+ * @returns {Record<string, (node: ParseNode) => void>}
1738
+ */
1739
+ // @ts-ignore
1740
+ export function deserializeIntoIdentifyVideoResultDto(identifyVideoResultDto = {}) {
1741
+ return {
1742
+ "candidates": n => { identifyVideoResultDto.candidates = n.getCollectionOfPrimitiveValues("string"); },
1743
+ "confidence": n => { identifyVideoResultDto.confidence = n.getNumberValue(); },
1744
+ "matchedBy": n => { identifyVideoResultDto.matchedBy = n.getNumberValue(); },
1745
+ "ref": n => { identifyVideoResultDto.ref = n.getStringValue(); },
1746
+ "site": n => { identifyVideoResultDto.site = n.getObjectValue(createIdentifySiteDtoFromDiscriminatorValue); },
1747
+ "video": n => { identifyVideoResultDto.video = n.getObjectValue(createVideoDetailDtoFromDiscriminatorValue); },
1748
+ "videoId": n => { identifyVideoResultDto.videoId = n.getGuidValue(); },
1749
+ };
1750
+ }
1751
+ /**
1752
+ * The deserialization information for the current model
1753
+ * @param IdentifyVideosRequest The instance to deserialize into.
1754
+ * @returns {Record<string, (node: ParseNode) => void>}
1755
+ */
1756
+ // @ts-ignore
1757
+ export function deserializeIntoIdentifyVideosRequest(identifyVideosRequest = {}) {
1758
+ return {
1759
+ "files": n => { identifyVideosRequest.files = n.getCollectionOfObjectValues(createIdentifyVideoFileDtoFromDiscriminatorValue); },
1760
+ "includeVideoDetails": n => { identifyVideosRequest.includeVideoDetails = n.getBooleanValue(); },
1761
+ };
1762
+ }
1763
+ /**
1764
+ * The deserialization information for the current model
1765
+ * @param IdentifyVideosResponse The instance to deserialize into.
1766
+ * @returns {Record<string, (node: ParseNode) => void>}
1767
+ */
1768
+ // @ts-ignore
1769
+ export function deserializeIntoIdentifyVideosResponse(identifyVideosResponse = {}) {
1770
+ return {
1771
+ "results": n => { identifyVideosResponse.results = n.getCollectionOfObjectValues(createIdentifyVideoResultDtoFromDiscriminatorValue); },
1772
+ };
1773
+ }
1539
1774
  /**
1540
1775
  * The deserialization information for the current model
1541
1776
  * @param IndexerFilehashChangeDto The instance to deserialize into.
@@ -1990,13 +2225,66 @@ export function deserializeIntoSearchPreDbByVideoResponse(searchPreDbByVideoResp
1990
2225
  // @ts-ignore
1991
2226
  export function deserializeIntoSiteSummaryDto(siteSummaryDto = {}) {
1992
2227
  return {
2228
+ "createdAtUtc": n => { siteSummaryDto.createdAtUtc = n.getDateValue(); },
1993
2229
  "id": n => { siteSummaryDto.id = n.getGuidValue(); },
1994
2230
  "networkId": n => { siteSummaryDto.networkId = n.getGuidValue(); },
1995
2231
  "networkTitle": n => { siteSummaryDto.networkTitle = n.getStringValue(); },
1996
2232
  "title": n => { siteSummaryDto.title = n.getStringValue(); },
2233
+ "updatedAtUtc": n => { siteSummaryDto.updatedAtUtc = n.getDateValue(); },
1997
2234
  "url": n => { siteSummaryDto.url = n.getStringValue(); },
1998
2235
  };
1999
2236
  }
2237
+ /**
2238
+ * The deserialization information for the current model
2239
+ * @param SubmitVideoFilehashesRequest The instance to deserialize into.
2240
+ * @returns {Record<string, (node: ParseNode) => void>}
2241
+ */
2242
+ // @ts-ignore
2243
+ export function deserializeIntoSubmitVideoFilehashesRequest(submitVideoFilehashesRequest = {}) {
2244
+ return {
2245
+ "items": n => { submitVideoFilehashesRequest.items = n.getCollectionOfObjectValues(createSubmitVideoFilehashItemFromDiscriminatorValue); },
2246
+ };
2247
+ }
2248
+ /**
2249
+ * The deserialization information for the current model
2250
+ * @param SubmitVideoFilehashesResponse The instance to deserialize into.
2251
+ * @returns {Record<string, (node: ParseNode) => void>}
2252
+ */
2253
+ // @ts-ignore
2254
+ export function deserializeIntoSubmitVideoFilehashesResponse(submitVideoFilehashesResponse = {}) {
2255
+ return {
2256
+ "results": n => { submitVideoFilehashesResponse.results = n.getCollectionOfObjectValues(createSubmitVideoFilehashResultDtoFromDiscriminatorValue); },
2257
+ };
2258
+ }
2259
+ /**
2260
+ * The deserialization information for the current model
2261
+ * @param SubmitVideoFilehashItem The instance to deserialize into.
2262
+ * @returns {Record<string, (node: ParseNode) => void>}
2263
+ */
2264
+ // @ts-ignore
2265
+ export function deserializeIntoSubmitVideoFilehashItem(submitVideoFilehashItem = {}) {
2266
+ return {
2267
+ "filename": n => { submitVideoFilehashItem.filename = n.getStringValue(); },
2268
+ "filesize": n => { submitVideoFilehashItem.filesize = n.getNumberValue(); },
2269
+ "osHash": n => { submitVideoFilehashItem.osHash = n.getStringValue(); },
2270
+ "pHash": n => { submitVideoFilehashItem.pHash = n.getStringValue(); },
2271
+ "source": n => { submitVideoFilehashItem.source = n.getNumberValue(); },
2272
+ "videoId": n => { submitVideoFilehashItem.videoId = n.getGuidValue(); },
2273
+ };
2274
+ }
2275
+ /**
2276
+ * The deserialization information for the current model
2277
+ * @param SubmitVideoFilehashResultDto The instance to deserialize into.
2278
+ * @returns {Record<string, (node: ParseNode) => void>}
2279
+ */
2280
+ // @ts-ignore
2281
+ export function deserializeIntoSubmitVideoFilehashResultDto(submitVideoFilehashResultDto = {}) {
2282
+ return {
2283
+ "osHash": n => { submitVideoFilehashResultDto.osHash = n.getStringValue(); },
2284
+ "outcome": n => { submitVideoFilehashResultDto.outcome = n.getNumberValue(); },
2285
+ "videoId": n => { submitVideoFilehashResultDto.videoId = n.getGuidValue(); },
2286
+ };
2287
+ }
2000
2288
  /**
2001
2289
  * The deserialization information for the current model
2002
2290
  * @param SubmitVideoUserImageResponse The instance to deserialize into.
@@ -2983,6 +3271,68 @@ export function serializeFavoriteSiteSummaryDto(writer, favoriteSiteSummaryDto =
2983
3271
  writer.writeStringValue("url", favoriteSiteSummaryDto.url);
2984
3272
  writer.writeAdditionalData(favoriteSiteSummaryDto.additionalData);
2985
3273
  }
3274
+ /**
3275
+ * Serializes information the current object
3276
+ * @param FulfillWantedVideoItem The instance to serialize from.
3277
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3278
+ * @param writer Serialization writer to use to serialize this model
3279
+ */
3280
+ // @ts-ignore
3281
+ export function serializeFulfillWantedVideoItem(writer, fulfillWantedVideoItem = {}, isSerializingDerivedType = false) {
3282
+ if (!fulfillWantedVideoItem || isSerializingDerivedType) {
3283
+ return;
3284
+ }
3285
+ writer.writeDateValue("fulfilledAtUtc", fulfillWantedVideoItem.fulfilledAtUtc);
3286
+ writer.writeNumberValue("fulfilledInQuality", fulfillWantedVideoItem.fulfilledInQuality);
3287
+ writer.writeNumberValue("fulfillmentByApp", fulfillWantedVideoItem.fulfillmentByApp);
3288
+ writer.writeStringValue("fulfillmentExternalId", fulfillWantedVideoItem.fulfillmentExternalId);
3289
+ writer.writeBooleanValue("isFulfilled", fulfillWantedVideoItem.isFulfilled);
3290
+ writer.writeGuidValue("videoId", fulfillWantedVideoItem.videoId);
3291
+ writer.writeAdditionalData(fulfillWantedVideoItem.additionalData);
3292
+ }
3293
+ /**
3294
+ * Serializes information the current object
3295
+ * @param FulfillWantedVideoResultDto The instance to serialize from.
3296
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3297
+ * @param writer Serialization writer to use to serialize this model
3298
+ */
3299
+ // @ts-ignore
3300
+ export function serializeFulfillWantedVideoResultDto(writer, fulfillWantedVideoResultDto = {}, isSerializingDerivedType = false) {
3301
+ if (!fulfillWantedVideoResultDto || isSerializingDerivedType) {
3302
+ return;
3303
+ }
3304
+ writer.writeNumberValue("outcome", fulfillWantedVideoResultDto.outcome);
3305
+ writer.writeGuidValue("videoId", fulfillWantedVideoResultDto.videoId);
3306
+ writer.writeAdditionalData(fulfillWantedVideoResultDto.additionalData);
3307
+ }
3308
+ /**
3309
+ * Serializes information the current object
3310
+ * @param FulfillWantedVideosBatchRequest The instance to serialize from.
3311
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3312
+ * @param writer Serialization writer to use to serialize this model
3313
+ */
3314
+ // @ts-ignore
3315
+ export function serializeFulfillWantedVideosBatchRequest(writer, fulfillWantedVideosBatchRequest = {}, isSerializingDerivedType = false) {
3316
+ if (!fulfillWantedVideosBatchRequest || isSerializingDerivedType) {
3317
+ return;
3318
+ }
3319
+ writer.writeCollectionOfObjectValues("items", fulfillWantedVideosBatchRequest.items, serializeFulfillWantedVideoItem);
3320
+ writer.writeAdditionalData(fulfillWantedVideosBatchRequest.additionalData);
3321
+ }
3322
+ /**
3323
+ * Serializes information the current object
3324
+ * @param FulfillWantedVideosBatchResponse The instance to serialize from.
3325
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3326
+ * @param writer Serialization writer to use to serialize this model
3327
+ */
3328
+ // @ts-ignore
3329
+ export function serializeFulfillWantedVideosBatchResponse(writer, fulfillWantedVideosBatchResponse = {}, isSerializingDerivedType = false) {
3330
+ if (!fulfillWantedVideosBatchResponse || isSerializingDerivedType) {
3331
+ return;
3332
+ }
3333
+ writer.writeCollectionOfObjectValues("results", fulfillWantedVideosBatchResponse.results, serializeFulfillWantedVideoResultDto);
3334
+ writer.writeAdditionalData(fulfillWantedVideosBatchResponse.additionalData);
3335
+ }
2986
3336
  /**
2987
3337
  * Serializes information the current object
2988
3338
  * @param GetActorChangesResponse The instance to serialize from.
@@ -3197,6 +3547,89 @@ export function serializeGetWantedVideoChangesResponse(writer, getWantedVideoCha
3197
3547
  writer.writeDateValue("serverTimeUtc", getWantedVideoChangesResponse.serverTimeUtc);
3198
3548
  writer.writeAdditionalData(getWantedVideoChangesResponse.additionalData);
3199
3549
  }
3550
+ /**
3551
+ * Serializes information the current object
3552
+ * @param IdentifySiteDto The instance to serialize from.
3553
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3554
+ * @param writer Serialization writer to use to serialize this model
3555
+ */
3556
+ // @ts-ignore
3557
+ export function serializeIdentifySiteDto(writer, identifySiteDto = {}, isSerializingDerivedType = false) {
3558
+ if (!identifySiteDto || isSerializingDerivedType) {
3559
+ return;
3560
+ }
3561
+ writer.writeGuidValue("id", identifySiteDto.id);
3562
+ writer.writeStringValue("title", identifySiteDto.title);
3563
+ writer.writeStringValue("url", identifySiteDto.url);
3564
+ writer.writeAdditionalData(identifySiteDto.additionalData);
3565
+ }
3566
+ /**
3567
+ * Serializes information the current object
3568
+ * @param IdentifyVideoFileDto The instance to serialize from.
3569
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3570
+ * @param writer Serialization writer to use to serialize this model
3571
+ */
3572
+ // @ts-ignore
3573
+ export function serializeIdentifyVideoFileDto(writer, identifyVideoFileDto = {}, isSerializingDerivedType = false) {
3574
+ if (!identifyVideoFileDto || isSerializingDerivedType) {
3575
+ return;
3576
+ }
3577
+ writer.writeStringValue("filename", identifyVideoFileDto.filename);
3578
+ writer.writeNumberValue("filesize", identifyVideoFileDto.filesize);
3579
+ writer.writeStringValue("osHash", identifyVideoFileDto.osHash);
3580
+ writer.writeStringValue("pHash", identifyVideoFileDto.pHash);
3581
+ writer.writeStringValue("ref", identifyVideoFileDto.ref);
3582
+ writer.writeAdditionalData(identifyVideoFileDto.additionalData);
3583
+ }
3584
+ /**
3585
+ * Serializes information the current object
3586
+ * @param IdentifyVideoResultDto The instance to serialize from.
3587
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3588
+ * @param writer Serialization writer to use to serialize this model
3589
+ */
3590
+ // @ts-ignore
3591
+ export function serializeIdentifyVideoResultDto(writer, identifyVideoResultDto = {}, isSerializingDerivedType = false) {
3592
+ if (!identifyVideoResultDto || isSerializingDerivedType) {
3593
+ return;
3594
+ }
3595
+ writer.writeCollectionOfPrimitiveValues("candidates", identifyVideoResultDto.candidates);
3596
+ writer.writeNumberValue("confidence", identifyVideoResultDto.confidence);
3597
+ writer.writeNumberValue("matchedBy", identifyVideoResultDto.matchedBy);
3598
+ writer.writeStringValue("ref", identifyVideoResultDto.ref);
3599
+ writer.writeObjectValue("site", identifyVideoResultDto.site, serializeIdentifySiteDto);
3600
+ writer.writeObjectValue("video", identifyVideoResultDto.video, serializeVideoDetailDto);
3601
+ writer.writeGuidValue("videoId", identifyVideoResultDto.videoId);
3602
+ writer.writeAdditionalData(identifyVideoResultDto.additionalData);
3603
+ }
3604
+ /**
3605
+ * Serializes information the current object
3606
+ * @param IdentifyVideosRequest The instance to serialize from.
3607
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3608
+ * @param writer Serialization writer to use to serialize this model
3609
+ */
3610
+ // @ts-ignore
3611
+ export function serializeIdentifyVideosRequest(writer, identifyVideosRequest = {}, isSerializingDerivedType = false) {
3612
+ if (!identifyVideosRequest || isSerializingDerivedType) {
3613
+ return;
3614
+ }
3615
+ writer.writeCollectionOfObjectValues("files", identifyVideosRequest.files, serializeIdentifyVideoFileDto);
3616
+ writer.writeBooleanValue("includeVideoDetails", identifyVideosRequest.includeVideoDetails);
3617
+ writer.writeAdditionalData(identifyVideosRequest.additionalData);
3618
+ }
3619
+ /**
3620
+ * Serializes information the current object
3621
+ * @param IdentifyVideosResponse The instance to serialize from.
3622
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3623
+ * @param writer Serialization writer to use to serialize this model
3624
+ */
3625
+ // @ts-ignore
3626
+ export function serializeIdentifyVideosResponse(writer, identifyVideosResponse = {}, isSerializingDerivedType = false) {
3627
+ if (!identifyVideosResponse || isSerializingDerivedType) {
3628
+ return;
3629
+ }
3630
+ writer.writeCollectionOfObjectValues("results", identifyVideosResponse.results, serializeIdentifyVideoResultDto);
3631
+ writer.writeAdditionalData(identifyVideosResponse.additionalData);
3632
+ }
3200
3633
  /**
3201
3634
  * Serializes information the current object
3202
3635
  * @param IndexerFilehashChangeDto The instance to serialize from.
@@ -3744,13 +4177,78 @@ export function serializeSiteSummaryDto(writer, siteSummaryDto = {}, isSerializi
3744
4177
  if (!siteSummaryDto || isSerializingDerivedType) {
3745
4178
  return;
3746
4179
  }
4180
+ writer.writeDateValue("createdAtUtc", siteSummaryDto.createdAtUtc);
3747
4181
  writer.writeGuidValue("id", siteSummaryDto.id);
3748
4182
  writer.writeGuidValue("networkId", siteSummaryDto.networkId);
3749
4183
  writer.writeStringValue("networkTitle", siteSummaryDto.networkTitle);
3750
4184
  writer.writeStringValue("title", siteSummaryDto.title);
4185
+ writer.writeDateValue("updatedAtUtc", siteSummaryDto.updatedAtUtc);
3751
4186
  writer.writeStringValue("url", siteSummaryDto.url);
3752
4187
  writer.writeAdditionalData(siteSummaryDto.additionalData);
3753
4188
  }
4189
+ /**
4190
+ * Serializes information the current object
4191
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4192
+ * @param SubmitVideoFilehashesRequest The instance to serialize from.
4193
+ * @param writer Serialization writer to use to serialize this model
4194
+ */
4195
+ // @ts-ignore
4196
+ export function serializeSubmitVideoFilehashesRequest(writer, submitVideoFilehashesRequest = {}, isSerializingDerivedType = false) {
4197
+ if (!submitVideoFilehashesRequest || isSerializingDerivedType) {
4198
+ return;
4199
+ }
4200
+ writer.writeCollectionOfObjectValues("items", submitVideoFilehashesRequest.items, serializeSubmitVideoFilehashItem);
4201
+ writer.writeAdditionalData(submitVideoFilehashesRequest.additionalData);
4202
+ }
4203
+ /**
4204
+ * Serializes information the current object
4205
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4206
+ * @param SubmitVideoFilehashesResponse The instance to serialize from.
4207
+ * @param writer Serialization writer to use to serialize this model
4208
+ */
4209
+ // @ts-ignore
4210
+ export function serializeSubmitVideoFilehashesResponse(writer, submitVideoFilehashesResponse = {}, isSerializingDerivedType = false) {
4211
+ if (!submitVideoFilehashesResponse || isSerializingDerivedType) {
4212
+ return;
4213
+ }
4214
+ writer.writeCollectionOfObjectValues("results", submitVideoFilehashesResponse.results, serializeSubmitVideoFilehashResultDto);
4215
+ writer.writeAdditionalData(submitVideoFilehashesResponse.additionalData);
4216
+ }
4217
+ /**
4218
+ * Serializes information the current object
4219
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4220
+ * @param SubmitVideoFilehashItem The instance to serialize from.
4221
+ * @param writer Serialization writer to use to serialize this model
4222
+ */
4223
+ // @ts-ignore
4224
+ export function serializeSubmitVideoFilehashItem(writer, submitVideoFilehashItem = {}, isSerializingDerivedType = false) {
4225
+ if (!submitVideoFilehashItem || isSerializingDerivedType) {
4226
+ return;
4227
+ }
4228
+ writer.writeStringValue("filename", submitVideoFilehashItem.filename);
4229
+ writer.writeNumberValue("filesize", submitVideoFilehashItem.filesize);
4230
+ writer.writeStringValue("osHash", submitVideoFilehashItem.osHash);
4231
+ writer.writeStringValue("pHash", submitVideoFilehashItem.pHash);
4232
+ writer.writeNumberValue("source", submitVideoFilehashItem.source);
4233
+ writer.writeGuidValue("videoId", submitVideoFilehashItem.videoId);
4234
+ writer.writeAdditionalData(submitVideoFilehashItem.additionalData);
4235
+ }
4236
+ /**
4237
+ * Serializes information the current object
4238
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4239
+ * @param SubmitVideoFilehashResultDto The instance to serialize from.
4240
+ * @param writer Serialization writer to use to serialize this model
4241
+ */
4242
+ // @ts-ignore
4243
+ export function serializeSubmitVideoFilehashResultDto(writer, submitVideoFilehashResultDto = {}, isSerializingDerivedType = false) {
4244
+ if (!submitVideoFilehashResultDto || isSerializingDerivedType) {
4245
+ return;
4246
+ }
4247
+ writer.writeStringValue("osHash", submitVideoFilehashResultDto.osHash);
4248
+ writer.writeNumberValue("outcome", submitVideoFilehashResultDto.outcome);
4249
+ writer.writeGuidValue("videoId", submitVideoFilehashResultDto.videoId);
4250
+ writer.writeAdditionalData(submitVideoFilehashResultDto.additionalData);
4251
+ }
3754
4252
  /**
3755
4253
  * Serializes information the current object
3756
4254
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.