@prdb/sdk 0.8.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.
- package/README.md +10 -14
- package/dist/generated/models/index.d.ts +4 -695
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +2 -660
- package/dist/generated/models/index.js.map +1 -1
- package/dist/generated/prdbClient.d.ts +0 -10
- package/dist/generated/prdbClient.d.ts.map +1 -1
- package/dist/generated/prdbClient.js +0 -11
- package/dist/generated/prdbClient.js.map +1 -1
- package/dist/generated/videos/filehashSubmissions/index.d.ts +2 -2
- package/dist/index.d.ts +6 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/generated/downloadedFromIndexers/index.d.ts +0 -48
- package/dist/generated/downloadedFromIndexers/index.d.ts.map +0 -1
- package/dist/generated/downloadedFromIndexers/index.js +0 -47
- package/dist/generated/downloadedFromIndexers/index.js.map +0 -1
- package/dist/generated/downloadedFromIndexers/item/filenames/index.d.ts +0 -48
- package/dist/generated/downloadedFromIndexers/item/filenames/index.d.ts.map +0 -1
- package/dist/generated/downloadedFromIndexers/item/filenames/index.js +0 -46
- package/dist/generated/downloadedFromIndexers/item/filenames/index.js.map +0 -1
- package/dist/generated/downloadedFromIndexers/item/filenames/item/index.d.ts +0 -53
- package/dist/generated/downloadedFromIndexers/item/filenames/item/index.d.ts.map +0 -1
- package/dist/generated/downloadedFromIndexers/item/filenames/item/index.js +0 -47
- package/dist/generated/downloadedFromIndexers/item/filenames/item/index.js.map +0 -1
- package/dist/generated/downloadedFromIndexers/item/index.d.ts +0 -62
- package/dist/generated/downloadedFromIndexers/item/index.d.ts.map +0 -1
- package/dist/generated/downloadedFromIndexers/item/index.js +0 -58
- package/dist/generated/downloadedFromIndexers/item/index.js.map +0 -1
- package/dist/generated/indexerFilehashes/changes/index.d.ts +0 -67
- package/dist/generated/indexerFilehashes/changes/index.d.ts.map +0 -1
- package/dist/generated/indexerFilehashes/changes/index.js +0 -49
- package/dist/generated/indexerFilehashes/changes/index.js.map +0 -1
- package/dist/generated/indexerFilehashes/index.d.ts +0 -30
- package/dist/generated/indexerFilehashes/index.d.ts.map +0 -1
- package/dist/generated/indexerFilehashes/index.js +0 -30
- package/dist/generated/indexerFilehashes/index.js.map +0 -1
- package/dist/generated/indexerFilehashes/latest/index.d.ts +0 -109
- package/dist/generated/indexerFilehashes/latest/index.d.ts.map +0 -1
- package/dist/generated/indexerFilehashes/latest/index.js +0 -71
- package/dist/generated/indexerFilehashes/latest/index.js.map +0 -1
- package/dist/generated/indexerFilehashes/lookup/index.d.ts +0 -35
- package/dist/generated/indexerFilehashes/lookup/index.d.ts.map +0 -1
- package/dist/generated/indexerFilehashes/lookup/index.js +0 -33
- 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
|
|
@@ -457,60 +412,6 @@ export function createIdentifyVideosRequestFromDiscriminatorValue(parseNode) {
|
|
|
457
412
|
export function createIdentifyVideosResponseFromDiscriminatorValue(parseNode) {
|
|
458
413
|
return deserializeIntoIdentifyVideosResponse;
|
|
459
414
|
}
|
|
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 {IndexerFilehashChangeDto}
|
|
464
|
-
*/
|
|
465
|
-
// @ts-ignore
|
|
466
|
-
export function createIndexerFilehashChangeDtoFromDiscriminatorValue(parseNode) {
|
|
467
|
-
return deserializeIntoIndexerFilehashChangeDto;
|
|
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 {IndexerFilehashChangeFilehashDto}
|
|
473
|
-
*/
|
|
474
|
-
// @ts-ignore
|
|
475
|
-
export function createIndexerFilehashChangeFilehashDtoFromDiscriminatorValue(parseNode) {
|
|
476
|
-
return deserializeIntoIndexerFilehashChangeFilehashDto;
|
|
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 {IndexerFilehashChangesCursorDto}
|
|
482
|
-
*/
|
|
483
|
-
// @ts-ignore
|
|
484
|
-
export function createIndexerFilehashChangesCursorDtoFromDiscriminatorValue(parseNode) {
|
|
485
|
-
return deserializeIntoIndexerFilehashChangesCursorDto;
|
|
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 {IndexerFilehashDto}
|
|
491
|
-
*/
|
|
492
|
-
// @ts-ignore
|
|
493
|
-
export function createIndexerFilehashDtoFromDiscriminatorValue(parseNode) {
|
|
494
|
-
return deserializeIntoIndexerFilehashDto;
|
|
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 {IndexerFilehashLookupKeyDto}
|
|
500
|
-
*/
|
|
501
|
-
// @ts-ignore
|
|
502
|
-
export function createIndexerFilehashLookupKeyDtoFromDiscriminatorValue(parseNode) {
|
|
503
|
-
return deserializeIntoIndexerFilehashLookupKeyDto;
|
|
504
|
-
}
|
|
505
|
-
/**
|
|
506
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
507
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
508
|
-
* @returns {LatestIndexerFilehashesResponse}
|
|
509
|
-
*/
|
|
510
|
-
// @ts-ignore
|
|
511
|
-
export function createLatestIndexerFilehashesResponseFromDiscriminatorValue(parseNode) {
|
|
512
|
-
return deserializeIntoLatestIndexerFilehashesResponse;
|
|
513
|
-
}
|
|
514
415
|
/**
|
|
515
416
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
516
417
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -619,24 +520,6 @@ export function createListVideosResponseFromDiscriminatorValue(parseNode) {
|
|
|
619
520
|
export function createListWantedVideosResponseFromDiscriminatorValue(parseNode) {
|
|
620
521
|
return deserializeIntoListWantedVideosResponse;
|
|
621
522
|
}
|
|
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 {LookupIndexerFilehashesRequest}
|
|
626
|
-
*/
|
|
627
|
-
// @ts-ignore
|
|
628
|
-
export function createLookupIndexerFilehashesRequestFromDiscriminatorValue(parseNode) {
|
|
629
|
-
return deserializeIntoLookupIndexerFilehashesRequest;
|
|
630
|
-
}
|
|
631
|
-
/**
|
|
632
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
633
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
634
|
-
* @returns {LookupIndexerFilehashesResponse}
|
|
635
|
-
*/
|
|
636
|
-
// @ts-ignore
|
|
637
|
-
export function createLookupIndexerFilehashesResponseFromDiscriminatorValue(parseNode) {
|
|
638
|
-
return deserializeIntoLookupIndexerFilehashesResponse;
|
|
639
|
-
}
|
|
640
523
|
/**
|
|
641
524
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
642
525
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -790,24 +673,6 @@ export function createSubmitVideoUserImageResponseFromDiscriminatorValue(parseNo
|
|
|
790
673
|
export function createUnlinkedVideoFilehashesResponseFromDiscriminatorValue(parseNode) {
|
|
791
674
|
return deserializeIntoUnlinkedVideoFilehashesResponse;
|
|
792
675
|
}
|
|
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 {UpdateDownloadedFromIndexerFilenameRequest}
|
|
797
|
-
*/
|
|
798
|
-
// @ts-ignore
|
|
799
|
-
export function createUpdateDownloadedFromIndexerFilenameRequestFromDiscriminatorValue(parseNode) {
|
|
800
|
-
return deserializeIntoUpdateDownloadedFromIndexerFilenameRequest;
|
|
801
|
-
}
|
|
802
|
-
/**
|
|
803
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
804
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
805
|
-
* @returns {UpdateDownloadedFromIndexerRequest}
|
|
806
|
-
*/
|
|
807
|
-
// @ts-ignore
|
|
808
|
-
export function createUpdateDownloadedFromIndexerRequestFromDiscriminatorValue(parseNode) {
|
|
809
|
-
return deserializeIntoUpdateDownloadedFromIndexerRequest;
|
|
810
|
-
}
|
|
811
676
|
/**
|
|
812
677
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
813
678
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1301,37 +1166,6 @@ export function deserializeIntoActorSummaryDto(actorSummaryDto = {}) {
|
|
|
1301
1166
|
"profileImageUrl": n => { actorSummaryDto.profileImageUrl = n.getStringValue(); },
|
|
1302
1167
|
};
|
|
1303
1168
|
}
|
|
1304
|
-
/**
|
|
1305
|
-
* The deserialization information for the current model
|
|
1306
|
-
* @param AddDownloadedFromIndexerFilenameRequest The instance to deserialize into.
|
|
1307
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1308
|
-
*/
|
|
1309
|
-
// @ts-ignore
|
|
1310
|
-
export function deserializeIntoAddDownloadedFromIndexerFilenameRequest(addDownloadedFromIndexerFilenameRequest = {}) {
|
|
1311
|
-
return {
|
|
1312
|
-
"filename": n => { addDownloadedFromIndexerFilenameRequest.filename = n.getStringValue(); },
|
|
1313
|
-
"filesize": n => { addDownloadedFromIndexerFilenameRequest.filesize = n.getNumberValue(); },
|
|
1314
|
-
"osHash": n => { addDownloadedFromIndexerFilenameRequest.osHash = n.getStringValue(); },
|
|
1315
|
-
"pHash": n => { addDownloadedFromIndexerFilenameRequest.pHash = n.getStringValue(); },
|
|
1316
|
-
};
|
|
1317
|
-
}
|
|
1318
|
-
/**
|
|
1319
|
-
* The deserialization information for the current model
|
|
1320
|
-
* @param AddDownloadedFromIndexerRequest The instance to deserialize into.
|
|
1321
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1322
|
-
*/
|
|
1323
|
-
// @ts-ignore
|
|
1324
|
-
export function deserializeIntoAddDownloadedFromIndexerRequest(addDownloadedFromIndexerRequest = {}) {
|
|
1325
|
-
return {
|
|
1326
|
-
"downloadIdentifier": n => { addDownloadedFromIndexerRequest.downloadIdentifier = n.getStringValue(); },
|
|
1327
|
-
"filenames": n => { addDownloadedFromIndexerRequest.filenames = n.getCollectionOfObjectValues(createAddDownloadedFromIndexerFilenameRequestFromDiscriminatorValue); },
|
|
1328
|
-
"indexerId": n => { addDownloadedFromIndexerRequest.indexerId = n.getStringValue(); },
|
|
1329
|
-
"indexerSource": n => { addDownloadedFromIndexerRequest.indexerSource = n.getNumberValue(); },
|
|
1330
|
-
"nzbName": n => { addDownloadedFromIndexerRequest.nzbName = n.getStringValue(); },
|
|
1331
|
-
"nzbUrl": n => { addDownloadedFromIndexerRequest.nzbUrl = n.getStringValue(); },
|
|
1332
|
-
"videoId": n => { addDownloadedFromIndexerRequest.videoId = n.getGuidValue(); },
|
|
1333
|
-
};
|
|
1334
|
-
}
|
|
1335
1169
|
/**
|
|
1336
1170
|
* The deserialization information for the current model
|
|
1337
1171
|
* @param AddWantedVideosBatchRequest The instance to deserialize into.
|
|
@@ -1356,44 +1190,6 @@ export function deserializeIntoAddWantedVideosBatchResponse(addWantedVideosBatch
|
|
|
1356
1190
|
"notFound": n => { addWantedVideosBatchResponse.notFound = n.getNumberValue(); },
|
|
1357
1191
|
};
|
|
1358
1192
|
}
|
|
1359
|
-
/**
|
|
1360
|
-
* The deserialization information for the current model
|
|
1361
|
-
* @param DownloadedFromIndexerFilenameDto The instance to deserialize into.
|
|
1362
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1363
|
-
*/
|
|
1364
|
-
// @ts-ignore
|
|
1365
|
-
export function deserializeIntoDownloadedFromIndexerFilenameDto(downloadedFromIndexerFilenameDto = {}) {
|
|
1366
|
-
return {
|
|
1367
|
-
"createdAtUtc": n => { downloadedFromIndexerFilenameDto.createdAtUtc = n.getDateValue(); },
|
|
1368
|
-
"downloadedFromIndexerId": n => { downloadedFromIndexerFilenameDto.downloadedFromIndexerId = n.getGuidValue(); },
|
|
1369
|
-
"filename": n => { downloadedFromIndexerFilenameDto.filename = n.getStringValue(); },
|
|
1370
|
-
"filesize": n => { downloadedFromIndexerFilenameDto.filesize = n.getNumberValue(); },
|
|
1371
|
-
"id": n => { downloadedFromIndexerFilenameDto.id = n.getGuidValue(); },
|
|
1372
|
-
"osHash": n => { downloadedFromIndexerFilenameDto.osHash = n.getStringValue(); },
|
|
1373
|
-
"pHash": n => { downloadedFromIndexerFilenameDto.pHash = n.getStringValue(); },
|
|
1374
|
-
"updatedAtUtc": n => { downloadedFromIndexerFilenameDto.updatedAtUtc = n.getDateValue(); },
|
|
1375
|
-
};
|
|
1376
|
-
}
|
|
1377
|
-
/**
|
|
1378
|
-
* The deserialization information for the current model
|
|
1379
|
-
* @param DownloadedFromIndexerResponse The instance to deserialize into.
|
|
1380
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1381
|
-
*/
|
|
1382
|
-
// @ts-ignore
|
|
1383
|
-
export function deserializeIntoDownloadedFromIndexerResponse(downloadedFromIndexerResponse = {}) {
|
|
1384
|
-
return {
|
|
1385
|
-
"createdAtUtc": n => { downloadedFromIndexerResponse.createdAtUtc = n.getDateValue(); },
|
|
1386
|
-
"downloadIdentifier": n => { downloadedFromIndexerResponse.downloadIdentifier = n.getStringValue(); },
|
|
1387
|
-
"filenames": n => { downloadedFromIndexerResponse.filenames = n.getCollectionOfObjectValues(createDownloadedFromIndexerFilenameDtoFromDiscriminatorValue); },
|
|
1388
|
-
"id": n => { downloadedFromIndexerResponse.id = n.getGuidValue(); },
|
|
1389
|
-
"indexerId": n => { downloadedFromIndexerResponse.indexerId = n.getStringValue(); },
|
|
1390
|
-
"indexerSource": n => { downloadedFromIndexerResponse.indexerSource = n.getNumberValue(); },
|
|
1391
|
-
"nzbName": n => { downloadedFromIndexerResponse.nzbName = n.getStringValue(); },
|
|
1392
|
-
"nzbUrl": n => { downloadedFromIndexerResponse.nzbUrl = n.getStringValue(); },
|
|
1393
|
-
"updatedAtUtc": n => { downloadedFromIndexerResponse.updatedAtUtc = n.getDateValue(); },
|
|
1394
|
-
"videoId": n => { downloadedFromIndexerResponse.videoId = n.getGuidValue(); },
|
|
1395
|
-
};
|
|
1396
|
-
}
|
|
1397
1193
|
/**
|
|
1398
1194
|
* The deserialization information for the current model
|
|
1399
1195
|
* @param FavoriteActorChangeDto The instance to deserialize into.
|
|
@@ -1634,21 +1430,6 @@ export function deserializeIntoGetHealthResponse(getHealthResponse = {}) {
|
|
|
1634
1430
|
"timestamp": n => { getHealthResponse.timestamp = n.getDateValue(); },
|
|
1635
1431
|
};
|
|
1636
1432
|
}
|
|
1637
|
-
/**
|
|
1638
|
-
* The deserialization information for the current model
|
|
1639
|
-
* @param GetIndexerFilehashChangesResponse The instance to deserialize into.
|
|
1640
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1641
|
-
*/
|
|
1642
|
-
// @ts-ignore
|
|
1643
|
-
export function deserializeIntoGetIndexerFilehashChangesResponse(getIndexerFilehashChangesResponse = {}) {
|
|
1644
|
-
return {
|
|
1645
|
-
"hasMore": n => { getIndexerFilehashChangesResponse.hasMore = n.getBooleanValue(); },
|
|
1646
|
-
"items": n => { getIndexerFilehashChangesResponse.items = n.getCollectionOfObjectValues(createIndexerFilehashChangeDtoFromDiscriminatorValue); },
|
|
1647
|
-
"nextCursor": n => { getIndexerFilehashChangesResponse.nextCursor = n.getObjectValue(createIndexerFilehashChangesCursorDtoFromDiscriminatorValue); },
|
|
1648
|
-
"pageSize": n => { getIndexerFilehashChangesResponse.pageSize = n.getNumberValue(); },
|
|
1649
|
-
"serverTimeUtc": n => { getIndexerFilehashChangesResponse.serverTimeUtc = n.getDateValue(); },
|
|
1650
|
-
};
|
|
1651
|
-
}
|
|
1652
1433
|
/**
|
|
1653
1434
|
* The deserialization information for the current model
|
|
1654
1435
|
* @param GetRateLimitResponse The instance to deserialize into.
|
|
@@ -1824,102 +1605,6 @@ export function deserializeIntoIdentifyVideosResponse(identifyVideosResponse = {
|
|
|
1824
1605
|
"results": n => { identifyVideosResponse.results = n.getCollectionOfObjectValues(createIdentifyVideoResultDtoFromDiscriminatorValue); },
|
|
1825
1606
|
};
|
|
1826
1607
|
}
|
|
1827
|
-
/**
|
|
1828
|
-
* The deserialization information for the current model
|
|
1829
|
-
* @param IndexerFilehashChangeDto The instance to deserialize into.
|
|
1830
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1831
|
-
*/
|
|
1832
|
-
// @ts-ignore
|
|
1833
|
-
export function deserializeIntoIndexerFilehashChangeDto(indexerFilehashChangeDto = {}) {
|
|
1834
|
-
return {
|
|
1835
|
-
"eventType": n => { indexerFilehashChangeDto.eventType = n.getStringValue(); },
|
|
1836
|
-
"filehash": n => { indexerFilehashChangeDto.filehash = n.getObjectValue(createIndexerFilehashChangeFilehashDtoFromDiscriminatorValue); },
|
|
1837
|
-
};
|
|
1838
|
-
}
|
|
1839
|
-
/**
|
|
1840
|
-
* The deserialization information for the current model
|
|
1841
|
-
* @param IndexerFilehashChangeFilehashDto The instance to deserialize into.
|
|
1842
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1843
|
-
*/
|
|
1844
|
-
// @ts-ignore
|
|
1845
|
-
export function deserializeIntoIndexerFilehashChangeFilehashDto(indexerFilehashChangeFilehashDto = {}) {
|
|
1846
|
-
return {
|
|
1847
|
-
"createdAtUtc": n => { indexerFilehashChangeFilehashDto.createdAtUtc = n.getDateValue(); },
|
|
1848
|
-
"deletedAtUtc": n => { indexerFilehashChangeFilehashDto.deletedAtUtc = n.getDateValue(); },
|
|
1849
|
-
"filename": n => { indexerFilehashChangeFilehashDto.filename = n.getStringValue(); },
|
|
1850
|
-
"filesize": n => { indexerFilehashChangeFilehashDto.filesize = n.getNumberValue(); },
|
|
1851
|
-
"id": n => { indexerFilehashChangeFilehashDto.id = n.getGuidValue(); },
|
|
1852
|
-
"indexerId": n => { indexerFilehashChangeFilehashDto.indexerId = n.getStringValue(); },
|
|
1853
|
-
"indexerSource": n => { indexerFilehashChangeFilehashDto.indexerSource = n.getStringValue(); },
|
|
1854
|
-
"isDeleted": n => { indexerFilehashChangeFilehashDto.isDeleted = n.getBooleanValue(); },
|
|
1855
|
-
"isVerified": n => { indexerFilehashChangeFilehashDto.isVerified = n.getBooleanValue(); },
|
|
1856
|
-
"osHash": n => { indexerFilehashChangeFilehashDto.osHash = n.getStringValue(); },
|
|
1857
|
-
"pHash": n => { indexerFilehashChangeFilehashDto.pHash = n.getStringValue(); },
|
|
1858
|
-
"submissionCount": n => { indexerFilehashChangeFilehashDto.submissionCount = n.getNumberValue(); },
|
|
1859
|
-
"updatedAtUtc": n => { indexerFilehashChangeFilehashDto.updatedAtUtc = n.getDateValue(); },
|
|
1860
|
-
};
|
|
1861
|
-
}
|
|
1862
|
-
/**
|
|
1863
|
-
* The deserialization information for the current model
|
|
1864
|
-
* @param IndexerFilehashChangesCursorDto The instance to deserialize into.
|
|
1865
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1866
|
-
*/
|
|
1867
|
-
// @ts-ignore
|
|
1868
|
-
export function deserializeIntoIndexerFilehashChangesCursorDto(indexerFilehashChangesCursorDto = {}) {
|
|
1869
|
-
return {
|
|
1870
|
-
"id": n => { indexerFilehashChangesCursorDto.id = n.getGuidValue(); },
|
|
1871
|
-
"updatedAtUtc": n => { indexerFilehashChangesCursorDto.updatedAtUtc = n.getDateValue(); },
|
|
1872
|
-
};
|
|
1873
|
-
}
|
|
1874
|
-
/**
|
|
1875
|
-
* The deserialization information for the current model
|
|
1876
|
-
* @param IndexerFilehashDto The instance to deserialize into.
|
|
1877
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1878
|
-
*/
|
|
1879
|
-
// @ts-ignore
|
|
1880
|
-
export function deserializeIntoIndexerFilehashDto(indexerFilehashDto = {}) {
|
|
1881
|
-
return {
|
|
1882
|
-
"createdAtUtc": n => { indexerFilehashDto.createdAtUtc = n.getDateValue(); },
|
|
1883
|
-
"filename": n => { indexerFilehashDto.filename = n.getStringValue(); },
|
|
1884
|
-
"filesize": n => { indexerFilehashDto.filesize = n.getNumberValue(); },
|
|
1885
|
-
"id": n => { indexerFilehashDto.id = n.getGuidValue(); },
|
|
1886
|
-
"indexerId": n => { indexerFilehashDto.indexerId = n.getStringValue(); },
|
|
1887
|
-
"indexerSource": n => { indexerFilehashDto.indexerSource = n.getStringValue(); },
|
|
1888
|
-
"isVerified": n => { indexerFilehashDto.isVerified = n.getBooleanValue(); },
|
|
1889
|
-
"osHash": n => { indexerFilehashDto.osHash = n.getStringValue(); },
|
|
1890
|
-
"pHash": n => { indexerFilehashDto.pHash = n.getStringValue(); },
|
|
1891
|
-
"submissionCount": n => { indexerFilehashDto.submissionCount = n.getNumberValue(); },
|
|
1892
|
-
"updatedAtUtc": n => { indexerFilehashDto.updatedAtUtc = n.getDateValue(); },
|
|
1893
|
-
};
|
|
1894
|
-
}
|
|
1895
|
-
/**
|
|
1896
|
-
* The deserialization information for the current model
|
|
1897
|
-
* @param IndexerFilehashLookupKeyDto The instance to deserialize into.
|
|
1898
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1899
|
-
*/
|
|
1900
|
-
// @ts-ignore
|
|
1901
|
-
export function deserializeIntoIndexerFilehashLookupKeyDto(indexerFilehashLookupKeyDto = {}) {
|
|
1902
|
-
return {
|
|
1903
|
-
"indexerId": n => { indexerFilehashLookupKeyDto.indexerId = n.getStringValue(); },
|
|
1904
|
-
"indexerSource": n => { indexerFilehashLookupKeyDto.indexerSource = n.getEnumValue(IndexerFilehashLookupKeyDto_indexerSourceObject); },
|
|
1905
|
-
};
|
|
1906
|
-
}
|
|
1907
|
-
/**
|
|
1908
|
-
* The deserialization information for the current model
|
|
1909
|
-
* @param LatestIndexerFilehashesResponse The instance to deserialize into.
|
|
1910
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
1911
|
-
*/
|
|
1912
|
-
// @ts-ignore
|
|
1913
|
-
export function deserializeIntoLatestIndexerFilehashesResponse(latestIndexerFilehashesResponse = {}) {
|
|
1914
|
-
return {
|
|
1915
|
-
"items": n => { latestIndexerFilehashesResponse.items = n.getCollectionOfObjectValues(createIndexerFilehashDtoFromDiscriminatorValue); },
|
|
1916
|
-
"page": n => { latestIndexerFilehashesResponse.page = n.getNumberValue(); },
|
|
1917
|
-
"pageSize": n => { latestIndexerFilehashesResponse.pageSize = n.getNumberValue(); },
|
|
1918
|
-
"sortBy": n => { latestIndexerFilehashesResponse.sortBy = n.getStringValue(); },
|
|
1919
|
-
"sortDirection": n => { latestIndexerFilehashesResponse.sortDirection = n.getStringValue(); },
|
|
1920
|
-
"totalCount": n => { latestIndexerFilehashesResponse.totalCount = n.getNumberValue(); },
|
|
1921
|
-
};
|
|
1922
|
-
}
|
|
1923
1608
|
/**
|
|
1924
1609
|
* The deserialization information for the current model
|
|
1925
1610
|
* @param LatestPreDbItemDto The instance to deserialize into.
|
|
@@ -2106,33 +1791,6 @@ export function deserializeIntoListWantedVideosResponse(listWantedVideosResponse
|
|
|
2106
1791
|
"totalPages": n => { listWantedVideosResponse.totalPages = n.getNumberValue(); },
|
|
2107
1792
|
};
|
|
2108
1793
|
}
|
|
2109
|
-
/**
|
|
2110
|
-
* The deserialization information for the current model
|
|
2111
|
-
* @param LookupIndexerFilehashesRequest The instance to deserialize into.
|
|
2112
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2113
|
-
*/
|
|
2114
|
-
// @ts-ignore
|
|
2115
|
-
export function deserializeIntoLookupIndexerFilehashesRequest(lookupIndexerFilehashesRequest = {}) {
|
|
2116
|
-
return {
|
|
2117
|
-
"filenames": n => { lookupIndexerFilehashesRequest.filenames = n.getCollectionOfPrimitiveValues("string"); },
|
|
2118
|
-
"filesizes": n => { lookupIndexerFilehashesRequest.filesizes = n.getCollectionOfPrimitiveValues("number"); },
|
|
2119
|
-
"ids": n => { lookupIndexerFilehashesRequest.ids = n.getCollectionOfPrimitiveValues("string"); },
|
|
2120
|
-
"indexerKeys": n => { lookupIndexerFilehashesRequest.indexerKeys = n.getCollectionOfObjectValues(createIndexerFilehashLookupKeyDtoFromDiscriminatorValue); },
|
|
2121
|
-
"osHashes": n => { lookupIndexerFilehashesRequest.osHashes = n.getCollectionOfPrimitiveValues("string"); },
|
|
2122
|
-
"pHashes": n => { lookupIndexerFilehashesRequest.pHashes = n.getCollectionOfPrimitiveValues("string"); },
|
|
2123
|
-
};
|
|
2124
|
-
}
|
|
2125
|
-
/**
|
|
2126
|
-
* The deserialization information for the current model
|
|
2127
|
-
* @param LookupIndexerFilehashesResponse The instance to deserialize into.
|
|
2128
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2129
|
-
*/
|
|
2130
|
-
// @ts-ignore
|
|
2131
|
-
export function deserializeIntoLookupIndexerFilehashesResponse(lookupIndexerFilehashesResponse = {}) {
|
|
2132
|
-
return {
|
|
2133
|
-
"items": n => { lookupIndexerFilehashesResponse.items = n.getCollectionOfObjectValues(createIndexerFilehashDtoFromDiscriminatorValue); },
|
|
2134
|
-
};
|
|
2135
|
-
}
|
|
2136
1794
|
/**
|
|
2137
1795
|
* The deserialization information for the current model
|
|
2138
1796
|
* @param LookupVideoFilehashesRequest The instance to deserialize into.
|
|
@@ -2321,6 +1979,7 @@ export function deserializeIntoSubmitVideoFilehashItem(submitVideoFilehashItem =
|
|
|
2321
1979
|
"filesize": n => { submitVideoFilehashItem.filesize = n.getNumberValue(); },
|
|
2322
1980
|
"osHash": n => { submitVideoFilehashItem.osHash = n.getStringValue(); },
|
|
2323
1981
|
"pHash": n => { submitVideoFilehashItem.pHash = n.getStringValue(); },
|
|
1982
|
+
"releaseName": n => { submitVideoFilehashItem.releaseName = n.getStringValue(); },
|
|
2324
1983
|
"source": n => { submitVideoFilehashItem.source = n.getNumberValue(); },
|
|
2325
1984
|
"videoId": n => { submitVideoFilehashItem.videoId = n.getGuidValue(); },
|
|
2326
1985
|
};
|
|
@@ -2368,35 +2027,6 @@ export function deserializeIntoUnlinkedVideoFilehashesResponse(unlinkedVideoFile
|
|
|
2368
2027
|
"totalCount": n => { unlinkedVideoFilehashesResponse.totalCount = n.getNumberValue(); },
|
|
2369
2028
|
};
|
|
2370
2029
|
}
|
|
2371
|
-
/**
|
|
2372
|
-
* The deserialization information for the current model
|
|
2373
|
-
* @param UpdateDownloadedFromIndexerFilenameRequest The instance to deserialize into.
|
|
2374
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2375
|
-
*/
|
|
2376
|
-
// @ts-ignore
|
|
2377
|
-
export function deserializeIntoUpdateDownloadedFromIndexerFilenameRequest(updateDownloadedFromIndexerFilenameRequest = {}) {
|
|
2378
|
-
return {
|
|
2379
|
-
"filename": n => { updateDownloadedFromIndexerFilenameRequest.filename = n.getStringValue(); },
|
|
2380
|
-
"filesize": n => { updateDownloadedFromIndexerFilenameRequest.filesize = n.getNumberValue(); },
|
|
2381
|
-
"osHash": n => { updateDownloadedFromIndexerFilenameRequest.osHash = n.getStringValue(); },
|
|
2382
|
-
"pHash": n => { updateDownloadedFromIndexerFilenameRequest.pHash = n.getStringValue(); },
|
|
2383
|
-
};
|
|
2384
|
-
}
|
|
2385
|
-
/**
|
|
2386
|
-
* The deserialization information for the current model
|
|
2387
|
-
* @param UpdateDownloadedFromIndexerRequest The instance to deserialize into.
|
|
2388
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2389
|
-
*/
|
|
2390
|
-
// @ts-ignore
|
|
2391
|
-
export function deserializeIntoUpdateDownloadedFromIndexerRequest(updateDownloadedFromIndexerRequest = {}) {
|
|
2392
|
-
return {
|
|
2393
|
-
"downloadIdentifier": n => { updateDownloadedFromIndexerRequest.downloadIdentifier = n.getStringValue(); },
|
|
2394
|
-
"indexerId": n => { updateDownloadedFromIndexerRequest.indexerId = n.getStringValue(); },
|
|
2395
|
-
"indexerSource": n => { updateDownloadedFromIndexerRequest.indexerSource = n.getNumberValue(); },
|
|
2396
|
-
"nzbName": n => { updateDownloadedFromIndexerRequest.nzbName = n.getStringValue(); },
|
|
2397
|
-
"nzbUrl": n => { updateDownloadedFromIndexerRequest.nzbUrl = n.getStringValue(); },
|
|
2398
|
-
};
|
|
2399
|
-
}
|
|
2400
2030
|
/**
|
|
2401
2031
|
* The deserialization information for the current model
|
|
2402
2032
|
* @param UpdateWantedVideoRequest The instance to deserialize into.
|
|
@@ -3112,43 +2742,6 @@ export function serializeActorSummaryDto(writer, actorSummaryDto = {}, isSeriali
|
|
|
3112
2742
|
writer.writeStringValue("profileImageUrl", actorSummaryDto.profileImageUrl);
|
|
3113
2743
|
writer.writeAdditionalData(actorSummaryDto.additionalData);
|
|
3114
2744
|
}
|
|
3115
|
-
/**
|
|
3116
|
-
* Serializes information the current object
|
|
3117
|
-
* @param AddDownloadedFromIndexerFilenameRequest The instance to serialize from.
|
|
3118
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
3119
|
-
* @param writer Serialization writer to use to serialize this model
|
|
3120
|
-
*/
|
|
3121
|
-
// @ts-ignore
|
|
3122
|
-
export function serializeAddDownloadedFromIndexerFilenameRequest(writer, addDownloadedFromIndexerFilenameRequest = {}, isSerializingDerivedType = false) {
|
|
3123
|
-
if (!addDownloadedFromIndexerFilenameRequest || isSerializingDerivedType) {
|
|
3124
|
-
return;
|
|
3125
|
-
}
|
|
3126
|
-
writer.writeStringValue("filename", addDownloadedFromIndexerFilenameRequest.filename);
|
|
3127
|
-
writer.writeNumberValue("filesize", addDownloadedFromIndexerFilenameRequest.filesize);
|
|
3128
|
-
writer.writeStringValue("osHash", addDownloadedFromIndexerFilenameRequest.osHash);
|
|
3129
|
-
writer.writeStringValue("pHash", addDownloadedFromIndexerFilenameRequest.pHash);
|
|
3130
|
-
writer.writeAdditionalData(addDownloadedFromIndexerFilenameRequest.additionalData);
|
|
3131
|
-
}
|
|
3132
|
-
/**
|
|
3133
|
-
* Serializes information the current object
|
|
3134
|
-
* @param AddDownloadedFromIndexerRequest The instance to serialize from.
|
|
3135
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
3136
|
-
* @param writer Serialization writer to use to serialize this model
|
|
3137
|
-
*/
|
|
3138
|
-
// @ts-ignore
|
|
3139
|
-
export function serializeAddDownloadedFromIndexerRequest(writer, addDownloadedFromIndexerRequest = {}, isSerializingDerivedType = false) {
|
|
3140
|
-
if (!addDownloadedFromIndexerRequest || isSerializingDerivedType) {
|
|
3141
|
-
return;
|
|
3142
|
-
}
|
|
3143
|
-
writer.writeStringValue("downloadIdentifier", addDownloadedFromIndexerRequest.downloadIdentifier);
|
|
3144
|
-
writer.writeCollectionOfObjectValues("filenames", addDownloadedFromIndexerRequest.filenames, serializeAddDownloadedFromIndexerFilenameRequest);
|
|
3145
|
-
writer.writeStringValue("indexerId", addDownloadedFromIndexerRequest.indexerId);
|
|
3146
|
-
writer.writeNumberValue("indexerSource", addDownloadedFromIndexerRequest.indexerSource);
|
|
3147
|
-
writer.writeStringValue("nzbName", addDownloadedFromIndexerRequest.nzbName);
|
|
3148
|
-
writer.writeStringValue("nzbUrl", addDownloadedFromIndexerRequest.nzbUrl);
|
|
3149
|
-
writer.writeGuidValue("videoId", addDownloadedFromIndexerRequest.videoId);
|
|
3150
|
-
writer.writeAdditionalData(addDownloadedFromIndexerRequest.additionalData);
|
|
3151
|
-
}
|
|
3152
2745
|
/**
|
|
3153
2746
|
* Serializes information the current object
|
|
3154
2747
|
* @param AddWantedVideosBatchRequest The instance to serialize from.
|
|
@@ -3179,50 +2772,6 @@ export function serializeAddWantedVideosBatchResponse(writer, addWantedVideosBat
|
|
|
3179
2772
|
writer.writeNumberValue("notFound", addWantedVideosBatchResponse.notFound);
|
|
3180
2773
|
writer.writeAdditionalData(addWantedVideosBatchResponse.additionalData);
|
|
3181
2774
|
}
|
|
3182
|
-
/**
|
|
3183
|
-
* Serializes information the current object
|
|
3184
|
-
* @param DownloadedFromIndexerFilenameDto The instance to serialize from.
|
|
3185
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
3186
|
-
* @param writer Serialization writer to use to serialize this model
|
|
3187
|
-
*/
|
|
3188
|
-
// @ts-ignore
|
|
3189
|
-
export function serializeDownloadedFromIndexerFilenameDto(writer, downloadedFromIndexerFilenameDto = {}, isSerializingDerivedType = false) {
|
|
3190
|
-
if (!downloadedFromIndexerFilenameDto || isSerializingDerivedType) {
|
|
3191
|
-
return;
|
|
3192
|
-
}
|
|
3193
|
-
writer.writeDateValue("createdAtUtc", downloadedFromIndexerFilenameDto.createdAtUtc);
|
|
3194
|
-
writer.writeGuidValue("downloadedFromIndexerId", downloadedFromIndexerFilenameDto.downloadedFromIndexerId);
|
|
3195
|
-
writer.writeStringValue("filename", downloadedFromIndexerFilenameDto.filename);
|
|
3196
|
-
writer.writeNumberValue("filesize", downloadedFromIndexerFilenameDto.filesize);
|
|
3197
|
-
writer.writeGuidValue("id", downloadedFromIndexerFilenameDto.id);
|
|
3198
|
-
writer.writeStringValue("osHash", downloadedFromIndexerFilenameDto.osHash);
|
|
3199
|
-
writer.writeStringValue("pHash", downloadedFromIndexerFilenameDto.pHash);
|
|
3200
|
-
writer.writeDateValue("updatedAtUtc", downloadedFromIndexerFilenameDto.updatedAtUtc);
|
|
3201
|
-
writer.writeAdditionalData(downloadedFromIndexerFilenameDto.additionalData);
|
|
3202
|
-
}
|
|
3203
|
-
/**
|
|
3204
|
-
* Serializes information the current object
|
|
3205
|
-
* @param DownloadedFromIndexerResponse The instance to serialize from.
|
|
3206
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
3207
|
-
* @param writer Serialization writer to use to serialize this model
|
|
3208
|
-
*/
|
|
3209
|
-
// @ts-ignore
|
|
3210
|
-
export function serializeDownloadedFromIndexerResponse(writer, downloadedFromIndexerResponse = {}, isSerializingDerivedType = false) {
|
|
3211
|
-
if (!downloadedFromIndexerResponse || isSerializingDerivedType) {
|
|
3212
|
-
return;
|
|
3213
|
-
}
|
|
3214
|
-
writer.writeDateValue("createdAtUtc", downloadedFromIndexerResponse.createdAtUtc);
|
|
3215
|
-
writer.writeStringValue("downloadIdentifier", downloadedFromIndexerResponse.downloadIdentifier);
|
|
3216
|
-
writer.writeCollectionOfObjectValues("filenames", downloadedFromIndexerResponse.filenames, serializeDownloadedFromIndexerFilenameDto);
|
|
3217
|
-
writer.writeGuidValue("id", downloadedFromIndexerResponse.id);
|
|
3218
|
-
writer.writeStringValue("indexerId", downloadedFromIndexerResponse.indexerId);
|
|
3219
|
-
writer.writeNumberValue("indexerSource", downloadedFromIndexerResponse.indexerSource);
|
|
3220
|
-
writer.writeStringValue("nzbName", downloadedFromIndexerResponse.nzbName);
|
|
3221
|
-
writer.writeStringValue("nzbUrl", downloadedFromIndexerResponse.nzbUrl);
|
|
3222
|
-
writer.writeDateValue("updatedAtUtc", downloadedFromIndexerResponse.updatedAtUtc);
|
|
3223
|
-
writer.writeGuidValue("videoId", downloadedFromIndexerResponse.videoId);
|
|
3224
|
-
writer.writeAdditionalData(downloadedFromIndexerResponse.additionalData);
|
|
3225
|
-
}
|
|
3226
2775
|
/**
|
|
3227
2776
|
* Serializes information the current object
|
|
3228
2777
|
* @param FavoriteActorChangeDto The instance to serialize from.
|
|
@@ -3514,24 +3063,6 @@ export function serializeGetHealthResponse(writer, getHealthResponse = {}, isSer
|
|
|
3514
3063
|
writer.writeDateValue("timestamp", getHealthResponse.timestamp);
|
|
3515
3064
|
writer.writeAdditionalData(getHealthResponse.additionalData);
|
|
3516
3065
|
}
|
|
3517
|
-
/**
|
|
3518
|
-
* Serializes information the current object
|
|
3519
|
-
* @param GetIndexerFilehashChangesResponse The instance to serialize from.
|
|
3520
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
3521
|
-
* @param writer Serialization writer to use to serialize this model
|
|
3522
|
-
*/
|
|
3523
|
-
// @ts-ignore
|
|
3524
|
-
export function serializeGetIndexerFilehashChangesResponse(writer, getIndexerFilehashChangesResponse = {}, isSerializingDerivedType = false) {
|
|
3525
|
-
if (!getIndexerFilehashChangesResponse || isSerializingDerivedType) {
|
|
3526
|
-
return;
|
|
3527
|
-
}
|
|
3528
|
-
writer.writeBooleanValue("hasMore", getIndexerFilehashChangesResponse.hasMore);
|
|
3529
|
-
writer.writeCollectionOfObjectValues("items", getIndexerFilehashChangesResponse.items, serializeIndexerFilehashChangeDto);
|
|
3530
|
-
writer.writeObjectValue("nextCursor", getIndexerFilehashChangesResponse.nextCursor, serializeIndexerFilehashChangesCursorDto);
|
|
3531
|
-
writer.writeNumberValue("pageSize", getIndexerFilehashChangesResponse.pageSize);
|
|
3532
|
-
writer.writeDateValue("serverTimeUtc", getIndexerFilehashChangesResponse.serverTimeUtc);
|
|
3533
|
-
writer.writeAdditionalData(getIndexerFilehashChangesResponse.additionalData);
|
|
3534
|
-
}
|
|
3535
3066
|
/**
|
|
3536
3067
|
* Serializes information the current object
|
|
3537
3068
|
* @param GetRateLimitResponse The instance to serialize from.
|
|
@@ -3746,120 +3277,6 @@ export function serializeIdentifyVideosResponse(writer, identifyVideosResponse =
|
|
|
3746
3277
|
writer.writeCollectionOfObjectValues("results", identifyVideosResponse.results, serializeIdentifyVideoResultDto);
|
|
3747
3278
|
writer.writeAdditionalData(identifyVideosResponse.additionalData);
|
|
3748
3279
|
}
|
|
3749
|
-
/**
|
|
3750
|
-
* Serializes information the current object
|
|
3751
|
-
* @param IndexerFilehashChangeDto The instance to serialize from.
|
|
3752
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
3753
|
-
* @param writer Serialization writer to use to serialize this model
|
|
3754
|
-
*/
|
|
3755
|
-
// @ts-ignore
|
|
3756
|
-
export function serializeIndexerFilehashChangeDto(writer, indexerFilehashChangeDto = {}, isSerializingDerivedType = false) {
|
|
3757
|
-
if (!indexerFilehashChangeDto || isSerializingDerivedType) {
|
|
3758
|
-
return;
|
|
3759
|
-
}
|
|
3760
|
-
writer.writeStringValue("eventType", indexerFilehashChangeDto.eventType);
|
|
3761
|
-
writer.writeObjectValue("filehash", indexerFilehashChangeDto.filehash, serializeIndexerFilehashChangeFilehashDto);
|
|
3762
|
-
writer.writeAdditionalData(indexerFilehashChangeDto.additionalData);
|
|
3763
|
-
}
|
|
3764
|
-
/**
|
|
3765
|
-
* Serializes information the current object
|
|
3766
|
-
* @param IndexerFilehashChangeFilehashDto The instance to serialize from.
|
|
3767
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
3768
|
-
* @param writer Serialization writer to use to serialize this model
|
|
3769
|
-
*/
|
|
3770
|
-
// @ts-ignore
|
|
3771
|
-
export function serializeIndexerFilehashChangeFilehashDto(writer, indexerFilehashChangeFilehashDto = {}, isSerializingDerivedType = false) {
|
|
3772
|
-
if (!indexerFilehashChangeFilehashDto || isSerializingDerivedType) {
|
|
3773
|
-
return;
|
|
3774
|
-
}
|
|
3775
|
-
writer.writeDateValue("createdAtUtc", indexerFilehashChangeFilehashDto.createdAtUtc);
|
|
3776
|
-
writer.writeDateValue("deletedAtUtc", indexerFilehashChangeFilehashDto.deletedAtUtc);
|
|
3777
|
-
writer.writeStringValue("filename", indexerFilehashChangeFilehashDto.filename);
|
|
3778
|
-
writer.writeNumberValue("filesize", indexerFilehashChangeFilehashDto.filesize);
|
|
3779
|
-
writer.writeGuidValue("id", indexerFilehashChangeFilehashDto.id);
|
|
3780
|
-
writer.writeStringValue("indexerId", indexerFilehashChangeFilehashDto.indexerId);
|
|
3781
|
-
writer.writeStringValue("indexerSource", indexerFilehashChangeFilehashDto.indexerSource);
|
|
3782
|
-
writer.writeBooleanValue("isDeleted", indexerFilehashChangeFilehashDto.isDeleted);
|
|
3783
|
-
writer.writeBooleanValue("isVerified", indexerFilehashChangeFilehashDto.isVerified);
|
|
3784
|
-
writer.writeStringValue("osHash", indexerFilehashChangeFilehashDto.osHash);
|
|
3785
|
-
writer.writeStringValue("pHash", indexerFilehashChangeFilehashDto.pHash);
|
|
3786
|
-
writer.writeNumberValue("submissionCount", indexerFilehashChangeFilehashDto.submissionCount);
|
|
3787
|
-
writer.writeDateValue("updatedAtUtc", indexerFilehashChangeFilehashDto.updatedAtUtc);
|
|
3788
|
-
writer.writeAdditionalData(indexerFilehashChangeFilehashDto.additionalData);
|
|
3789
|
-
}
|
|
3790
|
-
/**
|
|
3791
|
-
* Serializes information the current object
|
|
3792
|
-
* @param IndexerFilehashChangesCursorDto The instance to serialize from.
|
|
3793
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
3794
|
-
* @param writer Serialization writer to use to serialize this model
|
|
3795
|
-
*/
|
|
3796
|
-
// @ts-ignore
|
|
3797
|
-
export function serializeIndexerFilehashChangesCursorDto(writer, indexerFilehashChangesCursorDto = {}, isSerializingDerivedType = false) {
|
|
3798
|
-
if (!indexerFilehashChangesCursorDto || isSerializingDerivedType) {
|
|
3799
|
-
return;
|
|
3800
|
-
}
|
|
3801
|
-
writer.writeGuidValue("id", indexerFilehashChangesCursorDto.id);
|
|
3802
|
-
writer.writeDateValue("updatedAtUtc", indexerFilehashChangesCursorDto.updatedAtUtc);
|
|
3803
|
-
writer.writeAdditionalData(indexerFilehashChangesCursorDto.additionalData);
|
|
3804
|
-
}
|
|
3805
|
-
/**
|
|
3806
|
-
* Serializes information the current object
|
|
3807
|
-
* @param IndexerFilehashDto The instance to serialize from.
|
|
3808
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
3809
|
-
* @param writer Serialization writer to use to serialize this model
|
|
3810
|
-
*/
|
|
3811
|
-
// @ts-ignore
|
|
3812
|
-
export function serializeIndexerFilehashDto(writer, indexerFilehashDto = {}, isSerializingDerivedType = false) {
|
|
3813
|
-
if (!indexerFilehashDto || isSerializingDerivedType) {
|
|
3814
|
-
return;
|
|
3815
|
-
}
|
|
3816
|
-
writer.writeDateValue("createdAtUtc", indexerFilehashDto.createdAtUtc);
|
|
3817
|
-
writer.writeStringValue("filename", indexerFilehashDto.filename);
|
|
3818
|
-
writer.writeNumberValue("filesize", indexerFilehashDto.filesize);
|
|
3819
|
-
writer.writeGuidValue("id", indexerFilehashDto.id);
|
|
3820
|
-
writer.writeStringValue("indexerId", indexerFilehashDto.indexerId);
|
|
3821
|
-
writer.writeStringValue("indexerSource", indexerFilehashDto.indexerSource);
|
|
3822
|
-
writer.writeBooleanValue("isVerified", indexerFilehashDto.isVerified);
|
|
3823
|
-
writer.writeStringValue("osHash", indexerFilehashDto.osHash);
|
|
3824
|
-
writer.writeStringValue("pHash", indexerFilehashDto.pHash);
|
|
3825
|
-
writer.writeNumberValue("submissionCount", indexerFilehashDto.submissionCount);
|
|
3826
|
-
writer.writeDateValue("updatedAtUtc", indexerFilehashDto.updatedAtUtc);
|
|
3827
|
-
writer.writeAdditionalData(indexerFilehashDto.additionalData);
|
|
3828
|
-
}
|
|
3829
|
-
/**
|
|
3830
|
-
* Serializes information the current object
|
|
3831
|
-
* @param IndexerFilehashLookupKeyDto The instance to serialize from.
|
|
3832
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
3833
|
-
* @param writer Serialization writer to use to serialize this model
|
|
3834
|
-
*/
|
|
3835
|
-
// @ts-ignore
|
|
3836
|
-
export function serializeIndexerFilehashLookupKeyDto(writer, indexerFilehashLookupKeyDto = {}, isSerializingDerivedType = false) {
|
|
3837
|
-
if (!indexerFilehashLookupKeyDto || isSerializingDerivedType) {
|
|
3838
|
-
return;
|
|
3839
|
-
}
|
|
3840
|
-
writer.writeStringValue("indexerId", indexerFilehashLookupKeyDto.indexerId);
|
|
3841
|
-
writer.writeEnumValue("indexerSource", indexerFilehashLookupKeyDto.indexerSource);
|
|
3842
|
-
writer.writeAdditionalData(indexerFilehashLookupKeyDto.additionalData);
|
|
3843
|
-
}
|
|
3844
|
-
/**
|
|
3845
|
-
* Serializes information the current object
|
|
3846
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
3847
|
-
* @param LatestIndexerFilehashesResponse The instance to serialize from.
|
|
3848
|
-
* @param writer Serialization writer to use to serialize this model
|
|
3849
|
-
*/
|
|
3850
|
-
// @ts-ignore
|
|
3851
|
-
export function serializeLatestIndexerFilehashesResponse(writer, latestIndexerFilehashesResponse = {}, isSerializingDerivedType = false) {
|
|
3852
|
-
if (!latestIndexerFilehashesResponse || isSerializingDerivedType) {
|
|
3853
|
-
return;
|
|
3854
|
-
}
|
|
3855
|
-
writer.writeCollectionOfObjectValues("items", latestIndexerFilehashesResponse.items, serializeIndexerFilehashDto);
|
|
3856
|
-
writer.writeNumberValue("page", latestIndexerFilehashesResponse.page);
|
|
3857
|
-
writer.writeNumberValue("pageSize", latestIndexerFilehashesResponse.pageSize);
|
|
3858
|
-
writer.writeStringValue("sortBy", latestIndexerFilehashesResponse.sortBy);
|
|
3859
|
-
writer.writeStringValue("sortDirection", latestIndexerFilehashesResponse.sortDirection);
|
|
3860
|
-
writer.writeNumberValue("totalCount", latestIndexerFilehashesResponse.totalCount);
|
|
3861
|
-
writer.writeAdditionalData(latestIndexerFilehashesResponse.additionalData);
|
|
3862
|
-
}
|
|
3863
3280
|
/**
|
|
3864
3281
|
* Serializes information the current object
|
|
3865
3282
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -4082,39 +3499,6 @@ export function serializeListWantedVideosResponse(writer, listWantedVideosRespon
|
|
|
4082
3499
|
writer.writeNumberValue("totalPages", listWantedVideosResponse.totalPages);
|
|
4083
3500
|
writer.writeAdditionalData(listWantedVideosResponse.additionalData);
|
|
4084
3501
|
}
|
|
4085
|
-
/**
|
|
4086
|
-
* Serializes information the current object
|
|
4087
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4088
|
-
* @param LookupIndexerFilehashesRequest The instance to serialize from.
|
|
4089
|
-
* @param writer Serialization writer to use to serialize this model
|
|
4090
|
-
*/
|
|
4091
|
-
// @ts-ignore
|
|
4092
|
-
export function serializeLookupIndexerFilehashesRequest(writer, lookupIndexerFilehashesRequest = {}, isSerializingDerivedType = false) {
|
|
4093
|
-
if (!lookupIndexerFilehashesRequest || isSerializingDerivedType) {
|
|
4094
|
-
return;
|
|
4095
|
-
}
|
|
4096
|
-
writer.writeCollectionOfPrimitiveValues("filenames", lookupIndexerFilehashesRequest.filenames);
|
|
4097
|
-
writer.writeCollectionOfPrimitiveValues("filesizes", lookupIndexerFilehashesRequest.filesizes);
|
|
4098
|
-
writer.writeCollectionOfPrimitiveValues("ids", lookupIndexerFilehashesRequest.ids);
|
|
4099
|
-
writer.writeCollectionOfObjectValues("indexerKeys", lookupIndexerFilehashesRequest.indexerKeys, serializeIndexerFilehashLookupKeyDto);
|
|
4100
|
-
writer.writeCollectionOfPrimitiveValues("osHashes", lookupIndexerFilehashesRequest.osHashes);
|
|
4101
|
-
writer.writeCollectionOfPrimitiveValues("pHashes", lookupIndexerFilehashesRequest.pHashes);
|
|
4102
|
-
writer.writeAdditionalData(lookupIndexerFilehashesRequest.additionalData);
|
|
4103
|
-
}
|
|
4104
|
-
/**
|
|
4105
|
-
* Serializes information the current object
|
|
4106
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4107
|
-
* @param LookupIndexerFilehashesResponse The instance to serialize from.
|
|
4108
|
-
* @param writer Serialization writer to use to serialize this model
|
|
4109
|
-
*/
|
|
4110
|
-
// @ts-ignore
|
|
4111
|
-
export function serializeLookupIndexerFilehashesResponse(writer, lookupIndexerFilehashesResponse = {}, isSerializingDerivedType = false) {
|
|
4112
|
-
if (!lookupIndexerFilehashesResponse || isSerializingDerivedType) {
|
|
4113
|
-
return;
|
|
4114
|
-
}
|
|
4115
|
-
writer.writeCollectionOfObjectValues("items", lookupIndexerFilehashesResponse.items, serializeIndexerFilehashDto);
|
|
4116
|
-
writer.writeAdditionalData(lookupIndexerFilehashesResponse.additionalData);
|
|
4117
|
-
}
|
|
4118
3502
|
/**
|
|
4119
3503
|
* Serializes information the current object
|
|
4120
3504
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -4345,6 +3729,7 @@ export function serializeSubmitVideoFilehashItem(writer, submitVideoFilehashItem
|
|
|
4345
3729
|
writer.writeNumberValue("filesize", submitVideoFilehashItem.filesize);
|
|
4346
3730
|
writer.writeStringValue("osHash", submitVideoFilehashItem.osHash);
|
|
4347
3731
|
writer.writeStringValue("pHash", submitVideoFilehashItem.pHash);
|
|
3732
|
+
writer.writeStringValue("releaseName", submitVideoFilehashItem.releaseName);
|
|
4348
3733
|
writer.writeNumberValue("source", submitVideoFilehashItem.source);
|
|
4349
3734
|
writer.writeGuidValue("videoId", submitVideoFilehashItem.videoId);
|
|
4350
3735
|
writer.writeAdditionalData(submitVideoFilehashItem.additionalData);
|
|
@@ -4401,41 +3786,6 @@ export function serializeUnlinkedVideoFilehashesResponse(writer, unlinkedVideoFi
|
|
|
4401
3786
|
writer.writeNumberValue("totalCount", unlinkedVideoFilehashesResponse.totalCount);
|
|
4402
3787
|
writer.writeAdditionalData(unlinkedVideoFilehashesResponse.additionalData);
|
|
4403
3788
|
}
|
|
4404
|
-
/**
|
|
4405
|
-
* Serializes information the current object
|
|
4406
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4407
|
-
* @param UpdateDownloadedFromIndexerFilenameRequest The instance to serialize from.
|
|
4408
|
-
* @param writer Serialization writer to use to serialize this model
|
|
4409
|
-
*/
|
|
4410
|
-
// @ts-ignore
|
|
4411
|
-
export function serializeUpdateDownloadedFromIndexerFilenameRequest(writer, updateDownloadedFromIndexerFilenameRequest = {}, isSerializingDerivedType = false) {
|
|
4412
|
-
if (!updateDownloadedFromIndexerFilenameRequest || isSerializingDerivedType) {
|
|
4413
|
-
return;
|
|
4414
|
-
}
|
|
4415
|
-
writer.writeStringValue("filename", updateDownloadedFromIndexerFilenameRequest.filename);
|
|
4416
|
-
writer.writeNumberValue("filesize", updateDownloadedFromIndexerFilenameRequest.filesize);
|
|
4417
|
-
writer.writeStringValue("osHash", updateDownloadedFromIndexerFilenameRequest.osHash);
|
|
4418
|
-
writer.writeStringValue("pHash", updateDownloadedFromIndexerFilenameRequest.pHash);
|
|
4419
|
-
writer.writeAdditionalData(updateDownloadedFromIndexerFilenameRequest.additionalData);
|
|
4420
|
-
}
|
|
4421
|
-
/**
|
|
4422
|
-
* Serializes information the current object
|
|
4423
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
4424
|
-
* @param UpdateDownloadedFromIndexerRequest The instance to serialize from.
|
|
4425
|
-
* @param writer Serialization writer to use to serialize this model
|
|
4426
|
-
*/
|
|
4427
|
-
// @ts-ignore
|
|
4428
|
-
export function serializeUpdateDownloadedFromIndexerRequest(writer, updateDownloadedFromIndexerRequest = {}, isSerializingDerivedType = false) {
|
|
4429
|
-
if (!updateDownloadedFromIndexerRequest || isSerializingDerivedType) {
|
|
4430
|
-
return;
|
|
4431
|
-
}
|
|
4432
|
-
writer.writeStringValue("downloadIdentifier", updateDownloadedFromIndexerRequest.downloadIdentifier);
|
|
4433
|
-
writer.writeStringValue("indexerId", updateDownloadedFromIndexerRequest.indexerId);
|
|
4434
|
-
writer.writeNumberValue("indexerSource", updateDownloadedFromIndexerRequest.indexerSource);
|
|
4435
|
-
writer.writeStringValue("nzbName", updateDownloadedFromIndexerRequest.nzbName);
|
|
4436
|
-
writer.writeStringValue("nzbUrl", updateDownloadedFromIndexerRequest.nzbUrl);
|
|
4437
|
-
writer.writeAdditionalData(updateDownloadedFromIndexerRequest.additionalData);
|
|
4438
|
-
}
|
|
4439
3789
|
/**
|
|
4440
3790
|
* Serializes information the current object
|
|
4441
3791
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -4940,14 +4290,6 @@ export function serializeWantedVideoSummaryDto(writer, wantedVideoSummaryDto = {
|
|
|
4940
4290
|
writer.writeStringValue("videoTitle", wantedVideoSummaryDto.videoTitle);
|
|
4941
4291
|
writer.writeAdditionalData(wantedVideoSummaryDto.additionalData);
|
|
4942
4292
|
}
|
|
4943
|
-
/**
|
|
4944
|
-
* Indexer source. Supported values: `DrunkenSlug`, `NzbFinder`, `NzbPorn`. Allowed values: DrunkenSlug, NzbFinder, NzbPorn.
|
|
4945
|
-
*/
|
|
4946
|
-
export const IndexerFilehashLookupKeyDto_indexerSourceObject = {
|
|
4947
|
-
DrunkenSlug: "DrunkenSlug",
|
|
4948
|
-
NzbFinder: "NzbFinder",
|
|
4949
|
-
NzbPorn: "NzbPorn",
|
|
4950
|
-
};
|
|
4951
4293
|
/**
|
|
4952
4294
|
* Allowed values: NotRelatedToVideo, SpamOrPromotional, OffensiveOrProhibited, DuplicateOrLowQuality, MisleadingOrWrongPreview, CopyrightConcern, Other.
|
|
4953
4295
|
*/
|